define("metaserver/static/js/modules/clean/bug_reporting/routing",["require","exports","tslib","react"],(function(e,t,o,r){"use strict";var s;let n;Object.defineProperty(t,"__esModule",{value:!0}),t.RegisterComponentWithBugReporter=t.getBugScopes=void 0,r=o.__importStar(r),s||(s={});const i=window.currentBugScopes;i?n=i:window.currentBugScopes=n={nextId:0,scopes:{}},t.getBugScopes=function(){return Object.values(n.scopes)},t.RegisterComponentWithBugReporter=({componentId:e,componentName:t,children:o})=>(r.useEffect(()=>{const o=(function(e,t){const o=n.nextId;return n.nextId++,n.scopes[o]={componentId:e,componentName:t},o})(e,t);return()=>{return e=o,void delete n.scopes[e];var e}},[e,t]),r.default.createElement(r.default.Fragment,null,o)),t.RegisterComponentWithBugReporter.displayName="RegisterComponentWithBugReporter"})),define("metaserver/static/js/modules/clean/react/size_class/constants",["require","exports"],(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MEDIA_SIZE_CLASS_EXTRA_LARGE=t.MEDIA_SIZE_CLASS_LARGE=t.MEDIA_SIZE_CLASS_MEDIUM=t.MEDIA_SIZE_CLASS_SMALL=t.SizeClass=void 0,(function(e){e[e.Small=1]="Small",e[e.Medium=2]="Medium",e[e.Large=3]="Large",e[e.ExtraLarge=4]="ExtraLarge"})(t.SizeClass||(t.SizeClass={})),t.MEDIA_SIZE_CLASS_SMALL="screen and (max-width: 735px)",t.MEDIA_SIZE_CLASS_MEDIUM="screen and (min-width: 736px) and (max-width: 1023px)",t.MEDIA_SIZE_CLASS_LARGE="screen and (min-width: 1024px) and (max-width: 1439px)",t.MEDIA_SIZE_CLASS_EXTRA_LARGE="screen and (min-width: 1440px)"})),define("metaserver/static/js/modules/clean/open_with",["require","exports","tslib","metaserver/static/js/modules/clean/cloud_docs/constants","metaserver/static/js/modules/clean/filepath/filepath"],(function(e,t,o,r,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),s=o.__importStar(s);let n=void 0;const i=[{id:"word",icon:"word",name:"Word for the web",exts:["odt","docm","docx"],editor:r.MicrosoftEditors.WORD},{id:"excel",icon:"excel",name:"Excel for the web",exts:["ods","xlsb","xlsm","xlsx"],editor:r.MicrosoftEditors.EXCEL},{id:"powerpoint",icon:"powerpoint",name:"PowerPoint for the web",exts:["odp","ppsx","pptx"],editor:r.MicrosoftEditors.POWERPOINT}];class a{static initClass(){this.PRELOAD_URLS={},this.MAX_SUPPORTED_FILE_SIZE_B=157286400,n=["com.adobe.Reader","Acrord32.exe","com.adobe.Acrobat","Acrobat.exe"]}static is_adobe_app(e){return Array.from(n).includes(e)}static getWopiOpenWithButtonInfo(e){let t;t=e.fq_path?e.fq_path:e.filename?e.filename:"";const o=s.file_extension(t);for(const e of i)if(-1!==e.exts.indexOf(o))return e;return null}}a.initClass(),t.default=a})); //# sourceMappingURL=pkg-open_with.min.js-vflDmzhha.map