@file-viewer/vue3 3.0.0 → 3.0.2

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.
@@ -1 +1 @@
1
- const am=g;function b(){const aC=['image/svg+xml','aria-haspopup','12438480NcvEPN','apply','alt','call','image/webp','image/jxl','scale','image/bmp','12994992WwcATW','scale-down','aria-hidden','registerThumbnailAdapter','clientWidth','setAttribute','remove','naturalWidth','target','click','trim','append','2rPBIXH','max','47442sEIHde','107720fFXurO','button','image-stage','282478cUskZr','string','false','2574903BSFTKl','removeEventListener','mode','addEventListener','round','naturalHeight','Escape','toLowerCase','unmeasurable','image/png','preventDefault','image/avif','role','onerror','image-not-ready','HEIC/HEIF\x20image\x20conversion\x20has\x20moved\x20out\x20of\x20@file-viewer/core.\x20Install\x20and\x20pass\x20@file-viewer/renderer-image,\x20or\x20use\x20@file-viewer/preset-all.','510JOhWVf','dataset','createElement','image-lightbox','div','open','522619hkXsVF','152cDpKYn','true'];b=function(){return aC;};return b();}(function(y,z){const al=g,A=y();while(!![]){try{const B=parseInt(al(0x8e))/0x1+parseInt(al(0xa7))/0x2*(-parseInt(al(0xb0))/0x3)+-parseInt(al(0xaa))/0x4+-parseInt(al(0x88))/0x5*(parseInt(al(0xa9))/0x6)+-parseInt(al(0xad))/0x7*(parseInt(al(0x8f))/0x8)+parseInt(al(0x9b))/0x9+parseInt(al(0x93))/0xa;if(B===z)break;else A['push'](A['shift']());}catch(C){A['push'](A['shift']());}}}(b,0xb790c));import{t as j}from'./asyncToGenerator.js';import{d as k,i as q,p as v,r as w}from'./fit.js';function g(a,c){a=a-0x7e;const d=b();let e=d[a];return e;}import{t as x}from'./messages.js';var o={'avif':am(0x83),'bmp':am(0x9a),'gif':'image/gif','heic':'image/heic','heif':'image/heif','ico':'image/x-icon','jxl':am(0x98),'jpg':'image/jpeg','jpeg':'image/jpeg','png':am(0x81),'svg':am(0x91),'tif':'image/tiff','tiff':'image/tiff','webp':am(0x97)},s='\x0a.image-viewer{position:relative;width:100%;height:100%;overflow:auto;background:var(--file-viewer-render-surface-background,#eef1f4);box-sizing:border-box}\x0a.image-stage{min-width:100%;min-height:100%;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}\x0a.image-stage\x20img{display:block;width:auto;max-width:none;margin:0\x20auto;border:0;box-shadow:0\x2018px\x2048px\x20rgba(15,23,42,.16);background:#fff;cursor:zoom-in}\x0a.image-stage\x20img:focus-visible{outline:3px\x20solid\x20#2563eb;outline-offset:4px}\x0a.image-lightbox{position:absolute;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:40px;background:rgba(15,23,42,.9);box-sizing:border-box;opacity:0;visibility:hidden;pointer-events:none;transition:opacity\x20.18s\x20ease,visibility\x200s\x20linear\x20.18s}\x0a.image-lightbox[data-open=\x27true\x27]{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}\x0a.image-lightbox\x20img{display:block;max-width:100%;max-height:100%;object-fit:contain;background:#fff;box-shadow:0\x2030px\x2080px\x20rgba(0,0,0,.4);cursor:default;transform:scale(.985);transition:transform\x20.18s\x20ease}\x0a.image-lightbox[data-open=\x27true\x27]\x20img{transform:scale(1)}\x0a.image-lightbox\x20button{position:absolute;top:16px;right:16px;display:grid;width:40px;height:40px;place-items:center;padding:0;border:1px\x20solid\x20rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.96);color:#172033;font:400\x2027px/1\x20Arial,sans-serif;cursor:pointer;box-shadow:0\x2012px\x2028px\x20rgba(0,0,0,.24);transition:background-color\x20.14s\x20ease,transform\x20.14s\x20ease}\x0a.image-lightbox\x20button:hover{background:#fff;transform:scale(1.04)}\x0a.image-lightbox\x20button:focus-visible{outline:3px\x20solid\x20#60a5fa;outline-offset:2px}\x0a[data-viewer-theme=\x27dark\x27]\x20.image-viewer{background:var(--file-viewer-render-surface-background,#101820)}\x0a@media\x20(prefers-color-scheme:dark){[data-viewer-theme=\x27system\x27]\x20.image-viewer{background:var(--file-viewer-render-surface-background,#101820)}}\x0a@media\x20(max-width:767px){.image-stage{padding:12px}.image-lightbox{padding:16px}.image-lightbox\x20button{top:12px;right:12px}}\x0a@media\x20(prefers-reduced-motion:reduce){.image-lightbox,.image-lightbox\x20img,.image-lightbox\x20button{transition:none}}\x0a',c=y=>{const an=am;let z=y[an(0x8a)]('style');return z['textContent']=s,z;},l=y=>o[(y||'')['trim']()['toLowerCase']()]||'image/*',u=(function(){var y=j(function*(z){return yield new Promise((A,B)=>{const ap=g;let C=new FileReader();C['onload']=D=>{const ao=g;var E;let F=(E=D['target'])==null?void 0x0:E['result'];if(typeof F==ao(0xae)){A(F);return;}B(Error('Unable\x20to\x20read\x20image\x20data\x20URL.'));},C[ap(0x85)]=()=>B(C['error']||Error('Unable\x20to\x20read\x20image\x20data\x20URL.')),C['readAsDataURL'](z);});});return function(z){return y['apply'](this,arguments);};}()),d=(function(){var y=j(function*(z,A){const aq=g;let B=(A||'')[aq(0xa5)]()[aq(0x7f)]();if(B==='heic'||B==='heif')throw Error(aq(0x87));return u(new Blob([z],{'type':l(B)}));});return function(z,A){const ar=g;return y[ar(0x94)](this,arguments);};}()),f=y=>Number(y['toFixed'](0x3)),p=(y,z,A)=>{const as=am;let B=y['createElement']('div');B['className']=as(0x8b),B['dataset'][as(0x8d)]='false',B['setAttribute'](as(0x84),'dialog'),B['setAttribute']('aria-modal','true'),B['setAttribute']('aria-hidden','true');let C=y['createElement']('img');C['alt']=A('image.lightbox.alt'),C['src']=z;let D=y['createElement']('button');D['type']=as(0xab),D[as(0xa0)]('aria-label',A('image.lightbox.close')),D['textContent']='×';let E=null,F=()=>{const at=as;B['dataset']['open']===at(0x90)&&(B['dataset']['open']=at(0xaf),B[at(0xa0)](at(0x9d),'true'),E!=null&&E['isConnected']&&E['focus']({'preventScroll':!0x0}),E=null);},G=H=>{const au=as;H['key']===au(0x7e)&&B[au(0x89)]['open']==='true'&&(H[au(0x82)](),F());};return D['addEventListener']('click',F),B['addEventListener']('click',H=>{const av=as;H[av(0xa3)]===B&&F();}),y[as(0xb3)]('keydown',G),B[as(0xa6)](C,D),{'element':B,'open'(H){E=H||(y['activeElement']instanceof HTMLElement?y['activeElement']:null),B['dataset']['open']='true',B['setAttribute']('aria-hidden','false'),D['focus']({'preventScroll':!0x0});},'destroy'(){const aw=as;D['removeEventListener']('click',F),y[aw(0xb1)]('keydown',G),B[aw(0xa1)]();}};};function m(y,z,A,B){return h['apply'](this,arguments);}function h(){return h=j(function*(z,B,G,H){const ax=g;var J,K;let Q=x(H==null?void 0x0:H['options']),R=B['ownerDocument']||document,U=yield d(z,G);(J=H==null?void 0x0:H['registerThumbnailAdapter'])==null||J['call'](H,{'capture':()=>new Blob([z],{'type':l(G)})});let V=0x1,W=0x1,X=0x1,Y=0x0,Z=q(),a0=R['createElement']('div');a0['className']='image-viewer',a0['dataset']['viewerZoomProvider']='image';let a1=R['createElement'](ax(0x8c));a1['className']=ax(0xac);let a2=R['createElement']('img');a2[ax(0x95)]=Q('image.alt'),a2['src']=U,a2['tabIndex']=0x0,a2['setAttribute']('role',ax(0xab)),a2['setAttribute'](ax(0x92),'dialog'),a1['append'](a2),a0['append'](a1);let a3=p(R,U,Q),a4=()=>a3['open'](a2),a5=ae=>{(ae['key']==='Enter'||ae['key']==='\x20')&&(ae['preventDefault'](),a3['open'](a2));};a2[ax(0xb3)](ax(0xa4),a4),a2['addEventListener']('keydown',a5);let a6=()=>Math['min'](0.1,W||0.1),a7=ae=>{let af=a6();return Math['min'](0x5,Math['max'](af,f(ae)));},a8=()=>{const ay=ax;let ae=a2[ay(0xa2)]||0x0,af=a2[ay(0xb5)]||0x0;if(!ae||!af)return 0x1;let ag=Math['max']((a0[ay(0x9f)]||0x0)-0x30,0x1),ah=Math['max']((a0['clientHeight']||Y||0x0)-0x30,0x1);return Math['min'](0x1,ag/ae,ah/af);},a9=()=>{const az=ax;if(W=a8(),X=a7(W*V),a2['naturalWidth']&&a2['naturalHeight']){a2['style']['width']=Math[az(0xa8)](0x1,Math[az(0xb4)](a2[az(0xa2)]*X))+'px',a2['style']['height']=Math['max'](0x1,Math['round'](a2['naturalHeight']*X))+'px';return;}a2['style']['width']='auto',a2['style']['height']=Y>0x0?Math[az(0xa8)](0x1,Math[az(0xb4)](Y*V))+'px':V*0x64+'%';},aa=()=>{Y=a0['clientHeight']||0x0,a9(),Z['emit']();},ab=new ResizeObserver(aa);ab['observe'](a0),a2[ax(0xb3)]('load',aa);let ac=()=>({'scale':X,'label':Math[ax(0xb4)](X*0x64)+'%','canZoomIn':X<0x5,'canZoomOut':X>a6(),'canReset':Math['abs'](V-0x1)>0.001,'minScale':a6(),'maxScale':0x5}),ad=ae=>(V=a7(ae)/Math['max'](W,0.001),a9(),Z['emit'](),ac());return k(a0,{'zoomIn':()=>ad(X+0.15),'zoomOut':()=>ad(X-0.15),'resetZoom':()=>(V=0x1,a9(),Z['emit'](),ac()),'setZoom':ad,'fit':ae=>{const aA=ax;var af,ag;let ah=a2[aA(0xa2)]||0x0,ai=a2['naturalHeight']||0x0;if(!ah||!ai)return{'applied':!0x1,'mode':ae['mode'],'resize':ae['resize'],'source':ae['source'],'reason':aA(0x86),'provider':'zoom'};let aj=w({'mode':ae[aA(0xb2)]==='auto'?aA(0x9c):ae[aA(0xb2)],'viewportWidth':Math['max'](0x1,ae['viewportWidth']||a0['clientWidth']||0x0),'viewportHeight':Math['max'](0x1,ae['viewportHeight']||a0['clientHeight']||Y||0x0),'contentWidth':ah,'contentHeight':ai,'currentScale':X,'minScale':(af=ae['minScale'])==null?a6():af,'maxScale':(ag=ae['maxScale'])==null?0x5:ag});if(!aj)return{'applied':!0x1,'mode':ae['mode'],'resize':ae['resize'],'source':ae['source'],'reason':aA(0x80),'provider':'zoom'};let ak=ad(aj);return{'applied':!0x0,'mode':ae['mode'],'resize':ae['resize'],'scale':ak[aA(0x99)],'source':ae['source'],'provider':'zoom'};},'getState':ac,'subscribe':Z['subscribe']}),B['replaceChildren'](c(R),a0),(((K=H==null?void 0x0:H['surface'])==null?void 0x0:K['shadowRoot'])||B)['append'](a3['element']),aa(),{'$el':B,'unmount'(){const aB=ax;var ae;(ae=H==null?void 0x0:H[aB(0x9e)])==null||ae[aB(0x96)](H,null),v(a0),ab['disconnect'](),a2[aB(0xb1)]('load',aa),a2['removeEventListener']('click',a4),a2['removeEventListener']('keydown',a5),a3['destroy'](),B['replaceChildren']();}};}),h['apply'](this,arguments);}export{m as default};
1
+ const an=g;(function(x,y){const am=g,z=x();while(!![]){try{const A=parseInt(am(0x139))/0x1+parseInt(am(0x114))/0x2*(-parseInt(am(0x11c))/0x3)+parseInt(am(0x127))/0x4+-parseInt(am(0x125))/0x5*(-parseInt(am(0x122))/0x6)+-parseInt(am(0x12f))/0x7*(parseInt(am(0x112))/0x8)+parseInt(am(0x110))/0x9*(parseInt(am(0x13b))/0xa)+parseInt(am(0x136))/0xb*(-parseInt(am(0x131))/0xc);if(A===y)break;else z['push'](z['shift']());}catch(B){z['push'](z['shift']());}}}(b,0xedebb));import{t as j}from'./asyncToGenerator.js';function g(a,c){a=a-0x10d;const d=b();let e=d[a];return e;}function b(){const aD=['tabIndex','img','style','observe','image.lightbox.close','dialog','1939LGedLZ','trim','5409708FQLQFs','image-stage','destroy','preventDefault','open','11lgSUKL','createElement','alt','496793gNqDAZ','viewportWidth','6070AtIsBC','setAttribute','auto','min','click','clientHeight','key','width','apply','11241KKVzGA','ownerDocument','9512IyJRCo','image','6KPlBFZ','scale','true','call','type','emit','image/tiff','scale-down','1762647itlutJ','round','Unable\x20to\x20read\x20image\x20data\x20URL.','aria-hidden','removeEventListener','src','414UzgnaB','dataset','zoom','48770iBZcxE','naturalHeight','6357480wugSnO','onload'];b=function(){return aD;};return b();}import{f as k,i as q,r,u as v}from'./fit.js';import{t as w}from'./messages.js';var o={'avif':'image/avif','bmp':'image/bmp','gif':'image/gif','heic':'image/heic','heif':'image/heif','ico':'image/x-icon','jxl':'image/jxl','jpg':'image/jpeg','jpeg':'image/jpeg','png':'image/png','svg':'image/svg+xml','tif':'image/tiff','tiff':an(0x11a),'webp':'image/webp'},s='\x0a.image-viewer{position:relative;width:100%;height:100%;overflow:auto;background:var(--file-viewer-render-surface-background,#eef1f4);box-sizing:border-box}\x0a.image-stage{min-width:100%;min-height:100%;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}\x0a.image-stage\x20img{display:block;width:auto;max-width:none;margin:0\x20auto;border:0;box-shadow:0\x2018px\x2048px\x20rgba(15,23,42,.16);background:#fff;cursor:zoom-in}\x0a.image-stage\x20img:focus-visible{outline:3px\x20solid\x20#2563eb;outline-offset:4px}\x0a.image-lightbox{position:absolute;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:40px;background:rgba(15,23,42,.9);box-sizing:border-box;opacity:0;visibility:hidden;pointer-events:none;transition:opacity\x20.18s\x20ease,visibility\x200s\x20linear\x20.18s}\x0a.image-lightbox[data-open=\x27true\x27]{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}\x0a.image-lightbox\x20img{display:block;max-width:100%;max-height:100%;object-fit:contain;background:#fff;box-shadow:0\x2030px\x2080px\x20rgba(0,0,0,.4);cursor:default;transform:scale(.985);transition:transform\x20.18s\x20ease}\x0a.image-lightbox[data-open=\x27true\x27]\x20img{transform:scale(1)}\x0a.image-lightbox\x20button{position:absolute;top:16px;right:16px;display:grid;width:40px;height:40px;place-items:center;padding:0;border:1px\x20solid\x20rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.96);color:#172033;font:400\x2027px/1\x20Arial,sans-serif;cursor:pointer;box-shadow:0\x2012px\x2028px\x20rgba(0,0,0,.24);transition:background-color\x20.14s\x20ease,transform\x20.14s\x20ease}\x0a.image-lightbox\x20button:hover{background:#fff;transform:scale(1.04)}\x0a.image-lightbox\x20button:focus-visible{outline:3px\x20solid\x20#60a5fa;outline-offset:2px}\x0a[data-viewer-theme=\x27dark\x27]\x20.image-viewer{background:var(--file-viewer-render-surface-background,#101820)}\x0a@media\x20(prefers-color-scheme:dark){[data-viewer-theme=\x27system\x27]\x20.image-viewer{background:var(--file-viewer-render-surface-background,#101820)}}\x0a@media\x20(max-width:767px){.image-stage{padding:12px}.image-lightbox{padding:16px}.image-lightbox\x20button{top:12px;right:12px}}\x0a@media\x20(prefers-reduced-motion:reduce){.image-lightbox,.image-lightbox\x20img,.image-lightbox\x20button{transition:none}}\x0a',c=x=>{const ao=an;let y=x[ao(0x137)](ao(0x12b));return y['textContent']=s,y;},l=x=>o[(x||'')[an(0x130)]()['toLowerCase']()]||'image/*',u=(function(){var x=j(function*(y){return yield new Promise((z,A)=>{const ap=g;let B=new FileReader();B[ap(0x128)]=C=>{const aq=ap;var D;let E=(D=C['target'])==null?void 0x0:D['result'];if(typeof E=='string'){z(E);return;}A(Error(aq(0x11e)));},B['onerror']=()=>A(B['error']||Error('Unable\x20to\x20read\x20image\x20data\x20URL.')),B['readAsDataURL'](y);});});return function(y){const ar=g;return x[ar(0x10f)](this,arguments);};}()),d=(function(){var x=j(function*(y,z){let A=(z||'')['trim']()['toLowerCase']();if(A==='heic'||A==='heif')throw Error('HEIC/HEIF\x20image\x20conversion\x20has\x20moved\x20out\x20of\x20@file-viewer/core.\x20Install\x20and\x20pass\x20@file-viewer/renderer-image,\x20or\x20use\x20@file-viewer/preset-all.');return u(new Blob([y],{'type':l(A)}));});return function(y,z){return x['apply'](this,arguments);};}()),f=x=>Number(x['toFixed'](0x3)),p=(x,y,z)=>{const as=an;let A=x['createElement']('div');A['className']='image-lightbox',A[as(0x123)]['open']='false',A['setAttribute']('role',as(0x12e)),A[as(0x13c)]('aria-modal',as(0x116)),A['setAttribute'](as(0x11f),'true');let B=x['createElement'](as(0x12a));B['alt']=z('image.lightbox.alt'),B[as(0x121)]=y;let C=x['createElement']('button');C[as(0x118)]='button',C['setAttribute']('aria-label',z(as(0x12d))),C['textContent']='×';let D=null,E=()=>{const at=as;A['dataset'][at(0x135)]==='true'&&(A['dataset']['open']='false',A['setAttribute']('aria-hidden','true'),D!=null&&D['isConnected']&&D['focus']({'preventScroll':!0x0}),D=null);},F=G=>{const au=as;G['key']==='Escape'&&A['dataset']['open']==='true'&&(G[au(0x134)](),E());};return C['addEventListener'](as(0x13f),E),A['addEventListener'](as(0x13f),G=>{G['target']===A&&E();}),x['addEventListener']('keydown',F),A['append'](B,C),{'element':A,'open'(G){const av=as;D=G||(x['activeElement']instanceof HTMLElement?x['activeElement']:null),A[av(0x123)]['open']='true',A['setAttribute']('aria-hidden','false'),C['focus']({'preventScroll':!0x0});},'destroy'(){C['removeEventListener']('click',E),x['removeEventListener']('keydown',F),A['remove']();}};};function m(x,y,z,A){return h['apply'](this,arguments);}function h(){return h=j(function*(z,B,G,H){const aw=g;var J,K;let Q=w(H==null?void 0x0:H['options']),R=B[aw(0x111)]||document,U=yield d(z,G);(J=H==null?void 0x0:H['registerThumbnailAdapter'])==null||J['call'](H,{'capture':()=>new Blob([z],{'type':l(G)})});let V=0x1,W=0x1,X=0x1,Y=0x0,Z=q(),a0=R['createElement']('div');a0['className']='image-viewer',a0['dataset']['viewerZoomProvider']=aw(0x113);let a1=R[aw(0x137)]('div');a1['className']=aw(0x132);let a2=R[aw(0x137)](aw(0x12a));a2[aw(0x138)]=Q('image.alt'),a2[aw(0x121)]=U,a2[aw(0x129)]=0x0,a2['setAttribute']('role','button'),a2['setAttribute']('aria-haspopup','dialog'),a1['append'](a2),a0['append'](a1);let a3=p(R,U,Q),a4=()=>a3['open'](a2),a5=ae=>{const ax=aw;(ae['key']==='Enter'||ae[ax(0x10d)]==='\x20')&&(ae[ax(0x134)](),a3['open'](a2));};a2['addEventListener'](aw(0x13f),a4),a2['addEventListener']('keydown',a5);let a6=()=>Math[aw(0x13e)](0.1,W||0.1),a7=ae=>{const ay=aw;let af=a6();return Math[ay(0x13e)](0x5,Math['max'](af,f(ae)));},a8=()=>{const az=aw;let ae=a2['naturalWidth']||0x0,af=a2['naturalHeight']||0x0;if(!ae||!af)return 0x1;let ag=Math['max']((a0['clientWidth']||0x0)-0x30,0x1),ah=Math['max']((a0[az(0x140)]||Y||0x0)-0x30,0x1);return Math['min'](0x1,ag/ae,ah/af);},a9=()=>{const aA=aw;if(W=a8(),X=a7(W*V),a2['naturalWidth']&&a2['naturalHeight']){a2[aA(0x12b)]['width']=Math['max'](0x1,Math['round'](a2['naturalWidth']*X))+'px',a2['style']['height']=Math['max'](0x1,Math['round'](a2['naturalHeight']*X))+'px';return;}a2['style'][aA(0x10e)]=aA(0x13d),a2['style']['height']=Y>0x0?Math['max'](0x1,Math[aA(0x11d)](Y*V))+'px':V*0x64+'%';},aa=()=>{Y=a0['clientHeight']||0x0,a9(),Z['emit']();},ab=new ResizeObserver(aa);ab[aw(0x12c)](a0),a2['addEventListener']('load',aa);let ac=()=>({'scale':X,'label':Math[aw(0x11d)](X*0x64)+'%','canZoomIn':X<0x5,'canZoomOut':X>a6(),'canReset':Math['abs'](V-0x1)>0.001,'minScale':a6(),'maxScale':0x5}),ad=ae=>(V=a7(ae)/Math['max'](W,0.001),a9(),Z['emit'](),ac());return v(a0,{'zoomIn':()=>ad(X+0.15),'zoomOut':()=>ad(X-0.15),'resetZoom':()=>(V=0x1,a9(),Z[aw(0x119)](),ac()),'setZoom':ad,'fit':ae=>{const aB=aw;var af,ag;let ah=a2['naturalWidth']||0x0,ai=a2[aB(0x126)]||0x0;if(!ah||!ai)return{'applied':!0x1,'mode':ae['mode'],'resize':ae['resize'],'source':ae['source'],'reason':'image-not-ready','provider':aB(0x124)};let aj=ae['mode']==='auto'?aB(0x11b):ae['mode'],ak=r({'mode':aj,'viewportWidth':Math['max'](0x1,ae[aB(0x13a)]||a0['clientWidth']||0x0),'viewportHeight':Math['max'](0x1,ae['viewportHeight']||a0['clientHeight']||Y||0x0),'contentWidth':ah,'contentHeight':ai,'currentScale':X,'minScale':(af=ae['minScale'])==null?a6():af,'maxScale':(ag=ae['maxScale'])==null?0x5:ag});if(!ak)return{'applied':!0x1,'mode':ae['mode'],'resize':ae['resize'],'source':ae['source'],'reason':'unmeasurable','provider':'zoom'};let al=ad(ak);return{'applied':!0x0,'mode':ae['mode'],'resize':ae['resize'],'scale':al[aB(0x115)],'source':ae['source'],'provider':'zoom'};},'getState':ac,'subscribe':Z['subscribe']}),B['replaceChildren'](c(R),a0),(((K=H==null?void 0x0:H['surface'])==null?void 0x0:K['shadowRoot'])||B)['append'](a3['element']),aa(),{'$el':B,'unmount'(){const aC=aw;var ae;(ae=H==null?void 0x0:H['registerThumbnailAdapter'])==null||ae[aC(0x117)](H,null),k(a0),ab['disconnect'](),a2[aC(0x120)]('load',aa),a2['removeEventListener']('click',a4),a2['removeEventListener']('keydown',a5),a3[aC(0x133)](),B['replaceChildren']();}};}),h['apply'](this,arguments);}export{m as default};