1 |
- !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(M){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new T(r||[]);return o(a,"_invoke",{value:S(e,n,l)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(M){return{type:"throw",arg:M}}}e.wrap=d;var v={};function p(){}function h(){}function m(){}var g={};c(g,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(E([])));w&&w!==t&&r.call(w,a)&&(g=w);var y=m.prototype=p.prototype=Object.create(g);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,a,l){var s=f(e[o],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==u(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,l)}))}l(s.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function S(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=k(a,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function k(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,v;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,v):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function E(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=m,o(y,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:h,configurable:!0}),h.displayName=c(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},A(x.prototype),c(x.prototype,l,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(y),c(y,s,"Generator"),c(y,a,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=E,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),v}},e}function r(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function l(e){r(a,o,i,l,s,"next",e)}function s(e){r(a,o,i,l,s,"throw",e)}l(void 0)}))}}function i(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function s(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(u){c=!0,o=u}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}System.register(["./index-legacy-e10f1664.js","./fade-in-scale-up.cssr-legacy-064ccdfe.js","./index-legacy-ad0c3947.js","./use-tab-status-legacy-483461c1.js","./index-legacy-990f4814.js"],(function(e,r){"use strict";var s,f,v,p,h,m,g,b,w,y,A,x,S,k,C,O,T,E,j,M,R,P,z,_,B,D,L,F,N,W,I,U,H,q,Y,V,G,Z,K,X,J,Q,$,ee,te,ne,re,oe,ie,ae,le,se,ce,ue,de,fe,ve,pe,he,me,ge,be,we,ye,Ae,xe,Se,ke,Ce,Oe,Te,Ee,je,Me,Re,Pe,ze,_e,Be,De,Le,Fe,Ne,We,Ie,Ue,He,qe,Ye,Ve,Ge,Ze,Ke,Xe,Je,Qe,$e,et,tt,nt,rt,ot,it,at,lt,st,ct,ut,dt,ft,vt,pt,ht,mt,gt=document.createElement("style");return gt.textContent="._container_19i87_1{position:relative;width:100vw;height:100vh;overflow:hidden;background:url("+new URL("icon_bg-f94bd665.png",r.meta.url).href+") no-repeat center center / cover;display:flex;flex-direction:column}._head_19i87_10{position:relative;display:flex;align-items:center;justify-content:space-between;padding:.50667rem .61333rem .21333rem 1.09333rem;transition:opacity .3s ease-in-out}._head_19i87_10 ._back_19i87_18 img{display:block}._head_19i87_10 ._tabs_19i87_21 .van-tab{color:rgba(255,255,255,.9);font-size:.4rem;padding:0 .42667rem}._head_19i87_10 ._tabs_19i87_21 .van-tab.van-tab--active{color:#fff}._head_19i87_10 ._tabs_19i87_21 .van-tabs__nav.van-tabs__nav--line{background:transparent}._head_19i87_10 ._tabs_19i87_21 .van-tabs__line{background:#fff;width:.48rem;height:.10667rem}._downBtn_19i87_37{width:2.24rem;height:.85333rem;background:#F8F9FC;border-radius:.42667rem;border:none;padding:0;display:flex;justify-content:center;align-items:center}._downBtn_19i87_37 .van-button__content{width:100%}._downBtn_19i87_37 .van-button__text{width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:.34667rem;color:#333;font-weight:400}._downBtn_19i87_37 ._icon_19i87_61{width:.21333rem;height:.13333rem;margin-left:.10667rem}._popover_19i87_66{width:2.21333rem;border:none}._popover_19i87_66 .van-popover__action{display:flex;justify-content:center;align-items:center;padding:0;width:100%;height:.96rem;color:#999;font-size:.34667rem}._popover_19i87_66 .van-popover__content{max-height:70vh;overflow-x:hidden;overflow-y:auto}._content_19i87_85{flex:1;overflow-y:hidden;overflow-x:auto;display:flex}._content_19i87_85 ._wrap_19i87_91{position:relative;display:flex;height:100%;padding:1.06667rem 1.68rem 0}._wrapItem_19i87_97{position:relative;width:3.2rem;display:flex;flex-direction:column;margin:0 .45333rem;flex-shrink:0;z-index:1;transition:all .3s .3s}._wrapItem_19i87_97 ._name_19i87_107{font-size:.29333rem;font-weight:400;color:#fff;line-height:.42667rem;text-align:center}._wrapItem_19i87_97 ._favoriteBtn_19i87_114{position:absolute;top:3.46667rem;right:.16rem;z-index:10}._cover_19i87_120{position:relative;display:block;width:100%;height:4.53333rem;margin-bottom:.4rem;background-color:#edeff2;background-image:url("+new URL("icon_default-c2fa566e.svg",r.meta.url).href+');background-repeat:no-repeat;background-position:center center}._cover_19i87_120:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:4;background-repeat:no-repeat;background-image:linear-gradient(to right,rgba(0,0,0,.2) 0,rgba(255,255,255,.08) 0%,transparent .5%),linear-gradient(to right,rgba(0,0,0,.1) .3%,rgba(255,255,255,.09) 1.1%,transparent 1.3%);background-size:50% 100%,50% 100%;background-position:0% top,9% top}._cover_19i87_120 img{width:100%;height:100%;opacity:0;transition:opacity .3s ease-in-out}._cover_19i87_120._loaded_19i87_150 img{opacity:1}._book_19i87_153{position:fixed;top:50%;left:50%;width:50vw;transform:translate(-50%,-50%) scale(0);z-index:20;background-color:#fff;transition:all .3s ease-in-out;visibility:hidden;pointer-events:none;border-radius:.21333rem;box-shadow:0 0 .26667rem rgba(0,0,0,.2)}._book_19i87_153 ._bookWrap_19i87_167{height:60vh;overflow-y:auto}._book_19i87_153 ._bookWrap_19i87_167 ul{list-style:circle;padding:.26667rem 1.06667rem}._book_19i87_153._show_19i87_175{visibility:visible;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.favoriteWrap{width:.74667rem;height:.74667rem;background:rgba(255,255,255,.61);border:.02667rem solid #FFFFFF;border-radius:50%;cursor:pointer;display:flex;justify-content:center;align-items:center}.liked .favoritIcon{animation:blink 1s forwards}.favoritIcon{width:.45333rem;height:.4rem}@keyframes blink{10%{transform:scale(1.4)}to{transform:scale(1)}}._book_1b47j_1{position:fixed;inset:0;z-index:100;padding-top:10vh}._book_1b47j_1 ._back_1b47j_7{position:absolute;left:1.09333rem;top:.64rem}._book_1b47j_1._bookHide_1b47j_12{visibility:hidden;pointer-events:none;opacity:0}._book_1b47j_1 .bookWrap{margin:0 auto}._book_1b47j_1 .animated{transition:margin-left .2s ease-in-out}._book_1b47j_1 .page{background:white}._book_1b47j_1 .shadow{box-shadow:0 0 .53333rem rgba(0,0,0,.4)}._book_1b47j_1 .even .gradient{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(data:image/png;base64,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);background-position:right top;background-repeat:repeat-y}._book_1b47j_1 .odd .gradient{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(data:image/png;base64,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);background-position:left top;background-repeat:repeat-y}._book_1b47j_1 .page-wrapper{perspective:53.33333rem}._wrap_1b47j_52{position:relative;padding:1.09333rem .64rem}._wrap_1b47j_52 ._item_1b47j_56{font-size:.4rem;font-weight:600;color:#333;line-height:.53333rem;padding:.32rem 0}._wrap_1b47j_52 ._des_1b47j_63{display:flex;padding-left:.53333rem;justify-content:space-between;align-items:center;font-size:.37333rem;line-height:.50667rem}._wrap_1b47j_52 ._icon_1b47j_71{width:.58667rem;height:.58667rem}\n',document.head.appendChild(gt),{setters:[function(e){s=e.r,f=e.w,v=e.c,p=e.d,h=e.y,m=e.ac,g=e.ad,b=e.f,w=e.a,y=e.V,A=e.h,x=e.ab,S=e.F,k=e.m,C=e.ae,O=e.n,T=e.t,E=e.a3,j=e.z,M=e.af,R=e.a6,P=e.I,z=e.ag,_=e.k,B=e.A,D=e.ah,L=e.e,F=e.ai,N=e.aj,W=e.ak,I=e.al,U=e.am,H=e.an,q=e.ao,Y=e.ap,V=e.T,G=e.aq,Z=e.v,K=e.g,X=e.ar,J=e.as,Q=e.at,$=e.D,ee=e.q,te=e.x,ne=e.C,re=e.M},function(e){oe=e.w,ie=e.q,ae=e.o,le=e.a,se=e.i,ce=e.b,ue=e.S,de=e.c,fe=e.g,ve=e.r,pe=e.d,he=e.e,me=e.f,ge=e.h,be=e.M,we=e.t,ye=e.j,Ae=e.k,xe=e.U,Se=e.l,ke=e.m,Ce=e.n,Oe=e.p,Te=e.s,Ee=e.u,je=e.v,Me=e.x,Re=e.y,Pe=e.z,ze=e.A,_e=e.B,Be=e.C,De=e.D,Le=e.E,Fe=e.F,Ne=e.G,We=e.H,Ie=e.I,Ue=e.J,He=e.K,qe=e.L,Ye=e.N,Ve=e.O,Ge=e.P,Ze=e.Q,Ke=e.V,Xe=e.R,Je=e.T,Qe=e.W,$e=e.X,et=e.Y,tt=e.Z,nt=e._,rt=e.$,ot=e.a0,it=e.a1,at=e.a2,lt=e.a3,st=e.a4,ct=e.a5,ut=e.a6,dt=e.a7,ft=e.a8,vt=e.a9,pt=e.aa},function(e){ht=e.T,mt=e.a},null,null],execute:function(){function gt(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function bt(e){return e instanceof gt(e).Element||e instanceof Element}function wt(e){return e instanceof gt(e).HTMLElement||e instanceof HTMLElement}function yt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof gt(e).ShadowRoot||e instanceof ShadowRoot)}var At=Math.round;function xt(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function St(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&wt(e)&&(o=e.offsetWidth>0&&At(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&At(r.height)/e.offsetHeight||1);var a=(bt(e)?gt(e):window).visualViewport,l=!!/^((?!chrome|android).)*safari/i.test(xt())&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function kt(e){var t=gt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ct(e){return e?(e.nodeName||"").toLowerCase():null}function Ot(e){return((bt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Tt(e){return gt(e).getComputedStyle(e)}function Et(e){var t=Tt(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function jt(e,t,n){void 0===n&&(n=!1);var r,o,i=wt(t),a=wt(t)&&function(e){var t=e.getBoundingClientRect(),n=At(t.width)/e.offsetWidth||1,r=At(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=Ot(t),s=St(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==Ct(t)||Et(l))&&(c=(r=t)!==gt(r)&&wt(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:kt(r)),wt(t)?((u=St(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=function(e){return St(Ot(e)).left+kt(e).scrollLeft}(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Mt(e){return"html"===Ct(e)?e:e.assignedSlot||e.parentNode||(yt(e)?e.host:null)||Ot(e)}function Rt(e){return["html","body","#document"].indexOf(Ct(e))>=0?e.ownerDocument.body:wt(e)&&Et(e)?e:Rt(Mt(e))}function Pt(e,t){var n;void 0===t&&(t=[]);var r=Rt(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=gt(r),a=o?[i].concat(i.visualViewport||[],Et(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(Pt(Mt(a)))}function zt(e){return["table","td","th"].indexOf(Ct(e))>=0}function _t(e){return wt(e)&&"fixed"!==Tt(e).position?e.offsetParent:null}function Bt(e){for(var t=gt(e),n=_t(e);n&&zt(n)&&"static"===Tt(n).position;)n=_t(n);return n&&("html"===Ct(n)||"body"===Ct(n)&&"static"===Tt(n).position)?t:n||function(e){var t=/firefox/i.test(xt());if(/Trident/i.test(xt())&&wt(e)&&"fixed"===Tt(e).position)return null;var n=Mt(e);for(yt(n)&&(n=n.host);wt(n)&&["html","body"].indexOf(Ct(n))<0;){var r=Tt(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Dt="top",Lt="bottom",Ft="right",Nt="left",Wt="auto",It="start",Ut="end",Ht=[].concat([Dt,Lt,Ft,Nt],[Wt]).reduce((function(e,t){return e.concat([t,t+"-"+It,t+"-"+Ut])}),[]),qt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Yt(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Vt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Gt='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Zt='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Kt=["name","enabled","phase","fn","effect","requires","options"];function Xt(e){return e.split("-")[0]}function Jt(e){return e.split("-")[1]}var Qt="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",$t={placement:"bottom",modifiers:[],strategy:"absolute"};function en(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function tn(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?$t:o;return function(e,t,n){void 0===n&&(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},$t,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,o),l.scrollParents={reference:bt(e)?Pt(e):e.contextElement?Pt(e.contextElement):[],popper:Pt(t)};var a=function(e){var t=Yt(e);return qt.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,l.options.modifiers)));l.orderedModifiers=a.filter((function(e){return e.enabled}));var c=(f=[].concat(a,l.options.modifiers),v=function(e){return e.name},p=new Set,f.filter((function(e){var t=v(e);if(!p.has(t))return p.add(t),!0})));(function(e){e.forEach((function(t){[].concat(Object.keys(t),Kt).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(Vt(Gt,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(Vt(Gt,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":qt.indexOf(t.phase)<0&&console.error(Vt(Gt,t.name,'"phase"',"either "+qt.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(Vt(Gt,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(Vt(Gt,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(Vt(Gt,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(Vt(Gt,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Kt.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(Vt(Zt,String(t.name),n,n))}))}))}))}(c),Xt(l.options.placement)===Wt)&&(l.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var f,v,p,h=Tt(t);return[h.marginTop,h.marginRight,h.marginBottom,h.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:u,options:r}),a=function(){};s.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(en(t,n)){var r,o,i,a;l.rects={reference:jt(t,Bt(n),"fixed"===l.options.strategy),popper:(r=n,o=St(r),i=r.offsetWidth,a=r.offsetHeight,Math.abs(o.width-i)<=1&&(i=o.width),Math.abs(o.height-a)<=1&&(a=o.height),{x:r.offsetLeft,y:r.offsetTop,width:i,height:a})},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var s=0,d=0;d<l.orderedModifiers.length;d++){if((s+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==l.reset){var f=l.orderedModifiers[d],v=f.fn,p=f.options,h=void 0===p?{}:p,m=f.name;"function"==typeof v&&(l=v({state:l,options:h,name:m,instance:u})||l)}else l.reset=!1,d=-1}}else console.error(Qt)}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),c=!0}};if(!en(e,t))return console.error(Qt),u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var nn={passive:!0};var rn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=gt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,nn)})),l&&s.addEventListener("resize",n.update,nn),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,nn)})),l&&s.removeEventListener("resize",n.update,nn)}},data:{}};var on={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=function(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Xt(o):null,a=o?Jt(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case Dt:t={x:l,y:n.y-r.height};break;case Lt:t={x:l,y:n.y+n.height};break;case Ft:t={x:n.x+n.width,y:s};break;case Nt:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case It:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Ut:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},an={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ln(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,v=void 0===f?0:f,p=a.y,h=void 0===p?0:p,m="function"==typeof u?u({x:v,y:h}):{x:v,y:h};v=m.x,h=m.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),w=Nt,y=Dt,A=window;if(c){var x=Bt(n),S="clientHeight",k="clientWidth";if(x===gt(n)&&"static"!==Tt(x=Ot(n)).position&&"absolute"===l&&(S="scrollHeight",k="scrollWidth"),o===Dt||(o===Nt||o===Ft)&&i===Ut)y=Lt,h-=(d&&x===A&&A.visualViewport?A.visualViewport.height:x[S])-r.height,h*=s?1:-1;if(o===Nt||(o===Dt||o===Lt)&&i===Ut)w=Ft,v-=(d&&x===A&&A.visualViewport?A.visualViewport.width:x[k])-r.width,v*=s?1:-1}var C,O=Object.assign({position:l},c&&an),T=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:At(t*r)/r||0,y:At(n*r)/r||0}}({x:v,y:h}):{x:v,y:h};return v=T.x,h=T.y,s?Object.assign({},O,((C={})[y]=b?"0":"",C[w]=g?"0":"",C.transform=(A.devicePixelRatio||1)<=1?"translate("+v+"px, "+h+"px)":"translate3d("+v+"px, "+h+"px, 0)",C)):Object.assign({},O,((t={})[y]=b?h+"px":"",t[w]=g?v+"px":"",t.transform="",t))}var sn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c=Tt(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var u={placement:Xt(t.placement),variation:Jt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ln(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ln(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var cn={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];wt(o)&&Ct(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});wt(r)&&Ct(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},un=tn({defaultModifiers:[rn,on,sn,cn]});var dn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Ht.reduce((function(e,n){return e[n]=function(e,t,n){var r=Xt(e),o=[Nt,Dt].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[Nt,Ft].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},fn=d(v("popover"),2),vn=fn[0],pn=fn[1],hn=["overlay","duration","teleport","overlayStyle","overlayClass","closeOnClickOverlay"],mn={show:Boolean,theme:k("light"),overlay:Boolean,actions:C(),trigger:k("click"),duration:O,showArrow:T,placement:k("bottom"),iconPrefix:String,overlayClass:E,overlayStyle:Object,closeOnClickAction:T,closeOnClickOverlay:T,closeOnClickOutside:T,offset:{type:Array,default:function(){return[0,8]}},teleport:{type:[String,Object],default:"body"}},gn=p({name:vn,props:mn,emits:["select","touchstart","update:show"],setup:function(e,t){var n,r,o,i,a=t.emit,l=t.slots,c=t.attrs,u=s(),d=s(),v=s(),p=(o=function(e){return a("update:show",e)},i=s((r=function(){return e.show})()),f(r,(function(e){e!==i.value&&(i.value=e)})),f(i,(function(e){e!==r()&&o(e)})),i),k=function(){return{placement:e.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},R({},dn,{options:{offset:e.offset}})]}},C=function e(){j((function(){p.value&&(n?n.setOptions(k()):(n=d.value&&v.value?un(d.value,v.value.popupRef.value,k()):null,M&&(window.addEventListener("animationend",e),window.addEventListener("transitionend",e))))}))},O=function(e){p.value=e},T=function(){"click"===e.trigger&&(p.value=!p.value)},E=function(t,n){return l.action?l.action({action:t,index:n}):[t.icon&&w(P,{name:t.icon,classPrefix:e.iconPrefix,class:pn("action-icon")},null),w("div",{class:[pn("action-text"),z]},[t.text])]},_=function(t,n){var r=t.icon,o=t.color,i=t.disabled,l=t.className;return w("div",{role:"menuitem",class:[pn("action",{disabled:i,"with-icon":r}),l],style:{color:o},tabindex:i?void 0:0,"aria-disabled":i||void 0,onClick:function(){return function(t,n){t.disabled||(a("select",t,n),e.closeOnClickAction&&(p.value=!1))}(t,n)}},[E(t,n)])};return h((function(){C(),m((function(){var e;u.value=null==(e=v.value)?void 0:e.popupRef.value}))})),g((function(){n&&(M&&(window.removeEventListener("animationend",C),window.removeEventListener("transitionend",C)),n.destroy(),n=null)})),f((function(){return[p.value,e.offset,e.placement]}),C),b([d,u],(function(){p.value&&e.closeOnClickOutside&&(!e.overlay||e.closeOnClickOverlay)&&(p.value=!1)}),{eventName:"touchstart"}),function(){var t;return w(S,null,[w("span",{ref:d,class:pn("wrapper"),onClick:T},[null==(t=l.reference)?void 0:t.call(l)]),w(y,A({ref:v,show:p.value,class:pn([e.theme]),position:"",transition:"van-popover-zoom",lockScroll:!1,"onUpdate:show":O},c,x(e,hn)),{default:function(){return[e.showArrow&&w("div",{class:pn("arrow")},null),w("div",{role:"menu",class:pn("content")},[l.default?l.default():e.actions.map(_)])]}})])}}}),bn=_(gn);function wn(e){return e.composedPath()[0]||null}function yn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;return Math.random().toString(16).slice(2,2+e)}function An(e){var t=arguments.length>2?arguments[2]:void 0,n={};return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(t){n[t]=e[t]})),Object.assign(n,t)}function xn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e.forEach((function(e){if(null!==e)if("object"===u(e))if(Array.isArray(e))xn(e,t,n);else if(e.type===S){if(null===e.children)return;Array.isArray(e.children)&&xn(e.children,t,n)}else e.type!==D&&n.push(e);else"string"!=typeof e&&"number"!=typeof e||n.push(B(String(e)))})),n}function Sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=e[t];if(!r)return oe("getFirstSlotVNode","slot[".concat(t,"] is empty")),null;var o=xn(r(n));return 1===o.length?o[0]:(oe("getFirstSlotVNode","slot[".concat(t,"] should have exactly one child")),null)}var kn,Cn=p({render:function(){var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)}}),On=/^(\d|\.)+$/,Tn=/(\d|\.)+/;function En(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.c,r=void 0===n?1:n,o=t.offset,i=void 0===o?0:o,a=t.attachPx,l=void 0===a||a;if("number"==typeof e){var s=(e+i)*r;return 0===s?"0":"".concat(s,"px")}if("string"==typeof e){if(On.test(e)){var c=(Number(e)+i)*r;return l?0===c?"0":"".concat(c,"px"):"".concat(c)}var u=Tn.exec(e);return u?e.replace(Tn,String((Number(u[0])+i)*r)):e}return e}var jn="undefined"!=typeof document&&"undefined"!=typeof window;var Mn="undefined"!=typeof window&&(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream;function Rn(){return Mn}var Pn="@@mmoContext",zn={mounted:function(e,t){var n=t.value;e[Pn]={handler:void 0},"function"==typeof n&&(e[Pn].handler=n,ae("mousemoveoutside",e,n))},updated:function(e,t){var n=t.value,r=e[Pn];"function"==typeof n?r.handler?r.handler!==n&&(le("mousemoveoutside",e,r.handler),r.handler=n,ae("mousemoveoutside",e,n)):(e[Pn].handler=n,ae("mousemoveoutside",e,n)):r.handler&&(le("mousemoveoutside",e,r.handler),r.handler=void 0)},unmounted:function(e){var t=e[Pn].handler;t&&le("mousemoveoutside",e,t),e[Pn].handler=void 0}},_n=zn,Bn="@@coContext",Dn={mounted:function(e,t){var n=t.value,r=t.modifiers;e[Bn]={handler:void 0},"function"==typeof n&&(e[Bn].handler=n,ae("clickoutside",e,n,{capture:r.capture}))},updated:function(e,t){var n=t.value,r=t.modifiers,o=e[Bn];"function"==typeof n?o.handler?o.handler!==n&&(le("clickoutside",e,o.handler,{capture:r.capture}),o.handler=n,ae("clickoutside",e,n,{capture:r.capture})):(e[Bn].handler=n,ae("clickoutside",e,n,{capture:r.capture})):o.handler&&(le("clickoutside",e,o.handler,{capture:r.capture}),o.handler=void 0)},unmounted:function(e,t){var n=t.modifiers,r=e[Bn].handler;r&&le("clickoutside",e,r,{capture:n.capture}),e[Bn].handler=void 0}},Ln=Dn;function Fn(e,t){console.error("[vueuc/".concat(e,"]: ").concat(t))}function Nn(e){return"string"==typeof e?document.querySelector(e):e()}var Wn,In=[],Un="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Wn||(Wn={}));var Hn,qn=function(e){return Object.freeze(e)},Yn=function(e,t){this.inlineSize=e,this.blockSize=t,qn(this)},Vn=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,qn(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Gn=function(e){return e instanceof SVGElement&&"getBBox"in e},Zn=function(e){if(Gn(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},Kn=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Xn="undefined"!=typeof window?window:{},Jn=new WeakMap,Qn=/auto|scroll/,$n=/^tb|vertical/,er=/msie|trident/i.test(Xn.navigator&&Xn.navigator.userAgent),tr=function(e){return parseFloat(e||"0")},nr=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Yn((n?t:e)||0,(n?e:t)||0)},rr=qn({devicePixelContentBoxSize:nr(),borderBoxSize:nr(),contentBoxSize:nr(),contentRect:new Vn(0,0,0,0)}),or=function(e,t){if(void 0===t&&(t=!1),Jn.has(e)&&!t)return Jn.get(e);if(Zn(e))return Jn.set(e,rr),rr;var n=getComputedStyle(e),r=Gn(e)&&e.ownerSVGElement&&e.getBBox(),o=!er&&"border-box"===n.boxSizing,i=$n.test(n.writingMode||""),a=!r&&Qn.test(n.overflowY||""),l=!r&&Qn.test(n.overflowX||""),s=r?0:tr(n.paddingTop),c=r?0:tr(n.paddingRight),u=r?0:tr(n.paddingBottom),d=r?0:tr(n.paddingLeft),f=r?0:tr(n.borderTopWidth),v=r?0:tr(n.borderRightWidth),p=r?0:tr(n.borderBottomWidth),h=d+c,m=s+u,g=(r?0:tr(n.borderLeftWidth))+v,b=f+p,w=l?e.offsetHeight-b-e.clientHeight:0,y=a?e.offsetWidth-g-e.clientWidth:0,A=o?h+g:0,x=o?m+b:0,S=r?r.width:tr(n.width)-A-y,k=r?r.height:tr(n.height)-x-w,C=S+h+y+g,O=k+m+w+b,T=qn({devicePixelContentBoxSize:nr(Math.round(S*devicePixelRatio),Math.round(k*devicePixelRatio),i),borderBoxSize:nr(C,O,i),contentBoxSize:nr(S,k,i),contentRect:new Vn(d,s,S,k)});return Jn.set(e,T),T},ir=function(e,t,n){var r=or(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Wn.DEVICE_PIXEL_CONTENT_BOX:return a;case Wn.BORDER_BOX:return o;default:return i}},ar=function(e){var t=or(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=qn([t.borderBoxSize]),this.contentBoxSize=qn([t.contentBoxSize]),this.devicePixelContentBoxSize=qn([t.devicePixelContentBoxSize])},lr=function(e){if(Zn(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},sr=function(){var e=1/0,t=[];In.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new ar(t.target),o=lr(t.target);r.push(n),t.lastReportedSize=ir(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},cr=function(e){In.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(lr(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},ur=function(){var e,t=0;for(cr(t);In.some((function(e){return e.activeTargets.length>0}));)t=sr(),cr(t);return In.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Un}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Un),window.dispatchEvent(e)),t>0},dr=[],fr=function(e){if(!Hn){var t=0,n=document.createTextNode("");new MutationObserver((function(){return dr.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Hn=function(){n.textContent="".concat(t?t--:t++)}}dr.push(e),Hn()},vr=0,pr={attributes:!0,characterData:!0,childList:!0,subtree:!0},hr=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],mr=function(e){return void 0===e&&(e=0),Date.now()+e},gr=!1,br=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!gr){gr=!0;var n,r=mr(e);n=function(){var n=!1;try{n=ur()}finally{if(gr=!1,e=r-mr(),!vr)return;n?t.run(1e3):e>0?t.run(e):t.start()}},fr((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,pr)};document.body?t():Xn.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),hr.forEach((function(t){return Xn.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),hr.forEach((function(t){return Xn.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),wr=new br,yr=function(e){!vr&&e>0&&wr.start(),!(vr+=e)&&wr.stop()},Ar=function(){function e(e,t){this.target=e,this.observedBox=t||Wn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=ir(this.target,this.observedBox,!0);return e=this.target,Gn(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),xr=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Sr=new WeakMap,kr=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Cr=function(){function e(){}return e.connect=function(e,t){var n=new xr(e,t);Sr.set(e,n)},e.observe=function(e,t,n){var r=Sr.get(e),o=0===r.observationTargets.length;kr(r.observationTargets,t)<0&&(o&&In.push(r),r.observationTargets.push(new Ar(t,n&&n.box)),yr(1),wr.schedule())},e.unobserve=function(e,t){var n=Sr.get(e),r=kr(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&In.splice(In.indexOf(n),1),n.observationTargets.splice(r,1),yr(-1))},e.disconnect=function(e){var t=this,n=Sr.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Or=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Cr.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Kn(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Cr.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Kn(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Cr.unobserve(this,e)},e.prototype.disconnect=function(){Cr.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),Tr=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.handleResize=this.handleResize.bind(this),this.observer=new("undefined"!=typeof window&&window.ResizeObserver||Or)(this.handleResize),this.elHandlersMap=new Map}var t,n,r;return t=e,(n=[{key:"handleResize",value:function(e){var t,n=c(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=this.elHandlersMap.get(r.target);void 0!==o&&o(r)}}catch(i){n.e(i)}finally{n.f()}}},{key:"registerHandler",value:function(e,t){this.elHandlersMap.set(e,t),this.observer.observe(e)}},{key:"unregisterHandler",value:function(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}}])&&l(t.prototype,n),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()),Er=p({name:"ResizeObserver",props:{onResize:Function},setup:function(e){var t=!1,n=F().proxy;function r(t){var n=e.onResize;void 0!==n&&n(t)}h((function(){var e=n.$el;void 0!==e?e.nextElementSibling===e.nextSibling||3!==e.nodeType||""===e.nodeValue?null!==e.nextElementSibling&&(Tr.registerHandler(e.nextElementSibling,r),t=!0):Fn("resize-observer","$el can not be observed (it may be a text node)."):Fn("resize-observer","$el does not exist.")})),g((function(){t&&Tr.unregisterHandler(n.$el.nextElementSibling)}))},render:function(){return N(this.$slots,"default")}});function jr(e){return e instanceof HTMLElement}function Mr(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if(jr(n)&&(Pr(n)||Mr(n)))return!0}return!1}function Rr(e){for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];if(jr(n)&&(Pr(n)||Rr(n)))return!0}return!1}function Pr(e){if(!function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return!1;try{e.focus({preventScroll:!0})}catch(t){}return document.activeElement===e}var zr=[],_r=p({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup:function(e){var t=yn(),n=s(null),r=s(null),o=!1,i=!1,a="undefined"==typeof document?null:document.activeElement;function l(){return zr[zr.length-1]===t}function c(t){var n;"Escape"===t.code&&l()&&(null===(n=e.onEsc)||void 0===n||n.call(e,t))}function u(e){if(!i&&l()){var t=d();if(null===t)return;if(t.contains(wn(e)))return;p("first")}}function d(){var e=n.value;if(null===e)return null;for(var t=e;null!==(t=t.nextSibling)&&!(t instanceof Element&&"DIV"===t.tagName););return t}function v(){var n;if(!e.disabled&&(document.removeEventListener("focus",u,!0),zr=zr.filter((function(e){return e!==t})),!l())){var r=e.finalFocusTo;void 0!==r?null===(n=Nn(r))||void 0===n||n.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}}function p(t){if(l()&&e.active){var o=n.value,a=r.value;if(null!==o&&null!==a){var s=d();if(null==s||s===a)return i=!0,o.focus({preventScroll:!0}),void(i=!1);i=!0;var c="first"===t?Mr(s):Rr(s);i=!1,c||(i=!0,o.focus({preventScroll:!0}),i=!1)}}}return h((function(){f((function(){return e.active}),(function(n){n?(!function(){var n;if(e.disabled)return;if(zr.push(t),e.autoFocus){var r=e.initialFocusTo;void 0===r?p("first"):null===(n=Nn(r))||void 0===n||n.focus({preventScroll:!0})}o=!0,document.addEventListener("focus",u,!0)}(),ae("keydown",document,c)):(le("keydown",document,c),o&&v())}),{immediate:!0})})),g((function(){le("keydown",document,c),o&&v()})),{focusableStartRef:n,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:function(e){if(!i){var t=d();null!==t&&(null!==e.relatedTarget&&t.contains(e.relatedTarget)?p("last"):p("first"))}},handleEndFocus:function(e){i||(null!==e.relatedTarget&&e.relatedTarget===n.value?p("last"):p("first"))}}},render:function(){var e=this.$slots.default;if(void 0===e)return null;if(this.disabled)return e();var t=this.active,n=this.focusableStyle;return W(S,null,[W("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),W("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});var Br="[object Symbol]";function Dr(e){return"symbol"==u(e)||se(e)&&ce(e)==Br}function Lr(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var Fr=1/0,Nr=ue?ue.prototype:void 0,Wr=Nr?Nr.toString:void 0;function Ir(e){if("string"==typeof e)return e;if(de(e))return Lr(e,Ir)+"";if(Dr(e))return Wr?Wr.call(e):"";var t=e+"";return"0"==t&&1/e==-Fr?"-0":t}var Ur=fe(ve,"WeakMap"),Hr=pe(Object.keys,Object),qr=Object.prototype.hasOwnProperty;function Yr(e){return me(e)?ge(e):function(e){if(!he(e))return Hr(e);var t=[];for(var n in Object(e))qr.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var Vr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gr=/^\w*$/;function Zr(e,t){if(de(e))return!1;var n=u(e);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Dr(e))||(Gr.test(e)||!Vr.test(e)||null!=t&&e in Object(t))}var Kr="Expected a function";function Xr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Kr);var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Xr.Cache||be),n}Xr.Cache=be;var Jr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qr=/\\(\\)?/g,$r=function(e){var t=Xr(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Jr,(function(e,n,r,o){t.push(r?o.replace(Qr,"$1"):n||e)})),t})),eo=$r;function to(e){return null==e?"":Ir(e)}function no(e,t){return de(e)?e:Zr(e,t)?[e]:eo(to(e))}var ro=1/0;function oo(e){if("string"==typeof e||Dr(e))return e;var t=e+"";return"0"==t&&1/e==-ro?"-0":t}function io(e,t){for(var n=0,r=(t=no(t,e)).length;null!=e&&n<r;)e=e[oo(t[n++])];return n&&n==r?e:void 0}function ao(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(e,t,n)}var lo=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function so(e){return lo.test(e)}var co="\\ud800-\\udfff",uo="["+co+"]",fo="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",vo="\\ud83c[\\udffb-\\udfff]",po="[^"+co+"]",ho="(?:\\ud83c[\\udde6-\\uddff]){2}",mo="[\\ud800-\\udbff][\\udc00-\\udfff]",go="(?:"+fo+"|"+vo+")"+"?",bo="[\\ufe0e\\ufe0f]?",wo=bo+go+("(?:\\u200d(?:"+[po,ho,mo].join("|")+")"+bo+go+")*"),yo="(?:"+[po+fo+"?",fo,ho,mo,uo].join("|")+")",Ao=RegExp(vo+"(?="+vo+")|"+yo+wo,"g");function xo(e){return so(e)?function(e){return e.match(Ao)||[]}(e):function(e){return e.split("")}(e)}var So,ko=(So="toUpperCase",function(e){var t=so(e=to(e))?xo(e):void 0,n=t?t[0]:e.charAt(0),r=t?ao(t,1).join(""):e.slice(1);return n[So]()+r});var Co,Oo=(Co={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},function(e){return null==Co?void 0:Co[e]}),To=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Eo=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var jo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Mo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Ro="\\ud800-\\udfff",Po="\\u2700-\\u27bf",zo="a-z\\xdf-\\xf6\\xf8-\\xff",_o="A-Z\\xc0-\\xd6\\xd8-\\xde",Bo="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Do="["+Bo+"]",Lo="\\d+",Fo="["+Po+"]",No="["+zo+"]",Wo="[^"+Ro+Bo+Lo+Po+zo+_o+"]",Io="(?:\\ud83c[\\udde6-\\uddff]){2}",Uo="[\\ud800-\\udbff][\\udc00-\\udfff]",Ho="["+_o+"]",qo="(?:"+No+"|"+Wo+")",Yo="(?:"+Ho+"|"+Wo+")",Vo="(?:['’](?:d|ll|m|re|s|t|ve))?",Go="(?:['’](?:D|LL|M|RE|S|T|VE))?",Zo="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Ko="[\\ufe0e\\ufe0f]?",Xo=Ko+Zo+("(?:\\u200d(?:"+["[^"+Ro+"]",Io,Uo].join("|")+")"+Ko+Zo+")*"),Jo="(?:"+[Fo,Io,Uo].join("|")+")"+Xo,Qo=RegExp([Ho+"?"+No+"+"+Vo+"(?="+[Do,Ho,"$"].join("|")+")",Yo+"+"+Go+"(?="+[Do,Ho+qo,"$"].join("|")+")",Ho+"?"+qo+"+"+Vo,Ho+"+"+Go,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Lo,Jo].join("|"),"g");function $o(e,t,n){return e=to(e),void 0===(t=n?void 0:t)?function(e){return Mo.test(e)}(e)?function(e){return e.match(Qo)||[]}(e):function(e){return e.match(jo)||[]}(e):e.match(t)||[]}var ei=RegExp("['’]","g");var ti=Object.prototype.propertyIsEnumerable,ni=Object.getOwnPropertySymbols,ri=ni?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(ni(e),(function(t){return ti.call(e,t)})))}:function(){return[]},oi=ri;function ii(e){return function(e,t,n){var r=t(e);return de(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Yr,oi)}var ai=fe(ve,"DataView"),li=fe(ve,"Promise"),si=fe(ve,"Set"),ci="[object Map]",ui="[object Promise]",di="[object Set]",fi="[object WeakMap]",vi="[object DataView]",pi=we(ai),hi=we(ye),mi=we(li),gi=we(si),bi=we(Ur),wi=ce;(ai&&wi(new ai(new ArrayBuffer(1)))!=vi||ye&&wi(new ye)!=ci||li&&wi(li.resolve())!=ui||si&&wi(new si)!=di||Ur&&wi(new Ur)!=fi)&&(wi=function(e){var t=ce(e),n="[object Object]"==t?e.constructor:void 0,r=n?we(n):"";if(r)switch(r){case pi:return vi;case hi:return ci;case mi:return ui;case gi:return di;case bi:return fi}return t});var yi=wi;function Ai(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new be;++t<n;)this.add(e[t])}function xi(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Si(e,t){return e.has(t)}Ai.prototype.add=Ai.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ai.prototype.has=function(e){return this.__data__.has(e)};var ki=1,Ci=2;function Oi(e,t,n,r,o,i){var a=n&ki,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,v=n&Ci?new Ai:void 0;for(i.set(e,t),i.set(t,e);++d<l;){var p=e[d],h=t[d];if(r)var m=a?r(h,p,d,t,e,i):r(p,h,d,e,t,i);if(void 0!==m){if(m)continue;f=!1;break}if(v){if(!xi(t,(function(e,t){if(!Si(v,t)&&(p===e||o(p,e,n,r,i)))return v.push(t)}))){f=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function Ti(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ei(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var ji=1,Mi=2,Ri="[object Boolean]",Pi="[object Date]",zi="[object Error]",_i="[object Map]",Bi="[object Number]",Di="[object RegExp]",Li="[object Set]",Fi="[object String]",Ni="[object Symbol]",Wi="[object ArrayBuffer]",Ii="[object DataView]",Ui=ue?ue.prototype:void 0,Hi=Ui?Ui.valueOf:void 0;var qi=1,Yi=Object.prototype.hasOwnProperty;var Vi=1,Gi="[object Arguments]",Zi="[object Array]",Ki="[object Object]",Xi=Object.prototype.hasOwnProperty;function Ji(e,t,n,r,o,i){var a=de(e),l=de(t),s=a?Zi:yi(e),c=l?Zi:yi(t),u=(s=s==Gi?Ki:s)==Ki,d=(c=c==Gi?Ki:c)==Ki,f=s==c;if(f&&Se(e)){if(!Se(t))return!1;a=!0,u=!1}if(f&&!u)return i||(i=new ke),a||Ce(e)?Oi(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case Ii:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Wi:return!(e.byteLength!=t.byteLength||!i(new xe(e),new xe(t)));case Ri:case Pi:case Bi:return Ae(+e,+t);case zi:return e.name==t.name&&e.message==t.message;case Di:case Fi:return e==t+"";case _i:var l=Ti;case Li:var s=r&ji;if(l||(l=Ei),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;r|=Mi,a.set(e,t);var u=Oi(l(e),l(t),r,o,i,a);return a.delete(e),u;case Ni:if(Hi)return Hi.call(e)==Hi.call(t)}return!1}(e,t,s,n,r,o,i);if(!(n&Vi)){var v=u&&Xi.call(e,"__wrapped__"),p=d&&Xi.call(t,"__wrapped__");if(v||p){var h=v?e.value():e,m=p?t.value():t;return i||(i=new ke),o(h,m,n,r,i)}}return!!f&&(i||(i=new ke),function(e,t,n,r,o,i){var a=n&qi,l=ii(e),s=l.length;if(s!=ii(t).length&&!a)return!1;for(var c=s;c--;){var u=l[c];if(!(a?u in t:Yi.call(t,u)))return!1}var d=i.get(e),f=i.get(t);if(d&&f)return d==t&&f==e;var v=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<s;){var h=e[u=l[c]],m=t[u];if(r)var g=a?r(m,h,u,t,e,i):r(h,m,u,e,t,i);if(!(void 0===g?h===m||o(h,m,n,r,i):g)){v=!1;break}p||(p="constructor"==u)}if(v&&!p){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(v=!1)}return i.delete(e),i.delete(t),v}(e,t,n,r,o,i))}function Qi(e,t,n,r,o){return e===t||(null==e||null==t||!se(e)&&!se(t)?e!=e&&t!=t:Ji(e,t,n,r,Qi,o))}var $i=1,ea=2;function ta(e){return e==e&&!Oe(e)}function na(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function ra(e){var t=function(e){for(var t=Yr(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,ta(o)]}return t}(e);return 1==t.length&&t[0][2]?na(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var l=n[o];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<i;){var s=(l=n[o])[0],c=e[s],u=l[1];if(a&&l[2]){if(void 0===c&&!(s in e))return!1}else{var d=new ke;if(r)var f=r(c,u,s,e,t,d);if(!(void 0===f?Qi(u,c,$i|ea,r,d):f))return!1}}return!0}(n,e,t)}}function oa(e,t){return null!=e&&t in Object(e)}function ia(e,t){return null!=e&&function(e,t,n){for(var r=-1,o=(t=no(t,e)).length,i=!1;++r<o;){var a=oo(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Te(o)&&Ee(a,o)&&(de(e)||je(e))}(e,t,oa)}var aa=1,la=2;function sa(e,t){return Zr(e)&&ta(t)?na(oo(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:io(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?ia(n,e):Qi(t,r,aa|la)}}function ca(e){return Zr(e)?(t=oo(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return io(t,e)}}(e);var t}var ua,da,fa=(ua=function(e,t){return e&&Re(e,t,Yr)},function(e,t){if(null==e)return e;if(!me(e))return ua(e,t);for(var n=e.length,r=da?n:-1,o=Object(e);(da?r--:++r<n)&&!1!==t(o[r],r,o););return e}),va=fa;function pa(e,t){var n=-1,r=me(e)?Array(e.length):[];return va(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}var ha,ma=(ha=function(e,t,n){return e+(n?"-":"")+t.toLowerCase()},function(e){return function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}($o(function(e){return(e=to(e))&&e.replace(To,Oo).replace(Eo,"")}(e).replace(ei,"")),ha,"")}),ga=ma,ba={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:function(e){return"Please load all ".concat(e,"'s descendants before checking it.")}},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:function(e){return"Total ".concat(e," items")},selected:function(e){return"".concat(e," items selected")}},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}};function wa(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}function ya(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,l=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function Aa(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,l=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,(function(e){return e.test(l)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n;return}(s,(function(e){return e.test(l)}));return a=e.valueCallback?e.valueCallback(c):c,{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(l.length)}}}var xa,Sa={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ka=function(e,t,n){var r,o=Sa[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},Ca={date:wa({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:wa({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:wa({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Oa={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ta=function(e,t,n,r){return Oa[e]},Ea={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:ya({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ya({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:ya({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ya({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ya({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},ja={ordinalNumber:(xa={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(xa.matchPattern);if(!n)return null;var r=n[0],o=e.match(xa.parsePattern);if(!o)return null;var i=xa.valueCallback?xa.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:Aa({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Aa({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Aa({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Aa({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Aa({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},Ma={name:"en-US",locale:{code:"en-US",formatDistance:ka,formatLong:Ca,formatRelative:Ta,localize:Ea,match:ja,options:{weekStartsOn:0,firstWeekContainsDate:1}}};function Ra(e,t,n){if(t){var r=_e(),o=L((function(){var n=t.value;if(n){var r=n[e];if(r)return r}})),i=function(){m((function(){var t=n.value,i="".concat(t).concat(e,"Rtl");if(!function(e,t){return void 0!==e&&(t?t.context.ids.has(e):null!==ie(e))}(i,r)){var a=o.value;a&&a.style.mount({id:i,head:!0,anchorMetaName:Be,props:{bPrefix:t?".".concat(t,"-"):void 0},ssr:r})}}))};return r?i():q(i),o}}function Pa(e,t){return p({name:ko(e),setup:function(){var n,r=null===(n=H(Pe,null))||void 0===n?void 0:n.mergedIconsRef;return function(){var n,o=null===(n=null==r?void 0:r.value)||void 0===n?void 0:n[e];return o?o():t}}})}var za=Pa("rotateClockwise",W("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),W("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"}))),_a=Pa("rotateClockwise",W("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),W("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"}))),Ba=Pa("zoomIn",W("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),W("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"}))),Da=Pa("zoomOut",W("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),W("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"}))),La=p({name:"ResizeSmall",render:function(){return W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},W("g",{fill:"none"},W("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}}),Fa=Le("base-icon","\n height: 1em;\n width: 1em;\n line-height: 1em;\n text-align: center;\n display: inline-block;\n position: relative;\n fill: currentColor;\n transform: translateZ(0);\n",[Fe("svg","\n height: 1em;\n width: 1em;\n ")]),Na=p({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup:function(e){!function(e,t,n){if(t){var r=_e(),o=H(Pe,null),i=function(){var i=null==n?void 0:n.value;t.mount({id:void 0===i?e:i+e,head:!0,anchorMetaName:Be,props:{bPrefix:i?".".concat(i,"-"):void 0},ssr:r}),(null==o?void 0:o.preflightStyleDisabled)||De.mount({id:"n-global",head:!0,anchorMetaName:Be,ssr:r})};r?i():q(i)}else ze("use-style","No style is specified.")}("-base-icon",Fa,Y(e,"clsPrefix"))},render:function(){return W("i",{class:"".concat(this.clsPrefix,"-base-icon"),onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),Wa={name:"Scrollbar",common:Ne,self:function(e){return{color:e.scrollbarColor,colorHover:e.scrollbarColorHover}}},Ia=We.cubicBezierEaseInOut;function Ua(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=void 0===t?"fade-in":t,r=e.enterDuration,o=void 0===r?"0.2s":r,i=e.leaveDuration,a=void 0===i?"0.2s":i,l=e.enterCubicBezier,s=void 0===l?Ia:l,c=e.leaveCubicBezier,u=void 0===c?Ia:c;return[Fe("&.".concat(n,"-transition-enter-active"),{transition:"all ".concat(o," ").concat(s,"!important")}),Fe("&.".concat(n,"-transition-leave-active"),{transition:"all ".concat(a," ").concat(u,"!important")}),Fe("&.".concat(n,"-transition-enter-from, &.").concat(n,"-transition-leave-to"),{opacity:0}),Fe("&.".concat(n,"-transition-leave-from, &.").concat(n,"-transition-enter-to"),{opacity:1})]}var Ha,qa,Ya,Va=Le("scrollbar","\n overflow: hidden;\n position: relative;\n z-index: auto;\n height: 100%;\n width: 100%;\n",[Fe(">",[Le("scrollbar-container","\n width: 100%;\n overflow: scroll;\n height: 100%;\n max-height: inherit;\n scrollbar-width: none;\n ",[Fe("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n "),Fe(">",[Le("scrollbar-content","\n box-sizing: border-box;\n min-width: 100%;\n ")])])]),Fe(">, +",[Le("scrollbar-rail","\n position: absolute;\n pointer-events: none;\n user-select: none;\n -webkit-user-select: none;\n ",[Ie("horizontal","\n left: 2px;\n right: 2px;\n bottom: 4px;\n height: var(--n-scrollbar-height);\n ",[Fe(">",[Ue("scrollbar","\n height: var(--n-scrollbar-height);\n border-radius: var(--n-scrollbar-border-radius);\n right: 0;\n ")])]),Ie("vertical","\n right: 4px;\n top: 2px;\n bottom: 2px;\n width: var(--n-scrollbar-width);\n ",[Fe(">",[Ue("scrollbar","\n width: var(--n-scrollbar-width);\n border-radius: var(--n-scrollbar-border-radius);\n bottom: 0;\n ")])]),Ie("disabled",[Fe(">",[Ue("scrollbar",{pointerEvents:"none"})])]),Fe(">",[Ue("scrollbar","\n position: absolute;\n cursor: pointer;\n pointer-events: all;\n background-color: var(--n-scrollbar-color);\n transition: background-color .2s var(--n-scrollbar-bezier);\n ",[Ua(),Fe("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]),Ga=Object.assign(Object.assign({},He.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:String,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),Za=p({name:"Scrollbar",props:Ga,inheritAttrs:!1,setup:function(e){var t,n,r=qe(e),o=r.mergedClsPrefixRef,i=r.inlineThemeDisabled,a=Ra("Scrollbar",r.mergedRtlRef,o),l=s(null),c=s(null),d=s(null),f=s(null),v=s(null),p=s(null),b=s(null),w=s(null),y=s(null),A=s(null),x=s(null),S=s(0),k=s(0),C=s(!1),O=s(!1),T=!1,E=!1,j=0,M=0,R=0,P=0,z=Rn(),_=L((function(){var t=w.value,n=p.value,r=A.value;return null===t||null===n||null===r?0:Math.min(t,r*t/n+1.5*e.size)})),B=L((function(){return"".concat(_.value,"px")})),D=L((function(){var t=y.value,n=b.value,r=x.value;return null===t||null===n||null===r?0:r*t/n+1.5*e.size})),F=L((function(){return"".concat(D.value,"px")})),N=L((function(){var e=w.value,t=S.value,n=p.value,r=A.value;if(null===e||null===n||null===r)return 0;var o=n-e;return o?t/o*(r-_.value):0})),W=L((function(){return"".concat(N.value,"px")})),H=L((function(){var e=y.value,t=k.value,n=b.value,r=x.value;if(null===e||null===n||null===r)return 0;var o=n-e;return o?t/o*(r-D.value):0})),q=L((function(){return"".concat(H.value,"px")})),Y=L((function(){var e=w.value,t=p.value;return null!==e&&null!==t&&t>e})),V=L((function(){var e=y.value,t=b.value;return null!==e&&null!==t&&t>e})),G=L((function(){return"none"===e.trigger||C.value})),Z=L((function(){return"none"===e.trigger||O.value})),K=L((function(){var t=e.container;return t?t():c.value})),X=L((function(){var t=e.content;return t?t():d.value})),J=function(e){var t={isDeactivated:!1},n=!1;return I((function(){t.isDeactivated=!1,n?e():n=!0})),U((function(){t.isDeactivated=!0,n||(n=!0)})),t}((function(){e.container||Q({top:S.value,left:k.value})})),Q=function(t,n){if(e.scrollable)if("number"!=typeof t){var r=t.left,o=t.top,i=t.index,a=t.elSize,l=t.position,s=t.behavior,c=t.el,u=t.debounce,d=void 0===u||u;void 0===r&&void 0===o||$(null!=r?r:0,null!=o?o:0,0,!1,s),void 0!==c?$(0,c.offsetTop,c.offsetHeight,d,s):void 0!==i&&void 0!==a?$(0,i*a,a,d,s):"bottom"===l?$(0,Number.MAX_SAFE_INTEGER,0,!1,s):"top"===l&&$(0,0,0,!1,s)}else $(null!=n?n:0,t,0,!1,"auto")};function $(e,t,n,r,o){var i=K.value;if(i){if(r){var a=i.scrollTop,l=i.offsetHeight;if(t>a)return void(t+n<=a+l||i.scrollTo({left:e,top:t+n-l,behavior:o}))}i.scrollTo({left:e,top:t,behavior:o})}}function ee(){!function(){void 0!==n&&window.clearTimeout(n);n=window.setTimeout((function(){O.value=!1}),e.duration)}(),function(){void 0!==t&&window.clearTimeout(t);t=window.setTimeout((function(){C.value=!1}),e.duration)}()}function te(){var e=K.value;e&&(S.value=e.scrollTop,k.value=e.scrollLeft*((null==a?void 0:a.value)?-1:1))}function ne(){var e=K.value;e&&(S.value=e.scrollTop,k.value=e.scrollLeft*((null==a?void 0:a.value)?-1:1),w.value=e.offsetHeight,y.value=e.offsetWidth,p.value=e.scrollHeight,b.value=e.scrollWidth);var t=v.value,n=f.value;t&&(x.value=t.offsetWidth),n&&(A.value=n.offsetHeight)}function re(){e.scrollable&&(e.useUnifiedContainer?ne():(!function(){var e=X.value;e&&(p.value=e.offsetHeight,b.value=e.offsetWidth);var t=K.value;t&&(w.value=t.offsetHeight,y.value=t.offsetWidth);var n=v.value,r=f.value;n&&(x.value=n.offsetWidth),r&&(A.value=r.offsetHeight)}(),te()))}function oe(e){var t;return!(null===(t=l.value)||void 0===t?void 0:t.contains(wn(e)))}function ie(r){if(E){void 0!==t&&window.clearTimeout(t),void 0!==n&&window.clearTimeout(n);var o=y.value,i=b.value,l=D.value;if(null!==o&&null!==i){var s=(null==a?void 0:a.value)?window.innerWidth-r.clientX-R:r.clientX-R,c=i-o,u=M+s*(i-o)/(o-l);u=Math.min(c,u),u=Math.max(u,0);var d=K.value;if(d){d.scrollLeft=u*((null==a?void 0:a.value)?-1:1);var f=e.internalOnUpdateScrollLeft;f&&f(u)}}}}function se(e){e.preventDefault(),e.stopPropagation(),le("mousemove",window,ie,!0),le("mouseup",window,se,!0),E=!1,re(),oe(e)&&ee()}function ce(e){if(T){void 0!==t&&window.clearTimeout(t),void 0!==n&&window.clearTimeout(n);var r=w.value,o=p.value,i=_.value;if(null!==r&&null!==o){var a=e.clientY-P,l=o-r,s=j+a*(o-r)/(r-i);s=Math.min(l,s),s=Math.max(s,0);var c=K.value;c&&(c.scrollTop=s)}}}function ue(e){e.preventDefault(),e.stopPropagation(),le("mousemove",window,ce,!0),le("mouseup",window,ue,!0),T=!1,re(),oe(e)&&ee()}m((function(){var e=V.value,t=Y.value,n=o.value,r=v.value,i=f.value;r&&(e?r.classList.remove("".concat(n,"-scrollbar-rail--disabled")):r.classList.add("".concat(n,"-scrollbar-rail--disabled"))),i&&(t?i.classList.remove("".concat(n,"-scrollbar-rail--disabled")):i.classList.add("".concat(n,"-scrollbar-rail--disabled")))})),h((function(){e.container||re()})),g((function(){void 0!==t&&window.clearTimeout(t),void 0!==n&&window.clearTimeout(n),le("mousemove",window,ce,!0),le("mouseup",window,ue,!0)}));var de=He("Scrollbar","-scrollbar",Va,Wa,e,o),fe=L((function(){var e=de.value,t=e.common,n=t.cubicBezierEaseInOut,r=t.scrollbarBorderRadius,o=t.scrollbarHeight,i=t.scrollbarWidth,a=e.self;return{"--n-scrollbar-bezier":n,"--n-scrollbar-color":a.color,"--n-scrollbar-color-hover":a.colorHover,"--n-scrollbar-border-radius":r,"--n-scrollbar-width":i,"--n-scrollbar-height":o}})),ve=i?Ye("scrollbar",void 0,fe,e):void 0,pe={scrollTo:Q,scrollBy:function(t,n){if(e.scrollable){var r=K.value;r&&("object"===u(t)?r.scrollBy(t):r.scrollBy(t,n||0))}},sync:re,syncUnifiedContainer:ne,handleMouseEnterWrapper:function(){!function(){void 0!==t&&window.clearTimeout(t);C.value=!0}(),function(){void 0!==n&&window.clearTimeout(n);O.value=!0}(),re()},handleMouseLeaveWrapper:function(){ee()}};return Object.assign(Object.assign({},pe),{mergedClsPrefix:o,rtlEnabled:a,containerScrollTop:S,wrapperRef:l,containerRef:c,contentRef:d,yRailRef:f,xRailRef:v,needYBar:Y,needXBar:V,yBarSizePx:B,xBarSizePx:F,yBarTopPx:W,xBarLeftPx:q,isShowXBar:G,isShowYBar:Z,isIos:z,handleScroll:function(t){var n=e.onScroll;n&&n(t),te()},handleContentResize:function(){J.isDeactivated||re()},handleContainerResize:function(t){if(!J.isDeactivated){var n=e.onResize;n&&n(t),re()}},handleYScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),T=!0,ae("mousemove",window,ce,!0),ae("mouseup",window,ue,!0),j=S.value,P=e.clientY},handleXScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),E=!0,ae("mousemove",window,ie,!0),ae("mouseup",window,se,!0),M=k.value,R=(null==a?void 0:a.value)?window.innerWidth-e.clientX:e.clientX},cssVars:i?void 0:fe,themeClass:null==ve?void 0:ve.themeClass,onRender:null==ve?void 0:ve.onRender})},render:function(){var e,t=this,n=this.$slots,r=this.mergedClsPrefix,o=this.triggerDisplayManually,i=this.rtlEnabled,a=this.internalHoistYRail;if(!this.scrollable)return null===(e=n.default)||void 0===e?void 0:e.call(n);var l="none"===this.trigger,s=function(){return W("div",{ref:"yRailRef",class:["".concat(r,"-scrollbar-rail"),"".concat(r,"-scrollbar-rail--vertical")],"data-scrollbar-rail":!0,style:t.verticalRailStyle,"aria-hidden":!0},W(l?Cn:V,l?null:{name:"fade-in-transition"},{default:function(){return t.needYBar&&t.isShowYBar&&!t.isIos?W("div",{class:"".concat(r,"-scrollbar-rail__scrollbar"),style:{height:t.yBarSizePx,top:t.yBarTopPx},onMousedown:t.handleYScrollMouseDown}):null}}))},c=function(){var e,c;return null===(e=t.onRender)||void 0===e||e.call(t),W("div",A(t.$attrs,{role:"none",ref:"wrapperRef",class:["".concat(r,"-scrollbar"),t.themeClass,i&&"".concat(r,"-scrollbar--rtl")],style:t.cssVars,onMouseenter:o?void 0:t.handleMouseEnterWrapper,onMouseleave:o?void 0:t.handleMouseLeaveWrapper}),[t.container?null===(c=n.default)||void 0===c?void 0:c.call(n):W("div",{role:"none",ref:"containerRef",class:["".concat(r,"-scrollbar-container"),t.containerClass],style:t.containerStyle,onScroll:t.handleScroll,onWheel:t.onWheel},W(Er,{onResize:t.handleContentResize},{default:function(){return W("div",{ref:"contentRef",role:"none",style:[{width:t.xScrollable?"fit-content":null},t.contentStyle],class:["".concat(r,"-scrollbar-content"),t.contentClass]},n)}})),a?null:s(),t.xScrollable&&W("div",{ref:"xRailRef",class:["".concat(r,"-scrollbar-rail"),"".concat(r,"-scrollbar-rail--horizontal")],style:t.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},W(l?Cn:V,l?null:{name:"fade-in-transition"},{default:function(){return t.needXBar&&t.isShowXBar&&!t.isIos?W("div",{class:"".concat(r,"-scrollbar-rail__scrollbar"),style:{width:t.xBarSizePx,right:i?t.xBarLeftPx:void 0,left:i?void 0:t.xBarLeftPx},onMousedown:t.handleXScrollMouseDown}):null}}))])},u=this.container?c():W(Er,{onResize:this.handleContainerResize},{default:c});return a?W(S,null,u,s()):u}}),Ka=Za,Xa={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},Ja={name:"Popover",common:Ne,self:function(e){var t=e.boxShadow2,n=e.popoverColor,r=e.textColor2,o=e.borderRadius,i=e.fontSize,a=e.dividerColor;return Object.assign(Object.assign({},Xa),{fontSize:i,borderRadius:o,color:n,dividerColor:a,textColor:r,boxShadow:t})}},Qa={top:"bottom",bottom:"top",left:"right",right:"left"},$a="var(--n-arrow-height) * 1.414",el=Fe([Le("popover","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n position: relative;\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n box-shadow: var(--n-box-shadow);\n word-break: break-word;\n ",[Fe(">",[Le("scrollbar","\n height: inherit;\n max-height: inherit;\n ")]),Ve("raw","\n background-color: var(--n-color);\n border-radius: var(--n-border-radius);\n ",[Ve("scrollable",[Ve("show-header-or-footer","padding: var(--n-padding);")])]),Ue("header","\n padding: var(--n-padding);\n border-bottom: 1px solid var(--n-divider-color);\n transition: border-color .3s var(--n-bezier);\n "),Ue("footer","\n padding: var(--n-padding);\n border-top: 1px solid var(--n-divider-color);\n transition: border-color .3s var(--n-bezier);\n "),Ie("scrollable, show-header-or-footer",[Ue("content","\n padding: var(--n-padding);\n ")])]),Le("popover-shared","\n transform-origin: inherit;\n ",[Le("popover-arrow-wrapper","\n position: absolute;\n overflow: hidden;\n pointer-events: none;\n ",[Le("popover-arrow","\n transition: background-color .3s var(--n-bezier);\n position: absolute;\n display: block;\n width: calc(".concat($a,");\n height: calc(").concat($a,");\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);\n transform: rotate(45deg);\n background-color: var(--n-color);\n pointer-events: all;\n "))]),Fe("&.popover-transition-enter-from, &.popover-transition-leave-to","\n opacity: 0;\n transform: scale(.85);\n "),Fe("&.popover-transition-enter-to, &.popover-transition-leave-from","\n transform: scale(1);\n opacity: 1;\n "),Fe("&.popover-transition-enter-active","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .15s var(--n-bezier-ease-out),\n transform .15s var(--n-bezier-ease-out);\n "),Fe("&.popover-transition-leave-active","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .15s var(--n-bezier-ease-in),\n transform .15s var(--n-bezier-ease-in);\n ")]),nl("top-start","\n top: calc(".concat($a," / -2);\n left: calc(").concat(tl("top-start")," - var(--v-offset-left));\n ")),nl("top","\n top: calc(".concat($a," / -2);\n transform: translateX(calc(").concat($a," / -2)) rotate(45deg);\n left: 50%;\n ")),nl("top-end","\n top: calc(".concat($a," / -2);\n right: calc(").concat(tl("top-end")," + var(--v-offset-left));\n ")),nl("bottom-start","\n bottom: calc(".concat($a," / -2);\n left: calc(").concat(tl("bottom-start")," - var(--v-offset-left));\n ")),nl("bottom","\n bottom: calc(".concat($a," / -2);\n transform: translateX(calc(").concat($a," / -2)) rotate(45deg);\n left: 50%;\n ")),nl("bottom-end","\n bottom: calc(".concat($a," / -2);\n right: calc(").concat(tl("bottom-end")," + var(--v-offset-left));\n ")),nl("left-start","\n left: calc(".concat($a," / -2);\n top: calc(").concat(tl("left-start")," - var(--v-offset-top));\n ")),nl("left","\n left: calc(".concat($a," / -2);\n transform: translateY(calc(").concat($a," / -2)) rotate(45deg);\n top: 50%;\n ")),nl("left-end","\n left: calc(".concat($a," / -2);\n bottom: calc(").concat(tl("left-end")," + var(--v-offset-top));\n ")),nl("right-start","\n right: calc(".concat($a," / -2);\n top: calc(").concat(tl("right-start")," - var(--v-offset-top));\n ")),nl("right","\n right: calc(".concat($a," / -2);\n transform: translateY(calc(").concat($a," / -2)) rotate(45deg);\n top: 50%;\n ")),nl("right-end","\n right: calc(".concat($a," / -2);\n bottom: calc(").concat(tl("right-end")," + var(--v-offset-top));\n "))].concat(a((qa=function(e,t){var n=["right","left"].includes(t),r=n?"width":"height";return e.map((function(e){var o="end"===e.split("-")[1],i="var(--v-target-".concat(r,", 0px)"),a="calc((".concat(i," - ").concat($a,") / 2)"),l=tl(e);return Fe('[v-placement="'.concat(e,'"] >'),[Le("popover-shared",[Ie("center-arrow",[Le("popover-arrow","".concat(t,": calc(max(").concat(a,", ").concat(l,") ").concat(o?"+":"-"," var(--v-offset-").concat(n?"left":"top","));"))])])])}))},(de(Ha={top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]})?Lr:pa)(Ha,"function"==typeof(Ya=qa)?Ya:null==Ya?Me:"object"==u(Ya)?de(Ya)?sa(Ya[0],Ya[1]):ra(Ya):ca(Ya))))));function tl(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function nl(e,t){var n=e.split("-")[0],r=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return Fe('[v-placement="'.concat(e,'"] >'),[Le("popover-shared","\n margin-".concat(Qa[n],": var(--n-space);\n "),[Ie("show-arrow","\n margin-".concat(Qa[n],": var(--n-space-arrow);\n ")),Ie("overlap","\n margin: 0;\n "),Ge("popover-arrow-wrapper","\n right: 0;\n left: 0;\n top: 0;\n bottom: 0;\n ".concat(n,": 100%;\n ").concat(Qa[n],": auto;\n ").concat(r,"\n "),[Le("popover-arrow",t)])])])}var rl=Object.assign(Object.assign({},He.props),{to:Ze.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),ol=p({name:"PopoverBody",inheritAttrs:!1,props:rl,setup:function(e,t){var n=t.slots,r=t.attrs,o=qe(e),a=o.namespaceRef,l=o.mergedClsPrefixRef,c=o.inlineThemeDisabled,u=He("Popover","-popover",el,Ja,e,l),d=s(null),v=H("NPopover"),p=s(null),h=s(e.show),b=s(!1);m((function(){!e.show||(void 0===kn&&(kn=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),kn)||e.internalDeactivateImmediately||(b.value=!0)}));var w=L((function(){var t=e.trigger,n=e.onClickoutside,r=[];return v.positionManuallyRef.value||("click"!==t||n||r.push([Ln,E,void 0,{capture:!0}]),"hover"===t&&r.push([_n,T])),n&&r.push([Ln,E,void 0,{capture:!0}]),("show"===e.displayDirective||e.animated&&b.value)&&r.push([Z,e.show]),r})),y=L((function(){var t="trigger"===e.width?void 0:En(e.width),n=[];t&&n.push({width:t});var r=e.maxWidth,o=e.minWidth;return r&&n.push({maxWidth:En(r)}),o&&n.push({maxWidth:En(o)}),c||n.push(x.value),n})),x=L((function(){var e=u.value,t=e.common,n=t.cubicBezierEaseInOut,r=t.cubicBezierEaseIn,o=t.cubicBezierEaseOut,i=e.self,a=i.space,l=i.spaceArrow,s=i.padding,c=i.fontSize,d=i.textColor,f=i.dividerColor,v=i.color;return{"--n-box-shadow":i.boxShadow,"--n-bezier":n,"--n-bezier-ease-in":r,"--n-bezier-ease-out":o,"--n-font-size":c,"--n-text-color":d,"--n-color":v,"--n-divider-color":f,"--n-border-radius":i.borderRadius,"--n-arrow-height":i.arrowHeight,"--n-arrow-offset":i.arrowOffset,"--n-arrow-offset-vertical":i.arrowOffsetVertical,"--n-padding":s,"--n-space":a,"--n-space-arrow":l}})),k=c?Ye("popover",void 0,x,e):void 0;function C(t){"hover"===e.trigger&&e.keepAliveOnHover&&e.show&&v.handleMouseEnter(t)}function O(t){"hover"===e.trigger&&e.keepAliveOnHover&&v.handleMouseLeave(t)}function T(t){"hover"!==e.trigger||j().contains(wn(t))||v.handleMouseMoveOutside(t)}function E(t){("click"===e.trigger&&!j().contains(wn(t))||e.onClickoutside)&&v.handleClickOutside(t)}function j(){return v.getTriggerElement()}return v.setBodyInstance({syncPosition:function(){var e;null===(e=d.value)||void 0===e||e.syncPosition()}}),g((function(){v.setBodyInstance(null)})),f(Y(e,"show"),(function(t){e.animated||(h.value=!!t)})),G(Qe,p),G($e,null),G(et,null),{displayed:b,namespace:a,isMounted:v.isMountedRef,zIndex:v.zIndexRef,followerRef:d,adjustedTo:Ze(e),followerEnabled:h,renderContentNode:function(){var t;if(null==k||k.onRender(),!("show"===e.displayDirective||e.show||e.animated&&b.value))return null;var o=v.internalRenderBodyRef.value,a=l.value;if(o)t=o(["".concat(a,"-popover-shared"),null==k?void 0:k.themeClass.value,e.overlap&&"".concat(a,"-popover-shared--overlap"),e.showArrow&&"".concat(a,"-popover-shared--show-arrow"),e.arrowPointToCenter&&"".concat(a,"-popover-shared--center-arrow")],p,y.value,C,O);else{var s,c=v.extraClassRef.value,u=e.internalTrapFocus,d=!Xe(n.header)||!Xe(n.footer),f=function(){var t,r,o,i,l=d?W(S,null,Je(n.header,(function(t){return t?W("div",{class:"".concat(a,"-popover__header"),style:e.headerStyle},t):null})),Je(n.default,(function(t){return t?W("div",{class:"".concat(a,"-popover__content"),style:e.contentStyle},n):null})),Je(n.footer,(function(t){return t?W("div",{class:"".concat(a,"-popover__footer"),style:e.footerStyle},t):null}))):e.scrollable?null===(t=n.default)||void 0===t?void 0:t.call(n):W("div",{class:"".concat(a,"-popover__content"),style:e.contentStyle},n);return[e.scrollable?W(Ka,{contentClass:d?void 0:"".concat(a,"-popover__content"),contentStyle:d?void 0:e.contentStyle},{default:function(){return l}}):l,e.showArrow?(r={arrowStyle:e.arrowStyle,clsPrefix:a},o=r.arrowStyle,i=r.clsPrefix,W("div",{key:"__popover-arrow__",class:"".concat(i,"-popover-arrow-wrapper")},W("div",{class:"".concat(i,"-popover-arrow"),style:o}))):null]};t=W("div",A({class:["".concat(a,"-popover"),"".concat(a,"-popover-shared"),null==k?void 0:k.themeClass.value,c.map((function(e){return"".concat(a,"-").concat(e)})),(s={},i(s,"".concat(a,"-popover--scrollable"),e.scrollable),i(s,"".concat(a,"-popover--show-header-or-footer"),d),i(s,"".concat(a,"-popover--raw"),e.raw),i(s,"".concat(a,"-popover-shared--overlap"),e.overlap),i(s,"".concat(a,"-popover-shared--show-arrow"),e.showArrow),i(s,"".concat(a,"-popover-shared--center-arrow"),e.arrowPointToCenter),s)],ref:p,style:y.value,onKeydown:v.handleKeydown,onMouseenter:C,onMouseleave:O},r),u?W(_r,{active:e.show,autoFocus:!0},{default:f}):f())}return K(t,w.value)}}},render:function(){var e=this;return W(Ke,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:"trigger"===this.width?"target":void 0,teleportDisabled:this.adjustedTo===Ze.tdkey},{default:function(){return e.animated?W(V,{name:"popover-transition",appear:e.isMounted,onEnter:function(){e.followerEnabled=!0},onAfterLeave:function(){var t;null===(t=e.internalOnAfterLeave)||void 0===t||t.call(e),e.followerEnabled=!1,e.displayed=!1}},{default:e.renderContentNode}):e.renderContentNode()}})}}),il=Object.keys(rl),al={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};var ll={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Ze.propTo,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:function(){return[]}},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:function(){return[]}},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},sl=Object.assign(Object.assign(Object.assign({},He.props),ll),{internalOnAfterLeave:Function,internalRenderBody:Function}),cl=p({name:"Popover",inheritAttrs:!1,props:sl,__popover__:!0,setup:function(e){m((function(){void 0!==e.maxWidth&<("popover","`max-width` is deprecated, please use `style` instead."),void 0!==e.minWidth&<("popover","`min-width` is deprecated, please use `style` instead."),void 0!==e.arrow&<("popover","`arrow` is deprecated, please use `showArrow` instead."),void 0!==e.onHide&<("popover","`on-hide` is deprecated, please use `on-update:show` instead."),void 0!==e.onShow&<("popover","`on-show` is deprecated, please use `on-update:show` instead.")}));var t=tt(),n=s(null),r=L((function(){return e.show})),o=s(e.defaultShow),i=nt(r,o),a=rt((function(){return!e.disabled&&i.value})),l=function(){if(e.disabled)return!0;var t=e.getDisabled;return!!(null==t?void 0:t())},u=function(){return!l()&&i.value},d=function(e,t){return L((function(){var n,r=c(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(void 0!==e[o])return e[o]}}catch(i){r.e(i)}finally{r.f()}return e[t[t.length-1]]}))}(e,["arrow","showArrow"]),f=L((function(){return!e.overlap&&d.value})),v=null,p=s(null),h=s(null),g=rt((function(){return void 0!==e.x&&void 0!==e.y}));function b(t){var n=e["onUpdate:show"],r=e.onUpdateShow,i=e.onShow,a=e.onHide;o.value=t,n&&st(n,t),r&&st(r,t),t&&i&&st(i,!0),t&&a&&st(a,!1)}function w(){var e=p.value;e&&(window.clearTimeout(e),p.value=null)}function y(){var e=h.value;e&&(window.clearTimeout(e),h.value=null)}function A(){var t=l();if("hover"===e.trigger&&!t){if(y(),null!==p.value)return;if(u())return;var n=function(){b(!0),p.value=null},r=e.delay;0===r?n():p.value=window.setTimeout(n,r)}}function x(){var t=l();if("hover"===e.trigger&&!t){if(w(),null!==h.value)return;if(!u())return;var n=function(){b(!1),h.value=null},r=e.duration;0===r?n():h.value=window.setTimeout(n,r)}}return G("NPopover",{getTriggerElement:function(){var e;return null===(e=n.value)||void 0===e?void 0:e.targetRef},handleKeydown:function(t){e.internalTrapFocus&&"Escape"===t.key&&(w(),y(),b(!1))},handleMouseEnter:A,handleMouseLeave:x,handleClickOutside:function(t){var n;u()&&("click"===e.trigger&&(w(),y(),b(!1)),null===(n=e.onClickoutside)||void 0===n||n.call(e,t))},handleMouseMoveOutside:function(){x()},setBodyInstance:function(e){v=e},positionManuallyRef:g,isMountedRef:t,zIndexRef:Y(e,"zIndex"),extraClassRef:Y(e,"internalExtraClass"),internalRenderBodyRef:Y(e,"internalRenderBody")}),m((function(){i.value&&l()&&b(!1)})),{binderInstRef:n,positionManually:g,mergedShowConsideringDisabledProp:a,uncontrolledShow:o,mergedShowArrow:f,getMergedShow:u,setShow:function(e){o.value=e},handleClick:function(){"click"!==e.trigger||l()||(w(),y(),b(!u()))},handleMouseEnter:A,handleMouseLeave:x,handleFocus:function(){var t=l();if("focus"===e.trigger&&!t){if(u())return;b(!0)}},handleBlur:function(){var t=l();if("focus"===e.trigger&&!t){if(!u())return;b(!1)}},syncPosition:function(){v&&v.syncPosition()}}},render:function(){var e,t,n=this,r=this.positionManually,o=this.$slots,i=!1;if(!r&&(t=o.activator?Sn(o,"activator"):Sn(o,"trigger"))){t=(t=X(t)).type===J?W("span",[t]):t;var l={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(null===(e=t.type)||void 0===e?void 0:e.__popover__)i=!0,t.props||(t.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),t.props.internalSyncTargetWithParent=!0,t.props.internalInheritedEventHandlers?t.props.internalInheritedEventHandlers=[l].concat(a(t.props.internalInheritedEventHandlers)):t.props.internalInheritedEventHandlers=[l];else{var s=this.internalInheritedEventHandlers,c=[l].concat(a(s)),u={onBlur:function(e){c.forEach((function(t){t.onBlur(e)}))},onFocus:function(e){c.forEach((function(t){t.onFocus(e)}))},onClick:function(e){c.forEach((function(t){t.onClick(e)}))},onMouseenter:function(e){c.forEach((function(t){t.onMouseenter(e)}))},onMouseleave:function(e){c.forEach((function(t){t.onMouseleave(e)}))}};!function(e,t,n){al[t].forEach((function(t){e.props?e.props=Object.assign({},e.props):e.props={};var r=e.props[t],o=n[t];e.props[t]=r?function(){r.apply(void 0,arguments),o.apply(void 0,arguments)}:o}))}(t,s?"nested":r?"manual":this.trigger,u)}}return W(at,{ref:"binderInstRef",syncTarget:!i,syncTargetWithParent:this.internalSyncTargetWithParent},{default:function(){n.mergedShowConsideringDisabledProp;var e=n.getMergedShow();return[n.internalTrapFocus&&e?K(W("div",{style:{position:"fixed",inset:0}}),[[ot,{enabled:e,zIndex:n.zIndex}]]):null,r?null:W(it,null,{default:function(){return t}}),W(ol,An(n.$props,il,Object.assign(Object.assign({},n.$attrs),{showArrow:n.mergedShowArrow,show:e})),{default:function(){var e,t;return null===(t=(e=n.$slots).default)||void 0===t?void 0:t.call(e)},header:function(){var e,t;return null===(t=(e=n.$slots).header)||void 0===t?void 0:t.call(e)},footer:function(){var e,t;return null===(t=(e=n.$slots).footer)||void 0===t?void 0:t.call(e)}})]}})}}),ul=jn&&"loading"in document.createElement("img"),dl=new WeakMap,fl=new WeakMap,vl=new WeakMap,pl=function(e,t,n){if(!e)return function(){};var r,o,i,a=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.root,r=void 0===n?null:n;return{hash:"".concat(t.rootMargin||"0px 0px 0px 0px","-").concat(Array.isArray(t.threshold)?t.threshold.join(","):null!==(e=t.threshold)&&void 0!==e?e:"0"),options:Object.assign(Object.assign({},t),{root:("string"==typeof r?document.querySelector(r):r)||document.documentElement})}}(t),l=a.options.root,s=dl.get(l);s?r=s:(r=new Map,dl.set(l,r)),r.has(a.hash)?(i=r.get(a.hash))[1].has(e)||(o=i[0],i[1].add(e),o.observe(e)):((o=new IntersectionObserver((function(e){e.forEach((function(e){if(e.isIntersecting){var t=fl.get(e.target),n=vl.get(e.target);t&&t(),n&&(n.value=!0)}}))}),a.options)).observe(e),i=[o,new Set([e])],r.set(a.hash,i));var c=!1,u=function(){c||(fl.delete(e),vl.delete(e),c=!0,i[1].has(e)&&(i[0].unobserve(e),i[1].delete(e)),i[1].size<=0&&r.delete(a.hash),r.size||dl.delete(l))};return fl.set(e,u),vl.set(e,n),u},hl={padding:"8px 14px"},ml=ct({name:"Tooltip",common:Ne,peers:{Popover:Ja},self:function(e){var t=e.borderRadius,n=e.boxShadow2,r=e.baseColor;return Object.assign(Object.assign({},hl),{borderRadius:t,boxShadow:n,color:ut(r,"rgba(0, 0, 0, .85)"),textColor:r})}}),gl=Object.assign(Object.assign({},ll),He.props),bl=p({name:"Tooltip",props:gl,__popover__:!0,setup:function(e){var t=qe(e).mergedClsPrefixRef,n=He("Tooltip","-tooltip",void 0,ml,e,t),r=s(null),o={syncPosition:function(){r.value.syncPosition()},setShow:function(e){r.value.setShow(e)}};return Object.assign(Object.assign({},o),{popoverRef:r,mergedTheme:n,popoverThemeOverrides:L((function(){return n.value.self}))})},render:function(){var e=this.mergedTheme,t=this.internalExtraClass;return W(cl,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),wl=Object.assign(Object.assign({},He.props),{showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean}),yl=dt("n-image");var Al=ct({name:"Image",common:Ne,peers:{Tooltip:ml},self:function(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}}),xl=W("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"})),Sl=W("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"})),kl=W("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"})),Cl=Fe([Fe("body >",[Le("image-container","position: fixed;")]),Le("image-preview-container","\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n "),Le("image-preview-overlay","\n z-index: -1;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0, 0, 0, .3);\n ",[Ua()]),Le("image-preview-toolbar","\n z-index: 1;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n border-radius: var(--n-toolbar-border-radius);\n height: 48px;\n bottom: 40px;\n padding: 0 12px;\n background: var(--n-toolbar-color);\n box-shadow: var(--n-toolbar-box-shadow);\n color: var(--n-toolbar-icon-color);\n transition: color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n ",[Le("base-icon","\n padding: 0 8px;\n font-size: 28px;\n cursor: pointer;\n "),Ua()]),Le("image-preview-wrapper","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n pointer-events: none;\n ",[ft()]),Le("image-preview","\n user-select: none;\n -webkit-user-select: none;\n pointer-events: all;\n margin: auto;\n max-height: calc(100vh - 32px);\n max-width: calc(100vw - 32px);\n transition: transform .3s var(--n-bezier);\n "),Le("image","\n display: inline-flex;\n max-height: 100%;\n max-width: 100%;\n ",[Ve("preview-disabled","\n cursor: pointer;\n "),Fe("img","\n border-radius: inherit;\n ")])]),Ol=p({name:"ImagePreview",props:Object.assign(Object.assign({},wl),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup:function(e){var t=He("Image","-image",Cl,Al,e,Y(e,"clsPrefix")),n=null,r=s(null),o=s(null),i=s(void 0),a=s(!1),l=s(!1),c=function(e){var t=H(Pe,null)||{},n=t.mergedLocaleRef,r=t.mergedDateLocaleRef,o=L((function(){var t,r;return null!==(r=null===(t=null==n?void 0:n.value)||void 0===t?void 0:t[e])&&void 0!==r?r:ba[e]}));return{dateLocaleRef:L((function(){var e;return null!==(e=null==r?void 0:r.value)&&void 0!==e?e:Ma})),localeRef:o}}("Image"),u=c.localeRef;function d(t){var n,r;switch(t.key){case" ":t.preventDefault();break;case"ArrowLeft":null===(n=e.onPrev)||void 0===n||n.call(e);break;case"ArrowRight":null===(r=e.onNext)||void 0===r||r.call(e);break;case"Escape":z()}}f(a,(function(e){e?ae("keydown",document,d):le("keydown",document,d)})),g((function(){le("keydown",document,d)}));var v=0,p=0,h=0,m=0,b=0,w=0,y=0,A=0,x=!1;function S(e){var t=e.clientX,n=e.clientY;h=t-v,m=n-p,pt(P)}function k(e){var t=r.value;if(!t)return{offsetX:0,offsetY:0};var n=t.getBoundingClientRect(),o=e||{},i=o.moveVerticalDirection,a=o.moveHorizontalDirection,l=o.deltaHorizontal,s=o.deltaVertical;return{offsetX:n.width<=window.innerWidth?0:n.left>0?(n.width-window.innerWidth)/2:n.right<window.innerWidth?-(n.width-window.innerWidth)/2:"horizontalRight"===a?Math.min((n.width-window.innerWidth)/2,b-(null!=l?l:0)):Math.max(-(n.width-window.innerWidth)/2,b-(null!=l?l:0)),offsetY:n.height<=window.innerHeight?0:n.top>0?(n.height-window.innerHeight)/2:n.bottom<window.innerHeight?-(n.height-window.innerHeight)/2:"verticalBottom"===i?Math.min((n.height-window.innerHeight)/2,w-(null!=s?s:0)):Math.max(-(n.height-window.innerHeight)/2,w-(null!=s?s:0))}}function C(e){le("mousemove",document,S),le("mouseup",document,C);var t=e.clientX,n=e.clientY;x=!1;var r=function(e){var t=e.mouseUpClientX,n=e.mouseUpClientY,r=e.mouseDownClientX-t,o=e.mouseDownClientY-n;return{moveVerticalDirection:"vertical".concat(o>0?"Top":"Bottom"),moveHorizontalDirection:"horizontal".concat(r>0?"Left":"Right"),deltaHorizontal:r,deltaVertical:o}}({mouseUpClientX:t,mouseUpClientY:n,mouseDownClientX:y,mouseDownClientY:A}),o=k(r);h=o.offsetX,m=o.offsetY,P()}var O=H(yl,null);var T=0,E=1,j=0;function M(){E=1,T=0}function R(){var e=r.value;if(!e)return 1;var t=window,n=t.innerWidth,o=t.innerHeight,i=e.naturalHeight/(o-32),a=e.naturalWidth/(n-32);return i<1&&a<1?1:Math.max(i,a)}function P(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=r.value;if(n){var o=n.style,i=Q(null===(e=null==O?void 0:O.previewedImgPropsRef.value)||void 0===e?void 0:e.style),a="";if("string"==typeof i)a=i+";";else for(var l in i)a+="".concat(ga(l),": ").concat(i[l],";");var s="transform-origin: center; transform: translateX(".concat(h,"px) translateY(").concat(m,"px) rotate(").concat(j,"deg) scale(").concat(E,");");o.cssText=x?a+"cursor: grabbing; transition: none;"+s:a+"cursor: grab;"+s+(t?"":"transition: none;"),t||n.offsetHeight}}function z(){a.value=!a.value,l.value=!0}var _={setPreviewSrc:function(e){i.value=e},setThumbnailEl:function(e){n=e},toggleShow:z};var B=L((function(){var e=t.value,n=e.common.cubicBezierEaseInOut,r=e.self,o=r.toolbarIconColor,i=r.toolbarBorderRadius,a=r.toolbarBoxShadow;return{"--n-bezier":n,"--n-toolbar-icon-color":o,"--n-toolbar-color":r.toolbarColor,"--n-toolbar-border-radius":i,"--n-toolbar-box-shadow":a}})),D=qe().inlineThemeDisabled,F=D?Ye("image-preview",void 0,B,e):void 0;return Object.assign({previewRef:r,previewWrapperRef:o,previewSrc:i,show:a,appear:tt(),displayed:l,previewedImgProps:null==O?void 0:O.previewedImgPropsRef,handleWheel:function(e){e.preventDefault()},handlePreviewMousedown:function(e){var t,n;if(null===(n=null===(t=null==O?void 0:O.previewedImgPropsRef.value)||void 0===t?void 0:t.onMousedown)||void 0===n||n.call(t,e),0===e.button){var r=e.clientX,o=e.clientY;x=!0,v=r-h,p=o-m,b=h,w=m,y=r,A=o,P(),ae("mousemove",document,S),ae("mouseup",document,C)}},handlePreviewDblclick:function(e){var t,n;null===(n=null===(t=null==O?void 0:O.previewedImgPropsRef.value)||void 0===t?void 0:t.onDblclick)||void 0===n||n.call(t,e);var r=R();E=E===r?1:r,P()},syncTransformOrigin:function(){var e=o.value;if(n&&e){var t=e.style,r=n.getBoundingClientRect(),i=r.left+r.width/2,a=r.top+r.height/2;t.transformOrigin="".concat(i,"px ").concat(a,"px")}},handleAfterLeave:function(){M(),j=0,l.value=!1},handleDragStart:function(e){var t,n;null===(n=null===(t=null==O?void 0:O.previewedImgPropsRef.value)||void 0===t?void 0:t.onDragstart)||void 0===n||n.call(t,e),e.preventDefault()},zoomIn:function(){var e=function(){var e=r.value;if(!e)return 1;var t=window,n=t.innerWidth,o=t.innerHeight,i=Math.max(1,e.naturalHeight/(o-32)),a=Math.max(1,e.naturalWidth/(n-32));return Math.max(3,2*i,2*a)}();E<e&&(T+=1,E=Math.min(e,Math.pow(1.5,T)),P())},zoomOut:function(){if(E>.5){T-=1;var e=E-(E=Math.max(.5,Math.pow(1.5,T)));P(!1);var t=k();E+=e,P(!1),E-=e,h=t.offsetX,m=t.offsetY,P()}},rotateCounterclockwise:function(){j-=90,P()},rotateClockwise:function(){j+=90,P()},handleSwitchPrev:function(){var t;M(),j=0,null===(t=e.onPrev)||void 0===t||t.call(e)},handleSwitchNext:function(){var t;M(),j=0,null===(t=e.onNext)||void 0===t||t.call(e)},withTooltip:function(n,r){if(e.showToolbarTooltip){var o=t.value;return W(bl,{to:!1,theme:o.peers.Tooltip,themeOverrides:o.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:function(){return u.value[r]},trigger:function(){return n}})}return n},resizeToOrignalImageSize:function(){E=R(),T=Math.ceil(Math.log(E)/Math.log(1.5)),h=0,m=0,P()},cssVars:D?void 0:B,themeClass:null==F?void 0:F.themeClass,onRender:null==F?void 0:F.onRender},_)},render:function(){var e,t,n=this,r=this.clsPrefix;return W(S,null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e),W(vt,{show:this.show},{default:function(){var e;return n.show||n.displayed?(null===(e=n.onRender)||void 0===e||e.call(n),K(W("div",{class:["".concat(r,"-image-preview-container"),n.themeClass],style:n.cssVars,onWheel:n.handleWheel},W(V,{name:"fade-in-transition",appear:n.appear},{default:function(){return n.show?W("div",{class:"".concat(r,"-image-preview-overlay"),onClick:n.toggleShow}):null}}),n.showToolbar?W(V,{name:"fade-in-transition",appear:n.appear},{default:function(){if(!n.show)return null;var e=n.withTooltip;return W("div",{class:"".concat(r,"-image-preview-toolbar")},n.onPrev?W(S,null,e(W(Na,{clsPrefix:r,onClick:n.handleSwitchPrev},{default:function(){return xl}}),"tipPrevious"),e(W(Na,{clsPrefix:r,onClick:n.handleSwitchNext},{default:function(){return Sl}}),"tipNext")):null,e(W(Na,{clsPrefix:r,onClick:n.rotateCounterclockwise},{default:function(){return W(_a,null)}}),"tipCounterclockwise"),e(W(Na,{clsPrefix:r,onClick:n.rotateClockwise},{default:function(){return W(za,null)}}),"tipClockwise"),e(W(Na,{clsPrefix:r,onClick:n.resizeToOrignalImageSize},{default:function(){return W(La,null)}}),"tipOriginalSize"),e(W(Na,{clsPrefix:r,onClick:n.zoomOut},{default:function(){return W(Da,null)}}),"tipZoomOut"),e(W(Na,{clsPrefix:r,onClick:n.zoomIn},{default:function(){return W(Ba,null)}}),"tipZoomIn"),e(W(Na,{clsPrefix:r,onClick:n.toggleShow},{default:function(){return kl}}),"tipClose"))}}):null,W(V,{name:"fade-in-scale-up-transition",onAfterLeave:n.handleAfterLeave,appear:n.appear,onEnter:n.syncTransformOrigin,onBeforeLeave:n.syncTransformOrigin},{default:function(){var e=n.previewedImgProps,t=void 0===e?{}:e;return K(W("div",{class:"".concat(r,"-image-preview-wrapper"),ref:"previewWrapperRef"},W("img",Object.assign({},t,{draggable:!1,onMousedown:n.handlePreviewMousedown,onDblclick:n.handlePreviewDblclick,class:["".concat(r,"-image-preview"),t.class],key:n.previewSrc,src:n.previewSrc,ref:"previewRef",onDragstart:n.handleDragStart}))),[[Z,n.show]])}})),[[ot,{enabled:n.show}]])):null}}))}}),Tl=dt("n-image-group");p({name:"ImageGroup",props:wl,setup:function(e){var t,n=qe(e).mergedClsPrefixRef,r="c".concat(yn()),o=F(),i=function(e){var n;t=e,null===(n=l.value)||void 0===n||n.setPreviewSrc(e)};function a(e){if(null==o?void 0:o.proxy){var n=o.proxy.$el.parentElement.querySelectorAll("[data-group-id=".concat(r,"]:not([data-error=true])"));if(n.length){var a=Array.from(n).findIndex((function(e){return e.dataset.previewSrc===t}));i(~a?n[(a+e+n.length)%n.length].dataset.previewSrc:n[0].dataset.previewSrc)}}}G(Tl,{mergedClsPrefixRef:n,setPreviewSrc:i,setThumbnailEl:function(e){var t;null===(t=l.value)||void 0===t||t.setThumbnailEl(e)},toggleShow:function(){var e;null===(e=l.value)||void 0===e||e.toggleShow()},groupId:r});var l=s(null);return{mergedClsPrefix:n,previewInstRef:l,next:function(){a(1)},prev:function(){a(-1)}}},render:function(){return W(Ol,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:this.mergedClsPrefix,ref:"previewInstRef",onPrev:this.prev,onNext:this.next,showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},this.$slots)}});var El=Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},wl),jl=p({name:"Image",props:El,inheritAttrs:!1,setup:function(e){var t=s(null),n=s(!1),r=s(null),o=H(Tl,null),i=(o||qe(e)).mergedClsPrefixRef,a={click:function(){if(!e.previewDisabled&&!n.value){var i=e.previewSrc||e.src;if(o)return o.setPreviewSrc(i),o.setThumbnailEl(t.value),void o.toggleShow();var a=r.value;a&&(a.setPreviewSrc(i),a.setThumbnailEl(t.value),a.toggleShow())}}},l=s(!e.lazy);h((function(){var e;null===(e=t.value)||void 0===e||e.setAttribute("data-group-id",(null==o?void 0:o.groupId)||"")})),h((function(){if(e.lazy&&e.intersectionObserverOptions){var n,r=m((function(){null==n||n(),n=void 0,n=pl(t.value,e.intersectionObserverOptions,l)}));g((function(){r(),null==n||n()}))}})),m((function(){var t;e.src,null===(t=e.imgProps)||void 0===t||t.src,n.value=!1}));var c=s(!1);return G(yl,{previewedImgPropsRef:Y(e,"previewedImgProps")}),Object.assign({mergedClsPrefix:i,groupId:null==o?void 0:o.groupId,previewInstRef:r,imageRef:t,showError:n,shouldStartLoading:l,loaded:c,mergedOnClick:function(t){var n,r;a.click(),null===(r=null===(n=e.imgProps)||void 0===n?void 0:n.onClick)||void 0===r||r.call(n,t)},mergedOnError:function(t){if(l.value){n.value=!0;var r=e.onError,o=e.imgProps,i=(void 0===o?{}:o).onError;null==r||r(t),null==i||i(t)}},mergedOnLoad:function(t){var n=e.onLoad,r=e.imgProps,o=(void 0===r?{}:r).onLoad;null==n||n(t),null==o||o(t),c.value=!0}},a)},render:function(){var e,t,n=this.mergedClsPrefix,r=this.imgProps,o=void 0===r?{}:r,i=this.loaded,a=this.$attrs,l=this.lazy,s=null===(t=(e=this.$slots).placeholder)||void 0===t?void 0:t.call(e),c=this.src||o.src,u=W("img",Object.assign(Object.assign({},o),{ref:"imageRef",width:this.width||o.width,height:this.height||o.height,src:this.showError?this.fallbackSrc:l&&this.intersectionObserverOptions?this.shouldStartLoading?c:void 0:c,alt:this.alt||o.alt,"aria-label":this.alt||o.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:ul&&l&&!this.intersectionObserverOptions?"lazy":"eager",style:[o.style||"",s&&!i?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return W("div",Object.assign({},a,{role:"none",class:[a.class,"".concat(n,"-image"),(this.previewDisabled||this.showError)&&"".concat(n,"-image--preview-disabled")]}),this.groupId?u:W(Ol,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:n,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},{default:function(){return u}}),!i&&s)}}),Ml={container:"_container_19i87_1",head:"_head_19i87_10",back:"_back_19i87_18",tabs:"_tabs_19i87_21",downBtn:"_downBtn_19i87_37",icon:"_icon_19i87_61",popover:"_popover_19i87_66",content:"_content_19i87_85",wrap:"_wrap_19i87_91",wrapItem:"_wrapItem_19i87_97",name:"_name_19i87_107",favoriteBtn:"_favoriteBtn_19i87_114",cover:"_cover_19i87_120",loaded:"_loaded_19i87_150",book:"_book_19i87_153",bookWrap:"_bookWrap_19i87_167",show:"_show_19i87_175"},Rl=""+new URL("icon_back-b80c2fc2.svg",r.meta.url).href,Pl=""+new URL("icon_arrow-2c7b8e94.svg",r.meta.url).href,zl=function(e){return $.post("/edu-app/lessonCoursewareFavorite/remove",{data:e})},_l=p({name:"the-favorite",props:{isFavorite:{type:Boolean,default:!1}},setup:function(e){return function(){return w("div",{class:["favoriteWrap",e.isFavorite?"liked":""]},[w("img",{class:"favoritIcon",src:e.isFavorite?"data:image/png;base64,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":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAkCAYAAAD7PHgWAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAJAAAAAC/FoutAAADKklEQVRYCc2YW4hNYRiGx3FyaJxPMUYOOZWSUBgjE8odk3AhXChR5E5qTG5QUmhScoFxNXKIckiZUk4hlJBcGJPzIeVYzOB5prWy7TFr9p7Zs9d+69nrX+v7//97117/+tbaOy8vx9UhBX/j6VMG82AYDIFv8AKuwQmogV+QqMnsLAXHFUIBvAbHXYaTcBtarXGMvAC/U+AufUpAeRLVkMq4W/SbCWlrIyN+gkk+wkFYCCOhG/SDqVABtWA/v8Hd8DbY/8x2DxTDAMiHIiiFvfASHCeV0AlS0k56hQn30+7bwigTl0MDhAnP0R4KUfJEt4LLxXFnwGORWkPUzj9geWTPpkHXWz1UQeem4WaPTCfyDsx7qNleBCZAeDbLojpGxOYTS/lSJcwzkfYX0OTKhOP/NE8FHVxvcWgFSTX4Bppcas/ARf4V+kNcukpiTW5KNrArCOxLDmR530qhwYfJee8FgdnJgSzvu34ta5osDHNbRsLL2zU8GOP2OLk1uEoPHcHK7yPvCVhe4tb9wECRWw0ODA5Yi3JBPonUID802MMG8g7OBVkPVU8/NPjKBvItJRcU+mj0pcHngauWnp3ZMu89oRp9adDK/RN07ltK3JoUGKhLNHKaHW/tDYkHY2iPIKclz3XYuAbZNmoRnxq0YMepbSTXx5FkE1044KU2uDo5mKX9UeTxJVcP/32i+T5n0E6jIZvy/fE6mL8qKvHRoNMdtn2iOmY4VhnkrWXbK2ruAoKPwTNxPfpboj1lFTkA5vsOs6BFWW4egIMeQViXaGZUrvvwivkUK01ndl9avcya9OYpgUxqMJNdAef/BMWQtnoz4iI4iYV8M3hJ2qq5TBD+5KyjPaUtE2poO1g8NXoJWvtI9E7dAQ3gXDWQsTW+gMn828KJP8ASSEdj6XwTHF8P5ZCJq8E0f+V741kwibjAI0sCcbUOvAkc8xRmQLtqLbOHCZ/RntNMNqvBeQhP6DBty1hWNIYsN8Dkrk9/FeZDKJ/t78G42zLIulz0FeAdrhF/Ki6G6mDfY36DfpOxahrZLegaCvF1aT3kjLy8W0Bjx2A45KS6Z9rVH+dMzG9PPT/rAAAAAElFTkSuQmCC"},null)])}}}),Bl={book:"_book_1b47j_1",back:"_back_1b47j_7",bookHide:"_bookHide_1b47j_12",wrap:"_wrap_1b47j_52",item:"_item_1b47j_56",des:"_des_1b47j_63",icon:"_icon_1b47j_71"},Dl=""+new URL("icon_play-8079d539.svg",r.meta.url).href,Ll=p({name:"the-book",props:{bookData:{type:Object,default:function(){return{}}},show:{type:Boolean,default:!1},rect:{type:Object,default:function(){return{}}}},emits:["close"],setup:function(e,t){var r=t.emit,i=ee(),a=te({show:!1,width:0,height:0,transform:"",list:[]}),l=function(e,t){return new Promise((function(r,i){if(!document.head.querySelector('script[data-key="'.concat(e,'"]'))){var a=document.createElement("script");a.setAttribute("data-key",e),a.src=t,a.onload=o(n().mark((function t(){return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:console.log(e+" 加载完成"),r(1);case 2:case"end":return t.stop()}}),t)}))),document.head.appendChild(a)}}))},s=function(){var e=o(n().mark((function e(){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l("jquery","/book/jquery.min.1.7.js");case 2:return e.next=4,l("turn","/book/turn.js");case 4:console.log("初始化完成");case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),c=null,u=null,d=function(){clearTimeout(u);var e=document.querySelector(".bookWrap");c.turn("page",1),e&&(e.style.transform=a.transform),r("close"),setTimeout((function(){e.style.transition="",e.style.transform="",a.show=!1,a.list=[]}),1e3)};h(o(n().mark((function e(){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s();case 2:case"end":return e.stop()}}),e)}))));return f((function(){return e.show}),(function(){e.show&&(!function(){var t;if(null!==(t=e.bookData)&&void 0!==t&&t.lessonList){for(var n=[],r=[],o=0;o<e.bookData.lessonList.length;o++){var i=e.bookData.lessonList[o];r.length<5?r.push({name:i.name}):r=[{name:i.name}];for(var l=0;l<i.knowledgeList.length;l++)r.length<5?r.push(i.knowledgeList[l]):(n.push(r),r=[i.knowledgeList[l]])}r.length&&n.push(r),a.list=n}}(),j((function(){!function(){c=window.$("#flipbook");var e=.8*document.body.clientHeight;a.height=e,a.width=e*(210/297)*2,c.turn({autoCenter:!0,duration:1e3,acceleration:!0,elevation:50,width:a.width,height:a.height,gradients:!0})}(),requestAnimationFrame((function(){!function(){var t=document.querySelector(".bookWrap");if(t){var n=t.getBoundingClientRect(),r=e.rect.width/(n.width/2),o=e.rect.height/n.height,i=(n.width/2*(r-1)/2+e.rect.x-n.x-n.width/4)/r,l=(n.height*(o-1)/2+e.rect.y-n.y)/o,s="scale3d(".concat(r,", ").concat(o,", 1) translate(").concat(i,"px, ").concat(l,"px)");t.style.transform=a.transform=s,requestAnimationFrame((function(){t.style.transition="transform 1s",t.style.transform="",a.show=!0,u=setTimeout((function(){c.turn("page",2)}),500)}))}}()}))})))})),function(){return w("div",{class:[Bl.book,a.show?"":Bl.bookHide]},[w("div",{class:Bl.back,onClick:d},[w("img",{src:Rl},null)]),w("div",{class:"bookWrap",style:{width:a.width+"px"}},[!!a.list.length&&w("div",{id:"flipbook",class:"animated"},[w("div",{class:"page"},[w("img",{style:"width: 100%; height: 100%; object-fit: cover;",src:e.bookData.coverImg},null)]),a.list.map((function(e){return w("div",{class:"page"},[w("div",{class:"gradient"},null),w("div",{class:Bl.wrap},[e.map((function(e){return w("div",{class:[Bl.item,e.id&&Bl.des],onClick:function(){e.id&&i.push({path:"/courseware-play",query:{id:e.id,name:e.name}})}},[w("div",{class:Bl.name},[e.name]),e.id?w("img",{class:Bl.icon,src:Dl},null):null])}))])])})),w("div",{class:"page"},[w("div",{class:"gradient"},null)])])])])}}}),Fl=e("BOOK_DATA",{grades:[{text:"全部年级",value:""},{text:"一年级",value:1},{text:"二年级",value:2},{text:"三年级",value:3},{text:"四年级",value:4},{text:"五年级",value:5},{text:"六年级",value:6},{text:"七年级",value:7},{text:"八年级",value:8},{text:"九年级",value:9}],bookTypes:{LAST:"上册",NEXT:"下册"}});e("default",p({name:"courseware-list",setup:function(){ee();var e=function(){postMessage({api:"goBack"})},r=te({currentGradeNum:0,page:1,rows:10,type:"COURSEWARE"}),i=L((function(){return Fl.grades.map((function(e,n){return t(t({},e),{},{color:r.currentGradeNum===n?"var(--van-primary-color)":""})}))})),a=function(e,t){r.currentGradeNum=t,d()},l=te({list:[],favoriteList:[],tab:"all",details:[],bookData:{},showBook:!1,book:{}}),s=function(){var e=o(n().mark((function e(){var o,i;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n=t(t({},r),{},{currentGradeNum:r.currentGradeNum?r.currentGradeNum:""}),$.post("/edu-app/lessonCourseware/page",{data:n});case 2:200===(null==(i=e.sent)?void 0:i.code)&&Array.isArray(null==i||null===(o=i.data)||void 0===o?void 0:o.rows)&&(l.list=i.data.rows.map((function(e){var t=Fl.bookTypes[e.bookType];return e.name="".concat(e.name,"(").concat(t,")"),e.load=!1,e.key=Date.now()+e.id,e})));case 4:case"end":return e.stop()}var n}),e)})));return function(){return e.apply(this,arguments)}}(),c=function(){var e=o(n().mark((function e(){var t,o,i,a;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n={clientType:"STUDENT",userId:null===(t=re.user)||void 0===t||null===(o=t.data)||void 0===o?void 0:o.id,page:r.page,rows:r.rows},$.post("/edu-app/lessonCoursewareFavorite/page",{data:n});case 2:200===(null==(a=e.sent)?void 0:a.code)&&Array.isArray(null==a||null===(i=a.data)||void 0===i?void 0:i.rows)&&(l.list=a.data.rows.map((function(e){var t=Fl.bookTypes[e.bookType];return e.name="".concat(e.name,"(").concat(t,")"),e.load=!1,e.key=Date.now()+e.id,e})));case 4:case"end":return e.stop()}var n}),e)})));return function(){return e.apply(this,arguments)}}(),u=function(){"all"===l.tab&&s(),"favorite"===l.tab&&c()},d=function(){r.page=1,u()};h((function(){u()}));var f=function(){var e=o(n().mark((function e(t){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.favoriteFlag){e.next=5;break}return e.next=3,n={lessonCoursewareId:t.id},$.post("/edu-app/lessonCoursewareFavorite/save",{data:n});case 3:e.next=7;break;case 5:return e.next=7,zl({lessonCoursewareId:t.id});case 7:case"end":return e.stop()}var n}),e)})));return function(t){return e.apply(this,arguments)}}(),v=null,p=function(){var e=o(n().mark((function e(t){var r,o;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n=t.id,$.get("/edu-app/lessonCourseware/detail/".concat(n));case 2:200==(null==(o=e.sent)?void 0:o.code)&&Array.isArray(null==o||null===(r=o.data)||void 0===r?void 0:r.lessonList)&&(l.details=o.data.lessonList||[],l.bookData=o.data,console.log("🚀 ~ data.details:",l.details));case 4:case"end":return e.stop()}var n}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(e){var t=document.querySelector('[data-id="'.concat(e,'"]'));if(t){var n=t.getBoundingClientRect();l.book=n}},g=function(e){requestAnimationFrame((function(){requestAnimationFrame((function(){e()}))}))},b=function(){var e=o(n().mark((function e(t){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t);case 2:m(t.id),g((function(){l.showBook=!0}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return function(){return w("div",{class:Ml.container},[w("div",{class:Ml.head,style:{opacity:l.showBook?0:""}},[w("div",{class:Ml.back,onClick:e},[w("img",{src:Rl},null)]),w(ht,{class:Ml.tabs,active:l.tab,"onUpdate:active":function(e){return l.tab=e},onChange:function(){return d()}},{default:function(){return[w(mt,{title:"全部教材",name:"all"},null),w(mt,{title:"我的收藏",name:"favorite"},null)]}}),w(bn,{class:Ml.popover,actions:i.value,onSelect:a},{reference:function(){return w(ne,{class:Ml.downBtn,round:!0,size:"small"},{default:function(){return[Fl.grades[r.currentGradeNum].text," ",w("img",{class:Ml.icon,src:Pl},null)]}})}})]),w("div",{class:Ml.content},[w("div",{class:Ml.wrap},[l.list.map((function(e,t){return w("div",{class:[Ml.wrapItem,l.bookData.id===e.id&&l.showBook?Ml.wrapItemHide:""],key:e.key,onClick:function(){return b(e)}},[w(jl,{"data-id":e.id,class:[Ml.cover,e.load?Ml.loaded:""],objectFit:"cover",src:e.coverImg,onLoad:function(){e.load=!0},onError:function(){e.load=!0}},null),w("div",{class:Ml.name},[e.name]),"all"===l.tab&&w("div",{class:Ml.favoriteBtn,onClick:function(t){t.stopPropagation(),e.favoriteFlag=!e.favoriteFlag,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;v&&clearTimeout(v),v=setTimeout(e,t)}((function(){return f(e)}))}},[w(_l,{isFavorite:e.favoriteFlag},null)])])}))])]),w(Ll,{show:l.showBook,bookData:l.bookData,rect:l.book,onClose:function(){l.showBook=!1}},null)])}}}))}}}))}();
|