marketplacepos 3.18.0 → 3.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/{chunk-RVJCYVRR.js → chunk-25L5GT35.js} +1 -1
- package/Marketplace/chunk-2ORPFPW3.js +1 -0
- package/Marketplace/chunk-3ORAGDUV.js +1 -0
- package/Marketplace/{chunk-5T3BQNT6.js → chunk-3UKBESDQ.js} +1 -1
- package/Marketplace/{chunk-CCGY3SGF.js → chunk-3VPZUSG2.js} +1 -1
- package/Marketplace/{chunk-5RS36M3W.js → chunk-3XWOT6GZ.js} +1 -1
- package/Marketplace/{chunk-C62XLEFW.js → chunk-3ZQBMP7R.js} +1 -1
- package/Marketplace/chunk-4ULJZM2I.js +1 -0
- package/Marketplace/chunk-5DRMEYTQ.js +3 -0
- package/Marketplace/{chunk-WJRDWY5K.js → chunk-5HQAX7EA.js} +1 -1
- package/Marketplace/chunk-6UK5EDKC.js +5 -0
- package/Marketplace/{chunk-5B6FNQOB.js → chunk-AHA2WBEK.js} +1 -1
- package/Marketplace/{chunk-63QD35VV.js → chunk-ATJPUUZQ.js} +1 -1
- package/Marketplace/{chunk-JA6YU65N.js → chunk-BLKYALQN.js} +1 -1
- package/Marketplace/{chunk-6SHHVYL6.js → chunk-BTXJZOGD.js} +1 -1
- package/Marketplace/{chunk-POFMDL5L.js → chunk-CCEWQRYY.js} +1 -1
- package/Marketplace/chunk-D2WUVZXY.js +1 -0
- package/Marketplace/{chunk-FONTS7CQ.js → chunk-E32WLDEK.js} +1 -1
- package/Marketplace/{chunk-G52YHYPD.js → chunk-FLVJYLMP.js} +1 -1
- package/Marketplace/{chunk-QVCJCYVC.js → chunk-FMYZSZEX.js} +1 -1
- package/Marketplace/{chunk-6IZO4UK3.js → chunk-G2QVHX6W.js} +1 -1
- package/Marketplace/{chunk-QPH4XFGN.js → chunk-GKUGDFJC.js} +1 -1
- package/Marketplace/{chunk-F32X4UUF.js → chunk-JKF36COK.js} +1 -1
- package/Marketplace/{chunk-RKRJ4JOF.js → chunk-K6H25CD6.js} +1 -1
- package/Marketplace/chunk-KPLNKQV4.js +1 -0
- package/Marketplace/{chunk-OXSGKWPW.js → chunk-KRKQFGMS.js} +1 -1
- package/Marketplace/{chunk-BI5MTVCX.js → chunk-LFL23QXM.js} +1 -1
- package/Marketplace/{chunk-LPS2CHAH.js → chunk-LPBB2OY2.js} +1 -1
- package/Marketplace/chunk-LV34VUJQ.js +1 -0
- package/Marketplace/{chunk-AO22A2PN.js → chunk-LVFJFYVO.js} +1 -1
- package/Marketplace/chunk-MVPEM37R.js +1 -0
- package/Marketplace/{chunk-P4LC252I.js → chunk-MY7ARTXO.js} +1 -1
- package/Marketplace/{chunk-6NFPCNPI.js → chunk-NF2ANZGK.js} +1 -1
- package/Marketplace/{chunk-DBBHNJFV.js → chunk-NHI2FPN6.js} +1 -1
- package/Marketplace/{chunk-AAFEUTPF.js → chunk-NVF24LK5.js} +1 -1
- package/Marketplace/chunk-O6R5T3KF.js +1 -0
- package/Marketplace/chunk-OIQXRKAG.js +1 -0
- package/Marketplace/{chunk-SQCMDWE5.js → chunk-OQJWOWTI.js} +1 -1
- package/Marketplace/{chunk-D5XULRZS.js → chunk-OWN37Y3R.js} +1 -1
- package/Marketplace/chunk-PDJC7ISZ.js +2 -0
- package/Marketplace/{chunk-SKTTDASB.js → chunk-PYBQPNRY.js} +1 -1
- package/Marketplace/{chunk-2FI33IHG.js → chunk-R6PEAOIJ.js} +1 -1
- package/Marketplace/{chunk-P6UIWSMI.js → chunk-S36U4I4O.js} +1 -1
- package/Marketplace/chunk-SA6XH3LZ.js +1 -0
- package/Marketplace/{chunk-O323NMVX.js → chunk-SAEXEG4F.js} +1 -1
- package/Marketplace/{chunk-HDP6YJ5R.js → chunk-SB2DYZXB.js} +1 -1
- package/Marketplace/{chunk-5BU6HQXL.js → chunk-WH3FZ3VM.js} +1 -1
- package/Marketplace/{chunk-J3ATGPY6.js → chunk-WQY67NR3.js} +1 -1
- package/Marketplace/{chunk-WONQYZFA.js → chunk-WVKDNFEM.js} +1 -1
- package/Marketplace/chunk-X4WLRMDP.js +1 -0
- package/Marketplace/{chunk-WTYYEYYS.js → chunk-XGSCK5UN.js} +1 -1
- package/Marketplace/{chunk-YLIFCNKK.js → chunk-XOR54KJS.js} +1 -1
- package/Marketplace/index.html +3 -3
- package/Marketplace/{main-ZA64OH5W.js → main-F2YQJBAZ.js} +1 -1
- package/Marketplace/{styles-AJ4ALOFG.css → styles-RZHRYK3K.css} +1 -1
- package/package.json +1 -1
- package/Marketplace/chunk-2AMEIUWK.js +0 -1
- package/Marketplace/chunk-2HLJYECZ.js +0 -1
- package/Marketplace/chunk-64DIERLC.js +0 -1
- package/Marketplace/chunk-6OGERROP.js +0 -1
- package/Marketplace/chunk-BFLBYMTB.js +0 -5
- package/Marketplace/chunk-DPZZV2TL.js +0 -1
- package/Marketplace/chunk-KG27JWOX.js +0 -2
- package/Marketplace/chunk-L4A3FRTR.js +0 -1
- package/Marketplace/chunk-R5BHUH4C.js +0 -1
- package/Marketplace/chunk-R5CG7RZC.js +0 -3
- package/Marketplace/chunk-YKILFBLW.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Ke}from"./chunk-
|
|
1
|
+
import{e as Ke}from"./chunk-NVF24LK5.js";import{a as Fe,b as ue,c as Le,d as He,e as de,f as $e,g as he,h as We,i as q,j as pe,k as E}from"./chunk-KCDL7SWP.js";import{b as le,c as z,d as Ue}from"./chunk-X4WLRMDP.js";import{$ as b,A as Pe,B as De,Ca as H,Dc as Oe,Ec as Me,Fc as Be,I as ie,N as _e,Pa as $,Q as se,T as _,U as ae,Wc as Ne,X as U,aa as F,b as g,ba as y,c as X,ca as h,cc as Re,dc as je,ea as xe,g as Ee,h as Te,ha as L,ic as ce,k as M,l as N,m as x,n as K,q as P,r as Ce}from"./chunk-HSFUKC7R.js";import{a as oe,i as I}from"./chunk-GNOSNGXM.js";var ze={production:!0,version:"3.19.1",firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},news:"https://changelog.dealpos.app/umbraco/delivery/api/v2/content?fetch=children:omni&sort=sortOrder:asc"};var pt="firebase",ft="10.12.1";q(pt,ft,"app");var G=new Re("ANGULARFIRE2_VERSION");var gt=(r,i)=>{let t=i?[i]:We(),e=[];return t.forEach(n=>{n.container.getProvider(r).instances.forEach(s=>{e.includes(s)||e.push(s)})}),e},V=class{constructor(){return gt(mt)}},mt="app-check";function fe(){}var Y=class{zone;delegate;constructor(i,t=Te){this.zone=i,this.delegate=t}now(){return this.delegate.now()}schedule(i,t,e){let n=this.zone,o=function(s){n.runGuarded(()=>{i.apply(this,[s])})};return this.delegate.schedule(o,t,e)}},ge=class{zone;task=null;constructor(i){this.zone=i}call(i,t){let e=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",fe,{},fe,fe)),t.pipe(U({next:e,complete:e,error:e})).subscribe(i).add(e)}unscheduleTask(){setTimeout(()=>{this.task!=null&&this.task.state==="scheduled"&&(this.task.invoke(),this.task=null)},10)}},qe=(()=>{class r{ngZone;outsideAngular;insideAngular;constructor(t){this.ngZone=t,this.outsideAngular=t.runOutsideAngular(()=>new Y(Zone.current)),this.insideAngular=t.run(()=>new Y(Zone.current,Ee)),globalThis.\u0275AngularFireScheduler||=this}static \u0275fac=function(e){return new(e||r)(h($))};static \u0275prov=b({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function At(){let r=globalThis.\u0275AngularFireScheduler;if(!r)throw new Error(`Either AngularFireModule has not been provided in your AppModule (this can be done manually or implictly using
|
|
2
2
|
provideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).`);return r}function Ve(r){return wt(At())(r)}function wt(r){return function(t){return t=t.lift(new ge(r.ngZone)),t.pipe(N(r.outsideAngular),M(r.insideAngular))}}var Ge=(()=>{let i=class i{constructor(){}getParseToken(){let e=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(e.Token.access_token)}GetRoles(){let n=this.getParseToken()["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"];return n||[]}ParseToken(e){try{let o=e.split(".")[0].replace("-","+").replace("_","/"),s=JSON.parse(window.atob(o)),c=e.split(".")[1].replace("-","+").replace("_","/"),l=JSON.parse(window.atob(c));return l.header=s,l}catch{return!1}}};i.\u0275fac=function(n){return new(n||i)},i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"});let r=i;return r})();var bt=new Map,St={activated:!1,tokenObservers:[]},It={initialized:!1,enabled:!1};function T(r){return bt.get(r)||Object.assign({},St)}function Qe(){return It}var yt="https://content-firebaseappcheck.googleapis.com/v1";var Et="exchangeDebugToken",Je={OFFSET_DURATION:5*60*1e3,RETRIAL_MIN_WAIT:30*1e3,RETRIAL_MAX_WAIT:16*60*1e3},Ao=24*60*60*1e3;var Ae=class{constructor(i,t,e,n,o){if(this.operation=i,this.retryPolicy=t,this.getWaitDuration=e,this.lowerBound=n,this.upperBound=o,this.pending=null,this.nextErrorWaitInterval=n,n>o)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(i){return I(this,null,function*(){this.stop();try{this.pending=new ue,this.pending.promise.catch(t=>{}),yield Tt(this.getNextRun(i)),this.pending.resolve(),yield this.pending.promise,this.pending=new ue,this.pending.promise.catch(t=>{}),yield this.operation(),this.pending.resolve(),yield this.pending.promise,this.process(!0).catch(()=>{})}catch(t){this.retryPolicy(t)?this.process(!1).catch(()=>{}):this.stop()}})}getNextRun(i){if(i)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{let t=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),t}}};function Tt(r){return new Promise(i=>{setTimeout(i,r)})}var Ct={"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"},R=new He("appCheck","AppCheck",Ct);function et(r){if(!T(r).activated)throw R.create("use-before-activation",{appName:r.name})}function tt(e,n){return I(this,arguments,function*({url:r,body:i},t){let o={"Content-Type":"application/json"},s=t.getImmediate({optional:!0});if(s){let f=yield s.getHeartbeatsHeader();f&&(o["X-Firebase-Client"]=f)}let a={method:"POST",body:JSON.stringify(i),headers:o},c;try{c=yield fetch(r,a)}catch(f){throw R.create("fetch-network-error",{originalErrorMessage:f?.message})}if(c.status!==200)throw R.create("fetch-status-error",{httpStatus:c.status});let l;try{l=yield c.json()}catch(f){throw R.create("fetch-parse-error",{originalErrorMessage:f?.message})}let d=l.ttl.match(/^([\d.]+)(s)$/);if(!d||!d[2]||isNaN(Number(d[1])))throw R.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${l.ttl}`});let u=Number(d[1])*1e3,p=Date.now();return{token:l.token,expireTimeMillis:p+u,issuedAtTimeMillis:p}})}function nt(r,i){let{projectId:t,appId:e,apiKey:n}=r.options;return{url:`${yt}/projects/${t}/apps/${e}:${Et}?key=${n}`,body:{debug_token:i}}}var Pt="firebase-app-check-database",Dt=1,we="firebase-app-check-store";var Q=null;function _t(){return Q||(Q=new Promise((r,i)=>{try{let t=indexedDB.open(Pt,Dt);t.onsuccess=e=>{r(e.target.result)},t.onerror=e=>{var n;i(R.create("storage-open",{originalErrorMessage:(n=e.target.error)===null||n===void 0?void 0:n.message}))},t.onupgradeneeded=e=>{let n=e.target.result;switch(e.oldVersion){case 0:n.createObjectStore(we,{keyPath:"compositeKey"})}}}catch(t){i(R.create("storage-open",{originalErrorMessage:t?.message}))}}),Q)}function xt(r,i){return Rt(jt(r),i)}function Rt(r,i){return I(this,null,function*(){let e=(yield _t()).transaction(we,"readwrite"),o=e.objectStore(we).put({compositeKey:r,value:i});return new Promise((s,a)=>{o.onsuccess=c=>{s()},e.onerror=c=>{var l;a(R.create("storage-set",{originalErrorMessage:(l=c.target.error)===null||l===void 0?void 0:l.message}))}})})}function jt(r){return`${r.options.appId}-${r.name}`}var ke=new $e("@firebase/app-check");function me(r,i){return Le()?xt(r,i).catch(t=>{ke.warn(`Failed to write token to IndexedDB. Error: ${t}`)}):Promise.resolve()}function rt(){return Qe().enabled}function ot(){return I(this,null,function*(){let r=Qe();if(r.enabled&&r.token)return r.token.promise;throw Error(`
|
|
3
3
|
Can't get debug token in production mode.
|
|
4
4
|
`)})}var Ot={error:"UNKNOWN_ERROR"};function Mt(r){return Fe.encodeString(JSON.stringify(r),!1)}function ve(r,i=!1){return I(this,null,function*(){let t=r.app;et(t);let e=T(t),n=e.token,o;if(n&&!J(n)&&(e.token=void 0,n=void 0),!n){let c=yield e.cachedTokenPromise;c&&(J(c)?n=c:yield me(t,void 0))}if(!i&&n&&J(n))return{token:n.token};let s=!1;if(rt()){e.exchangeTokenPromise||(e.exchangeTokenPromise=tt(nt(t,yield ot()),r.heartbeatServiceProvider).finally(()=>{e.exchangeTokenPromise=void 0}),s=!0);let c=yield e.exchangeTokenPromise;return yield me(t,c),e.token=c,{token:c.token}}try{e.exchangeTokenPromise||(e.exchangeTokenPromise=e.provider.getToken().finally(()=>{e.exchangeTokenPromise=void 0}),s=!0),n=yield T(t).exchangeTokenPromise}catch(c){c.code==="appCheck/throttled"?ke.warn(c.message):ke.error(c),o=c}let a;return n?o?J(n)?a={token:n.token,internalError:o}:a=Xe(o):(a={token:n.token},e.token=n,yield me(t,n)):a=Xe(o),s&&Lt(t,a),a})}function Bt(r){return I(this,null,function*(){let i=r.app;et(i);let{provider:t}=T(i);if(rt()){let e=yield ot(),{token:n}=yield tt(nt(i,e),r.heartbeatServiceProvider);return{token:n}}else{let{token:e}=yield t.getToken();return{token:e}}})}function Nt(r,i,t,e){let{app:n}=r,o=T(n),s={next:t,error:e,type:i};if(o.tokenObservers=[...o.tokenObservers,s],o.token&&J(o.token)){let a=o.token;Promise.resolve().then(()=>{t({token:a.token}),Ze(r)}).catch(()=>{})}o.cachedTokenPromise.then(()=>Ze(r))}function it(r,i){let t=T(r),e=t.tokenObservers.filter(n=>n.next!==i);e.length===0&&t.tokenRefresher&&t.tokenRefresher.isRunning()&&t.tokenRefresher.stop(),t.tokenObservers=e}function Ze(r){let{app:i}=r,t=T(i),e=t.tokenRefresher;e||(e=Ft(r),t.tokenRefresher=e),!e.isRunning()&&t.isTokenAutoRefreshEnabled&&e.start()}function Ft(r){let{app:i}=r;return new Ae(()=>I(this,null,function*(){let t=T(i),e;if(t.token?e=yield ve(r,!0):e=yield ve(r),e.error)throw e.error;if(e.internalError)throw e.internalError}),()=>!0,()=>{let t=T(i);if(t.token){let e=t.token.issuedAtTimeMillis+(t.token.expireTimeMillis-t.token.issuedAtTimeMillis)*.5+3e5,n=t.token.expireTimeMillis-5*60*1e3;return e=Math.min(e,n),Math.max(0,e-Date.now())}else return 0},Je.RETRIAL_MIN_WAIT,Je.RETRIAL_MAX_WAIT)}function Lt(r,i){let t=T(r).tokenObservers;for(let e of t)try{e.type==="EXTERNAL"&&i.error!=null?e.error(i.error):e.next(i)}catch{}}function J(r){return r.expireTimeMillis-Date.now()>0}function Xe(r){return{token:Mt(Ot),error:r}}var be=class{constructor(i,t){this.app=i,this.heartbeatServiceProvider=t}_delete(){let{tokenObservers:i}=T(this.app);for(let t of i)it(this.app,t.next);return Promise.resolve()}};function Ht(r,i){return new be(r,i)}function $t(r){return{getToken:i=>ve(r,i),getLimitedUseToken:()=>Bt(r),addTokenListener:i=>Nt(r,"INTERNAL",i),removeTokenListener:i=>it(r.app,i)}}var Wt="@firebase/app-check",Kt="0.8.4";var Ut="app-check",Ye="app-check-internal";function zt(){he(new de(Ut,r=>{let i=r.getProvider("app").getImmediate(),t=r.getProvider("heartbeat");return Ht(i,t)},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((r,i,t)=>{r.getProvider(Ye).initialize()})),he(new de(Ye,r=>{let i=r.getProvider("app-check").getImmediate();return $t(i)},"PUBLIC").setInstantiationMode("EXPLICIT")),q(Wt,Kt)}zt();var qt=["localhost","0.0.0.0","127.0.0.1"],Do=typeof window<"u"&&qt.includes(window.location.hostname);var Gt="firebase",Jt="10.12.1";E.registerVersion(Gt,Jt,"app-compat");var Zt=["ngOnDestroy"],at=(r,i,t,e={})=>new Proxy(r,{get:(n,o)=>t.runOutsideAngular(()=>{if(r[o])return e?.spy?.get&&e.spy.get(o,r[o]),r[o];if(Zt.indexOf(o)>-1)return()=>{};let s=i.toPromise().then(a=>{let c=a?.[o];return typeof c=="function"?c.bind(a):c?.then?c.then(l=>t.run(()=>l)):t.run(()=>c)});return new Proxy(()=>{},{get:(a,c)=>s[c],apply:(a,c,l)=>s.then(d=>{let u=d?.(...l);return e?.spy?.apply&&e.spy.apply(o,l,u),u})})})});var ee=class{constructor(i){return i}},te=new y("angularfire2.app.options"),ne=new y("angularfire2.app.name");function Se(r,i,t){let e=typeof t=="string"&&t||"[DEFAULT]",n=typeof t=="object"&&t||{};n.name=n.name||e;let s=E.apps.filter(a=>a&&a.name===n.name)[0]||i.runOutsideAngular(()=>E.initializeApp(r,n));try{if(JSON.stringify(r)!==JSON.stringify(s.options)){let a=!!module.hot;Xt("error",`${s.name} Firebase App already initialized with different options${a?", you may need to reload as Firebase is not HMR aware.":"."}`)}}catch{}return new ee(s)}var Xt=(r,...i)=>{ce()&&typeof console<"u"&&console[r](...i)},Yt={provide:ee,useFactory:Se,deps:[te,$,[new xe,ne]]},Ho=(()=>{class r{static initializeApp(t,e){return{ngModule:r,providers:[{provide:te,useValue:t},{provide:ne,useValue:e}]}}constructor(t){E.registerVersion("angularfire",G.full,"core"),E.registerVersion("angularfire",G.full,"app-compat"),E.registerVersion("angular",je.full,t.toString())}static \u0275fac=function(e){return new(e||r)(h(H))};static \u0275mod=L({type:r});static \u0275inj=F({providers:[Yt]})}return r})();function ct(r,i,t,e,n){let[,o,s]=globalThis.\u0275AngularfireInstanceCache.find(a=>a[0]===r)||[];if(o)return Qt(n,s)||(st("error",`${i} was already initialized on the ${t} Firebase App with different settings.${en?" You may need to reload as Firebase is not HMR aware.":""}`),st("warn",{is:n,was:s})),o;{let a=e();return globalThis.\u0275AngularfireInstanceCache.push([r,a,n]),a}}function Qt(r,i){try{return r.toString()===i.toString()}catch{return r===i}}var en=typeof module<"u"&&!!module.hot,st=(r,...i)=>{ce()&&typeof console<"u"&&console[r](...i)};globalThis.\u0275AngularfireInstanceCache||=[];var tn=new y("angularfire2.auth.use-emulator"),nn=new y("angularfire2.auth.settings"),rn=new y("angularfire2.auth.tenant-id"),on=new y("angularfire2.auth.langugage-code"),sn=new y("angularfire2.auth.use-device-language"),an=new y("angularfire.auth.persistence"),cn=(r,i,t,e,n,o,s,a)=>ct(`${r.name}.auth`,"AngularFireAuth",r.name,()=>{let c=i.runOutsideAngular(()=>r.auth());if(t&&c.useEmulator(...t),e&&(c.tenantId=e),c.languageCode=n,o&&c.useDeviceLanguage(),s)for(let[l,d]of Object.entries(s))c.settings[l]=d;return a&&c.setPersistence(a),c},[t,e,n,o,s,a]),Ie=(()=>{class r{authState;idToken;user;idTokenResult;credential;constructor(t,e,n,o,s,a,c,l,d,u,p,f){let W=new X,j=K(void 0).pipe(M(s.outsideAngular),_(()=>o.runOutsideAngular(()=>import("./chunk-F4WIW6HA.js"))),P(()=>Se(t,o,e)),P(C=>cn(C,o,a,l,d,u,c,p)),se({bufferSize:1,refCount:!1}));if(Be(n))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=K(null);else{j.pipe(_e()).subscribe();let C=j.pipe(_(A=>A.getRedirectResult().then(D=>D,()=>null)),Ve,se({bufferSize:1,refCount:!1})),Z=j.pipe(_(A=>new g(D=>({unsubscribe:o.runOutsideAngular(()=>A.onAuthStateChanged(O=>D.next(O),O=>D.error(O),()=>D.complete()))})))),re=j.pipe(_(A=>new g(D=>({unsubscribe:o.runOutsideAngular(()=>A.onIdTokenChanged(O=>D.next(O),O=>D.error(O),()=>D.complete()))}))));this.authState=C.pipe(ae(Z),N(s.outsideAngular),M(s.insideAngular)),this.user=C.pipe(ae(re),N(s.outsideAngular),M(s.insideAngular)),this.idToken=this.user.pipe(_(A=>A?x(A.getIdToken()):K(null))),this.idTokenResult=this.user.pipe(_(A=>A?x(A.getIdTokenResult()):K(null))),this.credential=Pe(C,W,this.authState.pipe(De(A=>!A))).pipe(P(A=>A?.user?A:null),N(s.outsideAngular),M(s.insideAngular))}return at(this,j,o,{spy:{apply:(C,Z,re)=>{(C.startsWith("signIn")||C.startsWith("createUser"))&&re.then(A=>W.next(A))}}})}static \u0275fac=function(e){return new(e||r)(h(te),h(ne,8),h(H),h($),h(qe),h(tn,8),h(nn,8),h(rn,8),h(on,8),h(sn,8),h(an,8),h(V,8))};static \u0275prov=b({token:r,factory:r.\u0275fac,providedIn:"any"})}return r})(),ti=(()=>{class r{constructor(){E.registerVersion("angularfire",G.full,"auth-compat")}static \u0275fac=function(e){return new(e||r)};static \u0275mod=L({type:r});static \u0275inj=F({providers:[Ie]})}return r})();function m(r,i,t,e){return new Promise((n,o)=>{r||o("IndexedDB not available");let s=r.open(i,t),a;s.onsuccess=c=>{a=s.result,n(a)},s.onerror=c=>{o(`IndexedDB error: ${s.error}`)},typeof e=="function"&&(s.onupgradeneeded=c=>{e(c,a)})})}function lt(r,i,t,e,n){if(!r)return;let o=r.open(i,t);o.onupgradeneeded=s=>{let a=s.target.result;e.forEach(l=>{if(!a.objectStoreNames.contains(l.store)){let d=a.createObjectStore(l.store,l.storeConfig);l.storeSchema.forEach(u=>{d.createIndex(u.name,u.keypath,u.options)})}});let c=n&&n();c&&Object.keys(c).map(l=>parseInt(l,10)).filter(l=>l>s.oldVersion).sort((l,d)=>l-d).forEach(l=>{c[l](a,o.transaction)}),a.close()},o.onsuccess=s=>{s.target.result.close()}}function un(r,i,t){if(!r||!i||!t)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new g(e=>{try{let n=i+1,o=indexedDB.open(r,n);o.onupgradeneeded=s=>{let a=s.target.result;a.deleteObjectStore(t),a.close(),console.log("onupgradeneeded"),e.next(!0),e.complete()},o.onerror=s=>e.error(s)}catch(n){e.error(n)}})}function dn(r,i){return r.objectStoreNames.contains(i)}function S(r,i,t){r||t("You need to use the openDatabase function to create a database before you query it!"),dn(r,i)||t(`objectStore does not exists: ${i}`)}function k(r,i){let t=r.transaction(i.storeName,i.dbMode);return t.onerror=i.error,t.onabort=i.abort,t}function v(r,i,t,e){return{storeName:i,dbMode:r,error:n=>{t(n)},abort:n=>{t(n)}}}var w=function(r){return r.readonly="readonly",r.readwrite="readwrite",r}(w||{}),ut=new y(null),ye=(()=>{class r{constructor(t,e){if(this.dbConfig=t,this.platformId=e,!t.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!t.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=Me(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,lt(this.indexedDB,t.name,t.version,t.objectStoresMeta,t.migrationFactory),m(this.indexedDB,t.name).then(n=>{n.version!==t.version&&(this.dbConfig.version=n.version)}))}createObjectStore(t,e){let n=[t];lt(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,n,e)}add(t,e,n){return new g(o=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(s=>{let c=k(s,v(w.readwrite,t,d=>o.error(d))).objectStore(t),l=n?c.add(e,n):c.add(e);l.onsuccess=d=>I(this,null,function*(){let u=d.target.result,p=c.get(u);p.onsuccess=f=>{o.next(f.target.result),o.complete()}})}).catch(s=>o.error(s))})}bulkAdd(t,e){let n=new Promise((o,s)=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(a=>{let l=k(a,v(w.readwrite,t,o,s)).objectStore(t),d=e.map(u=>new Promise((p,f)=>{let W=u.key;delete u.key;let j=W?l.add(u,W):l.add(u);j.onsuccess=C=>{let Z=C.target.result;p(Z)}}));o(Promise.all(d))}).catch(a=>s(a))});return x(n)}bulkDelete(t,e){let n=e.map(o=>new Promise((s,a)=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(c=>{let l=k(c,v(w.readwrite,t,a,s));l.objectStore(t).delete(o),l.oncomplete=()=>{this.getAll(t).pipe(ie(1)).subscribe(u=>{s(u)})}}).catch(c=>a(c))}));return x(Promise.all(n))}getByKey(t,e){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{let c=k(o,v(w.readonly,t,n.error)).objectStore(t).get(e);c.onsuccess=l=>{n.next(l.target.result),n.complete()},c.onerror=l=>{n.error(l)}}).catch(o=>n.error(o))})}bulkGet(t,e){let n=e.map(o=>this.getByKey(t,o));return new g(o=>{Ce(n).subscribe(s=>{o.next(s),o.complete()})})}getByID(t,e){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{S(o,t,l=>n.error(l));let c=k(o,v(w.readonly,t,n.error,n.next)).objectStore(t).get(e);c.onsuccess=l=>{n.next(l.target.result)}}).catch(o=>n.error(o))})}getByIndex(t,e,n){return new g(o=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(s=>{S(s,t,u=>o.error(u));let d=k(s,v(w.readonly,t,o.error)).objectStore(t).index(e).get(n);d.onsuccess=u=>{o.next(u.target.result),o.complete()}}).catch(s=>o.error(s))})}getAll(t){return new g(e=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(n=>{S(n,t,c=>e.error(c));let a=k(n,v(w.readonly,t,e.error,e.next)).objectStore(t).getAll();a.onerror=c=>{e.error(c)},a.onsuccess=({target:{result:c}})=>{e.next(c),e.complete()}}).catch(n=>e.error(n))})}update(t,e){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{S(o,t,l=>n.error(l));let a=k(o,v(w.readwrite,t,l=>n.error(l))).objectStore(t),c=a.put(e);c.onsuccess=l=>I(this,null,function*(){let d=l.target.result,u=a.get(d);u.onsuccess=p=>{n.next(p.target.result),n.complete()}})}).catch(o=>n.error(o))})}delete(t,e){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{S(o,t,c=>n.error(c));let s=k(o,v(w.readwrite,t,c=>n.error(c)));s.objectStore(t).delete(e),s.oncomplete=()=>{this.getAll(t).pipe(ie(1)).subscribe(c=>{n.next(c),n.complete()})}}).catch(o=>n.error(o))})}deleteByKey(t,e){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{S(o,t,c=>n.error(c));let s=k(o,v(w.readwrite,t,c=>n.error(c))),a=s.objectStore(t);s.oncomplete=()=>{n.next(!0),n.complete()},a.delete(e)}).catch(o=>n.error(o))})}clear(t){return new g(e=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(n=>{S(n,t,a=>e.error(a));let o=k(n,v(w.readwrite,t,a=>e.error(a)));o.objectStore(t).clear(),o.oncomplete=()=>{e.next(!0),e.complete()}}).catch(n=>e.error(n))})}deleteDatabase(){return new g(t=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(e=>I(this,null,function*(){yield e.close();let n=this.indexedDB.deleteDatabase(this.dbConfig.name);n.onsuccess=()=>{t.next(!0),t.complete()},n.onerror=o=>t.error(o),n.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}})).catch(e=>t.error(e))})}openCursor(t,e){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{S(o,t,l=>n.error(l));let a=k(o,v(w.readonly,t,n.error)).objectStore(t),c=e===void 0?a.openCursor():a.openCursor(e);c.onsuccess=l=>{n.next(l),n.complete()}}).catch(o=>n.error(o))})}openCursorByIndex(t,e,n,o=w.readonly){let s=new X;return m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(a=>{S(a,t,p=>{s.error(p)});let u=k(a,v(o,t,p=>{s.error(p)},()=>{s.next()})).objectStore(t).index(e).openCursor(n);u.onsuccess=p=>{s.next(p)}}).catch(a=>s.error(a)),s}getAllByIndex(t,e,n){let o=[];return new g(s=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(a=>{S(a,t,p=>s.error(p));let u=k(a,v(w.readonly,t,s.error)).objectStore(t).index(e).openCursor(n);u.onsuccess=p=>{let f=p.target.result;f?(o.push(f.value),f.continue()):(s.next(o),s.complete())}}).catch(a=>s.error(a))})}getAllKeysByIndex(t,e,n){let o=[];return new g(s=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(a=>{S(a,t,p=>s.error(p));let u=k(a,v(w.readonly,t,s.error)).objectStore(t).index(e).openKeyCursor(n);u.onsuccess=p=>{let f=p.target.result;f?(o.push({primaryKey:f.primaryKey,key:f.key}),f.continue()):(s.next(o),s.complete())}}).catch(a=>s.error(a))})}count(t,e){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{S(o,t,l=>n.error(l));let c=k(o,v(w.readonly,t,n.error)).objectStore(t).count(e);c.onerror=l=>n.error(l),c.onsuccess=l=>{n.next(l.target.result),n.complete()}}).catch(o=>n.error(o))})}countByIndex(t,e,n){return new g(o=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(s=>{S(s,t,u=>o.error(u));let d=k(s,v(w.readonly,t,o.error)).objectStore(t).index(e).count(n);d.onerror=u=>o.error(u),d.onsuccess=u=>{o.next(u.target.result),o.complete()}}).catch(s=>o.error(s))})}deleteObjectStore(t){return un(this.dbConfig.name,++this.dbConfig.version,t)}}return r.\u0275fac=function(t){return new(t||r)(h(ut),h(H))},r.\u0275prov=b({token:r,factory:r.\u0275fac}),r})(),li=(()=>{class r{static forRoot(t){return{ngModule:r,providers:[ye,{provide:ut,useValue:t}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=L({type:r}),r.\u0275inj=F({imports:[[Oe]]}),r})();var dt=(()=>{let i=class i{constructor(e){this.db=e,this.DATABASE="Categories"}saveCategoriesByChannelType(e,n){let o=this.getKey(n);return this.db.add(this.DATABASE,e,o).pipe(P(s=>e))}getCategoriesByChannelType(e){let n=this.getKey(e);return this.db.getByKey(this.DATABASE,n)}getKey(e){let n="";switch(e){case le.Lazada:n="Lazada";break;case le.Tokopedia:n="Tokopedia";break}return n}clearDatabase(){this.db.clear(this.DATABASE)}getHostName(){let e=localStorage.getItem("Authorization");return this.hostName=JSON.parse(e)?.Host,this.hostName}};i.\u0275fac=function(n){return new(n||i)(h(ye))},i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"});let r=i;return r})();var ht=(()=>{let i=class i{constructor(){}inititalizeIntercom(){let e=this.getFromLocalStorage();e?.Enabled&&window.Intercom("boot",{app_id:"xv1oomgl",name:e.Name,email:e.Email,created_at:e.Created,user_hash:e.Hash})}shutdown(){this.getFromLocalStorage()?.Enabled&&(window.Intercom("shutdown"),this.clearStorage())}clearStorage(){localStorage.removeItem("Intercom")}updateLocalStorage(e){let n={Enabled:!0};e&&(n=oe(oe({},n),e)),localStorage.setItem("Intercom",JSON.stringify(n))}getFromLocalStorage(){let e=localStorage.getItem("Intercom");return JSON.parse(e)}hideLauncher(){let e=this.getFromLocalStorage();e?.Enabled&&(window.Intercom("update",{app_id:"xv1oomgl",hide_default_launcher:!0}),e.hide_default_launcher=!0,this.updateLocalStorage(e))}showLauncher(){let e=this.getFromLocalStorage();e?.Enabled&&(window.Intercom("update",{app_id:"xv1oomgl",hide_default_launcher:!1}),e.hide_default_launcher=!1,this.updateLocalStorage(e))}isHideLauncher(){let e=this.getFromLocalStorage();return z.IsEmpty(e?.hide_default_launcher)?!1:e?.hide_default_launcher}};i.\u0275fac=function(n){return new(n||i)},i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"});let r=i;return r})();var Si=(()=>{let i=class i{constructor(e,n,o,s,a,c,l){this.httpService=e,this.tokenDecodeService=n,this.afAuth=o,this.ngxPermission=s,this.localDataService=a,this.router=c,this.intercomService=l,this.channels=[]}login(e){return this.httpService.post("/api/token/Login",e).pipe(U(n=>{this.setLocalStorage(n,e.Host,e.Username),this.loadPermissions()}))}getNews(){return this.httpService.get(ze.news).pipe(P(e=>e?.items?.map(n=>n?.properties)))}loginWithGoogle(e,n){e.preventDefault();let o=new pe;return o.setCustomParameters({prompt:"select_account"}),x(this.afAuth.signInWithPopup(o)).pipe(P(s=>s.credential),P(s=>s.idToken),_(s=>this.httpService.post("/api/token/LoginWithSocialProvider",JSON.stringify({IDToken:s,Host:n}))),U(s=>{this.setLocalStorage(s,n,null),this.loadPermissions()}))}setLocalStorage(e,n,o){localStorage.setItem("user",JSON.stringify(e)),localStorage.setItem("Authorization",JSON.stringify({Host:n,username:o})),localStorage.setItem("channels",JSON.stringify(e.Channels)),this.intercomService.updateLocalStorage(e.IntercomWidget),this.intercomService.inititalizeIntercom()}loadPermissions(){this.ngxPermission.loadPermissions([]);let e=localStorage.getItem("user");if(z.IsNotEmpty(e)){let n=this.tokenDecodeService.GetRoles();this.ngxPermission.loadPermissions(n)}}getChannels(){let e=JSON.parse(JSON.stringify(this.channels));if(this.channels.length===0){let n=localStorage.getItem("channels");n?(this.channels=JSON.parse(n),e=JSON.parse(JSON.stringify(this.channels))):(this.channels=[],e=[])}return e=this.setChannelLogo(e),e}setChannelLogo(e){return e=e.map(n=>(n.Img=z.getChannelLogoByTypeId(n.TypeID),n)),e}logout(){this.clearLocalStorage(),this.ngxPermission.flushPermissions()}isActiveToken(){let e=JSON.parse(window.localStorage.getItem("user")),n=new Date;if(e!=null){let o=new Date(e.Token.expiredAt);return n<o?!0:(this.clearLocalStorage(),!1)}else return!1}getDomain(){if(!this.domain){let e=localStorage.getItem("Authorization");this.domain="https://"+JSON.parse(e).Host}return this.domain}clearLocalStorage(){this.domain=null,this.channels=[],localStorage.removeItem("channels"),localStorage.removeItem("user"),this.intercomService.shutdown(),this.localDataService.clearDatabase(),this.router.navigate([""])}};i.\u0275fac=function(n){return new(n||i)(h(Ke),h(Ge),h(Ie),h(Ue),h(dt),h(Ne),h(ht))},i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"});let r=i;return r})();export{ze as a,Ge as b,Ho as c,ti as d,li as e,dt as f,Si as g};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{a as Q,b as xe,c as Ue,d as Ke,e as Te,g as Z,h as W,i as _t,j as mt,k as h,l as ut,m as se,n as Se,o as Xe,p as ft,q as Be,r as _e,s as Je,t as yt,u as vt}from"./chunk-NEQN5BMS.js";import{a as He}from"./chunk-O5MOPAT5.js";import{$a as i,Bb as ne,Ca as De,Cb as F,Db as M,Dc as Y,Eb as k,Ec as Ee,Hb as oe,Ia as n,Ib as X,Ja as E,Jb as ye,Kb as Ne,Mb as rt,Nb as at,Oa as Me,Ob as st,Pa as ke,Pb as Re,Qb as le,Rb as ct,Sb as v,Tb as H,Ub as ve,Vb as dt,Wa as ie,Ya as be,Za as r,Zb as pt,_ as ue,_a as y,aa as ge,ad as ht,bb as lt,bc as re,bd as Ze,cb as ze,db as O,ed as We,ga as R,ha as Ce,hd as Ge,id as Ye,jc as ae,kc as D,kd as qe,lb as s,lc as pe,mb as c,na as Oe,nb as m,oa as d,ob as w,pa as p,pb as b,qa as Ie,qb as V,rb as L,rc as Pe,sa as Ae,tc as J,ub as T,vc as he,wb as o,wc as $,xb as Le,xc as ee,ya as fe,yb as Fe,yc as te,za as f}from"./chunk-HSFUKC7R.js";import{a as K,b as Qe}from"./chunk-GNOSNGXM.js";var we=(()=>{class t extends se{pathId;ngOnInit(){this.pathId="url(#"+xe()+")"}static \u0275fac=(()=>{let e;return function(C){return(e||(e=Ae(t)))(C||t)}})();static \u0275cmp=R({type:t,selectors:[["SearchIcon"]],standalone:!0,features:[ie,le],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(g,C){g&1&&(Ie(),s(0,"svg",0)(1,"g"),m(2,"path",1),c(),s(3,"defs")(4,"clipPath",2),m(5,"rect",3),c()()()),g&2&&(O(C.getClassNames()),y("aria-label",C.ariaLabel)("aria-hidden",C.ariaHidden)("role",C.role),n(),y("clip-path",C.pathId),n(3),i("id",C.pathId))},encapsulation:2})}return t})();var Ot=["overlay"],Dt=["content"],Mt=["*"],kt=(t,A,e,g,C,I,l,a,_,u,N,B,P,j)=>({"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":t,"p-overlay-center":A,"p-overlay-top":e,"p-overlay-top-start":g,"p-overlay-top-end":C,"p-overlay-bottom":I,"p-overlay-bottom-start":l,"p-overlay-bottom-end":a,"p-overlay-left":_,"p-overlay-left-start":u,"p-overlay-left-end":N,"p-overlay-right":B,"p-overlay-right-start":P,"p-overlay-right-end":j}),zt=(t,A,e)=>({showTransitionParams:t,hideTransitionParams:A,transform:e}),Lt=t=>({value:"visible",params:t}),Ft=t=>({mode:t}),Rt=t=>({$implicit:t});function Pt(t,A){t&1&&V(0)}function Ht(t,A){if(t&1){let e=L();s(0,"div",3,1),T("click",function(C){d(e);let I=o(2);return p(I.onOverlayContentClick(C))})("@overlayContentAnimation.start",function(C){d(e);let I=o(2);return p(I.onOverlayContentAnimationStart(C))})("@overlayContentAnimation.done",function(C){d(e);let I=o(2);return p(I.onOverlayContentAnimationDone(C))}),Fe(2),r(3,Pt,1,0,"ng-container",4),c()}if(t&2){let e=o(2);O(e.contentStyleClass),i("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",v(11,Lt,ve(7,zt,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),n(3),i("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",v(15,Rt,v(13,Ft,e.overlayMode)))}}function Ut(t,A){if(t&1){let e=L();s(0,"div",3,0),T("click",function(){d(e);let C=o();return p(C.onOverlayClick())}),r(2,Ht,4,17,"div",2),c()}if(t&2){let e=o();O(e.styleClass),i("ngStyle",e.style)("ngClass",pt(5,kt,[e.modal,e.modal&&e.overlayResponsiveDirection==="center",e.modal&&e.overlayResponsiveDirection==="top",e.modal&&e.overlayResponsiveDirection==="top-start",e.modal&&e.overlayResponsiveDirection==="top-end",e.modal&&e.overlayResponsiveDirection==="bottom",e.modal&&e.overlayResponsiveDirection==="bottom-start",e.modal&&e.overlayResponsiveDirection==="bottom-end",e.modal&&e.overlayResponsiveDirection==="left",e.modal&&e.overlayResponsiveDirection==="left-start",e.modal&&e.overlayResponsiveDirection==="left-end",e.modal&&e.overlayResponsiveDirection==="right",e.modal&&e.overlayResponsiveDirection==="right-start",e.modal&&e.overlayResponsiveDirection==="right-end"])),n(2),i("ngIf",e.visible)}}var Kt={provide:He,useExisting:ue(()=>et),multi:!0},Bt=Ye([We({transform:"{{transform}}",opacity:0}),Ze("{{showTransitionParams}}")]),jt=Ye([Ze("{{hideTransitionParams}}",We({transform:"{{transform}}",opacity:0}))]),et=(()=>{class t{document;platformId;el;renderer;config;overlayService;cd;zone;get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(e){this._mode=e}get style(){return Q.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(e){this._style=e}get styleClass(){return Q.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(e){this._styleClass=e}get contentStyle(){return Q.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(e){this._contentStyle=e}get contentStyleClass(){return Q.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(e){this._contentStyleClass=e}get target(){let e=this._target||this.overlayOptions?.target;return e===void 0?"@prev":e}set target(e){this._target=e}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(e){this._appendTo=e}get autoZIndex(){let e=this._autoZIndex||this.overlayOptions?.autoZIndex;return e===void 0?!0:e}set autoZIndex(e){this._autoZIndex=e}get baseZIndex(){let e=this._baseZIndex||this.overlayOptions?.baseZIndex;return e===void 0?0:e}set baseZIndex(e){this._baseZIndex=e}get showTransitionOptions(){let e=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return e===void 0?".12s cubic-bezier(0, 0, 0.2, 1)":e}set showTransitionOptions(e){this._showTransitionOptions=e}get hideTransitionOptions(){let e=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return e===void 0?".1s linear":e}set hideTransitionOptions(e){this._hideTransitionOptions=e}get listener(){return this._listener||this.overlayOptions?.listener}set listener(e){this._listener=e}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(e){this._responsive=e}get options(){return this._options}set options(e){this._options=e}visibleChange=new f;onBeforeShow=new f;onShow=new f;onBeforeHide=new f;onHide=new f;onAnimationStart=new f;onAnimationDone=new f;templates;overlayViewChild;contentViewChild;contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if(Ee(this.platformId))return this.mode==="modal"||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return K(K({},this.config?.overlayOptions),this.options)}get overlayResponsiveOptions(){return K(K({},this.overlayOptions?.responsive),this.responsive)}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return h.getTargetElement(this.target,this.el?.nativeElement)}constructor(e,g,C,I,l,a,_,u){this.document=e,this.platformId=g,this.el=C,this.renderer=I,this.config=l,this.overlayService=a,this.cd=_,this.zone=u,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"content":this.contentTemplate=e.template;break;default:this.contentTemplate=e.template;break}})}show(e,g=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),g&&h.focus(this.targetEl),this.modal&&h.addClass(this.document?.body,"p-overflow-hidden")}hide(e,g=!1){if(this.visible)this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),g&&h.focus(this.targetEl),this.modal&&h.removeClass(this.document?.body,"p-overflow-hidden");else return}alignOverlay(){!this.modal&&h.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(e){this._visible=e,this.visibleChange.emit(e)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(e){this.overlayService.add({originalEvent:e,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(e){switch(e.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&Ue.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),h.appendOverlay(this.overlayEl,this.appendTo==="body"?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&h.addClass(this.overlayEl,"p-component-overlay-leave");break}this.handleEvents("onAnimationStart",e)}onOverlayContentAnimationDone(e){let g=this.overlayEl||e.element.parentElement;switch(e.toState){case"visible":this.visible&&this.show(g,!0),this.bindListeners();break;case"void":this.visible||this.hide(g,!0),this.unbindListeners(),h.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),Ue.clear(g),this.modalVisible=!1,this.cd.markForCheck();break}this.handleEvents("onAnimationDone",e)}handleEvents(e,g){this[e].emit(g),this.options&&this.options[e]&&this.options[e](g),this.config?.overlayOptions&&(this.config?.overlayOptions)[e]&&(this.config?.overlayOptions)[e](g)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new ut(this.targetEl,e=>{(this.listener?this.listener(e,{type:"scroll",mode:this.overlayMode,valid:!0}):!0)&&this.hide(e,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",e=>{let C=!(this.targetEl&&(this.targetEl.isSameNode(e.target)||!this.isOverlayClicked&&this.targetEl.contains(e.target)))&&!this.isOverlayContentClicked;(this.listener?this.listener(e,{type:"outside",mode:this.overlayMode,valid:e.which!==3&&C}):C)&&this.hide(e),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",e=>{(this.listener?this.listener(e,{type:"resize",mode:this.overlayMode,valid:!h.isTouchDevice()}):!h.isTouchDevice())&&this.hide(e,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",e=>{if(this.overlayOptions.hideOnEscape===!1||e.code!=="Escape")return;(this.listener?this.listener(e,{type:"keydown",mode:this.overlayMode,valid:!h.isTouchDevice()}):!h.isTouchDevice())&&this.zone.run(()=>{this.hide(e,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(h.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),Ue.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}static \u0275fac=function(g){return new(g||t)(E(Pe),E(De),E(fe),E(Me),E(Te),E(Ke),E(ae),E(ke))};static \u0275cmp=R({type:t,selectors:[["p-overlay"]],contentQueries:function(g,C,I){if(g&1&&ne(I,Z,4),g&2){let l;M(l=k())&&(C.templates=l)}},viewQuery:function(g,C){if(g&1&&(F(Ot,5),F(Dt,5)),g&2){let I;M(I=k())&&(C.overlayViewChild=I.first),M(I=k())&&(C.contentViewChild=I.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[Re([Kt])],ngContentSelectors:Mt,decls:1,vars:1,consts:[["overlay",""],["content",""],[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"click","ngStyle","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(g,C){g&1&&(Le(),r(0,Ut,3,20,"div",2)),g&2&&i("ngIf",C.modalVisible)},dependencies:[J,$,te,ee],styles:[`@layer primeng{.p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}}
|
|
2
|
+
`],encapsulation:2,data:{animation:[ht("overlayContentAnimation",[Ge(":enter",[qe(Bt)]),Ge(":leave",[qe(jt)])])]},changeDetection:0})}return t})(),tt=(()=>{class t{static \u0275fac=function(g){return new(g||t)};static \u0275mod=Ce({type:t});static \u0275inj=ge({imports:[Y,W,W]})}return t})();var Zt=["element"],Wt=["content"],Gt=["*"],Yt=(t,A,e)=>({"p-scroller":!0,"p-scroller-inline":t,"p-both-scroll":A,"p-horizontal-scroll":e}),gt=(t,A)=>({$implicit:t,options:A}),qt=t=>({"p-scroller-loading":t}),Xt=t=>({"p-component-overlay":t}),Jt=t=>({numCols:t}),Tt=t=>({options:t}),$t=()=>({styleClass:"p-scroller-loading-icon"}),eg=(t,A)=>({rows:t,columns:A});function tg(t,A){t&1&&V(0)}function gg(t,A){if(t&1&&(w(0),r(1,tg,1,0,"ng-container",10),b()),t&2){let e=o(2);n(),i("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",H(2,gt,e.loadedItems,e.getContentOptions()))}}function Cg(t,A){t&1&&V(0)}function Ig(t,A){if(t&1&&(w(0),r(1,Cg,1,0,"ng-container",10),b()),t&2){let e=A.$implicit,g=A.index,C=o(3);n(),i("ngTemplateOutlet",C.itemTemplate)("ngTemplateOutletContext",H(2,gt,e,C.getOptions(g)))}}function Ag(t,A){if(t&1&&(s(0,"div",11,3),r(2,Ig,2,5,"ng-container",12),c()),t&2){let e=o(2);i("ngClass",v(5,qt,e.d_loading))("ngStyle",e.contentStyle),y("data-pc-section","content"),n(2),i("ngForOf",e.loadedItems)("ngForTrackBy",e._trackBy||e.index)}}function ig(t,A){if(t&1&&m(0,"div",13),t&2){let e=o(2);i("ngStyle",e.spacerStyle),y("data-pc-section","spacer")}}function ng(t,A){t&1&&V(0)}function og(t,A){if(t&1&&(w(0),r(1,ng,1,0,"ng-container",10),b()),t&2){let e=A.index,g=o(4);n(),i("ngTemplateOutlet",g.loaderTemplate)("ngTemplateOutletContext",v(4,Tt,g.getLoaderOptions(e,g.both&&v(2,Jt,g._numItemsInViewport.cols))))}}function lg(t,A){if(t&1&&(w(0),r(1,og,2,6,"ng-container",15),b()),t&2){let e=o(3);n(),i("ngForOf",e.loaderArr)}}function rg(t,A){t&1&&V(0)}function ag(t,A){if(t&1&&(w(0),r(1,rg,1,0,"ng-container",10),b()),t&2){let e=o(4);n(),i("ngTemplateOutlet",e.loaderIconTemplate)("ngTemplateOutletContext",v(3,Tt,ct(2,$t)))}}function sg(t,A){t&1&&m(0,"SpinnerIcon",16),t&2&&(i("styleClass","p-scroller-loading-icon pi-spin"),y("data-pc-section","loadingIcon"))}function cg(t,A){if(t&1&&r(0,ag,2,5,"ng-container",6)(1,sg,1,2,"ng-template",null,5,re),t&2){let e=oe(2),g=o(3);i("ngIf",g.loaderIconTemplate)("ngIfElse",e)}}function dg(t,A){if(t&1&&(s(0,"div",14),r(1,lg,2,1,"ng-container",6)(2,cg,3,2,"ng-template",null,4,re),c()),t&2){let e=oe(3),g=o(2);i("ngClass",v(4,Xt,!g.loaderTemplate)),y("data-pc-section","loader"),n(),i("ngIf",g.loaderTemplate)("ngIfElse",e)}}function pg(t,A){if(t&1){let e=L();w(0),s(1,"div",7,1),T("scroll",function(C){d(e);let I=o();return p(I.onContainerScroll(C))}),r(3,gg,2,5,"ng-container",6)(4,Ag,3,7,"ng-template",null,2,re)(6,ig,1,2,"div",8)(7,dg,4,6,"div",9),c(),b()}if(t&2){let e=oe(5),g=o();n(),O(g._styleClass),i("ngStyle",g._style)("ngClass",ve(12,Yt,g.inline,g.both,g.horizontal)),y("id",g._id)("tabindex",g.tabindex)("data-pc-name","scroller")("data-pc-section","root"),n(2),i("ngIf",g.contentTemplate)("ngIfElse",e),n(3),i("ngIf",g._showSpacer),n(),i("ngIf",!g.loaderDisabled&&g._showLoader&&g.d_loading)}}function hg(t,A){t&1&&V(0)}function _g(t,A){if(t&1&&(w(0),r(1,hg,1,0,"ng-container",10),b()),t&2){let e=o(2);n(),i("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",H(5,gt,e.items,H(2,eg,e._items,e.loadedColumns)))}}function mg(t,A){if(t&1&&(Fe(0),r(1,_g,2,8,"ng-container",17)),t&2){let e=o();n(),i("ngIf",e.contentTemplate)}}var St=(()=>{class t{document;platformId;renderer;cd;zone;get id(){return this._id}set id(e){this._id=e}get style(){return this._style}set style(e){this._style=e}get styleClass(){return this._styleClass}set styleClass(e){this._styleClass=e}get tabindex(){return this._tabindex}set tabindex(e){this._tabindex=e}get items(){return this._items}set items(e){this._items=e}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e}get scrollHeight(){return this._scrollHeight}set scrollHeight(e){this._scrollHeight=e}get scrollWidth(){return this._scrollWidth}set scrollWidth(e){this._scrollWidth=e}get orientation(){return this._orientation}set orientation(e){this._orientation=e}get step(){return this._step}set step(e){this._step=e}get delay(){return this._delay}set delay(e){this._delay=e}get resizeDelay(){return this._resizeDelay}set resizeDelay(e){this._resizeDelay=e}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=e}get inline(){return this._inline}set inline(e){this._inline=e}get lazy(){return this._lazy}set lazy(e){this._lazy=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(e){this._loaderDisabled=e}get columns(){return this._columns}set columns(e){this._columns=e}get showSpacer(){return this._showSpacer}set showSpacer(e){this._showSpacer=e}get showLoader(){return this._showLoader}set showLoader(e){this._showLoader=e}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(e){this._numToleratedItems=e}get loading(){return this._loading}set loading(e){this._loading=e}get autoSize(){return this._autoSize}set autoSize(e){this._autoSize=e}get trackBy(){return this._trackBy}set trackBy(e){this._trackBy=e}get options(){return this._options}set options(e){this._options=e,e&&typeof e=="object"&&Object.entries(e).forEach(([g,C])=>this[`_${g}`]!==C&&(this[`_${g}`]=C))}onLazyLoad=new f;onScroll=new f;onScrollIndexChange=new f;elementViewChild;contentViewChild;templates;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;get vertical(){return this._orientation==="vertical"}get horizontal(){return this._orientation==="horizontal"}get both(){return this._orientation==="both"}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(e=>this._columns?e:e.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}constructor(e,g,C,I,l){this.document=e,this.platformId=g,this.renderer=C,this.cd=I,this.zone=l}ngOnInit(){this.setInitialState()}ngOnChanges(e){let g=!1;if(e.loading){let{previousValue:C,currentValue:I}=e.loading;this.lazy&&C!==I&&I!==this.d_loading&&(this.d_loading=I,g=!0)}if(e.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),e.numToleratedItems){let{previousValue:C,currentValue:I}=e.numToleratedItems;C!==I&&I!==this.d_numToleratedItems&&(this.d_numToleratedItems=I)}if(e.options){let{previousValue:C,currentValue:I}=e.options;this.lazy&&C?.loading!==I?.loading&&I?.loading!==this.d_loading&&(this.d_loading=I.loading,g=!0),C?.numToleratedItems!==I?.numToleratedItems&&I?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=I.numToleratedItems)}this.initialized&&!g&&(e.items?.previousValue?.length!==e.items?.currentValue?.length||e.itemSize||e.scrollHeight||e.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this.contentTemplate=e.template;break;case"item":this.itemTemplate=e.template;break;case"loader":this.loaderTemplate=e.template;break;case"loadericon":this.loaderIconTemplate=e.template;break;default:this.itemTemplate=e.template;break}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){Ee(this.platformId)&&!this.initialized&&h.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.calculateAutoSize(),this.defaultWidth=h.getWidth(this.elementViewChild?.nativeElement),this.defaultHeight=h.getHeight(this.elementViewChild?.nativeElement),this.defaultContentWidth=h.getWidth(this.contentEl),this.defaultContentHeight=h.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(e){this.contentEl=e||this.contentViewChild?.nativeElement||h.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(e){return Math.floor(((e??this.first)+this.d_numToleratedItems*4)/(this._step||1))}isPageChanged(e){return this._step?this.page!==this.getPageByFirst(e??this.first):!0}scrollTo(e){this.elementViewChild?.nativeElement?.scrollTo(e)}scrollToIndex(e,g="auto"){if(this.both?e.every(I=>I>-1):e>-1){let I=this.first,{scrollTop:l=0,scrollLeft:a=0}=this.elementViewChild?.nativeElement,{numToleratedItems:_}=this.calculateNumItems(),u=this.getContentPosition(),N=this.itemSize,B=(S=0,z)=>S<=z?0:S,P=(S,z,G)=>S*z+G,j=(S=0,z=0)=>this.scrollTo({left:S,top:z,behavior:g}),U=this.both?{rows:0,cols:0}:0,ce=!1,x=!1;this.both?(U={rows:B(e[0],_[0]),cols:B(e[1],_[1])},j(P(U.cols,N[1],u.left),P(U.rows,N[0],u.top)),x=this.lastScrollPos.top!==l||this.lastScrollPos.left!==a,ce=U.rows!==I.rows||U.cols!==I.cols):(U=B(e,_),this.horizontal?j(P(U,N,u.left),l):j(a,P(U,N,u.top)),x=this.lastScrollPos!==(this.horizontal?a:l),ce=U!==I),this.isRangeChanged=ce,x&&(this.first=U)}}scrollInView(e,g,C="auto"){if(g){let{first:I,viewport:l}=this.getRenderedRange(),a=(N=0,B=0)=>this.scrollTo({left:N,top:B,behavior:C}),_=g==="to-start",u=g==="to-end";if(_){if(this.both)l.first.rows-I.rows>e[0]?a(l.first.cols*this._itemSize[1],(l.first.rows-1)*this._itemSize[0]):l.first.cols-I.cols>e[1]&&a((l.first.cols-1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.first-I>e){let N=(l.first-1)*this._itemSize;this.horizontal?a(N,0):a(0,N)}}else if(u){if(this.both)l.last.rows-I.rows<=e[0]+1?a(l.first.cols*this._itemSize[1],(l.first.rows+1)*this._itemSize[0]):l.last.cols-I.cols<=e[1]+1&&a((l.first.cols+1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.last-I<=e+1){let N=(l.first+1)*this._itemSize;this.horizontal?a(N,0):a(0,N)}}}else this.scrollToIndex(e,C)}getRenderedRange(){let e=(I,l)=>l||I?Math.floor(I/(l||I)):0,g=this.first,C=0;if(this.elementViewChild?.nativeElement){let{scrollTop:I,scrollLeft:l}=this.elementViewChild.nativeElement;if(this.both)g={rows:e(I,this._itemSize[0]),cols:e(l,this._itemSize[1])},C={rows:g.rows+this.numItemsInViewport.rows,cols:g.cols+this.numItemsInViewport.cols};else{let a=this.horizontal?l:I;g=e(a,this._itemSize),C=g+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:g,last:C}}}calculateNumItems(){let e=this.getContentPosition(),g=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-e.left:0)||0,C=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-e.top:0)||0,I=(u,N)=>N||u?Math.ceil(u/(N||u)):0,l=u=>Math.ceil(u/2),a=this.both?{rows:I(C,this._itemSize[0]),cols:I(g,this._itemSize[1])}:I(this.horizontal?g:C,this._itemSize),_=this.d_numToleratedItems||(this.both?[l(a.rows),l(a.cols)]:l(a));return{numItemsInViewport:a,numToleratedItems:_}}calculateOptions(){let{numItemsInViewport:e,numToleratedItems:g}=this.calculateNumItems(),C=(a,_,u,N=!1)=>this.getLast(a+_+(a<u?2:3)*u,N),I=this.first,l=this.both?{rows:C(this.first.rows,e.rows,g[0]),cols:C(this.first.cols,e.cols,g[1],!0)}:C(this.first,e,g);this.last=l,this.numItemsInViewport=e,this.d_numToleratedItems=g,this.showLoader&&(this.loaderArr=this.both?Array.from({length:e.rows}).map(()=>Array.from({length:e.cols})):Array.from({length:e})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:I.cols}:0:I,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";let[e,g]=[h.getWidth(this.contentEl),h.getHeight(this.contentEl)];e!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),g!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");let[C,I]=[h.getWidth(this.elementViewChild.nativeElement),h.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=C<this.defaultWidth?C+"px":this._scrollWidth||this.defaultWidth+"px"),(this.both||this.vertical)&&(this.elementViewChild.nativeElement.style.height=I<this.defaultHeight?I+"px":this._scrollHeight||this.defaultHeight+"px"),this.contentEl.style.minHeight=this.contentEl.style.minWidth="",this.contentEl.style.position="",this.elementViewChild.nativeElement.style.contain=""}})}getLast(e=0,g=!1){return this._items?Math.min(g?(this._columns||this._items[0]).length:this._items.length,e):0}getContentPosition(){if(this.contentEl){let e=getComputedStyle(this.contentEl),g=parseFloat(e.paddingLeft)+Math.max(parseFloat(e.left)||0,0),C=parseFloat(e.paddingRight)+Math.max(parseFloat(e.right)||0,0),I=parseFloat(e.paddingTop)+Math.max(parseFloat(e.top)||0,0),l=parseFloat(e.paddingBottom)+Math.max(parseFloat(e.bottom)||0,0);return{left:g,right:C,top:I,bottom:l,x:g+C,y:I+l}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}}setSize(){if(this.elementViewChild?.nativeElement){let e=this.elementViewChild.nativeElement.parentElement.parentElement,g=this._scrollWidth||`${this.elementViewChild.nativeElement.offsetWidth||e.offsetWidth}px`,C=this._scrollHeight||`${this.elementViewChild.nativeElement.offsetHeight||e.offsetHeight}px`,I=(l,a)=>this.elementViewChild.nativeElement.style[l]=a;this.both||this.horizontal?(I("height",C),I("width",g)):I("height",C)}}setSpacerSize(){if(this._items){let e=this.getContentPosition(),g=(C,I,l,a=0)=>this.spacerStyle=Qe(K({},this.spacerStyle),{[`${C}`]:(I||[]).length*l+a+"px"});this.both?(g("height",this._items,this._itemSize[0],e.y),g("width",this._columns||this._items[1],this._itemSize[1],e.x)):this.horizontal?g("width",this._columns||this._items,this._itemSize,e.x):g("height",this._items,this._itemSize,e.y)}}setContentPosition(e){if(this.contentEl&&!this._appendOnly){let g=e?e.first:this.first,C=(l,a)=>l*a,I=(l=0,a=0)=>this.contentStyle=Qe(K({},this.contentStyle),{transform:`translate3d(${l}px, ${a}px, 0)`});if(this.both)I(C(g.cols,this._itemSize[1]),C(g.rows,this._itemSize[0]));else{let l=C(g,this._itemSize);this.horizontal?I(l,0):I(0,l)}}}onScrollPositionChange(e){let g=e.target,C=this.getContentPosition(),I=(x,S)=>x?x>S?x-S:x:0,l=(x,S)=>S||x?Math.floor(x/(S||x)):0,a=(x,S,z,G,q,de)=>x<=q?q:de?z-G-q:S+q-1,_=(x,S,z,G,q,de,Ve)=>x<=de?0:Math.max(0,Ve?x<S?z:x-de:x>S?z:x-2*de),u=(x,S,z,G,q,de=!1)=>{let Ve=S+G+2*q;return x>=q&&(Ve+=q+1),this.getLast(Ve,de)},N=I(g.scrollTop,C.top),B=I(g.scrollLeft,C.left),P=this.both?{rows:0,cols:0}:0,j=this.last,U=!1,ce=this.lastScrollPos;if(this.both){let x=this.lastScrollPos.top<=N,S=this.lastScrollPos.left<=B;if(!this._appendOnly||this._appendOnly&&(x||S)){let z={rows:l(N,this._itemSize[0]),cols:l(B,this._itemSize[1])},G={rows:a(z.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],x),cols:a(z.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],S)};P={rows:_(z.rows,G.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],x),cols:_(z.cols,G.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],S)},j={rows:u(z.rows,P.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:u(z.cols,P.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},U=P.rows!==this.first.rows||j.rows!==this.last.rows||P.cols!==this.first.cols||j.cols!==this.last.cols||this.isRangeChanged,ce={top:N,left:B}}}else{let x=this.horizontal?B:N,S=this.lastScrollPos<=x;if(!this._appendOnly||this._appendOnly&&S){let z=l(x,this._itemSize),G=a(z,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,S);P=_(z,G,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,S),j=u(z,P,this.last,this.numItemsInViewport,this.d_numToleratedItems),U=P!==this.first||j!==this.last||this.isRangeChanged,ce=x}}return{first:P,last:j,isRangeChanged:U,scrollPos:ce}}onScrollChange(e){let{first:g,last:C,isRangeChanged:I,scrollPos:l}=this.onScrollPositionChange(e);if(I){let a={first:g,last:C};if(this.setContentPosition(a),this.first=g,this.last=C,this.lastScrollPos=l,this.handleEvents("onScrollIndexChange",a),this._lazy&&this.isPageChanged(g)){let _={first:this._step?Math.min(this.getPageByFirst(g)*this._step,this.items.length-this._step):g,last:Math.min(this._step?(this.getPageByFirst(g)+1)*this._step:C,this.items.length)};(this.lazyLoadState.first!==_.first||this.lazyLoadState.last!==_.last)&&this.handleEvents("onLazyLoad",_),this.lazyLoadState=_}}}onContainerScroll(e){if(this.handleEvents("onScroll",{originalEvent:e}),this._delay&&this.isPageChanged()){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){let{isRangeChanged:g}=this.onScrollPositionChange(e);(g||(this._step?this.isPageChanged():!1))&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(e),this.d_loading&&this.showLoader&&(!this._lazy||this._loading===void 0)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(e)}bindResizeListener(){Ee(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{let e=this.document.defaultView,g=h.isTouchDevice()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(e,g,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(h.isVisible(this.elementViewChild?.nativeElement)){let[e,g]=[h.getWidth(this.elementViewChild?.nativeElement),h.getHeight(this.elementViewChild?.nativeElement)],[C,I]=[e!==this.defaultWidth,g!==this.defaultHeight];(this.both?C||I:this.horizontal?C:this.vertical?I:!1)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=e,this.defaultHeight=g,this.defaultContentWidth=h.getWidth(this.contentEl),this.defaultContentHeight=h.getHeight(this.contentEl),this.init(),this.calculateAutoSize()})}},this._resizeDelay)}handleEvents(e,g){return this.options&&this.options[e]?this.options[e](g):this[e].emit(g)}getContentOptions(){return{contentStyleClass:`p-scroller-content ${this.d_loading?"p-scroller-loading":""}`,items:this.loadedItems,getItemOptions:e=>this.getOptions(e),loading:this.d_loading,getLoaderOptions:(e,g)=>this.getLoaderOptions(e,g),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(e){let g=(this._items||[]).length,C=this.both?this.first.rows+e:this.first+e;return{index:C,count:g,first:C===0,last:C===g-1,even:C%2===0,odd:C%2!==0}}getLoaderOptions(e,g){let C=this.loaderArr.length;return K({index:e,count:C,first:e===0,last:e===C-1,even:e%2===0,odd:e%2!==0},g)}static \u0275fac=function(g){return new(g||t)(E(Pe),E(De),E(Me),E(ae),E(ke))};static \u0275cmp=R({type:t,selectors:[["p-scroller"]],contentQueries:function(g,C,I){if(g&1&&ne(I,Z,4),g&2){let l;M(l=k())&&(C.templates=l)}},viewQuery:function(g,C){if(g&1&&(F(Zt,5),F(Wt,5)),g&2){let I;M(I=k())&&(C.elementViewChild=I.first),M(I=k())&&(C.contentViewChild=I.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[Oe],ngContentSelectors:Gt,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","ngClass"],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"styleClass"],[4,"ngIf"]],template:function(g,C){if(g&1&&(Le(),r(0,pg,8,16,"ng-container",6)(1,mg,2,1,"ng-template",null,0,re)),g&2){let I=oe(2);i("ngIf",!C._disabled)("ngIfElse",I)}},dependencies:()=>[J,he,$,te,ee,_e],styles:[`@layer primeng{p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{scale:2}.p-scroller-inline .p-scroller-content{position:static}}
|
|
3
|
+
`],encapsulation:2})}return t})(),Ct=(()=>{class t{static \u0275fac=function(g){return new(g||t)};static \u0275mod=Ce({type:t});static \u0275inj=ge({imports:[Y,W,_e,W]})}return t})();var It=(()=>{class t extends se{static \u0275fac=(()=>{let e;return function(C){return(e||(e=Ae(t)))(C||t)}})();static \u0275cmp=R({type:t,selectors:[["CheckIcon"]],standalone:!0,features:[ie,le],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(g,C){g&1&&(Ie(),s(0,"svg",0),m(1,"path",1),c()),g&2&&(O(C.getClassNames()),y("aria-label",C.ariaLabel)("aria-hidden",C.ariaHidden)("role",C.role))},encapsulation:2})}return t})();var At=(()=>{class t extends se{static \u0275fac=(()=>{let e;return function(C){return(e||(e=Ae(t)))(C||t)}})();static \u0275cmp=R({type:t,selectors:[["MinusIcon"]],standalone:!0,features:[ie,le],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z","fill","currentColor"]],template:function(g,C){g&1&&(Ie(),s(0,"svg",0),m(1,"path",1),c()),g&2&&(O(C.getClassNames()),y("aria-label",C.ariaLabel)("aria-hidden",C.ariaHidden)("role",C.role))},dependencies:[Y],encapsulation:2})}return t})();var it=(()=>{class t extends se{pathId;ngOnInit(){this.pathId="url(#"+xe()+")"}static \u0275fac=(()=>{let e;return function(C){return(e||(e=Ae(t)))(C||t)}})();static \u0275cmp=R({type:t,selectors:[["PlusIcon"]],standalone:!0,features:[ie,le],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(g,C){g&1&&(Ie(),s(0,"svg",0)(1,"g"),m(2,"path",1),c(),s(3,"defs")(4,"clipPath",2),m(5,"rect",3),c()()()),g&2&&(O(C.getClassNames()),y("aria-label",C.ariaLabel)("aria-hidden",C.ariaHidden)("role",C.role),n(),y("clip-path",C.pathId),n(3),i("id",C.pathId))},encapsulation:2})}return t})();var bt=t=>({"p-treenode-droppoint-active":t}),fg=(t,A)=>["p-treenode",t,A],Nt=t=>({height:t}),yg=t=>({"padding-left":t}),vg=(t,A,e)=>({"p-treenode-selectable":t,"p-treenode-dragover":A,"p-highlight":e}),je=t=>({$implicit:t}),xg=(t,A)=>({"p-checkbox-disabled p-disabled":t,"p-variant-filled":A}),Tg=(t,A)=>({"p-highlight":t,"p-indeterminate":A}),Sg=(t,A)=>({$implicit:t,partialSelected:A}),Et=t=>({display:t}),wg=t=>({"p-treenode-collapsed":t}),bg=(t,A)=>({"p-treenode-selectable":t,"p-highlight":A}),wt=t=>({"p-treenode-connector-line":t});function Ng(t,A){if(t&1){let e=L();s(0,"li",4),T("drop",function(C){d(e);let I=o(2);return p(I.onDropPoint(C,-1))})("dragover",function(C){d(e);let I=o(2);return p(I.onDropPointDragOver(C))})("dragenter",function(C){d(e);let I=o(2);return p(I.onDropPointDragEnter(C,-1))})("dragleave",function(C){d(e);let I=o(2);return p(I.onDropPointDragLeave(C))}),c()}if(t&2){let e=o(2);i("ngClass",v(2,bt,e.draghoverPrev)),y("aria-hidden",!0)}}function Eg(t,A){t&1&&m(0,"ChevronRightIcon",14),t&2&&i("styleClass","p-tree-toggler-icon")}function Vg(t,A){t&1&&m(0,"ChevronDownIcon",14),t&2&&i("styleClass","p-tree-toggler-icon")}function Og(t,A){if(t&1&&(w(0),r(1,Eg,1,1,"ChevronRightIcon",13)(2,Vg,1,1,"ChevronDownIcon",13),b()),t&2){let e=o(4);n(),i("ngIf",!e.node.expanded),n(),i("ngIf",e.node.expanded)}}function Dg(t,A){t&1&&(w(0),m(1,"SpinnerIcon",15),b()),t&2&&(n(),i("spin",!0)("styleClass","p-tree-node-toggler-icon"))}function Mg(t,A){if(t&1&&(w(0),r(1,Og,3,2,"ng-container",8)(2,Dg,2,2,"ng-container",8),b()),t&2){let e=o(3);n(),i("ngIf",!e.node.loading),n(),i("ngIf",e.loadingMode==="icon"&&e.node.loading)}}function kg(t,A){}function zg(t,A){t&1&&r(0,kg,0,0,"ng-template")}function Lg(t,A){if(t&1&&(s(0,"span",16),r(1,zg,1,0,null,17),c()),t&2){let e=o(3);n(),i("ngTemplateOutlet",e.tree.togglerIconTemplate)("ngTemplateOutletContext",v(2,je,e.node.expanded))}}function Fg(t,A){t&1&&m(0,"CheckIcon",14),t&2&&i("styleClass","p-checkbox-icon")}function Rg(t,A){t&1&&m(0,"MinusIcon",14),t&2&&i("styleClass","p-checkbox-icon")}function Pg(t,A){if(t&1&&(w(0),r(1,Fg,1,1,"CheckIcon",13)(2,Rg,1,1,"MinusIcon",13),b()),t&2){let e=o(4);n(),i("ngIf",!e.node.partialSelected&&e.isSelected()),n(),i("ngIf",e.node.partialSelected)}}function Hg(t,A){}function Ug(t,A){t&1&&r(0,Hg,0,0,"ng-template")}function Kg(t,A){if(t&1&&(s(0,"div",18)(1,"div",19),r(2,Pg,3,2,"ng-container",8)(3,Ug,1,0,null,17),c()()),t&2){let e=o(3);i("ngClass",H(5,xg,e.node.selectable===!1,(e.tree==null?null:e.tree.config.inputStyle())==="filled")),n(),i("ngClass",H(8,Tg,e.isSelected(),e.node.partialSelected)),n(),i("ngIf",!e.tree.checkboxIconTemplate),n(),i("ngTemplateOutlet",e.tree.checkboxIconTemplate)("ngTemplateOutletContext",H(11,Sg,e.isSelected(),e.node.partialSelected))}}function Bg(t,A){if(t&1&&m(0,"span"),t&2){let e=o(3);O(e.getIcon())}}function jg(t,A){if(t&1&&(s(0,"span"),X(1),c()),t&2){let e=o(3);n(),ye(e.node.label)}}function Qg(t,A){t&1&&V(0)}function Zg(t,A){if(t&1&&(s(0,"span"),r(1,Qg,1,0,"ng-container",17),c()),t&2){let e=o(3);n(),i("ngTemplateOutlet",e.tree.getTemplateForNode(e.node))("ngTemplateOutletContext",v(2,je,e.node))}}function Wg(t,A){if(t&1&&m(0,"p-treeNode",22),t&2){let e=A.$implicit,g=A.first,C=A.last,I=A.index,l=o(4);i("node",e)("parentNode",l.node)("firstChild",g)("lastChild",C)("index",I)("itemSize",l.itemSize)("level",l.level+1)}}function Gg(t,A){if(t&1&&(s(0,"ul",20),r(1,Wg,1,7,"p-treeNode",21),c()),t&2){let e=o(3);i("ngStyle",v(3,Et,e.node.expanded?"block":"none")),n(),i("ngForOf",e.node.children)("ngForTrackBy",e.tree.trackBy)}}function Yg(t,A){if(t&1){let e=L();s(0,"li",5),T("keydown",function(C){d(e);let I=o(2);return p(I.onKeyDown(C))}),s(1,"div",6),T("click",function(C){d(e);let I=o(2);return p(I.onNodeClick(C))})("contextmenu",function(C){d(e);let I=o(2);return p(I.onNodeRightClick(C))})("touchend",function(){d(e);let C=o(2);return p(C.onNodeTouchEnd())})("drop",function(C){d(e);let I=o(2);return p(I.onDropNode(C))})("dragover",function(C){d(e);let I=o(2);return p(I.onDropNodeDragOver(C))})("dragenter",function(C){d(e);let I=o(2);return p(I.onDropNodeDragEnter(C))})("dragleave",function(C){d(e);let I=o(2);return p(I.onDropNodeDragLeave(C))})("dragstart",function(C){d(e);let I=o(2);return p(I.onDragStart(C))})("dragend",function(C){d(e);let I=o(2);return p(I.onDragStop(C))}),s(2,"button",7),T("click",function(C){d(e);let I=o(2);return p(I.toggle(C))}),r(3,Mg,3,2,"ng-container",8)(4,Lg,2,4,"span",9),c(),r(5,Kg,4,14,"div",10)(6,Bg,1,2,"span",3),s(7,"span",11),r(8,jg,2,1,"span",8)(9,Zg,2,4,"span",8),c()(),r(10,Gg,2,5,"ul",12),c()}if(t&2){let e=o(2);ze(e.node.style),i("ngClass",H(24,fg,e.node.styleClass||"",e.isLeaf()?"p-treenode-leaf":""))("ngStyle",v(27,Nt,e.itemSize+"px")),y("aria-label",e.node.label)("aria-checked",e.ariaChecked)("aria-setsize",e.node.children?e.node.children.length:0)("aria-selected",e.ariaSelected)("aria-expanded",e.node.expanded)("aria-posinset",e.index+1)("aria-level",e.level+1)("tabindex",e.index===0?0:-1)("data-id",e.node.key),n(),i("ngStyle",v(29,yg,e.level*e.indentation+"rem"))("draggable",e.tree.draggableNodes)("ngClass",ve(31,vg,e.tree.selectionMode&&e.node.selectable!==!1,e.draghoverNode,e.isSelected())),n(),y("data-pc-section","toggler"),n(),i("ngIf",!e.tree.togglerIconTemplate),n(),i("ngIf",e.tree.togglerIconTemplate),n(),i("ngIf",e.tree.selectionMode=="checkbox"),n(),i("ngIf",e.node.icon||e.node.expandedIcon||e.node.collapsedIcon),n(2),i("ngIf",!e.tree.getTemplateForNode(e.node)),n(),i("ngIf",e.tree.getTemplateForNode(e.node)),n(),i("ngIf",!e.tree.virtualScroll&&e.node.children&&e.node.expanded)}}function qg(t,A){if(t&1){let e=L();s(0,"li",4),T("drop",function(C){d(e);let I=o(2);return p(I.onDropPoint(C,1))})("dragover",function(C){d(e);let I=o(2);return p(I.onDropPointDragOver(C))})("dragenter",function(C){d(e);let I=o(2);return p(I.onDropPointDragEnter(C,1))})("dragleave",function(C){d(e);let I=o(2);return p(I.onDropPointDragLeave(C))}),c()}if(t&2){let e=o(2);i("ngClass",v(2,bt,e.draghoverNext)),y("aria-hidden",!0)}}function Xg(t,A){if(t&1&&(s(0,"td",28)(1,"table",29)(2,"tbody")(3,"tr"),m(4,"td",30),c(),s(5,"tr"),m(6,"td",30),c()()()()),t&2){let e=o(3);n(4),i("ngClass",v(2,wt,!e.firstChild)),n(2),i("ngClass",v(4,wt,!e.lastChild))}}function Jg(t,A){if(t&1&&m(0,"PlusIcon",33),t&2){let e=o(5);i("styleClass","p-tree-toggler-icon")("ariaLabel",e.tree.togglerAriaLabel)}}function $g(t,A){if(t&1&&m(0,"MinusIcon",33),t&2){let e=o(5);i("styleClass","p-tree-toggler-icon")("ariaLabel",e.tree.togglerAriaLabel)}}function eC(t,A){if(t&1&&(w(0),r(1,Jg,1,2,"PlusIcon",32)(2,$g,1,2,"MinusIcon",32),b()),t&2){let e=o(4);n(),i("ngIf",!e.node.expanded),n(),i("ngIf",e.node.expanded)}}function tC(t,A){}function gC(t,A){t&1&&r(0,tC,0,0,"ng-template")}function CC(t,A){if(t&1&&(s(0,"span",16),r(1,gC,1,0,null,17),c()),t&2){let e=o(4);n(),i("ngTemplateOutlet",e.tree.togglerIconTemplate)("ngTemplateOutletContext",v(2,je,e.node.expanded))}}function IC(t,A){if(t&1){let e=L();s(0,"span",31),T("click",function(C){d(e);let I=o(3);return p(I.toggle(C))}),r(1,eC,3,2,"ng-container",8)(2,CC,2,4,"span",9),c()}if(t&2){let e=o(3);i("ngClass","p-tree-toggler"),n(),i("ngIf",!e.tree.togglerIconTemplate),n(),i("ngIf",e.tree.togglerIconTemplate)}}function AC(t,A){if(t&1&&m(0,"span"),t&2){let e=o(3);O(e.getIcon())}}function iC(t,A){if(t&1&&(s(0,"span"),X(1),c()),t&2){let e=o(3);n(),ye(e.node.label)}}function nC(t,A){t&1&&V(0)}function oC(t,A){if(t&1&&(s(0,"span"),r(1,nC,1,0,"ng-container",17),c()),t&2){let e=o(3);n(),i("ngTemplateOutlet",e.tree.getTemplateForNode(e.node))("ngTemplateOutletContext",v(2,je,e.node))}}function lC(t,A){if(t&1&&m(0,"p-treeNode",37),t&2){let e=A.$implicit,g=A.first,C=A.last;i("node",e)("firstChild",g)("lastChild",C)}}function rC(t,A){if(t&1&&(s(0,"td",34)(1,"div",35),r(2,lC,1,3,"p-treeNode",36),c()()),t&2){let e=o(3);i("ngStyle",v(3,Et,e.node.expanded?"table-cell":"none")),n(2),i("ngForOf",e.node.children)("ngForTrackBy",e.tree.trackBy)}}function aC(t,A){if(t&1){let e=L();s(0,"table")(1,"tbody")(2,"tr"),r(3,Xg,7,6,"td",23),s(4,"td",24)(5,"div",25),T("click",function(C){d(e);let I=o(2);return p(I.onNodeClick(C))})("contextmenu",function(C){d(e);let I=o(2);return p(I.onNodeRightClick(C))})("touchend",function(){d(e);let C=o(2);return p(C.onNodeTouchEnd())})("keydown",function(C){d(e);let I=o(2);return p(I.onNodeKeydown(C))}),r(6,IC,3,3,"span",26)(7,AC,1,2,"span",3),s(8,"span",11),r(9,iC,2,1,"span",8)(10,oC,2,4,"span",8),c()()(),r(11,rC,3,5,"td",27),c()()()}if(t&2){let e=o(2);O(e.node.styleClass),n(3),i("ngIf",!e.root),n(),i("ngClass",v(10,wg,!e.node.expanded)),n(),i("ngClass",H(12,bg,e.tree.selectionMode,e.isSelected())),n(),i("ngIf",!e.isLeaf()),n(),i("ngIf",e.node.icon||e.node.expandedIcon||e.node.collapsedIcon),n(2),i("ngIf",!e.tree.getTemplateForNode(e.node)),n(),i("ngIf",e.tree.getTemplateForNode(e.node)),n(),i("ngIf",e.node.children&&e.node.expanded)}}function sC(t,A){if(t&1&&r(0,Ng,1,4,"li",1)(1,Yg,11,35,"li",2)(2,qg,1,4,"li",1)(3,aC,12,15,"table",3),t&2){let e=o();i("ngIf",e.tree.droppableNodes),n(),i("ngIf",!e.tree.horizontal),n(),i("ngIf",e.tree.droppableNodes&&e.lastChild),n(),i("ngIf",e.tree.horizontal)}}var cC=["filter"],dC=["scroller"],pC=["wrapper"],hC=(t,A,e,g)=>({"p-tree p-component":!0,"p-tree-selectable":t,"p-treenode-dragover":A,"p-tree-loading":e,"p-tree-flex-scrollable":g}),_C=t=>({options:t}),mC=t=>({"max-height":t}),uC=t=>({"p-tree p-tree-horizontal p-component":!0,"p-tree-selectable":t});function fC(t,A){if(t&1&&m(0,"i"),t&2){let e=o(3);O("p-tree-loading-icon pi-spin "+e.loadingIcon)}}function yC(t,A){t&1&&m(0,"SpinnerIcon",17),t&2&&i("spin",!0)("styleClass","p-tree-loading-icon")}function vC(t,A){}function xC(t,A){t&1&&r(0,vC,0,0,"ng-template")}function TC(t,A){if(t&1&&(s(0,"span",18),r(1,xC,1,0,null,9),c()),t&2){let e=o(4);n(),i("ngTemplateOutlet",e.loadingIconTemplate)}}function SC(t,A){if(t&1&&(w(0),r(1,yC,1,2,"SpinnerIcon",15)(2,TC,2,1,"span",16),b()),t&2){let e=o(3);n(),i("ngIf",!e.loadingIconTemplate),n(),i("ngIf",e.loadingIconTemplate)}}function wC(t,A){if(t&1&&(s(0,"div",13),r(1,fC,1,2,"i",14)(2,SC,3,2,"ng-container",11),c()),t&2){let e=o(2);n(),i("ngIf",e.loadingIcon),n(),i("ngIf",!e.loadingIcon)}}function bC(t,A){t&1&&V(0)}function NC(t,A){t&1&&m(0,"SearchIcon",23),t&2&&i("styleClass","p-tree-filter-icon")}function EC(t,A){}function VC(t,A){t&1&&r(0,EC,0,0,"ng-template")}function OC(t,A){if(t&1&&(s(0,"span",24),r(1,VC,1,0,null,9),c()),t&2){let e=o(3);n(),i("ngTemplateOutlet",e.filterIconTemplate)}}function DC(t,A){if(t&1){let e=L();s(0,"div",19)(1,"input",20,0),T("keydown.enter",function(C){return d(e),p(C.preventDefault())})("input",function(C){d(e);let I=o(2);return p(I._filter(C.target.value))}),c(),r(3,NC,1,1,"SearchIcon",21)(4,OC,2,1,"span",22),c()}if(t&2){let e=o(2);n(),y("placeholder",e.filterPlaceholder),n(2),i("ngIf",!e.filterIconTemplate),n(),i("ngIf",e.filterIconTemplate)}}function MC(t,A){if(t&1&&m(0,"p-treeNode",31,2),t&2){let e=A.$implicit,g=A.first,C=A.last,I=A.index,l=o(2).options,a=o(4);i("level",e.level)("rowNode",e)("node",e.node)("parentNode",e.parent)("firstChild",g)("lastChild",C)("index",a.getIndex(l,I))("itemSize",l.itemSize)("indentation",a.indentation)("loadingMode",a.loadingMode)}}function kC(t,A){if(t&1&&(s(0,"ul",29),r(1,MC,2,10,"p-treeNode",30),c()),t&2){let e=o(),g=e.$implicit,C=e.options,I=o(4);ze(C.contentStyle),i("ngClass",C.contentStyleClass),y("aria-label",I.ariaLabel)("aria-labelledby",I.ariaLabelledBy),n(),i("ngForOf",g)("ngForTrackBy",I.trackBy)}}function zC(t,A){if(t&1&&r(0,kC,2,7,"ul",28),t&2){let e=A.$implicit;i("ngIf",e)}}function LC(t,A){t&1&&V(0)}function FC(t,A){if(t&1&&r(0,LC,1,0,"ng-container",33),t&2){let e=A.options,g=o(5);i("ngTemplateOutlet",g.loaderTemplate)("ngTemplateOutletContext",v(2,_C,e))}}function RC(t,A){t&1&&(w(0),r(1,FC,1,4,"ng-template",32),b())}function PC(t,A){if(t&1){let e=L();s(0,"p-scroller",26,1),T("onScroll",function(C){d(e);let I=o(3);return p(I.onScroll.emit(C))})("onScrollIndexChange",function(C){d(e);let I=o(3);return p(I.onScrollIndexChange.emit(C))})("onLazyLoad",function(C){d(e);let I=o(3);return p(I.onLazyLoad.emit(C))}),r(2,zC,1,1,"ng-template",27)(3,RC,2,0,"ng-container",11),c()}if(t&2){let e=o(3);ze(v(9,Nt,e.scrollHeight!=="flex"?e.scrollHeight:void 0)),i("items",e.serializedValue)("tabindex",-1)("scrollHeight",e.scrollHeight!=="flex"?void 0:"100%")("itemSize",e.virtualScrollItemSize||e._virtualNodeHeight)("lazy",e.lazy)("options",e.virtualScrollOptions),n(3),i("ngIf",e.loaderTemplate)}}function HC(t,A){if(t&1&&m(0,"p-treeNode",38),t&2){let e=A.$implicit,g=A.first,C=A.last,I=A.index,l=o(5);i("node",e)("firstChild",g)("lastChild",C)("index",I)("level",0)("loadingMode",l.loadingMode)}}function UC(t,A){if(t&1&&(s(0,"ul",36),r(1,HC,1,6,"p-treeNode",37),c()),t&2){let e=o(4);y("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy),n(),i("ngForOf",e.getRootNode())("ngForTrackBy",e.trackBy)}}function KC(t,A){if(t&1&&(w(0),s(1,"div",34,3),r(3,UC,2,4,"ul",35),c(),b()),t&2){let e=o(3);n(),i("ngStyle",v(2,mC,e.scrollHeight)),n(2),i("ngIf",e.getRootNode())}}function BC(t,A){if(t&1&&(w(0),r(1,PC,4,11,"p-scroller",25)(2,KC,4,4,"ng-container",11),b()),t&2){let e=o(2);n(),i("ngIf",e.virtualScroll),n(),i("ngIf",!e.virtualScroll)}}function jC(t,A){if(t&1&&(w(0),X(1),b()),t&2){let e=o(3);n(),Ne(" ",e.emptyMessageLabel," ")}}function QC(t,A){t&1&&V(0,null,4)}function ZC(t,A){if(t&1&&(s(0,"div",39),r(1,jC,2,1,"ng-container",40)(2,QC,2,0,"ng-container",9),c()),t&2){let e=o(2);n(),i("ngIf",!e.emptyMessageTemplate)("ngIfElse",e.emptyFilter),n(),i("ngTemplateOutlet",e.emptyMessageTemplate)}}function WC(t,A){t&1&&V(0)}function GC(t,A){if(t&1){let e=L();s(0,"div",7),T("drop",function(C){d(e);let I=o();return p(I.onDrop(C))})("dragover",function(C){d(e);let I=o();return p(I.onDragOver(C))})("dragenter",function(){d(e);let C=o();return p(C.onDragEnter())})("dragleave",function(C){d(e);let I=o();return p(I.onDragLeave(C))}),r(1,wC,3,2,"div",8)(2,bC,1,0,"ng-container",9)(3,DC,5,3,"div",10)(4,BC,3,2,"ng-container",11)(5,ZC,3,3,"div",12)(6,WC,1,0,"ng-container",9),c()}if(t&2){let e,g=o();O(g.styleClass),i("ngClass",dt(10,hC,g.selectionMode,g.dragHover,g.loading,g.scrollHeight==="flex"))("ngStyle",g.style),n(),i("ngIf",g.loading&&g.loadingMode==="mask"),n(),i("ngTemplateOutlet",g.headerTemplate),n(),i("ngIf",g.filter),n(),i("ngIf",(e=g.getRootNode())==null?null:e.length),n(),i("ngIf",!g.loading&&(g.getRootNode()==null||g.getRootNode().length===0)),n(),i("ngTemplateOutlet",g.footerTemplate)}}function YC(t,A){t&1&&V(0)}function qC(t,A){if(t&1&&m(0,"i"),t&2){let e=o(3);O("p-tree-loading-icon pi-spin "+e.loadingIcon)}}function XC(t,A){t&1&&m(0,"SpinnerIcon",17),t&2&&i("spin",!0)("styleClass","p-tree-loading-icon")}function JC(t,A){}function $C(t,A){t&1&&r(0,JC,0,0,"ng-template")}function eI(t,A){if(t&1&&(s(0,"span",18),r(1,$C,1,0,null,9),c()),t&2){let e=o(4);n(),i("ngTemplateOutlet",e.loadingIconTemplate)}}function tI(t,A){if(t&1&&(w(0),r(1,XC,1,2,"SpinnerIcon",15)(2,eI,2,1,"span",16),b()),t&2){let e=o(3);n(),i("ngIf",!e.loadingIconTemplate),n(),i("ngIf",e.loadingIconTemplate)}}function gI(t,A){if(t&1&&(s(0,"div",43),r(1,qC,1,2,"i",14)(2,tI,3,2,"ng-container",11),c()),t&2){let e=o(2);n(),i("ngIf",e.loadingIcon),n(),i("ngIf",!e.loadingIcon)}}function CI(t,A){if(t&1&&(s(0,"table"),m(1,"p-treeNode",44),c()),t&2){let e=o(2);n(),i("node",e.value[0])("root",!0)}}function II(t,A){if(t&1&&(w(0),X(1),b()),t&2){let e=o(3);n(),Ne(" ",e.emptyMessageLabel," ")}}function AI(t,A){t&1&&V(0,null,4)}function iI(t,A){if(t&1&&(s(0,"div",39),r(1,II,2,1,"ng-container",40)(2,AI,2,0,"ng-container",9),c()),t&2){let e=o(2);n(),i("ngIf",!e.emptyMessageTemplate)("ngIfElse",e.emptyFilter),n(),i("ngTemplateOutlet",e.emptyMessageTemplate)}}function nI(t,A){t&1&&V(0)}function oI(t,A){if(t&1&&(s(0,"div",41),r(1,YC,1,0,"ng-container",9)(2,gI,3,2,"div",42)(3,CI,2,2,"table",11)(4,iI,3,3,"div",12)(5,nI,1,0,"ng-container",9),c()),t&2){let e=o();O(e.styleClass),i("ngClass",v(9,uC,e.selectionMode))("ngStyle",e.style),n(),i("ngTemplateOutlet",e.headerTemplate),n(),i("ngIf",e.loading),n(),i("ngIf",e.value&&e.value[0]),n(),i("ngIf",!e.loading&&(e.getRootNode()==null||e.getRootNode().length===0)),n(),i("ngTemplateOutlet",e.footerTemplate)}}var lI=(()=>{class t{static ICON_CLASS="p-treenode-icon ";rowNode;node;parentNode;root;index;firstChild;lastChild;level;indentation;itemSize;loadingMode;tree;timeout;draghoverPrev;draghoverNext;draghoverNode;get ariaSelected(){return this.tree.selectionMode==="single"||this.tree.selectionMode==="multiple"?this.isSelected():void 0}get ariaChecked(){return this.tree.selectionMode==="checkbox"?this.isSelected():void 0}constructor(e){this.tree=e}ngOnInit(){this.node.parent=this.parentNode,this.parentNode&&(this.setAllNodesTabIndexes(),this.tree.syncNodeOption(this.node,this.tree.value,"parent",this.tree.getNodeWithKey(this.parentNode.key,this.tree.value)))}getIcon(){let e;return this.node.icon?e=this.node.icon:e=this.node.expanded&&this.node.children&&this.node.children?.length?this.node.expandedIcon:this.node.collapsedIcon,t.ICON_CLASS+" "+e}isLeaf(){return this.tree.isNodeLeaf(this.node)}toggle(e){this.node.expanded?this.collapse(e):this.expand(e),e.stopPropagation()}expand(e){this.node.expanded=!0,this.tree.virtualScroll&&(this.tree.updateSerializedValue(),this.focusVirtualNode()),this.tree.onNodeExpand.emit({originalEvent:e,node:this.node})}collapse(e){this.node.expanded=!1,this.tree.virtualScroll&&(this.tree.updateSerializedValue(),this.focusVirtualNode()),this.tree.onNodeCollapse.emit({originalEvent:e,node:this.node})}onNodeClick(e){this.tree.onNodeClick(e,this.node)}onNodeKeydown(e){e.key==="Enter"&&this.tree.onNodeClick(e,this.node)}onNodeTouchEnd(){this.tree.onNodeTouchEnd()}onNodeRightClick(e){this.tree.onNodeRightClick(e,this.node)}isSelected(){return this.tree.isSelected(this.node)}isSameNode(e){return e.currentTarget&&(e.currentTarget.isSameNode(e.target)||e.currentTarget.isSameNode(e.target.closest('[role="treeitem"]')))}onDropPoint(e,g){e.preventDefault();let C=this.tree.dragNode,I=this.tree.dragNodeIndex,l=this.tree.dragNodeScope,a=this.tree.dragNodeTree===this.tree?g===1||I!==this.index-1:!0;if(this.tree.allowDrop(C,this.node,l)&&a){let _=K({},this.createDropPointEventMetadata(g));this.tree.validateDrop?this.tree.onNodeDrop.emit({originalEvent:e,dragNode:C,dropNode:this.node,index:this.index,accept:()=>{this.processPointDrop(_)}}):(this.processPointDrop(_),this.tree.onNodeDrop.emit({originalEvent:e,dragNode:C,dropNode:this.node,index:this.index}))}this.draghoverPrev=!1,this.draghoverNext=!1}processPointDrop(e){let g=e.dropNode.parent?e.dropNode.parent.children:this.tree.value;e.dragNodeSubNodes.splice(e.dragNodeIndex,1);let C=this.index;e.position<0?(C=e.dragNodeSubNodes===g?e.dragNodeIndex>e.index?e.index:e.index-1:e.index,g.splice(C,0,e.dragNode)):(C=g.length,g.push(e.dragNode)),this.tree.dragDropService.stopDrag({node:e.dragNode,subNodes:e.dropNode.parent?e.dropNode.parent.children:this.tree.value,index:e.dragNodeIndex})}createDropPointEventMetadata(e){return{dragNode:this.tree.dragNode,dragNodeIndex:this.tree.dragNodeIndex,dragNodeSubNodes:this.tree.dragNodeSubNodes,dropNode:this.node,index:this.index,position:e}}onDropPointDragOver(e){e.dataTransfer.dropEffect="move",e.preventDefault()}onDropPointDragEnter(e,g){this.tree.allowDrop(this.tree.dragNode,this.node,this.tree.dragNodeScope)&&(g<0?this.draghoverPrev=!0:this.draghoverNext=!0)}onDropPointDragLeave(e){this.draghoverPrev=!1,this.draghoverNext=!1}onDragStart(e){this.tree.draggableNodes&&this.node.draggable!==!1?(e.dataTransfer.setData("text","data"),this.tree.dragDropService.startDrag({tree:this,node:this.node,subNodes:this.node?.parent?this.node.parent.children:this.tree.value,index:this.index,scope:this.tree.draggableScope})):e.preventDefault()}onDragStop(e){this.tree.dragDropService.stopDrag({node:this.node,subNodes:this.node?.parent?this.node.parent.children:this.tree.value,index:this.index})}onDropNodeDragOver(e){e.dataTransfer.dropEffect="move",this.tree.droppableNodes&&(e.preventDefault(),e.stopPropagation())}onDropNode(e){if(this.tree.droppableNodes&&this.node?.droppable!==!1){let g=this.tree.dragNode;if(this.tree.allowDrop(g,this.node,this.tree.dragNodeScope)){let C=K({},this.createDropNodeEventMetadata());this.tree.validateDrop?this.tree.onNodeDrop.emit({originalEvent:e,dragNode:g,dropNode:this.node,index:this.index,accept:()=>{this.processNodeDrop(C)}}):(this.processNodeDrop(C),this.tree.onNodeDrop.emit({originalEvent:e,dragNode:g,dropNode:this.node,index:this.index}))}}e.preventDefault(),e.stopPropagation(),this.draghoverNode=!1}createDropNodeEventMetadata(){return{dragNode:this.tree.dragNode,dragNodeIndex:this.tree.dragNodeIndex,dragNodeSubNodes:this.tree.dragNodeSubNodes,dropNode:this.node}}processNodeDrop(e){let g=e.dragNodeIndex;e.dragNodeSubNodes.splice(g,1),e.dropNode.children?e.dropNode.children.push(e.dragNode):e.dropNode.children=[e.dragNode],this.tree.dragDropService.stopDrag({node:e.dragNode,subNodes:e.dropNode.parent?e.dropNode.parent.children:this.tree.value,index:g})}onDropNodeDragEnter(e){this.tree.droppableNodes&&this.node?.droppable!==!1&&this.tree.allowDrop(this.tree.dragNode,this.node,this.tree.dragNodeScope)&&(this.draghoverNode=!0)}onDropNodeDragLeave(e){if(this.tree.droppableNodes){let g=e.currentTarget.getBoundingClientRect();(e.x>g.left+g.width||e.x<g.left||e.y>=Math.floor(g.top+g.height)||e.y<g.top)&&(this.draghoverNode=!1)}}onKeyDown(e){if(!(!this.isSameNode(e)||this.tree.contextMenu&&this.tree.contextMenu.containerViewChild?.nativeElement.style.display==="block"))switch(e.code){case"ArrowDown":this.onArrowDown(e);break;case"ArrowUp":this.onArrowUp(e);break;case"ArrowRight":this.onArrowRight(e);break;case"ArrowLeft":this.onArrowLeft(e);break;case"Enter":case"NumpadEnter":this.onEnter(e);break;case"Space":let g=e.target instanceof HTMLElement&&e.target.nodeName;["INPUT"].includes(g)||this.onEnter(e);break;case"Tab":this.setAllNodesTabIndexes();break;default:break}}onArrowUp(e){let g=e.target.getAttribute("data-pc-section")==="toggler"?e.target.closest('[role="treeitem"]'):e.target.parentElement;if(g.previousElementSibling)this.focusRowChange(g,g.previousElementSibling,this.findLastVisibleDescendant(g.previousElementSibling));else{let C=this.getParentNodeElement(g);C&&this.focusRowChange(g,C)}e.preventDefault()}onArrowDown(e){let g=e.target.getAttribute("data-pc-section")==="toggler"?e.target.closest('[role="treeitem"]'):e.target,C=g.children[1];if(C&&C.children.length>0)this.focusRowChange(g,C.children[0]);else if(g.parentElement.nextElementSibling)this.focusRowChange(g,g.parentElement.nextElementSibling);else{let I=this.findNextSiblingOfAncestor(g.parentElement);I&&this.focusRowChange(g,I)}e.preventDefault()}onArrowRight(e){!this.node?.expanded&&!this.tree.isNodeLeaf(this.node)&&(this.expand(e),e.currentTarget.tabIndex=-1,setTimeout(()=>{this.onArrowDown(e)},1)),e.preventDefault()}onArrowLeft(e){let g=e.target.getAttribute("data-pc-section")==="toggler"?e.target.closest('[role="treeitem"]'):e.target;if(this.level===0&&!this.node?.expanded)return!1;if(this.node?.expanded){this.collapse(e);return}let C=this.getParentNodeElement(g.parentElement);C&&this.focusRowChange(e.currentTarget,C),e.preventDefault()}isActionableElement(e){let g=e.target;return g instanceof HTMLElement&&(g.nodeName=="A"||g.nodeName=="BUTTON")}onEnter(e){this.tree.onNodeClick(e,this.node),this.setTabIndexForSelectionMode(e,this.tree.nodeTouched),this.isActionableElement(e)||e.preventDefault()}setAllNodesTabIndexes(){let e=h.find(this.tree.el.nativeElement,".p-treenode"),g=[...e].some(C=>C.getAttribute("aria-selected")==="true"||C.getAttribute("aria-checked")==="true");if([...e].forEach(C=>{C.tabIndex=-1}),g){let C=[...e].filter(I=>I.getAttribute("aria-selected")==="true"||I.getAttribute("aria-checked")==="true");C[0].tabIndex=0;return}[...e][0].tabIndex=0}setTabIndexForSelectionMode(e,g){if(this.tree.selectionMode!==null){let C=[...h.find(this.tree.el.nativeElement,".p-treenode")];e.currentTarget.tabIndex=g===!1?-1:0,C.every(I=>I.tabIndex===-1)&&(C[0].tabIndex=0)}}findNextSiblingOfAncestor(e){let g=this.getParentNodeElement(e);return g?g.nextElementSibling?g.nextElementSibling:this.findNextSiblingOfAncestor(g):null}findLastVisibleDescendant(e){let C=Array.from(e.children).find(I=>h.hasClass(I,"p-treenode")).children[1];if(C&&C.children.length>0){let I=C.children[C.children.length-1];return this.findLastVisibleDescendant(I)}else return e}getParentNodeElement(e){let g=e.parentElement?.parentElement?.parentElement;return g?.tagName==="P-TREENODE"?g:null}focusNode(e){this.tree.droppableNodes?e.children[1].focus():e.children[0].focus()}focusRowChange(e,g,C){e.tabIndex="-1",g.children[0].tabIndex="0",this.focusNode(C||g)}focusVirtualNode(){this.timeout=setTimeout(()=>{let e=h.findSingle(document.body,`[data-id="${this.node?.key??this.node?.data}"]`);h.focus(e)},1)}static \u0275fac=function(g){return new(g||t)(E(ue(()=>nt)))};static \u0275cmp=R({type:t,selectors:[["p-treeNode"]],hostAttrs:[1,"p-element"],inputs:{rowNode:"rowNode",node:"node",parentNode:"parentNode",root:[2,"root","root",D],index:[2,"index","index",pe],firstChild:[2,"firstChild","firstChild",D],lastChild:[2,"lastChild","lastChild",D],level:[2,"level","level",pe],indentation:[2,"indentation","indentation",pe],itemSize:[2,"itemSize","itemSize",pe],loadingMode:"loadingMode"},features:[be],decls:1,vars:1,consts:[[3,"ngIf"],["class","p-treenode-droppoint",3,"ngClass","drop","dragover","dragenter","dragleave",4,"ngIf"],["role","treeitem",3,"ngClass","ngStyle","style","keydown",4,"ngIf"],[3,"class",4,"ngIf"],[1,"p-treenode-droppoint",3,"drop","dragover","dragenter","dragleave","ngClass"],["role","treeitem",3,"keydown","ngClass","ngStyle"],[1,"p-treenode-content",3,"click","contextmenu","touchend","drop","dragover","dragenter","dragleave","dragstart","dragend","ngStyle","draggable","ngClass"],["type","button","pRipple","","tabindex","-1","aria-hidden","true",1,"p-tree-toggler","p-link",3,"click"],[4,"ngIf"],["class","p-tree-toggler-icon",4,"ngIf"],["class","p-checkbox p-component","aria-hidden","true",3,"ngClass",4,"ngIf"],[1,"p-treenode-label"],["class","p-treenode-children","role","group",3,"ngStyle",4,"ngIf"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[3,"spin","styleClass"],[1,"p-tree-toggler-icon"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"p-checkbox","p-component",3,"ngClass"],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],["role","group",1,"p-treenode-children",3,"ngStyle"],[3,"node","parentNode","firstChild","lastChild","index","itemSize","level",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","parentNode","firstChild","lastChild","index","itemSize","level"],["class","p-treenode-connector",4,"ngIf"],[1,"p-treenode",3,"ngClass"],["tabindex","0",1,"p-treenode-content",3,"click","contextmenu","touchend","keydown","ngClass"],[3,"ngClass","click",4,"ngIf"],["class","p-treenode-children-container",3,"ngStyle",4,"ngIf"],[1,"p-treenode-connector"],[1,"p-treenode-connector-table"],[3,"ngClass"],[3,"click","ngClass"],[3,"styleClass","ariaLabel",4,"ngIf"],[3,"styleClass","ariaLabel"],[1,"p-treenode-children-container",3,"ngStyle"],[1,"p-treenode-children"],[3,"node","firstChild","lastChild",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","firstChild","lastChild"]],template:function(g,C){g&1&&r(0,sC,4,4,"ng-template",0),g&2&&i("ngIf",C.node)},dependencies:()=>[J,he,$,te,ee,ft,It,Se,Je,At,_e,it,t],encapsulation:2})}return t})(),nt=(()=>{class t{el;dragDropService;config;cd;value;selectionMode;loadingMode="mask";selection;style;styleClass;contextMenu;layout="vertical";draggableScope;droppableScope;draggableNodes;droppableNodes;metaKeySelection=!1;propagateSelectionUp=!0;propagateSelectionDown=!0;loading;loadingIcon;emptyMessage="";ariaLabel;togglerAriaLabel;ariaLabelledBy;validateDrop;filter;filterBy="label";filterMode="lenient";filterPlaceholder;filteredNodes;filterLocale;scrollHeight;lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;indentation=1.5;_templateMap;trackBy=(e,g)=>g;_virtualNodeHeight;get virtualNodeHeight(){return this._virtualNodeHeight}set virtualNodeHeight(e){this._virtualNodeHeight=e,console.warn("The virtualNodeHeight property is deprecated, use virtualScrollItemSize property instead.")}selectionChange=new f;onNodeSelect=new f;onNodeUnselect=new f;onNodeExpand=new f;onNodeCollapse=new f;onNodeContextMenuSelect=new f;onNodeDrop=new f;onLazyLoad=new f;onScroll=new f;onScrollIndexChange=new f;onFilter=new f;templates;filterViewChild;scroller;wrapperViewChild;serializedValue;headerTemplate;footerTemplate;loaderTemplate;emptyMessageTemplate;togglerIconTemplate;checkboxIconTemplate;loadingIconTemplate;filterIconTemplate;nodeTouched;dragNodeTree;dragNode;dragNodeSubNodes;dragNodeIndex;dragNodeScope;dragHover;dragStartSubscription;dragStopSubscription;constructor(e,g,C,I){this.el=e,this.dragDropService=g,this.config=C,this.cd=I}ngOnInit(){this.droppableNodes&&(this.dragStartSubscription=this.dragDropService.dragStart$.subscribe(e=>{this.dragNodeTree=e.tree,this.dragNode=e.node,this.dragNodeSubNodes=e.subNodes,this.dragNodeIndex=e.index,this.dragNodeScope=e.scope}),this.dragStopSubscription=this.dragDropService.dragStop$.subscribe(e=>{this.dragNodeTree=null,this.dragNode=null,this.dragNodeSubNodes=null,this.dragNodeIndex=null,this.dragNodeScope=null,this.dragHover=!1}))}ngOnChanges(e){e.value&&(this.updateSerializedValue(),this.hasFilterActive()&&this._filter(this.filterViewChild.nativeElement.value))}get horizontal(){return this.layout=="horizontal"}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(_t.EMPTY_MESSAGE)}ngAfterContentInit(){this.templates.length&&(this._templateMap={}),this.templates.forEach(e=>{switch(e.getType()){case"header":this.headerTemplate=e.template;break;case"empty":this.emptyMessageTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"loader":this.loaderTemplate=e.template;break;case"togglericon":this.togglerIconTemplate=e.template;break;case"checkboxicon":this.checkboxIconTemplate=e.template;break;case"loadingicon":this.loadingIconTemplate=e.template;break;case"filtericon":this.filterIconTemplate=e.template;break;default:this._templateMap[e.name]=e.template;break}})}updateSerializedValue(){this.serializedValue=[],this.serializeNodes(null,this.getRootNode(),0,!0)}serializeNodes(e,g,C,I){if(g&&g.length)for(let l of g){l.parent=e;let a={node:l,parent:e,level:C,visible:I&&(e?e.expanded:!0)};this.serializedValue.push(a),a.visible&&l.expanded&&this.serializeNodes(l,l.children,C+1,a.visible)}}onNodeClick(e,g){let C=e.target;if(!(h.hasClass(C,"p-tree-toggler")||h.hasClass(C,"p-tree-toggler-icon"))){if(this.selectionMode){if(g.selectable===!1){g.style="--p-focus-ring-color: none;";return}else g.style="--p-focus-ring-color: var(--primary-color)";if(this.hasFilteredNodes()&&(g=this.getNodeWithKey(g.key,this.filteredNodes),!g))return;let I=this.findIndexInSelection(g),l=I>=0;if(this.isCheckboxSelectionMode())l?(this.propagateSelectionDown?this.propagateDown(g,!1):this.selection=this.selection.filter((a,_)=>_!=I),this.propagateSelectionUp&&g.parent&&this.propagateUp(g.parent,!1),this.selectionChange.emit(this.selection),this.onNodeUnselect.emit({originalEvent:e,node:g})):(this.propagateSelectionDown?this.propagateDown(g,!0):this.selection=[...this.selection||[],g],this.propagateSelectionUp&&g.parent&&this.propagateUp(g.parent,!0),this.selectionChange.emit(this.selection),this.onNodeSelect.emit({originalEvent:e,node:g}));else if(this.nodeTouched?!1:this.metaKeySelection){let _=e.metaKey||e.ctrlKey;l&&_?(this.isSingleSelectionMode()?this.selectionChange.emit(null):(this.selection=this.selection.filter((u,N)=>N!=I),this.selectionChange.emit(this.selection)),this.onNodeUnselect.emit({originalEvent:e,node:g})):(this.isSingleSelectionMode()?this.selectionChange.emit(g):this.isMultipleSelectionMode()&&(this.selection=_?this.selection||[]:[],this.selection=[...this.selection,g],this.selectionChange.emit(this.selection)),this.onNodeSelect.emit({originalEvent:e,node:g}))}else this.isSingleSelectionMode()?l?(this.selection=null,this.onNodeUnselect.emit({originalEvent:e,node:g})):(this.selection=g,setTimeout(()=>{this.onNodeSelect.emit({originalEvent:e,node:g})})):l?(this.selection=this.selection.filter((_,u)=>u!=I),this.onNodeUnselect.emit({originalEvent:e,node:g})):(this.selection=[...this.selection||[],g],setTimeout(()=>{this.onNodeSelect.emit({originalEvent:e,node:g})})),this.selectionChange.emit(this.selection)}this.nodeTouched=!1}}onNodeTouchEnd(){this.nodeTouched=!0}onNodeRightClick(e,g){if(this.contextMenu){let I=e.target.getAttribute("class");if(I&&I.includes("p-tree-toggler"))return;this.findIndexInSelection(g)>=0||(this.isSingleSelectionMode()?this.selectionChange.emit(g):this.selectionChange.emit([g])),this.contextMenu.show(e),this.onNodeContextMenuSelect.emit({originalEvent:e,node:g})}}findIndexInSelection(e){let g=-1;if(this.selectionMode&&this.selection)if(this.isSingleSelectionMode())g=this.selection.key&&this.selection.key===e.key||this.selection==e?0:-1;else for(let C=0;C<this.selection.length;C++){let I=this.selection[C];if(I.key&&I.key===e.key||I==e){g=C;break}}return g}syncNodeOption(e,g,C,I){let l=this.hasFilteredNodes()?this.getNodeWithKey(e.key,g):null;l&&(l[C]=I||e[C])}hasFilteredNodes(){return this.filter&&this.filteredNodes&&this.filteredNodes.length}hasFilterActive(){return this.filter&&this.filterViewChild?.nativeElement?.value.length>0}getNodeWithKey(e,g){for(let C of g){if(C.key===e)return C;if(C.children){let I=this.getNodeWithKey(e,C.children);if(I)return I}}}propagateUp(e,g){if(e.children&&e.children.length){let I=0,l=!1;for(let a of e.children)this.isSelected(a)?I++:a.partialSelected&&(l=!0);if(g&&I==e.children.length)this.selection=[...this.selection||[],e],e.partialSelected=!1;else{if(!g){let a=this.findIndexInSelection(e);a>=0&&(this.selection=this.selection.filter((_,u)=>u!=a))}l||I>0&&I!=e.children.length?e.partialSelected=!0:e.partialSelected=!1}this.syncNodeOption(e,this.filteredNodes,"partialSelected")}let C=e.parent;C&&this.propagateUp(C,g)}propagateDown(e,g){let C=this.findIndexInSelection(e);if(g&&C==-1?this.selection=[...this.selection||[],e]:!g&&C>-1&&(this.selection=this.selection.filter((I,l)=>l!=C)),e.partialSelected=!1,this.syncNodeOption(e,this.filteredNodes,"partialSelected"),e.children&&e.children.length)for(let I of e.children)this.propagateDown(I,g)}isSelected(e){return this.findIndexInSelection(e)!=-1}isSingleSelectionMode(){return this.selectionMode&&this.selectionMode=="single"}isMultipleSelectionMode(){return this.selectionMode&&this.selectionMode=="multiple"}isCheckboxSelectionMode(){return this.selectionMode&&this.selectionMode=="checkbox"}isNodeLeaf(e){return e.leaf==!1?!1:!(e.children&&e.children.length)}getRootNode(){return this.filteredNodes?this.filteredNodes:this.value}getTemplateForNode(e){return this._templateMap?e.type?this._templateMap[e.type]:this._templateMap.default:null}onDragOver(e){this.droppableNodes&&(!this.value||this.value.length===0)&&(e.dataTransfer.dropEffect="move",e.preventDefault())}onDrop(e){if(this.droppableNodes&&(!this.value||this.value.length===0)){e.preventDefault();let g=this.dragNode;if(this.allowDrop(g,null,this.dragNodeScope)){let C=this.dragNodeIndex;this.value=this.value||[],this.validateDrop?this.onNodeDrop.emit({originalEvent:e,dragNode:g,dropNode:null,index:C,accept:()=>{this.processTreeDrop(g,C)}}):(this.onNodeDrop.emit({originalEvent:e,dragNode:g,dropNode:null,index:C}),this.processTreeDrop(g,C))}}}processTreeDrop(e,g){this.dragNodeSubNodes.splice(g,1),this.value.push(e),this.dragDropService.stopDrag({node:e})}onDragEnter(){this.droppableNodes&&this.allowDrop(this.dragNode,null,this.dragNodeScope)&&(this.dragHover=!0)}onDragLeave(e){if(this.droppableNodes){let g=e.currentTarget.getBoundingClientRect();(e.x>g.left+g.width||e.x<g.left||e.y>g.top+g.height||e.y<g.top)&&(this.dragHover=!1)}}allowDrop(e,g,C){if(e)if(this.isValidDragScope(C)){let I=!0;if(g)if(e===g)I=!1;else{let l=g.parent;for(;l!=null;){if(l===e){I=!1;break}l=l.parent}}return I}else return!1;else return!1}isValidDragScope(e){let g=this.droppableScope;if(g){if(typeof g=="string"){if(typeof e=="string")return g===e;if(Array.isArray(e))return e.indexOf(g)!=-1}else if(Array.isArray(g)){if(typeof e=="string")return g.indexOf(e)!=-1;if(Array.isArray(e)){for(let C of g)for(let I of e)if(C===I)return!0}}return!1}else return!0}_filter(e){let g=e;if(g==="")this.filteredNodes=null;else{this.filteredNodes=[];let C=this.filterBy.split(","),I=Q.removeAccents(g).toLocaleLowerCase(this.filterLocale),l=this.filterMode==="strict";for(let a of this.value){let _=K({},a),u={searchFields:C,filterText:I,isStrictMode:l};(l&&(this.findFilteredNodes(_,u)||this.isFilterMatched(_,u))||!l&&(this.isFilterMatched(_,u)||this.findFilteredNodes(_,u)))&&this.filteredNodes.push(_)}}this.updateSerializedValue(),this.onFilter.emit({filter:g,filteredValue:this.filteredNodes})}resetFilter(){this.filteredNodes=null,this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}scrollToVirtualIndex(e){this.virtualScroll&&this.scroller?.scrollToIndex(e)}scrollTo(e){this.virtualScroll?this.scroller?.scrollTo(e):this.wrapperViewChild&&this.wrapperViewChild.nativeElement&&(this.wrapperViewChild.nativeElement.scrollTo?this.wrapperViewChild.nativeElement.scrollTo(e):(this.wrapperViewChild.nativeElement.scrollLeft=e.left,this.wrapperViewChild.nativeElement.scrollTop=e.top))}findFilteredNodes(e,g){if(e){let C=!1;if(e.children){let I=[...e.children];e.children=[];for(let l of I){let a=K({},l);this.isFilterMatched(a,g)&&(C=!0,e.children.push(a))}}if(C)return e.expanded=!0,!0}}isFilterMatched(e,g){let{searchFields:C,filterText:I,isStrictMode:l}=g,a=!1;for(let _ of C)Q.removeAccents(String(Q.resolveFieldData(e,_))).toLocaleLowerCase(this.filterLocale).indexOf(I)>-1&&(a=!0);return(!a||l&&!this.isNodeLeaf(e))&&(a=this.findFilteredNodes(e,{searchFields:C,filterText:I,isStrictMode:l})||a),a}getIndex(e,g){let C=e.getItemOptions;return C?C(g).index:g}getBlockableElement(){return this.el.nativeElement.children[0]}ngOnDestroy(){this.dragStartSubscription&&this.dragStartSubscription.unsubscribe(),this.dragStopSubscription&&this.dragStopSubscription.unsubscribe()}static \u0275fac=function(g){return new(g||t)(E(fe),E(mt,8),E(Te),E(ae))};static \u0275cmp=R({type:t,selectors:[["p-tree"]],contentQueries:function(g,C,I){if(g&1&&ne(I,Z,4),g&2){let l;M(l=k())&&(C.templates=l)}},viewQuery:function(g,C){if(g&1&&(F(cC,5),F(dC,5),F(pC,5)),g&2){let I;M(I=k())&&(C.filterViewChild=I.first),M(I=k())&&(C.scroller=I.first),M(I=k())&&(C.wrapperViewChild=I.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",selectionMode:"selectionMode",loadingMode:"loadingMode",selection:"selection",style:"style",styleClass:"styleClass",contextMenu:"contextMenu",layout:"layout",draggableScope:"draggableScope",droppableScope:"droppableScope",draggableNodes:[2,"draggableNodes","draggableNodes",D],droppableNodes:[2,"droppableNodes","droppableNodes",D],metaKeySelection:[2,"metaKeySelection","metaKeySelection",D],propagateSelectionUp:[2,"propagateSelectionUp","propagateSelectionUp",D],propagateSelectionDown:[2,"propagateSelectionDown","propagateSelectionDown",D],loading:[2,"loading","loading",D],loadingIcon:"loadingIcon",emptyMessage:"emptyMessage",ariaLabel:"ariaLabel",togglerAriaLabel:"togglerAriaLabel",ariaLabelledBy:"ariaLabelledBy",validateDrop:[2,"validateDrop","validateDrop",D],filter:[2,"filter","filter",D],filterBy:"filterBy",filterMode:"filterMode",filterPlaceholder:"filterPlaceholder",filteredNodes:"filteredNodes",filterLocale:"filterLocale",scrollHeight:"scrollHeight",lazy:[2,"lazy","lazy",D],virtualScroll:[2,"virtualScroll","virtualScroll",D],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",pe],virtualScrollOptions:"virtualScrollOptions",indentation:[2,"indentation","indentation",pe],_templateMap:"_templateMap",trackBy:"trackBy",virtualNodeHeight:"virtualNodeHeight"},outputs:{selectionChange:"selectionChange",onNodeSelect:"onNodeSelect",onNodeUnselect:"onNodeUnselect",onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onNodeContextMenuSelect:"onNodeContextMenuSelect",onNodeDrop:"onNodeDrop",onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange",onFilter:"onFilter"},features:[be,Oe],decls:2,vars:2,consts:[["filter",""],["scroller",""],["treeNode",""],["wrapper",""],["emptyFilter",""],[3,"ngClass","ngStyle","class","drop","dragover","dragenter","dragleave",4,"ngIf"],[3,"ngClass","ngStyle","class",4,"ngIf"],[3,"drop","dragover","dragenter","dragleave","ngClass","ngStyle"],["class","p-tree-loading-overlay p-component-overlay",4,"ngIf"],[4,"ngTemplateOutlet"],["class","p-tree-filter-container",4,"ngIf"],[4,"ngIf"],["class","p-tree-empty-message",4,"ngIf"],[1,"p-tree-loading-overlay","p-component-overlay"],[3,"class",4,"ngIf"],[3,"spin","styleClass",4,"ngIf"],["class","p-tree-loading-icon",4,"ngIf"],[3,"spin","styleClass"],[1,"p-tree-loading-icon"],[1,"p-tree-filter-container"],["type","search","autocomplete","off",1,"p-tree-filter","p-inputtext","p-component",3,"keydown.enter","input"],[3,"styleClass",4,"ngIf"],["class","p-tree-filter-icon",4,"ngIf"],[3,"styleClass"],[1,"p-tree-filter-icon"],["styleClass","p-tree-wrapper",3,"items","tabindex","style","scrollHeight","itemSize","lazy","options","onScroll","onScrollIndexChange","onLazyLoad",4,"ngIf"],["styleClass","p-tree-wrapper",3,"onScroll","onScrollIndexChange","onLazyLoad","items","tabindex","scrollHeight","itemSize","lazy","options"],["pTemplate","content"],["class","p-tree-container","role","tree",3,"ngClass","style",4,"ngIf"],["role","tree",1,"p-tree-container",3,"ngClass"],[3,"level","rowNode","node","parentNode","firstChild","lastChild","index","itemSize","indentation","loadingMode",4,"ngFor","ngForOf","ngForTrackBy"],[3,"level","rowNode","node","parentNode","firstChild","lastChild","index","itemSize","indentation","loadingMode"],["pTemplate","loader"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-tree-wrapper",3,"ngStyle"],["class","p-tree-container","role","tree",4,"ngIf"],["role","tree",1,"p-tree-container"],[3,"node","firstChild","lastChild","index","level","loadingMode",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","firstChild","lastChild","index","level","loadingMode"],[1,"p-tree-empty-message"],[4,"ngIf","ngIfElse"],[3,"ngClass","ngStyle"],["class","p-tree-loading-mask p-component-overlay",4,"ngIf"],[1,"p-tree-loading-mask","p-component-overlay"],[3,"node","root"]],template:function(g,C){g&1&&r(0,GC,7,15,"div",5)(1,oI,6,11,"div",6),g&2&&(i("ngIf",!C.horizontal),n(),i("ngIf",C.horizontal))},dependencies:()=>[J,he,$,te,ee,Z,St,we,_e,lI],styles:[`@layer primeng{.p-tree-container{margin:0;padding:0;list-style-type:none;overflow:auto}.p-treenode-children{margin:0;padding:0;list-style-type:none}.p-tree-wrapper{overflow:auto}.p-treenode-selectable{cursor:pointer;-webkit-user-select:none;user-select:none}.p-tree-toggler{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative;flex-shrink:0}.p-treenode-leaf>.p-treenode-content .p-tree-toggler{visibility:hidden}.p-treenode-content{display:flex;align-items:center}.p-tree-filter{width:100%}.p-tree-filter-container{position:relative;display:block;width:100%}.p-tree-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-tree-loading{position:relative;min-height:4rem}.p-tree .p-tree-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:2}.p-tree-flex-scrollable{display:flex;flex:1;height:100%;flex-direction:column}.p-tree-flex-scrollable .p-tree-wrapper{flex:1}.p-tree .p-treenode-droppoint{height:4px;list-style-type:none}.p-tree .p-treenode-droppoint-active{border:0 none}.p-tree-horizontal{width:auto;padding-left:0;padding-right:0;overflow:auto}.p-tree.p-tree-horizontal table,.p-tree.p-tree-horizontal tr,.p-tree.p-tree-horizontal td{border-collapse:collapse;margin:0;padding:0;vertical-align:middle}.p-tree-horizontal .p-treenode-content{font-weight:400;padding:.4em 1em .4em .2em;display:flex;align-items:center}.p-tree-horizontal .p-treenode-parent .p-treenode-content{font-weight:400;white-space:nowrap}.p-tree.p-tree-horizontal .p-treenode{background:url(data:image/gif;base64,R0lGODlhAQABAIAAALGxsf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNC4xLWMwMzQgNDYuMjcyOTc2LCBTYXQgSmFuIDI3IDIwMDcgMjI6Mzc6MzcgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhhcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyI+CiAgICAgICAgIDx4YXA6Q3JlYXRvclRvb2w+QWRvYmUgRmlyZXdvcmtzIENTMzwveGFwOkNyZWF0b3JUb29sPgogICAgICAgICA8eGFwOkNyZWF0ZURhdGU+MjAxMC0wMy0xMVQxMDoxNjo0MVo8L3hhcDpDcmVhdGVEYXRlPgogICAgICAgICA8eGFwOk1vZGlmeURhdGU+MjAxMC0wMy0xMVQxMjo0NDoxOVo8L3hhcDpNb2RpZnlEYXRlPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIj4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9naWY8L2RjOmZvcm1hdD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PAA6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQABwD/ACwAAAAAAQABAAACAkQBADs=) repeat-x scroll center center transparent;padding:.25rem 2.5rem}.p-tree.p-tree-horizontal .p-treenode.p-treenode-leaf,.p-tree.p-tree-horizontal .p-treenode.p-treenode-collapsed{padding-right:0}.p-tree.p-tree-horizontal .p-treenode-children{padding:0;margin:0}.p-tree.p-tree-horizontal .p-treenode-connector{width:1px}.p-tree.p-tree-horizontal .p-treenode-connector-table{height:100%;width:1px}.p-tree.p-tree-horizontal .p-treenode-connector-line{background:url(data:image/gif;base64,R0lGODlhAQABAIAAALGxsf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNC4xLWMwMzQgNDYuMjcyOTc2LCBTYXQgSmFuIDI3IDIwMDcgMjI6Mzc6MzcgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhhcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyI+CiAgICAgICAgIDx4YXA6Q3JlYXRvclRvb2w+QWRvYmUgRmlyZXdvcmtzIENTMzwveGFwOkNyZWF0b3JUb29sPgogICAgICAgICA8eGFwOkNyZWF0ZURhdGU+MjAxMC0wMy0xMVQxMDoxNjo0MVo8L3hhcDpDcmVhdGVEYXRlPgogICAgICAgICA8eGFwOk1vZGlmeURhdGU+MjAxMC0wMy0xMVQxMjo0NDoxOVo8L3hhcDpNb2RpZnlEYXRlPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIj4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9naWY8L2RjOmZvcm1hdD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PAA6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQABwD/ACwAAAAAAQABAAACAkQBADs=) repeat-y scroll 0 0 transparent;width:1px}.p-tree.p-tree-horizontal table{height:0}.p-scroller .p-tree-container{overflow:visible}}
|
|
4
|
+
`],encapsulation:2})}return t})(),ot=(()=>{class t{static \u0275fac=function(g){return new(g||t)};static \u0275mod=Ce({type:t});static \u0275inj=ge({imports:[Y,W,Be,Ct,It,Se,Je,At,we,_e,it,W,Ct]})}return t})();var aI=["container"],sI=["focusInput"],cI=["filter"],dI=["tree"],pI=["panel"],hI=["overlay"],_I=["firstHiddenFocusableEl"],mI=["lastHiddenFocusableEl"],uI=(t,A)=>({$implicit:t,placeholder:A}),Vt=(t,A)=>({$implicit:t,options:A}),fI=t=>({"max-height":t}),yI=t=>({$implicit:t}),vI=(t,A)=>({$implicit:t,partialSelected:A});function xI(t,A){t&1&&V(0)}function TI(t,A){if(t&1&&(w(0),r(1,xI,1,0,"ng-container",22),b()),t&2){let e=o();n(),i("ngTemplateOutlet",e.valueTemplate)("ngTemplateOutletContext",H(2,uI,e.value,e.placeholder))}}function SI(t,A){if(t&1&&(w(0),X(1),b()),t&2){let e=o(2);n(),Ne(" ",e.label||"empty"," ")}}function wI(t,A){if(t&1&&(s(0,"div",24)(1,"span",25),X(2),c()()),t&2){let e=A.$implicit;n(2),ye(e.label)}}function bI(t,A){if(t&1&&(w(0),X(1),b()),t&2){let e=o(3);n(),ye(e.placeholder||"empty")}}function NI(t,A){if(t&1&&r(0,wI,3,1,"div",23)(1,bI,2,1,"ng-container",16),t&2){let e=o(2);i("ngForOf",e.value),n(),i("ngIf",e.emptyValue)}}function EI(t,A){if(t&1&&r(0,SI,2,1,"ng-container",15)(1,NI,2,2,"ng-template",null,4,re),t&2){let e=oe(2),g=o();i("ngIf",g.display==="comma")("ngIfElse",e)}}function VI(t,A){if(t&1){let e=L();s(0,"TimesIcon",28),T("click",function(C){d(e);let I=o(2);return p(I.clear(C))}),c()}t&2&&i("styleClass","p-treeselect-clear-icon")}function OI(t,A){}function DI(t,A){t&1&&r(0,OI,0,0,"ng-template")}function MI(t,A){if(t&1){let e=L();s(0,"span",29),T("click",function(C){d(e);let I=o(2);return p(I.clear(C))}),r(1,DI,1,0,null,30),c()}if(t&2){let e=o(2);n(),i("ngTemplateOutlet",e.clearIconTemplate)}}function kI(t,A){if(t&1&&(w(0),r(1,VI,1,1,"TimesIcon",26)(2,MI,2,1,"span",27),b()),t&2){let e=o();n(),i("ngIf",!e.clearIconTemplate),n(),i("ngIf",e.clearIconTemplate)}}function zI(t,A){t&1&&m(0,"ChevronDownIcon",31),t&2&&i("styleClass","p-treeselect-trigger-icon")}function LI(t,A){}function FI(t,A){t&1&&r(0,LI,0,0,"ng-template")}function RI(t,A){if(t&1&&(s(0,"span",32),r(1,FI,1,0,null,30),c()),t&2){let e=o();n(),i("ngTemplateOutlet",e.triggerIconTemplate)}}function PI(t,A){t&1&&V(0)}function HI(t,A){t&1&&m(0,"SearchIcon",31),t&2&&i("styleClass","p-treeselect-filter-icon")}function UI(t,A){}function KI(t,A){t&1&&r(0,UI,0,0,"ng-template")}function BI(t,A){if(t&1&&(s(0,"span",43),r(1,KI,1,0,null,30),c()),t&2){let e=o(3);n(),i("ngTemplateOutlet",e.filterIconTemplate)}}function jI(t,A){t&1&&m(0,"TimesIcon")}function QI(t,A){}function ZI(t,A){t&1&&r(0,QI,0,0,"ng-template")}function WI(t,A){if(t&1&&(s(0,"span"),r(1,ZI,1,0,null,30),c()),t&2){let e=o(3);n(),i("ngTemplateOutlet",e.closeIconTemplate)}}function GI(t,A){if(t&1){let e=L();s(0,"div",38),T("keydown.arrowdown",function(C){d(e);let I=o(2);return p(I.onArrowDown(C))}),s(1,"div",39)(2,"input",40,9),T("keydown.enter",function(C){return d(e),p(C.preventDefault())})("input",function(C){d(e);let I=o(2);return p(I.onFilterInput(C))}),c(),r(4,HI,1,1,"SearchIcon",18)(5,BI,2,1,"span",41),c(),s(6,"button",42),T("click",function(){d(e);let C=o(2);return p(C.hide())}),r(7,jI,1,0,"TimesIcon",16)(8,WI,2,1,"span",16),c()()}if(t&2){let e=o(2);n(2),i("value",e.filterValue),y("placeholder",e.filterPlaceholder),n(2),i("ngIf",!e.filterIconTemplate),n(),i("ngIf",e.filterIconTemplate),n(2),i("ngIf",!e.closeIconTemplate),n(),i("ngIf",e.closeIconTemplate)}}function YI(t,A){t&1&&V(0)}function qI(t,A){if(t&1&&r(0,YI,1,0,"ng-container",30),t&2){let e=o(3);i("ngTemplateOutlet",e.emptyTemplate)}}function XI(t,A){t&1&&(w(0),r(1,qI,1,1,"ng-template",44),b())}function JI(t,A){t&1&&V(0)}function $I(t,A){if(t&1&&r(0,JI,1,0,"ng-container",22),t&2){let e=A.$implicit,g=o(3);i("ngTemplateOutlet",g.itemTogglerIconTemplate)("ngTemplateOutletContext",v(2,yI,e))}}function eA(t,A){t&1&&r(0,$I,1,4,"ng-template",45)}function tA(t,A){t&1&&V(0)}function gA(t,A){if(t&1&&r(0,tA,1,0,"ng-container",22),t&2){let e=A.$implicit,g=A.partialSelected,C=o(3);i("ngTemplateOutlet",C.itemCheckboxIconTemplate)("ngTemplateOutletContext",H(2,vI,e,g))}}function CA(t,A){t&1&&r(0,gA,1,5,"ng-template",46)}function IA(t,A){t&1&&V(0)}function AA(t,A){if(t&1&&r(0,IA,1,0,"ng-container",30),t&2){let e=o(3);i("ngTemplateOutlet",e.itemLoadingIconTemplate)}}function iA(t,A){t&1&&r(0,AA,1,1,"ng-template",47)}function nA(t,A){t&1&&V(0)}function oA(t,A){if(t&1){let e=L();s(0,"div",33,5)(2,"span",34,6),T("focus",function(C){d(e);let I=o();return p(I.onFirstHiddenFocus(C))}),c(),r(4,PI,1,0,"ng-container",22)(5,GI,9,6,"div",35),s(6,"div",36)(7,"p-tree",37,7),T("selectionChange",function(C){d(e);let I=o();return p(I.onSelectionChange(C))})("onNodeExpand",function(C){d(e);let I=o();return p(I.nodeExpand(C))})("onNodeCollapse",function(C){d(e);let I=o();return p(I.nodeCollapse(C))})("onNodeSelect",function(C){d(e);let I=o();return p(I.onSelect(C))})("onNodeUnselect",function(C){d(e);let I=o();return p(I.onUnselect(C))}),r(9,XI,2,0,"ng-container",16)(10,eA,1,0,null,16)(11,CA,1,0,null,16)(12,iA,1,0,null,16),c()(),r(13,nA,1,0,"ng-container",22),s(14,"span",34,8),T("focus",function(C){d(e);let I=o();return p(I.onLastHiddenFocus(C))}),c()()}if(t&2){let e=o();O(e.panelStyleClass),i("ngStyle",e.panelStyle)("ngClass",e.panelClass),y("id",e.listId),n(2),y("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),n(2),i("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",H(38,Vt,e.value,e.options)),n(),i("ngIf",e.filter),n(),i("ngStyle",v(41,fI,e.scrollHeight)),n(),i("value",e.options)("propagateSelectionDown",e.propagateSelectionDown)("propagateSelectionUp",e.propagateSelectionUp)("selectionMode",e.selectionMode)("selection",e.value)("metaKeySelection",e.metaKeySelection)("emptyMessage",e.emptyMessage)("filterBy",e.filterBy)("filterMode",e.filterMode)("filterPlaceholder",e.filterPlaceholder)("filterLocale",e.filterLocale)("filteredNodes",e.filteredNodes)("virtualScroll",e.virtualScroll)("virtualScrollItemSize",e.virtualScrollItemSize)("virtualScrollOptions",e.virtualScrollOptions)("_templateMap",e.templateMap)("loading",e.loading),n(2),i("ngIf",e.emptyTemplate),n(),i("ngIf",e.itemTogglerIconTemplate),n(),i("ngIf",e.itemCheckboxIconTemplate),n(),i("ngIf",e.itemLoadingIconTemplate),n(),i("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",H(43,Vt,e.value,e.options)),n(),y("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}var lA={provide:He,useExisting:ue(()=>rA),multi:!0},rA=(()=>{class t{config;cd;el;overlayService;inputId;scrollHeight="400px";disabled;metaKeySelection=!1;variant="outlined";display="comma";selectionMode="single";tabindex="0";ariaLabel;ariaLabelledBy;placeholder;panelClass;panelStyle;panelStyleClass;containerStyle;containerStyleClass;labelStyle;labelStyleClass;overlayOptions;emptyMessage="";appendTo;filter=!1;filterBy="label";filterMode="lenient";filterPlaceholder;filterLocale;filterInputAutoFocus=!0;propagateSelectionDown=!0;propagateSelectionUp=!0;showClear=!1;resetFilterOnHide=!0;virtualScroll;virtualScrollItemSize;virtualScrollOptions;autofocus;get options(){return this._options}set options(e){this._options=e,this.updateTreeState()}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(e){this._showTransitionOptions=e,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(e){this._hideTransitionOptions=e,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}loading;onNodeExpand=new f;onNodeCollapse=new f;onShow=new f;onHide=new f;onClear=new f;onFilter=new f;onFocus=new f;onBlur=new f;onNodeUnselect=new f;onNodeSelect=new f;_showTransitionOptions;_hideTransitionOptions;templates;containerEl;focusInput;filterViewChild;treeViewChild;panelEl;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;filteredNodes;filterValue=null;serializedValue;valueTemplate;headerTemplate;emptyTemplate;footerTemplate;clearIconTemplate;triggerIconTemplate;filterIconTemplate;closeIconTemplate;itemTogglerIconTemplate;itemCheckboxIconTemplate;itemLoadingIconTemplate;focused;overlayVisible;selfChange;value;expandedNodes=[];_options;templateMap;onModelChange=()=>{};onModelTouched=()=>{};listId="";constructor(e,g,C,I){this.config=e,this.cd=g,this.el=C,this.overlayService=I}ngOnInit(){this.listId=xe()+"_list",this.updateTreeState()}ngAfterContentInit(){this.templates.length&&(this.templateMap={}),this.templates.forEach(e=>{switch(e.getType()){case"value":this.valueTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"clearicon":this.clearIconTemplate=e.template;break;case"triggericon":this.triggerIconTemplate=e.template;break;case"filtericon":this.filterIconTemplate=e.template;break;case"closeicon":this.closeIconTemplate=e.template;break;case"itemtogglericon":this.itemTogglerIconTemplate=e.template;break;case"itemcheckboxicon":this.itemCheckboxIconTemplate=e.template;break;case"itemloadingicon":this.itemLoadingIconTemplate=e.template;break;default:e.name?this.templateMap[e.name]=e.template:this.valueTemplate=e.template;break}})}onOverlayAnimationStart(e){switch(e.toState){case"visible":if(this.filter)Q.isNotEmpty(this.filterValue)&&this.treeViewChild?._filter(this.filterValue),this.filterInputAutoFocus&&this.filterViewChild?.nativeElement.focus();else{let g=h.getFocusableElements(this.panelEl.nativeElement);g&&g.length>0&&g[0].focus()}break}}onOverlayBeforeHide(e){let g=h.getFocusableElements(this.containerEl.nativeElement);g&&g.length>0&&g[0].focus()}onSelectionChange(e){this.value=e,this.onModelChange(this.value),this.cd.markForCheck()}onClick(e){this.disabled||!this.overlayViewChild?.el?.nativeElement?.contains(e.target)&&!h.hasClass(e.target,"p-treeselect-close")&&!h.hasClass(e.target,"p-checkbox-box")&&!h.hasClass(e.target,"p-checkbox-icon")&&(this.overlayVisible?this.hide():this.show(),this.focusInput?.nativeElement.focus())}onKeyDown(e){switch(e.code){case"ArrowDown":this.overlayVisible||(this.show(),e.preventDefault()),this.onArrowDown(e),e.preventDefault();break;case"Space":case"Enter":this.overlayVisible||(this.show(),e.preventDefault());break;case"Escape":this.overlayVisible&&(this.hide(),this.focusInput?.nativeElement.focus(),e.preventDefault());break;case"Tab":this.onTabKey(e);break;default:break}}onFilterInput(e){this.filterValue=e.target.value,this.treeViewChild?._filter(this.filterValue),this.onFilter.emit({filter:this.filterValue,filteredValue:this.treeViewChild?.filteredNodes}),setTimeout(()=>{this.overlayViewChild.alignOverlay()})}onArrowDown(e){if(this.overlayVisible&&this.panelEl?.nativeElement){let g=h.getFocusableElements(this.panelEl.nativeElement,".p-treenode");g&&g.length>0&&g[0].focus(),e.preventDefault()}}onFirstHiddenFocus(e){let g=e.relatedTarget===this.focusInput?.nativeElement?h.getFirstFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInput?.nativeElement;h.focus(g)}onLastHiddenFocus(e){let g=e.relatedTarget===this.focusInput?.nativeElement?h.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInput?.nativeElement;h.focus(g)}show(){this.overlayVisible=!0}hide(e){this.overlayVisible=!1,this.resetFilter(),this.onHide.emit(e),this.cd.markForCheck()}clear(e){this.value=null,this.resetExpandedNodes(),this.resetPartialSelected(),this.onModelChange(this.value),this.onClear.emit(),e.stopPropagation()}checkValue(){return this.value!==null&&Q.isNotEmpty(this.value)}onTabKey(e,g=!1){g||(this.overlayVisible&&this.hasFocusableElements()?(h.focus(e.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),e.preventDefault()):this.overlayVisible&&this.hide(this.filter))}hasFocusableElements(){return h.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}resetFilter(){this.filter&&!this.resetFilterOnHide?(this.filteredNodes=this.treeViewChild?.filteredNodes,this.treeViewChild?.resetFilter()):this.filterValue=null}updateTreeState(){if(this.value){let e=this.selectionMode==="single"?[this.value]:[...this.value];this.resetExpandedNodes(),this.resetPartialSelected(),e&&this.options&&this.updateTreeBranchState(null,null,e)}}updateTreeBranchState(e,g,C){if(e){if(this.isSelected(e)&&(this.expandPath(g),C.splice(C.indexOf(e),1)),C.length>0&&e.children)for(let I of e.children)this.updateTreeBranchState(I,[...g,e],C)}else for(let I of this.options)this.updateTreeBranchState(I,[],C)}expandPath(e){for(let g of e)g.expanded=!0;this.expandedNodes=[...e]}nodeExpand(e){this.onNodeExpand.emit(e),this.expandedNodes.push(e.node)}nodeCollapse(e){this.onNodeCollapse.emit(e),this.expandedNodes.splice(this.expandedNodes.indexOf(e.node),1)}resetExpandedNodes(){for(let e of this.expandedNodes)e.expanded=!1;this.expandedNodes=[]}resetPartialSelected(e=this.options){if(e)for(let g of e)g.partialSelected=!1,g.children&&g.children?.length>0&&this.resetPartialSelected(g.children)}findSelectedNodes(e,g,C){if(e){if(this.isSelected(e)&&(C.push(e),delete g[e.key]),Object.keys(g).length&&e.children)for(let I of e.children)this.findSelectedNodes(I,g,C)}else for(let I of this.options)this.findSelectedNodes(I,g,C)}isSelected(e){return this.findIndexInSelection(e)!=-1}findIndexInSelection(e){let g=-1;if(this.value)if(this.selectionMode==="single")g=this.value.key&&this.value.key===e.key||this.value==e?0:-1;else for(let C=0;C<this.value.length;C++){let I=this.value[C];if(I.key&&I.key===e.key||I==e){g=C;break}}return g}onSelect(e){this.onNodeSelect.emit(e),this.selectionMode==="single"&&(this.hide(),this.focusInput?.nativeElement.focus())}onUnselect(e){this.onNodeUnselect.emit(e)}onInputFocus(e){this.disabled||(this.focused=!0,this.onFocus.emit(e))}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.onModelTouched()}writeValue(e){this.value=e,this.updateTreeState(),this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){setTimeout(()=>{this.disabled=e,this.cd.markForCheck()})}containerClass(){return{"p-treeselect p-component p-inputwrapper":!0,"p-treeselect-chip":this.display==="chip","p-disabled":this.disabled,"p-focus":this.focused,"p-variant-filled":this.variant==="filled"||this.config.inputStyle()==="filled"}}labelClass(){return{"p-treeselect-label":!0,"p-placeholder":this.label===this.placeholder,"p-treeselect-label-empty":!this.placeholder&&this.emptyValue}}get emptyValue(){return!this.value||Object.keys(this.value).length===0}get emptyOptions(){return!this.options||this.options.length===0}get label(){let e=this.value||[];return e.length?e.map(g=>g.label).join(", "):this.selectionMode==="single"&&this.value?e.label:this.placeholder}static \u0275fac=function(g){return new(g||t)(E(Te),E(ae),E(fe),E(Ke))};static \u0275cmp=R({type:t,selectors:[["p-treeSelect"]],contentQueries:function(g,C,I){if(g&1&&ne(I,Z,4),g&2){let l;M(l=k())&&(C.templates=l)}},viewQuery:function(g,C){if(g&1&&(F(aI,5),F(sI,5),F(cI,5),F(dI,5),F(pI,5),F(hI,5),F(_I,5),F(mI,5)),g&2){let I;M(I=k())&&(C.containerEl=I.first),M(I=k())&&(C.focusInput=I.first),M(I=k())&&(C.filterViewChild=I.first),M(I=k())&&(C.treeViewChild=I.first),M(I=k())&&(C.panelEl=I.first),M(I=k())&&(C.overlayViewChild=I.first),M(I=k())&&(C.firstHiddenFocusableElementOnOverlay=I.first),M(I=k())&&(C.lastHiddenFocusableElementOnOverlay=I.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(g,C){g&2&<("p-inputwrapper-filled",!C.emptyValue)("p-inputwrapper-focus",C.focused)("p-treeselect-clearable",C.showClear&&!C.disabled)},inputs:{inputId:"inputId",scrollHeight:"scrollHeight",disabled:[2,"disabled","disabled",D],metaKeySelection:[2,"metaKeySelection","metaKeySelection",D],variant:"variant",display:"display",selectionMode:"selectionMode",tabindex:"tabindex",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",placeholder:"placeholder",panelClass:"panelClass",panelStyle:"panelStyle",panelStyleClass:"panelStyleClass",containerStyle:"containerStyle",containerStyleClass:"containerStyleClass",labelStyle:"labelStyle",labelStyleClass:"labelStyleClass",overlayOptions:"overlayOptions",emptyMessage:"emptyMessage",appendTo:"appendTo",filter:[2,"filter","filter",D],filterBy:"filterBy",filterMode:"filterMode",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",filterInputAutoFocus:[2,"filterInputAutoFocus","filterInputAutoFocus",D],propagateSelectionDown:[2,"propagateSelectionDown","propagateSelectionDown",D],propagateSelectionUp:[2,"propagateSelectionUp","propagateSelectionUp",D],showClear:[2,"showClear","showClear",D],resetFilterOnHide:[2,"resetFilterOnHide","resetFilterOnHide",D],virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",autofocus:[2,"autofocus","autofocus",D],options:"options",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",loading:[2,"loading","loading",D]},outputs:{onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onShow:"onShow",onHide:"onHide",onClear:"onClear",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onNodeUnselect:"onNodeUnselect",onNodeSelect:"onNodeSelect"},features:[Re([lA]),be],decls:17,vars:30,consts:[["container",""],["focusInput",""],["defaultValueTemplate",""],["overlay",""],["chipsValueTemplate",""],["panel",""],["firstHiddenFocusableEl",""],["tree",""],["lastHiddenFocusableEl",""],["filter",""],[3,"click","ngClass","ngStyle"],[1,"p-hidden-accessible"],["type","text","role","combobox","readonly","","pAutoFocus","",3,"focus","blur","keydown","disabled","autofocus"],[1,"p-treeselect-label-container"],[3,"ngClass","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngIf"],["role","button","aria-haspopup","tree",1,"p-treeselect-trigger"],[3,"styleClass",4,"ngIf"],["class","p-treeselect-trigger-icon",4,"ngIf"],[3,"visibleChange","onAnimationStart","onBeforeHide","onShow","onHide","visible","options","target","appendTo","showTransitionOptions","hideTransitionOptions"],["pTemplate","content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","p-treeselect-token",4,"ngFor","ngForOf"],[1,"p-treeselect-token"],[1,"p-treeselect-token-label"],[3,"styleClass","click",4,"ngIf"],["class","p-treeselect-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-treeselect-clear-icon",3,"click"],[4,"ngTemplateOutlet"],[3,"styleClass"],[1,"p-treeselect-trigger-icon"],[1,"p-treeselect-panel","p-component",3,"ngStyle","ngClass"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["class","p-treeselect-header",3,"keydown.arrowdown",4,"ngIf"],[1,"p-treeselect-items-wrapper",3,"ngStyle"],[3,"selectionChange","onNodeExpand","onNodeCollapse","onNodeSelect","onNodeUnselect","value","propagateSelectionDown","propagateSelectionUp","selectionMode","selection","metaKeySelection","emptyMessage","filterBy","filterMode","filterPlaceholder","filterLocale","filteredNodes","virtualScroll","virtualScrollItemSize","virtualScrollOptions","_templateMap","loading"],[1,"p-treeselect-header",3,"keydown.arrowdown"],[1,"p-treeselect-filter-container"],["type","search","autocomplete","off",1,"p-treeselect-filter","p-inputtext","p-component",3,"keydown.enter","input","value"],["class","p-treeselect-filter-icon",4,"ngIf"],[1,"p-treeselect-close","p-link",3,"click"],[1,"p-treeselect-filter-icon"],["pTemplate","empty"],["pTemplate","togglericon"],["pTemplate","checkboxicon"],["pTemplate","loadingicon"]],template:function(g,C){if(g&1){let I=L();s(0,"div",10,0),T("click",function(a){return d(I),p(C.onClick(a))}),s(2,"div",11)(3,"input",12,1),T("focus",function(a){return d(I),p(C.onInputFocus(a))})("blur",function(a){return d(I),p(C.onInputBlur(a))})("keydown",function(a){return d(I),p(C.onKeyDown(a))}),c()(),s(5,"div",13)(6,"div",14),r(7,TI,2,5,"ng-container",15)(8,EI,3,2,"ng-template",null,2,re),c(),r(10,kI,3,2,"ng-container",16),c(),s(11,"div",17),r(12,zI,1,1,"ChevronDownIcon",18)(13,RI,2,1,"span",19),c(),s(14,"p-overlay",20,3),st("visibleChange",function(a){return d(I),at(C.overlayVisible,a)||(C.overlayVisible=a),p(a)}),T("onAnimationStart",function(a){return d(I),p(C.onOverlayAnimationStart(a))})("onBeforeHide",function(a){return d(I),p(C.onOverlayBeforeHide(a))})("onShow",function(a){return d(I),p(C.onShow.emit(a))})("onHide",function(a){return d(I),p(C.hide(a))}),r(16,oA,16,46,"ng-template",21),c()()}if(g&2){let I,l,a=oe(9);O(C.containerStyleClass),i("ngClass",C.containerClass())("ngStyle",C.containerStyle),n(3),i("disabled",C.disabled)("autofocus",C.autofocus),y("id",C.inputId)("tabindex",C.disabled?-1:C.tabindex)("aria-controls",C.overlayVisible?C.listId:null)("aria-haspopup","tree")("aria-expanded",(I=C.overlayVisible)!==null&&I!==void 0?I:!1)("aria-labelledby",C.ariaLabelledBy)("aria-label",C.ariaLabel||(C.label==="p-emptylabel"?void 0:C.label)),n(3),O(C.labelStyleClass),i("ngClass",C.labelClass())("ngStyle",C.labelStyle),n(),i("ngIf",C.valueTemplate)("ngIfElse",a),n(3),i("ngIf",C.checkValue()&&!C.disabled&&C.showClear),n(),y("aria-expanded",(l=C.overlayVisible)!==null&&l!==void 0?l:!1)("aria-label","treeselect trigger"),n(),i("ngIf",!C.triggerIconTemplate),n(),i("ngIf",C.triggerIconTemplate),n(),rt("visible",C.overlayVisible),i("options",C.overlayOptions)("target","@parent")("appendTo",C.appendTo)("showTransitionOptions",C.showTransitionOptions)("hideTransitionOptions",C.hideTransitionOptions)}},dependencies:()=>[J,he,$,te,ee,et,Z,nt,yt,we,Xe,Se],styles:[`@layer primeng{.p-treeselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-treeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-treeselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer;display:flex}.p-treeselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-treeselect-label-empty{overflow:hidden;visibility:hidden}.p-treeselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-treeselect-items-wrapper{overflow:auto}.p-treeselect-header{display:flex;align-items:center;justify-content:space-between}.p-treeselect-filter-container{position:relative;flex:1 1 auto}.p-treeselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-treeselect-filter-container .p-inputtext{width:100%}.p-treeselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative;margin-left:auto}.p-treeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-treeselect{display:flex}.p-treeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-treeselect-clearable{position:relative}}
|
|
5
|
+
`],encapsulation:2,changeDetection:0})}return t})(),Gi=(()=>{class t{static \u0275fac=function(g){return new(g||t)};static \u0275mod=Ce({type:t});static \u0275inj=ge({imports:[Y,tt,Be,W,ot,vt,we,Xe,Se,tt,W,ot]})}return t})();export{rA as a,Gi as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as p}from"./chunk-
|
|
1
|
+
import{e as p}from"./chunk-NVF24LK5.js";import{$ as c,ca as a,q as n}from"./chunk-HSFUKC7R.js";var f=(()=>{let t=class t{constructor(r){this.httpService=r}getInventoryAsyncLog(r){return this.httpService.post("api/Inventory/GetAsyncLog",r).pipe(n(e=>(e.hits=e.hits.map(i=>(i.DurationInSecond=parseInt(i._source?.Duration)/1e3,i)),e)))}getInventoryAsyncLogDetail(r){return this.httpService.post("api/Inventory/GetAsyncLogDetail",{ID:r})}};t.\u0275fac=function(e){return new(e||t)(a(p))},t.\u0275prov=c({token:t,factory:t.\u0275fac,providedIn:"root"});let o=t;return o})();export{f as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as Z}from"./chunk-
|
|
1
|
+
import{a as Z}from"./chunk-3ZQBMP7R.js";import{t as L,u as V}from"./chunk-CTKEWRX4.js";import{y as z}from"./chunk-O5MOPAT5.js";import{c as j}from"./chunk-X4WLRMDP.js";import{$a as r,Dc as D,Ha as u,Hb as I,Hc as U,Ia as o,Ib as g,Ja as P,Jb as _,Kb as M,Lb as O,Qb as E,Sb as C,Za as m,_a as f,bc as F,ga as x,lb as l,mb as c,nb as s,oa as b,ob as h,pa as y,pb as v,rb as w,tc as T,ub as S,vc as N,wb as p,wc as k}from"./chunk-HSFUKC7R.js";var $=e=>({"border-bottom-0":e}),R=e=>({"border-bottom":e});function q(e,a){if(e&1){let t=w();h(0),l(1,"img",14),S("click",function(i){b(t);let d=p();return y(d.onZoomImage(i))}),c(),v()}if(e&2){let t=p();o(),r("ngSrc",t.image)("fill",!0)}}function A(e,a){e&1&&s(0,"img",15),e&2&&r("fill",!0)}function G(e,a){if(e&1&&(l(0,"div",16),s(1,"i",17),l(2,"span"),g(3),c()()),e&2){let t=p();o(3),_(t.code)}}function H(e,a){if(e&1&&(h(0),l(1,"div",27)(2,"div",28),g(3),c(),l(4,"div")(5,"a",29),s(6,"i",30),c()()(),v()),e&2){let t=a.$implicit,n=a.index,i=p().$implicit;o(),r("ngClass",C(4,R,n!==(i==null?null:i.Variants.length)-1)),o(2),O(" ",t.ProductName," - ",t.Name," "),o(2),r("href",t.URL,u)}}function J(e,a){if(e&1&&(l(0,"div",18)(1,"h2",19)(2,"button",20)(3,"div",21),s(4,"img",22),l(5,"span",23),g(6),c()()()(),l(7,"div",24)(8,"div",25),m(9,H,7,6,"ng-container",26),c()()()),e&2){let t=a.$implicit,n=a.index,i=p();r("ngClass",C(10,$,i.channels.length-1==n)),o(),r("id","heading"+n+i.id),o(),f("data-bs-target","#collapse"+n+i.id)("aria-controls","#collapse"+n+i.id),o(2),r("src",i.getChannelLogo(t.TypeID),u),o(),r("matTooltip",(t==null||t.ChannelName==null?null:t.ChannelName.length)>30?t.ChannelName:""),o(),_(t.ChannelName),o(),r("id","collapse"+n+i.id),f("aria-labelledby","heading"+n+i.id),o(2),r("ngForOf",t.Variants)}}var ie=(()=>{let a=class a{constructor(n){this.biggerPictureService=n}getChannelLogo(n){return j.getChannelLogoByTypeId(n)}onZoomImage(n){this.biggerPictureService.openBiggerPicture(n,this.imageForZoom)}};a.\u0275fac=function(i){return new(i||a)(P(Z))},a.\u0275cmp=x({type:a,selectors:[["app-duplicate-product-card"]],inputs:{image:"image",imageForZoom:"imageForZoom",title:"title",code:"code",channels:"channels",id:"id"},standalone:!0,features:[E],decls:16,vars:5,consts:[["elsePic",""],[1,"card"],[1,"card-body","py-6"],[1,"row"],[1,"col-4"],[1,"productUpload_defaultSize","me-2","image-upload"],[1,"imgContainer"],[4,"ngIf","ngIfElse"],[1,"col-8","d-inline-block","justify-content-between","gx-0",2,"padding-left","0px"],[1,"itemTitle"],["class","description",4,"ngIf"],[1,"card-footer",2,"padding-left","0px","padding-right","0px"],["id","accordionParent",1,"accordion","accordion-flush"],["class","accordion-item border-start-0 border-end-0",3,"ngClass",4,"ngFor","ngForOf"],[1,"rounded","imgUpload","float-left","cursor-pointer",3,"click","ngSrc","fill"],["ngSrc","//res.cloudinary.com/pos/image/upload/w_110/POS/Images/Icon/products_thumb.png",1,"rounded","float-left","imgUpload",3,"fill"],[1,"description"],[1,"fa","fa-barcode","me-2"],[1,"accordion-item","border-start-0","border-end-0",3,"ngClass"],[1,"accordion-header",3,"id"],["type","button","data-bs-toggle","collapse","aria-expanded","true",1,"accordion-button","collapsed",2,"height","40px"],[1,"d-flex","align-items-center","justify-content-start","w-100"],["alt","",1,"channel-logo",3,"src"],[1,"fs-4","ps-4","text-ellipsis",2,"max-width","13vw",3,"matTooltip"],["data-bs-parent","#accordionParent",1,"accordion-collapse","collapse",3,"id"],[1,"accordion-body",2,"padding-top","0px","padding-bottom","0px"],[4,"ngFor","ngForOf"],[1,"d-flex","justify-content-between","align-items-center","py-4",3,"ngClass"],[1,"text-ellipsis"],["target","_blank",1,"text-secondary",3,"href"],[1,"fa-solid","fa-arrow-up-right-from-square","external-link-custom"]],template:function(i,d){if(i&1&&(l(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6),m(6,q,2,2,"ng-container",7)(7,A,1,1,"ng-template",null,0,F),c()()(),l(9,"div",8)(10,"h4",9),g(11),c(),m(12,G,4,1,"div",10),c()()(),l(13,"div",11)(14,"div",12),m(15,J,10,12,"div",13),c()()()),i&2){let B=I(8);o(6),r("ngIf",d.image)("ngIfElse",B),o(5),M(" ",d.title," "),o(),r("ngIf",d.code),o(3),r("ngForOf",d.channels)}},dependencies:[D,T,N,k,z,V,L,U],styles:[`.productUpload_defaultSize[_ngcontent-%COMP%]{max-width:100px!important;max-height:100px!important;width:auto!important;height:auto!important}.image-upload[_ngcontent-%COMP%]{position:relative}.imgContainer[_ngcontent-%COMP%]{width:100%;height:100px}.imgUpload[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:scale-down}.channel-logo[_ngcontent-%COMP%]{width:18px;height:18px}.accordion-button[_ngcontent-%COMP%]{background-color:#ededed69!important}.accordion-button[_ngcontent-%COMP%]:not(.collapsed){background-color:#ededed69!important;color:#333}.accordion-button[_ngcontent-%COMP%]:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.accordion-button[_ngcontent-%COMP%]:focus{box-shadow:none!important}.card[_ngcontent-%COMP%]{margin-bottom:0!important}`]});let e=a;return e})();export{ie as a};
|