1import{n as e}from"../chunks/QTnfLwEv.js";import{n as t,r as n}from"../chunks/Db7FJ_qr.js";import{t as r}from"../chunks/DzRQOB1x.js";import{r as i}from"../chunks/spKt2hPJ.js";var a;function o(e,t,n,r,i,a){var o,c,d,f,p,m,h,g=Symbol.metadata||Symbol.for(`Symbol.metadata`),_=Object.defineProperty,v=Object.create,y=[v(null),v(null)],b=t.length;function x(t,n,r){return function(i,a){n&&(a=i,i=e);for(var o=0;o<t.length;o++)a=t[o].apply(i,r?[a]:[]);return r?a:i}}function S(e,t,n,r){if(typeof e!=`function`&&(r||e!==void 0))throw TypeError(t+` must `+(n||`be`)+` a function`+(r?``:` or undefined`));return e}function C(e,t,n,r,i,a,s,u,d,f,p){function m(e){if(!p(e))throw TypeError(`Attempted to access private element on non-instance`)}var h=[].concat(t[0]),g=t[3],v=!s,b=i===1,C=i===3,w=i===4,T=i===2;function E(t,n,r){return function(i,a){return n&&(a=i,i=e),r&&r(i),D[t].call(i,a)}}if(!v){var D={},O=[],k=C?`get`:w||b?`set`:`value`;if(d?(f||b?D={get:l(function(){return g(this)},r,`get`),set:function(e){t[4](this,e)}}:D[k]=g,f||l(D[k],r,T?``:k)):f||(D=Object.getOwnPropertyDescriptor(e,r)),!f&&!d){if((c=y[+u][r])&&(c^i)!==7)throw Error(`Decorating two elements with the same name (`+D[k].name+`) is not supported yet`);y[+u][r]=i<3?1:i}}for(var A=e,j=h.length-1;j>=0;j-=n?2:1){var M=S(h[j],`A decorator`,`be`,!0),N=n?h[j-1]:void 0,P={},F={kind:[`field`,`accessor`,`method`,`getter`,`setter`,`class`][i],name:r,metadata:o,addInitializer:function(e,t){if(e.v)throw TypeError(`attempted to call addInitializer after decoration was finished`);S(t,`An initializer`,`be`,!0),a.push(t)}.bind(null,P)};if(v)c=M.call(N,A,F),P.v=1,S(c,`class decorators`,`return`)&&(A=c);else if(F.static=u,F.private=d,c=F.access={has:d?p.bind():function(e){return r in e}},w||(c.get=d?T?function(e){return m(e),D.value}:E(`get`,0,m):function(e){return e[r]}),T||C||(c.set=d?E(`set`,0,m):function(e,t){e[r]=t}),A=M.call(N,b?{get:D.get,set:D.set}:D[k],F),P.v=1,b){if(typeof A==`object`&&A)(c=S(A.get,`accessor.get`))&&(D.get=c),(c=S(A.set,`accessor.set`))&&(D.set=c),(c=S(A.init,`accessor.init`))&&O.unshift(c);else if(A!==void 0)throw TypeError(`accessor decorators must return an object with get, set, or init properties or undefined`)}else S(A,(f?`field`:`method`)+` decorators`,`return`)&&(f?O.unshift(A):D[k]=A)}return i<2&&s.push(x(O,u,1),x(a,u,0)),f||v||(d?b?s.splice(-1,0,E(`get`,u),E(`set`,u)):s.push(T?D[k]:S.call.bind(D[k])):_(e,r,D)),A}function w(e){return _(e,g,{configurable:!0,enumerable:!0,value:o})}return a!==void 0&&(o=a[g]),o=v(o??null),p=[],m=function(e){e&&p.push(x(e))},h=function(t,r){for(var a=0;a<n.length;a++){var o=n[a],c=o[1],l=7&c;if((8&c)==t&&!l==r){var m=o[2],h=!!o[3],g=16&c;C(t?e:e.prototype,o,g,h?`#`+m:s(m),l,l<2?[]:t?f||=[]:d||=[],p,!!t,h,r,t&&h?function(t){return u(t)===e}:i)}}},h(8,0),h(0,0),h(8,1),h(0,1),m(d),m(f),c=p,b||w(e),{e:c,get c(){var n=[];return b&&[w(e=C(e,[t],r,e.name,5,n)),x(n,1)]}}}function s(e){var t=c(e,`string`);return typeof t==`symbol`?t:t+``}function c(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function l(e,t,n){typeof t==`symbol`&&(t=(t=t.description)?`[`+t+`]`:``);try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+` `+t:t})}catch{}return e}function u(e){if(Object(e)!==e)throw TypeError(`right-hand side of 'in' should be an object, got `+(e===null?`null`:typeof e));return e}function d(e){return e}var f;new class extends d{static[class{static{[f,a]=o(this,[n()],[]).c}constructor(e=t(r)){this.ajaxService=e}async getDetailView(){return this.ajaxService.createRequest(`${f.ROUTE}/${f.DETAIL_VIEW_ROUTE}`).get()}}];ROUTE=`custom-files`;DETAIL_VIEW_ROUTE=`detail-view`;constructor(){super(f),a()}};var p=e({load:()=>m}),m=async({parent:e})=>{let{injector:t}=await e(),{rootDirectoryId:n}=await t.get(f).getDetailView();throw i(302,`/media-viewer?${new URLSearchParams({rootDirectory:String(n),edit:`true`}).toString()}`)};export{p as universal};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.