y9-interface-platform/y9vue-interfacePlatform/interface/assets/viewerjs-c43574b2.js

10 lines
38 KiB
JavaScript
Raw Normal View History

/*!
* Viewer.js v1.11.6
* https://fengyuanchen.github.io/viewerjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2023-09-17T03:16:38.052Z
*/function St(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable})),i.push.apply(i,e)}return i}function wt(n){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?St(Object(i),!0).forEach(function(e){ae(n,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):St(Object(i)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))})}return n}function vt(n){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(n)}function ie(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(n,t){for(var i=0;i<t.length;i++){var e=t[i];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,Jt(e.key),e)}}function ne(n,t,i){return t&&Dt(n.prototype,t),i&&Dt(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n}function ae(n,t,i){return t=Jt(t),t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function re(n,t){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var e=i.call(n,t||"default");if(typeof e!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(n)}function Jt(n){var t=re(n,"string");return typeof t=="symbol"?t:String(t)}var xt={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},se='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>',dt=typeof window<"u"&&typeof window.document<"u",F=dt?window:{},Z=dt&&F.document.documentElement?"ontouchstart"in F.document.documentElement:!1,yt=dt?"PointerEvent"in F:!1,m="viewer",ht="move",Qt="switch",tt="zoom",rt="".concat(m,"-active"),oe="".concat(m,"-close"),ut="".concat(m,"-fade"),gt="".concat(m,"-fixed"),le="".concat(m,"-fullscreen"),It="".concat(m,"-fullscreen-exit"),W="".concat(m,"-hide"),he="".concat(m,"-hide-md-down"),ue="".concat(m,"-hide-sm-down"),ce="".concat(m,"-hide-xs-down"),_="".concat(m,"-in"),et="".concat(m,"-invisible"),G="".concat(m,"-loading"),fe="".concat(m,"-move"),Nt="".concat(m,"-open"),q="".concat(m,"-show"),D="".concat(m,"-transition"),$="click",pt="dblclick",At="dragstart",Ot="focusin",Ct="keydown",z="load",X="error",de=Z?"touchend touchcancel":"mouseup",me=Z?"touchmove":"mousemove",ve=Z?"touchstart":"mousedown",_t=yt?"pointerdown":ve,zt=yt?"pointermove":me,Lt=yt?"pointerup pointercancel":de,kt="resize",L="transitionend",Rt="wheel",Vt="ready",Mt="show",Ft="shown",Pt="hide",Yt="hidden",Wt="view",it="viewed",Xt="move",Ht="moved",qt="rotate",jt="rotated",Ut="scale",Bt="scaled",Kt="zoom",Zt="zoomed",Gt="play",$t="stop",ft="".concat(m,"Action"),