10 lines
46 KiB
JavaScript
10 lines
46 KiB
JavaScript
|
import{d as Se,r as qe,w as Tt,p as Ot,o as Ue,f as Be,a as ft,b as At,e as Ze,h as $e,y as Ke,z as Ge,u as Qe,n as Je,F as ti,_ as ei}from"./index-be50c070.js";/*!
|
||
|
* 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 Yt(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function kt(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?Yt(Object(i),!0).forEach(function(n){ri(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Yt(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function Dt(e){"@babel/helpers - typeof";return Dt=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},Dt(e)}function ii(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wt(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,xe(n.key),n)}}function ni(e,t,i){return t&&Wt(e.prototype,t),i&&Wt(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function ri(e,t,i){return t=xe(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function ai(e,t){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var n=i.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xe(e){var t=ai(e,"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},oi='<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>',yt=typeof window<"u"&&typeof window.document<"u",P=yt?window:{},K=yt&&P.document.documentElement?"ontouchstart"in P.document.documentElement:!1,zt=yt?"PointerEvent"in P:!1,v="viewer",dt="move",_e="switch",it="zoom",lt="".concat(v,"-active"),si="".concat(v,"-close"),vt="".concat(v,"-fade"),It="".concat(v,"-fixed"),li="".concat(v,"-fullscreen"),Ht="".concat(v,"-fullscreen-exit"),W="".concat(v,"-hide"),ui="".concat(v,"-hide-md-down"),ci="".concat(v,"-hide-sm-down"),hi="".concat(v,"-hide-xs-down"),k="".concat(v,"-in"),nt="".concat(v,"-invisible"),G="".concat(v,"-loading"),fi="".concat(v,"-move"),qt="".concat(v,"-open"),q="".concat(v,"-show"),x="".concat(v,"-transition"),Q="click",Nt="dblclick",Ut="dragstart",Bt="focusin",Zt="keydown",z="load",X="error",di=K?"touchend touchcancel":"mouseup",vi=K?"touchmove":"mousemove",mi=K?"touchstart":"mousedown",$t=zt?"pointerdown":mi,Kt=zt?"pointermove":vi,Gt=zt?"pointerup pointercancel":di,Qt="resize",j="transitionend",Jt="wheel",te="ready",ee="show",ie="shown",ne="hide",re="hidden",ae="view",at="viewed",oe="move",se="moved",le="rotate",ue="rotated",ce="scale",he="scaled",fe="zoom",de="zoomed",ve="play",me="stop",gt="".concat(v,"Action"),
|