Hey 👋, this is a gist which stores the final bundle results of the bundlejs api, learn more on the website https://bundlejs.com. This is the result of https://deno.bundlejs.com/?q=bootstrap%2Cparticle.js%2Caos%2Cmoment%2Csweetalert2%2Cqrcode%2Cflickity%2Cviewerjs&badge=.
Created
March 22, 2023 05:52
-
-
Save bundle-js/45769c9943d9306266cecce72d060034 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var op=Object.create;var cl=Object.defineProperty;var ap=Object.getOwnPropertyDescriptor;var lp=Object.getOwnPropertyNames;var cp=Object.getPrototypeOf,up=Object.prototype.hasOwnProperty;var Rc=(n=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(n,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):n)(function(n){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+n+'" is not supported')});var ft=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),$c=(n,t)=>{for(var i in t)cl(n,i,{get:t[i],enumerable:!0})},ll=(n,t,i,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lp(t))!up.call(n,a)&&a!==i&&cl(n,a,{get:()=>t[a],enumerable:!(s=ap(t,a))||s.enumerable});return n},nt=(n,t,i)=>(ll(n,t,"default"),i&&ll(i,t,"default")),Cn=(n,t,i)=>(i=n!=null?op(cp(n)):{},ll(t||!n||!n.__esModule?cl(i,"default",{value:n,enumerable:!0}):i,n));var id=ft(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var Zy=function(){function n(t,i){for(var s=0;s<i.length;s++){var a=i[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,i,s){return i&&n(t.prototype,i),s&&n(t,s),t}}();function Jy(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}var Qy=function(){function n(t){return Jy(this,n),this.ele=document.getElementById(t.element),this.src=t.imagePath,this.cropStartPointX=t.cropStartPointX,this.cropStartPointY=t.cropStartPointY,this.cropX=t.cropX,this.cropY=t.cropY,this.startingPointX=t.startingPointX,this.startingPointY=t.startingPointY,this.destinationX=t.destinationX,this.destinationY=t.destinationY,this.duration=t.duration,this.pointOffsetEnable=t.pointOffsetEnable,this.pointOffsetLevel=t.pointOffsetLevel,this.timeOffsetLevel=t.timeOffsetLevel,this.spacingEnable=t.spacingEnable,this.spacingLevel=t.spacingLevel,this}return Zy(n,[{key:"render",value:function(){var i=null;this.ele.getContext&&(i=this.ele.getContext("2d"));var s=new Image,a=this;s.onload=function(){var u=s.width,f=s.height;a.ele.height=f,a.ele.width=u,i.drawImage(s,a.cropStartPointX,a.cropStartPointY,a.cropX,a.cropY,0,0,a.cropX,a.cropY);var p=null,y=0,w=[],b=i.getImageData(0,0,a.cropX,a.cropY);S();function S(){if(a.spacingEnable)for(var D=1;D<=a.cropY;D++)for(var B=1;B<=a.cropX;B++)if(D%a.spacingLevel==0&&B%a.spacingLevel==0){var et=((D-1)*a.cropX+B-1)*4,Q="rgba("+b.data[et]+", "+b.data[et+1]+", "+b.data[et+2]+", "+b.data[et+3]+")",lt=void 0;a.pointOffsetEnable?lt=(Math.random()-.5)*a.pointOffsetLevel:lt=0;var x=(Math.random()-.5)*a.timeOffsetLevel,O={x:a.destinationX+B+lt,y:a.destinationY+D+lt,style:Q,delay:0+x};w.push(O)}else{var M=((D-1)*a.cropX+B-1)*4;b.data[M]=0,b.data[M+1]=0,b.data[M+2]=0,b.data[M+3]=0}else for(var $=1;$<=a.cropY;$++)for(var V=1;V<=a.cropX;V++){var j=(($-1)*a.cropX+V-1)*4,H="rgba("+b.data[j]+", "+b.data[j+1]+", "+b.data[j+2]+", "+b.data[j+3]+")",Y=void 0;a.pointOffsetEnable?Y=(Math.random()-.5)*a.pointOffsetLevel:Y=0;var Z=(Math.random()-.5)*a.timeOffsetLevel,J={x:a.destinationX+V+Y,y:a.destinationY+$+Y,style:H,delay:0+Z};w.push(J)}}function k(D,B,et,Q){return D==0?B:D==Q?B+et:(D/=Q/2)<1?et/2*Math.pow(2,10*(D-1))+B:et/2*(-Math.pow(2,-10*--D)+2)+B}function P(){i.clearRect(0,0,a.ele.width,a.ele.height);for(var D=0,B=w.length;D<B;D++)if(y<=a.duration){if(p=w[D],p.delay>y)continue;i.fillStyle=p.style;var et=k(y,a.startingPointX,p.x-a.startingPointX,a.duration+p.delay),Q=k(y,a.startingPointY,p.y-a.startingPointY,a.duration+p.delay);i.fillRect(et,Q,1,1)}if(y>a.duration){i.drawImage(s,a.cropStartPointX,a.cropStartPointY,a.cropX,a.cropY,0,0,a.cropX,a.cropY);return}y++,requestAnimationFrame(P)}requestAnimationFrame(P)},s.crossOrigin="anonymous",s.src=this.src}}]),n}();Ul.default=Qy});var nd=ft((fr,ql)=>{(function(n,t){typeof fr=="object"&&typeof ql=="object"?ql.exports=t():typeof define=="function"&&define.amd?define([],t):typeof fr=="object"?fr.AOS=t():n.AOS=t()})(fr,function(){return function(n){function t(s){if(i[s])return i[s].exports;var a=i[s]={exports:{},id:s,loaded:!1};return n[s].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var i={};return t.m=n,t.c=i,t.p="dist/",t(0)}([function(n,t,i){"use strict";function s(J){return J&&J.__esModule?J:{default:J}}var a=Object.assign||function(J){for(var ot=1;ot<arguments.length;ot++){var Et=arguments[ot];for(var Ht in Et)Object.prototype.hasOwnProperty.call(Et,Ht)&&(J[Ht]=Et[Ht])}return J},u=i(1),f=(s(u),i(6)),p=s(f),y=i(7),w=s(y),b=i(8),S=s(b),k=i(9),P=s(k),D=i(10),B=s(D),et=i(11),Q=s(et),lt=i(14),x=s(lt),O=[],M=!1,$={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},V=function(){var J=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(J&&(M=!0),M)return O=(0,Q.default)(O,$),(0,B.default)(O,$.once),O},j=function(){O=(0,x.default)(),V()},H=function(){O.forEach(function(J,ot){J.node.removeAttribute("data-aos"),J.node.removeAttribute("data-aos-easing"),J.node.removeAttribute("data-aos-duration"),J.node.removeAttribute("data-aos-delay")})},Y=function(J){return J===!0||J==="mobile"&&P.default.mobile()||J==="phone"&&P.default.phone()||J==="tablet"&&P.default.tablet()||typeof J=="function"&&J()===!0},Z=function(J){$=a($,J),O=(0,x.default)();var ot=document.all&&!window.atob;return Y($.disable)||ot?H():($.disableMutationObserver||S.default.isSupported()||(console.info(` | |
aos: MutationObserver is not supported on this browser, | |
code mutations observing has been disabled. | |
You may have to call "refreshHard()" by yourself. | |
`),$.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",$.easing),document.querySelector("body").setAttribute("data-aos-duration",$.duration),document.querySelector("body").setAttribute("data-aos-delay",$.delay),$.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?V(!0):$.startEvent==="load"?window.addEventListener($.startEvent,function(){V(!0)}):document.addEventListener($.startEvent,function(){V(!0)}),window.addEventListener("resize",(0,w.default)(V,$.debounceDelay,!0)),window.addEventListener("orientationchange",(0,w.default)(V,$.debounceDelay,!0)),window.addEventListener("scroll",(0,p.default)(function(){(0,B.default)(O,$.once)},$.throttleDelay)),$.disableMutationObserver||S.default.ready("[data-aos]",j),O)};n.exports={init:Z,refresh:V,refreshHard:j}},function(n,t){},,,,,function(n,t){(function(i){"use strict";function s(Y,Z,J){function ot(St){var ne=Mt,rt=K;return Mt=K=void 0,Yt=St,wt=Y.apply(rt,ne)}function Et(St){return Yt=St,pt=setTimeout($t,Z),Ee?ot(St):wt}function Ht(St){var ne=St-At,rt=St-Yt,he=Z-ne;return zt?j(he,Xt-rt):he}function Nt(St){var ne=St-At,rt=St-Yt;return At===void 0||ne>=Z||ne<0||zt&&rt>=Xt}function $t(){var St=H();return Nt(St)?Bt(St):void(pt=setTimeout($t,Ht(St)))}function Bt(St){return pt=void 0,Tt&&Mt?ot(St):(Mt=K=void 0,wt)}function gt(){pt!==void 0&&clearTimeout(pt),Yt=0,Mt=At=K=pt=void 0}function Jt(){return pt===void 0?wt:Bt(H())}function oe(){var St=H(),ne=Nt(St);if(Mt=arguments,K=this,At=St,ne){if(pt===void 0)return Et(At);if(zt)return pt=setTimeout($t,Z),ot(At)}return pt===void 0&&(pt=setTimeout($t,Z)),wt}var Mt,K,Xt,wt,pt,At,Yt=0,Ee=!1,zt=!1,Tt=!0;if(typeof Y!="function")throw new TypeError(b);return Z=y(Z)||0,u(J)&&(Ee=!!J.leading,zt="maxWait"in J,Xt=zt?V(y(J.maxWait)||0,Z):Xt,Tt="trailing"in J?!!J.trailing:Tt),oe.cancel=gt,oe.flush=Jt,oe}function a(Y,Z,J){var ot=!0,Et=!0;if(typeof Y!="function")throw new TypeError(b);return u(J)&&(ot="leading"in J?!!J.leading:ot,Et="trailing"in J?!!J.trailing:Et),s(Y,Z,{leading:ot,maxWait:Z,trailing:Et})}function u(Y){var Z=typeof Y>"u"?"undefined":w(Y);return!!Y&&(Z=="object"||Z=="function")}function f(Y){return!!Y&&(typeof Y>"u"?"undefined":w(Y))=="object"}function p(Y){return(typeof Y>"u"?"undefined":w(Y))=="symbol"||f(Y)&&$.call(Y)==k}function y(Y){if(typeof Y=="number")return Y;if(p(Y))return S;if(u(Y)){var Z=typeof Y.valueOf=="function"?Y.valueOf():Y;Y=u(Z)?Z+"":Z}if(typeof Y!="string")return Y===0?Y:+Y;Y=Y.replace(P,"");var J=B.test(Y);return J||et.test(Y)?Q(Y.slice(2),J?2:8):D.test(Y)?S:+Y}var w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},b="Expected a function",S=NaN,k="[object Symbol]",P=/^\s+|\s+$/g,D=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,et=/^0o[0-7]+$/i,Q=parseInt,lt=(typeof i>"u"?"undefined":w(i))=="object"&&i&&i.Object===Object&&i,x=(typeof self>"u"?"undefined":w(self))=="object"&&self&&self.Object===Object&&self,O=lt||x||Function("return this")(),M=Object.prototype,$=M.toString,V=Math.max,j=Math.min,H=function(){return O.Date.now()};n.exports=a}).call(t,function(){return this}())},function(n,t){(function(i){"use strict";function s(H,Y,Z){function J(Tt){var St=oe,ne=Mt;return oe=Mt=void 0,At=Tt,Xt=H.apply(ne,St)}function ot(Tt){return At=Tt,wt=setTimeout(Nt,Y),Yt?J(Tt):Xt}function Et(Tt){var St=Tt-pt,ne=Tt-At,rt=Y-St;return Ee?V(rt,K-ne):rt}function Ht(Tt){var St=Tt-pt,ne=Tt-At;return pt===void 0||St>=Y||St<0||Ee&&ne>=K}function Nt(){var Tt=j();return Ht(Tt)?$t(Tt):void(wt=setTimeout(Nt,Et(Tt)))}function $t(Tt){return wt=void 0,zt&&oe?J(Tt):(oe=Mt=void 0,Xt)}function Bt(){wt!==void 0&&clearTimeout(wt),At=0,oe=pt=Mt=wt=void 0}function gt(){return wt===void 0?Xt:$t(j())}function Jt(){var Tt=j(),St=Ht(Tt);if(oe=arguments,Mt=this,pt=Tt,St){if(wt===void 0)return ot(pt);if(Ee)return wt=setTimeout(Nt,Y),J(pt)}return wt===void 0&&(wt=setTimeout(Nt,Y)),Xt}var oe,Mt,K,Xt,wt,pt,At=0,Yt=!1,Ee=!1,zt=!0;if(typeof H!="function")throw new TypeError(w);return Y=p(Y)||0,a(Z)&&(Yt=!!Z.leading,Ee="maxWait"in Z,K=Ee?$(p(Z.maxWait)||0,Y):K,zt="trailing"in Z?!!Z.trailing:zt),Jt.cancel=Bt,Jt.flush=gt,Jt}function a(H){var Y=typeof H>"u"?"undefined":y(H);return!!H&&(Y=="object"||Y=="function")}function u(H){return!!H&&(typeof H>"u"?"undefined":y(H))=="object"}function f(H){return(typeof H>"u"?"undefined":y(H))=="symbol"||u(H)&&M.call(H)==S}function p(H){if(typeof H=="number")return H;if(f(H))return b;if(a(H)){var Y=typeof H.valueOf=="function"?H.valueOf():H;H=a(Y)?Y+"":Y}if(typeof H!="string")return H===0?H:+H;H=H.replace(k,"");var Z=D.test(H);return Z||B.test(H)?et(H.slice(2),Z?2:8):P.test(H)?b:+H}var y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},w="Expected a function",b=NaN,S="[object Symbol]",k=/^\s+|\s+$/g,P=/^[-+]0x[0-9a-f]+$/i,D=/^0b[01]+$/i,B=/^0o[0-7]+$/i,et=parseInt,Q=(typeof i>"u"?"undefined":y(i))=="object"&&i&&i.Object===Object&&i,lt=(typeof self>"u"?"undefined":y(self))=="object"&&self&&self.Object===Object&&self,x=Q||lt||Function("return this")(),O=Object.prototype,M=O.toString,$=Math.max,V=Math.min,j=function(){return x.Date.now()};n.exports=s}).call(t,function(){return this}())},function(n,t){"use strict";function i(y){var w=void 0,b=void 0,S=void 0;for(w=0;w<y.length;w+=1)if(b=y[w],b.dataset&&b.dataset.aos||(S=b.children&&i(b.children)))return!0;return!1}function s(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function a(){return!!s()}function u(y,w){var b=window.document,S=s(),k=new S(f);p=w,k.observe(b.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function f(y){y&&y.forEach(function(w){var b=Array.prototype.slice.call(w.addedNodes),S=Array.prototype.slice.call(w.removedNodes),k=b.concat(S);if(i(k))return p()})}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){};t.default={isSupported:a,ready:u}},function(n,t){"use strict";function i(b,S){if(!(b instanceof S))throw new TypeError("Cannot call a class as a function")}function s(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function b(S,k){for(var P=0;P<k.length;P++){var D=k[P];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(S,D.key,D)}}return function(S,k,P){return k&&b(S.prototype,k),P&&b(S,P),S}}(),u=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,f=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,p=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,y=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,w=function(){function b(){i(this,b)}return a(b,[{key:"phone",value:function(){var S=s();return!(!u.test(S)&&!f.test(S.substr(0,4)))}},{key:"mobile",value:function(){var S=s();return!(!p.test(S)&&!y.test(S.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),b}();t.default=new w},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(a,u,f){var p=a.node.getAttribute("data-aos-once");u>a.position?a.node.classList.add("aos-animate"):typeof p<"u"&&(p==="false"||!f&&p!=="true")&&a.node.classList.remove("aos-animate")},s=function(a,u){var f=window.pageYOffset,p=window.innerHeight;a.forEach(function(y,w){i(y,p+f,u)})};t.default=s},function(n,t,i){"use strict";function s(p){return p&&p.__esModule?p:{default:p}}Object.defineProperty(t,"__esModule",{value:!0});var a=i(12),u=s(a),f=function(p,y){return p.forEach(function(w,b){w.node.classList.add("aos-init"),w.position=(0,u.default)(w.node,y.offset)}),p};t.default=f},function(n,t,i){"use strict";function s(p){return p&&p.__esModule?p:{default:p}}Object.defineProperty(t,"__esModule",{value:!0});var a=i(13),u=s(a),f=function(p,y){var w=0,b=0,S=window.innerHeight,k={offset:p.getAttribute("data-aos-offset"),anchor:p.getAttribute("data-aos-anchor"),anchorPlacement:p.getAttribute("data-aos-anchor-placement")};switch(k.offset&&!isNaN(k.offset)&&(b=parseInt(k.offset)),k.anchor&&document.querySelectorAll(k.anchor)&&(p=document.querySelectorAll(k.anchor)[0]),w=(0,u.default)(p).top,k.anchorPlacement){case"top-bottom":break;case"center-bottom":w+=p.offsetHeight/2;break;case"bottom-bottom":w+=p.offsetHeight;break;case"top-center":w+=S/2;break;case"bottom-center":w+=S/2+p.offsetHeight;break;case"center-center":w+=S/2+p.offsetHeight/2;break;case"top-top":w+=S;break;case"bottom-top":w+=p.offsetHeight+S;break;case"center-top":w+=p.offsetHeight/2+S}return k.anchorPlacement||k.offset||isNaN(y)||(b=y),w+b};t.default=f},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(s){for(var a=0,u=0;s&&!isNaN(s.offsetLeft)&&!isNaN(s.offsetTop);)a+=s.offsetLeft-(s.tagName!="BODY"?s.scrollLeft:0),u+=s.offsetTop-(s.tagName!="BODY"?s.scrollTop:0),s=s.offsetParent;return{top:u,left:a}};t.default=i},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(s){return s=s||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(s,function(a){return{node:a}})};t.default=i}])})});var sd=ft((Gl,As)=>{(function(n,t){typeof Gl=="object"&&typeof As<"u"?As.exports=t():typeof define=="function"&&define.amd?define(t):n.moment=t()})(Gl,function(){"use strict";var n;function t(){return n.apply(null,arguments)}function i(e){n=e}function s(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function a(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function u(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function f(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var r;for(r in e)if(u(e,r))return!1;return!0}function p(e){return e===void 0}function y(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function w(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function b(e,r){var c=[],d,g=e.length;for(d=0;d<g;++d)c.push(r(e[d],d));return c}function S(e,r){for(var c in r)u(r,c)&&(e[c]=r[c]);return u(r,"toString")&&(e.toString=r.toString),u(r,"valueOf")&&(e.valueOf=r.valueOf),e}function k(e,r,c,d){return Mr(e,r,c,d,!0).utc()}function P(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function D(e){return e._pf==null&&(e._pf=P()),e._pf}var B;Array.prototype.some?B=Array.prototype.some:B=function(e){var r=Object(this),c=r.length>>>0,d;for(d=0;d<c;d++)if(d in r&&e.call(this,r[d],d,r))return!0;return!1};function et(e){if(e._isValid==null){var r=D(e),c=B.call(r.parsedDateParts,function(g){return g!=null}),d=!isNaN(e._d.getTime())&&r.overflow<0&&!r.empty&&!r.invalidEra&&!r.invalidMonth&&!r.invalidWeekday&&!r.weekdayMismatch&&!r.nullInput&&!r.invalidFormat&&!r.userInvalidated&&(!r.meridiem||r.meridiem&&c);if(e._strict&&(d=d&&r.charsLeftOver===0&&r.unusedTokens.length===0&&r.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=d;else return d}return e._isValid}function Q(e){var r=k(NaN);return e!=null?S(D(r),e):D(r).userInvalidated=!0,r}var lt=t.momentProperties=[],x=!1;function O(e,r){var c,d,g,T=lt.length;if(p(r._isAMomentObject)||(e._isAMomentObject=r._isAMomentObject),p(r._i)||(e._i=r._i),p(r._f)||(e._f=r._f),p(r._l)||(e._l=r._l),p(r._strict)||(e._strict=r._strict),p(r._tzm)||(e._tzm=r._tzm),p(r._isUTC)||(e._isUTC=r._isUTC),p(r._offset)||(e._offset=r._offset),p(r._pf)||(e._pf=D(r)),p(r._locale)||(e._locale=r._locale),T>0)for(c=0;c<T;c++)d=lt[c],g=r[d],p(g)||(e[d]=g);return e}function M(e){O(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),x===!1&&(x=!0,t.updateOffset(this),x=!1)}function $(e){return e instanceof M||e!=null&&e._isAMomentObject!=null}function V(e){t.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function j(e,r){var c=!0;return S(function(){if(t.deprecationHandler!=null&&t.deprecationHandler(null,e),c){var d=[],g,T,R,ct=arguments.length;for(T=0;T<ct;T++){if(g="",typeof arguments[T]=="object"){g+=` | |
[`+T+"] ";for(R in arguments[0])u(arguments[0],R)&&(g+=R+": "+arguments[0][R]+", ");g=g.slice(0,-2)}else g=arguments[T];d.push(g)}V(e+` | |
Arguments: `+Array.prototype.slice.call(d).join("")+` | |
`+new Error().stack),c=!1}return r.apply(this,arguments)},r)}var H={};function Y(e,r){t.deprecationHandler!=null&&t.deprecationHandler(e,r),H[e]||(V(r),H[e]=!0)}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;function Z(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function J(e){var r,c;for(c in e)u(e,c)&&(r=e[c],Z(r)?this[c]=r:this["_"+c]=r);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ot(e,r){var c=S({},e),d;for(d in r)u(r,d)&&(a(e[d])&&a(r[d])?(c[d]={},S(c[d],e[d]),S(c[d],r[d])):r[d]!=null?c[d]=r[d]:delete c[d]);for(d in e)u(e,d)&&!u(r,d)&&a(e[d])&&(c[d]=S({},c[d]));return c}function Et(e){e!=null&&this.set(e)}var Ht;Object.keys?Ht=Object.keys:Ht=function(e){var r,c=[];for(r in e)u(e,r)&&c.push(r);return c};var Nt={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function $t(e,r,c){var d=this._calendar[e]||this._calendar.sameElse;return Z(d)?d.call(r,c):d}function Bt(e,r,c){var d=""+Math.abs(e),g=r-d.length,T=e>=0;return(T?c?"+":"":"-")+Math.pow(10,Math.max(0,g)).toString().substr(1)+d}var gt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Jt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},Mt={};function K(e,r,c,d){var g=d;typeof d=="string"&&(g=function(){return this[d]()}),e&&(Mt[e]=g),r&&(Mt[r[0]]=function(){return Bt(g.apply(this,arguments),r[1],r[2])}),c&&(Mt[c]=function(){return this.localeData().ordinal(g.apply(this,arguments),e)})}function Xt(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function wt(e){var r=e.match(gt),c,d;for(c=0,d=r.length;c<d;c++)Mt[r[c]]?r[c]=Mt[r[c]]:r[c]=Xt(r[c]);return function(g){var T="",R;for(R=0;R<d;R++)T+=Z(r[R])?r[R].call(g,e):r[R];return T}}function pt(e,r){return e.isValid()?(r=At(r,e.localeData()),oe[r]=oe[r]||wt(r),oe[r](e)):e.localeData().invalidDate()}function At(e,r){var c=5;function d(g){return r.longDateFormat(g)||g}for(Jt.lastIndex=0;c>=0&&Jt.test(e);)e=e.replace(Jt,d),Jt.lastIndex=0,c-=1;return e}var Yt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Ee(e){var r=this._longDateFormat[e],c=this._longDateFormat[e.toUpperCase()];return r||!c?r:(this._longDateFormat[e]=c.match(gt).map(function(d){return d==="MMMM"||d==="MM"||d==="DD"||d==="dddd"?d.slice(1):d}).join(""),this._longDateFormat[e])}var zt="Invalid date";function Tt(){return this._invalidDate}var St="%d",ne=/\d{1,2}/;function rt(e){return this._ordinal.replace("%d",e)}var he={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Oe(e,r,c,d){var g=this._relativeTime[c];return Z(g)?g(e,r,c,d):g.replace(/%d/i,e)}function We(e,r){var c=this._relativeTime[e>0?"future":"past"];return Z(c)?c(r):c.replace(/%s/i,r)}var jt={};function Ct(e,r){var c=e.toLowerCase();jt[c]=jt[c+"s"]=jt[r]=e}function Qt(e){return typeof e=="string"?jt[e]||jt[e.toLowerCase()]:void 0}function Pe(e){var r={},c,d;for(d in e)u(e,d)&&(c=Qt(d),c&&(r[c]=e[d]));return r}var se={};function ae(e,r){se[e]=r}function ai(e){var r=[],c;for(c in e)u(e,c)&&r.push({unit:c,priority:se[c]});return r.sort(function(d,g){return d.priority-g.priority}),r}function ze(e){return e%4===0&&e%100!==0||e%400===0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ht(e){var r=+e,c=0;return r!==0&&isFinite(r)&&(c=ue(r)),c}function Fe(e,r){return function(c){return c!=null?(hn(this,e,c),t.updateOffset(this,r),this):mt(this,e)}}function mt(e,r){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+r]():NaN}function hn(e,r,c){e.isValid()&&!isNaN(c)&&(r==="FullYear"&&ze(e.year())&&e.month()===1&&e.date()===29?(c=ht(c),e._d["set"+(e._isUTC?"UTC":"")+r](c,e.month(),Ui(c,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+r](c))}function Gn(e){return e=Qt(e),Z(this[e])?this[e]():this}function pn(e,r){if(typeof e=="object"){e=Pe(e);var c=ai(e),d,g=c.length;for(d=0;d<g;d++)this[c[d].unit](e[c[d].unit])}else if(e=Qt(e),Z(this[e]))return this[e](r);return this}var Ci=/\d/,we=/\d\d/,Ie=/\d{3}/,li=/\d{4}/,Hi=/[+-]?\d{6}/,dt=/\d\d?/,ci=/\d\d\d\d?/,ui=/\d\d\d\d\d\d?/,yi=/\d{1,3}/,Ke=/\d{1,4}/,xt=/[+-]?\d{1,6}/,_t=/\d+/,pe=/[+-]?\d+/,Ps=/Z|[+-]\d\d:?\d\d/gi,Se=/Z|[+-]\d\d(?::?\d\d)?/gi,Ns=/[+-]?\d+(\.\d{1,3})?/,Ne=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ut;ut={};function W(e,r,c){ut[e]=Z(r)?r:function(d,g){return d&&c?c:r}}function Ai(e,r){return u(ut,e)?ut[e](r._strict,r._locale):new RegExp(Ms(e))}function Ms(e){return ye(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(r,c,d,g,T){return c||d||g||T}))}function ye(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Xe={};function Dt(e,r){var c,d=r,g;for(typeof e=="string"&&(e=[e]),y(r)&&(d=function(T,R){R[r]=ht(T)}),g=e.length,c=0;c<g;c++)Xe[e[c]]=d}function vi(e,r){Dt(e,function(c,d,g,T){g._w=g._w||{},r(c,g._w,g,T)})}function It(e,r,c){r!=null&&u(Xe,e)&&Xe[e](r,c._a,c,e)}var st=0,Ot=1,Me=2,Wt=3,Le=4,Ce=5,re=6,zi=7,Ls=8;function ji(e,r){return(e%r+r)%r}var te;Array.prototype.indexOf?te=Array.prototype.indexOf:te=function(e){var r;for(r=0;r<this.length;++r)if(this[r]===e)return r;return-1};function Ui(e,r){if(isNaN(e)||isNaN(r))return NaN;var c=ji(r,12);return e+=(r-c)/12,c===1?ze(e)?29:28:31-c%7%2}K("M",["MM",2],"Mo",function(){return this.month()+1}),K("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),K("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Ct("month","M"),ae("month",8),W("M",dt),W("MM",dt,we),W("MMM",function(e,r){return r.monthsShortRegex(e)}),W("MMMM",function(e,r){return r.monthsRegex(e)}),Dt(["M","MM"],function(e,r){r[Ot]=ht(e)-1}),Dt(["MMM","MMMM"],function(e,r,c,d){var g=c._locale.monthsParse(e,d,c._strict);g!=null?r[Ot]=g:D(c).invalidMonth=e});var Is="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Kn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),mn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Rs=Ne,Xn=Ne;function $s(e,r){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||mn).test(r)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone}function Zn(e,r){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[mn.test(r)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function C(e,r,c){var d,g,T,R=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)T=k([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(T,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(T,"").toLocaleLowerCase();return c?r==="MMM"?(g=te.call(this._shortMonthsParse,R),g!==-1?g:null):(g=te.call(this._longMonthsParse,R),g!==-1?g:null):r==="MMM"?(g=te.call(this._shortMonthsParse,R),g!==-1?g:(g=te.call(this._longMonthsParse,R),g!==-1?g:null)):(g=te.call(this._longMonthsParse,R),g!==-1?g:(g=te.call(this._shortMonthsParse,R),g!==-1?g:null))}function m(e,r,c){var d,g,T;if(this._monthsParseExact)return C.call(this,e,r,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(g=k([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(g,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(g,"").replace(".","")+"$","i")),!c&&!this._monthsParse[d]&&(T="^"+this.months(g,"")+"|^"+this.monthsShort(g,""),this._monthsParse[d]=new RegExp(T.replace(".",""),"i")),c&&r==="MMMM"&&this._longMonthsParse[d].test(e))return d;if(c&&r==="MMM"&&this._shortMonthsParse[d].test(e))return d;if(!c&&this._monthsParse[d].test(e))return d}}function _(e,r){var c;if(!e.isValid())return e;if(typeof r=="string"){if(/^\d+$/.test(r))r=ht(r);else if(r=e.localeData().monthsParse(r),!y(r))return e}return c=Math.min(e.date(),Ui(e.year(),r)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](r,c),e}function v(e){return e!=null?(_(this,e),t.updateOffset(this,!0),this):mt(this,"Month")}function A(){return Ui(this.year(),this.month())}function N(e){return this._monthsParseExact?(u(this,"_monthsRegex")||q.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Rs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function L(e){return this._monthsParseExact?(u(this,"_monthsRegex")||q.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Xn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function q(){function e(R,ct){return ct.length-R.length}var r=[],c=[],d=[],g,T;for(g=0;g<12;g++)T=k([2e3,g]),r.push(this.monthsShort(T,"")),c.push(this.months(T,"")),d.push(this.months(T,"")),d.push(this.monthsShort(T,""));for(r.sort(e),c.sort(e),d.sort(e),g=0;g<12;g++)r[g]=ye(r[g]),c[g]=ye(c[g]);for(g=0;g<24;g++)d[g]=ye(d[g]);this._monthsRegex=new RegExp("^("+d.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}K("Y",0,0,function(){var e=this.year();return e<=9999?Bt(e,4):"+"+e}),K(0,["YY",2],0,function(){return this.year()%100}),K(0,["YYYY",4],0,"year"),K(0,["YYYYY",5],0,"year"),K(0,["YYYYYY",6,!0],0,"year"),Ct("year","y"),ae("year",1),W("Y",pe),W("YY",dt,we),W("YYYY",Ke,li),W("YYYYY",xt,Hi),W("YYYYYY",xt,Hi),Dt(["YYYYY","YYYYYY"],st),Dt("YYYY",function(e,r){r[st]=e.length===2?t.parseTwoDigitYear(e):ht(e)}),Dt("YY",function(e,r){r[st]=t.parseTwoDigitYear(e)}),Dt("Y",function(e,r){r[st]=parseInt(e,10)});function X(e){return ze(e)?366:365}t.parseTwoDigitYear=function(e){return ht(e)+(ht(e)>68?1900:2e3)};var G=Fe("FullYear",!0);function U(){return ze(this.year())}function it(e,r,c,d,g,T,R){var ct;return e<100&&e>=0?(ct=new Date(e+400,r,c,d,g,T,R),isFinite(ct.getFullYear())&&ct.setFullYear(e)):ct=new Date(e,r,c,d,g,T,R),ct}function yt(e){var r,c;return e<100&&e>=0?(c=Array.prototype.slice.call(arguments),c[0]=e+400,r=new Date(Date.UTC.apply(null,c)),isFinite(r.getUTCFullYear())&&r.setUTCFullYear(e)):r=new Date(Date.UTC.apply(null,arguments)),r}function Pt(e,r,c){var d=7+r-c,g=(7+yt(e,0,d).getUTCDay()-r)%7;return-g+d-1}function Ut(e,r,c,d,g){var T=(7+c-d)%7,R=Pt(e,d,g),ct=1+7*(r-1)+T+R,vt,Kt;return ct<=0?(vt=e-1,Kt=X(vt)+ct):ct>X(e)?(vt=e+1,Kt=ct-X(e)):(vt=e,Kt=ct),{year:vt,dayOfYear:Kt}}function Rt(e,r,c){var d=Pt(e.year(),r,c),g=Math.floor((e.dayOfYear()-d-1)/7)+1,T,R;return g<1?(R=e.year()-1,T=g+Ft(R,r,c)):g>Ft(e.year(),r,c)?(T=g-Ft(e.year(),r,c),R=e.year()+1):(R=e.year(),T=g),{week:T,year:R}}function Ft(e,r,c){var d=Pt(e,r,c),g=Pt(e+1,r,c);return(X(e)-d+g)/7}K("w",["ww",2],"wo","week"),K("W",["WW",2],"Wo","isoWeek"),Ct("week","w"),Ct("isoWeek","W"),ae("week",5),ae("isoWeek",5),W("w",dt),W("ww",dt,we),W("W",dt),W("WW",dt,we),vi(["w","ww","W","WW"],function(e,r,c,d){r[d.substr(0,1)]=ht(e)});function ve(e){return Rt(e,this._week.dow,this._week.doy).week}var Ae={dow:0,doy:6};function qt(){return this._week.dow}function je(){return this._week.doy}function di(e){var r=this.localeData().week(this);return e==null?r:this.add((e-r)*7,"d")}function Ve(e){var r=Rt(this,1,4).week;return e==null?r:this.add((e-r)*7,"d")}K("d",0,"do","day"),K("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),K("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),K("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),K("e",0,0,"weekday"),K("E",0,0,"isoWeekday"),Ct("day","d"),Ct("weekday","e"),Ct("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),W("d",dt),W("e",dt),W("E",dt),W("dd",function(e,r){return r.weekdaysMinRegex(e)}),W("ddd",function(e,r){return r.weekdaysShortRegex(e)}),W("dddd",function(e,r){return r.weekdaysRegex(e)}),vi(["dd","ddd","dddd"],function(e,r,c,d){var g=c._locale.weekdaysParse(e,d,c._strict);g!=null?r.d=g:D(c).invalidWeekday=e}),vi(["d","e","E"],function(e,r,c,d){r[d]=ht(e)});function fi(e,r){return typeof e!="string"?e:isNaN(e)?(e=r.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Ue(e,r){return typeof e=="string"?r.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ze(e,r){return e.slice(r,7).concat(e.slice(0,r))}var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_r="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ko="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xo=Ne,Zo=Ne,Jo=Ne;function Qo(e,r){var c=s(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(r)?"format":"standalone"];return e===!0?Ze(c,this._week.dow):e?c[e.day()]:c}function ta(e){return e===!0?Ze(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ea(e){return e===!0?Ze(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ia(e,r,c){var d,g,T,R=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)T=k([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(T,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(T,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(T,"").toLocaleLowerCase();return c?r==="dddd"?(g=te.call(this._weekdaysParse,R),g!==-1?g:null):r==="ddd"?(g=te.call(this._shortWeekdaysParse,R),g!==-1?g:null):(g=te.call(this._minWeekdaysParse,R),g!==-1?g:null):r==="dddd"?(g=te.call(this._weekdaysParse,R),g!==-1||(g=te.call(this._shortWeekdaysParse,R),g!==-1)?g:(g=te.call(this._minWeekdaysParse,R),g!==-1?g:null)):r==="ddd"?(g=te.call(this._shortWeekdaysParse,R),g!==-1||(g=te.call(this._weekdaysParse,R),g!==-1)?g:(g=te.call(this._minWeekdaysParse,R),g!==-1?g:null)):(g=te.call(this._minWeekdaysParse,R),g!==-1||(g=te.call(this._weekdaysParse,R),g!==-1)?g:(g=te.call(this._shortWeekdaysParse,R),g!==-1?g:null))}function Er(e,r,c){var d,g,T;if(this._weekdaysParseExact)return ia.call(this,e,r,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(g=k([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(g,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(g,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(g,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[d]||(T="^"+this.weekdays(g,"")+"|^"+this.weekdaysShort(g,"")+"|^"+this.weekdaysMin(g,""),this._weekdaysParse[d]=new RegExp(T.replace(".",""),"i")),c&&r==="dddd"&&this._fullWeekdaysParse[d].test(e))return d;if(c&&r==="ddd"&&this._shortWeekdaysParse[d].test(e))return d;if(c&&r==="dd"&&this._minWeekdaysParse[d].test(e))return d;if(!c&&this._weekdaysParse[d].test(e))return d}}function na(e){if(!this.isValid())return e!=null?this:NaN;var r=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=fi(e,this.localeData()),this.add(e-r,"d")):r}function Jn(e){if(!this.isValid())return e!=null?this:NaN;var r=(this.day()+7-this.localeData()._week.dow)%7;return e==null?r:this.add(e-r,"d")}function sa(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var r=Ue(e,this.localeData());return this.day(this.day()%7?r:r-7)}else return this.day()||7}function ra(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Bs.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Xo),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function oa(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Bs.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Zo),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function gn(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Bs.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jo),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Bs(){function e($e,ki){return ki.length-$e.length}var r=[],c=[],d=[],g=[],T,R,ct,vt,Kt;for(T=0;T<7;T++)R=k([2e3,1]).day(T),ct=ye(this.weekdaysMin(R,"")),vt=ye(this.weekdaysShort(R,"")),Kt=ye(this.weekdays(R,"")),r.push(ct),c.push(vt),d.push(Kt),g.push(ct),g.push(vt),g.push(Kt);r.sort(e),c.sort(e),d.sort(e),g.sort(e),this._weekdaysRegex=new RegExp("^("+g.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ys(){return this.hours()%12||12}function aa(){return this.hours()||24}K("H",["HH",2],0,"hour"),K("h",["hh",2],0,Ys),K("k",["kk",2],0,aa),K("hmm",0,0,function(){return""+Ys.apply(this)+Bt(this.minutes(),2)}),K("hmmss",0,0,function(){return""+Ys.apply(this)+Bt(this.minutes(),2)+Bt(this.seconds(),2)}),K("Hmm",0,0,function(){return""+this.hours()+Bt(this.minutes(),2)}),K("Hmmss",0,0,function(){return""+this.hours()+Bt(this.minutes(),2)+Bt(this.seconds(),2)});function Ws(e,r){K(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),r)})}Ws("a",!0),Ws("A",!1),Ct("hour","h"),ae("hour",13);function Fs(e,r){return r._meridiemParse}W("a",Fs),W("A",Fs),W("H",dt),W("h",dt),W("k",dt),W("HH",dt,we),W("hh",dt,we),W("kk",dt,we),W("hmm",ci),W("hmmss",ui),W("Hmm",ci),W("Hmmss",ui),Dt(["H","HH"],Wt),Dt(["k","kk"],function(e,r,c){var d=ht(e);r[Wt]=d===24?0:d}),Dt(["a","A"],function(e,r,c){c._isPm=c._locale.isPM(e),c._meridiem=e}),Dt(["h","hh"],function(e,r,c){r[Wt]=ht(e),D(c).bigHour=!0}),Dt("hmm",function(e,r,c){var d=e.length-2;r[Wt]=ht(e.substr(0,d)),r[Le]=ht(e.substr(d)),D(c).bigHour=!0}),Dt("hmmss",function(e,r,c){var d=e.length-4,g=e.length-2;r[Wt]=ht(e.substr(0,d)),r[Le]=ht(e.substr(d,2)),r[Ce]=ht(e.substr(g)),D(c).bigHour=!0}),Dt("Hmm",function(e,r,c){var d=e.length-2;r[Wt]=ht(e.substr(0,d)),r[Le]=ht(e.substr(d))}),Dt("Hmmss",function(e,r,c){var d=e.length-4,g=e.length-2;r[Wt]=ht(e.substr(0,d)),r[Le]=ht(e.substr(d,2)),r[Ce]=ht(e.substr(g))});function Sr(e){return(e+"").toLowerCase().charAt(0)==="p"}var la=/[ap]\.?m?\.?/i,ca=Fe("Hours",!0);function ua(e,r,c){return e>11?c?"pm":"PM":c?"am":"AM"}var Cr={calendar:Nt,longDateFormat:Yt,invalidDate:zt,ordinal:St,dayOfMonthOrdinalParse:ne,relativeTime:he,months:Is,monthsShort:Kn,week:Ae,weekdays:He,weekdaysMin:Ko,weekdaysShort:_r,meridiemParse:la},ee={},wn={},Je;function da(e,r){var c,d=Math.min(e.length,r.length);for(c=0;c<d;c+=1)if(e[c]!==r[c])return c;return d}function Ar(e){return e&&e.toLowerCase().replace("_","-")}function fa(e){for(var r=0,c,d,g,T;r<e.length;){for(T=Ar(e[r]).split("-"),c=T.length,d=Ar(e[r+1]),d=d?d.split("-"):null;c>0;){if(g=yn(T.slice(0,c).join("-")),g)return g;if(d&&d.length>=c&&da(T,d)>=c-1)break;c--}r++}return Je}function Tr(e){return e.match("^[^/\\\\]*$")!=null}function yn(e){var r=null,c;if(ee[e]===void 0&&typeof As<"u"&&As&&As.exports&&Tr(e))try{r=Je._abbr,c=Rc,c("./locale/"+e),Qe(r)}catch{ee[e]=null}return ee[e]}function Qe(e,r){var c;return e&&(p(r)?c=hi(e):c=Vs(e,r),c?Je=c:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Je._abbr}function Vs(e,r){if(r!==null){var c,d=Cr;if(r.abbr=e,ee[e]!=null)Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),d=ee[e]._config;else if(r.parentLocale!=null)if(ee[r.parentLocale]!=null)d=ee[r.parentLocale]._config;else if(c=yn(r.parentLocale),c!=null)d=c._config;else return wn[r.parentLocale]||(wn[r.parentLocale]=[]),wn[r.parentLocale].push({name:e,config:r}),null;return ee[e]=new Et(ot(d,r)),wn[e]&&wn[e].forEach(function(g){Vs(g.name,g.config)}),Qe(e),ee[e]}else return delete ee[e],null}function ha(e,r){if(r!=null){var c,d,g=Cr;ee[e]!=null&&ee[e].parentLocale!=null?ee[e].set(ot(ee[e]._config,r)):(d=yn(e),d!=null&&(g=d._config),r=ot(g,r),d==null&&(r.abbr=e),c=new Et(r),c.parentLocale=ee[e],ee[e]=c),Qe(e)}else ee[e]!=null&&(ee[e].parentLocale!=null?(ee[e]=ee[e].parentLocale,e===Qe()&&Qe(e)):ee[e]!=null&&delete ee[e]);return ee[e]}function hi(e){var r;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Je;if(!s(e)){if(r=yn(e),r)return r;e=[e]}return fa(e)}function pa(){return Ht(ee)}function Hs(e){var r,c=e._a;return c&&D(e).overflow===-2&&(r=c[Ot]<0||c[Ot]>11?Ot:c[Me]<1||c[Me]>Ui(c[st],c[Ot])?Me:c[Wt]<0||c[Wt]>24||c[Wt]===24&&(c[Le]!==0||c[Ce]!==0||c[re]!==0)?Wt:c[Le]<0||c[Le]>59?Le:c[Ce]<0||c[Ce]>59?Ce:c[re]<0||c[re]>999?re:-1,D(e)._overflowDayOfYear&&(r<st||r>Me)&&(r=Me),D(e)._overflowWeeks&&r===-1&&(r=zi),D(e)._overflowWeekday&&r===-1&&(r=Ls),D(e).overflow=r),e}var ma=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ga=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wa=/Z|[+-]\d\d(?::?\d\d)?/,vn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],bn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xr=/^\/?Date\((-?\d+)/i,qi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ya={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Dr(e){var r,c,d=e._i,g=ma.exec(d)||ga.exec(d),T,R,ct,vt,Kt=vn.length,$e=bn.length;if(g){for(D(e).iso=!0,r=0,c=Kt;r<c;r++)if(vn[r][1].exec(g[1])){R=vn[r][0],T=vn[r][2]!==!1;break}if(R==null){e._isValid=!1;return}if(g[3]){for(r=0,c=$e;r<c;r++)if(bn[r][1].exec(g[3])){ct=(g[2]||" ")+bn[r][0];break}if(ct==null){e._isValid=!1;return}}if(!T&&ct!=null){e._isValid=!1;return}if(g[4])if(wa.exec(g[4]))vt="Z";else{e._isValid=!1;return}e._f=R+(ct||"")+(vt||""),js(e)}else e._isValid=!1}function va(e,r,c,d,g,T){var R=[ba(e),Kn.indexOf(r),parseInt(c,10),parseInt(d,10),parseInt(g,10)];return T&&R.push(parseInt(T,10)),R}function ba(e){var r=parseInt(e,10);return r<=49?2e3+r:r<=999?1900+r:r}function _a(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ea(e,r,c){if(e){var d=_r.indexOf(e),g=new Date(r[0],r[1],r[2]).getDay();if(d!==g)return D(c).weekdayMismatch=!0,c._isValid=!1,!1}return!0}function Sa(e,r,c){if(e)return ya[e];if(r)return 0;var d=parseInt(c,10),g=d%100,T=(d-g)/100;return T*60+g}function kr(e){var r=qi.exec(_a(e._i)),c;if(r){if(c=va(r[4],r[3],r[2],r[5],r[6],r[7]),!Ea(r[1],c,e))return;e._a=c,e._tzm=Sa(r[8],r[9],r[10]),e._d=yt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),D(e).rfc2822=!0}else e._isValid=!1}function Ca(e){var r=xr.exec(e._i);if(r!==null){e._d=new Date(+r[1]);return}if(Dr(e),e._isValid===!1)delete e._isValid;else return;if(kr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:t.createFromInputFallback(e)}t.createFromInputFallback=j("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function bi(e,r,c){return e??r??c}function Or(e){var r=new Date(t.now());return e._useUTC?[r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()]:[r.getFullYear(),r.getMonth(),r.getDate()]}function zs(e){var r,c,d=[],g,T,R;if(!e._d){for(g=Or(e),e._w&&e._a[Me]==null&&e._a[Ot]==null&&Aa(e),e._dayOfYear!=null&&(R=bi(e._a[st],g[st]),(e._dayOfYear>X(R)||e._dayOfYear===0)&&(D(e)._overflowDayOfYear=!0),c=yt(R,0,e._dayOfYear),e._a[Ot]=c.getUTCMonth(),e._a[Me]=c.getUTCDate()),r=0;r<3&&e._a[r]==null;++r)e._a[r]=d[r]=g[r];for(;r<7;r++)e._a[r]=d[r]=e._a[r]==null?r===2?1:0:e._a[r];e._a[Wt]===24&&e._a[Le]===0&&e._a[Ce]===0&&e._a[re]===0&&(e._nextDay=!0,e._a[Wt]=0),e._d=(e._useUTC?yt:it).apply(null,d),T=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Wt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==T&&(D(e).weekdayMismatch=!0)}}function Aa(e){var r,c,d,g,T,R,ct,vt,Kt;r=e._w,r.GG!=null||r.W!=null||r.E!=null?(T=1,R=4,c=bi(r.GG,e._a[st],Rt(Zt(),1,4).year),d=bi(r.W,1),g=bi(r.E,1),(g<1||g>7)&&(vt=!0)):(T=e._locale._week.dow,R=e._locale._week.doy,Kt=Rt(Zt(),T,R),c=bi(r.gg,e._a[st],Kt.year),d=bi(r.w,Kt.week),r.d!=null?(g=r.d,(g<0||g>6)&&(vt=!0)):r.e!=null?(g=r.e+T,(r.e<0||r.e>6)&&(vt=!0)):g=T),d<1||d>Ft(c,T,R)?D(e)._overflowWeeks=!0:vt!=null?D(e)._overflowWeekday=!0:(ct=Ut(c,d,g,T,R),e._a[st]=ct.year,e._dayOfYear=ct.dayOfYear)}t.ISO_8601=function(){},t.RFC_2822=function(){};function js(e){if(e._f===t.ISO_8601){Dr(e);return}if(e._f===t.RFC_2822){kr(e);return}e._a=[],D(e).empty=!0;var r=""+e._i,c,d,g,T,R,ct=r.length,vt=0,Kt,$e;for(g=At(e._f,e._locale).match(gt)||[],$e=g.length,c=0;c<$e;c++)T=g[c],d=(r.match(Ai(T,e))||[])[0],d&&(R=r.substr(0,r.indexOf(d)),R.length>0&&D(e).unusedInput.push(R),r=r.slice(r.indexOf(d)+d.length),vt+=d.length),Mt[T]?(d?D(e).empty=!1:D(e).unusedTokens.push(T),It(T,d,e)):e._strict&&!d&&D(e).unusedTokens.push(T);D(e).charsLeftOver=ct-vt,r.length>0&&D(e).unusedInput.push(r),e._a[Wt]<=12&&D(e).bigHour===!0&&e._a[Wt]>0&&(D(e).bigHour=void 0),D(e).parsedDateParts=e._a.slice(0),D(e).meridiem=e._meridiem,e._a[Wt]=Pr(e._locale,e._a[Wt],e._meridiem),Kt=D(e).era,Kt!==null&&(e._a[st]=e._locale.erasConvertYear(Kt,e._a[st])),zs(e),Hs(e)}function Pr(e,r,c){var d;return c==null?r:e.meridiemHour!=null?e.meridiemHour(r,c):(e.isPM!=null&&(d=e.isPM(c),d&&r<12&&(r+=12),!d&&r===12&&(r=0)),r)}function Ta(e){var r,c,d,g,T,R,ct=!1,vt=e._f.length;if(vt===0){D(e).invalidFormat=!0,e._d=new Date(NaN);return}for(g=0;g<vt;g++)T=0,R=!1,r=O({},e),e._useUTC!=null&&(r._useUTC=e._useUTC),r._f=e._f[g],js(r),et(r)&&(R=!0),T+=D(r).charsLeftOver,T+=D(r).unusedTokens.length*10,D(r).score=T,ct?T<d&&(d=T,c=r):(d==null||T<d||R)&&(d=T,c=r,R&&(ct=!0));S(e,c||r)}function Us(e){if(!e._d){var r=Pe(e._i),c=r.day===void 0?r.date:r.day;e._a=b([r.year,r.month,c,r.hour,r.minute,r.second,r.millisecond],function(d){return d&&parseInt(d,10)}),zs(e)}}function Nr(e){var r=new M(Hs(qs(e)));return r._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function qs(e){var r=e._i,c=e._f;return e._locale=e._locale||hi(e._l),r===null||c===void 0&&r===""?Q({nullInput:!0}):(typeof r=="string"&&(e._i=r=e._locale.preparse(r)),$(r)?new M(Hs(r)):(w(r)?e._d=r:s(c)?Ta(e):c?js(e):Gs(e),et(e)||(e._d=null),e))}function Gs(e){var r=e._i;p(r)?e._d=new Date(t.now()):w(r)?e._d=new Date(r.valueOf()):typeof r=="string"?Ca(e):s(r)?(e._a=b(r.slice(0),function(c){return parseInt(c,10)}),zs(e)):a(r)?Us(e):y(r)?e._d=new Date(r):t.createFromInputFallback(e)}function Mr(e,r,c,d,g){var T={};return(r===!0||r===!1)&&(d=r,r=void 0),(c===!0||c===!1)&&(d=c,c=void 0),(a(e)&&f(e)||s(e)&&e.length===0)&&(e=void 0),T._isAMomentObject=!0,T._useUTC=T._isUTC=g,T._l=c,T._i=e,T._f=r,T._strict=d,Nr(T)}function Zt(e,r,c,d){return Mr(e,r,c,d,!1)}var xa=j("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Zt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Q()}),Qn=j("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Zt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Q()});function Lr(e,r){var c,d;if(r.length===1&&s(r[0])&&(r=r[0]),!r.length)return Zt();for(c=r[0],d=1;d<r.length;++d)(!r[d].isValid()||r[d][e](c))&&(c=r[d]);return c}function Da(){var e=[].slice.call(arguments,0);return Lr("isBefore",e)}function ka(){var e=[].slice.call(arguments,0);return Lr("isAfter",e)}var Oa=function(){return Date.now?Date.now():+new Date},Gi=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pa(e){var r,c=!1,d,g=Gi.length;for(r in e)if(u(e,r)&&!(te.call(Gi,r)!==-1&&(e[r]==null||!isNaN(e[r]))))return!1;for(d=0;d<g;++d)if(e[Gi[d]]){if(c)return!1;parseFloat(e[Gi[d]])!==ht(e[Gi[d]])&&(c=!0)}return!0}function Na(){return this._isValid}function Ma(){return be(NaN)}function ts(e){var r=Pe(e),c=r.year||0,d=r.quarter||0,g=r.month||0,T=r.week||r.isoWeek||0,R=r.day||0,ct=r.hour||0,vt=r.minute||0,Kt=r.second||0,$e=r.millisecond||0;this._isValid=Pa(r),this._milliseconds=+$e+Kt*1e3+vt*6e4+ct*1e3*60*60,this._days=+R+T*7,this._months=+g+d*3+c*12,this._data={},this._locale=hi(),this._bubble()}function _n(e){return e instanceof ts}function es(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function La(e,r,c){var d=Math.min(e.length,r.length),g=Math.abs(e.length-r.length),T=0,R;for(R=0;R<d;R++)(c&&e[R]!==r[R]||!c&&ht(e[R])!==ht(r[R]))&&T++;return T+g}function Ir(e,r){K(e,0,0,function(){var c=this.utcOffset(),d="+";return c<0&&(c=-c,d="-"),d+Bt(~~(c/60),2)+r+Bt(~~c%60,2)})}Ir("Z",":"),Ir("ZZ",""),W("Z",Se),W("ZZ",Se),Dt(["Z","ZZ"],function(e,r,c){c._useUTC=!0,c._tzm=is(Se,e)});var Ia=/([\+\-]|\d\d)/gi;function is(e,r){var c=(r||"").match(e),d,g,T;return c===null?null:(d=c[c.length-1]||[],g=(d+"").match(Ia)||["-",0,0],T=+(g[1]*60)+ht(g[2]),T===0?0:g[0]==="+"?T:-T)}function En(e,r){var c,d;return r._isUTC?(c=r.clone(),d=($(e)||w(e)?e.valueOf():Zt(e).valueOf())-c.valueOf(),c._d.setTime(c._d.valueOf()+d),t.updateOffset(c,!1),c):Zt(e).local()}function Ks(e){return-Math.round(e._d.getTimezoneOffset())}t.updateOffset=function(){};function Ra(e,r,c){var d=this._offset||0,g;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=is(Se,e),e===null)return this}else Math.abs(e)<16&&!c&&(e=e*60);return!this._isUTC&&r&&(g=Ks(this)),this._offset=e,this._isUTC=!0,g!=null&&this.add(g,"m"),d!==e&&(!r||this._changeInProgress?Fr(this,be(e-d,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?d:Ks(this)}function $a(e,r){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,r),this):-this.utcOffset()}function Ba(e){return this.utcOffset(0,e)}function Rr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ks(this),"m")),this}function Ya(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=is(Ps,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Wa(e){return this.isValid()?(e=e?Zt(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Fa(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Va(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={},r;return O(e,this),e=qs(e),e._a?(r=e._isUTC?k(e._a):Zt(e._a),this._isDSTShifted=this.isValid()&&La(e._a,r.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ha(){return this.isValid()?!this._isUTC:!1}function za(){return this.isValid()?this._isUTC:!1}function $r(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ja=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ua=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function be(e,r){var c=e,d=null,g,T,R;return _n(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:y(e)||!isNaN(+e)?(c={},r?c[r]=+e:c.milliseconds=+e):(d=ja.exec(e))?(g=d[1]==="-"?-1:1,c={y:0,d:ht(d[Me])*g,h:ht(d[Wt])*g,m:ht(d[Le])*g,s:ht(d[Ce])*g,ms:ht(es(d[re]*1e3))*g}):(d=Ua.exec(e))?(g=d[1]==="-"?-1:1,c={y:_i(d[2],g),M:_i(d[3],g),w:_i(d[4],g),d:_i(d[5],g),h:_i(d[6],g),m:_i(d[7],g),s:_i(d[8],g)}):c==null?c={}:typeof c=="object"&&("from"in c||"to"in c)&&(R=Yr(Zt(c.from),Zt(c.to)),c={},c.ms=R.milliseconds,c.M=R.months),T=new ts(c),_n(e)&&u(e,"_locale")&&(T._locale=e._locale),_n(e)&&u(e,"_isValid")&&(T._isValid=e._isValid),T}be.fn=ts.prototype,be.invalid=Ma;function _i(e,r){var c=e&&parseFloat(e.replace(",","."));return(isNaN(c)?0:c)*r}function Br(e,r){var c={};return c.months=r.month()-e.month()+(r.year()-e.year())*12,e.clone().add(c.months,"M").isAfter(r)&&--c.months,c.milliseconds=+r-+e.clone().add(c.months,"M"),c}function Yr(e,r){var c;return e.isValid()&&r.isValid()?(r=En(r,e),e.isBefore(r)?c=Br(e,r):(c=Br(r,e),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function Wr(e,r){return function(c,d){var g,T;return d!==null&&!isNaN(+d)&&(Y(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),T=c,c=d,d=T),g=be(c,d),Fr(this,g,e),this}}function Fr(e,r,c,d){var g=r._milliseconds,T=es(r._days),R=es(r._months);e.isValid()&&(d=d??!0,R&&_(e,mt(e,"Month")+R*c),T&&hn(e,"Date",mt(e,"Date")+T*c),g&&e._d.setTime(e._d.valueOf()+g*c),d&&t.updateOffset(e,T||R))}var qa=Wr(1,"add"),Vr=Wr(-1,"subtract");function Hr(e){return typeof e=="string"||e instanceof String}function Ga(e){return $(e)||w(e)||Hr(e)||y(e)||ti(e)||Ka(e)||e===null||e===void 0}function Ka(e){var r=a(e)&&!f(e),c=!1,d=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],g,T,R=d.length;for(g=0;g<R;g+=1)T=d[g],c=c||u(e,T);return r&&c}function ti(e){var r=s(e),c=!1;return r&&(c=e.filter(function(d){return!y(d)&&Hr(e)}).length===0),r&&c}function Ki(e){var r=a(e)&&!f(e),c=!1,d=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],g,T;for(g=0;g<d.length;g+=1)T=d[g],c=c||u(e,T);return r&&c}function Xa(e,r){var c=e.diff(r,"days",!0);return c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"}function Za(e,r){arguments.length===1&&(arguments[0]?Ga(arguments[0])?(e=arguments[0],r=void 0):Ki(arguments[0])&&(r=arguments[0],e=void 0):(e=void 0,r=void 0));var c=e||Zt(),d=En(c,this).startOf("day"),g=t.calendarFormat(this,d)||"sameElse",T=r&&(Z(r[g])?r[g].call(this,c):r[g]);return this.format(T||this.localeData().calendar(g,this,Zt(c)))}function Ja(){return new M(this)}function Qa(e,r){var c=$(e)?e:Zt(e);return this.isValid()&&c.isValid()?(r=Qt(r)||"millisecond",r==="millisecond"?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(r).valueOf()):!1}function tl(e,r){var c=$(e)?e:Zt(e);return this.isValid()&&c.isValid()?(r=Qt(r)||"millisecond",r==="millisecond"?this.valueOf()<c.valueOf():this.clone().endOf(r).valueOf()<c.valueOf()):!1}function el(e,r,c,d){var g=$(e)?e:Zt(e),T=$(r)?r:Zt(r);return this.isValid()&&g.isValid()&&T.isValid()?(d=d||"()",(d[0]==="("?this.isAfter(g,c):!this.isBefore(g,c))&&(d[1]===")"?this.isBefore(T,c):!this.isAfter(T,c))):!1}function il(e,r){var c=$(e)?e:Zt(e),d;return this.isValid()&&c.isValid()?(r=Qt(r)||"millisecond",r==="millisecond"?this.valueOf()===c.valueOf():(d=c.valueOf(),this.clone().startOf(r).valueOf()<=d&&d<=this.clone().endOf(r).valueOf())):!1}function ns(e,r){return this.isSame(e,r)||this.isAfter(e,r)}function o(e,r){return this.isSame(e,r)||this.isBefore(e,r)}function l(e,r,c){var d,g,T;if(!this.isValid())return NaN;if(d=En(e,this),!d.isValid())return NaN;switch(g=(d.utcOffset()-this.utcOffset())*6e4,r=Qt(r),r){case"year":T=h(this,d)/12;break;case"month":T=h(this,d);break;case"quarter":T=h(this,d)/3;break;case"second":T=(this-d)/1e3;break;case"minute":T=(this-d)/6e4;break;case"hour":T=(this-d)/36e5;break;case"day":T=(this-d-g)/864e5;break;case"week":T=(this-d-g)/6048e5;break;default:T=this-d}return c?T:ue(T)}function h(e,r){if(e.date()<r.date())return-h(r,e);var c=(r.year()-e.year())*12+(r.month()-e.month()),d=e.clone().add(c,"months"),g,T;return r-d<0?(g=e.clone().add(c-1,"months"),T=(r-d)/(d-g)):(g=e.clone().add(c+1,"months"),T=(r-d)/(g-d)),-(c+T)||0}t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function E(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function I(e){if(!this.isValid())return null;var r=e!==!0,c=r?this.clone().utc():this;return c.year()<0||c.year()>9999?pt(c,r?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Z(Date.prototype.toISOString)?r?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",pt(c,"Z")):pt(c,r?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function at(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",r="",c,d,g,T;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",r="Z"),c="["+e+'("]',d=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",g="-MM-DD[T]HH:mm:ss.SSS",T=r+'[")]',this.format(c+d+g+T)}function Gt(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var r=pt(this,e);return this.localeData().postformat(r)}function Re(e,r){return this.isValid()&&($(e)&&e.isValid()||Zt(e).isValid())?be({to:this,from:e}).locale(this.locale()).humanize(!r):this.localeData().invalidDate()}function De(e){return this.from(Zt(),e)}function Xi(e,r){return this.isValid()&&($(e)&&e.isValid()||Zt(e).isValid())?be({from:this,to:e}).locale(this.locale()).humanize(!r):this.localeData().invalidDate()}function Xs(e){return this.to(Zt(),e)}function Ec(e){var r;return e===void 0?this._locale._abbr:(r=hi(e),r!=null&&(this._locale=r),this)}var Sc=j("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Cc(){return this._locale}var zr=1e3,ss=60*zr,jr=60*ss,Ac=(365*400+97)*24*jr;function rs(e,r){return(e%r+r)%r}function Tc(e,r,c){return e<100&&e>=0?new Date(e+400,r,c)-Ac:new Date(e,r,c).valueOf()}function xc(e,r,c){return e<100&&e>=0?Date.UTC(e+400,r,c)-Ac:Date.UTC(e,r,c)}function Bf(e){var r,c;if(e=Qt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(c=this._isUTC?xc:Tc,e){case"year":r=c(this.year(),0,1);break;case"quarter":r=c(this.year(),this.month()-this.month()%3,1);break;case"month":r=c(this.year(),this.month(),1);break;case"week":r=c(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":r=c(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":r=c(this.year(),this.month(),this.date());break;case"hour":r=this._d.valueOf(),r-=rs(r+(this._isUTC?0:this.utcOffset()*ss),jr);break;case"minute":r=this._d.valueOf(),r-=rs(r,ss);break;case"second":r=this._d.valueOf(),r-=rs(r,zr);break}return this._d.setTime(r),t.updateOffset(this,!0),this}function Yf(e){var r,c;if(e=Qt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(c=this._isUTC?xc:Tc,e){case"year":r=c(this.year()+1,0,1)-1;break;case"quarter":r=c(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":r=c(this.year(),this.month()+1,1)-1;break;case"week":r=c(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":r=c(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":r=c(this.year(),this.month(),this.date()+1)-1;break;case"hour":r=this._d.valueOf(),r+=jr-rs(r+(this._isUTC?0:this.utcOffset()*ss),jr)-1;break;case"minute":r=this._d.valueOf(),r+=ss-rs(r,ss)-1;break;case"second":r=this._d.valueOf(),r+=zr-rs(r,zr)-1;break}return this._d.setTime(r),t.updateOffset(this,!0),this}function Wf(){return this._d.valueOf()-(this._offset||0)*6e4}function Ff(){return Math.floor(this.valueOf()/1e3)}function Vf(){return new Date(this.valueOf())}function Hf(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function zf(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jf(){return this.isValid()?this.toISOString():null}function Uf(){return et(this)}function qf(){return S({},D(this))}function Gf(){return D(this).overflow}function Kf(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}K("N",0,0,"eraAbbr"),K("NN",0,0,"eraAbbr"),K("NNN",0,0,"eraAbbr"),K("NNNN",0,0,"eraName"),K("NNNNN",0,0,"eraNarrow"),K("y",["y",1],"yo","eraYear"),K("y",["yy",2],0,"eraYear"),K("y",["yyy",3],0,"eraYear"),K("y",["yyyy",4],0,"eraYear"),W("N",nl),W("NN",nl),W("NNN",nl),W("NNNN",oh),W("NNNNN",ah),Dt(["N","NN","NNN","NNNN","NNNNN"],function(e,r,c,d){var g=c._locale.erasParse(e,d,c._strict);g?D(c).era=g:D(c).invalidEra=e}),W("y",_t),W("yy",_t),W("yyy",_t),W("yyyy",_t),W("yo",lh),Dt(["y","yy","yyy","yyyy"],st),Dt(["yo"],function(e,r,c,d){var g;c._locale._eraYearOrdinalRegex&&(g=e.match(c._locale._eraYearOrdinalRegex)),c._locale.eraYearOrdinalParse?r[st]=c._locale.eraYearOrdinalParse(e,g):r[st]=parseInt(e,10)});function Xf(e,r){var c,d,g,T=this._eras||hi("en")._eras;for(c=0,d=T.length;c<d;++c){switch(typeof T[c].since){case"string":g=t(T[c].since).startOf("day"),T[c].since=g.valueOf();break}switch(typeof T[c].until){case"undefined":T[c].until=1/0;break;case"string":g=t(T[c].until).startOf("day").valueOf(),T[c].until=g.valueOf();break}}return T}function Zf(e,r,c){var d,g,T=this.eras(),R,ct,vt;for(e=e.toUpperCase(),d=0,g=T.length;d<g;++d)if(R=T[d].name.toUpperCase(),ct=T[d].abbr.toUpperCase(),vt=T[d].narrow.toUpperCase(),c)switch(r){case"N":case"NN":case"NNN":if(ct===e)return T[d];break;case"NNNN":if(R===e)return T[d];break;case"NNNNN":if(vt===e)return T[d];break}else if([R,ct,vt].indexOf(e)>=0)return T[d]}function Jf(e,r){var c=e.since<=e.until?1:-1;return r===void 0?t(e.since).year():t(e.since).year()+(r-e.offset)*c}function Qf(){var e,r,c,d=this.localeData().eras();for(e=0,r=d.length;e<r;++e)if(c=this.clone().startOf("day").valueOf(),d[e].since<=c&&c<=d[e].until||d[e].until<=c&&c<=d[e].since)return d[e].name;return""}function th(){var e,r,c,d=this.localeData().eras();for(e=0,r=d.length;e<r;++e)if(c=this.clone().startOf("day").valueOf(),d[e].since<=c&&c<=d[e].until||d[e].until<=c&&c<=d[e].since)return d[e].narrow;return""}function eh(){var e,r,c,d=this.localeData().eras();for(e=0,r=d.length;e<r;++e)if(c=this.clone().startOf("day").valueOf(),d[e].since<=c&&c<=d[e].until||d[e].until<=c&&c<=d[e].since)return d[e].abbr;return""}function ih(){var e,r,c,d,g=this.localeData().eras();for(e=0,r=g.length;e<r;++e)if(c=g[e].since<=g[e].until?1:-1,d=this.clone().startOf("day").valueOf(),g[e].since<=d&&d<=g[e].until||g[e].until<=d&&d<=g[e].since)return(this.year()-t(g[e].since).year())*c+g[e].offset;return this.year()}function nh(e){return u(this,"_erasNameRegex")||sl.call(this),e?this._erasNameRegex:this._erasRegex}function sh(e){return u(this,"_erasAbbrRegex")||sl.call(this),e?this._erasAbbrRegex:this._erasRegex}function rh(e){return u(this,"_erasNarrowRegex")||sl.call(this),e?this._erasNarrowRegex:this._erasRegex}function nl(e,r){return r.erasAbbrRegex(e)}function oh(e,r){return r.erasNameRegex(e)}function ah(e,r){return r.erasNarrowRegex(e)}function lh(e,r){return r._eraYearOrdinalRegex||_t}function sl(){var e=[],r=[],c=[],d=[],g,T,R=this.eras();for(g=0,T=R.length;g<T;++g)r.push(ye(R[g].name)),e.push(ye(R[g].abbr)),c.push(ye(R[g].narrow)),d.push(ye(R[g].name)),d.push(ye(R[g].abbr)),d.push(ye(R[g].narrow));this._erasRegex=new RegExp("^("+d.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+c.join("|")+")","i")}K(0,["gg",2],0,function(){return this.weekYear()%100}),K(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Ur(e,r){K(0,[e,e.length],0,r)}Ur("gggg","weekYear"),Ur("ggggg","weekYear"),Ur("GGGG","isoWeekYear"),Ur("GGGGG","isoWeekYear"),Ct("weekYear","gg"),Ct("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),W("G",pe),W("g",pe),W("GG",dt,we),W("gg",dt,we),W("GGGG",Ke,li),W("gggg",Ke,li),W("GGGGG",xt,Hi),W("ggggg",xt,Hi),vi(["gggg","ggggg","GGGG","GGGGG"],function(e,r,c,d){r[d.substr(0,2)]=ht(e)}),vi(["gg","GG"],function(e,r,c,d){r[d]=t.parseTwoDigitYear(e)});function ch(e){return Dc.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function uh(e){return Dc.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function dh(){return Ft(this.year(),1,4)}function fh(){return Ft(this.isoWeekYear(),1,4)}function hh(){var e=this.localeData()._week;return Ft(this.year(),e.dow,e.doy)}function ph(){var e=this.localeData()._week;return Ft(this.weekYear(),e.dow,e.doy)}function Dc(e,r,c,d,g){var T;return e==null?Rt(this,d,g).year:(T=Ft(e,d,g),r>T&&(r=T),mh.call(this,e,r,c,d,g))}function mh(e,r,c,d,g){var T=Ut(e,r,c,d,g),R=yt(T.year,0,T.dayOfYear);return this.year(R.getUTCFullYear()),this.month(R.getUTCMonth()),this.date(R.getUTCDate()),this}K("Q",0,"Qo","quarter"),Ct("quarter","Q"),ae("quarter",7),W("Q",Ci),Dt("Q",function(e,r){r[Ot]=(ht(e)-1)*3});function gh(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}K("D",["DD",2],"Do","date"),Ct("date","D"),ae("date",9),W("D",dt),W("DD",dt,we),W("Do",function(e,r){return e?r._dayOfMonthOrdinalParse||r._ordinalParse:r._dayOfMonthOrdinalParseLenient}),Dt(["D","DD"],Me),Dt("Do",function(e,r){r[Me]=ht(e.match(dt)[0])});var kc=Fe("Date",!0);K("DDD",["DDDD",3],"DDDo","dayOfYear"),Ct("dayOfYear","DDD"),ae("dayOfYear",4),W("DDD",yi),W("DDDD",Ie),Dt(["DDD","DDDD"],function(e,r,c){c._dayOfYear=ht(e)});function wh(e){var r=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?r:this.add(e-r,"d")}K("m",["mm",2],0,"minute"),Ct("minute","m"),ae("minute",14),W("m",dt),W("mm",dt,we),Dt(["m","mm"],Le);var yh=Fe("Minutes",!1);K("s",["ss",2],0,"second"),Ct("second","s"),ae("second",15),W("s",dt),W("ss",dt,we),Dt(["s","ss"],Ce);var vh=Fe("Seconds",!1);K("S",0,0,function(){return~~(this.millisecond()/100)}),K(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),K(0,["SSS",3],0,"millisecond"),K(0,["SSSS",4],0,function(){return this.millisecond()*10}),K(0,["SSSSS",5],0,function(){return this.millisecond()*100}),K(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),K(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),K(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),K(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Ct("millisecond","ms"),ae("millisecond",16),W("S",yi,Ci),W("SS",yi,we),W("SSS",yi,Ie);var Zi,Oc;for(Zi="SSSS";Zi.length<=9;Zi+="S")W(Zi,_t);function bh(e,r){r[re]=ht(("0."+e)*1e3)}for(Zi="S";Zi.length<=9;Zi+="S")Dt(Zi,bh);Oc=Fe("Milliseconds",!1),K("z",0,0,"zoneAbbr"),K("zz",0,0,"zoneName");function _h(){return this._isUTC?"UTC":""}function Eh(){return this._isUTC?"Coordinated Universal Time":""}var z=M.prototype;z.add=qa,z.calendar=Za,z.clone=Ja,z.diff=l,z.endOf=Yf,z.format=Gt,z.from=Re,z.fromNow=De,z.to=Xi,z.toNow=Xs,z.get=Gn,z.invalidAt=Gf,z.isAfter=Qa,z.isBefore=tl,z.isBetween=el,z.isSame=il,z.isSameOrAfter=ns,z.isSameOrBefore=o,z.isValid=Uf,z.lang=Sc,z.locale=Ec,z.localeData=Cc,z.max=Qn,z.min=xa,z.parsingFlags=qf,z.set=pn,z.startOf=Bf,z.subtract=Vr,z.toArray=Hf,z.toObject=zf,z.toDate=Vf,z.toISOString=I,z.inspect=at,typeof Symbol<"u"&&Symbol.for!=null&&(z[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),z.toJSON=jf,z.toString=E,z.unix=Ff,z.valueOf=Wf,z.creationData=Kf,z.eraName=Qf,z.eraNarrow=th,z.eraAbbr=eh,z.eraYear=ih,z.year=G,z.isLeapYear=U,z.weekYear=ch,z.isoWeekYear=uh,z.quarter=z.quarters=gh,z.month=v,z.daysInMonth=A,z.week=z.weeks=di,z.isoWeek=z.isoWeeks=Ve,z.weeksInYear=hh,z.weeksInWeekYear=ph,z.isoWeeksInYear=dh,z.isoWeeksInISOWeekYear=fh,z.date=kc,z.day=z.days=na,z.weekday=Jn,z.isoWeekday=sa,z.dayOfYear=wh,z.hour=z.hours=ca,z.minute=z.minutes=yh,z.second=z.seconds=vh,z.millisecond=z.milliseconds=Oc,z.utcOffset=Ra,z.utc=Ba,z.local=Rr,z.parseZone=Ya,z.hasAlignedHourOffset=Wa,z.isDST=Fa,z.isLocal=Ha,z.isUtcOffset=za,z.isUtc=$r,z.isUTC=$r,z.zoneAbbr=_h,z.zoneName=Eh,z.dates=j("dates accessor is deprecated. Use date instead.",kc),z.months=j("months accessor is deprecated. Use month instead",v),z.years=j("years accessor is deprecated. Use year instead",G),z.zone=j("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",$a),z.isDSTShifted=j("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Va);function Sh(e){return Zt(e*1e3)}function Ch(){return Zt.apply(null,arguments).parseZone()}function Pc(e){return e}var Lt=Et.prototype;Lt.calendar=$t,Lt.longDateFormat=Ee,Lt.invalidDate=Tt,Lt.ordinal=rt,Lt.preparse=Pc,Lt.postformat=Pc,Lt.relativeTime=Oe,Lt.pastFuture=We,Lt.set=J,Lt.eras=Xf,Lt.erasParse=Zf,Lt.erasConvertYear=Jf,Lt.erasAbbrRegex=sh,Lt.erasNameRegex=nh,Lt.erasNarrowRegex=rh,Lt.months=$s,Lt.monthsShort=Zn,Lt.monthsParse=m,Lt.monthsRegex=L,Lt.monthsShortRegex=N,Lt.week=ve,Lt.firstDayOfYear=je,Lt.firstDayOfWeek=qt,Lt.weekdays=Qo,Lt.weekdaysMin=ea,Lt.weekdaysShort=ta,Lt.weekdaysParse=Er,Lt.weekdaysRegex=ra,Lt.weekdaysShortRegex=oa,Lt.weekdaysMinRegex=gn,Lt.isPM=Sr,Lt.meridiem=ua;function qr(e,r,c,d){var g=hi(),T=k().set(d,r);return g[c](T,e)}function Nc(e,r,c){if(y(e)&&(r=e,e=void 0),e=e||"",r!=null)return qr(e,r,c,"month");var d,g=[];for(d=0;d<12;d++)g[d]=qr(e,d,c,"month");return g}function rl(e,r,c,d){typeof e=="boolean"?(y(r)&&(c=r,r=void 0),r=r||""):(r=e,c=r,e=!1,y(r)&&(c=r,r=void 0),r=r||"");var g=hi(),T=e?g._week.dow:0,R,ct=[];if(c!=null)return qr(r,(c+T)%7,d,"day");for(R=0;R<7;R++)ct[R]=qr(r,(R+T)%7,d,"day");return ct}function Ah(e,r){return Nc(e,r,"months")}function Th(e,r){return Nc(e,r,"monthsShort")}function xh(e,r,c){return rl(e,r,c,"weekdays")}function Dh(e,r,c){return rl(e,r,c,"weekdaysShort")}function kh(e,r,c){return rl(e,r,c,"weekdaysMin")}Qe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var r=e%10,c=ht(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+c}}),t.lang=j("moment.lang is deprecated. Use moment.locale instead.",Qe),t.langData=j("moment.langData is deprecated. Use moment.localeData instead.",hi);var Ti=Math.abs;function Oh(){var e=this._data;return this._milliseconds=Ti(this._milliseconds),this._days=Ti(this._days),this._months=Ti(this._months),e.milliseconds=Ti(e.milliseconds),e.seconds=Ti(e.seconds),e.minutes=Ti(e.minutes),e.hours=Ti(e.hours),e.months=Ti(e.months),e.years=Ti(e.years),this}function Mc(e,r,c,d){var g=be(r,c);return e._milliseconds+=d*g._milliseconds,e._days+=d*g._days,e._months+=d*g._months,e._bubble()}function Ph(e,r){return Mc(this,e,r,1)}function Nh(e,r){return Mc(this,e,r,-1)}function Lc(e){return e<0?Math.floor(e):Math.ceil(e)}function Mh(){var e=this._milliseconds,r=this._days,c=this._months,d=this._data,g,T,R,ct,vt;return e>=0&&r>=0&&c>=0||e<=0&&r<=0&&c<=0||(e+=Lc(ol(c)+r)*864e5,r=0,c=0),d.milliseconds=e%1e3,g=ue(e/1e3),d.seconds=g%60,T=ue(g/60),d.minutes=T%60,R=ue(T/60),d.hours=R%24,r+=ue(R/24),vt=ue(Ic(r)),c+=vt,r-=Lc(ol(vt)),ct=ue(c/12),c%=12,d.days=r,d.months=c,d.years=ct,this}function Ic(e){return e*4800/146097}function ol(e){return e*146097/4800}function Lh(e){if(!this.isValid())return NaN;var r,c,d=this._milliseconds;if(e=Qt(e),e==="month"||e==="quarter"||e==="year")switch(r=this._days+d/864e5,c=this._months+Ic(r),e){case"month":return c;case"quarter":return c/3;case"year":return c/12}else switch(r=this._days+Math.round(ol(this._months)),e){case"week":return r/7+d/6048e5;case"day":return r+d/864e5;case"hour":return r*24+d/36e5;case"minute":return r*1440+d/6e4;case"second":return r*86400+d/1e3;case"millisecond":return Math.floor(r*864e5)+d;default:throw new Error("Unknown unit "+e)}}function Ih(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+ht(this._months/12)*31536e6:NaN}function xi(e){return function(){return this.as(e)}}var Rh=xi("ms"),$h=xi("s"),Bh=xi("m"),Yh=xi("h"),Wh=xi("d"),Fh=xi("w"),Vh=xi("M"),Hh=xi("Q"),zh=xi("y");function jh(){return be(this)}function Uh(e){return e=Qt(e),this.isValid()?this[e+"s"]():NaN}function Sn(e){return function(){return this.isValid()?this._data[e]:NaN}}var qh=Sn("milliseconds"),Gh=Sn("seconds"),Kh=Sn("minutes"),Xh=Sn("hours"),Zh=Sn("days"),Jh=Sn("months"),Qh=Sn("years");function tp(){return ue(this.days()/7)}var Di=Math.round,os={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ep(e,r,c,d,g){return g.relativeTime(r||1,!!c,e,d)}function ip(e,r,c,d){var g=be(e).abs(),T=Di(g.as("s")),R=Di(g.as("m")),ct=Di(g.as("h")),vt=Di(g.as("d")),Kt=Di(g.as("M")),$e=Di(g.as("w")),ki=Di(g.as("y")),Ji=T<=c.ss&&["s",T]||T<c.s&&["ss",T]||R<=1&&["m"]||R<c.m&&["mm",R]||ct<=1&&["h"]||ct<c.h&&["hh",ct]||vt<=1&&["d"]||vt<c.d&&["dd",vt];return c.w!=null&&(Ji=Ji||$e<=1&&["w"]||$e<c.w&&["ww",$e]),Ji=Ji||Kt<=1&&["M"]||Kt<c.M&&["MM",Kt]||ki<=1&&["y"]||["yy",ki],Ji[2]=r,Ji[3]=+e>0,Ji[4]=d,ep.apply(null,Ji)}function np(e){return e===void 0?Di:typeof e=="function"?(Di=e,!0):!1}function sp(e,r){return os[e]===void 0?!1:r===void 0?os[e]:(os[e]=r,e==="s"&&(os.ss=r-1),!0)}function rp(e,r){if(!this.isValid())return this.localeData().invalidDate();var c=!1,d=os,g,T;return typeof e=="object"&&(r=e,e=!1),typeof e=="boolean"&&(c=e),typeof r=="object"&&(d=Object.assign({},os,r),r.s!=null&&r.ss==null&&(d.ss=r.s-1)),g=this.localeData(),T=ip(this,!c,d,g),c&&(T=g.pastFuture(+this,T)),g.postformat(T)}var al=Math.abs;function as(e){return(e>0)-(e<0)||+e}function Gr(){if(!this.isValid())return this.localeData().invalidDate();var e=al(this._milliseconds)/1e3,r=al(this._days),c=al(this._months),d,g,T,R,ct=this.asSeconds(),vt,Kt,$e,ki;return ct?(d=ue(e/60),g=ue(d/60),e%=60,d%=60,T=ue(c/12),c%=12,R=e?e.toFixed(3).replace(/\.?0+$/,""):"",vt=ct<0?"-":"",Kt=as(this._months)!==as(ct)?"-":"",$e=as(this._days)!==as(ct)?"-":"",ki=as(this._milliseconds)!==as(ct)?"-":"",vt+"P"+(T?Kt+T+"Y":"")+(c?Kt+c+"M":"")+(r?$e+r+"D":"")+(g||d||e?"T":"")+(g?ki+g+"H":"")+(d?ki+d+"M":"")+(e?ki+R+"S":"")):"P0D"}var kt=ts.prototype;kt.isValid=Na,kt.abs=Oh,kt.add=Ph,kt.subtract=Nh,kt.as=Lh,kt.asMilliseconds=Rh,kt.asSeconds=$h,kt.asMinutes=Bh,kt.asHours=Yh,kt.asDays=Wh,kt.asWeeks=Fh,kt.asMonths=Vh,kt.asQuarters=Hh,kt.asYears=zh,kt.valueOf=Ih,kt._bubble=Mh,kt.clone=jh,kt.get=Uh,kt.milliseconds=qh,kt.seconds=Gh,kt.minutes=Kh,kt.hours=Xh,kt.days=Zh,kt.weeks=tp,kt.months=Jh,kt.years=Qh,kt.humanize=rp,kt.toISOString=Gr,kt.toString=Gr,kt.toJSON=Gr,kt.locale=Ec,kt.localeData=Cc,kt.toIsoString=j("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gr),kt.lang=Sc,K("X",0,0,"unix"),K("x",0,0,"valueOf"),W("x",pe),W("X",Ns),Dt("X",function(e,r,c){c._d=new Date(parseFloat(e)*1e3)}),Dt("x",function(e,r,c){c._d=new Date(ht(e))});return t.version="2.29.4",i(Zt),t.fn=z,t.min=Da,t.max=ka,t.now=Oa,t.utc=k,t.unix=Sh,t.months=Ah,t.isDate=w,t.locale=Qe,t.invalid=Q,t.duration=be,t.isMoment=$,t.weekdays=xh,t.parseZone=Ch,t.localeData=hi,t.isDuration=_n,t.monthsShort=Th,t.weekdaysMin=kh,t.defineLocale=Vs,t.updateLocale=ha,t.locales=pa,t.weekdaysShort=Dh,t.normalizeUnits=Qt,t.relativeTimeRounding=np,t.relativeTimeThreshold=sp,t.calendarFormat=Xa,t.prototype=z,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})});var rd=ft((Si,Kl)=>{(function(n,t){typeof Si=="object"&&typeof Kl<"u"?Kl.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis<"u"?globalThis:n||self,n.Sweetalert2=t())})(Si,function(){"use strict";var n={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};let t="swal2-",i=o=>{let l={};for(let h in o)l[o[h]]=t+o[h];return l},s=i(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),a=i(["success","warning","info","question","error"]),u="SweetAlert2:",f=o=>{let l=[];for(let h=0;h<o.length;h++)l.indexOf(o[h])===-1&&l.push(o[h]);return l},p=o=>o.charAt(0).toUpperCase()+o.slice(1),y=o=>{console.warn(`${u} ${typeof o=="object"?o.join(" "):o}`)},w=o=>{console.error(`${u} ${o}`)},b=[],S=o=>{b.includes(o)||(b.push(o),y(o))},k=(o,l)=>{S(`"${o}" is deprecated and will be removed in the next major release. Please use "${l}" instead.`)},P=o=>typeof o=="function"?o():o,D=o=>o&&typeof o.toPromise=="function",B=o=>D(o)?o.toPromise():Promise.resolve(o),et=o=>o&&Promise.resolve(o)===o,Q=()=>document.body.querySelector(`.${s.container}`),lt=o=>{let l=Q();return l?l.querySelector(o):null},x=o=>lt(`.${o}`),O=()=>x(s.popup),M=()=>x(s.icon),$=()=>x(s["icon-content"]),V=()=>x(s.title),j=()=>x(s["html-container"]),H=()=>x(s.image),Y=()=>x(s["progress-steps"]),Z=()=>x(s["validation-message"]),J=()=>lt(`.${s.actions} .${s.confirm}`),ot=()=>lt(`.${s.actions} .${s.cancel}`),Et=()=>lt(`.${s.actions} .${s.deny}`),Ht=()=>x(s["input-label"]),Nt=()=>lt(`.${s.loader}`),$t=()=>x(s.actions),Bt=()=>x(s.footer),gt=()=>x(s["timer-progress-bar"]),Jt=()=>x(s.close),oe=` | |
a[href], | |
area[href], | |
input:not([disabled]), | |
select:not([disabled]), | |
textarea:not([disabled]), | |
button:not([disabled]), | |
iframe, | |
object, | |
embed, | |
[tabindex="0"], | |
[contenteditable], | |
audio[controls], | |
video[controls], | |
summary | |
`,Mt=()=>{let o=Array.from(O().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((h,E)=>{let I=parseInt(h.getAttribute("tabindex")),at=parseInt(E.getAttribute("tabindex"));return I>at?1:I<at?-1:0}),l=Array.from(O().querySelectorAll(oe)).filter(h=>h.getAttribute("tabindex")!=="-1");return f(o.concat(l)).filter(h=>se(h))},K=()=>Yt(document.body,s.shown)&&!Yt(document.body,s["toast-shown"])&&!Yt(document.body,s["no-backdrop"]),Xt=()=>O()&&Yt(O(),s.toast),wt=()=>O().hasAttribute("data-loading"),pt={previousBodyPadding:null},At=(o,l)=>{if(o.textContent="",l){let E=new DOMParser().parseFromString(l,"text/html");Array.from(E.querySelector("head").childNodes).forEach(I=>{o.appendChild(I)}),Array.from(E.querySelector("body").childNodes).forEach(I=>{I instanceof HTMLVideoElement||I instanceof HTMLAudioElement?o.appendChild(I.cloneNode(!0)):o.appendChild(I)})}},Yt=(o,l)=>{if(!l)return!1;let h=l.split(/\s+/);for(let E=0;E<h.length;E++)if(!o.classList.contains(h[E]))return!1;return!0},Ee=(o,l)=>{Array.from(o.classList).forEach(h=>{!Object.values(s).includes(h)&&!Object.values(a).includes(h)&&!Object.values(l.showClass).includes(h)&&o.classList.remove(h)})},zt=(o,l,h)=>{if(Ee(o,l),l.customClass&&l.customClass[h]){if(typeof l.customClass[h]!="string"&&!l.customClass[h].forEach){y(`Invalid type of customClass.${h}! Expected string or iterable object, got "${typeof l.customClass[h]}"`);return}rt(o,l.customClass[h])}},Tt=(o,l)=>{if(!l)return null;switch(l){case"select":case"textarea":case"file":return o.querySelector(`.${s.popup} > .${s[l]}`);case"checkbox":return o.querySelector(`.${s.popup} > .${s.checkbox} input`);case"radio":return o.querySelector(`.${s.popup} > .${s.radio} input:checked`)||o.querySelector(`.${s.popup} > .${s.radio} input:first-child`);case"range":return o.querySelector(`.${s.popup} > .${s.range} input`);default:return o.querySelector(`.${s.popup} > .${s.input}`)}},St=o=>{if(o.focus(),o.type!=="file"){let l=o.value;o.value="",o.value=l}},ne=(o,l,h)=>{!o||!l||(typeof l=="string"&&(l=l.split(/\s+/).filter(Boolean)),l.forEach(E=>{Array.isArray(o)?o.forEach(I=>{h?I.classList.add(E):I.classList.remove(E)}):h?o.classList.add(E):o.classList.remove(E)}))},rt=(o,l)=>{ne(o,l,!0)},he=(o,l)=>{ne(o,l,!1)},Oe=(o,l)=>{let h=Array.from(o.children);for(let E=0;E<h.length;E++){let I=h[E];if(I instanceof HTMLElement&&Yt(I,l))return I}},We=(o,l,h)=>{h===`${parseInt(h)}`&&(h=parseInt(h)),h||parseInt(h)===0?o.style[l]=typeof h=="number"?`${h}px`:h:o.style.removeProperty(l)},jt=function(o){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";o.style.display=l},Ct=o=>{o.style.display="none"},Qt=(o,l,h,E)=>{let I=o.querySelector(l);I&&(I.style[h]=E)},Pe=function(o,l){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";l?jt(o,h):Ct(o)},se=o=>!!(o&&(o.offsetWidth||o.offsetHeight||o.getClientRects().length)),ae=()=>!se(J())&&!se(Et())&&!se(ot()),ai=o=>o.scrollHeight>o.clientHeight,ze=o=>{let l=window.getComputedStyle(o),h=parseFloat(l.getPropertyValue("animation-duration")||"0"),E=parseFloat(l.getPropertyValue("transition-duration")||"0");return h>0||E>0},ue=function(o){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=gt();se(h)&&(l&&(h.style.transition="none",h.style.width="100%"),setTimeout(()=>{h.style.transition=`width ${o/1e3}s linear`,h.style.width="0%"},10))},ht=()=>{let o=gt(),l=parseInt(window.getComputedStyle(o).width);o.style.removeProperty("transition"),o.style.width="100%";let h=parseInt(window.getComputedStyle(o).width),E=l/h*100;o.style.width=`${E}%`},Fe=100,mt={},hn=()=>{mt.previousActiveElement instanceof HTMLElement?(mt.previousActiveElement.focus(),mt.previousActiveElement=null):document.body&&document.body.focus()},Gn=o=>new Promise(l=>{if(!o)return l();let h=window.scrollX,E=window.scrollY;mt.restoreFocusTimeout=setTimeout(()=>{hn(),l()},Fe),window.scrollTo(h,E)}),pn=()=>typeof window>"u"||typeof document>"u",Ci=` | |
<div aria-labelledby="${s.title}" aria-describedby="${s["html-container"]}" class="${s.popup}" tabindex="-1"> | |
<button type="button" class="${s.close}"></button> | |
<ul class="${s["progress-steps"]}"></ul> | |
<div class="${s.icon}"></div> | |
<img class="${s.image}" /> | |
<h2 class="${s.title}" id="${s.title}"></h2> | |
<div class="${s["html-container"]}" id="${s["html-container"]}"></div> | |
<input class="${s.input}" /> | |
<input type="file" class="${s.file}" /> | |
<div class="${s.range}"> | |
<input type="range" /> | |
<output></output> | |
</div> | |
<select class="${s.select}"></select> | |
<div class="${s.radio}"></div> | |
<label for="${s.checkbox}" class="${s.checkbox}"> | |
<input type="checkbox" /> | |
<span class="${s.label}"></span> | |
</label> | |
<textarea class="${s.textarea}"></textarea> | |
<div class="${s["validation-message"]}" id="${s["validation-message"]}"></div> | |
<div class="${s.actions}"> | |
<div class="${s.loader}"></div> | |
<button type="button" class="${s.confirm}"></button> | |
<button type="button" class="${s.deny}"></button> | |
<button type="button" class="${s.cancel}"></button> | |
</div> | |
<div class="${s.footer}"></div> | |
<div class="${s["timer-progress-bar-container"]}"> | |
<div class="${s["timer-progress-bar"]}"></div> | |
</div> | |
</div> | |
`.replace(/(^|\n)\s*/g,""),we=()=>{let o=Q();return o?(o.remove(),he([document.documentElement,document.body],[s["no-backdrop"],s["toast-shown"],s["has-column"]]),!0):!1},Ie=()=>{mt.currentInstance.resetValidationMessage()},li=()=>{let o=O(),l=Oe(o,s.input),h=Oe(o,s.file),E=o.querySelector(`.${s.range} input`),I=o.querySelector(`.${s.range} output`),at=Oe(o,s.select),Gt=o.querySelector(`.${s.checkbox} input`),Re=Oe(o,s.textarea);l.oninput=Ie,h.onchange=Ie,at.onchange=Ie,Gt.onchange=Ie,Re.oninput=Ie,E.oninput=()=>{Ie(),I.value=E.value},E.onchange=()=>{Ie(),I.value=E.value}},Hi=o=>typeof o=="string"?document.querySelector(o):o,dt=o=>{let l=O();l.setAttribute("role",o.toast?"alert":"dialog"),l.setAttribute("aria-live",o.toast?"polite":"assertive"),o.toast||l.setAttribute("aria-modal","true")},ci=o=>{window.getComputedStyle(o).direction==="rtl"&&rt(Q(),s.rtl)},ui=o=>{let l=we();if(pn()){w("SweetAlert2 requires document to initialize");return}let h=document.createElement("div");h.className=s.container,l&&rt(h,s["no-transition"]),At(h,Ci);let E=Hi(o.target);E.appendChild(h),dt(o),ci(E),li()},yi=(o,l)=>{o instanceof HTMLElement?l.appendChild(o):typeof o=="object"?Ke(o,l):o&&At(l,o)},Ke=(o,l)=>{o.jquery?xt(l,o):At(l,o.toString())},xt=(o,l)=>{if(o.textContent="",0 in l)for(let h=0;h in l;h++)o.appendChild(l[h].cloneNode(!0));else o.appendChild(l.cloneNode(!0))},_t=(()=>{if(pn())return!1;let o=document.createElement("div"),l={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(let h in l)if(Object.prototype.hasOwnProperty.call(l,h)&&typeof o.style[h]<"u")return l[h];return!1})(),pe=()=>{let o=document.createElement("div");o.className=s["scrollbar-measure"],document.body.appendChild(o);let l=o.getBoundingClientRect().width-o.clientWidth;return document.body.removeChild(o),l},Ps=(o,l)=>{let h=$t(),E=Nt();!l.showConfirmButton&&!l.showDenyButton&&!l.showCancelButton?Ct(h):jt(h),zt(h,l,"actions"),Se(h,E,l),At(E,l.loaderHtml),zt(E,l,"loader")};function Se(o,l,h){let E=J(),I=Et(),at=ot();Ne(E,"confirm",h),Ne(I,"deny",h),Ne(at,"cancel",h),Ns(E,I,at,h),h.reverseButtons&&(h.toast?(o.insertBefore(at,E),o.insertBefore(I,E)):(o.insertBefore(at,l),o.insertBefore(I,l),o.insertBefore(E,l)))}function Ns(o,l,h,E){if(!E.buttonsStyling){he([o,l,h],s.styled);return}rt([o,l,h],s.styled),E.confirmButtonColor&&(o.style.backgroundColor=E.confirmButtonColor,rt(o,s["default-outline"])),E.denyButtonColor&&(l.style.backgroundColor=E.denyButtonColor,rt(l,s["default-outline"])),E.cancelButtonColor&&(h.style.backgroundColor=E.cancelButtonColor,rt(h,s["default-outline"]))}function Ne(o,l,h){Pe(o,h[`show${p(l)}Button`],"inline-block"),At(o,h[`${l}ButtonText`]),o.setAttribute("aria-label",h[`${l}ButtonAriaLabel`]),o.className=s[l],zt(o,h,`${l}Button`),rt(o,h[`${l}ButtonClass`])}let ut=(o,l)=>{let h=Jt();At(h,l.closeButtonHtml),zt(h,l,"closeButton"),Pe(h,l.showCloseButton),h.setAttribute("aria-label",l.closeButtonAriaLabel)},W=(o,l)=>{let h=Q();h&&(Ai(h,l.backdrop),Ms(h,l.position),ye(h,l.grow),zt(h,l,"container"))};function Ai(o,l){typeof l=="string"?o.style.background=l:l||rt([document.documentElement,document.body],s["no-backdrop"])}function Ms(o,l){l in s?rt(o,s[l]):(y('The "position" parameter is not valid, defaulting to "center"'),rt(o,s.center))}function ye(o,l){if(l&&typeof l=="string"){let h=`grow-${l}`;h in s&&rt(o,s[h])}}let Xe=["input","file","range","select","radio","checkbox","textarea"],Dt=(o,l)=>{let h=O(),E=n.innerParams.get(o),I=!E||l.input!==E.input;Xe.forEach(at=>{let Gt=Oe(h,s[at]);st(at,l.inputAttributes),Gt.className=s[at],I&&Ct(Gt)}),l.input&&(I&&vi(l),Ot(l))},vi=o=>{if(!re[o.input]){w(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${o.input}"`);return}let l=Le(o.input),h=re[o.input](l,o);jt(l),o.inputAutoFocus&&setTimeout(()=>{St(h)})},It=o=>{for(let l=0;l<o.attributes.length;l++){let h=o.attributes[l].name;["type","value","style"].includes(h)||o.removeAttribute(h)}},st=(o,l)=>{let h=Tt(O(),o);if(h){It(h);for(let E in l)h.setAttribute(E,l[E])}},Ot=o=>{let l=Le(o.input);typeof o.customClass=="object"&&rt(l,o.customClass.input)},Me=(o,l)=>{(!o.placeholder||l.inputPlaceholder)&&(o.placeholder=l.inputPlaceholder)},Wt=(o,l,h)=>{if(h.inputLabel){o.id=s.input;let E=document.createElement("label"),I=s["input-label"];E.setAttribute("for",o.id),E.className=I,typeof h.customClass=="object"&&rt(E,h.customClass.inputLabel),E.innerText=h.inputLabel,l.insertAdjacentElement("beforebegin",E)}},Le=o=>Oe(O(),s[o]||s.input),Ce=(o,l)=>{["string","number"].includes(typeof l)?o.value=`${l}`:et(l)||y(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof l}"`)},re={};re.text=re.email=re.password=re.number=re.tel=re.url=(o,l)=>(Ce(o,l.inputValue),Wt(o,o,l),Me(o,l),o.type=l.input,o),re.file=(o,l)=>(Wt(o,o,l),Me(o,l),o),re.range=(o,l)=>{let h=o.querySelector("input"),E=o.querySelector("output");return Ce(h,l.inputValue),h.type=l.input,Ce(E,l.inputValue),Wt(h,o,l),o},re.select=(o,l)=>{if(o.textContent="",l.inputPlaceholder){let h=document.createElement("option");At(h,l.inputPlaceholder),h.value="",h.disabled=!0,h.selected=!0,o.appendChild(h)}return Wt(o,o,l),o},re.radio=o=>(o.textContent="",o),re.checkbox=(o,l)=>{let h=Tt(O(),"checkbox");h.value="1",h.id=s.checkbox,h.checked=!!l.inputValue;let E=o.querySelector("span");return At(E,l.inputPlaceholder),h},re.textarea=(o,l)=>{Ce(o,l.inputValue),Me(o,l),Wt(o,o,l);let h=E=>parseInt(window.getComputedStyle(E).marginLeft)+parseInt(window.getComputedStyle(E).marginRight);return setTimeout(()=>{if("MutationObserver"in window){let E=parseInt(window.getComputedStyle(O()).width),I=()=>{let at=o.offsetWidth+h(o);at>E?O().style.width=`${at}px`:O().style.width=null};new MutationObserver(I).observe(o,{attributes:!0,attributeFilter:["style"]})}}),o};let zi=(o,l)=>{let h=j();zt(h,l,"htmlContainer"),l.html?(yi(l.html,h),jt(h,"block")):l.text?(h.textContent=l.text,jt(h,"block")):Ct(h),Dt(o,l)},Ls=(o,l)=>{let h=Bt();Pe(h,l.footer),l.footer&&yi(l.footer,h),zt(h,l,"footer")},ji=(o,l)=>{let h=n.innerParams.get(o),E=M();if(h&&l.icon===h.icon){mn(E,l),te(E,l);return}if(!l.icon&&!l.iconHtml){Ct(E);return}if(l.icon&&Object.keys(a).indexOf(l.icon)===-1){w(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${l.icon}"`),Ct(E);return}jt(E),mn(E,l),te(E,l),rt(E,l.showClass.icon)},te=(o,l)=>{for(let h in a)l.icon!==h&&he(o,a[h]);rt(o,a[l.icon]),Rs(o,l),Ui(),zt(o,l,"icon")},Ui=()=>{let o=O(),l=window.getComputedStyle(o).getPropertyValue("background-color"),h=o.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let E=0;E<h.length;E++)h[E].style.backgroundColor=l},Is=` | |
<div class="swal2-success-circular-line-left"></div> | |
<span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span> | |
<div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div> | |
<div class="swal2-success-circular-line-right"></div> | |
`,Kn=` | |
<span class="swal2-x-mark"> | |
<span class="swal2-x-mark-line-left"></span> | |
<span class="swal2-x-mark-line-right"></span> | |
</span> | |
`,mn=(o,l)=>{let h=o.innerHTML,E;l.iconHtml?E=Xn(l.iconHtml):l.icon==="success"?(E=Is,h=h.replace(/ style=".*?"/g,"")):l.icon==="error"?E=Kn:E=Xn({question:"?",warning:"!",info:"i"}[l.icon]),h.trim()!==E.trim()&&At(o,E)},Rs=(o,l)=>{if(l.iconColor){o.style.color=l.iconColor,o.style.borderColor=l.iconColor;for(let h of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])Qt(o,h,"backgroundColor",l.iconColor);Qt(o,".swal2-success-ring","borderColor",l.iconColor)}},Xn=o=>`<div class="${s["icon-content"]}">${o}</div>`,$s=(o,l)=>{let h=H();if(!l.imageUrl){Ct(h);return}jt(h,""),h.setAttribute("src",l.imageUrl),h.setAttribute("alt",l.imageAlt),We(h,"width",l.imageWidth),We(h,"height",l.imageHeight),h.className=s.image,zt(h,l,"image")},Zn=(o,l)=>{let h=Q(),E=O();l.toast?(We(h,"width",l.width),E.style.width="100%",E.insertBefore(Nt(),M())):We(E,"width",l.width),We(E,"padding",l.padding),l.color&&(E.style.color=l.color),l.background&&(E.style.background=l.background),Ct(Z()),C(E,l)},C=(o,l)=>{o.className=`${s.popup} ${se(o)?l.showClass.popup:""}`,l.toast?(rt([document.documentElement,document.body],s["toast-shown"]),rt(o,s.toast)):rt(o,s.modal),zt(o,l,"popup"),typeof l.customClass=="string"&&rt(o,l.customClass),l.icon&&rt(o,s[`icon-${l.icon}`])},m=(o,l)=>{let h=Y();if(!l.progressSteps||l.progressSteps.length===0){Ct(h);return}jt(h),h.textContent="",l.currentProgressStep>=l.progressSteps.length&&y("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),l.progressSteps.forEach((E,I)=>{let at=_(E);if(h.appendChild(at),I===l.currentProgressStep&&rt(at,s["active-progress-step"]),I!==l.progressSteps.length-1){let Gt=v(l);h.appendChild(Gt)}})},_=o=>{let l=document.createElement("li");return rt(l,s["progress-step"]),At(l,o),l},v=o=>{let l=document.createElement("li");return rt(l,s["progress-step-line"]),o.progressStepsDistance&&We(l,"width",o.progressStepsDistance),l},A=(o,l)=>{let h=V();Pe(h,l.title||l.titleText,"block"),l.title&&yi(l.title,h),l.titleText&&(h.innerText=l.titleText),zt(h,l,"title")},N=(o,l)=>{Zn(o,l),W(o,l),m(o,l),ji(o,l),$s(o,l),A(o,l),ut(o,l),zi(o,l),Ps(o,l),Ls(o,l),typeof l.didRender=="function"&&l.didRender(O())};function L(){let o=n.innerParams.get(this);if(!o)return;let l=n.domCache.get(this);Ct(l.loader),Xt()?o.icon&&jt(M()):q(l),he([l.popup,l.actions],s.loading),l.popup.removeAttribute("aria-busy"),l.popup.removeAttribute("data-loading"),l.confirmButton.disabled=!1,l.denyButton.disabled=!1,l.cancelButton.disabled=!1}let q=o=>{let l=o.popup.getElementsByClassName(o.loader.getAttribute("data-button-to-replace"));l.length?jt(l[0],"inline-block"):ae()&&Ct(o.actions)};function X(o){let l=n.innerParams.get(o||this),h=n.domCache.get(o||this);return h?Tt(h.popup,l.input):null}let G=()=>se(O()),U=()=>J()&&J().click(),it=()=>Et()&&Et().click(),yt=()=>ot()&&ot().click(),Pt=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ut=o=>{o.keydownTarget&&o.keydownHandlerAdded&&(o.keydownTarget.removeEventListener("keydown",o.keydownHandler,{capture:o.keydownListenerCapture}),o.keydownHandlerAdded=!1)},Rt=(o,l,h,E)=>{Ut(l),h.toast||(l.keydownHandler=I=>qt(o,I,E),l.keydownTarget=h.keydownListenerCapture?window:O(),l.keydownListenerCapture=h.keydownListenerCapture,l.keydownTarget.addEventListener("keydown",l.keydownHandler,{capture:l.keydownListenerCapture}),l.keydownHandlerAdded=!0)},Ft=(o,l)=>{let h=Mt();if(h.length){o=o+l,o===h.length?o=0:o===-1&&(o=h.length-1),h[o].focus();return}O().focus()},ve=["ArrowRight","ArrowDown"],Ae=["ArrowLeft","ArrowUp"],qt=(o,l,h)=>{let E=n.innerParams.get(o);E&&(l.isComposing||l.keyCode===229||(E.stopKeydownPropagation&&l.stopPropagation(),l.key==="Enter"?je(o,l,E):l.key==="Tab"?di(l):[...ve,...Ae].includes(l.key)?Ve(l.key):l.key==="Escape"&&fi(l,E,h)))},je=(o,l,h)=>{if(P(h.allowEnterKey)&&l.target&&o.getInput()&&l.target instanceof HTMLElement&&l.target.outerHTML===o.getInput().outerHTML){if(["textarea","file"].includes(h.input))return;U(),l.preventDefault()}},di=o=>{let l=o.target,h=Mt(),E=-1;for(let I=0;I<h.length;I++)if(l===h[I]){E=I;break}o.shiftKey?Ft(E,-1):Ft(E,1),o.stopPropagation(),o.preventDefault()},Ve=o=>{let l=J(),h=Et(),E=ot(),I=[l,h,E];if(document.activeElement instanceof HTMLElement&&!I.includes(document.activeElement))return;let at=ve.includes(o)?"nextElementSibling":"previousElementSibling",Gt=document.activeElement;for(let Re=0;Re<$t().children.length;Re++){if(Gt=Gt[at],!Gt)return;if(Gt instanceof HTMLButtonElement&&se(Gt))break}Gt instanceof HTMLButtonElement&&Gt.focus()},fi=(o,l,h)=>{P(l.allowEscapeKey)&&(o.preventDefault(),h(Pt.esc))};var Ue={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};let Ze=()=>{Array.from(document.body.children).forEach(l=>{l===Q()||l.contains(Q())||(l.hasAttribute("aria-hidden")&&l.setAttribute("data-previous-aria-hidden",l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))})},He=()=>{Array.from(document.body.children).forEach(l=>{l.hasAttribute("data-previous-aria-hidden")?(l.setAttribute("aria-hidden",l.getAttribute("data-previous-aria-hidden")),l.removeAttribute("data-previous-aria-hidden")):l.removeAttribute("aria-hidden")})},_r=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!Yt(document.body,s.iosfix)){let l=document.body.scrollTop;document.body.style.top=`${l*-1}px`,rt(document.body,s.iosfix),Xo(),Ko()}},Ko=()=>{let o=navigator.userAgent,l=!!o.match(/iPad/i)||!!o.match(/iPhone/i),h=!!o.match(/WebKit/i);l&&h&&!o.match(/CriOS/i)&&O().scrollHeight>window.innerHeight-44&&(Q().style.paddingBottom="44px")},Xo=()=>{let o=Q(),l;o.ontouchstart=h=>{l=Zo(h)},o.ontouchmove=h=>{l&&(h.preventDefault(),h.stopPropagation())}},Zo=o=>{let l=o.target,h=Q();return Jo(o)||Qo(o)?!1:l===h||!ai(h)&&l instanceof HTMLElement&&l.tagName!=="INPUT"&&l.tagName!=="TEXTAREA"&&!(ai(j())&&j().contains(l))},Jo=o=>o.touches&&o.touches.length&&o.touches[0].touchType==="stylus",Qo=o=>o.touches&&o.touches.length>1,ta=()=>{if(Yt(document.body,s.iosfix)){let o=parseInt(document.body.style.top,10);he(document.body,s.iosfix),document.body.style.top="",document.body.scrollTop=o*-1}},ea=()=>{pt.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(pt.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${pt.previousBodyPadding+pe()}px`)},ia=()=>{pt.previousBodyPadding!==null&&(document.body.style.paddingRight=`${pt.previousBodyPadding}px`,pt.previousBodyPadding=null)};function Er(o,l,h,E){Xt()?Ws(o,E):(Gn(h).then(()=>Ws(o,E)),Ut(mt)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(l.setAttribute("style","display:none !important"),l.removeAttribute("class"),l.innerHTML=""):l.remove(),K()&&(ia(),ta(),He()),na()}function na(){he([document.documentElement,document.body],[s.shown,s["height-auto"],s["no-backdrop"],s["toast-shown"]])}function Jn(o){o=Bs(o);let l=Ue.swalPromiseResolve.get(this),h=ra(this);this.isAwaitingPromise()?o.isDismissed||(gn(this),l(o)):h&&l(o)}function sa(){return!!n.awaitingPromise.get(this)}let ra=o=>{let l=O();if(!l)return!1;let h=n.innerParams.get(o);if(!h||Yt(l,h.hideClass.popup))return!1;he(l,h.showClass.popup),rt(l,h.hideClass.popup);let E=Q();return he(E,h.showClass.backdrop),rt(E,h.hideClass.backdrop),Ys(o,l,h),!0};function oa(o){let l=Ue.swalPromiseReject.get(this);gn(this),l&&l(o)}let gn=o=>{o.isAwaitingPromise()&&(n.awaitingPromise.delete(o),n.innerParams.get(o)||o._destroy())},Bs=o=>typeof o>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},o),Ys=(o,l,h)=>{let E=Q(),I=_t&&ze(l);typeof h.willClose=="function"&&h.willClose(l),I?aa(o,l,E,h.returnFocus,h.didClose):Er(o,E,h.returnFocus,h.didClose)},aa=(o,l,h,E,I)=>{mt.swalCloseEventFinishedCallback=Er.bind(null,o,h,E,I),l.addEventListener(_t,function(at){at.target===l&&(mt.swalCloseEventFinishedCallback(),delete mt.swalCloseEventFinishedCallback)})},Ws=(o,l)=>{setTimeout(()=>{typeof l=="function"&&l.bind(o.params)(),o._destroy()})};function Fs(o,l,h){let E=n.domCache.get(o);l.forEach(I=>{E[I].disabled=h})}function Sr(o,l){if(o)if(o.type==="radio"){let E=o.parentNode.parentNode.querySelectorAll("input");for(let I=0;I<E.length;I++)E[I].disabled=l}else o.disabled=l}function la(){Fs(this,["confirmButton","denyButton","cancelButton"],!1)}function ca(){Fs(this,["confirmButton","denyButton","cancelButton"],!0)}function ua(){Sr(this.getInput(),!1)}function Cr(){Sr(this.getInput(),!0)}function ee(o){let l=n.domCache.get(this),h=n.innerParams.get(this);At(l.validationMessage,o),l.validationMessage.className=s["validation-message"],h.customClass&&h.customClass.validationMessage&&rt(l.validationMessage,h.customClass.validationMessage),jt(l.validationMessage);let E=this.getInput();E&&(E.setAttribute("aria-invalid",!0),E.setAttribute("aria-describedby",s["validation-message"]),St(E),rt(E,s.inputerror))}function wn(){let o=n.domCache.get(this);o.validationMessage&&Ct(o.validationMessage);let l=this.getInput();l&&(l.removeAttribute("aria-invalid"),l.removeAttribute("aria-describedby"),he(l,s.inputerror))}let Je={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},da=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],Ar={},fa=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Tr=o=>Object.prototype.hasOwnProperty.call(Je,o),yn=o=>da.indexOf(o)!==-1,Qe=o=>Ar[o],Vs=o=>{Tr(o)||y(`Unknown parameter "${o}"`)},ha=o=>{fa.includes(o)&&y(`The parameter "${o}" is incompatible with toasts`)},hi=o=>{Qe(o)&&k(o,Qe(o))},pa=o=>{o.backdrop===!1&&o.allowOutsideClick&&y('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(let l in o)Vs(l),o.toast&&ha(l),hi(l)};function Hs(o){let l=O(),h=n.innerParams.get(this);if(!l||Yt(l,h.hideClass.popup)){y("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}let E=ma(o),I=Object.assign({},h,E);N(this,I),n.innerParams.set(this,I),Object.defineProperties(this,{params:{value:Object.assign({},this.params,o),writable:!1,enumerable:!0}})}let ma=o=>{let l={};return Object.keys(o).forEach(h=>{yn(h)?l[h]=o[h]:y(`Invalid parameter to update: ${h}`)}),l};function ga(){let o=n.domCache.get(this),l=n.innerParams.get(this);if(!l){vn(this);return}o.popup&&mt.swalCloseEventFinishedCallback&&(mt.swalCloseEventFinishedCallback(),delete mt.swalCloseEventFinishedCallback),typeof l.didDestroy=="function"&&l.didDestroy(),wa(this)}let wa=o=>{vn(o),delete o.params,delete mt.keydownHandler,delete mt.keydownTarget,delete mt.currentInstance},vn=o=>{o.isAwaitingPromise()?(bn(n,o),n.awaitingPromise.set(o,!0)):(bn(Ue,o),bn(n,o))},bn=(o,l)=>{for(let h in o)o[h].delete(l)};var xr=Object.freeze({__proto__:null,_destroy:ga,close:Jn,closeModal:Jn,closePopup:Jn,closeToast:Jn,disableButtons:ca,disableInput:Cr,disableLoading:L,enableButtons:la,enableInput:ua,getInput:X,handleAwaitingPromise:gn,hideLoading:L,isAwaitingPromise:sa,rejectPromise:oa,resetValidationMessage:wn,showValidationMessage:ee,update:Hs});let qi=o=>{let l=O();l||new ns,l=O();let h=Nt();Xt()?Ct(M()):ya(l,o),jt(h),l.setAttribute("data-loading","true"),l.setAttribute("aria-busy","true"),l.focus()},ya=(o,l)=>{let h=$t(),E=Nt();!l&&se(J())&&(l=J()),jt(h),l&&(Ct(l),E.setAttribute("data-button-to-replace",l.className)),E.parentNode.insertBefore(E,l),rt([o,h],s.loading)},Dr=(o,l)=>{l.input==="select"||l.input==="radio"?Sa(o,l):["text","email","number","tel","textarea"].includes(l.input)&&(D(l.inputValue)||et(l.inputValue))&&(qi(J()),kr(o,l))},va=(o,l)=>{let h=o.getInput();if(!h)return null;switch(l.input){case"checkbox":return ba(h);case"radio":return _a(h);case"file":return Ea(h);default:return l.inputAutoTrim?h.value.trim():h.value}},ba=o=>o.checked?1:0,_a=o=>o.checked?o.value:null,Ea=o=>o.files.length?o.getAttribute("multiple")!==null?o.files:o.files[0]:null,Sa=(o,l)=>{let h=O(),E=I=>{Ca[l.input](h,bi(I),l)};D(l.inputOptions)||et(l.inputOptions)?(qi(J()),B(l.inputOptions).then(I=>{o.hideLoading(),E(I)})):typeof l.inputOptions=="object"?E(l.inputOptions):w(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof l.inputOptions}`)},kr=(o,l)=>{let h=o.getInput();Ct(h),B(l.inputValue).then(E=>{h.value=l.input==="number"?`${parseFloat(E)||0}`:`${E}`,jt(h),h.focus(),o.hideLoading()}).catch(E=>{w(`Error in inputValue promise: ${E}`),h.value="",jt(h),h.focus(),o.hideLoading()})},Ca={select:(o,l,h)=>{let E=Oe(o,s.select),I=(at,Gt,Re)=>{let De=document.createElement("option");De.value=Re,At(De,Gt),De.selected=Or(Re,h.inputValue),at.appendChild(De)};l.forEach(at=>{let Gt=at[0],Re=at[1];if(Array.isArray(Re)){let De=document.createElement("optgroup");De.label=Gt,De.disabled=!1,E.appendChild(De),Re.forEach(Xi=>I(De,Xi[1],Xi[0]))}else I(E,Re,Gt)}),E.focus()},radio:(o,l,h)=>{let E=Oe(o,s.radio);l.forEach(at=>{let Gt=at[0],Re=at[1],De=document.createElement("input"),Xi=document.createElement("label");De.type="radio",De.name=s.radio,De.value=Gt,Or(Gt,h.inputValue)&&(De.checked=!0);let Xs=document.createElement("span");At(Xs,Re),Xs.className=s.label,Xi.appendChild(De),Xi.appendChild(Xs),E.appendChild(Xi)});let I=E.querySelectorAll("input");I.length&&I[0].focus()}},bi=o=>{let l=[];return typeof Map<"u"&&o instanceof Map?o.forEach((h,E)=>{let I=h;typeof I=="object"&&(I=bi(I)),l.push([E,I])}):Object.keys(o).forEach(h=>{let E=o[h];typeof E=="object"&&(E=bi(E)),l.push([h,E])}),l},Or=(o,l)=>l&&l.toString()===o.toString(),zs=o=>{let l=n.innerParams.get(o);o.disableButtons(),l.input?Pr(o,"confirm"):Gs(o,!0)},Aa=o=>{let l=n.innerParams.get(o);o.disableButtons(),l.returnInputValueOnDeny?Pr(o,"deny"):Us(o,!1)},js=(o,l)=>{o.disableButtons(),l(Pt.cancel)},Pr=(o,l)=>{let h=n.innerParams.get(o);if(!h.input){w(`The "input" parameter is needed to be set when using returnInputValueOn${p(l)}`);return}let E=va(o,h);h.inputValidator?Ta(o,E,l):o.getInput().checkValidity()?l==="deny"?Us(o,E):Gs(o,E):(o.enableButtons(),o.showValidationMessage(h.validationMessage))},Ta=(o,l,h)=>{let E=n.innerParams.get(o);o.disableInput(),Promise.resolve().then(()=>B(E.inputValidator(l,E.validationMessage))).then(at=>{o.enableButtons(),o.enableInput(),at?o.showValidationMessage(at):h==="deny"?Us(o,l):Gs(o,l)})},Us=(o,l)=>{let h=n.innerParams.get(o||void 0);h.showLoaderOnDeny&&qi(Et()),h.preDeny?(n.awaitingPromise.set(o||void 0,!0),Promise.resolve().then(()=>B(h.preDeny(l,h.validationMessage))).then(I=>{I===!1?(o.hideLoading(),gn(o)):o.close({isDenied:!0,value:typeof I>"u"?l:I})}).catch(I=>qs(o||void 0,I))):o.close({isDenied:!0,value:l})},Nr=(o,l)=>{o.close({isConfirmed:!0,value:l})},qs=(o,l)=>{o.rejectPromise(l)},Gs=(o,l)=>{let h=n.innerParams.get(o||void 0);h.showLoaderOnConfirm&&qi(),h.preConfirm?(o.resetValidationMessage(),n.awaitingPromise.set(o||void 0,!0),Promise.resolve().then(()=>B(h.preConfirm(l,h.validationMessage))).then(I=>{se(Z())||I===!1?(o.hideLoading(),gn(o)):Nr(o,typeof I>"u"?l:I)}).catch(I=>qs(o||void 0,I))):Nr(o,l)},Mr=(o,l,h)=>{n.innerParams.get(o).toast?Zt(o,l,h):(Lr(l),Da(l),ka(o,l,h))},Zt=(o,l,h)=>{l.popup.onclick=()=>{let E=n.innerParams.get(o);E&&(xa(E)||E.timer||E.input)||h(Pt.close)}},xa=o=>o.showConfirmButton||o.showDenyButton||o.showCancelButton||o.showCloseButton,Qn=!1,Lr=o=>{o.popup.onmousedown=()=>{o.container.onmouseup=function(l){o.container.onmouseup=void 0,l.target===o.container&&(Qn=!0)}}},Da=o=>{o.container.onmousedown=()=>{o.popup.onmouseup=function(l){o.popup.onmouseup=void 0,(l.target===o.popup||o.popup.contains(l.target))&&(Qn=!0)}}},ka=(o,l,h)=>{l.container.onclick=E=>{let I=n.innerParams.get(o);if(Qn){Qn=!1;return}E.target===l.container&&P(I.allowOutsideClick)&&h(Pt.backdrop)}},Oa=o=>typeof o=="object"&&o.jquery,Gi=o=>o instanceof Element||Oa(o),Pa=o=>{let l={};return typeof o[0]=="object"&&!Gi(o[0])?Object.assign(l,o[0]):["title","html","icon"].forEach((h,E)=>{let I=o[E];typeof I=="string"||Gi(I)?l[h]=I:I!==void 0&&w(`Unexpected type of ${h}! Expected "string" or "Element", got ${typeof I}`)}),l};function Na(){let o=this;for(var l=arguments.length,h=new Array(l),E=0;E<l;E++)h[E]=arguments[E];return new o(...h)}function Ma(o){class l extends this{_main(E,I){return super._main(E,Object.assign({},o,I))}}return l}let ts=()=>mt.timeout&&mt.timeout.getTimerLeft(),_n=()=>{if(mt.timeout)return ht(),mt.timeout.stop()},es=()=>{if(mt.timeout){let o=mt.timeout.start();return ue(o),o}},La=()=>{let o=mt.timeout;return o&&(o.running?_n():es())},Ir=o=>{if(mt.timeout){let l=mt.timeout.increase(o);return ue(l,!0),l}},Ia=()=>mt.timeout&&mt.timeout.isRunning(),is=!1,En={};function Ks(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";En[o]=this,is||(document.body.addEventListener("click",Ra),is=!0)}let Ra=o=>{for(let l=o.target;l&&l!==document;l=l.parentNode)for(let h in En){let E=l.getAttribute(h);if(E){En[h].fire({template:E});return}}};var $a=Object.freeze({__proto__:null,argsToParams:Pa,bindClickHandler:Ks,clickCancel:yt,clickConfirm:U,clickDeny:it,enableLoading:qi,fire:Na,getActions:$t,getCancelButton:ot,getCloseButton:Jt,getConfirmButton:J,getContainer:Q,getDenyButton:Et,getFocusableElements:Mt,getFooter:Bt,getHtmlContainer:j,getIcon:M,getIconContent:$,getImage:H,getInputLabel:Ht,getLoader:Nt,getPopup:O,getProgressSteps:Y,getTimerLeft:ts,getTimerProgressBar:gt,getTitle:V,getValidationMessage:Z,increaseTimer:Ir,isDeprecatedParameter:Qe,isLoading:wt,isTimerRunning:Ia,isUpdatableParameter:yn,isValidParameter:Tr,isVisible:G,mixin:Ma,resumeTimer:es,showLoading:qi,stopTimer:_n,toggleTimer:La});class Ba{constructor(l,h){this.callback=l,this.remaining=h,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(l){let h=this.running;return h&&this.stop(),this.remaining+=l,h&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}let Rr=["swal-title","swal-html","swal-footer"],Ya=o=>{let l=typeof o.template=="string"?document.querySelector(o.template):o.template;if(!l)return{};let h=l.content;return Ua(h),Object.assign(Wa(h),Fa(h),Va(h),Ha(h),za(h),$r(h),ja(h,Rr))},Wa=o=>{let l={};return Array.from(o.querySelectorAll("swal-param")).forEach(E=>{be(E,["name","value"]);let I=E.getAttribute("name"),at=E.getAttribute("value");typeof Je[I]=="boolean"?l[I]=at!=="false":typeof Je[I]=="object"?l[I]=JSON.parse(at):l[I]=at}),l},Fa=o=>{let l={};return Array.from(o.querySelectorAll("swal-function-param")).forEach(E=>{let I=E.getAttribute("name"),at=E.getAttribute("value");l[I]=new Function(`return ${at}`)()}),l},Va=o=>{let l={};return Array.from(o.querySelectorAll("swal-button")).forEach(E=>{be(E,["type","color","aria-label"]);let I=E.getAttribute("type");l[`${I}ButtonText`]=E.innerHTML,l[`show${p(I)}Button`]=!0,E.hasAttribute("color")&&(l[`${I}ButtonColor`]=E.getAttribute("color")),E.hasAttribute("aria-label")&&(l[`${I}ButtonAriaLabel`]=E.getAttribute("aria-label"))}),l},Ha=o=>{let l={},h=o.querySelector("swal-image");return h&&(be(h,["src","width","height","alt"]),h.hasAttribute("src")&&(l.imageUrl=h.getAttribute("src")),h.hasAttribute("width")&&(l.imageWidth=h.getAttribute("width")),h.hasAttribute("height")&&(l.imageHeight=h.getAttribute("height")),h.hasAttribute("alt")&&(l.imageAlt=h.getAttribute("alt"))),l},za=o=>{let l={},h=o.querySelector("swal-icon");return h&&(be(h,["type","color"]),h.hasAttribute("type")&&(l.icon=h.getAttribute("type")),h.hasAttribute("color")&&(l.iconColor=h.getAttribute("color")),l.iconHtml=h.innerHTML),l},$r=o=>{let l={},h=o.querySelector("swal-input");h&&(be(h,["type","label","placeholder","value"]),l.input=h.getAttribute("type")||"text",h.hasAttribute("label")&&(l.inputLabel=h.getAttribute("label")),h.hasAttribute("placeholder")&&(l.inputPlaceholder=h.getAttribute("placeholder")),h.hasAttribute("value")&&(l.inputValue=h.getAttribute("value")));let E=Array.from(o.querySelectorAll("swal-input-option"));return E.length&&(l.inputOptions={},E.forEach(I=>{be(I,["value"]);let at=I.getAttribute("value"),Gt=I.innerHTML;l.inputOptions[at]=Gt})),l},ja=(o,l)=>{let h={};for(let E in l){let I=l[E],at=o.querySelector(I);at&&(be(at,[]),h[I.replace(/^swal-/,"")]=at.innerHTML.trim())}return h},Ua=o=>{let l=Rr.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(o.children).forEach(h=>{let E=h.tagName.toLowerCase();l.includes(E)||y(`Unrecognized element <${E}>`)})},be=(o,l)=>{Array.from(o.attributes).forEach(h=>{l.indexOf(h.name)===-1&&y([`Unrecognized attribute "${h.name}" on <${o.tagName.toLowerCase()}>.`,`${l.length?`Allowed attributes are: ${l.join(", ")}`:"To set the value, use HTML within the element."}`])})},_i=10,Br=o=>{let l=Q(),h=O();typeof o.willOpen=="function"&&o.willOpen(h);let I=window.getComputedStyle(document.body).overflowY;qa(l,h,o),setTimeout(()=>{Wr(l,h)},_i),K()&&(Fr(l,o.scrollbarPadding,I),Ze()),!Xt()&&!mt.previousActiveElement&&(mt.previousActiveElement=document.activeElement),typeof o.didOpen=="function"&&setTimeout(()=>o.didOpen(h)),he(l,s["no-transition"])},Yr=o=>{let l=O();if(o.target!==l)return;let h=Q();l.removeEventListener(_t,Yr),h.style.overflowY="auto"},Wr=(o,l)=>{_t&&ze(l)?(o.style.overflowY="hidden",l.addEventListener(_t,Yr)):o.style.overflowY="auto"},Fr=(o,l,h)=>{_r(),l&&h!=="hidden"&&ea(),setTimeout(()=>{o.scrollTop=0})},qa=(o,l,h)=>{rt(o,h.showClass.backdrop),l.style.setProperty("opacity","0","important"),jt(l,"grid"),setTimeout(()=>{rt(l,h.showClass.popup),l.style.removeProperty("opacity")},_i),rt([document.documentElement,document.body],s.shown),h.heightAuto&&h.backdrop&&!h.toast&&rt([document.documentElement,document.body],s["height-auto"])};var Vr={email:(o,l)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(o)?Promise.resolve():Promise.resolve(l||"Invalid email address"),url:(o,l)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(o)?Promise.resolve():Promise.resolve(l||"Invalid URL")};function Hr(o){o.inputValidator||Object.keys(Vr).forEach(l=>{o.input===l&&(o.inputValidator=Vr[l])})}function Ga(o){(!o.target||typeof o.target=="string"&&!document.querySelector(o.target)||typeof o.target!="string"&&!o.target.appendChild)&&(y('Target parameter is not valid, defaulting to "body"'),o.target="body")}function Ka(o){Hr(o),o.showLoaderOnConfirm&&!o.preConfirm&&y(`showLoaderOnConfirm is set to true, but preConfirm is not defined. | |
showLoaderOnConfirm should be used together with preConfirm, see usage example: | |
https://sweetalert2.github.io/#ajax-request`),Ga(o),typeof o.title=="string"&&(o.title=o.title.split(` | |
`).join("<br />")),ui(o)}let ti;class Ki{constructor(){if(typeof window>"u")return;ti=this;for(var l=arguments.length,h=new Array(l),E=0;E<l;E++)h[E]=arguments[E];let I=Object.freeze(this.constructor.argsToParams(h));Object.defineProperties(this,{params:{value:I,writable:!1,enumerable:!0,configurable:!0}});let at=ti._main(ti.params);n.promise.set(this,at)}_main(l){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};pa(Object.assign({},h,l)),mt.currentInstance&&(mt.currentInstance._destroy(),K()&&He()),mt.currentInstance=ti;let E=Za(l,h);Ka(E),Object.freeze(E),mt.timeout&&(mt.timeout.stop(),delete mt.timeout),clearTimeout(mt.restoreFocusTimeout);let I=Ja(ti);return N(ti,E),n.innerParams.set(ti,E),Xa(ti,I,E)}then(l){return n.promise.get(this).then(l)}finally(l){return n.promise.get(this).finally(l)}}let Xa=(o,l,h)=>new Promise((E,I)=>{let at=Gt=>{o.close({isDismissed:!0,dismiss:Gt})};Ue.swalPromiseResolve.set(o,E),Ue.swalPromiseReject.set(o,I),l.confirmButton.onclick=()=>{zs(o)},l.denyButton.onclick=()=>{Aa(o)},l.cancelButton.onclick=()=>{js(o,at)},l.closeButton.onclick=()=>{at(Pt.close)},Mr(o,l,at),Rt(o,mt,h,at),Dr(o,h),Br(h),Qa(mt,h,at),tl(l,h),setTimeout(()=>{l.container.scrollTop=0})}),Za=(o,l)=>{let h=Ya(o),E=Object.assign({},Je,l,h,o);return E.showClass=Object.assign({},Je.showClass,E.showClass),E.hideClass=Object.assign({},Je.hideClass,E.hideClass),E},Ja=o=>{let l={popup:O(),container:Q(),actions:$t(),confirmButton:J(),denyButton:Et(),cancelButton:ot(),loader:Nt(),closeButton:Jt(),validationMessage:Z(),progressSteps:Y()};return n.domCache.set(o,l),l},Qa=(o,l,h)=>{let E=gt();Ct(E),l.timer&&(o.timeout=new Ba(()=>{h("timer"),delete o.timeout},l.timer),l.timerProgressBar&&(jt(E),zt(E,l,"timerProgressBar"),setTimeout(()=>{o.timeout&&o.timeout.running&&ue(l.timer)})))},tl=(o,l)=>{if(!l.toast){if(!P(l.allowEnterKey)){il();return}el(o,l)||Ft(-1,1)}},el=(o,l)=>l.focusDeny&&se(o.denyButton)?(o.denyButton.focus(),!0):l.focusCancel&&se(o.cancelButton)?(o.cancelButton.focus(),!0):l.focusConfirm&&se(o.confirmButton)?(o.confirmButton.focus(),!0):!1,il=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|xn--p1ai)$/)){let o=new Date,l=localStorage.getItem("swal-initiation");l?(o.getTime()-Date.parse(l))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";let h=document.createElement("audio");h.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",h.loop=!0,document.body.appendChild(h),setTimeout(()=>{h.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${o}`)}Object.assign(Ki.prototype,xr),Object.assign(Ki,$a),Object.keys(xr).forEach(o=>{Ki[o]=function(){if(ti)return ti[o](...arguments)}}),Ki.DismissReason=Pt,Ki.version="11.7.3";let ns=Ki;return ns.default=ns,ns});typeof Si<"u"&&Si.Sweetalert2&&(Si.swal=Si.sweetAlert=Si.Swal=Si.SweetAlert=Si.Sweetalert2);typeof document<"u"&&function(n,t){var i=n.createElement("style");if(n.getElementsByTagName("head")[0].appendChild(i),i.styleSheet)i.styleSheet.disabled||(i.styleSheet.cssText=t);else try{i.innerHTML=t}catch{i.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:rgba(0,0,0,0) !important}.swal2-container.swal2-top-start,.swal2-container.swal2-center-start,.swal2-container.swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}.swal2-container.swal2-top,.swal2-container.swal2-center,.swal2-container.swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}.swal2-container.swal2-top-end,.swal2-container.swal2-center-end,.swal2-container.swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-start>.swal2-popup,.swal2-container.swal2-center-left>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-start>.swal2-popup,.swal2-container.swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-row>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none !important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:none}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:none}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:rgba(0,0,0,0);color:#f27474}.swal2-close:focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-input,.swal2-file,.swal2-textarea,.swal2-select,.swal2-radio,.swal2-checkbox{margin:1em 2em 3px}.swal2-input,.swal2-file,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-input.swal2-inputerror,.swal2-file.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}.swal2-input:focus,.swal2-file:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-input::placeholder,.swal2-file::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-radio,.swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-radio label,.swal2-checkbox label{margin:0 .6em;font-size:1.125em}.swal2-radio input,.swal2-checkbox input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')});var ad=ft((DS,od)=>{od.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var cn=ft(Hn=>{var Xl,tv=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Hn.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Hn.getSymbolTotalCodewords=function(t){return tv[t]};Hn.getBCHDigit=function(n){let t=0;for(;n!==0;)t++,n>>>=1;return t};Hn.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Xl=t};Hn.isKanjiModeEnabled=function(){return typeof Xl<"u"};Hn.toSJIS=function(t){return Xl(t)}});var bo=ft(oi=>{oi.L={bit:1};oi.M={bit:0};oi.Q={bit:3};oi.H={bit:2};function ev(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return oi.L;case"m":case"medium":return oi.M;case"q":case"quartile":return oi.Q;case"h":case"high":return oi.H;default:throw new Error("Unknown EC Level: "+n)}}oi.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4};oi.from=function(t,i){if(oi.isValid(t))return t;try{return ev(t)}catch{return i}}});var ud=ft((PS,cd)=>{function ld(){this.buffer=[],this.length=0}ld.prototype={get:function(n){let t=Math.floor(n/8);return(this.buffer[t]>>>7-n%8&1)===1},put:function(n,t){for(let i=0;i<t;i++)this.putBit((n>>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(n){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),n&&(this.buffer[t]|=128>>>this.length%8),this.length++}};cd.exports=ld});var fd=ft((NS,dd)=>{function hr(n){if(!n||n<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=n,this.data=new Uint8Array(n*n),this.reservedBit=new Uint8Array(n*n)}hr.prototype.set=function(n,t,i,s){let a=n*this.size+t;this.data[a]=i,s&&(this.reservedBit[a]=!0)};hr.prototype.get=function(n,t){return this.data[n*this.size+t]};hr.prototype.xor=function(n,t,i){this.data[n*this.size+t]^=i};hr.prototype.isReserved=function(n,t){return this.reservedBit[n*this.size+t]};dd.exports=hr});var hd=ft(_o=>{var iv=cn().getSymbolSize;_o.getRowColCoords=function(t){if(t===1)return[];let i=Math.floor(t/7)+2,s=iv(t),a=s===145?26:Math.ceil((s-13)/(2*i-2))*2,u=[s-7];for(let f=1;f<i-1;f++)u[f]=u[f-1]-a;return u.push(6),u.reverse()};_o.getPositions=function(t){let i=[],s=_o.getRowColCoords(t),a=s.length;for(let u=0;u<a;u++)for(let f=0;f<a;f++)u===0&&f===0||u===0&&f===a-1||u===a-1&&f===0||i.push([s[u],s[f]]);return i}});var gd=ft(md=>{var nv=cn().getSymbolSize,pd=7;md.getPositions=function(t){let i=nv(t);return[[0,0],[i-pd,0],[0,i-pd]]}});var wd=ft(ie=>{ie.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var zn={N1:3,N2:3,N3:40,N4:10};ie.isValid=function(t){return t!=null&&t!==""&&!isNaN(t)&&t>=0&&t<=7};ie.from=function(t){return ie.isValid(t)?parseInt(t,10):void 0};ie.getPenaltyN1=function(t){let i=t.size,s=0,a=0,u=0,f=null,p=null;for(let y=0;y<i;y++){a=u=0,f=p=null;for(let w=0;w<i;w++){let b=t.get(y,w);b===f?a++:(a>=5&&(s+=zn.N1+(a-5)),f=b,a=1),b=t.get(w,y),b===p?u++:(u>=5&&(s+=zn.N1+(u-5)),p=b,u=1)}a>=5&&(s+=zn.N1+(a-5)),u>=5&&(s+=zn.N1+(u-5))}return s};ie.getPenaltyN2=function(t){let i=t.size,s=0;for(let a=0;a<i-1;a++)for(let u=0;u<i-1;u++){let f=t.get(a,u)+t.get(a,u+1)+t.get(a+1,u)+t.get(a+1,u+1);(f===4||f===0)&&s++}return s*zn.N2};ie.getPenaltyN3=function(t){let i=t.size,s=0,a=0,u=0;for(let f=0;f<i;f++){a=u=0;for(let p=0;p<i;p++)a=a<<1&2047|t.get(f,p),p>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|t.get(p,f),p>=10&&(u===1488||u===93)&&s++}return s*zn.N3};ie.getPenaltyN4=function(t){let i=0,s=t.data.length;for(let u=0;u<s;u++)i+=t.data[u];return Math.abs(Math.ceil(i*100/s/5)-10)*zn.N4};function sv(n,t,i){switch(n){case ie.Patterns.PATTERN000:return(t+i)%2===0;case ie.Patterns.PATTERN001:return t%2===0;case ie.Patterns.PATTERN010:return i%3===0;case ie.Patterns.PATTERN011:return(t+i)%3===0;case ie.Patterns.PATTERN100:return(Math.floor(t/2)+Math.floor(i/3))%2===0;case ie.Patterns.PATTERN101:return t*i%2+t*i%3===0;case ie.Patterns.PATTERN110:return(t*i%2+t*i%3)%2===0;case ie.Patterns.PATTERN111:return(t*i%3+(t+i)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}ie.applyMask=function(t,i){let s=i.size;for(let a=0;a<s;a++)for(let u=0;u<s;u++)i.isReserved(u,a)||i.xor(u,a,sv(t,u,a))};ie.getBestMask=function(t,i){let s=Object.keys(ie.Patterns).length,a=0,u=1/0;for(let f=0;f<s;f++){i(f),ie.applyMask(f,t);let p=ie.getPenaltyN1(t)+ie.getPenaltyN2(t)+ie.getPenaltyN3(t)+ie.getPenaltyN4(t);ie.applyMask(f,t),p<u&&(u=p,a=f)}return a}});var Jl=ft(Zl=>{var un=bo(),Eo=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],So=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Zl.getBlocksCount=function(t,i){switch(i){case un.L:return Eo[(t-1)*4+0];case un.M:return Eo[(t-1)*4+1];case un.Q:return Eo[(t-1)*4+2];case un.H:return Eo[(t-1)*4+3];default:return}};Zl.getTotalCodewordsCount=function(t,i){switch(i){case un.L:return So[(t-1)*4+0];case un.M:return So[(t-1)*4+1];case un.Q:return So[(t-1)*4+2];case un.H:return So[(t-1)*4+3];default:return}}});var yd=ft(Ao=>{var pr=new Uint8Array(512),Co=new Uint8Array(256);(function(){let t=1;for(let i=0;i<255;i++)pr[i]=t,Co[t]=i,t<<=1,t&256&&(t^=285);for(let i=255;i<512;i++)pr[i]=pr[i-255]})();Ao.log=function(t){if(t<1)throw new Error("log("+t+")");return Co[t]};Ao.exp=function(t){return pr[t]};Ao.mul=function(t,i){return t===0||i===0?0:pr[Co[t]+Co[i]]}});var vd=ft(mr=>{var Ql=yd();mr.mul=function(t,i){let s=new Uint8Array(t.length+i.length-1);for(let a=0;a<t.length;a++)for(let u=0;u<i.length;u++)s[a+u]^=Ql.mul(t[a],i[u]);return s};mr.mod=function(t,i){let s=new Uint8Array(t);for(;s.length-i.length>=0;){let a=s[0];for(let f=0;f<i.length;f++)s[f]^=Ql.mul(i[f],a);let u=0;for(;u<s.length&&s[u]===0;)u++;s=s.slice(u)}return s};mr.generateECPolynomial=function(t){let i=new Uint8Array([1]);for(let s=0;s<t;s++)i=mr.mul(i,new Uint8Array([1,Ql.exp(s)]));return i}});var Ed=ft((YS,_d)=>{var bd=vd();function tc(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}tc.prototype.initialize=function(t){this.degree=t,this.genPoly=bd.generateECPolynomial(this.degree)};tc.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");let i=new Uint8Array(t.length+this.degree);i.set(t);let s=bd.mod(i,this.genPoly),a=this.degree-s.length;if(a>0){let u=new Uint8Array(this.degree);return u.set(s,a),u}return s};_d.exports=tc});var ec=ft(Sd=>{Sd.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}});var ic=ft(Fi=>{var Cd="[0-9]+",rv="[A-Z $%*+\\-./:]+",gr="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";gr=gr.replace(/u/g,"\\u");var ov="(?:(?![A-Z0-9 $%*+\\-./:]|"+gr+`)(?:.|[\r | |
]))+`;Fi.KANJI=new RegExp(gr,"g");Fi.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Fi.BYTE=new RegExp(ov,"g");Fi.NUMERIC=new RegExp(Cd,"g");Fi.ALPHANUMERIC=new RegExp(rv,"g");var av=new RegExp("^"+gr+"$"),lv=new RegExp("^"+Cd+"$"),cv=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Fi.testKanji=function(t){return av.test(t)};Fi.testNumeric=function(t){return lv.test(t)};Fi.testAlphanumeric=function(t){return cv.test(t)}});var dn=ft(ge=>{var uv=ec(),nc=ic();ge.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]};ge.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]};ge.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]};ge.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]};ge.MIXED={bit:-1};ge.getCharCountIndicator=function(t,i){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!uv.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?t.ccBits[0]:i<27?t.ccBits[1]:t.ccBits[2]};ge.getBestModeForData=function(t){return nc.testNumeric(t)?ge.NUMERIC:nc.testAlphanumeric(t)?ge.ALPHANUMERIC:nc.testKanji(t)?ge.KANJI:ge.BYTE};ge.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")};ge.isValid=function(t){return t&&t.bit&&t.ccBits};function dv(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return ge.NUMERIC;case"alphanumeric":return ge.ALPHANUMERIC;case"kanji":return ge.KANJI;case"byte":return ge.BYTE;default:throw new Error("Unknown mode: "+n)}}ge.from=function(t,i){if(ge.isValid(t))return t;try{return dv(t)}catch{return i}}});var kd=ft(jn=>{var To=cn(),fv=Jl(),Ad=bo(),fn=dn(),sc=ec(),xd=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,Td=To.getBCHDigit(xd);function hv(n,t,i){for(let s=1;s<=40;s++)if(t<=jn.getCapacity(s,i,n))return s}function Dd(n,t){return fn.getCharCountIndicator(n,t)+4}function pv(n,t){let i=0;return n.forEach(function(s){let a=Dd(s.mode,t);i+=a+s.getBitsLength()}),i}function mv(n,t){for(let i=1;i<=40;i++)if(pv(n,i)<=jn.getCapacity(i,t,fn.MIXED))return i}jn.from=function(t,i){return sc.isValid(t)?parseInt(t,10):i};jn.getCapacity=function(t,i,s){if(!sc.isValid(t))throw new Error("Invalid QR Code version");typeof s>"u"&&(s=fn.BYTE);let a=To.getSymbolTotalCodewords(t),u=fv.getTotalCodewordsCount(t,i),f=(a-u)*8;if(s===fn.MIXED)return f;let p=f-Dd(s,t);switch(s){case fn.NUMERIC:return Math.floor(p/10*3);case fn.ALPHANUMERIC:return Math.floor(p/11*2);case fn.KANJI:return Math.floor(p/13);case fn.BYTE:default:return Math.floor(p/8)}};jn.getBestVersionForData=function(t,i){let s,a=Ad.from(i,Ad.M);if(Array.isArray(t)){if(t.length>1)return mv(t,a);if(t.length===0)return 1;s=t[0]}else s=t;return hv(s.mode,s.getLength(),a)};jn.getEncodedBits=function(t){if(!sc.isValid(t)||t<7)throw new Error("Invalid QR Code version");let i=t<<12;for(;To.getBCHDigit(i)-Td>=0;)i^=xd<<To.getBCHDigit(i)-Td;return t<<12|i}});var Md=ft(Nd=>{var rc=cn(),Pd=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,gv=1<<14|1<<12|1<<10|1<<4|1<<1,Od=rc.getBCHDigit(Pd);Nd.getEncodedBits=function(t,i){let s=t.bit<<3|i,a=s<<10;for(;rc.getBCHDigit(a)-Od>=0;)a^=Pd<<rc.getBCHDigit(a)-Od;return(s<<10|a)^gv}});var Id=ft((jS,Ld)=>{var wv=dn();function Ts(n){this.mode=wv.NUMERIC,this.data=n.toString()}Ts.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Ts.prototype.getLength=function(){return this.data.length};Ts.prototype.getBitsLength=function(){return Ts.getBitsLength(this.data.length)};Ts.prototype.write=function(t){let i,s,a;for(i=0;i+3<=this.data.length;i+=3)s=this.data.substr(i,3),a=parseInt(s,10),t.put(a,10);let u=this.data.length-i;u>0&&(s=this.data.substr(i),a=parseInt(s,10),t.put(a,u*3+1))};Ld.exports=Ts});var $d=ft((US,Rd)=>{var yv=dn(),oc=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function xs(n){this.mode=yv.ALPHANUMERIC,this.data=n}xs.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};xs.prototype.getLength=function(){return this.data.length};xs.prototype.getBitsLength=function(){return xs.getBitsLength(this.data.length)};xs.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let s=oc.indexOf(this.data[i])*45;s+=oc.indexOf(this.data[i+1]),t.put(s,11)}this.data.length%2&&t.put(oc.indexOf(this.data[i]),6)};Rd.exports=xs});var Yd=ft((qS,Bd)=>{"use strict";Bd.exports=function(t){for(var i=[],s=t.length,a=0;a<s;a++){var u=t.charCodeAt(a);if(u>=55296&&u<=56319&&s>a+1){var f=t.charCodeAt(a+1);f>=56320&&f<=57343&&(u=(u-55296)*1024+f-56320+65536,a+=1)}if(u<128){i.push(u);continue}if(u<2048){i.push(u>>6|192),i.push(u&63|128);continue}if(u<55296||u>=57344&&u<65536){i.push(u>>12|224),i.push(u>>6&63|128),i.push(u&63|128);continue}if(u>=65536&&u<=1114111){i.push(u>>18|240),i.push(u>>12&63|128),i.push(u>>6&63|128),i.push(u&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer}});var Fd=ft((GS,Wd)=>{var vv=Yd(),bv=dn();function Ds(n){this.mode=bv.BYTE,typeof n=="string"&&(n=vv(n)),this.data=new Uint8Array(n)}Ds.getBitsLength=function(t){return t*8};Ds.prototype.getLength=function(){return this.data.length};Ds.prototype.getBitsLength=function(){return Ds.getBitsLength(this.data.length)};Ds.prototype.write=function(n){for(let t=0,i=this.data.length;t<i;t++)n.put(this.data[t],8)};Wd.exports=Ds});var Hd=ft((KS,Vd)=>{var _v=dn(),Ev=cn();function ks(n){this.mode=_v.KANJI,this.data=n}ks.getBitsLength=function(t){return t*13};ks.prototype.getLength=function(){return this.data.length};ks.prototype.getBitsLength=function(){return ks.getBitsLength(this.data.length)};ks.prototype.write=function(n){let t;for(t=0;t<this.data.length;t++){let i=Ev.toSJIS(this.data[t]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` | |
Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),n.put(i,13)}};Vd.exports=ks});var zd=ft((XS,ac)=>{"use strict";var wr={single_source_shortest_paths:function(n,t,i){var s={},a={};a[t]=0;var u=wr.PriorityQueue.make();u.push(t,0);for(var f,p,y,w,b,S,k,P,D;!u.empty();){f=u.pop(),p=f.value,w=f.cost,b=n[p]||{};for(y in b)b.hasOwnProperty(y)&&(S=b[y],k=w+S,P=a[y],D=typeof a[y]>"u",(D||P>k)&&(a[y]=k,u.push(y,k),s[y]=p))}if(typeof i<"u"&&typeof a[i]>"u"){var B=["Could not find a path from ",t," to ",i,"."].join("");throw new Error(B)}return s},extract_shortest_path_from_predecessor_list:function(n,t){for(var i=[],s=t,a;s;)i.push(s),a=n[s],s=n[s];return i.reverse(),i},find_path:function(n,t,i){var s=wr.single_source_shortest_paths(n,t,i);return wr.extract_shortest_path_from_predecessor_list(s,i)},PriorityQueue:{make:function(n){var t=wr.PriorityQueue,i={},s;n=n||{};for(s in t)t.hasOwnProperty(s)&&(i[s]=t[s]);return i.queue=[],i.sorter=n.sorter||t.default_sorter,i},default_sorter:function(n,t){return n.cost-t.cost},push:function(n,t){var i={value:n,cost:t};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};typeof ac<"u"&&(ac.exports=wr)});var Jd=ft(Os=>{var Vt=dn(),qd=Id(),Gd=$d(),Kd=Fd(),Xd=Hd(),yr=ic(),xo=cn(),Sv=zd();function jd(n){return unescape(encodeURIComponent(n)).length}function vr(n,t,i){let s=[],a;for(;(a=n.exec(i))!==null;)s.push({data:a[0],index:a.index,mode:t,length:a[0].length});return s}function Zd(n){let t=vr(yr.NUMERIC,Vt.NUMERIC,n),i=vr(yr.ALPHANUMERIC,Vt.ALPHANUMERIC,n),s,a;return xo.isKanjiModeEnabled()?(s=vr(yr.BYTE,Vt.BYTE,n),a=vr(yr.KANJI,Vt.KANJI,n)):(s=vr(yr.BYTE_KANJI,Vt.BYTE,n),a=[]),t.concat(i,s,a).sort(function(f,p){return f.index-p.index}).map(function(f){return{data:f.data,mode:f.mode,length:f.length}})}function lc(n,t){switch(t){case Vt.NUMERIC:return qd.getBitsLength(n);case Vt.ALPHANUMERIC:return Gd.getBitsLength(n);case Vt.KANJI:return Xd.getBitsLength(n);case Vt.BYTE:return Kd.getBitsLength(n)}}function Cv(n){return n.reduce(function(t,i){let s=t.length-1>=0?t[t.length-1]:null;return s&&s.mode===i.mode?(t[t.length-1].data+=i.data,t):(t.push(i),t)},[])}function Av(n){let t=[];for(let i=0;i<n.length;i++){let s=n[i];switch(s.mode){case Vt.NUMERIC:t.push([s,{data:s.data,mode:Vt.ALPHANUMERIC,length:s.length},{data:s.data,mode:Vt.BYTE,length:s.length}]);break;case Vt.ALPHANUMERIC:t.push([s,{data:s.data,mode:Vt.BYTE,length:s.length}]);break;case Vt.KANJI:t.push([s,{data:s.data,mode:Vt.BYTE,length:jd(s.data)}]);break;case Vt.BYTE:t.push([{data:s.data,mode:Vt.BYTE,length:jd(s.data)}])}}return t}function Tv(n,t){let i={},s={start:{}},a=["start"];for(let u=0;u<n.length;u++){let f=n[u],p=[];for(let y=0;y<f.length;y++){let w=f[y],b=""+u+y;p.push(b),i[b]={node:w,lastCount:0},s[b]={};for(let S=0;S<a.length;S++){let k=a[S];i[k]&&i[k].node.mode===w.mode?(s[k][b]=lc(i[k].lastCount+w.length,w.mode)-lc(i[k].lastCount,w.mode),i[k].lastCount+=w.length):(i[k]&&(i[k].lastCount=w.length),s[k][b]=lc(w.length,w.mode)+4+Vt.getCharCountIndicator(w.mode,t))}}a=p}for(let u=0;u<a.length;u++)s[a[u]].end=0;return{map:s,table:i}}function Ud(n,t){let i,s=Vt.getBestModeForData(n);if(i=Vt.from(t,s),i!==Vt.BYTE&&i.bit<s.bit)throw new Error('"'+n+'" cannot be encoded with mode '+Vt.toString(i)+`. | |
Suggested mode is: `+Vt.toString(s));switch(i===Vt.KANJI&&!xo.isKanjiModeEnabled()&&(i=Vt.BYTE),i){case Vt.NUMERIC:return new qd(n);case Vt.ALPHANUMERIC:return new Gd(n);case Vt.KANJI:return new Xd(n);case Vt.BYTE:return new Kd(n)}}Os.fromArray=function(t){return t.reduce(function(i,s){return typeof s=="string"?i.push(Ud(s,null)):s.data&&i.push(Ud(s.data,s.mode)),i},[])};Os.fromString=function(t,i){let s=Zd(t,xo.isKanjiModeEnabled()),a=Av(s),u=Tv(a,i),f=Sv.find_path(u.map,"start","end"),p=[];for(let y=1;y<f.length-1;y++)p.push(u.table[f[y]].node);return Os.fromArray(Cv(p))};Os.rawSplit=function(t){return Os.fromArray(Zd(t,xo.isKanjiModeEnabled()))}});var tf=ft(Qd=>{var ko=cn(),cc=bo(),xv=ud(),Dv=fd(),kv=hd(),Ov=gd(),fc=wd(),hc=Jl(),Pv=Ed(),Do=kd(),Nv=Md(),Mv=dn(),uc=Jd();function Lv(n,t){let i=n.size,s=Ov.getPositions(t);for(let a=0;a<s.length;a++){let u=s[a][0],f=s[a][1];for(let p=-1;p<=7;p++)if(!(u+p<=-1||i<=u+p))for(let y=-1;y<=7;y++)f+y<=-1||i<=f+y||(p>=0&&p<=6&&(y===0||y===6)||y>=0&&y<=6&&(p===0||p===6)||p>=2&&p<=4&&y>=2&&y<=4?n.set(u+p,f+y,!0,!0):n.set(u+p,f+y,!1,!0))}}function Iv(n){let t=n.size;for(let i=8;i<t-8;i++){let s=i%2===0;n.set(i,6,s,!0),n.set(6,i,s,!0)}}function Rv(n,t){let i=kv.getPositions(t);for(let s=0;s<i.length;s++){let a=i[s][0],u=i[s][1];for(let f=-2;f<=2;f++)for(let p=-2;p<=2;p++)f===-2||f===2||p===-2||p===2||f===0&&p===0?n.set(a+f,u+p,!0,!0):n.set(a+f,u+p,!1,!0)}}function $v(n,t){let i=n.size,s=Do.getEncodedBits(t),a,u,f;for(let p=0;p<18;p++)a=Math.floor(p/3),u=p%3+i-8-3,f=(s>>p&1)===1,n.set(a,u,f,!0),n.set(u,a,f,!0)}function dc(n,t,i){let s=n.size,a=Nv.getEncodedBits(t,i),u,f;for(u=0;u<15;u++)f=(a>>u&1)===1,u<6?n.set(u,8,f,!0):u<8?n.set(u+1,8,f,!0):n.set(s-15+u,8,f,!0),u<8?n.set(8,s-u-1,f,!0):u<9?n.set(8,15-u-1+1,f,!0):n.set(8,15-u-1,f,!0);n.set(s-8,8,1,!0)}function Bv(n,t){let i=n.size,s=-1,a=i-1,u=7,f=0;for(let p=i-1;p>0;p-=2)for(p===6&&p--;;){for(let y=0;y<2;y++)if(!n.isReserved(a,p-y)){let w=!1;f<t.length&&(w=(t[f]>>>u&1)===1),n.set(a,p-y,w),u--,u===-1&&(f++,u=7)}if(a+=s,a<0||i<=a){a-=s,s=-s;break}}}function Yv(n,t,i){let s=new xv;i.forEach(function(y){s.put(y.mode.bit,4),s.put(y.getLength(),Mv.getCharCountIndicator(y.mode,n)),y.write(s)});let a=ko.getSymbolTotalCodewords(n),u=hc.getTotalCodewordsCount(n,t),f=(a-u)*8;for(s.getLengthInBits()+4<=f&&s.put(0,4);s.getLengthInBits()%8!==0;)s.putBit(0);let p=(f-s.getLengthInBits())/8;for(let y=0;y<p;y++)s.put(y%2?17:236,8);return Wv(s,n,t)}function Wv(n,t,i){let s=ko.getSymbolTotalCodewords(t),a=hc.getTotalCodewordsCount(t,i),u=s-a,f=hc.getBlocksCount(t,i),p=s%f,y=f-p,w=Math.floor(s/f),b=Math.floor(u/f),S=b+1,k=w-b,P=new Pv(k),D=0,B=new Array(f),et=new Array(f),Q=0,lt=new Uint8Array(n.buffer);for(let V=0;V<f;V++){let j=V<y?b:S;B[V]=lt.slice(D,D+j),et[V]=P.encode(B[V]),D+=j,Q=Math.max(Q,j)}let x=new Uint8Array(s),O=0,M,$;for(M=0;M<Q;M++)for($=0;$<f;$++)M<B[$].length&&(x[O++]=B[$][M]);for(M=0;M<k;M++)for($=0;$<f;$++)x[O++]=et[$][M];return x}function Fv(n,t,i,s){let a;if(Array.isArray(n))a=uc.fromArray(n);else if(typeof n=="string"){let w=t;if(!w){let b=uc.rawSplit(n);w=Do.getBestVersionForData(b,i)}a=uc.fromString(n,w||40)}else throw new Error("Invalid data");let u=Do.getBestVersionForData(a,i);if(!u)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=u;else if(t<u)throw new Error(` | |
The chosen QR Code version cannot contain this amount of data. | |
Minimum version required to store current data is: `+u+`. | |
`);let f=Yv(t,i,a),p=ko.getSymbolSize(t),y=new Dv(p);return Lv(y,t),Iv(y),Rv(y,t),dc(y,i,0),t>=7&&$v(y,t),Bv(y,f),isNaN(s)&&(s=fc.getBestMask(y,dc.bind(null,y,i))),fc.applyMask(s,y),dc(y,i,s),{modules:y,version:t,errorCorrectionLevel:i,maskPattern:s,segments:a}}Qd.create=function(t,i){if(typeof t>"u"||t==="")throw new Error("No input text");let s=cc.M,a,u;return typeof i<"u"&&(s=cc.from(i.errorCorrectionLevel,cc.M),a=Do.from(i.version),u=fc.from(i.maskPattern),i.toSJISFunc&&ko.setToSJISFunction(i.toSJISFunc)),Fv(t,a,s,u)}});var pc=ft(Un=>{function ef(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let t=n.slice().replace("#","").split("");if(t.length<3||t.length===5||t.length>8)throw new Error("Invalid hex color: "+n);(t.length===3||t.length===4)&&(t=Array.prototype.concat.apply([],t.map(function(s){return[s,s]}))),t.length===6&&t.push("F","F");let i=parseInt(t.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+t.slice(0,6).join("")}}Un.getOptions=function(t){t||(t={}),t.color||(t.color={});let i=typeof t.margin>"u"||t.margin===null||t.margin<0?4:t.margin,s=t.width&&t.width>=21?t.width:void 0,a=t.scale||4;return{width:s,scale:s?4:a,margin:i,color:{dark:ef(t.color.dark||"#000000ff"),light:ef(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}};Un.getScale=function(t,i){return i.width&&i.width>=t+i.margin*2?i.width/(t+i.margin*2):i.scale};Un.getImageWidth=function(t,i){let s=Un.getScale(t,i);return Math.floor((t+i.margin*2)*s)};Un.qrToImageData=function(t,i,s){let a=i.modules.size,u=i.modules.data,f=Un.getScale(a,s),p=Math.floor((a+s.margin*2)*f),y=s.margin*f,w=[s.color.light,s.color.dark];for(let b=0;b<p;b++)for(let S=0;S<p;S++){let k=(b*p+S)*4,P=s.color.light;if(b>=y&&S>=y&&b<p-y&&S<p-y){let D=Math.floor((b-y)/f),B=Math.floor((S-y)/f);P=w[u[D*a+B]?1:0]}t[k++]=P.r,t[k++]=P.g,t[k++]=P.b,t[k]=P.a}}});var nf=ft(Oo=>{var mc=pc();function Vv(n,t,i){n.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=i,t.width=i,t.style.height=i+"px",t.style.width=i+"px"}function Hv(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}Oo.render=function(t,i,s){let a=s,u=i;typeof a>"u"&&(!i||!i.getContext)&&(a=i,i=void 0),i||(u=Hv()),a=mc.getOptions(a);let f=mc.getImageWidth(t.modules.size,a),p=u.getContext("2d"),y=p.createImageData(f,f);return mc.qrToImageData(y.data,t,a),Vv(p,u,f),p.putImageData(y,0,0),u};Oo.renderToDataURL=function(t,i,s){let a=s;typeof a>"u"&&(!i||!i.getContext)&&(a=i,i=void 0),a||(a={});let u=Oo.render(t,i,a),f=a.type||"image/png",p=a.rendererOpts||{};return u.toDataURL(f,p.quality)}});var of=ft(rf=>{var zv=pc();function sf(n,t){let i=n.a/255,s=t+'="'+n.hex+'"';return i<1?s+" "+t+'-opacity="'+i.toFixed(2).slice(1)+'"':s}function gc(n,t,i){let s=n+t;return typeof i<"u"&&(s+=" "+i),s}function jv(n,t,i){let s="",a=0,u=!1,f=0;for(let p=0;p<n.length;p++){let y=Math.floor(p%t),w=Math.floor(p/t);!y&&!u&&(u=!0),n[p]?(f++,p>0&&y>0&&n[p-1]||(s+=u?gc("M",y+i,.5+w+i):gc("m",a,0),a=0,u=!1),y+1<t&&n[p+1]||(s+=gc("h",f),f=0)):a++}return s}rf.render=function(t,i,s){let a=zv.getOptions(i),u=t.modules.size,f=t.modules.data,p=u+a.margin*2,y=a.color.light.a?"<path "+sf(a.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",w="<path "+sf(a.color.dark,"stroke")+' d="'+jv(f,u,a.margin)+'"/>',b='viewBox="0 0 '+p+" "+p+'"',k='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+b+' shape-rendering="crispEdges">'+y+w+`</svg> | |
`;return typeof s=="function"&&s(null,k),k}});var lf=ft(br=>{var Uv=ad(),wc=tf(),af=nf(),qv=of();function yc(n,t,i,s,a){let u=[].slice.call(arguments,1),f=u.length,p=typeof u[f-1]=="function";if(!p&&!Uv())throw new Error("Callback required as last argument");if(p){if(f<2)throw new Error("Too few arguments provided");f===2?(a=i,i=t,t=s=void 0):f===3&&(t.getContext&&typeof a>"u"?(a=s,s=void 0):(a=s,s=i,i=t,t=void 0))}else{if(f<1)throw new Error("Too few arguments provided");return f===1?(i=t,t=s=void 0):f===2&&!t.getContext&&(s=i,i=t,t=void 0),new Promise(function(y,w){try{let b=wc.create(i,s);y(n(b,t,s))}catch(b){w(b)}})}try{let y=wc.create(i,s);a(null,n(y,t,s))}catch(y){a(y)}}br.create=wc.create;br.toCanvas=yc.bind(null,af.render);br.toDataURL=yc.bind(null,af.renderToDataURL);br.toString=yc.bind(null,function(n,t,i){return qv.render(n,i)})});var No=ft((cf,Po)=>{(function(n,t){typeof Po=="object"&&Po.exports?Po.exports=t():n.EvEmitter=t()})(typeof window<"u"?window:cf,function(){function n(){}let t=n.prototype;return t.on=function(i,s){if(!i||!s)return this;let a=this._events=this._events||{},u=a[i]=a[i]||[];return u.includes(s)||u.push(s),this},t.once=function(i,s){if(!i||!s)return this;this.on(i,s);let a=this._onceEvents=this._onceEvents||{},u=a[i]=a[i]||{};return u[s]=!0,this},t.off=function(i,s){let a=this._events&&this._events[i];if(!a||!a.length)return this;let u=a.indexOf(s);return u!=-1&&a.splice(u,1),this},t.emitEvent=function(i,s){let a=this._events&&this._events[i];if(!a||!a.length)return this;a=a.slice(0),s=s||[];let u=this._onceEvents&&this._onceEvents[i];for(let f of a)u&&u[f]&&(this.off(i,f),delete u[f]),f.apply(this,s);return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},n})});var vc=ft((n1,Mo)=>{(function(n,t){typeof Mo=="object"&&Mo.exports?Mo.exports=t():n.getSize=t()})(window,function(){function t(f){let p=parseFloat(f);return f.indexOf("%")==-1&&!isNaN(p)&&p}let i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],s=i.length;function a(){let f={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};return i.forEach(p=>{f[p]=0}),f}function u(f){if(typeof f=="string"&&(f=document.querySelector(f)),!(f&&typeof f=="object"&&f.nodeType))return;let y=getComputedStyle(f);if(y.display=="none")return a();let w={};w.width=f.offsetWidth,w.height=f.offsetHeight;let b=w.isBorderBox=y.boxSizing=="border-box";i.forEach(x=>{let O=y[x],M=parseFloat(O);w[x]=isNaN(M)?0:M});let S=w.paddingLeft+w.paddingRight,k=w.paddingTop+w.paddingBottom,P=w.marginLeft+w.marginRight,D=w.marginTop+w.marginBottom,B=w.borderLeftWidth+w.borderRightWidth,et=w.borderTopWidth+w.borderBottomWidth,Q=t(y.width);Q!==!1&&(w.width=Q+(b?0:S+B));let lt=t(y.height);return lt!==!1&&(w.height=lt+(b?0:k+et)),w.innerWidth=w.width-(S+B),w.innerHeight=w.height-(k+et),w.outerWidth=w.width+P,w.outerHeight=w.height+D,w}return u})});var qn=ft((uf,Lo)=>{(function(n,t){typeof Lo=="object"&&Lo.exports?Lo.exports=t(n):n.fizzyUIUtils=t(n)})(uf,function(t){let i={};i.extend=function(a,u){return Object.assign(a,u)},i.modulo=function(a,u){return(a%u+u)%u},i.makeArray=function(a){return Array.isArray(a)?a:a==null?[]:typeof a=="object"&&typeof a.length=="number"?[...a]:[a]},i.removeFrom=function(a,u){let f=a.indexOf(u);f!=-1&&a.splice(f,1)},i.getParent=function(a,u){for(;a.parentNode&&a!=document.body;)if(a=a.parentNode,a.matches(u))return a},i.getQueryElement=function(a){return typeof a=="string"?document.querySelector(a):a},i.handleEvent=function(a){let u="on"+a.type;this[u]&&this[u](a)},i.filterFindElements=function(a,u){return a=i.makeArray(a),a.filter(f=>f instanceof HTMLElement).reduce((f,p)=>{if(!u)return f.push(p),f;p.matches(u)&&f.push(p);let y=p.querySelectorAll(u);return f=f.concat(...y),f},[])},i.debounceMethod=function(a,u,f){f=f||100;let p=a.prototype[u],y=u+"Timeout";a.prototype[u]=function(){clearTimeout(this[y]);let w=arguments;this[y]=setTimeout(()=>{p.apply(this,w),delete this[y]},f)}},i.docReady=function(a){let u=document.readyState;u=="complete"||u=="interactive"?setTimeout(a):document.addEventListener("DOMContentLoaded",a)},i.toDashed=function(a){return a.replace(/(.)([A-Z])/g,function(u,f,p){return f+"-"+p}).toLowerCase()};let s=t.console;return i.htmlInit=function(a,u){i.docReady(function(){let p="data-"+i.toDashed(u),y=document.querySelectorAll(`[${p}]`),w=t.jQuery;[...y].forEach(b=>{let S=b.getAttribute(p),k;try{k=S&&JSON.parse(S)}catch(D){s&&s.error(`Error parsing ${p} on ${b.className}: ${D}`);return}let P=new a(b,k);w&&w.data(b,u,P)})})},i})});var ff=ft((df,Io)=>{(function(n,t){typeof Io=="object"&&Io.exports?Io.exports=t(vc()):(n.Flickity=n.Flickity||{},n.Flickity.Cell=t(n.getSize))})(typeof window<"u"?window:df,function(t){let i="flickity-cell";function s(u){this.element=u,this.element.classList.add(i),this.x=0,this.unselect()}let a=s.prototype;return a.destroy=function(){this.unselect(),this.element.classList.remove(i),this.element.style.transform="",this.element.removeAttribute("aria-hidden")},a.getSize=function(){this.size=t(this.element)},a.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},a.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},a.remove=function(){this.element.remove()},s})});var pf=ft((hf,Ro)=>{(function(n,t){typeof Ro=="object"&&Ro.exports?Ro.exports=t():(n.Flickity=n.Flickity||{},n.Flickity.Slide=t())})(typeof window<"u"?window:hf,function(){function t(s,a,u){this.beginMargin=s,this.endMargin=a,this.cellAlign=u,this.cells=[],this.outerWidth=0,this.height=0}let i=t.prototype;return i.addCell=function(s){this.cells.push(s),this.outerWidth+=s.size.outerWidth,this.height=Math.max(s.size.outerHeight,this.height),this.cells.length===1&&(this.x=s.x,this.firstMargin=s.size[this.beginMargin])},i.updateTarget=function(){let s=this.getLastCell(),a=s?s.size[this.endMargin]:0,u=this.outerWidth-(this.firstMargin+a);this.target=this.x+this.firstMargin+u*this.cellAlign},i.getLastCell=function(){return this.cells[this.cells.length-1]},i.select=function(){this.cells.forEach(s=>s.select())},i.unselect=function(){this.cells.forEach(s=>s.unselect())},i.getCellElements=function(){return this.cells.map(s=>s.element)},t})});var gf=ft((mf,$o)=>{(function(n,t){typeof $o=="object"&&$o.exports?$o.exports=t(qn()):(n.Flickity=n.Flickity||{},n.Flickity.animatePrototype=t(n.fizzyUIUtils))})(typeof window<"u"?window:mf,function(t){let i={};return i.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},i.animate=function(){this.applyDragForce(),this.applySelectedAttraction();let s=this.x;this.integratePhysics(),this.positionSlider(),this.settle(s),this.isAnimating&&requestAnimationFrame(()=>this.animate())},i.positionSlider=function(){let s=this.x;this.isWrapping&&(s=t.modulo(s,this.slideableWidth)-this.slideableWidth,this.shiftWrapCells(s)),this.setTranslateX(s,this.isAnimating),this.dispatchScrollEvent()},i.setTranslateX=function(s,a){s+=this.cursorPosition,this.options.rightToLeft&&(s=-s);let u=this.getPositionValue(s);this.slider.style.transform=a?`translate3d(${u},0,0)`:`translateX(${u})`},i.dispatchScrollEvent=function(){let s=this.slides[0];if(!s)return;let a=-this.x-s.target,u=a/this.slidesWidth;this.dispatchEvent("scroll",null,[u,a])},i.positionSliderAtSelected=function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},i.getPositionValue=function(s){return this.options.percentPosition?Math.round(s/this.size.innerWidth*1e4)*.01+"%":Math.round(s)+"px"},i.settle=function(s){!this.isPointerDown&&Math.round(this.x*100)===Math.round(s*100)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},i.shiftWrapCells=function(s){let a=this.cursorPosition+s;this._shiftCells(this.beforeShiftCells,a,-1);let u=this.size.innerWidth-(s+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,u,1)},i._shiftCells=function(s,a,u){s.forEach(f=>{let p=a>0?u:0;this._wrapShiftCell(f,p),a-=f.size.outerWidth})},i._unshiftCells=function(s){!s||!s.length||s.forEach(a=>this._wrapShiftCell(a,0))},i._wrapShiftCell=function(s,a){this._renderCellPosition(s,s.x+this.slideableWidth*a)},i.integratePhysics=function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},i.applyForce=function(s){this.velocity+=s},i.getFrictionFactor=function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},i.getRestingPosition=function(){return this.x+this.velocity/(1-this.getFrictionFactor())},i.applyDragForce=function(){if(!this.isDraggable||!this.isPointerDown)return;let a=this.dragX-this.x-this.velocity;this.applyForce(a)},i.applySelectedAttraction=function(){if(this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length)return;let u=(this.selectedSlide.target*-1-this.x)*this.options.selectedAttraction;this.applyForce(u)},i})});var Vi=ft((wf,Bo)=>{(function(n,t){if(typeof Bo=="object"&&Bo.exports)Bo.exports=t(n,No(),vc(),qn(),ff(),pf(),gf());else{let i=n.Flickity;n.Flickity=t(n,n.EvEmitter,n.getSize,n.fizzyUIUtils,i.Cell,i.Slide,i.animatePrototype)}})(typeof window<"u"?window:wf,function(t,i,s,a,u,f,p){let{getComputedStyle:y,console:w}=t,{jQuery:b}=t,S=0,k={};function P(x,O){let M=a.getQueryElement(x);if(!M){w&&w.error(`Bad element for Flickity: ${M||x}`);return}if(this.element=M,this.element.flickityGUID){let $=k[this.element.flickityGUID];return $&&$.option(O),$}b&&(this.$element=b(this.element)),this.options={...this.constructor.defaults},this.option(O),this._create()}P.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},P.create={};let D=P.prototype;Object.assign(D,i.prototype),D._create=function(){let{resize:x,watchCSS:O,rightToLeft:M}=this.options,$=this.guid=++S;this.element.flickityGUID=$,k[$]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.beginMargin=M?"marginRight":"marginLeft",this.endMargin=M?"marginLeft":"marginRight",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),this.focusableElems=[this.element],(x||O)&&t.addEventListener("resize",this);for(let V in this.options.on){let j=this.options.on[V];this.on(V,j)}for(let V in P.create)P.create[V].call(this);O?this.watchCSS():this.activate()},D.option=function(x){Object.assign(this.options,x)},D.activate=function(){if(this.isActive)return;this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize();let x=this._filterFindCellElements(this.element.children);this.slider.append(...x),this.viewport.append(this.slider),this.element.append(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready")},D._createSlider=function(){let x=document.createElement("div");x.className="flickity-slider",this.slider=x},D._filterFindCellElements=function(x){return a.filterFindElements(x,this.options.cellSelector)},D.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize()},D._makeCells=function(x){return this._filterFindCellElements(x).map(M=>new u(M))},D.getLastCell=function(){return this.cells[this.cells.length-1]},D.getLastSlide=function(){return this.slides[this.slides.length-1]},D.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},D._positionCells=function(x){x=x||0,this.maxCellHeight=x&&this.maxCellHeight||0;let O=0;if(x>0){let M=this.cells[x-1];O=M.x+M.size.outerWidth}this.cells.slice(x).forEach(M=>{M.x=O,this._renderCellPosition(M,O),O+=M.size.outerWidth,this.maxCellHeight=Math.max(M.size.outerHeight,this.maxCellHeight)}),this.slideableWidth=O,this.updateSlides(),this._containSlides(),this.slidesWidth=this.cells.length?this.getLastSlide().target-this.slides[0].target:0},D._renderCellPosition=function(x,O){let M=this.options.rightToLeft?-1:1,$=O*M;this.options.percentPosition&&($*=this.size.innerWidth/x.size.width);let V=this.getPositionValue($);x.element.style.transform=`translateX( ${V} )`},D._sizeCells=function(x){x.forEach(O=>O.getSize())},D.updateSlides=function(){if(this.slides=[],!this.cells.length)return;let{beginMargin:x,endMargin:O}=this,M=new f(x,O,this.cellAlign);this.slides.push(M);let $=this._getCanCellFit();this.cells.forEach((V,j)=>{if(!M.cells.length){M.addCell(V);return}let H=M.outerWidth-M.firstMargin+(V.size.outerWidth-V.size[O]);$(j,H)||(M.updateTarget(),M=new f(x,O,this.cellAlign),this.slides.push(M)),M.addCell(V)}),M.updateTarget(),this.updateSelectedSlide()},D._getCanCellFit=function(){let{groupCells:x}=this.options;if(!x)return()=>!1;if(typeof x=="number"){let V=parseInt(x,10);return j=>j%V!==0}let O=1,M=typeof x=="string"&&x.match(/^(\d+)%$/);M&&(O=parseInt(M[1],10)/100);let $=(this.size.innerWidth+1)*O;return(V,j)=>j<=$},D._init=D.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},D.getSize=function(){this.size=s(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};let B={left:0,center:.5,right:1};D.setCellAlign=function(){let{cellAlign:x,rightToLeft:O}=this.options,M=B[x];this.cellAlign=M!==void 0?M:x,O&&(this.cellAlign=1-this.cellAlign)},D.setGallerySize=function(){if(!this.options.setGallerySize)return;let x=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=`${x}px`},D._updateWrapShiftCells=function(){if(this.isWrapping=this.getIsWrapping(),!this.isWrapping)return;this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);let x=this.cursorPosition,O=this.cells.length-1;this.beforeShiftCells=this._getGapCells(x,O,-1);let M=this.size.innerWidth-this.cursorPosition;this.afterShiftCells=this._getGapCells(M,0,1)},D.getIsWrapping=function(){let{wrapAround:x}=this.options;if(!x||this.slides.length<2)return!1;if(x!=="fill")return!0;let O=this.slideableWidth-this.size.innerWidth;if(O>this.size.innerWidth)return!0;for(let M of this.cells)if(M.size.outerWidth>O)return!1;return!0},D._getGapCells=function(x,O,M){let $=[];for(;x>0;){let V=this.cells[O];if(!V)break;$.push(V),O+=M,x-=V.size.outerWidth}return $},D._containSlides=function(){if(!(this.options.contain&&!this.isWrapping&&this.cells.length))return;let O=this.slideableWidth-this.getLastCell().size[this.endMargin];if(O<this.size.innerWidth)this.slides.forEach($=>{$.target=O*this.cellAlign});else{let $=this.cursorPosition+this.cells[0].size[this.beginMargin],V=O-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach(j=>{j.target=Math.max(j.target,$),j.target=Math.min(j.target,V)})}},D.dispatchEvent=function(x,O,M){let $=O?[O].concat(M):M;if(this.emitEvent(x,$),b&&this.$element){x+=this.options.namespaceJQueryEvents?".flickity":"";let V=x;if(O){let j=new b.Event(O);j.type=x,V=j}this.$element.trigger(V,M)}};let et=["dragStart","dragMove","dragEnd","pointerDown","pointerMove","pointerEnd","staticClick"],Q=D.emitEvent;D.emitEvent=function(x,O){if(x==="staticClick"){let j=this.getParentCell(O[0].target),H=j&&j.element,Y=j&&this.cells.indexOf(j);O=O.concat(H,Y)}if(Q.call(this,x,O),!et.includes(x)||!b||!this.$element)return;x+=this.options.namespaceJQueryEvents?".flickity":"";let $=O.shift(0),V=new b.Event($);V.type=x,this.$element.trigger(V,O)},D.select=function(x,O,M){if(!this.isActive||(x=parseInt(x,10),this._wrapSelect(x),(this.isWrapping||O)&&(x=a.modulo(x,this.slides.length)),!this.slides[x]))return;let $=this.selectedIndex;this.selectedIndex=x,this.updateSelectedSlide(),M?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[x]),x!==$&&this.dispatchEvent("change",null,[x])},D._wrapSelect=function(x){if(!this.isWrapping)return;let{selectedIndex:O,slideableWidth:M,slides:{length:$}}=this;if(!this.isDragSelect){let V=a.modulo(x,$),j=Math.abs(V-O),H=Math.abs(V+$-O),Y=Math.abs(V-$-O);H<j?x+=$:Y<j&&(x-=$)}x<0?this.x-=M:x>=$&&(this.x+=M)},D.previous=function(x,O){this.select(this.selectedIndex-1,x,O)},D.next=function(x,O){this.select(this.selectedIndex+1,x,O)},D.updateSelectedSlide=function(){let x=this.slides[this.selectedIndex];x&&(this.unselectSelectedSlide(),this.selectedSlide=x,x.select(),this.selectedCells=x.cells,this.selectedElements=x.getCellElements(),this.selectedCell=x.cells[0],this.selectedElement=this.selectedElements[0])},D.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},D.selectInitialIndex=function(){let x=this.options.initialIndex;if(this.isInitActivated){this.select(this.selectedIndex,!1,!0);return}if(x&&typeof x=="string"&&this.queryCell(x)){this.selectCell(x,!1,!0);return}let O=0;x&&this.slides[x]&&(O=x),this.select(O,!1,!0)},D.selectCell=function(x,O,M){let $=this.queryCell(x);if(!$)return;let V=this.getCellSlideIndex($);this.select(V,O,M)},D.getCellSlideIndex=function(x){let O=this.slides.find(M=>M.cells.includes(x));return this.slides.indexOf(O)},D.getCell=function(x){for(let O of this.cells)if(O.element===x)return O},D.getCells=function(x){return x=a.makeArray(x),x.map(O=>this.getCell(O)).filter(Boolean)},D.getCellElements=function(){return this.cells.map(x=>x.element)},D.getParentCell=function(x){let O=this.getCell(x);if(O)return O;let M=x.closest(".flickity-slider > *");return this.getCell(M)},D.getAdjacentCellElements=function(x,O){if(!x)return this.selectedSlide.getCellElements();O=O===void 0?this.selectedIndex:O;let M=this.slides.length;if(1+x*2>=M)return this.getCellElements();let $=[];for(let V=O-x;V<=O+x;V++){let j=this.isWrapping?a.modulo(V,M):V,H=this.slides[j];H&&($=$.concat(H.getCellElements()))}return $},D.queryCell=function(x){return typeof x=="number"?this.cells[x]:(typeof x=="string"&&!x.match(/^[#.]?[\d/]/)&&(x=this.element.querySelector(x)),this.getCell(x))},D.uiChange=function(){this.emitEvent("uiChange")},D.onresize=function(){this.watchCSS(),this.resize()},a.debounceMethod(P,"onresize",150),D.resize=function(){if(!this.isActive||this.isAnimating||this.isDragging)return;this.getSize(),this.isWrapping&&(this.x=a.modulo(this.x,this.slideableWidth)),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");let x=this.selectedElements&&this.selectedElements[0];this.selectCell(x,!1,!0)},D.watchCSS=function(){if(!this.options.watchCSS)return;y(this.element,":after").content.includes("flickity")?this.activate():this.deactivate()},D.onkeydown=function(x){let{activeElement:O}=document,M=P.keyboardHandlers[x.key];if(!this.options.accessibility||!O||!M)return;this.focusableElems.some(V=>O===V)&&M.call(this)},P.keyboardHandlers={ArrowLeft:function(){this.uiChange();let x=this.options.rightToLeft?"next":"previous";this[x]()},ArrowRight:function(){this.uiChange();let x=this.options.rightToLeft?"previous":"next";this[x]()}},D.focus=function(){this.element.focus({preventScroll:!0})},D.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(x=>x.destroy()),this.viewport.remove(),this.element.append(...this.slider.children),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},D.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),b&&this.$element&&b.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete k[this.guid]},Object.assign(D,p),P.data=function(x){if(x=a.getQueryElement(x),x)return k[x.flickityGUID]},a.htmlInit(P,"flickity");let{jQueryBridget:lt}=t;return b&<&<("flickity",P,b),P.setJQuery=function(x){b=x},P.Cell=u,P.Slide=f,P})});var vf=ft((yf,Yo)=>{(function(n,t){typeof Yo=="object"&&Yo.exports?Yo.exports=t(n,No()):n.Unidragger=t(n,n.EvEmitter)})(typeof window<"u"?window:yf,function(t,i){function s(){}let a=s.prototype=Object.create(i.prototype);a.handleEvent=function(w){let b="on"+w.type;this[b]&&this[b](w)};let u,f;"ontouchstart"in t?(u="touchstart",f=["touchmove","touchend","touchcancel"]):t.PointerEvent?(u="pointerdown",f=["pointermove","pointerup","pointercancel"]):(u="mousedown",f=["mousemove","mouseup"]),a.touchActionValue="none",a.bindHandles=function(){this._bindHandles("addEventListener",this.touchActionValue)},a.unbindHandles=function(){this._bindHandles("removeEventListener","")},a._bindHandles=function(w,b){this.handles.forEach(S=>{S[w](u,this),S[w]("click",this),t.PointerEvent&&(S.style.touchAction=b)})},a.bindActivePointerEvents=function(){f.forEach(w=>{t.addEventListener(w,this)})},a.unbindActivePointerEvents=function(){f.forEach(w=>{t.removeEventListener(w,this)})},a.withPointer=function(w,b){b.pointerId===this.pointerIdentifier&&this[w](b,b)},a.withTouch=function(w,b){let S;for(let k of b.changedTouches)k.identifier===this.pointerIdentifier&&(S=k);S&&this[w](b,S)},a.onmousedown=function(w){this.pointerDown(w,w)},a.ontouchstart=function(w){this.pointerDown(w,w.changedTouches[0])},a.onpointerdown=function(w){this.pointerDown(w,w)};let p=["TEXTAREA","INPUT","SELECT","OPTION"],y=["radio","checkbox","button","submit","image","file"];return a.pointerDown=function(w,b){let S=p.includes(w.target.nodeName),k=y.includes(w.target.type),P=!S||k;!this.isPointerDown&&!w.button&&P&&(this.isPointerDown=!0,this.pointerIdentifier=b.pointerId!==void 0?b.pointerId:b.identifier,this.pointerDownPointer={pageX:b.pageX,pageY:b.pageY},this.bindActivePointerEvents(),this.emitEvent("pointerDown",[w,b]))},a.onmousemove=function(w){this.pointerMove(w,w)},a.onpointermove=function(w){this.withPointer("pointerMove",w)},a.ontouchmove=function(w){this.withTouch("pointerMove",w)},a.pointerMove=function(w,b){let S={x:b.pageX-this.pointerDownPointer.pageX,y:b.pageY-this.pointerDownPointer.pageY};this.emitEvent("pointerMove",[w,b,S]),!this.isDragging&&this.hasDragStarted(S)&&this.dragStart(w,b),this.isDragging&&this.dragMove(w,b,S)},a.hasDragStarted=function(w){return Math.abs(w.x)>3||Math.abs(w.y)>3},a.dragStart=function(w,b){this.isDragging=!0,this.isPreventingClicks=!0,this.emitEvent("dragStart",[w,b])},a.dragMove=function(w,b,S){this.emitEvent("dragMove",[w,b,S])},a.onmouseup=function(w){this.pointerUp(w,w)},a.onpointerup=function(w){this.withPointer("pointerUp",w)},a.ontouchend=function(w){this.withTouch("pointerUp",w)},a.pointerUp=function(w,b){this.pointerDone(),this.emitEvent("pointerUp",[w,b]),this.isDragging?this.dragEnd(w,b):this.staticClick(w,b)},a.dragEnd=function(w,b){this.isDragging=!1,setTimeout(()=>delete this.isPreventingClicks),this.emitEvent("dragEnd",[w,b])},a.pointerDone=function(){this.isPointerDown=!1,delete this.pointerIdentifier,this.unbindActivePointerEvents(),this.emitEvent("pointerDone")},a.onpointercancel=function(w){this.withPointer("pointerCancel",w)},a.ontouchcancel=function(w){this.withTouch("pointerCancel",w)},a.pointerCancel=function(w,b){this.pointerDone(),this.emitEvent("pointerCancel",[w,b])},a.onclick=function(w){this.isPreventingClicks&&w.preventDefault()},a.staticClick=function(w,b){let S=w.type==="mouseup";S&&this.isIgnoringMouseUp||(this.emitEvent("staticClick",[w,b]),S&&(this.isIgnoringMouseUp=!0,setTimeout(()=>{delete this.isIgnoringMouseUp},400)))},s})});var _f=ft((bf,Wo)=>{(function(n,t){typeof Wo=="object"&&Wo.exports?Wo.exports=t(n,Vi(),vf(),qn()):n.Flickity=t(n,n.Flickity,n.Unidragger,n.fizzyUIUtils)})(typeof window<"u"?window:bf,function(t,i,s,a){Object.assign(i.defaults,{draggable:">1",dragThreshold:3});let u=i.prototype;Object.assign(u,s.prototype),u.touchActionValue="",i.create.drag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),this.on("pointerDown",this.handlePointerDown),this.on("pointerUp",this.handlePointerUp),this.on("pointerDown",this.handlePointerDone),this.on("dragStart",this.handleDragStart),this.on("dragMove",this.handleDragMove),this.on("dragEnd",this.handleDragEnd),this.on("staticClick",this.handleStaticClick)},u.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},u.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},u.updateDraggable=function(){this.options.draggable===">1"?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.element.classList.toggle("is-draggable",this.isDraggable)},u._uiChangeDrag=function(){delete this.isFreeScrolling},u.handlePointerDown=function(p){if(!this.isDraggable){this.bindActivePointerEvents(p);return}let y=p.type==="touchstart",w=p.pointerType==="touch",b=p.target.matches("input, textarea, select");!y&&!w&&!b&&p.preventDefault(),b||this.focus(),document.activeElement!==this.element&&document.activeElement.blur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=f(),t.addEventListener("scroll",this),this.bindActivePointerEvents(p)},u.hasDragStarted=function(p){return Math.abs(p.x)>this.options.dragThreshold},u.handlePointerUp=function(){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down")},u.handlePointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},u.handleDragStart=function(){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this))},u.handleDragMove=function(p,y,w){if(!this.isDraggable)return;p.preventDefault(),this.previousDragX=this.dragX;let b=this.options.rightToLeft?-1:1;this.isWrapping&&(w.x%=this.slideableWidth);let S=this.dragStartPosition+w.x*b;if(!this.isWrapping){let k=Math.max(-this.slides[0].target,this.dragStartPosition);S=S>k?(S+k)*.5:S;let P=Math.min(-this.getLastSlide().target,this.dragStartPosition);S=S<P?(S+P)*.5:S}this.dragX=S,this.dragMoveTime=new Date},u.handleDragEnd=function(){if(!this.isDraggable)return;let{freeScroll:p}=this.options;p&&(this.isFreeScrolling=!0);let y=this.dragEndRestingSelect();if(p&&!this.isWrapping){let w=this.getRestingPosition();this.isFreeScrolling=-w>this.slides[0].target&&-w<this.getLastSlide().target}else!p&&y===this.selectedIndex&&(y+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.isWrapping,this.select(y),delete this.isDragSelect},u.dragEndRestingSelect=function(){let p=this.getRestingPosition(),y=Math.abs(this.getSlideDistance(-p,this.selectedIndex)),w=this._getClosestResting(p,y,1),b=this._getClosestResting(p,y,-1);return w.distance<b.distance?w.index:b.index},u._getClosestResting=function(p,y,w){let b=this.selectedIndex,S=1/0,k=this.options.contain&&!this.isWrapping?(P,D)=>P<=D:(P,D)=>P<D;for(;k(y,S)&&(b+=w,S=y,y=this.getSlideDistance(-p,b),y!==null);)y=Math.abs(y);return{distance:S,index:b-w}},u.getSlideDistance=function(p,y){let w=this.slides.length,b=this.options.wrapAround&&w>1,S=b?a.modulo(y,w):y,k=this.slides[S];if(!k)return null;let P=b?this.slideableWidth*Math.floor(y/w):0;return p-(k.target+P)},u.dragEndBoostSelect=function(){if(this.previousDragX===void 0||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;let p=this.getSlideDistance(-this.dragX,this.selectedIndex),y=this.previousDragX-this.dragX;return p>0&&y>0?1:p<0&&y<0?-1:0},u.onscroll=function(){let p=f(),y=this.pointerDownScroll.x-p.x,w=this.pointerDownScroll.y-p.y;(Math.abs(y)>3||Math.abs(w)>3)&&this.pointerDone()};function f(){return{x:t.pageXOffset,y:t.pageYOffset}}return i})});var Sf=ft((Ef,Fo)=>{(function(n,t){typeof Fo=="object"&&Fo.exports?Fo.exports=t(Vi()):t(n.Flickity)})(typeof window<"u"?window:Ef,function(t){let i="http://www.w3.org/2000/svg";function s(f,p,y){this.increment=f,this.direction=p,this.isPrevious=f==="previous",this.isLeft=p==="left",this._create(y)}s.prototype._create=function(f){let p=this.element=document.createElement("button");p.className=`flickity-button flickity-prev-next-button ${this.increment}`;let y=this.isPrevious?"Previous":"Next";p.setAttribute("type","button"),p.setAttribute("aria-label",y),this.disable();let w=this.createSVG(y,f);p.append(w)},s.prototype.createSVG=function(f,p){let y=document.createElementNS(i,"svg");y.setAttribute("class","flickity-button-icon"),y.setAttribute("viewBox","0 0 100 100");let w=document.createElementNS(i,"title");w.append(f);let b=document.createElementNS(i,"path"),S=a(p);return b.setAttribute("d",S),b.setAttribute("class","arrow"),this.isLeft||b.setAttribute("transform","translate(100, 100) rotate(180)"),y.append(w,b),y};function a(f){if(typeof f=="string")return f;let{x0:p,x1:y,x2:w,x3:b,y1:S,y2:k}=f;return`M ${p}, 50 | |
L ${y}, ${S+50} | |
L ${w}, ${k+50} | |
L ${b}, 50 | |
L ${w}, ${50-k} | |
L ${y}, ${50-S} | |
Z`}s.prototype.enable=function(){this.element.removeAttribute("disabled")},s.prototype.disable=function(){this.element.setAttribute("disabled",!0)},Object.assign(t.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),t.create.prevNextButtons=function(){if(!this.options.prevNextButtons)return;let{rightToLeft:f,arrowShape:p}=this.options,y=f?"right":"left",w=f?"left":"right";this.prevButton=new s("previous",y,p),this.nextButton=new s("next",w,p),this.focusableElems.push(this.prevButton.element),this.focusableElems.push(this.nextButton.element),this.handlePrevButtonClick=()=>{this.uiChange(),this.previous()},this.handleNextButtonClick=()=>{this.uiChange(),this.next()},this.on("activate",this.activatePrevNextButtons),this.on("select",this.updatePrevNextButtons)};let u=t.prototype;return u.updatePrevNextButtons=function(){let f=this.slides.length?this.slides.length-1:0;this.updatePrevNextButton(this.prevButton,0),this.updatePrevNextButton(this.nextButton,f)},u.updatePrevNextButton=function(f,p){if(this.isWrapping&&this.slides.length>1){f.enable();return}let y=this.selectedIndex!==p;f[y?"enable":"disable"](),!y&&document.activeElement===f.element&&this.focus()},u.activatePrevNextButtons=function(){this.prevButton.element.addEventListener("click",this.handlePrevButtonClick),this.nextButton.element.addEventListener("click",this.handleNextButtonClick),this.element.append(this.prevButton.element,this.nextButton.element),this.on("deactivate",this.deactivatePrevNextButtons)},u.deactivatePrevNextButtons=function(){this.prevButton.element.remove(),this.nextButton.element.remove(),this.prevButton.element.removeEventListener("click",this.handlePrevButtonClick),this.nextButton.element.removeEventListener("click",this.handleNextButtonClick),this.off("deactivate",this.deactivatePrevNextButtons)},t.PrevNextButton=s,t})});var Af=ft((Cf,Vo)=>{(function(n,t){typeof Vo=="object"&&Vo.exports?Vo.exports=t(Vi(),qn()):t(n.Flickity,n.fizzyUIUtils)})(typeof window<"u"?window:Cf,function(t,i){function s(){this.holder=document.createElement("div"),this.holder.className="flickity-page-dots",this.dots=[]}s.prototype.setDots=function(u){let f=u-this.dots.length;f>0?this.addDots(f):f<0&&this.removeDots(-f)},s.prototype.addDots=function(u){let f=new Array(u).fill().map((p,y)=>{let w=document.createElement("button");w.setAttribute("type","button");let b=y+1+this.dots.length;return w.className="flickity-page-dot",w.textContent=`View slide ${b}`,w});this.holder.append(...f),this.dots=this.dots.concat(f)},s.prototype.removeDots=function(u){this.dots.splice(this.dots.length-u,u).forEach(p=>p.remove())},s.prototype.updateSelected=function(u){this.selectedDot&&(this.selectedDot.classList.remove("is-selected"),this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[u],this.selectedDot.classList.add("is-selected"),this.selectedDot.setAttribute("aria-current","step"))},t.PageDots=s,Object.assign(t.defaults,{pageDots:!0}),t.create.pageDots=function(){this.options.pageDots&&(this.pageDots=new s,this.handlePageDotsClick=this.onPageDotsClick.bind(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))};let a=t.prototype;return a.activatePageDots=function(){this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots),this.pageDots.holder.addEventListener("click",this.handlePageDotsClick),this.element.append(this.pageDots.holder)},a.onPageDotsClick=function(u){let f=this.pageDots.dots.indexOf(u.target);f!==-1&&(this.uiChange(),this.select(f))},a.updateSelectedPageDots=function(){this.pageDots.updateSelected(this.selectedIndex)},a.updatePageDots=function(){this.pageDots.dots.forEach(u=>{i.removeFrom(this.focusableElems,u)}),this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots)},a.deactivatePageDots=function(){this.pageDots.holder.remove(),this.pageDots.holder.removeEventListener("click",this.handlePageDotsClick)},t.PageDots=s,t})});var xf=ft((Tf,Ho)=>{(function(n,t){typeof Ho=="object"&&Ho.exports?Ho.exports=t(Vi()):t(n.Flickity)})(typeof window<"u"?window:Tf,function(t){function i(a,u){this.autoPlay=a,this.onTick=u,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}i.prototype.play=function(){if(this.state==="playing")return;if(document.hidden){document.addEventListener("visibilitychange",this.onVisibilityPlay);return}this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()},i.prototype.tick=function(){if(this.state!=="playing")return;let a=typeof this.autoPlay=="number"?this.autoPlay:3e3;this.clear(),this.timeout=setTimeout(()=>{this.onTick(),this.tick()},a)},i.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},i.prototype.clear=function(){clearTimeout(this.timeout)},i.prototype.pause=function(){this.state==="playing"&&(this.state="paused",this.clear())},i.prototype.unpause=function(){this.state==="paused"&&this.play()},i.prototype.visibilityChange=function(){let a=document.hidden;this[a?"pause":"unpause"]()},i.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},Object.assign(t.defaults,{pauseAutoPlayOnHover:!0}),t.create.player=function(){this.player=new i(this.options.autoPlay,()=>{this.next(!0)}),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)};let s=t.prototype;return s.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},s.playPlayer=function(){this.player.play()},s.stopPlayer=function(){this.player.stop()},s.pausePlayer=function(){this.player.pause()},s.unpausePlayer=function(){this.player.unpause()},s.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},s.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},s.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},t.Player=i,t})});var kf=ft((Df,zo)=>{(function(n,t){typeof zo=="object"&&zo.exports?zo.exports=t(Vi(),qn()):t(n.Flickity,n.fizzyUIUtils)})(typeof window<"u"?window:Df,function(t,i){function s(u){let f=document.createDocumentFragment();return u.forEach(p=>f.appendChild(p.element)),f}let a=t.prototype;return a.insert=function(u,f){let p=this._makeCells(u);if(!p||!p.length)return;let y=this.cells.length;f=f===void 0?y:f;let w=s(p),b=f===y;if(b)this.slider.appendChild(w);else{let S=this.cells[f].element;this.slider.insertBefore(w,S)}if(f===0)this.cells=p.concat(this.cells);else if(b)this.cells=this.cells.concat(p);else{let S=this.cells.splice(f,y-f);this.cells=this.cells.concat(p).concat(S)}this._sizeCells(p),this.cellChange(f),this.positionSliderAtSelected()},a.append=function(u){this.insert(u,this.cells.length)},a.prepend=function(u){this.insert(u,0)},a.remove=function(u){let f=this.getCells(u);if(!f||!f.length)return;let p=this.cells.length-1;f.forEach(y=>{y.remove();let w=this.cells.indexOf(y);p=Math.min(w,p),i.removeFrom(this.cells,y)}),this.cellChange(p),this.positionSliderAtSelected()},a.cellSizeChange=function(u){let f=this.getCell(u);if(!f)return;f.getSize();let p=this.cells.indexOf(f);this.cellChange(p)},a.cellChange=function(u){let f=this.selectedElement;this._positionCells(u),this._updateWrapShiftCells(),this.setGallerySize();let p=this.getCell(f);p&&(this.selectedIndex=this.getCellSlideIndex(p)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[u]),this.select(this.selectedIndex)},t})});var Pf=ft((Of,jo)=>{(function(n,t){typeof jo=="object"&&jo.exports?jo.exports=t(Vi(),qn()):t(n.Flickity,n.fizzyUIUtils)})(typeof window<"u"?window:Of,function(t,i){let s="data-flickity-lazyload",a=`${s}-src`,u=`${s}-srcset`,f=`img[${s}], img[${a}], img[${u}], source[${u}]`;t.create.lazyLoad=function(){this.on("select",this.lazyLoad),this.handleLazyLoadComplete=this.onLazyLoadComplete.bind(this)};let p=t.prototype;p.lazyLoad=function(){let{lazyLoad:b}=this.options;if(!b)return;let S=typeof b=="number"?b:0;this.getAdjacentCellElements(S).map(y).flat().forEach(k=>new w(k,this.handleLazyLoadComplete))};function y(b){if(b.matches("img")){let S=b.getAttribute(s),k=b.getAttribute(a),P=b.getAttribute(u);if(S||k||P)return b}return[...b.querySelectorAll(f)]}p.onLazyLoadComplete=function(b,S){let k=this.getParentCell(b),P=k&&k.element;this.cellSizeChange(P),this.dispatchEvent("lazyLoad",S,P)};function w(b,S){this.img=b,this.onComplete=S,this.load()}return w.prototype.handleEvent=i.handleEvent,w.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);let b=this.img.getAttribute(s)||this.img.getAttribute(a),S=this.img.getAttribute(u);this.img.src=b,S&&this.img.setAttribute("srcset",S),this.img.removeAttribute(s),this.img.removeAttribute(a),this.img.removeAttribute(u)},w.prototype.onload=function(b){this.complete(b,"flickity-lazyloaded")},w.prototype.onerror=function(b){this.complete(b,"flickity-lazyerror")},w.prototype.complete=function(b,S){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this),(this.img.parentNode.matches("picture")?this.img.parentNode:this.img).classList.add(S),this.onComplete(this.img,b)},t.LazyLoader=w,t})});var Mf=ft((Nf,Uo)=>{(function(n,t){typeof Uo=="object"&&Uo.exports?Uo.exports=t(n,No()):n.imagesLoaded=t(n,n.EvEmitter)})(typeof window<"u"?window:Nf,function(t,i){let s=t.jQuery,a=t.console;function u(S){return Array.isArray(S)?S:typeof S=="object"&&typeof S.length=="number"?[...S]:[S]}function f(S,k,P){if(!(this instanceof f))return new f(S,k,P);let D=S;if(typeof S=="string"&&(D=document.querySelectorAll(S)),!D){a.error(`Bad element for imagesLoaded ${D||S}`);return}this.elements=u(D),this.options={},typeof k=="function"?P=k:Object.assign(this.options,k),P&&this.on("always",P),this.getImages(),s&&(this.jqDeferred=new s.Deferred),setTimeout(this.check.bind(this))}f.prototype=Object.create(i.prototype),f.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};let p=[1,9,11];f.prototype.addElementImages=function(S){S.nodeName==="IMG"&&this.addImage(S),this.options.background===!0&&this.addElementBackgroundImages(S);let{nodeType:k}=S;if(!k||!p.includes(k))return;let P=S.querySelectorAll("img");for(let D of P)this.addImage(D);if(typeof this.options.background=="string"){let D=S.querySelectorAll(this.options.background);for(let B of D)this.addElementBackgroundImages(B)}};let y=/url\((['"])?(.*?)\1\)/gi;f.prototype.addElementBackgroundImages=function(S){let k=getComputedStyle(S);if(!k)return;let P=y.exec(k.backgroundImage);for(;P!==null;){let D=P&&P[2];D&&this.addBackground(D,S),P=y.exec(k.backgroundImage)}},f.prototype.addImage=function(S){let k=new w(S);this.images.push(k)},f.prototype.addBackground=function(S,k){let P=new b(S,k);this.images.push(P)},f.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length){this.complete();return}let S=(k,P,D)=>{setTimeout(()=>{this.progress(k,P,D)})};this.images.forEach(function(k){k.once("progress",S),k.check()})},f.prototype.progress=function(S,k,P){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!S.isLoaded,this.emitEvent("progress",[this,S,k]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,S),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&a&&a.log(`progress: ${P}`,S,k)},f.prototype.complete=function(){let S=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(S,[this]),this.emitEvent("always",[this]),this.jqDeferred){let k=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[k](this)}};function w(S){this.img=S}w.prototype=Object.create(i.prototype),w.prototype.check=function(){if(this.getIsImageComplete()){this.confirm(this.img.naturalWidth!==0,"naturalWidth");return}this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src},w.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},w.prototype.confirm=function(S,k){this.isLoaded=S;let{parentNode:P}=this.img,D=P.nodeName==="PICTURE"?P:this.img;this.emitEvent("progress",[this,D,k])},w.prototype.handleEvent=function(S){let k="on"+S.type;this[k]&&this[k](S)},w.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},w.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},w.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)};function b(S,k){this.url=S,this.element=k,this.img=new Image}return b.prototype=Object.create(w.prototype),b.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(this.img.naturalWidth!==0,"naturalWidth"),this.unbindEvents())},b.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},b.prototype.confirm=function(S,k){this.isLoaded=S,this.emitEvent("progress",[this,this.element,k])},f.makeJQueryPlugin=function(S){S=S||t.jQuery,S&&(s=S,s.fn.imagesLoaded=function(k,P){return new f(this,k,P).jqDeferred.promise(s(this))})},f.makeJQueryPlugin(),f})});var If=ft((Lf,qo)=>{(function(n,t){typeof qo=="object"&&qo.exports?qo.exports=t(Vi(),Mf()):t(n.Flickity,n.imagesLoaded)})(typeof window<"u"?window:Lf,function(t,i){return t.create.imagesLoaded=function(){this.on("activate",this.imagesLoaded)},t.prototype.imagesLoaded=function(){if(!this.options.imagesLoaded)return;let s=(a,u)=>{let f=this.getParentCell(u.img);this.cellSizeChange(f&&f.element),this.options.freeScroll||this.positionSliderAtSelected()};i(this.slider).on("progress",s)},t})});var Rf=ft((s1,Go)=>{if(typeof Go=="object"&&Go.exports){let n=Vi();_f(),Sf(),Af(),xf(),kf(),Pf(),If(),Go.exports=n}});var $f=ft((bc,_c)=>{(function(n,t){typeof bc=="object"&&typeof _c<"u"?_c.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis<"u"?globalThis:n||self,n.Viewer=t())})(bc,function(){"use strict";function n(C,m){var _=Object.keys(C);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(C);m&&(v=v.filter(function(A){return Object.getOwnPropertyDescriptor(C,A).enumerable})),_.push.apply(_,v)}return _}function t(C){for(var m=1;m<arguments.length;m++){var _=arguments[m]!=null?arguments[m]:{};m%2?n(Object(_),!0).forEach(function(v){f(C,v,_[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(_)):n(Object(_)).forEach(function(v){Object.defineProperty(C,v,Object.getOwnPropertyDescriptor(_,v))})}return C}function i(C){return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},i(C)}function s(C,m){if(!(C instanceof m))throw new TypeError("Cannot call a class as a function")}function a(C,m){for(var _=0;_<m.length;_++){var v=m[_];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(C,y(v.key),v)}}function u(C,m,_){return m&&a(C.prototype,m),_&&a(C,_),Object.defineProperty(C,"prototype",{writable:!1}),C}function f(C,m,_){return m=y(m),m in C?Object.defineProperty(C,m,{value:_,enumerable:!0,configurable:!0,writable:!0}):C[m]=_,C}function p(C,m){if(typeof C!="object"||C===null)return C;var _=C[Symbol.toPrimitive];if(_!==void 0){var v=_.call(C,m||"default");if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(m==="string"?String:Number)(C)}function y(C){var m=p(C,"string");return typeof m=="symbol"?m:String(m)}var w={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},b='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>',S=typeof window<"u"&&typeof window.document<"u",k=S?window:{},P=S&&k.document.documentElement?"ontouchstart"in k.document.documentElement:!1,D=S?"PointerEvent"in k:!1,B="viewer",et="move",Q="switch",lt="zoom",x="".concat(B,"-active"),O="".concat(B,"-close"),M="".concat(B,"-fade"),$="".concat(B,"-fixed"),V="".concat(B,"-fullscreen"),j="".concat(B,"-fullscreen-exit"),H="".concat(B,"-hide"),Y="".concat(B,"-hide-md-down"),Z="".concat(B,"-hide-sm-down"),J="".concat(B,"-hide-xs-down"),ot="".concat(B,"-in"),Et="".concat(B,"-invisible"),Ht="".concat(B,"-loading"),Nt="".concat(B,"-move"),$t="".concat(B,"-open"),Bt="".concat(B,"-show"),gt="".concat(B,"-transition"),Jt="click",oe="dblclick",Mt="dragstart",K="focusin",Xt="keydown",wt="load",pt="error",At=P?"touchend touchcancel":"mouseup",Yt=P?"touchmove":"mousemove",Ee=P?"touchstart":"mousedown",zt=D?"pointerdown":Ee,Tt=D?"pointermove":Yt,St=D?"pointerup pointercancel":At,ne="resize",rt="transitionend",he="wheel",Oe="ready",We="show",jt="shown",Ct="hide",Qt="hidden",Pe="view",se="viewed",ae="move",ai="moved",ze="rotate",ue="rotated",ht="scale",Fe="scaled",mt="zoom",hn="zoomed",Gn="play",pn="stop",Ci="".concat(B,"Action"),we=/\s\s*/,Ie=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function li(C){return typeof C=="string"}var Hi=Number.isNaN||k.isNaN;function dt(C){return typeof C=="number"&&!Hi(C)}function ci(C){return typeof C>"u"}function ui(C){return i(C)==="object"&&C!==null}var yi=Object.prototype.hasOwnProperty;function Ke(C){if(!ui(C))return!1;try{var m=C.constructor,_=m.prototype;return m&&_&&yi.call(_,"isPrototypeOf")}catch{return!1}}function xt(C){return typeof C=="function"}function _t(C,m){if(C&&xt(m))if(Array.isArray(C)||dt(C.length)){var _=C.length,v;for(v=0;v<_&&m.call(C,C[v],v,C)!==!1;v+=1);}else ui(C)&&Object.keys(C).forEach(function(A){m.call(C,C[A],A,C)});return C}var pe=Object.assign||function(m){for(var _=arguments.length,v=new Array(_>1?_-1:0),A=1;A<_;A++)v[A-1]=arguments[A];return ui(m)&&v.length>0&&v.forEach(function(N){ui(N)&&Object.keys(N).forEach(function(L){m[L]=N[L]})}),m},Ps=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Se(C,m){var _=C.style;_t(m,function(v,A){Ps.test(A)&&dt(v)&&(v+="px"),_[A]=v})}function Ns(C){return li(C)?C.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"):C}function Ne(C,m){return!C||!m?!1:C.classList?C.classList.contains(m):C.className.indexOf(m)>-1}function ut(C,m){if(!(!C||!m)){if(dt(C.length)){_t(C,function(v){ut(v,m)});return}if(C.classList){C.classList.add(m);return}var _=C.className.trim();_?_.indexOf(m)<0&&(C.className="".concat(_," ").concat(m)):C.className=m}}function W(C,m){if(!(!C||!m)){if(dt(C.length)){_t(C,function(_){W(_,m)});return}if(C.classList){C.classList.remove(m);return}C.className.indexOf(m)>=0&&(C.className=C.className.replace(m,""))}}function Ai(C,m,_){if(m){if(dt(C.length)){_t(C,function(v){Ai(v,m,_)});return}_?ut(C,m):W(C,m)}}var Ms=/([a-z\d])([A-Z])/g;function ye(C){return C.replace(Ms,"$1-$2").toLowerCase()}function Xe(C,m){return ui(C[m])?C[m]:C.dataset?C.dataset[m]:C.getAttribute("data-".concat(ye(m)))}function Dt(C,m,_){ui(_)?C[m]=_:C.dataset?C.dataset[m]=_:C.setAttribute("data-".concat(ye(m)),_)}var vi=function(){var C=!1;if(S){var m=!1,_=function(){},v=Object.defineProperty({},"once",{get:function(){return C=!0,m},set:function(N){m=N}});k.addEventListener("test",_,v),k.removeEventListener("test",_,v)}return C}();function It(C,m,_){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},A=_;m.trim().split(we).forEach(function(N){if(!vi){var L=C.listeners;L&&L[N]&&L[N][_]&&(A=L[N][_],delete L[N][_],Object.keys(L[N]).length===0&&delete L[N],Object.keys(L).length===0&&delete C.listeners)}C.removeEventListener(N,A,v)})}function st(C,m,_){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},A=_;m.trim().split(we).forEach(function(N){if(v.once&&!vi){var L=C.listeners,q=L===void 0?{}:L;A=function(){delete q[N][_],C.removeEventListener(N,A,v);for(var G=arguments.length,U=new Array(G),it=0;it<G;it++)U[it]=arguments[it];_.apply(C,U)},q[N]||(q[N]={}),q[N][_]&&C.removeEventListener(N,q[N][_],v),q[N][_]=A,C.listeners=q}C.addEventListener(N,A,v)})}function Ot(C,m,_,v){var A;return xt(Event)&&xt(CustomEvent)?A=new CustomEvent(m,t({bubbles:!0,cancelable:!0,detail:_},v)):(A=document.createEvent("CustomEvent"),A.initCustomEvent(m,!0,!0,_)),C.dispatchEvent(A)}function Me(C){var m=C.getBoundingClientRect();return{left:m.left+(window.pageXOffset-document.documentElement.clientLeft),top:m.top+(window.pageYOffset-document.documentElement.clientTop)}}function Wt(C){var m=C.rotate,_=C.scaleX,v=C.scaleY,A=C.translateX,N=C.translateY,L=[];dt(A)&&A!==0&&L.push("translateX(".concat(A,"px)")),dt(N)&&N!==0&&L.push("translateY(".concat(N,"px)")),dt(m)&&m!==0&&L.push("rotate(".concat(m,"deg)")),dt(_)&&_!==1&&L.push("scaleX(".concat(_,")")),dt(v)&&v!==1&&L.push("scaleY(".concat(v,")"));var q=L.length?L.join(" "):"none";return{WebkitTransform:q,msTransform:q,transform:q}}function Le(C){return li(C)?decodeURIComponent(C.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}var Ce=k.navigator&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(k.navigator.userAgent);function re(C,m,_){var v=document.createElement("img");if(C.naturalWidth&&!Ce)return _(C.naturalWidth,C.naturalHeight),v;var A=document.body||document.documentElement;return v.onload=function(){_(v.width,v.height),Ce||A.removeChild(v)},_t(m.inheritedAttributes,function(N){var L=C.getAttribute(N);L!==null&&v.setAttribute(N,L)}),v.src=C.src,Ce||(v.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",A.appendChild(v)),v}function zi(C){switch(C){case 2:return J;case 3:return Z;case 4:return Y;default:return""}}function Ls(C){var m=t({},C),_=[];return _t(C,function(v,A){delete m[A],_t(m,function(N){var L=Math.abs(v.startX-N.startX),q=Math.abs(v.startY-N.startY),X=Math.abs(v.endX-N.endX),G=Math.abs(v.endY-N.endY),U=Math.sqrt(L*L+q*q),it=Math.sqrt(X*X+G*G),yt=(it-U)/U;_.push(yt)})}),_.sort(function(v,A){return Math.abs(v)<Math.abs(A)}),_[0]}function ji(C,m){var _=C.pageX,v=C.pageY,A={endX:_,endY:v};return m?A:t({timeStamp:Date.now(),startX:_,startY:v},A)}function te(C){var m=0,_=0,v=0;return _t(C,function(A){var N=A.startX,L=A.startY;m+=N,_+=L,v+=1}),m/=v,_/=v,{pageX:m,pageY:_}}var Ui={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var m=this.element.ownerDocument,_=m.body||m.documentElement;this.body=_,this.scrollbarWidth=window.innerWidth-m.documentElement.clientWidth,this.initialBodyPaddingRight=_.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(_).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var m=this.options,_=this.parent,v;m.inline&&(v={width:Math.max(_.offsetWidth,m.minWidth),height:Math.max(_.offsetHeight,m.minHeight)},this.parentData=v),(this.fulled||!v)&&(v=this.containerData),this.viewerData=pe({},v)},renderViewer:function(){this.options.inline&&!this.fulled&&Se(this.viewer,this.viewerData)},initList:function(){var m=this,_=this.element,v=this.options,A=this.list,N=[];A.innerHTML="",_t(this.images,function(L,q){var X=L.src,G=L.alt||Le(X),U=m.getImageURL(L);if(X||U){var it=document.createElement("li"),yt=document.createElement("img");_t(v.inheritedAttributes,function(Pt){var Ut=L.getAttribute(Pt);Ut!==null&&yt.setAttribute(Pt,Ut)}),v.navbar&&(yt.src=X||U),yt.alt=G,yt.setAttribute("data-original-url",U||X),it.setAttribute("data-index",q),it.setAttribute("data-viewer-action","view"),it.setAttribute("role","button"),v.keyboard&&it.setAttribute("tabindex",0),it.appendChild(yt),A.appendChild(it),N.push(it)}}),this.items=N,_t(N,function(L){var q=L.firstElementChild,X,G;Dt(q,"filled",!0),v.loading&&ut(L,Ht),st(q,wt,X=function(it){It(q,pt,G),v.loading&&W(L,Ht),m.loadImage(it)},{once:!0}),st(q,pt,G=function(){It(q,wt,X),v.loading&&W(L,Ht)},{once:!0})}),v.transition&&st(_,se,function(){ut(A,gt)},{once:!0})},renderList:function(){var m=this.index,_=this.items[m];if(_){var v=_.nextElementSibling,A=parseInt(window.getComputedStyle(v||_).marginLeft,10),N=_.offsetWidth,L=N+A;Se(this.list,pe({width:L*this.length-A},Wt({translateX:(this.viewerData.width-N)/2-L*m})))}},resetList:function(){var m=this.list;m.innerHTML="",W(m,gt),Se(m,Wt({translateX:0}))},initImage:function(m){var _=this,v=this.options,A=this.image,N=this.viewerData,L=this.footer.offsetHeight,q=N.width,X=Math.max(N.height-L,L),G=this.imageData||{},U;this.imageInitializing={abort:function(){U.onload=null}},U=re(A,v,function(it,yt){var Pt=it/yt,Ut=Math.max(0,Math.min(1,v.initialCoverage)),Rt=q,Ft=X;_.imageInitializing=!1,X*Pt>q?Ft=q/Pt:Rt=X*Pt,Ut=dt(Ut)?Ut:.9,Rt=Math.min(Rt*Ut,it),Ft=Math.min(Ft*Ut,yt);var ve=(q-Rt)/2,Ae=(X-Ft)/2,qt={left:ve,top:Ae,x:ve,y:Ae,width:Rt,height:Ft,oldRatio:1,ratio:Rt/it,aspectRatio:Pt,naturalWidth:it,naturalHeight:yt},je=pe({},qt);v.rotatable&&(qt.rotate=G.rotate||0,je.rotate=0),v.scalable&&(qt.scaleX=G.scaleX||1,qt.scaleY=G.scaleY||1,je.scaleX=1,je.scaleY=1),_.imageData=qt,_.initialImageData=je,m&&m()})},renderImage:function(m){var _=this,v=this.image,A=this.imageData;if(Se(v,pe({width:A.width,height:A.height,marginLeft:A.x,marginTop:A.y},Wt(A))),m)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&Ne(v,gt)){var N=function(){_.imageRendering=!1,m()};this.imageRendering={abort:function(){It(v,rt,N)}},st(v,rt,N,{once:!0})}else m()},resetImage:function(){if(this.viewing||this.viewed){var m=this.image;this.viewing&&this.viewing.abort(),m.parentNode.removeChild(m),this.image=null}}},Is={bind:function(){var m=this.options,_=this.viewer,v=this.canvas,A=this.element.ownerDocument;st(_,Jt,this.onClick=this.click.bind(this)),st(_,Mt,this.onDragStart=this.dragstart.bind(this)),st(v,zt,this.onPointerDown=this.pointerdown.bind(this)),st(A,Tt,this.onPointerMove=this.pointermove.bind(this)),st(A,St,this.onPointerUp=this.pointerup.bind(this)),st(A,Xt,this.onKeyDown=this.keydown.bind(this)),st(window,ne,this.onResize=this.resize.bind(this)),m.zoomable&&m.zoomOnWheel&&st(_,he,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),m.toggleOnDblclick&&st(v,oe,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var m=this.options,_=this.viewer,v=this.canvas,A=this.element.ownerDocument;It(_,Jt,this.onClick),It(_,Mt,this.onDragStart),It(v,zt,this.onPointerDown),It(A,Tt,this.onPointerMove),It(A,St,this.onPointerUp),It(A,Xt,this.onKeyDown),It(window,ne,this.onResize),m.zoomable&&m.zoomOnWheel&&It(_,he,this.onWheel,{passive:!1,capture:!0}),m.toggleOnDblclick&&It(v,oe,this.onDblclick)}},Kn={click:function(m){var _=this.options,v=this.imageData,A=m.target,N=Xe(A,Ci);switch(!N&&A.localName==="img"&&A.parentElement.localName==="li"&&(A=A.parentElement,N=Xe(A,Ci)),P&&m.isTrusted&&A===this.canvas&&clearTimeout(this.clickCanvasTimeout),N){case"mix":this.played?this.stop():_.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(Xe(A,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(_.loop);break;case"play":this.play(_.fullscreen);break;case"next":this.next(_.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-v.scaleX||-1);break;case"flip-vertical":this.scaleY(-v.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(m){m.preventDefault(),this.viewed&&m.target===this.image&&(P&&m.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(m.isTrusted?m:m.detail&&m.detail.originalEvent))},load:function(){var m=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var _=this.element,v=this.options,A=this.image,N=this.index,L=this.viewerData;W(A,Et),v.loading&&W(this.canvas,Ht),A.style.cssText="height:0;"+"margin-left:".concat(L.width/2,"px;")+"margin-top:".concat(L.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){Ai(A,Nt,v.movable),Ai(A,gt,v.transition),m.renderImage(function(){m.viewed=!0,m.viewing=!1,xt(v.viewed)&&st(_,se,v.viewed,{once:!0}),Ot(_,se,{originalImage:m.images[N],index:N,image:A},{cancelable:!1})})})},loadImage:function(m){var _=m.target,v=_.parentNode,A=v.offsetWidth||30,N=v.offsetHeight||50,L=!!Xe(_,"filled");re(_,this.options,function(q,X){var G=q/X,U=A,it=N;N*G>A?L?U=N*G:it=A/G:L?it=A/G:U=N*G,Se(_,pe({width:U,height:it},Wt({translateX:(A-U)/2,translateY:(N-it)/2})))})},keydown:function(m){var _=this.options;if(_.keyboard){var v=m.keyCode||m.which||m.charCode;switch(v){case 13:this.viewer.contains(m.target)&&this.click(m);break}if(this.fulled)switch(v){case 27:this.played?this.stop():_.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(_.loop);break;case 38:m.preventDefault(),this.zoom(_.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(_.loop);break;case 40:m.preventDefault(),this.zoom(-_.zoomRatio,!0);break;case 48:case 49:m.ctrlKey&&(m.preventDefault(),this.toggle());break}}},dragstart:function(m){m.target.localName==="img"&&m.preventDefault()},pointerdown:function(m){var _=this.options,v=this.pointers,A=m.buttons,N=m.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||(m.type==="mousedown"||m.type==="pointerdown"&&m.pointerType==="mouse")&&(dt(A)&&A!==1||dt(N)&&N!==0||m.ctrlKey))){m.preventDefault(),m.changedTouches?_t(m.changedTouches,function(q){v[q.identifier]=ji(q)}):v[m.pointerId||0]=ji(m);var L=_.movable?et:!1;_.zoomOnTouch&&_.zoomable&&Object.keys(v).length>1?L=lt:_.slideOnTouch&&(m.pointerType==="touch"||m.type==="touchstart")&&this.isSwitchable()&&(L=Q),_.transition&&(L===et||L===lt)&&W(this.image,gt),this.action=L}},pointermove:function(m){var _=this.pointers,v=this.action;!this.viewed||!v||(m.preventDefault(),m.changedTouches?_t(m.changedTouches,function(A){pe(_[A.identifier]||{},ji(A,!0))}):pe(_[m.pointerId||0]||{},ji(m,!0)),this.change(m))},pointerup:function(m){var _=this,v=this.options,A=this.action,N=this.pointers,L;m.changedTouches?_t(m.changedTouches,function(q){L=N[q.identifier],delete N[q.identifier]}):(L=N[m.pointerId||0],delete N[m.pointerId||0]),A&&(m.preventDefault(),v.transition&&(A===et||A===lt)&&ut(this.image,gt),this.action=!1,P&&A!==lt&&L&&Date.now()-L.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),v.toggleOnDblclick&&this.viewed&&m.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){Ot(_.image,oe,{originalEvent:m})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){_.imageClicked=!1},500)):(this.imageClicked=!1,v.backdrop&&v.backdrop!=="static"&&m.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){Ot(_.canvas,Jt,{originalEvent:m})},50)))))},resize:function(){var m=this;if(!(!this.isShown||this.hiding)&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){m.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)){this.stop();return}_t(this.player.getElementsByTagName("img"),function(_){st(_,wt,m.loadImage.bind(m),{once:!0}),Ot(_,wt)})}},wheel:function(m){var _=this;if(this.viewed&&(m.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout(function(){_.wheeling=!1},50);var v=Number(this.options.zoomRatio)||.1,A=1;m.deltaY?A=m.deltaY>0?1:-1:m.wheelDelta?A=-m.wheelDelta/120:m.detail&&(A=m.detail>0?1:-1),this.zoom(-A*v,!0,null,m)}}},mn={show:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,_=this.element,v=this.options;if(v.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(m),this;if(xt(v.show)&&st(_,We,v.show,{once:!0}),Ot(_,We)===!1||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var A=this.viewer;if(W(A,H),A.setAttribute("role","dialog"),A.setAttribute("aria-labelledby",this.title.id),A.setAttribute("aria-modal",!0),A.removeAttribute("aria-hidden"),v.transition&&!m){var N=this.shown.bind(this);this.transitioning={abort:function(){It(A,rt,N),W(A,ot)}},ut(A,gt),A.initialOffsetWidth=A.offsetWidth,st(A,rt,N,{once:!0}),ut(A,ot)}else ut(A,ot),this.shown();return this},hide:function(){var m=this,_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,v=this.element,A=this.options;if(A.inline||this.hiding||!(this.isShown||this.showing))return this;if(xt(A.hide)&&st(v,Ct,A.hide,{once:!0}),Ot(v,Ct)===!1)return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var N=this.viewer,L=this.image,q=function(){W(N,ot),m.hidden()};if(A.transition&&!_){var X=function U(it){it&&it.target===N&&(It(N,rt,U),m.hidden())},G=function(){Ne(N,gt)?(st(N,rt,X),W(N,ot)):q()};this.transitioning={abort:function(){m.viewed&&Ne(L,gt)?It(L,rt,G):Ne(N,gt)&&It(N,rt,X)}},this.viewed&&Ne(L,gt)?(st(L,rt,G,{once:!0}),this.zoomTo(0,!1,null,null,!0)):G()}else q();return this},view:function(){var m=this,_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.initialViewIndex;if(_=Number(_)||0,this.hiding||this.played||_<0||_>=this.length||this.viewed&&_===this.index)return this;if(!this.isShown)return this.index=_,this.show();this.viewing&&this.viewing.abort();var v=this.element,A=this.options,N=this.title,L=this.canvas,q=this.items[_],X=q.querySelector("img"),G=Xe(X,"originalUrl"),U=X.getAttribute("alt"),it=document.createElement("img");if(_t(A.inheritedAttributes,function(Ft){var ve=X.getAttribute(Ft);ve!==null&&it.setAttribute(Ft,ve)}),it.src=G,it.alt=U,xt(A.view)&&st(v,Pe,A.view,{once:!0}),Ot(v,Pe,{originalImage:this.images[_],index:_,image:it})===!1||!this.isShown||this.hiding||this.played)return this;var yt=this.items[this.index];yt&&(W(yt,x),yt.removeAttribute("aria-selected")),ut(q,x),q.setAttribute("aria-selected",!0),A.focus&&q.focus(),this.image=it,this.viewed=!1,this.index=_,this.imageData={},ut(it,Et),A.loading&&ut(L,Ht),L.innerHTML="",L.appendChild(it),this.renderList(),N.innerHTML="";var Pt=function(){var ve=m.imageData,Ae=Array.isArray(A.title)?A.title[1]:A.title;N.innerHTML=Ns(xt(Ae)?Ae.call(m,it,ve):"".concat(U," (").concat(ve.naturalWidth," \xD7 ").concat(ve.naturalHeight,")"))},Ut,Rt;return st(v,se,Pt,{once:!0}),this.viewing={abort:function(){It(v,se,Pt),it.complete?m.imageRendering?m.imageRendering.abort():m.imageInitializing&&m.imageInitializing.abort():(it.src="",It(it,wt,Ut),m.timeout&&clearTimeout(m.timeout))}},it.complete?this.load():(st(it,wt,Ut=function(){It(it,pt,Rt),m.load()},{once:!0}),st(it,pt,Rt=function(){It(it,wt,Ut),m.timeout&&(clearTimeout(m.timeout),m.timeout=!1),W(it,Et),A.loading&&W(m.canvas,Ht)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){W(it,Et),m.timeout=!1},1e3)),this},prev:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,_=this.index-1;return _<0&&(_=m?this.length-1:0),this.view(_),this},next:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,_=this.length-1,v=this.index+1;return v>_&&(v=m?0:_),this.view(v),this},move:function(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,v=this.imageData;return this.moveTo(ci(m)?m:v.x+Number(m),ci(_)?_:v.y+Number(_)),this},moveTo:function(m){var _=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,N=this.element,L=this.options,q=this.imageData;if(m=Number(m),v=Number(v),this.viewed&&!this.played&&L.movable){var X=q.x,G=q.y,U=!1;if(dt(m)?U=!0:m=X,dt(v)?U=!0:v=G,U){if(xt(L.move)&&st(N,ae,L.move,{once:!0}),Ot(N,ae,{x:m,y:v,oldX:X,oldY:G,originalEvent:A})===!1)return this;q.x=m,q.y=v,q.left=m,q.top=v,this.moving=!0,this.renderImage(function(){_.moving=!1,xt(L.moved)&&st(N,ai,L.moved,{once:!0}),Ot(N,ai,{x:m,y:v,oldX:X,oldY:G,originalEvent:A},{cancelable:!1})})}}return this},rotate:function(m){return this.rotateTo((this.imageData.rotate||0)+Number(m)),this},rotateTo:function(m){var _=this,v=this.element,A=this.options,N=this.imageData;if(m=Number(m),dt(m)&&this.viewed&&!this.played&&A.rotatable){var L=N.rotate;if(xt(A.rotate)&&st(v,ze,A.rotate,{once:!0}),Ot(v,ze,{degree:m,oldDegree:L})===!1)return this;N.rotate=m,this.rotating=!0,this.renderImage(function(){_.rotating=!1,xt(A.rotated)&&st(v,ue,A.rotated,{once:!0}),Ot(v,ue,{degree:m,oldDegree:L},{cancelable:!1})})}return this},scaleX:function(m){return this.scale(m,this.imageData.scaleY),this},scaleY:function(m){return this.scale(this.imageData.scaleX,m),this},scale:function(m){var _=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,A=this.element,N=this.options,L=this.imageData;if(m=Number(m),v=Number(v),this.viewed&&!this.played&&N.scalable){var q=L.scaleX,X=L.scaleY,G=!1;if(dt(m)?G=!0:m=q,dt(v)?G=!0:v=X,G){if(xt(N.scale)&&st(A,ht,N.scale,{once:!0}),Ot(A,ht,{scaleX:m,scaleY:v,oldScaleX:q,oldScaleY:X})===!1)return this;L.scaleX=m,L.scaleY=v,this.scaling=!0,this.renderImage(function(){_.scaling=!1,xt(N.scaled)&&st(A,Fe,N.scaled,{once:!0}),Ot(A,Fe,{scaleX:m,scaleY:v,oldScaleX:q,oldScaleY:X},{cancelable:!1})})}}return this},zoom:function(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,N=this.imageData;return m=Number(m),m<0?m=1/(1-m):m=1+m,this.zoomTo(N.width*m/N.naturalWidth,_,v,A),this},zoomTo:function(m){var _=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,q=this.element,X=this.options,G=this.pointers,U=this.imageData,it=U.x,yt=U.y,Pt=U.width,Ut=U.height,Rt=U.naturalWidth,Ft=U.naturalHeight;if(m=Math.max(0,m),dt(m)&&this.viewed&&!this.played&&(L||X.zoomable)){if(!L){var ve=Math.max(.01,X.minZoomRatio),Ae=Math.min(100,X.maxZoomRatio);m=Math.min(Math.max(m,ve),Ae)}if(N)switch(N.type){case"wheel":X.zoomRatio>=.055&&m>.95&&m<1.05&&(m=1);break;case"pointermove":case"touchmove":case"mousemove":m>.99&&m<1.01&&(m=1);break}var qt=Rt*m,je=Ft*m,di=qt-Pt,Ve=je-Ut,fi=U.ratio;if(xt(X.zoom)&&st(q,mt,X.zoom,{once:!0}),Ot(q,mt,{ratio:m,oldRatio:fi,originalEvent:N})===!1)return this;if(this.zooming=!0,N){var Ue=Me(this.viewer),Ze=G&&Object.keys(G).length>0?te(G):{pageX:N.pageX,pageY:N.pageY};U.x-=di*((Ze.pageX-Ue.left-it)/Pt),U.y-=Ve*((Ze.pageY-Ue.top-yt)/Ut)}else Ke(A)&&dt(A.x)&&dt(A.y)?(U.x-=di*((A.x-it)/Pt),U.y-=Ve*((A.y-yt)/Ut)):(U.x-=di/2,U.y-=Ve/2);U.left=U.x,U.top=U.y,U.width=qt,U.height=je,U.oldRatio=fi,U.ratio=m,this.renderImage(function(){_.zooming=!1,xt(X.zoomed)&&st(q,hn,X.zoomed,{once:!0}),Ot(q,hn,{ratio:m,oldRatio:fi,originalEvent:N},{cancelable:!1})}),v&&this.tooltip()}return this},play:function(){var m=this,_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.isShown||this.played)return this;var v=this.element,A=this.options;if(xt(A.play)&&st(v,Gn,A.play,{once:!0}),Ot(v,Gn)===!1)return this;var N=this.player,L=this.loadImage.bind(this),q=[],X=0,G=0;if(this.played=!0,this.onLoadWhenPlay=L,_&&this.requestFullscreen(_),ut(N,Bt),_t(this.items,function(yt,Pt){var Ut=yt.querySelector("img"),Rt=document.createElement("img");Rt.src=Xe(Ut,"originalUrl"),Rt.alt=Ut.getAttribute("alt"),Rt.referrerPolicy=Ut.referrerPolicy,X+=1,ut(Rt,M),Ai(Rt,gt,A.transition),Ne(yt,x)&&(ut(Rt,ot),G=Pt),q.push(Rt),st(Rt,wt,L,{once:!0}),N.appendChild(Rt)}),dt(A.interval)&&A.interval>0){var U=function yt(){clearTimeout(m.playing.timeout),W(q[G],ot),G-=1,G=G>=0?G:X-1,ut(q[G],ot),m.playing.timeout=setTimeout(yt,A.interval)},it=function yt(){clearTimeout(m.playing.timeout),W(q[G],ot),G+=1,G=G<X?G:0,ut(q[G],ot),m.playing.timeout=setTimeout(yt,A.interval)};X>1&&(this.playing={prev:U,next:it,timeout:setTimeout(it,A.interval)})}return this},stop:function(){var m=this;if(!this.played)return this;var _=this.element,v=this.options;if(xt(v.stop)&&st(_,pn,v.stop,{once:!0}),Ot(_,pn)===!1)return this;var A=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,_t(A.getElementsByTagName("img"),function(N){It(N,wt,m.onLoadWhenPlay)}),W(A,Bt),A.innerHTML="",this.exitFullscreen(),this},full:function(){var m=this,_=this.options,v=this.viewer,A=this.image,N=this.list;return!this.isShown||this.played||this.fulled||!_.inline?this:(this.fulled=!0,this.open(),ut(this.button,j),_.transition&&(W(N,gt),this.viewed&&W(A,gt)),ut(v,$),v.setAttribute("role","dialog"),v.setAttribute("aria-labelledby",this.title.id),v.setAttribute("aria-modal",!0),v.removeAttribute("style"),Se(v,{zIndex:_.zIndex}),_.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=pe({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){m.renderImage(function(){_.transition&&setTimeout(function(){ut(A,gt),ut(N,gt)},0)})}),this)},exit:function(){var m=this,_=this.options,v=this.viewer,A=this.image,N=this.list;return!this.isShown||this.played||!this.fulled||!_.inline?this:(this.fulled=!1,this.close(),W(this.button,j),_.transition&&(W(N,gt),this.viewed&&W(A,gt)),_.focus&&this.clearEnforceFocus(),v.removeAttribute("role"),v.removeAttribute("aria-labelledby"),v.removeAttribute("aria-modal"),W(v,$),Se(v,{zIndex:_.zIndexInline}),this.viewerData=pe({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){m.renderImage(function(){_.transition&&setTimeout(function(){ut(A,gt),ut(N,gt)},0)})}),this)},tooltip:function(){var m=this,_=this.options,v=this.tooltipBox,A=this.imageData;return!this.viewed||this.played||!_.tooltip?this:(v.textContent="".concat(Math.round(A.ratio*100),"%"),this.tooltipping?clearTimeout(this.tooltipping):_.transition?(this.fading&&Ot(v,rt),ut(v,Bt),ut(v,M),ut(v,gt),v.removeAttribute("aria-hidden"),v.initialOffsetWidth=v.offsetWidth,ut(v,ot)):(ut(v,Bt),v.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){_.transition?(st(v,rt,function(){W(v,Bt),W(v,M),W(v,gt),v.setAttribute("aria-hidden",!0),m.fading=!1},{once:!0}),W(v,ot),m.fading=!0):(W(v,Bt),v.setAttribute("aria-hidden",!0)),m.tooltipping=!1},1e3),this)},toggle:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.imageData.ratio===1?this.zoomTo(this.imageData.oldRatio,!0,null,m):this.zoomTo(1,!0,null,m),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=pe({},this.initialImageData),this.renderImage()),this},update:function(){var m=this,_=this.element,v=this.options,A=this.isImg;if(A&&!_.parentNode)return this.destroy();var N=[];if(_t(A?[_]:_.querySelectorAll("img"),function(G){xt(v.filter)?v.filter.call(m,G)&&N.push(G):m.getImageURL(G)&&N.push(G)}),!N.length)return this;if(this.images=N,this.length=N.length,this.ready){var L=[];if(_t(this.items,function(G,U){var it=G.querySelector("img"),yt=N[U];yt&&it?(yt.src!==it.src||yt.alt!==it.alt)&&L.push(U):L.push(U)}),Se(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var q=L.indexOf(this.index);if(q>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-q,this.length-1),0));else{var X=this.items[this.index];ut(X,x),X.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var m=this.element,_=this.options;return m[B]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),_.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):_.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),_.inline||It(m,Jt,this.onStart),m[B]=void 0,this):this}},Rs={getImageURL:function(m){var _=this.options.url;return li(_)?_=m.getAttribute(_):xt(_)?_=_.call(this,m):_="",_},enforceFocus:function(){var m=this;this.clearEnforceFocus(),st(document,K,this.onFocusin=function(_){var v=m.viewer,A=_.target;if(!(A===document||A===v||v.contains(A))){for(;A;){if(A.getAttribute("tabindex")!==null||A.getAttribute("aria-modal")==="true")return;A=A.parentElement}v.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(It(document,K,this.onFocusin),this.onFocusin=null)},open:function(){var m=this.body;ut(m,$t),this.scrollbarWidth>0&&(m.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var m=this.body;W(m,$t),this.scrollbarWidth>0&&(m.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var m=this.element,_=this.options,v=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,_.focus&&(v.focus(),this.enforceFocus()),xt(_.shown)&&st(m,jt,_.shown,{once:!0}),Ot(m,jt)!==!1&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var m=this.element,_=this.options,v=this.viewer;_.fucus&&this.clearEnforceFocus(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.close(),this.unbind(),ut(v,H),v.removeAttribute("role"),v.removeAttribute("aria-labelledby"),v.removeAttribute("aria-modal"),v.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.hiding=!1,this.destroyed||(xt(_.hidden)&&st(m,Qt,_.hidden,{once:!0}),Ot(m,Qt,null,{cancelable:!1}))},requestFullscreen:function(m){var _=this.element.ownerDocument;if(this.fulled&&!(_.fullscreenElement||_.webkitFullscreenElement||_.mozFullScreenElement||_.msFullscreenElement)){var v=_.documentElement;v.requestFullscreen?Ke(m)?v.requestFullscreen(m):v.requestFullscreen():v.webkitRequestFullscreen?v.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):v.mozRequestFullScreen?v.mozRequestFullScreen():v.msRequestFullscreen&&v.msRequestFullscreen()}},exitFullscreen:function(){var m=this.element.ownerDocument;this.fulled&&(m.fullscreenElement||m.webkitFullscreenElement||m.mozFullScreenElement||m.msFullscreenElement)&&(m.exitFullscreen?m.exitFullscreen():m.webkitExitFullscreen?m.webkitExitFullscreen():m.mozCancelFullScreen?m.mozCancelFullScreen():m.msExitFullscreen&&m.msExitFullscreen())},change:function(m){var _=this.options,v=this.pointers,A=v[Object.keys(v)[0]];if(A){var N=A.endX-A.startX,L=A.endY-A.startY;switch(this.action){case et:(N!==0||L!==0)&&(this.pointerMoved=!0,this.move(N,L,m));break;case lt:this.zoom(Ls(v),!1,null,m);break;case Q:{this.action="switched";var q=Math.abs(N);q>1&&q>Math.abs(L)&&(this.pointers={},N>1?this.prev(_.loop):N<-1&&this.next(_.loop));break}}_t(v,function(X){X.startX=X.endX,X.startY=X.endY})}},isSwitchable:function(){var m=this.imageData,_=this.viewerData;return this.length>1&&m.x>=0&&m.y>=0&&m.width<=_.width&&m.height<=_.height}},Xn=k.Viewer,$s=function(C){return function(){return C+=1,C}}(-1),Zn=function(){function C(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s(this,C),!m||m.nodeType!==1)throw new Error("The first argument is required and must be an element.");this.element=m,this.options=pe({},w,Ke(_)&&_),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=$s(),this.init()}return u(C,[{key:"init",value:function(){var _=this,v=this.element,A=this.options;if(!v[B]){v[B]=this,A.focus&&!A.keyboard&&(A.focus=!1);var N=v.localName==="img",L=[];if(_t(N?[v]:v.querySelectorAll("img"),function(G){xt(A.filter)?A.filter.call(_,G)&&L.push(G):_.getImageURL(G)&&L.push(G)}),this.isImg=N,this.length=L.length,this.images=L,this.initBody(),ci(document.createElement(B).style.transition)&&(A.transition=!1),A.inline){var q=0,X=function(){if(q+=1,q===_.length){var U;_.initializing=!1,_.delaying={abort:function(){clearTimeout(U)}},U=setTimeout(function(){_.delaying=!1,_.build()},0)}};this.initializing={abort:function(){_t(L,function(U){U.complete||(It(U,wt,X),It(U,pt,X))})}},_t(L,function(G){if(G.complete)X();else{var U,it;st(G,wt,U=function(){It(G,pt,it),X()},{once:!0}),st(G,pt,it=function(){It(G,wt,U),X()},{once:!0})}})}else st(v,Jt,this.onStart=function(G){var U=G.target;U.localName==="img"&&(!xt(A.filter)||A.filter.call(_,U))&&_.view(_.images.indexOf(U))})}}},{key:"build",value:function(){if(!this.ready){var _=this.element,v=this.options,A=_.parentNode,N=document.createElement("div");N.innerHTML=b;var L=N.querySelector(".".concat(B,"-container")),q=L.querySelector(".".concat(B,"-title")),X=L.querySelector(".".concat(B,"-toolbar")),G=L.querySelector(".".concat(B,"-navbar")),U=L.querySelector(".".concat(B,"-button")),it=L.querySelector(".".concat(B,"-canvas"));if(this.parent=A,this.viewer=L,this.title=q,this.toolbar=X,this.navbar=G,this.button=U,this.canvas=it,this.footer=L.querySelector(".".concat(B,"-footer")),this.tooltipBox=L.querySelector(".".concat(B,"-tooltip")),this.player=L.querySelector(".".concat(B,"-player")),this.list=L.querySelector(".".concat(B,"-list")),L.id="".concat(B).concat(this.id),q.id="".concat(B,"Title").concat(this.id),ut(q,v.title?zi(Array.isArray(v.title)?v.title[0]:v.title):H),ut(G,v.navbar?zi(v.navbar):H),Ai(U,H,!v.button),v.keyboard&&U.setAttribute("tabindex",0),v.backdrop&&(ut(L,"".concat(B,"-backdrop")),!v.inline&&v.backdrop!=="static"&&Dt(it,Ci,"hide")),li(v.className)&&v.className&&v.className.split(we).forEach(function(qt){ut(L,qt)}),v.toolbar){var yt=document.createElement("ul"),Pt=Ke(v.toolbar),Ut=Ie.slice(0,3),Rt=Ie.slice(7,9),Ft=Ie.slice(9);Pt||ut(X,zi(v.toolbar)),_t(Pt?v.toolbar:Ie,function(qt,je){var di=Pt&&Ke(qt),Ve=Pt?ye(je):qt,fi=di&&!ci(qt.show)?qt.show:qt;if(!(!fi||!v.zoomable&&Ut.indexOf(Ve)!==-1||!v.rotatable&&Rt.indexOf(Ve)!==-1||!v.scalable&&Ft.indexOf(Ve)!==-1)){var Ue=di&&!ci(qt.size)?qt.size:qt,Ze=di&&!ci(qt.click)?qt.click:qt,He=document.createElement("li");v.keyboard&&He.setAttribute("tabindex",0),He.setAttribute("role","button"),ut(He,"".concat(B,"-").concat(Ve)),xt(Ze)||Dt(He,Ci,Ve),dt(fi)&&ut(He,zi(fi)),["small","large"].indexOf(Ue)!==-1?ut(He,"".concat(B,"-").concat(Ue)):Ve==="play"&&ut(He,"".concat(B,"-large")),xt(Ze)&&st(He,Jt,Ze),yt.appendChild(He)}}),X.appendChild(yt)}else ut(X,H);if(!v.rotatable){var ve=X.querySelectorAll('li[class*="rotate"]');ut(ve,Et),_t(ve,function(qt){X.appendChild(qt)})}if(v.inline)ut(U,V),Se(L,{zIndex:v.zIndexInline}),window.getComputedStyle(A).position==="static"&&Se(A,{position:"relative"}),A.insertBefore(L,_.nextSibling);else{ut(U,O),ut(L,$),ut(L,M),ut(L,H),Se(L,{zIndex:v.zIndex});var Ae=v.container;li(Ae)&&(Ae=_.ownerDocument.querySelector(Ae)),Ae||(Ae=this.body),Ae.appendChild(L)}if(v.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,xt(v.ready)&&st(_,Oe,v.ready,{once:!0}),Ot(_,Oe)===!1){this.ready=!1;return}this.ready&&v.inline&&this.view(this.index)}}}],[{key:"noConflict",value:function(){return window.Viewer=Xn,C}},{key:"setDefaults",value:function(_){pe(w,Ke(_)&&_)}}]),C}();return pe(Zn.prototype,Ui,Is,Kn,mn,Rs),Zn})});var tt={};$c(tt,{Alert:()=>$n,Button:()=>Bn,Carousel:()=>rn,Collapse:()=>on,Dropdown:()=>qe,Modal:()=>$i,Offcanvas:()=>gi,Popover:()=>Es,ScrollSpy:()=>Yn,Tab:()=>Yi,Toast:()=>Wn,Tooltip:()=>Bi});var ro={};$c(ro,{afterMain:()=>Hc,afterRead:()=>Wc,afterWrite:()=>Uc,applyStyles:()=>cs,arrow:()=>Zr,auto:()=>Zs,basePlacements:()=>Oi,beforeMain:()=>Fc,beforeRead:()=>Bc,beforeWrite:()=>zc,bottom:()=>me,clippingParents:()=>ul,computeStyles:()=>ds,createPopper:()=>or,createPopperBase:()=>eu,createPopperLite:()=>Cl,detectOverflow:()=>Ye,end:()=>Qi,eventListeners:()=>fs,flip:()=>eo,hide:()=>io,left:()=>de,main:()=>Vc,modifierPhases:()=>Xr,offset:()=>no,placements:()=>Qs,popper:()=>An,popperGenerator:()=>Mn,popperOffsets:()=>ms,preventOverflow:()=>so,read:()=>Yc,reference:()=>dl,right:()=>fe,start:()=>Ei,top:()=>le,variationPlacements:()=>Kr,viewport:()=>Js,write:()=>jc});var le="top",me="bottom",fe="right",de="left",Zs="auto",Oi=[le,me,fe,de],Ei="start",Qi="end",ul="clippingParents",Js="viewport",An="popper",dl="reference",Kr=Oi.reduce(function(n,t){return n.concat([t+"-"+Ei,t+"-"+Qi])},[]),Qs=[].concat(Oi,[Zs]).reduce(function(n,t){return n.concat([t,t+"-"+Ei,t+"-"+Qi])},[]),Bc="beforeRead",Yc="read",Wc="afterRead",Fc="beforeMain",Vc="main",Hc="afterMain",zc="beforeWrite",jc="write",Uc="afterWrite",Xr=[Bc,Yc,Wc,Fc,Vc,Hc,zc,jc,Uc];function Te(n){return n?(n.nodeName||"").toLowerCase():null}function ce(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function ei(n){var t=ce(n).Element;return n instanceof t||n instanceof Element}function _e(n){var t=ce(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function ls(n){if(typeof ShadowRoot>"u")return!1;var t=ce(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function dp(n){var t=n.state;Object.keys(t.elements).forEach(function(i){var s=t.styles[i]||{},a=t.attributes[i]||{},u=t.elements[i];!_e(u)||!Te(u)||(Object.assign(u.style,s),Object.keys(a).forEach(function(f){var p=a[f];p===!1?u.removeAttribute(f):u.setAttribute(f,p===!0?"":p)}))})}function fp(n){var t=n.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(s){var a=t.elements[s],u=t.attributes[s]||{},f=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:i[s]),p=f.reduce(function(y,w){return y[w]="",y},{});!_e(a)||!Te(a)||(Object.assign(a.style,p),Object.keys(u).forEach(function(y){a.removeAttribute(y)}))})}}var cs={name:"applyStyles",enabled:!0,phase:"write",fn:dp,effect:fp,requires:["computeStyles"]};function xe(n){return n.split("-")[0]}var pi=Math.max,Tn=Math.min,Pi=Math.round;function us(){var n=navigator.userAgentData;return n!=null&&n.brands?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tr(){return!/^((?!chrome|android).)*safari/i.test(us())}function ii(n,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var s=n.getBoundingClientRect(),a=1,u=1;t&&_e(n)&&(a=n.offsetWidth>0&&Pi(s.width)/n.offsetWidth||1,u=n.offsetHeight>0&&Pi(s.height)/n.offsetHeight||1);var f=ei(n)?ce(n):window,p=f.visualViewport,y=!tr()&&i,w=(s.left+(y&&p?p.offsetLeft:0))/a,b=(s.top+(y&&p?p.offsetTop:0))/u,S=s.width/a,k=s.height/u;return{width:S,height:k,top:b,right:w+S,bottom:b+k,left:w,x:w,y:b}}function xn(n){var t=ii(n),i=n.offsetWidth,s=n.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:n.offsetLeft,y:n.offsetTop,width:i,height:s}}function er(n,t){var i=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(i&&ls(i)){var s=t;do{if(s&&n.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Be(n){return ce(n).getComputedStyle(n)}function fl(n){return["table","td","th"].indexOf(Te(n))>=0}function ke(n){return((ei(n)?n.ownerDocument:n.document)||window.document).documentElement}function Ni(n){return Te(n)==="html"?n:n.assignedSlot||n.parentNode||(ls(n)?n.host:null)||ke(n)}function qc(n){return!_e(n)||Be(n).position==="fixed"?null:n.offsetParent}function hp(n){var t=/firefox/i.test(us()),i=/Trident/i.test(us());if(i&&_e(n)){var s=Be(n);if(s.position==="fixed")return null}var a=Ni(n);for(ls(a)&&(a=a.host);_e(a)&&["html","body"].indexOf(Te(a))<0;){var u=Be(a);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||t&&u.willChange==="filter"||t&&u.filter&&u.filter!=="none")return a;a=a.parentNode}return null}function mi(n){for(var t=ce(n),i=qc(n);i&&fl(i)&&Be(i).position==="static";)i=qc(i);return i&&(Te(i)==="html"||Te(i)==="body"&&Be(i).position==="static")?t:i||hp(n)||t}function Dn(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function kn(n,t,i){return pi(n,Tn(t,i))}function Gc(n,t,i){var s=kn(n,t,i);return s>i?i:s}function ir(){return{top:0,right:0,bottom:0,left:0}}function nr(n){return Object.assign({},ir(),n)}function sr(n,t){return t.reduce(function(i,s){return i[s]=n,i},{})}var pp=function(t,i){return t=typeof t=="function"?t(Object.assign({},i.rects,{placement:i.placement})):t,nr(typeof t!="number"?t:sr(t,Oi))};function mp(n){var t,i=n.state,s=n.name,a=n.options,u=i.elements.arrow,f=i.modifiersData.popperOffsets,p=xe(i.placement),y=Dn(p),w=[de,fe].indexOf(p)>=0,b=w?"height":"width";if(!(!u||!f)){var S=pp(a.padding,i),k=xn(u),P=y==="y"?le:de,D=y==="y"?me:fe,B=i.rects.reference[b]+i.rects.reference[y]-f[y]-i.rects.popper[b],et=f[y]-i.rects.reference[y],Q=mi(u),lt=Q?y==="y"?Q.clientHeight||0:Q.clientWidth||0:0,x=B/2-et/2,O=S[P],M=lt-k[b]-S[D],$=lt/2-k[b]/2+x,V=kn(O,$,M),j=y;i.modifiersData[s]=(t={},t[j]=V,t.centerOffset=V-$,t)}}function gp(n){var t=n.state,i=n.options,s=i.element,a=s===void 0?"[data-popper-arrow]":s;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||er(t.elements.popper,a)&&(t.elements.arrow=a))}var Zr={name:"arrow",enabled:!0,phase:"main",fn:mp,effect:gp,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ni(n){return n.split("-")[1]}var wp={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yp(n){var t=n.x,i=n.y,s=window,a=s.devicePixelRatio||1;return{x:Pi(t*a)/a||0,y:Pi(i*a)/a||0}}function Kc(n){var t,i=n.popper,s=n.popperRect,a=n.placement,u=n.variation,f=n.offsets,p=n.position,y=n.gpuAcceleration,w=n.adaptive,b=n.roundOffsets,S=n.isFixed,k=f.x,P=k===void 0?0:k,D=f.y,B=D===void 0?0:D,et=typeof b=="function"?b({x:P,y:B}):{x:P,y:B};P=et.x,B=et.y;var Q=f.hasOwnProperty("x"),lt=f.hasOwnProperty("y"),x=de,O=le,M=window;if(w){var $=mi(i),V="clientHeight",j="clientWidth";if($===ce(i)&&($=ke(i),Be($).position!=="static"&&p==="absolute"&&(V="scrollHeight",j="scrollWidth")),$=$,a===le||(a===de||a===fe)&&u===Qi){O=me;var H=S&&$===M&&M.visualViewport?M.visualViewport.height:$[V];B-=H-s.height,B*=y?1:-1}if(a===de||(a===le||a===me)&&u===Qi){x=fe;var Y=S&&$===M&&M.visualViewport?M.visualViewport.width:$[j];P-=Y-s.width,P*=y?1:-1}}var Z=Object.assign({position:p},w&&wp),J=b===!0?yp({x:P,y:B}):{x:P,y:B};if(P=J.x,B=J.y,y){var ot;return Object.assign({},Z,(ot={},ot[O]=lt?"0":"",ot[x]=Q?"0":"",ot.transform=(M.devicePixelRatio||1)<=1?"translate("+P+"px, "+B+"px)":"translate3d("+P+"px, "+B+"px, 0)",ot))}return Object.assign({},Z,(t={},t[O]=lt?B+"px":"",t[x]=Q?P+"px":"",t.transform="",t))}function vp(n){var t=n.state,i=n.options,s=i.gpuAcceleration,a=s===void 0?!0:s,u=i.adaptive,f=u===void 0?!0:u,p=i.roundOffsets,y=p===void 0?!0:p;if(!1)var w;var b={placement:xe(t.placement),variation:ni(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Kc(Object.assign({},b,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:f,roundOffsets:y})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Kc(Object.assign({},b,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:y})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ds={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vp,data:{}};var Jr={passive:!0};function bp(n){var t=n.state,i=n.instance,s=n.options,a=s.scroll,u=a===void 0?!0:a,f=s.resize,p=f===void 0?!0:f,y=ce(t.elements.popper),w=[].concat(t.scrollParents.reference,t.scrollParents.popper);return u&&w.forEach(function(b){b.addEventListener("scroll",i.update,Jr)}),p&&y.addEventListener("resize",i.update,Jr),function(){u&&w.forEach(function(b){b.removeEventListener("scroll",i.update,Jr)}),p&&y.removeEventListener("resize",i.update,Jr)}}var fs={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bp,data:{}};var _p={left:"right",right:"left",bottom:"top",top:"bottom"};function hs(n){return n.replace(/left|right|bottom|top/g,function(t){return _p[t]})}var Ep={start:"end",end:"start"};function Qr(n){return n.replace(/start|end/g,function(t){return Ep[t]})}function On(n){var t=ce(n),i=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:i,scrollTop:s}}function Pn(n){return ii(ke(n)).left+On(n).scrollLeft}function hl(n,t){var i=ce(n),s=ke(n),a=i.visualViewport,u=s.clientWidth,f=s.clientHeight,p=0,y=0;if(a){u=a.width,f=a.height;var w=tr();(w||!w&&t==="fixed")&&(p=a.offsetLeft,y=a.offsetTop)}return{width:u,height:f,x:p+Pn(n),y}}function pl(n){var t,i=ke(n),s=On(n),a=(t=n.ownerDocument)==null?void 0:t.body,u=pi(i.scrollWidth,i.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),f=pi(i.scrollHeight,i.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),p=-s.scrollLeft+Pn(n),y=-s.scrollTop;return Be(a||i).direction==="rtl"&&(p+=pi(i.clientWidth,a?a.clientWidth:0)-u),{width:u,height:f,x:p,y}}function Nn(n){var t=Be(n),i=t.overflow,s=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+a+s)}function to(n){return["html","body","#document"].indexOf(Te(n))>=0?n.ownerDocument.body:_e(n)&&Nn(n)?n:to(Ni(n))}function tn(n,t){var i;t===void 0&&(t=[]);var s=to(n),a=s===((i=n.ownerDocument)==null?void 0:i.body),u=ce(s),f=a?[u].concat(u.visualViewport||[],Nn(s)?s:[]):s,p=t.concat(f);return a?p:p.concat(tn(Ni(f)))}function ps(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Sp(n,t){var i=ii(n,!1,t==="fixed");return i.top=i.top+n.clientTop,i.left=i.left+n.clientLeft,i.bottom=i.top+n.clientHeight,i.right=i.left+n.clientWidth,i.width=n.clientWidth,i.height=n.clientHeight,i.x=i.left,i.y=i.top,i}function Xc(n,t,i){return t===Js?ps(hl(n,i)):ei(t)?Sp(t,i):ps(pl(ke(n)))}function Cp(n){var t=tn(Ni(n)),i=["absolute","fixed"].indexOf(Be(n).position)>=0,s=i&&_e(n)?mi(n):n;return ei(s)?t.filter(function(a){return ei(a)&&er(a,s)&&Te(a)!=="body"}):[]}function ml(n,t,i,s){var a=t==="clippingParents"?Cp(n):[].concat(t),u=[].concat(a,[i]),f=u[0],p=u.reduce(function(y,w){var b=Xc(n,w,s);return y.top=pi(b.top,y.top),y.right=Tn(b.right,y.right),y.bottom=Tn(b.bottom,y.bottom),y.left=pi(b.left,y.left),y},Xc(n,f,s));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function rr(n){var t=n.reference,i=n.element,s=n.placement,a=s?xe(s):null,u=s?ni(s):null,f=t.x+t.width/2-i.width/2,p=t.y+t.height/2-i.height/2,y;switch(a){case le:y={x:f,y:t.y-i.height};break;case me:y={x:f,y:t.y+t.height};break;case fe:y={x:t.x+t.width,y:p};break;case de:y={x:t.x-i.width,y:p};break;default:y={x:t.x,y:t.y}}var w=a?Dn(a):null;if(w!=null){var b=w==="y"?"height":"width";switch(u){case Ei:y[w]=y[w]-(t[b]/2-i[b]/2);break;case Qi:y[w]=y[w]+(t[b]/2-i[b]/2);break;default:}}return y}function Ye(n,t){t===void 0&&(t={});var i=t,s=i.placement,a=s===void 0?n.placement:s,u=i.strategy,f=u===void 0?n.strategy:u,p=i.boundary,y=p===void 0?ul:p,w=i.rootBoundary,b=w===void 0?Js:w,S=i.elementContext,k=S===void 0?An:S,P=i.altBoundary,D=P===void 0?!1:P,B=i.padding,et=B===void 0?0:B,Q=nr(typeof et!="number"?et:sr(et,Oi)),lt=k===An?dl:An,x=n.rects.popper,O=n.elements[D?lt:k],M=ml(ei(O)?O:O.contextElement||ke(n.elements.popper),y,b,f),$=ii(n.elements.reference),V=rr({reference:$,element:x,strategy:"absolute",placement:a}),j=ps(Object.assign({},x,V)),H=k===An?j:$,Y={top:M.top-H.top+Q.top,bottom:H.bottom-M.bottom+Q.bottom,left:M.left-H.left+Q.left,right:H.right-M.right+Q.right},Z=n.modifiersData.offset;if(k===An&&Z){var J=Z[a];Object.keys(Y).forEach(function(ot){var Et=[fe,me].indexOf(ot)>=0?1:-1,Ht=[le,me].indexOf(ot)>=0?"y":"x";Y[ot]+=J[Ht]*Et})}return Y}function gl(n,t){t===void 0&&(t={});var i=t,s=i.placement,a=i.boundary,u=i.rootBoundary,f=i.padding,p=i.flipVariations,y=i.allowedAutoPlacements,w=y===void 0?Qs:y,b=ni(s),S=b?p?Kr:Kr.filter(function(D){return ni(D)===b}):Oi,k=S.filter(function(D){return w.indexOf(D)>=0});k.length===0&&(k=S);var P=k.reduce(function(D,B){return D[B]=Ye(n,{placement:B,boundary:a,rootBoundary:u,padding:f})[xe(B)],D},{});return Object.keys(P).sort(function(D,B){return P[D]-P[B]})}function Ap(n){if(xe(n)===Zs)return[];var t=hs(n);return[Qr(n),t,Qr(t)]}function Tp(n){var t=n.state,i=n.options,s=n.name;if(!t.modifiersData[s]._skip){for(var a=i.mainAxis,u=a===void 0?!0:a,f=i.altAxis,p=f===void 0?!0:f,y=i.fallbackPlacements,w=i.padding,b=i.boundary,S=i.rootBoundary,k=i.altBoundary,P=i.flipVariations,D=P===void 0?!0:P,B=i.allowedAutoPlacements,et=t.options.placement,Q=xe(et),lt=Q===et,x=y||(lt||!D?[hs(et)]:Ap(et)),O=[et].concat(x).reduce(function(Xt,wt){return Xt.concat(xe(wt)===Zs?gl(t,{placement:wt,boundary:b,rootBoundary:S,padding:w,flipVariations:D,allowedAutoPlacements:B}):wt)},[]),M=t.rects.reference,$=t.rects.popper,V=new Map,j=!0,H=O[0],Y=0;Y<O.length;Y++){var Z=O[Y],J=xe(Z),ot=ni(Z)===Ei,Et=[le,me].indexOf(J)>=0,Ht=Et?"width":"height",Nt=Ye(t,{placement:Z,boundary:b,rootBoundary:S,altBoundary:k,padding:w}),$t=Et?ot?fe:de:ot?me:le;M[Ht]>$[Ht]&&($t=hs($t));var Bt=hs($t),gt=[];if(u&>.push(Nt[J]<=0),p&>.push(Nt[$t]<=0,Nt[Bt]<=0),gt.every(function(Xt){return Xt})){H=Z,j=!1;break}V.set(Z,gt)}if(j)for(var Jt=D?3:1,oe=function(wt){var pt=O.find(function(At){var Yt=V.get(At);if(Yt)return Yt.slice(0,wt).every(function(Ee){return Ee})});if(pt)return H=pt,"break"},Mt=Jt;Mt>0;Mt--){var K=oe(Mt);if(K==="break")break}t.placement!==H&&(t.modifiersData[s]._skip=!0,t.placement=H,t.reset=!0)}}var eo={name:"flip",enabled:!0,phase:"main",fn:Tp,requiresIfExists:["offset"],data:{_skip:!1}};function Zc(n,t,i){return i===void 0&&(i={x:0,y:0}),{top:n.top-t.height-i.y,right:n.right-t.width+i.x,bottom:n.bottom-t.height+i.y,left:n.left-t.width-i.x}}function Jc(n){return[le,fe,me,de].some(function(t){return n[t]>=0})}function xp(n){var t=n.state,i=n.name,s=t.rects.reference,a=t.rects.popper,u=t.modifiersData.preventOverflow,f=Ye(t,{elementContext:"reference"}),p=Ye(t,{altBoundary:!0}),y=Zc(f,s),w=Zc(p,a,u),b=Jc(y),S=Jc(w);t.modifiersData[i]={referenceClippingOffsets:y,popperEscapeOffsets:w,isReferenceHidden:b,hasPopperEscaped:S},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":b,"data-popper-escaped":S})}var io={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:xp};function Dp(n,t,i){var s=xe(n),a=[de,le].indexOf(s)>=0?-1:1,u=typeof i=="function"?i(Object.assign({},t,{placement:n})):i,f=u[0],p=u[1];return f=f||0,p=(p||0)*a,[de,fe].indexOf(s)>=0?{x:p,y:f}:{x:f,y:p}}function kp(n){var t=n.state,i=n.options,s=n.name,a=i.offset,u=a===void 0?[0,0]:a,f=Qs.reduce(function(b,S){return b[S]=Dp(S,t.rects,u),b},{}),p=f[t.placement],y=p.x,w=p.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=y,t.modifiersData.popperOffsets.y+=w),t.modifiersData[s]=f}var no={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:kp};function Op(n){var t=n.state,i=n.name;t.modifiersData[i]=rr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ms={name:"popperOffsets",enabled:!0,phase:"read",fn:Op,data:{}};function wl(n){return n==="x"?"y":"x"}function Pp(n){var t=n.state,i=n.options,s=n.name,a=i.mainAxis,u=a===void 0?!0:a,f=i.altAxis,p=f===void 0?!1:f,y=i.boundary,w=i.rootBoundary,b=i.altBoundary,S=i.padding,k=i.tether,P=k===void 0?!0:k,D=i.tetherOffset,B=D===void 0?0:D,et=Ye(t,{boundary:y,rootBoundary:w,padding:S,altBoundary:b}),Q=xe(t.placement),lt=ni(t.placement),x=!lt,O=Dn(Q),M=wl(O),$=t.modifiersData.popperOffsets,V=t.rects.reference,j=t.rects.popper,H=typeof B=="function"?B(Object.assign({},t.rects,{placement:t.placement})):B,Y=typeof H=="number"?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),Z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,J={x:0,y:0};if($){if(u){var ot,Et=O==="y"?le:de,Ht=O==="y"?me:fe,Nt=O==="y"?"height":"width",$t=$[O],Bt=$t+et[Et],gt=$t-et[Ht],Jt=P?-j[Nt]/2:0,oe=lt===Ei?V[Nt]:j[Nt],Mt=lt===Ei?-j[Nt]:-V[Nt],K=t.elements.arrow,Xt=P&&K?xn(K):{width:0,height:0},wt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ir(),pt=wt[Et],At=wt[Ht],Yt=kn(0,V[Nt],Xt[Nt]),Ee=x?V[Nt]/2-Jt-Yt-pt-Y.mainAxis:oe-Yt-pt-Y.mainAxis,zt=x?-V[Nt]/2+Jt+Yt+At+Y.mainAxis:Mt+Yt+At+Y.mainAxis,Tt=t.elements.arrow&&mi(t.elements.arrow),St=Tt?O==="y"?Tt.clientTop||0:Tt.clientLeft||0:0,ne=(ot=Z?.[O])!=null?ot:0,rt=$t+Ee-ne-St,he=$t+zt-ne,Oe=kn(P?Tn(Bt,rt):Bt,$t,P?pi(gt,he):gt);$[O]=Oe,J[O]=Oe-$t}if(p){var We,jt=O==="x"?le:de,Ct=O==="x"?me:fe,Qt=$[M],Pe=M==="y"?"height":"width",se=Qt+et[jt],ae=Qt-et[Ct],ai=[le,de].indexOf(Q)!==-1,ze=(We=Z?.[M])!=null?We:0,ue=ai?se:Qt-V[Pe]-j[Pe]-ze+Y.altAxis,ht=ai?Qt+V[Pe]+j[Pe]-ze-Y.altAxis:ae,Fe=P&&ai?Gc(ue,Qt,ht):kn(P?ue:se,Qt,P?ht:ae);$[M]=Fe,J[M]=Fe-Qt}t.modifiersData[s]=J}}var so={name:"preventOverflow",enabled:!0,phase:"main",fn:Pp,requiresIfExists:["offset"]};function yl(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function vl(n){return n===ce(n)||!_e(n)?On(n):yl(n)}function Np(n){var t=n.getBoundingClientRect(),i=Pi(t.width)/n.offsetWidth||1,s=Pi(t.height)/n.offsetHeight||1;return i!==1||s!==1}function bl(n,t,i){i===void 0&&(i=!1);var s=_e(t),a=_e(t)&&Np(t),u=ke(t),f=ii(n,a,i),p={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(s||!s&&!i)&&((Te(t)!=="body"||Nn(u))&&(p=vl(t)),_e(t)?(y=ii(t,!0),y.x+=t.clientLeft,y.y+=t.clientTop):u&&(y.x=Pn(u))),{x:f.left+p.scrollLeft-y.x,y:f.top+p.scrollTop-y.y,width:f.width,height:f.height}}function Mp(n){var t=new Map,i=new Set,s=[];n.forEach(function(u){t.set(u.name,u)});function a(u){i.add(u.name);var f=[].concat(u.requires||[],u.requiresIfExists||[]);f.forEach(function(p){if(!i.has(p)){var y=t.get(p);y&&a(y)}}),s.push(u)}return n.forEach(function(u){i.has(u.name)||a(u)}),s}function _l(n){var t=Mp(n);return Xr.reduce(function(i,s){return i.concat(t.filter(function(a){return a.phase===s}))},[])}function El(n){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(n())})})),t}}function Sl(n){var t=n.reduce(function(i,s){var a=i[s.name];return i[s.name]=a?Object.assign({},a,s,{options:Object.assign({},a.options,s.options),data:Object.assign({},a.data,s.data)}):s,i},{});return Object.keys(t).map(function(i){return t[i]})}var Qc={placement:"bottom",modifiers:[],strategy:"absolute"};function tu(){for(var n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];return!t.some(function(s){return!(s&&typeof s.getBoundingClientRect=="function")})}function Mn(n){n===void 0&&(n={});var t=n,i=t.defaultModifiers,s=i===void 0?[]:i,a=t.defaultOptions,u=a===void 0?Qc:a;return function(p,y,w){w===void 0&&(w=u);var b={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qc,u),modifiersData:{},elements:{reference:p,popper:y},attributes:{},styles:{}},S=[],k=!1,P={state:b,setOptions:function(Q){var lt=typeof Q=="function"?Q(b.options):Q;B(),b.options=Object.assign({},u,b.options,lt),b.scrollParents={reference:ei(p)?tn(p):p.contextElement?tn(p.contextElement):[],popper:tn(y)};var x=_l(Sl([].concat(s,b.options.modifiers)));if(b.orderedModifiers=x.filter(function(Z){return Z.enabled}),!1){var O;if(GE(b.options.placement)===QE)var M;var $,V,j,H,Y}return D(),P.update()},forceUpdate:function(){if(!k){var Q=b.elements,lt=Q.reference,x=Q.popper;if(tu(lt,x)){b.rects={reference:bl(lt,mi(x),b.options.strategy==="fixed"),popper:xn(x)},b.reset=!1,b.placement=b.options.placement,b.orderedModifiers.forEach(function(Z){return b.modifiersData[Z.name]=Object.assign({},Z.data)});for(var O=0,M=0;M<b.orderedModifiers.length;M++){if(b.reset===!0){b.reset=!1,M=-1;continue}var $=b.orderedModifiers[M],V=$.fn,j=$.options,H=j===void 0?{}:j,Y=$.name;typeof V=="function"&&(b=V({state:b,options:H,name:Y,instance:P})||b)}}}},update:El(function(){return new Promise(function(et){P.forceUpdate(),et(b)})}),destroy:function(){B(),k=!0}};if(!tu(p,y))return P;P.setOptions(w).then(function(et){!k&&w.onFirstUpdate&&w.onFirstUpdate(et)});function D(){b.orderedModifiers.forEach(function(et){var Q=et.name,lt=et.options,x=lt===void 0?{}:lt,O=et.effect;if(typeof O=="function"){var M=O({state:b,name:Q,instance:P,options:x}),$=function(){};S.push(M||$)}})}function B(){S.forEach(function(et){return et()}),S=[]}return P}}var eu=Mn();var Lp=[fs,ms,ds,cs],Cl=Mn({defaultModifiers:Lp});var Ip=[fs,ms,ds,cs,no,eo,so,Zr,io],or=Mn({defaultModifiers:Ip});var Rp=1e6,$p=1e3,Bl="transitionend",Bp=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),Yp=n=>{do n+=Math.floor(Math.random()*Rp);while(document.getElementById(n));return n},ku=n=>{let t=n.getAttribute("data-bs-target");if(!t||t==="#"){let i=n.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&i!=="#"?i.trim():null}return t},Ou=n=>{let t=ku(n);return t&&document.querySelector(t)?t:null},Li=n=>{let t=ku(n);return t?document.querySelector(t):null},Wp=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(n),s=Number.parseFloat(t),a=Number.parseFloat(i);return!s&&!a?0:(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*$p)},Pu=n=>{n.dispatchEvent(new Event(Bl))},Ii=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),nn=n=>Ii(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(n):null,Ss=n=>{if(!Ii(n)||n.getClientRects().length===0)return!1;let t=getComputedStyle(n).getPropertyValue("visibility")==="visible",i=n.closest("details:not([open])");if(!i)return t;if(i!==n){let s=n.closest("summary");if(s&&s.parentNode!==i||s===null)return!1}return t},sn=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Nu=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){let t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?Nu(n.parentNode):null},mo=()=>{},ur=n=>{n.offsetHeight},Mu=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Al=[],Fp=n=>{document.readyState==="loading"?(Al.length||document.addEventListener("DOMContentLoaded",()=>{for(let t of Al)t()}),Al.push(n)):n()},si=()=>document.documentElement.dir==="rtl",ri=n=>{Fp(()=>{let t=Mu();if(t){let i=n.NAME,s=t.fn[i];t.fn[i]=n.jQueryInterface,t.fn[i].Constructor=n,t.fn[i].noConflict=()=>(t.fn[i]=s,n.jQueryInterface)}})},Mi=n=>{typeof n=="function"&&n()},Lu=(n,t,i=!0)=>{if(!i){Mi(n);return}let s=5,a=Wp(t)+s,u=!1,f=({target:p})=>{p===t&&(u=!0,t.removeEventListener(Bl,f),Mi(n))};t.addEventListener(Bl,f),setTimeout(()=>{u||Pu(t)},a)},Vl=(n,t,i,s)=>{let a=n.length,u=n.indexOf(t);return u===-1?!i&&s?n[a-1]:n[0]:(u+=i?1:-1,s&&(u=(u+a)%a),n[Math.max(0,Math.min(u,a-1))])},Vp=/[^.]*(?=\..*)\.|.*/,Hp=/\..*/,zp=/::\d+$/,Tl={},iu=1,Iu={mouseenter:"mouseover",mouseleave:"mouseout"},jp=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Ru(n,t){return t&&`${t}::${iu++}`||n.uidEvent||iu++}function $u(n){let t=Ru(n);return n.uidEvent=t,Tl[t]=Tl[t]||{},Tl[t]}function Up(n,t){return function i(s){return Hl(s,{delegateTarget:n}),i.oneOff&&F.off(n,s.type,t),t.apply(n,[s])}}function qp(n,t,i){return function s(a){let u=n.querySelectorAll(t);for(let{target:f}=a;f&&f!==this;f=f.parentNode)for(let p of u)if(p===f)return Hl(a,{delegateTarget:f}),s.oneOff&&F.off(n,a.type,t,i),i.apply(f,[a])}}function Bu(n,t,i=null){return Object.values(n).find(s=>s.callable===t&&s.delegationSelector===i)}function Yu(n,t,i){let s=typeof t=="string",a=s?i:t||i,u=Wu(n);return jp.has(u)||(u=n),[s,a,u]}function nu(n,t,i,s,a){if(typeof t!="string"||!n)return;let[u,f,p]=Yu(t,i,s);t in Iu&&(f=(D=>function(B){if(!B.relatedTarget||B.relatedTarget!==B.delegateTarget&&!B.delegateTarget.contains(B.relatedTarget))return D.call(this,B)})(f));let y=$u(n),w=y[p]||(y[p]={}),b=Bu(w,f,u?i:null);if(b){b.oneOff=b.oneOff&&a;return}let S=Ru(f,t.replace(Vp,"")),k=u?qp(n,i,f):Up(n,f);k.delegationSelector=u?i:null,k.callable=f,k.oneOff=a,k.uidEvent=S,w[S]=k,n.addEventListener(p,k,u)}function Yl(n,t,i,s,a){let u=Bu(t[i],s,a);u&&(n.removeEventListener(i,u,!!a),delete t[i][u.uidEvent])}function Gp(n,t,i,s){let a=t[i]||{};for(let u of Object.keys(a))if(u.includes(s)){let f=a[u];Yl(n,t,i,f.callable,f.delegationSelector)}}function Wu(n){return n=n.replace(Hp,""),Iu[n]||n}var F={on(n,t,i,s){nu(n,t,i,s,!1)},one(n,t,i,s){nu(n,t,i,s,!0)},off(n,t,i,s){if(typeof t!="string"||!n)return;let[a,u,f]=Yu(t,i,s),p=f!==t,y=$u(n),w=y[f]||{},b=t.startsWith(".");if(typeof u<"u"){if(!Object.keys(w).length)return;Yl(n,y,f,u,a?i:null);return}if(b)for(let S of Object.keys(y))Gp(n,y,S,t.slice(1));for(let S of Object.keys(w)){let k=S.replace(zp,"");if(!p||t.includes(k)){let P=w[S];Yl(n,y,f,P.callable,P.delegationSelector)}}},trigger(n,t,i){if(typeof t!="string"||!n)return null;let s=Mu(),a=Wu(t),u=t!==a,f=null,p=!0,y=!0,w=!1;u&&s&&(f=s.Event(t,i),s(n).trigger(f),p=!f.isPropagationStopped(),y=!f.isImmediatePropagationStopped(),w=f.isDefaultPrevented());let b=new Event(t,{bubbles:p,cancelable:!0});return b=Hl(b,i),w&&b.preventDefault(),y&&n.dispatchEvent(b),b.defaultPrevented&&f&&f.preventDefault(),b}};function Hl(n,t){for(let[i,s]of Object.entries(t||{}))try{n[i]=s}catch{Object.defineProperty(n,i,{configurable:!0,get(){return s}})}return n}var en=new Map,xl={set(n,t,i){en.has(n)||en.set(n,new Map);let s=en.get(n);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,i)},get(n,t){return en.has(n)&&en.get(n).get(t)||null},remove(n,t){if(!en.has(n))return;let i=en.get(n);i.delete(t),i.size===0&&en.delete(n)}};function su(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function Dl(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var Ri={setDataAttribute(n,t,i){n.setAttribute(`data-bs-${Dl(t)}`,i)},removeDataAttribute(n,t){n.removeAttribute(`data-bs-${Dl(t)}`)},getDataAttributes(n){if(!n)return{};let t={},i=Object.keys(n.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(let s of i){let a=s.replace(/^bs/,"");a=a.charAt(0).toLowerCase()+a.slice(1,a.length),t[a]=su(n.dataset[s])}return t},getDataAttribute(n,t){return su(n.getAttribute(`data-bs-${Dl(t)}`))}},Rn=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,i){let s=Ii(i)?Ri.getDataAttribute(i,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...Ii(i)?Ri.getDataAttributes(i):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,i=this.constructor.DefaultType){for(let s of Object.keys(i)){let a=i[s],u=t[s],f=Ii(u)?"element":Bp(u);if(!new RegExp(a).test(f))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${f}" but expected type "${a}".`)}}},Kp="5.2.3",Ge=class extends Rn{constructor(t,i){super(),t=nn(t),t&&(this._element=t,this._config=this._getConfig(i),xl.set(this._element,this.constructor.DATA_KEY,this))}dispose(){xl.remove(this._element,this.constructor.DATA_KEY),F.off(this._element,this.constructor.EVENT_KEY);for(let t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,i,s=!0){Lu(t,i,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return xl.get(nn(t),this.DATA_KEY)}static getOrCreateInstance(t,i={}){return this.getInstance(t)||new this(t,typeof i=="object"?i:null)}static get VERSION(){return Kp}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},vo=(n,t="hide")=>{let i=`click.dismiss${n.EVENT_KEY}`,s=n.NAME;F.on(document,i,`[data-bs-dismiss="${s}"]`,function(a){if(["A","AREA"].includes(this.tagName)&&a.preventDefault(),sn(this))return;let u=Li(this)||this.closest(`.${s}`);n.getOrCreateInstance(u)[t]()})},Xp="alert",Zp="bs.alert",Fu=`.${Zp}`,Jp=`close${Fu}`,Qp=`closed${Fu}`,tm="fade",em="show",$n=class extends Ge{static get NAME(){return Xp}close(){if(F.trigger(this._element,Jp).defaultPrevented)return;this._element.classList.remove(em);let i=this._element.classList.contains(tm);this._queueCallback(()=>this._destroyElement(),this._element,i)}_destroyElement(){this._element.remove(),F.trigger(this._element,Qp),this.dispose()}static jQueryInterface(t){return this.each(function(){let i=$n.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t](this)}})}};vo($n,"close");ri($n);var im="button",nm="bs.button",sm=`.${nm}`,rm=".data-api",om="active",ru='[data-bs-toggle="button"]',am=`click${sm}${rm}`,Bn=class extends Ge{static get NAME(){return im}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(om))}static jQueryInterface(t){return this.each(function(){let i=Bn.getOrCreateInstance(this);t==="toggle"&&i[t]()})}};F.on(document,am,ru,n=>{n.preventDefault();let t=n.target.closest(ru);Bn.getOrCreateInstance(t).toggle()});ri(Bn);var bt={find(n,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,n))},findOne(n,t=document.documentElement){return Element.prototype.querySelector.call(t,n)},children(n,t){return[].concat(...n.children).filter(i=>i.matches(t))},parents(n,t){let i=[],s=n.parentNode.closest(t);for(;s;)i.push(s),s=s.parentNode.closest(t);return i},prev(n,t){let i=n.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(n,t){let i=n.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(n){let t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(i=>`${i}:not([tabindex^="-"])`).join(",");return this.find(t,n).filter(i=>!sn(i)&&Ss(i))}},lm="swipe",Cs=".bs.swipe",cm=`touchstart${Cs}`,um=`touchmove${Cs}`,dm=`touchend${Cs}`,fm=`pointerdown${Cs}`,hm=`pointerup${Cs}`,pm="touch",mm="pen",gm="pointer-event",wm=40,ym={endCallback:null,leftCallback:null,rightCallback:null},vm={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},_s=class extends Rn{constructor(t,i){super(),this._element=t,!(!t||!_s.isSupported())&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ym}static get DefaultType(){return vm}static get NAME(){return lm}dispose(){F.off(this._element,Cs)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Mi(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){let t=Math.abs(this._deltaX);if(t<=wm)return;let i=t/this._deltaX;this._deltaX=0,i&&Mi(i>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(F.on(this._element,fm,t=>this._start(t)),F.on(this._element,hm,t=>this._end(t)),this._element.classList.add(gm)):(F.on(this._element,cm,t=>this._start(t)),F.on(this._element,um,t=>this._move(t)),F.on(this._element,dm,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===mm||t.pointerType===pm)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},bm="carousel",_m="bs.carousel",an=`.${_m}`,Vu=".data-api",Em="ArrowLeft",Sm="ArrowRight",Cm=500,ar="next",gs="prev",ys="left",ho="right",Am=`slide${an}`,kl=`slid${an}`,Tm=`keydown${an}`,xm=`mouseenter${an}`,Dm=`mouseleave${an}`,km=`dragstart${an}`,Om=`load${an}${Vu}`,Pm=`click${an}${Vu}`,Hu="carousel",oo="active",Nm="slide",Mm="carousel-item-end",Lm="carousel-item-start",Im="carousel-item-next",Rm="carousel-item-prev",zu=".active",ju=".carousel-item",$m=zu+ju,Bm=".carousel-item img",Ym=".carousel-indicators",Wm="[data-bs-slide], [data-bs-slide-to]",Fm='[data-bs-ride="carousel"]',Vm={[Em]:ho,[Sm]:ys},Hm={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},zm={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},rn=class extends Ge{constructor(t,i){super(t,i),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=bt.findOne(Ym,this._element),this._addEventListeners(),this._config.ride===Hu&&this.cycle()}static get Default(){return Hm}static get DefaultType(){return zm}static get NAME(){return bm}next(){this._slide(ar)}nextWhenVisible(){!document.hidden&&Ss(this._element)&&this.next()}prev(){this._slide(gs)}pause(){this._isSliding&&Pu(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){F.one(this._element,kl,()=>this.cycle());return}this.cycle()}}to(t){let i=this._getItems();if(t>i.length-1||t<0)return;if(this._isSliding){F.one(this._element,kl,()=>this.to(t));return}let s=this._getItemIndex(this._getActive());if(s===t)return;let a=t>s?ar:gs;this._slide(a,i[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&F.on(this._element,Tm,t=>this._keydown(t)),this._config.pause==="hover"&&(F.on(this._element,xm,()=>this.pause()),F.on(this._element,Dm,()=>this._maybeEnableCycle())),this._config.touch&&_s.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let s of bt.find(Bm,this._element))F.on(s,km,a=>a.preventDefault());let i={leftCallback:()=>this._slide(this._directionToOrder(ys)),rightCallback:()=>this._slide(this._directionToOrder(ho)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Cm+this._config.interval))}};this._swipeHelper=new _s(this._element,i)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;let i=Vm[t.key];i&&(t.preventDefault(),this._slide(this._directionToOrder(i)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;let i=bt.findOne(zu,this._indicatorsElement);i.classList.remove(oo),i.removeAttribute("aria-current");let s=bt.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(oo),s.setAttribute("aria-current","true"))}_updateInterval(){let t=this._activeElement||this._getActive();if(!t)return;let i=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=i||this._config.defaultInterval}_slide(t,i=null){if(this._isSliding)return;let s=this._getActive(),a=t===ar,u=i||Vl(this._getItems(),s,a,this._config.wrap);if(u===s)return;let f=this._getItemIndex(u),p=P=>F.trigger(this._element,P,{relatedTarget:u,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:f});if(p(Am).defaultPrevented||!s||!u)return;let w=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(f),this._activeElement=u;let b=a?Lm:Mm,S=a?Im:Rm;u.classList.add(S),ur(u),s.classList.add(b),u.classList.add(b);let k=()=>{u.classList.remove(b,S),u.classList.add(oo),s.classList.remove(oo,S,b),this._isSliding=!1,p(kl)};this._queueCallback(k,s,this._isAnimated()),w&&this.cycle()}_isAnimated(){return this._element.classList.contains(Nm)}_getActive(){return bt.findOne($m,this._element)}_getItems(){return bt.find(ju,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return si()?t===ys?gs:ar:t===ys?ar:gs}_orderToDirection(t){return si()?t===gs?ys:ho:t===gs?ho:ys}static jQueryInterface(t){return this.each(function(){let i=rn.getOrCreateInstance(this,t);if(typeof t=="number"){i.to(t);return}if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}};F.on(document,Pm,Wm,function(n){let t=Li(this);if(!t||!t.classList.contains(Hu))return;n.preventDefault();let i=rn.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){i.to(s),i._maybeEnableCycle();return}if(Ri.getDataAttribute(this,"slide")==="next"){i.next(),i._maybeEnableCycle();return}i.prev(),i._maybeEnableCycle()});F.on(window,Om,()=>{let n=bt.find(Fm);for(let t of n)rn.getOrCreateInstance(t)});ri(rn);var jm="collapse",Um="bs.collapse",dr=`.${Um}`,qm=".data-api",Gm=`show${dr}`,Km=`shown${dr}`,Xm=`hide${dr}`,Zm=`hidden${dr}`,Jm=`click${dr}${qm}`,Ol="show",bs="collapse",ao="collapsing",Qm="collapsed",tg=`:scope .${bs} .${bs}`,eg="collapse-horizontal",ig="width",ng="height",sg=".collapse.show, .collapse.collapsing",Wl='[data-bs-toggle="collapse"]',rg={parent:null,toggle:!0},og={parent:"(null|element)",toggle:"boolean"},on=class extends Ge{constructor(t,i){super(t,i),this._isTransitioning=!1,this._triggerArray=[];let s=bt.find(Wl);for(let a of s){let u=Ou(a),f=bt.find(u).filter(p=>p===this._element);u!==null&&f.length&&this._triggerArray.push(a)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return rg}static get DefaultType(){return og}static get NAME(){return jm}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(sg).filter(p=>p!==this._element).map(p=>on.getOrCreateInstance(p,{toggle:!1}))),t.length&&t[0]._isTransitioning||F.trigger(this._element,Gm).defaultPrevented)return;for(let p of t)p.hide();let s=this._getDimension();this._element.classList.remove(bs),this._element.classList.add(ao),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let a=()=>{this._isTransitioning=!1,this._element.classList.remove(ao),this._element.classList.add(bs,Ol),this._element.style[s]="",F.trigger(this._element,Km)},f=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(a,this._element,!0),this._element.style[s]=`${this._element[f]}px`}hide(){if(this._isTransitioning||!this._isShown()||F.trigger(this._element,Xm).defaultPrevented)return;let i=this._getDimension();this._element.style[i]=`${this._element.getBoundingClientRect()[i]}px`,ur(this._element),this._element.classList.add(ao),this._element.classList.remove(bs,Ol);for(let a of this._triggerArray){let u=Li(a);u&&!this._isShown(u)&&this._addAriaAndCollapsedClass([a],!1)}this._isTransitioning=!0;let s=()=>{this._isTransitioning=!1,this._element.classList.remove(ao),this._element.classList.add(bs),F.trigger(this._element,Zm)};this._element.style[i]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ol)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=nn(t.parent),t}_getDimension(){return this._element.classList.contains(eg)?ig:ng}_initializeChildren(){if(!this._config.parent)return;let t=this._getFirstLevelChildren(Wl);for(let i of t){let s=Li(i);s&&this._addAriaAndCollapsedClass([i],this._isShown(s))}}_getFirstLevelChildren(t){let i=bt.find(tg,this._config.parent);return bt.find(t,this._config.parent).filter(s=>!i.includes(s))}_addAriaAndCollapsedClass(t,i){if(t.length)for(let s of t)s.classList.toggle(Qm,!i),s.setAttribute("aria-expanded",i)}static jQueryInterface(t){let i={};return typeof t=="string"&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){let s=on.getOrCreateInstance(this,i);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}};F.on(document,Jm,Wl,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();let t=Ou(this),i=bt.find(t);for(let s of i)on.getOrCreateInstance(s,{toggle:!1}).toggle()});ri(on);var ou="dropdown",ag="bs.dropdown",Fn=`.${ag}`,zl=".data-api",lg="Escape",au="Tab",cg="ArrowUp",lu="ArrowDown",ug=2,dg=`hide${Fn}`,fg=`hidden${Fn}`,hg=`show${Fn}`,pg=`shown${Fn}`,Uu=`click${Fn}${zl}`,qu=`keydown${Fn}${zl}`,mg=`keyup${Fn}${zl}`,vs="show",gg="dropup",wg="dropend",yg="dropstart",vg="dropup-center",bg="dropdown-center",Ln='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',_g=`${Ln}.${vs}`,po=".dropdown-menu",Eg=".navbar",Sg=".navbar-nav",Cg=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ag=si()?"top-end":"top-start",Tg=si()?"top-start":"top-end",xg=si()?"bottom-end":"bottom-start",Dg=si()?"bottom-start":"bottom-end",kg=si()?"left-start":"right-start",Og=si()?"right-start":"left-start",Pg="top",Ng="bottom",Mg={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Lg={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},qe=class extends Ge{constructor(t,i){super(t,i),this._popper=null,this._parent=this._element.parentNode,this._menu=bt.next(this._element,po)[0]||bt.prev(this._element,po)[0]||bt.findOne(po,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Mg}static get DefaultType(){return Lg}static get NAME(){return ou}toggle(){return this._isShown()?this.hide():this.show()}show(){if(sn(this._element)||this._isShown())return;let t={relatedTarget:this._element};if(!F.trigger(this._element,hg,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Sg))for(let s of[].concat(...document.body.children))F.on(s,"mouseover",mo);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(vs),this._element.classList.add(vs),F.trigger(this._element,pg,t)}}hide(){if(sn(this._element)||!this._isShown())return;let t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!F.trigger(this._element,dg,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(let s of[].concat(...document.body.children))F.off(s,"mouseover",mo);this._popper&&this._popper.destroy(),this._menu.classList.remove(vs),this._element.classList.remove(vs),this._element.setAttribute("aria-expanded","false"),Ri.removeDataAttribute(this._menu,"popper"),F.trigger(this._element,fg,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Ii(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${ou.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof ro>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:Ii(this._config.reference)?t=nn(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);let i=this._getPopperConfig();this._popper=or(t,this._menu,i)}_isShown(){return this._menu.classList.contains(vs)}_getPlacement(){let t=this._parent;if(t.classList.contains(wg))return kg;if(t.classList.contains(yg))return Og;if(t.classList.contains(vg))return Pg;if(t.classList.contains(bg))return Ng;let i=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(gg)?i?Tg:Ag:i?Dg:xg}_detectNavbar(){return this._element.closest(Eg)!==null}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(i=>Number.parseInt(i,10)):typeof t=="function"?i=>t(i,this._element):t}_getPopperConfig(){let t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Ri.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...typeof this._config.popperConfig=="function"?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:i}){let s=bt.find(Cg,this._menu).filter(a=>Ss(a));s.length&&Vl(s,i,t===lu,!s.includes(i)).focus()}static jQueryInterface(t){return this.each(function(){let i=qe.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}static clearMenus(t){if(t.button===ug||t.type==="keyup"&&t.key!==au)return;let i=bt.find(_g);for(let s of i){let a=qe.getInstance(s);if(!a||a._config.autoClose===!1)continue;let u=t.composedPath(),f=u.includes(a._menu);if(u.includes(a._element)||a._config.autoClose==="inside"&&!f||a._config.autoClose==="outside"&&f||a._menu.contains(t.target)&&(t.type==="keyup"&&t.key===au||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let p={relatedTarget:a._element};t.type==="click"&&(p.clickEvent=t),a._completeHide(p)}}static dataApiKeydownHandler(t){let i=/input|textarea/i.test(t.target.tagName),s=t.key===lg,a=[cg,lu].includes(t.key);if(!a&&!s||i&&!s)return;t.preventDefault();let u=this.matches(Ln)?this:bt.prev(this,Ln)[0]||bt.next(this,Ln)[0]||bt.findOne(Ln,t.delegateTarget.parentNode),f=qe.getOrCreateInstance(u);if(a){t.stopPropagation(),f.show(),f._selectMenuItem(t);return}f._isShown()&&(t.stopPropagation(),f.hide(),u.focus())}};F.on(document,qu,Ln,qe.dataApiKeydownHandler);F.on(document,qu,po,qe.dataApiKeydownHandler);F.on(document,Uu,qe.clearMenus);F.on(document,mg,qe.clearMenus);F.on(document,Uu,Ln,function(n){n.preventDefault(),qe.getOrCreateInstance(this).toggle()});ri(qe);var cu=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",uu=".sticky-top",lo="padding-right",du="margin-right",cr=class{constructor(){this._element=document.body}getWidth(){let t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){let t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,lo,i=>i+t),this._setElementAttributes(cu,lo,i=>i+t),this._setElementAttributes(uu,du,i=>i-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,lo),this._resetElementAttributes(cu,lo),this._resetElementAttributes(uu,du)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,i,s){let a=this.getWidth(),u=f=>{if(f!==this._element&&window.innerWidth>f.clientWidth+a)return;this._saveInitialAttribute(f,i);let p=window.getComputedStyle(f).getPropertyValue(i);f.style.setProperty(i,`${s(Number.parseFloat(p))}px`)};this._applyManipulationCallback(t,u)}_saveInitialAttribute(t,i){let s=t.style.getPropertyValue(i);s&&Ri.setDataAttribute(t,i,s)}_resetElementAttributes(t,i){let s=a=>{let u=Ri.getDataAttribute(a,i);if(u===null){a.style.removeProperty(i);return}Ri.removeDataAttribute(a,i),a.style.setProperty(i,u)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,i){if(Ii(t)){i(t);return}for(let s of bt.find(t,this._element))i(s)}},Gu="backdrop",Ig="fade",fu="show",hu=`mousedown.bs.${Gu}`,Rg={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},$g={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},go=class extends Rn{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Rg}static get DefaultType(){return $g}static get NAME(){return Gu}show(t){if(!this._config.isVisible){Mi(t);return}this._append();let i=this._getElement();this._config.isAnimated&&ur(i),i.classList.add(fu),this._emulateAnimation(()=>{Mi(t)})}hide(t){if(!this._config.isVisible){Mi(t);return}this._getElement().classList.remove(fu),this._emulateAnimation(()=>{this.dispose(),Mi(t)})}dispose(){this._isAppended&&(F.off(this._element,hu),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){let t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Ig),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=nn(t.rootElement),t}_append(){if(this._isAppended)return;let t=this._getElement();this._config.rootElement.append(t),F.on(t,hu,()=>{Mi(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Lu(t,this._getElement(),this._config.isAnimated)}},Bg="focustrap",Yg="bs.focustrap",wo=`.${Yg}`,Wg=`focusin${wo}`,Fg=`keydown.tab${wo}`,Vg="Tab",Hg="forward",pu="backward",zg={autofocus:!0,trapElement:null},jg={autofocus:"boolean",trapElement:"element"},yo=class extends Rn{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return zg}static get DefaultType(){return jg}static get NAME(){return Bg}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),F.off(document,wo),F.on(document,Wg,t=>this._handleFocusin(t)),F.on(document,Fg,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,F.off(document,wo))}_handleFocusin(t){let{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;let s=bt.focusableChildren(i);s.length===0?i.focus():this._lastTabNavDirection===pu?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===Vg&&(this._lastTabNavDirection=t.shiftKey?pu:Hg)}},Ug="modal",qg="bs.modal",wi=`.${qg}`,Gg=".data-api",Kg="Escape",Xg=`hide${wi}`,Zg=`hidePrevented${wi}`,Ku=`hidden${wi}`,Xu=`show${wi}`,Jg=`shown${wi}`,Qg=`resize${wi}`,tw=`click.dismiss${wi}`,ew=`mousedown.dismiss${wi}`,iw=`keydown.dismiss${wi}`,nw=`click${wi}${Gg}`,mu="modal-open",sw="fade",gu="show",Pl="modal-static",rw=".modal.show",ow=".modal-dialog",aw=".modal-body",lw='[data-bs-toggle="modal"]',cw={backdrop:!0,focus:!0,keyboard:!0},uw={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},$i=class extends Ge{constructor(t,i){super(t,i),this._dialog=bt.findOne(ow,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new cr,this._addEventListeners()}static get Default(){return cw}static get DefaultType(){return uw}static get NAME(){return Ug}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||F.trigger(this._element,Xu,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(mu),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||F.trigger(this._element,Xg).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(gu),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(let t of[window,this._dialog])F.off(t,wi);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new go({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new yo({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;let i=bt.findOne(aw,this._dialog);i&&(i.scrollTop=0),ur(this._element),this._element.classList.add(gu);let s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,F.trigger(this._element,Jg,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){F.on(this._element,iw,t=>{if(t.key===Kg){if(this._config.keyboard){t.preventDefault(),this.hide();return}this._triggerBackdropTransition()}}),F.on(window,Qg,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),F.on(this._element,ew,t=>{F.one(this._element,tw,i=>{if(!(this._element!==t.target||this._element!==i.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(mu),this._resetAdjustments(),this._scrollBar.reset(),F.trigger(this._element,Ku)})}_isAnimated(){return this._element.classList.contains(sw)}_triggerBackdropTransition(){if(F.trigger(this._element,Zg).defaultPrevented)return;let i=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Pl)||(i||(this._element.style.overflowY="hidden"),this._element.classList.add(Pl),this._queueCallback(()=>{this._element.classList.remove(Pl),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),s=i>0;if(s&&!t){let a=si()?"paddingLeft":"paddingRight";this._element.style[a]=`${i}px`}if(!s&&t){let a=si()?"paddingRight":"paddingLeft";this._element.style[a]=`${i}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){let s=$i.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](i)}})}};F.on(document,nw,lw,function(n){let t=Li(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),F.one(t,Xu,a=>{a.defaultPrevented||F.one(t,Ku,()=>{Ss(this)&&this.focus()})});let i=bt.findOne(rw);i&&$i.getInstance(i).hide(),$i.getOrCreateInstance(t).toggle(this)});vo($i);ri($i);var dw="offcanvas",fw="bs.offcanvas",Wi=`.${fw}`,Zu=".data-api",hw=`load${Wi}${Zu}`,pw="Escape",wu="show",yu="showing",vu="hiding",mw="offcanvas-backdrop",Ju=".offcanvas.show",gw=`show${Wi}`,ww=`shown${Wi}`,yw=`hide${Wi}`,bu=`hidePrevented${Wi}`,Qu=`hidden${Wi}`,vw=`resize${Wi}`,bw=`click${Wi}${Zu}`,_w=`keydown.dismiss${Wi}`,Ew='[data-bs-toggle="offcanvas"]',Sw={backdrop:!0,keyboard:!0,scroll:!1},Cw={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},gi=class extends Ge{constructor(t,i){super(t,i),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Sw}static get DefaultType(){return Cw}static get NAME(){return dw}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||F.trigger(this._element,gw,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new cr().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(yu);let s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(wu),this._element.classList.remove(yu),F.trigger(this._element,ww,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||F.trigger(this._element,yw).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(vu),this._backdrop.hide();let i=()=>{this._element.classList.remove(wu,vu),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new cr().reset(),F.trigger(this._element,Qu)};this._queueCallback(i,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let t=()=>{if(this._config.backdrop==="static"){F.trigger(this._element,bu);return}this.hide()},i=!!this._config.backdrop;return new go({className:mw,isVisible:i,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:i?t:null})}_initializeFocusTrap(){return new yo({trapElement:this._element})}_addEventListeners(){F.on(this._element,_w,t=>{if(t.key===pw){if(!this._config.keyboard){F.trigger(this._element,bu);return}this.hide()}})}static jQueryInterface(t){return this.each(function(){let i=gi.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t](this)}})}};F.on(document,bw,Ew,function(n){let t=Li(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),sn(this))return;F.one(t,Qu,()=>{Ss(this)&&this.focus()});let i=bt.findOne(Ju);i&&i!==t&&gi.getInstance(i).hide(),gi.getOrCreateInstance(t).toggle(this)});F.on(window,hw,()=>{for(let n of bt.find(Ju))gi.getOrCreateInstance(n).show()});F.on(window,vw,()=>{for(let n of bt.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&gi.getOrCreateInstance(n).hide()});vo(gi);ri(gi);var Aw=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Tw=/^aria-[\w-]*$/i,xw=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Dw=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,kw=(n,t)=>{let i=n.nodeName.toLowerCase();return t.includes(i)?Aw.has(i)?!!(xw.test(n.nodeValue)||Dw.test(n.nodeValue)):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(i))},td={"*":["class","dir","id","lang","role",Tw],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Ow(n,t,i){if(!n.length)return n;if(i&&typeof i=="function")return i(n);let a=new window.DOMParser().parseFromString(n,"text/html"),u=[].concat(...a.body.querySelectorAll("*"));for(let f of u){let p=f.nodeName.toLowerCase();if(!Object.keys(t).includes(p)){f.remove();continue}let y=[].concat(...f.attributes),w=[].concat(t["*"]||[],t[p]||[]);for(let b of y)kw(b,w)||f.removeAttribute(b.nodeName)}return a.body.innerHTML}var Pw="TemplateFactory",Nw={allowList:td,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Mw={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Lw={entry:"(string|element|function|null)",selector:"(string|element)"},Fl=class extends Rn{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Nw}static get DefaultType(){return Mw}static get NAME(){return Pw}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){let t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(let[a,u]of Object.entries(this._config.content))this._setContent(t,u,a);let i=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&i.classList.add(...s.split(" ")),i}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(let[i,s]of Object.entries(t))super._typeCheckConfig({selector:i,entry:s},Lw)}_setContent(t,i,s){let a=bt.findOne(s,t);if(a){if(i=this._resolvePossibleFunction(i),!i){a.remove();return}if(Ii(i)){this._putElementInTemplate(nn(i),a);return}if(this._config.html){a.innerHTML=this._maybeSanitize(i);return}a.textContent=i}}_maybeSanitize(t){return this._config.sanitize?Ow(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return typeof t=="function"?t(this):t}_putElementInTemplate(t,i){if(this._config.html){i.innerHTML="",i.append(t);return}i.textContent=t.textContent}},Iw="tooltip",Rw=new Set(["sanitize","allowList","sanitizeFn"]),Nl="fade",$w="modal",co="show",Bw=".tooltip-inner",_u=`.${$w}`,Eu="hide.bs.modal",lr="hover",Ml="focus",Yw="click",Ww="manual",Fw="hide",Vw="hidden",Hw="show",zw="shown",jw="inserted",Uw="click",qw="focusin",Gw="focusout",Kw="mouseenter",Xw="mouseleave",Zw={AUTO:"auto",TOP:"top",RIGHT:si()?"left":"right",BOTTOM:"bottom",LEFT:si()?"right":"left"},Jw={allowList:td,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Qw={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"},Bi=class extends Ge{constructor(t,i){if(typeof ro>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,i),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Jw}static get DefaultType(){return Qw}static get NAME(){return Iw}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),F.off(this._element.closest(_u),Eu,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;let t=F.trigger(this._element,this.constructor.eventName(Hw)),s=(Nu(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();let a=this._getTipElement();this._element.setAttribute("aria-describedby",a.getAttribute("id"));let{container:u}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(u.append(a),F.trigger(this._element,this.constructor.eventName(jw))),this._popper=this._createPopper(a),a.classList.add(co),"ontouchstart"in document.documentElement)for(let p of[].concat(...document.body.children))F.on(p,"mouseover",mo);let f=()=>{F.trigger(this._element,this.constructor.eventName(zw)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(f,this.tip,this._isAnimated())}hide(){if(!this._isShown()||F.trigger(this._element,this.constructor.eventName(Fw)).defaultPrevented)return;if(this._getTipElement().classList.remove(co),"ontouchstart"in document.documentElement)for(let a of[].concat(...document.body.children))F.off(a,"mouseover",mo);this._activeTrigger[Yw]=!1,this._activeTrigger[Ml]=!1,this._activeTrigger[lr]=!1,this._isHovered=null;let s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),F.trigger(this._element,this.constructor.eventName(Vw)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){let i=this._getTemplateFactory(t).toHtml();if(!i)return null;i.classList.remove(Nl,co),i.classList.add(`bs-${this.constructor.NAME}-auto`);let s=Yp(this.constructor.NAME).toString();return i.setAttribute("id",s),this._isAnimated()&&i.classList.add(Nl),i}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Fl({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Bw]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Nl)}_isShown(){return this.tip&&this.tip.classList.contains(co)}_createPopper(t){let i=typeof this._config.placement=="function"?this._config.placement.call(this,t,this._element):this._config.placement,s=Zw[i.toUpperCase()];return or(this._element,t,this._getPopperConfig(s))}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(i=>Number.parseInt(i,10)):typeof t=="function"?i=>t(i,this._element):t}_resolvePossibleFunction(t){return typeof t=="function"?t.call(this._element):t}_getPopperConfig(t){let i={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...i,...typeof this._config.popperConfig=="function"?this._config.popperConfig(i):this._config.popperConfig}}_setListeners(){let t=this._config.trigger.split(" ");for(let i of t)if(i==="click")F.on(this._element,this.constructor.eventName(Uw),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(i!==Ww){let s=i===lr?this.constructor.eventName(Kw):this.constructor.eventName(qw),a=i===lr?this.constructor.eventName(Xw):this.constructor.eventName(Gw);F.on(this._element,s,this._config.selector,u=>{let f=this._initializeOnDelegatedTarget(u);f._activeTrigger[u.type==="focusin"?Ml:lr]=!0,f._enter()}),F.on(this._element,a,this._config.selector,u=>{let f=this._initializeOnDelegatedTarget(u);f._activeTrigger[u.type==="focusout"?Ml:lr]=f._element.contains(u.relatedTarget),f._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},F.on(this._element.closest(_u),Eu,this._hideModalHandler)}_fixTitle(){let t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,i){clearTimeout(this._timeout),this._timeout=setTimeout(t,i)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){let i=Ri.getDataAttributes(this._element);for(let s of Object.keys(i))Rw.has(s)&&delete i[s];return t={...i,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:nn(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){let t={};for(let i in this._config)this.constructor.Default[i]!==this._config[i]&&(t[i]=this._config[i]);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){let i=Bi.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}};ri(Bi);var ty="popover",ey=".popover-header",iy=".popover-body",ny={...Bi.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},sy={...Bi.DefaultType,content:"(null|string|element|function)"},Es=class extends Bi{static get Default(){return ny}static get DefaultType(){return sy}static get NAME(){return ty}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[ey]:this._getTitle(),[iy]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let i=Es.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}};ri(Es);var ry="scrollspy",oy="bs.scrollspy",jl=`.${oy}`,ay=".data-api",ly=`activate${jl}`,Su=`click${jl}`,cy=`load${jl}${ay}`,uy="dropdown-item",ws="active",dy='[data-bs-spy="scroll"]',Ll="[href]",fy=".nav, .list-group",Cu=".nav-link",hy=".nav-item",py=".list-group-item",my=`${Cu}, ${hy} > ${Cu}, ${py}`,gy=".dropdown",wy=".dropdown-toggle",yy={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},vy={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},Yn=class extends Ge{constructor(t,i){super(t,i),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return yy}static get DefaultType(){return vy}static get NAME(){return ry}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=nn(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(i=>Number.parseFloat(i))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(F.off(this._config.target,Su),F.on(this._config.target,Su,Ll,t=>{let i=this._observableSections.get(t.target.hash);if(i){t.preventDefault();let s=this._rootElement||window,a=i.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:a,behavior:"smooth"});return}s.scrollTop=a}}))}_getNewObserver(){let t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(i=>this._observerCallback(i),t)}_observerCallback(t){let i=f=>this._targetLinks.get(`#${f.target.id}`),s=f=>{this._previousScrollData.visibleEntryTop=f.target.offsetTop,this._process(i(f))},a=(this._rootElement||document.documentElement).scrollTop,u=a>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=a;for(let f of t){if(!f.isIntersecting){this._activeTarget=null,this._clearActiveClass(i(f));continue}let p=f.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(u&&p){if(s(f),!a)return;continue}!u&&!p&&s(f)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let t=bt.find(Ll,this._config.target);for(let i of t){if(!i.hash||sn(i))continue;let s=bt.findOne(i.hash,this._element);Ss(s)&&(this._targetLinks.set(i.hash,i),this._observableSections.set(i.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(ws),this._activateParents(t),F.trigger(this._element,ly,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(uy)){bt.findOne(wy,t.closest(gy)).classList.add(ws);return}for(let i of bt.parents(t,fy))for(let s of bt.prev(i,my))s.classList.add(ws)}_clearActiveClass(t){t.classList.remove(ws);let i=bt.find(`${Ll}.${ws}`,t);for(let s of i)s.classList.remove(ws)}static jQueryInterface(t){return this.each(function(){let i=Yn.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}};F.on(window,cy,()=>{for(let n of bt.find(dy))Yn.getOrCreateInstance(n)});ri(Yn);var by="tab",_y="bs.tab",Vn=`.${_y}`,Ey=`hide${Vn}`,Sy=`hidden${Vn}`,Cy=`show${Vn}`,Ay=`shown${Vn}`,Ty=`click${Vn}`,xy=`keydown${Vn}`,Dy=`load${Vn}`,ky="ArrowLeft",Au="ArrowRight",Oy="ArrowUp",Tu="ArrowDown",In="active",xu="fade",Il="show",Py="dropdown",Ny=".dropdown-toggle",My=".dropdown-menu",Rl=":not(.dropdown-toggle)",Ly='.list-group, .nav, [role="tablist"]',Iy=".nav-item, .list-group-item",Ry=`.nav-link${Rl}, .list-group-item${Rl}, [role="tab"]${Rl}`,ed='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',$l=`${Ry}, ${ed}`,$y=`.${In}[data-bs-toggle="tab"], .${In}[data-bs-toggle="pill"], .${In}[data-bs-toggle="list"]`,Yi=class extends Ge{constructor(t){super(t),this._parent=this._element.closest(Ly),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),F.on(this._element,xy,i=>this._keydown(i)))}static get NAME(){return by}show(){let t=this._element;if(this._elemIsActive(t))return;let i=this._getActiveElem(),s=i?F.trigger(i,Ey,{relatedTarget:t}):null;F.trigger(t,Cy,{relatedTarget:i}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(i,t),this._activate(t,i))}_activate(t,i){if(!t)return;t.classList.add(In),this._activate(Li(t));let s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Il);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),F.trigger(t,Ay,{relatedTarget:i})};this._queueCallback(s,t,t.classList.contains(xu))}_deactivate(t,i){if(!t)return;t.classList.remove(In),t.blur(),this._deactivate(Li(t));let s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Il);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),F.trigger(t,Sy,{relatedTarget:i})};this._queueCallback(s,t,t.classList.contains(xu))}_keydown(t){if(![ky,Au,Oy,Tu].includes(t.key))return;t.stopPropagation(),t.preventDefault();let i=[Au,Tu].includes(t.key),s=Vl(this._getChildren().filter(a=>!sn(a)),t.target,i,!0);s&&(s.focus({preventScroll:!0}),Yi.getOrCreateInstance(s).show())}_getChildren(){return bt.find($l,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,i){this._setAttributeIfNotExists(t,"role","tablist");for(let s of i)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);let i=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",i),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),i||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){let i=Li(t);i&&(this._setAttributeIfNotExists(i,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(i,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,i){let s=this._getOuterElement(t);if(!s.classList.contains(Py))return;let a=(u,f)=>{let p=bt.findOne(u,s);p&&p.classList.toggle(f,i)};a(Ny,In),a(My,Il),s.setAttribute("aria-expanded",i)}_setAttributeIfNotExists(t,i,s){t.hasAttribute(i)||t.setAttribute(i,s)}_elemIsActive(t){return t.classList.contains(In)}_getInnerElement(t){return t.matches($l)?t:bt.findOne($l,t)}_getOuterElement(t){return t.closest(Iy)||t}static jQueryInterface(t){return this.each(function(){let i=Yi.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}};F.on(document,Ty,ed,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!sn(this)&&Yi.getOrCreateInstance(this).show()});F.on(window,Dy,()=>{for(let n of bt.find($y))Yi.getOrCreateInstance(n)});ri(Yi);var By="toast",Yy="bs.toast",ln=`.${Yy}`,Wy=`mouseover${ln}`,Fy=`mouseout${ln}`,Vy=`focusin${ln}`,Hy=`focusout${ln}`,zy=`hide${ln}`,jy=`hidden${ln}`,Uy=`show${ln}`,qy=`shown${ln}`,Gy="fade",Du="hide",uo="show",fo="showing",Ky={animation:"boolean",autohide:"boolean",delay:"number"},Xy={animation:!0,autohide:!0,delay:5e3},Wn=class extends Ge{constructor(t,i){super(t,i),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Xy}static get DefaultType(){return Ky}static get NAME(){return By}show(){if(F.trigger(this._element,Uy).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Gy);let i=()=>{this._element.classList.remove(fo),F.trigger(this._element,qy),this._maybeScheduleHide()};this._element.classList.remove(Du),ur(this._element),this._element.classList.add(uo,fo),this._queueCallback(i,this._element,this._config.animation)}hide(){if(!this.isShown()||F.trigger(this._element,zy).defaultPrevented)return;let i=()=>{this._element.classList.add(Du),this._element.classList.remove(fo,uo),F.trigger(this._element,jy)};this._element.classList.add(fo),this._queueCallback(i,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(uo),super.dispose()}isShown(){return this._element.classList.contains(uo)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,i){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=i;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=i;break}}if(i){this._clearTimeout();return}let s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){F.on(this._element,Wy,t=>this._onInteraction(t,!0)),F.on(this._element,Fy,t=>this._onInteraction(t,!1)),F.on(this._element,Vy,t=>this._onInteraction(t,!0)),F.on(this._element,Hy,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let i=Wn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t](this)}})}};vo(Wn);ri(Wn);nt(tt,Cn(id()));nt(tt,Cn(nd()));nt(tt,Cn(sd()));nt(tt,Cn(rd()));nt(tt,Cn(lf()));nt(tt,Cn(Rf()));nt(tt,Cn($f()));export{$n as Alert,Bn as Button,rn as Carousel,on as Collapse,qe as Dropdown,$i as Modal,gi as Offcanvas,Es as Popover,Yn as ScrollSpy,Yi as Tab,Wn as Toast,Bi as Tooltip}; | |
//! moment.js | |
//! version : 2.29.4 | |
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors | |
//! license : MIT | |
//! momentjs.com | |
/*! | |
* sweetalert2 v11.7.3 | |
* Released under the MIT License. | |
*/ | |
/*! | |
* Infinite Scroll v2.0.4 | |
* measure size of elements | |
* MIT license | |
*/ | |
/*! | |
* Unidragger v3.0.1 | |
* Draggable base class | |
* MIT license | |
*/ | |
/*! | |
* imagesLoaded v5.0.0 | |
* JavaScript is all like "You images are done yet or what?" | |
* MIT License | |
*/ | |
/*! | |
* Flickity v3.0.0 | |
* Touch, responsive, flickable carousels | |
* | |
* Licensed GPLv3 for open source use | |
* or Flickity Commercial License for commercial use | |
* | |
* https://flickity.metafizzy.co | |
* Copyright 2015-2022 Metafizzy | |
*/ | |
/*! | |
* Viewer.js v1.11.3 | |
* https://fengyuanchen.github.io/viewerjs | |
* | |
* Copyright 2015-present Chen Fengyuan | |
* Released under the MIT license | |
* | |
* Date: 2023-03-05T07:01:17.741Z | |
*/ | |
/*! | |
* Bootstrap v5.2.3 (https://getbootstrap.com/) | |
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment