PageSourceSearch

https://akkoniq-web.web.app/chunk-9os7Vend2.js

js akkoniq-web.web.app collected 2026-10-03 12:16:23 UTC 14,180 bytes, 1 lines download raw bytes

1import{At as Ze$1,Cn as ly,Wn as ur,at as Rt,cn as gy,h as Ei,pn as iy,q as Nc,yt as Vx}from"./chunk-DF3w6kHy.js";import{At as Qm,Gt as T,J as JV,Lr as n_,Mn as bw,Nr as mu,Nt as RD,Oi as ww,Or as ls,Ot as Pw,Pn as cf,Ri as yb,Rt as Sb,St as Nw,Ti as wm,V as Ib,Wt as Sw,Xt as Tm,Yr as qI,Zn as em,ar as gc,dt as MC,er as f_,f as CC,g as Cm,gi as vb,hn as Zm,ln as Xg,si as tm,st as Lg,tt as Ke$1,x as Dm,xn as af,xr as kg,yn as _w}from"./chunk-_fV1tyTy.js";import{V as Zr,lt as n0,s as Hs}from"./chunk-CcnACUVT.js";import"./chunk-a8GorKY_.js";import"./chunk-BcT1cO3W.js";import"./chunk-CBRxziiv.js";import"./chunk-D4099GZ6.js";import"./chunk-BlJt4aAj.js";import"./chunk-BTbRCfLL.js";import{c as Rn}from"./chunk-ZMHLakvV.js";import{i as G}from"./chunk-DzRhP6XP.js";import{h as Oa}from"./chunk-B3z6Q9_E.js";import"./chunk-DQB7aHPn.js";import"./chunk-BKFUMIo1.js";import{r as pe}from"./chunk-DsEc6icP.js";import{n as ee}from"./chunk-BJ3EJ7dn.js";import"./chunk-T8rP0Qdo.js";import"./chunk-okNM0rDn.js";import{i as _t,r as St}from"./chunk-Bszx8yH2.js";import"./chunk-QxxllaMq.js";import"./chunk-DeZn7ZLr.js";import"./chunk-CfBKeYha.js";import"./chunk-zvQj0QEi.js";import{l as hr}from"./chunk-CmVqUbyk.js";import"./chunk-Q3jJF_tb.js";import"./chunk-CgsK6YS02.js";import"./chunk-MGpd6H6X2.js";import"./chunk-CvenkfAY2.js";import"./chunk-DQTdIlzc2.js";import"./chunk-CKAj7eP82.js";import"./chunk-LlNgzsiH2.js";import"./chunk-C1fI3aoN2.js";import"./chunk-BqW3oK1b2.js";import"./chunk-BhWke7Z_2.js";import"./chunk-KoJ1jYc62.js";import"./chunk-BDzRkGtR2.js";import{n as Jn}from"./chunk-AqE9X9Ru2.js";import{M as S,N as d}from"./main-GKHQLQOL.js";import"./chunk-DvPvWwsk2.js";import"./chunk-CRbis6P7.js";import{t as v}from"./chunk-BabsSXE92.js";import"./chunk-BpE6k5s62.js";import{r as bn}from"./chunk-DaqrTgwt2.js";import{t as ui}from"./chunk-BnI4N7Vw2.js";import"./chunk-BLO6E9p62.js";import"./chunk-CMP-7TyH2.js";import{n as Et,s as ge}from"./chunk-Clnh911C2.js";import{t as v$1}from"./chunk-Bq6XMWA32.js";import{n as Ke$2}from"./chunk-thDb5lF02.js";import{n as Ti,r as yt,t as Li}from"./chunk-DExJCIUQ2.js";import"./chunk-DB5VuCDy.js";import"./chunk-CbDLsr4N.js";import{c as ki,f as wi,i as Q}from"./chunk-CD0CNW8J.js";import{n as Z,t as L}from"./chunk-gu5KBqJ4.js";import{n as x,t as w}from"./chunk-D0svSfIl.js";import{n as ms,t as Ri}from"./chunk-D8PZ1nBD.js";import{i as L$1,r as I}from"./chunk-DSpnz8Gs.js";var Ue=i=>ur(i)?{path:i}:i;var Ke=i=>iy(i.path.split(`/`));var ke=(()=>{class i{downloadConfig=JV(null,{alias:`aqDownload`});href=null;download=null;#e=T(hr);constructor(){gc(()=>{let e=this.downloadConfig();if(!e){this.href=null,this.download=null;return}let n=Ue(e),t=this.#e.getSource(n.path);this.href=t.url,this.download=(n.filenameFactory??Ke)(t)})}static ɵfac=function(n){return new(n||i)};static ɵdir=MC({type:i,selectors:[[`a`,`aqDownload`,``]],hostVars:2,hostBindings:function(n,t){n&2&&Xg(`href`,t.href,qI)(`download`,t.download)},inputs:{downloadConfig:[1,`aqDownload`,`downloadConfig`]}})}return i})();var We=i=>({"fade-in":i});var qe=(i,s)=>s.value;var He=(i,s)=>s.node.id;function Ye(i,s){if(i&1&&(ls(0,`mat-option`,20),yb(1,3),mu()),i&2){let e=s.$implicit;em(`value`,e.value),RD(),Cm(e.name),vb(1)}}function Ze(i,s){if(i&1&&(ls(0,`mat-option`,20),yb(1,4),mu()),i&2){let e=s.$implicit;em(`value`,e.value),RD(),Cm(e.name),vb(1)}}function Je(i,s){if(i&1&&(ls(0,`li`),Dm(1,7),tm(2,`b`),Tm(),mu()),i&2){let e=Ib(2).$implicit;RD(2),Cm(e.node.aspectRatio),vb(1)}}function Qe(i,s){if(i&1&&(ls(0,`li`),Dm(1,8),tm(2,`b`),Tm(),mu()),i&2){let e=Ib(2).$implicit;RD(2),Cm(e.formats),vb(1)}}function et(i,s){if(i&1&&(ls(0,`li`),Dm(1,9),tm(2,`b`),Tm(),mu()),i&2){let e=Ib(2).$implicit;RD(2),Cm(e.sizes),vb(1)}}function tt(i,s){if(i&1){let e=Pw();ls(0,`mat-chip-option`,34),wm(`click`,function(){let t=af(e).$implicit;return cf(Ib(3).tagClick(t))}),yb(1,10),mu()}if(i&2){let e=s.$implicit;RD(),Cm(e),vb(1)}}function it(i,s){if(i&1){let e=Pw();ls(0,`div`,25)(1,`div`,26),tm(2,`aq-picture`,27),mu(),ls(3,`div`,28)(4,`div`,29)(5,`ul`)(6,`li`),Dm(7,5),tm(8,`b`),Tm(),mu(),ww(9,Je,3,1,`li`),ww(10,Qe,3,1,`li`),ww(11,et,3,1,`li`),mu()(),ls(12,`div`,30)(13,`a`,31),wm(`click`,function(){af(e);let t=Ib().$implicit;return cf(Ib().onDownload(t))}),yb(14,6),mu(),ls(15,`mat-chip-listbox`,32),Sw(16,tt,2,1,`mat-chip-option`,33,_w),mu()()()()}if(i&2){let e=Ib().$implicit;RD(2),em(`source`,e.source),RD(6),Cm(e.node.tags.join(`, `)),vb(7),RD(),bw(e.node.aspectRatio?9:-1),RD(),bw(e.formats?10:-1),RD(),bw(e.sizes?11:-1),RD(2),em(`aqDownload`,e.downloadConfig),RD(),Cm(e.downloadTitle),vb(14),RD(2),Nw(e.node.tags)}}
1function nt(i,s){if(i&1&&(ls(0,`mat-card`,22)(1,`div`,23,0),Lg(3,it,18,7,`div`,24),mu()()),i&2){let e=Sb(2);RD(3),em(`aqLazyLoad`,e)}}var ot=[{title:$localize`Images`,value:`0`,units:`sets`,icon:{source:`@vector/photo-camera.svg`,size:{width:`1.2em`}}},{title:$localize`Videos`,value:`0`,units:`sets`,icon:{source:`@vector/video-camera.svg`,size:{width:`1.2em`}}}];var Ve=(()=>{class i{kit=JV();filter=JV(void 0,{alias:`filter`});items=[];filteredItems=[];idFilter=[];tagFilter=[];isBusy;formats=[];sizes=[];tags=[];stats=ot;showInfo;showSketches;format;size;#e=T(S);#a=T(Oa);#l=T(Ri);#n;constructor(){this.isBusy=!0,this.#a.setPageToolbarStatus({items:this.stats}),this.#n=e=>gy(Vx(e.path,`image`),`/`,`-`),this.#l.getKitNodes(`default`).then(e=>{this.items=e.map(t=>new x(t,t.path.includes(`images/products`)?`hosting`:`auto`)),this.filteredItems=this.items,this.tags=ly(n0(this.items,t=>t.node.tags)).map(t=>({label:t}));let n=this.items.filter(t=>t.node.mediaSet).map(t=>t.node.mediaSet);this.formats=ly(Zr(n.map(t=>t.formats))).map(t=>({name:t.toUpperCase(),value:t})),this.sizes=ly(Zr(n.map(t=>t.sizes))).map(t=>({name:t.toString(),value:t})),this.format=Rt.Jpeg,this.size=900,this.#t(),this.#o(),this.#i(!1),this.isBusy=!1}),gc(()=>{let e=this.filter();e&&(this.tagFilter=e.map(n=>({label:n})),this.#t())})}onFormatChange(){this.#i()}onSizeChange(){this.#i()}onTagFilterChange(e){this.tagFilter=e,this.#t(),this.#e.addAction({action:d.MediaKitFilter,info:{filter:e.join(`, `)}})}tagClick(e){this.tagFilter.some(n=>n.label===e)||(this.tagFilter=this.tagFilter.concat({label:e}),this.#t(),this.#e.addAction({action:d.MediaKitFilter,info:{filter:e}}))}onDownload(e){this.#e.addAction({action:d.MediaKitDownload,info:{download:{nodeId:e.node.id,size:this.size,format:this.format}}})}#t(){if(Ei(this.items))return;let e=this.items.filter(n=>Ei(this.idFilter)||this.idFilter.includes(n.node.id));if(!Ei(this.tagFilter)){let n=this.tagFilter.filter(o=>!o.label.startsWith(`-`)).map(o=>o.label),t=this.tagFilter.filter(o=>o.label.startsWith(`-`)).map(o=>o.label.substr(1));e=e.filter(o=>n.every(r=>o.node.tags.includes(r))&&!t.some(r=>o.node.tags.includes(r))),this.filteredItems=e}this.#o()}#o(){this.stats[0].value=this.filteredItems.filter(e=>e.node.mediaCategory===Ze$1.Image).length.toString(),this.stats[1].value=this.filteredItems.filter(e=>e.node.mediaCategory===Ze$1.Video).length.toString()}#i(e=!0){this.items.filter(n=>!e||n.node.mediaSet).forEach(n=>this.#_(n))}#_(e){let n,t=this.size,o=this.format;e.downloadTitle=`Download`,e.node.mediaSet?(e.node.mediaSet.sizes.includes(t)||(t=e.node.mediaSet.sizes.find((r,L)=>r>=t||L===e.node.mediaSet.sizes.length-1)),e.node.mediaSet.formats.includes(o)||(o=e.node.mediaSet.formats[0]),n=`${e.source.source}/${t}.${o}`,e.downloadTitle=`${e.downloadTitle} (${o}, ${t})`):n=e.node.path,e.downloadConfig={path:n,filenameFactory:this.#n}}static ɵfac=function(n){return new(n||i)};static ɵcmp=CC({type:i,selectors:[[`aq-media-list`]],inputs:{kit:[1,`kit`],filter:[1,`filter`]},decls:22,vars:7,consts:()=>{let e;e=$localize`:␟ff57f0a347b3f9b4c8297c04e2dd448d0b5ae2a6␟7727158032955560110:Filter items by tags. Prefix tags with '-' to apply exclusive filtering, e.g. the '-lifestyle' tag will exclude all lifestyle images from the results.`;let n;n=$localize`:␟5ca707824ab93066c7d9b44e1b8bf216725c2c22␟8829497237648100098:Filter`;let t;t=$localize`:␟dc03e76a4090b51756792522b1ff76e5d45cbc17␟3280222549850150307:Download settings`;let o;o=$localize`:␟7722a92a1fc887570b4f4d8a7bb916f067f32028␟7513076467032912668:Format`;let r;r=$localize`:␟7faaaa08f56427999f3be41df1093ce4089bbd75␟45739481977493163:Size`;let L;L=$localize`:␟a10afe120c537f6138981328bf820b2cf317458b␟3510517251393983283:${`�0�`}:INTERPOLATION:`;let X;X=$localize`:␟a10afe120c537f6138981328bf820b2cf317458b␟3510517251393983283:${`�0�`}:INTERPOLATION:`;let U;U=$localize`:␟50dc5d5ddcd921595b46522c104ca2b702d4f191␟1220221502582147803:${`�#8�`}:START_BOLD_TEXT:TAGS${`�/#8�`}:CLOSE_BOLD_TEXT: ${`�0�`}:INTERPOLATION:`;let G;G=$localize`:␟421b848b27f2976d7430ed577c9c0d652cdb112b␟6057336649412165887:${`�0�`}:INTERPOLATION:`;let k;k=$localize`:␟868bb983f9c681870ee17be9536fd526b07c7cdf␟5863662684018531080:${`�#2�`}:START_BOLD_TEXT:ASPECT RATIO${`�/#2�`}:CLOSE_BOLD_TEXT: ${`�0�`}:INTERPOLATION: `;let q;q=$localize`:␟b20928e61da50fa055e75acbf40c70ab8ba0bbc6␟3638083506501175788:${`�#2�`}:START_BOLD_TEXT:FORMATS${`�/#2�`}:CLOSE_BOLD_TEXT: ${`�0�`}:INTERPOLATION: `;let V;V=$localize`:␟5d2c516e2da129ce5e6d7cf718e42db6f3dc3e01␟8330422153110802493:${`�#2�`}:START_BOLD_TEXT:SIZES${`�/#2�`}:CLOSE_BOLD_TEXT: ${`�0�`}:INTERPOLATION: `;let j;return j=$localize`:␟a825720974d9bbc47b63eb97ce3f7b8e3731b279␟1042072692826030162:${`�0�`}:INTERPOLATION:`,[[`container`,``],o,r,L,X,U,G,k,q,V,j,[`mode`,`indeterminate`,3,`ngClass`],[`appearance`,`outlined`,1,`control-panel`,`grid`,2,`grid-template-columns`,`50% 25% 25%`],[`aqTooltip`,e,1,`section`,`flex`,`flex-row`],[`source`,`@vector/filter.svg`,`size`,`32px`],[`label`,n,1,`flex-1`,3,`selectionChange`,`items`,`selected`],[`aqTooltip`,t,1,`section`,`flex`,`flex-row`,`gap-2.5`],[`source`,`@vector/download-from-cloud.svg`,`size`,`40px`],[`appearance`,`outline`],[3,`valueChange`,`selectionChange`,`value`],[3,`value`],[1,`flex`,`flex-row`,`flex-wrap`],[`appearance`,`outlined`,`unpadded`,``,1,`item`,`flex-1`],[1,`h-full`],[`class`,`h-full flex flex-col justify-between items-center`,4,`aqLazyLoad`],[1,`h-full`,`flex`,`flex-col`,`justify-between`,`items-center`],[1,`picture-container`,`flex-1`],[`controls`,`auto`,3,`source`],[1,`footer`],[1,`info`],[1,`controls`,`absolute-cover`,`flex`,`flex-col`,`justify-around`,`items-center`],[`mat-stroked-button`,``,1,`download-button`,3,`click`,`aqDownload`],[1,`tags`],[1,`mat-chip-micro`,`action`],[1,`mat-chip-micro`,`action`,3,`click`]]},template:function(n,t){n&1&&(tm(0,`mat-progress-bar`,11),ls(1,`mat-card`,12)(2,`div`,13),tm(3,`aq-icon`,14),ls(4,`aq-multi-select`,15),wm(`selectionChange`,function(r){return t.onTagFilterChange(r)}),mu()(),ls(5,`div`,16),tm(6,`aq-icon`,17),ls(7,`mat-form-field`,18)(8,`mat-label`),yb(9,1),mu(),ls(10,`mat-select`,19),Zm(`valueChange`,function(r){return n_(t.format,r)||(t.format=r),r}),wm(`selectionChange`,function(){return t.onFormatChange()}),Sw(11,Ye,2,2,`mat-option`,20,qe),mu()(),ls(13,`mat-form-field`,18)(14,`mat-label`),yb(15,2),mu(),ls(16,`mat-select`,19),Zm(`valueChange`,function(r){return n_(t.size,r)||(t.size=r),r}),wm(`selectionChange`,function(){return t.onSizeChange()}),Sw(17,Ze,2,2,`mat-option`,20,qe),mu()()()(),ls(19,`div`,21),Sw(20,nt,4,1,`mat-card`,22,He),mu()),n&2&&(em(`ngClass`,f_(5,We,t.isBusy)),RD(4),em(`items`,t.tags)(`selected`,t.tagFilter),RD(6),Qm(`value`,t.format),RD(),Nw(t.formats),RD(5),Qm(`value`,t.size),RD(),Nw(t.sizes),RD(3),Nw(t.filteredItems))},dependencies:[Hs,Rn,_t,St,yt,Li,Ti,L$1,I,Ke$2,Et,ge,v$1,bn,wi,ki,Q,ms,Z,L,w,ke,pe,ui,ee,Jn],styles:[`[_nghost-%COMP%]{display:block;margin-top:80px}
1.mat-mdc-progress-bar[_ngcontent-%COMP%]{width:calc(100% - 20px);margin:10px;opacity:0}.stats[_ngcontent-%COMP%]{position:absolute;bottom:20px;inset-inline-start:20px;opacity:.5;max-width:18em}.control-panel[_ngcontent-%COMP%]{display:grid;max-height:110px;margin:0 10px}.control-panel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-inline-end:5%}.control-panel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]   aq-icon[_ngcontent-%COMP%]{align-self:center;opacity:.6;margin-inline-start:-10px;margin-inline-end:10px}.item[_ngcontent-%COMP%]{margin:10px;min-width:300px;max-width:400px;background:#f4f4f4}.item[_ngcontent-%COMP%]   .picture-container[_ngcontent-%COMP%]{display:flex;justify-content:center;z-index:3;width:100%;background-color:#fff}.item[_ngcontent-%COMP%]   aq-picture[_ngcontent-%COMP%]{min-width:240px;margin:16px}.item[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]{position:relative;width:100%}.item[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]:hover   .controls[_ngcontent-%COMP%]{transform:none}.item[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:7em;padding:16px}.item[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0;padding:0 16px;list-style:none}.item[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:.2em}.item[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]{z-index:2;padding:16px 10%;transform:translateY(-100%);transition:transform ease-in .2s;background:#fff}.item[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-inline-end:1em}.item[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .download-button[_ngcontent-%COMP%]{width:100%}`]})}return i})();var je=`Media Kit`;var ei=(()=>{class i extends v{filter=Ke$1([]);staticTitle=je;#e=T(G);constructor(){super(),this.initializePage({screen:`dashboard-dynamic`,descriptor:i});let e=this.#e.snapshot.queryParamMap.get(`filter`);this.filter.set(e?Nc(e,`,`):[])}onPageReady(){this.layout.setPageToolbarHeader({title:je,image:{source:`perm_media`,alt:`Media Kit icon`}})}static ɵfac=function(n){return new(n||i)};static ɵcmp=CC({type:i,selectors:[[`ng-component`]],features:[kg],decls:1,vars:1,consts:[[3,`filter`]],template:function(n,t){n&1&&tm(0,`aq-media-list`,0),n&2&&em(`filter`,t.filter())},dependencies:[Ve],encapsulation:2})}return i})();export{ei as MediaKitPageComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.