PageSourceSearch

https://www.kpluss.com/system/modules/com.kpluss.websites.design.k…/resources/scripts/toolkit.js

js kpluss.com collected 2026-09-24 17:58:33 UTC 2,141,897 bytes, 662 lines download raw bytes

1!function(t){function e(e){for(var n,r,a=e[0],s=e[1],o=0,c=[];o<a.length;o++)r=a[o],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&c.push(i[r][0]),i[r]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n]);for(l&&l(e);c.length;)c.shift()()}var n={},i={2:0};function r(e){if(n[e])return n[e].exports;var i=n[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.e=function(t){var e=[],n=i[t];if(0!==n)if(n)e.push(n[2]);else{var a=new Promise((function(e,r){n=i[t]=[e,r]}));e.push(n[2]=a);var s,o=document.createElement("script");o.charset="utf-8",o.timeout=120,r.nc&&o.setAttribute("nonce",r.nc),o.src=function(t){return r.p+""+({}[t]||t)+".js"}(t);var l=new Error;s=function(e){o.onerror=o.onload=null,clearTimeout(c);var n=i[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src;l.message="Loading chunk "+t+" failed.\n("+r+": "+a+")",l.name="ChunkLoadError",l.type=r,l.request=a,n[1](l)}i[t]=void 0}};var c=setTimeout((function(){s({type:"timeout",target:o})}),12e4);o.onerror=o.onload=s,document.head.appendChild(o)}return Promise.all(e)},r.m=t,r.c=n,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r.oe=function(t){throw console.error(t),t};var a=window.webpackJsonp=window.webpackJsonp||[],s=a.push.bind(a);a.push=e,a=a.slice();for(var o=0;o<a.length;o++)e(a[o]);var l=s;r(r.s=1300)}([function(t,e,n){var i=n(6),r=n(48).f,a=n(44),s=n(28),o=n(195),l=n(196),c=n(141);t.exports=function(t,e){var n,u,d,h,p,f=t.target,m=t.global,g=t.stat;if(n=m?i:g?i[f]||o(f,{}):(i[f]||{}).prototype)for(u in e){if(h=e[u],d=t.dontCallGetSet?(p=r(n,u))&&p.value:n[u],!c(m?u:f+(g?".":"#")+u,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&a(h,"sham",!0),s(n,u,h,t)}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return l}));var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.create;function s(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,a=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return s}function l(t,e,n){if(n||2===arguments.length)for(var i,r=0,a=e.length;r<a;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}Object.create},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(129),r=Function.prototype,a=r.bind,s=r.call,o=i&&a.bind(s,s);t.exports=i?function(t){return t&&o(t)}:function(t){return t&&function(){return s.apply(t,arguments)}}},function(t,e,n){"use strict";function i(t,e,n,i,r,a,s,o){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=o?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return i}))},function(t,e,n){(function(t){t.exports=function(){"use strict";var e,i;function r(){return e.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;
vendor: 57,420 bytes, lines 1-3
1for(e in t)if(o(t,e))return!1;return!0}function c(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function h(t,e){var n,i=[],r=t.length;for(n=0;n<r;++n)i.push(e(t[n],n));return i}function p(t,e){for(var n in e)o(e,n)&&(t[n]=e[n]);return o(e,"toString")&&(t.toString=e.toString),o(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,i){return Te(t,e,n,i,!0).utc()}function m(t){return null==t._pf&&(t._pf={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}),t._pf}function g(t){if(null==t._isValid){var e=m(t),n=i.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var e=f(NaN);return null!=t?p(m(e),t):m(e).userInvalidated=!0,e}i=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var _=r.momentProperties=[],y=!1;function b(t,e){var n,i,r,a=_.length;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=m(e)),c(e._locale)||(t._locale=e._locale),a>0)for(n=0;n<a;n++)c(r=e[i=_[n]])||(t[i]=r);return t}function x(t){b(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function w(t){return t instanceof x||null!=t&&null!=t._isAMomentObject}function M(t){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,e){var n=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,t),n){var i,a,s,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(s in i+="\n["+a+"] ",arguments[0])o(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}M(t+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var T,A={};function L(t,e){null!=r.deprecationHandler&&r.deprecationHandler(t,e),A[t]||(M(e),A[t]=!0)}function E(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t,e){var n,i=p({},t);for(n in e)o(e,n)&&(s(t[n])&&s(e[n])?(i[n]={},p(i[n],t[n]),p(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)o(t,n)&&!o(e,n)&&s(t[n])&&(i[n]=p({},i[n]));return i}function I(t){null!=t&&this.set(t)}function D(t,e,n){var i=""+Math.abs(t),r=e-i.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)o(t,e)&&n.push(e);return n};var k=/(\[[^\[]*\])|(\\)?([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,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},P={};function N(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(P[t]=r),e&&(P[e[0]]=function(){return D(r.apply(this,arguments),e[1],e[2])}),n&&(P[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function Y(t,e){return t.isValid()?(e=F(e,t.localeData()),R[e]=R[e]||function(t){var e,n,i,r=t.match(k);for(e=0,n=r.length;e<n;e++)P[r[e]]?r[e]=P[r[e]]:r[e]=(i=r[e]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(e){var i,a="";for(i=0;i<n;i++)a+=E(r[i])?r[i].call(e,t):r[i];return a}}(e),R[e](t)):t.localeData().invalidDate()}function F(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(O.lastIndex=0;n>=0&&O.test(t);)t=t.replace(O,i),O.lastIndex=0,n-=1;return t}var H={};function j(t,e){var n=t.toLowerCase();H[n]=H[n+"s"]=H[e]=t}function B(t){return"string"==typeof t?H[t]||H[t.toLowerCase()]:void 0}function z(t){var e,n,i={};for(n in t)o(t,n)&&(e=B(n))&&(i[e]=t[n]);return i}var U={};function V(t,e){U[t]=e}function W(t){return t%4==0&&t%100!=0||t%400==0}function G(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function q(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=G(e)),n}function X(t,e){return function(n){return null!=n?(K(this,t,n),r.updateOffset(this,e),this):$(this,t)}}function $(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function K(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&W(t.year())&&1===t.month()&&29===t.date()?(n=q(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),wt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var J,Q=/\d/,Z=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,it=/\d\d?/,rt=/\d\d\d\d?/,at=/\d\d\d\d\d\d?/,st=/\d{1,3}/,ot=/\d{1,4}/,lt=/[+-]?\d{1,6}/,ct=/\d+/,ut=/[+-]?\d+/,dt=/Z|[+-]\d\d:?\d\d/gi,ht=/Z|[+-]\d\d(?::?\d\d)?/gi,pt=/[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;function ft(t,e,n){J[t]=E(e)?e:function(t,i){return t&&n?n:e}}function mt(t,e){return o(J,t)?J[t](e._strict,e._locale):new RegExp(gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r}))))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var vt,_t={};function yt(t,e){var n,i,r=e;for("string"==typeof t&&(t=[t]),u(e)&&(r=function(t,n){n[e]=q(t)}),i=t.length,n=0;n<i;n++)_t[t[n]]=r}function bt(t,e){yt(t,(function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)}))}function xt(t,e,n){null!=e&&o(_t,t)&&_t[t](e,n._a,n,t)}function wt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,i=(e%(n=12)+n)%n;return t+=(e-i)/12,1===i?W(t)?29:28:31-i%7%2}vt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},N("M",["MM",2],"Mo",(function(){return this.month()+1})),N("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),N("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),j("month","M"),V("month",8),ft("M",it),ft("MM",it,Z),ft("MMM",(function(t,e){return e.monthsShortRegex(t)})),ft("MMMM",(function(t,e){return e.monthsRegex(t)})),yt(["M","MM"],(function(t,e){e[1]=q(t)-1})),yt(["MMM","MMMM"],(function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[1]=r:m(n).invalidMonth=t}));var Mt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),St="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Tt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,At=pt,Lt=pt;function Et(t,e,n){var i,r,a,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=vt.call(this._shortMonthsParse,s))?r:null:-1!==(r=vt.call(this._longMonthsParse,s))?r:null:"MMM"===e?-1!==(r=vt.call(this._shortMonthsParse,s))||-1!==(r=vt.call(this._longMonthsParse,s))?r:null:-1!==(r=vt.call(this._longMonthsParse,s))||-1!==(r=vt.call(this._shortMonthsParse,s))?r:null}function Ct(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=q(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),wt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function It(t){return null!=t?(Ct(this,t),r.updateOffset(this,!0),this):$(this,"Month")}function Dt(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],a=[];for(e=0;e<12;e++)n=f([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),a.sort(t),e=0;e<12;e++)i[e]=gt(i[e]),r[e]=gt(r[e]);for(e=0;e<24;e++)a[e]=gt(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function kt(t){return W(t)?366:365}N("Y",0,0,(function(){var t=this.year();return t<=9999?D(t,4):"+"+t})),N(0,["YY",2],0,(function(){return this.year()%100})),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),j("year","y"),V("year",1),ft("Y",ut),ft("YY",it,Z),ft("YYYY",ot,et),ft("YYYYY",lt,nt),ft("YYYYYY",lt,nt),yt(["YYYYY","YYYYYY"],0),yt("YYYY",(function(t,e){e[0]=2===t.length?r.parseTwoDigitYear(t):q(t)})),yt("YY",(function(t,e){e[0]=r.parseTwoDigitYear(t)})),yt("Y",(function(t,e){e[0]=parseInt(t,10)})),r.parseTwoDigitYear=function(t){return q(t)+(q(t)>68?1900:2e3)};var Ot=X("FullYear",!0);function Rt(t,e,n,i,r,a,s){var o;return t<100&&t>=0?(o=new Date(t+400,e,n,i,r,a,s),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,n,i,r,a,s),o}function Pt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Nt(t,e,n){var i=7+e-n;return-(7+Pt(t,0,i).getUTCDay()-e)%7+i-1}function Yt(t,e,n,i,r){var a,s,o=1+7*(e-1)+(7+n-i)%7+Nt(t,i,r);return o<=0?s=kt(a=t-1)+o:o>kt(t)?(a=t+1,s=o-kt(t)):(a=t,s=o),{year:a,dayOfYear:s}}function Ft(t,e,n){var i,r,a=Nt(t.year(),e,n),s=Math.floor((t.dayOfYear()-a-1)/7)+1;return s<1?i=s+Ht(r=t.year()-1,e,n):s>Ht(t.year(),e,n)?(i=s-Ht(t.year(),e,n),r=t.year()+1):(r=t.year(),i=s),{week:i,year:r}}function Ht(t,e,n){var i=Nt(t,e,n),r=Nt(t+1,e,n);return(kt(t)-i+r)/7}function jt(t,e){return t.slice(e,7).concat(t.slice(0,e))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),V("week",5),V("isoWeek",5),ft("w",it),ft("ww",it,Z),ft("W",it),ft("WW",it,Z),bt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=q(t)})),N("d",0,"do","day"),N("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),N("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),N("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),ft("d",it),ft("e",it),ft("E",it),ft("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ft("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ft("dddd",(function(t,e){return e.weekdaysRegex(t)})),bt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:m(n).invalidWeekday=t})),bt(["d","e","E"],(function(t,e,n,i){e[i]=q(t)}));var Bt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ut="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Vt=pt,Wt=pt,Gt=pt;function qt(t,e,n){var i,r,a,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=vt.call(this._weekdaysParse,s))?r:null:"ddd"===e?-1!==(r=vt.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,s))?r:null:"dddd"===e?-1!==(r=vt.call(this._weekdaysParse,s))||-1!==(r=vt.call(this._shortWeekdaysParse,s))||-1!==(r=vt.call(this._minWeekdaysParse,s))?r:null:"ddd"===e?-1!==(r=vt.call(this._shortWeekdaysParse,s))||-1!==(r=vt.call(this._weekdaysParse,s))||-1!==(r=vt.call(this._minWeekdaysParse,s))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,s))||-1!==(r=vt.call(this._weekdaysParse,s))||-1!==(r=vt.call(this._shortWeekdaysParse,s))?r:null}function Xt(){function t(t,e){return e.length-t.length}var e,n,i,r,a,s=[],o=[],l=[],c=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),i=gt(this.weekdaysMin(n,"")),r=gt(this.weekdaysShort(n,"")),a=gt(this.weekdays(n,"")),s.push(i),o.push(r),l.push(a),c.push(i),c.push(r),c.push(a);s.sort(t),o.sort(t),l.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function $t(){return this.hours()%12||12}function Kt(t,e){N(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Jt(t,e){return e._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,$t),N("k",["kk",2],0,(function(){return this.hours()||24})),N("hmm",0,0,(function(){return""+$t.apply(this)+D(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+$t.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),Kt("a",!0),Kt("A",!1),j("hour","h"),V("hour",13),ft("a",Jt),ft("A",Jt),ft("H",it),ft("h",it),ft("k",it),ft("HH",it,Z),ft("hh",it,Z),ft("kk",it,Z),ft("hmm",rt),ft("hmmss",at),ft("Hmm",rt),ft("Hmmss",at),yt(["H","HH"],3),yt(["k","kk"],(function(t,e,n){var i=q(t);e[3]=24===i?0:i})),yt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),yt(["h","hh"],(function(t,e,n){e[3]=q(t),m(n).bigHour=!0})),yt("hmm",(function(t,e,n){var i=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i)),m(n).bigHour=!0})),yt("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i,2)),e[5]=q(t.substr(r)),m(n).bigHour=!0})),yt("Hmm",(function(t,e,n){var i=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i))})),yt("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i,2)),e[5]=q(t.substr(r))}));var Qt,Zt=X("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:Mt,monthsShort:St,week:{dow:0,doy:6},weekdays:Bt,weekdaysMin:Ut,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function ie(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function re(t){return t?t.toLowerCase().replace("_","-"):t}function ae(e){var i=null;if(void 0===ee[e]&&void 0!==t&&t&&t.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(e))try{i=Qt._abbr,n(1285)("./"+e),se(i)}catch(t){ee[e]=null}return ee[e]}function se(t,e){var n;return t&&((n=c(e)?le(t):oe(t,e))?Qt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Qt._abbr}function oe(t,e){if(null!==e){var n,i=te;if(e.abbr=t,null!=ee[t])L("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."),i=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])i=ee[e.parentLocale]._config;else{if(null==(n=ae(e.parentLocale)))return ne[e.parentLocale]||(ne[e.parentLocale]=[]),ne[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ee[t]=new I(C(i,e)),ne[t]&&ne[t].forEach((function(t){oe(t.name,t.config)})),se(t),ee[t]}return delete ee[t],null}function le(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Qt;if(!a(t)){if(e=ae(t))return e;t=[t]}return function(t){for(var e,n,i,r,a=0;a<t.length;){for(e=(r=re(t[a]).split("-")).length,n=(n=re(t[a+1]))?n.split("-"):null;e>0;){if(i=ae(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&ie(r,n)>=e-1)break;e--}a++}return Qt}(t)}function ce(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>wt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),m(t)._overflowWeeks&&-1===e&&(e=7),m(t)._overflowWeekday&&-1===e&&(e=8),m(t).overflow=e),t}var ue=/^\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)?)?$/,de=/^\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)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["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]],fe=[["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/]],me=/^\/?Date\((-?\d+)/i,ge=/^(?:(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}))$/,ve={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t){var e,n,i,r,a,s,o=t._i,l=ue.exec(o)||de.exec(o),c=pe.length,u=fe.length;if(l){for(m(t).iso=!0,e=0,n=c;e<n;e++)if(pe[e][1].exec(l[1])){r=pe[e][0],i=!1!==pe[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,n=u;e<n;e++)if(fe[e][1].exec(l[3])){a=(l[2]||" ")+fe[e][0];break}if(null==a)return void(t._isValid=!1)}if(!i&&null!=a)return void(t._isValid=!1);if(l[4]){if(!he.exec(l[4]))return void(t._isValid=!1);s="Z"}t._f=r+(a||"")+(s||""),Me(t)}else t._isValid=!1}function ye(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function be(t){var e,n,i,r,a,s,o,l,c=ge.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],i=c[3],r=c[2],a=c[5],s=c[6],o=c[7],l=[ye(n),St.indexOf(i),parseInt(r,10),parseInt(a,10),parseInt(s,10)],o&&l.push(parseInt(o,10)),e=l,!function(t,e,n){return!t||zt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],e,t))return;t._a=e,t._tzm=function(t,e,n){if(t)return ve[t];if(e)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(c[8],c[9],c[10]),t._d=Pt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function xe(t,e,n){return null!=t?t:null!=e?e:n}function we(t){var e,n,i,a,s,o=[];if(!t._d){for(i=function(t){var e=new Date(r.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,i,r,a,s,o,l,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(a=1,s=4,n=xe(e.GG,t._a[0],Ft(Ae(),1,4).year),i=xe(e.W,1),((r=xe(e.E,1))<1||r>7)&&(l=!0)):(a=t._locale._week.dow,s=t._locale._week.doy,c=Ft(Ae(),a,s),n=xe(e.gg,t._a[0],c.year),i=xe(e.w,c.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a),i<1||i>Ht(n,a,s)?m(t)._overflowWeeks=!0:null!=l?m(t)._overflowWeekday=!0:(o=Yt(n,i,r,a,s),t._a[0]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(s=xe(t._a[0],i[0]),(t._dayOfYear>kt(s)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=Pt(s,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Pt:Rt).apply(null,o),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(m(t).weekdayMismatch=!0)}}function Me(t){if(t._f!==r.ISO_8601)if(t._f!==r.RFC_2822){t._a=[],m(t).empty=!0;var e,n,i,a,s,o,l,c=""+t._i,u=c.length,d=0;for(l=(i=F(t._f,t._locale).match(k)||[]).length,e=0;e<l;e++)a=i[e],(n=(c.match(mt(a,t))||[])[0])&&((s=c.substr(0,c.indexOf(n))).length>0&&m(t).unusedInput.push(s),c=c.slice(c.indexOf(n)+n.length),d+=n.length),P[a]?(n?m(t).empty=!1:m(t).unusedTokens.push(a),xt(a,n,t)):t._strict&&!n&&m(t).unusedTokens.push(a);m(t).charsLeftOver=u-d,c.length>0&&m(t).unusedInput.push(c),t._a[3]<=12&&!0===m(t).bigHour&&t._a[3]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(o=m(t).era)&&(t._a[0]=t._locale.erasConvertYear(o,t._a[0])),we(t),ce(t)}else be(t);else _e(t)}function Se(t){var e=t._i,n=t._f;return t._locale=t._locale||le(t._l),null===e||void 0===n&&""===e?v({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),w(e)?new x(ce(e)):(d(e)?t._d=e:a(n)?function(t){var e,n,i,r,a,s,o=!1,l=t._f.length;if(0===l)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<l;r++)a=0,s=!1,e=b({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Me(e),g(e)&&(s=!0),a+=m(e).charsLeftOver,a+=10*m(e).unusedTokens.length,m(e).score=a,o?a<i&&(i=a,n=e):(null==i||a<i||s)&&(i=a,n=e,s&&(o=!0));p(t,n||e)}(t):n?Me(t):function(t){var e=t._i;c(e)?t._d=new Date(r.now()):d(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=me.exec(t._i);null===e?(_e(t),!1===t._isValid&&(delete t._isValid,be(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:r.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):a(e)?(t._a=h(e.slice(0),(function(t){return parseInt(t,10)})),we(t)):s(e)?function(t){if(!t._d){var e=z(t._i),n=void 0===e.day?e.date:e.day;t._a=h([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),we(t)}}(t):u(e)?t._d=new Date(e):r.createFromInputFallback(t)}(t),g(t)||(t._d=null),t))}function Te(t,e,n,i,r){var o,c={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(s(t)&&l(t)||a(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=r,c._l=n,c._i=t,c._f=e,c._strict=i,(o=new x(ce(Se(c))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Ae(t,e,n,i){return Te(t,e,n,i,!1)}r.createFromInputFallback=S("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Le=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ae.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),Ee=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ae.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function Ce(t,e){var n,i;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Ae();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Ie=["year","quarter","month","week","day","hour","minute","second","millisecond"];function De(t){var e=z(t),n=e.year||0,i=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,s=e.day||0,l=e.hour||0,c=e.minute||0,u=e.second||0,d=e.millisecond||0;this._isValid=function(t){var e,n,i=!1,r=Ie.length;for(e in t)if(o(t,e)&&(-1===vt.call(Ie,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<r;++n)if(t[Ie[n]]){if(i)return!1;parseFloat(t[Ie[n]])!==q(t[Ie[n]])&&(i=!0)}return!0}(e),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+s+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=le(),this._bubble()}function ke(t){return t instanceof De}function Oe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Re(t,e){N(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+D(~~(t/60),2)+e+D(~~t%60,2)}))}Re("Z",":"),Re("ZZ",""),ft("Z",ht),ft("ZZ",ht),yt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=Ne(ht,t)}));var Pe=/([\+\-]|\d\d)/gi;function Ne(t,e){var n,i,r=(e||"").match(t);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Pe)||["-",0,0])[1]+q(n[2]))?0:"+"===n[0]?i:-i}function Ye(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(w(t)||d(t)?t.valueOf():Ae(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Ae(t).local()}function Fe(t){return-Math.round(t._d.getTimezoneOffset())}function He(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var je=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Be=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ze(t,e){var n,i,r,a,s,l,c=t,d=null;return ke(t)?c={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(c={},e?c[e]=+t:c.milliseconds=+t):(d=je.exec(t))?(n="-"===d[1]?-1:1,c={y:0,d:q(d[2])*n,h:q(d[3])*n,m:q(d[4])*n,s:q(d[5])*n,ms:q(Oe(1e3*d[6]))*n}):(d=Be.exec(t))?(n="-"===d[1]?-1:1,c={y:Ue(d[2],n),M:Ue(d[3],n),w:Ue(d[4],n),d:Ue(d[5],n),h:Ue(d[6],n),m:Ue(d[7],n),s:Ue(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(a=Ae(c.from),s=Ae(c.to),r=a.isValid()&&s.isValid()?(s=Ye(s,a),a.isBefore(s)?l=Ve(a,s):((l=Ve(s,a)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=r.milliseconds,c.M=r.months),i=new De(c),ke(t)&&o(t,"_locale")&&(i._locale=t._locale),ke(t)&&o(t,"_isValid")&&(i._isValid=t._isValid),i}function Ue(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ve(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function We(t,e){return function(n,i){var r;return null===i||isNaN(+i)||(L(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),Ge(this,ze(n,i),t),this}}function Ge(t,e,n,i){var a=e._milliseconds,s=Oe(e._days),o=Oe(e._months);t.isValid()&&(i=null==i||i,o&&Ct(t,$(t,"Month")+o*n),s&&K(t,"Date",$(t,"Date")+s*n),a&&t._d.setTime(t._d.valueOf()+a*n),i&&r.updateOffset(t,s||o))}ze.fn=De.prototype,ze.invalid=function(){return ze(NaN)};var qe=We(1,"add"),Xe=We(-1,"subtract");function $e(t){return"string"==typeof t||t instanceof String}function Ke(t){return w(t)||d(t)||$e(t)||u(t)||function(t){var e=a(t),n=!1;return e&&(n=0===t.filter((function(e){return!u(e)&&$e(t)})).length),e&&n}(t)||function(t){var e,n,i=s(t)&&!l(t),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=a.length;for(e=0;e<c;e+=1)n=a[e],r=r||o(t,n);return i&&r}(t)||null==t}function Je(t){var e,n=s(t)&&!l(t),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<r.length;e+=1)i=i||o(t,r[e]);return n&&i}function Qe(t,e){if(t.date()<e.date())return-Qe(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function Ze(t){var e;return void 0===t?this._locale._abbr:(null!=(e=le(t))&&(this._locale=e),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tn=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function en(){return this._locale}function nn(t,e){return(t%e+e)%e}function rn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function an(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function sn(t,e){return e.erasAbbrRegex(t)}function on(){var t,e,n=[],i=[],r=[],a=[],s=this.eras();for(t=0,e=s.length;t<e;++t)i.push(gt(s[t].name)),n.push(gt(s[t].abbr)),r.push(gt(s[t].narrow)),a.push(gt(s[t].name)),a.push(gt(s[t].abbr)),a.push(gt(s[t].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ln(t,e){N(0,[t,t.length],0,e)}function cn(t,e,n,i,r){var a;return null==t?Ft(this,i,r).year:(e>(a=Ht(t,i,r))&&(e=a),un.call(this,t,e,n,i,r))}function un(t,e,n,i,r){var a=Yt(t,e,n,i,r),s=Pt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),ft("N",sn),ft("NN",sn),ft("NNN",sn),ft("NNNN",(function(t,e){return e.erasNameRegex(t)})),ft("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),yt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?m(n).era=r:m(n).invalidEra=t})),ft("y",ct),ft("yy",ct),ft("yyy",ct),ft("yyyy",ct),ft("yo",(function(t,e){return e._eraYearOrdinalRegex||ct})),yt(["y","yy","yyy","yyyy"],0),yt(["yo"],(function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[0]=n._locale.eraYearOrdinalParse(t,r):e[0]=parseInt(t,10)})),N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),ft("G",ut),ft("g",ut),ft("GG",it,Z),ft("gg",it,Z),ft("GGGG",ot,et),ft("gggg",ot,et),ft("GGGGG",lt,nt),ft("ggggg",lt,nt),bt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=q(t)})),bt(["gg","GG"],(function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)})),N("Q",0,"Qo","quarter"),j("quarter","Q"),V("quarter",7),ft("Q",Q),yt("Q",(function(t,e){e[1]=3*(q(t)-1)})),N("D",["DD",2],"Do","date"),j("date","D"),V("date",9),ft("D",it),ft("DD",it,Z),ft("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),yt(["D","DD"],2),yt("Do",(function(t,e){e[2]=q(t.match(it)[0])}));var dn=X("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),V("dayOfYear",4),ft("DDD",st),ft("DDDD",tt),yt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=q(t)})),N("m",["mm",2],0,"minute"),j("minute","m"),V("minute",14),ft("m",it),ft("mm",it,Z),yt(["m","mm"],4);var hn=X("Minutes",!1);N("s",["ss",2],0,"second"),j("second","s"),V("second",15),ft("s",it),ft("ss",it,Z),yt(["s","ss"],5);var pn,fn,mn=X("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),j("millisecond","ms"),V("millisecond",16),ft("S",st,Q),ft("SS",st,Z),ft("SSS",st,tt),pn="SSSS";pn.length<=9;pn+="S")ft(pn,ct);function gn(t,e){e[6]=q(1e3*("0."+t))}for(pn="S";pn.length<=9;pn+="S")yt(pn,gn);fn=X("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var vn=x.prototype;function _n(t){return t}vn.add=qe,vn.calendar=function(t,e){1===arguments.length&&(arguments[0]?Ke(arguments[0])?(t=arguments[0],e=void 0):Je(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ae(),i=Ye(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",s=e&&(E(e[a])?e[a].call(this,n):e[a]);return this.format(s||this.localeData().calendar(a,this,Ae(n)))},vn.clone=function(){return new x(this)},vn.diff=function(t,e,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ye(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=B(e)){case"year":a=Qe(this,i)/12;break;case"month":a=Qe(this,i);break;case"quarter":a=Qe(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:G(a)},vn.endOf=function(t){var e,n;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:rn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-nn(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-nn(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-nn(e,1e3)-1}return this._d.setTime(e),r.updateOffset(this,!0),this},vn.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=Y(this,t);return this.localeData().postformat(e)},vn.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Ae(t).isValid())?ze({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},vn.fromNow=function(t){return this.from(Ae(),t)},vn.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Ae(t).isValid())?ze({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},vn.toNow=function(t){return this.to(Ae(),t)},vn.get=function(t){return E(this[t=B(t)])?this[t]():this},vn.invalidAt=function(){return m(this).overflow},vn.isAfter=function(t,e){var n=w(t)?t:Ae(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},vn.isBefore=function(t,e){var n=w(t)?t:Ae(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},vn.isBetween=function(t,e,n,i){var r=w(t)?t:Ae(t),a=w(e)?e:Ae(e);return!!(this.isValid()&&r.isValid()&&a.isValid())&&(("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n)))},vn.isSame=function(t,e){var n,i=w(t)?t:Ae(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=B(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},vn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},vn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},vn.isValid=function(){return g(this)},vn.lang=tn,vn.locale=Ze,vn.localeData=en,vn.max=Ee,vn.min=Le,vn.parsingFlags=function(){return p({},m(this))},vn.set=function(t,e){if("object"==typeof t){var n,i=function(t){var e,n=[];for(e in t)o(t,e)&&n.push({unit:e,priority:U[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}(t=z(t)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](t[i[n].unit])}else if(E(this[t=B(t)]))return this[t](e);return this},vn.startOf=function(t){var e,n;if(void 0===(t=B(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:rn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=nn(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=nn(e,6e4);break;case"second":e=this._d.valueOf(),e-=nn(e,1e3)}return this._d.setTime(e),r.updateOffset(this,!0),this},vn.subtract=Xe,vn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},vn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},vn.toDate=function(){return new Date(this.valueOf())},vn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Y(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Y(n,"Z")):Y(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,i="moment",r="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""},vn.eraNarrow=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""},vn.eraAbbr=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""},vn.eraYear=function(){var t,e,n,i,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(n=a[t].since<=a[t].until?1:-1,i=this.clone().startOf("day").valueOf(),a[t].since<=i&&i<=a[t].until||a[t].until<=i&&i<=a[t].since)return(this.year()-r(a[t].since).year())*n+a[t].offset;return this.year()},vn.year=Ot,vn.isLeapYear=function(){return W(this.year())},vn.weekYear=function(t){return cn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vn.isoWeekYear=function(t){return cn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},vn.quarter=vn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},vn.month=It,vn.daysInMonth=function(){return wt(this.year(),this.month())},vn.week=vn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},vn.isoWeek=vn.isoWeeks=function(t){var e=Ft(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},vn.weeksInYear=function(){var t=this.localeData()._week;return Ht(this.year(),t.dow,t.doy)},vn.weeksInWeekYear=function(){var t=this.localeData()._week;return Ht(this.weekYear(),t.dow,t.doy)},vn.isoWeeksInYear=function(){return Ht(this.year(),1,4)},vn.isoWeeksInISOWeekYear=function(){return Ht(this.isoWeekYear(),1,4)},vn.date=dn,vn.day=vn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},vn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},vn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},vn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},vn.hour=vn.hours=Zt,vn.minute=vn.minutes=hn,vn.second=vn.seconds=mn,vn.millisecond=vn.milliseconds=fn,vn.utcOffset=function(t,e,n){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ne(ht,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=Fe(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!e||this._changeInProgress?Ge(this,ze(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Fe(this)},vn.utc=function(t){return this.utcOffset(0,t)},vn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this},vn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ne(dt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},vn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ae(t).utcOffset():0,(this.utcOffset()-t)%60==0)},vn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=He,vn.isUTC=He,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=S("dates accessor is deprecated. Use date instead.",dn),vn.months=S("months accessor is deprecated. Use month instead",It),vn.years=S("years accessor is deprecated. Use year instead",Ot),vn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),vn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return b(e,this),(e=Se(e))._a?(t=e._isUTC?f(e._a):Ae(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var i,r=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),s=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&q(t[i])!==q(e[i]))&&s++;return s+a}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=I.prototype;function bn(t,e,n,i){var r=le(),a=f().set(i,e);return r[n](a,t)}function xn(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return bn(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=bn(t,i,n,"month");return r}function wn(t,e,n,i){"boolean"==typeof t?(u(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,u(e)&&(n=e,e=void 0),e=e||"");var r,a=le(),s=t?a._week.dow:0,o=[];if(null!=n)return bn(e,(n+s)%7,i,"day");for(r=0;r<7;r++)o[r]=bn(e,(r+s)%7,i,"day");return o}yn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return E(i)?i.call(e,n):i},yn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(k).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(t){return this._ordinal.replace("%d",t)},yn.preparse=_n,yn.postformat=_n,yn.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return E(r)?r(t,e,n,i):r.replace(/%d/i,t)},yn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return E(n)?n(e):n.replace(/%s/i,e)},yn.set=function(t){var e,n;for(n in t)o(t,n)&&(E(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(t,e){var n,i,a,s=this._eras||le("en")._eras;for(n=0,i=s.length;n<i;++n){switch(typeof s[n].since){case"string":a=r(s[n].since).startOf("day"),s[n].since=a.valueOf()}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":a=r(s[n].until).startOf("day").valueOf(),s[n].until=a.valueOf()}}return s},yn.erasParse=function(t,e,n){var i,r,a,s,o,l=this.eras();for(t=t.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),o=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(s===t)return l[i];break;case"NNNN":if(a===t)return l[i];break;case"NNNNN":if(o===t)return l[i]}else if([a,s,o].indexOf(t)>=0)return l[i]},yn.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?r(t.since).year():r(t.since).year()+(e-t.offset)*n},yn.erasAbbrRegex=function(t){return o(this,"_erasAbbrRegex")||on.call(this),t?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(t){return o(this,"_erasNameRegex")||on.call(this),t?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(t){return o(this,"_erasNarrowRegex")||on.call(this),t?this._erasNarrowRegex:this._erasRegex},yn.months=function(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Tt).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone},yn.monthsShort=function(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Tt.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(t,e,n){var i,r,a;if(this._monthsParseExact)return Et.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},yn.monthsRegex=function(t){return this._monthsParseExact?(o(this,"_monthsRegex")||Dt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Lt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(t){return this._monthsParseExact?(o(this,"_monthsRegex")||Dt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=At),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(t){return Ft(t,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?jt(n,this._week.dow):t?n[t.day()]:n},yn.weekdaysMin=function(t){return!0===t?jt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},yn.weekdaysShort=function(t){return!0===t?jt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},yn.weekdaysParse=function(t,e,n){var i,r,a;if(this._weekdaysParseExact)return qt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},yn.weekdaysRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Wt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},yn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},se("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(t){var e=t%10;return t+(1===q(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",se),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",le);var Mn=Math.abs;function Sn(t,e,n,i){var r=ze(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Tn(t){return t<0?Math.floor(t):Math.ceil(t)}function An(t){return 4800*t/146097}function Ln(t){return 146097*t/4800}function En(t){return function(){return this.as(t)}}var Cn=En("ms"),In=En("s"),Dn=En("m"),kn=En("h"),On=En("d"),Rn=En("w"),Pn=En("M"),Nn=En("Q"),Yn=En("y");function Fn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Hn=Fn("milliseconds"),jn=Fn("seconds"),Bn=Fn("minutes"),zn=Fn("hours"),Un=Fn("days"),Vn=Fn("months"),Wn=Fn("years"),Gn=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Xn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var $n=Math.abs;function Kn(t){return(t>0)-(t<0)||+t}function Jn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,a,s,o,l=$n(this._milliseconds)/1e3,c=$n(this._days),u=$n(this._months),d=this.asSeconds();return d?(t=G(l/60),e=G(t/60),l%=60,t%=60,n=G(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",a=Kn(this._months)!==Kn(d)?"-":"",s=Kn(this._days)!==Kn(d)?"-":"",o=Kn(this._milliseconds)!==Kn(d)?"-":"",r+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?s+c+"D":"")+(e||t||l?"T":"")+(e?o+e+"H":"")+(t?o+t+"M":"")+(l?o+i+"S":"")):"P0D"}var Qn=De.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var t=this._data;return this._milliseconds=Mn(this._milliseconds),this._days=Mn(this._days),this._months=Mn(this._months),t.milliseconds=Mn(t.milliseconds),t.seconds=Mn(t.seconds),t.minutes=Mn(t.minutes),t.hours=Mn(t.hours),t.months=Mn(t.months),t.years=Mn(t.years),this},Qn.add=function(t,e){return Sn(this,t,e,1)},Qn.subtract=function(t,e){return Sn(this,t,e,-1)},Qn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=B(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+An(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Ln(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Qn.asMilliseconds=Cn,Qn.asSeconds=In,Qn.asMinutes=Dn,Qn.asHours=kn,Qn.asDays=On,Qn.asWeeks=Rn,Qn.asMonths=Pn,Qn.asQuarters=Nn,Qn.asYears=Yn,Qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},Qn._bubble=function(){var t,e,n,i,r,a=this._milliseconds,s=this._days,o=this._months,l=this._data;return a>=0&&s>=0&&o>=0||a<=0&&s<=0&&o<=0||(a+=864e5*Tn(Ln(o)+s),s=0,o=0),l.milliseconds=a%1e3,t=G(a/1e3),l.seconds=t%60,e=G(t/60),l.minutes=e%60,n=G(e/60),l.hours=n%24,s+=G(n/24),r=G(An(s)),o+=r,s-=Tn(Ln(r)),i=G(o/12),o%=12,l.days=s,l.months=o,l.years=i,this},Qn.clone=function(){return ze(this)},Qn.get=function(t){return t=B(t),this.isValid()?this[t+"s"]():NaN},Qn.milliseconds=Hn,Qn.seconds=jn,Qn.minutes=Bn,Qn.hours=zn,Qn.days=Un,Qn.weeks=function(){return G(this.days()/7)},Qn.months=Vn,Qn.years=Wn,Qn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,a=qn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(a=Object.assign({},qn,e),null!=e.s&&null==e.ss&&(a.ss=e.s-1)),n=this.localeData(),i=function(t,e,n,i){var r=ze(t).abs(),a=Gn(r.as("s")),s=Gn(r.as("m")),o=Gn(r.as("h")),l=Gn(r.as("d")),c=Gn(r.as("M")),u=Gn(r.as("w")),d=Gn(r.as("y")),h=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||s<=1&&["m"]||s<n.m&&["mm",s]||o<=1&&["h"]||o<n.h&&["hh",o]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=e,h[3]=+t>0,h[4]=i,Xn.apply(null,h)}(this,!r,a,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},Qn.toISOString=Jn,Qn.toString=Jn,Qn.toJSON=Jn,Qn.locale=Ze,Qn.localeData=en,Qn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Jn),Qn.lang=tn,N("X",0,0,"unix"),N("x",0,0,"valueOf"),ft("x",ut),ft("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),yt("x",(function(t,e,n){n._d=new Date(q(t))})),
2//! moment.js
3r.version="2.29.4",e=Ae,r.fn=vn,r.min=function(){var t=[].slice.call(arguments,0);return Ce("isBefore",t)},r.max=function(){var t=[].slice.call(arguments,0);return Ce("isAfter",t)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(t){return Ae(1e3*t)},r.months=function(t,e){return xn(t,e,"months")},r.isDate=d,r.locale=se,r.invalid=v,r.duration=ze,r.isMoment=w,r.weekdays=function(t,e,n){return wn(t,e,n,"weekdays")},r.parseZone=function(){return Ae.apply(null,arguments).parseZone()},r.localeData=le,r.isDuration=ke,r.monthsShort=function(t,e){return xn(t,e,"monthsShort")},r.weekdaysMin=function(t,e,n){return wn(t,e,n,"weekdaysMin")},r.defineLocale=oe,r.updateLocale=function(t,e){if(null!=e){var n,i,r=te;
3null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(C(ee[t]._config,e)):(null!=(i=ae(t))&&(r=i._config),e=C(r,e),null==i&&(e.abbr=t),(n=new I(e)).parentLocale=ee[t],ee[t]=n),se(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===se()&&se(t)):null!=ee[t]&&delete ee[t]);return ee[t]},r.locales=function(){return T(ee)},r.weekdaysShort=function(t,e,n){return wn(t,e,n,"weekdaysShort")},r.normalizeUnits=B,r.relativeTimeRounding=function(t){return void 0===t?Gn:"function"==typeof t&&(Gn=t,!0)},r.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},r.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=vn,r.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"},r}()}).call(this,n(360)(t))},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(114))},function(t,e,n){var i=n(2);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var i=n(12),r=String,a=TypeError;t.exports=function(t){if(i(t))return t;throw a(r(t)+" is not an object")}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e,n){var i=n(129),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,n){var i=n(6),r=n(121),a=n(13),s=n(131),o=n(130),l=n(277),c=r("wks"),u=i.Symbol,d=u&&u.for,h=l?u:u&&u.withoutSetter||s;t.exports=function(t){if(!a(c,t)||!o&&"string"!=typeof c[t]){var e="Symbol."+t;o&&a(u,t)?c[t]=u[t]:c[t]=l&&d?d(e):h(e)}return c[t]}},function(t,e,n){var i=n(9);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},function(t,e,n){var i=n(3),r=n(26),a=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(r(t),e)}},function(t,e,n){var i=n(89),r=String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return x})),n.d(e,"b",(function(){return w}));
4/**
5 * @license
6 * Copyright 2020 Google Inc.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 */
26var i={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"},r=new Set;r.add(i.BACKSPACE),r.add(i.ENTER),r.add(i.SPACEBAR),r.add(i.PAGE_UP),r.add(i.PAGE_DOWN),r.add(i.END),r.add(i.HOME),r.add(i.ARROW_LEFT),r.add(i.ARROW_UP),r.add(i.ARROW_RIGHT),r.add(i.ARROW_DOWN),r.add(i.DELETE),r.add(i.ESCAPE),r.add(i.TAB);var a=8,s=13,o=32,l=33,c=34,u=35,d=36,h=37,p=38,f=39,m=40,g=46,v=27,_=9,y=new Map;y.set(a,i.BACKSPACE),y.set(s,i.ENTER),y.set(o,i.SPACEBAR),y.set(l,i.PAGE_UP),y.set(c,i.PAGE_DOWN),y.set(u,i.END),y.set(d,i.HOME),y.set(h,i.ARROW_LEFT),y.set(p,i.ARROW_UP),y.set(f,i.ARROW_RIGHT),y.set(m,i.ARROW_DOWN),y.set(g,i.DELETE),y.set(v,i.ESCAPE),y.set(_,i.TAB);var b=new Set;function x(t){var e=t.key;if(r.has(e))return e;var n=y.get(t.keyCode);return n||i.UNKNOWN}function w(t){return b.has(x(t))}b.add(i.PAGE_UP),b.add(i.PAGE_DOWN),b.add(i.END),b.add(i.HOME),b.add(i.ARROW_LEFT),b.add(i.ARROW_UP),b.add(i.ARROW_RIGHT),b.add(i.ARROW_DOWN)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
27/**
28 * @license
29 * Copyright 2016 Google Inc.
30 *
31 * Permission is hereby granted, free of charge, to any person obtaining a copy
32 * of this software and associated documentation files (the "Software"), to deal
33 * in the Software without restriction, including without limitation the rights
34 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
35 * copies of the Software, and to permit persons to whom the Software is
36 * furnished to do so, subject to the following conditions:
37 *
38 * The above copyright notice and this permission notice shall be included in
39 * all copies or substantial portions of the Software.
40 *
41 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
44 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
46 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
47 * THE SOFTWARE.
48 */
49var i=function(){function t(t){void 0===t&&(t={}),this.adapter=t}
49return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},function(t,e,n){t.exports=n(421)},function(t,e,n){"use strict";var i=n(35),r=n(190),a=n(22),s=n(30),o=n(136).f,l=n(347),c=n(38),u=n(138),d=n(119),h=n(54),p=function(t){var e=function(n,i,a){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,i)}return new t(n,i,a)}return r(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var n,r,f,m,g,v,_,y,b=t.target,x=t.global,w=t.stat,M=t.proto,S=x?i:w?i[b]:(i[b]||{}).prototype,T=x?c:c[b]||d(c,b,{})[b],A=T.prototype;for(f in e)n=!l(x?f:b+(w?".":"#")+f,t.forced)&&S&&h(S,f),g=T[f],n&&(v=t.dontCallGetSet?(y=o(S,f))&&y.value:S[f]),m=n&&v?v:e[f],n&&typeof g==typeof m||(_=t.bind&&n?u(m,i):t.wrap&&n?p(m):M&&s(m)?a(m):m,(t.sham||m&&m.sham||g&&g.sham)&&d(_,"sham",!0),d(T,f,_),M&&(h(c,r=b+"Prototype")||d(c,r,{}),d(c[r],f,m),t.real&&A&&!A[f]&&d(A,f,m)))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(1),r=n(16),a=function(){function t(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root=t,this.initialize.apply(this,Object(i.d)([],Object(i.c)(n))),this.foundation=void 0===e?this.getDefaultFoundation():e,this.foundation.init(),this.initialSyncWithDOM()}return t.attachTo=function(e){return new t(e,new r.a({}))},t.prototype.initialize=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},t.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},t.prototype.initialSyncWithDOM=function(){},t.prototype.destroy=function(){this.foundation.destroy()},t.prototype.listen=function(t,e,n){this.root.addEventListener(t,e,n)},t.prototype.unlisten=function(t,e,n){this.root.removeEventListener(t,e,n)},t.prototype.emit=function(t,e,n){var i;void 0===n&&(n=!1),"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:n,detail:e}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,n,!1,e),this.root.dispatchEvent(i)},t}()},function(t,e,n){var i=n(199),r=n(28),a=n(377);i||r(Object.prototype,"toString",a,{unsafe:!0})},function(t,e,n){var i=n(7),r=n(278),a=n(279),s=n(8),o=n(99),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor;e.f=i?a?function(t,e,n){if(s(t),e=o(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var i=u(t,e);i&&i.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:i.configurable,enumerable:"enumerable"in n?n.enumerable:i.enumerable,writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(s(t),e=o(e),s(n),r)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(155),r=Function.prototype,a=r.bind,s=r.call,o=i&&a.bind(s,s);t.exports=i?function(t){return t&&o(t)}:function(t){return t&&function(){return s.apply(t,arguments)}}},function(t,e,n){"use strict";var i,r,a,s=n(316),o=n(7),l=n(6),c=n(9),u=n(12),d=n(13),h=n(89),p=n(116),f=n(44),m=n(28),g=n(21).f,v=n(64),_=n(82),y=n(91),b=n(11),x=n(131),w=l.Int8Array,M=w&&w.prototype,S=l.Uint8ClampedArray,T=S&&S.prototype,A=w&&_(w),L=M&&_(M),E=Object.prototype,C=l.TypeError,I=b("toStringTag"),D=x("TYPED_ARRAY_TAG"),k=x("TYPED_ARRAY_CONSTRUCTOR"),O=s&&!!y&&"Opera"!==h(l.opera),R=!1,P={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},Y=function(t){if(!u(t))return!1;var e=h(t);return d(P,e)||d(N,e)};for(i in P)(a=(r=l[i])&&r.prototype)?f(a,k,r):O=!1;for(i in N)(a=(r=l[i])&&r.prototype)&&f(a,k,r);if((!O||!c(A)||A===Function.prototype)&&(A=function(){throw C("Incorrect invocation")},O))for(i in P)l[i]&&y(l[i],A);if((!O||!L||L===E)&&(L=A.prototype,O))for(i in P)l[i]&&y(l[i].prototype,L);if(O&&_(T)!==L&&y(T,L),o&&!d(L,I))for(i in R=!0,g(L,I,{get:function(){return u(this)?this[D]:void 0}}),P)l[i]&&f(l[i],D,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_CONSTRUCTOR:k,TYPED_ARRAY_TAG:R&&D,aTypedArray:function(t){if(Y(t))return t;throw C("Target is not a typed array")},aTypedArrayConstructor:function(t){if(c(t)&&(!y||v(A,t)))return t;throw C(p(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n,i){if(o){if(n)for(var r in P){var a=l[r];if(a&&d(a.prototype,t))try{delete a.prototype[t]}catch(n){try{a.prototype[t]=e}catch(t){}}}L[t]&&!n||m(L,t,n?e:O&&M[t]||e,i)}},exportTypedArrayStaticMethod:function(t,e,n){var i,r;if(o){if(y){if(n)for(i in P)if((r=l[i])&&d(r,t))try{delete r[t]}catch(t){}if(A[t]&&!n)return;try{return m(A,t,n?e:O&&A[t]||e)}catch(t){}}for(i in P)!(r=l[i])||r[t]&&!n||m(r,t,e)}},isView:function(t){if(!u(t))return!1;var e=h(t);return"DataView"===e||d(P,e)||d(N,e)},isTypedArray:Y,TypedArray:A,TypedArrayPrototype:L}},function(t,e,n){var i=n(6),r=n(300),a=n(301),s=n(302),o=n(44),l=function(t){if(t&&t.forEach!==s)try{o(t,"forEach",s)}catch(e){t.forEach=s}};for(var c in r)r[c]&&l(i[c]&&i[c].prototype);l(a)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(33),r=Object;t.exports=function(t){return r(i(t))}},function(t,e,n){var i=n(6),r=n(9),a=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(i[t]):i[t]&&i[t][e]}},function(t,e,n){var i=n(9),r=n(44),a=n(236),s=n(195);t.exports=function(t,e,n,o){o||(o={});var l=o.enumerable,c=void 0!==o.name?o.name:e;return i(n)&&a(n,c,o),o.global?l?t[e]=n:s(e,n):(o.unsafe?t[e]&&(l=!0):delete t[e],l?t[e]=n:r(t,e,n)),t}},function(t,e,n){var i=n(35),r=n(169),a=n(54),s=n(233),o=n(117),l=n(274),c=r("wks"),u=i.Symbol,d=u&&u.for,h=l?u:u&&u.withoutSetter||s;t.exports=function(t){if(!a(c,t)||!o&&"string"!=typeof c[t]){var e="Symbol."+t;o&&a(u,t)?c[t]=u[t]:c[t]=l&&d?d(e):h(e)}return c[t]}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e,n){var i=n(61);t.exports=function(t){return i(t.length)}},function(t,e,n){t.exports=n(808)},function(t,e){var n=TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},function(t,e,n){t.exports=n(811)},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(114))},function(t,e){t.exports=!1},function(t,e,n){var i=n(38),r=n(54),a=n(355),s=n(94).f;
49t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||s(e,t,{value:a.f(t)})}},function(t,e){t.exports={}},function(t,e,n){var i=n(297);t.exports=function(t){var e=+t;return e!=e||0===e?0:i(e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n(336),r=n.n(i);var a=n(164),s=n.n(a),o=n(337),l=n.n(o);var c=n(338);function u(t,e){return function(t){if(r()(t))return t}(t)||function(t,e){var n=null==t?null:void 0!==s.a&&l()(t)||t["@@iterator"];if(null!=n){var i,r,a=[],o=!0,c=!1;try{for(n=n.call(t);!(o=(i=n.next()).done)&&(a.push(i.value),!e||a.length!==e);o=!0);}catch(t){c=!0,r=t}finally{try{o||null==n.return||n.return()}finally{if(c)throw r}}return a}}(t,e)||Object(c.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){var i,r,a,s=n(296),o=n(6),l=n(3),c=n(12),u=n(44),d=n(13),h=n(194),p=n(186),f=n(140),m=o.TypeError,g=o.WeakMap;if(s||h.state){var v=h.state||(h.state=new g),_=l(v.get),y=l(v.has),b=l(v.set);i=function(t,e){if(y(v,t))throw new m("Object already initialized");return e.facade=t,b(v,t,e),e},r=function(t){return _(v,t)||{}},a=function(t){return y(v,t)}}else{var x=p("state");f[x]=!0,i=function(t,e){if(d(t,x))throw new m("Object already initialized");return e.facade=t,u(t,x,e),e},r=function(t){return d(t,x)?t[x]:{}},a=function(t){return d(t,x)}}t.exports={set:i,get:r,has:a,enforce:function(t){return a(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=r(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var i=n(9),r=n(116),a=TypeError;t.exports=function(t){if(i(t))return t;throw a(r(t)+" is not a function")}},function(t,e,n){"use strict";
50/**
51 * @license
52 * Copyright 2018 Google Inc.
53 *
54 * Permission is hereby granted, free of charge, to any person obtaining a copy
55 * of this software and associated documentation files (the "Software"), to deal
56 * in the Software without restriction, including without limitation the rights
57 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
58 * copies of the Software, and to permit persons to whom the Software is
59 * furnished to do so, subject to the following conditions:
60 *
61 * The above copyright notice and this permission notice shall be included in
62 * all copies or substantial portions of the Software.
63 *
64 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
65 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
66 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
67 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
68 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
69 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
70 * THE SOFTWARE.
71 */
72function i(t,e){if(t.closest)return t.closest(e);for(var n=t;n;){if(r(n,e))return n;n=n.parentElement}return null}function r(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}function a(t){var e=t;if(null!==e.offsetParent)return e.scrollWidth;var n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var i=n.scrollWidth;return document.documentElement.removeChild(n),i}n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return a}))},function(t,e,n){var i=n(7),r=n(21),a=n(67);t.exports=i?function(t,e,n){return r.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";(function(t,n){
73/*!
74 * Vue.js v2.6.14
75 * (c) 2014-2021 Evan You
76 * Released under the MIT License.
77 */
78var i=Object.freeze({});function r(t){return null==t}function a(t){return null!=t}function s(t){return!0===t}function o(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function l(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function u(t){return"[object Object]"===c.call(t)}function d(t){return"[object RegExp]"===c.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}
vendor: 64,893 bytes, line 78
78function p(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function f(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}g("slot,component",!0);var v=g("key,ref,slot,slot-scope,is");function _(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(t,e){return y.call(t,e)}function x(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,M=x((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),S=x((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,A=x((function(t){return t.replace(T,"-$1").toLowerCase()}));var L=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function E(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function C(t,e){for(var n in e)t[n]=e[n];return t}function I(t){for(var e={},n=0;n<t.length;n++)t[n]&&C(e,t[n]);return e}function D(t,e,n){}var k=function(t,e,n){return!1},O=function(t){return t};function R(t,e){if(t===e)return!0;var n=l(t),i=l(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),a=Array.isArray(e);if(r&&a)return t.length===e.length&&t.every((function(t,n){return R(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||a)return!1;var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every((function(n){return R(t[n],e[n])}))}catch(t){return!1}}function P(t,e){for(var n=0;n<t.length;n++)if(R(t[n],e))return n;return-1}function N(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var Y=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:k,isReservedAttr:k,isUnknownElement:k,getTagNamespace:D,parsePlatformTagName:O,mustUseProp:k,async:!0,_lifecycleHooks:F},j=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function B(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var z=new RegExp("[^"+j.source+".$_\\d]");var U,V="__proto__"in{},W="undefined"!=typeof window,G="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,q=G&&WXEnvironment.platform.toLowerCase(),X=W&&window.navigator.userAgent.toLowerCase(),$=X&&/msie|trident/.test(X),K=X&&X.indexOf("msie 9.0")>0,J=X&&X.indexOf("edge/")>0,Q=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===q),Z=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(W)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(t){}var it=function(){return void 0===U&&(U=!W&&!G&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),U},rt=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,ot="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);st="undefined"!=typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=D,ct=0,ut=function(){this.id=ct++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){_(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},ut.target=null;var dt=[];function ht(t){dt.push(t),ut.target=t}function pt(){dt.pop(),ut.target=dt[dt.length-1]}var ft=function(t,e,n,i,r,a,s,o){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=o,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},mt={child:{configurable:!0}};mt.child.get=function(){return this.componentInstance},Object.defineProperties(ft.prototype,mt);var gt=function(t){void 0===t&&(t="");var e=new ft;return e.text=t,e.isComment=!0,e};function vt(t){return new ft(void 0,void 0,void 0,String(t))}function _t(t){var e=new ft(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var yt=Array.prototype,bt=Object.create(yt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=yt[t];B(bt,t,(function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,a=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&s.observeArray(r),s.dep.notify(),a}))}));var xt=Object.getOwnPropertyNames(bt),wt=!0;function Mt(t){wt=t}var St=function(t){this.value=t,this.dep=new ut,this.vmCount=0,B(t,"__ob__",this),Array.isArray(t)?(V?function(t,e){t.__proto__=e}(t,bt):function(t,e,n){for(var i=0,r=n.length;i<r;i++){var a=n[i];B(t,a,e[a])}}(t,bt,xt),this.observeArray(t)):this.walk(t)};function Tt(t,e){var n;if(l(t)&&!(t instanceof ft))return b(t,"__ob__")&&t.__ob__ instanceof St?n=t.__ob__:wt&&!it()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new St(t)),e&&n&&n.vmCount++,n}function At(t,e,n,i,r){var a=new ut,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var o=s&&s.get,l=s&&s.set;o&&!l||2!==arguments.length||(n=t[e]);var c=!r&&Tt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):n;return ut.target&&(a.depend(),c&&(c.dep.depend(),Array.isArray(e)&&Ct(e))),e},set:function(e){var i=o?o.call(t):n;e===i||e!=e&&i!=i||o&&!l||(l?l.call(t,e):n=e,c=!r&&Tt(e),a.notify())}})}}function Lt(t,e,n){if(Array.isArray(t)&&h(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var i=t.__ob__;return t._isVue||i&&i.vmCount?n:i?(At(i.value,e,n),i.dep.notify(),n):(t[e]=n,n)}function Et(t,e){if(Array.isArray(t)&&h(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||b(t,e)&&(delete t[e],n&&n.dep.notify())}}function Ct(t){for(var e=void 0,n=0,i=t.length;n<i;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Ct(e)}St.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)At(t,e[n])},St.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Tt(t[e])};var It=H.optionMergeStrategies;function Dt(t,e){if(!e)return t;for(var n,i,r,a=ot?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)"__ob__"!==(n=a[s])&&(i=t[n],r=e[n],b(t,n)?i!==r&&u(i)&&u(r)&&Dt(i,r):Lt(t,n,r));return t}function kt(t,e,n){return n?function(){var i="function"==typeof e?e.call(n,n):e,r="function"==typeof t?t.call(n,n):t;return i?Dt(i,r):r}:e?t?function(){return Dt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Ot(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Rt(t,e,n,i){var r=Object.create(t||null);return e?C(r,e):r}It.data=function(t,e,n){return n?kt(t,e,n):e&&"function"!=typeof e?t:kt(t,e)},F.forEach((function(t){It[t]=Ot})),Y.forEach((function(t){It[t+"s"]=Rt})),It.watch=function(t,e,n,i){if(t===tt&&(t=void 0),e===tt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};for(var a in C(r,t),e){var s=r[a],o=e[a];s&&!Array.isArray(s)&&(s=[s]),r[a]=s?s.concat(o):Array.isArray(o)?o:[o]}return r},It.props=It.methods=It.inject=It.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return C(r,t),e&&C(r,e),r},It.provide=kt;var Pt=function(t,e){return void 0===e?t:e};function Nt(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var i,r,a={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])&&(a[M(r)]={type:null});else if(u(n))for(var s in n)r=n[s],a[M(s)]=u(r)?r:{type:r};else 0;t.props=a}}(e),function(t,e){var n=t.inject;if(n){var i=t.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(u(n))for(var a in n){var s=n[a];i[a]=u(s)?C({from:a},s):{from:s}}else 0}}(e),function(t){var e=t.directives;if(e)for(var n in e){var i=e[n];"function"==typeof i&&(e[n]={bind:i,update:i})}}(e),!e._base&&(e.extends&&(t=Nt(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=Nt(t,e.mixins[i],n);var a,s={};for(a in t)o(a);for(a in e)b(t,a)||o(a);function o(i){var r=It[i]||Pt;s[i]=r(t[i],e[i],n,i)}return s}function Yt(t,e,n,i){if("string"==typeof n){var r=t[e];if(b(r,n))return r[n];var a=M(n);if(b(r,a))return r[a];var s=S(a);return b(r,s)?r[s]:r[n]||r[a]||r[s]}}function Ft(t,e,n,i){var r=e[t],a=!b(n,t),s=n[t],o=zt(Boolean,r.type);if(o>-1)if(a&&!b(r,"default"))s=!1;else if(""===s||s===A(t)){var l=zt(String,r.type);(l<0||o<l)&&(s=!0)}if(void 0===s){s=function(t,e,n){if(!b(e,"default"))return;var i=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof i&&"Function"!==jt(e.type)?i.call(t):i}(i,r,t);var c=wt;Mt(!0),Tt(s),Mt(c)}return s}var Ht=/^\s*function (\w+)/;function jt(t){var e=t&&t.toString().match(Ht);return e?e[1]:""}function Bt(t,e){return jt(t)===jt(e)}function zt(t,e){if(!Array.isArray(e))return Bt(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Bt(e[n],t))return n;return-1}function Ut(t,e,n){ht();try{if(e)for(var i=e;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var a=0;a<r.length;a++)try{if(!1===r[a].call(i,t,e,n))return}catch(t){Wt(t,i,"errorCaptured hook")}}Wt(t,e,n)}finally{pt()}}function Vt(t,e,n,i,r){var a;try{(a=n?t.apply(e,n):t.call(e))&&!a._isVue&&p(a)&&!a._handled&&(a.catch((function(t){return Ut(t,i,r+" (Promise/async)")})),a._handled=!0)}catch(t){Ut(t,i,r)}return a}function Wt(t,e,n){if(H.errorHandler)try{return H.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Gt(e,null,"config.errorHandler")}Gt(t,e,n)}function Gt(t,e,n){if(!W&&!G||"undefined"==typeof console)throw t;console.error(t)}var qt,Xt=!1,$t=[],Kt=!1;function Jt(){Kt=!1;var t=$t.slice(0);$t.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&at(Promise)){var Qt=Promise.resolve();qt=function(){Qt.then(Jt),Q&&setTimeout(D)},Xt=!0}else if($||"undefined"==typeof MutationObserver||!at(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())qt=void 0!==n&&at(n)?function(){n(Jt)}:function(){setTimeout(Jt,0)};else{var Zt=1,te=new MutationObserver(Jt),ee=document.createTextNode(String(Zt));te.observe(ee,{characterData:!0}),qt=function(){Zt=(Zt+1)%2,ee.data=String(Zt)},Xt=!0}function ne(t,e){var n;if($t.push((function(){if(t)try{t.call(e)}catch(t){Ut(t,e,"nextTick")}else n&&n(e)})),Kt||(Kt=!0,qt()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}var ie=new st;function re(t){!function t(e,n){var i,r,a=Array.isArray(e);if(!a&&!l(e)||Object.isFrozen(e)||e instanceof ft)return;if(e.__ob__){var s=e.__ob__.dep.id;if(n.has(s))return;n.add(s)}if(a)for(i=e.length;i--;)t(e[i],n);else for(r=Object.keys(e),i=r.length;i--;)t(e[r[i]],n)}(t,ie),ie.clear()}var ae=x((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),i="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=i?t.slice(1):t,once:n,capture:i,passive:e}}));function se(t,e){function n(){var t=arguments,i=n.fns;if(!Array.isArray(i))return Vt(i,null,arguments,e,"v-on handler");for(var r=i.slice(),a=0;a<r.length;a++)Vt(r[a],null,t,e,"v-on handler")}return n.fns=t,n}function oe(t,e,n,i,a,o){var l,c,u,d;for(l in t)c=t[l],u=e[l],d=ae(l),r(c)||(r(u)?(r(c.fns)&&(c=t[l]=se(c,o)),s(d.once)&&(c=t[l]=a(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,t[l]=u));for(l in e)r(t[l])&&i((d=ae(l)).name,e[l],d.capture)}function le(t,e,n){var i;t instanceof ft&&(t=t.data.hook||(t.data.hook={}));var o=t[e];function l(){n.apply(this,arguments),_(i.fns,l)}r(o)?i=se([l]):a(o.fns)&&s(o.merged)?(i=o).fns.push(l):i=se([o,l]),i.merged=!0,t[e]=i}function ce(t,e,n,i,r){if(a(e)){if(b(e,n))return t[n]=e[n],r||delete e[n],!0;if(b(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function ue(t){return o(t)?[vt(t)]:Array.isArray(t)?function t(e,n){var i,l,c,u,d=[];for(i=0;i<e.length;i++)r(l=e[i])||"boolean"==typeof l||(c=d.length-1,u=d[c],Array.isArray(l)?l.length>0&&(de((l=t(l,(n||"")+"_"+i))[0])&&de(u)&&(d[c]=vt(u.text+l[0].text),l.shift()),d.push.apply(d,l)):o(l)?de(u)?d[c]=vt(u.text+l):""!==l&&d.push(vt(l)):de(l)&&de(u)?d[c]=vt(u.text+l.text):(s(e._isVList)&&a(l.tag)&&r(l.key)&&a(n)&&(l.key="__vlist"+n+"_"+i+"__"),d.push(l)));return d}(t):void 0}function de(t){return a(t)&&a(t.text)&&!1===t.isComment}function he(t,e){if(t){for(var n=Object.create(null),i=ot?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var a=i[r];if("__ob__"!==a){for(var s=t[a].from,o=e;o;){if(o._provided&&b(o._provided,s)){n[a]=o._provided[s];break}o=o.$parent}if(!o)if("default"in t[a]){var l=t[a].default;n[a]="function"==typeof l?l.call(e):l}else 0}}return n}}function pe(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var a=t[i],s=a.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,a.context!==e&&a.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(a);else{var o=s.slot,l=n[o]||(n[o]=[]);"template"===a.tag?l.push.apply(l,a.children||[]):l.push(a)}}for(var c in n)n[c].every(fe)&&delete n[c];return n}function fe(t){return t.isComment&&!t.asyncFactory||" "===t.text}function me(t){return t.isComment&&t.asyncFactory}function ge(t,e,n){var r,a=Object.keys(e).length>0,s=t?!!t.$stable:!a,o=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&n&&n!==i&&o===n.$key&&!a&&!n.$hasNormal)return n;for(var l in r={},t)t[l]&&"$"!==l[0]&&(r[l]=ve(e,l,t[l]))}else r={};for(var c in e)c in r||(r[c]=_e(e,c));return t&&Object.isExtensible(t)&&(t._normalized=r),B(r,"$stable",s),B(r,"$key",o),B(r,"$hasNormal",a),r}function ve(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({}),e=(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ue(t))&&t[0];return t&&(!e||1===t.length&&e.isComment&&!me(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function _e(t,e){return function(){return t[e]}}function ye(t,e){var n,i,r,s,o;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,r=t.length;i<r;i++)n[i]=e(t[i],i);else if("number"==typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(l(t))if(ot&&t[Symbol.iterator]){n=[];for(var c=t[Symbol.iterator](),u=c.next();!u.done;)n.push(e(u.value,n.length)),u=c.next()}else for(s=Object.keys(t),n=new Array(s.length),i=0,r=s.length;i<r;i++)o=s[i],n[i]=e(t[o],o,i);return a(n)||(n=[]),n._isVList=!0,n}function be(t,e,n,i){var r,a=this.$scopedSlots[t];a?(n=n||{},i&&(n=C(C({},i),n)),r=a(n)||("function"==typeof e?e():e)):r=this.$slots[t]||("function"==typeof e?e():e);var s=n&&n.slot;return s?this.$createElement("template",{slot:s},r):r}function xe(t){return Yt(this.$options,"filters",t)||O}function we(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Me(t,e,n,i,r){var a=H.keyCodes[e]||n;return r&&i&&!H.keyCodes[e]?we(r,i):a?we(a,t):i?A(i)!==e:void 0===t}function Se(t,e,n,i,r){if(n)if(l(n)){var a;Array.isArray(n)&&(n=I(n));var s=function(s){if("class"===s||"style"===s||v(s))a=t;else{var o=t.attrs&&t.attrs.type;a=i||H.mustUseProp(e,o,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=M(s),c=A(s);l in a||c in a||(a[s]=n[s],r&&((t.on||(t.on={}))["update:"+s]=function(t){n[s]=t}))};for(var o in n)s(o)}else;return t}function Te(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||Le(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),i}function Ae(t,e,n){return Le(t,"__once__"+e+(n?"_"+n:""),!0),t}function Le(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&Ee(t[i],e+"_"+i,n);else Ee(t,e,n)}function Ee(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ce(t,e){if(e)if(u(e)){var n=t.on=t.on?C({},t.on):{};for(var i in e){var r=n[i],a=e[i];n[i]=r?[].concat(r,a):a}}else;return t}function Ie(t,e,n,i){e=e||{$stable:!n};for(var r=0;r<t.length;r++){var a=t[r];Array.isArray(a)?Ie(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return i&&(e.$key=i),e}function De(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"==typeof i&&i&&(t[e[n]]=e[n+1])}return t}function ke(t,e){return"string"==typeof t?e+t:t}function Oe(t){t._o=Ae,t._n=m,t._s=f,t._l=ye,t._t=be,t._q=R,t._i=P,t._m=Te,t._f=xe,t._k=Me,t._b=Se,t._v=vt,t._e=gt,t._u=Ie,t._g=Ce,t._d=De,t._p=ke}function Re(t,e,n,r,a){var o,l=this,c=a.options;b(r,"_uid")?(o=Object.create(r))._original=r:(o=r,r=r._original);var u=s(c._compiled),d=!u;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||i,this.injections=he(c.inject,r),this.slots=function(){return l.$slots||ge(t.scopedSlots,l.$slots=pe(n,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ge(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=ge(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,i){var a=Be(o,t,e,n,i,d);return a&&!Array.isArray(a)&&(a.fnScopeId=c._scopeId,a.fnContext=r),a}:this._c=function(t,e,n,i){return Be(o,t,e,n,i,d)}}function Pe(t,e,n,i,r){var a=_t(t);return a.fnContext=n,a.fnOptions=i,e.slot&&((a.data||(a.data={})).slot=e.slot),a}function Ne(t,e){for(var n in e)t[M(n)]=e[n]}Oe(Re.prototype);var Ye={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Ye.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;a(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Ke)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,a){0;var s=r.data.scopedSlots,o=t.$scopedSlots,l=!!(s&&!s.$stable||o!==i&&!o.$stable||s&&t.$scopedSlots.$key!==s.$key||!s&&t.$scopedSlots.$key),c=!!(a||t.$options._renderChildren||l);t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r);if(t.$options._renderChildren=a,t.$attrs=r.data.attrs||i,t.$listeners=n||i,e&&t.$options.props){Mt(!1);for(var u=t._props,d=t.$options._propKeys||[],h=0;h<d.length;h++){var p=d[h],f=t.$options.props;u[p]=Ft(p,f,e,t)}Mt(!0),t.$options.propsData=e}n=n||i;var m=t.$options._parentListeners;t.$options._parentListeners=n,$e(t,n,m),c&&(t.$slots=pe(a,r.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,i=t.componentInstance;i._isMounted||(i._isMounted=!0,tn(i,"mounted")),t.data.keepAlive&&(n._isMounted?((e=i)._inactive=!1,nn.push(e)):Ze(i,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,Qe(e)))return;if(!e._inactive){e._inactive=!0;for(var i=0;i<e.$children.length;i++)t(e.$children[i]);tn(e,"deactivated")}}(e,!0):e.$destroy())}},Fe=Object.keys(Ye);function He(t,e,n,o,c){if(!r(t)){var u=n.$options._base;if(l(t)&&(t=u.extend(t)),"function"==typeof t){var d;if(r(t.cid)&&void 0===(t=function(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Ue;n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n);if(s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var i=t.owners=[n],o=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return _(i,n)}));var d=function(t){for(var e=0,n=i.length;e<n;e++)i[e].$forceUpdate();t&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},h=N((function(n){t.resolved=Ve(n,e),o?i.length=0:d(!0)})),f=N((function(e){a(t.errorComp)&&(t.error=!0,d(!0))})),m=t(h,f);return l(m)&&(p(m)?r(t.resolved)&&m.then(h,f):p(m.component)&&(m.component.then(h,f),a(m.error)&&(t.errorComp=Ve(m.error,e)),a(m.loading)&&(t.loadingComp=Ve(m.loading,e),0===m.delay?t.loading=!0:c=setTimeout((function(){c=null,r(t.resolved)&&r(t.error)&&(t.loading=!0,d(!1))}),m.delay||200)),a(m.timeout)&&(u=setTimeout((function(){u=null,r(t.resolved)&&f(null)}),m.timeout)))),o=!1,t.loading?t.loadingComp:t.resolved}}(d=t,u)))return function(t,e,n,i,r){var a=gt();return a.asyncFactory=t,a.asyncMeta={data:e,context:n,children:i,tag:r},a}(d,e,n,o,c);e=e||{},Mn(t),a(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var r=e.on||(e.on={}),s=r[i],o=e.model.callback;a(s)?(Array.isArray(s)?-1===s.indexOf(o):s!==o)&&(r[i]=[o].concat(s)):r[i]=o}(t.options,e);var h=function(t,e,n){var i=e.options.props;if(!r(i)){var s={},o=t.attrs,l=t.props;if(a(o)||a(l))for(var c in i){var u=A(c);ce(s,l,c,u,!0)||ce(s,o,c,u,!1)}return s}}(e,t);if(s(t.options.functional))return function(t,e,n,r,s){var o=t.options,l={},c=o.props;if(a(c))for(var u in c)l[u]=Ft(u,c,e||i);else a(n.attrs)&&Ne(l,n.attrs),a(n.props)&&Ne(l,n.props);var d=new Re(n,l,s,r,t),h=o.render.call(null,d._c,d);if(h instanceof ft)return Pe(h,n,d.parent,o,d);if(Array.isArray(h)){for(var p=ue(h)||[],f=new Array(p.length),m=0;m<p.length;m++)f[m]=Pe(p[m],n,d.parent,o,d);return f}}(t,h,e,n,o);var f=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var m=e.slot;e={},m&&(e.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Fe.length;n++){var i=Fe[n],r=e[i],a=Ye[i];r===a||r&&r._merged||(e[i]=r?je(a,r):a)}}(e);var g=t.options.name||c;return new ft("vue-component-"+t.cid+(g?"-"+g:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:h,listeners:f,tag:c,children:o},d)}}}function je(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}function Be(t,e,n,i,c,u){return(Array.isArray(n)||o(n))&&(c=i,i=n,n=void 0),s(u)&&(c=2),function(t,e,n,i,o){if(a(n)&&a(n.__ob__))return gt();a(n)&&a(n.is)&&(e=n.is);if(!e)return gt();0;Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);2===o?i=ue(i):1===o&&(i=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(i));var c,u;if("string"==typeof e){var d;u=t.$vnode&&t.$vnode.ns||H.getTagNamespace(e),c=H.isReservedTag(e)?new ft(H.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!a(d=Yt(t.$options,"components",e))?new ft(e,n,i,void 0,void 0,t):He(d,n,t,i,e)}else c=He(e,n,t,i);return Array.isArray(c)?c:a(c)?(a(u)&&function t(e,n,i){e.ns=n,"foreignObject"===e.tag&&(n=void 0,i=!0);if(a(e.children))for(var o=0,l=e.children.length;o<l;o++){var c=e.children[o];a(c.tag)&&(r(c.ns)||s(i)&&"svg"!==c.tag)&&t(c,n,i)}}(c,u),a(n)&&function(t){l(t.style)&&re(t.style);l(t.class)&&re(t.class)}(n),c):gt()}(t,e,n,i,c)}var ze,Ue=null;function Ve(t,e){return(t.__esModule||ot&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function We(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||me(n)))return n}}function Ge(t,e){ze.$on(t,e)}function qe(t,e){ze.$off(t,e)}function Xe(t,e){var n=ze;return function i(){var r=e.apply(null,arguments);null!==r&&n.$off(t,i)}}function $e(t,e,n){ze=t,oe(e,n||{},Ge,qe,Xe,t),ze=void 0}var Ke=null;function Je(t){var e=Ke;return Ke=t,function(){Ke=e}}function Qe(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Ze(t,e){if(e){if(t._directInactive=!1,Qe(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Ze(t.$children[n]);tn(t,"activated")}}function tn(t,e){ht();var n=t.$options[e],i=e+" hook";if(n)for(var r=0,a=n.length;r<a;r++)Vt(n[r],t,null,t,i);t._hasHookEvent&&t.$emit("hook:"+e),pt()}var en=[],nn=[],rn={},an=!1,sn=!1,on=0;var ln=0,cn=Date.now;if(W&&!$){var un=window.performance;un&&"function"==typeof un.now&&cn()>document.createEvent("Event").timeStamp&&(cn=function(){return un.now()})}function dn(){var t,e;for(ln=cn(),sn=!0,en.sort((function(t,e){return t.id-e.id})),on=0;on<en.length;on++)(t=en[on]).before&&t.before(),e=t.id,rn[e]=null,t.run();var n=nn.slice(),i=en.slice();on=en.length=nn.length=0,rn={},an=sn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Ze(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&tn(i,"updated")}}(i),rt&&H.devtools&&rt.emit("flush")}var hn=0,pn=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++hn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new st,this.newDepIds=new st,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!z.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};pn.prototype.get=function(){var t;ht(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Ut(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&re(t),pt(),this.cleanupDeps()}return t},pn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},pn.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},pn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==rn[e]){if(rn[e]=!0,sn){for(var n=en.length-1;n>on&&en[n].id>t.id;)n--;en.splice(n+1,0,t)}else en.push(t);an||(an=!0,ne(dn))}}(this)},pn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';Vt(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:D,set:D};function mn(t,e,n){fn.get=function(){return this[e][n]},fn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,fn)}function gn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&Mt(!1);var a=function(a){r.push(a);var s=Ft(a,e,n,t);At(i,a,s),a in t||mn(t,"_props",a)};for(var s in e)a(s);Mt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?D:L(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){ht();try{return t.call(e,e)}catch(t){return Ut(t,e,"data()"),{}}finally{pt()}}(e,t):e||{})||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var a=n[r];0,i&&b(i,a)||(s=void 0,36!==(s=(a+"").charCodeAt(0))&&95!==s&&mn(t,"_data",a))}var s;Tt(e,!0)}(t):Tt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=it();for(var r in e){var a=e[r],s="function"==typeof a?a:a.get;0,i||(n[r]=new pn(t,s||D,D,vn)),r in t||_n(t,r,a)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)xn(t,n,i[r]);else xn(t,n,i)}}(t,e.watch)}var vn={lazy:!0};function _n(t,e,n){var i=!it();"function"==typeof n?(fn.get=i?yn(e):bn(n),fn.set=D):(fn.get=n.get?i&&!1!==n.cache?yn(e):bn(n.get):D,fn.set=n.set||D),Object.defineProperty(t,e,fn)}function yn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ut.target&&e.depend(),e.value}}function bn(t){return function(){return t.call(this,this)}}function xn(t,e,n,i){return u(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}var wn=0;function Mn(t){var e=t.options;if(t.super){var n=Mn(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&C(t.extendOptions,i),(e=t.options=Nt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Sn(t){this._init(t)}function Tn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var a=t.name||n.options.name;var s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=Nt(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)mn(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)_n(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,Y.forEach((function(t){s[t]=n[t]})),a&&(s.options.components[a]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=C({},s.options),r[i]=s,s}}function An(t){return t&&(t.Ctor.options.name||t.tag)}function Ln(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function En(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var a in n){var s=n[a];if(s){var o=s.name;o&&!e(o)&&Cn(n,a,i,r)}}}function Cn(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,_(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=wn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Nt(Mn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&$e(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=pe(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,n,i,r){return Be(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Be(t,e,n,i,r,!0)};var a=n&&n.data;At(t,"$attrs",a&&a.attrs||i,null,!0),At(t,"$listeners",e._parentListeners||i,null,!0)}(e),tn(e,"beforeCreate"),function(t){var e=he(t.$options.inject,t);e&&(Mt(!1),Object.keys(e).forEach((function(n){At(t,n,e[n])})),Mt(!0))}(e),gn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),tn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Sn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Lt,t.prototype.$delete=Et,t.prototype.$watch=function(t,e,n){if(u(e))return xn(this,t,e,n);(n=n||{}).user=!0;var i=new pn(this,t,e,n);if(n.immediate){var r='callback for immediate watcher "'+i.expression+'"';ht(),Vt(e,this,[i.value],this,r),pt()}return function(){i.teardown()}}}(Sn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var r=0,a=t.length;r<a;r++)i.$on(t[r],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var i=0,r=t.length;i<r;i++)n.$off(t[i],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var o=s.length;o--;)if((a=s[o])===e||a.fn===e){s.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?E(n):n;for(var i=E(arguments,1),r='event handler for "'+t+'"',a=0,s=n.length;a<s;a++)Vt(n[a],e,i,e,r)}return e}}(Sn),function(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,a=Je(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),a(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){tn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||_(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),tn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Sn),function(t){Oe(t.prototype),t.prototype.$nextTick=function(t){return ne(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,r=n._parentVnode;r&&(e.$scopedSlots=ge(r.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=r;try{Ue=e,t=i.call(e._renderProxy,e.$createElement)}catch(n){Ut(n,e,"render"),t=e._vnode}finally{Ue=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof ft||(t=gt()),t.parent=r,t}}(Sn);var In=[String,RegExp,Array],Dn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:In,exclude:In,max:[String,Number]},methods:{cacheVNode:function(){var t=this.cache,e=this.keys,n=this.vnodeToCache,i=this.keyToCache;if(n){var r=n.tag,a=n.componentInstance,s=n.componentOptions;t[i]={name:An(s),tag:r,componentInstance:a},e.push(i),this.max&&e.length>parseInt(this.max)&&Cn(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Cn(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){En(t,(function(t){return Ln(e,t)}))})),this.$watch("exclude",(function(e){En(t,(function(t){return!Ln(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=We(t),n=e&&e.componentOptions;if(n){var i=An(n),r=this.include,a=this.exclude;if(r&&(!i||!Ln(r,i))||a&&i&&Ln(a,i))return e;var s=this.cache,o=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;s[l]?(e.componentInstance=s[l].componentInstance,_(o,l),o.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:lt,extend:C,mergeOptions:Nt,defineReactive:At},t.set=Lt,t.delete=Et,t.nextTick=ne,t.observable=function(t){return Tt(t),t},t.options=Object.create(null),Y.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,C(t.options.components,Dn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),Tn(t),function(t){Y.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Sn),Object.defineProperty(Sn.prototype,"$isServer",{get:it}),Object.defineProperty(Sn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sn,"FunctionalRenderContext",{value:Re}),Sn.version="2.6.14";var kn=g("style,class"),On=g("input,textarea,option,select,progress"),Rn=g("contenteditable,draggable,spellcheck"),Pn=g("events,caret,typing,plaintext-only"),Nn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Yn="http://www.w3.org/1999/xlink",Fn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Hn=function(t){return Fn(t)?t.slice(6,t.length):""},jn=function(t){return null==t||!1===t};function Bn(t){for(var e=t.data,n=t,i=t;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=zn(i.data,e));for(;a(n=n.parent);)n&&n.data&&(e=zn(e,n.data));return function(t,e){if(a(t)||a(e))return Un(t,Vn(e));return""}(e.staticClass,e.class)}function zn(t,e){return{staticClass:Un(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Un(t,e){return t?e?t+" "+e:t:e||""}function Vn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i<r;i++)a(e=Vn(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):l(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Wn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Gn=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),qn=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Xn=function(t){return Gn(t)||qn(t)};var $n=Object.create(null);var Kn=g("text,number,password,search,email,tel,url");var Jn=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Wn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Qn={create:function(t,e){Zn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Zn(t,!0),Zn(e))},destroy:function(t){Zn(t,!0)}};function Zn(t,e){var n=t.data.ref;if(a(n)){var i=t.context,r=t.componentInstance||t.elm,s=i.$refs;e?Array.isArray(s[n])?_(s[n],r):s[n]===r&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])?s[n].indexOf(r)<0&&s[n].push(r):s[n]=[r]:s[n]=r}}var ti=new ft("",{},[]),ei=["create","activate","update","remove","destroy"];function ni(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,i=a(n=t.data)&&a(n=n.attrs)&&n.type,r=a(n=e.data)&&a(n=n.attrs)&&n.type;return i===r||Kn(i)&&Kn(r)}(t,e)||s(t.isAsyncPlaceholder)&&r(e.asyncFactory.error))}function ii(t,e,n){var i,r,s={};for(i=e;i<=n;++i)a(r=t[i].key)&&(s[r]=i);return s}var ri={create:ai,update:ai,destroy:function(t){ai(t,ti)}};function ai(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,i,r,a=t===ti,s=e===ti,o=oi(t.data.directives,t.context),l=oi(e.data.directives,e.context),c=[],u=[];for(n in l)i=o[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,ci(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(ci(r,"bind",e,t),r.def&&r.def.inserted&&c.push(r));if(c.length){var d=function(){for(var n=0;n<c.length;n++)ci(c[n],"inserted",e,t)};a?le(e,"insert",d):d()}u.length&&le(e,"postpatch",(function(){for(var n=0;n<u.length;n++)ci(u[n],"componentUpdated",e,t)}));if(!a)for(n in o)l[n]||ci(o[n],"unbind",t,t,s)}(t,e)}var si=Object.create(null);function oi(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++)(i=t[n]).modifiers||(i.modifiers=si),r[li(i)]=i,i.def=Yt(e.$options,"directives",i.name);return r}function li(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function ci(t,e,n,i,r){var a=t.def&&t.def[e];if(a)try{a(n.elm,t,n,i,r)}catch(i){Ut(i,n.context,"directive "+t.name+" "+e+" hook")}}var ui=[Qn,ri];function di(t,e){var n=e.componentOptions;if(!(a(n)&&!1===n.Ctor.options.inheritAttrs||r(t.data.attrs)&&r(e.data.attrs))){var i,s,o=e.elm,l=t.data.attrs||{},c=e.data.attrs||{};for(i in a(c.__ob__)&&(c=e.data.attrs=C({},c)),c)s=c[i],l[i]!==s&&hi(o,i,s,e.data.pre);for(i in($||J)&&c.value!==l.value&&hi(o,"value",c.value),l)r(c[i])&&(Fn(i)?o.removeAttributeNS(Yn,Hn(i)):Rn(i)||o.removeAttribute(i))}}function hi(t,e,n,i){i||t.tagName.indexOf("-")>-1?pi(t,e,n):Nn(e)?jn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Rn(e)?t.setAttribute(e,function(t,e){return jn(e)||"false"===e?"false":"contenteditable"===t&&Pn(e)?e:"true"}(e,n)):Fn(e)?jn(n)?t.removeAttributeNS(Yn,Hn(e)):t.setAttributeNS(Yn,e,n):pi(t,e,n)}function pi(t,e,n){if(jn(n))t.removeAttribute(e);else{if($&&!K&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var fi={create:di,update:di};function mi(t,e){var n=e.elm,i=e.data,s=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var o=Bn(e),l=n._transitionClasses;a(l)&&(o=Un(o,Vn(l))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var gi,vi={create:mi,update:mi};function _i(t,e,n){var i=gi;return function r(){var a=e.apply(null,arguments);null!==a&&xi(t,r,n,i)}}var yi=Xt&&!(Z&&Number(Z[1])<=53);function bi(t,e,n,i){if(yi){var r=ln,a=e;e=a._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return a.apply(this,arguments)}}gi.addEventListener(t,e,et?{capture:n,passive:i}:n)}function xi(t,e,n,i){(i||gi).removeEventListener(t,e._wrapper||e,n)}function wi(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};gi=e.elm,function(t){if(a(t.__r)){var e=$?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}a(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),oe(n,i,bi,xi,_i,e.context),gi=void 0}}var Mi,Si={create:wi,update:wi};function Ti(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,s=e.elm,o=t.data.domProps||{},l=e.data.domProps||{};for(n in a(l.__ob__)&&(l=e.data.domProps=C({},l)),o)n in l||(s[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===o[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=i;var c=r(i)?"":String(i);Ai(s,c)&&(s.value=c)}else if("innerHTML"===n&&qn(s.tagName)&&r(s.innerHTML)){(Mi=Mi||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=Mi.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;u.firstChild;)s.appendChild(u.firstChild)}else if(i!==o[n])try{s[n]=i}catch(t){}}}}function Ai(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(a(i)){if(i.number)return m(n)!==m(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Li={create:Ti,update:Ti},Ei=x((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function Ci(t){var e=Ii(t.style);return t.staticStyle?C(t.staticStyle,e):e}function Ii(t){return Array.isArray(t)?I(t):"string"==typeof t?Ei(t):t}var Di,ki=/^--/,Oi=/\s*!important$/,Ri=function(t,e,n){if(ki.test(e))t.style.setProperty(e,n);else if(Oi.test(n))t.style.setProperty(A(e),n.replace(Oi,""),"important");else{var i=Ni(e);if(Array.isArray(n))for(var r=0,a=n.length;r<a;r++)t.style[i]=n[r];else t.style[i]=n}},Pi=["Webkit","Moz","ms"],Ni=x((function(t){if(Di=Di||document.createElement("div").style,"filter"!==(t=M(t))&&t in Di)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Pi.length;n++){var i=Pi[n]+e;if(i in Di)return i}}));function Yi(t,e){var n=e.data,i=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var s,o,l=e.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,h=Ii(e.data.style)||{};e.data.normalizedStyle=a(h.__ob__)?C({},h):h;var p=function(t,e){var n,i={};if(e)for(var r=t;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=Ci(r.data))&&C(i,n);(n=Ci(t.data))&&C(i,n);for(var a=t;a=a.parent;)a.data&&(n=Ci(a.data))&&C(i,n);return i}(e,!0);for(o in d)r(p[o])&&Ri(l,o,"");for(o in p)(s=p[o])!==d[o]&&Ri(l,o,null==s?"":s)}}var Fi={create:Yi,update:Yi},Hi=/\s+/;function ji(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Hi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Bi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Hi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function zi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&C(e,Ui(t.name||"v")),C(e,t),e}return"string"==typeof t?Ui(t):void 0}}var Ui=x((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Vi=W&&!K,Wi="transition",Gi="transitionend",qi="animation",Xi="animationend";Vi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Wi="WebkitTransition",Gi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(qi="WebkitAnimation",Xi="webkitAnimationEnd"));var $i=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ki(t){$i((function(){$i(t)}))}function Ji(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ji(t,e))}function Qi(t,e){t._transitionClasses&&_(t._transitionClasses,e),Bi(t,e)}function Zi(t,e,n){var i=er(t,e),r=i.type,a=i.timeout,s=i.propCount;if(!r)return n();var o="transition"===r?Gi:Xi,l=0,c=function(){t.removeEventListener(o,u),n()},u=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l<s&&c()}),a+1),t.addEventListener(o,u)}var tr=/\b(transform|all)(,|$)/;function er(t,e){var n,i=window.getComputedStyle(t),r=(i[Wi+"Delay"]||"").split(", "),a=(i[Wi+"Duration"]||"").split(", "),s=nr(r,a),o=(i[qi+"Delay"]||"").split(", "),l=(i[qi+"Duration"]||"").split(", "),c=nr(o,l),u=0,d=0;return"transition"===e?s>0&&(n="transition",u=s,d=a.length):"animation"===e?c>0&&(n="animation",u=c,d=l.length):d=(n=(u=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===n?a.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:"transition"===n&&tr.test(i[Wi+"Property"])}}function nr(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return ir(e)+ir(t[n])})))}function ir(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function rr(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=zi(t.data.transition);if(!r(i)&&!a(n._enterCb)&&1===n.nodeType){for(var s=i.css,o=i.type,c=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,h=i.appearClass,p=i.appearToClass,f=i.appearActiveClass,g=i.beforeEnter,v=i.enter,_=i.afterEnter,y=i.enterCancelled,b=i.beforeAppear,x=i.appear,w=i.afterAppear,M=i.appearCancelled,S=i.duration,T=Ke,A=Ke.$vnode;A&&A.parent;)T=A.context,A=A.parent;var L=!T._isMounted||!t.isRootInsert;if(!L||x||""===x){var E=L&&h?h:c,C=L&&f?f:d,I=L&&p?p:u,D=L&&b||g,k=L&&"function"==typeof x?x:v,O=L&&w||_,R=L&&M||y,P=m(l(S)?S.enter:S);0;var Y=!1!==s&&!K,F=or(k),H=n._enterCb=N((function(){Y&&(Qi(n,I),Qi(n,C)),H.cancelled?(Y&&Qi(n,E),R&&R(n)):O&&O(n),n._enterCb=null}));t.data.show||le(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),k&&k(n,H)})),D&&D(n),Y&&(Ji(n,E),Ji(n,C),Ki((function(){Qi(n,E),H.cancelled||(Ji(n,I),F||(sr(P)?setTimeout(H,P):Zi(n,o,H)))}))),t.data.show&&(e&&e(),k&&k(n,H)),Y||F||H()}}}function ar(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=zi(t.data.transition);if(r(i)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var s=i.css,o=i.type,c=i.leaveClass,u=i.leaveToClass,d=i.leaveActiveClass,h=i.beforeLeave,p=i.leave,f=i.afterLeave,g=i.leaveCancelled,v=i.delayLeave,_=i.duration,y=!1!==s&&!K,b=or(p),x=m(l(_)?_.leave:_);0;var w=n._leaveCb=N((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(Qi(n,u),Qi(n,d)),w.cancelled?(y&&Qi(n,c),g&&g(n)):(e(),f&&f(n)),n._leaveCb=null}));v?v(M):M()}function M(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),y&&(Ji(n,c),Ji(n,d),Ki((function(){Qi(n,c),w.cancelled||(Ji(n,u),b||(sr(x)?setTimeout(w,x):Zi(n,o,w)))}))),p&&p(n,w),y||b||w())}}function sr(t){return"number"==typeof t&&!isNaN(t)}function or(t){if(r(t))return!1;var e=t.fns;return a(e)?or(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function lr(t,e){!0!==e.data.show&&rr(e)}var cr=function(t){var e,n,i={},l=t.modules,c=t.nodeOps;for(e=0;e<ei.length;++e)for(i[ei[e]]=[],n=0;n<l.length;++n)a(l[n][ei[e]])&&i[ei[e]].push(l[n][ei[e]]);function u(t){var e=c.parentNode(t);a(e)&&c.removeChild(e,t)}function d(t,e,n,r,o,l,u){if(a(t.elm)&&a(l)&&(t=l[u]=_t(t)),t.isRootInsert=!o,!function(t,e,n,r){var o=t.data;if(a(o)){var l=a(t.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(t,!1),a(t.componentInstance))return h(t,e),p(n,t.elm,r),s(l)&&function(t,e,n,r){var s,o=t;for(;o.componentInstance;)if(o=o.componentInstance._vnode,a(s=o.data)&&a(s=s.transition)){for(s=0;s<i.activate.length;++s)i.activate[s](ti,o);e.push(o);break}p(n,t.elm,r)}(t,e,n,r),!0}}(t,e,n,r)){var d=t.data,m=t.children,g=t.tag;a(g)?(t.elm=t.ns?c.createElementNS(t.ns,g):c.createElement(g,t),_(t),f(t,m,e),a(d)&&v(t,e),p(n,t.elm,r)):s(t.isComment)?(t.elm=c.createComment(t.text),p(n,t.elm,r)):(t.elm=c.createTextNode(t.text),p(n,t.elm,r))}}function h(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(v(t,e),_(t)):(Zn(t),e.push(t))}function p(t,e,n){a(t)&&(a(n)?c.parentNode(n)===t&&c.insertBefore(t,e,n):c.appendChild(t,e))}function f(t,e,n){if(Array.isArray(e)){0;for(var i=0;i<e.length;++i)d(e[i],n,t.elm,null,!0,e,i)}else o(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return a(t.tag)}function v(t,n){for(var r=0;r<i.create.length;++r)i.create[r](ti,t);a(e=t.data.hook)&&(a(e.create)&&e.create(ti,t),a(e.insert)&&n.push(t))}function _(t){var e;if(a(e=t.fnScopeId))c.setStyleScope(t.elm,e);else for(var n=t;n;)a(e=n.context)&&a(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),n=n.parent;a(e=Ke)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function y(t,e,n,i,r,a){for(;i<=r;++i)d(n[i],a,t,e,!1,n,i)}function b(t){var e,n,r=t.data;if(a(r))for(a(e=r.hook)&&a(e=e.destroy)&&e(t),e=0;e<i.destroy.length;++e)i.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function x(t,e,n){for(;e<=n;++e){var i=t[e];a(i)&&(a(i.tag)?(w(i),b(i)):u(i.elm))}}function w(t,e){if(a(e)||a(t.data)){var n,r=i.remove.length+1;for(a(e)?e.listeners+=r:e=function(t,e){function n(){0==--n.listeners&&u(t)}return n.listeners=e,n}(t.elm,r),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&w(n,e),n=0;n<i.remove.length;++n)i.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else u(t.elm)}function M(t,e,n,i){for(var r=n;r<i;r++){var s=e[r];if(a(s)&&ni(t,s))return r}}function S(t,e,n,o,l,u){if(t!==e){a(e.elm)&&a(o)&&(e=o[l]=_t(e));var h=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?L(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var p,f=e.data;a(f)&&a(p=f.hook)&&a(p=p.prepatch)&&p(t,e);var g=t.children,v=e.children;if(a(f)&&m(e)){for(p=0;p<i.update.length;++p)i.update[p](t,e);a(p=f.hook)&&a(p=p.update)&&p(t,e)}r(e.text)?a(g)&&a(v)?g!==v&&function(t,e,n,i,s){var o,l,u,h=0,p=0,f=e.length-1,m=e[0],g=e[f],v=n.length-1,_=n[0],b=n[v],w=!s;for(0;h<=f&&p<=v;)r(m)?m=e[++h]:r(g)?g=e[--f]:ni(m,_)?(S(m,_,i,n,p),m=e[++h],_=n[++p]):ni(g,b)?(S(g,b,i,n,v),g=e[--f],b=n[--v]):ni(m,b)?(S(m,b,i,n,v),w&&c.insertBefore(t,m.elm,c.nextSibling(g.elm)),m=e[++h],b=n[--v]):ni(g,_)?(S(g,_,i,n,p),w&&c.insertBefore(t,g.elm,m.elm),g=e[--f],_=n[++p]):(r(o)&&(o=ii(e,h,f)),r(l=a(_.key)?o[_.key]:M(_,e,h,f))?d(_,i,t,m.elm,!1,n,p):ni(u=e[l],_)?(S(u,_,i,n,p),e[l]=void 0,w&&c.insertBefore(t,u.elm,m.elm)):d(_,i,t,m.elm,!1,n,p),_=n[++p]);h>f?y(t,r(n[v+1])?null:n[v+1].elm,n,p,v,i):p>v&&x(e,h,f)}(h,g,v,n,u):a(v)?(a(t.text)&&c.setTextContent(h,""),y(h,null,v,0,v.length-1,n)):a(g)?x(g,0,g.length-1):a(t.text)&&c.setTextContent(h,""):t.text!==e.text&&c.setTextContent(h,e.text),a(f)&&a(p=f.hook)&&a(p=p.postpatch)&&p(t,e)}}}function T(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var A=g("attrs,class,staticClass,staticStyle,key");function L(t,e,n,i){var r,o=e.tag,l=e.data,c=e.children;if(i=i||l&&l.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(l)&&(a(r=l.hook)&&a(r=r.init)&&r(e,!0),a(r=e.componentInstance)))return h(e,n),!0;if(a(o)){if(a(c))if(t.hasChildNodes())if(a(r=l)&&a(r=r.domProps)&&a(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var u=!0,d=t.firstChild,p=0;p<c.length;p++){if(!d||!L(d,c[p],n,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else f(e,c,n);if(a(l)){var m=!1;for(var g in l)if(!A(g)){m=!0,v(e,n);break}!m&&l.class&&re(l.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,o){if(!r(e)){var l,u=!1,h=[];if(r(t))u=!0,d(e,h);else{var p=a(t.nodeType);if(!p&&ni(t,e))S(t,e,h,null,null,o);else{if(p){if(1===t.nodeType&&t.hasAttribute("data-server-rendered")&&(t.removeAttribute("data-server-rendered"),n=!0),s(n)&&L(t,e,h))return T(e,h,!0),t;l=t,t=new ft(c.tagName(l).toLowerCase(),{},[],void 0,l)}var f=t.elm,g=c.parentNode(f);if(d(e,h,f._leaveCb?null:g,c.nextSibling(f)),a(e.parent))for(var v=e.parent,_=m(e);v;){for(var y=0;y<i.destroy.length;++y)i.destroy[y](v);if(v.elm=e.elm,_){for(var w=0;w<i.create.length;++w)i.create[w](ti,v);var M=v.data.hook.insert;if(M.merged)for(var A=1;A<M.fns.length;A++)M.fns[A]()}else Zn(v);v=v.parent}a(g)?x([t],0,0):a(t.tag)&&b(t)}}return T(e,h,u),e.elm}a(t)&&b(t)}}({nodeOps:Jn,modules:[fi,vi,Si,Li,Fi,W?{create:lr,activate:lr,remove:function(t,e){!0!==t.data.show?ar(t,e):e()}}:{}].concat(ui)});K&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&vr(t,"input")}));var ur={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?le(n,"postpatch",(function(){ur.componentUpdated(t,e,n)})):dr(t,e,n.context),t._vOptions=[].map.call(t.options,fr)):("textarea"===n.tag||Kn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",mr),t.addEventListener("compositionend",gr),t.addEventListener("change",gr),K&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){dr(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,fr);if(r.some((function(t,e){return!R(t,i[e])})))(t.multiple?e.value.some((function(t){return pr(t,r)})):e.value!==e.oldValue&&pr(e.value,r))&&vr(t,"change")}}};function dr(t,e,n){hr(t,e,n),($||J)&&setTimeout((function(){hr(t,e,n)}),0)}function hr(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var a,s,o=0,l=t.options.length;o<l;o++)if(s=t.options[o],r)a=P(i,fr(s))>-1,s.selected!==a&&(s.selected=a);else if(R(fr(s),i))return void(t.selectedIndex!==o&&(t.selectedIndex=o));r||(t.selectedIndex=-1)}}function pr(t,e){return e.every((function(e){return!R(e,t)}))}function fr(t){return"_value"in t?t._value:t.value}function mr(t){t.target.composing=!0}function gr(t){t.target.composing&&(t.target.composing=!1,vr(t.target,"input"))}function vr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function _r(t){return!t.componentInstance||t.data&&t.data.transition?t:_r(t.componentInstance._vnode)}var yr={model:ur,show:{bind:function(t,e,n){var i=e.value,r=(n=_r(n)).data&&n.data.transition,a=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,rr(n,(function(){t.style.display=a}))):t.style.display=i?a:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=_r(n)).data&&n.data.transition?(n.data.show=!0,i?rr(n,(function(){t.style.display=t.__vOriginalDisplay})):ar(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},br={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function xr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?xr(We(e.children)):t}function wr(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var a in r)e[M(a)]=r[a];return e}function Mr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Sr=function(t){return t.tag||me(t)},Tr=function(t){return"show"===t.name},Ar={name:"transition",props:br,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Sr)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var a=xr(r);if(!a)return r;if(this._leaving)return Mr(t,r);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:o(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var l=(a.data||(a.data={})).transition=wr(this),c=this._vnode,u=xr(c);if(a.data.directives&&a.data.directives.some(Tr)&&(a.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,u)&&!me(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=C({},l);if("out-in"===i)return this._leaving=!0,le(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Mr(t,r);if("in-out"===i){if(me(a))return c;var h,p=function(){h()};le(l,"afterEnter",p),le(l,"enterCancelled",p),le(d,"delayLeave",(function(t){h=t}))}}return r}}},Lr=C({tag:String,moveClass:String},br);function Er(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Cr(t){t.data.newPos=t.elm.getBoundingClientRect()}function Ir(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var a=t.elm.style;a.transform=a.WebkitTransform="translate("+i+"px,"+r+"px)",a.transitionDuration="0s"}}delete Lr.mode;var Dr={Transition:Ar,TransitionGroup:{props:Lr,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Je(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],s=wr(this),o=0;o<r.length;o++){var l=r[o];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))a.push(l),n[l.key]=l,(l.data||(l.data={})).transition=s;else;}if(i){for(var c=[],u=[],d=0;d<i.length;d++){var h=i[d];h.data.transition=s,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?c.push(h):u.push(h)}this.kept=t(e,null,c),this.removed=u}return t(e,null,a)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Er),t.forEach(Cr),t.forEach(Ir),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;Ji(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Gi,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Gi,t),n._moveCb=null,Qi(n,e))})}})))},methods:{hasMove:function(t,e){if(!Vi)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Bi(n,t)})),ji(n,e),n.style.display="none",this.$el.appendChild(n);var i=er(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};Sn.config.mustUseProp=function(t,e,n){return"value"===n&&On(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Sn.config.isReservedTag=Xn,Sn.config.isReservedAttr=kn,Sn.config.getTagNamespace=function(t){return qn(t)?"svg":"math"===t?"math":void 0},Sn.config.isUnknownElement=function(t){if(!W)return!0;if(Xn(t))return!1;if(t=t.toLowerCase(),null!=$n[t])return $n[t];var e=document.createElement(t);return t.indexOf("-")>-1?$n[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:$n[t]=/HTMLUnknownElement/.test(e.toString())},C(Sn.options.directives,yr),C(Sn.options.components,Dr),Sn.prototype.__patch__=W?cr:D,Sn.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=gt),tn(t,"beforeMount"),i=function(){t._update(t._render(),n)},new pn(t,i,D,{before:function(){t._isMounted&&!t._isDestroyed&&tn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,tn(t,"mounted")),t}(this,t=t&&W?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},W&&setTimeout((function(){H.devtools&&rt&&rt.emit("init",Sn)}),0),e.a=Sn}).call(this,n(114),n(935).setImmediate)},function(t,e,n){var i=n(25);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}}
78)[1]}))},function(t,e,n){"use strict";var i=n(0),r=n(156);i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(t,e,n){var i=n(7),r=n(10),a=n(193),s=n(67),o=n(52),l=n(99),c=n(13),u=n(278),d=Object.getOwnPropertyDescriptor;e.f=i?d:function(t,e){if(t=o(t),e=l(e),u)try{return d(t,e)}catch(t){}if(c(t,e))return s(!r(a.f,t,e),t[e])}},function(t,e,n){var i=n(90),r=n(3),a=n(139),s=n(26),o=n(31),l=n(177),c=r([].push),u=function(t){var e=1==t,n=2==t,r=3==t,u=4==t,d=6==t,h=7==t,p=5==t||d;return function(f,m,g,v){for(var _,y,b=s(f),x=a(b),w=i(m,g),M=o(x),S=0,T=v||l,A=e?T(f,M):n||h?T(f,0):void 0;M>S;S++)if((p||S in x)&&(y=w(_=x[S],S,b),t))if(e)A[S]=y;else if(y)switch(t){case 3:return!0;case 5:return _;case 6:return S;case 2:c(A,_)}else switch(t){case 4:return!1;case 7:c(A,_)}return d?-1:r||u?u:A}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},function(t,e,n){t.exports=n(924)},function(t,e,n){var i=n(155),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,n){var i=n(139),r=n(33);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(22);t.exports=i({}.isPrototypeOf)},function(t,e,n){var i=n(22),r=n(80),a=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(r(t),e)}},function(t,e,n){var i=n(30);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},function(t,e,n){var i=n(3),r=i({}.toString),a=i("".slice);t.exports=function(t){return a(r(t),8,-1)}},function(t,e,n){t.exports=n(373)},function(t,e,n){"use strict";
79/**
80 * @license
81 * Copyright 2019 Google Inc.
82 *
83 * Permission is hereby granted, free of charge, to any person obtaining a copy
84 * of this software and associated documentation files (the "Software"), to deal
85 * in the Software without restriction, including without limitation the rights
86 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
87 * copies of the Software, and to permit persons to whom the Software is
88 * furnished to do so, subject to the following conditions:
89 *
90 * The above copyright notice and this permission notice shall be included in
91 * all copies or substantial portions of the Software.
92 *
93 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
94 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
95 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
96 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
97 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
98 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
99 * THE SOFTWARE.
100 */
101function i(t){return void 0===t&&(t=window),!!function(t){void 0===t&&(t=window);var e=!1;try{var n={get passive(){return e=!0,!1}},i=function(){};t.document.addEventListener("test",i,n),t.document.removeEventListener("test",i,n)}catch(t){e=!1}return e}(t)&&{passive:!0}}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(266),r=n.n(i);function a(t,e,n){return e in t?r()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var i=n(1157)();t.exports=i;try{regeneratorRuntime=i}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},function(t,e,n){var i=n(39),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){"use strict";var i=n(79),r=n.n(i),a=n(65),s=n.n(a),o=n(220);e.a={computed:{localizations:function(){return s()(r()((this.config||{}).localizations||[],"key"),"label")}},methods:{i18n:function(t,e){var n=this.localizations[t];return n?Object(o.a)(n,e):t}}}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.href&&t.store?n("a",{staticClass:"store-button",class:t.element,attrs:{href:t.href,target:t.target?t.target:"_self"}},[n("img",{attrs:{src:t.baseUrl+"/assets/toolkit/images/stores/"+t.icon+".svg",alt:t.alt}})]):t.href?n("a",{class:t.classNames,attrs:{href:t.href,target:t.target?t.target:"_self"}},[t.icon?n("i",{class:t.iconClass,attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "),n("span",{staticClass:"button__label"},[t._t("default",(function(){return[t._v("\n      "+t._s(t.label||"Click here")+"\n    ")]}))],2)]):n(t.tag,{tag:"component",class:t.classNames,attrs:{type:t.type||"button",role:t.type||"button","data-
101print-button":t.printButton},on:{click:t.onClick}},[t.icon?n("i",{class:t.iconClass,attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "),n("span",{staticClass:"button__label"},[t._t("default",(function(){return[t._v("\n      "+t._s(t.label||"Click here")+"\n    ")]}))],2)])};i._withStripped=!0;var r={name:"VueButton",props:{href:{type:String,default:""},element:{type:String,default:""},modifier:{type:String,default:""},target:{type:String,default:""},store:Boolean,icon:{type:String,default:""},label:{type:String,default:""},baseUrl:{type:String,default:""},alt:{type:String,default:""},type:{type:String,default:"button"},tag:{type:String,default:"button"},disabled:Boolean,printButton:Boolean},computed:{classNames:function(){return["button",this.icon&&"button--icon-left",this.disabled&&"button--disabled",this.modifier,this.element]},iconClass:function(){return"icon icon-".concat(this.icon)}},methods:{onClick:function(){this.$emit("click")}}},a=n(4),s=Object(a.a)(r,i,[],!1,null,null,null);s.options.__file="src/assets/toolkit/scripts/atoms/button.vue";e.a=s.exports},function(t,e,n){var i=n(3);t.exports=i({}.isPrototypeOf)},function(t,e,n){var i=n(356),r=n(444),a=n(286);t.exports=function(t,e){var n={};return e=a(e,3),r(t,(function(t,r,a){i(n,r,e(t,r,a))})),n}},function(t,e,n){var i=n(38),r=n(35),a=n(30),s=function(t){return a(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(i[t])||s(r[t]):i[t]&&i[t][e]||r[t]&&r[t][e]}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i,r=n(8),a=n(238),s=n(197),o=n(140),l=n(298),c=n(171),u=n(186),d=u("IE_PROTO"),h=function(){},p=function(t){return"<script>"+t+"<\/script>"},f=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}var t,e;m="undefined"!=typeof document?document.domain&&i?f(i):((e=c("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):f(i);for(var n=s.length;n--;)delete m.prototype[s[n]];return m()};
101o[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h.prototype=r(t),n=new h,h.prototype=null,n[d]=t):n=m(),void 0===e?n:a.f(n,e)}},function(t,e,n){var i=n(380),r=n(13),a=n(379),s=n(21).f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||s(e,t,{value:a.f(t)})}},function(t,e,n){var i=n(3),r=n(33),a=n(14),s=/"/g,o=i("".replace);t.exports=function(t,e,n,i){var l=a(r(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+o(a(i),s,"&quot;")+'"'),c+">"+l+"</"+e+">"}},function(t,e,n){var i=n(2);t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},function(t,e,n){var i=n(231),r=n(137);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(129),r=Function.prototype,a=r.apply,s=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?s.bind(a):function(){return s.apply(a,arguments)})},function(t,e,n){var i=n(38);t.exports=function(t){return i[t+"Prototype"]}},function(t,e,n){t.exports=n(916)},function(t,e,n){t.exports=n(918)},function(t,e,n){t.exports=n(921)},function(t,e,n){var i=n(21).f,r=n(13),a=n(11)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!r(t,a)&&i(t,a,{configurable:!0,value:e})}},function(t,e,n){var i=n(356),r=n(443)((function(t,e,n){i(t,n,e)}));t.exports=r},function(t,e,n){var i=n(137),r=Object;t.exports=function(t){return r(i(t))}},function(t,e,n){var i=n(55),r=String,a=TypeError;t.exports=function(t){if(i(t))return t;throw a(r(t)+" is not an object")}},function(t,e,n){var i=n(13),r=n(9),a=n(26),s=n(186),o=n(307),l=s("IE_PROTO"),c=Object,u=c.prototype;t.exports=o?c.getPrototypeOf:function(t){var e=a(t);if(i(e,l))return e[l];var n=e.constructor;return r(n)&&e instanceof n?n.prototype:e instanceof c?u:null}},function(t,e,n){"use strict";var i=function(){var t=this.$createElement;return(this._self._c||t)("img",{staticClass:"blur-up lazyload",class:this.block,attrs:{src:this.relPath+this.img.thumb,"data-srcset":this.srcSet(this.img),"data-sizes":"auto",alt:this.alt,title:this.title}})};i._withStripped=!0;var r=n(40),a=n(84),s=n.n(a),o=n(32),l=n.n(o),c=(n(20),n(24),n(159),n(287)),u=n.n(c),d={name:"LazyImage",props:{block:{type:String,default:""},alt:{type:String,default:""},title:{type:String,default:""},relPath:{type:String,default:""},img:{type:Object,default:function(){return{}}}},updated:function(){u.a.loader.unveil(this.$el)},methods:{srcSet:function(t){var e=this,n=[];return s()(t).forEach((function(t){var i,a=Object(r.a)(t,2),s=a[0],o=a[1];isFinite(+s)&&n.push(l()(i="".concat(e.relPath+o," ")).call(i,s,"w"))})),n.join(", ")}}},h=n(4),p=Object(h.a)(d,i,[],!1,null,null,null);p.options.__file="src/assets/toolkit/scripts/atoms/lazy-image.vue";e.a=p.exports},function(t,e,n){t.exports=n(913)},function(t,e,n){"use strict";e.a={xs:480,sm:768,md:992,lg:1280,xl:1440}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n(1),r=n(19),a=n(58),s=n(43),o=n(113),l=n(267),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.disabled=!1,e}return Object(i.b)(e,t),e.attachTo=function(t,n){void 0===n&&(n={isUnbounded:void 0});var i=new e(t);return void 0!==n.isUnbounded&&(i.unbounded=n.isUnbounded),i},e.createAdapter=function(t){return{addClass:function(e){return t.root.classList.add(e)},browserSupportsCssVars:function(){return l.b(window)},computeBoundingRect:function(){return t.root.getBoundingClientRect()},containsEventTarget:function(e){return t.root.contains(e)},deregisterDocumentInteractionHandler:function(t,e){return document.documentElement.removeEventListener(t,e,Object(a.a)())},deregisterInteractionHandler:function(e,n){return t.root.removeEventListener(e,n,Object(a.a)())},deregisterResizeHandler:function(t){return window.removeEventListener("resize",t)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return Object(s.c)(t.root,":active")},isSurfaceDisabled:function(){return Boolean(t.disabled)},isUnbounded:function(){return Boolean(t.unbounded)},registerDocumentInteractionHandler:function(t,e){return document.documentElement.addEventListener(t,e,Object(a.a)())},registerInteractionHandler:function(e,n){return t.root.addEventListener(e,n,Object(a.a)())},registerResizeHandler:function(t){return window.addEventListener("resize",t)},removeClass:function(e){return t.root.classList.remove(e)},updateCssVariable:function(e,n){return t.root.style.setProperty(e,n)}}},Object.defineProperty(e.prototype,"unbounded",{get:function(){return Boolean(this.isUnbounded)},set:function(t){this.isUnbounded=Boolean(t),this.setUnbounded()}
101,enumerable:!1,configurable:!0}),e.prototype.activate=function(){this.foundation.activate()},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.layout=function(){this.foundation.layout()},e.prototype.getDefaultFoundation=function(){return new o.a(e.createAdapter(this))},e.prototype.initialSyncWithDOM=function(){var t=this.root;this.isUnbounded="mdcRippleIsUnbounded"in t.dataset},e.prototype.setUnbounded=function(){this.foundation.setUnbounded(Boolean(this.isUnbounded))},e}(r.a)},function(t,e,n){var i=n(294);t.exports=function(t){return i(t.length)}},function(t,e,n){var i=n(42);t.exports=function(t,e){var n=t[e];return null==n?void 0:i(n)}},function(t,e,n){var i=n(199),r=n(9),a=n(56),s=n(11)("toStringTag"),o=Object,l="Arguments"==a(function(){return arguments}());t.exports=i?a:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=o(t),s))?n:l?a(e):"Object"==(i=a(e))&&r(e.callee)?"Arguments":i}},function(t,e,n){var i=n(3),r=n(42),a=n(129),s=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:a?s(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(3),r=n(8),a=n(304);
vendor: 8,710 bytes, line 101
101t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),a(i),e?t(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){"use strict";var i=n(7),r=n(6),a=n(3),s=n(141),o=n(28),l=n(13),c=n(134),u=n(64),d=n(109),h=n(185),p=n(2),f=n(101).f,m=n(48).f,g=n(21).f,v=n(207),_=n(148).trim,y=r.Number,b=y.prototype,x=r.TypeError,w=a("".slice),M=a("".charCodeAt),S=function(t){var e=h(t,"number");return"bigint"==typeof e?e:T(e)},T=function(t){var e,n,i,r,a,s,o,l,c=h(t,"number");if(d(c))throw x("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=_(c),43===(e=M(c,0))||45===e){if(88===(n=M(c,2))||120===n)return NaN}else if(48===e){switch(M(c,1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+c}for(s=(a=w(c,2)).length,o=0;o<s;o++)if((l=M(a,o))<48||l>r)return NaN;return parseInt(a,i)}return+c};if(s("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var A,L=function(t){var e=arguments.length<1?0:y(S(t)),n=this;return u(b,n)&&p((function(){v(n)}))?c(Object(e),n,L):e},E=i?f(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),C=0;E.length>C;C++)l(y,A=E[C])&&!l(L,A)&&g(L,A,m(y,A));L.prototype=b,b.constructor=L,o(r,"Number",L,{constructor:!0})}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var i=n(46),r=n(275),a=n(291),s=n(81),o=n(166),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor;e.f=i?a?function(t,e,n){if(s(t),e=o(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var i=u(t,e);i&&i.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:i.configurable,enumerable:"enumerable"in n?n.enumerable:i.enumerable,writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(s(t),e=o(e),s(n),r)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(39),r=Math.max,a=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):a(n,e)}},function(t,e,n){"use strict";var i=n(2);t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){return 1},1)}))}},,function(t,e){t.exports=!0},function(t,e,n){var i=n(185),r=n(109);t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},function(t,e,n){var i=n(27);t.exports=i("navigator","userAgent")||""},function(t,e,n){var i=n(280),r=n(197).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){"use strict";var i=n(99),r=n(21),a=n(67);t.exports=function(t,e,n){var s=i(e);s in t?r.f(t,s,a(0,n)):t[s]=n}},function(t,e,n){var i=n(90),r=n(10),a=n(8),s=n(116),o=n(308),l=n(31),c=n(64),u=n(241),d=n(203),h=n(387),p=TypeError,f=function(t,e){this.stopped=t,this.result=e},m=f.prototype;t.exports=function(t,e,n){var g,v,_,y,b,x,w,M=n&&n.that,S=!(!n||!n.AS_ENTRIES),T=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),L=i(e,M),E=function(t){return g&&h(g,"normal",t),new f(!0,t)},C=function(t){return S?(a(t),A?L(t[0],t[1],E):L(t[0],t[1])):A?L(t,E):L(t)};if(T)g=t;else{if(!(v=d(t)))throw p(s(t)+" is not iterable");if(o(v)){for(_=0,y=l(t);y>_;_++)if((b=C(t[_]))&&c(m,b))return b;return new f(!1)}g=u(t,v)}for(x=g.next;!(w=r(x,g)).done;){try{b=C(w.value)}catch(t){h(g,"throw",t)}if("object"==typeof b&&b&&c(m,b))return b}return new f(!1)}},function(t,e,n){var i=n(64),r=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw r("Incorrect invocation")}},function(t,e,n){t.exports=n(931)},function(t,e,n){var i=n(479),r=n(286),a=n(1257),s=n(93),o=n(454);t.exports=function(t,e,n){var l=s(t)?i:a;return n&&o(t,e,n)&&(e=void 0),l(t,r(e,3))}},function(t,e,n){t.exports=n(351)},function(t,e,n){var i=n(441),r="object"==typeof self&&self&&self.Object===Object&&self,a=i||r||Function("return this")();t.exports=a},function(t,e,n){var i=n(27),r=n(9),a=n(64),s=n(277),o=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return r(e)&&a(e.prototype,o(t))}},function(t,e,n){var i,r,a=n(6),s=n(100),o=a.process,l=a.Deno,c=o&&o.versions||l&&l.version,u=c&&c.v8;u&&(r=(i=u.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(r=+i[1]),t.exports=r},function(t,e,n){var i=n(11),r=n(68),a=n(21).f,s=i("unscopables"),o=Array.prototype;null==o[s]&&a(o,s,{configurable:!0,value:r(null)}),t.exports=function(t){o[s][t]=!0}},function(t,e,n){"use strict";var i=n(0),r=n(6),a=n(10),s=n(7),o=n(324),l=n(23),c=n(244),u=n(104),d=n(67),h=n(44),p=n(320),f=n(61),m=n(395),g=n(413),v=n(99),_=n(13),y=n(89),b=n(12),x=n(109),w=n(68),M=n(64),S=n(91),T=n(101).f,A=n(414),L=n(49).forEach,E=n(146),C=n(21),I=n(48),D=n(41),k=n(134),O=D.get,R=D.set,P=C.f,N=I.f,Y=Math.round,F=r.RangeError,H=c.ArrayBuffer,j=H.prototype,B=c.DataView,z=l.NATIVE_ARRAY_BUFFER_VIEWS,U=l.TYPED_ARRAY_CONSTRUCTOR,V=l.TYPED_ARRAY_TAG,W=l.TypedArray,G=l.TypedArrayPrototype,q=l.aTypedArrayConstructor,X=l.isTypedArray,$=function(t,e){q(t);for(var n=0,i=e.length,r=new t(i);i>n;)r[n]=e[n++];return r},K=function(t,e){P(t,e,{get:function(){return O(this)[e]}})},J=function(t){var e;return M(j,t)||"ArrayBuffer"==(e=y(t))||"SharedArrayBuffer"==e},Q=function(t,e){return X(t)&&!x(e)&&e in t&&p(+e)&&e>=0},Z=function(t,e){return e=v(e),Q(t,e)?d(2,t[e]):N(t,e)},tt=function(t,e,n){return e=v(e),!(Q(t,e)&&b(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?P(t,e,n):(t[e]=n.value,t)};s?(z||(I.f=Z,C.f=tt,K(G,"buffer"),K(G,"byteOffset"),K(G,"byteLength"),K(G,"length")),i({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:Z,defineProperty:tt}),t.exports=function(t,e,n){var s=t.match(/\d+$/)[0]/8,l=t+(n?"Clamped":"")+"Array",c="get"+t,d="set"+t,p=r[l],v=p,_=v&&v.prototype,y={},x=function(t,e){P(t,e,{get:function(){return function(t,e){var n=O(t);return n.view[c](e*s+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,i){var r=O(t);n&&(i=(i=Y(i))<0?0:i>255?255:255&i),r.view[d](e*s+r.byteOffset,i,!0)}(this,e,t)},enumerable:!0})};z?o&&(v=e((function(t,e,n,i){return u(t,_),k(b(e)?J(e)?void 0!==i?new p(e,g(n,s),i):void 0!==n?new p(e,g(n,s)):new p(e):X(e)?$(v,e):a(A,v,e):new p(m(e)),t,v)})),S&&S(v,W),L(T(p),(function(t){t in v||h(v,t,p[t])})),v.prototype=_):(v=e((function(t,e,n,i){u(t,_);var r,o,l,c=0,d=0;if(b(e)){if(!J(e))return X(e)?$(v,e):a(A,v,e);r=e,d=g(n,s);var h=e.byteLength;if(void 0===i){if(h%s)throw F("Wrong length");if((o=h-d)<0)throw F("Wrong length")}else if((o=f(i)*s)+d>h)throw F("Wrong length");l=o/s}else l=m(e),r=new H(o=l*s);for(R(t,{buffer:r,byteOffset:d,byteLength:o,length:l,view:new B(r)});c<l;)x(t,c++)})),S&&S(v,W),_=v.prototype=w(G)),_.constructor!==v&&h(_,"constructor",v),h(_,U,v),V&&h(_,V,l);var M=v!=p;y[l]=v,i({global:!0,constructor:!0,forced:M,sham:!z},y),"BYTES_PER_ELEMENT"in v||h(v,"BYTES_PER_ELEMENT",s),"BYTES_PER_ELEMENT"in _||h(_,"BYTES_PER_ELEMENT",s),E(l)}):t.exports=function(){}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var i=n(1),r=n(16),a={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},s={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},o={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},l=n(267),c=["touchstart","pointerdown","mousedown","keydown"],u=["touchend","pointerup","mouseup","contextmenu"],d=[],h=function(t){function e(n){var r=t.call(this,Object(i.a)(Object(i.a)({},e.defaultAdapter),n))||this;return r.activationAnimationHasEnded=!1,r.activationTimer=0,r.fgDeactivationRemovalTimer=0,r.fgScale="0",r.frame={width:0,height:0},r.initialSize=0,r.layoutFrame=0,r.maxRadius=0,r.unboundedCoords={left:0,top:0},r.activationState=r.defaultActivationState(),r.activationTimerCallback=function(){r.activationAnimationHasEnded=!0,r.runDeactivationUXLogicIfReady()},r.activateHandler=function(t){r.activateImpl(t)},r.deactivateHandler=function(){r.deactivateImpl()},r.focusHandler=function(){r.handleFocus()},r.blurHandler=function(){r.handleBlur()},r.resizeHandler=function(){r.layout()},r}
vendor: 4,774 bytes, line 101
101return Object(i.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var i=e.cssClasses,r=i.ROOT,a=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(r),t.adapter.isUnbounded()&&(t.adapter.addClass(a),t.layoutInternal())}))}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var n=e.cssClasses,i=n.ROOT,r=n.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(i),t.adapter.removeClass(r),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(t){this.activateImpl(t)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},e.prototype.setUnbounded=function(t){var n=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(t){var e,n;if(t){try{for(var r=Object(i.e)(c),a=r.next();!a.done;a=r.next()){var s=a.value;this.adapter.registerInteractionHandler(s,this.activateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(t){var e,n;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var r=Object(i.e)(u),a=r.next();!a.done;a=r.next()){var s=a.value;this.adapter.registerDocumentInteractionHandler(s,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},e.prototype.deregisterRootHandlers=function(){var t,e;try{for(var n=Object(i.e)(c),r=n.next();!r.done;r=n.next()){var a=r.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=Object(i.e)(u),r=n.next();!r.done;r=n.next()){var a=r.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,n=e.strings;
101Object.keys(n).forEach((function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(n[e],null)}))},e.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState;if(!n.isActivated){var i=this.previousActivationEvent;if(!(i&&void 0!==t&&i.type!==t.type))n.isActivated=!0,n.isProgrammatic=void 0===t,n.activationEvent=t,n.wasActivatedByPointer=!n.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&d.length>0&&d.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(d.push(t.target),this.registerDeactivationHandlers(t)),n.wasElementMadeActive=this.checkElementMadeActive(t),n.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){d=[],n.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(n.wasElementMadeActive=e.checkElementMadeActive(t),n.wasElementMadeActive&&e.animateActivation()),n.wasElementMadeActive||(e.activationState=e.defaultActivationState())})))}}},e.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation=function(){var t=this,n=e.strings,i=n.VAR_FG_TRANSLATE_START,r=n.VAR_FG_TRANSLATE_END,a=e.cssClasses,s=a.FG_DEACTIVATION,o=a.FG_ACTIVATION,l=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var c="",u="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates(),h=d.startPoint,p=d.endPoint;c=h.x+"px, "+h.y+"px",u=p.x+"px, "+p.y+"px"}this.adapter.updateCssVariable(i,c),this.adapter.updateCssVariable(r,u),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(s),this.adapter.computeBoundingRect(),this.adapter.addClass(o),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),l)},e.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,n=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?Object(l.a)(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},e.prototype.runDeactivationUXLogicIfReady=function(){var t=this,n=e.cssClasses.FG_DEACTIVATION,i=this.activationState,r=i.hasDeactivationUXRun,a=i.isActivated;(r||!a)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(n)}),o.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var n=Object(i.a)({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(n)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(n),t.resetActivationState()})))}},e.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,n=t.wasElementMadeActive;(e||n)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?n:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+e.numbers.PADDING;var i=Math.floor(n*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&i%2!=0?this.initialSize=i-1:this.initialSize=i,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var t=e.strings,n=t.VAR_FG_SIZE,i=t.VAR_LEFT,r=t.VAR_TOP,a=t.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize+"px"),this.adapter.updateCssVariable(a,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(i,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(r,this.unboundedCoords.top+"px"))},e}(r.a)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},function(t,e,n){var i=n(182),r=n(25);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},function(t,e,n){var i=n(30),r=n(168),a=TypeError;t.exports=function(t){if(i(t))return t;throw a(r(t)+" is not a function")}},function(t,e,n){var i=n(46),r=n(94),a=n(115);t.exports=i?function(t,e,n){return r.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(128);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(36),r=n(194);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.8",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){"use strict";var i=n(73),r=n(10),a=n(3),s=n(187),o=n(2),l=n(8),c=n(9),u=n(39),d=n(61),h=n(14),p=n(33),f=n(188),m=n(88),g=n(299),v=n(157),_=n(11)("replace"),y=Math.max,b=Math.min,x=a([].concat),w=a([].push),M=a("".indexOf),S=a("".slice),T="$0"==="a".replace(/./,"$0"),A=!!/./[_]&&""===/./[_]("a","$0");s("replace",(function(t,e,n){var a=A?"$":"$0";return[function(t,n){var i=p(this),a=null==t?void 0:m(t,_);return a?r(a,t,i,n):r(e,h(i),t,n)},function(t,r){var s=l(this),o=h(t);if("string"==typeof r&&-1===M(r,a)&&-1===M(r,"$<")){var p=n(e,s,o,r);if(p.done)return p.value}var m=c(r);m||(r=h(r));var _=s.global;if(_){var T=s.unicode;s.lastIndex=0}for(var A=[];;){var L=v(s,o);if(null===L)break;if(w(A,L),!_)break;
101""===h(L[0])&&(s.lastIndex=f(o,d(s.lastIndex),T))}for(var E,C="",I=0,D=0;D<A.length;D++){for(var k=h((L=A[D])[0]),O=y(b(u(L.index),o.length),0),R=[],P=1;P<L.length;P++)w(R,void 0===(E=L[P])?E:String(E));var N=L.groups;if(m){var Y=x([k],R,O,o);void 0!==N&&w(Y,N);var F=h(i(r,void 0,Y))}else F=g(k,o,O,R,N,r);O>=I&&(C+=S(o,I,O)+F,I=O+k.length)}return C+S(o,I)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!T||A)},function(t,e,n){var i=n(56);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e){var n=TypeError;t.exports=function(t,e){if(t<e)throw n("Not enough arguments");return t}},function(t,e,n){var i=n(150),r=String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},function(t,e,n){"use strict";var i,r=n(968),a=Object.prototype.toString,s=(i=Object.create(null),function(t){var e=a.call(t);return i[e]||(i[e]=e.slice(8,-1).toLowerCase())});function o(t){return t=t.toLowerCase(),function(e){return s(e)===t}}function l(t){return Array.isArray(t)}function c(t){return void 0===t}var u=o("ArrayBuffer");function d(t){return null!==t&&"object"==typeof t}function h(t){if("object"!==s(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var p=o("Date"),f=o("File"),m=o("Blob"),g=o("FileList");function v(t){return"[object Function]"===a.call(t)}var _=o("URLSearchParams");function y(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),l(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}var b,x=(b="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(t){return b&&t instanceof b});t.exports={isArray:l,isArrayBuffer:u,isBuffer:function(t){return null!==t&&!c(t)&&null!==t.constructor&&!c(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return t&&("function"==typeof FormData&&t instanceof FormData||"[object FormData]"===a.call(t)||v(t.toString)&&"[object FormData]"===t.toString())},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:d,isPlainObject:h,isUndefined:c,isDate:p,isFile:f,isBlob:m,isFunction:v,isStream:function(t){return d(t)&&v(t.pipe)},isURLSearchParams:_,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:y,merge:function t(){var e={};function n(n,i){h(e[i])&&h(n)?e[i]=t(e[i],n):h(n)?e[i]=t({},n):l(n)?e[i]=n.slice():e[i]=n}for(var i=0,r=arguments.length;i<r;i++)y(arguments[i],n);return e},extend:function(t,e,n){return y(e,(function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,n,i){t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,n&&Object.assign(t.prototype,n)},toFlatObject:function(t,e,n){var i,r,a,s={};e=e||{};do{for(r=(i=Object.getOwnPropertyNames(t)).length;r-- >0;)s[a=i[r]]||(e[a]=t[a],s[a]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:s,kindOfTest:o,endsWith:function(t,e,n){t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;var i=t.indexOf(e,n);return-1!==i&&i===n},toArray:function(t){if(!t)return null;var e=t.length;if(c(e))return null;for(var n=new Array(e);e-- >0;)n[e]=t[e];return n},isTypedArray:x,isFileList:g}},function(t,e,n){t.exports=n(1254)},function(t,e,n){var i=n(22),r=i({}.toString),a=i("".slice);t.exports=function(t){return a(r(t),8,-1)}},function(t,e,n){var i=n(2);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e,n){var i=n(110),r=n(2);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},function(t,e,n){var i=n(3),r=0,a=Math.random(),s=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++r+a,36)}},function(t,e,n){var i=n(7),r=n(13),a=Function.prototype,s=i&&Object.getOwnPropertyDescriptor,o=r(a,"name"),l=o&&"something"===function(){}.name,c=o&&(!i||i&&s(a,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},function(t,e,n){var i=n(3),r=n(2),a=n(9),s=n(89),o=n(27),l=n(172),c=function(){},u=[],d=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=i(h.exec),f=!h.exec(c),m=function(t){if(!a(t))return!1;try{return d(c,u,t),!0}catch(t){return!1}},g=function(t){if(!a(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(h,l(t))}catch(t){return!0}};
vendor: 5,085 bytes, line 101
101g.sham=!0,t.exports=!d||r((function(){var t;return m(m.call)||!m(Object)||!m((function(){t=!0}))||t}))?g:m},function(t,e,n){var i=n(9),r=n(12),a=n(91);t.exports=function(t,e,n){var s,o;return a&&i(s=e.constructor)&&s!==n&&r(o=s.prototype)&&o!==n.prototype&&a(t,o),t}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{class:t.className,attrs:{href:"mailto:"+t.email}},[t.innerHtml?t._e():[t.icon?n("i",{class:"icon icon-"+t.icon,attrs:{title:t.title,"aria-hidden":"true"}}):t._e(),t._v(" "),t.iconOnly?t._e():n("span",[t._v(t._s(t.label||t.email))])]],2)};i._withStripped=!0;var r=n(32),a=n.n(r),s={name:"EMail",props:{localPart:{type:String,default:""},domainPart:{type:String,default:""},className:{type:String,default:""},icon:{type:String,default:""},label:{type:String,default:""},title:{type:String,default:""},innerHtml:{type:String,default:""},iconOnly:Boolean},computed:{email:function(){var t;return a()(t="".concat(this.localPart,"@")).call(t,this.domainPart)}},mounted:function(){this.innerHtml&&(this.$el.innerHTML=this.innerHtml)}},o=n(4),l=Object(o.a)(s,i,[],!1,null,null,null);l.options.__file="src/assets/toolkit/scripts/components/email/email.vue";e.a=l.exports},function(t,e,n){var i=n(46),r=n(51),a=n(221),s=n(115),o=n(72),l=n(166),c=n(54),u=n(275),d=Object.getOwnPropertyDescriptor;e.f=i?d:function(t,e){if(t=o(t),e=l(e),u)try{return d(t,e)}catch(t){}if(c(t,e))return s(!r(a.f,t,e),t[e])}},function(t,e){var n=TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},function(t,e,n){var i=n(22),r=n(118),a=n(155),s=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:a?s(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(3),r=n(2),a=n(56),s=Object,o=i("".split);t.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?o(t,""):s(t)}:s},function(t,e){t.exports={}},function(t,e,n){var i=n(2),r=n(9),a=/#|\.prototype\./,s=function(t,e){var n=l[o(t)];return n==u||n!=c&&(r(e)?i(e):!!e)},o=s.normalize=function(t){return String(t).replace(a,".").toLowerCase()},l=s.data={},c=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},function(t,e,n){"use strict";var i=n(73),r=n(10),a=n(3),s=n(187),o=n(158),l=n(8),c=n(33),u=n(143),d=n(188),h=n(61),p=n(14),f=n(88),m=n(176),g=n(157),v=n(156),_=n(174),y=n(2),b=_.UNSUPPORTED_Y,x=Math.min,w=[].push,M=a(/./.exec),S=a(w),T=a("".slice);s("split",(function(t,e,n){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var a=p(c(this)),s=void 0===n?4294967295:n>>>0;if(0===s)return[];if(void 0===t)return[a];if(!o(t))return r(e,a,t,s);for(var l,u,d,h=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,_=new RegExp(t.source,f+"g");(l=r(v,_,a))&&!((u=_.lastIndex)>g&&(S(h,T(a,g,l.index)),l.length>1&&l.index<a.length&&i(w,h,m(l,1)),d=l[0].length,g=u,h.length>=s));)_.lastIndex===l.index&&_.lastIndex++;return g===a.length?!d&&M(_,"")||S(h,""):S(h,T(a,g)),h.length>s?m(h,0,s):h}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:r(e,this,t,n)}:e,[function(e,n){var i=c(this),s=null==e?void 0:f(e,t);return s?r(s,e,i,n):r(a,p(i),e,n)},function(t,i){var r=l(this),s=p(t),o=n(a,r,s,i,a!==e);if(o.done)return o.value;var c=u(r,RegExp),f=r.unicode,m=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(b?"g":"y"),v=new c(b?"^(?:"+r.source+")":r,m),_=void 0===i?4294967295:i>>>0;if(0===_)return[];if(0===s.length)return null===g(v,s)?[s]:[];for(var y=0,w=0,M=[];w<s.length;){v.lastIndex=b?0:w;var A,L=g(v,b?T(s,w):s);if(null===L||(A=x(h(v.lastIndex+(b?w:0)),s.length))===y)w=d(s,w,f);else{if(S(M,T(s,y,w)),M.length===_)return M;for(var E=1;E<=L.length-1;E++)if(S(M,L[E]),M.length===_)return M;w=y=A}}return S(M,T(s,y)),M}]}),!!y((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),b)},function(t,e,n){var i=n(8),r=n(239),a=n(11)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||null==(n=i(s)[a])?e:r(n)}},function(t,e,n){var i=n(3);t.exports=i([].slice)},function(t,e,n){var i=n(56),r=n(6);t.exports="process"==i(r.process)},function(t,e,n){"use strict";var i=n(27),r=n(21),a=n(11),s=n(7),o=a("species");t.exports=function(t){var e=i(t),n=r.f;s&&e&&!e[o]&&n(e,o,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(0),r=n(3),a=n(140),s=n(12),o=n(13),l=n(21).f,c=n(101),u=n(303),d=n(247),h=n(131),p=n(206),f=!1,m=h("meta"),g=0,v=function(t){l(t,m,{value:{objectID:"O"+g++,weakData:{}}})},_=t.exports={enable:function(){_.enable=function(){},f=!0;var t=c.f,e=r([].splice),n={};n[m]=1,t(n).length&&(c.f=function(n){for(var i=t(n),r=0,a=i.length;r<a;r++)if(i[r]===m){e(i,r,1);break}return i},i({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(t,e){if(!s(t))return"symbol"==typeof t?t:("str
101ing"==typeof t?"S":"P")+t;if(!o(t,m)){if(!d(t))return"F";if(!e)return"E";v(t)}return t[m].objectID},getWeakData:function(t,e){if(!o(t,m)){if(!d(t))return!0;if(!e)return!1;v(t)}return t[m].weakData},onFreeze:function(t){return p&&f&&d(t)&&!o(t,m)&&v(t),t}};a[m]=!0},function(t,e,n){var i=n(3),r=n(33),a=n(14),s=n(208),o=i("".replace),l="["+s+"]",c=RegExp("^"+l+l+"*"),u=RegExp(l+l+"*$"),d=function(t){return function(e){var n=a(r(e));return 1&t&&(n=o(n,c,"")),2&t&&(n=o(n,u,"")),n}};t.exports={start:d(1),end:d(2),trim:d(3)}},function(t,e,n){"use strict";var i=n(42),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},function(t,e,n){var i=n(252),r=n(30),a=n(128),s=n(29)("toStringTag"),o=Object,l="Arguments"==a(function(){return arguments}());t.exports=i?a:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=o(t),s))?n:l?a(e):"Object"==(i=a(e))&&r(e.callee)?"Arguments":i}},function(t,e,n){"use strict";var i=n(166),r=n(94),a=n(115);t.exports=function(t,e,n){var s=i(e);s in t?r.f(t,s,a(0,n)):t[s]=n}},function(t,e,n){var i=n(816),r=n(821);t.exports=function(t,e){var n=r(t,e);return i(n)?n:void 0}},function(t,e,n){t.exports=n(1232)},function(t,e,n){t.exports=n(482)},function(t,e,n){var i=n(25);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e,n){"use strict";var i,r,a=n(10),s=n(3),o=n(14),l=n(223),c=n(174),u=n(121),d=n(68),h=n(41).get,p=n(224),f=n(281),m=u("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,_=s("".charAt),y=s("".indexOf),b=s("".replace),x=s("".slice),w=(r=/b*/g,a(g,i=/a/,"a"),a(g,r,"a"),0!==i.lastIndex||0!==r.lastIndex),M=c.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(w||S||M||p||f)&&(v=function(t){var e,n,i,r,s,c,u,p=this,f=h(p),T=o(t),A=f.raw;if(A)return A.lastIndex=p.lastIndex,e=a(v,A,T),p.lastIndex=A.lastIndex,e;var L=f.groups,E=M&&p.sticky,C=a(l,p),I=p.source,D=0,k=T;if(E&&(C=b(C,"y",""),-1===y(C,"g")&&(C+="g"),k=x(T,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==_(T,p.lastIndex-1))&&(I="(?: "+I+")",k=" "+k,D++),n=new RegExp("^(?:"+I+")",C)),S&&(n=new RegExp("^"+I+"$(?!\\s)",C)),w&&(i=p.lastIndex),r=a(g,E?n:p,k),E?r?(r.input=x(r.input,D),r[0]=x(r[0],D),r.index=p.lastIndex,p.lastIndex+=r[0].length):p.lastIndex=0:w&&r&&(p.lastIndex=p.global?r.index+r[0].length:i),S&&r&&r.length>1&&a(m,r[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(r[s]=void 0)})),r&&L)for(r.groups=c=d(null),s=0;s<L.length;s++)c[(u=L[s])[0]]=r[u[1]];return r}),t.exports=v},function(t,e,n){var i=n(10),r=n(8),a=n(9),s=n(56),o=n(156),l=TypeError;t.exports=function(t,e){var n=t.exec;if(a(n)){var c=i(n,t,e);return null!==c&&r(c),c}if("RegExp"===s(t))return i(o,t,e);throw l("RegExp#exec called on incompatible receiver")}},function(t,e,n){var i=n(12),r=n(56),a=n(11)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==r(t))}},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(139),s=n(52),o=n(96),l=r([].join),c=a!=Object,u=o("join",",");i({target:"Array",proto:!0,forced:c||!u},{join:function(t){return l(s(this),void 0===t?",":t)}})},function(t,e,n){var i=n(10),r=n(13),a=n(64),s=n(223),o=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in o||r(t,"flags")||!a(o,t)?e:i(s,t)}},function(t,e,n){"use strict";var i=n(132).PROPER,r=n(28),a=n(8),s=n(14),o=n(2),l=n(160),c=RegExp.prototype.toString,u=o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=i&&"toString"!=c.name;(u||d)&&r(RegExp.prototype,"toString",(function(){var t=a(this);return"/"+s(t.source)+"/"+s(l(t))}),{unsafe:!0})},function(t,e,n){var i=n(25),r=n(29),a=n(182),s=r("species");t.exports=function(t){return a>=51||!i((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var i=n(119);t.exports=function(t,e,n,r){return r&&r.enumerable?t[e]=n:i(t,e,n),t}},function(t,e,n){t.exports=n(772)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n(47),n(122),n(226),n(161);var i=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t&&e?t.replace(new RegExp(e,"g"),n):t}},function(t,e,n){var i=n(370),r=n(167);t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},function(t,e,n){var i=n(66),r=n(30),a=n(53),s=n(274),o=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return r(e)&&a(e.prototype,o(t))}},function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},function(t,e,n){var i=n(98),r=n(222);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.8",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){var i=n(376);t.exports=function(t){var e=+t;return e!=e||0===e?0:i(e)}},function(t,e,n){var i=n(6),r=n(12),a=i.document,s=r(a)&&r(a.createElement);t.exports=function(t){return s?a.createElement(t):{}}},function(t,e,n){var i=n(3),r=n(9),a=n(194),s=i(Function.toString);r(a.inspectSource)||(a.inspectSource=function(t){return s(t)}),t.exports=a.inspectSource},function(t,e,n){var i=n(52),r=n(95),a=n(31),s=function(t){return function(e,n,s){var o,l=i(e),c=a(l),u=r(s,c);if(t&&n!=n){for(;c>u;)if((o=l[u++])!=o)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},function(t,e,n){var i=n(2),r=n(6).RegExp,a=i((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),s=a||i((function(){return!r("a","y").sticky})),o=a||i((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:o,MISSED_STICKY:s,UNSUPPORTED_Y:a}},function(t,e,n){var i=n(280),r=n(197);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(95),r=n(31),a=n(102),s=Array,o=Math.max;t.exports=function(t,e,n){for(var l=r(t),c=i(e,l),u=i(void 0===n?l:n,l),d=s(o(u-c,0)),h=0;c<u;c++,h++)a(d,h,t[c]);return d.length=h,d}},function(t,e,n){var i=n(378);t.exports=function(t,e){return new(i(t))(0===e?0:e)}},function(t,e,n){var i=n(6);t.exports=i.Promise},function(t,e,n){var i=n(138),r=n(22),a=n(231),s=n(80),o=n(87),l=n(228),c=r([].push),u=function(t){var e=1==t,n=2==t,r=3==t,u=4==t,d=6==t,h=7==t,p=5==t||d;return function(f,m,g,v){for(var _,y,b=s(f),x=a(b),w=i(m,g),M=o(x),S=0,T=v||l,A=e?T(f,M):n||h?T(f,0):void 0;M>S;S++)if((p||S in x)&&(y=w(_=x[S],S,b),t))if(e)A[S]=y;else if(y)switch(t){case 3:return!0;case 5:return _;case 6:return S;case 2:c(A,_)}else switch(t){case 4:return!1;case 7:c(A,_)}return d?-1:r||u?u:A}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},function(t,e){t.exports={}},function(t,e,n){var i=n(252),r=n(94).f,a=n(119),s=n(54),o=n(762),l=n(29)("toStringTag");t.exports=function(t,e,n,c){if(t){var u=n?t:t.prototype;s(u,l)||r(u,l,{configurable:!0,value:e}),c&&!i&&a(u,"toString",o)}}},function(t,e,n){var i,r,a=n(35),s=n(191),o=a.process,l=a.Deno,c=o&&o.versions||l&&l.version,u=c&&c.v8;u&&(r=(i=u.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>
vendor: 4,231 bytes, line 101
101=74)&&(i=s.match(/Chrome\/(\d+)/))&&(r=+i[1]),t.exports=r},function(t,e,n){var i=n(292),r=n(235);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(170),r=Math.max,a=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):a(n,e)}},function(t,e,n){var i=n(10),r=n(12),a=n(109),s=n(88),o=n(295),l=n(11),c=TypeError,u=l("toPrimitive");t.exports=function(t,e){if(!r(t)||a(t))return t;var n,l=s(t,u);if(l){if(void 0===e&&(e="default"),n=i(l,t,e),!r(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},function(t,e,n){var i=n(121),r=n(131),a=i("keys");t.exports=function(t){return a[t]||(a[t]=r(t))}},function(t,e,n){"use strict";n(47);var i=n(3),r=n(28),a=n(156),s=n(2),o=n(11),l=n(44),c=o("species"),u=RegExp.prototype;t.exports=function(t,e,n,d){var h=o(t),p=!s((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),f=p&&!s((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!p||!f||n){var m=i(/./[h]),g=e(h,""[t],(function(t,e,n,r,s){var o=i(t),l=e.exec;return l===a||l===u.exec?p&&!s?{done:!0,value:m(e,n,r)}:{done:!0,value:o(n,e,r)}:{done:!1}}));r(String.prototype,t,g[0]),r(u,h,g[1])}d&&l(u[h],"sham",!0)}},function(t,e,n){"use strict";var i=n(200).charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var i=n(155),r=Function.prototype,a=r.apply,s=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?s.bind(a):function(){return s.apply(a,arguments)})},function(t,e,n){var i=n(66);t.exports=i("navigator","userAgent")||""},function(t,e){t.exports={}},function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);e.f=a?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},function(t,e,n){var i=n(6),r=n(195),a=i["__core-js_shared__"]||r("__core-js_shared__",{});t.exports=a},function(t,e,n){var i=n(6),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},function(t,e,n){var i=n(13),r=n(237),a=n(48),s=n(21);t.exports=function(t,e,n){for(var o=r(e),l=s.f,c=a.f,u=0;u<o.length;u++){var d=o[u];i(t,d)||n&&i(n,d)||l(t,d,c(e,d))}}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i={};i[n(11)("toStringTag")]="z",t.exports="[object z]"===String(i)},function(t,e,n){var i=n(3),r=n(39),a=n(14),s=n(33),o=i("".charAt),l=i("".charCodeAt),c=i("".slice),u=function(t){return function(e,n){var i,u,d=a(s(e)),h=r(n),p=d.length;return h<0||h>=p?t?"":void 0:(i=l(d,h))<55296||i>56319||h+1===p||(u=l(d,h+1))<56320||u>57343?t?o(d,h):i:t?c(d,h,h+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},function(t,e,n){var i=n(14);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},function(t,e){t.exports={}},function(t,e,n){var i=n(89),r=n(88),a=n(202),s=n(11)("iterator");t.exports=function(t){if(null!=t)return r(t,s)||r(t,"@@iterator")||a[i(t)]}},function(t,e,n){var i=n(2),r=n(11),a=n(110),s=r("species");t.exports=function(t){return a>=51||!i((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var i=n(28);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},function(t,e,n){var i=n(2);t.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){var i=n(3);t.exports=i(1..valueOf)},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){var i=n(6),r=n(178),a=n(9),s=n(141),o=n(172),l=n(11),c=n(633),u=n(36),d=n(110),h=r&&r.prototype,p=l("species"),f=!1,m=a(i.PromiseRejectionEvent),g=s("Promise",(function(){var t=o(r),e=t!==String(r);if(!e&&66===d)return!0;
101if(u&&(!h.catch||!h.finally))return!0;if(d>=51&&/native code/.test(t))return!1;var n=new r((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};return(n.constructor={})[p]=i,!(f=n.then((function(){}))instanceof i)||!e&&c&&!m}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:f}},function(t,e,n){var i=n(236),r=n(21);t.exports=function(t,e,n){return n.get&&i(n.get,e,{getter:!0}),n.set&&i(n.set,e,{setter:!0}),r.f(t,e,n)}},function(t,e,n){var i=n(22),r=n(25),a=n(30),s=n(150),o=n(66),l=n(282),c=function(){},u=[],d=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=i(h.exec),f=!h.exec(c),m=function(t){if(!a(t))return!1;try{return d(c,u,t),!0}catch(t){return!1}},g=function(t){if(!a(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(h,l(t))}catch(t){return!0}};g.sham=!0,t.exports=!d||r((function(){var t;return m(m.call)||!m(Object)||!m((function(){t=!0}))||t}))?g:m},function(t,e,n){var i=n(258),r=n(817),a=n(818),s=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?r(t):a(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";var i=n(40),r=(n(47),n(142),n(165));e.a={computed:{emailParts:function(){var t=Object(r.a)(this.email||"",this.i18n("email.noSpam")).split("@"),e=Object(i.a)(t,2);return{local:e[0],domain:e[1]}}}}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mdc-form-field",class:t.modifier},[n("div",{staticClass:"mdc-checkbox",class:{"mdc-checkbox--disabled":t.disabled}},[n("input",{staticClass:"mdc-checkbox__native-control",attrs:{type:"checkbox",name:t.name,required:t.required,disabled:t.disabled},domProps:{checked:t.checked},on:{change:t.onChange}}),t._v(" "),n("div",{staticClass:"mdc-checkbox__background"},[n("svg",{staticClass:"mdc-checkbox__checkmark",attrs:{viewBox:"0 0 24 24"}},[n("path",{staticClass:"mdc-checkbox__checkmark-path",attrs:{fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}})]),t._v(" "),n("div",{staticClass:"mdc-checkbox__mixedmark"})]),t._v(" "),n("div",{staticClass:"mdc-checkbox__ripple"})]),t._v(" "),n("label",[t._t("default",(function(){return[t._v("\n      "+t._s(t.label||"Checkbox")+"\n    ")]}))],2)])};i._withStripped=!0;var r={name:"Checkbox",props:{modifier:{type:String,default:""},name:{type:String,default:null},required:Boolean,disabled:Boolean,checked:Boolean,label:{type:String,default:""}},methods:{onChange:function(t){this.$emit("change",t.target.checked)}}},a=n(4),s=Object(a.a)(r,i,[],!1,null,null,null);s.options.__file="src/assets/toolkit/scripts/atoms/checkbox.vue";e.a=s.exports},function(t,e,n){"use strict";var i=function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.classNames,attrs:{role:"progressbar"}},[this._m(0),this._v(" "),this._m(1),this._v(" "),this._m(2)])};i._withStripped=!0;var r={name:"LinearProgress",props:{closed:Boolean,modifier:{type:String,default:""}},computed:{classNames:function(){return["mdc-linear-progress mdc-linear-progress--indeterminate",this.closed&&"mdc-linear-progress--closed",this.modifier]}}},a=n(4),s=Object(a.a)(r,i,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mdc-linear-progress__buffer"},[e("div",{staticClass:"mdc-linear-progress__buffer-bar"}),this._v(" "),e("div",{staticClass:"mdc-linear-progress__buffer-dots"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mdc-linear-progress__bar mdc-linear-progress__primary-bar"},[e("span",{staticClass:"mdc-linear-progress__bar-inner"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},[e("span",{staticClass:"mdc-linear-progress__bar-inner"})])}],!1,null,null,null);s.options.__file="src/assets/toolkit/scripts/atoms/linearProgress.vue";e.a=s.exports},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;
101return n("div",{staticClass:"location-item__inner",class:{"is-state-company":t.stateCompany}},[t.location.label&&!t.hasDisabledPin?n("div",{staticClass:"location-item__pin"},[n("span",{staticClass:"location-item__count"},[t._v(t._s(t.location.label))])]):t._e(),t._v(" "),n("div",{staticClass:"location-item__content"},[n("div",{staticClass:"location-item__head"},[t.location.name&&t.location.title?n("span",{staticClass:"location-item__name"},[t._v(t._s(t.location.name))]):n("span",[t._v(t._s(t.location.name))]),t._v(" "),t.location.title?n("span",[t._v(t._s(t.location.title))]):t._e(),t._v(" "),t.stateCompany&&t.location.regionaladviser?n("a",{staticClass:"location-item__link",attrs:{href:t.location.regionaladviser}},[n("i",{staticClass:"icon icon-arrow-right"}),t._v("\n        "+t._s(t.i18n("location.regionaladviser"))+"\n      ")]):t._e(),t._v(" "),t.location.types||t.location.employees||t.location.training?n("div",{staticClass:"location-numbers"},[t.location.types?t._l(t.location.types,(function(e,i){return n("div",{key:e.name+i,staticClass:"location-number",attrs:{title:t.i18n("label.factory.type")}},[n("i",{class:"icon icon-"+e.icon,attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",[t._v(t._s(e.name))])])})):t._e(),t._v(" "),t.location.employees?n("div",{staticClass:"location-number",attrs:{title:t.i18n("label.number.employees")}},[n("i",{staticClass:"icon icon-employees",attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",[t._v(t._s(t.location.employees))])]):t._e(),t._v(" "),t.location.training?n("div",{staticClass:"location-number"},[n("i",{staticClass:"icon icon-graduate",attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",[t._v(t._s(t.i18n("location.training")))])]):t._e()],2):t._e()]),t._v(" "),n("div",{staticClass:"location-item__body"},[t.location.address?n("div",{staticClass:"location-data"},[t.stateCompany?t._e():n("small",{staticClass:"location-data__label"},[t._v(t._s(t.i18n("location.address")))]),t._v(" "),n("div",{staticClass:"location-data__data"},[t.location.address.prefix?n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.address.prefix)+"\n          ")]):t._e(),t._v(" "),n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.address.street)+"\n          ")]),t._v(" "),t.location.address.additional1?n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.address.additional1)+"\n          ")]):t._e(),t._v(" "),t.location.address.additional2?n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.address.additional2)+"\n          ")]):t._e(),t._v(" "),t.location.address.additional3?n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.address.additional3)+"\n          ")]):t._e(),t._v(" "),n("div",{staticClass:"location-data__item"},[t._v(t._s(t.location.address.city))]),t._v(" "),n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.address.country)+"\n          ")])]),t._v(" "),t.location.route?n("div",{staticClass:"location-data__actions"},[t.location.route.addressRoute?n("vue-button",{staticClass:"location-item__route",attrs:{label:t.i18n("location.button.route"),element:"location-item__route",modifier:t.isActive?"button--primary-light":"button--outlined",href:t.location.route.addressRoute,icon:"compass-arrow",target:"_blank"}}):t._e()],1):t._e()]):t._e(),t._v(" "),t.location.postAddress&&!t.stateCompany?n("div",{staticClass:"location-data"},[n("small",{staticClass:"location-data__label"},[t._v(t._s(t.i18n("location.address.mail")))]),t._v(" "),n("div",{staticClass:"location-data__data"},[t.location.postAddress.prefix?n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.postAddress.prefix)+"\n          ")]):t._e(),t._v(" "),n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.postAddress.street)+"\n          ")]),t._v(" "),t.location.postAddress.additional1?n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.postAddress.additional1)+"\n          ")]):t._e(),t._v(" "),t.location.postAddress.additional2?n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.postAddress.additional2)+"\n          ")]):t._e(),t._v(" "),t.location.postAddress.additional3?n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.postAddress.additional3)+"\n          ")]):t._e(),t._v(" "),n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.postAddress.city)+"\n          ")]),t._v(" "),n("div",{staticClass:"location-data__item"},[t._v("\n            "+t._s(t.location.postAddress.country)+"\n          ")])]),t._v(" "),n("div",{staticClass:"location-data__actions"},[t.location.route.mailingRoute?n("vue-button",{attrs:{label:t.i18n("location.button.mailingroute"),element:"location-item__route",modifier:t.isActive?"button--primary-light":"button--outlined",href:t.location.route.mailingRoute,icon:"truck",target:"_blank"}}):t._e()],1)]):t._e(),t._v(" "),t.location.contact?n("div",{staticClass:"location-data"}
101,[t.stateCompany?t._e():n("small",{staticClass:"location-data__label"},[t._v(t._s(t.i18n("location.contact")))]),t._v(" "),n("div",{staticClass:"location-data__data"},[t._l(t.location.contact.phoneNumbers,(function(e){return n("div",{key:e.href,staticClass:"location-data__item"},[n("i",{staticClass:"icon icon-phone",attrs:{title:t.i18n("location.contact.phone"),"aria-hidden":"true"}}),t._v(" "),n("a",{attrs:{href:e.href}},[t._v("\n              "+t._s(e.label)+"\n            ")])])})),t._v(" "),t.location.contact.mobileLabel?n("div",{staticClass:"location-data__item"},[n("i",{staticClass:"icon icon-phone-mobile",attrs:{title:t.i18n("location.contact.mobileLabel"),"aria-hidden":"true"}}),t._v(" "),n("a",{attrs:{href:t.location.contact.mobileHref}},[n("span",[t._v(t._s(t.location.contact.mobileLabel))])])]):t._e(),t._v(" "),t.location.contact.fax?n("div",{staticClass:"location-data__item"},[n("i",{staticClass:"icon icon-phone-landline",attrs:{title:t.i18n("location.contact.fax"),"aria-hidden":"true"}}),t._v(" "),n("span",[t._v(t._s(t.location.contact.fax))])]):t._e(),t._v(" "),t._l(t.emails,(function(e){return n("div",{key:e.label,staticClass:"location-data__item"},[n("i",{staticClass:"icon icon-mail",attrs:{title:t.i18n("location.contact.email"),"aria-hidden":"true"}}),t._v(" "),n("e-mail",{attrs:{"local-part":e.local,"domain-part":e.domain,label:e.label}})],1)})),t._v(" "),t.location.contact.websiteLabel?n("div",{staticClass:"location-data__item"},[n("i",{staticClass:"icon icon-www",attrs:{title:t.i18n("location.contact.website"),"aria-hidden":"true"}}),t._v(" "),n("a",{attrs:{target:"_blank",href:t.location.contact.websiteHref}},[t._v("\n              "+t._s(t.location.contact.websiteLabel)+"\n            ")])]):t._e()],2),t._v(" "),n("div",{staticClass:"location-data__actions location-data__contact-actions"},[t.location.route&&t.location.route.pdf&&!t.stateCompany?n("vue-button",{attrs:{label:t.i18n("location.button.directions"),modifier:"button--link",href:t.location.route.pdf,icon:"link"}}):t._e(),t._v(" "),n("div",{staticClass:"location-item__morelink"},[t.location.morelink&&!t.disableDetailsButton?n("vue-button",{attrs:{label:t.i18n("location.button.morelink"),element:"location-item__morelink",modifier:"button--primary",href:t.location.morelink,icon:"arrow-right",target:"_blank"}}):t._e()],1)],1)]):t._e()])])])};i._withStripped=!0;var r=n(40),a=(n(47),n(142),n(17)),s=n.n(a),o=n(135),l=n(63),c=n(215),u=n(165),d={name:"LocationItem",components:{EMail:o.a,VueButton:l.a},mixins:[c.a],props:{location:{type:Object,default:function(){return{}}},hasDisabledPin:Boolean,stateCompany:Boolean,disableDetailsButton:Boolean,isActive:Boolean,i18n:{type:Function,default:function(){}}},computed:{emails:function(){var t=this,e=this.location.contact&&this.location.contact.emails||[],n=function(e){return Object(u.a)(e||"",t.i18n("email.noSpam"))};return s()(e).call(e,(function(t){var e=n(t.address).split("@"),i=Object(r.a)(e,2);return{local:i[0],domain:i[1],label:n(t.label)}}))}}},h=n(4),p=Object(h.a)(d,i,[],!1,null,null,null);p.options.__file="src/assets/toolkit/scripts/components/location/location-item.vue";e.a=p.exports},function(t,e,n){t.exports=n(756)},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(40),r=n(84),a=n.n(r),s=(n(20),n(24),n(226),n(47),n(161),n(122),function(t,e){return e&&a()(e).forEach((function(e){var n=Object(i.a)(e,2),r=n[0],a=n[1],s=new RegExp("\\{".concat(r,"\\}"),"g");t=t.replace(s,a.toString())})),t})},function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);e.f=a?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},function(t,e,n){var i=n(35),r=n(372),a=i["__core-js_shared__"]||r("__core-js_shared__",{});t.exports=a},function(t,e,n){"use strict";var i=n(8);t.exports=function(){var t=i(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var i=n(2),r=n(6).RegExp;t.exports=i((function(){var t=r(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,e,n){"use strict";var i=n(52),r=n(111),a=n(202),s=n(41),o=n(21).f,l=n(312),c=n(36),u=n(7
vendor: 3,329 bytes, line 101
101),d=s.set,h=s.getterFor("Array Iterator");t.exports=l(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:i(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values");var p=a.Arguments=a.Array;if(r("keys"),r("values"),r("entries"),!c&&u&&"values"!==p.name)try{o(p,"name",{value:"values"})}catch(t){}},function(t,e,n){var i=n(7),r=n(6),a=n(3),s=n(141),o=n(134),l=n(44),c=n(101).f,u=n(64),d=n(158),h=n(14),p=n(160),f=n(174),m=n(305),g=n(28),v=n(2),_=n(13),y=n(41).enforce,b=n(146),x=n(11),w=n(224),M=n(281),S=x("match"),T=r.RegExp,A=T.prototype,L=r.SyntaxError,E=a(A.exec),C=a("".charAt),I=a("".replace),D=a("".indexOf),k=a("".slice),O=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,P=/a/g,N=new T(R)!==R,Y=f.MISSED_STICKY,F=f.UNSUPPORTED_Y,H=i&&(!N||Y||w||M||v((function(){return P[S]=!1,T(R)!=R||T(P)==P||"/a/i"!=T(R,"i")})));if(s("RegExp",H)){for(var j=function(t,e){var n,i,r,a,s,c,f=u(A,this),m=d(t),g=void 0===e,v=[],b=t;if(!f&&m&&g&&t.constructor===j)return t;if((m||u(A,t))&&(t=t.source,g&&(e=p(b))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),b=t,w&&"dotAll"in R&&(i=!!e&&D(e,"s")>-1)&&(e=I(e,/s/g,"")),n=e,Y&&"sticky"in R&&(r=!!e&&D(e,"y")>-1)&&F&&(e=I(e,/y/g,"")),M&&(t=(a=function(t){for(var e,n=t.length,i=0,r="",a=[],s={},o=!1,l=!1,c=0,u="";i<=n;i++){if("\\"===(e=C(t,i)))e+=C(t,++i);else if("]"===e)o=!1;else if(!o)switch(!0){case"["===e:o=!0;break;case"("===e:E(O,k(t,i+1))&&(i+=2,l=!0),r+=e,c++;continue;case">"===e&&l:if(""===u||_(s,u))throw new L("Invalid capture group name");s[u]=!0,a[a.length]=[u,c],l=!1,u="";continue}l?u+=e:r+=e}return[r,a]}(t))[0],v=a[1]),s=o(T(t,e),f?this:A,j),(i||r||v.length)&&(c=y(s),i&&(c.dotAll=!0,c.raw=j(function(t){for(var e,n=t.length,i=0,r="",a=!1;i<=n;i++)"\\"!==(e=C(t,i))?a||"."!==e?("["===e?a=!0:"]"===e&&(a=!1),r+=e):r+="[\\s\\S]":r+=e+C(t,++i);return r}(t),n)),r&&(c.sticky=!0),v.length&&(c.groups=v)),t!==b)try{l(s,"source",""===b?"(?:)":b)}catch(t){}return s},B=c(T),z=0;B.length>z;)m(j,T,B[z++]);A.constructor=j,j.prototype=A,g(r,"RegExp",j,{constructor:!0})}b("RegExp")},function(t,e,n){"use strict";var i=n(10),r=n(187),a=n(8),s=n(33),o=n(404),l=n(14),c=n(88),u=n(157);r("search",(function(t,e,n){return[function(e){var n=s(this),r=null==e?void 0:c(e,t);return r?i(r,e,n):new RegExp(e)[t](l(n))},function(t){var i=a(this),r=l(t),s=n(e,i,r);if(s.done)return s.value;var c=i.lastIndex;o(c,0)||(i.lastIndex=0);var d=u(i,r);return o(i.lastIndex,c)||(i.lastIndex=c),null===d?-1:d.index}]}))},function(t,e,n){var i=n(425);t.exports=function(t,e){return new(i(t))(0===e?0:e)}},function(t,e,n){var i,r=n(81),a=n(429),s=n(235),o=n(192),l=n(469),c=n(276),u=n(253),d=u("IE_PROTO"),h=function(){},p=function(t){return"<script>"+t+"<\/script>"},f=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}var t,e;m="undefined"!=typeof document?document.domain&&i?f(i):((e=c("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):f(i);for(var n=s.length;n--;)delete m.prototype[s[n]];return m()};
101o[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h.prototype=r(t),n=new h,h.prototype=null,n[d]=t):n=m(),void 0===e?n:a.f(n,e)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return o}));
102/**
103 * @license
104 * Copyright 2016 Google Inc.
105 *
106 * Permission is hereby granted, free of charge, to any person obtaining a copy
107 * of this software and associated documentation files (the "Software"), to deal
108 * in the Software without restriction, including without limitation the rights
109 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
110 * copies of the Software, and to permit persons to whom the Software is
111 * furnished to do so, subject to the following conditions:
112 *
113 * The above copyright notice and this permission notice shall be included in
114 * all copies or substantial portions of the Software.
115 *
116 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
117 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
118 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
119 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
120 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
121 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
122 * THE SOFTWARE.
123 */
124var i={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}},r={animationend:{cssProperty:"animation",prefixed:"webkitAnimationEnd",standard:"animationend"},animationiteration:{cssProperty:"animation",prefixed:"webkitAnimationIteration",standard:"animationiteration"},animationstart:{cssProperty:"animation",prefixed:"webkitAnimationStart",standard:"animationstart"},transitionend:{cssProperty:"transition",prefixed:"webkitTransitionEnd",standard:"transitionend"}};function a(t){return Boolean(t.document)&&"function"==typeof t.document.createElement}function s(t,e){if(a(t)&&e in i){var n=t.document.createElement("div"),r=i[e],s=r.standard,o=r.prefixed;return s in n.style?s:o}return e}function o(t,e){if(a(t)&&e in r){var n=t.document.createElement("div"),i=r[e],s=i.standard,o=i.prefixed;return i.cssProperty in n.style?s:o}return e}},function(t,e,n){var i=n(22),r=n(25),a=n(128),s=Object,o=i("".split);t.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?o(t,""):s(t)}:s},function(t,e,n){var i=n(118);t.exports=function(t,e){var n=t[e];return null==n?void 0:i(n)}},function(t,e,n){var i=n(22),r=0,a=Math.random(),s=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++r+a,36)}},function(t,e,n){var i=n(22);t.exports=i([].slice)},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var i=n(2),r=n(9),a=n(13),s=n(7),o=n(132).CONFIGURABLE,l=n(172),c=n(41),u=c.enforce,d=c.get,h=Object.defineProperty,p=s&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),f=String(String).split("String"),m=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||o&&t.name!==e)&&h(t,"name",{value:e,configurable:!0}),p&&n&&a(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=u(t);return a(i,"source")||(i.source=f.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return r(this)&&d(this).source||l(this)}),"toString")},function(t,e,n){var i=n(27),r=n(3),a=n(101),s=n(198),o=n(8),l=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=a.f(o(t)),n=s.f;return n?l(e,n(t)):e}},function(t,e,n){var i=n(7),r=n(279),a=n(21),s=n(8),o=n(52),l=n(175);e.f=i&&!r?Object.defineProperties:function(t,e){s(t);for(var n,i=o(e),r=l(e),c=r.length,u=0;c>u;)a.f(t,n=r[u++],i[n]);return t}},function(t,e,n){var i=n(133),r=n(116),a=TypeError;t.exports=function(t){if(i(t))return t;throw a(r(t)+" is not a constructor")}},function(t,e,n){var i=n(3),r=Error,a=i("".replace),s=String(r("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,l=o.test(s);t.exports=function(t,e){if(l&&"string"==typeof t&&!r.prepareStackTrace)for(;e--;)t=a(t,o,"");return t}},function(t,e,n){var i=n(10),r=n(42),a=n(8),s=n(116),o=n(203),l=TypeError;t.exports=function(t,e){var n=arguments.length<2?o(t):e;if(r(n))return a(i(n,t));throw l(s(t)+" is not iterable")}},function(t,e,n){var i=n(11)("iterator"),r=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){r=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var a={};a[i]=function(){return{next:function(){return{done:n=!0}}}},t(a)}catch(t){}return n}},function(t,e,n){var i=n(42),r=n(26),a=n(139),s=n(31),o=TypeError,l=function(t){return function(e,n,l,c){i(n);var u=r(e),d=a(u),h=s(u),p=t?h-1:0,f=t?-1:1;
vendor: 9,244 bytes, line 124
124if(l<2)for(;;){if(p in d){c=d[p],p+=f;break}if(p+=f,t?p<0:h<=p)throw o("Reduce of empty array with no initial value")}for(;t?p>=0:h>p;p+=f)p in d&&(c=n(c,d[p],p,u));return c}};t.exports={left:l(!1),right:l(!0)}},function(t,e,n){"use strict";var i=n(6),r=n(3),a=n(7),s=n(316),o=n(132),l=n(44),c=n(205),u=n(2),d=n(104),h=n(39),p=n(61),f=n(395),m=n(547),g=n(82),v=n(91),_=n(101).f,y=n(21).f,b=n(311),x=n(176),w=n(78),M=n(41),S=o.PROPER,T=o.CONFIGURABLE,A=M.get,L=M.set,E=i.ArrayBuffer,C=E,I=C&&C.prototype,D=i.DataView,k=D&&D.prototype,O=Object.prototype,R=i.Array,P=i.RangeError,N=r(b),Y=r([].reverse),F=m.pack,H=m.unpack,j=function(t){return[255&t]},B=function(t){return[255&t,t>>8&255]},z=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},U=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},V=function(t){return F(t,23,4)},W=function(t){return F(t,52,8)},G=function(t,e){y(t.prototype,e,{get:function(){return A(this)[e]}})},q=function(t,e,n,i){var r=f(n),a=A(t);if(r+e>a.byteLength)throw P("Wrong index");var s=A(a.buffer).bytes,o=r+a.byteOffset,l=x(s,o,o+e);return i?l:Y(l)},X=function(t,e,n,i,r,a){var s=f(n),o=A(t);if(s+e>o.byteLength)throw P("Wrong index");for(var l=A(o.buffer).bytes,c=s+o.byteOffset,u=i(+r),d=0;d<e;d++)l[c+d]=u[a?d:e-d-1]};if(s){var $=S&&"ArrayBuffer"!==E.name;if(u((function(){E(1)}))&&u((function(){new E(-1)}))&&!u((function(){return new E,new E(1.5),new E(NaN),$&&!T})))$&&T&&l(E,"name","ArrayBuffer");else{(C=function(t){return d(this,I),new E(f(t))}).prototype=I;for(var K,J=_(E),Q=0;J.length>Q;)(K=J[Q++])in C||l(C,K,E[K]);I.constructor=C}v&&g(k)!==O&&v(k,O);var Z=new D(new C(2)),tt=r(k.setInt8);Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||c(k,{setInt8:function(t,e){tt(this,t,e<<24>>24)},setUint8:function(t,e){tt(this,t,e<<24>>24)}},{unsafe:!0})}else I=(C=function(t){d(this,I);var e=f(t);L(this,{bytes:N(R(e),0),byteLength:e}),a||(this.byteLength=e)}).prototype,k=(D=function(t,e,n){d(this,k),d(t,I);var i=A(t).byteLength,r=h(e);if(r<0||r>i)throw P("Wrong offset");if(r+(n=void 0===n?i-r:p(n))>i)throw P("Wrong length");L(this,{buffer:t,byteLength:n,byteOffset:r}),a||(this.buffer=t,this.byteLength=n,this.byteOffset=r)}).prototype,a&&(G(C,"byteLength"),G(D,"buffer"),G(D,"byteLength"),G(D,"byteOffset")),c(k,{getInt8:function(t){return q(this,1,t)[0]<<24>>24},getUint8:function(t){return q(this,1,t)[0]},getInt16:function(t){var e=q(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=q(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return U(q(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return U(q(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return H(q(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return H(q(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){X(this,1,t,j,e)},setUint8:function(t,e){X(this,1,t,j,e)},setInt16:function(t,e){X(this,2,t,B,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){X(this,2,t,B,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){X(this,4,t,z,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){X(this,4,t,z,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){X(this,4,t,V,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){X(this,8,t,W,e,arguments.length>2?arguments[2]:void 0)}});w(C,"ArrayBuffer"),w(D,"DataView"),t.exports={ArrayBuffer:C,DataView:D}},function(t,e,n){"use strict";var i=n(39),r=n(14),a=n(33),s=RangeError;t.exports=function(t){var e=r(a(this)),n="",o=i(t);if(o<0||o==1/0)throw s("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,n){"use strict";var i=n(0),r=n(6),a=n(3),s=n(141),o=n(28),l=n(147),c=n(103),u=n(104),d=n(9),h=n(12),p=n(2),f=n(242),m=n(78),g=n(134);t.exports=function(t,e,n){var v=-1!==t.indexOf("Map"),_=-1!==t.indexOf("Weak"),y=v?"set":"add",b=r[t],x=b&&b.prototype,w=b,M={},S=function(t){var e=a(x[t]);o(x,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(_&&!h(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return _&&!h(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(_&&!h(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(s(t,!d(b)||!(_||x.forEach&&!p((function(){(new b).entries().next()})))))w=n.getConstructor(e,t,v,y),l.enable();else if(s(t,!0)){var T=new w,A=T[y](_?{}:-0,1)!=T,L=p((function(){T.has(1)})),E=f((function(t){new b(t)})),C=!_&&p((function(){for(var t=new b,e=5;e--;)t[y](e,e);return!t.has(-0)}));E||((w=e((function(t,e){u(t,x);var n=g(new b,t,w);return null!=e&&c(e,n[y],{that:n,AS_ENTRIES:v}),n}))).prototype=x,x.constructor=w),(L||C)&&(S("delete"),S("has"),v&&S("get")),(C||A)&&S(y),_&&x.clear&&delete x.clear}return M[t]=w,i({global:!0,constructor:!0,forced:w!=b},M),m(w,t),_||n.setStrong(w,t,v),w}},function(t,e,n){var i=n(2),r=n(12),a=n(56),s=n(318),o=Object.isExtensible,l=i((function(){o(1)}));t.exports=l||s?function(t){return!!r(t)&&((!s||"ArrayBuffer"!=a(t))&&(!o||o(t)))}:o},function(t,e){var n=Math.expm1,i=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){var e=+t;return 0==e?e:e>-1e-6&&e<1e-6?e+e*e/2:i(e)-1}:n},function(t,e,n){"use strict";var i=n(36),r=n(6),a=n(2),s=n(315);t.exports=i||!a((function(){if(!(s&&s<535)){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete r[t]}}))},function(t,e,n){var i,r,a,s,o=n(6),l=n(73),c=n(90),u=n(9),d=n(13),h=n(2),p=n(298),f=n(144),m=n(171),g=n(124),v=n(405),_=n(145),y=o.setImmediate,b=o.clearImmediate,x=o.process,w=o.Dispatch,M=o.Function,S=o.MessageChannel,T=o.String,A=0,L={};try{i=o.location}catch(t){}var E=function(t){if(d(L,t)){var e=L[t];delete L[t],e()}},C=function(t){return function(){E(t)}},I=function(t){E(t.data)},D=function(t){o.postMessage(T(t),i.protocol+"//"+i.host)};y&&b||(y=function(t){g(arguments.length,1);var e=u(t)?t:M(t),n=f(arguments,1);return L[++A]=function(){l(e,void 0,n)},r(A),A},b=function(t){delete L[t]},_?r=function(t){x.nextTick(C(t))}:w&&w.now?r=function(t){w.now(C(t))}:S&&!v?(s=(a=new S).port2,a.port1.onmessage=I,r=c(s.postMessage,s)):o.addEventListener&&u(o.postMessage)&&!o.importScripts&&i&&"file:"!==i.protocol&&!h(D)?(r=D,o.addEventListener("message",I,!1)):r="onreadystatechange"in m("script")?function(t){p.appendChild(m("script")).onreadystatechange=function(){p.removeChild(this),E(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:y,clear:b}},function(t,e,n){var i=n(23),r=n(143),a=i.TYPED_ARRAY_CONSTRUCTOR,s=i.aTypedArrayConstructor;t.exports=function(t){return s(r(t,t[a]))}},function(t,e,n){var i={};i[n(29)("toStringTag")]="z",t.exports="[object z]"===String(i)},function(t,e,n){var i=n(169),r=n(233),a=i("keys");t.exports=function(t){return a[t]||(a[t]=r(t))}},function(t,e,n){var i=n(150),r=n(232),a=n(180),s=n(29)("iterator");t.exports=function(t){if(null!=t)return r(t,s)||r(t,"@@iterator")||a[i(t)]}},function(t,e){t.exports=function(){}},function(t,e,n){var i,r,a,s=n(761),o=n(35),l=n(22),c=n(55),u=n(119),d=n(54),h=n(222),p=n(253),f=n(192),m=o.TypeError,g=o.WeakMap;if(s||h.state){var v=h.state||(h.state=new g),_=l(v.get),y=l(v.has),b=l(v.set);i=function(t,e){if(y(v,t))throw new m("Object already initialized");return e.facade=t,b(v,t,e),e},r=function(t){return _(v,t)||{}},a=function(t){return y(v,t)}}else{var x=p("state");f[x]=!0,i=function(t,e){if(d(t,x))throw new m("Object already initialized");return e.facade=t,u(t,x,e),e},r=function(t){return d(t,x)?t[x]:{}},a=function(t){return d(t,x)}}t.exports={set:i,get:r,has:a,enforce:function(t){return a(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=r(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){n(284);var i=n(765),r=n(35),a=n(150),s=n(119),o=n(180),l=n(29)("toStringTag");for(var c in i){var u=r[c],d=u&&u.prototype;d&&a(d)!==l&&s(d,l,c),o[c]=o.Array}},function(t,e,n){var i=n(108).Symbol;t.exports=i},function(t,e,n){var i=n(440),r=n(331);t.exports=function(t){return null!=t&&r(t.length)&&!i(t)}},function(t,e,n){var i=n(838),r=n(839),a=n(840),s=n(841),o=n(842);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=s,l.prototype.set=o,t.exports=l},function(t,e,n){var i=n(332);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},function(t,e,n){var i=n(152)(Object,"create");t.exports=i},function(t,e,n){var i=n(856);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var i=n(213),r=n(214);t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==i(t)}},function(t,e,n){var i=n(264);t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},function(t,e,n){t.exports=n(766)},function(t,e,n){"use strict";var i;function r(t,e){void 0===e&&(e=!1);var n,r=t.CSS;if("boolean"==typeof i&&!e)return i;if(!(r&&"function"==typeof r.supports))return!1;
124var a=r.supports("--css-vars","yes"),s=r.supports("(--css-vars: yes)")&&r.supports("color","#00000000");return n=a||s,e||(i=n),n}function a(t,e,n){if(!t)return{x:0,y:0};var i,r,a=e.x,s=e.y,o=a+n.left,l=s+n.top;if("touchstart"===t.type){var c=t;i=c.changedTouches[0].pageX-o,r=c.changedTouches[0].pageY-l}else{var u=t;i=u.pageX-o,r=u.pageY-l}return{x:i,y:r}}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("article",{staticClass:"accordion__item",class:[t.item.modifier,t.item.active&&"is-active",!t.isClient&&"is-server"],attrs:{id:t.item.anchor,"data-toggle-class":!t.isClient&&"is-active"}},[t.isClient?[n("div",{staticClass:"accordion__toggle",attrs:{role:"button"},on:{click:t.toggle}},[t.large?[n("i",{staticClass:"icon icon-chevron-down"}),t._v(" "),n("h"+t.level,{tag:"component",staticClass:"accordion__title"},[t._v("\n          "+t._s(t.item.title)+"\n        ")])]:[n("div",{staticClass:"accordion__indicator"}),t._v(" "),n("h"+t.level,{tag:"component",staticClass:"accordion__title"},[t._v(t._s(t.item.title))])]],2),t._v(" "),n("transition",{attrs:{name:"accordion"},on:{enter:t.start,"after-enter":t.end,"before-leave":t.start,"after-leave":t.end}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.item.active,expression:"item.active"}],staticClass:"accordion__body"},[n("div",{staticClass:"accordion__body-inner"},[t.item.img?[t.item.zoom?n("div",{staticClass:"accordion__img",attrs:{"data-zoom-gallery":t.index,"data-large":t.item.img.large,"data-size":t.item.img.dimensions}},[n("div",{staticClass:"accordion__zoom-image icon-zoom-in"},[n("lazy-image",{attrs:{img:t.item.img,alt:t.item.alt,title:t.item.title}})],1)]):n("div",{staticClass:"accordion__img"},[n("lazy-image",{attrs:{img:t.item.img,alt:t.item.alt,title:t.item.title}})],1)]:t._e(),t._v(" "),n("div",{staticClass:"accordion__content"},[t.item.text?n("div",{staticClass:"accordion__text",domProps:{innerHTML:t._s(t.item.text)}}):t._e(),t._v(" "),n("div",{staticClass:"accordion__taglist"},t._l(t.item.tags,(function(e){return n("div",{key:e,staticClass:"accordion__tag"},[t._v("\n                #"+t._s(e)+"\n              ")])})),0)])],2)])])]:[n("div",{staticClass:"accordion__toggle",attrs:{role:"button","data-toggle-trigger":""}},[t.large?[n("i",{staticClass:"icon icon-chevron-down"}),t._v(" "),n("h"+t.level,{tag:"component",staticClass:"accordion__title",domProps:{innerHTML:t._s(t.item.title)}})]:[n("div",{staticClass:"accordion__indicator"}),t._v(" "),n("h"+t.level,{tag:"component",staticClass:"accordion__title"},[t._v(t._s(t.item.title))])]],2),t._v(" "),n("div",{staticClass:"accordion__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"accordion__body-inner"},[t.item.img?[t.item.zoom?n("div",{staticClass:"accordion__img",attrs:{"data-zoom-gallery":t.index,"data-large":t.item.img.large,"data-size":t.item.img.dimensions}},[n("div",{staticClass:"accordion__zoom-image icon-zoom-in"},[n("lazy-image",{attrs:{img:t.item.img,alt:t.item.alt,title:t.item.title}})],1)]):n("div",{staticClass:"accordion__img"},[n("lazy-image",{attrs:{img:t.item.img,alt:t.item.alt,title:t.item.title}})],1)]:t._e(),t._v(" "),n("div",{staticClass:"accordion__content"},[t.item.text?n("div",{staticClass:"accordion__text",domProps:{innerHTML:t._s(t.item.text)}}):t._e(),t._v(" "),t._t("default")],2)],2)])]],2)};i._withStripped=!0;var r=n(40),a=n(84),s=n.n(a),o=n(32),l=n.n(o),c=(n(92),n(20),n(24),n(159),n(342)),u=n(83),d={name:"VueAccordionItem",components:{VuePicture:c.a,LazyImage:u.a},props:{large:{type:Boolean,default:!1},item:{type:Object,default:function(){return{}}},index:{type:Number,default:1},isClient:{type:Boolean,default:!1}},computed:{level:function(){return this.item.level||3}},methods:{srcSet:function(t){var e=[];return s()(t).forEach((function(t){var n,i=Object(r.a)(t,2),a=i[0],s=i[1];isFinite(+a)&&e.push(l()(n="".concat(s," ")).call(n,a,"w"))})),e.join(", ")},start:function(t){t.style.height=t.scrollHeight+"px"},end:function(t){t.style.height=""},toggle:function(){this.$emit("toggle")}}},h=n(4),p=Object(h.a)(d,i,[],!1,null,null,null);
124p.options.__file="src/assets/toolkit/scripts/components/accordion/accordion-item.vue";e.a=p.exports},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["filter-tag","is-"+t.variant],attrs:{role:t.variant},on:{click:t.onClick}},["checkbox"===t.variant?n("input",{staticClass:"filter-tag__checkbox",attrs:{id:t.name,type:"checkbox",name:t.name,required:t.required,disabled:t.disabled},domProps:{checked:t.checked},on:{change:t.onChange}}):t._e(),t._v(" "),n("label",{staticClass:"filter-tag__label",attrs:{for:t.name}},[t._t("default",(function(){return[t._v("\n      "+t._s(t.label||"Chip")+"\n    ")]}))],2)])};i._withStripped=!0;var r={name:"FilterTag",props:{modifier:{type:String,default:""},name:{type:String,default:null},required:Boolean,disabled:Boolean,checked:Boolean,label:{type:String,default:""},variant:{type:String,default:"checkbox"}},methods:{onChange:function(t){this.$emit("change",t.target.checked)},onClick:function(){this.$emit("click")}}},a=n(4),s=Object(a.a)(r,i,[],!1,null,null,null);s.options.__file="src/assets/toolkit/scripts/components/filter-tag.vue";e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(1),r=n(16),a={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"},s=function(t){function e(n){var r=t.call(this,Object(i.a)(Object(i.a)({},e.defaultAdapter),n))||this;return r.shakeAnimationEndHandler=function(){r.handleShakeAnimationEnd()},r}return Object(i.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(t){var n=e.cssClasses.LABEL_SHAKE;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.float=function(t){var n=e.cssClasses,i=n.LABEL_FLOAT_ABOVE,r=n.LABEL_SHAKE;t?this.adapter.addClass(i):(this.adapter.removeClass(i),this.adapter.removeClass(r))},e.prototype.setRequired=function(t){var n=e.cssClasses.LABEL_REQUIRED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.handleShakeAnimationEnd=function(){var t=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(t)},e}(r.a)},function(t,e,n){t.exports=n(492)},function(t,e,n){"use strict";function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}n.d(e,"a",(function(){return i}))},function(t,e,n){t.exports=n(1239)},function(t,e,n){var i=n(117);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var i=n(46),r=n(25),a=n(276);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(35),r=n(55),a=i.document,s=r(a)&&r(a.createElement);t.exports=function(t){return s?a.createElement(t):{}}},function(t,e,n){var i=n(130);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var i=n(7),r=n(2),a=n(171);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(7),r=n(2);t.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e,n){var i=n(3),r=n(13),a=n(52),s=n(173).indexOf,o=n(140),l=i([].push);t.exports=function(t,e){var n,i=a(t),c=0,u=[];for(n in i)!r(o,n)&&r(i,n)&&l(u,n);for(;e.length>c;)r(i,n=e[c++])&&(~s(u,n)||l(u,n));return u}},function(t,e,n){var i=n(2),r=n(6).RegExp;t.exports=i((function(){var t=r("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},function(t,e,n){var i=n(22),r=n(30),a=n(222),s=i(Function.toString);r(a.inspectSource)||(a.inspectSource=function(t){return s(t)}),t.exports=a.inspectSource},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var i=n(72),r=n(255),a=n(180),s=n(256),o=n(94).f,l=n(432),c=n(98),u=n(46),d=s.set,h=s.getterFor("Array Iterator");t.exports=l(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:i(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values");var p=a.Arguments=a.Array;
124if(r("keys"),r("values"),r("entries"),!c&&u&&"values"!==p.name)try{o(p,"name",{value:"values"})}catch(t){}},function(t,e,n){"use strict";var i=n(118),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},function(t,e,n){var i=n(836),r=n(881),a=n(891),s=n(93),o=n(892);t.exports=function(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?s(t)?r(t[0],t[1]):i(t):o(t)}},function(t,e,n){!function(e,n){var i=function(t,e,n){"use strict";var i,r;if(function(){var e,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in r=t.lazySizesConfig||t.lazysizesConfig||{},n)e in r||(r[e]=n[e])}(),!e||!e.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var a=e.documentElement,s=t.HTMLPictureElement,o=t.addEventListener.bind(t),l=t.setTimeout,c=t.requestAnimationFrame||l,u=t.requestIdleCallback,d=/^picture$/i,h=["load","error","lazyincluded","_lazyloaded"],p={},f=Array.prototype.forEach,m=function(t,e){return p[e]||(p[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),p[e].test(t.getAttribute("class")||"")&&p[e]},g=function(t,e){m(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},v=function(t,e){var n;(n=m(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(n," "))},_=function(t,e,n){var i=n?"addEventListener":"removeEventListener";n&&_(t,e),h.forEach((function(n){t[i](n,e)}))},y=function(t,n,r,a,s){var o=e.createEvent("Event");return r||(r={}),r.instance=i,o.initEvent(n,!a,!s),o.detail=r,t.dispatchEvent(o),o},b=function(e,n){var i;!s&&(i=t.picturefill||r.pf)?(n&&n.src&&!e.getAttribute("srcset")&&e.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[e]})):n&&n.src&&(e.src=n.src)},x=function(t,e){return(getComputedStyle(t,null)||{})[e]},w=function(t,e,n){for(n=n||t.offsetWidth;n<r.minSize&&e&&!t._lazysizesWidth;)n=e.offsetWidth,e=e.parentNode;return n},M=(pt=[],ft=[],mt=pt,gt=function(){var t=mt;for(mt=pt.length?ft:pt,dt=!0,ht=!1;t.length;)t.shift()();dt=!1},vt=function(t,n){dt&&!n?t.apply(this,arguments):(mt.push(t),ht||(ht=!0,(e.hidden?l:c)(gt)))},vt._lsFlush=gt,vt),S=function(t,e){return e?function(){M(t)}:function(){var e=this,n=arguments;M((function(){t.apply(e,n)}))}},T=function(t){var e,i,r=function(){e=null,t()},a=function(){var t=n.now()-i;t<99?l(a,99-t):(u||r)(r)};return function(){i=n.now(),e||(e=l(a,99))}},A=(W=/^img$/i,G=/^iframe$/i,q="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),X=0,$=0,K=-1,J=function(t){$--,(!t||$<0||!t.target)&&($=0)},Q=function(t){return null==V&&(V="hidden"==x(e.body,"visibility")),V||!("hidden"==x(t.parentNode,"visibility")&&"hidden"==x(t,"visibility"))},Z=function(t,n){var i,r=t,s=Q(t);for(j-=n,U+=n,B-=n,z+=n;s&&(r=r.offsetParent)&&r!=e.body&&r!=a;)(s=(x(r,"opacity")||1)>0)&&"visible"!=x(r,"overflow")&&(i=r.getBoundingClientRect(),s=z>i.left&&B<i.right&&U>i.top-1&&j<i.bottom+1);return s},tt=function(){var t,n,s,o,l,c,u,d,h,p,f,m,g=i.elements;if((N=r.loadMode)&&$<8&&(t=g.length)){for(n=0,K++;n<t;n++)if(g[n]&&!g[n]._lazyRace)if(!q||i.prematureUnveil&&i.prematureUnveil(g[n]))ot(g[n]);else if((d=g[n].getAttribute("data-expand"))&&(c=1*d)||(c=X),p||(p=!r.expand||r.expand<1?a.clientHeight>500&&a.clientWidth>500?500:370:r.expand,i._defEx=p,f=p*r.expFactor,m=r.hFac,V=null,X<f&&$<1&&K>2&&N>2&&!e.hidden?(X=f,K=0):X=N>1&&K>1&&$<6?p:0),h!==c&&(F=innerWidth+c*m,H=innerHeight+c,u=-1*c,h=c),s=g[n].getBoundingClientRect(),(U=s.bottom)>=u&&(j=s.top)<=H&&(z=s.right)>=u*m&&(B=s.left)<=F&&(U||z||B||j)&&(r.loadHidden||Q(g[n]))&&(R&&$<3&&!d&&(N<3||K<4)||Z(g[n],c))){if(ot(g[n]),l=!0,$>9)break}else!l&&R&&!o&&$<4&&K<4&&N>2&&(O[0]||r.preloadAfterLoad)&&(O[0]||!d&&(U||z||B||j||"auto"!=g[n].getAttribute(r.sizesAttr)))&&(o=O[0]||g[n]);o&&!l&&ot(o)}},et=function(t){var e,i=0,a=r.throttleDelay,s=r.ricTimeout,o=function(){e=!1,i=n.now(),t()},c=u&&s>49?function(){u(o,{timeout:s}
124),s!==r.ricTimeout&&(s=r.ricTimeout)}:S((function(){l(o)}),!0);return function(t){var r;(t=!0===t)&&(s=33),e||(e=!0,(r=a-(n.now()-i))<0&&(r=0),t||r<9?c():l(c,r))}}(tt),nt=function(t){var e=t.target;e._lazyCache?delete e._lazyCache:(J(t),g(e,r.loadedClass),v(e,r.loadingClass),_(e,rt),y(e,"lazyloaded"))},it=S(nt),rt=function(t){it({target:t.target})},at=function(t){var e,n=t.getAttribute(r.srcsetAttr);(e=r.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),n&&t.setAttribute("srcset",n)},st=S((function(t,e,n,i,a){var s,o,c,u,h,p;(h=y(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(n?g(t,r.autosizesClass):t.setAttribute("sizes",i)),o=t.getAttribute(r.srcsetAttr),s=t.getAttribute(r.srcAttr),a&&(u=(c=t.parentNode)&&d.test(c.nodeName||"")),p=e.firesLoad||"src"in t&&(o||s||u),h={target:t},g(t,r.loadingClass),p&&(clearTimeout(P),P=l(J,2500),_(t,rt,!0)),u&&f.call(c.getElementsByTagName("source"),at),o?t.setAttribute("srcset",o):s&&!u&&(G.test(t.nodeName)?function(t,e){var n=t.getAttribute("data-load-mode")||r.iframeLoadMode;0==n?t.contentWindow.location.replace(e):1==n&&(t.src=e)}(t,s):t.src=s),a&&(o||u)&&b(t,{src:s})),t._lazyRace&&delete t._lazyRace,v(t,r.lazyClass),M((function(){var e=t.complete&&t.naturalWidth>1;p&&!e||(e&&g(t,r.fastLoadedClass),nt(h),t._lazyCache=!0,l((function(){"_lazyCache"in t&&delete t._lazyCache}),9)),"lazy"==t.loading&&$--}),!0)})),ot=function(t){if(!t._lazyRace){var e,n=W.test(t.nodeName),i=n&&(t.getAttribute(r.sizesAttr)||t.getAttribute("sizes")),a="auto"==i;(!a&&R||!n||!t.getAttribute("src")&&!t.srcset||t.complete||m(t,r.errorClass)||!m(t,r.lazyClass))&&(e=y(t,"lazyunveilread").detail,a&&L.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,$++,st(t,e,a,i,n))}},lt=T((function(){r.loadMode=3,et()})),ct=function(){3==r.loadMode&&(r.loadMode=2),lt()},ut=function(){R||(n.now()-Y<999?l(ut,999):(R=!0,r.loadMode=3,et(),o("scroll",ct,!0)))},{_:function(){Y=n.now(),i.elements=e.getElementsByClassName(r.lazyClass),O=e.getElementsByClassName(r.lazyClass+" "+r.preloadClass),o("scroll",et,!0),o("resize",et,!0),o("pageshow",(function(t){if(t.persisted){var n=e.querySelectorAll("."+r.loadingClass);n.length&&n.forEach&&c((function(){n.forEach((function(t){t.complete&&ot(t)}))}))}})),t.MutationObserver?new MutationObserver(et).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a.addEventListener("DOMNodeInserted",et,!0),a.addEventListener("DOMAttrModified",et,!0),setInterval(et,999)),o("hashchange",et,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(t){e.addEventListener(t,et,!0)})),/d$|^c/.test(e.readyState)?ut():(o("load",ut),e.addEventListener("DOMContentLoaded",et),l(ut,2e4)),i.elements.length?(tt(),M._lsFlush()):et()},checkElems:et,unveil:ot,_aLSL:ct}),L=(I=S((function(t,e,n,i){var r,a,s;if(t._lazysizesWidth=i,i+="px",t.setAttribute("sizes",i),d.test(e.nodeName||""))for(a=0,s=(r=e.getElementsByTagName("source")).length;a<s;a++)r[a].setAttribute("sizes",i);n.detail.dataAttr||b(t,n.detail)})),D=function(t,e,n){var i,r=t.parentNode;r&&(n=w(t,r,n),(i=y(t,"lazybeforesizes",{width:n,dataAttr:!!e})).defaultPrevented||(n=i.detail.width)&&n!==t._lazysizesWidth&&I(t,r,i,n))},k=T((function(){var t,e=C.length;if(e)for(t=0;t<e;t++)D(C[t])})),{_:function(){C=e.getElementsByClassName(r.autosizesClass),o("resize",k)},checkElems:k,updateElem:D}),E=function(){!E.i&&e.getElementsByClassName&&(E.i=!0,L._(),A._())};var C,I,D,k;var O,R,P,N,Y,F,H,j,B,z,U,V,W,G,q,X,$,K,J,Q,Z,tt,et,nt,it,rt,at,st,ot,lt,ct,ut;var dt,ht,pt,ft,mt,gt,vt;return l((function(){r.init&&E()})),i={cfg:r,autoSizer:L,loader:A,init:E,uP:b,aC:g,rC:v,hC:m,fire:y,gW:w,rAF:M}}(e,e.document,Date);e.lazySizes=i,t.exports&&(t.exports=i)}("undefined"!=typeof window?window:{})},function(t,e,n){var i=n(356),r=n(443),a=Object.prototype.hasOwnProperty,s=r((function(t,e,n){a.call(t,n)?t[n].push(e):i(t,n,[e])}));t.exports=s},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;
124return n("div",{staticClass:"accordion",class:{"is-large":t.large}},[t.hasTagsEnabled?n("div",{staticClass:"accordion__tags"},[t._l(t.tags,(function(e){return n("filter-tag",{key:e.label,attrs:{name:e.label,value:e.label,label:"#"+e.label,checked:e.checked},on:{change:function(n){t.applyFilter(n,e.label)}}})})),t._v(" "),n("button",{staticClass:"filter-tag is-link accordion__tag-reset",attrs:{disabled:t.disabledFilter},on:{click:t.resetFilter}},[n("span",{staticClass:"filter-tag__label"},[t._v(t._s(t.i18n.resetLabel))])])],2):t._e(),t._v(" "),t._t("default",(function(){return t._l(t.filteredItems,(function(e,i){return n("accordion-item",{key:i,attrs:{item:e,large:t.large,index:i,"is-client":t.hasTagsEnabled},on:{toggle:function(){return t.toggleItem(e.index)}}})}))}))],2)};i._withStripped=!0;var r=n(57),a=n.n(r),s=n(75),o=n.n(s),l=n(76),c=n.n(l),u=n(77),d=n.n(u),h=n(59),p=(n(20),n(24),n(17)),f=n.n(p),m=n(34),g=n.n(m),v=n(50),_=n.n(v),y=n(105),b=n.n(y),x=n(268),w=n(269);function M(t,e){var n=a()(t);if(o.a){var i=o()(t);e&&(i=g()(i).call(i,(function(e){return c()(t,e).enumerable}))),n.push.apply(n,i)}return n}function S(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){Object(h.a)(t,e,n[e])})):d.a?Object.defineProperties(t,d()(n)):M(Object(n)).forEach((function(e){Object.defineProperty(t,e,c()(n,e))}))}return t}var T={name:"VueAccordion",components:{AccordionItem:x.a,FilterTag:w.a},props:{large:{type:Boolean,default:!1},items:{type:Array,default:function(){return[]}},i18n:{type:Object,default:function(){return{resetLabel:"Zurücksetzen"}}},hasTagsEnabled:{type:Boolean,default:!1}},data:function(){return{tags:[],clientItems:[]}},computed:{filteredTags:function(){var t,e=[];return f()(t=this.tags).call(t,(function(t){t.checked&&e.push(t.label)})),e},filteredItems:function(){var t,e=this;return this.hasTagsEnabled?!this.tags.length||this.tags.length&&!this.filteredTags.length?this.clientItems:g()(t=this.clientItems).call(t,(function(t){return e.filteredTags.some((function(e){var n,i;return t.tags&&t.tags.length&&_()(n=f()(i=t.tags).call(i,(function(t){return t.toLowerCase()}))).call(n,e.toLowerCase())}))})):this.items},disabledFilter:function(){var t=this;return!this.clientItems.some((function(e,n){return e.active!==!!t.items[n].active}))&&!this.filteredTags.length}},mounted:function(){this.hasTagsEnabled&&(this.createTags(),this.createClientItems())},methods:{createClientItems:function(){var t;this.clientItems=f()(t=this.items).call(t,(function(t,e){return S(S({active:!1},t),{},{index:e})}))},createTags:function(){var t,e=[];f()(t=this.items).call(t,(function(t){var n;return t.tags&&t.tags.length&&f()(n=t.tags).call(n,(function(t){return!e.some((function(e){return e.label.toLowerCase()===t.toLowerCase()}))&&e.push({label:t,checked:!1})}))})),this.tags=e},resetFilter:function(){this.createClientItems(),this.tags.forEac
vendor: 11,385 bytes, line 124
124h((function(t){return t.checked=!1}))},applyFilter:function(t,e){var n;b()(n=this.tags).call(n,(function(t){return t.label.toLowerCase()===e.toLowerCase()})).checked=t},toggleItem:function(t){this.clientItems[t].active=!this.clientItems[t].active}}},A=n(4),L=Object(A.a)(T,i,[],!1,null,null,null);L.options.__file="src/assets/toolkit/scripts/components/accordion/accordion.vue";e.a=L.exports},function(t,e,n){t.exports=n(1212)},function(t,e,n){var i=n(46),r=n(25);t.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e,n){var i=n(22),r=n(54),a=n(72),s=n(293).indexOf,o=n(192),l=i([].push);t.exports=function(t,e){var n,i=a(t),c=0,u=[];for(n in i)!r(o,n)&&r(i,n)&&l(u,n);for(;e.length>c;)r(i,n=e[c++])&&(~s(u,n)||l(u,n));return u}},function(t,e,n){var i=n(72),r=n(184),a=n(87),s=function(t){return function(e,n,s){var o,l=i(e),c=a(l),u=r(s,c);if(t&&n!=n){for(;c>u;)if((o=l[u++])!=o)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},function(t,e,n){var i=n(170),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(10),r=n(9),a=n(12),s=TypeError;t.exports=function(t,e){var n,o;if("string"===e&&r(n=t.toString)&&!a(o=i(n,t)))return o;if(r(n=t.valueOf)&&!a(o=i(n,t)))return o;if("string"!==e&&r(n=t.toString)&&!a(o=i(n,t)))return o;throw s("Can't convert object to primitive value")}},function(t,e,n){var i=n(6),r=n(9),a=n(172),s=i.WeakMap;t.exports=r(s)&&/native code/.test(a(s))},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?i:n)(e)}},function(t,e,n){var i=n(27);t.exports=i("document","documentElement")},function(t,e,n){var i=n(3),r=n(26),a=Math.floor,s=i("".charAt),o=i("".replace),l=i("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,i,d,h){var p=n+t.length,f=i.length,m=u;return void 0!==d&&(d=r(d),m=c),o(h,m,(function(r,o){var c;switch(s(o,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,n);case"'":return l(e,p);case"<":c=d[l(o,1,-1)];break;default:var u=+o;if(0===u)return r;if(u>f){var h=a(u/10);return 0===h?r:h<=f?void 0===i[h-1]?s(o,1):i[h-1]+s(o,1):r}c=i[u-1]}return void 0===c?"":c}))}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var i=n(171)("span").classList,r=i&&i.constructor&&i.constructor.prototype;t.exports=r===Object.prototype?void 0:r},function(t,e,n){"use strict";var i=n(49).forEach,r=n(96)("forEach");t.exports=r?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var i=n(56),r=n(52),a=n(101).f,s=n(176),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return o&&"Window"==i(t)?function(t){try{return a(t)}catch(t){return s(o)}}(t):a(r(t))}},function(t,e,n){var i=n(9),r=String,a=TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw a("Can't set "+r(t)+" as a prototype")}},function(t,e,n){var i=n(21).f;t.exports=function(t,e,n){n in t||i(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},function(t,e,n){var i=n(2),r=n(67);t.exports=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},function(t,e,n){var i=n(2);t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var i=n(11),r=n(202),a=i("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||s[a]===t)}},function(t,e){var n=TypeError;t.exports=function(t){if(t>9007199254740991)throw n("Maximum allowed index exceeded");return t}},function(t,e,n){"use strict";var i=n(116),r=TypeError;t.exports=function(t,e){if(!delete t[e])throw r("Cannot delete property "+i(e)+" of "+i(t))}},function(t,e,n){"use strict";var i=n(26),r=n(95),a=n(31);t.exports=function(t){for(var e=i(this),n=a(e),s=arguments.length,o=r(s>1?arguments[1]:void 0,n),l=s>2?arguments[2]:void 0,c=void 0===l?n:r(l,n);c>o;)e[o++]=t;return e}},function(t,e,n){"use strict";var i=n(0),r=n(10),a=n(36),s=n(132),o=n(9),l=n(313),c=n(82),u=n(91),d=n(78),h=n(44),p=n(28),f=n(11),m=n(202),g=n(391),v=s.PROPER,_=s.CONFIGURABLE,y=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,x=f("iterator"),w=function(){return this};t.exports=function(t,e,n,s,f,g,M){l(n,e,s);var S,T,A,L=function(t){if(t===f&&k)return k;if(!b&&t in I)return I[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},E=e+" Iterator",C=!1,I=t.prototype,D=I[x]||I["@@iterator"]||f&&I[f],k=!b&&D||L(f),O="Array"==e&&I.entries||D;if(O&&(S=c(O.call(new t)))!==Object.prototype&&S.next&&(a||c(S)===y||(u?u(S,y):o(S[x])||p(S,x,w)),d(S,E,!0,!0),a&&(m[E]=w)),v&&"values"==f&&D&&"values"!==D.name&&(!a&&_?h(I,"name","values"):(C=!0,k=function(){return r(D,this)})),f)if(T={values:L("values"),keys:g?k:L("keys"),entries:L("entries")},M)for(A in T)(b||C||!(A in I))&&p(I,A,T[A]);else i({target:e,proto:!0,forced:b||C},T);return a&&!M||I[x]===k||p(I,x,k,{name:f}),m[e]=k,T}},function(t,e,n){"use strict";var i=n(391).IteratorPrototype,r=n(68),a=n(67),s=n(78),o=n(202),l=function(){return this};t.exports=function(t,e,n,c){var u=e+" Iterator";return t.prototype=r(i,{next:a(+!c,n)}),s(t,u,!1,!0),o[u]=l,t}},function(t,e,n){var i=n(176),r=Math.floor,a=function(t,e){var n=t.length,l=r(n/2);return n<8?s(t,e):o(t,a(i(t,0,l),e),a(i(t,l),e),e)},s=function(t,e){for(var n,i,r=t.length,a=1;a<r;){for(i=a,n=t[a];i&&e(t[i-1],n)>0;)t[i]=t[--i];i!==a++&&(t[i]=n)}return t},o=function(t,e,n,i){for(var r=e.length,a=n.length,s=0,o=0;s<r||o<a;)t[s+o]=s<r&&o<a?i(e[s],n[o])<=0?e[s++]:n[o++]:s<r?e[s++]:n[o++];return t};t.exports=a},function(t,e,n){var i=n(100).match(/AppleWebKit\/(\d+)\./);t.exports=!!i&&+i[1]},function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,e,n){var i=n(3),r=n(61),a=n(14),s=n(245),o=n(33),l=i(s),c=i("".slice),u=Math.ceil,d=function(t){return function(e,n,i){var s,d,h=a(o(e)),p=r(n),f=h.length,m=void 0===i?" ":a(i);return p<=f||""==m?h:((d=l(m,u((s=p-f)/m.length))).length>s&&(d=c(d,0,s)),t?h+d:d+h)}};t.exports={start:d(!1),end:d(!0)}},function(t,e,n){var i=n(2);t.exports=i((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},function(t,e){t.exports=Math.sign||function(t){var e=+t;return 0==e||e!=e?e:e<0?-1:1}},function(t,e,n){var i=n(12),r=Math.floor;t.exports=Number.isInteger||function(t){return!i(t)&&isFinite(t)&&r(t)===t}},function(t,e,n){var i=n(158),r=TypeError;t.exports=function(t){if(i(t))throw r("The method doesn't accept regular expressions");return t}},function(t,e,n){var i=n(11)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){var i=n(132).PROPER,r=n(2),a=n(208);t.exports=function(t){return r((function(){return!!a[t]()||"​…᠎"!=="​…᠎"[t]()||i&&a[t].name!==t}))}},function(t,e,n){var i=n(6),r=n(2),a=n(242),s=n(23).NATIVE_ARRAY_BUFFER_VIEWS,o=i.ArrayBuffer,l=i.Int8Array;t.exports=!s||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!a((function(t){new l,new l(null),new l(1.5),new l(t)}),!0)||r((function(){return 1!==new l(new o(2),1,void 0).length}))},function(t,e){var n=TypeError;t.exports=function(t){if(t>9007199254740991)throw n("Maximum allowed index exceeded");return t}},function(t,e,n){var i=n(54),r=n(30),a=n(80),s=n(253),o=n(467),l=s("IE_PROTO"),c=Object,u=c.prototype;t.exports=o?c.getPrototypeOf:function(t){var e=a(t);if(i(e,l))return e[l];var n=e.constructor;return r(n)&&e instanceof n?n.prototype:e instanceof c?u:null}},function(t,e,n){var i=n(292),r=n(235).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){"use strict";var i=n(764).charAt,r=n(125),a=n(256),s=n(432),o=a.set,l=a.getterFor("String Iterator");s(String,"String",(function(t){o(this,{type:"String Iterator",string:r(t),index:0})}),(function(){var t,e=l(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var i=n(826),r=n(477),a=n(259);t.exports=function(t){return a(t)?i(t):r(t)}},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){var i=n(152)(n(108),"Map");t.exports=i},function(t,e,n){var i=n(848),r=n(855),a=n(857),s=n(858),o=n(859);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=s,l.prototype.set=o,t.exports=l},function(t,e,n){var i=n(93),r=n(264),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!r(t))||(s.test(t)||!a.test(t)||null!=e&&t in Object(e))}},function(t,e,n){t.exports=n(895)},function(t,e,n){t.exports=n(901)},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n(364),r=n.n(i),a=n(339),s=n.n(a),o=n(272);function l(t,e){var n;if(t){if("string"==typeof t)return Object(o.a)(t,e);var i=r()(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?s()(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Object(o.a)(t,e):void 0}}},function(t,e,n){t.exports=n(906)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(1),r=n(19),a=n(43),s=n(270),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.shake=function(t){this.foundation.shake(t)},e.prototype.float=function(t){this.foundation.float(t)},e.prototype.setRequired=function(t){this.foundation.setRequired(t)},e.prototype.getWidth=function(){return this.foundation.getWidth()},e.prototype.getDefaultFoundation=function(){var t=this,e={addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},getWidth:function(){return Object(a.b)(t.root)},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)}};return new s.a(e)},e}(r.a)},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mdc-text-field-wrapper",attrs:{id:t.id}}
124,[n("filled"===t.variant&&t.label?"div":"label",{tag:"component",class:["mdc-text-field","mdc-text-field--"+t.variant,t.modifier,{"mdc-text-field--disabled":t.disabled,"mdc-text-field--no-label":!t.label,"mdc-text-field--has-trailing-icon":t.trailingIcon}]},["filled"===t.variant&&t.label?n("label",{staticClass:"mdc-floating-label",class:{"mdc-floating-label--float-above":t.value}},[t._v("\n      "+t._s(t.label)+"\n    ")]):t._e(),t._v(" "),t.leadingIcon?n("i",{class:["icon","icon-"+t.leadingIcon,"mdc-text-field__icon mdc-text-field__icon--leading"]}):t._e(),t._v(" "),n("input",{staticClass:"mdc-text-field__input",attrs:{type:t.type,name:t.name,disabled:t.disabled,required:t.required,min:t.min,max:t.max,minlength:t.minlength,maxlength:t.maxlength,pattern:t.pattern,placeholder:t.placeholder,step:t.step},domProps:{value:t.value},on:{input:t.update,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("enter")}}}),t._v(" "),n("transition",{attrs:{name:"fade"}},[t.trailingIcon?n("i",{class:["icon","icon-"+t.trailingIcon,"mdc-text-field__icon mdc-text-field__icon--trailing"],attrs:{tabindex:"0",role:"button"},on:{click:function(e){return t.$emit("trailing-icon-click")}}}):t._e()]),t._v(" "),"filled"===t.variant?n("span",{staticClass:"mdc-line-ripple"}):t._e(),t._v(" "),"outlined"===t.variant?n("div",{staticClass:"mdc-notched-outline"},[n("div",{staticClass:"mdc-notched-outline__leading"}),t._v(" "),t.label?n("div",{staticClass:"mdc-notched-outline__notch"},[n("label",{staticClass:"mdc-floating-label",class:{"mdc-floating-label--float-above":t.value}},[t._v("\n          "+t._s(t.label)+"\n        ")])]):t._e(),t._v(" "),n("div",{staticClass:"mdc-notched-outline__trailing"})]):t._e()],1),t._v(" "),t.hideValidation?t._e():n("div",{staticClass:"mdc-text-field-helper-line"},[n("div",{staticClass:"mdc-text-field-helper-text mdc-text-field-helper-text--validation-msg",attrs:{"aria-hidden":"true"}})])],1)};i._withStripped=!0;n(92);var r={name:"VueTextField",props:{id:{type:String,default:null},modifier:{type:String,default:""},variant:{type:String,default:"outlined"},label:{type:String,default:null},type:{type:String,default:"text"},leadingIcon:{type:String,default:null},trailingIcon:{type:String,default:null},placeholder:{type:String,default:null},name:{type:String,default:null},disabled:Boolean,required:Boolean,hideValidation:Boolean,min:{type:Number,default:null},max:{type:Number,default:null},minlength:{type:Number,default:null},maxlength:{type:Number,default:null},pattern:{type:String,default:null},step:{type:Number,default:null},value:{type:String,default:""}},methods:{update:function(t){this.$emit("input",t.target.value)}}},a=n(4),s=Object(a.a)(r,i,[],!1,null,null,null);s.options.__file="src/assets/toolkit/scripts/atoms/text-field.vue";e.a=s.exports},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("picture",{class:t.block},[n("source",{attrs:{media:t.maxWidth,"data-srcset":t.small||"https://picsum.photos/1248/702?random=2",srcset:t.small||"https://picsum.photos/1248/702?random=2"}}),t._v(" "),n("source",{attrs:{media:t.minWidth,"data-srcset":t.large||"https://picsum.photos/1248/702?random=2",srcset:t.large||"https://picsum.photos/1248/702?random=2"}}),t._v(" "),n("img",{class:{"blur-up lazyload":!t.notlazy},attrs:{"data-src":t.large||"https://picsum.photos/1248/702?random=2",src:t.imgSrc,alt:t.alt||"Beispielbild",title:t.title}})])};i._withStripped=!0;var r=n(85),a={name:"VuePicture",props:{block:{type:String,default:""},notlazy:{type:Boolean,default:!1},breakpoint:{type:String,default:"md"},thumb:{type:String,default:""},small:{type:String,default:""},large:{type:String,default:""},alt:{type:String,default:""},title:{type:String,default:""}},computed:{imgSrc:function(){return this.notlazy?this.large:this.thumb},maxWidth:function(){return"(max-width:"+(r.a[this.breakpoint]-1)+"px)"},minWidth:function(){return"(min-width:"+r.a[this.breakpoint]+"px)"}}},s=n(4),o=Object(s.a)(a,i,[],!1,null,null,null);o.options.__file="src/assets/toolkit/scripts/atoms/picture.vue";e.a=o.exports},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;
124return n("div",{staticClass:"regional-adviser-item",class:{"is-active":t.active}},[n("div",{staticClass:"regional-adviser-item__portrait"},[t.adviser.portrait?n("lazy-image",{attrs:{img:t.adviser.portrait,alt:t.adviser.fullname}}):t._e()],1),t._v(" "),n("div",{staticClass:"regional-adviser-item__body"},[n("div",{staticClass:"regional-adviser-item__info"},[n("div",{staticClass:"regional-adviser-item__name"},[t._v(t._s(t.adviser.fullname))]),t._v(" "),n("div",{staticClass:"regional-adviser-item__region"},[t._v(t._s(t.adviser.region))])]),t._v(" "),n("div",{staticClass:"regional-adviser-item__contact"},[t.adviser.phone?n("div",{staticClass:"regional-adviser-item__link"},[n("a",{attrs:{href:"tel:"+t.adviser.phone}},[n("i",{staticClass:"icon icon-phone",attrs:{title:t.i18n("location.contact.phone")}}),t._v(" "),n("span",[t._v(t._s(t.adviser.phone))])])]):t._e(),t._v(" "),t.adviser.mobile?n("div",{staticClass:"regional-adviser-item__link"},[n("a",{attrs:{href:"tel:"+t.adviser.mobile}},[n("i",{staticClass:"icon icon-phone-mobile",attrs:{title:t.i18n("location.contact.mobile")}}),t._v(" "),n("span",[t._v(t._s(t.adviser.mobile))])])]):t._e(),t._v(" "),t.adviser.fax?n("div",{staticClass:"regional-adviser-item__link"},[n("a",{attrs:{href:"tel:"+t.adviser.fax}},[n("i",{staticClass:"icon icon-fax",attrs:{title:t.i18n("location.contact.fax")}}),t._v(" "),n("span",[t._v(t._s(t.adviser.fax))])])]):t._e(),t._v(" "),t.email?n("div",{staticClass:"regional-adviser-item__link"},[n("e-mail",{attrs:{"local-part":t.emailParts.local,"domain-part":t.emailParts.domain,icon:"mail",label:t.i18n("email.contact"),title:t.i18n("location.contact.email")}})],1):t._e()])])])};i._withStripped=!0;var r=n(135),a=n(83),s=n(215),o={name:"RegionalAdviserItem",components:{EMail:r.a,LazyImage:a.a},mixins:[s.a],props:{active:Boolean,adviser:{type:Object,default:function(){return{}}},i18n:{type:Function,default:function(){}}},computed:{email:function(){return this.adviser.email}}},l=n(4),c=Object(l.a)(o,i,[],!1,null,null,null);c.options.__file="src/assets/toolkit/scripts/components/regional-adviser/regional-adviser-item.vue";e.a=c.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n(1),r=n(19),a=n(16),s={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},o=function(t){function e(n){var r=t.call(this,Object(i.a)(Object(i.a)({},e.defaultAdapter),n))||this;return r.transitionEndHandler=function(t){r.handleTransitionEnd(t)},r}return Object(i.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(s.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(s.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(t){this.adapter.setStyle("transform-origin",t+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(s.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(t){var e=this.adapter.hasClass(s.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter.removeClass(s.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(s.LINE_RIPPLE_DEACTIVATING))},e}(a.a),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.activate=function(){this.foundation.activate()},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.setRippleCenter=function(t){this.foundation.setRippleCenter(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new o({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},setStyle:function(e,n){return t.root.style.setProperty(e,n)},registerEventHandler:function(e,n){return t.listen(e,n)},deregisterEventHandler:function(e,n){return t.unlisten(e,n)}})},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n(1),r=n(19),a=n(270),s={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},o={NOTCH_ELEMENT_PADDING:8},l={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",O
124UTLINE_UPGRADED:"mdc-notched-outline--upgraded"},c=function(t){function e(n){return t.call(this,Object(i.a)(Object(i.a)({},e.defaultAdapter),n))||this}return Object(i.b)(e,t),Object.defineProperty(e,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.notch=function(t){var n=e.cssClasses.OUTLINE_NOTCHED;t>0&&(t+=o.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(t),this.adapter.addClass(n)},e.prototype.closeNotch=function(){var t=e.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(t),this.adapter.removeNotchWidthProperty()},e}(n(16).a),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){this.notchElement=this.root.querySelector(s.NOTCH_ELEMENT_SELECTOR);var t=this.root.querySelector("."+a.a.cssClasses.ROOT);t?(t.style.transitionDuration="0s",this.root.classList.add(l.OUTLINE_UPGRADED),requestAnimationFrame((function(){t.style.transitionDuration=""}))):this.root.classList.add(l.NO_LABEL)},e.prototype.notch=function(t){this.foundation.notch(t)},e.prototype.closeNotch=function(){this.foundation.closeNotch()},e.prototype.getDefaultFoundation=function(){var t=this;return new c({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},setNotchWidthProperty:function(e){t.notchElement.style.setProperty("width",e+"px")},removeNotchWidthProperty:function(){t.notchElement.style.removeProperty("width")}})},e}(r.a)},function(t,e,n){var i=n(18),r=n(66),a=n(190),s=n(51),o=n(22),l=n(25),c=n(120),u=n(30),d=n(55),h=n(167),p=n(234),f=n(117),m=r("JSON","stringify"),g=o(/./.exec),v=o("".charAt),_=o("".charCodeAt),y=o("".replace),b=o(1..toString),x=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,M=/^[\uDC00-\uDFFF]$/,S=!f||l((function(){var t=r("Symbol")();return"[null]"!=m([t])||"{}"!=m({a:t})||"{}"!=m(Object(t))})),T=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),A=function(t,e){var n=p(arguments),i=e;if((d(e)||void 0!==t)&&!h(t))return c(e)||(e=function(t,e){if(u(i)&&(e=s(i,this,t,e)),!h(e))return e}),n[1]=e,a(m,null,n)},L=function(t,e,n){var i=v(n,e-1),r=v(n,e+1);return g(w,t)&&!g(M,r)||g(M,t)&&!g(w,i)?"\\u"+b(_(t,0),16):t};m&&i({target:"JSON",stat:!0,arity:3,forced:S||T},{stringify:function(t,e,n){var i=p(arguments),r=a(S?A:m,null,i);return T&&"string"==typeof r?y(r,x,L):r}})},function(t,e,n){var i=n(25),r=n(30),a=/#|\.prototype\./,s=function(t,e){var n=l[o(t)];return n==u||n!=c&&(r(e)?i(e):!!e)},o=s.normalize=function(t){return String(t).replace(a,".").toLowerCase()},l=s.data={},c=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},function(t,e,n){"use strict";var i=n(200).charAt,r=n(14),a=n(41),s=n(312),o=a.set,l=a.getterFor("String Iterator");s(String,"String",(function(t){o(this,{type:"String Iterator",string:r(t),index:0})}),(function(){var t,e=l(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var i=n(10),r=n(187),a=n(8),s=n(61),o=n(14),l=n(33),c=n(88),u=n(188),d=n(157);r("match",(function(t,e,n){return[function(e){var n=l(this),r=null==e?void 0:c(e,t);return r?i(r,e,n):new RegExp(e)[t](o(n))},function(t){var i=a(this),r=o(t),l=n(e,i,r);if(l.done)return l.value;if(!i.global)return d(i,r);var c=i.unicode;i.lastIndex=0;for(var h,p=[],f=0;null!==(h=d(i,r));){var m=o(h[0]);p[f]=m,""===m&&(i.lastIndex=u(r,s(i.lastIndex),c)),f++}return 0===f?null:p}]}))},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("small")},{small:function(){return r(this,"small","","")}})},function(t,e,n){var i=n(426);t.exports=i},function(t,e,n){var i=n(22),r=n(81),a=n(760);
vendor: 5,995 bytes, line 124
124t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),a(i),e?t(n,i):n.__proto__=i,n}}():void 0)},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){var i=n(35);t.exports=i.Promise},function(t,e,n){var i=n(29);e.f=i},function(t,e,n){var i=n(815);t.exports=function(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var i=n(444),r=n(835)(i);t.exports=r},function(t,e,n){var i=n(828),r=n(214),a=Object.prototype,s=a.hasOwnProperty,o=a.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(t){return r(t)&&s.call(t,"callee")&&!o.call(t,"callee")};t.exports=l},function(t,e,n){(function(t){var i=n(108),r=n(829),a=e&&!e.nodeType&&e,s=a&&"object"==typeof t&&t&&!t.nodeType&&t,o=s&&s.exports===a?i.Buffer:void 0,l=(o?o.isBuffer:void 0)||r;t.exports=l}).call(this,n(360)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){var i=n(830),r=n(831),a=n(832),s=a&&a.isTypedArray,o=s?r(s):i;t.exports=o},function(t,e){t.exports=function(t,e,n){return t instanceof HTMLCollection||t instanceof NodeList||t instanceof Array?Array.prototype.forEach.call(t,e,n):e.call(n,t)}},function(t,e,n){"use strict";var i=n(126);function r(t,e,n,i,r){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}i.inherits(r,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var a=r.prototype,s={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(t){s[t]={value:t}})),Object.defineProperties(r,s),Object.defineProperty(a,"isAxiosError",{value:!0}),r.from=function(t,e,n,s,o,l){var c=Object.create(a);return i.toFlatObject(t,c,(function(t){return t!==Error.prototype})),r.call(c,t.message,e,n,s,o),c.name=t.name,l&&Object.assign(c,l),c},t.exports=r},function(t,e,n){t.exports=n(805)},function(t,e,n){t.exports=n(951)},function(t,e,n){var i=n(189),r=n(1247),a=n(487),s=Math.max,o=Math.min;t.exports=function(t,e,n){var l,c,u,d,h,p,f=0,m=!1,g=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function _(e){var n=l,i=c;return l=c=void 0,f=e,d=t.apply(i,n)}function y(t){return f=t,h=setTimeout(x,e),m?_(t):d}function b(t){var n=t-p;return void 0===p||n>=e||n<0||g&&t-f>=u}function x(){var t=r();if(b(t))return w(t);h=setTimeout(x,function(t){var n=e-(t-p);return g?o(n,u-(t-f)):n}(t))}function w(t){return h=void 0,v&&l?_(t):(l=c=void 0,d)}function M(){var t=r(),n=b(t);if(l=arguments,c=this,p=t,n){if(void 0===h)return y(p);if(g)return clearTimeout(h),h=setTimeout(x,e),_(p)}return void 0===h&&(h=setTimeout(x,e)),d}return e=a(e)||0,i(n)&&(m=!!n.leading,u=(g="maxWait"in n)?s(a(n.maxWait)||0,e):u,v="trailing"in n?!!n.trailing:v),M.cancel=function(){void 0!==h&&clearTimeout(h),f=0,l=p=c=h=void 0},M.flush=function(){return void 0===h?d:w(r())},M}},function(t,e,n){t.exports=n(1258)},function(t,e,n){var i=n(443)((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));t.exports=i},function(t,e,n){var i=n(477),r=n(480),a=n(358),s=n(93),o=n(259),l=n(359),c=n(478),u=n(361),d=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(o(t)&&(s(t)||"string"==typeof t||"function"==typeof t.splice||l(t)||u(t)||a(t)))return!t.length;var e=r(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(c(t))return!i(t).length;for(var n in t)if(d.call(t,n))return!1;return!0}},function(t,e,n){var i=n(51),r=n(55),a=n(167),s=n(232),o=n(371),l=n(29),c=TypeError,u=l("toPrimitive");t.exports=function(t,e){if(!r(t)||a(t))return t;var n,l=s(t,u);if(l){if(void 0===e&&(e="default"),n=i(l,t,e),!r(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},function(t,e,n){var i=n(51),r=n(30),a=n(55),s=TypeError;t.exports=function(t,e){var n,o;if("string"===e&&r(n=t.toString)&&!a(o=i(n,t)))return o;if(r(n=t.valueOf)&&!a(o=i(n,t)))return o;if("string"!==e&&r(n=t.toString)&&!a(o=i(n,t)))return o;throw s("Can't convert object to primitive value")}},function(t,e,n){var i=n(35),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},function(t,e,n){var i=n(374);t.exports=i},function(t,e,n){n(375);var i=n(38);t.exports=i.Object.keys},function(t,e,n){var i=n(18),r=n(80),a=n(183);i({target:"Object",stat:!0,forced:n(25)((function(){a(1)}))},{keys:function(t){return a(r(t))}})},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?i:n)(e)}},function(t,e,n){"use strict";var i=n(199),r=n(89);t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},function(t,e,n){var i=n(123),r=n(133),a=n(12),s=n(11)("species"),o=Array;t.exports=function(t){var e;return i(t)&&(e=t.constructor,(r(e)&&(e===o||i(e.prototype))||a(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?o:e}},function(t,e,n){var i=n(11);e.f=i},function(t,e,n){var i=n(6);t.exports=i},function(t,e,n){var i=n(10),r=n(27),a=n(11),s=n(28);t.exports=function(){var t=r("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,o=a("toPrimitive");e&&!e[o]&&s(e,o,(function(t){return i(n,this)}),{arity:1}
vendor: 4,501 bytes, line 124
124)}},function(t,e,n){var i=n(130);t.exports=i&&!!Symbol.for&&!!Symbol.keyFor},function(t,e,n){var i=n(0),r=n(27),a=n(73),s=n(10),o=n(3),l=n(2),c=n(123),u=n(9),d=n(12),h=n(109),p=n(144),f=n(130),m=r("JSON","stringify"),g=o(/./.exec),v=o("".charAt),_=o("".charCodeAt),y=o("".replace),b=o(1..toString),x=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,M=/^[\uDC00-\uDFFF]$/,S=!f||l((function(){var t=r("Symbol")();return"[null]"!=m([t])||"{}"!=m({a:t})||"{}"!=m(Object(t))})),T=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),A=function(t,e){var n=p(arguments),i=e;if((d(e)||void 0!==t)&&!h(t))return c(e)||(e=function(t,e){if(u(i)&&(e=s(i,this,t,e)),!h(e))return e}),n[1]=e,a(m,null,n)},L=function(t,e,n){var i=v(n,e-1),r=v(n,e+1);return g(w,t)&&!g(M,r)||g(M,t)&&!g(w,i)?"\\u"+b(_(t,0),16):t};m&&i({target:"JSON",stat:!0,arity:3,forced:S||T},{stringify:function(t,e,n){var i=p(arguments),r=a(S?A:m,null,i);return T&&"string"==typeof r?y(r,x,L):r}})},function(t,e,n){"use strict";var i=n(27),r=n(13),a=n(44),s=n(64),o=n(91),l=n(196),c=n(305),u=n(134),d=n(201),h=n(385),p=n(240),f=n(306),m=n(7),g=n(36);t.exports=function(t,e,n,v){var _=v?2:1,y=t.split("."),b=y[y.length-1],x=i.apply(null,y);if(x){var w=x.prototype;if(!g&&r(w,"cause")&&delete w.cause,!n)return x;var M=i("Error"),S=e((function(t,e){var n=d(v?e:t,void 0),i=v?new x(t):new x;return void 0!==n&&a(i,"message",n),f&&a(i,"stack",p(i.stack,2)),this&&s(w,this)&&u(i,this,S),arguments.length>_&&h(i,arguments[_]),i}));if(S.prototype=w,"Error"!==b?o?o(S,M):l(S,M,{name:!0}):m&&"stackTraceLimit"in x&&(c(S,x,"stackTraceLimit"),c(S,x,"prepareStackTrace")),l(S,x),!g)try{w.name!==b&&a(w,"name",b),w.constructor=S}catch(t){}return S}}},function(t,e,n){var i=n(12),r=n(44);t.exports=function(t,e){i(e)&&"cause"in e&&r(t,"cause",e.cause)}},function(t,e,n){"use strict";var i=n(7),r=n(2),a=n(8),s=n(68),o=n(201),l=Error.prototype.toString,c=r((function(){if(i){var t=s(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==l.call(t))return!0}return"2: 1"!==l.call({message:1,name:2})||"Error"!==l.call({})}));t.exports=c?function(){var t=a(this),e=o(t.name,"Error"),n=o(t.message);return e?n?e+": "+n:e:n}:l},function(t,e,n){var i=n(10),r=n(8),a=n(88);t.exports=function(t,e,n){var s,o;r(t);try{if(!(s=a(t,"return"))){if("throw"===e)throw n;return n}s=i(s,t)}catch(t){o=!0,s=t}if("throw"===e)throw n;if(o)throw s;return r(s),n}},function(t,e,n){"use strict";var i=n(26),r=n(95),a=n(31),s=n(310),o=Math.min;t.exports=[].copyWithin||function(t,e){var n=i(this),l=a(n),c=r(t,l),u=r(e,l),d=arguments.length>2?arguments[2]:void 0,h=o((void 0===d?l:r(d,l))-u,l-c),p=1;for(u<c&&c<u+h&&(p=-1,u+=h-1,c+=h-1);h-- >0;)u in n?n[c]=n[u]:s(n,c),c+=p,u+=p;return n}},function(t,e,n){"use strict";var i=n(123),r=n(31),a=n(309),s=n(90),o=function(t,e,n,l,c,u,d,h){for(var p,f,m=c,g=0,v=!!d&&s(d,h);g<l;)g in n&&(p=v?v(n[g],g,e):n[g],u>0&&i(p)?(f=r(p),m=o(t,e,p,f,m,u-1)-1):(a(m+1),t[m]=p),m++),g++;return m};t.exports=o},function(t,e,n){"use strict";var i=n(90),r=n(10),a=n(26),s=n(531),o=n(308),l=n(133),c=n(31),u=n(102),d=n(241),h=n(203),p=Array;t.exports=function(t){var e=a(t),n=l(this),f=arguments.length,m=f>1?arguments[1]:void 0,g=void 0!==m;g&&(m=i(m,f>2?arguments[2]:void 0));var v,_,y,b,x,w,M=h(e),S=0;if(!M||this===p&&o(M))for(v=c(e),_=n?new this(v):p(v);v>S;S++)w=g?m(e[S],S):e[S],u(_,S,w);else for(x=(b=d(e,M)).next,_=n?new this:[];!(y=r(x,b)).done;S++)w=g?s(b,m,[y.value,S],!0):y.value,u(_,S,w);return _.length=S,_}},function(t,e,n){"use strict";var i,r,a,s=n(2),o=n(9),l=n(68),c=n(82),u=n(28),d=n(11),h=n(36),p=d("iterator"),f=!1;[].keys&&("next"in(a=[].keys())?(r=c(c(a)))!==Object.prototype&&(i=r):f=!0),null==i||s((function(){var t={};return i[p].call(t)!==t}))?i={}:h&&(i=l(i)),o(i[p])||u(i,p,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},function(t,e,n){"use strict";var i=n(73),r=n(52),a=n(39),s=n(31),o=n(96),l=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,d=o("lastIndexOf"),h=u||!d;t.exports=h?function(t){if(u)return i(c,this,arguments)||0;var e=r(this),n=s(e),o=n-1;for(arguments.length>1&&(o=l(o,a(arguments[1]))),o<0&&(o=n+o);o>=0;o--)if(o in e&&e[o]===t)return o||0;return-1}:c},function(t,e,n){var i=n(100).match(/firefox\/(\d+)/i);t.exports=!!i&&+i[1]},function(t,e,n){var i=n(100);t.exports=/MSIE|Trident/.test(i)},function(t,e,n){var i=n(39),r=n(61),a=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=i(t),n=r(e);
vendor: 23,025 bytes, line 124
124if(e!==n)throw a("Wrong length or index");return n}},function(t,e,n){"use strict";var i=n(3),r=n(42),a=n(12),s=n(13),o=n(144),l=n(129),c=Function,u=i([].concat),d=i([].join),h={},p=function(t,e,n){if(!s(h,e)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";h[e]=c("C,a","return new C("+d(i,",")+")")}return h[e](t,n)};t.exports=l?c.bind:function(t){var e=r(this),n=e.prototype,i=o(arguments,1),s=function(){var n=u(i,o(arguments));return this instanceof s?p(e,n.length,n):e.apply(t,n)};return a(n)&&(s.prototype=n),s}},function(t,e,n){"use strict";var i=n(21).f,r=n(68),a=n(205),s=n(90),o=n(104),l=n(103),c=n(312),u=n(146),d=n(7),h=n(147).fastKey,p=n(41),f=p.set,m=p.getterFor;t.exports={getConstructor:function(t,e,n,c){var u=t((function(t,i){o(t,p),f(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),d||(t.size=0),null!=i&&l(i,t[c],{that:t,AS_ENTRIES:n})})),p=u.prototype,g=m(e),v=function(t,e,n){var i,r,a=g(t),s=_(t,e);return s?s.value=n:(a.last=s={index:r=h(e,!0),key:e,value:n,previous:i=a.last,next:void 0,removed:!1},a.first||(a.first=s),i&&(i.next=s),d?a.size++:t.size++,"F"!==r&&(a.index[r]=s)),t},_=function(t,e){var n,i=g(t),r=h(e);if("F"!==r)return i.index[r];for(n=i.first;n;n=n.next)if(n.key==e)return n};return a(p,{clear:function(){for(var t=g(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,d?t.size=0:this.size=0},delete:function(t){var e=g(this),n=_(this,t);if(n){var i=n.next,r=n.previous;delete e.index[n.index],n.removed=!0,r&&(r.next=i),i&&(i.previous=r),e.first==n&&(e.first=i),e.last==n&&(e.last=r),d?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=g(this),i=s(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(i(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!_(this,t)}}),a(p,n?{get:function(t){var e=_(this,t);return e&&e.value},set:function(t,e){return v(this,0===t?0:t,e)}}:{add:function(t){return v(this,t=0===t?0:t,t)}}),d&&i(p,"size",{get:function(){return g(this).size}}),u},setStrong:function(t,e,n){var i=e+" Iterator",r=m(e),a=m(i);c(t,e,(function(t,e){f(this,{type:i,target:t,state:r(t),kind:e,last:void 0})}),(function(){for(var t=a(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(e)}}},function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){var e=+t;return e>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},function(t,e){var n=Math.log,i=Math.LOG10E;t.exports=Math.log10||function(t){return n(t)*i}},function(t,e,n){var i=n(6),r=n(2),a=n(3),s=n(14),o=n(148).trim,l=n(208),c=a("".charAt),u=i.parseFloat,d=i.Symbol,h=d&&d.iterator,p=1/u(l+"-0")!=-1/0||h&&!r((function(){u(Object(h))}));t.exports=p?function(t){var e=o(s(t)),n=u(e);return 0===n&&"-"==c(e,0)?-0:n}:u},function(t,e,n){var i=n(6),r=n(2),a=n(3),s=n(14),o=n(148).trim,l=n(208),c=i.parseInt,u=i.Symbol,d=u&&u.iterator,h=/^[+-]?0x/i,p=a(h.exec),f=8!==c(l+"08")||22!==c(l+"0x16")||d&&!r((function(){c(Object(d))}));t.exports=f?function(t,e){var n=o(s(t));return c(n,e>>>0||(p(h,n)?16:10))}:c},function(t,e,n){"use strict";var i=n(7),r=n(3),a=n(10),s=n(2),o=n(175),l=n(198),c=n(193),u=n(26),d=n(139),h=Object.assign,p=Object.defineProperty,f=r([].concat);t.exports=!h||s((function(){if(i&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=h({},t)[n]||"abcdefghijklmnopqrst"!=o(h({},e)).join("")}))?function(t,e){for(var n=u(t),r=arguments.length,s=1,h=l.f,p=c.f;r>s;)for(var m,g=d(arguments[s++]),v=h?f(o(g),h(g)):o(g),_=v.length,y=0;_>y;)m=v[y++],i&&!a(p,g,m)||(n[m]=g[m]);return n}:h},function(t,e,n){var i=n(7),r=n(3),a=n(175),s=n(52),o=r(n(193).f),l=r([].push),c=function(t){return function(e){for(var n,r=s(e),c=a(r),u=c.length,d=0,h=[];u>d;)n=c[d++],i&&!o(r,n)||l(h,t?[n,r[n]]:r[n]);return h}};t.exports={entries:c(!0),values:c(!1)}},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var i=n(100);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},function(t,e,n){var i,r,a,s,o,l,c,u,d=n(6),h=n(90),p=n(48).f,f=n(250).set,m=n(405),g=n(629),v=n(630),_=n(145),y=d.MutationObserver||d.WebKitMutationObserver,b=d.document,x=d.process,w=d.Promise,M=p(d,"queueMicrotask"),S=M&&M.value;S||(i=function(){var t,e;for(_&&(t=x.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e()}catch(t){throw r?s():a=void 0,t}}a=void 0,t&&t.enter()},m||_||v||!y||!b?!g&&w&&w.resolve?((c=w.resolve(void 0)).constructor=w,u=h(c.then,c),s=function(){u(i)}):_?s=function(){x.nextTick(i)}:(f=h(f,d),s=function(){f(i)}):(o=!0,l=b.createTextNode(""),new y(i).observe(l,{characterData:!0}),s=function(){l.data=o=!o})),t.exports=S||function(t){var e={fn:t,next:void 0};a&&(a.next=e),r||(r=e,s()),a=e}},function(t,e,n){var i=n(178),r=n(242),a=n(210).CONSTRUCTOR;t.exports=a||!r((function(t){i.all(t).then(void 0,(function(){}))}))},function(t,e,n){var i=n(8),r=n(12),a=n(149);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=a.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var i=n(13);t.exports=function(t){return void 0!==t&&(i(t,"value")||i(t,"writable"))}},function(t,e,n){var i=n(100);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(i)},function(t,e,n){"use strict";var i=n(148).end,r=n(323);t.exports=r("trimEnd")?function(){return i(this)}:"".trimEnd},function(t,e,n){"use strict";var i=n(148).start,r=n(323);t.exports=r("trimStart")?function(){return i(this)}:"".trimStart},function(t,e,n){var i=n(693),r=RangeError;t.exports=function(t,e){var n=i(t);if(n%e)throw r("Wrong offset");return n}},function(t,e,n){var i=n(90),r=n(10),a=n(239),s=n(26),o=n(31),l=n(241),c=n(203),u=n(308),d=n(23).aTypedArrayConstructor;t.exports=function(t){var e,n,h,p,f,m,g=a(this),v=s(t),_=arguments.length,y=_>1?arguments[1]:void 0,b=void 0!==y,x=c(v);if(x&&!u(x))for(m=(f=l(v,x)).next,v=[];!(p=r(m,f)).done;)v.push(p.value);for(b&&_>2&&(y=i(y,arguments[2])),n=o(v),h=new(d(g))(n),e=0;n>e;e++)h[e]=b?y(v[e],e):v[e];return h}},function(t,e,n){"use strict";var i=n(3),r=n(205),a=n(147).getWeakData,s=n(8),o=n(12),l=n(104),c=n(103),u=n(49),d=n(13),h=n(41),p=h.set,f=h.getterFor,m=u.find,g=u.findIndex,v=i([].splice),_=0,y=function(t){return t.frozen||(t.frozen=new b)},b=function(){this.entries=[]},x=function(t,e){return m(t.entries,(function(t){return t[0]===e}))};b.prototype={get:function(t){var e=x(this,t);if(e)return e[1]},has:function(t){return!!x(this,t)},set:function(t,e){var n=x(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=g(this.entries,(function(e){return e[0]===t}));return~e&&v(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var u=t((function(t,r){l(t,h),p(t,{type:e,id:_++,frozen:void 0}),null!=r&&c(r,t[i],{that:t,AS_ENTRIES:n})})),h=u.prototype,m=f(e),g=function(t,e,n){var i=m(t),r=a(s(e),!0);return!0===r?y(i).set(e,n):r[i.id]=n,t};return r(h,{delete:function(t){var e=m(this);if(!o(t))return!1;var n=a(t);return!0===n?y(e).delete(t):n&&d(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!o(t))return!1;var n=a(t);return!0===n?y(e).has(t):n&&d(n,e.id)}}),r(h,n?{get:function(t){var e=m(this);if(o(t)){var n=a(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return g(this,t,e)}}:{add:function(t){return g(this,t,!0)}}),u}}},function(t,e){for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i={},r=0;r<66;r++)i[n.charAt(r)]=r;t.exports={itoc:n,ctoi:i}},function(t,e){t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},function(t,e,n){var i=n(6),r=n(73),a=n(9),s=n(100),o=n(144),l=n(124),c=/MSIE .\./.test(s),u=i.Function,d=function(t){return c?function(e,n){var i=l(arguments.length,1)>2,s=a(e)?e:u(e),c=i?o(arguments,2):void 0;return t(i?function(){r(s,this,c)}:s,n)}:t};t.exports={setTimeout:d(i.setTimeout),setInterval:d(i.setInterval)}},function(t,e,n){var i=n(2),r=n(11),a=n(36),s=r("iterator");t.exports=!i((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,i){e.delete("b"),n+=i+t})),a&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(t,e,n){"use strict";n(225);var i=n(0),r=n(6),a=n(10),s=n(3),o=n(7),l=n(419),c=n(28),u=n(205),d=n(78),h=n(313),p=n(41),f=n(104),m=n(9),g=n(13),v=n(90),_=n(89),y=n(8),b=n(12),x=n(14),w=n(68),M=n(67),S=n(241),T=n(203),A=n(124),L=n(11),E=n(314),C=L("iterator"),I=p.set,D=p.getterFor("URLSearchParams"),k=p.getterFor("URLSearchParamsIterator"),O=Object.getOwnPropertyDescriptor,R=function(t){if(!o)return r[t];var e=O(r,t);return e&&e.value},P=R("fetch"),N=R("Request"),Y=R("Headers"),F=N&&N.prototype,H=Y&&Y.prototype,j=r.RegExp,B=r.TypeError,z=r.decodeURIComponent,U=r.encodeURIComponent,V=s("".charAt),W=s([].join),G=s([].push),q=s("".replace),X=s([].shift),$=s([].splice),K=s("".split),J=s("".slice),Q=/\+/g,Z=Array(4),tt=function(t){return Z[t-1]||(Z[t-1]=j("((?:%[\\da-f]{2}){"+t+"})","gi"))},et=function(t){try{return z(t)}catch(e){return t}},nt=function(t){var e=q(t,Q," "),n=4;try{return z(e)}catch(t){for(;n;)e=q(e,tt(n--),et);return e}},it=/[!'()~]|%20/g,rt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},at=function(t){return rt[t]},st=function(t){return q(U(t),it,at)},ot=h((function(t,e){I(this,{type:"URLSearchParamsIterator",iterator:S(D(t).entries),kind:e})}),"Iterator",(function(){var t=k(this),e=t.kind,n=t.iterator.next(),i=n.value;return n.done||(n.value="keys"===e?i.key:"values"===e?i.value:[i.key,i.value]),n}),!0),lt=function(t){this.entries=[],this.url=null,void 0!==t&&(b(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===V(t,0)?J(t,1):t:x(t)))};lt.prototype={type:"URLSearchParams",bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,i,r,s,o,l,c=T(t);if(c)for(n=(e=S(t,c)).next;!(i=a(n,e)).done;){if(s=(r=S(y(i.value))).next,(o=a(s,r)).done||(l=a(s,r)).done||!a(s,r).done)throw B("Expected sequence with length 2");G(this.entries,{key:x(o.value),value:x(l.value)})}else for(var u in t)g(t,u)&&G(this.entries,{key:u,value:x(t[u])})},parseQuery:function(t){if(t)for(var e,n,i=K(t,"&"),r=0;r<i.length;)(e=i[r++]).length&&(n=K(e,"="),G(this.entries,{key:nt(X(n)),value:nt(W(n,"="))}))},serialize:function(){for(var t,e=this.entries,n=[],i=0;i<e.length;)t=e[i++],G(n,st(t.key)+"="+st(t.value));return W(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ct=function(){f(this,ut);var t=arguments.length>0?arguments[0]:void 0;I(this,new lt(t))},ut=ct.prototype;if(u(ut,{append:function(t,e){A(arguments.length,2);var n=D(this);G(n.entries,{key:x(t),value:x(e)}),n.updateURL()},delete:function(t){A(arguments.length,1);for(var e=D(this),n=e.entries,i=x(t),r=0;r<n.length;)n[r].key===i?$(n,r,1):r++;e.updateURL()},get:function(t){A(arguments.length,1);for(var e=D(this).entries,n=x(t),i=0;i<e.length;i++)if(e[i].key===n)return e[i].value;return null},getAll:function(t){A(arguments.length,1);for(var e=D(this).entries,n=x(t),i=[],r=0;r<e.length;r++)e[r].key===n&&G(i,e[r].value);return i},has:function(t){A(arguments.length,1);for(var e=D(this).entries,n=x(t),i=0;i<e.length;)if(e[i++].key===n)return!0;return!1},set:function(t,e){A(arguments.length,1);for(var n,i=D(this),r=i.entries,a=!1,s=x(t),o=x(e),l=0;l<r.length;l++)(n=r[l]).key===s&&(a?$(r,l--,1):(a=!0,n.value=o));a||G(r,{key:s,value:o}),i.updateURL()},sort:function(){var t=D(this);E(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,n=D(this).entries,i=v(t,arguments.length>1?arguments[1]:void 0),r=0;r<n.length;)i((e=n[r++]).value,e.key,this)},keys:function(){return new ot(this,"keys")},values:function(){return new ot(this,"values")},entries:function(){return new ot(this,"entries")}},{enumerable:!0}),c(ut,C,ut.entries,{name:"entries"}),c(ut,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),d(ct,"URLSearchParams"),i({global:!0,constructor:!0,forced:!l},{URLSearchParams:ct}),!l&&m(Y)){var dt=s(H.has),ht=s(H.set),pt=function(t){if(b(t)){var e,n=t.body;if("URLSearchParams"===_(n))return e=t.headers?new Y(t.headers):new Y,dt(e,"content-type")||ht(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),w(t,{body:M(0,x(n)),headers:M(0,e)})}return t};if(m(P)&&i({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return P(t,arguments.length>1?pt(arguments[1]):{})}}),m(N)){var ft=function(t){return f(this,F),new N(t,arguments.length>1?pt(arguments[1]):{})};F.constructor=ft,ft.prototype=F,i({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ft})}}t.exports={URLSearchParams:ct,getState:D}},function(t,e,n){var i=n(422);t.exports=i},function(t,e,n){var i=n(53),r=n(423),a=Array.prototype;t.exports=function(t){var e=t.map;return t===a||i(a,t)&&e===a.map?r:e}},function(t,e,n){n(424);var i=n(74);t.exports=i("Array").map},function(t,e,n){"use strict";var i=n(18),r=n(179).map;i({target:"Array",proto:!0,forced:!n(162)("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(120),r=n(212),a=n(55),s=n(29)("species"),o=Array;t.exports=function(t){var e;return i(t)&&(e=t.constructor,(r(e)&&(e===o||i(e.prototype))||a(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?o:e}},function(t,e,n){var i=n(53),r=n(427),a=Array.prototype;t.exports=function(t){var e=t.slice;return t===a||i(a,t)&&e===a.slice?r:e}},function(t,e,n){n(428);var i=n(74);t.exports=i("Array").slice},function(t,e,n){"use strict";var i=n(18),r=n(120),a=n(212),s=n(55),o=n(184),l=n(87),c=n(72),u=n(151),d=n(29),h=n(162),p=n(234),f=h("slice"),m=d("species"),g=Array,v=Math.max;i({target:"Array",proto:!0,forced:!f},{slice:function(t,e){var n,i,d,h=c(this),f=l(h),_=o(t,f),y=o(void 0===e?f:e,f);if(r(h)&&(n=h.constructor,(a(n)&&(n===g||r(n.prototype))||s(n)&&null===(n=n[m]))&&(n=void 0),n===g||void 0===n))return p(h,_,y);for(i=new(void 0===n?g:n)(v(y-_,0)),d=0;_<y;_++,d++)_ in h&&u(i,d,h[_]);return i.length=d,i}})},function(t,e,n){var i=n(46),r=n(291),a=n(94),s=n(81),o=n(72),l=n(183);e.f=i&&!r?Object.defineProperties:function(t,e){s(t);for(var n,i=o(e),r=l(e),c=r.length,u=0;c>u;)a.f(t,n=r[u++],i[n]);return t}},function(t,e,n){var i=n(138),r=n(51),a=n(81),s=n(168),o=n(470),l=n(87),c=n(53),u=n(431),d=n(254),h=n(471),p=TypeError,f=function(t,e){this.stopped=t,this.result=e},m=f.prototype;t.exports=function(t,e,n){var g,v,_,y,b,x,w,M=n&&n.that,S=!(!n||!n.AS_ENTRIES),T=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),L=i(e,M),E=function(t){return g&&h(g,"normal",t),new f(!0,t)},C=function(t){return S?(a(t),A?L(t[0],t[1],E):L(t[0],t[1])):A?L(t,E):L(t)};if(T)g=t;else{if(!(v=d(t)))throw p(s(t)+" is not iterable");if(o(v)){for(_=0,y=l(t);y>_;_++)if((b=C(t[_]))&&c(m,b))return b;return new f(!1)}g=u(t,v)}for(x=g.next;!(w=r(x,g)).done;){try{b=C(w.value)}catch(t){h(g,"throw",t)}if("object"==typeof b&&b&&c(m,b))return b}return new f(!1)}},function(t,e,n){var i=n(51),r=n(118),a=n(81),s=n(168),o=n(254),l=TypeError;t.exports=function(t,e){var n=arguments.length<2?o(t):e;if(r(n))return a(i(n,t));throw l(s(t)+" is not iterable")}},function(t,e,n){"use strict";var i=n(18),r=n(51),a=n(98),s=n(472),o=n(30),l=n(473),c=n(326),u=n(352),d=n(181),h=n(119),p=n(163),f=n(29),m=n(180),g=n(433),v=s.PROPER,_=s.CONFIGURABLE,y=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,x=f("iterator"),w=function(){return this};t.exports=function(t,e,n,s,f,g,M){l(n,e,s);var S,T,A,L=function(t){if(t===f&&k)return k;if(!b&&t in I)return I[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},E=e+" Iterator",C=!1,I=t.prototype,D=I[x]||I["@@iterator"]||f&&I[f],k=!b&&D||L(f),O="Array"==e&&I.entries||D;if(O&&(S=c(O.call(new t)))!==Object.prototype&&S.next&&(a||c(S)===y||(u?u(S,y):o(S[x])||p(S,x,w)),d(S,E,!0,!0),a&&(m[E]=w)),v&&"values"==f&&D&&"values"!==D.name&&(!a&&_?h(I,"name","values"):(C=!0,k=function(){return r(D,this)})),f)if(T={values:L("values"),keys:g?k:L("keys"),entries:L("entries")},M)for(A in T)(b||C||!(A in I))&&p(I,A,T[A]);else i({target:e,proto:!0,forced:b||C},T);return a&&!M||I[x]===k||p(I,x,k,{name:f}),m[e]=k,T}},function(t,e,n){"use strict";var i,r,a,s=n(25),o=n(30),l=n(229),c=n(326),u=n(163),d=n(29),h=n(98),p=d("iterator"),f=!1;[].keys&&("next"in(a=[].keys())?(r=c(c(a)))!==Object.prototype&&(i=r):f=!0),null==i||s((function(){var t={};return i[p].call(t)!==t}))?i={}:h&&(i=l(i)),o(i[p])||u(i,p,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},function(t,e){},function(t,e,n){var i=n(35),r=n(354),a=n(30),s=n(347),o=n(282),l=n(29),c=n(1146),u=n(98),d=n(182),h=r&&r.prototype,p=l("species"),f=!1,m=a(i.PromiseRejectionEvent),g=s("Promise",(function(){var t=o(r),e=t!==String(r);if(!e&&66===d)return!0;if(u&&(!h.catch||!h.finally))return!0;if(d>=51&&/native code/.test(t))return!1;var n=new r((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};return(n.constructor={})[p]=i,!(f=n.then((function(){}))instanceof i)||!e&&c&&!m}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:f}},function(t,e,n){"use strict";var i=n(18),r=n(25),a=n(120),s=n(55),o=n(80),l=n(87),c=n(325),u=n(151),d=n(228),h=n(162),p=n(29),f=n(182),m=p("isConcatSpreadable"),g=f>=51||!r((function(){var t=[];return t[m]=!1,t.concat()[0]!==t})),v=h("concat"),_=function(t){if(!s(t))return!1;var e=t[m];return void 0!==e?!!e:a(t)};i({target:"Array",proto:!0,arity:1,forced:!g||!v},{concat:function(t){var e,n,i,r,a,s=o(this),h=d(s,0),p=0;for(e=-1,i=arguments.length;e<i;e++)if(_(a=-1===e?s:arguments[e]))for(r=l(a),c(p+r),n=0;n<r;n++,p++)n in a&&u(h,p,a[n]);else c(p+1),u(h,p++,a);return h.length=p,h}})},function(t,e,n){n(777),n(779),n(780),n(346),n(781)},function(t,e,n){var i=n(51),r=n(66),a=n(29),s=n(163);t.exports=function(){var t=r("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,o=a("toPrimitive");e&&!e[o]&&s(e,o,(function(t){return i(n,this)}),{arity:1})}},function(t,e,n){var i=n(117);t.exports=i&&!!Symbol.for&&!!Symbol.keyFor},function(t,e,n){var i=n(213),r=n(189);t.exports=function(t){if(!r(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(114))},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,n){var i=n(822),r=n(823),a=n(286),s=n(93);t.exports=function(t,e){return function(n,o){var l=s(n)?i:r,c=e?e():{};return l(n,t,a(o,2),c)}}},function(t,e,n){var i=n(824),r=n(329);t.exports=function(t,e){return t&&i(t,e,r)}},function(t,e,n){var i=n(260),r=n(843),a=n(844),s=n(845),o=n(846),l=n(847);function c(t){var e=this.__data__=new i(t);this.size=e.size}c.prototype.clear=r,c.prototype.delete=a,c.prototype.get=s,c.prototype.has=o,c.prototype.set=l,t.exports=c},function(t,e,n){var i=n(860),r=n(214);t.exports=function t(e,n,a,s,o){return e===n||(null==e||null==n||!r(e)&&!r(n)?e!=e&&n!=n:i(e,n,a,s,t,o))}},function(t,e,n){var i=n(861),r=n(479),a=n(864);t.exports=function(t,e,n,s,o,l){var c=1&n,u=t.length,d=e.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(t),p=l.get(e);if(h&&p)return h==e&&p==t;var f=-1,m=!0,g=2&n?new i:void 0;for(l.set(t,e),l.set(e,t);++f<u;){var v=t[f],_=e[f];if(s)var y=c?s(_,v,f,e,t,l):s(v,_,f,t,e,l);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!r(e,(function(t,e){if(!a(g,e)&&(v===t||o(v,t,n,s,l)))return g.push(e)}))){m=!1;break}}else if(v!==_&&!o(v,_,n,s,l)){m=!1;break}}return l.delete(t),l.delete(e),m}},function(t,e,n){var i=n(189);t.exports=function(t){return t==t&&!i(t)}},function(t,e){t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},function(t,e,n){var i=n(451),r=n(265);t.exports=function(t,e){for(var n=0,a=(e=i(e,t)).length;null!=t&&n<a;)t=t[r(e[n++])];return n&&n==a?t:void 0}},function(t,e,n){var i=n(93),r=n(335),a=n(883),s=n(886);t.exports=function(t,e){return i(t)?t:r(t,e)?[t]:a(s(t))}},function(t,e,n){var i=n(930),r=TypeError;t.exports=function(t){if(i(t))throw r("The method doesn't accept regular expressions");return t}},function(t,e,n){var i=n(29)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){var i=n(332),r=n(259),a=n(330),s=n(189);t.exports=function(t,e,n){if(!s(n))return!1;var o=typeof e;return!!("number"==o?r(n)&&a(e,n.length):"string"==o&&e in n)&&i(n[e],t)}},function(t,e,n){var i=n(941)();t.exports=i},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mdc-select-wrapper",attrs:{"data-initialized":t.skipInitialization?null:""}},[n("div",{staticClass:"mdc-select mdc-select--outlined",class:[t.modifier,{"mdc-select--required":t.required,"mdc-select--disabled":t.disabled}]},[n("input",{attrs:{type:"hidden","aria-hidden":"true",name:t.name,required:t.required,disabled:t.disabled}}),t._v(" "),n("div",{staticClass:"mdc-select__anchor",attrs:{role:"button","aria-haspopup":"listbox","aria-labelledby":t.
124selectLabelId+" "+t.selectedTextId,"aria-controls":t.selectedTextId,"aria-describedby":t.selectedTextId}},[n("span",{staticClass:"mdc-notched-outline"},[n("span",{staticClass:"mdc-notched-outline__leading"}),t._v(" "),n("span",{staticClass:"mdc-notched-outline__notch"},[n("span",{staticClass:"mdc-floating-label",attrs:{id:t.selectLabelId}},[t._v("\n            "+t._s(t.label||"Select")+"\n          ")])]),t._v(" "),n("span",{staticClass:"mdc-notched-outline__trailing"})]),t._v(" "),n("span",{staticClass:"mdc-select__selected-text-container"},[n("span",{staticClass:"mdc-select__selected-text",attrs:{id:t.selectedTextId}},[t.preSelectedOption?[t._v("\n            "+t._s(t.preSelectedOption.label)+"\n          ")]:t._e()],2)]),t._v(" "),n("i",{staticClass:"mdc-select__dropdown-icon icon"})]),t._v(" "),n("div",{staticClass:"mdc-select__menu mdc-menu mdc-menu-surface mdc-menu-surface--fullwidth",attrs:{role:"listbox"}},[n("ul",{staticClass:"mdc-list",attrs:{role:"listbox"}},[t.required?t._e():n("li",{staticClass:"mdc-list-item",attrs:{"data-value":"",role:"option"}}),t._v(" "),t._l(t.options,(function(e,i){return n("li",{key:i,staticClass:"mdc-list-item",class:{"mdc-list-item--selected":e.selected,"mdc-list-item--disabled":e.disabled},attrs:{"data-value":(e.value||i).toString(),"aria-selected":e.selected,"aria-disabled":e.disabled,role:"option"}},[n("span",{staticClass:"mdc-list-item__ripple"}),t._v(" "),n("span",{staticClass:"mdc-list-item__text"},[t._t("option",(function(){return[t._v("\n              "+t._s(e.label)+"\n            ")]}),{option:e})],2)])}))],2)])]),t._v(" "),n("span",{staticClass:"mdc-select-helper-text mdc-select-helper-text--validation-msg",attrs:{id:t.selectLabelId}})])};i._withStripped=!0;var r=n(105),a=n.n(r),s=n(1302),o={name:"VueSelect",props:{modifier:{type:String,default:""},name:{type:String,default:null},required:Boolean,disabled:Boolean,label:{type:String,default:""},options:{type:Array,default:function(){return[]}},skipInitialization:Boolean,hideValidationMessage:Boolean},data:function(){return{mdcSelect:null}},computed:{selectLabelId:function(){return"select-label-".concat(this._uid)},selectedTextId:function(){return"selected-text-".concat(this._uid)},preSelectedOption:function(){var t;return a()(t=this.options).call(t,(function(t){return t.selected}))}},mounted:function(){if(!this.skipInitialization){var t=this.$el.querySelector(".mdc-select");this.mdcSelect=new s.a(t),this.mdcSelect.listen("MDCSelect:change",this.onChange)}},destroyed:function(){this.mdcSelect&&(this.mdcSelect.unlisten("MDCSelect:change",this.onChange),this.mdcSelect.destroy())},methods:{onChange:function(t){this.$emit("change",t.detail)}}},l=n(4),c=Object(l.a)(o,i,[],!1,null,null,null);c.options.__file="src/assets/toolkit/scripts/atoms/select.vue";e.a=c.exports},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.numPages>1?n("div",{staticClass:"pagination"},[n("a",{staticClass:"pagination__item pagination__arrow pagination__arrow--prev",class:{"is-inactive":1===t.currentPage},attrs:{href:"#",rel:"prev"},on:{click:function(e){e.preventDefault(),t.currentPage>1&&t.onSelect(t.currentPage-1)}}}),t._v(" "),n("a",{staticClass:"pagination__item",class:{"is-active":1===t.currentPage},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.onSelect(1)}}},[t._v("1")]),t._v(" "),t.gapVisible("firstGap")?n("div",{staticClass:"pagination__item pagination__item--clear",class:t.gapClassName("firstGap")}):t._e(),t._v(" "),t._l(t.middlePages,(function(e){return n("a",{key:e,staticClass:"pagination__item",class:t.classNames(e),attrs:{href:"#"},on:{click:function(n){n.preventDefault(),e!==t.currentPage&&t.onSelect(e)}}},[t._v(t._s(e))])})),t._v(" "),t.gapVisible("lastGap")?n("div",{staticClass:"pagination__item pagination__item--clear",class:t.gapClassName("lastGap")}):t._e(),t._v(" "),n("a",{staticClass:"pagination__item",class:Object.assign({},{"is-active":t.currentPage===t.numPages},t.lastItemClassName),attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.onSelect(t.numPages)}}},[t._v(t._s(t.numPages))]),t._v(" "),n("a",{staticClass:"pagination__item pagination__arrow pagination__arrow--next",class:{"
124is-inactive":t.currentPage===t.numPages},attrs:{href:"#",rel:"next"},on:{click:function(e){e.preventDefault(),t.currentPage<t.numPages&&t.onSelect(t.currentPage+1)}}})],2):t._e()};i._withStripped=!0;n(92),n(350);var r=n(455),a=n.n(r),s={name:"Pagination",props:{hideLastPage:Boolean,numPages:{type:Number,default:1},currentPage:{type:Number,default:1},onSelect:{type:Function,default:function(){}}},computed:{xs:function(){return this.calculateElements(5)},small:function(){return this.calculateElements(7)},large:function(){return this.calculateElements(9)},middlePages:function(){return a()(this.large.firstPage,this.large.lastPage+1)},lastItemClassName:function(){return{"is-hidden-xs":this.isLastPageHidden("xs"),"is-hidden-small":this.isLastPageHidden("small"),"is-hidden-large":this.isLastPageHidden("large")}}},methods:{calculateElements:function(t){var e=this.numPages,n=this.currentPage,i=t-2,r=(t-5)/2,a=e<=t||n<=i-r?2:n>=e-i+1+r?e-i+1:n-r,s=e<=t||n>=e-i+1+r?e-1:n<=i-r?i:n+r;return{firstPage:a,lastPage:s,firstGap:a>2,lastGap:s<e-1}},isLastPageHidden:function(t){return this.hideLastPage&&this[t].lastPage+1<this.numPages},gapVisible:function(t){return this.xs[t]||this.small[t]||this.large[t]},classNames:function(t){var e=t<this.small.firstPage||t>this.small.lastPage,n=t<this.xs.firstPage||t>this.xs.lastPage;return{"is-active":t===this.currentPage,"pagination__item--small-up":!e&&n,"pagination__item--medium-up":e}},gapClassName:function(t){return this.large[t]?"":this.small[t]?"pagination__item--xsmall-medium":"pagination__item--xsmall-only"}}},o=n(4),l=Object(o.a)(s,i,[],!1,null,null,null);l.options.__file="src/assets/toolkit/scripts/components/pagination.vue";e.a=l.exports},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{class:["search-site-result",t.isHighlight&&"is-highlight"],attrs:{href:t.result.url,target:t.result.newWindow?"_blank":"_self"}},[n("div",{staticClass:"search-site-result__head"},[n("i",{class:["search-site-result__icon","icon","icon-"+t.result.icon]}),t._v(" "),n("ul",{staticClass:"search-site-result__breadcrumb"},t._l(t.result.breadcrumb,(function(e,i){return n("li",{key:"crumb-"+i,staticClass:"search-site-result__breadcrumb-item"},[t._v("\n        "+t._s(e.label)+"\n      ")])})),0)]),t._v(" "),t.result.title?n("h4",{staticClass:"search-site-result__title",domProps:{innerHTML:t._s(t.result.title)}}):t._e(),t._v(" "),n("div",{staticClass:"search-site-result__body"},[t.result.img?n("div",{staticClass:"search-site-result__img"},[n("lazy-image",{attrs:{img:t.result.img,alt:t.result.title,title:t.result.title}})],1):t._e(),t._v(" "),n("div",{staticClass:"search-site-result__content"},[t.result.copy?n("div",{staticClass:"search-site-result__copy",domProps:{innerHTML:t._s(t.result.copy)}}):t._e(),t._v(" "),t.result.meta?n("div",{staticClass:"search-site-result__meta"},t._l(t.result.meta,(function(e,i){return n("div",{key:"meta-"+i,staticClass:"search-site-result__meta-item"},[e.icon?n("i",{class:["search-site-result__meta-icon","icon","icon-"+e.icon]}):t._e(),t._v(" "),n("span",[t._v(t._s(e.label))])])})),0):t._e()])])])};i._withStripped=!0;var r={name:"SearchSiteResult",components:{LazyImage:n(83).a},props:{isHighlight:Boolean,result:{type:Object,default:function(){return{}}}}},a=n(4),s=Object(a.a)(r,i,[],!1,null,null,null);s.options.__file="src/assets/toolkit/scripts/components/search-site/search-site-result.vue";e.a=s.exports},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"regional-adviser-list"},t._l(t.items,(function(e,i){return n("regional-adviser-item",{key:i,attrs:{adviser:e,active:i===t.activeIndex,i18n:t.i18n}})})),1)};i._withStripped=!0;n(92);var r={name:"RegionalAdviserList",components:{RegionalAdviserItem:n(343).a},props:{items:{type:Array,default:function(){return[]}},activeIndex:{type:Number,default:null},i18n:{type:Function,default:function(){}}}},a=n(4),s=Object(a.a)(r,i,[],!1,null,null,null);s.options.__file="src/assets/toolkit/scripts/components/regional-adviser/regional-adviser-list.vue";e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n(1),r=n(19),a=n(16),s={ARIA_HIDDEN:"aria-hidden",ROLE:"role"}
124,o={HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg",HELPER_TEXT_VALIDATION_MSG_PERSISTENT:"mdc-select-helper-text--validation-msg-persistent"},l=function(t){function e(n){return t.call(this,Object(i.a)(Object(i.a)({},e.defaultAdapter),n))||this}return Object(i.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},getAttr:function(){return null},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),e.prototype.getId=function(){return this.adapter.getAttr("id")},e.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(s.ARIA_HIDDEN)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.setValidation=function(t){t?this.adapter.addClass(o.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(o.HELPER_TEXT_VALIDATION_MSG)},e.prototype.setValidationMsgPersistent=function(t){t?this.adapter.addClass(o.HELPER_TEXT_VALIDATION_MSG_PERSISTENT):this.adapter.removeClass(o.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},e.prototype.getIsValidation=function(){return this.adapter.hasClass(o.HELPER_TEXT_VALIDATION_MSG)},e.prototype.getIsValidationMsgPersistent=function(){return this.adapter.hasClass(o.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},e.prototype.setValidity=function(t){if(this.adapter.hasClass(o.HELPER_TEXT_VALIDATION_MSG)){var e=this.adapter.hasClass(o.HELPER_TEXT_VALIDATION_MSG_PERSISTENT);if(!t||e)return this.showToScreenReader(),void(t?this.adapter.removeAttr(s.ROLE):this.adapter.setAttr(s.ROLE,"alert"));this.adapter.removeAttr(s.ROLE),this.hide()}},e.prototype.showToScreenReader=function(){this.adapter.removeAttr(s.ARIA_HIDDEN)},e.prototype.hide=function(){this.adapter.setAttr(s.ARIA_HIDDEN,"true")},e}(a.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new l({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e}})},e}(r.a)},function(t,e,n){"use strict";var i=n(0),r=n(49).map;i({target:"Array",proto:!0,forced:!n(204)("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(42),s=n(26),o=n(31),l=n(310),c=n(14),u=n(2),d=n(314),h=n(96),p=n(393),f=n(394),m=n(110),g=n(315),v=[],_=r(v.sort),y=r(v.push),b=u((function(){v.sort(void 0)})),x=u((function(){v.sort(null)})),w=h("sort"),M=!u((function(){if(m)return m<70;if(!(p&&p>3)){if(f)return!0;if(g)return g<603;var t,e,n,i,r="";for(t=65;t<76;
vendor: 5,228 bytes, line 124
124t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)v.push({k:e+i,v:n})}for(v.sort((function(t,e){return e.v-t.v})),i=0;i<v.length;i++)e=v[i].k.charAt(0),r.charAt(r.length-1)!==e&&(r+=e);return"DGBEFHACIJK"!==r}}));i({target:"Array",proto:!0,forced:b||!x||!w||!M},{sort:function(t){void 0!==t&&a(t);var e=s(this);if(M)return void 0===t?_(e):_(e,t);var n,i,r=[],u=o(e);for(i=0;i<u;i++)i in e&&y(r,e[i]);for(d(r,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:c(e)>c(n)?1:-1}}(t)),n=r.length,i=0;i<n;)e[i]=r[i++];for(;i<u;)l(e,i++);return e}})},function(t,e,n){var i=n(7),r=n(132).EXISTS,a=n(3),s=n(21).f,o=Function.prototype,l=a(o.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=a(c.exec);i&&!r&&s(o,"name",{configurable:!0,get:function(){try{return u(c,l(this))[1]}catch(t){return""}}})},function(t,e,n){n(628),n(634),n(635),n(636),n(637),n(638)},function(t,e,n){var i=n(6),r=n(300),a=n(301),s=n(225),o=n(44),l=n(11),c=l("iterator"),u=l("toStringTag"),d=s.values,h=function(t,e){if(t){if(t[c]!==d)try{o(t,c,d)}catch(e){t[c]=d}if(t[u]||o(t,u,e),r[e])for(var n in s)if(t[n]!==s[n])try{o(t,n,s[n])}catch(e){t[n]=s[n]}}};for(var p in r)h(i[p]&&i[p].prototype,p);h(a,"DOMTokenList")},function(t,e,n){"use strict";var i=n(168),r=TypeError;t.exports=function(t,e){if(!delete t[e])throw r("Cannot delete property "+i(e)+" of "+i(t))}},function(t,e,n){var i=n(25);t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var i=n(66),r=n(22),a=n(327),s=n(283),o=n(81),l=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=a.f(o(t)),n=s.f;return n?l(e,n(t)):e}},function(t,e,n){var i=n(66);t.exports=i("document","documentElement")},function(t,e,n){var i=n(29),r=n(180),a=i("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||s[a]===t)}},function(t,e,n){var i=n(51),r=n(81),a=n(232);t.exports=function(t,e,n){var s,o;r(t);try{if(!(s=a(t,"return"))){if("throw"===e)throw n;return n}s=i(s,t)}catch(t){o=!0,s=t}if("throw"===e)throw n;if(o)throw s;return r(s),n}},function(t,e,n){var i=n(46),r=n(54),a=Function.prototype,s=i&&Object.getOwnPropertyDescriptor,o=r(a,"name"),l=o&&"something"===function(){}.name,c=o&&(!i||i&&s(a,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},function(t,e,n){"use strict";var i=n(433).IteratorPrototype,r=n(229),a=n(115),s=n(181),o=n(180),l=function(){return this};t.exports=function(t,e,n,c){var u=e+" Iterator";return t.prototype=r(i,{next:a(+!c,n)}),s(t,u,!1,!0),o[u]=l,t}},function(t,e,n){var i=n(29)("iterator"),r=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){r=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var a={};a[i]=function(){return{next:function(){return{done:n=!0}}}},t(a)}catch(t){}return n}},function(t,e,n){var i=n(184),r=n(87),a=n(151),s=Array,o=Math.max;t.exports=function(t,e,n){for(var l=r(t),c=i(e,l),u=i(void 0===n?l:n,l),d=s(o(u-c,0)),h=0;c<u;c++,h++)a(d,h,t[c]);return d.length=h,d}},function(t,e,n){n(37)("iterator")},function(t,e,n){var i=n(478),r=n(833),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return r(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}},function(t,e,n){var i=n(876),r=n(333),a=n(877),s=n(878),o=n(879),l=n(213),c=n(442),u=c(i),d=c(r),h=c(a),p=c(s),f=c(o),m=l;(i&&"[object DataView]"!=m(new i(new ArrayBuffer(1)))||r&&"[object Map]"!=m(new r)||a&&"[object Promise]"!=m(a.resolve())||s&&"[object Set]"!=m(new s)||o&&"[object WeakMap]"!=m(new o))&&(m=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,i=n?c(n):"";if(i)switch(i){case u:return"[object DataView]";case d:return"[object Map]";case h:return"[object Promise]";case p:return"[object Set]";case f:return"[object WeakMap]"}return e}),t.exports=m},function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}},function(t,e,n){var i=n(909);t.exports=i},function(t,e,n){var i=n(46),r=n(22),a=n(183),s=n(72),o=r(n(221).f),l=r([].push),c=function(t){return function(e){for(var n,r=s(e),c=a(r),u=c.length,d=0,h=[];u>d;)n=c[d++],i&&!o(r,n)||l(h,t?[n,r[n]]:r[n]);return h}};t.exports={entries:c(!0),values:c(!1)}},function(t,e){var n,i,r=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{i="function"==typeof clearTimeout?clearTimeout:s}
124catch(t){i=s}}();var l,c=[],u=!1,d=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var t=o(h);u=!0;for(var e=c.length;e;){for(l=c,c=[];++d<e;)l&&l[d].run();d=-1,e=c.length}l=null,u=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function m(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new f(t,e)),1!==c.length||u||o(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(t,e,n){var i=n(362);t.exports=function(t,e,n,r){(e="string"==typeof e?e.split(" "):e).forEach((function(e){i(t,(function(t){t.addEventListener(e,n,r)}))}))}},function(t,e){t.exports=function(t){if(null===t||"object"!=typeof t)return t;var e=t.constructor();for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}},function(t,e,n){var i=n(938),r=n(189),a=n(264),s=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return NaN;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=o.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):s.test(t)?NaN:+t}},function(t,e,n){"use strict";var i=n(363);function r(t){i.call(this,null==t?"canceled":t,i.ERR_CANCELED),this.name="CanceledError"}n(126).inherits(r,i,{__CANCEL__:!0}),t.exports=r},function(t,e,n){t.exports=n(1127)},function(t,e,n){t.exports=n(1202)},function(t,e,n){t.exports=n(1206)},function(t,e,n){var i=n(493);t.exports=i},function(t,e,n){n(346);var i=n(38),r=n(190);i.JSON||(i.JSON={stringify:JSON.stringify}),t.exports=function(t,e,n){return r(i.JSON.stringify,null,arguments)}},function(t,e,n){n(495),n(500),n(501),n(502),n(503),n(504),n(505),n(506),n(507),n(508),n(509),n(510),n(511),n(512),n(513),n(514),n(515),n(516),n(518),n(519),n(520),n(521),n(522),n(523),n(524),n(525),n(526),n(527),n(528),n(529),n(530),n(532),n(533),n(534),n(225),n(159),n(535),n(461),n(536),n(537),n(538),n(539),n(540),n(541),n(462),n(542),n(543),n(544),n(545),n(546),n(548),n(549),n(550),n(552),n(553),n(554),n(555),n(556),n(558),n(559),n(561),n(562),n(563),n(564),n(463),n(565),n(383),n(566),n(567),n(569),n(570),n(571),n(572),n(573),n(574),n(575),n(576),n(578),n(579),n(580),n(581),n(582),n(583),n(584),n(585),n(586),n(587),n(92),n(588),n(589),n(591),n(592),n(593),n(594),n(595),n(596),n(597),n(598),n(599),n(600),n(601),n(602),n(603),n(604),n(605),n(606),n(607),n(608),n(609),n(610),n(611),n(612),n(613),n(614),n(615),n(616),n(617),n(618),n(619),n(620),n(621),n(622),n(623),n(624),n(20),n(625),n(626),n(627),n(464),n(639),n(640),n(641),n(642),n(643),n(644),n(645),n(646),n(647),n(648),n(649),n(650),n(651),n(652),n(653),n(654),n(655),n(226),n(656),n(47),n(657),n(658),n(659),n(161),n(660),n(662),n(663),n(664),n(665),n(666),n(348),n(349),n(667),n(668),n(669),n(670),n(671),n(122),n(672),n(227),n(142),n(673),n(674),n(675),n(676),n(678),n(680),n(681),n(682),n(683),n(684),n(685),n(686),n(687),n(688),n(350),n(689),n(690),n(691),n(692),n(694),n(695),n(696),n(697),n(698),n(699),n(700),n(701),n(702),n(703),n(704),n(705),n(707),n(710),n(711),n(712),n(713),n(714),n(715),n(716),n(717),n(718),n(719),n(720),n(721),n(722),n(723),n(724),n(725),n(726),n(727),n(728),n(729),n(730),n(731),n(732),n(734),n(736),n(737),n(24),n(465),n(738),n(740),n(741),n(742),n(745),n(746),n(747),n(750),n(753),n(754),t.exports=n(380)},function(t,e,n){n(496),n(497),n(498),n(383),n(499)},function(t,e,n){"use strict";var i=n(0),r=n(6),a=n(10),s=n(3),o=n(36),l=n(7),c=n(130),u=n(2),d=n(13),h=n(64),p=n(8),f=n(52),m=n(99),g=n(14),v=n(67),_=n(68),y=n(175),b=n(101),x=n(303),w=n(198),M=n(48),S=n(21),T=n(238),A=n(193),L=n(28),E=n(121),C=n(186),I=n(140),D=n(131),k=n(11),O
vendor: 4,392 bytes, line 124
124=n(379),R=n(69),P=n(381),N=n(78),Y=n(41),F=n(49).forEach,H=C("hidden"),j=Y.set,B=Y.getterFor("Symbol"),z=Object.prototype,U=r.Symbol,V=U&&U.prototype,W=r.TypeError,G=r.QObject,q=M.f,X=S.f,$=x.f,K=A.f,J=s([].push),Q=E("symbols"),Z=E("op-symbols"),tt=E("wks"),et=!G||!G.prototype||!G.prototype.findChild,nt=l&&u((function(){return 7!=_(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=q(z,e);i&&delete z[e],X(t,e,n),i&&t!==z&&X(z,e,i)}:X,it=function(t,e){var n=Q[t]=_(V);return j(n,{type:"Symbol",tag:t,description:e}),l||(n.description=e),n},rt=function(t,e,n){t===z&&rt(Z,e,n),p(t);var i=m(e);return p(n),d(Q,i)?(n.enumerable?(d(t,H)&&t[H][i]&&(t[H][i]=!1),n=_(n,{enumerable:v(0,!1)})):(d(t,H)||X(t,H,v(1,{})),t[H][i]=!0),nt(t,i,n)):X(t,i,n)},at=function(t,e){p(t);var n=f(e),i=y(n).concat(ct(n));return F(i,(function(e){l&&!a(st,n,e)||rt(t,e,n[e])})),t},st=function(t){var e=m(t),n=a(K,this,e);return!(this===z&&d(Q,e)&&!d(Z,e))&&(!(n||!d(this,e)||!d(Q,e)||d(this,H)&&this[H][e])||n)},ot=function(t,e){var n=f(t),i=m(e);if(n!==z||!d(Q,i)||d(Z,i)){var r=q(n,i);return!r||!d(Q,i)||d(n,H)&&n[H][i]||(r.enumerable=!0),r}},lt=function(t){var e=$(f(t)),n=[];return F(e,(function(t){d(Q,t)||d(I,t)||J(n,t)})),n},ct=function(t){var e=t===z,n=$(e?Z:f(t)),i=[];return F(n,(function(t){!d(Q,t)||e&&!d(z,t)||J(i,Q[t])})),i};c||(L(V=(U=function(){if(h(V,this))throw W("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=D(t),n=function(t){this===z&&a(n,Z,t),d(this,H)&&d(this[H],e)&&(this[H][e]=!1),nt(this,e,v(1,t))};return l&&et&&nt(z,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return B(this).tag})),L(U,"withoutSetter",(function(t){return it(D(t),t)})),A.f=st,S.f=rt,T.f=at,M.f=ot,b.f=x.f=lt,w.f=ct,O.f=function(t){return it(k(t),t)},l&&(X(V,"description",{configurable:!0,get:function(){return B(this).description}}),o||L(z,"propertyIsEnumerable",st,{unsafe:!0}))),i({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:U}),F(y(tt),(function(t){R(t)})),i({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){et=!0},useSimple:function(){et=!1}}),i({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(t,e){return void 0===e?_(t):at(_(t),e)},defineProperty:rt,defineProperties:at,getOwnPropertyDescriptor:ot}),i({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt}),P(),N(U,"Symbol"),I[H]=!0},function(t,e,n){var i=n(0),r=n(27),a=n(13),s=n(14),o=n(121),l=n(382),c=o("string-to-symbol-registry"),u=o("symbol-to-string-registry");i({target:"Symbol",stat:!0,forced:!l},{for:function(t){var e=s(t);if(a(c,e))return c[e];var n=r("Symbol")(e);return c[e]=n,u[n]=e,n}})},function(t,e,n){var i=n(0),r=n(13),a=n(109),s=n(116),o=n(121),l=n(382),c=o("symbol-to-string-registry");i({target:"Symbol",stat:!0,forced:!l},{keyFor:function(t){if(!a(t))throw TypeError(s(t)+" is not a symbol");if(r(c,t))return c[t]}})},function(t,e,n){var i=n(0),r=n(130),a=n(2),s=n(198),o=n(26);i({target:"Object",stat:!0,forced:!r||a((function(){s.f(1)}))},{getOwnPropertySymbols:function(t){var e=s.f;return e?e(o(t)):[]}})},function(t,e,n){"use strict";var i=n(0),r=n(7),a=n(6),s=n(3),o=n(13),l=n(9),c=n(64),u=n(14),d=n(21).f,h=n(196),p=a.Symbol,f=p&&p.prototype;if(r&&l(p)&&(!("description"in f)||void 0!==p().description)){var m={},g=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),e=c(f,this)?new p(t):void 0===t?p():p(t);return""===t&&(m[e]=!0),e};h(g,p),g.prototype=f,f.constructor=g;var v="Symbol(test)"==String(p("test")),_=s(f.toString),y=s(f.valueOf),b=/^Symbol\((.*)\)[^)]+$/,x=s("".replace),w=s("".slice);d(f,"description",{configurable:!0,get:function(){var t=y(this),e=_(t);if(o(m,t))return"";var n=v?w(e,7,-1):x(e,b,"$1");return""===n?void 0:n}}),i({global:!0,constructor:!0,forced:!0},{Symbol:g})}},function(t,e,n){n(69)("asyncIterator")},function(t,e,n){n(69)("hasInstance")},function(t,e,n){n(69)("isConcatSpreadable")},function(t,e,n){n(69)("iterator")},function(t,e,n){n(69)("match")},function(t,e,n){n(69)("matchAll")},function(t,e,n){n(69)("replace")},function(t,e,n){n(69)("search")},function(t,e,n){n(69)("species")},function(t,e,n){n(69)("split")},function(t,e,n){var i=n(69),r=n(381);i("toPrimitive"),r()},function(t,e,n){var i=n(27),r=n(69),a=n(78);r("toStringTag"),a(i("Symbol"),"Symbol")},function(t,e,n){n(69)("unscopables")}
124,function(t,e,n){var i=n(0),r=n(6),a=n(73),s=n(384),o=r.WebAssembly,l=7!==Error("e",{cause:7}).cause,c=function(t,e){var n={};n[t]=s(t,e,l),i({global:!0,constructor:!0,arity:1,forced:l},n)},u=function(t,e){if(o&&o[t]){var n={};n[t]=s("WebAssembly."+t,e,l),i({target:"WebAssembly",stat:!0,constructor:!0,arity:1,forced:l},n)}};c("Error",(function(t){return function(e){return a(t,this,arguments)}})),c("EvalError",(function(t){return function(e){return a(t,this,arguments)}})),c("RangeError",(function(t){return function(e){return a(t,this,arguments)}})),c("ReferenceError",(function(t){return function(e){return a(t,this,arguments)}})),c("SyntaxError",(function(t){return function(e){return a(t,this,arguments)}})),c("TypeError",(function(t){return function(e){return a(t,this,arguments)}})),c("URIError",(function(t){return function(e){return a(t,this,arguments)}})),u("CompileError",(function(t){return function(e){return a(t,this,arguments)}})),u("LinkError",(function(t){return function(e){return a(t,this,arguments)}})),u("RuntimeError",(function(t){return function(e){return a(t,this,arguments)}}))},function(t,e,n){var i=n(28),r=n(386),a=Error.prototype;a.toString!==r&&i(a,"toString",r)},function(t,e,n){n(517)},function(t,e,n){"use strict";var i=n(0),r=n(64),a=n(82),s=n(91),o=n(196),l=n(68),c=n(44),u=n(67),d=n(240),h=n(385),p=n(103),f=n(201),m=n(11),g=n(306),v=m("toStringTag"),_=Error,y=[].push,b=function(t,e){var n,i=arguments.length>2?arguments[2]:void 0,o=r(x,this);s?n=s(new _,o?a(this):x):(n=o?this:l(x),c(n,v,"Error")),void 0!==e&&c(n,"message",f(e)),g&&c(n,"stack",d(n.stack,1)),h(n,i);var u=[];return p(t,y,{that:u}),c(n,"errors",u),n};s?s(b,_):o(b,_,{name:!0});var x=b.prototype=l(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"AggregateError")});i({global:!0,constructor:!0,arity:2},{AggregateError:b})},function(t,e,n){var i=n(0),r=n(27),a=n(73),s=n(2),o=n(384),l=r("AggregateError"),c=!s((function(){return 1!==l([1]).errors[0]}))&&s((function(){return 7!==l([1],"AggregateError",{cause:7}).cause}));i({global:!0,constructor:!0,arity:2,forced:c},{AggregateError:o("AggregateError",(function(t){return function(e,n){return a(t,this,arguments)}}),c,!0)})},function(t,e,n){"use strict";var i=n(0),r=n(26),a=n(31),s=n(39),o=n(111);i({target:"Array",proto:!0},{at:function(t){var e=r(this),n=a(e),i=s(t),o=i>
vendor: 11,869 bytes, line 124
124=0?i:n+i;return o<0||o>=n?void 0:e[o]}}),o("at")},function(t,e,n){"use strict";var i=n(0),r=n(2),a=n(123),s=n(12),o=n(26),l=n(31),c=n(309),u=n(102),d=n(177),h=n(204),p=n(11),f=n(110),m=p("isConcatSpreadable"),g=f>=51||!r((function(){var t=[];return t[m]=!1,t.concat()[0]!==t})),v=h("concat"),_=function(t){if(!s(t))return!1;var e=t[m];return void 0!==e?!!e:a(t)};i({target:"Array",proto:!0,arity:1,forced:!g||!v},{concat:function(t){var e,n,i,r,a,s=o(this),h=d(s,0),p=0;for(e=-1,i=arguments.length;e<i;e++)if(_(a=-1===e?s:arguments[e]))for(r=l(a),c(p+r),n=0;n<r;n++,p++)n in a&&u(h,p,a[n]);else c(p+1),u(h,p++,a);return h.length=p,h}})},function(t,e,n){var i=n(0),r=n(388),a=n(111);i({target:"Array",proto:!0},{copyWithin:r}),a("copyWithin")},function(t,e,n){"use strict";var i=n(0),r=n(49).every;i({target:"Array",proto:!0,forced:!n(96)("every")},{every:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(0),r=n(311),a=n(111);i({target:"Array",proto:!0},{fill:r}),a("fill")},function(t,e,n){"use strict";var i=n(0),r=n(49).filter;i({target:"Array",proto:!0,forced:!n(204)("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(0),r=n(49).find,a=n(111),s=!0;"find"in[]&&Array(1).find((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("find")},function(t,e,n){"use strict";var i=n(0),r=n(49).findIndex,a=n(111),s=!0;"findIndex"in[]&&Array(1).findIndex((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("findIndex")},function(t,e,n){"use strict";var i=n(0),r=n(389),a=n(26),s=n(31),o=n(39),l=n(177);i({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=a(this),n=s(e),i=l(e,0);return i.length=r(i,e,e,n,0,void 0===t?1:o(t)),i}})},function(t,e,n){"use strict";var i=n(0),r=n(389),a=n(42),s=n(26),o=n(31),l=n(177);i({target:"Array",proto:!0},{flatMap:function(t){var e,n=s(this),i=o(n);return a(t),(e=l(n,0)).length=r(e,n,n,i,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},function(t,e,n){"use strict";var i=n(0),r=n(302);i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(t,e,n){var i=n(0),r=n(390);i({target:"Array",stat:!0,forced:!n(242)((function(t){Array.from(t)}))},{from:r})},function(t,e,n){var i=n(8),r=n(387);t.exports=function(t,e,n,a){try{return a?e(i(n)[0],n[1]):e(n)}catch(e){r(t,"throw",e)}}},function(t,e,n){"use strict";var i=n(0),r=n(173).includes,a=n(2),s=n(111);i({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(173).indexOf,s=n(96),o=r([].indexOf),l=!!o&&1/o([1],1,-0)<0,c=s("indexOf");i({target:"Array",proto:!0,forced:l||!c},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return l?o(this,t,e)||0:a(this,t,e)}})},function(t,e,n){n(0)({target:"Array",stat:!0},{isArray:n(123)})},function(t,e,n){var i=n(0),r=n(392);i({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},function(t,e,n){"use strict";var i=n(0),r=n(2),a=n(133),s=n(102),o=Array;i({target:"Array",stat:!0,forced:r((function(){function t(){}return!(o.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new(a(this)?this:o)(e);e>t;)s(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var i=n(0),r=n(243).left,a=n(96),s=n(110),o=n(145);i({target:"Array",proto:!0,forced:!a("reduce")||!o&&s>79&&s<83},{reduce:function(t){var e=arguments.length;return r(this,t,e,e>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(0),r=n(243).right,a=n(96),s=n(110),o=n(145);i({target:"Array",proto:!0,forced:!a("reduceRight")||!o&&s>79&&s<83},{reduceRight:function(t){return r(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(123),s=r([].reverse),o=[1,2];i({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),s(this)}})},function(t,e,n){"use strict";var i=n(0),r=n(123),a=n(133),s=n(12),o=n(95),l=n(31),c=n(52),u=n(102),d=n(11),h=n(204),p=n(144),f=h("slice"),m=d("species"),g=Array,v=Math.max;i({target:"Array",proto:!0,forced:!f},{slice:function(t,e){var n,i,d,h=c(this),f=l(h),_=o(t,f),y=o(void 0===e?f:e,f);if(r(h)&&(n=h.constructor,(a(n)&&(n===g||r(n.prototype))||s(n)&&null===(n=n[m]))&&(n=void 0),n===g||void 0===n))return p(h,_,y);for(i=new(void 0===n?g:n)(v(y-_,0)),d=0;_<y;_++,d++)_ in h&&u(i,d,h[_]);return i.length=d,i}})},function(t,e,n){"use strict";var i=n(0),r=n(49).some;i({target:"Array",proto:!0,forced:!n(96)("some")},{some:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){n(146)("Array")},function(t,e,n){"use strict";var i=n(0),r=n(26),a=n(95),s=n(39),o=n(31),l=n(309),c=n(177),u=n(102),d=n(310),h=n(204)("splice"),p=Math.max,f=Math.min;i({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var n,i,h,m,g,v,_=r(this),y=o(_),b=a(t,y),x=arguments.length;for(0===x?n=i=0:1===x?(n=0,i=y-b):(n=x-2,i=f(p(s(e),0),y-b)),l(y+n-i),h=c(_,i),m=0;m<i;m++)(g=b+m)in _&&u(h,m,_[g]);if(h.length=i,n<i){for(m=b;m<y-i;m++)v=m+n,(g=m+i)in _?_[v]=_[g]:d(_,v);for(m=y;m>y-i+n;m--)d(_,m-1)}else if(n>i)for(m=y-i;m>b;m--)v=m+n-1,(g=m+i-1)in _?_[v]=_[g]:d(_,v);for(m=0;m<n;m++)_[m+b]=arguments[m+2];return _.length=y-i+n,h}})},function(t,e,n){n(111)("flat")},function(t,e,n){n(111)("flatMap")},function(t,e,n){"use strict";var i=n(0),r=n(6),a=n(244),s=n(146),o=a.ArrayBuffer;i({global:!0,constructor:!0,forced:r.ArrayBuffer!==o},{ArrayBuffer:o}),s("ArrayBuffer")},function(t,e){var n=Array,i=Math.abs,r=Math.pow,a=Math.floor,s=Math.log,o=Math.LN2;t.exports={pack:function(t,e,l){var c,u,d,h=n(l),p=8*l-e-1,f=(1<<p)-1,m=f>>1,g=23===e?r(2,-24)-r(2,-77):0,v=t<0||0===t&&1/t<0?1:0,_=0;for((t=i(t))!=t||t===1/0?(u=t!=t?1:0,c=f):(c=a(s(t)/o),t*(d=r(2,-c))<1&&(c--,d*=2),(t+=c+m>=1?g/d:g*r(2,1-m))*d>=2&&(c++,d/=2),c+m>=f?(u=0,c=f):c+m>=1?(u=(t*d-1)*r(2,e),c+=m):(u=t*r(2,m-1)*r(2,e),c=0));e>=8;)h[_++]=255&u,u/=256,e-=8;for(c=c<<e|u,p+=e;p>0;)h[_++]=255&c,c/=256,p-=8;return h[--_]|=128*v,h},unpack:function(t,e){var n,i=t.length,a=8*i-e-1,s=(1<<a)-1,o=s>>1,l=a-7,c=i-1,u=t[c--],d=127&u;for(u>>=7;l>0;)d=256*d+t[c--],l-=8;for(n=d&(1<<-l)-1,d>>=-l,l+=e;l>0;)n=256*n+t[c--],l-=8;if(0===d)d=1-o;else{if(d===s)return n?NaN:u?-1/0:1/0;n+=r(2,e),d-=o}return(u?-1:1)*n*r(2,d-e)}}},function(t,e,n){var i=n(0),r=n(23);i({target:"ArrayBuffer",stat:!0,forced:!r.NATIVE_ARRAY_BUFFER_VIEWS},{isView:r.isView})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(2),s=n(244),o=n(8),l=n(95),c=n(61),u=n(143),d=s.ArrayBuffer,h=s.DataView,p=h.prototype,f=r(d.prototype.slice),m=r(p.getUint8),g=r(p.setUint8);i({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:a((function(){return!new d(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(f&&void 0===e)return f(o(this),t);for(var n=o(this).byteLength,i=l(t,n),r=l(void 0===e?n:e,n),a=new(u(this,d))(c(r-i)),s=new h(this),p=new h(a),v=0;i<r;)g(p,v++,m(s,i++));return a}})},function(t,e,n){n(551)},function(t,e,n){var i=n(0),r=n(244);i({global:!0,constructor:!0,forced:!n(316)},{DataView:r.DataView})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(2)((function(){return 120!==new Date(16e11).getYear()})),s=r(Date.prototype.getFullYear);i({target:"Date",proto:!0,forced:a},{getYear:function(){return s(this)-1900}})},function(t,e,n){var i=n(0),r=n(3),a=Date,s=r(a.prototype.getTime);i({target:"Date",stat:!0},{now:function(){return s(new a)}})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(39),s=Date.prototype,o=r(s.getTime),l=r(s.setFullYear);i({target:"Date",proto:!0},{setYear:function(t){o(this);var e=a(t);return l(this,0<=e&&e<=99?e+1900:e)}})},function(t,e,n){n(0)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},function(t,e,n){var i=n(0),r=n(557);i({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},function(t,e,n){"use strict";var i=n(3),r=n(2),a=n(317).start,s=RangeError,o=Math.abs,l=Date.prototype,c=l.toISOString,u=i(l.getTime),d=i(l.getUTCDate),h=i(l.getUTCFullYear),p=i(l.getUTCHours),f=i(l.getUTCMilliseconds),m=i(l.getUTCMinutes),g=i(l.getUTCMonth),v=i(l.getUTCSeconds);t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-50000000000001))}))||!r((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(u(this)))throw s("Invalid time value");var t=h(this),e=f(this),n=t<0?"-":t>9999?"+":"";return n+a(o(t),n?6:4,0)+"-"+a(g(this)+1,2,0)+"-"+a(d(this),2,0)+"T"+a(p(this),2,0)+":"+a(m(this),2,0)+":"+a(v(this),2,0)+"."+a(e,3,0)+"Z"}:c},function(t,e,n){"use strict";var i=n(0),r=n(2),a=n(26),s=n(185);i({target:"Date",proto:!0,arity:1,forced:r((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=a(this),n=s(e,"number");return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var i=n(13),r=n(28),a=n(560),s=n(11)("toPrimitive"),o=Date.prototype;i(o,s)||r(o,s,a)},function(t,e,n){"use strict";var i=n(8),r=n(295),a=TypeError;t.exports=function(t){if(i(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw a("Incorrect hint");return r(this,t)}},function(t,e,n){var i=n(3),r=n(28),a=Date.prototype,s=i(a.toString),o=i(a.getTime);"Invalid Date"!=String(new Date(NaN))&&r(a,"toString",(function(){var t=o(this);return t==t?s(this):"Invalid Date"}))},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(14),s=r("".charAt),o=r("".charCodeAt),l=r(/./.exec),c=r(1..toString),u=r("".toUpperCase),d=/[\w*+\-./@]/,h=function(t,e){for(var n=c(t,16);n.length<e;)n="0"+n;return n};i({global:!0},{escape:function(t){for(var e,n,i=a(t),r="",c=i.length,p=0;p<c;)e=s(i,p++),l(d,e)?r+=e:r+=(n=o(e,0))<256?"%"+h(n,2):"%u"+u(h(n,4));return r}})},function(t,e,n){var i=n(0),r=n(396);i({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})},function(t,e,n){"use strict";var i=n(9),r=n(12),a=n(21),s=n(82),o=n(11),l=n(236),c=o("hasInstance"),u=Function.prototype;c in u||a.f(u,c,{value:l((function(t){if(!i(this)||!r(t))return!1;var e=this.prototype;if(!r(e))return t instanceof this;for(;t=s(t);)if(e===t)return!0;return!1}),c)})},function(t,e,n){n(0)({global:!0},{globalThis:n(6)})},function(t,e,n){var i=n(6);n(78)(i.JSON,"JSON",!0)},function(t,e,n){n(568)},function(t,e,n){"use strict";n(246)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(397))},function(t,e,n){var i=n(0),r=n(398),a=Math.acosh,s=Math.log,o=Math.sqrt,l=Math.LN2;i({target:"Math",stat:!0,forced:!a||710!=Math.floor(a(Number.MAX_VALUE))||a(1/0)!=1/0},{acosh:function(t){var e=+t;return e<1?NaN:e>94906265.62425156?s(e)+l:r(e-1+o(e-1)*o(e+1))}})},function(t,e,n){var i=n(0),r=Math.asinh,a=Math.log,s=Math.sqrt;i({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function t(e){var n=+e;return isFinite(n)&&0!=n?n<0?-t(-n):a(n+s(n*n+1)):n}})},function(t,e,n){var i=n(0),r=Math.atanh,a=Math.log;i({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(t){var e=+t;return 0==e?e:a((1+e)/(1-e))/2}})},function(t,e,n){var i=n(0),r=n(319),a=Math.abs,s=Math.pow;i({target:"Math",stat:!0},{cbrt:function(t){var e=+t;return r(e)*s(a(e),1/3)}})},function(t,e,n){var i=n(0),r=Math.floor,a=Math.log,s=Math.LOG2E;i({target:"Math",stat:!0},{clz32:function(t){var e=t>>>0;return e?31-r(a(e+.5)*s):32}})},function(t,e,n){var i=n(0),r=n(248),a=Math.cosh,s=Math.abs,o=Math.E;i({target:"Math",stat:!0,forced:!a||a(710)===1/0},{cosh:function(t){var e=r(s(t)-1)+1;return(e+1/(e*o*o))*(o/2)}})},function(t,e,n){var i=n(0),r=n(248);
124i({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},function(t,e,n){n(0)({target:"Math",stat:!0},{fround:n(577)})},function(t,e,n){var i=n(319),r=Math.abs,a=Math.pow,s=a(2,-52),o=a(2,-23),l=a(2,127)*(2-o),c=a(2,-126);t.exports=Math.fround||function(t){var e,n,a=+t,u=r(a),d=i(a);return u<c?d*function(t){return t+1/s-1/s}(u/c/o)*c*o:(n=(e=(1+o/s)*u)-(e-u))>l||n!=n?d*(1/0):d*n}},function(t,e,n){var i=n(0),r=Math.hypot,a=Math.abs,s=Math.sqrt;i({target:"Math",stat:!0,arity:2,forced:!!r&&r(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,i,r=0,o=0,l=arguments.length,c=0;o<l;)c<(n=a(arguments[o++]))?(r=r*(i=c/n)*i+1,c=n):r+=n>0?(i=n/c)*i:n;return c===1/0?1/0:c*s(r)}})},function(t,e,n){var i=n(0),r=n(2),a=Math.imul;i({target:"Math",stat:!0,forced:r((function(){return-5!=a(4294967295,5)||2!=a.length}))},{imul:function(t,e){var n=+t,i=+e,r=65535&n,a=65535&i;return 0|r*a+((65535&n>>>16)*a+r*(65535&i>>>16)<<16>>>0)}})},function(t,e,n){n(0)({target:"Math",stat:!0},{log10:n(399)})},function(t,e,n){n(0)({target:"Math",stat:!0},{log1p:n(398)})},function(t,e,n){var i=n(0),r=Math.log,a=Math.LN2;i({target:"Math",stat:!0},{log2:function(t){return r(t)/a}})},function(t,e,n){n(0)({target:"Math",stat:!0},{sign:n(319)})},function(t,e,n){var i=n(0),r=n(2),a=n(248),s=Math.abs,o=Math.exp,l=Math.E;i({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){var e=+t;return s(e)<1?(a(e)-a(-e))/2:(o(e-1)-o(-e-1))*(l/2)}})},function(t,e,n){var i=n(0),r=n(248),a=Math.exp;i({target:"Math",stat:!0},{tanh:function(t){var e=+t,n=r(e),i=r(-e);return n==1/0?1:i==1/0?-1:(n-i)/(a(e)+a(-e))}})},function(t,e,n){n(78)(Math,"Math",!0)},function(t,e,n){n(0)({target:"Math",stat:!0},{trunc:n(297)})},function(t,e,n){n(0)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(t,e,n){n(0)({target:"Number",stat:!0},{isFinite:n(590)})},function(t,e,n){var i=n(6).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&i(t)}},function(t,e,n){n(0)({target:"Number",stat:!0},{isInteger:n(320)})},function(t,e,n){n(0)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},function(t,e,n){var i=n(0),r=n(320),a=Math.abs;i({target:"Number",stat:!0},{isSafeInteger:function(t){return r(t)&&a(t)<=9007199254740991}})},function(t,e,n){n(0)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){n(0)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var i=n(0),r=n(400);i({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},function(t,e,n){var i=n(0),r=n(401);i({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(39),s=n(207),o=n(245),l=n(399),c=n(2),u=RangeError,d=String,h=isFinite,p=Math.abs,f=Math.floor,m=Math.pow,g=Math.round,v=r(1..toExponential),_=r(o),y=r("".slice),b="-6.9000e-11"===v(-69e-12,4)&&"1.25e+0"===v(1.255,2)&&"1.235e+4"===v(12345,3)&&"3e+1"===v(25,0),x=c((function(){v(1,1/0)}))&&c((function(){v(1,-1/0)})),w=!c((function(){v(1/0,1/0)}))&&!c((function(){v(NaN,1/0)}));i({target:"Number",proto:!0,forced:!b||!x||!w},{toExponential:function(t){var e=s(this);if(void 0===t)return v(e);var n=a(t);if(!h(e))return String(e);if(n<0||n>20)throw u("Incorrect fraction digits");if(b)return v(e,n);var i="",r="",o=0,c="",x="";if(e<0&&(i="-",e=-e),0===e)o=0,r=_("0",n+1);else{var w=l(e);o=f(w);var M=0,S=m(10,o-n);2*e>=(2*(M=g(e/S))+1)*S&&(M+=1),M>=m(10,n+1)&&(M/=10,o+=1),r=d(M)}return 0!==n&&(r=y(r,0,1)+"."+y(r,1)),0===o?(c="+",x="0"):(c=o>0?"+":"-",x=d(p(o))),i+(r+="e"+c+x)}})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(39),s=n(207),o=n(245),l=n(2),c=RangeError,u=String,d=Math.floor,h=r(o),p=r("".slice),f=r(1..toFixed),m=function(t,e,n){return 0===e?n:e%2==1?m(t,e-1,n*t):m(t*t,e/2,n)},g=function(t,e,n){for(var i=-1,r=n;++i<6;)r+=e*t[i],t[i]=r%1e7,r=d(r/1e7)},v=function(t,e){for(var n=6,i=0;--n>=0;)i+=t[n],t[n]=d(i/e),i=i%e*1e7},_=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var i=u(t[e]);n=""===n?i:n+h("0",7-i.length)+i}return n};i({target:"Number",proto:!0,forced:l((function(){return"0.000"!==f(8e-5,3)||"1"!==f(.9,0)||"1.25"!==f(1.255,2)||"1000000000000000128"!==f(0xde0b6b3a7640080,0)}))||!l((function(){f({})}))},{toFixed:function(t){var e,n,i,r,o=s(this),l=a(t),d=[0,0,0,0,0,0],f="",
vendor: 12,557 bytes, line 124
124y="0";if(l<0||l>20)throw c("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return u(o);if(o<0&&(f="-",o=-o),o>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(o*m(2,69,1))-69)<0?o*m(2,-e,1):o/m(2,e,1),n*=4503599627370496,(e=52-e)>0){for(g(d,0,n),i=l;i>=7;)g(d,1e7,0),i-=7;for(g(d,m(10,i,1),0),i=e-1;i>=23;)v(d,1<<23),i-=23;v(d,1<<i),g(d,1,1),v(d,2),y=_(d)}else g(d,0,n),g(d,1<<-e,0),y=_(d)+h("0",l);return y=l>0?f+((r=y.length)<=l?"0."+h("0",l-r)+y:p(y,0,r-l)+"."+p(y,r-l)):f+y}})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(2),s=n(207),o=r(1..toPrecision);i({target:"Number",proto:!0,forced:a((function(){return"1"!==o(1,void 0)}))||!a((function(){o({})}))},{toPrecision:function(t){return void 0===t?o(s(this)):o(s(this),t)}})},function(t,e,n){var i=n(0),r=n(402);i({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},function(t,e,n){n(0)({target:"Object",stat:!0,sham:!n(7)},{create:n(68)})},function(t,e,n){"use strict";var i=n(0),r=n(7),a=n(249),s=n(42),o=n(26),l=n(21);r&&i({target:"Object",proto:!0,forced:a},{__defineGetter__:function(t,e){l.f(o(this),t,{get:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var i=n(0),r=n(7),a=n(238).f;i({target:"Object",stat:!0,forced:Object.defineProperties!==a,sham:!r},{defineProperties:a})},function(t,e,n){var i=n(0),r=n(7),a=n(21).f;i({target:"Object",stat:!0,forced:Object.defineProperty!==a,sham:!r},{defineProperty:a})},function(t,e,n){"use strict";var i=n(0),r=n(7),a=n(249),s=n(42),o=n(26),l=n(21);r&&i({target:"Object",proto:!0,forced:a},{__defineSetter__:function(t,e){l.f(o(this),t,{set:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var i=n(0),r=n(403).entries;i({target:"Object",stat:!0},{entries:function(t){return r(t)}})},function(t,e,n){var i=n(0),r=n(206),a=n(2),s=n(12),o=n(147).onFreeze,l=Object.freeze;i({target:"Object",stat:!0,forced:a((function(){l(1)})),sham:!r},{freeze:function(t){return l&&s(t)?l(o(t)):t}})},function(t,e,n){var i=n(0),r=n(103),a=n(102);i({target:"Object",stat:!0},{fromEntries:function(t){var e={};return r(t,(function(t,n){a(e,t,n)}),{AS_ENTRIES:!0}),e}})},function(t,e,n){var i=n(0),r=n(2),a=n(52),s=n(48).f,o=n(7),l=r((function(){s(1)}));i({target:"Object",stat:!0,forced:!o||l,sham:!o},{getOwnPropertyDescriptor:function(t,e){return s(a(t),e)}})},function(t,e,n){var i=n(0),r=n(7),a=n(237),s=n(52),o=n(48),l=n(102);i({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var e,n,i=s(t),r=o.f,c=a(i),u={},d=0;c.length>d;)void 0!==(n=r(i,e=c[d++]))&&l(u,e,n);return u}})},function(t,e,n){var i=n(0),r=n(2),a=n(303).f;i({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:a})},function(t,e,n){var i=n(0),r=n(2),a=n(26),s=n(82),o=n(307);i({target:"Object",stat:!0,forced:r((function(){s(1)})),sham:!o},{getPrototypeOf:function(t){return s(a(t))}})},function(t,e,n){n(0)({target:"Object",stat:!0},{hasOwn:n(13)})},function(t,e,n){n(0)({target:"Object",stat:!0},{is:n(404)})},function(t,e,n){var i=n(0),r=n(247);i({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},function(t,e,n){var i=n(0),r=n(2),a=n(12),s=n(56),o=n(318),l=Object.isFrozen;i({target:"Object",stat:!0,forced:r((function(){l(1)}))||o},{isFrozen:function(t){return!a(t)||(!(!o||"ArrayBuffer"!=s(t))||!!l&&l(t))}})},function(t,e,n){var i=n(0),r=n(2),a=n(12),s=n(56),o=n(318),l=Object.isSealed;i({target:"Object",stat:!0,forced:r((function(){l(1)}))||o},{isSealed:function(t){return!a(t)||(!(!o||"ArrayBuffer"!=s(t))||!!l&&l(t))}})},function(t,e,n){var i=n(0),r=n(26),a=n(175);i({target:"Object",stat:!0,forced:n(2)((function(){a(1)}))},{keys:function(t){return a(r(t))}})},function(t,e,n){"use strict";var i=n(0),r=n(7),a=n(249),s=n(26),o=n(99),l=n(82),c=n(48).f;r&&i({target:"Object",proto:!0,forced:a},{__lookupGetter__:function(t){var e,n=s(this),i=o(t);do{if(e=c(n,i))return e.get}while(n=l(n))}})},function(t,e,n){"use strict";var i=n(0),r=n(7),a=n(249),s=n(26),o=n(99),l=n(82),c=n(48).f;r&&i({target:"Object",proto:!0,forced:a},{__lookupSetter__:function(t){var e,n=s(this),i=o(t);do{if(e=c(n,i))return e.set}while(n=l(n))}})},function(t,e,n){var i=n(0),r=n(12),a=n(147).onFreeze,s=n(206),o=n(2),l=Object.preventExtensions;i({target:"Object",stat:!0,forced:o((function(){l(1)})),sham:!s},{preventExtensions:function(t){return l&&r(t)?l(a(t)):t}})},function(t,e,n){var i=n(0),r=n(12),a=n(147).onFreeze,s=n(206),o=n(2),l=Object.seal;i({target:"Object",stat:!0,forced:o((function(){l(1)})),sham:!s},{seal:function(t){return l&&r(t)?l(a(t)):t}})},function(t,e,n){n(0)({target:"Object",stat:!0},{setPrototypeOf:n(91)})},function(t,e,n){var i=n(0),r=n(403).values;i({target:"Object",stat:!0},{values:function(t){return r(t)}})},function(t,e,n){var i=n(0),r=n(400);i({global:!0,forced:parseFloat!=r},{parseFloat:r})},function(t,e,n){var i=n(0),r=n(401);i({global:!0,forced:parseInt!=r},{parseInt:r})},function(t,e,n){"use strict";var i,r,a,s=n(0),o=n(36),l=n(145),c=n(6),u=n(10),d=n(28),h=n(91),p=n(78),f=n(146),m=n(42),g=n(9),v=n(12),_=n(104),y=n(143),b=n(250).set,x=n(406),w=n(631),M=n(209),S=n(632),T=n(41),A=n(178),L=n(210),E=n(149),C=L.CONSTRUCTOR,I=L.REJECTION_EVENT,D=L.SUBCLASSING,k=T.getterFor("Promise"),O=T.set,R=A&&A.prototype,P=A,N=R,Y=c.TypeError,F=c.document,H=c.process,j=E.f,B=j,z=!!(F&&F.createEvent&&c.dispatchEvent),U=function(t){var e;return!(!v(t)||!g(e=t.then))&&e},V=function(t,e){var n,i,r,a=e.value,s=1==e.state,o=s?t.ok:t.fail,l=t.resolve,c=t.reject,d=t.domain;try{o?(s||(2===e.rejection&&$(e),e.rejection=1),!0===o?n=a:(d&&d.enter(),n=o(a),d&&(d.exit(),r=!0)),n===t.promise?c(Y("Promise-chain cycle")):(i=U(n))?u(i,n,l,c):l(n)):c(a)}catch(t){d&&!r&&d.exit(),c(t)}},W=function(t,e){t.notified||(t.notified=!0,x((function(){for(var n,i=t.reactions;n=i.get();)V(n,t);t.notified=!1,e&&!t.rejection&&q(t)})))},G=function(t,e,n){var i,r;z?((i=F.createEvent("Event")).promise=e,i.reason=n,i.initEvent(t,!1,!0),c.dispatchEvent(i)):i={promise:e,reason:n},!I&&(r=c["on"+t])?r(i):"unhandledrejection"===t&&w("Unhandled promise rejection",n)},q=function(t){u(b,c,(function(){var e,n=t.facade,i=t.value;if(X(t)&&(e=M((function(){l?H.emit("unhandledRejection",i,n):G("unhandledrejection",n,i)})),t.rejection=l||X(t)?2:1,e.error))throw e.value}))},X=function(t){return 1!==t.rejection&&!t.parent},$=function(t){u(b,c,(function(){var e=t.facade;l?H.emit("rejectionHandled",e):G("rejectionhandled",e,t.value)}))},K=function(t,e,n){return function(i){t(e,i,n)}},J=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Y("Promise can't be resolved itself");var i=U(e);i?x((function(){var n={done:!1};try{u(i,e,K(Q,n,t),K(J,n,t))}catch(e){J(n,e,t)}})):(t.value=e,t.state=1,W(t,!1))}catch(e){J({done:!1},e,t)}}};if(C&&(N=(P=function(t){_(this,N),m(t),u(i,this);var e=k(this);try{t(K(Q,e),K(J,e))}catch(t){J(e,t)}}).prototype,(i=function(t){O(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=d(N,"then",(function(t,e){var n=k(this),i=j(y(this,P));return n.parent=!0,i.ok=!g(t)||t,i.fail=g(e)&&e,i.domain=l?H.domain:void 0,0==n.state?n.reactions.add(i):x((function(){V(i,n)})),i.promise})),r=function(){var t=new i,e=k(t);this.promise=t,this.resolve=K(Q,e),this.reject=K(J,e)},E.f=j=function(t){return t===P||void 0===t?new r(t):B(t)},!o&&g(A)&&R!==Object.prototype)){a=R.then,D||d(R,"then",(function(t,e){var n=this;return new P((function(t,e){u(a,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete R.constructor}catch(t){}h&&h(R,N)}s({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:P}),p(P,"Promise",!1,!0),f("Promise")},function(t,e,n){var i=n(100),r=n(6);t.exports=/ipad|iphone|ipod/i.test(i)&&void 0!==r.Pebble},function(t,e,n){var i=n(100);t.exports=/web0s(?!.*chrome)/i.test(i)},function(t,e,n){var i=n(6);t.exports=function(t,e){var n=i.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},function(t,e){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=n},function(t,e){t.exports="object"==typeof window&&"object"!=typeof Deno},function(t,e,n){"use strict";var i=n(0),r=n(10),a=n(42),s=n(149),o=n(209),l=n(103);i({target:"Promise",stat:!0,forced:n(407)},{all:function(t){var e=this,n=s.f(e),i=n.resolve,c=n.reject,u=o((function(){var n=a(e.resolve),s=[],o=0,u=1;l(t,(function(t){var a=o++,l=!1;u++,r(n,e,t).then((function(t){l||(l=!0,s[a]=t,--u||i(s))}),c)})),--u||i(s)}));return u.error&&c(u.value),n.promise}})},function(t,e,n){"use strict";var i=n(0),r=n(36),a=n(210).CONSTRUCTOR,s=n(178),o=n(27),l=n(9),c=n(28),u=s&&s.prototype;if(i({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(t){return this.then(void 0,t)}}),!r&&l(s)){var d=o("Promise").prototype.catch;u.catch!==d&&c(u,"catch",d,{unsafe:!0})}},function(t,e,n){"use strict";var i=n(0),r=n(10),a=n(42),s=n(149),o=n(209),l=n(103);i({target:"Promise",stat:!0,forced:n(407)},{race:function(t){var e=this,n=s.f(e),i=n.reject,c=o((function(){var s=a(e.resolve);l(t,(function(t){r(s,e,t).then(n.resolve,i)}))}));return c.error&&i(c.value),n.promise}})},function(t,e,n){"use strict";var i=n(0),r=n(10),a=n(149);i({target:"Promise",stat:!0,forced:n(210).CONSTRUCTOR},{reject:function(t){var e=a.f(this);return r(e.reject,void 0,t),e.promise}})},function(t,e,n){"use strict";var i=n(0),r=n(27),a=n(36),s=n(178),o=n(210).CONSTRUCTOR,l=n(408),c=r("Promise"),u=a&&!o;i({target:"Promise",stat:!0,forced:a||o},{resolve:function(t){return l(u&&this===c?s:this,t)}})},function(t,e,n){"use strict";var i=n(0),r=n(10),a=n(42),s=n(149),o=n(209),l=n(103);i({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=s.f(e),i=n.resolve,c=n.reject,u=o((function(){var n=a(e.resolve),s=[],o=0,c=1;l(t,(function(t){var a=o++,l=!1;c++,r(n,e,t).then((function(t){l||(l=!0,s[a]={status:"fulfilled",value:t},--c||i(s))}),(function(t){l||(l=!0,s[a]={status:"rejected",reason:t},--c||i(s))}))})),--c||i(s)}));return u.error&&c(u.value),n.promise}})},function(t,e,n){"use strict";var i=n(0),r=n(10),a=n(42),s=n(27),o=n(149),l=n(209),c=n(103);i({target:"Promise",stat:!0},{any:function(t){var e=this,n=s("AggregateError"),i=o.f(e),u=i.resolve,d=i.reject,h=l((function(){var i=a(e.resolve),s=[],o=0,l=1,h=!1;c(t,(function(t){var a=o++,c=!1;l++,r(i,e,t).then((function(t){c||h||(h=!0,u(t))}),(function(t){c||h||(c=!0,s[a]=t,--l||d(new n(s,"No one promise resolved")))}))})),--l||d(new n(s,"No one promise resolved"))}));return h.error&&d(h.value),i.promise}})},function(t,e,n){"use strict";var i=n(0),r=n(36),a=n(178),s=n(2),o=n(27),l=n(9),c=n(143),u=n(408),d=n(28),h=a&&a.prototype;if(i({target:"Promise",proto:!0,real:!0,forced:!!a&&s((function(){h.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=c(this,o("Promise")),n=l(t);return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),!r&&l(a)){var p=o("Promise").prototype.finally;h.finally!==p&&d(h,"finally",p,{unsafe:!0})}},function(t,e,n){var i=n(0),r=n(73),a=n(42),s=n(8);i({target:"Reflect",stat:!0,forced:!n(2)((function(){Reflect.apply((function(){}))}))},{apply:function(t,e,n){return r(a(t),e,s(n))}})},function(t,e,n){var i=n(0),r=n(27),a=n(73),s=n(396),o=n(239),l=n(8),c=n(12),u=n(68),d=n(2),h=r("Reflect","construct"),p=Object.prototype,f=[].push,m=d((function(){function t(){}return!(h((function(){}),[],t)instanceof t)})),g=!d((function(){h((function(){}))})),v=m||g;i({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){o(t),l(e);var n=arguments.length<3?t:o(arguments[2]);if(g&&!m)return h(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return a(f,i,e),new(a(s,t,i))}var r=n.prototype,d=u(c(r)?r:p),v=a(t,d,e);return c(v)?v:d}})},function(t,e,n){var i=n(0),r=n(7),a=n(8),s=n(99),o=n(21);i({target:"Reflect",stat:!0,forced:n(2)((function(){Reflect.defineProperty(o.f({},1,{value:1}),1,{value:2})})),sham:!r},{defineProperty:function(t,e,n){a(t);var i=s(e);a(n);try{return o.f(t,i,n),!0}catch(t){return!1}}})},function(t,e,n){var i=n(0),r=n(8),a=n(48).f;i({target:"Reflect",stat:!0}
124,{deleteProperty:function(t,e){var n=a(r(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){var i=n(0),r=n(10),a=n(12),s=n(8),o=n(409),l=n(48),c=n(82);i({target:"Reflect",stat:!0},{get:function t(e,n){var i,u,d=arguments.length<3?e:arguments[2];return s(e)===d?e[n]:(i=l.f(e,n))?o(i)?i.value:void 0===i.get?void 0:r(i.get,d):a(u=c(e))?t(u,n,d):void 0}})},function(t,e,n){var i=n(0),r=n(7),a=n(8),s=n(48);i({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(t,e){return s.f(a(t),e)}})},function(t,e,n){var i=n(0),r=n(8),a=n(82);i({target:"Reflect",stat:!0,sham:!n(307)},{getPrototypeOf:function(t){return a(r(t))}})},function(t,e,n){n(0)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},function(t,e,n){var i=n(0),r=n(8),a=n(247);i({target:"Reflect",stat:!0},{isExtensible:function(t){return r(t),a(t)}})},function(t,e,n){n(0)({target:"Reflect",stat:!0},{ownKeys:n(237)})},function(t,e,n){var i=n(0),r=n(27),a=n(8);i({target:"Reflect",stat:!0,sham:!n(206)},{preventExtensions:function(t){a(t);try{var e=r("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}})},function(t,e,n){var i=n(0),r=n(10),a=n(8),s=n(12),o=n(409),l=n(2),c=n(21),u=n(48),d=n(82),h=n(67);i({target:"Reflect",stat:!0,forced:l((function(){var t=function(){},e=c.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)}))},{set:function t(e,n,i){var l,p,f,m=arguments.length<4?e:arguments[3],g=u.f(a(e),n);if(!g){if(s(p=d(e)))return t(p,n,i,m);g=h(0)}if(o(g)){if(!1===g.writable||!s(m))return!1;if(l=u.f(m,n)){if(l.get||l.set||!1===l.writable)return!1;l.value=i,c.f(m,n,l)}else c.f(m,n,h(0,i))}else{if(void 0===(f=g.set))return!1;r(f,m,i)}return!0}})},function(t,e,n){var i=n(0),r=n(8),a=n(304),s=n(91);s&&i({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){r(t),a(e);try{return s(t,e),!0}catch(t){return!1}}})},function(t,e,n){var i=n(0),r=n(6),a=n(78);i({global:!0},{Reflect:{}}),a(r.Reflect,"Reflect",!0)},function(t,e,n){var i=n(7),r=n(224),a=n(56),s=n(211),o=n(41).get,l=RegExp.prototype,c=TypeError;i&&r&&s(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===a(this))return!!o(this).dotAll;throw c("Incompatible receiver, RegExp required")}}})},function(t,e,n){var i=n(7),r=n(211),a=n(223),s=n(2),o=RegExp.prototype;i&&s((function(){return"sy"!==Object.getOwnPropertyDescriptor(o,"flags").get.call({dotAll:!0,sticky:!0})}))&&r(o,"flags",{configurable:!0,get:a})},function(t,e,n){var i=n(7),r=n(174).MISSED_STICKY,a=n(56),s=n(211),o=n(41).get,l=RegExp.prototype,c=TypeError;i&&r&&s(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===a(this))return!!o(this).sticky;throw c("Incompatible receiver, RegExp required")}}})},function(t,e,n){"use strict";n(47);var i,r,a=n(0),s=n(10),o=n(3),l=n(9),c=n(12),u=(i=!1,(r=/[ac]/).exec=function(){return i=!0,/./.exec.apply(this,arguments)},!0===r.test("abc")&&i),d=TypeError,h=o(/./.test);a({target:"RegExp",proto:!0,forced:!u},{test:function(t){var e=this.exec;if(!l(e))return h(this,t);var n=s(e,this,t);if(null!==n&&!c(n))throw new d("RegExp exec method returned something other than an Object or null");return!!n}})},function(t,e,n){n(661)},function(t,e,n){"use strict";n(246)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(397))},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(33),s=n(39),o=n(14),l=n(2),c=r("".charAt);i({target:"String",proto:!0,forced:l((function(){return"\ud842"!=="ð ®·".at(-2)}))},{at:function(t){var e=o(a(this)),n=e.length,i=s(t),r=i>=0?i:n+i;return r<0||r>=n?void 0:c(e,r)}})},function(t,e,n){"use strict";var i=n(0),r=n(200).codeAt;i({target:"String",proto:!0},{codePointAt:function(t){return r(this,t)}})},function(t,e,n){"use strict";var i,r=n(0),a=n(3),s=n(48).f,o=n(61),l=n(14),c=n(321),u=n(33),d=n(322),h=n(36),p=a("".endsWith),f=a("".slice),m=Math.min,g=d("endsWith");r({target:"String",proto:!0,forced:!!(h||g||(i=s(String.prototype,"endsWith"),!i||i.writable))&&!g},{endsWith:function(t){var e=l(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,i=e.length,r=void 0===n?i:m(o(n),i),a=l(t);return p?p(e,a,r):f(e,r-a.length,r)===a}})},function(t,e,n){var i=n(0),r=n(3),a=n(95),s=RangeError,o=String.fromCharCode,l=String.fromCodePoint,c=r([].join);i({target:"String",stat:!0,arity:1,forced:!!l&&1!=l.length},{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,r=0;i>r;){if(e=+arguments[r++],a(e,1114111)!==e)throw s(e+" is not a valid code point");n[r]=e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320)}return c(n,"")}})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(321),s=n(33),o=n(14),l=n(322),c=r("".indexOf);i({target:"String",proto:!0,forced:!l("includes")}
124,{includes:function(t){return!!~c(o(s(this)),o(a(t)),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(0),r=n(10),a=n(3),s=n(313),o=n(33),l=n(61),c=n(14),u=n(8),d=n(56),h=n(158),p=n(160),f=n(88),m=n(28),g=n(2),v=n(11),_=n(143),y=n(188),b=n(157),x=n(41),w=n(36),M=v("matchAll"),S=x.set,T=x.getterFor("RegExp String Iterator"),A=RegExp.prototype,L=TypeError,E=a("".indexOf),C=a("".matchAll),I=!!C&&!g((function(){C("a",/./)})),D=s((function(t,e,n,i){S(this,{type:"RegExp String Iterator",regexp:t,string:e,global:n,unicode:i,done:!1})}),"RegExp String",(function(){var t=T(this);if(t.done)return{value:void 0,done:!0};var e=t.regexp,n=t.string,i=b(e,n);return null===i?{value:void 0,done:t.done=!0}:t.global?(""===c(i[0])&&(e.lastIndex=y(n,l(e.lastIndex),t.unicode)),{value:i,done:!1}):(t.done=!0,{value:i,done:!1})})),k=function(t){var e,n,i,r=u(this),a=c(t),s=_(r,RegExp),o=c(p(r));return e=new s(s===RegExp?r.source:r,o),n=!!~E(o,"g"),i=!!~E(o,"u"),e.lastIndex=l(r.lastIndex),new D(e,a,n,i)};i({target:"String",proto:!0,forced:I},{matchAll:function(t){var e,n,i,a,s=o(this);if(null!=t){if(h(t)&&(e=c(o(p(t))),!~E(e,"g")))throw L("`.matchAll` does not allow non-global regexes");if(I)return C(s,t);if(void 0===(i=f(t,M))&&w&&"RegExp"==d(t)&&(i=k),i)return r(i,t,s)}else if(I)return C(s,t);return n=c(s),a=new RegExp(t,"g"),w?r(k,a,n):a[M](n)}}),w||M in A||m(A,M,k)},function(t,e,n){"use strict";var i=n(0),r=n(317).end;i({target:"String",proto:!0,forced:n(410)},{padEnd:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(0),r=n(317).start;i({target:"String",proto:!0,forced:n(410)},{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(0),r=n(3),a=n(52),s=n(26),o=n(14),l=n(31),c=r([].push),u=r([].join);i({target:"String",stat:!0},{raw:function(t){for(var e=a(s(t).raw),n=l(e),i=arguments.length,r=[],d=0;n>d;){if(c(r,o(e[d++])),d===n)return u(r,"");d<i&&c(r,o(arguments[d]))}}})},function(t,e,n){n(0)({target:"String",proto:!0},{repeat:n(245)})},function(t,e,n){"use strict";var i=n(0),r=n(10),a=n(3),s=n(33),o=n(9),l=n(158),c=n(14),u=n(88),d=n(160),h=n(299),p=n(11),f=n(36),m=p("replace"),g=TypeError,v=a("".indexOf),_=a("".replace),y=a("".slice),b=Math.max,x=function(t,e,n){return n>t.length?-1:""===e?n:v(t,e,n)};i({target:"String",proto:!0},{replaceAll:function(t,e){var n,i,a,p,w,M,S,T,A,L=s(this),E=0,C=0,I="";if(null!=t){if((n=l(t))&&(i=c(s(d(t))),!~v(i,"g")))throw g("`.replaceAll` does not allow non-global regexes");if(a=u(t,m))return r(a,t,L,e);if(f&&n)return _(c(L),t,e)}for(p=c(L),w=c(t),(M=o(e))||(e=c(e)),S=w.length,T=b(1,S),E=x(p,w,0);-1!==E;)A=M?c(e(w,E,p)):h(w,p,E,[],void 0,e),I+=y(p,C,E)+A,C=E+S,E=x(p,w,E+T);return C<p.length&&(I+=y(p,C)),I}})},function(t,e,n){"use strict";var i,r=n(0),a=n(3),s=n(48).f,o=n(61),l=n(14),c=n(321),u=n(33),d=n(322),h=n(36),p=a("".startsWith),f=a("".slice),m=Math.min,g=d("startsWith");r({target:"String",proto:!0,forced:!!(h||g||(i=s(String.prototype,"startsWith"),!i||i.writable))&&!g},{startsWith:function(t){var e=l(u(this));c(t);var n=o(m(arguments.length>1?arguments[1]:void 0,e.length)),i=l(t);return p?p(e,i,n):f(e,n,n+i.length)===i}})},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(33),s=n(39),o=n(14),l=r("".slice),c=Math.max,u=Math.min;i({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(t,e){var n,i,r=o(a(this)),d=r.length,h=s(t);return h===1/0&&(h=0),h<0&&(h=c(d+h,0)),(n=void 0===e?d:s(e))<=0||n===1/0||h>=(i=u(h+n,d))?"":l(r,h,i)}})},function(t,e,n){"use strict";var i=n(0),r=n(148).trim;i({target:"String",proto:!0,forced:n(323)("trim")},{trim:function(){return r(this)}})},function(t,e,n){n(677);var i=n(0),r=n(411);i({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},function(t,e,n){var i=n(0),r=n(411);i({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},function(t,e,n){n(679);var i=n(0),r=n(412);i({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},function(t,e,n){var i=n(0),r=n(412);i({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("anchor")},{anchor:function(t){return r(this,"a","name",t)}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("big")},{big:function(){return r(this,"big","","")}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("blink")},{blink:function(){return r(this,"blink","","")}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("bold")},{bold:function(){return r(this,"b","","")}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("fixed")},{fixed:function(){return r(this,"tt","","")}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("fontcolor")},{fontcolor:function(t){return r(this,"font","color",t)}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("fontsize")},{fontsize:function(t){return r(this,"font","size",t)}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("italics")},{italics:function(){return r(this,"i","","")}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("link")},{link:function(t){return r(this,"a","href",t)}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("strike")},{strike:function(){return r(this,"strike","","")}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("sub")},{sub:function(){return r(this,"sub","","")}})},function(t,e,n){"use strict";var i=n(0),r=n(70);i({target:"String",proto:!0,forced:n(71)("sup")},{sup:function(){return r(this,"sup","","")}})},function(t,e,n){n(112)("Float32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){var i=n(39),r=RangeError;t.exports=function(t){var e=i(t);if(e<0)throw r("The argument can't be less than 0");return e}},function(t,e,n){n(112)("Float64",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(112)("Int8",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(112)("Int16",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(112)("Int32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(112)("Uint8",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(112)("Uint8",(function(t){return function(e,n,i){return t(this,e,n,i)}}),!0)},function(t,e,n){n(112)("Uint16",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(112)("Uint32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){"use strict";var i=n(23),r=n(31),a=n(39),s=i.aTypedArray;(0,i.exportTypedArrayMethod)("at",(function(t){var e=s(this),n=r(e),i=a(t),o=i>=0?i:n+i;return o<0||o>=n?void 0:e[o]}))},function(t,e,n){"use strict";var i=n(3),r=n(23),a=i(n(388)),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(t,e){return a(s(this),t,e,arguments.length>2?arguments[2]:void 0)}))},function(t,e,n){"use strict";var i=n(23),r=n(49).every,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("every",(function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(23),r=n(311),a=n(706),s=n(89),o=n(10),l=n(3),c=n(2),u=i.aTypedArray,d=i.exportTypedArrayMethod,h=l("".slice);d("fill",(function(t){var e=arguments.length;u(this);var n="Big"===h(s(this),0,3)?a(t):+t;return o(r,this,n,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}),c((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t})))},function(t,e,n){var i=n(185),r=TypeError;t.exports=function(t){var e=i(t,"number");if("number"==typeof e)throw r("Can't convert number to bigint");return BigInt(e)}},function(t,e,n){"use strict";var i=n(23),r=n(49).filter,a=n(708),s=i.aTypedArray;(0,i.exportTypedArrayMethod)("filter",(function(t){var e=r(s(this),t,arguments.length>1?arguments[1]:void 0);return a(this,e)}))},function(t,e,n){var i=n(709),r=n(251);t.exports=function(t,e){return i(r(t),e)}},function(t,e,n){var i=n(31);t.exports=function(t,e){for(var n=0,r=i(e),a=new t(r);r>n;)a[n]=e[n++];return a}},function(t,e,n){"use strict";var i=n(23),r=n(49).find,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("find",(function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(23),r=n(49).findIndex,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("findIndex",(function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(23),r=n(49).forEach,a=i.aTypedArray;
vendor: 4,683 bytes, line 124
124(0,i.exportTypedArrayMethod)("forEach",(function(t){r(a(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(324);(0,n(23).exportTypedArrayStaticMethod)("from",n(414),i)},function(t,e,n){"use strict";var i=n(23),r=n(173).includes,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("includes",(function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(23),r=n(173).indexOf,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("indexOf",(function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(6),r=n(2),a=n(3),s=n(23),o=n(225),l=n(11)("iterator"),c=i.Uint8Array,u=a(o.values),d=a(o.keys),h=a(o.entries),p=s.aTypedArray,f=s.exportTypedArrayMethod,m=c&&c.prototype,g=!r((function(){m[l].call([1])})),v=!!m&&m.values&&m[l]===m.values&&"values"===m.values.name,_=function(){return u(p(this))};f("entries",(function(){return h(p(this))}),g),f("keys",(function(){return d(p(this))}),g),f("values",_,g||!v,{name:"values"}),f(l,_,g||!v,{name:"values"})},function(t,e,n){"use strict";var i=n(23),r=n(3),a=i.aTypedArray,s=i.exportTypedArrayMethod,o=r([].join);s("join",(function(t){return o(a(this),t)}))},function(t,e,n){"use strict";var i=n(23),r=n(73),a=n(392),s=i.aTypedArray;(0,i.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return r(a,s(this),e>1?[t,arguments[1]]:[t])}))},function(t,e,n){"use strict";var i=n(23),r=n(49).map,a=n(251),s=i.aTypedArray;(0,i.exportTypedArrayMethod)("map",(function(t){return r(s(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(a(t))(e)}))}))},function(t,e,n){"use strict";var i=n(23),r=n(324),a=i.aTypedArrayConstructor;(0,i.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,n=new(a(this))(e);e>t;)n[t]=arguments[t++];return n}),r)},function(t,e,n){"use strict";var i=n(23),r=n(243).left,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return r(a(this),t,e,e>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(23),r=n(243).right,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return r(a(this),t,e,e>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(23),r=i.aTypedArray,a=i.exportTypedArrayMethod,s=Math.floor;a("reverse",(function(){for(var t,e=r(this).length,n=s(e/2),i=0;i<n;)t=this[i],this[i++]=this[--e],this[e]=t;return this}))},function(t,e,n){"use strict";var i=n(6),r=n(10),a=n(23),s=n(31),o=n(413),l=n(26),c=n(2),u=i.RangeError,d=i.Int8Array,h=d&&d.prototype,p=h&&h.set,f=a.aTypedArray,m=a.exportTypedArrayMethod,g=!c((function(){var t=new Uint8ClampedArray(2);return r(p,t,{length:1,0:3},1),3!==t[1]})),v=g&&a.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var t=new d(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));m("set",(function(t){f(this);var e=o(arguments.length>1?arguments[1]:void 0,1),n=l(t);if(g)return r(p,this,n,e);var i=this.length,a=s(n),c=0;if(a+e>i)throw u("Wrong length");for(;c<a;)this[e+c]=n[c++]}),!g||v)},function(t,e,n){"use strict";var i=n(23),r=n(251),a=n(2),s=n(144),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("slice",(function(t,e){for(var n=s(o(this),t,e),i=r(this),a=0,l=n.length,c=new i(l);l>a;)c[a]=n[a++];return c}),a((function(){new Int8Array(1).slice()})))},function(t,e,n){"use strict";var i=n(23),r=n(49).some,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("some",(function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(6),r=n(3),a=n(2),s=n(42),o=n(314),l=n(23),c=n(393),u=n(394),d=n(110),h=n(315),p=l.aTypedArray,f=l.exportTypedArrayMethod,m=i.Uint16Array,g=m&&r(m.prototype.sort),v=!(!g||a((function(){g(new m(2),null)}))&&a((function(){g(new m(2),{})}))),_=!!g&&!a((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(h)return h<602;var t,e,n=new m(516),i=Array(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,i[t]=t-2*e+3;for(g(n,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(n[t]!==i[t])return!0}));f("sort",(function(t){return void 0!==t&&s(t),_?g(this,t):o(p(this),function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!=n?-1:e!=e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}}(t))}),!_||v)},function(t,e,n){"use strict";var i=n(23),r=n(61),a=n(95),s=n(251),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("subarray",(function(t,e){var n=o(this),i=n.length,l=a(t,i);return new(s(n))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,r((void 0===e?i:a(e,i))-l))}))},function(t,e,n){"use strict";var i=n(6),r=n(73),a=n(23),s=n(2),o=n(144),l=i.Int8Array,c=a.aTypedArray,u=a.exportTypedArrayMethod,d=[].toLocaleStr
124ing,h=!!l&&s((function(){d.call(new l(1))}));u("toLocaleString",(function(){return r(d,h?o(c(this)):c(this),o(arguments))}),s((function(){return[1,2].toLocaleString()!=new l([1,2]).toLocaleString()}))||!s((function(){l.prototype.toLocaleString.call([1,2])})))},function(t,e,n){"use strict";var i=n(23).exportTypedArrayMethod,r=n(2),a=n(6),s=n(3),o=a.Uint8Array,l=o&&o.prototype||{},c=[].toString,u=s([].join);r((function(){c.call({})}))&&(c=function(){return u(this)});var d=l.toString!=c;i("toString",c,d)},function(t,e,n){"use strict";var i=n(0),r=n(3),a=n(14),s=String.fromCharCode,o=r("".charAt),l=r(/./.exec),c=r("".slice),u=/^[\da-f]{2}$/i,d=/^[\da-f]{4}$/i;i({global:!0},{unescape:function(t){for(var e,n,i=a(t),r="",h=i.length,p=0;p<h;){if("%"===(e=o(i,p++)))if("u"===o(i,p)){if(n=c(i,p+1,p+5),l(d,n)){r+=s(parseInt(n,16)),p+=5;continue}}else if(n=c(i,p,p+2),l(u,n)){r+=s(parseInt(n,16)),p+=2;continue}r+=e}return r}})},function(t,e,n){n(733)},function(t,e,n){"use strict";var i,r=n(6),a=n(3),s=n(205),o=n(147),l=n(246),c=n(415),u=n(12),d=n(247),h=n(41).enforce,p=n(296),f=!r.ActiveXObject&&"ActiveXObject"in r,m=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},g=l("WeakMap",m,c);if(p&&f){i=c.getConstructor(m,"WeakMap",!0),o.enable();var v=g.prototype,_=a(v.delete),y=a(v.has),b=a(v.get),x=a(v.set);s(v,{delete:function(t){if(u(t)&&!d(t)){var e=h(this);return e.frozen||(e.frozen=new i),_(this,t)||e.frozen.delete(t)}return _(this,t)},has:function(t){if(u(t)&&!d(t)){var e=h(this);return e.frozen||(e.frozen=new i),y(this,t)||e.frozen.has(t)}return y(this,t)},get:function(t){if(u(t)&&!d(t)){var e=h(this);return e.frozen||(e.frozen=new i),y(this,t)?b(this,t):e.frozen.get(t)}return b(this,t)},set:function(t,e){if(u(t)&&!d(t)){var n=h(this);n.frozen||(n.frozen=new i),y(this,t)?x(this,t,e):n.frozen.set(t,e)}else x(this,t,e);return this}})}},function(t,e,n){n(735)},function(t,e,n){"use strict";n(246)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(415))},function(t,e,n){var i=n(0),r=n(27),a=n(3),s=n(2),o=n(14),l=n(13),c=n(124),u=n(416).ctoi,d=/[^\d+/a-z]/i,h=/[\t\n\f\r ]+/g,p=/[=]+$/,f=r("atob"),m=String.fromCharCode,g=a("".charAt),v=a("".replace),_=a(d.exec),y=s((function(){return""!==f(" ")})),b=!s((function(){f("a")})),x=!y&&!b&&!s((function(){f()})),w=!y&&!b&&1!==f.length;i({global:!0,enumerable:!0,forced:y||b||x||w},{atob:function(t){if(c(arguments.length,1),x||w)return f(t);var e,n,i=v(o(t),h,""),a="",s=0,y=0;if(i.length%4==0&&(i=v(i,p,"")),i.length%4==1||_(d,i))throw new(r("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;e=g(i,s++);)l(u,e)&&(n=y%4?64*n+u[e]:u[e],y++%4&&(a+=m(255&n>>(-2*y&6))));return a}})},function(t,e,n){var i=n(0),r=n(27),a=n(3),s=n(2),o=n(14),l=n(124),c=n(416).itoc,u=r("btoa"),d=a("".charAt),h=a("".charCodeAt),p=!!u&&!s((function(){u()})),f=!!u&&s((function(){return"bnVsbA=="!==u(null)})),m=!!u&&1!==u.length;i({global:!0,enumerable:!0,forced:p||f||m},{btoa:function(t){if(l(arguments.length,1),p||f||m)return u(o(t));for(var e,n,i=o(t),a="",s=0,g=c;d(i,s)||(g="=",s%1);){if((n=h(i,s+=3/4))>255)throw new(r("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");a+=d(g,63&(e=e<<8|n)>>8-s%1*8)}return a}})},function(t,e,n){"use strict";var i=n(0),r=n(739),a=n(27),s=n(2),o=n(68),l=n(67),c=n(21).f,u=n(28),d=n(211),h=n(13),p=n(104),f=n(8),m=n(386),g=n(201),v=n(417),_=n(240),y=n(41),b=n(7),x=n(36),w=a("Error"),M=a("DOMException")||function(){try{(new(a("MessageChannel")||r("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(t){if("DATA_CLONE_ERR"==t.name&&25==t.code)return t.constructor}}(),S=M&&M.prototype,T=w.prototype,A=y.set,L=y.getterFor("DOMException"),E="stack"in w("DOMException"),C=function(t){return h(v,t)&&v[t].m?v[t].c:0},I=function(){p(this,D);var t=arguments.length,e=g(t<1?void 0:arguments[0]),n=g(t<2?void 0:arguments[1],"Error"),i=C(n);if(A(this,{type:"DOMException",name:n,message:e,code:i}
124),b||(this.name=n,this.message=e,this.code=i),E){var r=w(e);r.name="DOMException",c(this,"stack",l(1,_(r.stack,1)))}},D=I.prototype=o(T),k=function(t){return{enumerable:!0,configurable:!0,get:t}},O=function(t){return k((function(){return L(this)[t]}))};b&&(d(D,"code",O("code")),d(D,"message",O("message")),d(D,"name",O("name"))),c(D,"constructor",l(1,I));var R=s((function(){return!(new M instanceof w)})),P=R||s((function(){return T.toString!==m||"2: 1"!==String(new M(1,2))})),N=R||s((function(){return 25!==new M(1,"DataCloneError").code})),Y=R||25!==M.DATA_CLONE_ERR||25!==S.DATA_CLONE_ERR,F=x?P||N||Y:R;i({global:!0,constructor:!0,forced:F},{DOMException:F?I:M});var H=a("DOMException"),j=H.prototype;for(var B in P&&(x||M===H)&&u(j,"toString",m),N&&b&&M===H&&d(j,"code",k((function(){return C(f(this).name)}))),v)if(h(v,B)){var z=v[B],U=z.s,V=l(6,z.c);h(H,U)||c(H,U,V),h(j,U)||c(j,U,V)}},function(t,e,n){var i=n(145);t.exports=function(t){try{if(i)return Function('return require("'+t+'")')()}catch(t){}}},function(t,e,n){"use strict";var i=n(0),r=n(27),a=n(67),s=n(21).f,o=n(13),l=n(104),c=n(134),u=n(201),d=n(417),h=n(240),p=n(36),f=r("Error"),m=r("DOMException"),g=function(){l(this,v);var t=arguments.length,e=u(t<1?void 0:arguments[0]),n=u(t<2?void 0:arguments[1],"Error"),i=new m(e,n),r=f(e);return r.name="DOMException",s(i,"stack",a(1,h(r.stack,1))),c(i,this,g),i},v=g.prototype=m.prototype,_="stack"in f("DOMException"),y="stack"in new m(1,2),b=_&&!y;i({global:!0,constructor:!0,forced:p||b},{DOMException:b?g:m});var x=r("DOMException"),w=x.prototype;if(w.constructor!==x)for(var M in p||s(w,"constructor",a(1,x)),d)if(o(d,M)){var S=d[M],T=S.s;o(x,T)||s(x,T,a(6,S.c))}},function(t,e,n){var i=n(27);n(78)(i("DOMException"),"DOMException")},function(t,e,n){n(743),n(744)},function(t,e,n){var i=n(0),r=n(6),a=n(250).clear;i({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==a},{clearImmediate:a})},function(t,e,n){var i=n(0),r=n(6),a=n(250).set;i({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==a},{setImmediate:a})},function(t,e,n){var i=n(0),r=n(6),a=n(406),s=n(42),o=n(124),l=n(145),c=r.process;i({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(t){o(arguments.length,1),s(t);var e=l&&c.domain;a(e?e.bind(t):t)}})},function(t,e,n){var i,r=n(36),a=n(0),s=n(6),o=n(27),l=n(3),c=n(2),u=n(131),d=n(9),h=n(133),p=n(12),f=n(109),m=n(103),g=n(8),v=n(89),_=n(13),y=n(102),b=n(44),x=n(31),w=n(124),M=n(160),S=n(306),T=s.Object,A=s.Date,L=s.Error,E=s.EvalError,C=s.RangeError,I=s.ReferenceError,D=s.SyntaxError,k=s.TypeError,O=s.URIError,R=s.PerformanceMark,P=s.WebAssembly,N=P&&P.CompileError||L,Y=P&&P.LinkError||L,F=P&&P.RuntimeError||L,H=o("DOMException"),j=o("Set"),B=o("Map"),z=B.prototype,U=l(z.has),V=l(z.get),W=l(z.set),G=l(j.prototype.add),q=o("Object","keys"),X=l([].push),$=l((!0).valueOf),K=l(1..valueOf),J=l("".valueOf),Q=l(A.prototype.getTime),Z=u("structuredClone"),tt=function(t){return!c((function(){var e=new s.Set([7]),n=t(e),i=t(T(7));return n==e||!n.has(7)||"object"!=typeof i||7!=i}))&&t},et=s.structuredClone,nt=r||(i=et,!!c((function(){var t=new L,e=i({a:t,b:t});return!(e&&e.a===e.b&&e.a instanceof L)})))||!function(t){return!c((function(){var e=t(new s.AggregateError([1],Z,{cause:3}));return"AggregateError"!=e.name||1!=e.errors[0]||e.message!=Z||3!=e.cause}))}(et),it=!et&&tt((function(t){return new R(Z,{detail:t}).detail})),rt=tt(et)||it,at=function(t){throw new H("Uncloneable type: "+t,"DataCloneError")},st=function(t,e){throw new H((e||"Cloning")+" of "+t+" cannot be properly polyfilled in this engine","DataCloneError")},ot=function(t,e){if(f(t)&&at("Symbol"),!p(t))return t;if(e){if(U(e,t))return V(e,t)}else e=new B;var n,i,r,a,l,c,u,m,g,w,R=v(t),P=!1;switch(R){case"Array":r=[],P=!0;break;case"Object":r={},P=!0;break;case"Map":r=new B,P=!0;break;case"Set":r=new j,P=!0;break;case"RegExp":r=new RegExp(t.source,M(t));break;case"Error":switch(i=t.name){case"AggregateError":r=o("AggregateError")([]);break;case"EvalError":r=E();break;case"RangeError":r=C();break;case"ReferenceError":r=I();break;case"SyntaxError":r=D();break;case"TypeError":r=k();break;case"URIError":r=O();break;case"CompileError":r=N();break;case"LinkError":r=Y();break;case"RuntimeError":r=F();break;default:r=L()}P=!0;break;case"DOMException":r=new H(t.message,t.name),P=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":n=s[R],p(n)||st(R),r=new n(ot(t.buffer,e),t.byteOffset,"DataView"===R?t.byteLength:t.length);break;case"DOMQuad":try{r=new DOMQuad(ot(t.p1,e),ot(t.p2,e),ot(t.p3,e),ot(t.p4,e))}catch(e){rt?r=rt(t):st(R)}break;case"FileList":if(n=s.DataTransfer,h(n)){for(a=new n,l=0,c=x(t);l<c;l++)a.items.add(ot(t[l],e));r=a.files}else rt?r=rt(t):st(R);break;case"ImageData":try{r=new ImageData(ot(t.data,e),t.width,t.height,{colorSpace:t.colorSpace})}catch(e){rt?r=rt(t):st(R)}break;default:if(rt)r=rt(t);else switch(R){case"BigInt":r=T(t.valueOf());break;case"Boolean":r=T($(t));break;case"Number":r=T(K(t));break;case"String":r=T(J(t));break;case"Date":r=new A(Q(t));break;case"ArrayBuffer":(n=s.DataView)||"function"==typeof t.slice||st(R);try{if("function"==typeof t.slice)r=t.slice(0);else for(c=t.byteLength,r=new ArrayBuffer(c),g=new n(t),w=new n(r),l=0;l<c;l++)w.setUint8(l,g.getUint8(l))}catch(t){throw new H("ArrayBuffer is detached","DataCloneError")}break;case"SharedArrayBuffer":r=t;break;case"Blob":try{r=t.slice(0,t.size,t.type)}catch(t){st(R)}break;case"DOMPoint":case"DOMPointReadOnly":n=s[R];try{r=n.fromPoint?n.fromPoint(t):new n(t.x,t.y,t.z,t.w)}catch(t){st(R)}break;case"DOMRect":case"DOMRectReadOnly":n=s[R];try{r=n.fromRect?n.fromRect(t):new n(t.x,t.y,t.width,t.height)}catch(t){st(R)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=s[R];try{r=n.fromMatrix?n.fromMatrix(t):new n(t)}catch(t){st(R)}break;case"AudioData":case"VideoFrame":d(t.clone)||st(R);try{r=t.clone()}catch(t){at(R)}break;case"File":try{r=new File([t],t.name,t)}catch(t){st(R)}break;case"CryptoKey":case"GPUCompilationMessage":case"GPUCompilationInfo":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":st(R);
vendor: 4,378 bytes, line 124
124default:at(R)}}if(W(e,t,r),P)switch(R){case"Array":case"Object":for(u=q(t),l=0,c=x(u);l<c;l++)m=u[l],y(r,m,ot(t[m],e));break;case"Map":t.forEach((function(t,n){W(r,ot(n,e),ot(t,e))}));break;case"Set":t.forEach((function(t){G(r,ot(t,e))}));break;case"Error":b(r,"message",ot(t.message,e)),_(t,"cause")&&b(r,"cause",ot(t.cause,e)),"AggregateError"==i&&(r.errors=ot(t.errors,e));case"DOMException":S&&b(r,"stack",ot(t.stack,e))}return r},lt=et&&!c((function(){var t=new ArrayBuffer(8),e=et(t,{transfer:[t]});return 0!=t.byteLength||8!=e.byteLength})),ct=function(t,e){if(!p(t))throw k("Transfer option cannot be converted to a sequence");var n=[];m(t,(function(t){X(n,g(t))}));var i,r,a,o,l,c,u=0,f=x(n);if(lt)for(o=et(n,{transfer:n});u<f;)W(e,n[u],o[u++]);else for(;u<f;){if(i=n[u++],U(e,i))throw new H("Duplicate transferable","DataCloneError");switch(r=v(i)){case"ImageBitmap":a=s.OffscreenCanvas,h(a)||st(r,"Transferring");try{(c=new a(i.width,i.height)).getContext("bitmaprenderer").transferFromImageBitmap(i),l=c.transferToImageBitmap()}catch(t){}break;case"AudioData":case"VideoFrame":d(i.clone)&&d(i.close)||st(r,"Transferring");try{l=i.clone(),i.close()}catch(t){}break;case"ArrayBuffer":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":st(r,"Transferring")}if(void 0===l)throw new H("This object cannot be transferred: "+r,"DataCloneError");W(e,i,l)}};a({global:!0,enumerable:!0,sham:!lt,forced:nt},{structuredClone:function(t){var e,n=w(arguments.length,1)>1&&null!=arguments[1]?g(arguments[1]):void 0,i=n?n.transfer:void 0;return void 0!==i&&(e=new B,ct(i,e)),ot(t,e)}})},function(t,e,n){n(748),n(749)},function(t,e,n){var i=n(0),r=n(6),a=n(418).setInterval;i({global:!0,bind:!0,forced:r.setInterval!==a},{setInterval:a})},function(t,e,n){var i=n(0),r=n(6),a=n(418).setTimeout;i({global:!0,bind:!0,forced:r.setTimeout!==a},{setTimeout:a})},function(t,e,n){n(751)},function(t,e,n){"use strict";n(348);var i,r=n(0),a=n(7),s=n(419),o=n(6),l=n(90),c=n(3),u=n(28),d=n(211),h=n(104),p=n(13),f=n(402),m=n(390),g=n(176),v=n(200).codeAt,_=n(752),y=n(14),b=n(78),x=n(124),w=n(420),M=n(41),S=M.set,T=M.getterFor("URL"),A=w.URLSearchParams,L=w.getState,E=o.URL,C=o.TypeError,I=o.parseInt,D=Math.floor,k=Math.pow,O=c("".charAt),R=c(/./.exec),P=c([].join),N=c(1..toString),Y=c([].pop),F=c([].push),H=c("".replace),j=c([].shift),B=c("".split),z=c("".slice),U=c("".toLowerCase),V=c([].unshift),W=/[a-z]/i,G=/[\d+-.a-z]/i,q=/\d/,X=/^0x/i,$=/^[0-7]+$/,K=/^\d+$/,J=/^[\da-f]+$/i,Q=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Z=/[\0\t\n\r #/:<>?@[\\\]^|]/,tt=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,et=/[\t\n\r]/g,nt=function(t){var e,n,i,r;if("number"==typeof t){for(e=[],n=0;n<4;n++)V(e,t%256),t=D(t/256);return P(e,".")}if("object"==typeof t){for(e="",i=function(t){for(var e=null,n=1,i=null,r=0,a=0;a<8;a++)0!==t[a]?(r>n&&(e=i,n=r),i=null,r=0):(null===i&&(i=a),++r);return r>n&&(e=i,n=r),e}(t),n=0;n<8;n++)r&&0===t[n]||(r&&(r=!1),i===n?(e+=n?":":"::",r=!0):(e+=N(t[n],16),n<7&&(e+=":")));return"["+e+"]"}return t},it={},rt=f({},it,{" ":1,'"':1,"<":1,">":1,"`":1}),at=f({},rt,{"#":1,"?":1,"{":1,"}":1}),st=f({},at,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ot=function(t,e){var n=v(t,0);return n>32&&n<127&&!p(e,t)?t:encodeURIComponent(t)},lt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ct=function(t,e){var n;return 2==t.length&&R(W,O(t,0))&&(":"==(n=O(t,1))||!e&&"|"==n)},ut=function(t){var e;return t.length>1&&ct(z(t,0,2))&&(2==t.length||"/"===(e=O(t,2))||"\\"===e||"?"===e||"#"===e)},dt=function(t){return"."===t||"%2e"===U(t)},ht={},pt={},ft={},mt={},gt={},vt={},_t={},yt={},bt={},xt={},wt={},Mt={},St={},Tt={},At={},Lt={},Et={},Ct={},It={},Dt={},kt={},Ot=function(t,e,n){var i,r,a,s=y(t);if(e){if(r=this.parse(s))throw C(r);this.searchParams=null}else{if(void 0!==n&&(i=new Ot(n,!0)),r=this.parse(s,null,i))throw C(r);(a=L(new A)).bindURL(this),this.searchParams=a}};Ot.prototype={type:"URL",parse:function(t,e,n){var r,a,s,o,l,c=this,u=e||ht,d=0,h="",f=!1,v=!1,_=!1;for(t=y(t),e||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=H(t,tt,"")),t=H(t,et,""),r=m(t);d<=r.length;){switch(a=r[d],u){case ht:if(!a||!R(W,a)){if(e)return"Invalid scheme";u=ft;continue}h+=U(a),u=pt;break;case pt:if(a&&(R(G,a)||"+"==a||"-"==a||"."==a))h+=U(a);
vendor: 13,377 bytes, line 124
124else{if(":"!=a){if(e)return"Invalid scheme";h="",u=ft,d=0;continue}if(e&&(c.isSpecial()!=p(lt,h)||"file"==h&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=h,e)return void(c.isSpecial()&&lt[c.scheme]==c.port&&(c.port=null));h="","file"==c.scheme?u=Tt:c.isSpecial()&&n&&n.scheme==c.scheme?u=mt:c.isSpecial()?u=yt:"/"==r[d+1]?(u=gt,d++):(c.cannotBeABaseURL=!0,F(c.path,""),u=It)}break;case ft:if(!n||n.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(n.cannotBeABaseURL&&"#"==a){c.scheme=n.scheme,c.path=g(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,u=kt;break}u="file"==n.scheme?Tt:vt;continue;case mt:if("/"!=a||"/"!=r[d+1]){u=vt;continue}u=bt,d++;break;case gt:if("/"==a){u=xt;break}u=Ct;continue;case vt:if(c.scheme=n.scheme,a==i)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query;else if("/"==a||"\\"==a&&c.isSpecial())u=_t;else if("?"==a)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query="",u=Dt;else{if("#"!=a){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.path.length--,u=Ct;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query,c.fragment="",u=kt}break;case _t:if(!c.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,u=Ct;continue}u=xt}else u=bt;break;case yt:if(u=bt,"/"!=a||"/"!=O(h,d+1))continue;d++;break;case bt:if("/"!=a&&"\\"!=a){u=xt;continue}break;case xt:if("@"==a){f&&(h="%40"+h),f=!0,s=m(h);for(var b=0;b<s.length;b++){var x=s[b];if(":"!=x||_){var w=ot(x,st);_?c.password+=w:c.username+=w}else _=!0}h=""}else if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(f&&""==h)return"Invalid authority";d-=m(h).length+1,h="",u=wt}else h+=a;break;case wt:case Mt:if(e&&"file"==c.scheme){u=Lt;continue}if(":"!=a||v){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(c.isSpecial()&&""==h)return"Invalid host";if(e&&""==h&&(c.includesCredentials()||null!==c.port))return;if(o=c.parseHost(h))return o;if(h="",u=Et,e)return;continue}"["==a?v=!0:"]"==a&&(v=!1),h+=a}else{if(""==h)return"Invalid host";if(o=c.parseHost(h))return o;if(h="",u=St,e==Mt)return}break;case St:if(!R(q,a)){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()||e){if(""!=h){var M=I(h,10);if(M>65535)return"Invalid port";c.port=c.isSpecial()&&M===lt[c.scheme]?null:M,h=""}if(e)return;u=Et;continue}return"Invalid port"}h+=a;break;case Tt:if(c.scheme="file","/"==a||"\\"==a)u=At;else{if(!n||"file"!=n.scheme){u=Ct;continue}if(a==i)c.host=n.host,c.path=g(n.path),c.query=n.query;else if("?"==a)c.host=n.host,c.path=g(n.path),c.query="",u=Dt;else{if("#"!=a){ut(P(g(r,d),""))||(c.host=n.host,c.path=g(n.path),c.shortenPath()),u=Ct;continue}c.host=n.host,c.path=g(n.path),c.query=n.query,c.fragment="",u=kt}}break;case At:if("/"==a||"\\"==a){u=Lt;break}n&&"file"==n.scheme&&!ut(P(g(r,d),""))&&(ct(n.path[0],!0)?F(c.path,n.path[0]):c.host=n.host),u=Ct;continue;case Lt:if(a==i||"/"==a||"\\"==a||"?"==a||"#"==a){if(!e&&ct(h))u=Ct;else if(""==h){if(c.host="",e)return;u=Et}else{if(o=c.parseHost(h))return o;if("localhost"==c.host&&(c.host=""),e)return;h="",u=Et}continue}h+=a;break;case Et:if(c.isSpecial()){if(u=Ct,"/"!=a&&"\\"!=a)continue}else if(e||"?"!=a)if(e||"#"!=a){if(a!=i&&(u=Ct,"/"!=a))continue}else c.fragment="",u=kt;else c.query="",u=Dt;break;case Ct:if(a==i||"/"==a||"\\"==a&&c.isSpecial()||!e&&("?"==a||"#"==a)){if(".."===(l=U(l=h))||"%2e."===l||".%2e"===l||"%2e%2e"===l?(c.shortenPath(),"/"==a||"\\"==a&&c.isSpecial()||F(c.path,"")):dt(h)?"/"==a||"\\"==a&&c.isSpecial()||F(c.path,""):("file"==c.scheme&&!c.path.length&&ct(h)&&(c.host&&(c.host=""),h=O(h,0)+":"),F(c.path,h)),h="","file"==c.scheme&&(a==i||"?"==a||"#"==a))for(;c.path.length>1&&""===c.path[0];)j(c.path);"?"==a?(c.query="",u=Dt):"#"==a&&(c.fragment="",u=kt)}else h+=ot(a,at);break;case It:"?"==a?(c.query="",u=Dt):"#"==a?(c.fragment="",u=kt):a!=i&&(c.path[0]+=ot(a,it));break;case Dt:e||"#"!=a?a!=i&&("'"==a&&c.isSpecial()?c.query+="%27":c.query+="#"==a?"%23":ot(a,it)):(c.fragment="",u=kt);break;case kt:a!=i&&(c.fragment+=ot(a,rt))}d++}},parseHost:function(t){var e,n,i;if("["==O(t,0)){if("]"!=O(t,t.length-1))return"Invalid host";if(!(e=function(t){var e,n,i,r,a,s,o,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,h=function(){return O(t,d)};if(":"==h()){if(":"!=O(t,1))return;d+=2,u=++c}for(;h();){if(8==c)return;if(":"!=h()){for(e=n=0;n<4&&R(J,h());)e=16*e+I(h(),16),d++,n++;if("."==h()){if(0==n)return;if(d-=n,c>6)return;for(i=0;h();){if(r=null,i>0){if(!("."==h()&&i<4))return;d++}if(!R(q,h()))return;for(;R(q,h());){if(a=I(h(),10),null===r)r=a;else{if(0==r)return;r=10*r+a}if(r>255)return;d++}l[c]=256*l[c]+r,2!=++i&&4!=i||c++}if(4!=i)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;l[c++]=e}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(s=c-u,c=7;0!=c&&s>0;)o=l[c],l[c--]=l[u+s-1],l[u+--s]=o;else if(8!=c)return;return l}(z(t,1,-1))))return"Invalid host";this.host=e}else if(this.isSpecial()){if(t=_(t),R(Q,t))return"Invalid host";if(null===(e=function(t){var e,n,i,r,a,s,o,l=B(t,".");if(l.length&&""==l[l.length-1]&&l.length--,(e=l.length)>4)return t;for(n=[],i=0;i<e;i++){if(""==(r=l[i]))return t;if(a=10,r.length>1&&"0"==O(r,0)&&(a=R(X,r)?16:8,r=z(r,8==a?1:2)),""===r)s=0;else{if(!R(10==a?K:8==a?$:J,r))return t;s=I(r,a)}F(n,s)}for(i=0;i<e;i++)if(s=n[i],i==e-1){if(s>=k(256,5-e))return null}else if(s>255)return null;for(o=Y(n),i=0;i<n.length;i++)o+=n[i]*k(256,3-i);return o}(t)))return"Invalid host";this.host=e}else{if(R(Z,t))return"Invalid host";for(e="",n=m(t),i=0;i<n.length;i++)e+=ot(n[i],it);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(lt,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&ct(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,n=t.username,i=t.password,r=t.host,a=t.port,s=t.path,o=t.query,l=t.fragment,c=e+":";return null!==r?(c+="//",t.includesCredentials()&&(c+=n+(i?":"+i:"")+"@"),c+=nt(r),null!==a&&(c+=":"+a)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?s[0]:s.length?"/"+P(s,"/"):"",null!==o&&(c+="?"+o),null!==l&&(c+="#"+l),c},setHref:function(t){var e=this.parse(t);if(e)throw C(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new Rt(t.path[0]).origin}catch(t){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+nt(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(y(t)+":",ht)},getUsername:function(){return this.username},setUsername:function(t){var e=m(y(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<e.length;n++)this.username+=ot(e[n],st)}},getPassword:function(){return this.password},setPassword:function(t){var e=m(y(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<e.length;n++)this.password+=ot(e[n],st)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?nt(t):nt(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,wt)},getHostname:function(){var t=this.host;return null===t?"":nt(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Mt)},getPort:function(){var t=this.port;return null===t?"":y(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""==(t=y(t))?this.port=null:this.parse(t,St))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+P(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Et))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""==(t=y(t))?this.query=null:("?"==O(t,0)&&(t=z(t,1)),this.query="",this.parse(t,Dt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!=(t=y(t))?("#"==O(t,0)&&(t=z(t,1)),this.fragment="",this.parse(t,kt)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Rt=function(t){var e=h(this,Pt),n=x(arguments.length,1)>1?arguments[1]:void 0,i=S(e,new Ot(t,!1,n));a||(e.href=i.serialize(),e.origin=i.getOrigin(),e.protocol=i.getProtocol(),e.username=i.getUsername(),e.password=i.getPassword(),e.host=i.getHost(),e.hostname=i.getHostname(),e.port=i.getPort(),e.pathname=i.getPathname(),e.search=i.getSearch(),e.searchParams=i.getSearchParams(),e.hash=i.getHash())},Pt=Rt.prototype,Nt=function(t,e){return{get:function(){return T(this)[t]()},set:e&&function(t){return T(this)[e](t)},configurable:!0,enumerable:!0}};if(a&&(d(Pt,"href",Nt("serialize","setHref")),d(Pt,"origin",Nt("getOrigin")),d(Pt,"protocol",Nt("getProtocol","setProtocol")),d(Pt,"username",Nt("getUsername","setUsername")),d(Pt,"password",Nt("getPassword","setPassword")),d(Pt,"host",Nt("getHost","setHost")),d(Pt,"hostname",Nt("getHostname","setHostname")),d(Pt,"port",Nt("getPort","setPort")),d(Pt,"pathname",Nt("getPathname","setPathname")),d(Pt,"search",Nt("getSearch","setSearch")),d(Pt,"searchParams",Nt("getSearchParams")),d(Pt,"hash",Nt("getHash","setHash"))),u(Pt,"toJSON",(function(){return T(this).serialize()}),{enumerable:!0}),u(Pt,"toString",(function(){return T(this).serialize()}),{enumerable:!0}),E){var Yt=E.createObjectURL,Ft=E.revokeObjectURL;Yt&&u(Rt,"createObjectURL",l(Yt,E)),Ft&&u(Rt,"revokeObjectURL",l(Ft,E))}b(Rt,"URL"),r({global:!0,constructor:!0,forced:!s,sham:!a},{URL:Rt})},function(t,e,n){"use strict";var i=n(3),r=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",o=RangeError,l=i(a.exec),c=Math.floor,u=String.fromCharCode,d=i("".charCodeAt),h=i([].join),p=i([].push),f=i("".replace),m=i("".split),g=i("".toLowerCase),v=function(t){return t+22+75*(t<26)},_=function(t,e,n){var i=0;for(t=n?c(t/700):t>>1,t+=c(t/e);t>455;)t=c(t/35),i+=36;return c(i+36*t/(t+38))},y=function(t){var e,n,i=[],r=(t=function(t){for(var e=[],n=0,i=t.length;n<i;){var r=d(t,n++);if(r>=55296&&r<=56319&&n<i){var a=d(t,n++);56320==(64512&a)?p(e,((1023&r)<<10)+(1023&a)+65536):(p(e,r),n--)}else p(e,r)}return e}(t)).length,a=128,l=0,f=72;for(e=0;e<t.length;e++)(n=t[e])<128&&p(i,u(n));var m=i.length,g=m;for(m&&p(i,"-");g<r;){var y=2147483647;for(e=0;e<t.length;e++)(n=t[e])>=a&&n<y&&(y=n);var b=g+1;if(y-a>c((2147483647-l)/b))throw o(s);for(l+=(y-a)*b,a=y,e=0;e<t.length;e++){if((n=t[e])<a&&++l>2147483647)throw o(s);if(n==a){for(var x=l,w=36;;){var M=w<=f?1:w>=f+26?26:w-f;if(x<M)break;var S=x-M,T=36-M;p(i,u(v(M+S%T))),x=c(S/T),w+=36}p(i,u(v(x))),f=_(l,b,g==m),l=0,g++}}l++,a++}return h(i,"")};t.exports=function(t){var e,n,i=[],s=m(f(g(t),a,"."),".");for(e=0;e<s.length;e++)n=s[e],p(i,l(r,n)?"xn--"+y(n):n);return h(i,".")}},function(t,e,n){"use strict";var i=n(0),r=n(10);i({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})},function(t,e,n){n(420)},function(t,e,n){var i=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function o(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{o({},"")}catch(t){o=function(t,e,n){return t[e]=n}}function l(t,e,n,i){var r=e&&e.prototype instanceof d?e:d,a=Object.create(r.prototype),s=new M(i||[]);return a._invoke=function(t,e,n){var i="suspendedStart";return function(r,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw a;return T()}for(n.method=r,n.arg=a;;){var s=n.delegate;if(s){var o=b(s,n);if(o){if(o===u)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=c(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}(t,n,s),a}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var u={};function d(){}function h(){}function p(){}var f={};o(f,r,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(S([])));g&&g!==e&&n.call(g,r)&&(f=g);var v=p.prototype=d.prototype=Object.create(f);function _(t){["next","throw","return"].forEach((function(e){o(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){var i;this._invoke=function(r,a){function s(){return new e((function(i,s){!function i(r,a,s,o){var l=c(t[r],t,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,s,o)}),(function(t){i("throw",t,s,o)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return i("throw",t,s,o)}))}o(l.arg)}(r,a,i,s)}))}return i=i?i.then(s,s):s()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,495 bytes, line 124
124(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var i=c(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,u;var r=i.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function e(){for(;++i<t.length;)if(n.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:T}}function T(){return{value:void 0,done:!0}}return h.prototype=p,o(v,"constructor",p),o(p,"constructor",h),h.displayName=o(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,o(t,s,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},_(y.prototype),o(y.prototype,a,(function(){return this})),t.AsyncIterator=y,t.async=function(e,n,i,r,a){void 0===a&&(a=Promise);var s=new y(l(e,n,i,r),a);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},_(v),o(v,s,"Generator"),o(v,r,(function(){return this})),o(v,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},t.values=S,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(n,i){return s.type="throw",s.arg=t,e.next=n,i&&(e.method="next",e.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var o=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(o&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(o){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),w(n),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;w(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},t}(t.exports);try{regeneratorRuntime=i}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},function(t,e,n){var i=n(757);t.exports=i},function(t,e,n){var i=n(53),r=n(758),a=Array.prototype;
vendor: 15,656 bytes, line 124
124t.exports=function(t){var e=t.splice;return t===a||i(a,t)&&e===a.splice?r:e}},function(t,e,n){n(759);var i=n(74);t.exports=i("Array").splice},function(t,e,n){"use strict";var i=n(18),r=n(80),a=n(184),s=n(170),o=n(87),l=n(325),c=n(228),u=n(151),d=n(466),h=n(162)("splice"),p=Math.max,f=Math.min;i({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var n,i,h,m,g,v,_=r(this),y=o(_),b=a(t,y),x=arguments.length;for(0===x?n=i=0:1===x?(n=0,i=y-b):(n=x-2,i=f(p(s(e),0),y-b)),l(y+n-i),h=c(_,i),m=0;m<i;m++)(g=b+m)in _&&u(h,m,_[g]);if(h.length=i,n<i){for(m=b;m<y-i;m++)v=m+n,(g=m+i)in _?_[v]=_[g]:d(_,v);for(m=y;m>y-i+n;m--)d(_,m-1)}else if(n>i)for(m=y-i;m>b;m--)v=m+n-1,(g=m+i-1)in _?_[v]=_[g]:d(_,v);for(m=0;m<n;m++)_[m+b]=arguments[m+2];return _.length=y-i+n,h}})},function(t,e,n){var i=n(30),r=String,a=TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw a("Can't set "+r(t)+" as a prototype")}},function(t,e,n){var i=n(35),r=n(30),a=n(282),s=i.WeakMap;t.exports=r(s)&&/native code/.test(a(s))},function(t,e,n){"use strict";var i=n(252),r=n(150);t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},function(t,e,n){var i=n(128),r=n(35);t.exports="process"==i(r.process)},function(t,e,n){var i=n(22),r=n(170),a=n(125),s=n(137),o=i("".charAt),l=i("".charCodeAt),c=i("".slice),u=function(t){return function(e,n){var i,u,d=a(s(e)),h=r(n),p=d.length;return h<0||h>=p?t?"":void 0:(i=l(d,h))<55296||i>56319||h+1===p||(u=l(d,h+1))<56320||u>57343?t?o(d,h):i:t?c(d,h,h+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){t.exports=n(767)},function(t,e,n){var i=n(768);t.exports=i},function(t,e,n){var i=n(769);t.exports=i},function(t,e,n){var i=n(770);t.exports=i},function(t,e,n){n(771);var i=n(38).Object,r=t.exports=function(t,e,n){return i.defineProperty(t,e,n)};i.defineProperty.sham&&(r.sham=!0)},function(t,e,n){var i=n(18),r=n(46),a=n(94).f;i({target:"Object",stat:!0,forced:Object.defineProperty!==a,sham:!r},{defineProperty:a})},function(t,e,n){t.exports=n(773)},function(t,e,n){var i=n(774);n(798),n(799),n(800),n(801),n(802),n(803),n(804),t.exports=i},function(t,e,n){var i=n(775);t.exports=i},function(t,e,n){var i=n(776);n(257),t.exports=i},function(t,e,n){n(436),n(434),n(437),n(782),n(783),n(784),n(785),n(476),n(786),n(787),n(788),n(789),n(790),n(791),n(792),n(793),n(794),n(795),n(796),n(797);var i=n(38);t.exports=i.Symbol},function(t,e,n){"use strict";var i=n(18),r=n(35),a=n(51),s=n(22),o=n(98),l=n(46),c=n(117),u=n(25),d=n(54),h=n(53),p=n(81),f=n(72),m=n(166),g=n(125),v=n(115),_=n(229),y=n(183),b=n(327),x=n(778),w=n(283),M=n(136),S=n(94),T=n(429),A=n(221),L=n(163),E=n(169),C=n(253),I=n(192),D=n(233),k=n(29),O=n(355),R=n(37),P=n(438),N=n(181),Y=n(256),F=n(179).forEach,H=C("hidden"),j=Y.set,B=Y.getterFor("Symbol"),z=Object.prototype,U=r.Symbol,V=U&&U.prototype,W=r.TypeError,G=r.QObject,q=M.f,X=S.f,$=x.f,K=A.f,J=s([].push),Q=E("symbols"),Z=E("op-symbols"),tt=E("wks"),et=!G||!G.prototype||!G.prototype.findChild,nt=l&&u((function(){return 7!=_(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=q(z,e);i&&delete z[e],X(t,e,n),i&&t!==z&&X(z,e,i)}:X,it=function(t,e){var n=Q[t]=_(V);return j(n,{type:"Symbol",tag:t,description:e}),l||(n.description=e),n},rt=function(t,e,n){t===z&&rt(Z,e,n),p(t);var i=m(e);return p(n),d(Q,i)?(n.enumerable?(d(t,H)&&t[H][i]&&(t[H][i]=!1),n=_(n,{enumerable:v(0,!1)})):(d(t,H)||X(t,H,v(1,{})),t[H][i]=!0),nt(t,i,n)):X(t,i,n)},at=function(t,e){p(t);var n=f(e),i=y(n).concat(ct(n));return F(i,(function(e){l&&!a(st,n,e)||rt(t,e,n[e])})),t},st=function(t){var e=m(t),n=a(K,this,e);return!(this===z&&d(Q,e)&&!d(Z,e))&&(!(n||!d(this,e)||!d(Q,e)||d(this,H)&&this[H][e])||n)},ot=function(t,e){var n=f(t),i=m(e);if(n!==z||!d(Q,i)||d(Z,i)){var r=q(n,i);return!r||!d(Q,i)||d(n,H)&&n[H][i]||(r.enumerable=!0),r}},lt=function(t){var e=$(f(t)),n=[];return F(e,(function(t){d(Q,t)||d(I,t)||J(n,t)})),n},ct=function(t){var e=t===z,n=$(e?Z:f(t)),i=[];return F(n,(function(t){!d(Q,t)||e&&!d(z,t)||J(i,Q[t])})),i};c||(L(V=(U=function(){if(h(V,this))throw W("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=D(t),n=function(t){this===z&&a(n,Z,t),d(this,H)&&d(this[H],e)&&(this[H][e]=!1),nt(this,e,v(1,t))};return l&&et&&nt(z,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return B(this).tag})),L(U,"withoutSetter",(function(t){return it(D(t),t)})),A.f=st,S.f=rt,T.f=at,M.f=ot,b.f=x.f=lt,w.f=ct,O.f=function(t){return it(k(t),t)},l&&(X(V,"description",{configurable:!0,get:function(){return B(this).description}}),o||L(z,"propertyIsEnumerable",st,{unsafe:!0}))),i({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:U}),F(y(tt),(function(t){R(t)})),i({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){et=!0},useSimple:function(){et=!1}}),i({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(t,e){return void 0===e?_(t):at(_(t),e)},defineProperty:rt,defineProperties:at,getOwnPropertyDescriptor:ot}),i({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt}),P(),N(U,"Symbol"),I[H]=!0},function(t,e,n){var i=n(128),r=n(72),a=n(327).f,s=n(475),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return o&&"Window"==i(t)?function(t){try{return a(t)}catch(t){return s(o)}}(t):a(r(t))}},function(t,e,n){var i=n(18),r=n(66),a=n(54),s=n(125),o=n(169),l=n(439),c=o("string-to-symbol-registry"),u=o("symbol-to-string-registry");i({target:"Symbol",stat:!0,forced:!l},{for:function(t){var e=s(t);if(a(c,e))return c[e];var n=r("Symbol")(e);return c[e]=n,u[n]=e,n}})},function(t,e,n){var i=n(18),r=n(54),a=n(167),s=n(168),o=n(169),l=n(439),c=o("symbol-to-string-registry");i({target:"Symbol",stat:!0,forced:!l},{keyFor:function(t){if(!a(t))throw TypeError(s(t)+" is not a symbol");if(r(c,t))return c[t]}})},function(t,e,n){var i=n(18),r=n(117),a=n(25),s=n(283),o=n(80);i({target:"Object",stat:!0,forced:!r||a((function(){s.f(1)}))},{getOwnPropertySymbols:function(t){var e=s.f;return e?e(o(t)):[]}})},function(t,e,n){n(37)("asyncIterator")},function(t,e){},function(t,e,n){n(37)("hasInstance")},function(t,e,n){n(37)("isConcatSpreadable")},function(t,e,n){n(37)("match")},function(t,e,n){n(37)("matchAll")},function(t,e,n){n(37)("replace")},function(t,e,n){n(37)("search")},function(t,e,n){n(37)("species")},function(t,e,n){n(37)("split")},function(t,e,n){var i=n(37),r=n(438);i("toPrimitive"),r()},function(t,e,n){var i=n(66),r=n(37),a=n(181);r("toStringTag"),a(i("Symbol"),"Symbol")},function(t,e,n){n(37)("unscopables")},function(t,e,n){var i=n(35);n(181)(i.JSON,"JSON",!0)},function(t,e){},function(t,e){},function(t,e,n){n(37)("asyncDispose")},function(t,e,n){n(37)("dispose")},function(t,e,n){n(37)("matcher")},function(t,e,n){n(37)("metadata")},function(t,e,n){n(37)("observable")},function(t,e,n){n(37)("patternMatch")},function(t,e,n){n(37)("replaceAll")},function(t,e,n){t.exports=n(806)},function(t,e,n){var i=n(807);t.exports=i},function(t,e,n){var i=n(351);t.exports=i},function(t,e,n){var i=n(809);t.exports=i},function(t,e,n){var i=n(53),r=n(810),a=Array.prototype;t.exports=function(t){var e=t.concat;return t===a||i(a,t)&&e===a.concat?r:e}},function(t,e,n){n(436);var i=n(74);t.exports=i("Array").concat},function(t,e,n){var i=n(812);t.exports=i},function(t,e,n){var i=n(53),r=n(813),a=Array.prototype;t.exports=function(t){var e=t.filter;return t===a||i(a,t)&&e===a.filter?r:e}},function(t,e,n){n(814);var i=n(74);t.exports=i("Array").filter},function(t,e,n){"use strict";var i=n(18),r=n(179).filter;i({target:"Array",proto:!0,forced:!n(162)("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(152),r=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=r},function(t,e,n){var i=n(440),r=n(819),a=n(189),s=n(442),o=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||r(t))&&(i(t)?h:o).test(s(t))}},function(t,e,n){var i=n(258),r=Object.prototype,a=r.hasOwnProperty,s=r.toString,o=i?i.toStringTag:void 0;t.exports=function(t){var e=a.call(t,o),n=t[o];try{t[o]=void 0;var i=!0}catch(t){}var r=s.call(t);return i&&(e?t[o]=n:delete t[o]),r}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){var i,r=n(820),a=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!a&&a in t}},function(t,e,n){var i=n(108)["__core-js_shared__"];t.exports=i},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t,e,n,i){for(var r=-1,a=null==t?0:t.length;++r<a;){var s=t[r];e(i,s,n(s),t)}return i}},function(t,e,n){var i=n(357);t.exports=function(t,e,n,r){return i(t,(function(t,i,a){e(r,t,n(t),a)})),r}},function(t,e,n){var i=n(825)();t.exports=i},function(t,e){t.exports=function(t){return function(e,n,i){for(var r=-1,a=Object(e),s=i(e),o=s.length;o--;){var l=s[t?o:++r];if(!1===n(a[l],l,a))break}return e}}},function(t,e,n){var i=n(827),r=n(358),a=n(93),s=n(359),o=n(330),l=n(361),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=a(t),u=!n&&r(t),d=!n&&!u&&s(t),h=!n&&!u&&!d&&l(t),p=n||u||d||h,f=p?i(t.length,String):[],m=f.length;for(var g in t)!e&&!c.call(t,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||o(g,m))||f.push(g);return f}},function(t,e){t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},function(t,e,n){var i=n(213),r=n(214);t.exports=function(t){return r(t)&&"[object Arguments]"==i(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var i=n(213),r=n(331),a=n(214),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&r(t.length)&&!!s[i(t)]}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){(function(t){var i=n(441),r=e&&!e.nodeType&&e,a=r&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===r&&i.process,o=function(){try{var t=a&&a.require&&a.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=o}).call(this,n(360)(t))},function(t,e,n){var i=n(834)(Object.keys,Object);t.exports=i},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var i=n(259);t.exports=function(t,e){return function(n,r){if(null==n)return n;if(!i(n))return t(n,r);for(var a=n.length,s=e?a:-1,o=Object(n);(e?s--:++s<a)&&!1!==r(o[s],s,o););return n}}},function(t,e,n){var i=n(837),r=n(880),a=n(449);t.exports=function(t){var e=r(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(n){return n===t||i(n,t,e)}}},function(t,e,n){var i=n(445),r=n(446);t.exports=function(t,e,n,a){var s=n.length,o=s,l=!a;if(null==t)return!o;for(t=Object(t);s--;){var c=n[s];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++s<o;){var u=(c=n[s])[0],d=t[u],h=c[1];if(l&&c[2]){if(void 0===d&&!(u in t))return!1}else{var p=new i;if(a)var f=a(d,h,u,t,e,p);if(!(void 0===f?r(h,d,3,a,p):f))return!1}}return!0}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var i=n(261),r=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0)&&(n==e.length-1?e.pop():r.call(e,n,1),--this.size,!0)}},function(t,e,n){var i=n(261);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var i=n(261);t.exports=function(t){return i(this.__data__,t)>-1}},function(t,e,n){var i=n(261);t.exports=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}},function(t,e,n){var i=n(260);t.exports=function(){this.__data__=new i,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var i=n(260),r=n(333),a=n(334);t.exports=function(t,e){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!r||s.length<199)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new a(s)}return n.set(t,e),this.size=n.size,this}},function(t,e,n){var i=n(849),r=n(260),a=n(333);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(a||r),string:new i}}},function(t,e,n){var i=n(850),r=n(851),a=n(852),s=n(853),o=n(854);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=s,l.prototype.set=o,t.exports=l},function(t,e,n){var i=n(262);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var i=n(262),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(e,t)?e[t]:void 0}},function(t,e,n){var i=n(262),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:r.call(e,t)}},function(t,e,n){var i=n(262);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,n){var i=n(263);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var i=n(263);t.exports=function(t){return i(this,t).get(t)}},function(t,e,n){var i=n(263);t.exports=function(t){return i(this,t).has(t)}},function(t,e,n){var i=n(263);t.exports=function(t,e){var n=i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}},function(t,e,n){var i=n(445),r=n(447),a=n(865),s=n(869),o=n(480),l=n(93),c=n(359),u=n(361),d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,p,f,m){var g=l(t),v=l(e),_=g?"[object Array]":o(t),y=v?"[object Array]":o(e),b=(_="[object Arguments]"==_?d:_)==d,x=(y="[object Arguments]"==y?d:y)==d,w=_==y;if(w&&c(t)){if(!c(e))return!1;g=!0,b=!1}if(w&&!b)return m||(m=new i),g||u(t)?r(t,e,n,p,f,m):a(t,e,_,n,p,f,m);if(!(1&n)){var M=b&&h.call(t,"__wrapped__"),S=x&&h.call(e,"__wrapped__");
vendor: 4,439 bytes, line 124
124if(M||S){var T=M?t.value():t,A=S?e.value():e;return m||(m=new i),f(T,A,n,p,m)}}return!!w&&(m||(m=new i),s(t,e,n,p,f,m))}},function(t,e,n){var i=n(334),r=n(862),a=n(863);function s(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i;++e<n;)this.add(t[e])}s.prototype.add=s.prototype.push=r,s.prototype.has=a,t.exports=s},function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e,n){var i=n(258),r=n(866),a=n(332),s=n(447),o=n(867),l=n(868),c=i?i.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,n,i,c,d,h){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new r(t),new r(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=o;case"[object Set]":var f=1&i;if(p||(p=l),t.size!=e.size&&!f)return!1;var m=h.get(t);if(m)return m==e;i|=2,h.set(t,e);var g=s(p(t),p(e),i,c,d,h);return h.delete(t),g;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},function(t,e,n){var i=n(108).Uint8Array;t.exports=i},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},function(t,e,n){var i=n(870),r=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,a,s,o){var l=1&n,c=i(t),u=c.length;if(u!=i(e).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in e:r.call(e,h)))return!1}var p=o.get(t),f=o.get(e);if(p&&f)return p==e&&f==t;var m=!0;o.set(t,e),o.set(e,t);for(var g=l;++d<u;){var v=t[h=c[d]],_=e[h];if(a)var y=l?a(_,v,h,e,t,o):a(v,_,h,t,e,o);if(!(void 0===y?v===_||s(v,_,n,a,o):y)){m=!1;break}g||(g="constructor"==h)}if(m&&!g){var b=t.constructor,x=e.constructor;b==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(m=!1)}return o.delete(t),o.delete(e),m}},function(t,e,n){var i=n(871),r=n(873),a=n(329);t.exports=function(t){return i(t,a,r)}},function(t,e,n){var i=n(872),r=n(93);t.exports=function(t,e,n){var a=e(t);return r(t)?a:i(a,n(t))}},function(t,e){t.exports=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},function(t,e,n){var i=n(874),r=n(875),a=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,o=s?function(t){return null==t?[]:(t=Object(t),i(s(t),(function(e){return a.call(t,e)})))}:r;t.exports=o},function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,a=[];++n<i;){var s=t[n];e(s,n,t)&&(a[r++]=s)}return a}},function(t,e){t.exports=function(){return[]}},function(t,e,n){var i=n(152)(n(108),"DataView");t.exports=i},function(t,e,n){var i=n(152)(n(108),"Promise");t.exports=i},function(t,e,n){var i=n(152)(n(108),"Set");t.exports=i},function(t,e,n){var i=n(152)(n(108),"WeakMap");t.exports=i},function(t,e,n){var i=n(448),r=n(329);t.exports=function(t){for(var e=r(t),n=e.length;n--;){var a=e[n],s=t[a];e[n]=[a,s,i(s)]}return e}},function(t,e,n){var i=n(446),r=n(882),a=n(888),s=n(335),o=n(448),l=n(449),c=n(265);t.exports=function(t,e){return s(t)&&o(e)?l(c(t),e):function(n){var s=r(n,t);return void 0===s&&s===e?a(n,t):i(e,s,3)}}},function(t,e,n){var i=n(450);t.exports=function(t,e,n){var r=null==t?void 0:i(t,e);return void 0===r?n:r}},function(t,e,n){var i=n(884),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,(function(t,n,i,r){e.push(i?r.replace(a,"$1"):n||t)})),e}));t.exports=s},function(t,e,n){var i=n(885);t.exports=function(t){var e=i(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},function(t,e,n){var i=n(334);function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var s=t.apply(this,i);return n.cache=a.set(r,s)||a,s};return n.cache=new(r.Cache||i),n}
124r.Cache=i,t.exports=r},function(t,e,n){var i=n(887);t.exports=function(t){return null==t?"":i(t)}},function(t,e,n){var i=n(258),r=n(481),a=n(93),s=n(264),o=i?i.prototype:void 0,l=o?o.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return r(e,t)+"";if(s(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},function(t,e,n){var i=n(889),r=n(890);t.exports=function(t,e){return null!=t&&r(t,e,i)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,n){var i=n(451),r=n(358),a=n(93),s=n(330),o=n(331),l=n(265);t.exports=function(t,e,n){for(var c=-1,u=(e=i(e,t)).length,d=!1;++c<u;){var h=l(e[c]);if(!(d=null!=t&&n(t,h)))break;t=t[h]}return d||++c!=u?d:!!(u=null==t?0:t.length)&&o(u)&&s(h,u)&&(a(t)||r(t))}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var i=n(893),r=n(894),a=n(335),s=n(265);t.exports=function(t){return a(t)?i(s(t)):r(t)}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e,n){var i=n(450);t.exports=function(t){return function(e){return i(e,t)}}},function(t,e,n){t.exports=n(896)},function(t,e,n){var i=n(897);t.exports=i},function(t,e,n){var i=n(898);t.exports=i},function(t,e,n){var i=n(899);t.exports=i},function(t,e,n){n(900);var i=n(38);t.exports=i.Array.isArray},function(t,e,n){n(18)({target:"Array",stat:!0},{isArray:n(120)})},function(t,e,n){t.exports=n(902)},function(t,e,n){var i=n(903);t.exports=i},function(t,e,n){var i=n(904);t.exports=i},function(t,e,n){var i=n(905);n(257),t.exports=i},function(t,e,n){n(284),n(328);var i=n(254);t.exports=i},function(t,e,n){t.exports=n(907)},function(t,e,n){var i=n(908);t.exports=i},function(t,e,n){var i=n(482);t.exports=i},function(t,e,n){n(328),n(910);var i=n(38);t.exports=i.Array.from},function(t,e,n){var i=n(18),r=n(911);i({target:"Array",stat:!0,forced:!n(474)((function(t){Array.from(t)}))},{from:r})},function(t,e,n){"use strict";var i=n(138),r=n(51),a=n(80),s=n(912),o=n(470),l=n(212),c=n(87),u=n(151),d=n(431),h=n(254),p=Array;t.exports=function(t){var e=a(t),n=l(this),f=arguments.length,m=f>1?arguments[1]:void 0,g=void 0!==m;g&&(m=i(m,f>2?arguments[2]:void 0));var v,_,y,b,x,w,M=h(e),S=0;if(!M||this===p&&o(M))for(v=c(e),_=n?new this(v):p(v);v>S;S++)w=g?m(e[S],S):e[S],u(_,S,w);else for(x=(b=d(e,M)).next,_=n?new this:[];!(y=r(x,b)).done;S++)w=g?s(b,m,[y.value,S],!0):y.value,u(_,S,w);return _.length=S,_}},function(t,e,n){var i=n(81),r=n(471);t.exports=function(t,e,n,a){try{return a?e(i(n)[0],n[1]):e(n)}catch(e){r(t,"throw",e)}}},function(t,e,n){var i=n(914);t.exports=i},function(t,e,n){n(915);var i=n(38);t.exports=i.Object.entries},function(t,e,n){var i=n(18),r=n(483).entries;i({target:"Object",stat:!0},{entries:function(t){return r(t)}})},function(t,e,n){var i=n(917);t.exports=i},function(t,e,n){n(437);var i=n(38);t.exports=i.Object.getOwnPropertySymbols},function(t,e,n){var i=n(919);t.exports=i},function(t,e,n){n(920);var i=n(38).Object,r=t.exports=function(t,e){return i.getOwnPropertyDescriptor(t,e)};i.getOwnPropertyDescriptor.sham&&(r.sham=!0)},function(t,e,n){var i=n(18),r=n(25),a=n(72),s=n(136).f,o=n(46),l=r((function(){s(1)}));i({target:"Object",stat:!0,forced:!o||l,sham:!o},{getOwnPropertyDescriptor:function(t,e){return s(a(t),e)}})},function(t,e,n){var i=n(922);t.exports=i},function(t,e,n){n(923);var i=n(38);t.exports=i.Object.getOwnPropertyDescriptors},function(t,e,n){var i=n(18),r=n(46),a=n(468),s=n(72),o=n(136),l=n(151);i({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var e,n,i=s(t),r=o.f,c=a(i),u={},d=0;c.length>d;)void 0!==(n=r(i,e=c[d++]))&&l(u,e,n);return u}})},function(t,e,n){var i=n(925);t.exports=i},function(t,e,n){var i=n(53),r=n(926),a=n(928),s=Array.prototype,o=String.prototype;t.exports=function(t){var e=t.includes;return t===s||i(s,t)&&e===s.includes?r:"string"==typeof t||t===o||i(o,t)&&e===o.includes?a:e}},function(t,e,n){n(927);var i=n(74);t.exports=i("Array").includes},function(t,e,n){"use strict";var i=n(18),r=n(293).includes,a=n(25),s=n(255);i({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},function(t,e,n){n(929);var i=n(74);t.exports=i("String").includes},function(t,e,n){"use strict";var i=n(18),r=n(22),a=n(452),s=n(137),o=n(125),l=n(453),c=r("".indexOf);i({target:"String",proto:!0,forced:!l("includes")}
124,{includes:function(t){return!!~c(o(s(this)),o(a(t)),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(55),r=n(128),a=n(29)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==r(t))}},function(t,e,n){var i=n(932);t.exports=i},function(t,e,n){var i=n(53),r=n(933),a=Array.prototype;t.exports=function(t){var e=t.find;return t===a||i(a,t)&&e===a.find?r:e}},function(t,e,n){n(934);var i=n(74);t.exports=i("Array").find},function(t,e,n){"use strict";var i=n(18),r=n(179).find,a=n(255),s=!0;"find"in[]&&Array(1).find((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("find")},function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function a(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new a(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new a(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(936),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(114))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,a,s,o,l=1,c={},u=!1,d=t.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(t);h=h&&h.setTimeout?h:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){f(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((a=new MessageChannel).port1.onmessage=function(t){f(t.data)},i=function(t){a.port2.postMessage(t)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,i=function(t){var e=d.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(f,0,t)}:(s="setImmediate$"+Math.random()+"$",o=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(s)&&f(+e.data.slice(s.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),i=function(e){t.postMessage(s+e,"*")}),h.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var r={callback:t,args:e};return c[l]=r,i(l),l++},h.clearImmediate=p}function p(t){delete c[t]}function f(t){if(u)setTimeout(f,0,t);else{var e=c[t];if(e){u=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{p(t),u=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(114),n(484))},function(t,e,n){var i=n(485);t.exports={outerHTML:function(t,e){t.outerHTML=e.outerHTML,this.onSwitch()},innerHTML:function(t,e){t.innerHTML=e.innerHTML,""===e.className?t.removeAttribute("class"):t.className=e.className,this.onSwitch()},switchElementsAlt:function(t,e){if(t.innerHTML=e.innerHTML,e.hasAttributes())for(var n=e.attributes,i=0;i<n.length;i++)t.attributes.setNamedItem(n[i].cloneNode());this.onSwitch()},replaceNode:function(t,e){t.parentNode.replaceChild(e,t),this.onSwitch()},sideBySide:function(t,e,n,r){var a=Array.prototype.forEach,s=[],o=[],l=document.createDocumentFragment(),c="animationend webkitAnimationEnd MSAnimationEnd oanimationend",u=0,d=function(t){t.target===t.currentTarget&&--u<=0&&s&&(s.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)})),o.forEach((function(t){t.className=t.className.replace(t.getAttribute("data-pjax-classe
124s"),""),t.removeAttribute("data-pjax-classes")})),o=null,s=null,this.onSwitch())}.bind(this);r=r||{},a.call(t.childNodes,(function(t){s.push(t),t.classList&&!t.classList.contains("js-Pjax-remove")&&(t.hasAttribute("data-pjax-classes")&&(t.className=t.className.replace(t.getAttribute("data-pjax-classes"),""),t.removeAttribute("data-pjax-classes")),t.classList.add("js-Pjax-remove"),r.callbacks&&r.callbacks.removeElement&&r.callbacks.removeElement(t),r.classNames&&(t.className+=" "+r.classNames.remove+" "+(n.backward?r.classNames.backward:r.classNames.forward)),u++,i(t,c,d,!0))})),a.call(e.childNodes,(function(t){if(t.classList){var e="";r.classNames&&(e=" js-Pjax-add "+r.classNames.add+" "+(n.backward?r.classNames.forward:r.classNames.backward)),r.callbacks&&r.callbacks.addElement&&r.callbacks.addElement(t),t.className+=e,t.setAttribute("data-pjax-classes",e),o.push(t),l.appendChild(t),u++,i(t,c,d,!0)}})),t.className=e.className,t.appendChild(l)}}},function(t,e,n){var i=n(939),r=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(r,""):t}},function(t,e){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},function(t,e,n){"use strict";(function(e){var i=n(126),r=n(1263),a=n(363),s=n(970),o=n(971),l={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,d={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(u=n(972)),u),transformRequest:[function(t,e){if(r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t))return t;if(i.isArrayBufferView(t))return t.buffer;if(i.isURLSearchParams(t))return c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var n,a=i.isObject(t),s=e&&e["Content-Type"];if((n=i.isFileList(t))||a&&"multipart/form-data"===s){var l=this.env&&this.env.FormData;return o(n?{"files[]":t}:t,l&&new l)}return a||"application/json"===s?(c(e,"application/json"),function(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||d.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(s){if("SyntaxError"===t.name)throw a.from(t,a.ERR_BAD_RESPONSE,this,null,this.response);throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(1275)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){d.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){d.headers[t]=i.merge(l)})),t.exports=d}).call(this,n(484))},function(t,e,n){var i=n(942),r=n(454),a=n(943);t.exports=function(t){return function(e,n,s){return s&&"number"!=typeof s&&r(e,n,s)&&(n=s=void 0),e=a(e),void 0===n?(n=e,e=0):n=a(n),s=void 0===s?e<n?1:-1:a(s),i(e,n,s,t)}}},function(t,e){var n=Math.ceil,i=Math.max;t.exports=function(t,e,r,a){for(var s=-1,o=i(n((e-t)/(r||1)),0),l=Array(o);o--;)l[a?o:++s]=t,t+=r;return l}},function(t,e,n){var i=n(487);t.exports=function(t){return t?(t=i(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},,,function(t,e,n){t.exports=n(1159)},function(t,e,n){var i,r;
125/*! PhotoSwipe - v4.1.3 - 2019-01-08
126* http://photoswipe.com
127* Copyright (c) 2019 Dmitry Semenov; */void 0===(r="function"==typeof(i=function(){"use strict";return function(t,e,n,i){var r={features:null,bind:function(t,e,n,i){var r=(i?"remove":"add")+"EventListener";e=e.split(" ");for(var a=0;a<e.length;a++)e[a]&&t[r](e[a],n,!1)},isArray:function(t){return t instanceof Array},createEl:function(t,e){var n=document.createElement(e||"div");return t&&(n.className=t),n},getScrollY:function(){var t=window.pageYOffset;return void 0!==t?t:document.documentElement.scrollTop},unbind:function(t,e,n){r.bind(t,e,n,!0)},removeClass:function(t,e){var n=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(t,e){r.hasClass(t,e)||(t.className+=(t.className?" ":"")+e)},hasClass:function(t,e){return t.className&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},getChildByClass:function(t,e){for(var n=t.firstChild;n;){if(r.hasClass(n,e))return n;n=n.nextSibling}},arraySearch:function(t,e,n){for(var i=t.length;i--;)if(t[i][n]===e)return i;return-1},extend:function(t,e,n){for(var i in e)if(e.hasOwnProperty(i)){if(n&&t.hasOwnProperty(i))continue;t[i]=e[i]}},easing:{sine:{out:function(t){return Math.sin(t*(Math.PI/2))},inOut:function(t){return-(Math.cos(Math.PI*t)-1)/2}},cubic:{out:function(t){return--t*t*t+1}}},detectFeatures:function(){if(r.features)return r.features;var t=r.createEl().style,e="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var i=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var a=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);a&&a.length>0&&(a=parseInt(a[1],10))>=1&&a<8&&(n.isOldIOSPhone=!0)}var s=i.match(/Android\s([0-9\.]*)/),o=s?s[1]:0;(o=parseFloat(o))>=1&&(o<4.4&&(n.isOldAndroid=!0),n.androidVersion=o),n.isMobileOpera=/opera mini|o
127pera mobi/i.test(i)}for(var l,c,u=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],h=0;h<4;h++){e=d[h];for(var p=0;p<3;p++)l=u[p],c=e+(e?l.charAt(0).toUpperCase()+l.slice(1):l),!n[l]&&c in t&&(n[l]=c);e&&!n.raf&&(e=e.toLowerCase(),n.raf=window[e+"RequestAnimationFrame"],n.raf&&(n.caf=window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"]))}if(!n.raf){var f=0;n.raf=function(t){var e=(new Date).getTime(),n=Math.max(0,16-(e-f)),i=window.setTimeout((function(){t(e+n)}),n);return f=e+n,i},n.caf=function(t){clearTimeout(t)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r.features=n,n}};r.detectFeatures(),r.features.oldIE&&(r.bind=function(t,e,n,i){e=e.split(" ");for(var r,a=(i?"detach":"attach")+"Event",s=function(){n.handleEvent.call(n)},o=0;o<e.length;o++)if(r=e[o])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+r])return!1}else n["oldIE"+r]=s;t[a]("on"+r,n["oldIE"+r])}else t[a]("on"+r,n)});var a=this,s={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(t){return"A"===t.tagName},getDoubleTapZoom:function(t,e){return t||e.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};r.extend(s,i);var o,l,c,u,d,h,p,f,m,g,v,_,y,b,x,w,M,S,T,A,L,E,C,I,D,k,O,R,P,N,Y,F,H,j,B,z,U,V,W,G,q,X,$,K,J,Q,Z,tt,et,nt,it,rt,at,st,ot,lt,ct={x:0,y:0},ut={x:0,y:0},dt={x:0,y:0},ht={},pt=0,ft={},mt={x:0,y:0},gt=0,vt=!0,_t=[],yt={},bt=!1,xt=function(t,e){r.extend(a,e.publicMethods),_t.push(t)},wt=function(t){var e=Be();return t>e-1?t-e:t<0?e+t:t},Mt={},St=function(t,e){return Mt[t]||(Mt[t]=[]),Mt[t].push(e)},Tt=function(t){var e=Mt[t];if(e){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<e.length;i++)e[i].apply(a,n)}},At=function(){return(new Date).getTime()},Lt=function(t){st=t,a.bg.style.opacity=t*s.bgOpacity},Et=function(t,e,n,i,r){(!bt||r&&r!==a.currItem)&&(i/=r?r.fitRatio:a.currItem.fitRatio),t[E]=_+e+"px, "+n+"px"+y+" scale("+i+")"},Ct=function(t){et&&(t&&(g>a.currItem.fitRatio?bt||(Ke(a.currItem,!1,!0),bt=!0):bt&&(Ke(a.currItem),bt=!1)),Et(et,dt.x,dt.y,g))},It=function(t){t.container&&Et(t.container.style,t.initialPosition.x,t.initialPosition.y,t.initialZoomLevel,t)},Dt=function(t,e){e[E]=_+t+"px, 0px"+y},kt=function(t,e){if(!s.loop&&e){var n=u+(mt.x*pt-t)/mt.x,i=Math.round(t-ue.x);(n<0&&i>0||n>=Be()-1&&i<0)&&(t=ue.x+i*s.mainScrollEndFriction)}ue.x=t,Dt(t,d)},Ot=function(t,e){var n=de[t]-ft[t];return ut[t]+ct[t]+n-n*(e/v)},Rt=function(t,e){t.x=e.x,t.y=e.y,e.id&&(t.id=e.id)},Pt=function(t){t.x=Math.round(t.x),t.y=Math.round(t.y)},Nt=null,Yt=function(){Nt&&(r.unbind(document,"mousemove",Yt),r.addClass(t,"pswp--has_mouse"),s.mouseUsed=!0,Tt("mouseUsed")),Nt=setTimeout((function(){Nt=null}),100)},Ft=function(t,e){var n=Ge(a.currItem,ht,t);return e&&(tt=n),n},Ht=function(t){return t||(t=a.currItem),t.initialZoomLevel},jt=function(t){return t||(t=a.currItem),t.w>0?s.maxSpreadZoom:1},Bt=function(t,e,n,i){return i===a.currItem.initialZoomLevel?(n[t]=a.currItem.initialPosition[t],!0):(n[t]=Ot(t,i),n[t]>e.min[t]?(n[t]=e.min[t],!0):n[t]<e.max[t]&&(n[t]=e.max[t],!0))},zt=function(t){var e="";s.escKey&&27===t.keyCode?e="close":s.arrowKeys&&(37===t.keyCode?e="prev":39===t.keyCode&&(e="next")),e&&(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||(t.preventDefault?t.preventDefault():t.returnValue=!1,a[e]()))},Ut=function(t){t&&(X||q||nt||U)&&(t.preventDefault(),t.stopPropagation())},Vt=function(){a.setScrollOffset(0,r.getScrollY())},Wt={},Gt=0,qt=function(t){Wt[t]&&(Wt[t].raf&&k(Wt[t].raf),Gt--,delete Wt[t])},Xt=function(t){Wt[t]&&qt(t),Wt[t]||(Gt++,Wt[t]={})},$t=function(){for(var t in Wt)Wt.hasOwnProperty(t)&&qt(t)},Kt=function(t,e,n,i,r,a,s){var o,l=At();Xt(t);var c=function(){if(Wt[t]){if((o=At()-l)>=i)return qt(t),a(n),void(s&&s());a((n-e)*r(o/i)+e),Wt[t].raf=D(c)}};c()},Jt={shout:Tt,listen:St,viewportSize:ht,options:s,isMainScrollAnimating:function(){return nt},getZoomLevel:function(){return g},getCurrentIndex:function(){return u},isDragging:function(){return W},isZooming:function(){return Q},setScrollOffset:function(t,e){ft.x=t,N=ft.y=e,Tt("updateScrollOffset",ft)},applyZoomPan:function(t,e,n,i){dt.x=e,dt.y=n,g=t,Ct(i)},init:function(){if(!o&&!l){var n;a.framework=r,a.template=t,a.bg=r.getChildByClass(t,"pswp__bg"),O=t.className,o=!0,Y=r.detectFeatures(),D=Y.raf,k=Y.caf,E=Y.transform,P=Y.oldIE,a.scrollWrap=r.getChildByClass(t,"pswp__scroll-wrap"),a.container=r.getChildByClass(a.scrollWrap,"pswp__container"),d=a.container.style,a.itemHolders=w=[{el:a.container.children[0],wrap:0,index:-1},{el:a.container.children[1],wrap:0,index:-1},{el:a.container.children[2],wrap:0,index:-1}],w[0].el.style.display=w[2].el.style.display="none",function(){if(E){var e=Y.perspective&&!I;return _="translate"+(e?"3d(":"("),void(y=Y.perspective?", 0px)":")")}E="left",r.addClass(t,"pswp--ie"),Dt=function(t,e){e.left=t+"px"},It=function(t){var e=t.fitRatio>1?1:t.fitRatio,n=t.container.style,i=e*t.w,r=e*t.h;n.width=i+"px",n.height=r+"px",n.left=t.initialPosition.x+"px",n.top=t.initialPosition.y+"px"}
127,Ct=function(){if(et){var t=et,e=a.currItem,n=e.fitRatio>1?1:e.fitRatio,i=n*e.w,r=n*e.h;t.width=i+"px",t.height=r+"px",t.left=dt.x+"px",t.top=dt.y+"px"}}}(),m={resize:a.updateSize,orientationchange:function(){clearTimeout(F),F=setTimeout((function(){ht.x!==a.scrollWrap.clientWidth&&a.updateSize()}),500)},scroll:Vt,keydown:zt,click:Ut};var i=Y.isOldIOSPhone||Y.isOldAndroid||Y.isMobileOpera;for(Y.animationName&&Y.transform&&!i||(s.showAnimationDuration=s.hideAnimationDuration=0),n=0;n<_t.length;n++)a["init"+_t[n]]();e&&(a.ui=new e(a,r)).init(),Tt("firstUpdate"),u=u||s.index||0,(isNaN(u)||u<0||u>=Be())&&(u=0),a.currItem=je(u),(Y.isOldIOSPhone||Y.isOldAndroid)&&(vt=!1),t.setAttribute("aria-hidden","false"),s.modal&&(vt?t.style.position="fixed":(t.style.position="absolute",t.style.top=r.getScrollY()+"px")),void 0===N&&(Tt("initialLayout"),N=R=r.getScrollY());var c="pswp--open ";for(s.mainClass&&(c+=s.mainClass+" "),s.showHideOpacity&&(c+="pswp--animate_opacity "),c+=I?"pswp--touch":"pswp--notouch",c+=Y.animationName?" pswp--css_animation":"",c+=Y.svg?" pswp--svg":"",r.addClass(t,c),a.updateSize(),h=-1,gt=null,n=0;n<3;n++)Dt((n+h)*mt.x,w[n].el.style);P||r.bind(a.scrollWrap,f,a),St("initialZoomInEnd",(function(){a.setContent(w[0],u-1),a.setContent(w[2],u+1),w[0].el.style.display=w[2].el.style.display="block",s.focus&&t.focus(),r.bind(document,"keydown",a),Y.transform&&r.bind(a.scrollWrap,"click",a),s.mouseUsed||r.bind(document,"mousemove",Yt),r.bind(window,"resize scroll orientationchange",a),Tt("bindEvents")})),a.setContent(w[1],u),a.updateCurrItem(),Tt("afterInit"),vt||(b=setInterval((function(){Gt||W||Q||g!==a.currItem.initialZoomLevel||a.updateSize()}),1e3)),r.addClass(t,"pswp--visible")}},close:function(){o&&(o=!1,l=!0,Tt("close"),r.unbind(window,"resize scroll orientationchange",a),r.unbind(window,"scroll",m.scroll),r.unbind(document,"keydown",a),r.unbind(document,"mousemove",Yt),Y.transform&&r.unbind(a.scrollWrap,"click",a),W&&r.unbind(window,p,a),clearTimeout(F),Tt("unbindEvents"),ze(a.currItem,null,!0,a.destroy))},destroy:function(){Tt("destroy"),Ne&&clearTimeout(Ne),t.setAttribute("aria-hidden","true"),t.className=O,b&&clearInterval(b),r.unbind(a.scrollWrap,f,a),r.unbind(window,"scroll",a),fe(),$t(),Mt=null},panTo:function(t,e,n){n||(t>tt.min.x?t=tt.min.x:t<tt.max.x&&(t=tt.max.x),e>tt.min.y?e=tt.min.y:e<tt.max.y&&(e=tt.max.y)),dt.x=t,dt.y=e,Ct()},handleEvent:function(t){t=t||window.event,m[t.type]&&m[t.type](t)},goTo:function(t){var e=(t=wt(t))-u;gt=e,u=t,a.currItem=je(u),pt-=e,kt(mt.x*pt),$t(),nt=!1,a.updateCurrItem()},next:function(){a.goTo(u+1)},prev:function(){a.goTo(u-1)},updateCurrZoomItem:function(t){if(t&&Tt("beforeChange",0),w[1].el.children.length){var e=w[1].el.children[0];et=r.hasClass(e,"pswp__zoom-wrap")?e.style:null}else et=null;tt=a.currItem.bounds,v=g=a.currItem.initialZoomLevel,dt.x=tt.center.x,dt.y=tt.center.y,t&&Tt("afterChange")},invalidateCurrItems:function(){x=!0;for(var t=0;t<3;t++)w[t].item&&(w[t].item.needsUpdate=!0)},updateCurrItem:function(t){if(0!==gt){var e,n=Math.abs(gt);if(!(t&&n<2)){a.currItem=je(u),bt=!1,Tt("beforeChange",gt),n>=3&&(h+=gt+(gt>0?-3:3),n=3);for(var i=0;i<n;i++)gt>0?(e=w.shift(),w[2]=e,h++,Dt((h+2)*mt.x,e.el.style),a.setContent(e,u-n+i+1+1)):(e=w.pop(),w.unshift(e),h--,Dt(h*mt.x,e.el.style),a.setContent(e,u+n-i-1-1));if(et&&1===Math.abs(gt)){var r=je(M);r.initialZoomLevel!==g&&(Ge(r,ht),Ke(r),It(r))}gt=0,a.updateCurrZoomItem(),M=u,Tt("afterChange")}}},updateSize:function(e){if(!vt&&s.modal){var n=r.getScrollY();if(N!==n&&(t.style.top=n+"px",N=n),!e&&yt.x===window.innerWidth&&yt.y===window.innerHeight)return;yt.x=window.innerWidth,yt.y=window.innerHeight,t.style.height=yt.y+"px"}if(ht.x=a.scrollWrap.clientWidth,ht.y=a.scrollWrap.clientHeight,Vt(),mt.x=ht.x+Math.round(ht.x*s.spacing),mt.y=ht.y,kt(mt.x*pt),Tt("beforeResize"),void 0!==h){for(var i,o,l,c=0;c<3;c++)i=w[c],Dt((c+h)*mt.x,i.el.style),l=u+c-1,s.loop&&Be()>2&&(l=wt(l)),(o=je(l))&&(x||o.needsUpdate||!o.bounds)?(a.cleanSlide(o),a.setContent(i,l),1===c&&(a.currItem=o,a.updateCurrZoomItem(!0)),o.needsUpdate=!1):-1===i.index&&l>=0&&a.setContent(i,l),o&&o.container&&(Ge(o,ht),Ke(o),It(o));x=!1}v=g=a.currItem.initialZoomLevel,(tt=a.currItem.bounds)&&(dt.x=tt.center.x,dt.y=tt.center.y,Ct(!0)),Tt("resize")},zoomTo:function(t,e,n,i,a){e&&(v=g,de.x=Math.abs(e.x)-dt.x,de.y=Math.abs(e.y)-dt.y,Rt(ut,dt));var s=Ft(t,!1),o={};Bt("x",s,o,t),Bt("y",s,o,t);var l=g,c=dt.x,u=dt.y;Pt(o);var d=function(e){1===e?(g=t,dt.x=o.x,dt.y=o.y):(g=(t-l)*e+l,dt.x=(o.x-c)*e+c,dt.y=(o.y-u)*e+u),a&&a(e),Ct(1===e)};n?Kt("customZoomTo",0,1,n,i||r.easing.sine.inOut,d):d(1)}},Qt={},Zt={},te={},ee={},ne={},ie=[],re={},ae=[],se={},oe=0,le={x:0,y:0},ce=0,ue={x:0,y:0},de={x:0,y:0},he={x:0,y:0},pe=function(t,e){return se.x=Math.abs(t.x-e.x),se.y=Math.abs(t.y-e.y),Math.sqrt(se.x*se.x+se.y*se.y)},fe=function(){$&&(k($),$=null)},me=function(){W&&($=D(me),Ce())},ge=function(t,e){return!(!t||t===document)&&!(t.getAttribute("class")&&t.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(e(t)?t:ge(t.parentNode,e))},ve={},_e=function(t,e){return ve.prevent=!ge(t.target,s.isClickableElement),Tt("preventDragEvent",t,e,ve),ve.prevent},ye=function(t,e){return e.x=t.pageX,e.y=t.pageY,e.id=t.identifier,e},be=function(t,e,n){n.x=.5*(t.x+e.x),n.y=.5*(t.y+e.y)},xe=function(){var t=dt.y-a.currItem.initialPosition.y;return 1-Math.abs(t/(ht.y/2))},we={},Me={},Se=[],Te=function(t){for(;Se.length>0;)Se.pop();return C?(lt=0,ie.forEach((function(t){0===lt?Se[0]=t:1===lt&&(Se[1]=t),lt++}))):t.type.indexOf("touch")>-1?t.touches&&t.touches.length>0&&(Se[0]=ye(t.touches[0],we),t.touches.length>1&&(Se[1]=ye(t.touches[1],Me))):(we.x=t.pageX,we.y=t.pageY,we.id="",Se[0]=we),Se},Ae=function(t,e){var n,i,r,o,l=dt[t]+e[t],c=e[t]>0,u=ue.x+e.x,d=ue.x-re.x;if(n=l>tt.min[t]||l<tt.max[t]?s.panEndFriction:1,l=dt[t]+e[t]*n,(s.allowPanToNext||g===a.currItem.initialZoomLevel)&&(et?"h"!==it||"x"!==t||q||(c?(l>tt.min[t]&&(n=s.panEndFriction,tt.min[t],i=tt.min[t]-ut[t]),(i<=0||d<0)&&Be()>1?(o=u,d<0&&u>re.x&&(o=re.x)):tt.min.x!==tt.max.x&&(r=l)):(l<tt.max[t]&&(n=s.panEndFriction,tt.max[t],i=ut[t]-tt.max[t]),(i<=0||d>0)&&Be()>1?(o=u,d>0&&u<re.x&&(o=re.x)):tt.min.x!==tt.max.x&&(r=l))):o=u,"x"===t))return void 0!==o&&(kt(o,!0),K=o!==re.x),tt.min.x!==tt.max.x&&(void 0!==r?dt.x=r:K||(dt.x+=e.x*n)),void 0!==o;nt||K||g>a.currItem.fitRatio&&(dt[t]+=e[t]*n)},Le=function(t){if(!("mousedown"===t.type&&t.button>0))if(He)t.preventDefault();else if(!V||"mousedown"!==t.type){if(_e(t,!0)&&t.preventDefault(),Tt("pointerDown"),C
vendor: 4,120 bytes, line 127
127){var e=r.arraySearch(ie,t.pointerId,"id");e<0&&(e=ie.length),ie[e]={x:t.pageX,y:t.pageY,id:t.pointerId}}var n=Te(t),i=n.length;J=null,$t(),W&&1!==i||(W=rt=!0,r.bind(window,p,a),z=ot=at=U=K=X=G=q=!1,it=null,Tt("firstTouchStart",n),Rt(ut,dt),ct.x=ct.y=0,Rt(ee,n[0]),Rt(ne,ee),re.x=mt.x*pt,ae=[{x:ee.x,y:ee.y}],j=H=At(),Ft(g,!0),fe(),me()),!Q&&i>1&&!nt&&!K&&(v=g,q=!1,Q=G=!0,ct.y=ct.x=0,Rt(ut,dt),Rt(Qt,n[0]),Rt(Zt,n[1]),be(Qt,Zt,he),de.x=Math.abs(he.x)-dt.x,de.y=Math.abs(he.y)-dt.y,Z=pe(Qt,Zt))}},Ee=function(t){if(t.preventDefault(),C){var e=r.arraySearch(ie,t.pointerId,"id");if(e>-1){var n=ie[e];n.x=t.pageX,n.y=t.pageY}}if(W){var i=Te(t);if(it||X||Q)J=i;else if(ue.x!==mt.x*pt)it="h";else{var a=Math.abs(i[0].x-ee.x)-Math.abs(i[0].y-ee.y);Math.abs(a)>=10&&(it=a>0?"h":"v",J=i)}}},Ce=function(){if(J){var t=J.length;if(0!==t)if(Rt(Qt,J[0]),te.x=Qt.x-ee.x,te.y=Qt.y-ee.y,Q&&t>1){if(ee.x=Qt.x,ee.y=Qt.y,!te.x&&!te.y&&function(t,e){return t.x===e.x&&t.y===e.y}(J[1],Zt))return;Rt(Zt,J[1]),q||(q=!0,Tt("zoomGestureStarted"));var e=pe(Qt,Zt),n=Re(e);n>a.currItem.initialZoomLevel+a.currItem.initialZoomLevel/15&&(ot=!0);var i=1,r=Ht(),o=jt();if(n<r)if(s.pinchToClose&&!ot&&v<=a.currItem.initialZoomLevel){var l=1-(r-n)/(r/1.2);Lt(l),Tt("onPinchClose",l),at=!0}else(i=(r-n)/r)>1&&(i=1),n=r-i*(r/3);else n>o&&((i=(n-o)/(6*r))>1&&(i=1),n=o+i*r);i<0&&(i=0),be(Qt,Zt,le),ct.x+=le.x-he.x,ct.y+=le.y-he.y,Rt(he,le),dt.x=Ot("x",n),dt.y=Ot("y",n),z=n>g,g=n,Ct()}else{if(!it)return;if(rt&&(rt=!1,Math.abs(te.x)>=10&&(te.x-=J[0].x-ne.x),Math.abs(te.y)>=10&&(te.y-=J[0].y-ne.y)),ee.x=Qt.x,ee.y=Qt.y,0===te.x&&0===te.y)return;if("v"===it&&s.closeOnVerticalDrag&&"fit"===s.scaleMode&&g===a.currItem.initialZoomLevel){ct.y+=te.y,dt.y+=te.y;var c=xe();return U=!0,Tt("onVerticalDrag",c),Lt(c),void Ct()}!function(t,e,n){if(t-j>50){var i=ae.length>2?ae.shift():{};i.x=e,i.y=n,ae.push(i),j=t}}(At(),Qt.x,Qt.y),X=!0,tt=a.currItem.bounds,Ae("x",te)||(Ae("y",te),Pt(dt),Ct())}}},Ie=function(t){if(Y.isOldAndroid){if(V&&"mouseup"===t.type)return;t.type.indexOf("touch")>-1&&(clearTimeout(V),V=setTimeout((function(){V=0}),600))}var e;if(Tt("pointerUp"),_e(t,!1)&&t.preventDefault(),C){var n=r.arraySearch(ie,t.pointerId,"id");n>-1&&(e=ie.splice(n,1)[0],navigator.msPointerEnabled?(e.type={4:"mouse",2:"touch",3:"pen"}[t.pointerType],e.type||(e.type=t.pointerType||"mouse")):e.type=t.pointerType||"mouse")}var i,o=Te(t),l=o.length;if("mouseup"===t.type&&(l=0),2===l)return J=null,!0;1===l&&Rt(ne,o[0]),0!==l||it||nt||(e||("mouseup"===t.type?e={x:t.pageX,y:t.pageY,type:"mouse"}:t.changedTouches&&t.changedTouches[0]&&(e={x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY,type:"touch"})),Tt("touchRelease",t,e));var c=-1;if(0===l&&(W=!1,r.unbind(window,p,a),fe(),Q?c=0:-1!==ce&&(c=At()-ce)),ce=1===l?At():-1,i=-1!==c&&c<150?"zoom":"swipe",Q&&l<2&&(Q=!1,1===l&&(i="zoomPointerUp"),Tt("zoomGestureEnded")),J=null,X||q||nt||U)if($t(),B||(B=De()),B.calculateSwipeSpeed("x"),U)if(xe()<s.verticalDragRange)a.close();else{var u=dt.y,d=st;Kt("verticalDrag",0,1,300,r.easing.cubic.out,(function(t){dt.y=(a.currItem.initialPosition.y-u)*t+u,Lt((1-d)*t+d),Ct()})),Tt("onVerticalDrag",1)}else{if((K||nt)&&0===l){if(Oe(i,B))return;i="zoomPointerUp"}nt||("swipe"===i?!K&&g>a.currItem.fitRatio&&ke(B):Pe())}},De=function(){var t,e,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){ae.length>1?(t=At()-j+50,e=ae[ae.length-2][i]):(t=At()-H,e=ne[i]),n.lastFlickOffset[i]=ee[i]-e,n.lastFlickDist[i]=Math.abs(n.lastFlickOffset[i]),n.lastFlickDist[i]>20?n.lastFlickSpeed[i]=n.lastFlickOffset[i]/t:n.lastFlickSpeed[i]=0,Math.abs(n.lastFlickSpeed[i])<.1&&(n.lastFlickSpeed[i]=0),n.slowDownRatio[i]=.95,n.slowDownRatioReverse[i]=1-n.slowDownRatio[i],n.speedDecelerationRatio[i]=1},calculateOverBoundsAnimOffset:function(t,e){n.backAnimStarted[t]||(dt[t]>tt.min[t]?n.backAnimDestination[t]=tt.min[t]:dt[t]<tt.max[t]&&(n.backAnimDestination[t]=tt.max[t]),void 0!==n.backA
127nimDestination[t]&&(n.slowDownRatio[t]=.7,n.slowDownRatioReverse[t]=1-n.slowDownRatio[t],n.speedDecelerationRatioAbs[t]<.05&&(n.lastFlickSpeed[t]=0,n.backAnimStarted[t]=!0,Kt("bounceZoomPan"+t,dt[t],n.backAnimDestination[t],e||300,r.easing.sine.out,(function(e){dt[t]=e,Ct()})))))},calculateAnimOffset:function(t){n.backAnimStarted[t]||(n.speedDecelerationRatio[t]=n.speedDecelerationRatio[t]*(n.slowDownRatio[t]+n.slowDownRatioReverse[t]-n.slowDownRatioReverse[t]*n.timeDiff/10),n.speedDecelerationRatioAbs[t]=Math.abs(n.lastFlickSpeed[t]*n.speedDecelerationRatio[t]),n.distanceOffset[t]=n.lastFlickSpeed[t]*n.speedDecelerationRatio[t]*n.timeDiff,dt[t]+=n.distanceOffset[t])},panAnimLoop:function(){if(Wt.zoomPan&&(Wt.zoomPan.raf=D(n.panAnimLoop),n.now=At(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Ct(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return dt.x=Math.round(dt.x),dt.y=Math.round(dt.y),Ct(),void qt("zoomPan")}};return n},ke=function(t){if(t.calculateSwipeSpeed("y"),tt=a.currItem.bounds,t.backAnimDestination={},t.backAnimStarted={},Math.abs(t.lastFlickSpeed.x)<=.05&&Math.abs(t.lastFlickSpeed.y)<=.05)return t.speedDecelerationRatioAbs.x=t.speedDecelerationRatioAbs.y=0,t.calculateOverBoundsAnimOffset("x"),t.calculateOverBoundsAnimOffset("y"),!0;Xt("zoomPan"),t.lastNow=At(),t.panAnimLoop()},Oe=function(t,e){var n,i,o;if(nt||(oe=u),"swipe"===t){var l=ee.x-ne.x,c=e.lastFlickDist.x<10;l>30&&(c||e.lastFlickOffset.x>20)?i=-1:l<-30&&(c||e.lastFlickOffset.x<-20)&&(i=1)}i&&((u+=i)<0?(u=s.loop?Be()-1:0,o=!0):u>=Be()&&(u=s.loop?0:Be()-1,o=!0),o&&!s.loop||(gt+=i,pt-=i,n=!0));var d,h=mt.x*pt,p=Math.abs(h-ue.x);return n||h>ue.x==e.lastFlickSpeed.x>0?(d=Math.abs(e.lastFlickSpeed.x)>0?p/Math.abs(e.lastFlickSpeed.x):333,d=Math.min(d,400),d=Math.max(d,250)):d=333,oe===u&&(n=!1),nt=!0,Tt("mainScrollAnimStart"),Kt("mainScroll",ue.x,h,d,r.easing.cubic.out,kt,(function(){$t(),nt=!1,oe=-1,(n||oe!==u)&&a.updateCurrItem(),Tt("mainScrollAnimComplete")})),n&&a.updateCurrItem(!0),n},Re=function(t){return 1/Z*t*v},Pe=function(){var t=g,e=Ht(),n=jt();g<e?t=e:g>n&&(t=n);var i,s=st;return at&&!z&&!ot&&g<e?(a.close(),!0):(at&&(i=function(t){Lt((1-s)*t+s)}),a.zoomTo(t,0,200,r.easing.cubic.out,i),!0)};xt("Gestures",{publicMethods:{initGestures:function(){var t=function(t,e,n,i,r){S=t+e,T=t+n,A=t+i,L=r?t+r:""};(C=Y.pointerEvent)&&Y.touch&&(Y.touch=!1),C?navigator.msPointerEnabled?t("MSPointer","Down","Move","Up","Cancel"):t("pointer","down","move","up","cancel"):Y.touch?(t("touch","start","move","end","cancel"),I=!0):t("mouse","down","move","up"),p=T+" "+A+" "+L,f=S,C&&!I&&(I=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),a.likelyTouchDevice=I,m[S]=Le,m[T]=Ee,m[A]=Ie,L&&(m[L]=m[A]),Y.touch&&(f+=" mousedown",p+=" mousemove mouseup",m.mousedown=m[S],m.mousemove=m[T],m.mouseup=m[A]),I||(s.allowPanToNext=!1)}}});var Ne,Ye,Fe,He,je,Be,ze=function(e,n,i,o){var l;Ne&&clearTimeout(Ne),He=!0,Fe=!0,e.initialLayout?(l=e.initialLayout,e.initialLayout=null):l=s.getThumbBoundsFn&&s.getThumbBoundsFn(u);var d,h,p=i?s.hideAnimationDuration:s.showAnimationDuration,f=function(){qt("initialZoom"),i?(a.template.removeAttribute("style"),a.bg.removeAttribute("style")):(Lt(1),n&&(n.style.display="block"),r.addClass(t,"pswp--animated-in"),Tt("initialZoom"+(i?"OutEnd":"InEnd"))),o&&o(),He=!1};if(!p||!l||void 0===l.x)return Tt("initialZoom"+(i?"Out":"In")),g=e.initialZoomLevel,Rt(dt,e.initialPosition),Ct(),t.style.opacity=i?0:1,Lt(1),void(p?setTimeout((function(){f()}),p):f());d=c,h=!a.currItem.src||a.currItem.loadError||s.showHideOpacity,e.miniImg&&(e.miniImg.style.webkitBackfaceVisibility="hidden"),i||(g=l.w/e.w,dt.x=l.x,dt.y=l.y-R,a[h?"template":"bg"].style.opacity=.001,Ct()),Xt("initialZoom"),i&&!d&&r.removeClass(t,"pswp--animated-in"),h&&(i?r[(d?"remove":"add")+"Class"](t,"pswp--animate_opacity"):setTimeout((function(){r.addClass(t,"pswp--animate_opacity")}),30)),Ne=setTimeout((function(){if(Tt("initialZoom"+(i?"Out":"In")),i){var n=l.w/e.w,a={x:dt.x,y:dt.y},s=g,o=st,c=function(e){1===e?(g=n,dt.x=l.x,dt.y=l.y-N):(g=(n-s)*e+s,dt.x=(l.x-a.x)*e+a.x,dt.y=(l.y-N-a.y)*e+a.y),Ct(),h?t.style.opacity=1-e:Lt(o-e*o)};d?Kt("initialZoom",0,1,p,r.easing.cubic.out,c,f):(c(1),Ne=setTimeout(f,p+20))}else g=e.initialZoomLevel,Rt(dt,e.initialPosition),Ct(),Lt(1),h?t.style.opacity=1:Lt(1),Ne=setTimeout(f,p+20)}),i?25:90)},Ue={},Ve=[],We={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Ye.length}},Ge=function(t,e,n){if(t.src&&!t.loadError){var i=!n;if(i&&(t.vGap||(t.vGap={top:0,bottom:0}),Tt("parseVerticalMargin",t)),Ue.x=e.x,Ue.y=e.y-t.vGap.top-t.vGap.bottom,i){var r=Ue.x/t.w,a=Ue.
127y/t.h;t.fitRatio=r<a?r:a;var o=s.scaleMode;"orig"===o?n=1:"fit"===o&&(n=t.fitRatio),n>1&&(n=1),t.initialZoomLevel=n,t.bounds||(t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}if(!n)return;return function(t,e,n){var i=t.bounds;i.center.x=Math.round((Ue.x-e)/2),i.center.y=Math.round((Ue.y-n)/2)+t.vGap.top,i.max.x=e>Ue.x?Math.round(Ue.x-e):i.center.x,i.max.y=n>Ue.y?Math.round(Ue.y-n)+t.vGap.top:i.center.y,i.min.x=e>Ue.x?0:i.center.x,i.min.y=n>Ue.y?t.vGap.top:i.center.y}(t,t.w*n,t.h*n),i&&n===t.initialZoomLevel&&(t.initialPosition=t.bounds.center),t.bounds}return t.w=t.h=0,t.initialZoomLevel=t.fitRatio=1,t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},t.initialPosition=t.bounds.center,t.bounds},qe=function(t,e,n,i,r,s){e.loadError||i&&(e.imageAppended=!0,Ke(e,i,e===a.currItem&&bt),n.appendChild(i),s&&setTimeout((function(){e&&e.loaded&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null)}),500))},Xe=function(t){t.loading=!0,t.loaded=!1;var e=t.img=r.createEl("pswp__img","img"),n=function(){t.loading=!1,t.loaded=!0,t.loadComplete?t.loadComplete(t):t.img=null,e.onload=e.onerror=null,e=null};return e.onload=n,e.onerror=function(){t.loadError=!0,n()},e.src=t.src,e},$e=function(t,e){if(t.src&&t.loadError&&t.container)return e&&(t.container.innerHTML=""),t.container.innerHTML=s.errorMsg.replace("%url%",t.src),!0},Ke=function(t,e,n){if(t.src){e||(e=t.container.lastChild);var i=n?t.w:Math.round(t.w*t.fitRatio),r=n?t.h:Math.round(t.h*t.fitRatio);t.placeholder&&!t.loaded&&(t.placeholder.style.width=i+"px",t.placeholder.style.height=r+"px"),e.style.width=i+"px",e.style.height=r+"px"}},Je=function(){if(Ve.length){for(var t,e=0;e<Ve.length;e++)(t=Ve[e]).holder.index===t.index&&qe(t.index,t.item,t.baseDiv,t.img,0,t.clearPlaceholder);Ve=[]}};xt("Controller",{publicMethods:{lazyLoadItem:function(t){t=wt(t);var e=je(t);e&&(!e.loaded&&!e.loading||x)&&(Tt("gettingData",t,e),e.src&&Xe(e))},initController:function(){r.extend(s,We,!0),a.items=Ye=n,je=a.getItemAt,Be=s.getNumItemsFn,s.loop,Be()<3&&(s.loop=!1),St("beforeChange",(function(t){var e,n=s.preload,i=null===t||t>=0,r=Math.min(n[0],Be()),o=Math.min(n[1],Be());for(e=1;e<=(i?o:r);e++)a.lazyLoadItem(u+e);for(e=1;e<=(i?r:o);e++)a.lazyLoadItem(u-e)})),St("initialLayout",(function(){a.currItem.initialLayout=s.getThumbBoundsFn&&s.getThumbBoundsFn(u)})),St("mainScrollAnimComplete",Je),St("initialZoomInEnd",Je),St("destroy",(function(){for(var t,e=0;e<Ye.length;e++)(t=Ye[e]).container&&(t.container=null),t.placeholder&&(t.placeholder=null),t.img&&(t.img=null),t.preloader&&(t.preloader=null),t.loadError&&(t.loaded=t.loadError=!1);Ve=null}))},getItemAt:function(t){return t>=0&&void 0!==Ye[t]&&Ye[t]},allowProgressiveImg:function(){return s.forceProgressiveLoading||!I||s.mouseUsed||screen.width>1200},setContent:function(t,e){s.loop&&(e=wt(e));var n=a.getItemAt(t.index);n&&(n.container=null);var i,l=a.getItemAt(e);if(l){Tt("gettingData",e,l),t.index=e,t.item=l;var c=l.container=r.createEl("pswp__zoom-wrap");if(!l.src&&l.html&&(l.html.tagName?c.appendChild(l.html):c.innerHTML=l.html),$e(l),Ge(l,ht),!l.src||l.loadError||l.loaded)l.src&&!l.loadError&&((i=r.createEl("pswp__img","img")).style.opacity=1,i.src=l.src,Ke(l,i),qe(0,l,c,i));else{if(l.loadComplete=function(n){if(o){if(t&&t.index===e){if($e(n,!0))return n.loadComplete=n.img=null,Ge(n,ht),It(n),void(t.index===u&&a.updateCurrZoomItem());n.imageAppended?!He&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):Y.transform&&(nt||He)?Ve.push({item:n,baseDiv:c,img:n.img,index:e,holder:t,clearPlaceholder:!0}):qe(0,n,c,n.img,0,!0)}n.loadComplete=null,n.img=null,Tt("imageLoadComplete",e,n)}},r.features.transform){var d="pswp__img pswp__img--placeholder";d+=l.msrc?"":" pswp__img--placeholder--blank";var h=r.createEl(d,l.msrc?"img":"");l.msrc&&(h.src=l.msrc),Ke(l,h),c.appendChild(h),l.placeholder=h}l.loading||Xe(l),a.allowProgressiveImg()&&(!Fe&&Y.transform?Ve.push({item:l,baseDiv:c,img:l.img,index:e,holder:t}):qe(0,l,c,l.img,0,!0))}Fe||e!==u?It(l):(et=c.style,ze(l,i||l.img)),t.el.innerHTML="",t.el.appendChild(c)}else t.el.innerHTML=""},cleanSlide:function(t){t.img&&(t.img.onload=t.img.onerror=null),t.loaded=t.loading=t.img=t.imageAppended=!1}}});var Qe,Ze,tn={},en=function(t,e,n){var i=document.createEvent("CustomEvent"),r={origEvent:t,target:t.target,releasePoint:e,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,r),t.target.dispatchEvent(i)};xt("Tap",{publicMethods:{initTap:function(){St("firstTouchStart",a.onTapStart),St("touchRelease",a.onTapRelease),St("destroy",(function(){tn={},Qe=null}))},onTapStart:function(t){t.length>1&&(clearTimeout(Qe),Qe=null)},onTapRelease:function(t,e){var n,i;if(e&&!X&&!G&&!Gt){var a=e;if(Qe&&(clearTimeout(Qe),Qe=null,n=a,i=tn,Math.abs(n.x-i.x)<25&&Math.abs(n.y-i.y)<25))return void Tt("doubleTap",a);if("mouse"===e.type)return void en(t,e,"mouse");if("BUTTON"===t.target.tagName.toUpperCase()||r.hasClass(t.target,"pswp__single-tap"))return void en(t,e);Rt(tn,a),Qe=setTimeout((function(){en(t,e),Qe=null}),300)}}}}),xt("DesktopZoom",{publicMethods:{initDesktopZoom:function(){P||(I?St("mouseUsed",(function(){a.setupDesktopZoom()})):a.setupDesktopZoom(!0))},setupDesktopZoom:function(e){Ze={};var n="wheel mousewheel DOMMouseScroll";St("bindEvents",(function(){r.bind(t,n,a.handleMouseWheel)})),St("unbindEvents",(function(){Ze&&r.unbind(t,n,a.handleMouseWheel)})),a.mouseZoomedIn=!1;var i,s=function(){a.mouseZoomedIn&&(r.removeClass(t,"pswp--zoomed-in"),a.mouseZoomedIn=!1),g<1?r.addClass(t,"pswp--zoom-allowed"):r.removeClass(t,"pswp--zoom-allowed"),o()},o=function(){i&&(r.removeClass(t,"pswp--dragging"),i=!1)};St("resize",s),St("afterChange",s),St("pointerDown",(function(){a.mouseZoomedIn&&(i=!0,r.addClass(t,"pswp--dragging"))})),St("pointerUp",o),e||s()},handleMouseWheel:function(t){if(g<=a.currItem.fitRatio)return s.modal&&(!s.closeOnScroll||Gt||W?t.preventDefault():E&&Math.abs(t.deltaY)>2&&(c=!0,a.close())),!0;if(t.stopPropagation(),Ze.x=0,"deltaX"in t)1===t.deltaMode?(Ze.x=18*t.deltaX,Ze.y=18*t.deltaY):(Ze.x=t.deltaX,Ze.y=t.deltaY);else if("wheelDelta"in t)t.wheelDeltaX&&(Ze.x=-.16*t.wheelDeltaX),t.wheelDeltaY?Ze.y=-.16*t.wheelDeltaY:Ze.y=-.16*t.wheelDelta;else{if(!("detail"in t))return;Ze.y=t.detail}Ft(g,!0);var e=dt.x-Ze.x,n=dt.y-Ze.y;(s.modal||e<=tt.min.x&&e>=tt.max.x&&n<=tt.min.y&&n>=tt.max.y)&&t.preventDefault(),a.panTo(e,n)},toggleDesktopZoom:function(e){e=e||{x:ht.x/2+ft.x,y:ht.y/2+ft.y};var n=s.getDoubleTapZoom(!0,a.currItem),i=g===n;a.mouseZoomedIn=!i,a.zoomTo(i?a.currItem.initialZoomLevel:n,e,333),r[(i?"remove":"add")+"Class"](t,"pswp--zoomed-in")}}});var nn,rn,an,sn,on,ln,cn,un,dn,hn,pn,fn,mn={history:!0,galleryUID:1},gn=function(){return pn.hash.substring(1)},vn=function(){nn&&clearTimeout(nn),an&&clearTimeout(an)},_n=function(){var t=gn(),e={};if(t.length<5)return e;var n,i=t.split("&");for(n=0;n<i.length;n++)if(i[n]){var r=i[n].split("=");r.length<2||(e[r[0]]=r[1])}if(s.galleryPIDs){var a=e.pid;for(e.pid=0,n=0;n<Ye.length;n++)if(Ye[n].pid===a){e.pid=n;break}}else e.pid=parseInt(e.pid,10)-1;return e.pid<0&&(e.pid=0),e},yn=function(){if(an&&clearTimeout(an),Gt||W)an=setTimeout(yn,500);else{sn?clearTimeout(rn):sn=!0;var t=u+1,e=je(u);e.hasOwnProperty("pid")&&(t=e.pid);var n=cn+"&gid="+s.galleryUID+"&pid="+t;un||-1===pn.hash.indexOf(n)&&(hn=!0);var i=pn.href.split("#")[0]+"#"+n;fn?"#"+n!==window.location.hash&&history[un?"replaceState":"pushState"]("",document.title,i):un?pn.replace(i):pn.hash=n,un=!0,rn=setTimeout((function(){sn=!1}),60)}};xt("History",{publicMethods:{initHistory:function(){if(r.extend(s,mn,!0),s.history){pn=window.location,hn=!1,dn=!1,un=!1,cn=gn(),fn="pushState"in history,cn.indexOf("gid=")>-1&&(cn=(cn=cn.split("&gid=")[0]).split("?gid=")[0]),St("afterChange",a.updateURL),St("unbindEvents",(function(){r.unbind(window,"hashchange",a.onHashChange)}));var t=function(){ln=!0,dn||(hn?history.back():cn?pn.hash=cn:fn?history.pushState("",document.title,pn.pathname+pn.search):pn.hash=""),vn()};St("unbindEvents",(function(){c&&t()})),St("destroy",(function(){ln||t()})),St("firstUpdate",(function(){u=_n().pid}));var e=cn.indexOf("pid=");e>-1&&"&"===(cn=cn.substring(0,e)).slice(-1)&&(cn=cn.slice(0,-1)),setTimeout((function(){o&&r.bind(window,"hashchange",a.onHashChange)}),40)}},onHashChange:function(){if(gn()===cn)return dn=!0,void a.close();sn||(on=!0,a.goTo(_n().pid),on=!1)},updateURL:function(){vn(),on||(un?nn=setTimeout(yn,800):yn())}}}),r.extend(a,Jt)}})?i.call(e,n,e,t):i)||(t.exports=r)},function(t,e,n){var i,r;
128/*! PhotoSwipe Default UI - 4.1.3 - 2019-01-08
129* http://photoswipe.com
130* Copyright (c) 2019 Dmitry Semenov; */void 0===(r="function"==typeof(i=function(){"use strict";return function(t,e){var n,i,r,a,s,o,l,c,u,d,h,p,f,m,g,v,_,y,b=this,x=!1,w=!0,M=!0,S={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(t,e){return t.title?(e.children[0].innerHTML=t.title,!0):(e.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl
130:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return t.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return t.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},T=function(t){if(v)return!0;t=t||window.event,g.timeToIdle&&g.mouseUsed&&!u&&R();for(var n,i,r=(t.target||t.srcElement).getAttribute("class")||"",a=0;a<F.length;a++)(n=F[a]).onTap&&r.indexOf("pswp__"+n.name)>-1&&(n.onTap(),i=!0);if(i){t.stopPropagation&&t.stopPropagation(),v=!0;var s=e.features.isOldAndroid?600:30;setTimeout((function(){v=!1}),s)}},A=function(t,n,i){e[(i?"add":"remove")+"Class"](t,"pswp__"+n)},L=function(){var t=1===g.getNumItemsFn();t!==m&&(A(i,"ui--one-slide",t),m=t)},E=function(){A(l,"share-modal--hidden",M)},C=function(){return(M=!M)?(e.removeClass(l,"pswp__share-modal--fade-in"),setTimeout((function(){M&&E()}),300)):(E(),setTimeout((function(){M||e.addClass(l,"pswp__share-modal--fade-in")}),30)),M||D(),!1},I=function(e){var n=(e=e||window.event).target||e.srcElement;return t.shout("shareLinkClick",e,n),!(!n.href||!n.hasAttribute("download")&&(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),M||C(),1))},D=function(){for(var t,e,n,i,r="",a=0;a<g.shareButtons.length;a++)t=g.shareButtons[a],e=g.getImageURLForShare(t),n=g.getPageURLForShare(t),i=g.getTextForShare(t),r+='<a href="'+t.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(e)).replace("{{raw_image_url}}",e).replace("{{text}}",encodeURIComponent(i))+'" target="_blank" class="pswp__share--'+t.id+'"'+(t.download?"download":"")+">"+t.label+"</a>",g.parseShareButtonOut&&(r=g.parseShareButtonOut(t,r));l.children[0].innerHTML=r,l.children[0].onclick=I},k=function(t){for(var n=0;n<g.closeElClasses.length;n++)if(e.hasClass(t,"pswp__"+g.closeElClasses[n]))return!0},O=0,R=function(){clearTimeout(y),O=0,u&&b.setIdle(!1)},P=function(t){var e=(t=t||window.event).relatedTarget||t.toElement;e&&"HTML"!==e.nodeName||(clearTimeout(y),y=setTimeout((function(){b.setIdle(!0)}),g.timeToIdleOutside))},N=function(t){p!==t&&(A(h,"preloader--active",!t),p=t)},Y=function(n){var s=n.vGap;if(!t.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth){var o=g.barsSize;if(g.captionEl&&"auto"===o.bottom)if(a||((a=e.createEl("pswp__caption pswp__caption--fake")).appendChild(e.createEl("pswp__caption__center")),i.insertBefore(a,r),e.addClass(i,"pswp__ui--fit")),g.addCaptionHTMLFn(n,a,!0)){var l=a.clientHeight;s.bottom=parseInt(l,10)||44}else s.bottom=o.top;else s.bottom="auto"===o.bottom?0:o.bottom;s.top=o.top}else s.top=s.bottom=0},F=[{name:"caption",option:"captionEl",onInit:function(t){r=t}},{name:"share-modal",option:"shareEl",onInit:function(t){l=t},onTap:function(){C()}},{name:"button--share",option:"shareEl",onInit:function(t){o=t},onTap:function(){C()}},{name:"button--zoom",option:"zoomEl",onTap:t.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(t){s=t}},{name:"button--close",option:"closeEl",onTap:t.close},{name:"button--arrow--left",option:"arrowEl",onTap:t.prev},{name:"button--arrow--right",option:"arrowEl",onTap:t.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(t){h=t}}];b.init=function(){var s;e.extend(t.options,S,!0),g=t.options,i=e.getChildByClass(t.scrollWrap,"pswp__ui"),(d=t.listen)("onVerticalDrag",(function(t){w&&t<.95?b.hideControls():!w&&t>=.95&&b.showControls()})),d("onPinchClose",(function(t){w&&t<.9?(b.hideControls(),s=!0):s&&!w&&t>.9&&b.showControls()})),d("zoomGestureEnded",(function(){(s=!1)&&!w&&b.showControls()})),d("beforeChange",b.update),d("doubleTap",(function(e){var n=t.currItem.initialZoomLevel;t.getZoomLevel()!==n?t.zoomTo(n,e,333):t.zoomTo(g.getDoubleTapZoom(!1,t.currItem),e,333)})),d("preventDragEvent",(function(t,e,n){var i=t.target||t.srcElement;
130i&&i.getAttribute("class")&&t.type.indexOf("mouse")>-1&&(i.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(i.tagName))&&(n.prevent=!1)})),d("bindEvents",(function(){e.bind(i,"pswpTap click",T),e.bind(t.scrollWrap,"pswpTap",b.onGlobalTap),t.likelyTouchDevice||e.bind(t.scrollWrap,"mouseover",b.onMouseOver)})),d("unbindEvents",(function(){M||C(),_&&clearInterval(_),e.unbind(document,"mouseout",P),e.unbind(document,"mousemove",R),e.unbind(i,"pswpTap click",T),e.unbind(t.scrollWrap,"pswpTap",b.onGlobalTap),e.unbind(t.scrollWrap,"mouseover",b.onMouseOver),n&&(e.unbind(document,n.eventK,b.updateFullscreen),n.isFullscreen()&&(g.hideAnimationDuration=0,n.exit()),n=null)})),d("destroy",(function(){g.captionEl&&(a&&i.removeChild(a),e.removeClass(r,"pswp__caption--empty")),l&&(l.children[0].onclick=null),e.removeClass(i,"pswp__ui--over-close"),e.addClass(i,"pswp__ui--hidden"),b.setIdle(!1)})),g.showAnimationDuration||e.removeClass(i,"pswp__ui--hidden"),d("initialZoomIn",(function(){g.showAnimationDuration&&e.removeClass(i,"pswp__ui--hidden")})),d("initialZoomOut",(function(){e.addClass(i,"pswp__ui--hidden")})),d("parseVerticalMargin",Y),function(){var t,n,r,a=function(i){if(i)for(var a=i.length,s=0;s<a;s++){t=i[s],n=t.className;for(var o=0;o<F.length;o++)r=F[o],n.indexOf("pswp__"+r.name)>-1&&(g[r.option]?(e.removeClass(t,"pswp__element--disabled"),r.onInit&&r.onInit(t)):e.addClass(t,"pswp__element--disabled"))}};a(i.children);var s=e.getChildByClass(i,"pswp__top-bar");s&&a(s.children)}(),g.shareEl&&o&&l&&(M=!0),L(),g.timeToIdle&&d("mouseUsed",(function(){e.bind(document,"mousemove",R),e.bind(document,"mouseout",P),_=setInterval((function(){2==++O&&b.setIdle(!0)}),g.timeToIdle/2)})),g.fullscreenEl&&!e.features.isOldAndroid&&(n||(n=b.getFullscreenAPI()),n?(e.bind(document,n.eventK,b.updateFullscreen),b.updateFullscreen(),e.addClass(t.template,"pswp--supports-fs")):e.removeClass(t.template,"pswp--supports-fs")),g.preloaderEl&&(N(!0),d("beforeChange",(function(){clearTimeout(f),f=setTimeout((function(){t.currItem&&t.currItem.loading?(!t.allowProgressiveImg()||t.currItem.img&&!t.currItem.img.naturalWidth)&&N(!1):N(!0)}),g.loadingIndicatorDelay)})),d("imageLoadComplete",(function(e,n){t.currItem===n&&N(!0)})))},b.setIdle=function(t){u=t,A(i,"ui--idle",t)},b.update=function(){w&&t.currItem?(b.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(t.currItem,r),A(r,"caption--empty",!t.currItem.title)),x=!0):x=!1,M||C(),L()},b.updateFullscreen=function(i){i&&setTimeout((function(){t.setScrollOffset(0,e.getScrollY())}),50),e[(n.isFullscreen()?"add":"remove")+"Class"](t.template,"pswp--fs")},b.updateIndexIndicator=function(){g.counterEl&&(s.innerHTML=t.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},b.onGlobalTap=function(n){var i=(n=n||window.event).target||n.srcElement;if(!v)if(n.detail&&"mouse"===n.detail.pointerType){if(k(i))return void t.close();e.hasClass(i,"pswp__img")&&(1===t.getZoomLevel()&&t.getZoomLevel()<=t.currItem.fitRatio?g.clickToCloseNonZoomable&&t.close():t.toggleDesktopZoom(n.detail.releasePoint))}else if(g.tapToToggleControls&&(w?b.hideControls():b.showControls()),g.tapToClose&&(e.hasClass(i,"pswp__img")||k(i)))return void t.close()},b.onMouseOver=function(t){var e=(t=t||window.event).target||t.srcElement;A(i,"ui--over-close",k(e))},b.hideControls=function(){e.addClass(i,"pswp__ui--hidden"),w=!1},b.showControls=function(){w=!0,x||b.update(),e.removeClass(i,"pswp__ui--hidden")},b.supportsFullscreen=function(){var t=document;return!!(t.exitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen||t.msExitFullscreen)},b.getFullscreenAPI=function(){var e,n=document.documentElement,i="fullscreenchange";return n.requestFullscreen?e={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:i}:n.mozRequestFullScreen?e={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+i}:n.webkitRequestFullscreen?e={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+i}:n.msRequestFullscreen&&(e={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),e&&(e.enter=function(){if(c=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return t.template[this.enterK]();t.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},e.exit=function(){return g.closeOnScroll=c,document[this.exitK]()},e.isFullscreen=function(){return document[this.elementK]}),e}}})?i.call(e,n,e,t):i)||(t.exports=r)},,,function(t,e,n){var i=n(1130);n(257),t.exports=i},function(t,e,n){n(1131)},function(t,e,n){var i=n(53),r=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw r("Incorrect invocation")}},function(t,e,n){var i=n(81),r=n(1140),a=n(29)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||null==(n=i(s)[a])?e:r(n)}},function(t,e,n){var i,r,a,s,o=n(35),l=n(190),c=n(138),u=n(30),d=n(54),h=n(25),p=n(469),f=n(234),m=n(276),g=n(956),v=n(957),_=n(763),y=o.setImmediate,b=o.clearImmediate,x=o.process,w=o.Dispatch,M=o.Function,S=o.MessageChannel,T=o.String,A=0,L={};try{i=o.location}catch(t){}var E=function(t){if(d(L,t)){var e=L[t];delete L[t],e()}},C=function(t){return function(){E(t)}},I=function(t){E(t.data)},D=function(t){o.postMessage(T(t),i.protocol+"//"+i.host)};y&&b||(y=function(t){g(arguments.length,1);
130var e=u(t)?t:M(t),n=f(arguments,1);return L[++A]=function(){l(e,void 0,n)},r(A),A},b=function(t){delete L[t]},_?r=function(t){x.nextTick(C(t))}:w&&w.now?r=function(t){w.now(C(t))}:S&&!v?(s=(a=new S).port2,a.port1.onmessage=I,r=c(s.postMessage,s)):o.addEventListener&&u(o.postMessage)&&!o.importScripts&&i&&"file:"!==i.protocol&&!h(D)?(r=D,o.addEventListener("message",I,!1)):r="onreadystatechange"in m("script")?function(t){p.appendChild(m("script")).onreadystatechange=function(){p.removeChild(this),E(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:y,clear:b}},function(t,e){var n=TypeError;t.exports=function(t,e){if(t<e)throw n("Not enough arguments");return t}},function(t,e,n){var i=n(191);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},function(t,e,n){var i=n(354),r=n(474),a=n(435).CONSTRUCTOR;t.exports=a||!r((function(t){i.all(t).then(void 0,(function(){}))}))},function(t,e,n){var i=n(81),r=n(55),a=n(285);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=a.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var i=n(18),r=n(51),a=n(118),s=n(285),o=n(353),l=n(430);i({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=s.f(e),i=n.resolve,c=n.reject,u=o((function(){var n=a(e.resolve),s=[],o=0,c=1;l(t,(function(t){var a=o++,l=!1;c++,r(n,e,t).then((function(t){l||(l=!0,s[a]={status:"fulfilled",value:t},--c||i(s))}),(function(t){l||(l=!0,s[a]={status:"rejected",reason:t},--c||i(s))}))})),--c||i(s)}));return u.error&&c(u.value),n.promise}})},function(t,e,n){"use strict";var i=n(18),r=n(51),a=n(118),s=n(66),o=n(285),l=n(353),c=n(430);i({target:"Promise",stat:!0},{any:function(t){var e=this,n=s("AggregateError"),i=o.f(e),u=i.resolve,d=i.reject,h=l((function(){var i=a(e.resolve),s=[],o=0,l=1,h=!1;c(t,(function(t){var a=o++,c=!1;l++,r(i,e,t).then((function(t){c||h||(h=!0,u(t))}),(function(t){c||h||(c=!0,s[a]=t,--l||d(new n(s,"No one promise resolved")))}))})),--l||d(new n(s,"No one promise resolved"))}));return h.error&&d(h.value),i.promise}})},function(t,e,n){"use strict";var i=n(25);t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){return 1},1)}))}},function(t,e,n){var i=n(475),r=Math.floor,a=function(t,e){var n=t.length,l=r(n/2);return n<8?s(t,e):o(t,a(i(t,0,l),e),a(i(t,l),e),e)},s=function(t,e){for(var n,i,r=t.length,a=1;a<r;){for(i=a,n=t[a];i&&e(t[i-1],n)>0;)t[i]=t[--i];i!==a++&&(t[i]=n)}return t},o=function(t,e,n,i){for(var r=e.length,a=n.length,s=0,o=0;s<r||o<a;)t[s+o]=s<r&&o<a?i(e[s],n[o])<=0?e[s++]:n[o++]:s<r?e[s++]:n[o++];return t};t.exports=a},function(t,e){var n;t.exports=(n=0,function(){var t="pjax"+(new Date).getTime()+"_"+n;return n++,t})},function(t,e,n){var i=n(362);t.exports=function(t,e,n){(e="string"==typeof e?e.split(" "):e).forEach((function(e){var r;(r=document.createEvent("HTMLEvents")).initEvent(e,!0,!0),r.eventName=e,n&&Object.keys(n).forEach((function(t){r[t]=n[t]})),i(t,(function(t){var e=!1;t.parentNode||t===document||t===window||(e=!0,document.body.appendChild(t)),t.dispatchEvent(r),e&&t.parentNode.removeChild(t)}))}))}},function(t,e){t.exports=function(){}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},function(t,e,n){"use strict";var i=n(126);function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(i.isURLSearchParams(e))a=e.toString();else{var s=[];i.forEach(e,(function(t,e){null!=t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))})))})),a=s.join("&")}if(a){var o=t.indexOf("#");-1!==o&&(t=t.slice(0,o)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},function(t,e,n){"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},function(t,e,n){"use strict";(function(e){var i=n(126);t.exports=function(t,n){n=n||new FormData;var r=[];function a(t){return null===t?"":i.isDate(t)?t.toISOString():i.isArrayBuffer(t)||i.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):e.from(t):t}return function t(e,s){if(i.isPlainObject(e)||i.isArray(e)){if(-1!==r.indexOf(e))throw Error("Circular reference detected in "+s);
130r.push(e),i.forEach(e,(function(e,r){if(!i.isUndefined(e)){var o,l=s?s+"."+r:r;if(e&&!s&&"object"==typeof e)if(i.endsWith(r,"{}"))e=JSON.stringify(e);else if(i.endsWith(r,"[]")&&(o=i.toArray(e)))return void o.forEach((function(t){!i.isUndefined(t)&&n.append(l,a(t))}));t(e,l)}})),r.pop()}else n.append(s,a(e))}(t),n}}).call(this,n(1264).Buffer)},function(t,e,n){"use strict";var i=n(126),r=n(1268),a=n(1269),s=n(969),o=n(973),l=n(1272),c=n(1273),u=n(970),d=n(363),h=n(488),p=n(1274);t.exports=function(t){return new Promise((function(e,n){var f,m=t.data,g=t.headers,v=t.responseType;function _(){t.cancelToken&&t.cancelToken.unsubscribe(f),t.signal&&t.signal.removeEventListener("abort",f)}i.isFormData(m)&&i.isStandardBrowserEnv()&&delete g["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",x=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+x)}var w=o(t.baseURL,t.url);function M(){if(y){var i="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,a={data:v&&"text"!==v&&"json"!==v?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:i,config:t,request:y};r((function(t){e(t),_()}),(function(t){n(t),_()}),a),y=null}}if(y.open(t.method.toUpperCase(),s(w,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=M:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(M)},y.onabort=function(){y&&(n(new d("Request aborted",d.ECONNABORTED,t,y)),y=null)},y.onerror=function(){n(new d("Network Error",d.ERR_NETWORK,t,y,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",i=t.transitional||u;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new d(e,i.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,t,y)),y=null},i.isStandardBrowserEnv()){var S=(t.withCredentials||c(w))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;S&&(g[t.xsrfHeaderName]=S)}"setRequestHeader"in y&&i.forEach(g,(function(t,e){void 0===m&&"content-type"===e.toLowerCase()?delete g[e]:y.setRequestHeader(e,t)}
130)),i.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),v&&"json"!==v&&(y.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(f=function(t){y&&(n(!t||t&&t.type?new h:t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(f),t.signal&&(t.signal.aborted?f():t.signal.addEventListener("abort",f))),m||(m=null);var T=p(w);T&&-1===["http","https","file"].indexOf(T)?n(new d("Unsupported protocol "+T+":",d.ERR_BAD_REQUEST,t)):y.send(m)}))}},function(t,e,n){"use strict";var i=n(1270),r=n(1271);t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var i=n(126);t.exports=function(t,e){e=e||{};var n={};function r(t,e){return i.isPlainObject(t)&&i.isPlainObject(e)?i.merge(t,e):i.isPlainObject(e)?i.merge({},e):i.isArray(e)?e.slice():e}function a(n){return i.isUndefined(e[n])?i.isUndefined(t[n])?void 0:r(void 0,t[n]):r(t[n],e[n])}function s(t){if(!i.isUndefined(e[t]))return r(void 0,e[t])}function o(n){return i.isUndefined(e[n])?i.isUndefined(t[n])?void 0:r(void 0,t[n]):r(void 0,e[n])}function l(n){return n in e?r(t[n],e[n]):n in t?r(void 0,t[n]):void 0}var c={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l};return i.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=c[t]||a,r=e(t);i.isUndefined(r)&&e!==l||(n[t]=r)})),n}},function(t,e){t.exports={version:"0.27.2"}},function(t,e,n){!function(t){"use strict";
vendor: 5,994 bytes, lines 131-136
131//! moment.js locale configuration
132t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
133//! moment.js locale configuration
134var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(t){return function(e,n,a,s){var o=i(e),l=r[t][i(e)];return 2===o&&(l=l[n?0:1]),l.replace(/%d/i,e)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5))},function(t,e,n){!function(t){"use strict";
135//! moment.js locale configuration
136var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(i,r,a,s){var o=e(i),l=n[t][e(i)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
137//! moment.js locale configuration
138t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 2,388 bytes, lines 139-140
139//! moment.js locale configuration
140var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,r,a,s){var o=n(e),l=i[t][n(e)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,e)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5))},function(t,e,n){!function(t){"use strict";
141//! moment.js locale configuration
142t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,814 bytes, lines 143-144
143//! moment.js locale configuration
144var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
145//! moment.js locale configuration
146t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 4,484 bytes, lines 147-150
147//! moment.js locale configuration
148var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
149//! moment.js locale configuration
150function e(t,e,n){var i,r;return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+(i=+t,r={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,648 bytes, lines 151-152
151//! moment.js locale configuration
152t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
153//! moment.js locale configuration
154t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 7,790 bytes, lines 155-160
155//! moment.js locale configuration
156var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
157//! moment.js locale configuration
158var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e?t<4?t:t+12:"ভোর"===e||"সকাল"===e?t:"দুপুর"===e?t>=3?t:t+12:"বিকাল"===e||"সন্ধ্যা"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
159//! moment.js locale configuration
160var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
161//! moment.js locale configuration
162function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],i=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,r=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:r,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:r,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 9,359 bytes, lines 163-172
163//! moment.js locale configuration
164function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return i+=1===t?"dan":"dana";case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
165//! moment.js locale configuration
166t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
167//! moment.js locale configuration
168var e={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],r=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(t){return t>1&&t<5&&1!=~~(t/10)}function s(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"ss":return e||i?r+(a(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(a(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(a(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(a(t)?"dny":"dní"):r+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?r+(a(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(a(t)?"roky":"let"):r+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
169//! moment.js locale configuration
170t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
171//! moment.js locale configuration
172t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
173//! moment.js locale configuration
174t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 5,657 bytes, lines 175-182
175//! moment.js locale configuration
176function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
177//! moment.js locale configuration
178function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
179//! moment.js locale configuration
180function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
181//! moment.js locale configuration
182var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,n){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 2,404 bytes, lines 183-184
183//! moment.js locale configuration
184t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,i=this._calendarEl[t],r=e&&e.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(e)),i.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,138 bytes, lines 185-186
185//! moment.js locale configuration
186t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
187//! moment.js locale configuration
188t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 2,267 bytes, lines 189-192
189//! moment.js locale configuration
190t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
191//! moment.js locale configuration
192t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
193//! moment.js locale configuration
194t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 14,643 bytes, lines 195-212
195//! moment.js locale configuration
196t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
197//! moment.js locale configuration
198t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
199//! moment.js locale configuration
200t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
201//! moment.js locale configuration
202t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
203//! moment.js locale configuration
204var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(5))},function(t,e,n){!function(t){"use strict";
205//! moment.js locale configuration
206var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
207//! moment.js locale configuration
208var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(5))},function(t,e,n){!function(t){"use strict";
209//! moment.js locale configuration
210var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
211//! moment.js locale configuration
212function e(t,e,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
213//! moment.js locale configuration
214t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,926 bytes, lines 215-216
215//! moment.js locale configuration
216var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,871 bytes, lines 217-218
217//! moment.js locale configuration
218var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function i(t,i,r,a){var s="";switch(r){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":s=a?"sekunnin":"sekuntia";break;case"m":return a?"minuutin":"minuutti";case"mm":s=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":s=a?"tunnin":"tuntia";break;case"d":return a?"päivän":"päivä";case"dd":s=a?"päivän":"päivää";break;case"M":return a?"kuukauden":"kuukausi";case"MM":s=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":s=a?"vuoden":"vuotta"}return s=function(t,i){return t<10?i?n[t]:e[t]:t}(t,a)+" "+s}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
219//! moment.js locale configuration
220t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
221//! moment.js locale configuration
222t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 5,676 bytes, lines 223-230
223//! moment.js locale configuration
224var e=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
225//! moment.js locale configuration
226t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n(5))},function(t,e,n){!function(t){"use strict";
227//! moment.js locale configuration
228t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
229//! moment.js locale configuration
230var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
231//! moment.js locale configuration
232t.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
233//! moment.js locale configuration
234t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,407 bytes, lines 235-236
235//! moment.js locale configuration
236t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 5,412 bytes, lines 237-240
237//! moment.js locale configuration
238function e(t,e,n,i){var r={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" म्हयन्यानी",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return i?r[n][0]:r[n][1]}t.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){switch(e){case"D":return t+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}})}(n(5))},function(t,e,n){!function(t){"use strict";
239//! moment.js locale configuration
240function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 4,221 bytes, lines 241-244
241//! moment.js locale configuration
242var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
243//! moment.js locale configuration
244t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 4,077 bytes, lines 245-246
245//! moment.js locale configuration
246var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];t.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0}
vendor: 9,256 bytes, lines 246-256
246,meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
247//! moment.js locale configuration
248function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return i+=1===t?"dan":"dana";case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
249//! moment.js locale configuration
250var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(t,e,n,i){var r=t;switch(n){case"s":return i||e?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||e)?" másodperc":" másodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return r+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return r+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return r+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return r+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return r+(i||e?" év":" éve")}return""}function i(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
251//! moment.js locale configuration
252t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
253//! moment.js locale configuration
254t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
255//! moment.js locale configuration
256function e(t){return t%100==11||t%10!=1}function n(t,n,i,r){var a=t+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?a+(n||r?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?a+(n||r?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return e(t)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return e(t)?n?a+"dagar":a+(r?"daga":"dögum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return e(t)?n?a+"mánuðir":a+(r?"mánuði":"mánuðum"):n?a+"mánuður":a+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return e(t)?a+(n||r?"ár":"árum"):a+(n||r?"ár":"ári")}}t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
257//! moment.js locale configuration
258t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 6,985 bytes, lines 259-266
259//! moment.js locale configuration
260t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
261//! moment.js locale configuration
262t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(t,e){return"元"===e[1]?1:parseInt(e[1]||t,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()!==t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"y":return 1===t?"元年":t+"年";case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(5))},function(t,e,n){!function(t){"use strict";
263//! moment.js locale configuration
264t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
265//! moment.js locale configuration
266t.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(t,e,n){return"ი"===n?e+"ში":e+n+"ში"}))},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):t},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
267//! moment.js locale configuration
268var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 8,203 bytes, lines 269-276
269//! moment.js locale configuration
270var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
271//! moment.js locale configuration
272var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
273//! moment.js locale configuration
274t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})}(n(5))},function(t,e,n){!function(t){"use strict";
275//! moment.js locale configuration
276var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];t.defineLocale("ku",{months:i,monthsShort:i,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,n){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5))},function(t,e,n){!function(t){"use strict";
277//! moment.js locale configuration
278var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%
vendor: 3,933 bytes, lines 278-282
278d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
279//! moment.js locale configuration
280function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
281//! moment.js locale configuration
282t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 2,208 bytes, lines 283-284
283//! moment.js locale configuration
284var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(t){return t%10==0||t>10&&t<20}function r(t){return e[t].split("_")}function a(t,e,a,s){var o=t+" ";return 1===t?o+n(0,e,a[0],s):e?o+(i(t)?r(a)[1]:r(a)[0]):s?o+r(a)[1]:o+(i(t)?r(a)[1]:r(a)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 3,716 bytes, lines 285-288
285//! moment.js locale configuration
286var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
287//! moment.js locale configuration
288var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
289//! moment.js locale configuration
290t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 11,903 bytes, lines 291-302
291//! moment.js locale configuration
292t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
293//! moment.js locale configuration
294t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(5))},function(t,e,n){!function(t){"use strict";
295//! moment.js locale configuration
296function e(t,e,n,i){switch(n){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(n(5))},function(t,e,n){!function(t){"use strict";
297//! moment.js locale configuration
298var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function i(t,e,n,i){var r="";if(e)switch(n){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे"}else switch(n){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां"}return r.replace(/%d/i,t)}t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(t,e){return 12===t&&(t=0),"पहाटे"===e||"सकाळी"===e?t:"दुपारी"===e||"सायंकाळी"===e||"रात्री"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"पहाटे":t<12?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
299//! moment.js locale configuration
300t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
301//! moment.js locale configuration
302t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
303//! moment.js locale configuration
304t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
305//! moment.js locale configuration
306var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
307//! moment.js locale configuration
308t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 6,259 bytes, lines 309-314
309//! moment.js locale configuration
310var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
311//! moment.js locale configuration
312var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
313//! moment.js locale configuration
314var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
315//! moment.js locale configuration
316t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 9,533 bytes, lines 317-328
317//! moment.js locale configuration
318t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
319//! moment.js locale configuration
320var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
321//! moment.js locale configuration
322var e="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function r(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function a(t,e,n){var i=t+" ";switch(n){case"ss":return i+(r(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return i+(r(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return i+(r(t)?"godziny":"godzin");case"ww":return i+(r(t)?"tygodnie":"tygodni");case"MM":return i+(r(t)?"miesiące":"miesięcy");case"yy":return i+(r(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,i){return t?/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
323//! moment.js locale configuration
324t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
325//! moment.js locale configuration
326t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(5))},function(t,e,n){!function(t){"use strict";
327//! moment.js locale configuration
328function e(t,e,n){var i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 4,500 bytes, lines 329-330
329//! moment.js locale configuration
330function e(t,e,n){var i,r;return"m"===n?e?"минута":"минуту":t+" "+(i=+t,r={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,w:"неделя",ww:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,244 bytes, lines 331-332
331//! moment.js locale configuration
332var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
333//! moment.js locale configuration
334t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 13,756 bytes, lines 335-348
335//! moment.js locale configuration
336t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(5))},function(t,e,n){!function(t){"use strict";
337//! moment.js locale configuration
338var e="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(t){return t>1&&t<5}function r(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"pár sekúnd":"pár sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sekúnd"):a+"sekundami";case"m":return e?"minúta":r?"minútu":"minútou";case"mm":return e||r?a+(i(t)?"minúty":"minút"):a+"minútami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hodín"):a+"hodinami";case"d":return e||r?"deň":"dňom";case"dd":return e||r?a+(i(t)?"dni":"dní"):a+"dňami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?a+(i(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?a+(i(t)?"roky":"rokov"):a+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
339//! moment.js locale configuration
340function e(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return r+=1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return r+=1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami";case"d":return e||i?"en dan":"enim dnem";case"dd":return r+=1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi";case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+=1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci";case"y":return e||i?"eno leto":"enim letom";case"yy":return r+=1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti"}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
341//! moment.js locale configuration
342t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
343//! moment.js locale configuration
344var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10==1?e[0]:e[1]:e[2]},translate:function(t,n,i,r){var a,s=e.words[i];return 1===i.length?"y"===i&&n?"jedna godina":r||n?s[0]:s[1]:(a=e.correctGrammaticalCase(t,s),"yy"===i&&n&&"godinu"===a?t+" godina":t+" "+a)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
345//! moment.js locale configuration
346var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10==1?e[0]:e[1]:e[2]},translate:function(t,n,i,r){var a,s=e.words[i];return 1===i.length?"y"===i&&n?"једна година":r||n?s[0]:s[1]:(a=e.correctGrammaticalCase(t,s),"yy"===i&&n&&"годину"===a?t+" година":t+" "+a)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
347//! moment.js locale configuration
348t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
349//! moment.js locale configuration
350t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
351//! moment.js locale configuration
352t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 6,239 bytes, lines 353-358
353//! moment.js locale configuration
354var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e||"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
355//! moment.js locale configuration
356t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(5))},function(t,e,n){!function(t){"use strict";
357//! moment.js locale configuration
358t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 2,128 bytes, lines 359-360
359//! moment.js locale configuration
360var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 2,053 bytes, lines 361-362
361//! moment.js locale configuration
362t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,374 bytes, lines 363-364
363//! moment.js locale configuration
364var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
365//! moment.js locale configuration
366t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 2,029 bytes, lines 367-368
367//! moment.js locale configuration
368var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,r){var a=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,a="";return n>0&&(a+=e[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+e[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+e[r]),""===a?"pagh":a}(t);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,550 bytes, lines 369-370
369//! moment.js locale configuration
370var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(t){return"ös"===t||"ÖS"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,516 bytes, lines 371-372
371//! moment.js locale configuration
372function e(t,e,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return i||e?r[n][0]:r[n][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
373//! moment.js locale configuration
374t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(5))},function(t,e,n){!function(t){"use strict";
375//! moment.js locale configuration
376t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 2,248 bytes, lines 377-378
377//! moment.js locale configuration
378t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 3,130 bytes, lines 379-380
379//! moment.js locale configuration
380function e(t,e,n){var i,r;return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+(i=+t,r={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}function n(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 1,245 bytes, lines 381-382
381//! moment.js locale configuration
382var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
383//! moment.js locale configuration
384t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
385//! moment.js locale configuration
386t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 2,888 bytes, lines 387-390
387//! moment.js locale configuration
388t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
389//! moment.js locale configuration
390t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
391//! moment.js locale configuration
392t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
vendor: 5,048 bytes, lines 393-398
393//! moment.js locale configuration
394t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(t){return t.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(t){return this.week()!==t.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(5))},function(t,e,n){!function(t){"use strict";
395//! moment.js locale configuration
396t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1200?"上午":1200===i?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5))},function(t,e,n){!function(t){"use strict";
397//! moment.js locale configuration
398t.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5))},function(t,e,n){!function(t){"use strict";
399//! moment.js locale configuration
400t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5))},function(t,e,n){var i=n(1216),r=n(362),a=n(1218),s=n(937),o=n(964),l=n(485),c=n(965),u=n(486),d=n(1219),h=n(1220),p=n(966),f=function(t){this.state={numPendingSwitches:0,href:null,options:null},this.options=a(t),this.log("Pjax options",this.options),this.options.scrollRestoration&&"scrollRestoration"in history&&(history.scrollRestoration="manual"),this.maxUid=this.lastUid=o(),this.parseDOM(document),l(window,"popstate",function(t){if(t.state){var e=u(this.options);e.url=t.state.url,e.title=t.state.title,e.history=!1,e.scrollPos=t.state.scrollPos,t.state.uid<this.lastUid?e.backward=!0:e.forward=!0,this.lastUid=t.state.uid,this.loadUrl(t.state.url,e)}}.bind(this))};if(f.switches=s,f.prototype={log:n(1221),getElements:function(t){return t.querySelectorAll(this.options.elements)},parseDOM:function(t){var e=n(1222);r(this.getElements(t),e,this)},refresh:function(t){this.parseDOM(t||document)},reload:function(){window.location.reload()},attachLink:n(1223),attachForm:n(1224),forEachSelectors:function(t,e,i){return n(1225).bind(this)(this.options.selectors,t,e,i)},switchSelectors:function(t,e,i,r){return n(1226).bind(this)(this.options.switches,this.options.switchesOptions,t,e,i,r)},latestChance:function(t){window.location=t},onSwitch:function(){c(window,"resize scroll"),this.state.numPendingSwitches--,0===this.state.numPendingSwitches&&this.afterAllSwitches()},loadContent:function(t,e){if("string"==typeof t){var n=document.implementation.createHTMLDocument("pjax"),i=t.match(/<html[^>]+>/gi);if(i&&i.length&&(i=i[0].match(/\s?[a-z:]+(?:=['"][^'">
400]+['"])*/gi)).length&&(i.shift(),i.forEach((function(t){var e=t.trim().split("=");1===e.length?n.documentElement.setAttribute(e[0],!0):n.documentElement.setAttribute(e[0],e[1].slice(1,-1))}))),n.documentElement.innerHTML=t,this.log("load content",n.documentElement.attributes,n.documentElement.innerHTML.length),document.activeElement&&d(document,this.options.selectors,document.activeElement))try{document.activeElement.blur()}catch(t){}this.switchSelectors(this.options.selectors,n,document,e)}else c(document,"pjax:complete pjax:error",e)},abortRequest:n(1227),doRequest:n(1228),handleResponse:n(1230),loadUrl:function(t,e){e="object"==typeof e?h({},this.options,e):u(this.options),this.log("load href",t,e),this.abortRequest(this.request),c(document,"pjax:send",e),this.request=this.doRequest(t,e,this.handleResponse.bind(this))},afterAllSwitches:function(){var t=Array.prototype.slice.call(document.querySelectorAll("[autofocus]")).pop();t&&document.activeElement!==t&&t.focus(),this.options.selectors.forEach((function(t){r(document.querySelectorAll(t),(function(t){i(t)}))}));var e=this.state;if(e.options.history&&(window.history.state||(this.lastUid=this.maxUid=o(),window.history.replaceState({url:window.location.href,title:document.title,uid:this.maxUid,scrollPos:[0,0]},document.title)),this.lastUid=this.maxUid=o(),window.history.pushState({url:e.href,title:e.options.title,uid:this.maxUid,scrollPos:[0,0]},e.options.title,e.href)),this.forEachSelectors((function(t){this.parseDOM(t)}),this),c(document,"pjax:complete pjax:success",e.options),"function"==typeof e.options.analytics&&e.options.analytics(),e.options.history){var n=document.createElement("a");if(n.href=this.state.href,n.hash){var a=n.hash.slice(1);a=decodeURIComponent(a);var s=0,l=document.getElementById(a)||document.getElementsByName(a)[0];if(l&&l.offsetParent)do{s+=l.offsetTop,l=l.offsetParent}while(l);window.scrollTo(0,s)}else!1!==e.options.scrollTo&&(e.options.scrollTo.length>1?window.scrollTo(e.options.scrollTo[0],e.options.scrollTo[1]):window.scrollTo(0,e.options.scrollTo))}else e.options.scrollRestoration&&e.options.scrollPos&&window.scrollTo(e.options.scrollPos[0],e.options.scrollPos[1]);this.state={numPendingSwitches:0,href:null,options:null}}},f.isSupported=n(1231),f.isSupported())t.exports=f;else{var m=p;for(var g in f.prototype)f.prototype.hasOwnProperty(g)&&"function"==typeof f.prototype[g]&&(m[g]=p);t.exports=m}},function(t,e,n){"use strict";
401/*! npm.im/object-fit-images 3.2.4 */var i="bfred-it:object-fit-images",r=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,a="undefined"==typeof Image?{style:{"object-position":1}}:new Image,s="object-fit"in a.style,o="object-position"in a.style,l="background-size"in a.style,c="string"==typeof a.currentSrc,u=a.getAttribute,d=a.setAttribute,h=!1;function p(t,e,n){var i="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(e||1)+"' height='"+(n||0)+"'%3E%3C/svg%3E";u.call(t,"src")!==i&&d.call(t,"src",i)}function f(t,e){t.naturalWidth?e(t):setTimeout(f,100,t,e)}function m(t){var e=function(t){for(var e,n=getComputedStyle(t).fontFamily,i={};null!==(e=r.exec(n));)i[e[1]]=e[2];return i}(t),n=t[i];if(e["object-fit"]=e["object-fit"]||"fill",!n.img){if("fill"===e["object-fit"])return;if(!n.skipTest&&s&&!e["object-position"])return}if(!n.img){n.img=new Image(t.width,t.height),n.img.srcset=u.call(t,"data-ofi-srcset")||t.srcset,n.img.src=u.call(t,"data-ofi-src")||t.src,d.call(t,"data-ofi-src",t.src),t.srcset&&d.call(t,"data-ofi-srcset",t.srcset),p(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{!function(t){var e={get:function(e){return t[i].img[e||"src"]},set:function(e,n){return t[i].img[n||"src"]=e,d.call(t,"data-ofi-"+n,e),m(t),e}};Object.defineProperty(t,"src",e),Object.defineProperty(t,"currentSrc",{get:function(){return e.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return e.get("srcset")},set:function(t){return e.set(t,"srcset")}})}(t)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(t){if(t.srcset&&!c&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}
401),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}(n.img),t.style.backgroundImage='url("'+(n.img.currentSrc||n.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=e["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(e["object-fit"])?f(n.img,(function(){n.img.naturalWidth>t.width||n.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"})):t.style.backgroundSize=e["object-fit"].replace("none","auto").replace("fill","100% 100%"),f(n.img,(function(e){p(t,e.naturalWidth,e.naturalHeight)}))}function g(t,e){var n=!h&&!t;if(e=e||{},t=t||"img",o&&!e.skipTest||!l)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var r=0;r<t.length;r++)t[r][i]=t[r][i]||{skipTest:e.skipTest},m(t[r]);n&&(document.body.addEventListener("load",(function(t){"IMG"===t.target.tagName&&g(t.target,{skipTest:e.skipTest})}),!0),h=!0,t="img"),e.watchMQ&&window.addEventListener("resize",g.bind(null,t,{skipTest:e.skipTest}))}g.supportsObjectFit=s,g.supportsObjectPosition=o,function(){function t(t,e){return t[i]&&t[i].img&&("src"===e||"srcset"===e)?t[i].img:t}o||(HTMLImageElement.prototype.getAttribute=function(e){return u.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,n){return d.call(t(this,e),e,String(n))})}(),t.exports=g},function(t,e,n){
402/*!
403* Photo Sphere Viewer 4.7.3
404* @copyright 2014-2015 Jérémy Heleine
405* @copyright 2015-2022 Damien "Mistic" Sorel
406* @licence MIT (https://opensource.org/licenses/MIT)
407*/
408!function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e)}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t){this.message=t,"captureStackTrace"in Error?Error.captureStackTrace(this,c):this.stack=(new Error).stack}c.prototype=Object.create(Error.prototype),c.prototype.name="PSVError",c.prototype.constructor=c;var u=function(){function t(t){this.psv=t}var n=t.prototype;return n.destroy=function(){delete this.psv},n.supportsTransition=function(t){return!1},n.supportsPreload=function(t){return!1},n.loadTexture=function(t,e,n){throw new c("loadTexture not implemented")},n.createMesh=function(t){throw new c("createMesh not implemented")},n.setTexture=function(t,e,n){throw new c("setTexture not implemented")},n.setTextureOpacity=function(t,e){throw new c("setTextureOpacity not implemented")},n.disposeTexture=function(t){throw new c("disposeTexture not implemented")},n.setOverlay=function(t,e,n){throw new c("setOverlay not implemented")},t.createOverlayMaterial=function(n){var i,r=void 0===n?{}:n,s=r.additionalUniforms,o=r.overrideVertexShader;return new e.ShaderMaterial({uniforms:a({},s,(i={},i[t.OVERLAY_UNIFORMS.panorama]={value:new e.Texture},i[t.OVERLAY_UNIFORMS.overlay]={value:new e.Texture},i[t.OVERLAY_UNIFORMS.globalOpacity]={value:1},i[t.OVERLAY_UNIFORMS.overlayOpacity]={value:1},i)),vertexShader:o||"\nvarying vec2 vUv;\n\nvoid main() {\n  vUv = uv;\n  gl_Position = projectionMatrix *  modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"\nuniform sampler2D "+t.OVERLAY_UNIFORMS.panorama+";\nuniform sampler2D "+t.OVERLAY_UNIFORMS.overlay+";\nuniform float "+t.OVERLAY_UNIFORMS.globalOpacity+";\nuniform float "+t.OVERLAY_UNIFORMS.overlayOpacity+";\n\nvarying vec2 vUv;\n\nvoid main() {\n  vec4 tColor1 = texture2D( "+t.OVERLAY_UNIFORMS.panorama+", vUv );\n  vec4 tColor2 = texture2D( "+t.OVERLAY_UNIFORMS.overlay+", vUv );\n  gl_FragColor = vec4(\n    mix( tColor1.rgb, tColor2.rgb, tColor2.a * "+t.OVERLAY_UNIFORMS.overlayOpacity+" ),\n    "+t.OVERLAY_UNIFORMS.globalOpacity+"\n  );\n}"})},t}();
408u.id=null,u.supportsDownload=!1,u.supportsOverlay=!1,u.OVERLAY_UNIFORMS={panorama:"panorama",overlay:"overlay",globalOpacity:"globalOpacity",overlayOpacity:"overlayOpacity"};var d={ROTATE_LAT_UP:"rotateLatitudeUp",ROTATE_LAT_DOWN:"rotateLatitudeDown",ROTATE_LONG_RIGHT:"rotateLongitudeRight",ROTATE_LONG_LEFT:"rotateLongitudeLeft",ZOOM_IN:"zoomIn",ZOOM_OUT:"zoomOut",TOGGLE_AUTOROTATE:"toggleAutorotate"},h={AUTOROTATE:"autorotate",BEFORE_RENDER:"before-render",BEFORE_ROTATE:"before-rotate",CLICK:"click",CLOSE_PANEL:"close-panel",CONFIG_CHANGED:"config-changed",DOUBLE_CLICK:"dblclick",FULLSCREEN_UPDATED:"fullscreen-updated",HIDE_NOTIFICATION:"hide-notification",HIDE_OVERLAY:"hide-overlay",HIDE_TOOLTIP:"hide-tooltip",KEY_PRESS:"key-press",LOAD_PROGRESS:"load-progress",OPEN_PANEL:"open-panel",PANORAMA_LOADED:"panorama-loaded",POSITION_UPDATED:"position-updated",READY:"ready",RENDER:"render",SHOW_NOTIFICATION:"show-notification",SHOW_OVERLAY:"show-overlay",SHOW_TOOLTIP:"show-tooltip",SIZE_UPDATED:"size-updated",STOP_ALL:"stop-all",ZOOM_UPDATED:"zoom-updated"},p={GET_ANIMATE_POSITION:"get-animate-position",GET_ROTATE_POSITION:"get-rotate-position"},f={ENTER_OBJECT:"enter-object",HOVER_OBJECT:"hover-object",LEAVE_OBJECT:"leave-object"},m={MENU:"menu",TWO_FINGERS:"twoFingers",CTRL_ZOOM:"ctrlZoom",ERROR:"error",DESCRIPTION:"description"},g={linear:function(t){return t},inQuad:function(t){return t*t},outQuad:function(t){return t*(2-t)},inOutQuad:function(t){return t<.5?2*t*t:(4-2*t)*t-1},inCubic:function(t){return t*t*t},outCubic:function(t){return--t*t*t+1},inOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},inQuart:function(t){return t*t*t*t},outQuart:function(t){return 1- --t*t*t*t},inOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},inQuint:function(t){return t*t*t*t*t},outQuint:function(t){return 1+--t*t*t*t*t},inOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t},inSine:function(t){return 1-Math.cos(t*(Math.PI/2))},outSine:function(t){return Math.sin(t*(Math.PI/2))},inOutSine:function(t){return.5-.5*Math.cos(Math.PI*t)},inExpo:function(t){return Math.pow(2,10*(t-1))},outExpo:function(t){return 1-Math.pow(2,-10*t)},inOutExpo:function(t){return(t=2*t-1)<0?.5*Math.pow(2,10*t):1-.5*Math.pow(2,-10*t)},inCirc:function(t){return 1-Math.sqrt(1-t*t)},outCirc:function(t){return Math.sqrt(1-(t-1)*(t-1))},inOutCirc:function(t){return(t*=2)<1?.5-.5*Math.sqrt(1-t*t):.5+.5*Math.sqrt(1-(t-=2)*t)}},v={Enter:"Enter",Control:"Control",Escape:"Escape",Space:" ",PageUp:"PageUp",PageDown:"PageDown",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Delete:"Delete",Plus:"+",Minus:"-"},_=Object.freeze({__proto__:null,DEFAULT_TRANSITION:1500,MOVE_THRESHOLD:4,DBLCLICK_DELAY:300,LONGTOUCH_DELAY:500,TWOFINGERSOVERLAY_DELAY:100,CTRLZOOM_TIMEOUT:2e3,INERTIA_WINDOW:300,SPHERE_RADIUS:10,VIEWER_DATA:"photoSphereViewer",MESH_USER_DATA:"psvSphere",ACTIONS:d,EVENTS:h,CHANGE_EVENTS:p,OBJECT_EVENTS:f,IDS:m,EASINGS:g,KEY_CODES:v}),y={loaded:!1,pixelRatio:1,isWebGLSupported:!1,isTouchEnabled:null,maxTextureWidth:0,mouseWheelEvent:null,fullscreenEvent:null,load:function(){if(!y.loaded){var t=(e=document.createElement("canvas"),n=null,e.getContext&&["webgl","experimental-webgl","moz-webgl","webkit-3d"].some((function(t){try{return null!==(n=e.getContext(t))}catch(t){return!1}}))?n:null);y.loaded=!0,y.pixelRatio=window.devicePixelRatio||1,y.isWebGLSupported=null!=t,y.isTouchEnabled=function(){var t="ontouchstart"in window||navigator.maxTouchPoints>0;"photoSphereViewer_touchSupport"in localStorage&&(t="true"===localStorage.photoSphereViewer_touchSupport);var e=new Promise((function(e){var n,i=function(){n(),localStorage.photoSphereViewer_touchSupport=!1,e(!1)},r=function(){n(),localStorage.photoSphereViewer_touchSupport=!0,e(!0)};window.addEventListener("mousedown",i,!1),window.addEventListener("touchstart",r,!1);var a=setTimeout((function(){n(),localStorage.photoSphereViewer_touchSupport=t,e(t)}),1e4);n=function(){window.removeEventListener("mousedown",i),window.removeEventListener("touchstart",r),clearTimeout(a)}}));return{initial:t,promise:e}}(),y.maxTextureWidth=function(t){return null!==t?t.getParameter(t.MAX_TEXTURE_SIZE):0}(t),y.mouseWheelEvent="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",y.fullscreenEvent=(i=Object.keys(x).filter((function(t){return t in document}))).length?x[i[0]]:null}var e,n,i}},b=null;y.getMaxCanvasWidth=function(){return null===b&&(b=function(t){var e=document.createElement("canvas"),n=e.getContext("2d");for(e.width=t,e.height=t/2;
408e.width>1024;){n.fillStyle="white",n.fillRect(0,0,1,1);try{if(n.getImageData(0,0,1,1).data[0]>0)return e.width}catch(t){}e.width/=2,e.height/=2}throw new c("Unable to detect system capabilities")}(y.maxTextureWidth)),b};var x={exitFullscreen:"fullscreenchange",webkitExitFullscreen:"webkitfullscreenchange",mozCancelFullScreen:"mozfullscreenchange",msExitFullscreen:"MSFullscreenChange"};function w(t,e,n){void 0===n?t.classList.toggle(e):n?t.classList.add(e):n||t.classList.remove(e)}function M(t,e){var n;(n=t.classList).add.apply(n,e.split(" "))}function S(t,e){var n=t;do{if(n===e)return!0;n=n.parentNode}while(n);return!1}function T(t,e){if(null==t||!t.matches)return null;var n=t;do{if(n.matches(e))return n;n=n instanceof SVGElement?n.parentNode:n.parentElement}while(n);return null}function A(t){for(var e=0,n=0,i=t;i;)e+=i.offsetLeft-i.scrollLeft+i.clientLeft,n+=i.offsetTop-i.scrollTop+i.clientTop,i=i.offsetParent;return{left:e,top:n}}function L(t){return(document.fullscreenElement||document.webkitFullscreenElement)===t}function E(t){(t.requestFullscreen||t.webkitRequestFullscreen).call(t)}function C(){(document.exitFullscreen||document.webkitExitFullscreen).call(document)}function I(t,e){return window.getComputedStyle(t,null)[e]}function D(t){var e=0,n=0,i=0,r=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),i=10*e,r=10*n,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(i=t.deltaX),(i||r)&&t.deltaMode&&(1===t.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!e&&(e=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:e,spinY:n,pixelX:i,pixelY:r}}function k(t,e){var n=t%e;return n<0&&(n+=e),n}function O(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function R(t,e){return[0,2*Math.PI,2*-Math.PI].reduce((function(n,i){var r=e-t+i;return Math.abs(r)<Math.abs(n)?r:n}),1/0)}function P(t,e){return Math.acos(Math.cos(t.latitude)*Math.cos(e.latitude)*Math.cos(t.longitude-e.longitude)+Math.sin(t.latitude)*Math.sin(e.latitude))}function N(t){return t.replace(/[A-Z](?:(?=[^A-Z])|[A-Z]*(?=[A-Z][^A-Z]|$))/g,(function(t,e){return(e>0?"-":"")+t.toLowerCase()}))}function Y(t,e){var n,i,r,a,s=0,o=function(){s=Date.now(),a=void 0,r=t.apply(n,i),a||(n=i=null)};return function(){var l=Date.now();s||(s=l);var c=e-(l-s);return n=this,i=arguments,c<=0||c>e?(a&&(clearTimeout(a),a=void 0),s=l,r=t.apply(n,i),a||(n=i=null)):a||(a=setTimeout(o,c)),r}}function F(t){if("object"==typeof t&&null!==t){if("function"==typeof Object.getPrototypeOf){var e=Object.getPrototypeOf(t);return e===Object.prototype||null===e}return"[object Object]"===Object.prototype.toString.call(t)}return!1}function H(t,e){var n=e;return function t(e,i){return Array.isArray(i)?(e&&Array.isArray(e)?e.length=0:e=[],i.forEach((function(n,i){e[i]=t(null,n)}))):"object"==typeof i?(e&&!Array.isArray(e)||(e={}
408),Object.keys(i).forEach((function(r){"object"==typeof i[r]&&i[r]&&F(i[r])?i[r]!=n&&(e[r]?t(e[r],i[r]):e[r]=t(null,i[r])):e[r]=i[r]}))):e=i,e}(t,e)}function j(t){return H(null,t)}function B(t){return!t||0===Object.keys(t).length&&t.constructor===Object}function z(t,e){Object.keys(t).forEach((function(n){e(t[n],n)}))}function U(t){return null==t}function V(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var i=0,r=e;i<r.length;i++){var a=r[i];if(!U(a))return a}}function W(t){return"object"==typeof t&&null!=t}function G(t,e){if(t)for(var n=0,i=[["_",t]].concat(Object.entries(t));n<i.length;n++){var r=i[n][1];if(r.prototype instanceof e)return r}return null}function q(){var t=new Error("Loading was aborted.");return t.name="AbortError",t}function X(t){return"AbortError"===(null==t?void 0:t.name)}function $(t){console.warn("PhotoSphereViewer: "+t)}function K(t){return[["x","y"],["longitude","latitude"]].some((function(e){var n=e[0],i=e[1];return void 0!==t[n]&&void 0!==t[i]}))}function J(t,e){var n=t.match("<GPano:"+e+">(.*)</GPano:"+e+">");if(null!==n){var i=parseInt(n[1],10);return isNaN(i)?null:i}if(null!==(n=t.match("GPano:"+e+'="(.*?)"'))){var r=parseInt(n[1],10);return isNaN(r)?null:r}return null}var Q={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"};function Z(t){if(!t)return{x:.5,y:.5};if("object"==typeof t)return t;var e=t.toLocaleLowerCase().split(" ").slice(0,2);1===e.length&&(e=void 0!==Q[e[0]]?[e[0],"center"]:[e[0],e[0]]);var n="left"!==e[1]&&"right"!==e[1]&&"top"!==e[0]&&"bottom"!==e[0];e=e.map((function(t){return Q[t]||t})),n||e.reverse();var i=e.join(" ").match(/^([0-9.]+)% ([0-9.]+)%$/);return i?{x:parseFloat(i[1])/100,y:parseFloat(i[2])/100}:{x:.5,y:.5}}var tt={0:"left",.5:"center",1:"right"},et={0:"top",.5:"center",1:"bottom"};function nt(t,e){if(void 0===e&&(e=!0),"string"==typeof t){var n=Z(t);if(!(n.x in tt)||!(n.y in et))throw new c('Unable to parse position "'+t+'"');t=[et[n.y],tt[n.x]]}if(!e&&"center"===t[0]&&"center"===t[1])throw new c('Unable to parse position "center center"');return t}function it(t){var n;if("string"==typeof t){var i=t.toString().trim(),r=parseFloat(i.replace(/^(-?[0-9]+(?:\.[0-9]*)?).*$/,"$1")),a=i.replace(/^-?[0-9]+(?:\.[0-9]*)?(.*)$/,"$1").trim();switch(a.match(/(pm|per minute)$/)&&(r/=60),a){case"dpm":case"degrees per minute":case"dps":case"degrees per second":n=e.MathUtils.degToRad(r);break;case"rdpm":case"radians per minute":case"rdps":case"radians per second":n=r;break;case"rpm":case"revolutions per minute":case"rps":case"revolutions per second":n=r*Math.PI*2;break;default:throw new c('Unknown speed unit "'+a+'"')}}else n=t;return n}function rt(t,n,i){var r;if(void 0===n&&(n=!1),void 0===i&&(i=n),"string"==typeof t){var a=t.toLowerCase().trim().match(/^(-?[0-9]+(?:\.[0-9]*)?)(.*)$/);if(!a)throw new c('Unknown angle "'+t+'"');var s=parseFloat(a[1]),o=a[2];if(o)switch(o){case"deg":case"degs":r=e.MathUtils.degToRad(s);break;case"rad":case"rads":r=s;break;default:throw new c('Unknown angle unit "'+o+'"')}else r=s}else{if("number"!=typeof t||isNaN(t))throw new c('Unknown angle "'+t+'"');r=t}return r=k(n?r+Math.PI:r,2*Math.PI),n?e.MathUtils.clamp(r-Math.PI,-Math.PI/(i?2:1),Math.PI/(i?2:1)):r}function at(t){var n=new e.Texture(t);return n.needsUpdate=!0,n.minFilter=e.LinearFilter,n.generateMipmaps=!1,n}var st=new e.Quaternion;function ot(t,e){st.setFromEuler(e).invert(),t.applyQuaternion(st)}var lt=function(){function t(t){var e=this;this.__callbacks=[],t?(t.easing&&"string"!=typeof t.easing||(t.easing=g[t.easing||"linear"]),this.__start=null,this.options=t,t.delay?this.__delayTimeout=setTimeout((function(){e.__delayTimeout=null,e.__animationFrame=window.requestAnimationFrame((function(t){return e.__run(t)}))}),t.delay):this.__animationFrame=window.requestAnimationFrame((function(t){return e.__run(t)}))):this.__resolved=!0}var e=t.prototype;return e.__run=function(t){var e=this;if(!this.__cancelled){null===this.__start&&(this.__start=t);var n=(t-this.__start)/this.options.duration,i={};n<1?(z(this.options.properties,(function(t,r){t&&(i[r]=t.start+(t.end-t.start)*e.options.easing(n))}
408)),this.options.onTick(i,n),this.__animationFrame=window.requestAnimationFrame((function(t){return e.__run(t)}))):(z(this.options.properties,(function(t,e){t&&(i[e]=t.end)})),this.options.onTick(i,1),this.__animationFrame=window.requestAnimationFrame((function(){e.__resolved=!0,e.__resolve(!0)})))}},e.__resolve=function(t){this.__callbacks.forEach((function(e){return e(t)})),this.__callbacks.length=0},e.then=function(t){var e=this;return this.__resolved||this.__cancelled?Promise.resolve(this.__resolved).then(t):new Promise((function(t){e.__callbacks.push(t)})).then(t)},e.cancel=function(){this.__cancelled||this.__resolved||(this.__cancelled=!0,this.__resolve(!1),this.__delayTimeout&&(window.clearTimeout(this.__delayTimeout),this.__delayTimeout=null),this.__animationFrame&&(window.cancelAnimationFrame(this.__animationFrame),this.__animationFrame=null))},t}(),ct=function(){function t(e,n,i,r,a){if(void 0===n&&(n=0),void 0===i&&(i=-1/0),void 0===r&&(r=1/0),void 0===a&&(a=!1),this.fn=e,this.mode=t.STOP,this.speed=0,this.speedMult=1,this.currentSpeed=0,this.target=0,this.current=n,this.min=i,this.max=r,this.loopValue=a,a&&0!==i)throw new c("invalid config");this.fn&&this.fn(n)}var n=t.prototype;return n.setSpeed=function(t){this.speed=t},n.goto=function(n,i){void 0===i&&(i=1),this.mode=t.POSITION,this.target=this.loopValue?k(n,this.max):e.MathUtils.clamp(n,this.min,this.max),this.speedMult=i},n.step=function(e,n){void 0===n&&(n=1),this.mode!==t.POSITION&&(this.target=this.current),this.goto(this.target+e,n)},n.roll=function(e,n){void 0===e&&(e=!1),void 0===n&&(n=1),this.mode=t.INFINITE,this.target=e?-1/0:1/0,this.speedMult=n},n.stop=function(){this.mode=t.STOP},n.setValue=function(n){return this.target=this.loopValue?k(n,this.max):e.MathUtils.clamp(n,this.min,this.max),this.mode=t.STOP,this.target!==this.current&&(this.current=this.target,this.fn&&this.fn(this.current),!0)},n.update=function(n){if(this.mode===t.POSITION){this.loopValue&&Math.abs(this.target-this.current)>this.max/2&&(this.current=this.current<this.target?this.current+this.max:this.current-this.max);var i=this.currentSpeed*this.currentSpeed/(this.speed*this.speedMult*4);Math.abs(this.target-this.current)<=i&&(this.mode=t.STOP)}var r=this.mode===t.STOP?0:this.speed*this.speedMult;this.target<this.current&&(r=-r),this.currentSpeed<r?this.currentSpeed=Math.min(r,this.currentSpeed+n/1e3*this.speed*this.speedMult*2):this.currentSpeed>r&&(this.currentSpeed=Math.max(r,this.currentSpeed-n/1e3*this.speed*this.speedMult*2));var a=null;return this.current>this.target&&this.currentSpeed?a=Math.max(this.target,this.current+this.currentSpeed*n/1e3):this.current<this.target&&this.currentSpeed&&(a=Math.min(this.target,this.current+this.currentSpeed*n/1e3)),null!==a&&(a=this.loopValue?k(a,this.max):e.MathUtils.clamp(a,this.min,this.max))!==this.current&&(this.current=a,this.fn&&this.fn(this.current),!0)},t}();ct.STOP=0,ct.INFINITE=1,ct.POSITION=2;var ut=function(){function t(t,e){this.fn=e,this.dynamics=t,this.fn&&this.fn(this.current)}var e=t.prototype;return e.setSpeed=function(t){z(this.dynamics,(function(e){e.setSpeed(t)}))},e.goto=function(t,e){var n=this;void 0===e&&(e=1),z(t,(function(t,i){n.dynamics[i].goto(t,e)}))},e.step=function(t,e){var n=this;void 0===e&&(e=1),z(t,(function(t,i){n.dynamics[i].step(t,e)}))},e.roll=function(t,e){var n=this;void 0===e&&(e=1),z(t,(function(t,i){n.dynamics[i].roll(t,e)}))},e.stop=function(){z(this.dynamics,(function(t){return t.stop()}))},e.setValue=function(t){var e=this,n=!1;return z(t,(function(t,i){n|=e.dynamics[i].setValue(t)})),n&&this.fn&&this.fn(this.current),n},e.update=function(t){var e=!1;return z(this.dynamics,(function(n){e|=n.update(t)})),e&&this.fn&&this.fn(this.current),e},r(t,[{key:"current",get:function(){var t={};return z(this.dynamics,(function(e,n){t[n]=e.current})),t}}]),t}(),dt=function(t){function e(e){var n,i=e.psv,r=e.container,a=e.direction,s=e.onUpdate;return(n=t.call(this)||this).psv=i,n.container=r,n.prop={onUpdate:s,direction:a,mousedown:!1,mouseover:!1},n.container.addEventListener("click",l(n)),n.container.addEventListener("mousedown",l(n)),n.container.addEventListener("mouseenter",l(n)),n.container.addEventListener("mouseleave",l(n)),n.container.addEventListener("touchstart",l(n)),n.container.addEventListener("mousemove",l(n),!0),n.container.addEventListener("touchmove",l(n),!0),window.addEventListener("mouseup",l(n)),window.addEventListener("touchend",l(n)),n}s(e,t);var n=e.prototype;return n.destroy=function(){window.removeEventListener("mouseup",this),window.removeEventListener("touchend",this)},n.handleEvent=function(t){switch(t.type){case"click":t.stopPropagation();break;case"mousedown":this.__onMouseDown(t);break;case"mouseenter":this.__onMouseEnter(t);break;case"mouseleave":this.__onMouseLeave(t);break;case"touchstart":this.__onTouchStart(t);break;case"mousemove":this.__onMouseMove(t);break;case"touchmove":this.__onTouchMove(t);break;case"mouseup":this.__onMouseUp(t);break;case"touchend":this.__onTouchEnd(t)}},n.__onMouseDown=function(t){this.prop.mousedown=!0,this.__update(t,!0)},n.__onMouseEnter=function(t){this.prop.mouseover=!0,this.__update(t,!0)},n.__onTouchStart=function(t){this.prop.mouseover=!0,this.prop.mousedown=!0,this.__update(t.changedTouches[0],!0)},n.__onMouseMove=function(t){(this.prop.mousedown||this.prop.mouseover)&&(t.stopPropagation(),this.__update(t,!0))},n.__onTouchMove=function(t){(this.prop.mousedown||this.prop.mouseover)&&(t.stopPropagation(),this.__update(t.changedTouches[0],!0))},n.__onMouseUp=function(t){this.prop.mousedown&&(this.prop.mousedown=!1,this.__update(t,!1))},n.__onMouseLeave=function(t){this.prop.mouseover&&(this.prop.mouseover=!1,this.__update(t,!0))},n.__onTouchEnd=function(t){this.prop.mousedown&&(this.prop.mouseover=!1,this.prop.mousedown=!1,this.__update(t.changedTouches[0],!1))},n.__update=function(t,e){var n=this.container.getBoundingClientRect(),i=t[this.vertical?"clientY":"clientX"],r=n[this.vertical?"bottom":"left"],a=n[this.vertical?"height":"width"],s=Math.abs((r-i)/a);this.prop.onUpdate({value:s,click:!e,mousedown:this.prop.mousedown,mouseover:this.prop.mouseover,cursor:t})},r(e,[{key:"vertical",get:function(){return this.prop.direction===e.VERTICAL}}]),e}(n.EventEmitter);dt.VERTICAL=1,dt.HORIZONTAL=2;var ht=Object.freeze({__proto__:null,toggleClass:w,addClasses:M,removeClasses:function(t,e){var n;(n=t.classList).remove.apply(n,e.split(" "))},hasParent:S,getClosest:T,getPosition:A,isFullscreenEnabled:L,requestFullscreen:E,exitFullscreen:C,getStyle:I,normalizeWheel:D,bound:function(t,n,i){return e.MathUtils.clamp(t,n,i)},loop:k,isPowerOfTwo:function(t){return e.MathUtils.isPowerOfTwo(t)},sum:function(t){return t.reduce((function(t,e){return t+e}),0)},distance:O,getShortestArc:R,getAngle:P,greatArcDistance:function(t,e){var n=t[0],i=t[1],r=e[0],a=e[1],s=(r-n)*Math.cos((i+a)/2),o=a-i;return Math.sqrt(s*s+o*o)},dasherize:N,throttle:Y,isPlainObject:F,deepmerge:H,clone:j,isEmpty:B,each:z,isNil:U,firstNonNull:V,deepEqual:function t(e,n){if(e===n)return!0;
408if(W(e)&&W(n)){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var i=0,r=Object.keys(e);i<r.length;i++){var a=r[i];if(!t(e[a],n[a]))return!1}return!0}return!1},pluginInterop:G,getAbortError:q,isAbortError:X,logWarn:$,isExtendedPosition:K,getXMPValue:J,parsePosition:Z,cleanPosition:nt,parseSpeed:it,parseAngle:rt,createTexture:at,applyEulerInverse:ot,Animation:lt,Dynamic:ct,MultiDynamic:ut,Slider:dt}),pt=function(t){function n(n,i){var r;if((r=t.call(this,n)||this).config=a({resolution:64},i),!e.MathUtils.isPowerOfTwo(r.config.resolution))throw new c("EquirectangularAdapter resolution must be power of two");return r.SPHERE_SEGMENTS=r.config.resolution,r.SPHERE_HORIZONTAL_SEGMENTS=r.SPHERE_SEGMENTS/2,r}s(n,t);var i=n.prototype;return i.supportsTransition=function(){return!0},i.supportsPreload=function(){return!0},i.loadTexture=function(t,e,n){var i=this;return void 0===n&&(n=this.psv.config.useXmpData),"string"!=typeof t?((Array.isArray(t)||"object"==typeof t&&t.left)&&$("Cubemap support now requires an additional adapter, see https://photo-sphere-viewer.js.org/guide/adapters"),Promise.reject(new c("Invalid panorama url, are you using the right adapter?"))):(n?this.__loadXMP(t,(function(t){return i.psv.loader.setProgress(t)})).then((function(e){return i.psv.textureLoader.loadImage(t).then((function(t){return{img:t,xmpPanoData:e}}))})):this.psv.textureLoader.loadImage(t,(function(t){return i.psv.loader.setProgress(t)})).then((function(t){return{img:t,xmpPanoData:null}}))).then((function(n){var r,a,s,o,l,c,u,d,h,p=n.img,f=n.xmpPanoData;"function"==typeof e&&(e=e(p));var m={fullWidth:V(null==(r=e)?void 0:r.fullWidth,null==f?void 0:f.fullWidth,p.width),fullHeight:V(null==(a=e)?void 0:a.fullHeight,null==f?void 0:f.fullHeight,p.height),croppedWidth:V(null==(s=e)?void 0:s.croppedWidth,null==f?void 0:f.croppedWidth,p.width),croppedHeight:V(null==(o=e)?void 0:o.croppedHeight,null==f?void 0:f.croppedHeight,p.height),croppedX:V(null==(l=e)?void 0:l.croppedX,null==f?void 0:f.croppedX,0),croppedY:V(null==(c=e)?void 0:c.croppedY,null==f?void 0:f.croppedY,0),poseHeading:V(null==(u=e)?void 0:u.poseHeading,null==f?void 0:f.poseHeading,0),posePitch:V(null==(d=e)?void 0:d.posePitch,null==f?void 0:f.posePitch,0),poseRoll:V(null==(h=e)?void 0:h.poseRoll,null==f?void 0:f.poseRoll,0)};m.croppedWidth===p.width&&m.croppedHeight===p.height||$("Invalid panoData, croppedWidth and/or croppedHeight is not coherent with loaded image.\n    panoData: "+m.croppedWidth+"x"+m.croppedHeight+", image: "+p.width+"x"+p.height),(e||f)&&m.fullWidth!==2*m.fullHeight&&$("Invalid panoData, fullWidth should be twice fullHeight");var g=i.__createEquirectangularTexture(p,m);return{panorama:t,texture:g,panoData:m}}))},i.__loadXMP=function(t,e){var n=this;return this.psv.textureLoader.loadFile(t,e).then((function(t){return n.__loadBlobAsString(t)})).then((function(t){var e=t.indexOf("<x:xmpmeta"),n=t.indexOf("</x:xmpmeta>"),i=t.substring(e,n);return-1!==e&&-1!==n&&i.includes("GPano:")?{fullWidth:J(i,"FullPanoWidthPixels"),fullHeight:J(i,"FullPanoHeightPixels"),croppedWidth:J(i,"CroppedAreaImageWidthPixels"),croppedHeight:J(i,"CroppedAreaImageHeightPixels"),croppedX:J(i,"CroppedAreaLeftPixels"),croppedY:J(i,"CroppedAreaTopPixels"),poseHeading:J(i,"PoseHeadingDegrees"),posePitch:J(i,"PosePitchDegrees"),poseRoll:J(i,"PoseRollDegrees")}:null}))},i.__loadBlobAsString=function(t){return new Promise((function(e,n){var i=new FileReader;i.onload=function(){return e(i.result)},i.onerror=n,i.readAsText(t)}))},i.__createEquirectangularTexture=function(t,e){if(e.fullWidth>y.maxTextureWidth||e.croppedWidth!==e.fullWidth||e.croppedHeight!==e.fullHeight){var n=y.getMaxCanvasWidth()/e.fullWidth,i=a({},e);n<1&&(i.fullWidth*=n,i.fullHeight*=n,i.croppedWidth*=n,i.croppedHeight*=n,i.croppedX*=n,i.croppedY*=n);var r=document.createElement("canvas");return r.width=i.fullWidth,r.height=i.fullHeight,r.getContext("2d").drawImage(t,i.croppedX,i.croppedY,i.croppedWidth,i.croppedHeight),at(r)}return at(t)},i.createMesh=function(t){void 0===t&&(t=1);var n=new e.SphereGeometry(10*t,this.SPHERE_SEGMENTS,this.SPHERE_HORIZONTAL_SEGMENTS,-Math.PI/2).scale(-1,1,1),i=u.createOverlayMaterial();return new e.Mesh(n,i)},i.setTexture=function(t,e){this.__setUniform(t,u.OVERLAY_UNIFORMS.panorama,e.texture),this.setOverlay(t,null)},i.setOverlay=function(t,n,i){this.__setUniform(t,u.OVERLAY_UNIFORMS.overlayOpacity,i),n?this.__setUniform(t,u.OVERLAY_UNIFORMS.overlay,n.texture):this.__setUniform(t,u.OVERLAY_UNIFORMS.overlay,new e.Texture)},i.setTextureOpacity=function(t,e){this.__setUniform(t,u.OVERLAY_UNIFORMS.globalOpacity,e),t.material.transparent=e<1},i.disposeTexture=function(t){var e;null==(e=t.texture)||e.dispose()},i.__setUniform=function(t,n,i){t.material.uniforms[n].value instanceof e.Texture&&t.material.uniforms[n].value.dispose(),t.material.uniforms[n].value=i},n}(u);
408pt.id="equirectangular",pt.supportsDownload=!0,pt.supportsOverlay=!0;var ft=function(){function t(t,e){this.psv=t.psv||t,this.parent=t,this.parent.children.push(this),this.children=[],this.prop={visible:!0},this.container=document.createElement("div"),this.container.className=e,this.parent.container.appendChild(this.container)}var e=t.prototype;return e.destroy=function(){this.parent.container.removeChild(this.container);var t=this.parent.children.indexOf(this);-1!==t&&this.parent.children.splice(t,1),this.children.slice().forEach((function(t){return t.destroy()})),this.children.length=0,delete this.container,delete this.parent,delete this.psv,delete this.prop},e.refreshUi=function(){var t=this;this.children.every((function(e){return e.refreshUi(),!0===t.psv.prop.uiRefresh}))},e.toggle=function(){this.isVisible()?this.hide():this.show()},e.hide=function(){this.container.style.display="none",this.prop.visible=!1},e.show=function(){this.container.style.display="",this.prop.visible=!0},e.isVisible=function(){return this.prop.visible},t}(),mt=function(t){function e(e,n,i,r){var s;return void 0===n&&(n=""),void 0===i&&(i=!1),void 0===r&&(r=!0),(s=t.call(this,e,"psv-button "+n)||this).prop=a({},s.prop,{id:s.constructor.id,collapsable:i,enabled:!0,supported:!0,collapsed:!1,active:!1,width:s.container.offsetWidth}),s.constructor.icon&&s.__setIcon(s.constructor.icon),s.prop.id&&s.psv.config.lang[s.prop.id]&&(s.container.title=s.psv.config.lang[s.prop.id]),r&&(s.container.tabIndex=0),s.container.addEventListener("click",(function(t){s.prop.enabled&&s.onClick(),t.stopPropagation()})),s.container.addEventListener("keydown",(function(t){t.key===v.Enter&&s.prop.enabled&&(s.onClick(),t.stopPropagation())})),s}s(e,t);var n=e.prototype;return n.checkSupported=function(){var t=this,e=this.isSupported();F(e)?(!1===e.initial&&(this.hide(),this.prop.supported=!1),e.promise.then((function(e){t.prop&&(t.prop.supported=e,e?t.show():t.hide())}))):(this.prop.supported=e,e||this.hide())},n.isSupported=function(){return!0},n.toggleActive=function(t){this.prop.active=void 0!==t?t:!this.prop.active,w(this.container,"psv-button--active",this.prop.active),this.constructor.iconActive&&this.__setIcon(this.prop.active?this.constructor.iconActive:this.constructor.icon)},n.show=function(t){void 0===t&&(t=!0),this.isVisible()||(this.prop.visible=!0,this.prop.collapsed||(this.container.style.display=""),t&&this.psv.refreshUi("show button "+this.prop.id))},n.hide=function(t){void 0===t&&(t=!0),this.isVisible()&&(this.prop.visible=!1,this.container.style.display="none",t&&this.psv.refreshUi("hide button "+this.prop.id))},n.disable=function(){this.container.classList.add("psv-button--disabled"),this.prop.enabled=!1},n.enable=function(){this.container.classList.remove("psv-button--disabled"),this.prop.enabled=!0},n.collapse=function(){this.prop.collapsed=!0,this.container.style.display="none"},n.uncollapse=function(){this.prop.collapsed=!1,this.prop.visible&&(this.container.style.display="")},n.__setIcon=function(t,e){void 0===e&&(e=this.container),t?(e.innerHTML=t,e.querySelector("svg").classList.add("psv-button-svg")):e.innerHTML=""},n.onClick=function(){throw new c('onClick not implemented for button "'+this.prop.id+'".')},e}(ft);mt.id=null,mt.groupId=null,mt.icon=null,mt.iconActive=null;var gt=function(t){function e(e){var n;return(n=t.call(this,e,"psv-button--hover-scale psv-autorotate-button",!0)||this).psv.on(h.AUTOROTATE,l(n)),n}s(e,t);var n=e.prototype;return n.destroy=function(){this.psv.off(h.AUTOROTATE,this),t.prototype.destroy.call(this)},n.handleEvent=function(t){switch(t.type){case h.AUTOROTATE:this.toggleActive(t.args[0])}},n.onClick=function(){this.psv.isAutorotateEnabled()&&(this.psv.config.autorotateIdle=!1,this.psv.resetIdleTimer()),this.psv.toggleAutorotate()},e}(mt);gt.id="autorotate",gt.icon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 41 41"><path fill="currentColor" d="M40.5 14.1c-.1-.1-1.2-.5-2.899-1-.101 0-.2-.1-.2-.2C34.5 6.5 28 2 20.5 2S6.6 6.5 3.7 12.9c0 .1-.1.1-.2.2-1.7.6-2.8 1-2.9 1l-.6.3v12.1l.6.2c.1 0 1.1.4 2.7.9.1 0 .2.1.2.199C6.3 34.4 12.9 39 20.5 39c7.601 0 14.101-4.6 16.9-11.1 0-.101.1-.101.2-.2 1.699-.6 2.699-1 2.8-1l.6-.3V14.3l-.5-.2zM20.5 4c5.8 0 10.9 3 13.8 7.5.2.3-.1.6-.399.5-3.8-1-8.8-2-13.6-2-4.7 0-9.5 1-13.2 2-.3.1-.5-.2-.4-.5C9.7 7 14.8 4 20.5 4zm0 33c-5.9 0-11.1-3.1-14-7.899-.2-.301.1-.
408601.4-.5 3.9 1 8.9 2.1 13.6 2.1 5 0 9.9-1 13.601-2 .3-.1.5.2.399.5A16.422 16.422 0 0 1 20.5 37zm18.601-12.1c0 .1-.101.3-.2.3-2.5.9-10.4 3.6-18.4 3.6-7.1 0-15.6-2.699-18.3-3.6C2.1 25.2 2 25 2 24.9V16c0-.1.1-.3.2-.3 2.6-.9 10.6-3.6 18.2-3.6 7.5 0 15.899 2.7 18.5 3.6.1 0 .2.2.2.3v8.9z"/><path fill="currentColor" d="M18.7 24l6.4-3.7c.3-.2.3-.7 0-.8l-6.4-3.8c-.3-.2-.7 0-.7.4v7.4c0 .5.4.7.7.5z"/>\x3c!--Created by Nick Bluth from the Noun Project--\x3e</svg>\n',gt.iconActive='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 41 41"><path fill="currentColor" d="M40.5 14.1c-.1-.1-1.2-.5-2.898-1-.102 0-.202-.1-.202-.2C34.5 6.5 28 2 20.5 2S6.6 6.5 3.7 12.9c0 .1-.1.1-.2.2-1.7.6-2.8 1-2.9 1l-.6.3v12.1l.6.2c.1 0 1.1.399 2.7.899.1 0 .2.101.2.199C6.3 34.4 12.9 39 20.5 39c7.602 0 14.102-4.6 16.9-11.1 0-.102.1-.102.199-.2 1.699-.601 2.699-1 2.801-1l.6-.3V14.3l-.5-.2zM6.701 11.5C9.7 7 14.8 4 20.5 4c5.8 0 10.9 3 13.8 7.5.2.3-.1.6-.399.5-3.799-1-8.799-2-13.6-2-4.7 0-9.5 1-13.2 2-.3.1-.5-.2-.4-.5zM25.1 20.3L18.7 24c-.3.2-.7 0-.7-.5v-7.4c0-.4.4-.6.7-.4l6.399 3.8c.301.1.301.6.001.8zm9.4 8.901A16.421 16.421 0 0 1 20.5 37c-5.9 0-11.1-3.1-14-7.898-.2-.302.1-.602.4-.5 3.9 1 8.9 2.1 13.6 2.1 5 0 9.9-1 13.602-2 .298-.1.5.198.398.499z"/>\x3c!--Created by Nick Bluth from the Noun Project--\x3e</svg>\n';var vt=function(t){function e(e,n){var i;return(i=t.call(this,e,"psv-custom-button",!1!==n.collapsable,!1!==n.tabbable)||this).config=n,i.config.id?i.prop.id=i.config.id:i.prop.id="psvButton-"+Math.random().toString(36).substr(2,9),i.config.className&&M(i.container,i.config.className),i.config.title&&(i.container.title=i.config.title),i.config.content&&(i.container.innerHTML=i.config.content),i.prop.width=i.container.offsetWidth,!1===i.config.enabled&&i.disable(),!1===i.config.visible&&i.hide(),i}s(e,t);var n=e.prototype;return n.destroy=function(){delete this.config,t.prototype.destroy.call(this)},n.onClick=function(){this.config.onClick&&this.config.onClick.call(this.psv,this.psv)},e}(mt),_t=function(t){function e(e){var n;return(n=t.call(this,e,"psv-button--hover-scale psv-description-button")||this).prop=a({},n.prop,{mode:null}),n.psv.on(h.HIDE_NOTIFICATION,l(n)),n.psv.on(h.SHOW_NOTIFICATION,l(n)),n.psv.on(h.CLOSE_PANEL,l(n)),n.psv.on(h.OPEN_PANEL,l(n)),n}s(e,t);var n=e.prototype;return n.destroy=function(){this.psv.off(h.HIDE_NOTIFICATION,this),this.psv.off(h.SHOW_NOTIFICATION,this),this.psv.off(h.CLOSE_PANEL,this),this.psv.off(h.OPEN_PANEL,this),t.prototype.destroy.call(this)},n.handleEvent=function(t){if(this.prop.mode){var e=!1;switch(t.type){case h.HIDE_NOTIFICATION:e=1===this.prop.mode;break;case h.SHOW_NOTIFICATION:e=1===this.prop.mode&&t.args[0]!==m.DESCRIPTION;break;case h.CLOSE_PANEL:e=2===this.prop.mode;break;case h.OPEN_PANEL:e=2===this.prop.mode&&t.args[0]!==m.DESCRIPTION}e&&(this.toggleActive(!1),this.prop.mode=null)}},n.hide=function(e){t.prototype.hide.call(this,e),this.prop.mode&&this.__close()},n.refreshUi=function(t){if(void 0===t&&(t=!1),t){var e=this.psv.navbar.getButton("caption",!1),n=e&&!e.isVisible(),i=!!this.psv.config.description;n||i?this.show(!1):this.hide(!1)}},n.onClick=function(){this.prop.mode?this.__close():this.__open()},n.__close=function(){switch(this.prop.mode){case 1:this.psv.notification.hide(m.DESCRIPTION);break;case 2:this.psv.panel.hide(m.DESCRIPTION)}},n.__open=function(){this.toggleActive(!0),this.psv.config.description?(this.prop.mode=2,this.psv.panel.show({id:m.DESCRIPTION,content:(this.psv.config.caption?"<p>"+this.psv.config.caption+"</p>":"")+this.psv.config.description})):(this.prop.mode=1,this.psv.notification.show({id:m.DESCRIPTION,content:this.psv.config.caption}))},e}(mt);_t.id="description",_t.icon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="currentColor" d="M28.3 26.1c-1 2.6-1.9 4.8-2.6 7-2.5 7.4-5 14.7-7.2 22-1.3 4.4.5 7.2 4.3 7.8 1.3.2 2.8.2 4.2-.1 8.2-2 11.9-8.6 15.7-15.2l-2.2 2a18.8 18.8 0 0 1-7.4 5.2 2 2 0 0 1-1.6-.2c-.2-.1 0-1 0-1.4l.8-1.8L41.9 28c.5-1.4.9-3 .7-4.4-.2-2.6-3-4.4-6.3-4.4-8.8.2-15 4.5-19.5 11.8-.2.3-.2.6-.3 1.3 3.7-2.8 6.8-6.1 11.8-6.2z"/><circle fill="currentColor" cx="39.3" cy="9.2" r="8.2"/>\x3c!--Created by Arafat Uddin from the Noun Project--\x3e</svg>\n';var yt=function(t){function e(e){return t.call(this,e,"psv-button--hover-scale psv-download-button",!0)||this}s(e,t);var n=e.prototype;return n.onClick=function(){var t=this,e=document.createElement("a");e.href=this.psv.config.downloadUrl||this.psv.config.panorama,e.download=e.href.split("/").pop(),this.psv.container.appendChild(e),e.click(),setTimeout((function(){t.psv.container.removeChild(e)}),100)}
408,n.refreshUi=function(){var t=this.psv.adapter.constructor.supportsDownload||this.psv.config.downloadUrl;t&&!this.prop.visible?this.show():!t&&this.prop.visible&&this.hide()},e}(mt);yt.id="download",yt.icon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="currentColor" d="M83.3 35.6h-17V3H32.2v32.6H16.6l33.6 32.7 33-32.7z"/><path fill="currentColor" d="M83.3 64.2v16.3H16.6V64.2H-.1v32.6H100V64.2H83.3z"/>\x3c!--Created by Michael Zenaty from the Noun Project--\x3e</svg>\n';var bt=function(t){function e(e){var n;return(n=t.call(this,e,"psv-button--hover-scale psv-fullscreen-button")||this).psv.on(h.FULLSCREEN_UPDATED,l(n)),n}s(e,t);var n=e.prototype;return n.destroy=function(){this.psv.off(h.FULLSCREEN_UPDATED,this),t.prototype.destroy.call(this)},n.handleEvent=function(t){switch(t.type){case h.FULLSCREEN_UPDATED:this.toggleActive(t.args[0])}},n.onClick=function(){this.psv.toggleFullscreen()},e}(mt);bt.id="fullscreen",bt.icon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="currentColor" d="M100 40H87.1V18.8h-21V6H100zM100 93.2H66V80.3h21.1v-21H100zM34 93.2H0v-34h12.9v21.1h21zM12.9 40H0V6h34v12.9H12.8z"/>\x3c!--Created by Garrett Knoll from the Noun Project--\x3e</svg>\n',bt.iconActive='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="currentColor" d="M66 7h13v21h21v13H66zM66 60.3h34v12.9H79v21H66zM0 60.3h34v34H21V73.1H0zM21 7h13v34H0V28h21z"/>\x3c!--Created by Garrett Knoll from the Noun Project--\x3e</svg>\n';var xt='<svg xmlns="http://www.w3.org/2000/svg" viewBox="10 10 80 80"><g fill="currentColor"><circle r="10" cx="20" cy="20"/><circle r="10" cx="50" cy="20"/><circle r="10" cx="80" cy="20"/><circle r="10" cx="20" cy="50"/><circle r="10" cx="50" cy="50"/><circle r="10" cx="80" cy="50"/><circle r="10" cx="20" cy="80"/><circle r="10" cx="50" cy="80"/><circle r="10" cx="80" cy="80"/></g>\x3c!-- Created by Richard Kunák from the Noun Project--\x3e</svg>\n',wt=function(t){function e(e){var n;return(n=t.call(this,e,"psv-button--hover-scale psv-menu-button")||this).psv.on(h.OPEN_PANEL,l(n)),n.psv.on(h.CLOSE_PANEL,l(n)),t.prototype.hide.call(l(n)),n}s(e,t);var n=e.prototype;return n.destroy=function(){this.psv.off(h.OPEN_PANEL,this),this.psv.off(h.CLOSE_PANEL,this),t.prototype.destroy.call(this)},n.handleEvent=function(t){switch(t.type){case h.OPEN_PANEL:this.toggleActive(t.args[0]===m.MENU);break;case h.CLOSE_PANEL:this.toggleActive(!1)}},n.hide=function(e){t.prototype.hide.call(this,e),this.__hideMenu()},n.show=function(e){t.prototype.show.call(this,e),this.prop.active&&this.__showMenu()},n.onClick=function(){this.prop.active?this.__hideMenu():this.__showMenu()},n.__showMenu=function(){var t=this;this.psv.panel.show({id:m.MENU,content:e.MENU_TEMPLATE(this.parent.collapsed,this.psv,N(e.BUTTON_DATA)),noMargin:!0,clickHandler:function(n){var i=n.target?T(n.target,"li"):void 0,r=i?i.dataset[e.BUTTON_DATA]:void 0;r&&(t.parent.getButton(r).onClick(),t.__hideMenu())}})},n.__hideMenu=function(){this.psv.panel.hide(m.MENU)},e}(mt);wt.id="menu",wt.icon=xt,wt.BUTTON_DATA="psvButton",wt.MENU_TEMPLATE=function(t,e,n){return'\n<div class="psv-panel-menu psv-panel-menu--stripped">\n  <h1 class="psv-panel-menu-title">'+xt+" "+e.config.lang.menu+'</h1>\n  <ul class="psv-panel-menu-list">\n    '+t.map((function(t){return"\n    <li data-"+n+'="'+t.prop.id+'" class="psv-panel-menu-item" tabindex="0">
408\n      <span class="psv-panel-menu-item-icon">'+t.container.innerHTML+'</span>\n      <span class="psv-panel-menu-item-label">'+t.container.title+"</span>\n    </li>\n    "})).join("")+"\n  </ul>\n</div>\n"};var Mt=function(){function t(t){void 0===t&&(t=200),this.delay=t,this.time=0,this.timeout=null}var e=t.prototype;return e.down=function(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.time=(new Date).getTime()},e.up=function(t){var e=this;this.time&&((new Date).getTime()-this.time<this.delay?this.timeout=setTimeout((function(){t(),e.timeout=null,e.time=0}),this.delay):(t(),this.time=0))},t}();function St(t){var e=0;switch(t){case"up":e=90;break;case"right":e=180;break;case"down":e=-90;break;default:e=0}return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="40 40 432 432"><g transform="rotate(0, 256, 256)"><path fill="currentColor" d="M425.23 210.55H227.39a5 5 0 01-3.53-8.53l56.56-56.57a45.5 45.5 0 000-64.28 45.15 45.15 0 00-32.13-13.3 45.15 45.15 0 00-32.14 13.3L41.32 256l174.83 174.83a45.15 45.15 0 0032.14 13.3 45.15 45.15 0 0032.13-13.3 45.5 45.5 0 000-64.28l-56.57-56.57a5 5 0 013.54-8.53h197.84c25.06 0 45.45-20.39 45.45-45.45s-20.4-45.45-45.45-45.45z"/></g>\x3c!-- Created by Flatart from the Noun Project --\x3e</svg>\n'.replace("rotate(0","rotate("+e)}var Tt=function(t){function e(e,n){var i;return(i=t.call(this,e,"psv-button--hover-scale psv-move-button")||this).container.title=i.psv.config.lang.move,i.prop=a({},i.prop,{value:n,handler:new Mt}),i.container.addEventListener("mousedown",l(i)),i.container.addEventListener("keydown",l(i)),i.container.addEventListener("keyup",l(i)),i.psv.container.addEventListener("mouseup",l(i)),i.psv.container.addEventListener("touchend",l(i)),i}s(e,t);var n=e.prototype;return n.destroy=function(){this.__onMouseUp(),this.psv.container.removeEventListener("mouseup",this),this.psv.container.removeEventListener("touchend",this),t.prototype.destroy.call(this)},n.handleEvent=function(t){switch(t.type){case"mousedown":this.__onMouseDown();break;case"mouseup":case"touchend":this.__onMouseUp();break;case"keydown":t.key===v.Enter&&this.__onMouseDown();break;case"keyup":t.key===v.Enter&&this.__onMouseUp()}},n.isSupported=function(){return{initial:!y.isTouchEnabled.initial,promise:y.isTouchEnabled.promise.then((function(t){return!t}))}},n.onClick=function(){},n.__onMouseDown=function(){this.prop.enabled&&(this.psv.__stopAll(),this.psv.dynamics.position.roll(this.prop.value),this.prop.handler.down())},n.__onMouseUp=function(){var t=this;this.prop.enabled&&this.prop.handler.up((function(){t.psv.dynamics.position.stop(),t.psv.resetIdleTimer()}))},e}(mt);Tt.groupId="move";var At=function(t){function e(e){return t.call(this,e,{latitude:!0})||this}return s(e,t),e}(Tt);At.id="moveDown",At.icon=St("down");var Lt=function(t){function e(e){return t.call(this,e,{longitude:!0})||this}return s(e,t),e}(Tt);Lt.id="moveLeft",Lt.icon=St("left");var Et=function(t){function e(e){return t.call(this,e,{longitude:!1})||this}return s(e,t),e}(Tt);Et.id="moveRight",Et.icon=St("right");var Ct=function(t){function e(e){return t.call(this,e,{latitude:!1})||this}return s(e,t),e}(Tt);Ct.id="moveUp",Ct.icon=St("up");var It=function(t){function e(e,n){var i;return(i=t.call(this,e,"psv-button--hover-scale psv-zoom-button")||this).prop=a({},i.prop,{value:n,handler:new Mt}),i.container.addEventListener("mousedown",l(i)),i.container.addEventListener("keydown",l(i)),i.container.addEventListener("keyup",l(i)),i.psv.container.addEventListener("mouseup",l(i)),i.psv.container.addEventListener("touchend",l(i)),i}s(e,t);var n=e.prototype;return n.destroy=function(){this.__onMouseUp(),this.psv.container.removeEventListener("mouseup",this),this.psv.container.removeEventListener("touchend",this),t.prototype.destroy.call(this)},n.handleEvent=function(t){switch(t.type){case"mousedown":this.__onMouseDown();break;case"mouseup":case"touchend":this.__onMouseUp();break;case"keydown":t.key===v.Enter&&this.__onMouseDown();break;case"keyup":t.key===v.Enter&&this.__onMouseUp()}},n.isSupported=function(){return{initial:!y.isTouchEnabled.initial,promise:y.isTouchEnabled.promise.then((function(t){return!t}))}},n.onClick=function(){},n.__onMouseDown=function(){this.prop.enabled&&(this.psv.dynamics.zoom.roll(this.prop.value),this.prop.handler.down())},n.__onMouseUp=function(){var t=this;this.prop.enabled&&this.prop.handler.up((function(){return t.psv.dynamics.zoom.stop()}))},e}(mt);It.groupId="zoom";var Dt=function(t){function e(e){return t.call(this,e,!1)||this}return s(e,t),e}(It);Dt.id="zoomIn",Dt.icon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
408<path fill="currentColor" d="M14.043 12.22a7.738 7.738 0 1 0-1.823 1.822l4.985 4.985c.503.504 1.32.504 1.822 0a1.285 1.285 0 0 0 0-1.822l-4.984-4.985zm-6.305 1.043a5.527 5.527 0 1 1 0-11.053 5.527 5.527 0 0 1 0 11.053z"/><path fill="currentColor" d="M8.728 4.009H6.744v2.737H4.006V8.73h2.738v2.736h1.984V8.73h2.737V6.746H8.728z"/>\x3c!--Created by Ryan Canning from the Noun Project--\x3e</svg>\n';var kt=function(t){function e(e){return t.call(this,e,!0)||this}return s(e,t),e}(It);kt.id="zoomOut",kt.icon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="currentColor" d="M14.043 12.22a7.738 7.738 0 1 0-1.823 1.822l4.985 4.985c.503.504 1.32.504 1.822 0a1.285 1.285 0 0 0 0-1.822l-4.984-4.985zm-6.305 1.043a5.527 5.527 0 1 1 0-11.053 5.527 5.527 0 0 1 0 11.053z"/><path fill="currentColor" d="M4.006 6.746h7.459V8.73H4.006z"/>\x3c!--Created by Ryan Canning from the Noun Project--\x3e</svg>\n';var Ot=function(t){function e(e){var n;return(n=t.call(this,e,"psv-zoom-range",!1,!1)||this).prop=a({},n.prop,{mediaMinWidth:0}),n.zoomRange=document.createElement("div"),n.zoomRange.className="psv-zoom-range-line",n.container.appendChild(n.zoomRange),n.zoomValue=document.createElement("div"),n.zoomValue.className="psv-zoom-range-handle",n.zoomRange.appendChild(n.zoomValue),n.slider=new dt({container:n.container,direction:dt.HORIZONTAL,onUpdate:function(t){return n.__onSliderUpdate(t)}}),n.prop.mediaMinWidth=parseInt(I(n.container,"maxWidth"),10),n.psv.on(h.ZOOM_UPDATED,l(n)),n.psv.prop.ready?n.__moveZoomValue(n.psv.getZoomLevel()):n.psv.once(h.READY,l(n)),n.refreshUi(),n}s(e,t);var n=e.prototype;return n.destroy=function(){this.slider.destroy(),delete this.zoomRange,delete this.zoomValue,this.psv.off(h.ZOOM_UPDATED,this),this.psv.off(h.READY,this),t.prototype.destroy.call(this)},n.handleEvent=function(t){switch(t.type){case h.ZOOM_UPDATED:this.__moveZoomValue(t.args[0]);break;case h.READY:this.__moveZoomValue(this.psv.getZoomLevel())}},n.isSupported=function(){return{initial:!y.isTouchEnabled.initial,promise:y.isTouchEnabled.promise.then((function(t){return!t}))}},n.refreshUi=function(){this.prop.supported&&(this.psv.prop.size.width<=this.prop.mediaMinWidth&&this.prop.visible?this.hide():this.psv.prop.size.width>this.prop.mediaMinWidth&&!this.prop.visible&&this.show())},n.onClick=function(){},n.__moveZoomValue=function(t){this.zoomValue.style.left=t/100*this.zoomRange.offsetWidth-this.zoomValue.offsetWidth/2+"px"},n.__onSliderUpdate=function(t){t.mousedown&&this.psv.zoom(100*t.value)},e}(mt);Ot.id="zoomRange",Ot.groupId="zoom";var Rt,Pt=function(t){function e(e){var n;return(n=t.call(this)||this).psv=e,n}s(e,t);var n=e.prototype;return n.init=function(){},n.destroy=function(){delete this.psv},e}(n.EventEmitter);Pt.id=null;var Nt={panorama:null,overlay:null,overlayOpacity:1,container:null,adapter:null,plugins:[],caption:null,description:null,downloadUrl:null,loadingImg:null,loadingTxt:"Loading...",size:null,fisheye:!1,minFov:30,maxFov:90,defaultZoomLvl:50,defaultLong:0,defaultLat:0,sphereCorrection:null,moveSpeed:1,zoomSpeed:1,autorotateDelay:null,autorotateIdle:!1,autorotateSpeed:"2rpm",autorotateLat:null,autorotateZoomLvl:null,moveInertia:!0,mousewheel:!0,mousemove:!0,mousewheelCtrlKey:!1,touchmoveTwoFingers:!1,useXmpData:!0,panoData:null,requestHeaders:null,canvasBackground:"#000",withCredentials:!1,navbar:["autorotate","zoom","move","download","description","caption","fullscreen"],lang:{autorotate:"Automatic rotation",zoom:"Zoom",zoomOut:"Zoom out",zoomIn:"Zoom in",move:"Move",download:"Download",fullscreen:"Fullscreen",menu:"Menu",twoFingers:"Use two fingers to navigate",ctrlZoom:"Use ctrl + scroll to zoom the image",loadError:"The panorama can't be loaded"},keyboard:(Rt={},Rt[v.ArrowUp]=d.ROTATE_LAT_UP,Rt[v.ArrowDown]=d.ROTATE_LAT_DOWN,Rt[v.ArrowRight]=d.ROTATE_LONG_RIGHT,Rt[v.ArrowLeft]=d.ROTATE_LONG_LEFT,Rt[v.PageUp]=d.ZOOM_IN,Rt[v.PageDown]=d.ZOOM_OUT,Rt[v.Plus]=d.ZOOM_IN,Rt[v.Minus]=d.ZOOM_OUT,Rt[v.Space]=d.TOGGLE_AUTOROTATE,Rt)},Yt={panorama:"Use setPanorama method to change the panorama",panoData:"Use setPanorama method to change the panorama",container:"Cannot change viewer container",adapter:"Cannot change adapter",plugins:"Cannot change plugins"},Ft={zoomButtonIncrement:"zoomButtonIncrement is deprecated, use zoomSpeed",mousewheelSpeed:"mousewheelSpeed is deprecated, use zoomSpeed",sphereCorrectionReorder:"sphereCorrectionReorder is deprecated",captureCursor:"captureCursor is deprecated"},Ht={container:function(t){if(!t)throw new c("No value given for container.");return t},adapter:function(t){if(!(t=t?Array.isArray(t)?[G(t[0],u),t[1]]:[G(t,u)]:[pt])[0])throw new c("Un undefined value with given for adapter.");return t},overlayOpacity:function(t){return e.MathUtils.clamp(t,0,1)},defaultLong:function(t){return rt(t)},defaultLat:function(t){return rt(t,!0)},defaultZoomLvl:function(t){return e.MathUtils.clamp(t,0,100)},minFov:function(t,n){return n.maxFov<t&&($("maxFov cannot be lower than minFov"),t=n.maxFov),e.MathUtils.clamp(t,1,179)},maxFov:function(t,n){return t<n.minFov&&(t=n.minFov),e.MathUtils.clamp(t,1,179)},lang:function(t){return Array.isArray(t.twoFingers)&&($("lang.twoFingers must not be an array"),t.twoFingers=t.twoFingers[0]),a({},Nt.lang,t)},keyboard:function(t){return!0===t?j(Nt.keyboard):t},autorotateLat:function(t,e){return rt(null===t?e.defaultLat:t,!0)},autorotateZoomLvl:function(t){return U(t)?null:e.MathUtils.clamp(t,0,100)},autorotateSpeed:function(t){return it(t)},autorotateIdle:function(t,e){return t&&U(e.autorotateDelay)?($("autorotateIdle requires a non null autorotateDelay"),!1):t},fisheye:function(t){return!0===t?1:!1===t?0:t},plugins:function(t){return t.map((function(t){if(!(t=Array.isArray(t)?[G(t[0],Pt),t[1]]:[G(t,Pt)])[0])throw new c("Un undefined value was given for plugins.");return t}))}},jt=function(t){function e(e,n){var i;return(i=t.call(this,e,"psv-caption")||this).prop=a({},i.prop,{id:i.constructor.id,collapsable:!1,width:0,contentWidth:0}),i.content=document.createElement("div"),i.content.className="psv-caption-content",i.container.appendChild(i.content),i.setCaption(n),i}s(e,t);var n=e.prototype;return n.destroy=function(){delete this.content,t.prototype.destroy.call(this)},n.setCaption=function(t){this.show(),this.content.innerHTML=t,this.prop.contentWidth=t?this.content.offsetWidth:0,this.refreshUi()},n.refreshUi=function(){var t=this.container.offsetWidth;t>=this.prop.contentWidth?this.show():t<this.prop.contentWidth&&this.hide(),this.__refreshButton()},n.hide=function(){this.content.style.display="none",this.prop.visible=!1},n.show=function(){this.content.style.display="",this.prop.visible=!0},n.__refreshButton=function(){var t;null==(t=this.psv.navbar.getButton(_t.id,!1))||t.refreshUi(!0)},e}(ft);jt.id="caption";var Bt={},zt={};function Ut(t,e){if(!t.id)throw new c("Button ID is required");if(Bt[t.id]=t,t.groupId&&(zt[t.groupId]=zt[t.groupId]||[],zt[t.groupId].push(t)),"string"==typeof e)switch(e){case"start":Nt.navbar.unshift(t.id);break;case"end":Nt.navbar.push(t.id);break;default:var n=e.split(":"),i=n[0],r=n[1];
408Nt.navbar.splice(Nt.navbar.indexOf(i)+("right"===r?1:0),0,t.id)}}[gt,kt,Ot,Dt,_t,yt,bt,Lt,Et,Ct,At].forEach(Ut);var Vt=function(t){function e(e){var n;return(n=t.call(this,e,"psv-navbar psv--capture-event")||this).children=[],n.collapsed=[],n}s(e,t);var n=e.prototype;return n.setButtons=function(t){var e=this;this.children.slice().forEach((function(t){return t.destroy()})),this.children.length=0;var n=this.__cleanButtons(t);-1!==n.indexOf(jt.id)&&-1===n.indexOf(_t.id)&&n.splice(n.indexOf(jt.id),0,_t.id),n.forEach((function(t){if("object"==typeof t)new vt(e,t);else if(Bt[t])new Bt[t](e);else if(zt[t])zt[t].forEach((function(t){return new t(e)}));else{if(t!==jt.id)throw new c("Unknown button "+t);new jt(e,e.psv.config.caption)}})),new wt(this),this.children.forEach((function(t){"function"==typeof t.checkSupported&&t.checkSupported()}))},n.setCaption=function(t){var e=this.getButton(jt.id,!1);null==e||e.setCaption(t)},n.getButton=function(t,e){void 0===e&&(e=!0);var n=null;return this.children.some((function(e){return e.prop.id===t&&(n=e,!0)})),!n&&e&&$('button "'+t+'" not found in the navbar'),n},n.show=function(){this.container.classList.add("psv-navbar--open"),this.prop.visible=!0},n.hide=function(){this.container.classList.remove("psv-navbar--open"),this.prop.visible=!1},n.refreshUi=function(){if(t.prototype.refreshUi.call(this),!0===this.psv.prop.uiRefresh){var e=this.container.offsetWidth,n=0,i=[],r=[];if(this.children.forEach((function(t){t.prop.visible&&(n+=t.prop.width,i.push(t),t.prop.collapsable&&r.push(t))})),!i.length)return;e<n&&r.length>0?(r.forEach((function(t){return t.collapse()})),this.collapsed=r,this.getButton(wt.id).show(!1)):e>=n&&this.collapsed.length>0&&(this.collapsed.forEach((function(t){return t.uncollapse()})),this.collapsed=[],this.getButton(wt.id).hide(!1));var a=this.getButton(jt.id,!1);a&&a.refreshUi()}},n.__cleanButtons=function(t){return!0===t?j(Nt.navbar):"string"==typeof t?t.split(/[ ,]/):t||[]},e}(ft),Wt=function(t){function n(e){var n;return(n=t.call(this,e,"psv-loader-container")||this).loader=document.createElement("div"),n.loader.className="psv-loader",n.container.appendChild(n.loader),n.canvas=document.createElement("canvas"),n.canvas.className="psv-loader-canvas",n.canvas.width=n.loader.clientWidth*y.pixelRatio,n.canvas.height=n.loader.clientWidth*y.pixelRatio,n.loader.appendChild(n.canvas),n.prop=a({},n.prop,{tickness:(n.loader.offsetWidth-n.loader.clientWidth)/2*y.pixelRatio,current:null}),n.refreshUi(),n.hide(),n}s(n,t);var i=n.prototype;return i.destroy=function(){delete this.loader,delete this.canvas,t.prototype.destroy.call(this)},i.refreshUi=function(){if(this.prop.current!==(this.psv.config.loadingImg||this.psv.config.loadingTxt)){var t;if(this.prop.current&&this.loader.removeChild(this.loader.lastChild),this.psv.config.loadingImg?((t=document.createElement("img")).className="psv-loader-image",t.src=this.psv.config.loadingImg):this.psv.config.loadingTxt&&((t=document.createElement("div")).className="psv-loader-text",t.innerHTML=this.psv.config.loadingTxt),t){var e=Math.round(Math.sqrt(2*Math.pow((this.canvas.width/2-this.prop.tickness/2)/y.pixelRatio,2)));t.style.maxWidth=e+"px",t.style.maxHeight=e+"px",this.loader.appendChild(t)}this.prop.current=this.psv.config.loadingImg||this.psv.config.loadingTxt}},i.setProgress=function(t){var n=this.canvas.getContext("2d");n.clearRect(0,0,this.canvas.width,this.canvas.height),n.lineWidth=this.prop.tickness,n.strokeStyle=I(this.loader,"color"),n.beginPath(),n.arc(this.canvas.width/2,this.canvas.height/2,this.canvas.width/2-this.prop.tickness/2,-Math.PI/2,e.MathUtils.clamp(t,0,100)/100*2*Math.PI-Math.PI/2),n.stroke(),this.psv.trigger(h.LOAD_PROGRESS,Math.round(t))},n}(ft),Gt=function(t){function e(e){var n;return(n=t.call(this,e,"psv-notification")||this).prop=a({},n.prop,{visible:!1,contentId:void 0,timeout:null}),n.content=document.createElement("div"),n.content.className="psv-notification-content",n.container.appendChild(n.content),n.content.addEventListener("click",(function(){return n.hide()})),n}s(e,t);var n=e.prototype;return n.destroy=function(){delete this.content,t.prototype.destroy.call(this)},n.isVisible=function(t){return this.prop.visible&&(!t||!this.prop.contentId||this.prop.contentId===t)},n.toggle=function(){throw new c("Notification cannot be toggled")},n.show=function(t){var e=this;this.prop.timeout&&(clearTimeout(this.prop.timeout),this.prop.timeout=null),"string"==typeof t&&(t={content:t}),this.prop.contentId=t.id,this.content.innerHTML=t.content,this.container.classList.add("psv-notification--visible"),this.prop.visible=!0,this.psv.trigger(h.SHOW_NOTIFICATION,t.id),t.timeout&&(this.prop.timeout=setTimeout((function(){return e.hide(t.id)}),t.timeout))},n.hide=function(t){if(this.isVisible(t)){var e=this.prop.contentId;this.container.classList.remove("psv-notification--visible"),this.prop.visible=!1,this.prop.contentId=void 0,this.psv.trigger(h.HIDE_NOTIFICATION,e)}},e}(ft),qt=function(t){function e(e){var n;
408return(n=t.call(this,e,"psv-overlay")||this).prop=a({},n.prop,{contentId:void 0,dissmisable:!0}),n.image=document.createElement("div"),n.image.className="psv-overlay-image",n.container.appendChild(n.image),n.text=document.createElement("div"),n.text.className="psv-overlay-text",n.container.appendChild(n.text),n.subtext=document.createElement("div"),n.subtext.className="psv-overlay-subtext",n.container.appendChild(n.subtext),n.psv.on(h.CLICK,l(n)),n.psv.on(h.KEY_PRESS,l(n)),t.prototype.hide.call(l(n)),n}s(e,t);var n=e.prototype;return n.destroy=function(){this.psv.off(h.CLICK,this),this.psv.off(h.KEY_PRESS,this),delete this.image,delete this.text,delete this.subtext,t.prototype.destroy.call(this)},n.handleEvent=function(t){switch(t.type){case h.CLICK:this.isVisible()&&this.prop.dissmisable&&(this.hide(),t.stopPropagation());break;case h.KEY_PRESS:this.isVisible()&&this.prop.dissmisable&&t.args[0]===v.Escape&&(this.hide(),t.preventDefault())}},n.isVisible=function(t){return this.prop.visible&&(!t||!this.prop.contentId||this.prop.contentId===t)},n.toggle=function(){throw new c("Overlay cannot be toggled")},n.show=function(e){"string"==typeof e&&(e={text:e}),this.prop.contentId=e.id,this.prop.dissmisable=!1!==e.dissmisable,this.image.innerHTML=e.image||"",this.text.innerHTML=e.text||"",this.subtext.innerHTML=e.subtext||"",t.prototype.show.call(this),this.psv.trigger(h.SHOW_OVERLAY,e.id)},n.hide=function(e){if(this.isVisible(e)){var n=this.prop.contentId;t.prototype.hide.call(this),this.prop.contentId=void 0,this.psv.trigger(h.HIDE_OVERLAY,n)}},e}(ft),Xt=function(t){function e(e){var n;(n=t.call(this,e,"psv-panel psv--capture-event")||this).prop=a({},n.prop,{visible:!1,contentId:void 0,mouseX:0,mouseY:0,mousedown:!1,clickHandler:null,keyHandler:null,width:{}});var i=document.createElement("div");i.className="psv-panel-resizer",n.container.appendChild(i);var r=document.createElement("div");return r.className="psv-panel-close-button",n.container.appendChild(r),n.content=document.createElement("div"),n.content.className="psv-panel-content",n.container.appendChild(n.content),n.container.addEventListener(y.mouseWheelEvent,(function(t){return t.stopPropagation()})),r.addEventListener("click",(function(){return n.hide()})),i.addEventListener("mousedown",l(n)),i.addEventListener("touchstart",l(n)),n.psv.container.addEventListener("mouseup",l(n)),n.psv.container.addEventListener("touchend",l(n)),n.psv.container.addEventListener("mousemove",l(n)),n.psv.container.addEventListener("touchmove",l(n)),n.psv.on(h.KEY_PRESS,l(n)),n}s(e,t);var n=e.prototype;return n.destroy=function(){this.psv.off(h.KEY_PRESS,this),this.psv.container.removeEventListener("mousemove",this),this.psv.container.removeEventListener("touchmove",this),this.psv.container.removeEventListener("mouseup",this),this.psv.container.removeEventListener("touchend",this),delete this.prop,delete this.content,t.prototype.destroy.call(this)},n.handleEvent=function(t){switch(t.type){case"mousedown":this.__onMouseDown(t);break;case"touchstart":this.__onTouchStart(t);break;case"mousemove":this.__onMouseMove(t);break;case"touchmove":this.__onTouchMove(t);break;case"mouseup":case"touchend":this.__onMouseUp(t);break;case h.KEY_PRESS:this.isVisible()&&t.args[0]===v.Escape&&(this.hide(),t.preventDefault())}},n.isVisible=function(t){return this.prop.visible&&(!t||!this.prop.contentId||this.prop.contentId===t)},n.toggle=function(){throw new c("Panel cannot be toggled")},n.show=function(t){var e=this,n=this.isVisible(t.id);"string"==typeof t&&(t={content:t}),this.prop.contentId=t.id,this.prop.visible=!0,this.prop.clickHandler&&(this.content.removeEventListener("click",this.prop.clickHandler),this.content.removeEventListener("keydown",this.prop.keyHandler),this.prop.clickHandler=null,this.prop.keyHandler=null),t.id&&this.prop.width[t.id]?this.container.style.width=this.prop.width[t.id]:t.width?this.container.style.width=t.width:this.container.style.width=null,this.content.innerHTML=t.content,this.content.scrollTop=0,this.container.classList.add("psv-panel--open"),w(this.content,"psv-panel-content--no-margin",!0===t.noMargin),t.clickHandler&&(this.prop.clickHandler=t.clickHandler,this.prop.keyHandler=function(e){e.key===v.Enter&&t.clickHandler(e)},this.content.addEventListener("click",this.prop.clickHandler),this.content.addEventListener("keydown",this.prop.keyHandler),n||setTimeout((function(){var t;null==(t=e.content.querySelector("a,button,[tabindex]"))||t.focu
408s()}),300)),this.psv.trigger(h.OPEN_PANEL,t.id)},n.hide=function(t){if(this.isVisible(t)){var e=this.prop.contentId;this.prop.visible=!1,this.prop.contentId=void 0,this.content.innerHTML=null,this.container.classList.remove("psv-panel--open"),this.prop.clickHandler&&(this.content.removeEventListener("click",this.prop.clickHandler),this.prop.clickHandler=null),this.psv.trigger(h.CLOSE_PANEL,e)}},n.__onMouseDown=function(t){t.stopPropagation(),this.__startResize(t)},n.__onTouchStart=function(t){t.stopPropagation(),this.__startResize(t.changedTouches[0])},n.__onMouseUp=function(t){this.prop.mousedown&&(t.stopPropagation(),this.prop.mousedown=!1,this.content.classList.remove("psv-panel-content--no-interaction"))},n.__onMouseMove=function(t){this.prop.mousedown&&(t.stopPropagation(),this.__resize(t))},n.__onTouchMove=function(t){this.prop.mousedown&&this.__resize(t.touches[0])},n.__startResize=function(t){this.prop.mouseX=t.clientX,this.prop.mouseY=t.clientY,this.prop.mousedown=!0,this.content.classList.add("psv-panel-content--no-interaction")},n.__resize=function(t){var e=t.clientX,n=t.clientY,i=Math.max(200,this.container.offsetWidth-(e-this.prop.mouseX))+"px";this.prop.contentId&&(this.prop.width[this.prop.contentId]=i),this.container.style.width=i,this.prop.mouseX=e,this.prop.mouseY=n},e}(ft),$t=function(){function t(t){this.psv=t,this.config=t.config,this.prop=t.prop}return t.prototype.destroy=function(){delete this.psv,delete this.config,delete this.prop},t}(),Kt=new e.Vector2,Jt=new e.Vector3,Qt=new e.Euler(0,0,0,"ZXY"),Zt=function(t){function n(e){return t.call(this,e)||this}s(n,t);var i=n.prototype;return i.fovToZoomLevel=function(t){var e=Math.round((t-this.config.minFov)/(this.config.maxFov-this.config.minFov)*100);return e-2*(e-50)},i.zoomLevelToFov=function(t){return this.config.maxFov+t/100*(this.config.minFov-this.config.maxFov)},i.vFovToHFov=function(t){return e.MathUtils.radToDeg(2*Math.atan(Math.tan(e.MathUtils.degToRad(t)/2)*this.prop.aspect))},i.speedToDuration=function(t,e){if(t&&"number"==typeof t)return Math.abs(t);var n=t?it(t):this.config.autorotateSpeed;return e/Math.abs(n)*1e3},i.textureCoordsToSphericalCoords=function(t){var e=this.prop.panoData;if(!e)throw new c("Current adapter does not support texture coordinates.");var n=(t.x+e.croppedX)/e.fullWidth*Math.PI*2,i=(t.y+e.croppedY)/e.fullHeight*Math.PI,r={longitude:n>=Math.PI?n-Math.PI:n+Math.PI,latitude:Math.PI/2-i};return Qt.equals(this.psv.renderer.mesh.rotation)&&Qt.equals(this.psv.renderer.meshContainer.rotation)?r:(this.sphericalCoordsToVector3(r,Jt),Jt.applyEuler(this.psv.renderer.mesh.rotation),Jt.applyEuler(this.psv.renderer.meshContainer.rotation),this.vector3ToSphericalCoords(Jt))},i.sphericalCoordsToTextureCoords=function(t){var e=this.prop.panoData;if(!e)throw new c("Current adapter does not support texture coordinates.");Qt.equals(this.psv.renderer.mesh.rotation)&&Qt.equals(this.psv.renderer.meshContainer.rotation)||(this.sphericalCoordsToVector3(t,Jt),ot(Jt,this.psv.renderer.meshContainer.rotation),ot(Jt,this.psv.renderer.mesh.rotation),t=this.vector3ToSphericalCoords(Jt));var n=t.longitude/Math.PI/2*e.fullWidth,i=t.latitude/Math.PI*e.fullHeight;return{x:Math.round(t.longitude<Math.PI?n+e.fullWidth/2:n-e.fullWidth/2)-e.croppedX,y:Math.round(e.fullHeight/2-i)-e.croppedY}},i.sphericalCoordsToVector3=function(t,n){return n||(n=new e.Vector3),n.x=10*-Math.cos(t.latitude)*Math.sin(t.longitude),n.y=10*Math.sin(t.latitude),n.z=10*Math.cos(t.latitude)*Math.cos(t.longitude),n},i.vector3ToSphericalCoords=function(t){var e=Math.acos(t.y/Math.sqrt(t.x*t.x+t.y*t.y+t.z*t.z)),n=Math.atan2(t.x,t.z);return{longitude:n<0?-n:2*Math.PI-n,latitude:Math.PI/2-e}},i.viewerCoordsToVector3=function(t){var e=this.getIntersections(t).filter((function(t){return t.object.userData.psvSphere}));return e.length?e[0].point:null},i.vector3ToViewerCoords=function(t){var e=t.clone();return e.project(this.psv.renderer.camera),{x:Math.round((e.x+1)/2*this.prop.size.width),y:Math.round((1-e.y)/2*this.prop.size.height)}},i.sphericalCoordsToViewerCoords=function(t){return this.vector3ToViewerCoords(this.sphericalCoordsToVector3(t,Jt))},i.getIntersections=function(t){return Kt.x=2*t.x/this.prop.size.width-1,Kt.y=-2*t.y/this.prop.size.height+1,this.psv.renderer.raycaster.setFromCamera(Kt,this.psv.renderer.camera),this.psv.renderer.raycaster.intersectObjects(this.psv.renderer.scene.children,!0).filter((function(t){return!!t.object.userData}))},i.cleanPosition=function(t){return void 0!==t.x&&void 0!==t.y?this.textureCoordsToSphericalCoords(t):{longitude:rt(t.longitude),latitude:rt(t.latitude,!this.prop.littlePlanet)}},i.cleanSphereCorrection=function(t){return{pan:rt((null==t?void 0:t.pan)||0),tilt:rt((null==t?void 0:t.t
408ilt)||0,!0),roll:rt((null==t?void 0:t.roll)||0,!0,!1)}},i.cleanPanoramaPose=function(t){return{pan:e.MathUtils.degToRad((null==t?void 0:t.poseHeading)||0),tilt:e.MathUtils.degToRad((null==t?void 0:t.posePitch)||0),roll:e.MathUtils.degToRad((null==t?void 0:t.poseRoll)||0)}},n}($t),te=function(t){function n(e){var n;return(n=t.call(this,e)||this).state={moveThreshold:4*y.pixelRatio,keyboardEnabled:!1,step:0,mousedown:!1,startMouseX:0,startMouseY:0,mouseX:0,mouseY:0,mouseHistory:[],pinchDist:0,keyHandler:new Mt,ctrlKeyDown:!1,dblclickData:null,dblclickTimeout:null,longtouchTimeout:null,twofingersTimeout:null,ctrlZoomTimeout:null},n.__onResize=Y((function(){return n.psv.autoSize()}),50),n}s(n,t);var i=n.prototype;return i.init=function(){window.addEventListener("resize",this),window.addEventListener("keydown",this,{passive:!1}),window.addEventListener("keyup",this),this.psv.container.addEventListener("mousedown",this),window.addEventListener("mousemove",this,{passive:!1}),window.addEventListener("mouseup",this),this.psv.container.addEventListener("touchstart",this,{passive:!1}),window.addEventListener("touchmove",this,{passive:!1}),window.addEventListener("touchend",this,{passive:!1}),this.psv.container.addEventListener(y.mouseWheelEvent,this,{passive:!1}),y.fullscreenEvent&&document.addEventListener(y.fullscreenEvent,this)},i.destroy=function(){window.removeEventListener("resize",this),window.removeEventListener("keydown",this),window.removeEventListener("keyup",this),this.psv.container.removeEventListener("mousedown",this),window.removeEventListener("mousemove",this),window.removeEventListener("mouseup",this),this.psv.container.removeEventListener("touchstart",this),window.removeEventListener("touchmove",this),window.removeEventListener("touchend",this),this.psv.container.removeEventListener(y.mouseWheelEvent,this),y.fullscreenEvent&&document.removeEventListener(y.fullscreenEvent,this),clearTimeout(this.state.dblclickTimeout),clearTimeout(this.state.longtouchTimeout),clearTimeout(this.state.twofingersTimeout),clearTimeout(this.state.ctrlZoomTimeout),delete this.state,t.prototype.destroy.call(this)},i.handleEvent=function(t){switch(t.type){case"resize":this.__onResize();break;case"keydown":this.__onKeyDown(t);break;case"keyup":this.__onKeyUp();break;case"mousemove":this.__onMouseMove(t);break;case"mouseup":this.__onMouseUp(t);break;case"touchmove":this.__onTouchMove(t);break;case"touchend":this.__onTouchEnd(t);break;case y.fullscreenEvent:this.__fullscreenToggled()}if(!T(t.target,".psv--capture-event"))switch(t.type){case"mousedown":this.__onMouseDown(t);break;case"touchstart":this.__onTouchStart(t);break;case y.mouseWheelEvent:this.__onMouseWheel(t)}},i.enableKeyboard=function(){this.state.keyboardEnabled=!0},i.disableKeyboard=function(){this.state.keyboardEnabled=!1},i.__onKeyDown=function(t){if(this.config.mousewheelCtrlKey&&(this.state.ctrlKeyDown=t.key===v.Control,this.state.ctrlKeyDown&&(clearTimeout(this.state.ctrlZoomTimeout),this.psv.overlay.hide(m.CTRL_ZOOM))),!this.psv.trigger(h.KEY_PRESS,t.key).isDefaultPrevented()&&this.state.keyboardEnabled){var e=this.config.keyboard[t.key];if(e===d.TOGGLE_AUTOROTATE)this.psv.toggleAutorotate(),t.preventDefault();else if(e&&!this.state.keyHandler.time){switch(e!==d.ZOOM_IN&&e!==d.ZOOM_OUT&&this.psv.__stopAll(),e){case d.ROTATE_LAT_UP:this.psv.dynamics.position.roll({latitude:!1});break;case d.ROTATE_LAT_DOWN:this.psv.dynamics.position.roll({latitude:!0});break;case d.ROTATE_LONG_RIGHT:this.psv.dynamics.position.roll({longitude:!1});break;case d.ROTATE_LONG_LEFT:this.psv.dynamics.position.roll({longitude:!0});break;case d.ZOOM_IN:this.psv.dynamics.zoom.roll(!1);break;case d.ZOOM_OUT:this.psv.dynamics.zoom.roll(!0)}this.state.keyHandler.down(),t.preventDefault()}}},i.__onKeyUp=function(){var t=this;this.state.ctrlKeyDown=!1,this.state.keyboardEnabled&&this.state.keyHandler.up((function(){t.psv.dynamics.position.stop(),t.psv.dynamics.zoom.stop(),t.psv.resetIdleTimer()}))},i.__onMouseDown=function(t){this.state.mousedown=!0,this.state.startMouseX=t.clientX,this.state.startMouseY=t.clientY},i.__onMouseUp=function(t){(this.state.mousedown||1===this.state.step)&&this.__stopMove(t.clientX,t.clientY,t.target,2===t.button)},i.__onMouseMove=function(t){if(this.config.mousemove&&(this.state.mousedown||1===this.state.step)&&(t.preventDefault(),this.__move(t.clientX,t.clientY)),!B(this.prop.objectsObservers)&&S(t.target,this.psv.container)){var e=A(this.psv.container),n={x:t.clientX-e.left,y:t.clientY-e.top},i=this.psv.dataHelper.getIntersections(n),r=function(e,i,r){e.listener.handleEvent(new CustomEvent(r,{detail:{originalEvent:t,object:e.object,data:e.object.userData[i],viewerPoint:n}}))};z(this.prop.objectsObservers,(function(t,e){var n=i.find((function(t){return t.object.userData[e]}));n?(t.object&&n.object!==t.object&&(r(t,e,f.LEAVE_OBJECT),delete t.object),t.object?r(t,e,f.HOVER_OBJECT):(t.object=n.object,r(t,e,f.ENTER_OBJECT))):t.object&&(r(t,e,f.LEAVE_OBJECT),delete t.object)}))}},i.__onTouchStart=function(t){var e=this;1===t.touches.length?(this.state.mousedown=!0,this.state.startMouseX=t.touches[0].clientX,this.state.startMouseY=t.touches[0].clientY,this.prop.longtouchTimeout||(this.prop.longtouchTimeout=setTimeout((function(){var n=t.touches[0];e.__stopMove(n.clientX,n.clientY,n.target,!0),e.prop.longtouchTimeout=null}),500))):2===t.touches.length&&(this.state.mousedown=!1,this.__cancelLongTouch(),this.config.mousemove&&(this.__cancelTwoFingersOverlay(),this.__startMoveZoom(t),t.preventDefault()))},i.__onTouchEnd=function(t){if(this.__cancelLongTouch(),this.state.mousedown||1===this.state.step)if(t.preventDefault(),this.__cancelTwoFingersOverlay(),1===t.touches.length)this.__stopMove(this.state.mouseX,this.state.mouseY);else if(0===t.touches.length){var e=t.changedTouches[0];this.__stopMove(e.clientX,e.clientY,e.target)}},i.__onTouchMove=function(t){var e=this;if(this.__cancelLongTouch(),this.config.mousemove)if(1===t.touches.length){if(this.config.touchmoveTwoFingers)this.state.mousedown&&!this.prop.twofingersTimeout&&(this.prop.twofingersTimeout=setTimeout((function(){e.psv.overlay.show({id:m.TWO_FINGERS,image:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
408<path fill="currentColor" d="M33.38 33.2a1.96 1.96 0 0 0 1.5-3.23 10.61 10.61 0 0 1 7.18-17.51c.7-.06 1.31-.49 1.61-1.12a13.02 13.02 0 0 1 11.74-7.43c7.14 0 12.96 5.8 12.96 12.9 0 3.07-1.1 6.05-3.1 8.38-.7.82-.61 2.05.21 2.76.83.7 2.07.6 2.78-.22a16.77 16.77 0 0 0 4.04-10.91C72.3 7.54 64.72 0 55.4 0a16.98 16.98 0 0 0-14.79 8.7 14.6 14.6 0 0 0-12.23 14.36c0 3.46 1.25 6.82 3.5 9.45.4.45.94.69 1.5.69m45.74 43.55a22.13 22.13 0 0 1-5.23 12.4c-4 4.55-9.53 6.86-16.42 6.86-12.6 0-20.1-10.8-20.17-10.91a1.82 1.82 0 0 0-.08-.1c-5.3-6.83-14.55-23.82-17.27-28.87-.05-.1 0-.21.02-.23a6.3 6.3 0 0 1 8.24 1.85l9.38 12.59a1.97 1.97 0 0 0 3.54-1.17V25.34a4 4 0 0 1 1.19-2.87 3.32 3.32 0 0 1 2.4-.95c1.88.05 3.4 1.82 3.4 3.94v24.32a1.96 1.96 0 0 0 3.93 0v-33.1a3.5 3.5 0 0 1 7 0v35.39a1.96 1.96 0 0 0 3.93 0v-.44c.05-2.05 1.6-3.7 3.49-3.7 1.93 0 3.5 1.7 3.5 3.82v5.63c0 .24.04.48.13.71l.1.26a1.97 1.97 0 0 0 3.76-.37c.33-1.78 1.77-3.07 3.43-3.07 1.9 0 3.45 1.67 3.5 3.74l-1.77 18.1zM77.39 51c-1.25 0-2.45.32-3.5.9v-.15c0-4.27-3.33-7.74-7.42-7.74-1.26 0-2.45.33-3.5.9V16.69a7.42 7.42 0 0 0-14.85 0v1.86a7 7 0 0 0-3.28-.94 7.21 7.21 0 0 0-5.26 2.07 7.92 7.92 0 0 0-2.38 5.67v37.9l-5.83-7.82a10.2 10.2 0 0 0-13.35-2.92 4.1 4.1 0 0 0-1.53 5.48C20 64.52 28.74 80.45 34.07 87.34c.72 1.04 9.02 12.59 23.4 12.59 7.96 0 14.66-2.84 19.38-8.2a26.06 26.06 0 0 0 6.18-14.6l1.78-18.2v-.2c0-4.26-3.32-7.73-7.42-7.73z"/>\x3c!--Created by AomAm from the Noun Project--\x3e</svg>\n',text:e.config.lang.twoFingers})}),100));else if(this.state.mousedown||1===this.state.step){t.preventDefault();var n=t.touches[0];this.__move(n.clientX,n.clientY)}}else t.preventDefault(),this.__moveZoom(t),this.__cancelTwoFingersOverlay()},i.__cancelLongTouch=function(){this.prop.longtouchTimeout&&(clearTimeout(this.prop.longtouchTimeout),this.prop.longtouchTimeout=null)},i.__cancelTwoFingersOverlay=function(){this.config.touchmoveTwoFingers&&(this.prop.twofingersTimeout&&(clearTimeout(this.prop.twofingersTimeout),this.prop.twofingersTimeout=null),this.psv.overlay.hide(m.TWO_FINGERS))},i.__onMouseWheel=function(t){var e=this;if(this.config.mousewheel){if(this.config.mousewheelCtrlKey&&!this.state.ctrlKeyDown)return this.psv.overlay.show({id:m.CTRL_ZOOM,image:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="10 17 79 79"><path fill="currentColor" d="M38.1 29.27c-.24 0-.44.2-.44.45v10.7a.45.45 0 00.9 0v-10.7c0-.25-.2-.45-.45-.45zm10.2 26.66a11.54 11.54 0 01-8.48-6.14.45.45 0 10-.8.41 12.45 12.45 0 009.22 6.62.45.45 0 00.07-.9zm24.55-13.08a23.04 23.04 0 00-22.56-23v7.07l-.01.05a2.83 2.83 0 012.39 2.78v14.03l.09-.02h8.84v-9.22a.45.45 0 11.9 0v9.22h10.35v-.9zm0 27.33V44.66H62.5c-.02 2.01-.52 4-1.47 5.76a.45.45 0 01-.61.18.45.45 0 01-.19-.61 11.54 11.54 0 001.36-5.33h-8.83l-.1-.01a2.83 2.83 0 01-2.83 2.84h-.04-.04a2.83 2.83 0 01-2.83-2.83v-14.9a2.82 2.82 0 012.47-2.8v-7.11a23.04 23.04 0 00-22.57 23v.91h14.72V29.88a8.2 8.2 0 015.02-7.57c.22-.1.5.01.59.24.1.23-.01.5-.24.6a7.3 7.3 0 00-4.47 6.73v13.88h3.9a.45.45 0 110 .9h-3.9v.15a7.32 7.32 0 0011.23 6.17.45.45 0 01.49.76 8.22 8.22 0 01-12.62-6.93v-.15H26.82v25.52a23.04 23.04 0 0023.01 23.01 23.04 23.04 0 0023.02-23.01zm1.8-27.33v27.33A24.85 24.85 0 0149.84 95a24.85 24.85 0 01-24.82-24.82V42.85a24.85 24.85 0 0124.82-24.82 24.85 24.85 0 0124.83 24.82zM57.98 29.88v9.36a.45.45 0 11-.9 0v-9.36a7.28 7.28 0 00-3.4-6.17.45.45 0 01.49-.76 8.18 8.18 0 013.8 6.93z"/>\x3c!-- Created by Icon Island from the Noun Project --\x3e</svg>\n',text:this.config.lang.ctrlZoom}),clearTimeout(this.state.ctrlZoomTimeout),void(this.state.ctrlZoomTimeout=setTimeout((function(){return e.psv.overlay.hide(m.CTRL_ZOOM)}),2e3));t.preventDefault(),t.stopPropagation();var n=5*D(t).spinY*this.config.zoomSpeed;0!==n&&this.psv.dynamics.zoom.step(-n,5)}},i.__fullscreenToggled=function(t){this.prop.fullscreen=void 0!==t?t:L(this.psv.container),this.config.keyboard&&(this.prop.fullscreen?this.psv.startKeyboardControl():this.psv.stopKeyboardControl()),this.psv.trigger(h.FULLSCREEN_UPDATED,this.prop.fullscreen)},i.__resetMove=function(){this.state.step=0,this.state.mousedown=!1,this.state.mouseX=0,this.state.mouseY=0,this.state.startMouseX=0,this.state.startMouseY=0,this.state.mouseHistory.length=0},i.__startMoveZoom=function(t){this.psv.__stopAll(),this.__resetMove();var e={x:t.touches[0].clientX,y:t.touches[0].clientY},n={x:t.touches[1].clientX,y:t.touches[1].clientY};this.state.step=1,this.state.pinchDist=O(e,n),this.state.mouseX=(e.x+n.x)/2,this.state.mouseY=(e.y+n.y)/2,this.__logMouseMove(this.state.mouseX,this.state.mouseY)},i.__stopMove=function(t,e,n,i){void 0===n&&(n=null),void 0===i&&(i=!1),1===this.state.step?this.config.moveInertia?(this.__logMouseMove(t,e),this.__stopMoveInertia(t,e)):(this.__resetMove(),this.psv.resetIdleTimer()):this.state.mousedown&&(this.psv.stopAnimation(),this.__click(t,e,n,i),this.__resetMove(),this.psv.resetIdleTimer())},i.__stopMoveInertia=function(t,n){var i=this,r=new e.SplineCurve(this.state.mouseHistory.map((function(t){var n=t[1],i=t[2];return new e.Vector2(n,i)}))).getTangent(1),a=this.state.mouseHistory.slice(1).reduce((function(t,e){var n=t.total,i=t.prev;return{total:n+O({x:i[1],y:i[2]},{x:e[1],y:e[2]})/(e[0]-i[0]),prev:e}}),{total:0,prev:this.state.mouseHistory[0]}).total/this.state.mouseHistory.length;if(!a)return this.__resetMove(),void this.psv.resetIdleTimer();this.state.step=2;var s=t,o=n;this.prop.animationPromise=new lt({properties:{speed:{start:a,end:0}},duration:1e3,easing:"outQuad",onTick:function(t){s+=t.speed*r.x*3*y.pixelRatio,o+=t.speed*r.y*3*y.pixelRatio,i.__applyMove(s,o)}}),this.prop.animationPromise.then((function(t){i.prop.animationPromise=null,t&&(i.__resetMove(),i.psv.resetIdleTimer())}))},i.__click=function(t,e,n,i){var r=this;void 0===i&&(i=!1);var a=this.psv.container.getBoundingClientRect(),s={rightclick:i,target:n,clientX:t,clientY:e,viewerX:t-a.left,viewerY:e-a.top},o=this.psv.dataHelper.getIntersections({x:s.viewerX,y:s.viewerY}),l=o.find((function(t){return t.object.userData.psvSphere}));if(l){var c=this.psv.dataHelper.vector3ToSphericalCoords(l.point);s.longitude=c.longitude,s.latitude=c.latitude,s.objects=o.map((function(t){return t.object})).filter((function(t){return!t.userData.psvSphere}));try{var u=this.psv.dataHelper.sphericalCoordsToTextureCoords(s);s.textureX=u.x,s.textureY=u.y}catch(t){s.textureX=NaN,s.textureY=NaN}this.state.dblclickTimeout?(Math.abs(this.state.dblclickData.clientX-s.clientX)<this.state.moveThreshold&&Math.abs(this.state.dblclickData.clientY-s.clientY)<this.state.moveThreshold&&this.psv.trigger(h.DOUBLE_CLICK,this.state.dblclickData),clearTimeout(this.state.dblclickTimeout),this.state.dblclickTimeout=null,this.state.dblclickData=null):(this.psv.trigger(h.CLICK,s),this.state.dblclickData=j(s),this.state.dblclickTimeout=setTimeout((function(){r.state.dblclickTimeout=null,r.state.dblclickData=null}),300))}},i.__move=function(t,e){this.state.mousedown&&(Math.abs(t-this.state.startMouseX)>=this.state.moveThreshold||Math.abs(e-this.state.startMouseY)>=this.state.moveThreshold)?(this.psv.__stopAll(),this.__resetMove(),this.state.step=1,this.state.mouseX=t,this.state.mouseY=e,this.__logMouseMove(t,e)):1===this.state.step&&(this.__applyMove(t,e),this.__logMouseMove(t,e))},i.__applyMove=function(t,n){var i=(t-this.state.mouseX)/this.prop.size.width*this.config.moveSpeed*e.MathUtils.degToRad(this.prop.littlePlanet?90:this.prop.hFov),r=(n-this.state.mouseY)/this.prop.size.height*this.config.moveSpeed*e.MathUtils.degToRad(this.prop.littlePlanet?90:this.prop.vFov),a=this.psv.getPosition();this.psv.rotate({longitude:a.longitude-i,latitude:a.latitude+r}),this.state.mouseX=t,this.state.mouseY=n},i.__moveZoom=function(t){if(1===this.state.step){var e={x:t.touches[0].clientX,y:t.touches[0].clientY},n={x:t.touches[1].clientX,y:t.touches[1].clientY},i=O(e,n),r=(i-this.state.pinchDist)/y.pixelRatio*this.config.zoomSpeed;this.psv.zoom(this.psv.getZoomLevel()+r),this.__move((e.x+n.x)/2,(e.y+n.y)/2),this.state.pinchDist=i}},i.__logMouseMove=function(t,e){var n=Date.now(),i=this.state.mouseHistory.length?this.state.mouseHistory[this.state.mouseHistory.length-1]:[0,-1,-1];i[1]===t&&i[2]===e?i[0]=n:n===i[0]?(i[1]=t,i[2]=e):this.state.mouseHistory.push([n,t,e]);for(var r=null,a=0;a<this.state.mouseHistory.length;)this.state.mouseHistory[a][0]<n-300?this.state.mouseHistory.splice(a,1):r&&this.state.mouseHistory[a][0]-r>30?(this.state.mouseHistory.splice(0,a),a=0,r=this.state.mouseHistory[a][0]):(r=this.state.mouseHistory[a][0],a++)},n}($t),ee=function(t){function n(n){var i,r;return(r=t.call(this,n)||this).renderer=new e.WebGLRenderer({alpha:!0,antialias:!0}),r.renderer.setPixelRatio(y.pixelRatio),r.renderer.domElement.className="psv-canvas",r.scene=new e.Scene,r.camera=new e.PerspectiveCamera(50,16/9,.1,20),r.mesh=r.psv.adapter.createMesh(),r.mesh.userData=((i={}).psvSphere=!0,i),r.meshContainer=new e.Group,r.meshContainer.add(r.mesh),r.scene.add(r.meshContainer),r.raycaster=new e.Raycaster,r.timestamp=null,r.ready=!1,r.canvasContainer=document.createElement("div"),r.canvasContainer.className="psv-canvas-container",r.canvasContainer.style.background=r.psv.config.canvasBackgroun
408d,r.canvasContainer.style.cursor=r.psv.config.mousemove?"move":"default",r.canvasContainer.appendChild(r.renderer.domElement),r.psv.container.appendChild(r.canvasContainer),n.on(h.SIZE_UPDATED,l(r)),n.on(h.ZOOM_UPDATED,l(r)),n.on(h.POSITION_UPDATED,l(r)),n.on(h.CONFIG_CHANGED,l(r)),r.hide(),r}s(n,t);var i=n.prototype;return i.destroy=function(){this.renderer.setAnimationLoop(null),this.__cleanTHREEScene(this.scene),this.psv.container.removeChild(this.canvasContainer),delete this.canvasContainer,delete this.renderer,delete this.scene,delete this.camera,delete this.mesh,delete this.meshContainer,delete this.raycaster,t.prototype.destroy.call(this)},i.handleEvent=function(t){switch(t.type){case h.SIZE_UPDATED:this.__onSizeUpdated();break;case h.ZOOM_UPDATED:this.__onZoomUpdated();break;case h.POSITION_UPDATED:this.__onPositionUpdated();break;case h.CONFIG_CHANGED:t.args[0].includes("fisheye")&&this.__onPositionUpdated(),t.args[0].includes("mousemove")&&(this.canvasContainer.style.cursor=this.psv.config.mousemove?"move":"default")}},i.hide=function(){this.canvasContainer.style.opacity=0},i.show=function(){this.canvasContainer.style.opacity=1},i.__onSizeUpdated=function(){this.renderer.setSize(this.prop.size.width,this.prop.size.height),this.camera.aspect=this.prop.aspect,this.camera.updateProjectionMatrix(),this.prop.needsUpdate=!0},i.__onZoomUpdated=function(){this.camera.fov=this.prop.vFov,this.camera.updateProjectionMatrix(),this.prop.needsUpdate=!0},i.__onPositionUpdated=function(){this.camera.position.set(0,0,0),this.camera.lookAt(this.prop.direction),this.config.fisheye&&this.camera.position.copy(this.prop.direction).multiplyScalar(this.config.fisheye/2).negate(),this.prop.needsUpdate=!0},i.__renderLoop=function(t){var e=null!==this.timestamp?t-this.timestamp:0;this.timestamp=t,this.psv.trigger(h.BEFORE_RENDER,t,e),z(this.psv.dynamics,(function(t){return t.update(e)})),this.prop.idleTime>0&&t-this.prop.idleTime>this.config.autorotateDelay&&this.psv.startAutorotate(),this.prop.needsUpdate&&(this.render(),this.prop.needsUpdate=!1)},i.render=function(){this.renderer.render(this.scene,this.camera),this.psv.trigger(h.RENDER)},i.setTexture=function(t){var e=this;this.prop.panoData=t.panoData,this.psv.adapter.setTexture(this.mesh,t),this.ready||(this.renderer.setAnimationLoop((function(t){return e.__renderLoop(t)})),this.ready=!0),this.psv.needsUpdate(),this.psv.trigger(h.PANORAMA_LOADED,t)},i.setOverlay=function(t,e){this.psv.adapter.setOverlay(this.mesh,t,e),this.psv.needsUpdate()},i.setPanoramaPose=function(t,e){void 0===e&&(e=this.mesh);var n=this.psv.dataHelper.cleanPanoramaPose(t);e.rotation.set(-n.tilt,-n.pan,-n.roll,"ZXY")},i.setSphereCorrection=function(t,e){void 0===e&&(e=this.meshContainer);var n=this.psv.dataHelper.cleanSphereCorrection(t);e.rotation.set(n.tilt,n.pan,n.roll,"ZXY")},i.transition=function(t,n){var i=this,r=K(n),a="zoom"in n,s=new e.Group,o=this.psv.adapter.createMesh(.5);if(this.psv.adapter.setTexture(o,t,!0),this.psv.adapter.setTextureOpacity(o,0),this.setPanoramaPose(t.panoData,o),this.setSphereCorrection(n.sphereCorrection,s),r){var l=this.psv.dataHelper.cleanPosition(n),c=this.psv.getPosition(),u=new e.Vector3(0,1,0);s.rotateOnWorldAxis(u,l.longitude-c.longitude);var d=new e.Vector3(0,1,0).cross(this.camera.getWorldDirection(new e.Vector3)).normalize();s.rotateOnWorldAxis(d,l.latitude-c.latitude)}s.add(o),this.scene.add(s);var h=new lt({properties:{opacity:{start:0,end:1},zoom:a?{start:this.psv.getZoomLevel(),end:n.zoom}:void 0},duration:n.transition,easing:"outCubic",onTick:function(t){i.psv.adapter.setTextureOpacity(o,t.opacity),i.psv.adapter.setTextureOpacity(i.mesh,1-t.opacity),a&&i.psv.zoom(t.zoom),i.psv.needsUpdate()}});return h.then((function(e){e?(i.setTexture(t),i.psv.adapter.setTextureOpacity(i.mesh,1),i.setPanoramaPose(t.panoData),i.setSphereCorrection(n.sphereCorrection),r&&i.psv.rotate(n)):i.psv.adapter.disposeTexture(t),i.scene.remove(s),o.geometry.dispose(),o.geometry=null})),h},i.__cleanTHREEScene=function(t){var n=this;t.traverse((function(i){i.geometry&&i.geometry.dispose(),i.material&&(Array.isArray(i.material)?i.material.forEach((function(t){t.map&&t.map.dispose(),t.dis
408pose()})):(i.material.map&&i.material.map.dispose(),i.material.dispose())),!i.dispose||i instanceof e.Scene||i.dispose(),i!==t&&n.__cleanTHREEScene(i)}))},n}($t),ne=function(t){function n(n){var i;return(i=t.call(this,n)||this).loader=new e.FileLoader,i.loader.setResponseType("blob"),i.config.withCredentials&&i.loader.setWithCredentials(!0),i.config.requestHeaders&&"object"==typeof i.config.requestHeaders&&i.loader.setRequestHeader(i.config.requestHeaders),i}s(n,t);var i=n.prototype;return i.destroy=function(){this.abortLoading(),t.prototype.destroy.call(this)},i.loadTexture=function(t,e){return this.psv.adapter.loadTexture(t,e)},i.abortLoading=function(){},i.loadFile=function(t,e){var n=this;return this.config.requestHeaders&&"function"==typeof this.config.requestHeaders&&this.loader.setRequestHeader(this.config.requestHeaders(t)),new Promise((function(i,r){var a=0;e&&e(a),n.loader.load(t,(function(t){a=100,e&&e(a),i(t)}),(function(t){if(t.lengthComputable){var n=t.loaded/t.total*100;n>a&&(a=n,e&&e(a))}}),(function(t){r(t)}))}))},i.loadImage=function(t,e){return this.loadFile(t,e).then((function(t){return new Promise((function(e,n){var i=document.createElementNS("http://www.w3.org/1999/xhtml","img");i.onload=function(){URL.revokeObjectURL(i.src),e(i)},i.onerror=n,i.src=URL.createObjectURL(t)}))}))},i.preloadPanorama=function(t){return this.psv.adapter.supportsPreload(t)?this.psv.adapter.loadTexture(t):Promise.resolve()},n}($t),ie=0,re=1,ae=2,se=3,oe=function(t){function e(e,n){var i;return(i=t.call(this,e,"psv-tooltip")||this).prop=a({},i.prop,n,{state:ie,width:0,height:0,pos:"",config:null,data:null}),i.content=document.createElement("div"),i.content.className="psv-tooltip-content",i.container.appendChild(i.content),i.arrow=document.createElement("div"),i.arrow.className="psv-tooltip-arrow",i.container.appendChild(i.arrow),i.container.addEventListener("transitionend",l(i)),i.container.style.top="-1000px",i.container.style.left="-1000px",i}s(e,t);var n=e.prototype;return n.destroy=function(){delete this.arrow,delete this.content,t.prototype.destroy.call(this)},n.handleEvent=function(t){switch(t.type){case"transitionend":this.__onTransitionEnd(t)}},n.toggle=function(){throw new c("Tooltip cannot be toggled")},n.show=function(t){if(this.prop.state!==ie)throw new c("Initialized tooltip cannot be re-initialized");t.className&&M(this.container,t.className),this.content.innerHTML=t.content;var e=this.container.getBoundingClientRect();this.prop.width=e.right-e.left,this.prop.height=e.bottom-e.top,this.prop.state=se,this.move(t),this.prop.data=t.data,this.prop.state=re,this.psv.trigger(h.SHOW_TOOLTIP,this.prop.data,this),this.__waitImages()},n.move=function(t){if(this.prop.state!==re&&this.prop.state!==se)throw new c("Uninitialized tooltip cannot be moved");this.config=t;var e=this.container,n=this.arrow,i={posClass:t.position?nt(t.position,!1):["top","center"],width:this.prop.width,height:this.prop.height,top:0,left:0,arrowTop:0,arrowLeft:0};this.__computeTooltipPosition(i,t);var r=!1;i.top<this.prop.offset?(i.posClass[0]="bottom",r=!0):i.top+i.height>this.psv.prop.size.height-this.prop.offset&&(i.posClass[0]="top",r=!0),i.left<this.prop.offset?(i.posClass[1]="right",r=!0):i.left+i.width>this.psv.prop.size.width-this.prop.offset&&(i.posClass[1]="left",r=!0),r&&this.__computeTooltipPosition(i,t),e.style.top=i.top+"px",e.style.left=i.left+"px",n.style.top=i.arrowTop+"px",n.style.left=i.arrowLeft+"px";var a=i.posClass.join("-");a!==this.prop.pos&&(e.classList.remove("psv-tooltip--"+this.prop.pos),this.prop.pos=a,e.classList.add("psv-tooltip--"+this.prop.pos))},n.hide=function(){this.container.classList.remove("psv-tooltip--visible"),this.prop.state=ae,this.psv.trigger(h.HIDE_TOOLTIP,this.prop.data)},n.__onTransitionEnd=function(t){if("transform"===t.propertyName)switch(this.prop.state){case re:this.container.classList.add("psv-tooltip--visible"),this.prop.state=se;break;case ae:this.prop.state=ie,this.destroy()}},n.__computeTooltipPosition=function(t,e){var n=!1;switch(e.box||(e.box={width:0,height:0}),t.posClass[0]){case"bottom":t.top=e.top+e.box.height+this.prop.offset+this.prop.arrow,t.arrowTop=2*-this.prop.arrow,n=!0;break;case"center":t.top=e.top+e.box.height/2-t.height/2,t.arrowTop=t.height/2-this.prop.arrow;break;case"top":t.top=e.top-t.height-this.prop.offset-this.prop.arrow,t.arrowTop=t.height,n=!0}switch(t.posClass[1]){case"right":n?(t.left=e.left+e.box.width/2-this.prop.offset-this.prop.arrow,t.arrowLeft=this.prop.offset):(t.left=e.left+e.box.width+this.prop.offset+this.prop.arrow,t.arrowLeft=2*-this.prop.arrow);break;case"center":t.left=e.left+e.box.width/2-t.width/2,t.arrowLeft=t.width/2-this.prop.arrow;break;case"left":n?(t.left=e.left-t.width+e.box.width/2+this.prop.offset+this.prop.arrow,t.arrowLeft=t.width-this.prop.offset-2*this.prop.arrow):(t.left=e.left-t.width-this.prop.offset-this.prop.arrow,t.arrowLeft=t.width)}},n.__waitImages=function(){var t=this,e=this.content.querySelectorAll("img");if(e.length>0){var n=[];e.forEach((function(t){n.push(new Promise((function(e){t.onload=e,t.onerror=e})))})),Promise.all(n).then((function(){if(t.prop.state===re||t.prop.state===se){var e=t.container.getBoundingClientRect();t.prop.width=e.right-e.left,t.prop.height=e.bottom-e.top,t.move(t.config)}}))}},e}(ft),le=function(t){function e(e){var n;n=t.call(this,e)||this;var i=new oe(n.psv);
408return n.size={arrow:parseInt(I(i.arrow,"borderTopWidth"),10),offset:parseInt(I(i.container,"outlineWidth"),10)},i.destroy(),n}s(e,t);var n=e.prototype;return n.destroy=function(){delete this.size,t.prototype.destroy.call(this)},n.create=function(t){var e=new oe(this.psv,this.size);return e.show(t),e},e}($t);e.Cache.enabled=!0;var ce=function(t){function n(n){var i;if(i=t.call(this)||this,y.load(),!y.isWebGLSupported)throw new c("WebGL is not supported.");if(0===y.maxTextureWidth)throw new c("Unable to detect system capabilities");return i.prop={ready:!1,uiRefresh:!1,needsUpdate:!1,fullscreen:!1,direction:new e.Vector3(0,0,10),vFov:null,hFov:null,aspect:null,autorotateEnabled:!1,animationPromise:null,loadingPromise:null,littlePlanet:!1,idleTime:-1,objectsObservers:{},size:{width:0,height:0},panoData:{fullWidth:0,fullHeight:0,croppedWidth:0,croppedHeight:0,croppedX:0,croppedY:0,poseHeading:0,posePitch:0,poseRoll:0}},i.config=function(t){var e=j(Nt);H(e,t);var n={};return z(e,(function(t,i){if(Ft[i])$(Ft[i]);else{if(!Object.prototype.hasOwnProperty.call(Nt,i))throw new c("Unknown option "+i);Ht[i]?n[i]=Ht[i](t,e):n[i]=t}})),n}(n),i.parent="string"==typeof n.container?document.getElementById(n.container):n.container,i.parent.photoSphereViewer=l(i),i.container=document.createElement("div"),i.container.classList.add("psv-container"),i.parent.appendChild(i.container),i.adapter=new i.config.adapter[0](l(i),i.config.adapter[1]),i.children=[],i.plugins={},i.renderer=new ee(l(i)),i.textureLoader=new ne(l(i)),i.eventsHandler=new te(l(i)),i.dataHelper=new Zt(l(i)),i.loader=new Wt(l(i)),i.navbar=new Vt(l(i)),i.panel=new Xt(l(i)),i.tooltip=new le(l(i)),i.notification=new Gt(l(i)),i.overlay=new qt(l(i)),i.dynamics={zoom:new ct((function(t){i.prop.vFov=i.dataHelper.zoomLevelToFov(t),i.prop.hFov=i.dataHelper.vFovToHFov(i.prop.vFov),i.trigger(h.ZOOM_UPDATED,t)}),i.config.defaultZoomLvl,0,100),position:new ut({longitude:new ct(null,i.config.defaultLong,0,2*Math.PI,!0),latitude:i.prop.littlePlanet?new ct(null,i.config.defaultLat,0,2*Math.PI,!0):new ct(null,i.config.defaultLat,-Math.PI/2,Math.PI/2)},(function(t){i.dataHelper.sphericalCoordsToVector3(t,i.prop.direction),i.trigger(h.POSITION_UPDATED,t)}))},i.__updateSpeeds(),i.eventsHandler.init(),i.__resizeRefresh=Y((function(){return i.refreshUi("resize")}),500),i.resize(i.config.size),i.config.plugins.forEach((function(t){var e=t[0],n=t[1];i.plugins[e.id]=new e(l(i),n)})),z(i.plugins,(function(t){return null==t.init?void 0:t.init()})),i.navbar.setButtons(i.config.navbar),i.config.panorama&&i.setPanorama(i.config.panorama),w(i.container,"psv--is-touch",y.isTouchEnabled.initial),y.isTouchEnabled.promise.then((function(t){return w(i.container,"psv--is-touch",t)})),i.once(h.RENDER,(function(){i.config.navbar&&(i.container.classList.add("psv--has-navbar"),i.navbar.show()),U(i.config.autorotateDelay)||(i.prop.idleTime=performance.now()),i.prop.ready=!0,setTimeout((function(){i.refreshUi("init"),i.trigger(h.READY)}),0)})),i}s(n,t);var i=n.prototype;return i.destroy=function(){this.__stopAll(),this.stopKeyboardControl(),this.exitFullscreen(),z(this.plugins,(function(t){return t.destroy()})),delete this.plugins,this.children.slice().forEach((function(t){return t.destroy()})),this.children.length=0,this.eventsHandler.destroy(),this.renderer.destroy(),this.textureLoader.destroy(),this.dataHelper.destroy(),this.adapter.destroy(),this.parent.removeChild(this.container),delete this.parent.photoSphereViewer,delete this.parent,delete this.container,delete this.loader,delete this.navbar,delete this.panel,delete this.tooltip,delete this.notification,delete this.overlay,delete this.dynamics,delete this.config},i.refreshUi=function(t){var e=this;this.prop.ready&&(this.prop.uiRefresh?"new"!==this.prop.uiRefresh&&(this.prop.uiRefresh="new",setTimeout((function(){e.prop.uiRefresh=!1,e.refreshUi(t)}))):(this.prop.uiRefresh=!0,this.children.every((function(t){return t.refreshUi(),!0===e.prop.uiRefresh})),this.prop.uiRefresh=!1))},i.getPlugin=function(t){if("string"==typeof t)return this.plugins[t];
408var e=G(t,Pt);return e?this.plugins[e.id]:void 0},i.getPosition=function(){return this.dataHelper.cleanPosition(this.dynamics.position.current)},i.getZoomLevel=function(){return this.dynamics.zoom.current},i.getSize=function(){return a({},this.prop.size)},i.isAutorotateEnabled=function(){return this.prop.autorotateEnabled},i.isFullscreenEnabled=function(){return y.fullscreenEvent?L(this.container):this.prop.fullscreen},i.needsUpdate=function(){this.prop.needsUpdate=!0},i.autoSize=function(){this.container.clientWidth===this.prop.size.width&&this.container.clientHeight===this.prop.size.height||(this.prop.size.width=Math.round(this.container.clientWidth),this.prop.size.height=Math.round(this.container.clientHeight),this.prop.aspect=this.prop.size.width/this.prop.size.height,this.prop.hFov=this.dataHelper.vFovToHFov(this.prop.vFov),this.trigger(h.SIZE_UPDATED,this.getSize()),this.__resizeRefresh())},i.setPanorama=function(t,e){var n,i=this;void 0===e&&(e={}),this.textureLoader.abortLoading(),null==(n=this.prop.transitionAnimation)||n.cancel(),this.prop.ready||["sphereCorrection","panoData","overlay","overlayOpacity"].forEach((function(t){t in e||(e[t]=i.config[t])})),void 0!==e.transition&&!0!==e.transition||(e.transition=1500),void 0===e.showLoader&&(e.showLoader=!0),void 0===e.caption&&(e.caption=this.config.caption),void 0===e.description&&(e.description=this.config.description),e.panoData||"function"!=typeof this.config.panoData||(e.panoData=this.config.panoData);var r=K(e),a="zoom"in e;(r||a)&&this.__stopAll(),this.hideError(),this.config.panorama=t,this.config.caption=e.caption,this.config.description=e.description;var s=function(t){if(i.loader.hide(),i.prop.loadingPromise=null,X(t))return!1;if(t)throw i.navbar.setCaption(""),i.showError(i.config.lang.loadError),console.error(t),t;return i.resetIdleTimer(),i.setOverlay(e.overlay,e.overlayOpacity),i.navbar.setCaption(i.config.caption),!0};this.navbar.setCaption("<em>"+(this.config.loadingTxt||"")+"</em>"),!e.showLoader&&this.prop.ready||this.loader.show();var o=this.adapter.loadTexture(this.config.panorama,e.panoData).then((function(t){if(t.panorama!==i.config.panorama)throw i.adapter.disposeTexture(t),q();return t}));return e.transition&&this.prop.ready&&this.adapter.supportsTransition(this.config.panorama)?this.prop.loadingPromise=o.then((function(t){return i.loader.hide(),i.prop.transitionAnimation=i.renderer.transition(t,e),i.prop.transitionAnimation})).then((function(t){if(i.prop.transitionAnimation=null,!t)throw q()})).then(s,s):this.prop.loadingPromise=o.then((function(t){i.renderer.show(),i.renderer.setTexture(t),i.renderer.setPanoramaPose(t.panoData),i.renderer.setSphereCorrection(e.sphereCorrection),a&&i.zoom(e.zoom),r&&i.rotate(e)})).then(s,s),this.prop.loadingPromise},i.setOverlay=function(t,e){var n=this;
408return void 0===e&&(e=1),t?this.adapter.constructor.supportsOverlay?this.adapter.loadTexture(t,(function(t){var e=n.prop.panoData,i=t.width/e.croppedWidth;return{fullWidth:i*e.fullWidth,fullHeight:i*e.fullHeight,croppedWidth:i*e.croppedWidth,croppedHeight:i*e.croppedHeight,croppedX:i*e.croppedX,croppedY:i*e.croppedY}}),!1).then((function(t){n.renderer.setOverlay(t,e)})):Promise.reject(new c(this.adapter.constructor.id+" adapter does not supports overlay")):(this.adapter.constructor.supportsOverlay&&this.renderer.setOverlay(null,0),Promise.resolve())},i.setOptions=function(t){var e=this,n=a({},this.config,t);z(t,(function(t,i){if(Ft[i])$(Ft[i]);else{if(!Object.prototype.hasOwnProperty.call(Nt,i))throw new c("Unknown option "+i);if(Yt[i])throw new c(Yt[i]);switch(Ht[i]?e.config[i]=Ht[i](t,n):e.config[i]=t,i){case"overlay":case"overlayOpacity":e.setOverlay(e.config.overlay,e.config.overlayOpacity);break;case"caption":case"description":e.navbar.setCaption(e.config.caption);break;case"size":e.resize(t);break;case"sphereCorrection":e.renderer.setSphereCorrection(t);break;case"navbar":case"lang":e.navbar.setButtons(e.config.navbar);break;case"moveSpeed":case"zoomSpeed":e.__updateSpeeds();break;case"minFov":case"maxFov":e.dynamics.zoom.setValue(e.dataHelper.fovToZoomLevel(e.prop.vFov)),e.trigger(h.ZOOM_UPDATED,e.getZoomLevel());break;case"canvasBackground":e.renderer.canvasContainer.style.background=e.config.canvasBackground;break;case"autorotateIdle":e.resetIdleTimer()}}})),this.needsUpdate(),this.refreshUi("set options"),this.trigger(h.CONFIG_CHANGED,Object.keys(t))},i.setOption=function(t,e){var n;this.setOptions(((n={})[t]=e,n))},i.resetIdleTimer=function(){this.prop.idleTime=this.config.autorotateIdle?performance.now():-1},i.disableIdleTimer=function(){this.prop.idleTime=-1},i.startAutorotate=function(t){void 0===t&&(t=!1),t&&!this.isAutorotateEnabled()||!t&&this.isAutorotateEnabled()||(t||this.__stopAll(),this.dynamics.position.roll({longitude:this.config.autorotateSpeed<0},Math.abs(this.config.autorotateSpeed/this.config.moveSpeed)),this.dynamics.position.goto({latitude:this.config.autorotateLat},Math.abs(this.config.autorotateSpeed/this.config.moveSpeed)),null!==this.config.autorotateZoomLvl&&this.dynamics.zoom.goto(this.config.autorotateZoomLvl),this.prop.autorotateEnabled=!0,t||this.trigger(h.AUTOROTATE,!0))},i.stopAutorotate=function(){this.isAutorotateEnabled()&&(this.dynamics.position.stop(),this.dynamics.zoom.stop(),this.prop.autorotateEnabled=!1,this.trigger(h.AUTOROTATE,!1))},i.toggleAutorotate=function(){this.isAutorotateEnabled()?this.stopAutorotate():this.startAutorotate()},i.showError=function(t){this.overlay.show({id:m.ERROR,image:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="15 15 70 70"><path fill="currentColor" d="M50,16.2c-18.6,0-33.8,15.1-33.8,33.8S31.4,83.7,50,83.7S83.8,68.6,83.8,50S68.6,16.2,50,16.2z M50,80.2c-16.7,0-30.2-13.6-30.2-30.2S33.3,19.7,50,19.7S80.3,33.3,80.3,50S66.7,80.2,50,80.2z"/><rect fill="currentColor" x="48" y="31.7" width="4" height="28"/><rect fill="currentColor" x="48" y="63.2" width="4" height="5"/>\x3c!--Created by Shastry from the Noun Project--\x3e</svg>\n',text:t,dissmisable:!1})},i.hideError=function(){this.overlay.hide(m.ERROR)},i.rotate=function(t){if(!this.trigger(h.BEFORE_ROTATE,t).isDefaultPrevented()){var e=this.change(p.GET_ROTATE_POSITION,this.dataHelper.cleanPosition(t));this.dynamics.position.setValue(e)}},i.animate=function(t){var e=this;this.__stopAll();var n,i=K(t),r="zoom"in t,a={};if(i){var s=this.change(p.GET_ANIMATE_POSITION,this.dataHelper.cleanPosition(t)),o=this.getPosition(),l=R(o.longitude,s.longitude);a.longitude={start:o.longitude,end:o.longitude+l},a.latitude={start:o.latitude,end:s.latitude},n=this.dataHelper.speedToDuration(t.speed,P(o,s))}if(r){var c=Math.abs(t.zoom-this.getZoomLevel());a.zoom={start:this.getZoomLevel(),end:t.zoom},n||(n=this.dataHelper.speedToDuration(t.speed,Math.PI/4*c/100))}return n?(this.prop.animationPromise=new lt({properties:a,duration:n,easing:"inOutSine",onTick:function(t){i&&e.rotate(t),r&&e.zoom(t.zoom)}}),this.prop.animationPromise.then((function(){e.prop.animationPromise=null,e.resetIdleTimer()})),this.prop.animationPromise):(i&&this.rotate(t),r&&this.zoom(t.zoom),new lt)},i.stopAnimation=function(){return this.prop.animationPromise?(this.prop.animationPromise.cancel(),this.prop.animationPromise):Promise.resolve()},i.zoom=function(t){this.dynamics.zoom.setValue(t)},i.zoomIn=function(t){void 0===t&&(t=1),this.dynamics.zoom.step(t)},i.zoomOut=function(t){void 0===t&&(t=1),this.dynamics.zoom.step(-t)},i.resize=function(t){var e=this;["width","height"].forEach((function(n){t&&t[n]&&(/^[0-9.]+$/.test(t[n])&&(t[n]+="px"),e.parent.style[n]=t[n])})),this.autoSize()},i.enterFullscreen=function(){y.fullscreenEvent?E(this.container):(this.container.classList.add("psv-container--fullscreen"),this.autoSize(),this.eventsHandler.__fullscreenToggled(!0))},i.exitFullscreen=function(){this.isFullscreenEnabled()&&(y.fullscreenEvent?C():(this.container.classList.remove("psv-container--fullscreen"),this.autoSize(),this.eventsHandler.__fullscreenToggled(!1)))},i.toggleFullscreen=function(){this.isFullscreenEnabled()?this.exitFullscreen():this.enterFullscreen()}
408,i.startKeyboardControl=function(){this.eventsHandler.enableKeyboard()},i.stopKeyboardControl=function(){this.eventsHandler.disableKeyboard()},i.observeObjects=function(t,e){var n=this;return this.prop.objectsObservers[t]={listener:e},function(){delete n.prop.objectsObservers[t]}},i.__stopAll=function(){return this.trigger(h.STOP_ALL),this.disableIdleTimer(),this.stopAutorotate(),this.stopAnimation()},i.__updateSpeeds=function(){this.dynamics.zoom.setSpeed(50*this.config.zoomSpeed),this.dynamics.position.setSpeed(e.MathUtils.degToRad(50*this.config.moveSpeed))},n}(n.EventEmitter);t.AbstractAdapter=u,t.AbstractButton=mt,t.AbstractComponent=ft,t.AbstractPlugin=Pt,t.Animation=lt,t.CONSTANTS=_,t.DEFAULTS=Nt,t.EquirectangularAdapter=pt,t.PSVError=c,t.SYSTEM=y,t.Viewer=ce,t.registerButton=Ut,t.utils=ht,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(1245),n(1246))},function(t,e,n){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var n,i=t.HTMLElement||t.Element,r={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:i.prototype.scroll||o,scrollIntoView:i.prototype.scrollIntoView},a=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,s=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?f.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):r.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?r.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):f.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},i.prototype.scroll=i.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var t=arguments[0].left,e=arguments[0].top;f.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},i.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},i.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=h(this),i=n.getBoundingClientRect(),a=this.getBoundingClientRect();n!==e.body?(f.call(this,n,n.scrollLeft+a.left-i.left,n.scrollTop+a.top-i.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:i.left,top:i.top,behavior:"smooth"})):t.scrollBy({left:a.left,top:a.top,behavior:"smooth"})}else r.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function o(t,e){this.scrollLeft=t,this.scrollTop=e}function l(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(t,e){return"Y"===e?t.clientHeight+s<t.scrollHeight:"X"===e?t.clientWidth+s<t.scrollWidth:void 0}function u(e,n){var i=t.getComputedStyle(e,null)["overflow"+n];return"auto"===i||"scroll"===i}function d(t){var e=c(t,"Y")&&u(t,"Y"),n=c(t,"X")&&u(t,"X");return e||n}function h(t){for(;t!==e.body&&!1===d(t);)t=t.parentNode||t.host;return t}function p(e){var n,i,r,s,o=(a()-e.startTime)/468;s=o=o>1?1:o,n=.5*(1-Math.cos(Math.PI*s)),i=e.startX+(e.x-e.startX)*n,r=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,i,r),i===e.x&&r===e.y||t.requestAnimationFrame(p.bind(t,e))}function f(n,i,s){var l,c,u,d,h=a();n===e.body?(l=t,c=t.scrollX||t.pageXOffset,u=t.scrollY||t.pageYOffset,d=r.scroll):(l=n,c=n.scrollLeft,u=n.scrollTop,d=o),p({scrollable:l,method:d,startTime:h,startX:c,startY:u,x:i,y:s})}}}}()},function(t,e,n){t.exports=n(1248)},function(t,e,n){t.exports=n(1280)},function(t,e,n){var i=n(481),r=n(286),a=n(1284),s=n(93);t.exports=function(t,e){return(s(t)?i:a)(t,r(e,3))}},function(t,e,n){var i=n(1286),r=n(1287),a=n(286),s=n(93),o=n(454);t.exports=function(t,e,n){var l=s(t)?i:r;return n&&o(t,e,n)&&(e=void 0),l(t,a(e,3))}},function(t,e,n){t.exports=n(1288)},function(t,e,n){t.exports=n(1292)},,,,,,function(t,e,n){t.exports=n(1128)},function(t,e,n){var i=n(1129);n(1153),n(1154),n(1155),n(1156),t.exports=i},function(t,e,n){var i=n(951);t.exports=i},function(t,e,n){n(952),n(284),n(434),n(1137),n(960),n(961),n(1152),n(328);var i=n(38);t.exports=i.Promise},function(t,e,n){"use strict";var i=n(18),r=n(53),a=n(326),s=n(352),o=n(1132),l=n(229),c=n(119),u=n(115),d=n(1133),h=n(1134),p=n(430),f=n(1135),m=n(29),g=n(1136),v=m("toStringTag"),_=Error,y=[].push,b=function(t,e){var n,i=arguments.length>2?arguments[2]:void 0,o=r(x,this);s?n=s(new _,o?a(this):x):(n=o?this:l(x),c(n,v,"Error")),void 0!==e&&c(n,"message",f(e)),g&&c(n,"stack",d(n.stack,
vendor: 23,142 bytes, lines 408-409
4081)),h(n,i);var u=[];return p(t,y,{that:u}),c(n,"errors",u),n};s?s(b,_):o(b,_,{name:!0});var x=b.prototype=l(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"AggregateError")});i({global:!0,constructor:!0,arity:2},{AggregateError:b})},function(t,e,n){var i=n(54),r=n(468),a=n(136),s=n(94);t.exports=function(t,e,n){for(var o=r(e),l=s.f,c=a.f,u=0;u<o.length;u++){var d=o[u];i(t,d)||n&&i(n,d)||l(t,d,c(e,d))}}},function(t,e,n){var i=n(22),r=Error,a=i("".replace),s=String(r("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,l=o.test(s);t.exports=function(t,e){if(l&&"string"==typeof t&&!r.prepareStackTrace)for(;e--;)t=a(t,o,"");return t}},function(t,e,n){var i=n(55),r=n(119);t.exports=function(t,e){i(e)&&"cause"in e&&r(t,"cause",e.cause)}},function(t,e,n){var i=n(125);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},function(t,e,n){var i=n(25),r=n(115);t.exports=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},function(t,e,n){n(1138),n(1147),n(1148),n(1149),n(1150),n(1151)},function(t,e,n){"use strict";var i,r,a,s=n(18),o=n(98),l=n(763),c=n(35),u=n(51),d=n(163),h=n(352),p=n(181),f=n(1139),m=n(118),g=n(30),v=n(55),_=n(953),y=n(954),b=n(955).set,x=n(1141),w=n(1144),M=n(353),S=n(1145),T=n(256),A=n(354),L=n(435),E=n(285),C=L.CONSTRUCTOR,I=L.REJECTION_EVENT,D=L.SUBCLASSING,k=T.getterFor("Promise"),O=T.set,R=A&&A.prototype,P=A,N=R,Y=c.TypeError,F=c.document,H=c.process,j=E.f,B=j,z=!!(F&&F.createEvent&&c.dispatchEvent),U=function(t){var e;return!(!v(t)||!g(e=t.then))&&e},V=function(t,e){var n,i,r,a=e.value,s=1==e.state,o=s?t.ok:t.fail,l=t.resolve,c=t.reject,d=t.domain;try{o?(s||(2===e.rejection&&$(e),e.rejection=1),!0===o?n=a:(d&&d.enter(),n=o(a),d&&(d.exit(),r=!0)),n===t.promise?c(Y("Promise-chain cycle")):(i=U(n))?u(i,n,l,c):l(n)):c(a)}catch(t){d&&!r&&d.exit(),c(t)}},W=function(t,e){t.notified||(t.notified=!0,x((function(){for(var n,i=t.reactions;n=i.get();)V(n,t);t.notified=!1,e&&!t.rejection&&q(t)})))},G=function(t,e,n){var i,r;z?((i=F.createEvent("Event")).promise=e,i.reason=n,i.initEvent(t,!1,!0),c.dispatchEvent(i)):i={promise:e,reason:n},!I&&(r=c["on"+t])?r(i):"unhandledrejection"===t&&w("Unhandled promise rejection",n)},q=function(t){u(b,c,(function(){var e,n=t.facade,i=t.value;if(X(t)&&(e=M((function(){l?H.emit("unhandledRejection",i,n):G("unhandledrejection",n,i)})),t.rejection=l||X(t)?2:1,e.error))throw e.value}))},X=function(t){return 1!==t.rejection&&!t.parent},$=function(t){u(b,c,(function(){var e=t.facade;l?H.emit("rejectionHandled",e):G("rejectionhandled",e,t.value)}))},K=function(t,e,n){return function(i){t(e,i,n)}},J=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Y("Promise can't be resolved itself");var i=U(e);i?x((function(){var n={done:!1};try{u(i,e,K(Q,n,t),K(J,n,t))}catch(e){J(n,e,t)}})):(t.value=e,t.state=1,W(t,!1))}catch(e){J({done:!1},e,t)}}};if(C&&(N=(P=function(t){_(this,N),m(t),u(i,this);var e=k(this);try{t(K(Q,e),K(J,e))}catch(t){J(e,t)}}).prototype,(i=function(t){O(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=d(N,"then",(function(t,e){var n=k(this),i=j(y(this,P));return n.parent=!0,i.ok=!g(t)||t,i.fail=g(e)&&e,i.domain=l?H.domain:void 0,0==n.state?n.reactions.add(i):x((function(){V(i,n)})),i.promise})),r=function(){var t=new i,e=k(t);this.promise=t,this.resolve=K(Q,e),this.reject=K(J,e)},E.f=j=function(t){return t===P||void 0===t?new r(t):B(t)},!o&&g(A)&&R!==Object.prototype)){a=R.then,D||d(R,"then",(function(t,e){var n=this;return new P((function(t,e){u(a,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete R.constructor}catch(t){}h&&h(R,N)}s({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:P}),p(P,"Promise",!1,!0),f("Promise")},function(t,e,n){"use strict";var i=n(66),r=n(94),a=n(29),s=n(46),o=a("species");t.exports=function(t){var e=i(t),n=r.f;s&&e&&!e[o]&&n(e,o,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(212),r=n(168),a=TypeError;t.exports=function(t){if(i(t))return t;throw a(r(t)+" is not a constructor")}},function(t,e,n){var i,r,a,s,o,l,c,u,d=n(35),h=n(138),p=n(136).f,f=n(955).set,m=n(957),g=n(1142),v=n(1143),_=n(763),y=d.MutationObserver||d.WebKitMutationObserver,b=d.document,x=d.process,w=d.Promise,M=p(d,"queueMicrotask"),S=M&&M.value;S||(i=function(){var t,e;for(_&&(t=x.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e()}catch(t){throw r?s():a=void 0,t}}a=void 0,t&&t.enter()},m||_||v||!y||!b?!g&&w&&w.resolve?((c=w.resolve(void 0)).constructor=w,u=h(c.then,c),s=function(){u(i)}):_?s=function(){x.nextTick(i)}:(f=h(f,d),s=function(){f(i)}):(o=!0,l=b.createTextNode(""),new y(i).observe(l,{characterData:!0}),s=function(){l.data=o=!o})),t.exports=S||function(t){var e={fn:t,next:void 0};a&&(a.next=e),r||(r=e,s()),a=e}},function(t,e,n){var i=n(191),r=n(35);t.exports=/ipad|iphone|ipod/i.test(i)&&void 0!==r.Pebble},function(t,e,n){var i=n(191);t.exports=/web0s(?!.*chrome)/i.test(i)},function(t,e,n){var i=n(35);t.exports=function(t,e){var n=i.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},function(t,e){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=n},function(t,e){t.exports="object"==typeof window&&"object"!=typeof Deno},function(t,e,n){"use strict";var i=n(18),r=n(51),a=n(118),s=n(285),o=n(353),l=n(430);i({target:"Promise",stat:!0,forced:n(958)},{all:function(t){var e=this,n=s.f(e),i=n.resolve,c=n.reject,u=o((function(){var n=a(e.resolve),s=[],o=0,u=1;l(t,(function(t){var a=o++,l=!1;u++,r(n,e,t).then((function(t){l||(l=!0,s[a]=t,--u||i(s))}),c)})),--u||i(s)}));return u.error&&c(u.value),n.promise}})},function(t,e,n){"use strict";var i=n(18),r=n(98),a=n(435).CONSTRUCTOR,s=n(354),o=n(66),l=n(30),c=n(163),u=s&&s.prototype;if(i({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(t){return this.then(void 0,t)}}),!r&&l(s)){var d=o("Promise").prototype.catch;u.catch!==d&&c(u,"catch",d,{unsafe:!0})}},function(t,e,n){"use strict";var i=n(18),r=n(51),a=n(118),s=n(285),o=n(353),l=n(430);i({target:"Promise",stat:!0,forced:n(958)},{race:function(t){var e=this,n=s.f(e),i=n.reject,c=o((function(){var s=a(e.resolve);l(t,(function(t){r(s,e,t).then(n.resolve,i)}))}));return c.error&&i(c.value),n.promise}})},function(t,e,n){"use strict";var i=n(18),r=n(51),a=n(285);i({target:"Promise",stat:!0,forced:n(435).CONSTRUCTOR},{reject:function(t){var e=a.f(this);return r(e.reject,void 0,t),e.promise}})},function(t,e,n){"use strict";var i=n(18),r=n(66),a=n(98),s=n(354),o=n(435).CONSTRUCTOR,l=n(959),c=r("Promise"),u=a&&!o;i({target:"Promise",stat:!0,forced:a||o},{resolve:function(t){return l(u&&this===c?s:this,t)}})},function(t,e,n){"use strict";var i=n(18),r=n(98),a=n(354),s=n(25),o=n(66),l=n(30),c=n(954),u=n(959),d=n(163),h=a&&a.prototype;if(i({target:"Promise",proto:!0,real:!0,forced:!!a&&s((function(){h.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=c(this,o("Promise")),n=l(t);return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),!r&&l(a)){var p=o("Promise").prototype.finally;h.finally!==p&&d(h,"finally",p,{unsafe:!0})}},function(t,e,n){n(952)},function(t,e,n){n(960)},function(t,e,n){"use strict";var i=n(18),r=n(285),a=n(353);i({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=r.f(this),n=a(t);return(n.error?e.reject:e.resolve)(n.value),e.promise}})},function(t,e,n){n(961)},function(t,e,n){var i=n(1158).default,r=n(164),a=n(266),s=n(1164),o=n(1171),l=n(1178),c=n(1187),u=n(489),d=n(1194),h=n(364);function p(){"use strict";
409/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=p=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},n=Object.prototype,f=n.hasOwnProperty,m="function"==typeof r?r:{},g=m.iterator||"@@iterator",v=m.asyncIterator||"@@asyncIterator",_=m.toStringTag||"@@toStringTag";function y(t,e,n){return a(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{y({},"")}catch(t){y=function(t,e,n){return t[e]=n}}function b(t,e,n,i){var r=e&&e.prototype instanceof M?e:M,a=s(r.prototype),o=new R(i||[]);return a._invoke=function(t,e,n){var i="suspendedStart";return function(r,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw a;return N()}for(n.method=r,n.arg=a;;){var s=n.delegate;if(s){var o=D(s,n);if(o){if(o===w)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=x(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===w)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}(t,n,o),a}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=b;var w={};function M(){}function S(){}function T(){}var A={};y(A,g,(function(){return this}));var L=o&&o(o(P([])));L&&L!==n&&f.call(L,g)&&(A=L);var E=T.prototype=M.prototype=s(A);function C(t){var e;l(e=["next","throw","return"]).call(e,(function(e){y(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){var n;this._invoke=function(r,a){function s(){return new e((function(n,s){!function n(r,a,s,o){var l=x(t[r],t,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==i(u)&&f.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,o)}),(function(t){n("throw",t,s,o)})):e.resolve(u).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,o)}))}o(l.arg)}(r,a,n,s)}))}return n=n?n.then(s,s):s()}}function D(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,D(t,e),"throw"===e.method))return w;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var i=x(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,w;var r=i.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,w):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,w)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],l(t).call(t,k,this),this.reset(!0)}function P(t){if(t){var e=t[g];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(f.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:N}}function N(){return{value:void 0,done:!0}}return S.prototype=T,y(E,"constructor",T),y(T,"constructor",S),S.displayName=y(T,_,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return c?c(t,T):(t.__proto__=T,y(t,_,"GeneratorFunction")),t.prototype=s(E),t},e.awrap=function(t){return{__await:t}},C(I.prototype),y(I.prototype,v,(function(){return this})),e.AsyncIterator=I,e.async=function(t,n,i,r,a){void 0===a&&(a=u);var s=new I(b(t,n,i,r),a);return e.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},C(E),y(E,_,"Generator"),y(E,g,(function(){return this})),y(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=[];for(var n in t)e.push(n);return d(e).call(e),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=P,R.prototype={constructor:R,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,l(e=this.tryEntries).call(e,O),!t)for(var n in this)"t"===n.charAt(0)&&f.call(this,n)&&!isNaN(+h(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,i){return a.type="throw",a.arg=t,e.next=n,i&&(e.method="next",e.arg=void 0),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i],a=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var s=f.call(r,"catchLoc"),o=f.call(r,"finallyLoc");if(s&&o){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!o)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&f.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=t,a.arg=e,r?(this.method="next",this.next=r.finallyLoc,w):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),w},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;O(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:P(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),w}},e}t.exports=p,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(164),r=n(946);function a(e){return t.exports=a="function"==typeof i&&"symbol"==typeof r?function(t){return typeof t}:function(t){return t&&"function"==typeof i&&t.constructor===i&&t!==i.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,a(e)}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){t.exports=n(1160)},function(t,e,n){var i=n(1161);t.exports=i},function(t,e,n){var i=n(1162);t.exports=i},function(t,e,n){var i=n(1163);n(257),t.exports=i},function(t,e,n){n(284),n(434),n(328),n(476);var i=n(355);t.exports=i.f("iterator")},function(t,e,n){t.exports=n(1165)},function(t,e,n){t.exports=n(1166)},function(t,e,n){var i=n(1167);t.exports=i},function(t,e,n){var i=n(1168);t.exports=i},function(t,e,n){var i=n(1169);t.exports=i},function(t,e,n){n(1170);var i=n(38).Object;t.exports=function(t,e){return i.create(t,e)}},function(t,e,n){n(18)({target:"Object",stat:!0,sham:!n(46)},{create:n(229)})},function(t,e,n){t.exports=n(1172)},function(t,e,n){t.exports=n(1173)},function(t,e,n){var i=n(1174);t.exports=i},function(t,e,n){var i=n(1175);t.exports=i},function(t,e,n){var i=n(1176);t.exports=i},function(t,e,n){n(1177);var i=n(38);t.exports=i.Object.getPrototypeOf},function(t,e,n){var i=n(18),r=n(25),a=n(80),s=n(326),o=n(467);i({target:"Object",stat:!0,forced:r((function(){s(1)})),sham:!o},{getPrototypeOf:function(t){return s(a(t))}})},function(t,e,n){t.exports=n(1179)},function(t,e,n){t.exports=n(1180)},function(t,e,n){var i=n(1181);t.exports=i},function(t,e,n){var i=n(1182);t.exports=i},function(t,e,n){n(257);var i=n(150),r=n(54),a=n(53),s=n(1183),o=Array.prototype,l={DOMTokenList:!0,NodeList:!0};t.exports=function(t){var e=t.forEach;return t===o||a(o,t)&&e===o.forEach||r(l,i(t))?s:e}},function(t,e,n){var i=n(1184);t.exports=i},function(t,e,n){n(1185);var i=n(74);t.exports=i("Array").forEach},function(t,e,n){"use strict";var i=n(18),r=n(1186);i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(t,e,n){"use strict";var i=n(179).forEach,r=n(962)("forEach");t.exports=r?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){t.exports=n(1188)},function(t,e,n){t.exports=n(1189)},function(t,e,n){var i=n(1190);t.exports=i},function(t,e,n){var i=n(1191);t.exports=i},function(t,e,n){var i=n(1192);t.exports=i},function(t,e,n){n(1193);var i=n(38);t.exports=i.Object.setPrototypeOf},function(t,e,n){n(18)({target:"Object",stat:!0},{setPrototypeOf:n(352)})},function(t,e,n){t.exports=n(1195)},function(t,e,n){t.exports=n(1196)},function(t,e,n){var i=n(1197);t.exports=i},function(t,e,n){var i=n(1198);t.exports=i},function(t,e,n){var i=n(1199);t.exports=i},function(t,e,n){var i=n(53),r=n(1200),a=Array.prototype;t.exports=function(t){var e=t.reverse;return t===a||i(a,t)&&e===a.reverse?r:e}},function(t,e,n){n(1201);var i=n(74);t.exports=i("Array").reverse},function(t,e,n){"use strict";var i=n(18),r=n(22),a=n(120),s=r([].reverse),o=[1,2];i({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),s(this)}})},function(t,e,n){var i=n(1203);t.exports=i},function(t,e,n){var i=n(53),r=n(1204),a=Array.prototype;t.exports=function(t){var e=t.findIndex;return t===a||i(a,t)&&e===a.findIndex?r:e}},function(t,e,n){n(1205);var i=n(74);t.exports=i("Array").findIndex},function(t,e,n){"use strict";var i=n(18),r=n(179).findIndex,a=n(255),s=!0;"findIndex"in[]&&Array(1).findIndex((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("findIndex")},function(t,e,n){var i=n(1207);n(257),t.exports=i},function(t,e,n){n(1208);var i=n(38);t.exports=i.URLSearchParams},function(t,e,n){n(1209)},function(t,e,n){"use strict";n(284);var i=n(18),r=n(35),a=n(51),s=n(22),o=n(46),l=n(1210),c=n(163),u=n(1211),d=n(181),h=n(473),p=n(256),f=n(953),m=n(30),g=n(54),v=n(138),_=n(150),y=n(81),b=n(55),x=n(125),w=n(229),M=n(115),S=n(431),T=n(254),A=n(956),L=n(29),E=n(963),C=L("iterator"),I=p.set,D=p.getterFor("URLSearchParams"),k=p.getterFor("URLSearchParamsIterator"),O=Object.getOwnPropertyDescriptor,R=function(t){if(!o)return r[t];var e=O(r,t);return e&&e.value},P=R("fetch"),N=R("Request"),Y=R("Headers"),F=N&&N.prototype,H=Y&&Y.prototype,j=r.RegExp,B=r.TypeError,z=r.decodeURIComponent,U=r.encodeURIComponent,V=s("".charAt),W=s([].join),G=s([].push),q=s("".replace),X=s([].shift),$=s([].splice),K=s("".split),J=s("".slice),Q=/\+/g,Z=Array(4),tt=function(t){return Z[t-1]||(Z[t-1]=j("((?:%[\\da-f]{2}){"+t+"})","gi"))},et=function(t){try{return z(t)}catch(e){return t}},nt=function(t){var e=q(t,Q," "),n=4;try{return z(e)}catch(t){for(;n;)e=q(e,tt(n--),et);return e}},it=/[!'()~]|%20/g,rt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},at=function(t){return rt[t]},st=function(t){return q(U(t),it,at)},ot=h((function(t,e){I(this,{type:"URLSearchParamsIterator",iterator:S(D(t).entries),kind:e})}),"Iterator",(function(){var t=k(this),e=t.kind,n=t.iterator.next(),i=n.value;return n.done||(n.value="keys"===e?i.key:"values"===e?i.value:[i.key,i.value]),n}),!0),lt=function(t){this.entries=[],this.url=null,void 0!==t&&(b(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===V(t,0)?J(t,1):t:x(t)))};lt.prototype={type:"URLSearchParams",bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,i,r,s,o,l,c=T(t);if(c)for(n=(e=S(t,c)).next;!(i=a(n,e)).done;){if(s=(r=S(y(i.value))).next,(o=a(s,r)).done||(l=a(s,r)).done||!a(s,r).done)throw B("Expected sequence with length 2");G(this.entries,{key:x(o.value),value:x(l.value)})}else for(var u in t)g(t,u)&&G(this.entries,{key:u,value:x(t[u])})},parseQuery:function(t){if(t)for(var e,n,i=K(t,"&"),r=0;r<i.length;)(e=i[r++]).length&&(n=K(e,"="),G(this.entries,{key:nt(X(n)),value:nt(W(n,"="))}))},serialize:function(){for(var t,e=this.entries,n=[],i=0;i<e.length;)t=e[i++],G(n,st(t.key)+"="+st(t.value));return W(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ct=function(){f(this,ut);var t=arguments.length>0?arguments[0]:void 0;I(this,new lt(t))},ut=ct.prototype;if(u(ut,{append:function(t,e){A(arguments.length,2);var n=D(this);G(n.entries,{key:x(t),value:x(e)}),n.updateURL()},delete:function(t){A(arguments.length,1);for(var e=D(this),n=e.entries,i=x(t),r=0;r<n.length;)n[r].key===i?$(n,r,1):r++;e.updateURL()},get:function(t){A(arguments.length,1);for(var e=D(this).entries,n=x(t),i=0;i<e.length;i++)if(e[i].key===n)return e[i].value;return null},getAll:function(t){A(arguments.length,1);for(var e=D(this).entries,n=x(t),i=[],r=0;r<e.length;r++)e[r].key===n&&G(i,e[r].value);return i},has:function(t){A(arguments.length,1);for(var e=D(this).entries,n=x(t),i=0;i<e.length;)if(e[i++].key===n)return!0;return!1},set:function(t,e){A(arguments.length,1);for(var n,i=D(this),r=i.entries,a=!1,s=x(t),o=x(e),l=0;l<r.length;l++)(n=r[l]).key===s&&(a?$(r,l--,1):(a=!0,n.value=o));a||G(r,{key:s,value:o}),i.updateURL()},sort:function(){var t=D(this);E(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,n=D(this).entries,i=v(t,arguments.length>1?arguments[1]:void 0),r=0;r<n.length;)i((e=n[r++]).value,e.key,this)},keys:function(){return new ot(this,"keys")},values:function(){return new ot(this,"values")},entries:function(){return new ot(this,"entries")}},{enumerable:!0}),c(ut,C,ut.entries,{name:"entries"}),c(ut,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),d(ct,"URLSearchParams"),i({global:!0,constructor:!0,forced:!l},{URLSearchParams:ct}),!l&&m(Y)){var dt=s(H.has),ht=s(H.set),pt=function(t){if(b(t)){var e,n=t.body;if("URLSearchParams"===_(n))return e=t.headers?new Y(t.headers):new Y,dt(e,"content-type")||ht(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),w(t,{body:M(0,x(n)),headers:M(0,e)})}return t};if(m(P)&&i({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return P(t,arguments.length>1?pt(arguments[1]):{})}}),m(N)){var ft=function(t){return f(this,F),new N(t,arguments.length>1?pt(arguments[1]):{})};F.constructor=ft,ft.prototype=F,i({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ft})}}t.exports={URLSearchParams:ct,getState:D}},function(t,e,n){var i=n(25),r=n(29),a=n(98),s=r("iterator");t.exports=!i((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,i){e.delete("b"),n+=i+t})),a&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("
409c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(t,e,n){var i=n(163);t.exports=function(t,e,n){for(var r in e)n&&n.unsafe&&t[r]?t[r]=e[r]:i(t,r,e[r],n);return t}},function(t,e,n){var i=n(1213);t.exports=i},function(t,e,n){n(1214);var i=n(38);t.exports=i.Object.assign},function(t,e,n){var i=n(18),r=n(1215);i({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},function(t,e,n){"use strict";var i=n(46),r=n(22),a=n(51),s=n(25),o=n(183),l=n(283),c=n(221),u=n(80),d=n(231),h=Object.assign,p=Object.defineProperty,f=r([].concat);t.exports=!h||s((function(){if(i&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=h({},t)[n]||"abcdefghijklmnopqrst"!=o(h({},e)).join("")}))?function(t,e){for(var n=u(t),r=arguments.length,s=1,h=l.f,p=c.f;r>s;)for(var m,g=d(arguments[s++]),v=h?f(o(g),h(g)):o(g),_=v.length,y=0;_>y;)m=v[y++],i&&!a(p,g,m)||(n[m]=g[m]);return n}:h},function(t,e,n){var i=n(362),r=n(1217);t.exports=function(t){"script"===t.tagName.toLowerCase()&&r(t),i(t.querySelectorAll("script"),(function(t){t.type&&"text/javascript"!==t.type.toLowerCase()||(t.parentNode&&t.parentNode.removeChild(t),r(t))}))}},function(t,e){t.exports=function(t){var e=t.text||t.textContent||t.innerHTML||"",n=t.src||"",i=t.parentNode||document.querySelector("head")||document.documentElement,r=document.createElement("script");if(e.match("document.write"))return console&&console.log&&console.log("Script contains document.write. Can’t be executed correctly. Code skipped ",t),!1;if(r.type="text/javascript",r.id=t.id,""!==n&&(r.src=n,r.async=!1),""!==e)try{r.appendChild(document.createTextNode(e))}catch(t){r.text=e}return i.appendChild(r),(i instanceof HTMLHeadElement||i instanceof HTMLBodyElement)&&i.contains(r)&&i.removeChild(r),!0}},function(t,e,n){var i=n(937);function r(){window._gaq&&_gaq.push(["_trackPageview"]),window.ga&&ga("send","pageview",{page:location.pathname,title:document.title})}t.exports=function(t){return(t=t||{}).elements=t.elements||"a[href], form[action]",t.selectors=t.selectors||["title",".js-Pjax"],t.switches=t.switches||{},t.switchesOptions=t.switchesOptions||{},t.history=void 0===t.history||t.history,t.analytics="function"==typeof t.analytics||!1===t.analytics?t.analytics:r,t.scrollTo=void 0===t.scrollTo?0:t.scrollTo,t.scrollRestoration=void 0===t.scrollRestoration||t.scrollRestoration,t.cacheBust=void 0===t.cacheBust||t.cacheBust,t.debug=t.debug||!1,t.timeout=t.timeout||0,t.currentUrlFullReload=void 0!==t.currentUrlFullReload&&t.currentUrlFullReload,t.switches.head||(t.switches.head=i.switchElementsAlt),t.switches.body||(t.switches.body=i.switchElementsAlt),t}},function(t,e){t.exports=function(t,e,n){for(var i=0;i<e.length;i++)for(var r=t.querySelectorAll(e[i]),a=0;a<r.length;a++)if(r[a].contains(n))return!0;return!1}},function(t,e){t.exports=function(t){if(null==t)return null;for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e}},function(t,e){t.exports=function(){this.options.debug&&console&&("function"==typeof console.log?console.log.apply(console,arguments):console.log&&console.log(arguments))}},function(t,e){t.exports=function(t){switch(t.tagName.toLowerCase()){case"a":t.hasAttribute("data-pjax-state")||this.attachLink(t);break;case"form":t.hasAttribute("data-pjax-state")||this.attachForm(t);break;default:throw"Pjax can only be applied on <a> or <form> submit"}}},function(t,e,n){var i=n(485),r=n(486),a="data-pjax-state",s=function(t,e){if(!o(e)){var n=r(this.options),i=function(t,e){if(e.which>1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return"modifier";if(t.protocol!==window.location.protocol||t.host!==window.location.host)return"external";if(t.hash&&t.href.replace(t.hash,"")===window.location.href.replace(location.hash,""))return"anchor";if(t.href===window.location.href.split("#")[0]+"#")return"anchor-empty"}(t,e);
409if(i)t.setAttribute(a,i);else{if(e.preventDefault(),this.options.currentUrlFullReload&&t.href===window.location.href.split("#")[0])return t.setAttribute(a,"reload"),void this.reload();t.setAttribute(a,"load"),n.triggerElement=t,this.loadUrl(t.href,n)}}};var o=function(t){return t.defaultPrevented||!1===t.returnValue};t.exports=function(t){var e=this;t.setAttribute(a,""),i(t,"click",(function(n){s.call(e,t,n)})),i(t,"keyup",function(n){13===n.keyCode&&s.call(e,t,n)}.bind(this))}},function(t,e,n){var i=n(485),r=n(486),a=function(t,e){if(!s(e)){var n=r(this.options);n.requestOptions={requestUrl:t.getAttribute("action")||window.location.href,requestMethod:t.getAttribute("method")||"GET"};var i=document.createElement("a");i.setAttribute("href",n.requestOptions.requestUrl);var a=function(t,e){if(t.protocol!==window.location.protocol||t.host!==window.location.host)return"external";if(t.hash&&t.href.replace(t.hash,"")===window.location.href.replace(location.hash,""))return"anchor";if(t.href===window.location.href.split("#")[0]+"#")return"anchor-empty";if(e.currentUrlFullReload&&t.href===window.location.href.split("#")[0])return"reload"}(i,n);a?t.setAttribute("data-pjax-state",a):(e.preventDefault(),"multipart/form-data"===t.enctype?n.requestOptions.formData=new FormData(t):n.requestOptions.requestParams=function(t){for(var e=[],n=t.elements,i=0;i<n.length;i++){var r=n[i],a=r.tagName.toLowerCase();if(r.name&&void 0!==r.attributes&&"button"!==a){var s=r.attributes.type;if(!s||"checkbox"!==s.value&&"radio"!==s.value||r.checked){var o=[];if("select"===a)for(var l,c=0;c<r.options.length;c++)(l=r.options[c]).selected&&!l.disabled&&o.push(l.hasAttribute("value")?l.value:l.text);else o.push(r.value);for(var u=0;u<o.length;u++)e.push({name:encodeURIComponent(r.name),value:encodeURIComponent(o[u])})}}}return e}(t),t.setAttribute("data-pjax-state","submit"),n.triggerElement=t,this.loadUrl(i.href,n))}};var s=function(t){return t.defaultPrevented||!1===t.returnValue};t.exports=function(t){var e=this;t.setAttribute("data-pjax-state",""),i(t,"submit",(function(n){a.call(e,t,n)}))}},function(t,e,n){var i=n(362);t.exports=function(t,e,n,r){r=r||document,t.forEach((function(t){i(r.querySelectorAll(t),e,n)}))}},function(t,e,n){var i=n(362),r=n(937);t.exports=function(t,e,n,a,s,o){var l=[];n.forEach((function(n){var c=a.querySelectorAll(n),u=s.querySelectorAll(n);if(this.log&&this.log("Pjax switch",n,c,u),c.length!==u.length)throw"DOM doesn’t look the same on new loaded page: ’"+n+"’ - new "+c.length+", old "+u.length;i(c,(function(i,a){var s=u[a];this.log&&this.log("newEl",i,"oldEl",s);var c=t[n]?t[n].bind(this,s,i,o,e[n]):r.outerHTML.bind(this,s,i,o);l.push(c)}),this)}),this),this.state.numPendingSwitches=l.length,l.forEach((function(t){t()}))}},function(t,e,n){var i=n(966);t.exports=function(t){t&&t.readyState<4&&(t.onreadystatechange=i,t.abort())}},function(t,e,n){var i=n(1229);t.exports=function(t,e,n){var r,a=(e=e||{}).requestOptions||{},s=(a.requestMethod||"GET").toUpperCase(),o=a.requestParams||null,l=a.formData||null,c=null,u=new XMLHttpRequest,d=e.timeout||0;if(u.onreadystatechange=function(){4===u.readyState&&(200===u.status?n(u.responseText,u,t,e):0!==u.status&&n(null,u,t,e))},u.onerror=function(i){console.log(i),n(null,u,t,e)},u.ontimeout=function(){n(null,u,t,e)},o&&o.length)switch(r=o.map((function(t){return t.name+"="+t.value})).join("&"),s){case"GET":t=t.split("?")[0],t+="?"+r;break;case"POST":c=r}else l&&(c=l);return e.cacheBust&&(t=i(t,"t",Date.now())),u.open(s,t,!0),u.timeout=d,u.setRequestHeader("X-Requested-With","XMLHttpRequest"),u.setRequestHeader("X-PJAX","true"),u.setRequestHeader("X-PJAX-Selectors",JSON.stringify(e.selectors)),c&&"POST"===s&&!l&&u.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),u.send(c),u}},function(t,e){t.exports=function(t,e,n){var i=new RegExp("([?&])"+e+"=.*?(&|$)","i"),r=-1!==t.indexOf("?")?"&":"?";return t.match(i)?t.replace(i,"$1"+e+"="+n+"$2"):t+r+e+"="+n}},function(t,e,n){var i=n(486),r=n(964),a=n(965);t.exports=function(t,e,n,s){if((s=i(s||this.options)).request=e,!1!==t){var o=window.history.state||{};window.history.replaceState({url:o.url||window.location.href,title:o.title||document.title,uid:o.uid||r(),scrollPos:[document.documentElement.scrollLeft||document.body.scrollLeft,document.documentElement.scrollTop||document.body.scrollTop]},document.title,window.location.href);var l=n;e.responseURL?n!==e.responseURL&&(n=e.responseURL):e.getResponseHeader("X-PJAX-URL")?n=e.getResponseHeader("X-PJAX-URL"):e.getResponseHeader("X-XHR-Redirected-To")&&(n=e.getResponseHeader("X-XHR-Redirected-To"));var c=document.createElement("a");c.href=l;var u=c.hash;c.href=n,u&&!c.hash&&(c.hash=u,n=c.href),this.state.href=n,this.state.options=s;try{this.loadContent(t,s)}catch(t){if(a(document,"pjax:error",s),this.options.debug)throw t;return console&&console.error&&console.error("Pjax switch fail: ",t),this.latestChance(n)}}else a(document,"pjax:complete pjax:error",s)}},function(t,e){t.exports=function(){return window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bO
vendor: 3,033 bytes, line 409
409S\s+[1-4]\D|WebApps\/.+CFNetwork)/)}},function(t,e,n){var i=n(1233);t.exports=i},function(t,e,n){var i=n(53),r=n(1234),a=Array.prototype;t.exports=function(t){var e=t.sort;return t===a||i(a,t)&&e===a.sort?r:e}},function(t,e,n){n(1235);var i=n(74);t.exports=i("Array").sort},function(t,e,n){"use strict";var i=n(18),r=n(22),a=n(118),s=n(80),o=n(87),l=n(466),c=n(125),u=n(25),d=n(963),h=n(962),p=n(1236),f=n(1237),m=n(182),g=n(1238),v=[],_=r(v.sort),y=r(v.push),b=u((function(){v.sort(void 0)})),x=u((function(){v.sort(null)})),w=h("sort"),M=!u((function(){if(m)return m<70;if(!(p&&p>3)){if(f)return!0;if(g)return g<603;var t,e,n,i,r="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)v.push({k:e+i,v:n})}for(v.sort((function(t,e){return e.v-t.v})),i=0;i<v.length;i++)e=v[i].k.charAt(0),r.charAt(r.length-1)!==e&&(r+=e);return"DGBEFHACIJK"!==r}}));i({target:"Array",proto:!0,forced:b||!x||!w||!M},{sort:function(t){void 0!==t&&a(t);var e=s(this);if(M)return void 0===t?_(e):_(e,t);var n,i,r=[],u=o(e);for(i=0;i<u;i++)i in e&&y(r,e[i]);for(d(r,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:c(e)>c(n)?1:-1}}(t)),n=r.length,i=0;i<n;)e[i]=r[i++];for(;i<u;)l(e,i++);return e}})},function(t,e,n){var i=n(191).match(/firefox\/(\d+)/i);t.exports=!!i&&+i[1]},function(t,e,n){var i=n(191);t.exports=/MSIE|Trident/.test(i)},function(t,e,n){var i=n(191).match(/AppleWebKit\/(\d+)\./);t.exports=!!i&&+i[1]},function(t,e,n){var i=n(1240);t.exports=i},function(t,e,n){var i=n(53),r=n(1241),a=String.prototype;t.exports=function(t){var e=t.trim;return"string"==typeof t||t===a||i(a,t)&&e===a.trim?r:e}},function(t,e,n){n(1242);var i=n(74);t.exports=i("String").trim},function(t,e,n){"use strict";var i=n(18),r=n(1243).trim;i({target:"String",proto:!0,forced:n(1244)("trim")},{trim:function(){return r(this)}})},function(t,e,n){var i=n(22),r=n(137),a=n(125),s=n(967),o=i("".replace),l="["+s+"]",c=RegExp("^"+l+l+"*"),u=RegExp(l+l+"*$"),d=function(t){return function(e){var n=a(r(e));return 1&t&&(n=o(n,c,"")),2&t&&(n=o(n,u,"")),n}};t.exports={start:d(1),end:d(2),trim:d(3)}},function(t,e,n){var i=n(472).PROPER,r=n(25),a=n(967);t.exports=function(t){return r((function(){return!!a[t]()||"​…᠎"!=="​…᠎"[t]()||i&&a[t].name!==t}))}},function(t,e,n){"use strict";n.r(e),n.d(e,"ACESFilmicToneMapping",(function(){return tt})),n.d(e,"AddEquation",(function(){return M})),n.d(e,"AddOperation",(function(){return $})),n.d(e,"AdditiveAnimationBlendMode",(function(){return Ae})),n.d(e,"AdditiveBlending",(function(){return y})),n.d(e,"AlphaFormat",(function(){return kt})),n.d(e,"AlwaysDepth",(function(){return j})),n.d(e,"AlwaysStencilFunc",(function(){return tn})),n.d(e,"AmbientLight",(function(){return Ud})),n.d(e,"AmbientLightProbe",(function(){return sh})),n.d(e,"AnimationClip",(function(){return pd})),n.d(e,"AnimationLoader",(function(){return wd})),n.d(e,"AnimationMixer",(function(){return Rh}
409)),n.d(e,"AnimationObjectGroup",(function(){return Dh})),n.d(e,"AnimationUtils",(function(){return td})),n.d(e,"ArcCurve",(function(){return vc})),n.d(e,"ArrayCamera",(function(){return $o})),n.d(e,"ArrowHelper",(function(){return Sp})),n.d(e,"Audio",(function(){return _h})),n.d(e,"AudioAnalyser",(function(){return Sh})),n.d(e,"AudioContext",(function(){return ih})),n.d(e,"AudioListener",(function(){return vh})),n.d(e,"AudioLoader",(function(){return rh})),n.d(e,"AxesHelper",(function(){return Tp})),n.d(e,"BackSide",(function(){return m})),n.d(e,"BasicDepthPacking",(function(){return ke})),n.d(e,"BasicShadowMap",(function(){return u})),n.d(e,"Bone",(function(){return Nl})),n.d(e,"BooleanKeyframeTrack",(function(){return sd})),n.d(e,"Box2",(function(){return Gh})),n.d(e,"Box3",(function(){return ci})),n.d(e,"Box3Helper",(function(){return yp})),n.d(e,"BoxBufferGeometry",(function(){return Rp})),n.d(e,"BoxGeometry",(function(){return ca})),n.d(e,"BoxHelper",(function(){return _p})),n.d(e,"BufferAttribute",(function(){return Tr})),n.d(e,"BufferGeometry",(function(){return Ur})),n.d(e,"BufferGeometryLoader",(function(){return Kd})),n.d(e,"ByteType",(function(){return wt})),n.d(e,"Cache",(function(){return md})),n.d(e,"Camera",(function(){return fa})),n.d(e,"CameraHelper",(function(){return mp})),n.d(e,"CanvasTexture",(function(){return fc})),n.d(e,"CapsuleBufferGeometry",(function(){return Pp})),n.d(e,"CapsuleGeometry",(function(){return Fc})),n.d(e,"CatmullRomCurve3",(function(){return Mc})),n.d(e,"CineonToneMapping",(function(){return Z})),n.d(e,"CircleBufferGeometry",(function(){return Np})),n.d(e,"CircleGeometry",(function(){return Hc})),n.d(e,"ClampToEdgeWrapping",(function(){return ct})),n.d(e,"Clock",(function(){return dh})),n.d(e,"Color",(function(){return Wn})),n.d(e,"ColorKeyframeTrack",(function(){return od})),n.d(e,"ColorManagement",(function(){return Fn})),n.d(e,"CompressedTexture",(function(){return pc})),n.d(e,"CompressedTextureLoader",(function(){return Md})),n.d(e,"ConeBufferGeometry",(function(){return Yp})),n.d(e,"ConeGeometry",(function(){return Bc})),n.d(e,"CubeCamera",(function(){return ga})),n.d(e,"CubeReflectionMapping",(function(){return it})),n.d(e,"CubeRefractionMapping",(function(){return rt})),n.d(e,"CubeTexture",(function(){return va})),n.d(e,"CubeTextureLoader",(function(){return Td})),n.d(e,"CubeUVReflectionMapping",(function(){return ot})),n.d(e,"CubicBezierCurve",(function(){return Lc})),n.d(e,"CubicBezierCurve3",(function(){return Ec})),n.d(e,"CubicInterpolant",(function(){return nd})),n.d(e,"CullFaceBack",(function(){return o})),n.d(e,"CullFaceFront",(function(){return l})),n.d(e,"CullFaceFrontBack",(function(){return c})),n.d(e,"CullFaceNone",(function(){return s})),n.d(e,"Curve",(function(){return mc})),n.d(e,"CurvePath",(function(){return Pc})),n.d(e,"CustomBlending",(function(){return w})),n.d(e,"CustomToneMapping",(function(){return et})),n.d(e,"CylinderBufferGeometry",(function(){return Fp})),n.d(e,"CylinderGeometry",(function(){return jc})),n.d(e,"Cylindrical",(function(){return Vh})),n.d(e,"Data3DTexture",(function(){return ni})),n.d(e,"DataArrayTexture",(function(){return ti})),n.d(e,"DataTexture",(function(){return Yl})),n.d(e,"DataTexture2DArray",(function(){return kp})),n.d(e,"DataTexture3D",(function(){return Op})),n.d(e,"DataTextureLoader",(function(){return Ad})),n.d(e,"DataUtils",(function(){return Cp})),n.d(e,"DecrementStencilOp",(function(){return Ue})),n.d(e,"DecrementWrapStencilOp",(function(){return We})),n.d(e,"DefaultLoadingManager",(function(){return vd})),n.d(e,"DepthFormat",(function(){return Yt})),n.d(e,"DepthStencilFormat",(function(){return Ft})),n.d(e,"DepthTexture",(function(){return Zo})),n.d(e,"DirectionalLight",(function(){return zd})),n.d(e,"DirectionalLightHelper",(function(){return hp})),n.d(e,"DiscreteInterpolant",(function(){return rd})),n.d(e,"DodecahedronBufferGeometry",(function(){return Hp})),n.d(e,"DodecahedronGeometry",(function(){return Uc})),n.d(e,"DoubleSide",(function(){return g})),n.d(e,"DstAlphaFactor",(function(){return R})),n.d(e,"DstColorFactor",(function(){return N})),n.d(e,"DynamicCopyUsage",(function(){return cn})),n.d(e,"DynamicDrawUsage",(function(){return nn})),n.d(e,"DynamicReadUsage",(function(){return sn})),n.d(e,"EdgesGeometry",(function(){return Xc})),n.d(e,"EllipseCurve",(function(){return gc})),n.d(e,"EqualDepth",(function(){return U})),n.d(e,"EqualStencilFunc",(function(){return $e})),n.d(e,"EquirectangularReflectionMapping",(function(){return at})),n.d(e,"EquirectangularRefractionMapping",(function(){return st})),n.d(e,"Euler",(function(){return qi})),n.d(e,"EventDispatcher",(function(){return fn}
409)),n.d(e,"ExtrudeBufferGeometry",(function(){return jp})),n.d(e,"ExtrudeGeometry",(function(){return Su})),n.d(e,"FileLoader",(function(){return xd})),n.d(e,"Float16BufferAttribute",(function(){return Or})),n.d(e,"Float32BufferAttribute",(function(){return Rr})),n.d(e,"Float64BufferAttribute",(function(){return Pr})),n.d(e,"FloatType",(function(){return Lt})),n.d(e,"Fog",(function(){return sl})),n.d(e,"FogExp2",(function(){return al})),n.d(e,"FramebufferTexture",(function(){return hc})),n.d(e,"FrontSide",(function(){return f})),n.d(e,"Frustum",(function(){return Ta})),n.d(e,"GLBufferAttribute",(function(){return Hh})),n.d(e,"GLSL1",(function(){return dn})),n.d(e,"GLSL3",(function(){return hn})),n.d(e,"GreaterDepth",(function(){return W})),n.d(e,"GreaterEqualDepth",(function(){return V})),n.d(e,"GreaterEqualStencilFunc",(function(){return Ze})),n.d(e,"GreaterStencilFunc",(function(){return Je})),n.d(e,"GridHelper",(function(){return op})),n.d(e,"Group",(function(){return Ko})),n.d(e,"HalfFloatType",(function(){return Et})),n.d(e,"HemisphereLight",(function(){return Cd})),n.d(e,"HemisphereLightHelper",(function(){return sp})),n.d(e,"HemisphereLightProbe",(function(){return ah})),n.d(e,"IcosahedronBufferGeometry",(function(){return Bp})),n.d(e,"IcosahedronGeometry",(function(){return Au})),n.d(e,"ImageBitmapLoader",(function(){return eh})),n.d(e,"ImageLoader",(function(){return Sd})),n.d(e,"ImageUtils",(function(){return qn})),n.d(e,"ImmediateRenderObject",(function(){return Ip})),n.d(e,"IncrementStencilOp",(function(){return ze})),n.d(e,"IncrementWrapStencilOp",(function(){return Ve})),n.d(e,"InstancedBufferAttribute",(function(){return Bl})),n.d(e,"InstancedBufferGeometry",(function(){return $d})),n.d(e,"InstancedInterleavedBuffer",(function(){return Fh})),n.d(e,"InstancedMesh",(function(){return Gl})),n.d(e,"Int16BufferAttribute",(function(){return Cr})),n.d(e,"Int32BufferAttribute",(function(){return Dr})),n.d(e,"Int8BufferAttribute",(function(){return Ar})),n.d(e,"IntType",(function(){return Tt})),n.d(e,"InterleavedBuffer",(function(){return ll})),n.d(e,"InterleavedBufferAttribute",(function(){return ul})),n.d(e,"Interpolant",(function(){return ed})),n.d(e,"InterpolateDiscrete",(function(){return ye})),n.d(e,"InterpolateLinear",(function(){return be})),n.d(e,"InterpolateSmooth",(function(){return xe})),n.d(e,"InvertStencilOp",(function(){return Ge})),n.d(e,"KeepStencilOp",(function(){return je})),n.d(e,"KeyframeTrack",(function(){return ad})),n.d(e,"LOD",(function(){return Cl})),n.d(e,"LatheBufferGeometry",(function(){return zp})),n.d(e,"LatheGeometry",(function(){return Yc})),n.d(e,"Layers",(function(){return Xi})),n.d(e,"LessDepth",(function(){return B})),n.d(e,"LessEqualDepth",(function(){return z})),n.d(e,"LessEqualStencilFunc",(function(){return Ke})),n.d(e,"LessStencilFunc",(function(){return Xe})),n.d(e,"Light",(function(){return Ed})),n.d(e,"LightProbe",(function(){return Gd})),n.d(e,"Line",(function(){return Zl})),n.d(e,"Line3",(function(){return $h})),n.d(e,"LineBasicMaterial",(function(){return ql})),n.d(e,"LineCurve",(function(){return Cc})),n.d(e,"LineCurve3",(function(){return Ic})),n.d(e,"LineDashedMaterial",(function(){return qu})),n.d(e,"LineLoop",(function(){return ic})),n.d(e,"LineSegments",(function(){return nc})),n.d(e,"LinearEncoding",(function(){return Ie})),n.d(e,"LinearFilter",(function(){return gt})),n.d(e,"LinearInterpolant",(function(){return id})),n.d(e,"LinearMipMapLinearFilter",(function(){return bt})),n.d(e,"LinearMipMapNearestFilter",(function(){return _t})),n.d(e,"LinearMipmapLinearFilter",(function(){return yt})),n.d(e,"LinearMipmapNearestFilter",(function(){return vt})),n.d(e,"LinearSRGBColorSpace",(function(){return Fe})),n.d(e,"LinearToneMapping",(function(){return J})),n.d(e,"Loader",(function(){return _d})),n.d(e,"LoaderUtils",(function(){return Xd})),n.d(e,"LoadingManager",(function(){return gd})),n.d(e,"LoopOnce",(function(){return ge})),n.d(e,"LoopPingPong",(function(){return _e})),n.d(e,"LoopRepeat",(function(){return ve})),n.d(e,"LuminanceAlphaFormat",(function(){return Nt})),n.d(e,"LuminanceFormat",(function(){return Pt})),n.d(e,"MOUSE",(function(){return r})),n.d(e,"Material",(function(){return xr})),n.d(e,"MaterialLoader",(function(){return qd})),n.d(e,"MathUtils",(function(){return En})),n.d(e,"Matrix3",(function(){return In})),n.d(e,"Matrix4",(function(){return Yi})),n.d(e,"MaxEquation",(function(){return L})),n.d(e,"Mesh",(function(){return oa})),n.d(e,"MeshBasicMaterial",(function(){return wr})),n.d(e,"MeshDepthMaterial",(function(){return Uo}
409)),n.d(e,"MeshDistanceMaterial",(function(){return Vo})),n.d(e,"MeshLambertMaterial",(function(){return Wu})),n.d(e,"MeshMatcapMaterial",(function(){return Gu})),n.d(e,"MeshNormalMaterial",(function(){return Vu})),n.d(e,"MeshPhongMaterial",(function(){return zu})),n.d(e,"MeshPhysicalMaterial",(function(){return Bu})),n.d(e,"MeshStandardMaterial",(function(){return ju})),n.d(e,"MeshToonMaterial",(function(){return Uu})),n.d(e,"MinEquation",(function(){return A})),n.d(e,"MirroredRepeatWrapping",(function(){return ut})),n.d(e,"MixOperation",(function(){return X})),n.d(e,"MultiplyBlending",(function(){return x})),n.d(e,"MultiplyOperation",(function(){return q})),n.d(e,"NearestFilter",(function(){return dt})),n.d(e,"NearestMipMapLinearFilter",(function(){return mt})),n.d(e,"NearestMipMapNearestFilter",(function(){return pt})),n.d(e,"NearestMipmapLinearFilter",(function(){return ft})),n.d(e,"NearestMipmapNearestFilter",(function(){return ht})),n.d(e,"NeverDepth",(function(){return H})),n.d(e,"NeverStencilFunc",(function(){return qe})),n.d(e,"NoBlending",(function(){return v})),n.d(e,"NoColorSpace",(function(){return Ne})),n.d(e,"NoToneMapping",(function(){return K})),n.d(e,"NormalAnimationBlendMode",(function(){return Te})),n.d(e,"NormalBlending",(function(){return _})),n.d(e,"NotEqualDepth",(function(){return G})),n.d(e,"NotEqualStencilFunc",(function(){return Qe})),n.d(e,"NumberKeyframeTrack",(function(){return ld})),n.d(e,"Object3D",(function(){return lr})),n.d(e,"ObjectLoader",(function(){return Jd})),n.d(e,"ObjectSpaceNormalMap",(function(){return Pe})),n.d(e,"OctahedronBufferGeometry",(function(){return Up})),n.d(e,"OctahedronGeometry",(function(){return Lu})),n.d(e,"OneFactor",(function(){return C})),n.d(e,"OneMinusDstAlphaFactor",(function(){return P})),n.d(e,"OneMinusDstColorFactor",(function(){return Y})),n.d(e,"OneMinusSrcAlphaFactor",(function(){return O})),n.d(e,"OneMinusSrcColorFactor",(function(){return D})),n.d(e,"OrthographicCamera",(function(){return Fa})),n.d(e,"PCFShadowMap",(function(){return d})),n.d(e,"PCFSoftShadowMap",(function(){return h})),n.d(e,"PMREMGenerator",(function(){return Ga})),n.d(e,"Path",(function(){return Nc})),n.d(e,"PerspectiveCamera",(function(){return ma})),n.d(e,"Plane",(function(){return wa})),n.d(e,"PlaneBufferGeometry",(function(){return Vp})),n.d(e,"PlaneGeometry",(function(){return Ea})),n.d(e,"PlaneHelper",(function(){return bp})),n.d(e,"PointLight",(function(){return jd})),n.d(e,"PointLightHelper",(function(){return np})),n.d(e,"Points",(function(){return cc})),n.d(e,"PointsMaterial",(function(){return rc})),n.d(e,"PolarGridHelper",(function(){return lp})),n.d(e,"PolyhedronBufferGeometry",(function(){return Wp})),n.d(e,"PolyhedronGeometry",(function(){return zc})),n.d(e,"PositionalAudio",(function(){return Mh})),n.d(e,"PropertyBinding",(function(){return Ih})),n.d(e,"PropertyMixer",(function(){return Th})),n.d(e,"QuadraticBezierCurve",(function(){return Dc})),n.d(e,"QuadraticBezierCurve3",(function(){return kc})),n.d(e,"Quaternion",(function(){return ai})),n.d(e,"QuaternionKeyframeTrack",(function(){return ud})),n.d(e,"QuaternionLinearInterpolant",(function(){return cd})),n.d(e,"REVISION",(function(){return i})),n.d(e,"RGBADepthPacking",(function(){return Oe})),n.d(e,"RGBAFormat",(function(){return Rt})),n.d(e,"RGBAIntegerFormat",(function(){return Ut})),n.d(e,"RGBA_ASTC_10x10_Format",(function(){return he})),n.d(e,"RGBA_ASTC_10x5_Format",(function(){return ce})),n.d(e,"RGBA_ASTC_10x6_Format",(function(){return ue})),n.d(e,"RGBA_ASTC_10x8_Format",(function(){return de})),n.d(e,"RGBA_ASTC_12x10_Format",(function(){return pe})),n.d(e,"RGBA_ASTC_12x12_Format",(function(){return fe})),n.d(e,"RGBA_ASTC_4x4_Format",(function(){return ee})),n.d(e,"RGBA_ASTC_5x4_Format",(function(){return ne})),n.d(e,"RGBA_ASTC_5x5_Format",(function(){return ie})),n.d(e,"RGBA_ASTC_6x5_Format",(function(){return re})),n.d(e,"RGBA_ASTC_6x6_Format",(function(){return ae})),n.d(e,"RGBA_ASTC_8x5_Format",(function(){return se})),n.d(e,"RGBA_ASTC_8x6_Format",(function(){return oe})),n.d(e,"RGBA_ASTC_8x8_Format",(function(){return le})),n.d(e,"RGBA_BPTC_Format",(function(){return me})),n.d(e,"RGBA_ETC2_EAC_Format",(function(){return te})),n.d(e,"RGBA_PVRTC_2BPPV1_Format",(function(){return Jt})),n.d(e,"RGBA_PVRTC_4BPPV1_Format",(function(){return Kt})),n.d(e,"RGBA_S3TC_DXT1_Format",(function(){return Wt})),n.d(e,"RGBA_S3TC_DXT3_Format",(function(){return Gt})),n.d(e,"RGBA_S3TC_DXT5_Format",(function(){return qt})),n.d(e,"RGBFormat",(function(){return Ot})),n.d(e,"RGB_ETC1_Format",(function(){return Qt})),n.d(e,"RGB_ETC2_Format",(function(){return Zt})),n.d(e,"RGB_PVRTC_2BPPV1_Format",(function(){return $t})),n.d(e,"RGB_PVRTC_4BPPV1_Format",(function(){return Xt})),n.d(e,"RGB_S3TC_DXT1_Format",(function(){return Vt})),n.d(e,"RGFormat",(function(){return Bt})),n.d(e,"RGIntegerFormat",(function(){return zt})),n.d(e,"RawShaderMaterial",(function(){return Hu})),n.d(e,"Ray",(function(){return Ni})),n.d(e,"Raycaster",(function(){return jh})),n.d(e,"RectAreaLight",(function(){return Vd})),n.d(e,"RedFormat",(function(){return Ht})),n.d(e,"RedIntegerFormat",(function(){return jt})),n.d(e,"ReinhardToneMapping",(function(){return Q})),n.d(e,"RepeatWrapping",(function(){return lt})),n.d(e,"ReplaceStencilOp",(function(){return Be})),n.d(e,"ReverseSubtractEquation",(function(){return T})),n.d(e,"RingBufferGeometry",(function(){return Gp})),n.d(e,"RingGeometry",(function(){return Eu})),n.d(e,"SRGBColorSpace",(function(){return Ye})),n.d(e,"Scene",(function(){return ol})),n.d(e,"ShaderChunk",(function(){return Ca})),n.d(e,"ShaderLib",(function(){return Da})),n.d(e,"ShaderMaterial",(function(){return pa})),n.d(e,"ShadowMaterial",(function(){return Fu})),n.d(e,"Shape",(function(){return $c})),n.d(e,"ShapeBufferGeometry",(function(){return qp})),n.d(e,"ShapeGeometry",(function(){return Cu})),n.d(e,"ShapePath",(function(){return Ap})),n.d(e,"ShapeUtils",(function(){return xu})),n.d(e,"ShortType",(function(){return Mt})),n.d(e,"Skeleton",(function(){return jl})),n.d(e,"SkeletonHelper",(function(){return ep}
vendor: 6,357 bytes, lines 409-415
409)),n.d(e,"SkinnedMesh",(function(){return Pl})),n.d(e,"Source",(function(){return Xn})),n.d(e,"Sphere",(function(){return Ei})),n.d(e,"SphereBufferGeometry",(function(){return Xp})),n.d(e,"SphereGeometry",(function(){return Iu})),n.d(e,"Spherical",(function(){return Uh})),n.d(e,"SphericalHarmonics3",(function(){return Wd})),n.d(e,"SplineCurve",(function(){return Oc})),n.d(e,"SpotLight",(function(){return Pd})),n.d(e,"SpotLightHelper",(function(){return Jh})),n.d(e,"Sprite",(function(){return Tl})),n.d(e,"SpriteMaterial",(function(){return dl})),n.d(e,"SrcAlphaFactor",(function(){return k})),n.d(e,"SrcAlphaSaturateFactor",(function(){return F})),n.d(e,"SrcColorFactor",(function(){return I})),n.d(e,"StaticCopyUsage",(function(){return ln})),n.d(e,"StaticDrawUsage",(function(){return en})),n.d(e,"StaticReadUsage",(function(){return an})),n.d(e,"StereoCamera",(function(){return uh})),n.d(e,"StreamCopyUsage",(function(){return un})),n.d(e,"StreamDrawUsage",(function(){return rn})),n.d(e,"StreamReadUsage",(function(){return on})),n.d(e,"StringKeyframeTrack",(function(){return dd})),n.d(e,"SubtractEquation",(function(){return S})),n.d(e,"SubtractiveBlending",(function(){return b})),n.d(e,"TOUCH",(function(){return a})),n.d(e,"TangentSpaceNormalMap",(function(){return Re})),n.d(e,"TetrahedronBufferGeometry",(function(){return $p})),n.d(e,"TetrahedronGeometry",(function(){return Du})),n.d(e,"Texture",(function(){return Jn})),n.d(e,"TextureLoader",(function(){return Ld})),n.d(e,"TorusBufferGeometry",(function(){return Kp})),n.d(e,"TorusGeometry",(function(){return ku})),n.d(e,"TorusKnotBufferGeometry",(function(){return Jp})),n.d(e,"TorusKnotGeometry",(function(){return Ou})),n.d(e,"Triangle",(function(){return yr})),n.d(e,"TriangleFanDrawMode",(function(){return Ce})),n.d(e,"TriangleStripDrawMode",(function(){return Ee})),n.d(e,"TrianglesDrawMode",(function(){return Le})),n.d(e,"TubeBufferGeometry",(function(){return Qp})),n.d(e,"TubeGeometry",(function(){return Ru})),n.d(e,"UVMapping",(function(){return nt})),n.d(e,"Uint16BufferAttribute",(function(){return Ir})),n.d(e,"Uint32BufferAttribute",(function(){return kr})),n.d(e,"Uint8BufferAttribute",(function(){return Lr})),n.d(e,"Uint8ClampedBufferAttribute",(function(){return Er})),n.d(e,"Uniform",(function(){return Ph})),n.d(e,"UniformsGroup",(function(){return Yh})),n.d(e,"UniformsLib",(function(){return Ia})),n.d(e,"UniformsUtils",(function(){return ha})),n.d(e,"UnsignedByteType",(function(){return xt})),n.d(e,"UnsignedInt248Type",(function(){return Dt})),n.d(e,"UnsignedIntType",(function(){return At})),n.d(e,"UnsignedShort4444Type",(function(){return Ct})),n.d(e,"UnsignedShort5551Type",(function(){return It})),n.d(e,"UnsignedShortType",(function(){return St})),n.d(e,"VSMShadowMap",(function(){return p})),n.d(e,"Vector2",(function(){return Cn})),n.d(e,"Vector3",(function(){return si})),n.d(e,"Vector4",(function(){return Qn})),n.d(e,"VectorKeyframeTrack",(function(){return hd})),n.d(e,"VideoTexture",(function(){return dc})),n.d(e,"WebGL1Renderer",(function(){return rl})),n.d(e,"WebGL3DRenderTarget",(function(){return ii})),n.d(e,"WebGLArrayRenderTarget",(function(){return ei})),n.d(e,"WebGLCubeRenderTarget",(function(){return _a})),n.d(e,"WebGLMultipleRenderTargets",(function(){return ri})),n.d(e,"WebGLMultisampleRenderTarget",(function(){return Dp})),n.d(e,"WebGLRenderTarget",(function(){return Zn})),n.d(e,"WebGLRenderer",(function(){return il})),n.d(e,"WebGLUtils",(function(){return Xo})),n.d(e,"WireframeGeometry",(function(){return Pu})),n.d(e,"WrapAroundEnding",(function(){return Se})),n.d(e,"ZeroCurvatureEnding",(function(){return we})),n.d(e,"ZeroFactor",(function(){return E})),n.d(e,"ZeroSlopeEnding",(function(){return Me})),n.d(e,"ZeroStencilOp",(function(){return He})),n.d(e,"_SRGBAFormat",(function(){return pn})),n.d(e,"sRGBEncoding",(function(){return De}));
410/**
411 * @license
412 * Copyright 2010-2022 Three.js Authors
413 * SPDX-License-Identifier: MIT
414 */
415const i="144",r={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},a={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},s=0,o=1,l=2,c=3,u=0,d=1,h=2,p=3,f=0,m=1,g=2,v=0,_=1,y=2,b=3,x=4,w=5,M=100,S=101,T=102,A=103,L=104,E=200,C=201,I=202,D=203,k=204,O=205,R=206,P=207,N=208,Y=209,F=210,H=0,j=1,B=2,z=3,U=4,V=5,W=6,G=7,q=0,X=1,$=2,K=0,J=1,Q=2,Z=3,tt=4,et=5,nt=300,it=301,rt=302,at=303,st=304,ot=306,lt=1e3,ct=1001,ut=1002,dt=1003,ht=1004,pt=1004,ft=1005,mt=1005,gt=1006,vt=1007,_t=1007,yt=1008,bt=1008,xt=1009,wt=1010,Mt=1011,St=1012,Tt=1013,At=1014,Lt=1015,Et=1016,Ct=1017,It=1018,Dt=1020,kt=1021,Ot=1022,Rt=1023,Pt=1024,Nt=1025,Yt=1026,Ft=1027,Ht=1028,jt=1029,Bt=1030,zt=1031,Ut=1033,Vt=33776,Wt=33777,Gt=33778,qt=33779,Xt=35840,$t=35841,Kt=35842,Jt=35843,Qt=36196,Zt=37492,te=37496,ee=37808,ne=37809,ie=37810,re=37811,ae=37812,se=37813,oe=37814,le=37815,ce=37816,ue=37817,de=37818,he=37819,pe=37820,fe=37821,me=36492,ge=2200,ve=2201,_e=2202,ye=2300,be=2301,xe=2302,we=2400,Me=2401,Se=2402,Te=2500,Ae=2501,Le=0,Ee=1,Ce=2,Ie=3e3,De=3001,ke=3200,Oe=3201,Re=0,Pe=1,Ne="",Ye="srgb",Fe="srgb-linear",He=0,je=7680,Be=7681,ze=7682,Ue=7683,Ve=34055,We=34056,Ge=5386,qe=512,Xe=513,$e=514,Ke=515,Je=516,Qe=517,Ze=518,tn=519,en=35044,nn=35048,rn=35040,an=35045,sn=35049,on=35041,ln=35046,cn=35050,un=35042,dn="100",hn="300 es",pn=1035;class fn{addEventListener(t,e){void 0===this._listeners&&(this._listeners={});const n=this._listeners;void 0===n[t]&&(n[t]=[]),-1===n[t].indexOf(e)&&n[t].push(e)}hasEventListener(t,e){if(void 0===this._listeners)return!1;const n=this._listeners;return void 0!==n[t]&&-1!==n[t].indexOf(e)}removeEventListener(t,e){if(void 0===this._listeners)return;const n=this._listeners[t];if(void 0!==n){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}dispatchEvent(t){if(void 0===this._listeners)return;const e=this._listeners[t.type];if(void 0!==e){t.target=this;const n=e.slice(0);for(let e=0,i=n.length;e<i;e++)n[e].call(this,t);t.target=null}}}const mn=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","5
4155","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];let gn=1234567;const vn=Math.PI/180,_n=180/Math.PI;function yn(){const t=4294967295*Math.random()|0,e=4294967295*Math.random()|0,n=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return(mn[255&t]+mn[t>>8&255]+mn[t>>16&255]+mn[t>>24&255]+"-"+mn[255&e]+mn[e>>8&255]+"-"+mn[e>>16&15|64]+mn[e>>24&255]+"-"+mn[63&n|128]+mn[n>>8&255]+"-"+mn[n>>16&255]+mn[n>>24&255]+mn[255&i]+mn[i>>8&255]+mn[i>>16&255]+mn[i>>24&255]).toLowerCase()}function bn(t,e,n){return Math.max(e,Math.min(n,t))}function xn(t,e){return(t%e+e)%e}function wn(t,e,n){return(1-n)*t+n*e}function Mn(t){return 0==(t&t-1)&&0!==t}function Sn(t){return Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}function Tn(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}function An(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return t/65535;case Uint8Array:return t/255;case Int16Array:return Math.max(t/32767,-1);case Int8Array:return Math.max(t/127,-1);default:throw new Error("Invalid component type.")}}function Ln(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return Math.round(65535*t);case Uint8Array:return Math.round(255*t);case Int16Array:return Math.round(32767*t);case Int8Array:return Math.round(127*t);default:throw new Error("Invalid component type.")}}var En=Object.freeze({__proto__:null,DEG2RAD:vn,RAD2DEG:_n,generateUUID:yn,clamp:bn,euclideanModulo:xn,mapLinear:function(t,e,n,i,r){return i+(t-e)*(r-i)/(n-e)},inverseLerp:function(t,e,n){return t!==e?(n-t)/(e-t):0},lerp:wn,damp:function(t,e,n,i){return wn(t,e,1-Math.exp(-n*i))},pingpong:function(t,e=1){return e-Math.abs(xn(t,2*e)-e)},smoothstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*(3-2*t)},smootherstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*t*(t*(6*t-15)+10)},randInt:function(t,e){return t+Math.floor(Math.random()*(e-t+1))},randFloat:function(t,e){return t+Math.random()*(e-t)},randFloatSpread:function(t){return t*(.5-Math.random())},seededRandom:function(t){void 0!==t&&(gn=t);let e=gn+=1831565813;return e=Math.imul(e^e>>>15,1|e),e^=e+Math.imul(e^e>>>7,61|e),((e^e>>>14)>>>0)/4294967296},degToRad:function(t){return t*vn},radToDeg:function(t){return t*_n},isPowerOfTwo:Mn,ceilPowerOfTwo:Sn,floorPowerOfTwo:Tn,setQuaternionFromProperEuler:function(t,e,n,i,r){const a=Math.cos,s=Math.sin,o=a(n/2),l=s(n/2),c=a((e+i)/2),u=s((e+i)/2),d=a((e-i)/2),h=s((e-i)/2),p=a((i-e)/2),f=s((i-e)/2);switch(r){case"XYX":t.set(o*u,l*d,l*h,o*c);break;case"YZY":t.set(l*h,o*u,l*d,o*c);break;case"ZXZ":t.set(l*d,l*h,o*u,o*c);break;case"XZX":t.set(o*u,l*f,l*p,o*c);break;case"YXY":t.set(l*p,o*u,l*f,o*c);break;case"ZYZ":t.set(l*f,l*p,o*u,o*c);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r)}},normalize:Ln,denormalize:An});class Cn{constructor(t=0,e=0){Cn.prototype.isVector2=!0,this.x=t,this.y=e}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,e){return this.x=t,this.y=e,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}applyMatrix3(t){const e=this.x,n=this.y,i=t.elements;return this.x=i[0]*e+i[3]*n+i[6],this.y=i[1]*e+i[4]*n+i[7],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}
vendor: 52,827 bytes, line 415
415round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y;return e*e+n*n}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this}rotateAround(t,e){const n=Math.cos(e),i=Math.sin(e),r=this.x-t.x,a=this.y-t.y;return this.x=r*n-a*i+t.x,this.y=r*i+a*n+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class In{constructor(){In.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(t,e,n,i,r,a,s,o,l){const c=this.elements;return c[0]=t,c[1]=i,c[2]=s,c[3]=e,c[4]=r,c[5]=o,c[6]=n,c[7]=a,c[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],this}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){const e=t.elements;return this.set(e[0],e[4],e[8],e[1],e[5],e[9],e[2],e[6],e[10]),this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,i=e.elements,r=this.elements,a=n[0],s=n[3],o=n[6],l=n[1],c=n[4],u=n[7],d=n[2],h=n[5],p=n[8],f=i[0],m=i[3],g=i[6],v=i[1],_=i[4],y=i[7],b=i[2],x=i[5],w=i[8];return r[0]=a*f+s*v+o*b,r[3]=a*m+s*_+o*x,r[6]=a*g+s*y+o*w,r[1]=l*f+c*v+u*b,r[4]=l*m+c*_+u*x,r[7]=l*g+c*y+u*w,r[2]=d*f+h*v+p*b,r[5]=d*m+h*_+p*x,r[8]=d*g+h*y+p*w,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[3]*=t,e[6]*=t,e[1]*=t,e[4]*=t,e[7]*=t,e[2]*=t,e[5]*=t,e[8]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[1],i=t[2],r=t[3],a=t[4],s=t[5],o=t[6],l=t[7],c=t[8];return e*a*c-e*s*l-n*r*c+n*s*o+i*r*l-i*a*o}invert(){const t=this.elements,e=t[0],n=t[1],i=t[2],r=t[3],a=t[4],s=t[5],o=t[6],l=t[7],c=t[8],u=c*a-s*l,d=s*o-c*r,h=l*r-a*o,p=e*u+n*d+i*h;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);const f=1/p;return t[0]=u*f,t[1]=(i*l-c*n)*f,t[2]=(s*n-i*a)*f,t[3]=d*f,t[4]=(c*e-i*o)*f,t[5]=(i*r-s*e)*f,t[6]=h*f,t[7]=(n*o-l*e)*f,t[8]=(a*e-n*r)*f,this}transpose(){let t;const e=this.elements;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.elements;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,i,r,a,s){const o=Math.cos(r),l=Math.sin(r);return this.set(n*o,n*l,-n*(o*a+l*s)+a+t,-i*l,i*o,-i*(-l*a+o*s)+s+e,0,0,1),this}scale(t,e){const n=this.elements;return n[0]*=t,n[3]*=t,n[6]*=t,n[1]*=e,n[4]*=e,n[7]*=e,this}rotate(t){const e=Math.cos(t),n=Math.sin(t),i=this.elements,r=i[0],a=i[3],s=i[6],o=i[1],l=i[4],c=i[7];return i[0]=e*r+n*o,i[3]=e*a+n*l,i[6]=e*s+n*c,i[1]=-n*r+e*o,i[4]=-n*a+e*l,i[7]=-n*s+e*c,this}translate(t,e){const n=this.elements;return n[0]+=t*n[2],n[3]+=t*n[5],n[6]+=t*n[8],n[1]+=e*n[2],n[4]+=e*n[5],n[7]+=e*n[8],this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<9;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<9;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t}clone(){return(new this.constructor).fromArray(this.elements)}}function Dn(t){for(let e=t.length-1;e>=0;--e)if(t[e]>=65535)return!0;return!1}const kn={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function On(t,e){return new kn[t](e)}function Rn(t){return document.createElementNS("http://www.w3.org/1999/xhtml",t)}function Pn(t){return t<.04045?.0773993808*t:Math.pow(.9478672986*t+.0521327014,2.4)}function Nn(t){return t<.0031308?12.92*t:1.055*Math.pow(t,.41666)-.055}const Yn={[Ye]:{[Fe]:Pn},[Fe]:{[Ye]:Nn}},Fn={legacyMode:!0,get workingColorSpace(){return Fe},set workingColorSpace(t){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(t,e,n){if(this.legacyMode||e===n||!e||!n)return t;if(Yn[e]&&void 0!==Yn[e][n]){const i=Yn[e][n];return t.r=i(t.r),t.g=i(t.g),t.b=i(t.b),t}throw new Error("Unsupported color space conversion.")},fromWorkingColorSpace:function(t,e){return this.convert(t,this.workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this.workingColorSpace)}},Hn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},jn={r:0,g:0,b:0},Bn={h:0,s:0,l:0},zn={h:0,s:0,l:0};function Un(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+6*(e-t)*(2/3-n):t}function Vn(t,e){return e.r=t.r,e.g=t.g,e.b=t.b,e}class Wn{constructor(t,e,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,void 0===e&&void 0===n?this.set(t):this.setRGB(t,e,n)}set(t){return t&&t.isColor?this.copy(t):"number"==typeof t?this.setHex(t):"string"==typeof t&&this.setStyle(t),this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}setHex(t,e=Ye){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(255&t)/255,Fn.toWorkingColorSpace(this,e),this}setRGB(t,e,n,i=Fe){return this.r=t,this.g=e,this.b=n,Fn.toWorkingColorSpace(this,i),this}setHSL(t,e,n,i=Fe){if(t=xn(t,1),e=bn(e,0,1),n=bn(n,0,1),0===e)this.r=this.g=this.b=n;else{const i=n<=.5?n*(1+e):n+e-n*e,r=2*n-i;this.r=Un(r,i,t+1/3),this.g=Un(r,i,t),this.b=Un(r,i,t-1/3)}return Fn.toWorkingColorSpace(this,i),this}setStyle(t,e=Ye){function n(e){void 0!==e&&parseFloat(e)<1&&console.warn("THREE.Color: Alpha component of "+t+" will be ignored.")}let i;if(i=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(t)){let t;const r=i[1],a=i[2];switch(r){case"rgb":case"rgba":if(t=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(255,parseInt(t[1],10))/255,this.g=Math.min(255,parseInt(t[2],10))/255,this.b=Math.min(255,parseInt(t[3],10))/255,Fn.toWorkingColorSpace(this,e),n(t[4]),this;if(t=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(100,parseInt(t[1],10))/100,this.g=Math.min(100,parseInt(t[2],10))/100,this.b=Math.min(100,parseInt(t[3],10))/100,Fn.toWorkingColorSpace(this,e),n(t[4]),this;break;case"hsl":case"hsla":if(t=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a)){const i=parseFloat(t[1])/360,r=parseFloat(t[2])/100,a=parseFloat(t[3])/100;return n(t[4]),this.setHSL(i,r,a,e)}}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(t)){const t=i[1],n=t.length;if(3===n)return this.r=parseInt(t.charAt(0)+t.charAt(0),16)/255,this.g=parseInt(t.charAt(1)+t.charAt(1),16)/255,this.b=parseInt(t.charAt(2)+t.charAt(2),16)/255,Fn.toWorkingColorSpace(this,e),this;if(6===n)return this.r=parseInt(t.charAt(0)+t.charAt(1),16)/255,this.g=parseInt(t.charAt(2)+t.charAt(3),16)/255,this.b=parseInt(t.charAt(4)+t.charAt(5),16)/255,Fn.toWorkingColorSpace(this,e),this}return t&&t.length>0?this.setColorName(t,e):this}setColorName(t,e=Ye){const n=Hn[t.toLowerCase()];return void 0!==n?this.setHex(n,e):console.warn("THREE.Color: Unknown color "+t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(t){return this.r=t.r,this.g=t.g,this.b=t.b,this}copySRGBToLinear(t){return this.r=Pn(t.r),this.g=Pn(t.g),this.b=Pn(t.b),this}copyLinearToSRGB(t){return this.r=Nn(t.r),this.g=Nn(t.g),this.b=Nn(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(t=Ye){return Fn.fromWorkingColorSpace(Vn(this,jn),t),bn(255*jn.r,0,255)<<16^bn(255*jn.g,0,255)<<8^bn(255*jn.b,0,255)<<0}getHexString(t=Ye){return("000000"+this.getHex(t).toString(16)).slice(-6)}getHSL(t,e=Fe){Fn.fromWorkingColorSpace(Vn(this,jn),e);const n=jn.r,i=jn.g,r=jn.b,a=Math.max(n,i,r),s=Math.min(n,i,r);let o,l;const c=(s+a)/2;if(s===a)o=0,l=0;else{const t=a-s;switch(l=c<=.5?t/(a+s):t/(2-a-s),a){case n:o=(i-r)/t+(i<r?6:0);break;case i:o=(r-n)/t+2;break;case r:o=(n-i)/t+4}o/=6}return t.h=o,t.s=l,t.l=c,t}getRGB(t,e=Fe){return Fn.fromWorkingColorSpace(Vn(this,jn),e),t.r=jn.r,t.g=jn.g,t.b=jn.b,t}getStyle(t=Ye){return Fn.fromWorkingColorSpace(Vn(this,jn),t),t!==Ye?`color(${t} ${jn.r} ${jn.g} ${jn.b})`:`rgb(${255*jn.r|0},${255*jn.g|0},${255*jn.b|0})`}offsetHSL(t,e,n){return this.getHSL(Bn),Bn.h+=t,Bn.s+=e,Bn.l+=n,this.setHSL(Bn.h,Bn.s,Bn.l),this}add(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r+=t,this.g+=t,this.b+=t,this}sub(t){return this.r=Math.max(0,this.r-t.r),this.g=Math.max(0,this.g-t.g),this.b=Math.max(0,this.b-t.b),this}multiply(t){return this.r*=t.r,this.g*=t.g,this.b*=t.b,this}multiplyScalar(t){return this.r*=t,this.g*=t,this.b*=t,this}lerp(t,e){return this.r+=(t.r-this.r)*e,this.g+=(t.g-this.g)*e,this.b+=(t.b-this.b)*e,this}lerpColors(t,e,n){return this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}lerpHSL(t,e){this.getHSL(Bn),t.getHSL(zn);const n=wn(Bn.h,zn.h,e),i=wn(Bn.s,zn.s,e),r=wn(Bn.l,zn.l,e);return this.setHSL(n,i,r),this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}let Gn;Wn.NAMES=Hn;class qn{static getDataURL(t){if(/^data:/i.test(t.src))return t.src;if("undefined"==typeof HTMLCanvasElement)return t.src;let e;if(t instanceof HTMLCanvasElement)e=t;else{void 0===Gn&&(Gn=Rn("canvas")),Gn.width=t.width,Gn.height=t.height;const n=Gn.getContext("2d");t instanceof ImageData?n.putImageData(t,0,0):n.drawImage(t,0,0,t.width,t.height),e=Gn}return e.width>2048||e.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",t),e.toDataURL("image/jpeg",.6)):e.toDataURL("image/png")}static sRGBToLinear(t){if("undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap){const e=Rn("canvas");e.width=t.width,e.height=t.height;const n=e.getContext("2d");n.drawImage(t,0,0,t.width,t.height);const i=n.getImageData(0,0,t.width,t.height),r=i.data;for(let t=0;t<r.length;t++)r[t]=255*Pn(r[t]/255);return n.putImageData(i,0,0),e}if(t.data){const e=t.data.slice(0);for(let t=0;t<e.length;t++)e instanceof Uint8Array||e instanceof Uint8ClampedArray?e[t]=Math.floor(255*Pn(e[t]/255)):e[t]=Pn(e[t]);return{data:e,width:t.width,height:t.height}}return console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),t}}class Xn{constructor(t=null){this.isSource=!0,this.uuid=yn(),this.data=t,this.version=0}set needsUpdate(t){!0===t&&this.version++}toJSON(t){const e=void 0===t||"string"==typeof t;if(!e&&void 0!==t.images[this.uuid])return t.images[this.uuid];const n={uuid:this.uuid,url:""},i=this.data;if(null!==i){let t;if(Array.isArray(i)){t=[];for(let e=0,n=i.length;e<n;e++)i[e].isDataTexture?t.push($n(i[e].image)):t.push($n(i[e]))}else t=$n(i);n.url=t}return e||(t.images[this.uuid]=n),n}}function $n(t){return"undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap?qn.getDataURL(t):t.data?{data:Array.from(t.data),width:t.width,height:t.height,type:t.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let Kn=0;class Jn extends fn{constructor(t=Jn.DEFAULT_IMAGE,e=Jn.DEFAULT_MAPPING,n=ct,i=ct,r=gt,a=yt,s=Rt,o=xt,l=1,c=Ie){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:Kn++}),this.uuid=yn(),this.name="",this.source=new Xn(t),this.mipmaps=[],this.mapping=e,this.wrapS=n,this.wrapT=i,this.magFilter=r,this.minFilter=a,this.anisotropy=l,this.format=s,this.internalFormat=null,this.type=o,this.offset=new Cn(0,0),this.repeat=new Cn(1,1),this.center=new Cn(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new In,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.encoding=c,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.needsPMREMUpdate=!1}get image(){return this.source.data}set image(t){this.source.data=t}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return(new this.constructor).copy(this)}copy(t){return this.name=t.name,this.source=t.source,this.mipmaps=t.mipmaps.slice(0),this.mapping=t.mapping,this.wrapS=t.wrapS,this.wrapT=t.wrapT,this.magFilter=t.magFilter,this.minFilter=t.minFilter,this.anisotropy=t.anisotropy,this.format=t.format,this.internalFormat=t.internalFormat,this.type=t.type,this.offset.copy(t.offset),this.repeat.copy(t.repeat),this.center.copy(t.center),this.rotation=t.rotation,this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrix.copy(t.matrix),this.generateMipmaps=t.generateMipmaps,this.premultiplyAlpha=t.premultiplyAlpha,this.flipY=t.flipY,this.unpackAlignment=t.unpackAlignment,this.encoding=t.encoding,this.userData=JSON.parse(JSON.stringify(t.userData)),this.needsUpdate=!0,this}toJSON(t){const e=void 0===t||"string"==typeof t;if(!e&&void 0!==t.textures[this.uuid])return t.textures[this.uuid];const n={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(t).uuid,mapping:this.mapping,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return"{}"!==JSON.stringify(this.userData)&&(n.userData=this.userData),e||(t.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(t){if(this.mapping!==nt)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case lt:t.x=t.x-Math.floor(t.x);break;case ct:t.x=t.x<0?0:1;break;case ut:1===Math.abs(Math.floor(t.x)%2)?t.x=Math.ceil(t.x)-t.x:t.x=t.x-Math.floor(t.x)}if(t.y<0||t.y>1)switch(this.wrapT){case lt:t.y=t.y-Math.floor(t.y);break;case ct:t.y=t.y<0?0:1;break;case ut:1===Math.abs(Math.floor(t.y)%2)?t.y=Math.ceil(t.y)-t.y:t.y=t.y-Math.floor(t.y)}return this.flipY&&(t.y=1-t.y),t}set needsUpdate(t){!0===t&&(this.version++,this.source.needsUpdate=!0)}}Jn.DEFAULT_IMAGE=null,Jn.DEFAULT_MAPPING=nt;class Qn{constructor(t=0,e=0,n=0,i=1){Qn.prototype.isVector4=!0,this.x=t,this.y=e,this.z=n,this.w=i}get width(){return this.z}set width(t){this.z=t}get height(){return this.w}set height(t){this.w=t}set(t,e,n,i){return this.x=t,this.y=e,this.z=n,this.w=i,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this.w=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setW(t){return this.w=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;case 3:this.w=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=void 0!==t.w?t.w:1,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this.w+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this.w=t.w+e.w,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this.w+=t.w*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this.w-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this.w=t.w-e.w,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this.w*=t.w,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this}applyMatrix4(t){const e=this.x,n=this.y,i=this.z,r=this.w,a=t.elements;return this.x=a[0]*e+a[4]*n+a[8]*i+a[12]*r,this.y=a[1]*e+a[5]*n+a[9]*i+a[13]*r,this.z=a[2]*e+a[6]*n+a[10]*i+a[14]*r,this.w=a[3]*e+a[7]*n+a[11]*i+a[15]*r,this}divideScalar(t){return this.multiplyScalar(1/t)}setAxisAngleFromQuaternion(t){this.w=2*Math.acos(t.w);const e=Math.sqrt(1-t.w*t.w);return e<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=t.x/e,this.y=t.y/e,this.z=t.z/e),this}setAxisAngleFromRotationMatrix(t){let e,n,i,r;const a=t.elements,s=a[0],o=a[4],l=a[8],c=a[1],u=a[5],d=a[9],h=a[2],p=a[6],f=a[10];if(Math.abs(o-c)<.01&&Math.abs(l-h)<.01&&Math.abs(d-p)<.01){if(Math.abs(o+c)<.1&&Math.abs(l+h)<.1&&Math.abs(d+p)<.1&&Math.abs(s+u+f-3)<.1)return this.set(1,0,0,0),this;e=Math.PI;const t=(s+1)/2,a=(u+1)/2,m=(f+1)/2,g=(o+c)/4,v=(l+h)/4,_=(d+p)/4;return t>a&&t>m?t<.01?(n=0,i=.707106781,r=.707106781):(n=Math.sqrt(t),i=g/n,r=v/n):a>m?a<.01?(n=.707106781,i=0,r=.707106781):(i=Math.sqrt(a),n=g/i,r=_/i):m<.01?(n=.707106781,i=.707106781,r=0):(r=Math.sqrt(m),n=v/r,i=_/r),this.set(n,i,r,e),this}let m=Math.sqrt((p-d)*(p-d)+(l-h)*(l-h)+(c-o)*(c-o));return Math.abs(m)<.001&&(m=1),this.x=(p-d)/m,this.y=(l-h)/m,this.z=(c-o)/m,this.w=Math.acos((s+u+f-1)/2),this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this.w=Math.min(this.w,t.w),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this.w=Math.max(this.w,t.w),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this.w=Math.max(t.w,Math.min(e.w,this.w)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this.w=Math.max(t,Math.min(e,this.w)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this.w+=(t.w-this.w)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this.w=t.w+(e.w-t.w)*n,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this.w=t[e+3],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.w,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this.w=t.getW(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class Zn extends fn{constructor(t,e,n={}){super(),this.isWebGLRenderTarget=!0,this.width=t,this.height=e,this.depth=1,this.scissor=new Qn(0,0,t,e),this.scissorTest=!1,this.viewport=new Qn(0,0,t,e);const i={width:t,height:e,depth:1};this.texture=new Jn(i,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=void 0!==n.generateMipmaps&&n.generateMipmaps,this.texture.internalFormat=void 0!==n.internalFormat?n.internalFormat:null,this.texture.minFilter=void 0!==n.minFilter?n.minFilter:gt,this.depthBuffer=void 0===n.depthBuffer||n.depthBuffer,this.stencilBuffer=void 0!==n.stencilBuffer&&n.stencilBuffer,this.depthTexture=void 0!==n.depthTexture?n.depthTexture:null,this.samples=void 0!==n.samples?n.samples:0}setSize(t,e,n=1){this.width===t&&this.height===e&&this.depth===n||(this.width=t,this.height=e,this.depth=n,this.texture.image.width=t,this.texture.image.height=e,this.texture.image.depth=n,this.dispose()),this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e)}clone(){return(new this.constructor).copy(this)}copy(t){this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.copy(t.viewport),this.texture=t.texture.clone(),this.texture.isRenderTargetTexture=!0;const e=Object.assign({},t.texture.image);return this.texture.source=new Xn(e),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.samples=t.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class ti extends Jn{constructor(t=null,e=1,n=1,i=1){super(null),this.isDataArrayTexture=!0,this.image={data:t,width:e,height:n,depth:i},this.magFilter=dt,this.minFilter=dt,this.wrapR=ct,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class ei extends Zn{constructor(t,e,n){super(t,e),this.isWebGLArrayRenderTarget=!0,this.depth=n,this.texture=new ti(null,t,e,n),this.texture.isRenderTargetTexture=!0}}class ni extends Jn{constructor(t=null,e=1,n=1,i=1){super(null),this.isData3DTexture=!0,this.image={data:t,width:e,height:n,depth:i},this.magFilter=dt,this.minFilter=dt,this.wrapR=ct,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class ii extends Zn{constructor(t,e,n){super(t,e),this.isWebGL3DRenderTarget=!0,this.depth=n,this.texture=new ni(null,t,e,n),this.texture.isRenderTargetTexture=!0}}class ri extends Zn{constructor(t,e,n,i={}){super(t,e,i),this.isWebGLMultipleRenderTargets=!0;const r=this.texture;this.texture=[];for(let t=0;t<n;t++)this.texture[t]=r.clone(),this.texture[t].isRenderTargetTexture=!0}setSize(t,e,n=1){if(this.width!==t||this.height!==e||this.depth!==n){this.width=t,this.height=e,this.depth=n;for(let i=0,r=this.texture.length;i<r;i++)this.texture[i].image.width=t,this.texture[i].image.height=e,this.texture[i].image.depth=n;this.dispose()}return this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e),this}copy(t){this.dispose(),this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.set(0,0,this.width,this.height),this.scissor.set(0,0,this.width,this.height),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.texture.length=0;for(let e=0,n=t.texture.length;e<n;e++)this.texture[e]=t.texture[e].clone(),this.texture[e].isRenderTargetTexture=!0;return this}}class ai{constructor(t=0,e=0,n=0,i=1){this.isQuaternion=!0,this._x=t,this._y=e,this._z=n,this._w=i}static slerpFlat(t,e,n,i,r,a,s){let o=n[i+0],l=n[i+1],c=n[i+2],u=n[i+3];const d=r[a+0],h=r[a+1],p=r[a+2],f=r[a+3];if(0===s)return t[e+0]=o,t[e+1]=l,t[e+2]=c,void(t[e+3]=u);if(1===s)return t[e+0]=d,t[e+1]=h,t[e+2]=p,void(t[e+3]=f);if(u!==f||o!==d||l!==h||c!==p){let t=1-s;const e=o*d+l*h+c*p+u*f,n=e>=0?1:-1,i=1-e*e;if(i>Number.EPSILON){const r=Math.sqrt(i),a=Math.atan2(r,e*n);t=Math.sin(t*a)/r,s=Math.sin(s*a)/r}const r=s*n;if(o=o*t+d*r,l=l*t+h*r,c=c*t+p*r,u=u*t+f*r,t===1-s){const t=1/Math.sqrt(o*o+l*l+c*c+u*u);o*=t,l*=t,c*=t,u*=t}}t[e]=o,t[e+1]=l,t[e+2]=c,t[e+3]=u}static multiplyQuaternionsFlat(t,e,n,i,r,a){const s=n[i],o=n[i+1],l=n[i+2],c=n[i+3],u=r[a],d=r[a+1],h=r[a+2],p=r[a+3];return t[e]=s*p+c*u+o*h-l*d,t[e+1]=o*p+c*d+l*u-s*h,t[e+2]=l*p+c*h+s*d-o*u,t[e+3]=c*p-s*u-o*d-l*h,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t,e,n,i){return this._x=t,this._y=e,this._z=n,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e){const n=t._x,i=t._y,r=t._z,a=t._order,s=Math.cos,o=Math.sin,l=s(n/2),c=s(i/2),u=s(r/2),d=o(n/2),h=o(i/2),p=o(r/2);switch(a){case"XYZ":this._x=d*c*u+l*h*p,this._y=l*h*u-d*c*p,this._z=l*c*p+d*h*u,this._w=l*c*u-d*h*p;break;case"YXZ":this._x=d*c*u+l*h*p,this._y=l*h*u-d*c*p,this._z=l*c*p-d*h*u,this._w=l*c*u+d*h*p;break;case"ZXY":this._x=d*c*u-l*h*p,this._y=l*h*u+d*c*p,this._z=l*c*p+d*h*u,this._w=l*c*u-d*h*p;break;case"ZYX":this._x=d*c*u-l*h*p,this._y=l*h*u+d*c*p,this._z=l*c*p-d*h*u,this._w=l*c*u+d*h*p;break;case"YZX":this._x=d*c*u+l*h*p,this._y=l*h*u+d*c*p,this._z=l*c*p-d*h*u,this._w=l*c*u-d*h*p;break;case"XZY":this._x=d*c*u-l*h*p,this._y=l*h*u-d*c*p,this._z=l*c*p+d*h*u,this._w=l*c*u+d*h*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+a)}return!1!==e&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,i=Math.sin(n);return this._x=t.x*i,this._y=t.y*i,this._z=t.z*i,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(t){const e=t.elements,n=e[0],i=e[4],r=e[8],a=e[1],s=e[5],o=e[9],l=e[2],c=e[6],u=e[10],d=n+s+u;if(d>0){const t=.5/Math.sqrt(d+1);this._w=.25/t,this._x=(c-o)*t,this._y=(r-l)*t,this._z=(a-i)*t}else if(n>s&&n>u){const t=2*Math.sqrt(1+n-s-u);this._w=(c-o)/t,this._x=.25*t,this._y=(i+a)/t,this._z=(r+l)/t}else if(s>u){const t=2*Math.sqrt(1+s-n-u);this._w=(r-l)/t,this._x=(i+a)/t,this._y=.25*t,this._z=(o+c)/t}else{const t=2*Math.sqrt(1+u-n-s);this._w=(a-i)/t,this._x=(r+l)/t,this._y=(o+c)/t,this._z=.25*t}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(bn(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(0===n)return this;const i=Math.min(1,e/n);return this.slerp(t,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,i=t._y,r=t._z,a=t._w,s=e._x,o=e._y,l=e._z,c=e._w;return this._x=n*c+a*s+i*l-r*o,this._y=i*c+a*o+r*s-n*l,this._z=r*c+a*l+n*o-i*s,this._w=a*c-n*s-i*o-r*l,this._onChangeCallback(),this}slerp(t,e){if(0===e)return this;if(1===e)return this.copy(t);const n=this._x,i=this._y,r=this._z,a=this._w;let s=a*t._w+n*t._x+i*t._y+r*t._z;if(s<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,s=-s):this.copy(t),s>=1)return this._w=a,this._x=n,this._y=i,this._z=r,this;const o=1-s*s;if(o<=Number.EPSILON){const t=1-e;return this._w=t*a+e*this._w,this._x=t*n+e*this._x,this._y=t*i+e*this._y,this._z=t*r+e*this._z,this.normalize(),this._onChangeCallback(),this}const l=Math.sqrt(o),c=Math.atan2(l,s),u=Math.sin((1-e)*c)/l,d=Math.sin(e*c)/l;return this._w=a*u+this._w*d,this._x=n*u+this._x*d,this._y=i*u+this._y*d,this._z=r*u+this._z*d,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=Math.random(),e=Math.sqrt(1-t),n=Math.sqrt(t),i=2*Math.PI*Math.random(),r=2*Math.PI*Math.random();return this.set(e*Math.cos(i),n*Math.sin(r),n*Math.cos(r),e*Math.sin(i))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class si{constructor(t=0,e=0,n=0){si.prototype.isVector3=!0,this.x=t,this.y=e,this.z=n}set(t,e,n){return void 0===n&&(n=this.z),this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(li.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(li.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,i=this.z,r=t.elements;return this.x=r[0]*e+r[3]*n+r[6]*i,this.y=r[1]*e+r[4]*n+r[7]*i,this.z=r[2]*e+r[5]*n+r[8]*i,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,i=this.z,r=t.elements,a=1/(r[3]*e+r[7]*n+r[11]*i+r[15]);return this.x=(r[0]*e+r[4]*n+r[8]*i+r[12])*a,this.y=(r[1]*e+r[5]*n+r[9]*i+r[13])*a,this.z=(r[2]*e+r[6]*n+r[10]*i+r[14])*a,this}applyQuaternion(t){const e=this.x,n=this.y,i=this.z,r=t.x,a=t.y,s=t.z,o=t.w,l=o*e+a*i-s*n,c=o*n+s*e-r*i,u=o*i+r*n-a*e,d=-r*e-a*n-s*i;return this.x=l*o+d*-r+c*-s-u*-a,this.y=c*o+d*-a+u*-r-l*-s,this.z=u*o+d*-s+l*-a-c*-r,this}project(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)}unproject(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)}transformDirection(t){const e=this.x,n=this.y,i=this.z,r=t.elements;return this.x=r[0]*e+r[4]*n+r[8]*i,this.y=r[1]*e+r[5]*n+r[9]*i,this.z=r[2]*e+r[6]*n+r[10]*i,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,i=t.y,r=t.z,a=e.x,s=e.y,o=e.z;return this.x=i*o-r*s,this.y=r*a-n*o,this.z=n*s-i*a,this}projectOnVector(t){const e=t.lengthSq();if(0===e)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}projectOnPlane(t){return oi.copy(this).projectOnVector(t),this.sub(oi)}reflect(t){return this.sub(oi.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(bn(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,i=this.z-t.z;return e*e+n*n+i*i}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,e,n){const i=Math.sin(e)*t;return this.x=i*Math.sin(n),this.y=Math.cos(e)*t,this.z=i*Math.cos(n),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,e,n){return this.x=t*Math.sin(e),this.y=n,this.z=t*Math.cos(e),this}setFromMatrixPosition(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrixScale(t){const e=this.setFromMatrixColumn(t,0).length(),n=this.setFromMatrixColumn(t,1).length(),i=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=n,this.z=i,this}setFromMatrixColumn(t,e){return this.fromArray(t.elements,4*e)}setFromMatrix3Column(t,e){return this.fromArray(t.elements,3*e)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=2*(Math.random()-.5),e=Math.random()*Math.PI*2,n=Math.sqrt(1-t**2);return this.x=n*Math.cos(e),this.y=n*Math.sin(e),this.z=t,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const oi=new si,li=new ai;class ci{constructor(t=new si(1/0,1/0,1/0),e=new si(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromArray(t){let e=1/0,n=1/0,i=1/0,r=-1/0,a=-1/0,s=-1/0;for(let o=0,l=t.length;o<l;o+=3){const l=t[o],c=t[o+1],u=t[o+2];l<e&&(e=l),c<n&&(n=c),u<i&&(i=u),l>r&&(r=l),c>a&&(a=c),u>s&&(s=u)}return this.min.set(e,n,i),this.max.set(r,a,s),this}setFromBufferAttribute(t){let e=1/0,n=1/0,i=1/0,r=-1/0,a=-1/0,s=-1/0;for(let o=0,l=t.count;o<l;o++){const l=t.getX(o),c=t.getY(o),u=t.getZ(o);l<e&&(e=l),c<n&&(n=c),u<i&&(i=u),l>r&&(r=l),c>a&&(a=c),u>s&&(s=u)}return this.min.set(e,n,i),this.max.set(r,a,s),this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=di.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}setFromObject(t,e=!1){return this.makeEmpty(),this.expandByObject(t,e)}clone(){return(new this.constructor).copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(t){return this.isEmpty()?t.set(0,0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}expandByObject(t,e=!1){t.updateWorldMatrix(!1,!1);const n=t.geometry;if(void 0!==n)if(e&&null!=n.attributes&&void 0!==n.attributes.position){const e=n.attributes.position;for(let n=0,i=e.count;n<i;n++)di.fromBufferAttribute(e,n).applyMatrix4(t.matrixWorld),this.expandByPoint(di)}else null===n.boundingBox&&n.computeBoundingBox(),hi.copy(n.boundingBox),hi.applyMatrix4(t.matrixWorld),this.union(hi);const i=t.children;for(let t=0,n=i.length;t<n;t++)this.expandByObject(i[t],e);return this}containsPoint(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y||t.z<this.min.z||t.z>this.max.z)}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y&&this.min.z<=t.min.z&&t.max.z<=this.max.z}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y),(t.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y||t.max.z<this.min.z||t.min.z>this.max.z)}intersectsSphere(t){return this.clampPoint(t.center,di),di.distanceToSquared(t.center)<=t.radius*t.radius}intersectsPlane(t){let e,n;return t.normal.x>0?(e=t.normal.x*this.min.x,n=t.normal.x*this.max.x):(e=t.normal.x*this.max.x,n=t.normal.x*this.min.x),t.normal.y>0?(e+=t.normal.y*this.min.y,n+=t.normal.y*this.max.y):(e+=t.normal.y*this.max.y,n+=t.normal.y*this.min.y),t.normal.z>0?(e+=t.normal.z*this.min.z,n+=t.normal.z*this.max.z):(e+=t.normal.z*this.max.z,n+=t.normal.z*this.min.z),e<=-t.constant&&n>=-t.constant}intersectsTriangle(t){if(this.isEmpty())return!1;this.getCenter(yi),bi.subVectors(this.max,yi),pi.subVectors(t.a,yi),fi.subVectors(t.b,yi),mi.subVectors(t.c,yi),gi.subVectors(fi,pi),vi.subVectors(mi,fi),_i.subVectors(pi,mi);let e=[0,-gi.z,gi.y,0,-vi.z,vi.y,0,-_i.z,_i.y,gi.z,0,-gi.x,vi.z,0,-vi.x,_i.z,0,-_i.x,-gi.y,gi.x,0,-vi.y,vi.x,0,-_i.y,_i.x,0];return!!Mi(e,pi,fi,mi,bi)&&(e=[1,0,0,0,1,0,0,0,1],!!Mi(e,pi,fi,mi,bi)&&(xi.crossVectors(gi,vi),e=[xi.x,xi.y,xi.z],Mi(e,pi,fi,mi,bi)))}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return di.copy(t).clamp(this.min,this.max).sub(t).length()}getBoundingSphere(t){return this.getCenter(t.center),t.radius=.5*this.getSize(di).length(),t}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}applyMatrix4(t){return this.isEmpty()||(ui[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),ui[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),ui[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),ui[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),ui[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),ui[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),ui[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),ui[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(ui)),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}}const ui=[new si,new si,new si,new si,new si,new si,new si,new si],di=new si,hi=new ci,pi=new si,fi=new si,mi=new si,gi=new si,vi=new si,_i=new si,yi=new si,bi=new si,xi=new si,wi=new si;function Mi(t,e,n,i,r){for(let a=0,s=t.length-3;a<=s;a+=3){wi.fromArray(t,a);const s=r.x*Math.abs(wi.x)+r.y*Math.abs(wi.y)+r.z*Math.abs(wi.z),o=e.dot(wi),l=n.dot(wi),c=i.dot(wi);if(Math.max(-Math.max(o,l,c),Math.min(o,l,c))>s)return!1}return!0}const Si=new ci,Ti=new si,Ai=new si,Li=new si;class Ei{constructor(t=new si,e=-1){this.center=t,this.radius=e}set(t,e){return this.center.copy(t),this.radius=e,this}setFromPoints(t,e){const n=this.center;void 0!==e?n.copy(e):Si.setFromPoints(t).getCenter(n);let i=0;for(let e=0,r=t.length;e<r;e++)i=Math.max(i,n.distanceToSquared(t[e]));return this.radius=Math.sqrt(i),this}copy(t){return this.center.copy(t.center),this.radius=t.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(t){return t.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(t){return t.distanceTo(this.center)-this.radius}intersectsSphere(t){const e=this.radius+t.radius;return t.center.distanceToSquared(this.center)<=e*e}intersectsBox(t){return t.intersectsSphere(this)}intersectsPlane(t){return Math.abs(t.distanceToPoint(this.center))<=this.radius}clampPoint(t,e){const n=this.center.distanceToSquared(t);return e.copy(t),n>this.radius*this.radius&&(e.sub(this.center).normalize(),e.multiplyScalar(this.radius).add(this.center)),e}getBoundingBox(t){return this.isEmpty()?(t.makeEmpty(),t):(t.set(this.center,this.center),t.expandByScalar(this.radius),t)}applyMatrix4(t){return this.center.applyMatrix4(t),this.radius=this.radius*t.getMaxScaleOnAxis(),this}translate(t){return this.center.add(t),this}expandByPoint(t){Li.subVectors(t,this.center);const e=Li.lengthSq();if(e>this.radius*this.radius){const t=Math.sqrt(e),n=.5*(t-this.radius);this.center.add(Li.multiplyScalar(n/t)),this.radius+=n}return this}union(t){return!0===this.center.equals(t.center)?Ai.set(0,0,1).multiplyScalar(t.radius):Ai.subVectors(t.center,this.center).normalize().multiplyScalar(t.radius),this.expandByPoint(Ti.copy(t.center).add(Ai)),this.expandByPoint(Ti.copy(t.center).sub(Ai)),this}equals(t){return t.center.equals(this.center)&&t.radius===this.radius}clone(){return(new this.constructor).copy(this)}}const Ci=new si,Ii=new si,Di=new si,ki=new si,Oi=new si,Ri=new si,Pi=new si;class Ni{constructor(t=new si,e=new si(0,0,-1)){this.origin=t,this.direction=e}set(t,e){return this.origin.copy(t),this.direction.copy(e),this}copy(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this}at(t,e){return e.copy(this.direction).multiplyScalar(t).add(this.origin)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,Ci)),this}closestPointToPoint(t,e){e.subVectors(t,this.origin);const n=e.dot(this.direction);return n<0?e.copy(this.origin):e.copy(this.direction).multiplyScalar(n).add(this.origin)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){const e=Ci.subVectors(t,this.origin).dot(this.direction);return e<0?this.origin.distanceToSquared(t):(Ci.copy(this.direction).multiplyScalar(e).add(this.origin),Ci.distanceToSquared(t))}distanceSqToSegment(t,e,n,i){Ii.copy(t).add(e).multiplyScalar(.5),Di.copy(e).sub(t).normalize(),ki.copy(this.origin).sub(Ii);const r=.5*t.distanceTo(e),a=-this.direction.dot(Di),s=ki.dot(this.direction),o=-ki.dot(Di),l=ki.lengthSq(),c=Math.abs(1-a*a);let u,d,h,p;if(c>0)if(u=a*o-s,d=a*s-o,p=r*c,u>=0)if(d>=-p)if(d<=p){const t=1/c;u*=t,d*=t,h=u*(u+a*d+2*s)+d*(a*u+d+2*o)+l}else d=r,u=Math.max(0,-(a*d+s)),h=-u*u+d*(d+2*o)+l;else d=-r,u=Math.max(0,-(a*d+s)),h=-u*u+d*(d+2*o)+l;else d<=-p?(u=Math.max(0,-(-a*r+s)),d=u>0?-r:Math.min(Math.max(-r,-o),r),h=-u*u+d*(d+2*o)+l):d<=p?(u=0,d=Math.min(Math.max(-r,-o),r),h=d*(d+2*o)+l):(u=Math.max(0,-(a*r+s)),d=u>0?r:Math.min(Math.max(-r,-o),r),h=-u*u+d*(d+2*o)+l);else d=a>0?-r:r,u=Math.max(0,-(a*d+s)),h=-u*u+d*(d+2*o)+l;return n&&n.copy(this.direction).multiplyScalar(u).add(this.origin),i&&i.copy(Di).multiplyScalar(d).add(Ii),h}intersectSphere(t,e){Ci.subVectors(t.center,this.origin);const n=Ci.dot(this.direction),i=Ci.dot(Ci)-n*n,r=t.radius*t.radius;if(i>r)return null;const a=Math.sqrt(r-i),s=n-a,o=n+a;return s<0&&o<0?null:s<0?this.at(o,e):this.at(s,e)}intersectsSphere(t){return this.distanceSqToPoint(t.center)<=t.radius*t.radius}distanceToPlane(t){const e=t.normal.dot(this.direction);if(0===e)return 0===t.distanceToPoint(this.origin)?0:null;const n=-(this.origin.dot(t.normal)+t.constant)/e;return n>=0?n:null}intersectPlane(t,e){const n=this.distanceToPlane(t);return null===n?null:this.at(n,e)}intersectsPlane(t){const e=t.distanceToPoint(this.origin);if(0===e)return!0;return t.normal.dot(this.direction)*e<0}intersectBox(t,e){let n,i,r,a,s,o;const l=1/this.direction.x,c=1/this.direction.y,u=1/this.direction.z,d=this.origin;return l>=0?(n=(t.min.x-d.x)*l,i=(t.max.x-d.x)*l):(n=(t.max.x-d.x)*l,i=(t.min.x-d.x)*l),c>=0?(r=(t.min.y-d.y)*c,a=(t.max.y-d.y)*c):(r=(t.max.y-d.y)*c,a=(t.min.y-d.y)*c),n>a||r>i?null:((r>n||n!=n)&&(n=r),(a<i||i!=i)&&(i=a),u>=0?(s=(t.min.z-d.z)*u,o=(t.max.z-d.z)*u):(s=(t.max.z-d.z)*u,o=(t.min.z-d.z)*u),n>o||s>i?null:((s>n||n!=n)&&(n=s),(o<i||i!=i)&&(i=o),i<0?null:this.at(n>=0?n:i,e)))}intersectsBox(t){return null!==this.intersectBox(t,Ci)}intersectTriangle(t,e,n,i,r){Oi.subVectors(e,t),Ri.subVectors(n,t),Pi.crossVectors(Oi,Ri);let a,s=this.direction.dot(Pi);if(s>0){if(i)return null;a=1}else{if(!(s<0))return null;a=-1,s=-s}ki.subVectors(this.origin,t);const o=a*this.direction.dot(Ri.crossVectors(ki,Ri));if(o<0)return null;const l=a*this.direction.dot(Oi.cross(ki));if(l<0)return null;if(o+l>s)return null;const c=-a*ki.dot(Pi);return c<0?null:this.at(c/s,r)}applyMatrix4(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this}equals(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}clone(){return(new this.constructor).copy(this)}}class Yi{constructor(){Yi.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(t,e,n,i,r,a,s,o,l,c,u,d,h,p,f,m){const g=this.elements;return g[0]=t,g[4]=e,g[8]=n,g[12]=i,g[1]=r,g[5]=a,g[9]=s,g[13]=o,g[2]=l,g[6]=c,g[10]=u,g[14]=d,g[3]=h,g[7]=p,g[11]=f,g[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return(new Yi).fromArray(this.elements)}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],e[9]=n[9],e[10]=n[10],e[11]=n[11],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15],this}copyPosition(t){const e=this.elements,n=t.elements;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.elements;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}extractRotation(t){const e=this.elements,n=t.elements,i=1/Fi.setFromMatrixColumn(t,0).length(),r=1/Fi.setFromMatrixColumn(t,1).length(),a=1/Fi.setFromMatrixColumn(t,2).length();return e[0]=n[0]*i,e[1]=n[1]*i,e[2]=n[2]*i,e[3]=0,e[4]=n[4]*r,e[5]=n[5]*r,e[6]=n[6]*r,e[7]=0,e[8]=n[8]*a,e[9]=n[9]*a,e[10]=n[10]*a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.elements,n=t.x,i=t.y,r=t.z,a=Math.cos(n),s=Math.sin(n),o=Math.cos(i),l=Math.sin(i),c=Math.cos(r),u=Math.sin(r);if("XYZ"===t.order){const t=a*c,n=a*u,i=s*c,r=s*u;e[0]=o*c,e[4]=-o*u,e[8]=l,e[1]=n+i*l,e[5]=t-r*l,e[9]=-s*o,e[2]=r-t*l,e[6]=i+n*l,e[10]=a*o}else if("YXZ"===t.order){const t=o*c,n=o*u,i=l*c,r=l*u;e[0]=t+r*s,e[4]=i*s-n,e[8]=a*l,e[1]=a*u,e[5]=a*c,e[9]=-s,e[2]=n*s-i,e[6]=r+t*s,e[10]=a*o}else if("ZXY"===t.order){const t=o*c,n=o*u,i=l*c,r=l*u;e[0]=t-r*s,e[4]=-a*u,e[8]=i+n*s,e[1]=n+i*s,e[5]=a*c,e[9]=r-t*s,e[2]=-a*l,e[6]=s,e[10]=a*o}else if("ZYX"===t.order){const t=a*c,n=a*u,i=s*c,r=s*u;e[0]=o*c,e[4]=i*l-n,e[8]=t*l+r,e[1]=o*u,e[5]=r*l+t,e[9]=n*l-i,e[2]=-l,e[6]=s*o,e[10]=a*o}
vendor: 5,502 bytes, line 415
415else if("YZX"===t.order){const t=a*o,n=a*l,i=s*o,r=s*l;e[0]=o*c,e[4]=r-t*u,e[8]=i*u+n,e[1]=u,e[5]=a*c,e[9]=-s*c,e[2]=-l*c,e[6]=n*u+i,e[10]=t-r*u}else if("XZY"===t.order){const t=a*o,n=a*l,i=s*o,r=s*l;e[0]=o*c,e[4]=-u,e[8]=l*c,e[1]=t*u+r,e[5]=a*c,e[9]=n*u-i,e[2]=i*u-n,e[6]=s*c,e[10]=r*u+t}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(ji,t,Bi)}lookAt(t,e,n){const i=this.elements;return Vi.subVectors(t,e),0===Vi.lengthSq()&&(Vi.z=1),Vi.normalize(),zi.crossVectors(n,Vi),0===zi.lengthSq()&&(1===Math.abs(n.z)?Vi.x+=1e-4:Vi.z+=1e-4,Vi.normalize(),zi.crossVectors(n,Vi)),zi.normalize(),Ui.crossVectors(Vi,zi),i[0]=zi.x,i[4]=Ui.x,i[8]=Vi.x,i[1]=zi.y,i[5]=Ui.y,i[9]=Vi.y,i[2]=zi.z,i[6]=Ui.z,i[10]=Vi.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,i=e.elements,r=this.elements,a=n[0],s=n[4],o=n[8],l=n[12],c=n[1],u=n[5],d=n[9],h=n[13],p=n[2],f=n[6],m=n[10],g=n[14],v=n[3],_=n[7],y=n[11],b=n[15],x=i[0],w=i[4],M=i[8],S=i[12],T=i[1],A=i[5],L=i[9],E=i[13],C=i[2],I=i[6],D=i[10],k=i[14],O=i[3],R=i[7],P=i[11],N=i[15];return r[0]=a*x+s*T+o*C+l*O,r[4]=a*w+s*A+o*I+l*R,r[8]=a*M+s*L+o*D+l*P,r[12]=a*S+s*E+o*k+l*N,r[1]=c*x+u*T+d*C+h*O,r[5]=c*w+u*A+d*I+h*R,r[9]=c*M+u*L+d*D+h*P,r[13]=c*S+u*E+d*k+h*N,r[2]=p*x+f*T+m*C+g*O,r[6]=p*w+f*A+m*I+g*R,r[10]=p*M+f*L+m*D+g*P,r[14]=p*S+f*E+m*k+g*N,r[3]=v*x+_*T+y*C+b*O,r[7]=v*w+_*A+y*I+b*R,r[11]=v*M+_*L+y*D+b*P,r[15]=v*S+_*E+y*k+b*N,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[4]*=t,e[8]*=t,e[12]*=t,e[1]*=t,e[5]*=t,e[9]*=t,e[13]*=t,e[2]*=t,e[6]*=t,e[10]*=t,e[14]*=t,e[3]*=t,e[7]*=t,e[11]*=t,e[15]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[4],i=t[8],r=t[12],a=t[1],s=t[5],o=t[9],l=t[13],c=t[2],u=t[6],d=t[10],h=t[14];return t[3]*(+r*o*u-i*l*u-r*s*d+n*l*d+i*s*h-n*o*h)+t[7]*(+e*o*h-e*l*d+r*a*d-i*a*h+i*l*c-r*o*c)+t[11]*(+e*l*u-e*s*h-r*a*u+n*a*h+r*s*c-n*l*c)+t[15]*(-i*s*c-e*o*u+e*s*d+i*a*u-n*a*d+n*o*c)}transpose(){const t=this.elements;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const i=this.elements;return t.isVector3?(i[12]=t.x,i[13]=t.y,i[14]=t.z):(i[12]=t,i[13]=e,i[14]=n),this}invert(){const t=this.elements,e=t[0],n=t[1],i=t[2],r=t[3],a=t[4],s=t[5],o=t[6],l=t[7],c=t[8],u=t[9],d=t[10],h=t[11],p=t[12],f=t[13],m=t[14],g=t[15],v=u*m*l-f*d*l+f*o*h-s*m*h-u*o*g+s*d*g,_=p*d*l-c*m*l-p*o*h+a*m*h+c*o*g-a*d*g,y=c*f*l-p*u*l+p*s*h-a*f*h-c*s*g+a*u*g,b=p*u*o-c*f*o-p*s*d+a*f*d+c*s*m-a*u*m,x=e*v+n*_+i*y+r*b;if(0===x)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const w=1/x;return t[0]=v*w,t[1]=(f*d*r-u*m*r-f*i*h+n*m*h+u*i*g-n*d*g)*w,t[2]=(s*m*r-f*o*r+f*i*l-n*m*l-s*i*g+n*o*g)*w,t[3]=(u*o*r-s*d*r-u*i*l+n*d*l+s*i*h-n*o*h)*w,t[4]=_*w,t[5]=(c*m*r-p*d*r+p*i*h-e*m*h-c*i*g+e*d*g)*w,t[6]=(p*o*r-a*m*r-p*i*l+e*m*l+a*i*g-e*o*g)*w,t[7]=(a*d*r-c*o*r+c*i*l-e*d*l-a*i*h+e*o*h)*w,t[8]=y*w,t[9]=(p*u*r-c*f*r-p*n*h+e*f*h+c*n*g-e*u*g)*w,t[10]=(a*f*r-p*s*r+p*n*l-e*f*l-a*n*g+e*s*g)*w,t[11]=(c*s*r-a*u*r-c*n*l+e*u*l+a*n*h-e*s*h)*w,t[12]=b*w,t[13]=(c*f*i-p*u*i+p*n*d-e*f*d-c*n*m+e*u*m)*w,t[14]=(p*s*i-a*f*i-p*n*o+e*f*o+a*n*m-e*s*m)*w,t[15]=(a*u*i-c*s*i+c*n*o-e*u*o-a*n*d+e*s*d)*w,this}scale(t){const e=this.elements,n=t.x,i=t.y,r=t.z;return e[0]*=n,e[4]*=i,e[8]*=r,e[1]*=n,e[5]*=i,e[9]*=r,e[2]*=n,e[6]*=i,e[10]*=r,e[3]*=n,e[7]*=i,e[11]*=r,this}getMaxScaleOnAxis(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],i=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,i))}makeTranslation(t,e,n){return this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),i=Math.sin(e),r=1-n,a=t.x,s=t.y,o=t.z,l=r*a,c=r*s;return this.set(l*a+n,l*s-i*o,l*o+i*s,0,l*s+i*o,c*s+n,c*o-i*a,0,l*o-i*s,c*o+i*a,r*o*o+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,i,r,a){return this.set(1,n,r,0,t,1,a,0,e,i,1,0,0,0,0,1),this}compose(t,e,n){const i=this.elements,r=e._x,a=e._y,s=e._z,o=e._w,l=r+r,c=a+a,u=s+s,d=r*l,h=r*c,p=r*u,f=a*c,m=a*u,g=s*u,v=o*l,_=o*c,y=o*u,b=n.x,x=n.y,w=n.z;return i[0]=(1-(f+g))*b,i[1]=(h+y)*b,i[2]=(p-_)*b,i[3]=0,i[4]=(h-y)*x,i[5]=(1-(d+g))*x,i[6]=(m+v)*x,i[7]=0,i[8]=(p+_)*w,i[9]=(m-v)*w,i[10]=(1-(d+f))*w,i[11]=0,i[12]=t.x,i[13]=t.y,i[14]=t.z,i[15]=1,this}decompose(t,e,n){const i=this.elements;let r=Fi.set(i[0],i[1],i[2]).length();const a=Fi.set(i[4],i[5],i[6]).length(),s=Fi.set(i[8],i[9],i[10]).length();this.determinant()<0&&(r=-r),t.x=i[12],t.y=i[13],t.z=i[14],Hi.copy(this);const o=1/r,l=1/a,c=1/s;return Hi.elements[0]*=o,Hi.elements[1]*=o,Hi.elements[2]*=o,Hi.elements[4]*=l,Hi.elements[5]*=l,Hi.elements[6]*=l,Hi.elements[8]*=c,Hi.elements[9]*=c,Hi.elements[10]*=c,e.setFromRotationMatrix(Hi),n.x=r,n.y=a,n.z=s,this}makePerspective(t,e,n,i,r,a){const s=this.elements,o=2*r/(e-t),l=2*r/(n-i),c=(e+t)/(e-t),u=(n+i)/(n-i),d=-(a+r)/(a-r),h=-2*a*r/(a-r);return s[0]=o,s[4]=0,s[8]=c,s[12]=0,s[1]=0,s[5]=l,s[9]=u,s[13]=0,s[2]=0,s[6]=0,s[10]=d,s[14]=h,s[3]=0,s[7]=0,s[11]=-1,s[15]=0,this}
vendor: 32,066 bytes, line 415
415makeOrthographic(t,e,n,i,r,a){const s=this.elements,o=1/(e-t),l=1/(n-i),c=1/(a-r),u=(e+t)*o,d=(n+i)*l,h=(a+r)*c;return s[0]=2*o,s[4]=0,s[8]=0,s[12]=-u,s[1]=0,s[5]=2*l,s[9]=0,s[13]=-d,s[2]=0,s[6]=0,s[10]=-2*c,s[14]=-h,s[3]=0,s[7]=0,s[11]=0,s[15]=1,this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<16;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<16;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}}const Fi=new si,Hi=new Yi,ji=new si(0,0,0),Bi=new si(1,1,1),zi=new si,Ui=new si,Vi=new si,Wi=new Yi,Gi=new ai;class qi{constructor(t=0,e=0,n=0,i=qi.DefaultOrder){this.isEuler=!0,this._x=t,this._y=e,this._z=n,this._order=i}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get order(){return this._order}set order(t){this._order=t,this._onChangeCallback()}set(t,e,n,i=this._order){return this._x=t,this._y=e,this._z=n,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(t){return this._x=t._x,this._y=t._y,this._z=t._z,this._order=t._order,this._onChangeCallback(),this}setFromRotationMatrix(t,e=this._order,n=!0){const i=t.elements,r=i[0],a=i[4],s=i[8],o=i[1],l=i[5],c=i[9],u=i[2],d=i[6],h=i[10];switch(e){case"XYZ":this._y=Math.asin(bn(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-c,h),this._z=Math.atan2(-a,r)):(this._x=Math.atan2(d,l),this._z=0);break;case"YXZ":this._x=Math.asin(-bn(c,-1,1)),Math.abs(c)<.9999999?(this._y=Math.atan2(s,h),this._z=Math.atan2(o,l)):(this._y=Math.atan2(-u,r),this._z=0);break;case"ZXY":this._x=Math.asin(bn(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-u,h),this._z=Math.atan2(-a,l)):(this._y=0,this._z=Math.atan2(o,r));break;case"ZYX":this._y=Math.asin(-bn(u,-1,1)),Math.abs(u)<.9999999?(this._x=Math.atan2(d,h),this._z=Math.atan2(o,r)):(this._x=0,this._z=Math.atan2(-a,l));break;case"YZX":this._z=Math.asin(bn(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(-c,l),this._y=Math.atan2(-u,r)):(this._x=0,this._y=Math.atan2(s,h));break;case"XZY":this._z=Math.asin(-bn(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(d,l),this._y=Math.atan2(s,r)):(this._x=Math.atan2(-c,h),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+e)}return this._order=e,!0===n&&this._onChangeCallback(),this}setFromQuaternion(t,e,n){return Wi.makeRotationFromQuaternion(t),this.setFromRotationMatrix(Wi,e,n)}setFromVector3(t,e=this._order){return this.set(t.x,t.y,t.z,e)}reorder(t){return Gi.setFromEuler(this),this.setFromQuaternion(Gi,t)}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._order===this._order}fromArray(t){return this._x=t[0],this._y=t[1],this._z=t[2],void 0!==t[3]&&(this._order=t[3]),this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._order,t}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}toVector3(){console.error("THREE.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead")}}qi.DefaultOrder="XYZ",qi.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];class Xi{constructor(){this.mask=1}set(t){this.mask=(1<<t|0)>>>0}enable(t){this.mask|=1<<t|0}enableAll(){this.mask=-1}toggle(t){this.mask^=1<<t|0}disable(t){this.mask&=~(1<<t|0)}disableAll(){this.mask=0}test(t){return 0!=(this.mask&t.mask)}isEnabled(t){return 0!=(this.mask&(1<<t|0))}}let $i=0;const Ki=new si,Ji=new ai,Qi=new Yi,Zi=new si,tr=new si,er=new si,nr=new ai,ir=new si(1,0,0),rr=new si(0,1,0),ar=new si(0,0,1),sr={type:"added"},or={type:"removed"};class lr extends fn{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:$i++}),this.uuid=yn(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=lr.DefaultUp.clone();const t=new si,e=new qi,n=new ai,i=new si(1,1,1);e._onChange((function(){n.setFromEuler(e,!1)})),n._onChange((function(){e.setFromQuaternion(n,void 0,!1)})),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:e},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:i},modelViewMatrix:{value:new Yi},normalMatrix:{value:new In}}),this.matrix=new Yi,this.matrixWorld=new Yi,this.matrixAutoUpdate=lr.DefaultMatrixAutoUpdate,this.matrixWorldNeedsUpdate=!1,this.matrixWorldAutoUpdate=lr.DefaultMatrixWorldAutoUpdate,this.layers=new Xi,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}onBeforeRender(){}onAfterRender(){}applyMatrix4(t){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(t),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(t){return this.quaternion.premultiply(t),this}setRotationFromAxisAngle(t,e){this.quaternion.setFromAxisAngle(t,e)}setRotationFromEuler(t){this.quaternion.setFromEuler(t,!0)}setRotationFromMatrix(t){this.quaternion.setFromRotationMatrix(t)}setRotationFromQuaternion(t){this.quaternion.copy(t)}rotateOnAxis(t,e){return Ji.setFromAxisAngle(t,e),this.quaternion.multiply(Ji),this}rotateOnWorldAxis(t,e){return Ji.setFromAxisAngle(t,e),this.quaternion.premultiply(Ji),this}rotateX(t){return this.rotateOnAxis(ir,t)}rotateY(t){return this.rotateOnAxis(rr,t)}rotateZ(t){return this.rotateOnAxis(ar,t)}translateOnAxis(t,e){return Ki.copy(t).applyQuaternion(this.quaternion),this.position.add(Ki.multiplyScalar(e)),this}translateX(t){return this.translateOnAxis(ir,t)}translateY(t){return this.translateOnAxis(rr,t)}translateZ(t){return this.translateOnAxis(ar,t)}localToWorld(t){return t.applyMatrix4(this.matrixWorld)}worldToLocal(t){return t.applyMatrix4(Qi.copy(this.matrixWorld).invert())}lookAt(t,e,n){t.isVector3?Zi.copy(t):Zi.set(t,e,n);const i=this.parent;this.updateWorldMatrix(!0,!1),tr.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?Qi.lookAt(tr,Zi,this.up):Qi.lookAt(Zi,tr,this.up),this.quaternion.setFromRotationMatrix(Qi),i&&(Qi.extractRotation(i.matrixWorld),Ji.setFromRotationMatrix(Qi),this.quaternion.premultiply(Ji.invert()))}add(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.add(arguments[t]);return this}return t===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",t),this):(t&&t.isObject3D?(null!==t.parent&&t.parent.remove(t),t.parent=this,this.children.push(t),t.dispatchEvent(sr)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",t),this)}remove(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.remove(arguments[t]);return this}const e=this.children.indexOf(t);return-1!==e&&(t.parent=null,this.children.splice(e,1),t.dispatchEvent(or)),this}removeFromParent(){const t=this.parent;return null!==t&&t.remove(this),this}clear(){for(let t=0;t<this.children.length;t++){const e=this.children[t];e.parent=null,e.dispatchEvent(or)}return this.children.length=0,this}attach(t){return this.updateWorldMatrix(!0,!1),Qi.copy(this.matrixWorld).invert(),null!==t.parent&&(t.parent.updateWorldMatrix(!0,!1),Qi.multiply(t.parent.matrixWorld)),t.applyMatrix4(Qi),this.add(t),t.updateWorldMatrix(!1,!0),this}getObjectById(t){return this.getObjectByProperty("id",t)}getObjectByName(t){return this.getObjectByProperty("name",t)}getObjectByProperty(t,e){if(this[t]===e)return this;for(let n=0,i=this.children.length;n<i;n++){const i=this.children[n].getObjectByProperty(t,e);if(void 0!==i)return i}}getWorldPosition(t){return this.updateWorldMatrix(!0,!1),t.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(tr,t,er),t}getWorldScale(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(tr,nr,t),t}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(e[8],e[9],e[10]).normalize()}raycast(){}traverse(t){t(this);const e=this.children;for(let n=0,i=e.length;n<i;n++)e[n].traverse(t)}traverseVisible(t){if(!1===this.visible)return;t(this);const e=this.children;for(let n=0,i=e.length;n<i;n++)e[n].traverseVisible(t)}traverseAncestors(t){const e=this.parent;null!==e&&(t(e),e.traverseAncestors(t))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||t)&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,t=!0);const e=this.children;for(let n=0,i=e.length;n<i;n++){const i=e[n];!0!==i.matrixWorldAutoUpdate&&!0!==t||i.updateMatrixWorld(t)}}updateWorldMatrix(t,e){const n=this.parent;if(!0===t&&null!==n&&!0===n.matrixWorldAutoUpdate&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===e){const t=this.children;for(let e=0,n=t.length;e<n;e++){const n=t[e];!0===n.matrixWorldAutoUpdate&&n.updateWorldMatrix(!1,!0)}}}toJSON(t){const e=void 0===t||"string"==typeof t,n={};e&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});const i={};function r(e,n){return void 0===e[n.uuid]&&(e[n.uuid]=n.toJSON(t)),n.uuid}if(i.uuid=this.uuid,i.type=this.type,""!==this.name&&(i.name=this.name),!0===this.castShadow&&(i.castShadow=!0),!0===this.receiveShadow&&(i.receiveShadow=!0),!1===this.visible&&(i.visible=!1),!1===this.frustumCulled&&(i.frustumCulled=!1),0!==this.renderOrder&&(i.renderOrder=this.renderOrder),"{}"!==JSON.stringify(this.userData)&&(i.userData=this.userData),i.layers=this.layers.mask,i.matrix=this.matrix.toArray(),!1===this.matrixAutoUpdate&&(i.matrixAutoUpdate=!1),this.isInstancedMesh&&(i.type="InstancedMesh",i.count=this.count,i.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(i.instanceColor=this.instanceColor.toJSON())),this.isScene)this.background&&(this.background.isColor?i.background=this.background.toJSON():this.background.isTexture&&(i.background=this.background.toJSON(t).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(i.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){i.geometry=r(t.geometries,this.geometry);const e=this.geometry.parameters;if(void 0!==e&&void 0!==e.shapes){const n=e.shapes;if(Array.isArray(n))for(let e=0,i=n.length;e<i;e++){const i=n[e];r(t.shapes,i)}else r(t.shapes,n)}}if(this.isSkinnedMesh&&(i.bindMode=this.bindMode,i.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(r(t.skeletons,this.skeleton),i.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const e=[];for(let n=0,i=this.material.length;n<i;n++)e.push(r(t.materials,this.material[n]));i.material=e}else i.material=r(t.materials,this.material);if(this.children.length>0){i.children=[];for(let e=0;e<this.children.length;e++)i.children.push(this.children[e].toJSON(t).object)}if(this.animations.length>0){i.animations=[];for(let e=0;e<this.animations.length;e++){const n=this.animations[e];i.animations.push(r(t.animations,n))}}if(e){const e=a(t.geometries),i=a(t.materials),r=a(t.textures),s=a(t.images),o=a(t.shapes),l=a(t.skeletons),c=a(t.animations),u=a(t.nodes);e.length>0&&(n.geometries=e),i.length>0&&(n.materials=i),r.length>0&&(n.textures=r),s.length>0&&(n.images=s),o.length>0&&(n.shapes=o),l.length>0&&(n.skeletons=l),c.length>0&&(n.animations=c),u.length>0&&(n.nodes=u)}return n.object=i,n;function a(t){const e=[];for(const n in t){const i=t[n];delete i.metadata,e.push(i)}return e}}clone(t){return(new this.constructor).copy(this,t)}copy(t,e=!0){if(this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.rotation.order=t.rotation.order,this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=t.matrixWorldAutoUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.userData=JSON.parse(JSON.stringify(t.userData)),!0===e)for(let e=0;e<t.children.length;e++){const n=t.children[e];this.add(n.clone())}return this}}lr.DefaultUp=new si(0,1,0),lr.DefaultMatrixAutoUpdate=!0,lr.DefaultMatrixWorldAutoUpdate=!0;const cr=new si,ur=new si,dr=new si,hr=new si,pr=new si,fr=new si,mr=new si,gr=new si,vr=new si,_r=new si;class yr{constructor(t=new si,e=new si,n=new si){this.a=t,this.b=e,this.c=n}static getNormal(t,e,n,i){i.subVectors(n,e),cr.subVectors(t,e),i.cross(cr);const r=i.lengthSq();return r>0?i.multiplyScalar(1/Math.sqrt(r)):i.set(0,0,0)}static getBarycoord(t,e,n,i,r){cr.subVectors(i,e),ur.subVectors(n,e),dr.subVectors(t,e);const a=cr.dot(cr),s=cr.dot(ur),o=cr.dot(dr),l=ur.dot(ur),c=ur.dot(dr),u=a*l-s*s;if(0===u)return r.set(-2,-1,-1);const d=1/u,h=(l*o-s*c)*d,p=(a*c-s*o)*d;return r.set(1-h-p,p,h)}static containsPoint(t,e,n,i){return this.getBarycoord(t,e,n,i,hr),hr.x>=0&&hr.y>=0&&hr.x+hr.y<=1}static getUV(t,e,n,i,r,a,s,o){return this.getBarycoord(t,e,n,i,hr),o.set(0,0),o.addScaledVector(r,hr.x),o.addScaledVector(a,hr.y),o.addScaledVector(s,hr.z),o}static isFrontFacing(t,e,n,i){return cr.subVectors(n,e),ur.subVectors(t,e),cr.cross(ur).dot(i)<0}set(t,e,n){return this.a.copy(t),this.b.copy(e),this.c.copy(n),this}setFromPointsAndIndices(t,e,n,i){return this.a.copy(t[e]),this.b.copy(t[n]),this.c.copy(t[i]),this}setFromAttributeAndIndices(t,e,n,i){return this.a.fromBufferAttribute(t,e),this.b.fromBufferAttribute(t,n),this.c.fromBufferAttribute(t,i),this}clone(){return(new this.constructor).copy(this)}copy(t){return this.a.copy(t.a),this.b.copy(t.b),this.c.copy(t.c),this}getArea(){return cr.subVectors(this.c,this.b),ur.subVectors(this.a,this.b),.5*cr.cross(ur).length()}getMidpoint(t){return t.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return yr.getNormal(this.a,this.b,this.c,t)}getPlane(t){return t.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,e){return yr.getBarycoord(t,this.a,this.b,this.c,e)}getUV(t,e,n,i,r){return yr.getUV(t,this.a,this.b,this.c,e,n,i,r)}containsPoint(t){return yr.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return yr.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(t){return t.intersectsTriangle(this)}closestPointToPoint(t,e){const n=this.a,i=this.b,r=this.c;let a,s;pr.subVectors(i,n),fr.subVectors(r,n),gr.subVectors(t,n);const o=pr.dot(gr),l=fr.dot(gr);if(o<=0&&l<=0)return e.copy(n);vr.subVectors(t,i);const c=pr.dot(vr),u=fr.dot(vr);if(c>=0&&u<=c)return e.copy(i);const d=o*u-c*l;if(d<=0&&o>=0&&c<=0)return a=o/(o-c),e.copy(n).addScaledVector(pr,a);_r.subVectors(t,r);const h=pr.dot(_r),p=fr.dot(_r);if(p>=0&&h<=p)return e.copy(r);const f=h*l-o*p;if(f<=0&&l>=0&&p<=0)return s=l/(l-p),e.copy(n).addScaledVector(fr,s);const m=c*p-h*u;if(m<=0&&u-c>=0&&h-p>=0)return mr.subVectors(r,i),s=(u-c)/(u-c+(h-p)),e.copy(i).addScaledVector(mr,s);const g=1/(m+f+d);return a=f*g,s=d*g,e.copy(n).addScaledVector(pr,a).addScaledVector(fr,s)}equals(t){return t.a.equals(this.a)&&t.b.equals(this.b)&&t.c.equals(this.c)}}let br=0;class xr extends fn{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:br++}),this.uuid=yn(),this.name="",this.type="Material",this.blending=_,this.side=f,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=k,this.blendDst=O,this.blendEquation=M,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=z,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=tn,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=je,this.stencilZFail=je,this.stencilZPass=je,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(t){this._alphaTest>0!=t>0&&this.version++,this._alphaTest=t}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(t){if(void 0!==t)for(const e in t){const n=t[e];if(void 0===n){console.warn("THREE.Material: '"+e+"' parameter is undefined.");continue}const i=this[e];void 0!==i?i&&i.isColor?i.set(n):i&&i.isVector3&&n&&n.isVector3?i.copy(n):this[e]=n:console.warn("THREE."+this.type+": '"+e+"' is not a property of this material.")}}toJSON(t){const e=void 0===t||"string"==typeof t;e&&(t={textures:{},images:{}});const n={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};function i(t){const e=[];for(const n in t){const i=t[n];delete i.metadata,e.push(i)}return e}if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(t).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(t).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(t).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(t).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(t).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(t).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(t).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(t).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(t).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(t).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(t).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(t).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(t).uuid),void 0!==this.attenuationDistance&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==_&&(n.blending=this.blending),this.side!==f&&(n.side=this.side),this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=this.transparent),n.depthFunc=this.depthFunc,n.depthTest=this.depthTest,n.depthWrite=this.depthWrite,n.colorWrite=this.colorWrite,n.stencilWrite=this.stencilWrite,n.stencilWriteMask=this.stencilWriteMask,n.stencilFunc=this.stencilFunc,n.stencilRef=this.stencilRef,n.stencilFuncMask=this.stencilFuncMask,n.stencilFail=this.stencilFail,n.stencilZFail=this.stencilZFail,n.stencilZPass=this.stencilZPass,void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaToCoverage&&(n.alphaToCoverage=this.alphaToCoverage),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=this.premultipliedAlpha),!0===this.wireframe&&(n.wireframe=this.wireframe),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=this.flatShading),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),"{}"!==JSON.stringify(this.userData)&&(n.userData=this.userData),e){const e=i(t.textures),r=i(t.images);e.length>0&&(n.textures=e),r.length>0&&(n.images=r)}return n}clone(){return(new this.constructor).copy(this)}copy(t){this.name=t.name,this.blending=t.blending,this.side=t.side,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;const e=t.clippingPlanes;let n=null;if(null!==e){const t=e.length;n=new Array(t);for(let i=0;i!==t;++i)n[i]=e[i].clone()}return this.clippingPlanes=n,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(t){!0===t&&this.version++}}class wr extends xr{constructor(t){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new Wn(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=q,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}const Mr=new si,Sr=new Cn;class Tr{constructor(t,e,n){if(Array.isArray(t))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=t,this.itemSize=e,this.count=void 0!==t?t.length/e:0,this.normalized=!0===n,this.usage=en,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}setUsage(t){return this.usage=t,this}copy(t){return this.name=t.name,this.array=new t.array.constructor(t.array),this.itemSize=t.itemSize,this.count=t.count,this.normalized=t.normalized,this.usage=t.usage,this}copyAt(t,e,n){t*=this.itemSize,n*=e.itemSize;for(let i=0,r=this.itemSize;i<r;i++)this.array[t+i]=e.array[n+i];return this}copyArray(t){return this.array.set(t),this}applyMatrix3(t){if(2===this.itemSize)for(let e=0,n=this.count;e<n;e++)Sr.fromBufferAttribute(this,e),Sr.applyMatrix3(t),this.setXY(e,Sr.x,Sr.y);else if(3===this.itemSize)for(let e=0,n=this.count;e<n;e++)Mr.fromBufferAttribute(this,e),Mr.applyMatrix3(t),this.setXYZ(e,Mr.x,Mr.y,Mr.z);return this}applyMatrix4(t){for(let e=0,n=this.count;e<n;e++)Mr.fromBufferAttribute(this,e),Mr.applyMatrix4(t),this.setXYZ(e,Mr.x,Mr.y,Mr.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)Mr.fromBufferAttribute(this,e),Mr.applyNormalMatrix(t),this.setXYZ(e,Mr.x,Mr.y,Mr.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)Mr.fromBufferAttribute(this,e),Mr.transformDirection(t),this.setXYZ(e,Mr.x,Mr.y,Mr.z);return this}set(t,e=0){return this.array.set(t,e),this}getX(t){let e=this.array[t*this.itemSize];return this.normalized&&(e=An(e,this.array)),e}setX(t,e){return this.normalized&&(e=Ln(e,this.array)),this.array[t*this.itemSize]=e,this}getY(t){let e=this.array[t*this.itemSize+1];return this.normalized&&(e=An(e,this.array)),e}setY(t,e){return this.normalized&&(e=Ln(e,this.array)),this.array[t*this.itemSize+1]=e,this}getZ(t){let e=this.array[t*this.itemSize+2];return this.normalized&&(e=An(e,this.array)),e}setZ(t,e){return this.normalized&&(e=Ln(e,this.array)),this.array[t*this.itemSize+2]=e,this}getW(t){let e=this.array[t*this.itemSize+3];return this.normalized&&(e=An(e,this.array)),e}setW(t,e){return this.normalized&&(e=Ln(e,this.array)),this.array[t*this.itemSize+3]=e,this}setXY(t,e,n){return t*=this.itemSize,this.normalized&&(e=Ln(e,this.array),n=Ln(n,this.array)),this.array[t+0]=e,this.array[t+1]=n,this}setXYZ(t,e,n,i){return t*=this.itemSize,this.normalized&&(e=Ln(e,this.array),n=Ln(n,this.array),i=Ln(i,this.array)),this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=i,this}setXYZW(t,e,n,i,r){return t*=this.itemSize,this.normalized&&(e=Ln(e,this.array),n=Ln(n,this.array),i=Ln(i,this.array),r=Ln(r,this.array)),this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=i,this.array[t+3]=r,this}onUpload(t){return this.onUploadCallback=t,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const t={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return""!==this.name&&(t.name=this.name),this.usage!==en&&(t.usage=this.usage),0===this.updateRange.offset&&-1===this.updateRange.count||(t.updateRange=this.updateRange),t}copyColorsArray(){console.error("THREE.BufferAttribute: copyColorsArray() was removed in r144.")}copyVector2sArray(){console.error("THREE.BufferAttribute: copyVector2sArray() was removed in r144.")}copyVector3sArray(){console.error("THREE.BufferAttribute: copyVector3sArray() was removed in r144.")}copyVector4sArray(){console.error("THREE.BufferAttribute: copyVector4sArray() was removed in r144.")}}class Ar extends Tr{constructor(t,e,n){super(new Int8Array(t),e,n)}}class Lr extends Tr{constructor(t,e,n){super(new Uint8Array(t),e,n)}}class Er extends Tr{constructor(t,e,n){super(new Uint8ClampedArray(t),e,n)}}class Cr extends Tr{constructor(t,e,n){super(new Int16Array(t),e,n)}}class Ir extends Tr{constructor(t,e,n){super(new Uint16Array(t),e,n)}}class Dr extends Tr{constructor(t,e,n){super(new Int32Array(t),e,n)}}class kr extends Tr{constructor(t,e,n){super(new Uint32Array(t),e,n)}}class Or extends Tr{constructor(t,e,n){super(new Uint16Array(t),e,n),this.isFloat16BufferAttribute=!0}}class Rr extends Tr{constructor(t,e,n){super(new Float32Array(t),e,n)}}class Pr extends Tr{constructor(t,e,n){super(new Float64Array(t),e,n)}}let Nr=0;const Yr=new Yi,Fr=new lr,Hr=new si,jr=new ci,Br=new ci,zr=new si;class Ur extends fn{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:Nr++}),this.uuid=yn(),this.name="",this.type="BufferGeometry",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(t){return Array.isArray(t)?this.index=new(Dn(t)?kr:Ir)(t,1):this.index=t,this}getAttribute(t){return this.attributes[t]}setAttribute(t,e){return this.attributes[t]=e,this}deleteAttribute(t){return delete this.attributes[t],this}hasAttribute(t){return void 0!==this.attributes[t]}addGroup(t,e,n=0){this.groups.push({start:t,count:e,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(t,e){this.drawRange.start=t,this.drawRange.count=e}applyMatrix4(t){const e=this.attributes.position;
vendor: 1,479 bytes, line 415
415void 0!==e&&(e.applyMatrix4(t),e.needsUpdate=!0);const n=this.attributes.normal;if(void 0!==n){const e=(new In).getNormalMatrix(t);n.applyNormalMatrix(e),n.needsUpdate=!0}const i=this.attributes.tangent;return void 0!==i&&(i.transformDirection(t),i.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}applyQuaternion(t){return Yr.makeRotationFromQuaternion(t),this.applyMatrix4(Yr),this}rotateX(t){return Yr.makeRotationX(t),this.applyMatrix4(Yr),this}rotateY(t){return Yr.makeRotationY(t),this.applyMatrix4(Yr),this}rotateZ(t){return Yr.makeRotationZ(t),this.applyMatrix4(Yr),this}translate(t,e,n){return Yr.makeTranslation(t,e,n),this.applyMatrix4(Yr),this}scale(t,e,n){return Yr.makeScale(t,e,n),this.applyMatrix4(Yr),this}lookAt(t){return Fr.lookAt(t),Fr.updateMatrix(),this.applyMatrix4(Fr.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Hr).negate(),this.translate(Hr.x,Hr.y,Hr.z),this}setFromPoints(t){const e=[];for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(i.x,i.y,i.z||0)}return this.setAttribute("position",new Rr(e,3)),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new ci);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set "mesh.frustumCulled" to "fal
415se".',this),void this.boundingBox.set(new si(-1/0,-1/0,-1/0),new si(1/0,1/0,1/0));if(void 0!==t){if(this.boundingBox.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];jr.setFromBufferAttribute(n),this.morphTargetsRelative?(zr.addVectors(this.boundingBox.min,jr.min),this.boundingBox.expandByPoint(zr),zr.addVectors(this.boundingBox.max,jr.max),this.boundingBox.expandByPoint(zr)):(this.boundingBox.expandByPoint(jr.min),this.boundingBox.expandByPoint(jr.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new Ei);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set "mesh.frustumCulled" to "fal
415se".',this),void this.boundingSphere.set(new si,1/0);if(t){const n=this.boundingSphere.center;if(jr.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];Br.setFromBufferAttribute(n),this.morphTargetsRelative?(zr.addVectors(jr.min,Br.min),jr.expandByPoint(zr),zr.addVectors(jr.max,Br.max),jr.expandByPoint(zr)):(jr.expandByPoint(Br.min),jr.expandByPoint(Br.max))}jr.getCenter(n);let i=0;for(let e=0,r=t.count;e<r;e++)zr.fromBufferAttribute(t,e),i=Math.max(i,n.distanceToSquared(zr));if(e)for(let r=0,a=e.length;r<a;r++){const a=e[r],s=this.morphTargetsRelative;for(let e=0,r=a.count;e<r;e++)zr.fromBufferAttribute(a,e),s&&(Hr.fromBufferAttribute(t,e),zr.add(Hr)),i=Math.max(i,n.distanceToSquared(zr))}this.boundingSphere.radius=Math.sqrt(i),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}computeTangents(){const t=this.index,e=this.attributes;if(null===t||void 0===e.position||void 0===e.normal||void 0===e.uv)return void console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");const n=t.array,i=e.position.array,r=e.normal.array,a=e.uv.array,s=i.length/3;!1===this.hasAttribute("tangent")&&this.setAttribute("tangent",new Tr(new Float32Array(4*s),4));const o=this.getAttribute("tangent").array,l=[],c=[];for(let t=0;t<s;t++)l[t]=new si,c[t]=new si;const u=new si,d=new si,h=new si,p=new Cn,f=new Cn,m=new Cn,g=new si,v=new si;function _(t,e,n){u.fromArray(i,3*t),d.fromArray(i,3*e),h.fromArray(i,3*n),p.fromArray(a,2*t),f.fromArray(a,2*e),m.fromArray(a,2*n),d.sub(u),h.sub(u),f.sub(p),m.sub(p);const r=1/(f.x*m.y-m.x*f.y);isFinite(r)&&(g.copy(d).multiplyScalar(m.y).addScaledVector(h,-f.y).multiplyScalar(r),v.copy(h).multiplyScalar(f.x).addScaledVector(d,-m.x).multiplyScalar(r),l[t].add(g),l[e].add(g),l[n].add(g),c[t].add(v),c[e].add(v),c[n].add(v))}let y=this.groups;0===y.length&&(y=[{start:0,count:n.length}]);for(let t=0,e=y.length;t<e;++t){const e=y[t],i=e.start;for(let t=i,r=i+e.count;t<r;t+=3)_(n[t+0],n[t+1],n[t+2])}const b=new si,x=new si,w=new si,M=new si;function S(t){w.fromArray(r,3*t),M.copy(w);const e=l[t];b.copy(e),b.sub(w.multiplyScalar(w.dot(e))).normalize(),x.crossVectors(M,e);const n=x.dot(c[t])<0?-1:1;o[4*t]=b.x,o[4*t+1]=b.y,o[4*t+2]=b.z,o[4*t+3]=n}for(let t=0,e=y.length;t<e;++t){const e=y[t],i=e.start;for(let t=i,r=i+e.count;t<r;t+=3)S(n[t+0]),S(n[t+1]),S(n[t+2])}}computeVertexNormals(){const t=this.index,e=this.getAttribute("position");if(void 0!==e){let n=this.getAttribute("normal");if(void 0===n)n=new Tr(new Float32Array(3*e.count),3),this.setAttribute("normal",n);else for(let t=0,e=n.count;t<e;t++)n.setXYZ(t,0,0,0);const i=new si,r=new si,a=new si,s=new si,o=new si,l=new si,c=new si,u=new si;if(t)for(let d=0,h=t.count;d<h;d+=3){const h=t.getX(d+0),p=t.getX(d+1),f=t.getX(d+2);i.fromBufferAttribute(e,h),r.fromBufferAttribute(e,p),a.fromBufferAttribute(e,f),c.subVectors(a,r),u.subVectors(i,r),c.cross(u),s.fromBufferAttribute(n,h),o.fromBufferAttribute(n,p),l.fromBufferAttribute(n,f),s.add(c),o.add(c),l.add(c),n.setXYZ(h,s.x,s.y,s.z),n.setXYZ(p,o.x,o.y,o.z),n.setXYZ(f,l.x,l.y,l.z)}else for(let t=0,s=e.count;t<s;t+=3)i.fromBufferAttribute(e,t+0),r.fromBufferAttribute(e,t+1),a.fromBufferAttribute(e,t+2),c.subVectors(a,r),u.subVectors(i,r),c.cross(u),n.setXYZ(t+0,c.x,c.y,c.z),n.setXYZ(t+1,c.x,c.y,c.z),n.setXYZ(t+2,c.x,c.y,c.z);this.normalizeNormals(),n.needsUpdate=!0}}merge(){return console.error("THREE.BufferGeometry.merge() has been removed. Use THREE.BufferGeometryUtils.mergeBufferGeometries() instead."),this}normalizeNormals(){const t=this.attributes.normal;for(let e=0,n=t.count;e<n;e++)zr.fromBufferAttribute(t,e),zr.normalize(),t.setXYZ(e,zr.x,zr.y,zr.z)}toNonIndexed(){function t(t,e){const n=t.array,i=t.itemSize,r=t.normalized,a=new n.constructor(e.length*i);let s=0,o=0;for(let r=0,l=e.length;r<l;r++){s=t.isInterleavedBufferAttribute?e[r]*t.data.stride+t.offset:e[r]*i;for(let t=0;t<i;t++)a[o++]=n[s++]}return new Tr(a,i,r)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;
vendor: 22,283 bytes, line 415
415const e=new Ur,n=this.index.array,i=this.attributes;for(const r in i){const a=t(i[r],n);e.setAttribute(r,a)}const r=this.morphAttributes;for(const i in r){const a=[],s=r[i];for(let e=0,i=s.length;e<i;e++){const i=t(s[e],n);a.push(i)}e.morphAttributes[i]=a}e.morphTargetsRelative=this.morphTargetsRelative;const a=this.groups;for(let t=0,n=a.length;t<n;t++){const n=a[t];e.addGroup(n.start,n.count,n.materialIndex)}return e}toJSON(){const t={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(t.uuid=this.uuid,t.type=this.type,""!==this.name&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),void 0!==this.parameters){const e=this.parameters;for(const n in e)void 0!==e[n]&&(t[n]=e[n]);return t}t.data={attributes:{}};const e=this.index;null!==e&&(t.data.index={type:e.array.constructor.name,array:Array.prototype.slice.call(e.array)});const n=this.attributes;for(const e in n){const i=n[e];t.data.attributes[e]=i.toJSON(t.data)}const i={};let r=!1;for(const e in this.morphAttributes){const n=this.morphAttributes[e],a=[];for(let e=0,i=n.length;e<i;e++){const i=n[e];a.push(i.toJSON(t.data))}a.length>0&&(i[e]=a,r=!0)}r&&(t.data.morphAttributes=i,t.data.morphTargetsRelative=this.morphTargetsRelative);const a=this.groups;a.length>0&&(t.data.groups=JSON.parse(JSON.stringify(a)));const s=this.boundingSphere;return null!==s&&(t.data.boundingSphere={center:s.center.toArray(),radius:s.radius}),t}clone(){return(new this.constructor).copy(this)}copy(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const e={};this.name=t.name;const n=t.index;null!==n&&this.setIndex(n.clone(e));const i=t.attributes;for(const t in i){const n=i[t];this.setAttribute(t,n.clone(e))}const r=t.morphAttributes;for(const t in r){const n=[],i=r[t];for(let t=0,r=i.length;t<r;t++)n.push(i[t].clone(e));this.morphAttributes[t]=n}this.morphTargetsRelative=t.morphTargetsRelative;const a=t.groups;for(let t=0,e=a.length;t<e;t++){const e=a[t];this.addGroup(e.start,e.count,e.materialIndex)}const s=t.boundingBox;null!==s&&(this.boundingBox=s.clone());const o=t.boundingSphere;return null!==o&&(this.boundingSphere=o.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,void 0!==t.parameters&&(this.parameters=Object.assign({},t.parameters)),this}dispose(){this.dispatchEvent({type:"dispose"})}}const Vr=new Yi,Wr=new Ni,Gr=new Ei,qr=new si,Xr=new si,$r=new si,Kr=new si,Jr=new si,Qr=new si,Zr=new si,ta=new si,ea=new si,na=new Cn,ia=new Cn,ra=new Cn,aa=new si,sa=new si;class oa extends lr{constructor(t=new Ur,e=new wr){super(),this.isMesh=!0,this.type="Mesh",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),void 0!==t.morphTargetInfluences&&(this.morphTargetInfluences=t.morphTargetInfluences.slice()),void 0!==t.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),this.material=t.material,this.geometry=t.geometry,this}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}raycast(t,e){const n=this.geometry,i=this.material,r=this.matrixWorld;if(void 0===i)return;if(null===n.boundingSphere&&n.computeBoundingSphere(),Gr.copy(n.boundingSphere),Gr.applyMatrix4(r),!1===t.ray.intersectsSphere(Gr))return;if(Vr.copy(r).invert(),Wr.copy(t.ray).applyMatrix4(Vr),null!==n.boundingBox&&!1===Wr.intersectsBox(n.boundingBox))return;let a;const s=n.index,o=n.attributes.position,l=n.morphAttributes.position,c=n.morphTargetsRelative,u=n.attributes.uv,d=n.attributes.uv2,h=n.groups,p=n.drawRange;if(null!==s)if(Array.isArray(i))for(let n=0,r=h.length;n<r;n++){const r=h[n],f=i[r.materialIndex];for(let n=Math.max(r.start,p.start),i=Math.min(s.count,Math.min(r.start+r.count,p.start+p.count));n<i;n+=3){const i=s.getX(n),h=s.getX(n+1),p=s.getX(n+2);a=la(this,f,t,Wr,o,l,c,u,d,i,h,p),a&&(a.faceIndex=Math.floor(n/3),a.face.materialIndex=r.materialIndex,e.push(a))}}else{for(let n=Math.max(0,p.start),r=Math.min(s.count,p.start+p.count);n<r;n+=3){const r=s.getX(n),h=s.getX(n+1),p=s.getX(n+2);a=la(this,i,t,Wr,o,l,c,u,d,r,h,p),a&&(a.faceIndex=Math.floor(n/3),e.push(a))}}else if(void 0!==o)if(Array.isArray(i))for(let n=0,r=h.length;n<r;n++){const r=h[n],s=i[r.materialIndex];for(let n=Math.max(r.start,p.start),i=Math.min(o.count,Math.min(r.start+r.count,p.start+p.count));n<i;n+=3){a=la(this,s,t,Wr,o,l,c,u,d,n,n+1,n+2),a&&(a.faceIndex=Math.floor(n/3),a.face.materialIndex=r.materialIndex,e.push(a))}}else{for(let n=Math.max(0,p.start),r=Math.min(o.count,p.start+p.count);n<r;n+=3){a=la(this,i,t,Wr,o,l,c,u,d,n,n+1,n+2),a&&(a.faceIndex=Math.floor(n/3),e.push(a))}}}}function la(t,e,n,i,r,a,s,o,l,c,u,d){qr.fromBufferAttribute(r,c),Xr.fromBufferAttribute(r,u),$r.fromBufferAttribute(r,d);const h=t.morphTargetInfluences;if(a&&h){Zr.set(0,0,0),ta.set(0,0,0),ea.set(0,0,0);for(let t=0,e=a.length;t<e;t++){const e=h[t],n=a[t];0!==e&&(Kr.fromBufferAttribute(n,c),Jr.fromBufferAttribute(n,u),Qr.fromBufferAttribute(n,d),s?(Zr.addScaledVector(Kr,e),ta.addScaledVector(Jr,e),ea.addScaledVector(Qr,e)):(Zr.addScaledVector(Kr.sub(qr),e),ta.addScaledVector(Jr.sub(Xr),e),ea.addScaledVector(Qr.sub($r),e)))}qr.add(Zr),Xr.add(ta),$r.add(ea)}t.isSkinnedMesh&&(t.boneTransform(c,qr),t.boneTransform(u,Xr),t.boneTransform(d,$r));const p=function(t,e,n,i,r,a,s,o){let l;if(l=e.side===m?i.intersectTriangle(s,a,r,!0,o):i.intersectTriangle(r,a,s,e.side!==g,o),null===l)return null;sa.copy(o),sa.applyMatrix4(t.matrixWorld);const c=n.ray.origin.distanceTo(sa);return c<n.near||c>n.far?null:{distance:c,point:sa.clone(),object:t}}(t,e,n,i,qr,Xr,$r,aa);if(p){o&&(na.fromBufferAttribute(o,c),ia.fromBufferAttribute(o,u),ra.fromBufferAttribute(o,d),p.uv=yr.getUV(aa,qr,Xr,$r,na,ia,ra,new Cn)),l&&(na.fromBufferAttribute(l,c),ia.fromBufferAttribute(l,u),ra.fromBufferAttribute(l,d),p.uv2=yr.getUV(aa,qr,Xr,$r,na,ia,ra,new Cn));const t={a:c,b:u,c:d,normal:new si,materialIndex:0};yr.getNormal(qr,Xr,$r,t.normal),p.face=t}return p}class ca extends Ur{constructor(t=1,e=1,n=1,i=1,r=1,a=1){super(),this.type="BoxGeometry",this.parameters={width:t,height:e,depth:n,widthSegments:i,heightSegments:r,depthSegments:a};const s=this;i=Math.floor(i),r=Math.floor(r),a=Math.floor(a);const o=[],l=[],c=[],u=[];let d=0,h=0;function p(t,e,n,i,r,a,p,f,m,g,v){const _=a/m,y=p/g,b=a/2,x=p/2,w=f/2,M=m+1,S=g+1;let T=0,A=0;const L=new si;for(let a=0;a<S;a++){const s=a*y-x;for(let o=0;o<M;o++){const d=o*_-b;L[t]=d*i,L[e]=s*r,L[n]=w,l.push(L.x,L.y,L.z),L[t]=0,L[e]=0,L[n]=f>0?1:-1,c.push(L.x,L.y,L.z),u.push(o/m),u.push(1-a/g),T+=1}}for(let t=0;t<g;t++)for(let e=0;e<m;e++){const n=d+e+M*t,i=d+e+M*(t+1),r=d+(e+1)+M*(t+1),a=d+(e+1)+M*t;o.push(n,i,a),o.push(i,r,a),A+=6}s.addGroup(h,A,v),h+=A,d+=T}p("z","y","x",-1,-1,n,e,t,a,r,0),p("z","y","x",1,-1,n,e,-t,a,r,1),p("x","z","y",1,1,t,n,e,i,a,2),p("x","z","y",1,-1,t,n,-e,i,a,3),p("x","y","z",1,-1,t,e,n,i,r,4),p("x","y","z",-1,-1,t,e,-n,i,r,5),this.setIndex(o),this.setAttribute("position",new Rr(l,3)),this.setAttribute("normal",new Rr(c,3)),this.setAttribute("uv",new Rr(u,2))}static fromJSON(t){return new ca(t.width,t.height,t.depth,t.widthSegments,t.heightSegments,t.depthSegments)}}function ua(t){const e={};for(const n in t){e[n]={};for(const i in t[n]){const r=t[n][i];r&&(r.isColor||r.isMatrix3||r.isMatrix4||r.isVector2||r.isVector3||r.isVector4||r.isTexture||r.isQuaternion)?e[n][i]=r.clone():Array.isArray(r)?e[n][i]=r.slice():e[n][i]=r}}return e}function da(t){const e={};for(let n=0;n<t.length;n++){const i=ua(t[n]);for(const t in i)e[t]=i[t]}return e}const ha={clone:ua,merge:da};class pa extends xr{constructor(t){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",this.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==t&&this.setValues(t)}copy(t){return super.copy(t),this.fragmentShader=t.fragmentShader,this.vertexShader=t.vertexShader,this.uniforms=ua(t.uniforms),this.uniformsGroups=function(t){const e=[];for(let n=0;n<t.length;n++)e.push(t[n].clone());return e}(t.uniformsGroups),this.defines=Object.assign({},t.defines),this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.fog=t.fog,this.lights=t.lights,this.clipping=t.clipping,this.extensions=Object.assign({},t.extensions),this.glslVersion=t.glslVersion,this}toJSON(t){const e=super.toJSON(t);e.glslVersion=this.glslVersion,e.uniforms={};for(const n in this.uniforms){const i=this.uniforms[n].value;i&&i.isTexture?e.uniforms[n]={type:"t",value:i.toJSON(t).uuid}:i&&i.isColor?e.uniforms[n]={type:"c",value:i.getHex()}:i&&i.isVector2?e.uniforms[n]={type:"v2",value:i.toArray()}:i&&i.isVector3?e.uniforms[n]={type:"v3",value:i.toArray()}:i&&i.isVector4?e.uniforms[n]={type:"v4",value:i.toArray()}:i&&i.isMatrix3?e.uniforms[n]={type:"m3",value:i.toArray()}:i&&i.isMatrix4?e.uniforms[n]={type:"m4",value:i.toArray()}:e.uniforms[n]={value:i}}Object.keys(this.defines).length>0&&(e.defines=this.defines),e.vertexShader=this.vertexShader,e.fragmentShader=this.fragmentShader;const n={};for(const t in this.extensions)!0===this.extensions[t]&&(n[t]=!0);return Object.keys(n).length>0&&(e.extensions=n),e}}class fa extends lr{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Yi,this.projectionMatrix=new Yi,this.projectionMatrixInverse=new Yi}copy(t,e){return super.copy(t,e),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(-e[8],-e[9],-e[10]).normalize()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(t,e){super.updateWorldMatrix(t,e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return(new this.constructor).copy(this)}}class ma extends fa{constructor(t=50,e=1,n=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=t,this.zoom=1,this.near=n,this.far=i,this.focus=10,this.aspect=e,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.fov=t.fov,this.zoom=t.zoom,this.near=t.near,this.far=t.far,this.focus=t.focus,this.aspect=t.aspect,this.view=null===t.view?null:Object.assign({},t.view),this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this}setFocalLength(t){const e=.5*this.getFilmHeight()/t;this.fov=2*_n*Math.atan(e),this.updateProjectionMatrix()}getFocalLength(){const t=Math.tan(.5*vn*this.fov);return.5*this.getFilmHeight()/t}getEffectiveFOV(){return 2*_n*Math.atan(Math.tan(.5*vn*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(t,e,n,i,r,a){this.aspect=t/e,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=i,this.view.width=r,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=this.near;let e=t*Math.tan(.5*vn*this.fov)/this.zoom,n=2*e,i=this.aspect*n,r=-.5*i;const a=this.view;if(null!==this.view&&this.view.enabled){const t=a.fullWidth,s=a.fullHeight;r+=a.offsetX*i/t,e-=a.offsetY*n/s,i*=a.width/t,n*=a.height/s}const s=this.filmOffset;0!==s&&(r+=t*s/this.getFilmWidth()),this.projectionMatrix.makePerspective(r,r+i,e,e-n,t,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.fov=this.fov,e.object.zoom=this.zoom,e.object.near=this.near,e.object.far=this.far,e.object.focus=this.focus,e.object.aspect=this.aspect,null!==this.view&&(e.object.view=Object.assign({},this.view)),e.object.filmGauge=this.filmGauge,e.object.filmOffset=this.filmOffset,e}}class ga extends lr{constructor(t,e,n){super(),this.type="CubeCamera",this.renderTarget=n;const i=new ma(90,1,t,e);i.layers=this.layers,i.up.set(0,-1,0),i.lookAt(new si(1,0,0)),this.add(i);const r=new ma(90,1,t,e);r.layers=this.layers,r.up.set(0,-1,0),r.lookAt(new si(-1,0,0)),this.add(r);const a=new ma(90,1,t,e);a.layers=this.layers,a.up.set(0,0,1),a.lookAt(new si(0,1,0)),this.add(a);const s=new ma(90,1,t,e);s.layers=this.layers,s.up.set(0,0,-1),s.lookAt(new si(0,-1,0)),this.add(s);const o=new ma(90,1,t,e);o.layers=this.layers,o.up.set(0,-1,0),o.lookAt(new si(0,0,1)),this.add(o);const l=new ma(90,1,t,e);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new si(0,0,-1)),this.add(l)}update(t,e){null===this.parent&&this.updateMatrixWorld();const n=this.renderTarget,[i,r,a,s,o,l]=this.children,c=t.getRenderTarget(),u=t.toneMapping,d=t.xr.enabled;t.toneMapping=K,t.xr.enabled=!1;const h=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,t.setRenderTarget(n,0),t.render(e,i),t.setRenderTarget(n,1),t.render(e,r),t.setRenderTarget(n,2),t.render(e,a),t.setRenderTarget(n,3),t.render(e,s),t.setRenderTarget(n,4),t.render(e,o),n.texture.generateMipmaps=h,t.setRenderTarget(n,5),t.render(e,l),t.setRenderTarget(c),t.toneMapping=u,t.xr.enabled=d,n.texture.needsPMREMUpdate=!0}}class va extends Jn{constructor(t,e,n,i,r,a,s,o,l,c){super(t=void 0!==t?t:[],e=void 0!==e?e:it,n,i,r,a,s,o,l,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(t){this.image=t}}class _a extends Zn{constructor(t,e={}){super(t,t,e),this.isWebGLCubeRenderTarget=!0;const n={width:t,height:t,depth:1},i=[n,n,n,n,n,n];this.texture=new va(i,e.mapping,e.wrapS,e.wrapT,e.magFilter,e.minFilter,e.format,e.type,e.anisotropy,e.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==e.generateMipmaps&&e.generateMipmaps,this.texture.minFilter=void 0!==e.minFilter?e.minFilter:gt}fromEquirectangularTexture(t,e){this.texture.type=e.type,this.texture.encoding=e.encoding,this.texture.generateMipmaps=e.generateMipmaps,this.texture.minFilter=e.minFilter,this.texture.magFilter=e.magFilter;const n={uniforms:{tEquirect:{value:null}},vertexShader:"\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t\t\t\t\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t}\n\t\t\t",fragmentShader:"\n\n\t\t\t\tuniform sampler2D tEquirect;\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\t#include <common>\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvec3 direction = normalize( vWorldDirection );\n\n\t\t\t\t\tvec2 sampleUV = equirectUv( direction );\n\n\t\t\t\t\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t\t\t\t}\n\t\t\t"},i=new ca(5,5,5),r=new pa({name:"CubemapFromEquirect",uniforms:ua(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:m,blending:v});r.uniforms.tEquirect.value=e;const a=new oa(i,r),s=e.minFilter;e.minFilter===yt&&(e.minFilter=gt);return new ga(1,10,this).update(t,a),e.minFilter=s,a.geometry.dispose(),a.material.dispose(),this}clear(t,e,n,i){const r=t.getRenderTarget();for(let r=0;r<6;r++)t.setRenderTarget(this,r),t.clear(e,n,i);t.setRenderTarget(r)}}const ya=new si,ba=new si,xa=new In;class wa{constructor(t=new si(1,0,0),e=0){this.isPlane=!0,this.normal=t,this.constant=e}set(t,e){return this.normal.copy(t),this.constant=e,this}setComponents(t,e,n,i){return this.normal.set(t,e,n),this.constant=i,this}setFromNormalAndCoplanarPoint(t,e){return this.normal.copy(t),this.constant=-e.dot(this.normal),this}setFromCoplanarPoints(t,e,n){const i=ya.subVectors(n,e).cross(ba.subVectors(t,e)).normalize();return this.setFromNormalAndCoplanarPoint(i,t),this}copy(t){return this.normal.copy(t.normal),this.constant=t.constant,this}normalize(){const t=1/this.normal.length();return this.normal.multiplyScalar(t),this.constant*=t,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(t){return this.normal.dot(t)+this.constant}distanceToSphere(t){return this.distanceToPoint(t.center)-t.radius}projectPoint(t,e){return e.copy(this.normal).multiplyScalar(-this.distanceToPoint(t)).add(t)}intersectLine(t,e){const n=t.delta(ya),i=this.normal.dot(n);if(0===i)return 0===this.distanceToPoint(t.start)?e.copy(t.start):null;const r=-(t.start.dot(this.normal)+this.constant)/i;return r<0||r>1?null:e.copy(n).multiplyScalar(r).add(t.start)}intersectsLine(t){const e=this.distanceToPoint(t.start),n=this.distanceToPoint(t.end);return e<0&&n>0||n<0&&e>0}intersectsBox(t){return t.intersectsPlane(this)}intersectsSphere(t){return t.intersectsPlane(this)}coplanarPoint(t){return t.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(t,e){const n=e||xa.getNormalMatrix(t),i=this.coplanarPoint(ya).applyMatrix4(t),r=this.normal.applyMatrix3(n).normalize();return this.constant=-i.dot(r),this}translate(t){return this.constant-=t.dot(this.normal),this}equals(t){return t.normal.equals(this.normal)&&t.constant===this.constant}clone(){return(new this.constructor).copy(this)}}const Ma=new Ei,Sa=new si;class Ta{constructor(t=new wa,e=new wa,n=new wa,i=new wa,r=new wa,a=new wa){this.planes=[t,e,n,i,r,a]}set(t,e,n,i,r,a){const s=this.planes;return s[0].copy(t),s[1].copy(e),s[2].copy(n),s[3].copy(i),s[4].copy(r),s[5].copy(a),this}copy(t){const e=this.planes;for(let n=0;n<6;n++)e[n].copy(t.planes[n]);return this}setFromProjectionMatrix(t){const e=this.planes,n=t.elements,i=n[0],r=n[1],a=n[2],s=n[3],o=n[4],l=n[5],c=n[6],u=n[7],d=n[8],h=n[9],p=n[10],f=n[11],m=n[12],g=n[13],v=n[14],_=n[15];return e[0].setComponents(s-i,u-o,f-d,_-m).normalize(),e[1].setComponents(s+i,u+o,f+d,_+m).normalize(),e[2].setComponents(s+r,u+l,f+h,_+g).normalize(),e[3].setComponents(s-r,u-l,f-h,_-g).normalize(),e[4].setComponents(s-a,u-c,f-p,_-v).normalize(),e[5].setComponents(s+a,u+c,f+p,_+v).normalize(),this}intersectsObject(t){const e=t.geometry;return null===e.boundingSphere&&e.computeBoundingSphere(),Ma.copy(e.boundingSphere).applyMatrix4(t.matrixWorld),this.intersectsSphere(Ma)}intersectsSprite(t){return Ma.center.set(0,0,0),Ma.radius=.7071067811865476,Ma.applyMatrix4(t.matrixWorld),this.intersectsSphere(Ma)}intersectsSphere(t){const e=this.planes,n=t.center,i=-t.radius;for(let t=0;t<6;t++){if(e[t].distanceToPoint(n)<i)return!1}return!0}intersectsBox(t){const e=this.planes;for(let n=0;n<6;n++){const i=e[n];if(Sa.x=i.normal.x>0?t.max.x:t.min.x,Sa.y=i.normal.y>0?t.max.y:t.min.y,Sa.z=i.normal.z>0?t.max.z:t.min.z,i.distanceToPoint(Sa)<0)return!1}return!0}containsPoint(t){const e=this.planes;for(let n=0;n<6;n++)if(e[n].distanceToPoint(t)<0)return!1;return!0}clone(){return(new this.constructor).copy(this)}}function Aa(){let t=null,e=!1,n=null,i=null;function r(e,a){n(e,a),i=t.requestAnimationFrame(r)}return{start:function(){!0!==e&&null!==n&&(i=t.requestAnimationFrame(r),e=!0)},stop:function(){t.cancelAnimationFrame(i),e=!1},setAnimationLoop:function(t){n=t},setContext:function(e){t=e}}}function La(t,e){const n=e.isWebGL2,i=new WeakMap;return{get:function(t){return t.isInterleavedBufferAttribute&&(t=t.data),i.get(t)},remove:function(e){e.isInterleavedBufferAttribute&&(e=e.data);const n=i.get(e);n&&(t.deleteBuffer(n.buffer),i.delete(e))},update:function(e,r){if(e.isGLBufferAttribute){const t=i.get(e);return void((!t||t.version<e.version)&&i.set(e,{buffer:e.buffer,type:e.type,bytesPerElement:e.elementSize,version:e.version}))}e.isInterleavedBufferAttribute&&(e=e.data);const a=i.get(e);void 0===a?i.set(e,function(e,i){const r=e.array,a=e.usage,s=t.createBuffer();let o;if(t.bindBuffer(i,s),t.bufferData(i,r,a),e.onUploadCallback(),r instanceof Float32Array)o=5126;else if(r instanceof Uint16Array)if(e.isFloat16BufferAttribute){if(!n)throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");o=5131}else o=5123;else if(r instanceof Int16Array)o=5122;else if(r instanceof Uint32Array)o=5125;else if(r instanceof Int32Array)o=5124;else if(r instanceof Int8Array)o=5120;else if(r instanceof Uint8Array)o=5121;else{if(!(r instanceof Uint8ClampedArray))throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+r);o=5121}return{buffer:s,type:o,bytesPerElement:r.BYTES_PER_ELEMENT,version:e.version}}(e,r)):a.version<e.version&&(!function(e,i,r){const a=i.array,s=i.updateRange;t.bindBuffer(r,e),-1===s.count?t.bufferSubData(r,0,a):(n?t.bufferSubData(r,s.offset*a.BYTES_PER_ELEMENT,a,s.offset,s.count):t.bufferSubData(r,s.offset*a.BYTES_PER_ELEMENT,a.subarray(s.offset,s.offset+s.count)),s.count=-1)}(a.buffer,e,r),a.version=e.version)}}}class Ea extends Ur{constructor(t=1,e=1,n=1,i=1){super(),this.type="PlaneGeometry",this.parameters={width:t,height:e,widthSegments:n,heightSegments:i};const r=t/2,a=e/2,s=Math.floor(n),o=Math.floor(i),l=s+1,c=o+1,u=t/s,d=e/o,h=[],p=[],f=[],m=[];for(let t=0;t<c;t++){const e=t*d-a;for(let n=0;n<l;n++){const i=n*u-r;p.push(i,-e,0),f.push(0,0,1),m.push(n/s),m.push(1-t/o)}}for(let t=0;t<o;t++)for(let e=0;e<s;e++){const n=e+l*t,i=e+l*(t+1),r=e+1+l*(t+1),a=e+1+l*t;h.push(n,i,a),h.push(i,r,a)}this.setIndex(h),this.setAttribute("position",new Rr(p,3)),this.setAttribute("normal",new Rr(f,3)),this.setAttribute("uv",new Rr(m,2))}static fromJSON(t){return new Ea(t.width,t.height,t.widthSegments,t.heightSegments)}}const Ca
vendor: 118,973 bytes, line 415
415={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef USE_ALPHATEST\n\tif ( diffuseColor.a < alphaTest ) discard;\n#endif",alphatest_pars_fragment:"#ifdef USE_ALPHATEST\n\tuniform float alphaTest;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n\t#endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"vec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n    float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n    float x2 = x * x;\n    float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n    return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float roughness ) {\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( f0, f90, dotVH );\n\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );\n\treturn F * ( V * D );\n}\n#ifdef USE_IRIDESCENCE\n\tvec3 BRDF_GGX_Iridescence( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float iridescence, const in vec3 iridescenceFresnel, const in float roughness ) {\n\t\tfloat alpha = pow2( roughness );\n\t\tvec3 halfDir = normalize( lightDir + viewDir );\n\t\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\t\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\t\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\t\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\t\tvec3 F = mix( F_Schlick( f0, f90, dotVH ), iridescenceFresnel, iridescence );\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\t\tfloat D = D_GGX( alpha, dotNH );\n\t\treturn F * ( V * D );\n\t}\n#endif\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\nfloat G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie( float roughness, float dotNH ) {\n\tfloat alpha = pow2( roughness );\n\tfloat invAlpha = 1.0 / alpha;\n\tfloat cos2h = dotNH * dotNH;\n\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 );\n\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n}\nfloat V_Neubelt( float dotNV, float dotNL ) {\n\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n}\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat D = D_Charlie( sheenRoughness, dotNH );\n\tfloat V = V_Neubelt( dotNV, dotNL );\n\treturn sheenColor * ( D * V );\n}\n#endif",iridescence_fragment:"#ifdef USE_IRIDESCENCE\n\tconst mat3 XYZ_TO_REC709 = mat3(\n\t\t 3.2404542, -0.9692660,  0.0556434,\n\t\t-1.5371385,  1.8760108, -0.2040259,\n\t\t-0.4985314,  0.0415560,  1.0572252\n\t);\n\tvec3 Fresnel0ToIor( vec3 fresnel0 ) {\n\t\tvec3 sqrtF0 = sqrt( fresnel0 );\n\t\treturn ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n\t}\n\tvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n\t}\n\tfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n\t}\n\tvec3 evalSensitivity( float OPD, vec3 shift ) {\n\t\tfloat phase = 2.0 * PI * OPD * 1.0e-9;\n\t\tvec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n\t\tvec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n\t\tvec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n\t\tvec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n\t\txyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n\t\txyz /= 1.0685e-7;\n\t\tvec3 rgb = XYZ_TO_REC709 * xyz;\n\t\treturn rgb;\n\t}\n\tvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n\t\tvec3 I;\n\t\tfloat iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n\t\tfloat sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n\t\tfloat cosTheta2Sq = 1.0 - sinTheta2Sq;\n\t\tif ( cosTheta2Sq < 0.0 ) {\n\t\t\t return vec3( 1.0 );\n\t\t}\n\t\tfloat cosTheta2 = sqrt( cosTheta2Sq );\n\t\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\n\t\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\n\t\tfloat R21 = R12;\n\t\tfloat T121 = 1.0 - R12;\n\t\tfloat phi12 = 0.0;\n\t\tif ( iridescenceIOR < outsideIOR ) phi12 = PI;\n\t\tfloat phi21 = PI - phi12;\n\t\tvec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) );\t\tvec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\n\t\tvec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n\t\tvec3 phi23 = vec3( 0.0 );\n\t\tif ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n\t\tif ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n\t\tif ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\n\t\tfloat OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n\t\tvec3 phi = vec3( phi21 ) + phi23;\n\t\tvec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n\t\tvec3 r123 = sqrt( R123 );\n\t\tvec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n\t\tvec3 C0 = R12 + Rs;\n\t\tI = C0;\n\t\tvec3 Cm = Rs - T121;\n\t\tfor ( int m = 1; m <= 2; ++ m ) {\n\t\t\tCm *= r123;\n\t\t\tvec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n\t\t\tI += Cm * Sm;\n\t\t}\n\t\treturn max( I, vec3( 0.0 ) );\n\t}\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vUv );\n\t\tvec2 dSTdy = dFdy( vUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n\t\tvec3 vSigmaX = dFdx( surf_pos.xyz );\n\t\tvec3 vSigmaY = dFdy( surf_pos.xyz );\n\t\tvec3 vN = surf_norm;\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\t\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\t}\n#endif",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\tplane = clippingPlanes[ i ];\n\t\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n\t}\n\t#pragma unroll_loop_end\n\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\tbool clipped = true;\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\tif ( clipped ) discard;\n\t#endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n\tdiffuseColor *= vColor;\n#elif defined( USE_COLOR )\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR )\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvarying vec3 vColor;\n#endif",color_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n\tvColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n\tvColor.xyz *= instanceColor.xyz;\n#endif",common:"#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nvec3 pow2( const in vec3 x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract( sin( sn ) * c );\n}\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat luminance( const in vec3 rgb ) {\n\tconst vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 );\n\treturn dot( weights, rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n\treturn m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\treturn vec2( u, v );\n}",cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n\t#define cubeUV_minMipLevel 4.0\n\t#define cubeUV_minTileSize 16.0\n\tfloat getFace( vec3 direction ) {\n\t\tvec3 absDirection = abs( direction );\n\t\tfloat face = - 1.0;\n\t\tif ( absDirection.x > absDirection.z ) {\n\t\t\tif ( absDirection.x > absDirection.y )\n\t\t\t\tface = direction.x > 0.0 ? 0.0 : 3.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t} else {\n\t\t\tif ( absDirection.z > absDirection.y )\n\t\t\t\tface = direction.z > 0.0 ? 2.0 : 5.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t}\n\t\treturn face;\n\t}\n\tvec2 getUV( vec3 direction, float face ) {\n\t\tvec2 uv;\n\t\tif ( face == 0.0 ) {\n\t\t\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 1.0 ) {\n\t\t\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n\t\t} else if ( face == 2.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\n\t\t} else if ( face == 3.0 ) {\n\t\t\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 4.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\n\t\t} else {\n\t\t\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\n\t\t}\n\t\treturn 0.5 * ( uv + 1.0 );\n\t}\n\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n\t\tfloat face = getFace( direction );\n\t\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n\t\tmipInt = max( mipInt, cubeUV_minMipLevel );\n\t\tfloat faceSize = exp2( mipInt );\n\t\tvec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\n\t\tif ( face > 2.0 ) {\n\t\t\tuv.y += faceSize;\n\t\t\tface -= 3.0;\n\t\t}\n\t\tuv.x += face * faceSize;\n\t\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\n\t\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n\t\tuv.x *= CUBEUV_TEXEL_WIDTH;\n\t\tuv.y *= CUBEUV_TEXEL_HEIGHT;\n\t\t#ifdef texture2DGradEXT\n\t\t\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\n\t\t#else\n\t\t\treturn texture2D( envMap, uv ).rgb;\n\t\t#endif\n\t}\n\t#define cubeUV_r0 1.0\n\t#define cubeUV_v0 0.339\n\t#define cubeUV_m0 - 2.0\n\t#define cubeUV_r1 0.8\n\t#define cubeUV_v1 0.276\n\t#define cubeUV_m1 - 1.0\n\t#define cubeUV_r4 0.4\n\t#define cubeUV_v4 0.046\n\t#define cubeUV_m4 2.0\n\t#define cubeUV_r5 0.305\n\t#define cubeUV_v5 0.016\n\t#define cubeUV_m5 3.0\n\t#define cubeUV_r6 0.21\n\t#define cubeUV_v6 0.0038\n\t#define cubeUV_m6 4.0\n\tfloat roughnessToMip( float roughness ) {\n\t\tfloat mip = 0.0;\n\t\tif ( roughness >= cubeUV_r1 ) {\n\t\t\tmip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n\t\t} else if ( roughness >= cubeUV_r4 ) {\n\t\t\tmip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n\t\t} else if ( roughness >= cubeUV_r5 ) {\n\t\t\tmip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n\t\t} else if ( roughness >= cubeUV_r6 ) {\n\t\t\tmip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n\t\t} else {\n\t\t\tmip = - 2.0 * log2( 1.16 * roughness );\t\t}\n\t\treturn mip;\n\t}\n\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n\t\tfloat mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n\t\tfloat mipF = fract( mip );\n\t\tfloat mipInt = floor( mip );\n\t\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n\t\tif ( mipF == 0.0 ) {\n\t\t\treturn vec4( color0, 1.0 );\n\t\t} else {\n\t\t\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n\t\t\treturn vec4( mix( color0, color1, mipF ), 1.0 );\n\t\t}\n\t}\n#endif",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n\tmat3 m = mat3( instanceMatrix );\n\ttransformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\n\ttransformedNormal = m * transformedNormal;\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",encodings_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",encodings_pars_fragment:"vec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}",envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif",envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP )\n\tvec3 getIBLIrradiance( const in vec3 normal ) {\n\t\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\n\t\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n\t\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 reflectVec = reflect( - viewDir, normal );\n\t\t\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\n\t\t\treturn envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n#endif",envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",fog_vertex:"#ifdef USE_FOG\n\tvFogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float vFogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float vFogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif",gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n\tuniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t#ifdef USE_GRADIENTMAP\n\t\treturn vec3( texture2D( gradientMap, coord ).r );\n\t#else\n\t\tvec2 fw = fwidth( coord ) * 0.5;\n\t\treturn mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n\t#endif\n}",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\n\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\treflectedLight.indirectDiffuse += lightMapIrradiance;\n#endif",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_fragment:"LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;",lights_lambert_pars_fragment:"varying vec3 vViewPosition;\nstruct LambertMaterial {\n\tvec3 diffuseColor;\n\tfloat specularStrength;\n};\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Lambert\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Lambert\n#define Material_LightProbeLOD( material )\t(0)",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\n\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\treturn irradiance;\n}\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n\t#if defined ( PHYSICALLY_CORRECT_LIGHTS )\n\t\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\t\tif ( cutoffDistance > 0.0 ) {\n\t\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t\t}\n\t\treturn distanceFalloff;\n\t#else\n\t\tif ( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\t\treturn pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t\t}\n\t\treturn 1.0;\n\t#endif\n}\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tlight.color = directionalLight.color;\n\t\tlight.direction = directionalLight.direction;\n\t\tlight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tlight.color = pointLight.color;\n\t\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat angleCos = dot( light.direction, spotLight.direction );\n\t\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\tif ( spotAttenuation > 0.0 ) {\n\t\t\tfloat lightDistance = length( lVector );\n\t\t\tlight.color = spotLight.color * spotAttenuation;\n\t\t\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t\t} else {\n\t\t\tlight.color = vec3( 0.0 );\n\t\t\tlight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\n\t\tfloat dotNL = dot( normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\treturn irradiance;\n\t}\n#endif",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\nstruct ToonMaterial {\n\tvec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon\n#define Material_LightProbeLOD( material )\t(0)",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\nstruct BlinnPhongMaterial {\n\tvec3 diffuseColor;\n\tvec3 specularColor;\n\tfloat specularShininess;\n\tfloat specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong\n#define Material_LightProbeLOD( material )\t(0)",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n#ifdef IOR\n\tmaterial.ior = ior;\n\t#ifdef SPECULAR\n\t\tfloat specularIntensityFactor = specularIntensity;\n\t\tvec3 specularColorFactor = specularColor;\n\t\t#ifdef USE_SPECULARINTENSITYMAP\n\t\t\tspecularIntensityFactor *= texture2D( specularIntensityMap, vUv ).a;\n\t\t#endif\n\t\t#ifdef USE_SPECULARCOLORMAP\n\t\t\tspecularColorFactor *= texture2D( specularColorMap, vUv ).rgb;\n\t\t#endif\n\t\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n\t#else\n\t\tfloat specularIntensityFactor = 1.0;\n\t\tvec3 specularColorFactor = vec3( 1.0 );\n\t\tmaterial.specularF90 = 1.0;\n\t#endif\n\tmaterial.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n\tmaterial.specularF90 = 1.0;\n#endif\n#ifdef USE_CLEARCOAT\n\tmaterial.clearcoat = clearcoat;\n\tmaterial.clearcoatRoughness = clearcoatRoughness;\n\tmaterial.clearcoatF0 = vec3( 0.04 );\n\tmaterial.clearcoatF90 = 1.0;\n\t#ifdef USE_CLEARCOATMAP\n\t\tmaterial.clearcoat *= texture2D( clearcoatMap, vUv ).x;\n\t#endif\n\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\t\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y;\n\t#endif\n\tmaterial.clearcoat = saturate( material.clearcoat );\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_IRIDESCENCE\n\tmaterial.iridescence = iridescence;\n\tmaterial.iridescenceIOR = iridescenceIOR;\n\t#ifdef USE_IRIDESCENCEMAP\n\t\tmaterial.iridescence *= texture2D( iridescenceMap, vUv ).r;\n\t#endif\n\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\t\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vUv ).g + iridescenceThicknessMinimum;\n\t#else\n\t\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\n\t#endif\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheenColor;\n\t#ifdef USE_SHEENCOLORMAP\n\t\tmaterial.sheenColor *= texture2D( sheenColorMap, vUv ).rgb;\n\t#endif\n\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n\t#ifdef USE_SHEENROUGHNESSMAP\n\t\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vUv ).a;\n\t#endif\n#endif",lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3 diffuseColor;\n\tfloat roughness;\n\tvec3 specularColor;\n\tfloat specularF90;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat clearcoat;\n\t\tfloat clearcoatRoughness;\n\t\tvec3 clearcoatF0;\n\t\tfloat clearcoatF90;\n\t#endif\n\t#ifdef USE_IRIDESCENCE\n\t\tfloat iridescence;\n\t\tfloat iridescenceIOR;\n\t\tfloat iridescenceThickness;\n\t\tvec3 iridescenceFresnel;\n\t\tvec3 iridescenceF0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tvec3 sheenColor;\n\t\tfloat sheenRoughness;\n\t#endif\n\t#ifdef IOR\n\t\tfloat ior;\n\t#endif\n\t#ifdef USE_TRANSMISSION\n\t\tfloat transmission;\n\t\tfloat transmissionAlpha;\n\t\tfloat thickness;\n\t\tfloat attenuationDistance;\n\t\tvec3 attenuationColor;\n\t#endif\n};\nvec3 clearcoatSpecular = vec3( 0.0 );\nvec3 sheenSpecular = vec3( 0.0 );\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat r2 = roughness * roughness;\n\tfloat a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n\tfloat b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n\tfloat DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n\treturn saturate( DG * RECIPROCAL_PI );\n}\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n\treturn fab;\n}\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\treturn specularColor * fab.x + specularF90 * fab.y;\n}\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\t#ifdef USE_IRIDESCENCE\n\t\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n\t#else\n\t\tvec3 Fr = specularColor;\n\t#endif\n\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n\tfloat Ess = fab.x + fab.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.roughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3(    0, 1,    0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = dotNLcc * directLight.color;\n\t\tclearcoatSpecular += ccIrradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness );\n\t#endif\n\t#ifdef USE_IRIDESCENCE\n\t\treflectedLight.directSpecular += irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness );\n\t#else\n\t\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness );\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness );\n\t#endif\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\t#ifdef USE_IRIDESCENCE\n\t\tcomputeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n\t#else\n\t\tcomputeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n\t#endif\n\tvec3 totalScattering = singleScattering + multiScattering;\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n\treflectedLight.indirectSpecular += radiance * singleScattering;\n\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n#ifdef USE_CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n\tfloat dotNVi = saturate( dot( normal, geometry.viewDir ) );\n\tif ( material.iridescenceThickness == 0.0 ) {\n\t\tmaterial.iridescence = 0.0;\n\t} else {\n\t\tmaterial.iridescence = saturate( material.iridescence );\n\t}\n\tif ( material.iridescence > 0.0 ) {\n\t\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n\t\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n\t}\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointLightInfo( pointLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\tvec4 spotColor;\n\tvec3 spotLightCoord;\n\tbool inSpotLightMap;\n\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotLightInfo( spotLight, geometry, directLight );\n\t\t#if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n\t\t#elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t#define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n\t\t#else\n\t\t#define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#endif\n\t\t#if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n\t\t\tspotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n\t\t\tinSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n\t\t\tspotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n\t\t\tdirectLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n\t\t#endif\n\t\t#undef SPOT_LIGHT_MAP_INDEX\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalLightInfo( directionalLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\tirradiance += getLightProbeIrradiance( lightProbe, geometry.normal );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n#endif",lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\n\t\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getIBLIrradiance( geometry.normal );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness );\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness );\n\t#endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t\tvarying float vIsPerspective;\n\t#else\n\t\tuniform float logDepthBufFC;\n\t#endif\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvFragDepth = 1.0 + gl_Position.w;\n\t\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n\t#else\n\t\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\n\t\t\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n\t\t\tgl_Position.z *= gl_Position.w;\n\t\t}\n\t#endif\n#endif",map_fragment:"#ifdef USE_MAP\n\tvec4 sampledDiffuseColor = texture2D( map, vUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\tsampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );\n\t#endif\n\tdiffuseColor *= sampledDiffuseColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n#endif\n#ifdef USE_MAP\n\tdiffuseColor *= texture2D( map, uv );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",map_particle_pars_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tuniform mat3 uvTransform;\n#endif\n#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",morphcolor_vertex:"#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )\n\tvColor *= morphTargetBaseInfluence;\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t#if defined( USE_COLOR_ALPHA )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n\t\t#elif defined( USE_COLOR )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n\t\t#endif\n\t}\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n\t\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n\t\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n\t\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n\t#endif\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\tuniform float morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n\t\tuniform sampler2DArray morphTargetsTexture;\n\t\tuniform ivec2 morphTargetsTextureSize;\n\t\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n\t\t\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n\t\t\tint y = texelIndex / morphTargetsTextureSize.x;\n\t\t\tint x = texelIndex - y * morphTargetsTextureSize.x;\n\t\t\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\n\t\t\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\n\t\t}\n\t#else\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\tuniform float morphTargetInfluences[ 8 ];\n\t\t#else\n\t\t\tuniform float morphTargetInfluences[ 4 ];\n\t\t#endif\n\t#endif\n#endif",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\n\t\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\n\t\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\t\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\t\t\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\t\t\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\n\t\t\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\n\t\t#endif\n\t#endif\n#endif",normal_fragment_begin:"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\n\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * faceDirection;\n\t#endif\n\t#ifdef USE_TANGENT\n\t\tvec3 tangent = normalize( vTangent );\n\t\tvec3 bitangent = normalize( vBitangent );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\ttangent = tangent * faceDirection;\n\t\t\tbitangent = bitangent * faceDirection;\n\t\t#endif\n\t\t#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\n\t\t\tmat3 vTBN = mat3( tangent, bitangent, normal );\n\t\t#endif\n\t#endif\n#endif\nvec3 geometryNormal = normal;",normal_fragment_maps:"#ifdef OBJECTSPACE_NORMALMAP\n\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t#ifdef FLIP_SIDED\n\t\tnormal = - normal;\n\t#endif\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * faceDirection;\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( TANGENTSPACE_NORMALMAP )\n\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\t#ifdef USE_TANGENT\n\t\tnormal = normalize( vTBN * mapN );\n\t#else\n\t\tnormal = perturbNormal2Arb( - vViewPosition, normal, mapN, faceDirection );\n\t#endif\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",normal_pars_fragment:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_pars_vertex:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_vertex:"#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif",normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef OBJECTSPACE_NORMALMAP\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) {\n\t\tvec3 q0 = dFdx( eye_pos.xyz );\n\t\tvec3 q1 = dFdy( eye_pos.xyz );\n\t\tvec2 st0 = dFdx( vUv.st );\n\t\tvec2 st1 = dFdy( vUv.st );\n\t\tvec3 N = surf_norm;\n\t\tvec3 q1perp = cross( q1, N );\n\t\tvec3 q0perp = cross( N, q0 );\n\t\tvec3 T = q1perp * st0.x + q0perp * st1.x;\n\t\tvec3 B = q1perp * st0.y + q0perp * st1.y;\n\t\tfloat det = max( dot( T, T ), dot( B, B ) );\n\t\tfloat scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det );\n\t\treturn normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z );\n\t}\n#endif",clearcoat_normal_fragment_begin:"#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\t#ifdef USE_TANGENT\n\t\tclearcoatNormal = normalize( vTBN * clearcoatMapN );\n\t#else\n\t\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection );\n\t#endif\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n\tuniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform sampler2D clearcoatRoughnessMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif",iridescence_pars_fragment:"#ifdef USE_IRIDESCENCEMAP\n\tuniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform sampler2D iridescenceThicknessMap;\n#endif",output_fragment:"#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha + 0.1;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec4 pack2HalfToRGBA( vec2 v ) {\n\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\n\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\n}\nvec2 unpackRGBATo2Half( vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\n\treturn linearClipZ * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\n}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#if NUM_SPOT_LIGHT_COORDS > 0\n  varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS > 0\n  uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\t\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n\t}\n\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n\t\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\n\t}\n\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n\t\tfloat occlusion = 1.0;\n\t\tvec2 distribution = texture2DDistribution( shadow, uv );\n\t\tfloat hard_shadow = step( compare , distribution.x );\n\t\tif (hard_shadow != 1.0 ) {\n\t\t\tfloat distance = compare - distribution.x ;\n\t\t\tfloat variance = max( 0.00000, distribution.y * distribution.y );\n\t\t\tfloat softness_probability = variance / (variance + distance * distance );\t\t\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\t\t\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n\t\t}\n\t\treturn occlusion;\n\t}\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\t\tfloat shadow = 1.0;\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\t\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\n\t\tbool inFrustum = all( inFrustumVec );\n\t\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n\t\tbool frustumTest = all( frustumTestVec );\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx = texelSize.x;\n\t\t\tfloat dy = texelSize.y;\n\t\t\tvec2 uv = shadowCoord.xy;\n\t\t\tvec2 f = fract( uv * shadowMapSize + 0.5 );\n\t\t\tuv -= f * texelSize;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t f.y )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_VSM )\n\t\t\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#else\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\t\tvec3 absV = abs( v );\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\t\tvec2 planar = v.xy;\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\t\tif ( absV.z >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\tdp += shadowBias;\n\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\treturn (\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t#endif\n\t}\n#endif",shadowmap_pars_vertex:"#if NUM_SPOT_LIGHT_COORDS > 0\n  uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n  varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n#endif",shadowmap_vertex:"#if defined( USE_SHADOWMAP ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n\t#if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_COORDS > 0 || NUM_POINT_LIGHT_SHADOWS > 0\n\t\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\tvec4 shadowWorldPosition;\n\t#endif\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_COORDS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition;\n\t\t#if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t\tshadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n\t\t#endif\n\t\tvSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n#endif",shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#endif\n\treturn shadow;\n}",skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\tuniform highp sampler2D boneTexture;\n\tuniform int boneTextureSize;\n\tmat4 getBoneMatrix( const in float i ) {\n\t\tfloat j = i * 4.0;\n\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\ty = dy * ( y + 0.5 );\n\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\treturn bone;\n\t}\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n\treturn toneMappingExposure * color;\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 OptimizedCineonToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\tcolor = max( vec3( 0.0 ), color - 0.004 );\n\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n\treturn a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\tconst mat3 ACESInputMat = mat3(\n\t\tvec3( 0.59719, 0.07600, 0.02840 ),\t\tvec3( 0.35458, 0.90834, 0.13383 ),\n\t\tvec3( 0.04823, 0.01566, 0.83777 )\n\t);\n\tconst mat3 ACESOutputMat = mat3(\n\t\tvec3(  1.60475, -0.10208, -0.00327 ),\t\tvec3( -0.53108,  1.10813, -0.07276 ),\n\t\tvec3( -0.07367, -0.00605,  1.07602 )\n\t);\n\tcolor *= toneMappingExposure / 0.6;\n\tcolor = ACESInputMat * color;\n\tcolor = RRTAndODTFit( color );\n\tcolor = ACESOutputMat * color;\n\treturn saturate( color );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",transmission_fragment:"#ifdef USE_TRANSMISSION\n\tmaterial.transmission = transmission;\n\tmaterial.transmissionAlpha = 1.0;\n\tmaterial.thickness = thickness;\n\tmaterial.attenuationDistance = attenuationDistance;\n\tmaterial.attenuationColor = attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tmaterial.transmission *= texture2D( transmissionMap, vUv ).r;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tmaterial.thickness *= texture2D( thicknessMap, vUv ).g;\n\t#endif\n\tvec3 pos = vWorldPosition;\n\tvec3 v = normalize( cameraPosition - pos );\n\tvec3 n = inverseTransformDirection( normal, viewMatrix );\n\tvec4 transmission = getIBLVolumeRefraction(\n\t\tn, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n\t\tpos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness,\n\t\tmaterial.attenuationColor, material.attenuationDistance );\n\tmaterial.transmissionAlpha = mix( material.transmissionAlpha, transmission.a, material.transmission );\n\ttotalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission );\n#endif",transmission_pars_fragment:"#ifdef USE_TRANSMISSION\n\tuniform float transmission;\n\tuniform float thickness;\n\tuniform float attenuationDistance;\n\tuniform vec3 attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tuniform sampler2D transmissionMap;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tuniform sampler2D thicknessMap;\n\t#endif\n\tuniform vec2 transmissionSamplerSize;\n\tuniform sampler2D transmissionSamplerMap;\n\tuniform mat4 modelMatrix;\n\tuniform mat4 projectionMatrix;\n\tvarying vec3 vWorldPosition;\n\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n\t\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n\t\tvec3 modelScale;\n\t\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n\t\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n\t\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n\t\treturn normalize( refractionVector ) * thickness * modelScale;\n\t}\n\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\n\t\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n\t}\n\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n\t\tfloat framebufferLod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n\t\t#ifdef texture2DLodEXT\n\t\t\treturn texture2DLodEXT( transmissionSamplerMap, fragCoord.xy, framebufferLod );\n\t\t#else\n\t\t\treturn texture2D( transmissionSamplerMap, fragCoord.xy, framebufferLod );\n\t\t#endif\n\t}\n\tvec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tif ( attenuationDistance == 0.0 ) {\n\t\t\treturn radiance;\n\t\t} else {\n\t\t\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n\t\t\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\t\t\treturn transmittance * radiance;\n\t\t}\n\t}\n\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n\t\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n\t\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness,\n\t\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n\t\tvec3 refractedRayExit = position + transmissionRay;\n\t\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n\t\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\n\t\trefractionCoords += 1.0;\n\t\trefractionCoords /= 2.0;\n\t\tvec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n\t\tvec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance );\n\t\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n\t\treturn vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a );\n\t}\n#endif",uv_pars_fragment:"#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\n\tvarying vec2 vUv;\n#endif",uv_pars_vertex:"#ifdef USE_UV\n\t#ifdef UVS_VERTEX_ONLY\n\t\tvec2 vUv;\n\t#else\n\t\tvarying vec2 vUv;\n\t#endif\n\tuniform mat3 uvTransform;\n#endif",uv_vertex:"#ifdef USE_UV\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n#endif",uv2_pars_fragment:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvarying vec2 vUv2;\n#endif",uv2_pars_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tattribute vec2 uv2;\n\tvarying vec2 vUv2;\n\tuniform mat3 uv2Transform;\n#endif",uv2_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}",background_frag:"uniform sampler2D t2D;\nvarying vec2 vUv;\nvoid main() {\n\tgl_FragColor = texture2D( t2D, vUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\tgl_FragColor = vec4( mix( pow( gl_FragColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), gl_FragColor.rgb * 0.0773993808, vec3( lessThanEqual( gl_FragColor.rgb, vec3( 0.04045 ) ) ) ), gl_FragColor.w );\n\t#endif\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",cube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",cube_frag:"#include <envmap_common_pars_fragment>\nuniform float opacity;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\tvec3 vReflect = vWorldDirection;\n\t#include <envmap_fragment>\n\tgl_FragColor = envColor;\n\tgl_FragColor.a *= opacity;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",depth_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvHighPrecisionZW = gl_Position.zw;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <logdepthbuf_fragment>\n\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( fragCoordZ );\n\t#endif\n}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\tvWorldPosition = worldPosition.xyz;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\tvLineDistance = scale * lineDistance;\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",meshbasic_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinbase_vertex>\n\t\t#include <skinnormal_vertex>\n\t\t#include <defaultnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\n\t\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include <aomap_fragment>\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshlambert_frag:"#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_lambert_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_lambert_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t#else\n\t\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshnormal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}",meshnormal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#include <packing>\n#include <uv_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n\t#ifdef OPAQUE\n\t\tgl_FragColor.a = 1.0;\n\t#endif\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n\tvarying vec3 vWorldPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n#ifdef USE_TRANSMISSION\n\tvWorldPosition = worldPosition.xyz;\n#endif\n}",meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define IOR\n\t#define SPECULAR\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef IOR\n\tuniform float ior;\n#endif\n#ifdef SPECULAR\n\tuniform float specularIntensity;\n\tuniform vec3 specularColor;\n\t#ifdef USE_SPECULARINTENSITYMAP\n\t\tuniform sampler2D specularIntensityMap;\n\t#endif\n\t#ifdef USE_SPECULARCOLORMAP\n\t\tuniform sampler2D specularColorMap;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_IRIDESCENCE\n\tuniform float iridescence;\n\tuniform float iridescenceIOR;\n\tuniform float iridescenceThicknessMinimum;\n\tuniform float iridescenceThicknessMaximum;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheenColor;\n\tuniform float sheenRoughness;\n\t#ifdef USE_SHEENCOLORMAP\n\t\tuniform sampler2D sheenColorMap;\n\t#endif\n\t#ifdef USE_SHEENROUGHNESSMAP\n\t\tuniform sampler2D sheenRoughnessMap;\n\t#endif\n#endif\nvarying vec3 vViewPosition;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <bsdfs>\n#include <iridescence_fragment>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_physical_pars_fragment>\n#include <transmission_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <iridescence_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n\t#include <transmission_fragment>\n\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n\t#ifdef USE_SHEEN\n\t\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n\t\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular;\n\t#endif\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n\t\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat;\n\t#endif\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",shadow_vert:"#include <common>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}"},
vendor: 604 bytes, line 415
415Ia={common:{diffuse:{value:new Wn(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new In},uv2Transform:{value:new In},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new Cn(1,1)}}
vendor: 4,215 bytes, line 415
415,displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Wn(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new Wn(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new In}},sprite:{diffuse:{value:new Wn(16777215)},opacity:{value:1},center:{value:new Cn(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new In}}},Da={basic:{uniforms:da([Ia.common,Ia.specularmap,Ia.envmap,Ia.aomap,Ia.lightmap,Ia.fog]),vertexShader:Ca.meshbasic_vert,fragmentShader:Ca.meshbasic_frag},lambert:{uniforms:da([Ia.common,Ia.specularmap,Ia.envmap,Ia.aomap,Ia.lightmap,Ia.emissivemap,Ia.bumpmap,Ia.normalmap,Ia.displacementmap,Ia.fog,Ia.lights,{emissive:{value:new Wn(0)}}]),vertexShader:Ca.meshlambert_vert,fragmentShader:Ca.meshlambert_frag},phong:{uniforms:da([Ia.common,Ia.specularmap,Ia.envmap,Ia.aomap,Ia.lightmap,Ia.emissivemap,Ia.bumpmap,Ia.normalmap,Ia.displacementmap,Ia.fog,Ia.lights,{emissive:{value:new Wn(0)},specular:{value:new Wn(1118481)},shininess:{value:30}}]),vertexShader:Ca.meshphong_vert,fragmentShader:Ca.meshphong_frag},standard:{uniforms:da([Ia.common,Ia.envmap,Ia.aomap,Ia.lightmap,Ia.emissivemap,Ia.bumpmap,Ia.normalmap,Ia.displacementmap,Ia.roughnessmap,Ia.metalnessmap,Ia.fog,Ia.lights,{emissive:{value:new Wn(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Ca.meshphysical_vert,fragmentShader:Ca.meshphysical_frag},toon:{uniforms:da([Ia.common,Ia.aomap,Ia.lightmap,Ia.emissivemap,Ia.bumpmap,Ia.normalmap,Ia.displacementmap,Ia.gradientmap,Ia.fog,Ia.lights,{emissive:{value:new Wn(0)}}]),vertexShader:Ca.meshtoon_vert,fragmentShader:Ca.meshtoon_frag},matcap:{uniforms:da([Ia.common,Ia.bumpmap,Ia.normalmap,Ia.displacementmap,Ia.fog,{matcap:{value:null}}]),vertexShader:Ca.meshmatcap_vert,fragmentShader:Ca.meshmatcap_frag},points:{uniforms:da([Ia.points,Ia.fog]),vertexShader:Ca.points_vert,fragmentShader:Ca.points_frag},dashed:{uniforms:da([Ia.common,Ia.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Ca.linedashed_vert,fragmentShader:Ca.linedashed_frag},depth:{uniforms:da([Ia.common,Ia.displacementmap]),vertexShader:Ca.depth_vert,fragmentShader:Ca.depth_frag},normal:{uniforms:da([Ia.common,Ia.bumpmap,Ia.normalmap,Ia.displacementmap,{opacity:{value:1}}]),vertexShader:Ca.meshnormal_vert,fragmentShader:Ca.meshnormal_frag},sprite:{uniforms:da([Ia.sprite,Ia.fog]),vertexShader:Ca.sprite_vert,fragmentShader:Ca.sprite_frag},background:{uniforms:{uvTransform:{value:new In},t2D:{value:null}},vertexShader:Ca.background_vert,fragmentShader:Ca.background_frag},cube:{uniforms:da([Ia.envmap,{opacity:{value:1}}]),vertexShader:Ca.cube_vert,fragmentShader:Ca.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Ca.equirect_vert,fragmentShader:Ca.equirect_frag}
vendor: 12,178 bytes, line 415
415,distanceRGBA:{uniforms:da([Ia.common,Ia.displacementmap,{referencePosition:{value:new si},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Ca.distanceRGBA_vert,fragmentShader:Ca.distanceRGBA_frag},shadow:{uniforms:da([Ia.lights,Ia.fog,{color:{value:new Wn(0)},opacity:{value:1}}]),vertexShader:Ca.shadow_vert,fragmentShader:Ca.shadow_frag}};function ka(t,e,n,i,r,a){const s=new Wn(0);let o,l,c=!0===r?0:1,u=null,d=0,h=null;function p(t,e){n.buffers.color.setClear(t.r,t.g,t.b,e,a)}return{getClearColor:function(){return s},setClearColor:function(t,e=1){s.set(t),c=e,p(s,c)},getClearAlpha:function(){return c},setClearAlpha:function(t){c=t,p(s,c)},render:function(n,r){let a=!1,g=!0===r.isScene?r.background:null;g&&g.isTexture&&(g=e.get(g));const v=t.xr,_=v.getSession&&v.getSession();_&&"additive"===_.environmentBlendMode&&(g=null),null===g?p(s,c):g&&g.isColor&&(p(g,1),a=!0),(t.autoClear||a)&&t.clear(t.autoClearColor,t.autoClearDepth,t.autoClearStencil),g&&(g.isCubeTexture||g.mapping===ot)?(void 0===l&&(l=new oa(new ca(1,1,1),new pa({name:"BackgroundCubeMaterial",uniforms:ua(Da.cube.uniforms),vertexShader:Da.cube.vertexShader,fragmentShader:Da.cube.fragmentShader,side:m,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(t,e,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),i.update(l)),l.material.uniforms.envMap.value=g,l.material.uniforms.flipEnvMap.value=g.isCubeTexture&&!1===g.isRenderTargetTexture?-1:1,u===g&&d===g.version&&h===t.toneMapping||(l.material.needsUpdate=!0,u=g,d=g.version,h=t.toneMapping),l.layers.enableAll(),n.unshift(l,l.geometry,l.material,0,0,null)):g&&g.isTexture&&(void 0===o&&(o=new oa(new Ea(2,2),new pa({name:"BackgroundMaterial",uniforms:ua(Da.background.uniforms),vertexShader:Da.background.vertexShader,fragmentShader:Da.background.fragmentShader,side:f,depthTest:!1,depthWrite:!1,fog:!1})),o.geometry.deleteAttribute("normal"),Object.defineProperty(o.material,"map",{get:function(){return this.uniforms.t2D.value}}),i.update(o)),o.material.uniforms.t2D.value=g,!0===g.matrixAutoUpdate&&g.updateMatrix(),o.material.uniforms.uvTransform.value.copy(g.matrix),u===g&&d===g.version&&h===t.toneMapping||(o.material.needsUpdate=!0,u=g,d=g.version,h=t.toneMapping),o.layers.enableAll(),n.unshift(o,o.geometry,o.material,0,0,null))}}}function Oa(t,e,n,i){const r=t.getParameter(34921),a=i.isWebGL2?null:e.get("OES_vertex_array_object"),s=i.isWebGL2||null!==a,o={},l=p(null);let c=l,u=!1;function d(e){return i.isWebGL2?t.bindVertexArray(e):a.bindVertexArrayOES(e)}function h(e){return i.isWebGL2?t.deleteVertexArray(e):a.deleteVertexArrayOES(e)}function p(t){const e=[],n=[],i=[];for(let t=0;t<r;t++)e[t]=0,n[t]=0,i[t]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:e,enabledAttributes:n,attributeDivisors:i,object:t,attributes:{},index:null}}function f(){const t=c.newAttributes;for(let e=0,n=t.length;e<n;e++)t[e]=0}function m(t){g(t,0)}function g(n,r){const a=c.newAttributes,s=c.enabledAttributes,o=c.attributeDivisors;if(a[n]=1,0===s[n]&&(t.enableVertexAttribArray(n),s[n]=1),o[n]!==r){(i.isWebGL2?t:e.get("ANGLE_instanced_arrays"))[i.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](n,r),o[n]=r}}function v(){const e=c.newAttributes,n=c.enabledAttributes;for(let i=0,r=n.length;i<r;i++)n[i]!==e[i]&&(t.disableVertexAttribArray(i),n[i]=0)}function _(e,n,r,a,s,o){!0!==i.isWebGL2||5124!==r&&5125!==r?t.vertexAttribPointer(e,n,r,a,s,o):t.vertexAttribIPointer(e,n,r,s,o)}function y(){b(),u=!0,c!==l&&(c=l,d(c.object))}function b(){l.geometry=null,l.program=null,l.wireframe=!1}return{setup:function(r,l,h,y,b){let x=!1;if(s){const e=function(e,n,r){const s=!0===r.wireframe;let l=o[e.id];void 0===l&&(l={},o[e.id]=l);let c=l[n.id];void 0===c&&(c={},l[n.id]=c);let u=c[s];void 0===u&&(u=p(i.isWebGL2?t.createVertexArray():a.createVertexArrayOES()),c[s]=u);return u}(y,h,l);c!==e&&(c=e,d(c.object)),x=function(t,e,n,i){const r=c.attributes,a=e.attributes;let s=0;const o=n.getAttributes();for(const e in o){if(o[e].location>=0){const n=r[e];let i=a[e];if(void 0===i&&("instanceMatrix"===e&&t.instanceMatrix&&(i=t.instanceMatrix),"instanceColor"===e&&t.instanceColor&&(i=t.instanceColor)),void 0===n)return!0;if(n.attribute!==i)return!0;if(i&&n.data!==i.data)return!0;s++}}return c.attributesNum!==s||c.index!==i}(r,y,h,b),x&&function(t,e,n,i){const r={},a=e.attributes;let s=0;const o=n.getAttributes();for(const e in o){if(o[e].location>=0){let n=a[e];void 0===n&&("instanceMatrix"===e&&t.instanceMatrix&&(n=t.instanceMatrix),"instanceColor"===e&&t.instanceColor&&(n=t.instanceColor));const i={};i.attribute=n,n&&n.data&&(i.data=n.data),r[e]=i,s++}}c.attributes=r,c.attributesNum=s,c.index=i}(r,y,h,b)}else{const t=!0===l.wireframe;c.geometry===y.id&&c.program===h.id&&c.wireframe===t||(c.geometry=y.id,c.program=h.id,c.wireframe=t,x=!0)}null!==b&&n.update(b,34963),(x||u)&&(u=!1,function(r,a,s,o){if(!1===i.isWebGL2&&(r.isInstancedMesh||o.isInstancedBufferGeometry)&&null===e.get("ANGLE_instanced_arrays"))return;f();const l=o.attributes,c=s.getAttributes(),u=a.defaultAttributeValues;for(const e in c){const i=c[e];if(i.location>=0){let a=l[e];if(void 0===a&&("instanceMatrix"===e&&r.instanceMatrix&&(a=r.instanceMatrix),"instanceColor"===e&&r.instanceColor&&(a=r.instanceColor)),void 0!==a){const e=a.normalized,s=a.itemSize,l=n.get(a);if(void 0===l)continue;const c=l.buffer,u=l.type,d=l.bytesPerElement;if(a.isInterleavedBufferAttribute){const n=a.data,l=n.stride,h=a.offset;if(n.isInstancedInterleavedBuffer){for(let t=0;t<i.locationSize;t++)g(i.location+t,n.meshPerAttribute);!0!==r.isInstancedMesh&&void 0===o._maxInstanceCount&&(o._maxInstanceCount=n.meshPerAttribute*n.count)}else for(let t=0;t<i.locationSize;t++)m(i.location+t);t.bindBuffer(34962,c);for(let t=0;t<i.locationSize;t++)_(i.location+t,s/i.locationSize,u,e,l*d,(h+s/i.locationSize*t)*d)}else{if(a.isInstancedBufferAttribute){for(let t=0;t<i.locationSize;t++)g(i.location+t,a.meshPerAttribute);!0!==r.isInstancedMesh&&void 0===o._maxInstanceCount&&(o._maxInstanceCount=a.meshPerAttribute*a.count)}else for(let t=0;t<i.locationSize;t++)m(i.location+t);t.bindBuffer(34962,c);for(let t=0;t<i.locationSize;t++)_(i.location+t,s/i.locationSize,u,e,s*d,s/i.locationSize*t*d)}}else if(void 0!==u){const n=u[e];if(void 0!==n)switch(n.length){case 2:t.vertexAttrib2fv(i.location,n);break;case 3:t.vertexAttrib3fv(i.location,n);break;case 4:t.vertexAttrib4fv(i.location,n);break;default:t.vertexAttrib1fv(i.location,n)}}}}v()}(r,l,h,y),null!==b&&t.bindBuffer(34963,n.get(b).buffer))},reset:y,resetDefaultState:b,dispose:function(){y();for(const t in o){const e=o[t];for(const t in e){const n=e[t];for(const t in n)h(n[t].object),delete n[t];delete e[t]}delete o[t]}},releaseStatesOfGeometry:function(t){if(void 0===o[t.id])return;const e=o[t.id];for(const t in e){const n=e[t];for(const t in n)h(n[t].object),delete n[t];delete e[t]}delete o[t.id]},releaseStatesOfProgram:function(t){for(const e in o){const n=o[e];if(void 0===n[t.id])continue;const i=n[t.id];for(const t in i)h(i[t].object),delete i[t];delete n[t.id]}},initAttributes:f,enableAttribute:m,disableUnusedAttributes:v}}function Ra(t,e,n,i){const r=i.isWebGL2;let a;this.setMode=function(t){a=t},this.render=function(e,i){t.drawArrays(a,e,i),n.update(i,a,1)},this.renderInstances=function(i,s,o){if(0===o)return;let l,c;if(r)l=t,c="drawArraysInstanced";else if(l=e.get("ANGLE_instanced_arrays"),c="drawArraysInstancedANGLE",null===l)return void console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");l[c](a,i,s,o),n.update(s,a,o)}}function Pa(t,e,n){let i;function r(e){if("highp"===e){if(t.getShaderPrecisionFormat(35633,36338).precision>0&&t.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";e="mediump"}return"mediump"===e&&t.getShaderPrecisionFormat(35633,36337).precision>0&&t.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}const a="undefined"!=typeof WebGL2RenderingContext&&t instanceof WebGL2RenderingContext||"undefined"!=typeof WebGL2ComputeRenderingContext&&t instanceof WebGL2ComputeRenderingContext;let s=void 0!==n.precision?n.precision:"highp";const o=r(s);o!==s&&(console.warn("THREE.WebGLRenderer:",s,"not supported, using",o,"instead."),s=o);const l=a||e.has("WEBGL_draw_buffers"),c=!0===n.logarithmicDepthBuffer,u=t.getParameter(34930),d=t.getParameter(35660),h=t.getParameter(3379),p=t.getParameter(34076),f=t.getParameter(34921),m=t.getParameter(36347),g=t.getParameter(36348),v=t.getParameter(36349),_=d>0,y=a||e.has("OES_texture_float");return{isWebGL2:a,drawBuffers:l,getMaxAnisotropy:function(){if(void 0!==i)return i;if(!0===e.has("EXT_texture_filter_anisotropic")){const n=e.get("EXT_texture_filter_anisotropic");i=t.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i},getMaxPrecision:r,precision:s,logarithmicDepthBuffer:c,maxTextures:u,maxVertexTextures:d,maxTextureSize:h,maxCubemapSize:p,maxAttributes:f,maxVertexUniforms:m,maxVaryings:g,maxFragmentUniforms:v,vertexTextures:_,floatFragmentTextures:y,floatVertexTextures:_&&y,maxSamples:a?t.getParameter(36183):0}}function Na(t){const e=this;let n=null,i=0,r=!1,a=!1;const s=new wa,o=new In,l={value:null,needsUpdate:!1};function c(){l.value!==n&&(l.value=n,l.needsUpdate=i>0),e.numPlanes=i,e.numIntersection=0}function u(t,n,i,r){const a=null!==t?t.length:0;let c=null;if(0!==a){if(c=l.value,!0!==r||null===c){const e=i+4*a,r=n.matrixWorldInverse;o.getNormalMatrix(r),(null===c||c.length<e)&&(c=new Float32Array(e));for(let e=0,n=i;e!==a;++e,n+=4)s.copy(t[e]).applyMatrix4(r,o),s.normal.toArray(c,n),c[n+3]=s.constant}l.value=c,l.needsUpdate=!0}return e.numPlanes=a,e.numIntersection=0,c}this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(t,e,a){const s=0!==t.length||e||0!==i||r;return r=e,n=u(t,a,0),i=t.length,s},this.beginShadows=function(){a=!0,u(null)},this.endShadows=function(){a=!1,c()},this.setState=function(e,s,o){const d=e.clippingPlanes,h=e.clipIntersection,p=e.clipShadows,f=t.get(e);if(!r||null===d||0===d.length||a&&!p)a?u(null):c();else{const t=a?0:i,e=4*t;let r=f.clippingState||null;l.value=r,r=u(d,s,e,o);for(let t=0;t!==e;++t)r[t]=n[t];f.clippingState=r,this.numIntersection=h?this.numPlanes:0,this.numPlanes+=t}}}function Ya(t){let e=new WeakMap;function n(t,e){return e===at?t.mapping=it:e===st&&(t.mapping=rt),t}function i(t){const n=t.target;n.removeEventListener("dispose",i);const r=e.get(n);void 0!==r&&(e.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture&&!1===r.isRenderTargetTexture){const a=r.mapping;if(a===at||a===st){if(e.has(r)){return n(e.get(r).texture,r.mapping)}{const a=r.image;if(a&&a.height>0){const s=new _a(a.height/2);return s.fromEquirectangularTexture(t,r),e.set(r,s),r.addEventListener("dispose",i),n(s.texture,r.mapping)}return null}}}return r},dispose:function(){e=new WeakMap}}}Da.physical={uniforms:da([Da.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new Cn(1,1)},clearcoatNormalMap:{value:null},iridescence:{value:0},iridescenceMap:{value:null},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},sheen:{value:0},sheenColor:{value:new Wn(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new Cn},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new Wn(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new Wn(1,1,1)},specularColorMap:{value:null}}]),vertexShader:Ca.meshphysical_vert,fragmentShader:Ca.meshphysical_frag};class Fa extends fa{constructor(t=-1,e=1,n=1,i=-1,r=.1,a=2e3){super(),this.isOrthographicCamera=!0,this.type="Orthogra
415phicCamera",this.zoom=1,this.view=null,this.left=t,this.right=e,this.top=n,this.bottom=i,this.near=r,this.far=a,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.near=t.near,this.far=t.far,this.zoom=t.zoom,this.view=null===t.view?null:Object.assign({},t.view),this}setViewOffset(t,e,n,i,r,a){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=i,this.view.width=r,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=(this.right-this.left)/(2*this.zoom),e=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,i=(this.top+this.bottom)/2;let r=n-t,a=n+t,s=i+e,o=i-e;if(null!==this.view&&this.view.enabled){const t=(this.right-this.left)/this.view.fullWidth/this.zoom,e=(this.top-this.bottom)/this.view.fullHeight/this.zoom;r+=t*this.view.offsetX,a=r+t*this.view.width,s-=e*this.view.offsetY,o=s-e*this.view.height}this.projectionMatrix.makeOrthographic(r,a,s,o,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.zoom=this.zoom,e.object.left=this.left,e.object.right=this.right,e.object.top=this.top,e.object.bottom=this.bottom,e.object.near=this.near,e.object.far=this.far,null!==this.view&&(e.object.view=Object.assign({},this.view)),e}}const Ha=[.125,.215,.35,.446,.526,.582],ja=new Fa,Ba=new Wn;let za=null;const Ua=(1+Math.sqrt(5))/2,Va=1/Ua,Wa=[new si(1,1,1),new si(-1,1,1),new si(1,1,-1),new si(-1,1,-1),new si(0,Ua,Va),new si(0,Ua,-Va),new si(Va,0,Ua),new si(-Va,0,Ua),new si(Ua,Va,0),new si(-Ua,Va,0)];class Ga{constructor(t){this._renderer=t,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(t,e=0,n=.1,i=100){za=this._renderer.getRenderTarget(),this._setSize(256);const r=this._allocateTargets();return r.depthBuffer=!0,this._sceneToCubeUV(t,n,i,r),e>0&&this._blur(r,0,0,e),this._applyPMREM(r),this._cleanup(r),r}fromEquirectangular(t,e=null){return this._fromTexture(t,e)}fromCubemap(t,e=null){return this._fromTexture(t,e)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=Ka(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=$a(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(t){this._lodMax=Math.floor(Math.log2(t)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let t=0;t<this._lodPlanes.length;t++)this._lodPlanes[t].dispose()}_cleanup(t){this._renderer.setRenderTarget(za),t.scissorTest=!1,Xa(t,0,0,t.width,t.height)}_fromTexture(t,e){t.mapping===it||t.mapping===rt?this._setSize(0===t.image.length?16:t.image[0].width||t.image[0].image.width):this._setSize(t.image.width/4),za=this._renderer.getRenderTarget();const n=e||this._allocateTargets();return this._textureToCubeUV(t,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTargets(){const t=3*Math.max(this._cubeSize,112),e=4*this._cubeSize,n={magFilter:gt,minFilter:gt,generateMipmaps:!1,type:Et,format:Rt,encoding:Ie,depthBuffer:!1},i=qa(t,e,n);if(null===this._pingPongRenderTarget||this._pingPongRenderTarget.width!==t){null!==this._pingPongRenderTarget&&this._dispose(),this._pingPongRenderTarget=qa(t,e,n);const{_lodMax:i}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=function(t){const e=[],n=[],i=[];let r=t;const a=t-4+1+Ha.length;for(let s=0;s<a;s++){const a=Math.pow(2,r);n.push(a);let o=1/a;s>t-4?o=Ha[s-t+4-1]:0===s&&(o=0),i.push(o);const l=1/(a-2),c=-l,u=1+l,d=[c,c,u,c,u,u,c,c,u,u,c,u],h=6,p=6,f=3,m=2,g=1,v=new Float32Array(f*p*h),_=new Float32Array(m*p*h),y=new Float32Array(g*p*h);for(let t=0;t<h;t++){const e=t%3*2/3-1,n=t>2?0:-1,i=[e,n,0,e+2/3,n,0,e+2/3,n+1,0,e,n,0,e+2/3,n+1,0,e,n+1,0];v.set(i,f*p*t),_.set(d,m*p*t);const r=[t,t,t,t,t,t];y.set(r,g*p*t)}const b=new Ur;b.setAttribute("position",new Tr(v,f)),b.setAttribute("uv",new Tr(_,m)),b.setAttribute("faceIndex",new Tr(y,g)),e.push(b),r>4&&r--}return{lodPlanes:e,sizeLods:n,sigmas:i}}(i)),this._blurMaterial=function(t,e,n){const i=new Float32Array(20),r=new si(0,1,0);return new pa({name:"SphericalGaussianBlur",defines:{n:20,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:t+".0"},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:i},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:Ja(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform int samples;\n\t\t\tuniform float weights[ n ];\n\t\t\tuniform bool latitudinal;\n\t\t\tuniform float dTheta;\n\t\t\tuniform float mipInt;\n\t\t\tuniform vec3 poleAxis;\n\n\t\t\t#define ENVMAP_TYPE_CUBE_UV\n\t\t\t#include <cube_uv_reflection_fragment>\n\n\t\t\tvec3 getSample( float theta, vec3 axis ) {\n\n\t\t\t\tfloat cosTheta = cos( theta );\n\t\t\t\t// Rodrigues' axis-angle rotation\n\t\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross( axis, vOutputDirection ) * sin( theta )\n\t\t\t\t\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n\t\t\t\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n\t\t\t}\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n\t\t\t\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n\t\t\t\t\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n\t\t\t\t}\n\n\t\t\t\taxis = normalize( axis );\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n\t\t\t\tfor ( int i = 1; i < n; i++ ) {\n\n\t\t\t\t\tif ( i >= samples ) {\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat theta = dTheta * float( i );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t",blending:v,depthTest:!1,depthWrite:!1})}(i,t,e)}return i}_compileMaterial(t){const e=new oa(this._lodPlanes[0],t);this._renderer.compile(e,ja)}_sceneToCubeUV(t,e,n,i){const r=new ma(90,1,e,n),a=[1,-1,1,1,1,1],s=[1,1,1,-1,-1,-1],o=this._renderer,l=o.autoClear,c=o.toneMapping;o.getClearColor(Ba),o.toneMapping=K,o.autoClear=!1;
vendor: 29,146 bytes, line 415
415const u=new wr({name:"PMREM.Background",side:m,depthWrite:!1,depthTest:!1}),d=new oa(new ca,u);let h=!1;const p=t.background;p?p.isColor&&(u.color.copy(p),t.background=null,h=!0):(u.color.copy(Ba),h=!0);for(let e=0;e<6;e++){const n=e%3;0===n?(r.up.set(0,a[e],0),r.lookAt(s[e],0,0)):1===n?(r.up.set(0,0,a[e]),r.lookAt(0,s[e],0)):(r.up.set(0,a[e],0),r.lookAt(0,0,s[e]));const l=this._cubeSize;Xa(i,n*l,e>2?l:0,l,l),o.setRenderTarget(i),h&&o.render(d,r),o.render(t,r)}d.geometry.dispose(),d.material.dispose(),o.toneMapping=c,o.autoClear=l,t.background=p}_textureToCubeUV(t,e){const n=this._renderer,i=t.mapping===it||t.mapping===rt;i?(null===this._cubemapMaterial&&(this._cubemapMaterial=Ka()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===t.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=$a());const r=i?this._cubemapMaterial:this._equirectMaterial,a=new oa(this._lodPlanes[0],r);r.uniforms.envMap.value=t;const s=this._cubeSize;Xa(e,0,0,3*s,2*s),n.setRenderTarget(e),n.render(a,ja)}_applyPMREM(t){const e=this._renderer,n=e.autoClear;e.autoClear=!1;for(let e=1;e<this._lodPlanes.length;e++){const n=Math.sqrt(this._sigmas[e]*this._sigmas[e]-this._sigmas[e-1]*this._sigmas[e-1]),i=Wa[(e-1)%Wa.length];this._blur(t,e-1,e,n,i)}e.autoClear=n}_blur(t,e,n,i,r){const a=this._pingPongRenderTarget;this._halfBlur(t,a,e,n,i,"latitudinal",r),this._halfBlur(a,t,n,n,i,"longitudinal",r)}_halfBlur(t,e,n,i,r,a,s){const o=this._renderer,l=this._blurMaterial;"latitudinal"!==a&&"longitudinal"!==a&&console.error("blur direction must be either latitudinal or longitudinal!");const c=new oa(this._lodPlanes[i],l),u=l.uniforms,d=this._sizeLods[n]-1,h=isFinite(r)?Math.PI/(2*d):2*Math.PI/39,p=r/h,f=isFinite(r)?1+Math.floor(3*p):20;f>20&&console.warn(`sigmaRadians, ${r}, is too large and will clip, as it requested ${f} samples when the maximum is set to 20`);const m=[];let g=0;for(let t=0;t<20;++t){const e=t/p,n=Math.exp(-e*e/2);m.push(n),0===t?g+=n:t<f&&(g+=2*n)}for(let t=0;t<m.length;t++)m[t]=m[t]/g;u.envMap.value=t.texture,u.samples.value=f,u.weights.value=m,u.latitudinal.value="latitudinal"===a,s&&(u.poleAxis.value=s);const{_lodMax:v}=this;u.dTheta.value=h,u.mipInt.value=v-n;const _=this._sizeLods[i];Xa(e,3*_*(i>v-4?i-v+4:0),4*(this._cubeSize-_),3*_,2*_),o.setRenderTarget(e),o.render(c,ja)}}function qa(t,e,n){const i=new Zn(t,e,n);return i.texture.mapping=ot,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function Xa(t,e,n,i,r){t.viewport.set(e,n,i,r),t.scissor.set(e,n,i,r)}function $a(){return new pa({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:Ja(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\n\t\t\t#include <common>\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 outputDirection = normalize( vOutputDirection );\n\t\t\t\tvec2 uv = equirectUv( outputDirection );\n\n\t\t\t\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\n\n\t\t\t}\n\t\t",blending:v,depthTest:!1,depthWrite:!1})}function Ka(){return new pa({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:Ja(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tuniform float flipEnvMap;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform samplerCube envMap;\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\n\n\t\t\t}\n\t\t",blending:v,depthTest:!1,depthWrite:!1})}function Ja(){return"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t"}function Qa(t){let e=new WeakMap,n=null;function i(t){const n=t.target;n.removeEventListener("dispose",i);const r=e.get(n);void 0!==r&&(e.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture){const a=r.mapping,s=a===at||a===st,o=a===it||a===rt;if(s||o){if(r.isRenderTargetTexture&&!0===r.needsPMREMUpdate){r.needsPMREMUpdate=!1;let i=e.get(r);return null===n&&(n=new Ga(t)),i=s?n.fromEquirectangular(r,i):n.fromCubemap(r,i),e.set(r,i),i.texture}if(e.has(r))return e.get(r).texture;{const a=r.image;if(s&&a&&a.height>0||o&&a&&function(t){let e=0;for(let n=0;n<6;n++)void 0!==t[n]&&e++;return 6===e}(a)){null===n&&(n=new Ga(t));const a=s?n.fromEquirectangular(r):n.fromCubemap(r);return e.set(r,a),r.addEventListener("dispose",i),a.texture}return null}}}return r},dispose:function(){e=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function Za(t){const e={};function n(n){if(void 0!==e[n])return e[n];let i;switch(n){case"WEBGL_depth_texture":i=t.getExtension("WEBGL_depth_texture")||t.getExtension("MOZ_WEBGL_depth_texture")||t.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":i=t.getExtension("EXT_texture_filter_anisotropic")||t.getExtension("MOZ_EXT_texture_filter_anisotropic")||t.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":i=t.getExtension("WEBGL_compressed_texture_s3tc")||t.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":i=t.getExtension("WEBGL_compressed_texture_pvrtc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:i=t.getExtension(n)}return e[n]=i,i}return{has:function(t){return null!==n(t)},init:function(t){t.isWebGL2?n("EXT_color_buffer_float"):(n("WEBGL_depth_texture"),n("OES_texture_float"),n("OES_texture_half_float"),n("OES_texture_half_float_linear"),n("OES_standard_derivatives"),n("OES_element_index_uint"),n("OES_vertex_array_object"),n("ANGLE_instanced_arrays")),n("OES_texture_float_linear"),n("EXT_color_buffer_half_float"),n("WEBGL_multisampled_render_to_texture")},get:function(t){const e=n(t);return null===e&&console.warn("THREE.WebGLRenderer: "+t+" extension not supported."),e}}}function ts(t,e,n,i){const r={},a=new WeakMap;function s(t){const o=t.target;null!==o.index&&e.remove(o.index);for(const t in o.attributes)e.remove(o.attributes[t]);o.removeEventListener("dispose",s),delete r[o.id];const l=a.get(o);l&&(e.remove(l),a.delete(o)),i.releaseStatesOfGeometry(o),!0===o.isInstancedBufferGeometry&&delete o._maxInstanceCount,n.memory.geometries--}function o(t){const n=[],i=t.index,r=t.attributes.position;let s=0;if(null!==i){const t=i.array;s=i.version;for(let e=0,i=t.length;e<i;e+=3){const i=t[e+0],r=t[e+1],a=t[e+2];n.push(i,r,r,a,a,i)}}else{const t=r.array;s=r.version;for(let e=0,i=t.length/3-1;e<i;e+=3){const t=e+0,i=e+1,r=e+2;n.push(t,i,i,r,r,t)}}const o=new(Dn(n)?kr:Ir)(n,1);o.version=s;const l=a.get(t);l&&e.remove(l),a.set(t,o)}return{get:function(t,e){return!0===r[e.id]||(e.addEventListener("dispose",s),r[e.id]=!0,n.memory.geometries++),e},update:function(t){const n=t.attributes;for(const t in n)e.update(n[t],34962);const i=t.morphAttributes;for(const t in i){const n=i[t];for(let t=0,i=n.length;t<i;t++)e.update(n[t],34962)}},getWireframeAttribute:function(t){const e=a.get(t);if(e){const n=t.index;null!==n&&e.version<n.version&&o(t)}else o(t);return a.get(t)}}}function es(t,e,n,i){const r=i.isWebGL2;let a,s,o;this.setMode=function(t){a=t},this.setIndex=function(t){s=t.type,o=t.bytesPerElement},this.render=function(e,i){t.drawElements(a,i,s,e*o),n.update(i,a,1)},this.renderInstances=function(i,l,c){if(0===c)return;let u,d;if(r)u=t,d="drawElementsInstanced";else if(u=e.get("ANGLE_instanced_arrays"),d="drawElementsInstancedANGLE",null===u)return void console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");u[d](a,l,s,i*o,c),n.update(l,a,c)}}function ns(t){const e={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:e,programs:null,autoReset:!0,reset:function(){e.frame++,e.calls=0,e.triangles=0,e.points=0,e.lines=0},update:function(t,n,i){switch(e.calls++,n){case 4:e.triangles+=i*(t/3);break;case 1:e.lines+=i*(t/2);break;case 3:e.lines+=i*(t-1);break;case 2:e.lines+=i*t;break;case 0:e.points+=i*t;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",n)}}}}function is(t,e){return t[0]-e[0]}function rs(t,e){return Math.abs(e[1])-Math.abs(t[1])}function as(t,e,n){const i={},r=new Float32Array(8),a=new WeakMap,s=new Qn,o=[];for(let t=0;t<8;t++)o[t]=[t,0];return{update:function(l,c,u,d){const h=l.morphTargetInfluences;if(!0===e.isWebGL2){const i=c.morphAttributes.position||c.morphAttributes.normal||c.morphAttributes.color,r=void 0!==i?i.length:0;let o=a.get(c);if(void 0===o||o.count!==r){void 0!==o&&o.texture.dispose();const t=void 0!==c.morphAttributes.position,n=void 0!==c.morphAttributes.normal,i=void 0!==c.morphAttributes.color,l=c.morphAttributes.position||[],u=c.morphAttributes.normal||[],d=c.morphAttributes.color||[];let h=0;!0===t&&(h=1),!0===n&&(h=2),!0===i&&(h=3);let p=c.attributes.position.count*h,f=1;p>e.maxTextureSize&&(f=Math.ceil(p/e.maxTextureSize),p=e.maxTextureSize);const m=new Float32Array(p*f*4*r),g=new ti(m,p,f,r);g.type=Lt,g.needsUpdate=!0;const v=4*h;for(let e=0;e<r;e++){const r=l[e],a=u[e],o=d[e],c=p*f*4*e;for(let e=0;e<r.count;e++){const l=e*v;!0===t&&(s.fromBufferAttribute(r,e),m[c+l+0]=s.x,m[c+l+1]=s.y,m[c+l+2]=s.z,m[c+l+3]=0),!0===n&&(s.fromBufferAttribute(a,e),m[c+l+4]=s.x,m[c+l+5]=s.y,m[c+l+6]=s.z,m[c+l+7]=0),!0===i&&(s.fromBufferAttribute(o,e),m[c+l+8]=s.x,m[c+l+9]=s.y,m[c+l+10]=s.z,m[c+l+11]=4===o.itemSize?s.w:1)}}o={count:r,texture:g,size:new Cn(p,f)},a.set(c,o),c.addEventListener("dispose",(function t(){g.dispose(),a.delete(c),c.removeEventListener("dispose",t)}))}let l=0;for(let t=0;t<h.length;t++)l+=h[t];const u=c.morphTargetsRelative?1:1-l;d.getUniforms().setValue(t,"morphTargetBaseInfluence",u),d.getUniforms().setValue(t,"morphTargetInfluences",h),d.getUniforms().setValue(t,"morphTargetsTexture",o.texture,n),d.getUniforms().setValue(t,"morphTargetsTextureSize",o.size)}else{const e=void 0===h?0:h.length;let n=i[c.id];if(void 0===n||n.length!==e){n=[];for(let t=0;t<e;t++)n[t]=[t,0];i[c.id]=n}for(let t=0;t<e;t++){const e=n[t];e[0]=t,e[1]=h[t]}n.sort(rs);for(let t=0;t<8;t++)t<e&&n[t][1]?(o[t][0]=n[t][0],o[t][1]=n[t][1]):(o[t][0]=Number.MAX_SAFE_INTEGER,o[t][1]=0);o.sort(is);const a=c.morphAttributes.position,s=c.morphAttributes.normal;let l=0;for(let t=0;t<8;t++){const e=o[t],n=e[0],i=e[1];n!==Number.MAX_SAFE_INTEGER&&i?(a&&c.getAttribute("morphTarget"+t)!==a[n]&&c.setAttribute("morphTarget"+t,a[n]),s&&c.getAttribute("morphNormal"+t)!==s[n]&&c.setAttribute("morphNormal"+t,s[n]),r[t]=i,l+=i):(a&&!0===c.hasAttribute("morphTarget"+t)&&c.deleteAttribute("morphTarget"+t),s&&!0===c.hasAttribute("morphNormal"+t)&&c.deleteAttribute("morphNormal"+t),r[t]=0)}const u=c.morphTargetsRelative?1:1-l;d.getUniforms().setValue(t,"morphTargetBaseInfluence",u),d.getUniforms().setValue(t,"morphTargetInfluences",r)}}}}function ss(t,e,n,i){let r=new WeakMap;function a(t){const e=t.target;e.removeEventListener("dispose",a),n.remove(e.instanceMatrix),null!==e.instanceColor&&n.remove(e.instanceColor)}return{update:function(t){const s=i.render.frame,o=t.geometry,l=e.get(t,o);return r.get(l)!==s&&(e.update(l),r.set(l,s)),t.isInstancedMesh&&(!1===t.hasEventListener("dispose",a)&&t.addEventListener("dispose",a),n.update(t.instanceMatrix,34962),null!==t.instanceColor&&n.update(t.instanceColor,34962)),l},dispose:function(){r=new WeakMap}}}const os=new Jn,ls=new ti,cs=new ni,us=new va,ds=[],hs=[],ps=new Float32Array(16),fs=new Float32Array(9),ms=new Float32Array(4);function gs(t,e,n){const i=t[0];if(i<=0||i>0)return t;const r=e*n;let a=ds[r];if(void 0===a&&(a=new Float32Array(r),ds[r]=a),0!==e){i.toArray(a,0);for(let i=1,r=0;i!==e;++i)r+=n,t[i].toArray(a,r)}return a}function vs(t,e){if(t.length!==e.length)return!1;for(let n=0,i=t.length;n<i;n++)if(t[n]!==e[n])return!1;return!0}function _s(t,e){for(let n=0,i=e.length;n<i;n++)t[n]=e[n]}function ys(t,e){let n=hs[e];void 0===n&&(n=new Int32Array(e),hs[e]=n);for(let i=0;i!==e;++i)n[i]=t.allocateTextureUnit();return n}function bs(t,e){const n=this.cache;n[0]!==e&&(t.uniform1f(this.addr,e),n[0]=e)}function xs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y||(t.uniform2f(this.addr,e.x,e.y),n[0]=e.x,n[1]=e.y);else{if(vs(n,e))return;t.uniform2fv(this.addr,e),_s(n,e)}}function ws(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z||(t.uniform3f(this.addr,e.x,e.y,e.z),n[0]=e.x,n[1]=e.y,n[2]=e.z);else if(void 0!==e.r)n[0]===e.r&&n[1]===e.g&&n[2]===e.b||(t.uniform3f(this.addr,e.r,e.g,e.b),n[0]=e.r,n[1]=e.g,n[2]=e.b);else{if(vs(n,e))return;t.uniform3fv(this.addr,e),_s(n,e)}}function Ms(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z&&n[3]===e.w||(t.uniform4f(this.addr,e.x,e.y,e.z,e.w),n[0]=e.x,n[1]=e.y,n[2]=e.z,n[3]=e.w);else{if(vs(n,e))return;t.uniform4fv(this.addr,e),_s(n,e)}}function Ss(t,e){const n=this.cache,i=e.elements;if(void 0===i){if(vs(n,e))return;t.uniformMatrix2fv(this.addr,!1,e),_s(n,e)}else{if(vs(n,i))return;ms.set(i),t.uniformMatrix2fv(this.addr,!1,ms),_s(n,i)}}function Ts(t,e){const n=this.cache,i=e.elements;if(void 0===i){if(vs(n,e))return;t.uniformMatrix3fv(this.addr,!1,e),_s(n,e)}else{if(vs(n,i))return;fs.set(i),t.uniformMatrix3fv(this.addr,!1,fs),_s(n,i)}}function As(t,e){const n=this.cache,i=e.elements;if(void 0===i){if(vs(n,e))return;t.uniformMatrix4fv(this.addr,!1,e),_s(n,e)}else{if(vs(n,i))return;ps.set(i),t.uniformMatrix4fv(this.addr,!1,ps),_s(n,i)}}function Ls(t,e){const n=this.cache;n[0]!==e&&(t.uniform1i(this.addr,e),n[0]=e)}function Es(t,e){const n=this.cache;vs(n,e)||(t.uniform2iv(this.addr,e),_s(n,e))}function Cs(t,e){const n=this.cache;vs(n,e)||(t.uniform3iv(this.addr,e),_s(n,e))}function Is(t,e){const n=this.cache;vs(n,e)||(t.uniform4iv(this.addr,e),_s(n,e))}function Ds(t,e){const n=this.cache;n[0]!==e&&(t.uniform1ui(this.addr,e),n[0]=e)}function ks(t,e){const n=this.cache;vs(n,e)||(t.uniform2uiv(this.addr,e),_s(n,e))}function Os(t,e){const n=this.cache;vs(n,e)||(t.uniform3uiv(this.addr,e),_s(n,e))}function Rs(t,e){const n=this.cache;vs(n,e)||(t.uniform4uiv(this.addr,e),_s(n,e))}function Ps(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTexture2D(e||os,r)}function Ns(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTexture3D(e||cs,r)}function Ys(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTextureCube(e||us,r)}function Fs(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTexture2DArray(e||ls,r)}function Hs(t,e){t.uniform1fv(this.addr,e)}function js(t,e){const n=gs(e,this.size,2);t.uniform2fv(this.addr,n)}function Bs(t,e){const n=gs(e,this.size,3);t.uniform3fv(this.addr,n)}function zs(t,e){const n=gs(e,this.size,4);t.uniform4fv(this.addr,n)}function Us(t,e){const n=gs(e,this.size,4);t.uniformMatrix2fv(this.addr,!1,n)}function Vs(t,e){const n=gs(e,this.size,9);t.uniformMatrix3fv(this.addr,!1,n)}function Ws(t,e){const n=gs(e,this.size,16);t.uniformMatrix4fv(this.addr,!1,n)}function Gs(t,e){t.uniform1iv(this.addr,e)}function qs(t,e){t.uniform2iv(this.addr,e)}function Xs(t,e){t.uniform3iv(this.addr,e)}function $s(t,e){t.uniform4iv(this.addr,e)}function Ks(t,e){t.uniform1uiv(this.addr,e)}function Js(t,e){t.uniform2uiv(this.addr,e)}function Qs(t,e){t.uniform3uiv(this.addr,e)}function Zs(t,e){t.uniform4uiv(this.addr,e)}function to(t,e,n){const i=e.length,r=ys(n,i);t.uniform1iv(this.addr,r);for(let t=0;t!==i;++t)n.setTexture2D(e[t]||os,r[t])}function eo(t,e,n){const i=e.length,r=ys(n,i);t.uniform1iv(this.addr,r);for(let t=0;t!==i;++t)n.setTexture3D(e[t]||cs,r[t])}function no(t,e,n){const i=e.length,r=ys(n,i);t.uniform1iv(this.addr,r);for(let t=0;t!==i;++t)n.setTextureCube(e[t]||us,r[t])}function io(t,e,n){const i=e.length,r=ys(n,i);t.uniform1iv(this.addr,r);for(let t=0;t!==i;++t)n.setTexture2DArray(e[t]||ls,r[t])}class ro{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.setValue=function(t){switch(t){case 5126:return bs;case 35664:return xs;case 35665:return ws;case 35666:return Ms;case 35674:return Ss;case 35675:return Ts;case 35676:return As;case 5124:case 35670:return Ls;case 35667:case 35671:return Es;case 35668:case 35672:return Cs;case 35669:case 35673:return Is;case 5125:return Ds;case 36294:return ks;case 36295:return Os;case 36296:return Rs;case 35678:case 36198:case 36298:case 36306:case 35682:return Ps;case 35679:case 36299:case 36307:return Ns;case 35680:case 36300:case 36308:case 36293:return Ys;case 36289:case 36303:case 36311:case 36292:return Fs}}(e.type)}}class ao{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.size=e.size,this.setValue=function(t){switch(t){case 5126:return Hs;case 35664:return js;case 35665:return Bs;case 35666:return zs;case 35674:return Us;case 35675:return Vs;case 35676:return Ws;case 5124:case 35670:return Gs;case 35667:case 35671:return qs;case 35668:case 35672:return Xs;case 35669:case 35673:return $s;case 5125:return Ks;case 36294:return Js;case 36295:return Qs;case 36296:return Zs;case 35678:case 36198:case 36298:case 36306:case 35682:return to;case 35679:case 36299:case 36307:return eo;case 35680:case 36300:case 36308:case 36293:return no;case 36289:case 36303:case 36311:case 36292:return io}}(e.type)}}class so{constructor(t){this.id=t,this.seq=[],this.map={}}setValue(t,e,n){const i=this.seq;for(let r=0,a=i.length;r!==a;++r){const a=i[r];a.setValue(t,e[a.id],n)}}}const oo=/(\w+)(\])?(\[|\.)?/g;function lo(t,e){t.seq.push(e),t.map[e.id]=e}function co(t,e,n){const i=t.name,r=i.length;for(oo.lastIndex=0;;){const a=oo.exec(i),s=oo.lastIndex;let o=a[1];const l="]"===a[2],c=a[3];if(l&&(o|=0),void 0===c||"["===c&&s+2===r){lo(n,void 0===c?new ro(o,t,e):new ao(o,t,e));break}{let t=n.map[o];void 0===t&&(t=new so(o),lo(n,t)),n=t}}}class uo{constructor(t,e){this.seq=[],this.map={};const n=t.getProgramParameter(e,35718);for(let i=0;i<n;++i){const n=t.getActiveUniform(e,i);co(n,t.getUniformLocation(e,n.name),this)}}setValue(t,e,n,i){const r=this.map[e];void 0!==r&&r.setValue(t,n,i)}setOptional(t,e,n){const i=e[n];void 0!==i&&this.setValue(t,n,i)}static upload(t,e,n,i){for(let r=0,a=e.length;r!==a;++r){const a=e[r],s=n[a.id];!1!==s.needsUpdate&&a.setValue(t,s.value,i)}}static seqWithValue(t,e){const n=[];for(let i=0,r=t.length;i!==r;++i){const r=t[i];r.id in e&&n.push(r)}return n}}function ho(t,e,n){const i=t.createShader(e);return t.shaderSource(i,n),t.compileShader(i),i}let po=0;function fo(t,e,n){const i=t.getShaderParameter(e,35713),r=t.getShaderInfoLog(e).trim();if(i&&""===r)return"";const a=/ERROR: 0:(\d+)/.exec(r);if(a){const i=parseInt(a[1]);return n.toUpperCase()+"\n\n"+r+"\n\n"+function(t,e){const n=t.split("\n"),i=[],r=Math.max(e-6,0),a=Math.min(e+6,n.length);for(let t=r;t<a;t++){const r=t+1;i.push(`${r===e?">":" "} ${r}: ${n[t]}`)}return i.join("\n")}(t.getShaderSource(e),i)}return r}function mo(t,e){const n=function(t){switch(t){case Ie:return["Linear","( value )"];case De:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",t),["Linear","( value )"]}}(e);return"vec4 "+t+"( vec4 value ) { return LinearTo"+n[0]+n[1]+"; }"}function go(t,e){let n;switch(e){case J:n="Linear";break;case Q:n="Reinhard";break;case Z:n="OptimizedCineon";break;case tt:n="ACESFilmic";break;case et:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),n="Linear"}return"vec3 "+t+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}function vo(t){return""!==t}function _o(t,e){const n=e.numSpotLightShadows+e.numSpotLightMaps-e.numSpotLightShadowsWithMaps;return t.replace(/NUM_DIR_LIGHTS/g,e.numDirLights).replace(/NUM_SPOT_LIGHTS/g,e.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,e.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,e.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,e.numPointLights).replace(/NUM_HEMI_LIGHTS/g,e.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,e.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,e.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,e.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,e.numPointLightShadows)}function yo(t,e){return t.replace(/NUM_CLIPPING_PLANES/g,e.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,e.numClippingPlanes-e.numClipIntersection)}const bo=/^[ \t]*#include +<([\w\d./]+)>/gm;function xo(t){return t.replace(bo,wo)}function wo(t,e){const n=Ca[e];if(void 0===n)throw new Error("Can not resolve #include <"+e+">");return xo(n)}const Mo=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function So(t){return t.replace(Mo,To)}function To(t,e,n,i){let r="";for(let t=parseInt(e);t<parseInt(n);t++)r+=i.replace(/\[\s*i\s*\]/g,"[ "+t+" ]").replace(/UNROLLED_LOOP_INDEX/g,t);return r}function Ao(t){let e="precision "+t.precision+" float;\nprecision "+t.precision+" int;";return"highp"===t.precision?e+="\n#define HIGH_PRECISION":"mediump"===t.precision?e+="\n#define MEDIUM_PRECISION":"lowp"===t.precision&&(e+="\n#define LOW_PRECISION"),e}function Lo(t,e,n,i){const r=t.getContext(),a=n.defines;let s=n.vertexShader,o=n.fragmentShader;const l=function(t){let e="SHADOWMAP_TYPE_BASIC";return t.shadowMapType===d?e="SHADOWMAP_TYPE_PCF":t.shadowMapType===h?e="SHADOWMAP_TYPE_PCF_SOFT":t.shadowMapType===p&&(e="SHADOWMAP_TYPE_VSM"),e}(n),c=function(t){let e="ENVMAP_TYPE_CUBE";if(t.envMap)switch(t.envMapMode){case it:case rt:e="ENVMAP_TYPE_CUBE";break;case ot:e="ENVMAP_TYPE_CUBE_UV"}return e}(n),u=function(t){let e="ENVMAP_MODE_REFLECTION";if(t.envMap)switch(t.envMapMode){case rt:e="ENVMAP_MODE_REFRACTION"}return e}(n),f=function(t){let e="ENVMAP_BLENDING_NONE";if(t.envMap)switch(t.combine){case q:e="ENVMAP_BLENDING_MULTIPLY";break;case X:e="ENVMAP_BLENDING_MIX";break;case $:e="ENVMAP_BLENDING_ADD"}return e}(n),m=function(t){const e=t.envMapCubeUVHeight;if(null===e)return null;const n=Math.log2(e)-2,i=1/e;return{texelWidth:1/(3*Math.max(Math.pow(2,n),112)),texelHeight:i,maxMip:n}}(n),g=n.isWebGL2?"":function(t){return[t.extensionDerivatives||t.envMapCubeUVHeight||t.bumpMap||t.tangentSpaceNormalMap||t.clearcoatNormalMap||t.flatShading||"physical"===t.shaderID?"#extension GL_OES_standard_derivatives : enable":"",(t.extensionFragDepth||t.logarithmicDepthBuffer)&&t.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",t.extensionDrawBuffers&&t.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(t.extensionShaderTextureLOD||t.envMap||t.transmission)&&t.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(vo).join("\n")}(n),v=function(t){const e=[];for(const n in t){const i=t[n];!1!==i&&e.push("#define "+n+" "+i)}return e.join("\n")}(a),_=r.createProgram();let y,b,x=n.glslVersion?"#version "+n.glslVersion+"\n":"";n.isRawShaderMaterial?(y=[v].filter(vo).join("\n"),y.length>0&&(y+="\n"),b=[g,v].filter(vo).join("\n"),b.length>0&&(b+="\n")):(y=[Ao(n),"#define SHADER_NAME "+n.shaderName,v,n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.supportsVertexTextures?"#define VERTEX_TEXTURES":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+u:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.displacementMap&&n.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",n.specularColorMap?"#define USE_SPECULARCOLORMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEENCOLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&!1===n.flatShading?"#define USE_MORPHNORMALS":"",n.morphColors&&n.isWebGL2?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+l:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING","\tattribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","\tattribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","\tattribute vec4 color;","#elif defined( USE_COLOR )","\tattribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )","\tattribute vec3 morphTarget0;","\tattribute vec3 morphTarget1;","\tattribute vec3 morphTarget2;","\tattribute vec3 morphTarget3;","\t#ifdef USE_MORPHNORMALS","\t\tattribute vec3 morphNormal0;","\t\tattribute vec3 morphNormal1;","\t\tattribute vec3 morphNormal2;","\t\tattribute vec3 morphNormal3;","\t#else","\t\tattribute vec3 morphTarget4;","\t\tattribute vec3 morphTarget5;","\t\tattribute vec3 morphTarget6;","\t\tattribute vec3 morphTarget7;","\t#endif","#endif","#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(vo).join("\n"),b=[g,Ao(n),"#define SHADER_NAME "+n.shaderName,v,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+c:"",n.envMap?"#define "+u:"",n.envMap?"#define "+f:"",m?"#define CUBEUV_TEXEL_WIDTH "+m.texelWidth:"",m?"#define CUBEUV_TEXEL_HEIGHT "+m.texelHeight:"",m?"#define CUBEUV_MAX_MIP "+m.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescence?"#define USE_IR
415IDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",n.specularColorMap?"#define USE_SPECULARCOLORMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEENCOLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+l:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",n.toneMapping!==K?"#define TONE_MAPPING":"",n.toneMapping!==K?Ca.tonemapping_pars_fragment:"",n.toneMapping!==K?go("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",Ca.encodings_pars_fragment,mo("linearToOutputTexel",n.outputEncoding),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"","\n"].filter(vo).join("\n")),s=xo(s),s=_o(s,n),s=yo(s,n),o=xo(o),o=_o(o,n),o=yo(o,n),s=So(s),o=So(o),n.isWebGL2&&!0!==n.isRawShaderMaterial&&(x="#version 300 es\n",y=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join("\n")+"\n"+y,b=["#define varying in",n.glslVersion===hn?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===hn?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+b);const w=x+b+o,M=ho(r,35633,x+y+s),S=ho(r,35632,w);if(r.attachShader(_,M),r.attachShader(_,S),void 0!==n.index0AttributeName?r.bindAttribLocation(_,0,n.index0AttributeName):!0===n.morphTargets&&r.bindAttribLocation(_,0,"position"),r.linkProgram(_),t.debug.checkShaderErrors){const t=r.getProgramInfoLog(_).trim(),e=r.getShaderInfoLog(M).trim(),n=r.getShaderInfoLog(S).trim();let i=!0,a=!0;if(!1===r.getProgramParameter(_,35714)){i=!1;const e=fo(r,M,"vertex"),n=fo(r,S,"fragment");console.error("THREE.WebGLProgram: Shader Error "+r.getError()+" - VALIDATE_STATUS "+r.getProgramParameter(_,35715
vendor: 140,070 bytes, line 415
415)+"\n\nProgram Info Log: "+t+"\n"+e+"\n"+n)}else""!==t?console.warn("THREE.WebGLProgram: Program Info Log:",t):""!==e&&""!==n||(a=!1);a&&(this.diagnostics={runnable:i,programLog:t,vertexShader:{log:e,prefix:y},fragmentShader:{log:n,prefix:b}})}let T,A;return r.deleteShader(M),r.deleteShader(S),this.getUniforms=function(){return void 0===T&&(T=new uo(r,_)),T},this.getAttributes=function(){return void 0===A&&(A=function(t,e){const n={},i=t.getProgramParameter(e,35721);for(let r=0;r<i;r++){const i=t.getActiveAttrib(e,r),a=i.name;let s=1;35674===i.type&&(s=2),35675===i.type&&(s=3),35676===i.type&&(s=4),n[a]={type:i.type,location:t.getAttribLocation(e,a),locationSize:s}}return n}(r,_)),A},this.destroy=function(){i.releaseStatesOfProgram(this),r.deleteProgram(_),this.program=void 0},this.name=n.shaderName,this.id=po++,this.cacheKey=e,this.usedTimes=1,this.program=_,this.vertexShader=M,this.fragmentShader=S,this}let Eo=0;class Co{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(t){const e=t.vertexShader,n=t.fragmentShader,i=this._getShaderStage(e),r=this._getShaderStage(n),a=this._getShaderCacheForMaterial(t);return!1===a.has(i)&&(a.add(i),i.usedTimes++),!1===a.has(r)&&(a.add(r),r.usedTimes++),this}remove(t){const e=this.materialCache.get(t);for(const t of e)t.usedTimes--,0===t.usedTimes&&this.shaderCache.delete(t.code);return this.materialCache.delete(t),this}getVertexShaderID(t){return this._getShaderStage(t.vertexShader).id}getFragmentShaderID(t){return this._getShaderStage(t.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(t){const e=this.materialCache;let n=e.get(t);return void 0===n&&(n=new Set,e.set(t,n)),n}_getShaderStage(t){const e=this.shaderCache;let n=e.get(t);return void 0===n&&(n=new Io(t),e.set(t,n)),n}}class Io{constructor(t){this.id=Eo++,this.code=t,this.usedTimes=0}}function Do(t,e,n,i,r,a,s){const o=new Xi,l=new Co,c=[],u=r.isWebGL2,d=r.logarithmicDepthBuffer,h=r.vertexTextures;let p=r.precision;const f={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};return{getParameters:function(a,o,c,v,y){const b=v.fog,x=y.geometry,w=a.isMeshStandardMaterial?v.environment:null,M=(a.isMeshStandardMaterial?n:e).get(a.envMap||w),S=M&&M.mapping===ot?M.image.height:null,T=f[a.type];null!==a.precision&&(p=r.getMaxPrecision(a.precision),p!==a.precision&&console.warn("THREE.WebGLProgram.getParameters:",a.precision,"not supported, using",p,"instead."));const A=x.morphAttributes.position||x.morphAttributes.normal||x.morphAttributes.color,L=void 0!==A?A.length:0;let E,C,I,D,k=0;if(void 0!==x.morphAttributes.position&&(k=1),void 0!==x.morphAttributes.normal&&(k=2),void 0!==x.morphAttributes.color&&(k=3),T){const t=Da[T];E=t.vertexShader,C=t.fragmentShader}else E=a.vertexShader,C=a.fragmentShader,l.update(a),I=l.getVertexShaderID(a),D=l.getFragmentShaderID(a);const O=t.getRenderTarget(),R=a.alphaTest>0,P=a.clearcoat>0,N=a.iridescence>0;return{isWebGL2:u,shaderID:T,shaderName:a.type,vertexShader:E,fragmentShader:C,defines:a.defines,customVertexShaderID:I,customFragmentShaderID:D,isRawShaderMaterial:!0===a.isRawShaderMaterial,glslVersion:a.glslVersion,precision:p,instancing:!0===y.isInstancedMesh,instancingColor:!0===y.isInstancedMesh&&null!==y.instanceColor,supportsVertexTextures:h,outputEncoding:null===O?t.outputEncoding:!0===O.isXRRenderTarget?O.texture.encoding:Ie,map:!!a.map,matcap:!!a.matcap,envMap:!!M,envMapMode:M&&M.mapping,envMapCubeUVHeight:S,lightMap:!!a.lightMap,aoMap:!!a.aoMap,emissiveMap:!!a.emissiveMap,bumpMap:!!a.bumpMap,normalMap:!!a.normalMap,objectSpaceNormalMap:a.normalMapType===Pe,tangentSpaceNormalMap:a.normalMapType===Re,decodeVideoTexture:!!a.map&&!0===a.map.isVideoTexture&&a.map.encoding===De,clearcoat:P,clearcoatMap:P&&!!a.clearcoatMap,clearcoatRoughnessMap:P&&!!a.clearcoatRoughnessMap,clearcoatNormalMap:P&&!!a.clearcoatNormalMap,iridescence:N,iridescenceMap:N&&!!a.iridescenceMap,iridescenceThicknessMap:N&&!!a.iridescenceThicknessMap,displacementMap:!!a.displacementMap,roughnessMap:!!a.roughnessMap,metalnessMap:!!a.metalnessMap,specularMap:!!a.specularMap,specularIntensityMap:!!a.specularIntensityMap,specularColorMap:!!a.specularColorMap,opaque:!1===a.transparent&&a.blending===_,alphaMap:!!a.alphaMap,alphaTest:R,gradientMap:!!a.gradientMap,sheen:a.sheen>0,sheenColorMap:!!a.sheenColorMap,sheenRoughnessMap:!!a.sheenRoughnessMap,transmission:a.transmission>0,transmissionMap:!!a.transmissionMap,thicknessMap:!!a.thicknessMap,combine:a.combine,vertexTangents:!!a.normalMap&&!!x.attributes.tangent,vertexColors:a.vertexColors,vertexAlphas:!0===a.vertexColors&&!!x.attributes.color&&4===x.attributes.color.itemSize,vertexUvs:!!(a.map||a.bumpMap||a.normalMap||a.specularMap||a.alphaMap||a.emissiveMap||a.roughnessMap||a.metalnessMap||a.clearcoatMap||a.clearcoatRoughnessMap||a.clearcoatNormalMap||a.iridescenceMap||a.iridescenceThicknessMap||a.displacementMap||a.transmissionMap||a.thicknessMap||a.specularIntensityMap||a.specularColorMap||a.sheenColorMap||a.sheenRoughnessMap),uvsVertexOnly:!(a.map||a.bumpMap||a.normalMap||a.specularMap||a.alphaMap||a.emissiveMap||a.roughnessMap||a.metalnessMap||a.clearcoatNormalMap||a.iridescenceMap||a.iridescenceThicknessMap||a.transmission>0||a.transmissionMap||a.thicknessMap||a.specularIntensityMap||a.specularColorMap||a.sheen>0||a.sheenColorMap||a.sheenRoughnessMap||!a.displacementMap),fog:!!b,useFog:!0===a.fog,fogExp2:b&&b.isFogExp2,flatShading:!!a.flatShading,sizeAttenuation:a.sizeAttenuation,logarithmicDepthBuffer:d,skinning:!0===y.isSkinnedMesh,morphTargets:void 0!==x.morphAttributes.position,morphNormals:void 0!==x.morphAttributes.normal,morphColors:void 0!==x.morphAttributes.color,morphTargetsCount:L,morphTextureStride:k,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numClippingPlanes:s.numPlanes,numClipIntersection:s.numIntersection,dithering:a.dithering,shadowMapEnabled:t.shadowMap.enabled&&c.length>0,shadowMapType:t.shadowMap.type,toneMapping:a.toneMapped?t.toneMapping:K,physicallyCorrectLights:t.physicallyCorrectLights,premultipliedAlpha:a.premultipliedAlpha,doubleSided:a.side===g,flipSided:a.side===m,useDepthPacking:!!a.depthPacking,depthPacking:a.depthPacking||0,index0AttributeName:a.index0AttributeName,extensionDerivatives:a.extensions&&a.extensions.derivatives,extensionFragDepth:a.extensions&&a.extensions.fragDepth,extensionDrawBuffers:a.extensions&&a.extensions.drawBuffers,extensionShaderTextureLOD:a.extensions&&a.extensions.shaderTextureLOD,rendererExtensionFragDepth:u||i.has("EXT_frag_depth"),rendererExtensionDrawBuffers:u||i.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:u||i.has("EXT_shader_texture_lod"),customProgramCacheKey:a.customProgramCacheKey()}},getProgramCacheKey:function(e){const n=[];if(e.shaderID?n.push(e.shaderID):(n.push(e.customVertexShaderID),n.push(e.customFragmentShaderID)),void 0!==e.defines)for(const t in e.defines)n.push(t),n.push(e.defines[t]);return!1===e.isRawShaderMaterial&&(!function(t,e){t.push(e.precision),t.push(e.outputEncoding),t.push(e.envMapMode),t.push(e.envMapCubeUVHeight),t.push(e.combine),t.push(e.vertexUvs),t.push(e.fogExp2),t.push(e.sizeAttenuation),t.push(e.morphTargetsCount),t.push(e.morphAttributeCount),t.push(e.numDirLights),t.push(e.numPointLights),t.push(e.numSpotLights),t.push(e.numSpotLightMaps),t.push(e.numHemiLights),t.push(e.numRectAreaLights),t.push(e.numDirLightShadows),t.push(e.numPointLightShadows),t.push(e.numSpotLightShadows),t.push(e.numSpotLightShadowsWithMaps),t.push(e.shadowMapType),t.push(e.toneMapping),t.push(e.numClippingPlanes),t.push(e.numClipIntersection),t.push(e.depthPacking)}(n,e),function(t,e){o.disableAll(),e.isWebGL2&&o.enable(0);e.supportsVertexTextures&&o.enable(1);e.instancing&&o.enable(2);e.instancingColor&&o.enable(3);e.map&&o.enable(4);e.matcap&&o.enable(5);e.envMap&&o.enable(6);e.lightMap&&o.enable(7);e.aoMap&&o.enable(8);e.emissiveMap&&o.enable(9);e.bumpMap&&o.enable(10);e.normalMap&&o.enable(11);e.objectSpaceNormalMap&&o.enable(12);e.tangentSpaceNormalMap&&o.enable(13);e.clearcoat&&o.enable(14);e.clearcoatMap&&o.enable(15);e.clearcoatRoughnessMap&&o.enable(16);e.clearcoatNormalMap&&o.enable(17);e.iridescence&&o.enable(18);e.iridescenceMap&&o.enable(19);e.iridescenceThicknessMap&&o.enable(20);e.displacementMap&&o.enable(21);e.specularMap&&o.enable(22);e.roughnessMap&&o.enable(23);e.metalnessMap&&o.enable(24);e.gradientMap&&o.enable(25);e.alphaMap&&o.enable(26);e.alphaTest&&o.enable(27);e.vertexColors&&o.enable(28);e.vertexAlphas&&o.enable(29);e.vertexUvs&&o.enable(30);e.vertexTangents&&o.enable(31);e.uvsVertexOnly&&o.enable(32);t.push(o.mask),o.disableAll(),e.fog&&o.enable(0);e.useFog&&o.enable(1);e.flatShading&&o.enable(2);e.logarithmicDepthBuffer&&o.enable(3);e.skinning&&o.enable(4);e.morphTargets&&o.enable(5);e.morphNormals&&o.enable(6);e.morphColors&&o.enable(7);e.premultipliedAlpha&&o.enable(8);e.shadowMapEnabled&&o.enable(9);e.physicallyCorrectLights&&o.enable(10);e.doubleSided&&o.enable(11);e.flipSided&&o.enable(12);e.useDepthPacking&&o.enable(13);e.dithering&&o.enable(14);e.specularIntensityMap&&o.enable(15);e.specularColorMap&&o.enable(16);e.transmission&&o.enable(17);e.transmissionMap&&o.enable(18);e.thicknessMap&&o.enable(19);e.sheen&&o.enable(20);e.sheenColorMap&&o.enable(21);e.sheenRoughnessMap&&o.enable(22);e.decodeVideoTexture&&o.enable(23);e.opaque&&o.enable(24);t.push(o.mask)}(n,e),n.push(t.outputEncoding)),n.push(e.customProgramCacheKey),n.join()},getUniforms:function(t){const e=f[t.type];let n;if(e){const t=Da[e];n=ha.clone(t.uniforms)}else n=t.uniforms;return n},acquireProgram:function(e,n){let i;for(let t=0,e=c.length;t<e;t++){const e=c[t];if(e.cacheKey===n){i=e,++i.usedTimes;break}}return void 0===i&&(i=new Lo(t,n,e,a),c.push(i)),i},releaseProgram:function(t){if(0==--t.usedTimes){const e=c.indexOf(t);c[e]=c[c.length-1],c.pop(),t.destroy()}},releaseShaderCache:function(t){l.remove(t)},programs:c,dispose:function(){l.dispose()}}}function ko(){let t=new WeakMap;return{get:function(e){let n=t.get(e);return void 0===n&&(n={},t.set(e,n)),n},remove:function(e){t.delete(e)},update:function(e,n,i){t.get(e)[n]=i},dispose:function(){t=new WeakMap}}}function Oo(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.material.id!==e.material.id?t.material.id-e.material.id:t.z!==e.z?t.z-e.z:t.id-e.id}function Ro(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.z!==e.z?e.z-t.z:t.id-e.id}function Po(){const t=[];let e=0;const n=[],i=[],r=[];function a(n,i,r,a,s,o){let l=t[e];return void 0===l?(l={id:n.id,object:n,geometry:i,material:r,groupOrder:a,renderOrder:n.renderOrder,z:s,group:o},t[e]=l):(l.id=n.id,l.object=n,l.geometry=i,l.material=r,l.groupOrder=a,l.renderOrder=n.renderOrder,l.z=s,l.group=o),e++,l}return{opaque:n,transmissive:i,transparent:r,init:function(){e=0,n.length=0,i.length=0,r.length=0},push:function(t,e,s,o,l,c){const u=a(t,e,s,o,l,c);s.transmission>0?i.push(u):!0===s.transparent?r.push(u):n.push(u)},unshift:function(t,e,s,o,l,c){const u=a(t,e,s,o,l,c);s.transmission>0?i.unshift(u):!0===s.transparent?r.unshift(u):n.unshift(u)},finish:function(){for(let n=e,i=t.length;n<i;n++){const e=t[n];if(null===e.id)break;e.id=null,e.object=null,e.geometry=null,e.material=null,e.group=null}},sort:function(t,e){n.length>1&&n.sort(t||Oo),i.length>1&&i.sort(e||Ro),r.length>1&&r.sort(e||Ro)}}}function No(){let t=new WeakMap;return{get:function(e,n){const i=t.get(e);let r;return void 0===i?(r=new Po,t.set(e,[r])):n>=i.length?(r=new Po,i.push(r)):r=i[n],r},dispose:function(){t=new WeakMap}}}function Yo(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case"DirectionalLight":n={direction:new si,color:new Wn};break;case"SpotLight":n={position:new si,direction:new si,color:new Wn,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new si,color:new Wn,distance:0,decay:0};break;case"HemisphereLight":n={direction:new si,skyColor:new Wn,groundColor:new Wn};break;case"RectAreaLight":n={color:new Wn,position:new si,halfWidth:new si,halfHeight:new si}}return t[e.id]=n,n}}}let Fo=0;function Ho(t,e){return(e.castShadow?2:0)-(t.castShadow?2:0)+(e.map?1:0)-(t.map?1:0)}function jo(t,e){const n=new Yo,i=function(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case"DirectionalLight":case"SpotLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Cn};break;case"PointLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Cn,shadowCameraNear:1,shadowCameraFar:1e3}}return t[e.id]=n,n}}}(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0};for(let t=0;t<9;t++)r.probe.push(new si);const a=new si,s=new Yi,o=new Yi;return{setup:function(a,s){let o=0,l=0,c=0;for(let t=0;t<9;t++)r.probe[t].set(0,0,0);let u=0,d=0,h=0,p=0,f=0,m=0,g=0,v=0,_=0,y=0;a.sort(Ho);const b=!0!==s?Math.PI:1;for(let t=0,e=a.length;t<e;t++){const e=a[t],s=e.color,x=e.intensity,w=e.distance,M=e.shadow&&e.shadow.map?e.shadow.map.texture:null;if(e.isAmbientLight)o+=s.r*x*b,l+=s.g*x*b,c+=s.b*x*b;else if(e.isLightProbe)for(let t=0;t<9;t++)r.probe[t].addScaledVector(e.sh.coefficients[t],x);else if(e.isDirectionalLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*b),e.castShadow){const t=e.shadow,n=i.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,r.directionalShadow[u]=n,r.directionalShadowMap[u]=M,r.directionalShadowMatrix[u]=e.shadow.matrix,m++}r.directional[u]=t,u++}else if(e.isSpotLight){const t=n.get(e);t.position.setFromMatrixPosition(e.matrixWorld),t.color.copy(s).multiplyScalar(x*b),t.distance=w,t.coneCos=Math.cos(e.angle),t.penumbraCos=Math.cos(e.angle*(1-e.penumbra)),t.decay=e.decay,r.spot[h]=t;const a=e.shadow;if(e.map&&(r.spotLightMap[_]=e.map,_++,a.updateMatrices(e),e.castShadow&&y++),r.spotLightMatrix[h]=a.matrix,e.castShadow){const t=i.get(e);t.shadowBias=a.bias,t.shadowNormalBias=a.normalBias,t.shadowRadius=a.radius,t.shadowMapSize=a.mapSize,r.spotShadow[h]=t,r.spotShadowMap[h]=M,v++}h++}else if(e.isRectAreaLight){const t=n.get(e);t.color.copy(s).multiplyScalar(x),t.halfWidth.set(.5*e.width,0,0),t.halfHeight.set(0,.5*e.height,0),r.rectArea[p]=t,p++}else if(e.isPointLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*b),t.distance=e.distance,t.decay=e.decay,e.castShadow){const t=e.shadow,n=i.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,n.shadowCameraNear=t.camera.near,n.shadowCameraFar=t.camera.far,r.pointShadow[d]=n,r.pointShadowMap[d]=M,r.pointShadowMatrix[d]=e.shadow.matrix,g++}r.point[d]=t,d++}else if(e.isHemisphereLight){const t=n.get(e);t.skyColor.copy(e.color).multiplyScalar(x*b),t.groundColor.copy(e.groundColor).multiplyScalar(x*b),r.hemi[f]=t,f++}}p>0&&(e.isWebGL2||!0===t.has("OES_texture_float_linear")?(r.rectAreaLTC1=Ia.LTC_FLOAT_1,r.rectAreaLTC2=Ia.LTC_FLOAT_2):!0===t.has("OES_texture_half_float_linear")?(r.rectAreaLTC1=Ia.LTC_HALF_1,r.rectAreaLTC2=Ia.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),r.ambient[0]=o,r.ambient[1]=l,r.ambient[2]=c;const x=r.hash;x.directionalLength===u&&x.pointLength===d&&x.spotLength===h&&x.rectAreaLength===p&&x.hemiLength===f&&x.numDirectionalShadows===m&&x.numPointShadows===g&&x.numSpotShadows===v&&x.numSpotMaps===_||(r.directional.length=u,r.spot.length=h,r.rectArea.length=p,r.point.length=d,r.hemi.length=f,r.directionalShadow.length=m,r.directionalShadowMap.length=m,r.pointShadow.length=g,r.pointShadowMap.length=g,r.spotShadow.length=v,r.spotShadowMap.length=v,r.directionalShadowMatrix.length=m,r.pointShadowMatrix.length=g,r.spotLightMatrix.length=v+_-y,r.spotLightMap.length=_,r.numSpotLightShadowsWithMaps=y,x.directionalLength=u,x.pointLength=d,x.spotLength=h,x.rectAreaLength=p,x.hemiLength=f,x.numDirectionalShadows=m,x.numPointShadows=g,x.numSpotShadows=v,x.numSpotMaps=_,r.version=Fo++)},setupView:function(t,e){let n=0,i=0,l=0,c=0,u=0;const d=e.matrixWorldInverse;for(let e=0,h=t.length;e<h;e++){const h=t[e];if(h.isDirectionalLight){const t=r.directional[n];t.direction.setFromMatrixPosition(h.matrixWorld),a.setFromMatrixPosition(h.target.matrixWorld),t.direction.sub(a),t.direction.transformDirection(d),n++}else if(h.isSpotLight){const t=r.spot[l];t.position.setFromMatrixPosition(h.matrixWorld),t.position.applyMatrix4(d),t.direction.setFromMatrixPosition(h.matrixWorld),a.setFromMatrixPosition(h.target.matrixWorld),t.direction.sub(a),t.direction.transformDirection(d),l++}else if(h.isRectAreaLight){const t=r.rectArea[c];t.position.setFromMatrixPosition(h.matrixWorld),t.position.applyMatrix4(d),o.identity(),s.copy(h.matrixWorld),s.premultiply(d),o.extractRotation(s),t.halfWidth.set(.5*h.width,0,0),t.halfHeight.set(0,.5*h.height,0),t.halfWidth.applyMatrix4(o),t.halfHeight.applyMatrix4(o),c++}else if(h.isPointLight){const t=r.point[i];t.position.setFromMatrixPosition(h.matrixWorld),t.position.applyMatrix4(d),i++}else if(h.isHemisphereLight){const t=r.hemi[u];t.direction.setFromMatrixPosition(h.matrixWorld),t.direction.transformDirection(d),u++}}},state:r}}function Bo(t,e){const n=new jo(t,e),i=[],r=[];return{init:function(){i.length=0,r.length=0},state:{lightsArray:i,shadowsArray:r,lights:n},setupLights:function(t){n.setup(i,t)},setupLightsView:function(t){n.setupView(i,t)},pushLight:function(t){i.push(t)},pushShadow:function(t){r.push(t)}}}function zo(t,e){let n=new WeakMap;return{get:function(i,r=0){const a=n.get(i);let s;return void 0===a?(s=new Bo(t,e),n.set(i,[s])):r>=a.length?(s=new Bo(t,e),a.push(s)):s=a[r],s},dispose:function(){n=new WeakMap}}}class Uo extends xr{constructor(t){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=ke,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(t)}copy(t){return super.copy(t),this.depthPacking=t.depthPacking,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this}}class Vo extends xr{constructor(t){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.referencePosition=new si,this.nearDistance=1,this.farDistance=1e3,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(t)}copy(t){return super.copy(t),this.referencePosition.copy(t.referencePosition),this.nearDistance=t.nearDistance,this.farDistance=t.farDistance,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this}}function Wo(t,e,n){let i=new Ta;const r=new Cn,a=new Cn,s=new Qn,o=new Uo({depthPacking:Oe}),l=new Vo,c={},u=n.maxTextureSize,h={0:m,1:f,2:g},_=new pa({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new Cn},radius:{value:4}},vertexShader:"void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n\tconst float samples = float( VSM_SAMPLES );\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n\tfor ( float i = 0.0; i < samples; i ++ ) {\n\t\tfloat uvOffset = uvStart + i * uvStride;\n\t\t#ifdef HORIZONTAL_PASS\n\t\t\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n\t\t\tmean += distribution.x;\n\t\t\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n\t\t#else\n\t\t\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n\t\t\tmean += depth;\n\t\t\tsquared_mean += depth * depth;\n\t\t#endif\n\t}\n\tmean = mean / samples;\n\tsquared_mean = squared_mean / samples;\n\tfloat std_dev = sqrt( squared_mean - mean * mean );\n\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),y=_.clone();y.defines.HORIZONTAL_PASS=1;const b=new Ur;b.setAttribute("position",new Tr(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const x=new oa(b,_),w=this;function M(n,i){const a=e.update(x);_.defines.VSM_SAMPLES!==n.blurSamples&&(_.defines.VSM_SAMPLES=n.blurSamples,y.defines.VSM_SAMPLES=n.blurSamples,_.needsUpdate=!0,y.needsUpdate=!0),null===n.mapPass&&(n.mapPass=new Zn(r.x,r.y)),_.uniforms.shadow_pass.value=n.map.texture,_.uniforms.resolution.value=n.mapSize,_.uniforms.radius.value=n.radius,t.setRenderTarget(n.mapPass),t.clear(),t.renderBufferDirect(i,null,a,_,x,null),y.uniforms.shadow_pass.value=n.mapPass.texture,y.uniforms.resolution.value=n.mapSize,y.uniforms.radius.value=n.radius,t.setRenderTarget(n.map),t.clear(),t.renderBufferDirect(i,null,a,y,x,null)}function S(e,n,i,r,a,s){let u=null;const d=!0===i.isPointLight?e.customDistanceMaterial:e.customDepthMaterial;if(u=void 0!==d?d:!0===i.isPointLight?l:o,t.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0){const t=u.uuid,e=n.uuid;let i=c[t];void 0===i&&(i={},c[t]=i);let r=i[e];void 0===r&&(r=u.clone(),i[e]=r),u=r}return u.visible=n.visible,u.wireframe=n.wireframe,u.side=s===p?null!==n.shadowSide?n.shadowSide:n.side:null!==n.shadowSide?n.shadowSide:h[n.side],u.alphaMap=n.alphaMap,u.alphaTest=n.alphaTest,u.clipShadows=n.clipShadows,u.clippingPlanes=n.clippingPlanes,u.clipIntersection=n.clipIntersection,u.displacementMap=n.displacementMap,u.displacementScale=n.displacementScale,u.displacementBias=n.displacementBias,u.wireframeLinewidth=n.wireframeLinewidth,u.linewidth=n.linewidth,!0===i.isPointLight&&!0===u.isMeshDistanceMaterial&&(u.referencePosition.setFromMatrixPosition(i.matrixWorld),u.nearDistance=r,u.farDistance=a),u}function T(n,r,a,s,o){if(!1===n.visible)return;if(n.layers.test(r.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&o===p)&&(!n.frustumCulled||i.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(a.matrixWorldInverse,n.matrixWorld);const i=e.update(n),r=n.material;if(Array.isArray(r)){const e=i.groups;for(let l=0,c=e.length;l<c;l++){const c=e[l],u=r[c.materialIndex];if(u&&u.visible){const e=S(n,u,s,a.near,a.far,o);t.renderBufferDirect(a,null,i,e,n,c)}}}else if(r.visible){const e=S(n,r,s,a.near,a.far,o);t.renderBufferDirect(a,null,i,e,n,null)}}const l=n.children;for(let t=0,e=l.length;t<e;t++)T(l[t],r,a,s,o)}this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=d,this.render=function(e,n,o){if(!1===w.enabled)return;if(!1===w.autoUpdate&&!1===w.needsUpdate)return;if(0===e.length)return;const l=t.getRenderTarget(),c=t.getActiveCubeFace(),d=t.getActiveMipmapLevel(),h=t.state;h.setBlending(v),h.buffers.color.setClear(1,1,1,1),h.buffers.depth.setTest(!0),h.setScissorTest(!1);for(let l=0,c=e.length;l<c;l++){const c=e[l],d=c.shadow;if(void 0===d){console.warn("THREE.WebGLShadowMap:",c,"has no shadow.");continue}if(!1===d.autoUpdate&&!1===d.needsUpdate)continue;r.copy(d.mapSize);const f=d.getFrameExtents();if(r.multiply(f),a.copy(d.mapSize),(r.x>u||r.y>u)&&(r.x>u&&(a.x=Math.floor(u/f.x),r.x=a.x*f.x,d.mapSize.x=a.x),r.y>u&&(a.y=Math.floor(u/f.y),r.y=a.y*f.y,d.mapSize.y=a.y)),null===d.map){const t=this.type!==p?{minFilter:dt,magFilter:dt}:{};d.map=new Zn(r.x,r.y,t),d.map.texture.name=c.name+".shadowMap",d.camera.updateProjectionMatrix()}t.setRenderTarget(d.map),t.clear();const m=d.getViewportCount();for(let t=0;t<m;t++){const e=d.getViewport(t);s.set(a.x*e.x,a.y*e.y,a.x*e.z,a.y*e.w),h.viewport(s),d.updateMatrices(c,t),i=d.getFrustum(),T(n,o,d.camera,c,this.type)}!0!==d.isPointLightShadow&&this.type===p&&M(d,o),d.needsUpdate=!1}w.needsUpdate=!1,t.setRenderTarget(l,c,d)}}function Go(t,e,n){const i=n.isWebGL2;const r=new function(){let e=!1;const n=new Qn;let i=null;const r=new Qn(0,0,0,0);return{setMask:function(n){i===n||e||(t.colorMask(n,n,n,n),i=n)},setLocked:function(t){e=t},setClear:function(e,i,a,s,o){!0===o&&(e*=s,i*=s,a*=s),n.set(e,i,a,s),!1===r.equals(n)&&(t.clearColor(e,i,a,s),r.copy(n))},reset:function(){e=!1,i=null,r.set(-1,0,0,0)}}},a=new function(){let e=!1,n=null,i=null,r=null;return{setTest:function(t){t?xt(2929):wt(2929)},setMask:function(i){n===i||e||(t.depthMask(i),n=i)},setFunc:function(e){if(i!==e){if(e)switch(e){case H:t.depthFunc(512);break;case j:t.depthFunc(519);break;case B:t.depthFunc(513);break;case z:t.depthFunc(515);break;case U:t.depthFunc(514);break;case V:t.depthFunc(518);break;case W:t.depthFunc(516);break;case G:t.depthFunc(517);break;default:t.depthFunc(515)}else t.depthFunc(515);i=e}},setLocked:function(t){e=t},setClear:function(e){r!==e&&(t.clearDepth(e),r=e)},reset:function(){e=!1,n=null,i=null,r=null}}},c=new function(){let e=!1,n=null,i=null,r=null,a=null,s=null,o=null,l=null,c=null;return{setTest:function(t){e||(t?xt(2960):wt(2960))},setMask:function(i){n===i||e||(t.stencilMask(i),n=i)},setFunc:function(e,n,s){i===e&&r===n&&a===s||(t.stencilFunc(e,n,s),i=e,r=n,a=s)},setOp:function(e,n,i){s===e&&o===n&&l===i||(t.stencilOp(e,n,i),s=e,o=n,l=i)},setLocked:function(t){e=t},setClear:function(e){c!==e&&(t.clearStencil(e),c=e)},reset:function(){e=!1,n=null,i=null,r=null,a=null,s=null,o=null,l=null,c=null}}},u=new WeakMap,d=new WeakMap;let h={},p={},f=new WeakMap,q=[],X=null,$=!1,K=null,J=null,Q=null,Z=null,tt=null,et=null,nt=null,it=!1,rt=null,at=null,st=null,ot=null,lt=null;const ct=t.getParameter(35661);let ut=!1,dt=0;const ht=t.getParameter(7938);-1!==ht.indexOf("WebGL")?(dt=parseFloat(/^WebGL (\d)/.exec(ht)[1]),ut=dt>=1):-1!==ht.indexOf("OpenGL ES")&&(dt=parseFloat(/^OpenGL ES (\d)/.exec(ht)[1]),ut=dt>=2);let pt=null,ft={};const mt=t.getParameter(3088),gt=t.getParameter(2978),vt=(new Qn).fromArray(mt),_t=(new Qn).fromArray(gt);function yt(e,n,i){const r=new Uint8Array(4),a=t.createTexture();t.bindTexture(e,a),t.texParameteri(e,10241,9728),t.texParameteri(e,10240,9728);for(let e=0;e<i;e++)t.texImage2D(n+e,0,6408,1,1,0,6408,5121,r);return a}const bt={};function xt(e){!0!==h[e]&&(t.enable(e),h[e]=!0)}function wt(e){!1!==h[e]&&(t.disable(e),h[e]=!1)}bt[3553]=yt(3553,3553,1),bt[34067]=yt(34067,34069,6),r.setClear(0,0,0,1),a.setClear(1),c.setClear(0),xt(2929),a.setFunc(z),At(!1),Lt(o),xt(2884),Tt(v);const Mt={[M]:32774,[S]:32778,[T]:32779};if(i)Mt[A]=32775,Mt[L]=32776;else{const t=e.get("EXT_blend_minmax");null!==t&&(Mt[A]=t.MIN_EXT,Mt[L]=t.MAX_EXT)}const St={[E]:0,[C]:1,[I]:768,[k]:770,[F]:776,[N]:774,[R]:772,[D]:769,[O]:771,[Y]:775,[P]:773};function Tt(e,n,i,r,a,s,o,l){if(e!==v){if(!1===$&&(xt(3042),$=!0),e===w)a=a||n,s=s||i,o=o||r,n===J&&a===tt||(t.blendEquationSeparate(Mt[n],Mt[a]),J=n,tt=a),i===Q&&r===Z&&s===et&&o===nt||(t.blendFuncSeparate(St[i],St[r],St[s],St[o]),Q=i,Z=r,et=s,nt=o),K=e,it=null;else if(e!==K||l!==it){if(J===M&&tt===M||(t.blendEquation(32774),J=M,tt=M),l)switch(e){case _:t.blendFuncSeparate(1,771,1,771);break;case y:t.blendFunc(1,1);break;case b:t.blendFuncSeparate(0,769,0,1);break;case x:t.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",e)}else switch(e){case _:t.blendFuncSeparate(770,771,1,771);break;case y:t.blendFunc(770,1);break;case b:t.blendFuncSeparate(0,769,0,1);break;case x:t.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",e)}Q=null,Z=null,et=null,nt=null,K=e,it=l}}else!0===$&&(wt(3042),$=!1)}function At(e){rt!==e&&(e?t.frontFace(2304):t.frontFace(2305),rt=e)}function Lt(e){e!==s?(xt(2884),e!==at&&(e===o?t.cullFace(1029):e===l?t.cullFace(1028):t.cullFace(1032))):wt(2884),at=e}function Et(e,n,i){e?(xt(32823),ot===n&&lt===i||(t.polygonOffset(n,i),ot=n,lt=i)):wt(32823)}function Ct(e){void 0===e&&(e=33984+ct-1),pt!==e&&(t.activeTexture(e),pt=e)}return{buffers:{color:r,depth:a,stencil:c},enable:xt,disable:wt,bindFramebuffer:function(e,n){return p[e]!==n&&(t.bindFramebuffer(e,n),p[e]=n,i&&(36009===e&&(p[36160]=n),36160===e&&(p[36009]=n)),!0)},drawBuffers:function(i,r){let a=q,s=!1;if(i)if(a=f.get(r),void 0===a&&(a=[],f.set(r,a)),i.isWebGLMultipleRenderTargets){const t=i.texture;if(a.length!==t.length||36064!==a[0]){for(let e=0,n=t.length;e<n;e++)a[e]=36064+e;a.length=t.length,s=!0}}else 36064!==a[0]&&(a[0]=36064,s=!0);else 1029!==a[0]&&(a[0]=1029,s=!0);s&&(n.isWebGL2?t.drawBuffers(a):e.get("WEBGL_draw_buffers").drawBuffersWEBGL(a))},useProgram:function(e){return X!==e&&(t.useProgram(e),X=e,!0)},setBlending:Tt,setMaterial:function(t,e){t.side===g?wt(2884):xt(2884);let n=t.side===m;e&&(n=!n),At(n),t.blending===_&&!1===t.transparent?Tt(v):Tt(t.blending,t.blendEquation,t.blendSrc,t.blendDst,t.blendEquationAlpha,t.blendSrcAlpha,t.blendDstAlpha,t.premultipliedAlpha),a.setFunc(t.depthFunc),a.setTest(t.depthTest),a.setMask(t.depthWrite),r.setMask(t.colorWrite);const i=t.stencilWrite;c.setTest(i),i&&(c.setMask(t.stencilWriteMask),c.setFunc(t.stencilFunc,t.stencilRef,t.stencilFuncMask),c.setOp(t.stencilFail,t.stencilZFail,t.stencilZPass)),Et(t.polygonOffset,t.polygonOffsetFactor,t.polygonOffsetUnits),!0===t.alphaToCoverage?xt(32926):wt(32926)},setFlipSided:At,setCullFace:Lt,setLineWidth:function(e){e!==st&&(ut&&t.lineWidth(e),st=e)},setPolygonOffset:Et,setScissorTest:function(t){t?xt(3089):wt(3089)},activeTexture:Ct,bindTexture:function(e,n){null===pt&&Ct();let i=ft[pt];void 0===i&&(i={type:void 0,texture:void 0},ft[pt]=i),i.type===e&&i.texture===n||(t.bindTexture(e,n||bt[e]),i.type=e,i.texture=n)},unbindTexture:function(){const e=ft[pt];void 0!==e&&void 0!==e.type&&(t.bindTexture(e.type,null),e.type=void 0,e.texture=void 0)},compressedTexImage2D:function(){try{t.compressedTexImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texImage2D:function(){try{t.texImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texImage3D:function(){try{t.texImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},updateUBOMapping:function(e,n){let i=d.get(n);void 0===i&&(i=new WeakMap,d.set(n,i));let r=i.get(e);void 0===r&&(r=t.getUniformBlockIndex(n,e.name),i.set(e,r))},uniformBlockBinding:function(e,n){const i=d.get(n).get(e);u.get(e)!==i&&(t.uniformBlockBinding(n,i,e.__bindingPointIndex),u.set(e,i))},texStorage2D:function(){try{t.texStorage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texStorage3D:function(){try{t.texStorage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texSubImage2D:function(){try{t.texSubImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texSubImage3D:function(){try{t.texSubImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexSubImage2D:function(){try{t.compressedTexSubImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},scissor:function(e){!1===vt.equals(e)&&(t.scissor(e.x,e.y,e.z,e.w),vt.copy(e))},viewport:function(e){!1===_t.equals(e)&&(t.viewport(e.x,e.y,e.z,e.w),_t.copy(e))},reset:function(){t.disable(3042),t.disable(2884),t.disable(2929),t.disable(32823),t.disable(3089),t.disable(2960),t.disable(32926),t.blendEquation(32774),t.blendFunc(1,0),t.blendFuncSeparate(1,0,1,0),t.colorMask(!0,!0,!0,!0),t.clearColor(0,0,0,0),t.depthMask(!0),t.depthFunc(513),t.clearDepth(1),t.stencilMask(4294967295),t.stencilFunc(519,0,4294967295),t.stencilOp(7680,7680,7680),t.clearStencil(0),t.cullFace(1029),t.frontFace(2305),t.polygonOffset(0,0),t.activeTexture(33984),t.bindFramebuffer(36160,null),!0===i&&(t.bindFramebuffer(36009,null),t.bindFramebuffer(36008,null)),t.useProgram(null),t.lineWidth(1),t.scissor(0,0,t.canvas.width,t.canvas.height),t.viewport(0,0,t.canvas.width,t.canvas.height),h={},pt=null,ft={},p={},f=new WeakMap,q=[],X=null,$=!1,K=null,J=null,Q=null,Z=null,tt=null,et=null,nt=null,it=!1,rt=null,at=null,st=null,ot=null,lt=null,vt.set(0,0,t.canvas.width,t.canvas.height),_t.set(0,0,t.canvas.width,t.canvas.height),r.reset(),a.reset(),c.reset()}}}function qo(t,e,n,i,r,a,s){const o=r.isWebGL2,l=r.maxTextures,c=r.maxCubemapSize,u=r.maxTextureSize,d=r.maxSamples,h=e.has("WEBGL_multisampled_render_to_texture")?e.get("WEBGL_multisampled_render_to_texture"):null,p=/OculusBrowser/g.test(navigator.userAgent),f=new WeakMap;let m;const g=new WeakMap;let v=!1;try{v="undefined"!=typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(t){}function _(t,e){return v?new OffscreenCanvas(t,e):Rn("canvas")}function y(t,e,n,i){let r=1;if((t.width>i||t.height>i)&&(r=i/Math.max(t.width,t.height)),r<1||!0===e){if("undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap){const i=e?Tn:Math.floor,a=i(r*t.width),s=i(r*t.height);void 0===m&&(m=_(a,s));const o=n?_(a,s):m;o.width=a,o.height=s;return o.getContext("2d").drawImage(t,0,0,a,s),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+t.width+"x"+t.height+") to ("+a+"x"+s+")."),o}return"data"in t&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+t.width+"x"+t.height+")."),t}return t}function b(t){return Mn(t.width)&&Mn(t.height)}function x(t,e){return t.generateMipmaps&&e&&t.minFilter!==dt&&t.minFilter!==gt}function w(e){t.generateMipmap(e)}function M(n,i,r,a,s=!1){if(!1===o)return i;if(null!==n){if(void 0!==t[n])return t[n];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+n+"'")}let l=i;return 6403===i&&(5126===r&&(l=33326),5131===r&&(l=33325),5121===r&&(l=33321)),33319===i&&(5126===r&&(l=33328),5131===r&&(l=33327),5121===r&&(l=33323)),6408===i&&(5126===r&&(l=34836),5131===r&&(l=34842),5121===r&&(l=a===De&&!1===s?35907:32856),32819===r&&(l=32854),32820===r&&(l=32855)),33325!==l&&33326!==l&&33327!==l&&33328!==l&&34842!==l&&34836!==l||e.get("EXT_color_buffer_float"),l}function S(t,e,n){return!0===x(t,n)||t.isFramebufferTexture&&t.minFilter!==dt&&t.minFilter!==gt?Math.log2(Math.max(e.width,e.height))+1:void 0!==t.mipmaps&&t.mipmaps.length>0?t.mipmaps.length:t.isCompressedTexture&&Array.isArray(t.image)?e.mipmaps.length:1}function T(t){return t===dt||t===ht||t===ft?9728:9729}function A(t){const e=t.target;e.removeEventListener("dispose",A),function(t){const e=i.get(t);if(void 0===e.__webglInit)return;const n=t.source,r=g.get(n);if(r){const i=r[e.__cacheKey];i.usedTimes--,0===i.usedTimes&&E(t),0===Object.keys(r).length&&g.delete(n)}i.remove(t)}(e),e.isVideoTexture&&f.delete(e)}function L(e){const n=e.target;n.removeEventListener("dispose",L),function(e){const n=e.texture,r=i.get(e),a=i.get(n);void 0!==a.__webglTexture&&(t.deleteTexture(a.__webglTexture),s.memory.textures--);e.depthTexture&&e.depthTexture.dispose();if(e.isWebGLCubeRenderTarget)for(let e=0;e<6;e++)t.deleteFramebuffer(r.__webglFramebuffer[e]),r.__webglDepthbuffer&&t.deleteRenderbuffer(r.__webglDepthbuffer[e]);else{if(t.deleteFramebuffer(r.__webglFramebuffer),r.__webglDepthbuffer&&t.deleteRenderbuffer(r.__webglDepthbuffer),r.__webglMultisampledFramebuffer&&t.deleteFramebuffer(r.__webglMultisampledFramebuffer),r.__webglColorRenderbuffer)for(let e=0;e<r.__webglColorRenderbuffer.length;e++)r.__webglColorRenderbuffer[e]&&t.deleteRenderbuffer(r.__webglColorRenderbuffer[e]);r.__webglDepthRenderbuffer&&t.deleteRenderbuffer(r.__webglDepthRenderbuffer)}if(e.isWebGLMultipleRenderTargets)for(let e=0,r=n.length;e<r;e++){const r=i.get(n[e]);r.__webglTexture&&(t.deleteTexture(r.__webglTexture),s.memory.textures--),i.remove(n[e])}i.remove(n),i.remove(e)}(n)}function E(e){const n=i.get(e);t.deleteTexture(n.__webglTexture);const r=e.source;delete g.get(r)[n.__cacheKey],s.memory.textures--}let C=0;function I(t,e){const r=i.get(t);if(t.isVideoTexture&&function(t){const e=s.render.frame;f.get(t)!==e&&(f.set(t,e),t.update())}(t),!1===t.isRenderTargetTexture&&t.version>0&&r.__version!==t.version){const n=t.image;if(null===n)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==n.complete)return void P(r,t,e);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}n.activeTexture(33984+e),n.bindTexture(3553,r.__webglTexture)}const D={[lt]:10497,[ct]:33071,[ut]:33648},k={[dt]:9728,[ht]:9984,[ft]:9986,[gt]:9729,[vt]:9985,[yt]:9987};function O(n,a,s){if(s?(t.texParameteri(n,10242,D[a.wrapS]),t.texParameteri(n,10243,D[a.wrapT]),32879!==n&&35866!==n||t.texParameteri(n,32882,D[a.wrapR]),t.texParameteri(n,10240,k[a.magFilter]),t.texParameteri(n,10241,k[a.minFilter])):(t.texParameteri(n,10242,33071),t.texParameteri(n,10243,33071),32879!==n&&35866!==n||t.texParameteri(n,32882,33071),a.wrapS===ct&&a.wrapT===ct||console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),t.texParameteri(n,10240,T(a.magFilter)),t.texParameteri(n,10241,T(a.minFilter)),a.minFilter!==dt&&a.minFilter!==gt&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),!0===e.has("EXT_texture_filter_anisotropic")){const s=e.get("EXT_texture_filter_anisotropic");if(a.type===Lt&&!1===e.has("OES_texture_float_linear"))return;if(!1===o&&a.type===Et&&!1===e.has("OES_texture_half_float_linear"))return;(a.anisotropy>1||i.get(a).__currentAnisotropy)&&(t.texParameterf(n,s.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(a.anisotropy,r.getMaxAnisotropy())),i.get(a).__currentAnisotropy=a.anisotropy)}}function R(e,n){let i=!1;void 0===e.__webglInit&&(e.__webglInit=!0,n.addEventListener("dispose",A));const r=n.source;let a=g.get(r);void 0===a&&(a={},g.set(r,a));const o=function(t){const e=[];return e.push(t.wrapS),e.push(t.wrapT),e.push(t.magFilter),e.push(t.minFilter),e.push(t.anisotropy),e.push(t.internalFormat),e.push(t.format),e.push(t.type),e.push(t.generateMipmaps),e.push(t.premultiplyAlpha),e.push(t.flipY),e.push(t.unpackAlignment),e.push(t.encoding),e.join()}(n);if(o!==e.__cacheKey){void 0===a[o]&&(a[o]={texture:t.createTexture(),usedTimes:0},s.memory.textures++,i=!0),a[o].usedTimes++;const r=a[e.__cacheKey];void 0!==r&&(a[e.__cacheKey].usedTimes--,0===r.usedTimes&&E(n)),e.__cacheKey=o,e.__webglTexture=a[o].texture}return i}function P(e,i,r){let s=3553;i.isDataArrayTexture&&(s=35866),i.isData3DTexture&&(s=32879);const l=R(e,i),c=i.source;if(n.activeTexture(33984+r),n.bindTexture(s,e.__webglTexture),c.version!==c.__currentVersion||!0===l){t.pixelStorei(37440,i.flipY),t.pixelStorei(37441,i.premultiplyAlpha),t.pixelStorei(3317,i.unpackAlignment),t.pixelStorei(37443,0);const e=function(t){return!o&&(t.wrapS!==ct||t.wrapT!==ct||t.minFilter!==dt&&t.minFilter!==gt)}(i)&&!1===b(i.image);let r=y(i.image,e,!1,u);r=B(i,r);const d=b(r)||o,h=a.convert(i.format,i.encoding);let p,f=a.convert(i.type),m=M(i.internalFormat,h,f,i.encoding,i.isVideoTexture);O(s,i,d);const g=i.mipmaps,v=o&&!0!==i.isVideoTexture,_=void 0===c.__currentVersion||!0===l,T=S(i,r,d);if(i.isDepthTexture)m=6402,o?m=i.type===Lt?36012:i.type===At?33190:i.type===Dt?35056:33189:i.type===Lt&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),i.format===Yt&&6402===m&&i.type!==St&&i.type!==At&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),i.type=At,f=a.convert(i.type)),i.format===Ft&&6402===m&&(m=34041,i.type!==Dt&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),i.type=Dt,f=a.convert(i.type))),_&&(v?n.texStorage2D(3553,1,m,r.width,r.height):n.texImage2D(3553,0,m,r.width,r.height,0,h,f,null));else if(i.isDataTexture)if(g.length>0&&d){v&&_&&n.texStorage2D(3553,T,m,g[0].width,g[0].height);for(let t=0,e=g.length;t<e;t++)p=g[t],v?n.texSubImage2D(3553,t,0,0,p.width,p.height,h,f,p.data):n.texImage2D(3553,t,m,p.width,p.height,0,h,f,p.data);i.generateMipmaps=!1}else v?(_&&n.texStorage2D(3553,T,m,r.width,r.height),n.texSubImage2D(3553,0,0,0,r.width,r.height,h,f,r.data)):n.texImage2D(3553,0,m,r.width,r.height,0,h,f,r.data);else if(i.isCompressedTexture){v&&_&&n.texStorage2D(3553,T,m,g[0].width,g[0].height);for(let t=0,e=g.length;t<e;t++)p=g[t],i.format!==Rt?null!==h?v?n.compressedTexSubImage2D(3553,t,0,0,p.width,p.height,h,p.data):n.compressedTexImage2D(3553,t,m,p.width,p.height,0,p.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):v?n.texSubImage2D(3553,t,0,0,p.width,p.height,h,f,p.data):n.texImage2D(3553,t,m,p.width,p.height,0,h,f,p.data)}else if(i.isDataArrayTexture)v?(_&&n.texStorage3D(35866,T,m,r.width,r.height,r.depth),n.texSubImage3D(35866,0,0,0,0,r.width,r.height,r.depth,h,f,r.data)):n.texImage3D(35866,0,m,r.width,r.height,r.depth,0,h,f,r.data);else if(i.isData3DTexture)v?(_&&n.texStorage3D(32879,T,m,r.width,r.height,r.depth),n.texSubImage3D(32879,0,0,0,0,r.width,r.height,r.depth,h,f,r.data)):n.texImage3D(32879,0,m,r.width,r.height,r.depth,0,h,f,r.data);else if(i.isFramebufferTexture){if(_)if(v)n.texStorage2D(3553,T,m,r.width,r.height);else{let t=r.width,e=r.height;for(let i=0;i<T;i++)n.texImage2D(3553,i,m,t,e,0,h,f,null),t>>=1,e>>=1}}else if(g.length>0&&d){v&&_&&n.texStorage2D(3553,T,m,g[0].width,g[0].height);for(let t=0,e=g.length;t<e;t++)p=g[t],v?n.texSubImage2D(3553,t,0,0,h,f,p):n.texImage2D(3553,t,m,h,f,p);i.generateMipmaps=!1}else v?(_&&n.texStorage2D(3553,T,m,r.width,r.height),n.texSubImage2D(3553,0,0,0,h,f,r)):n.texImage2D(3553,0,m,h,f,r);x(i,d)&&w(s),c.__currentVersion=c.version,i.onUpdate&&i.onUpdate(i)}e.__version=i.version}function N(e,r,s,o,l){const c=a.convert(s.format,s.encoding),u=a.convert(s.type),d=M(s.internalFormat,c,u,s.encoding);i.get(r).__hasExternalTextures||(32879===l||35866===l?n.texImage3D(l,0,d,r.width,r.height,r.depth,0,c,u,null):n.texImage2D(l,0,d,r.width,r.height,0,c,u,null)),n.bindFramebuffer(36160,e),j(r)?h.framebufferTexture2DMultisampleEXT(36160,o,l,i.get(s).__webglTexture,0,H(r)):t.framebufferTexture2D(36160,o,l,i.get(s).__webglTexture,0),n.bindFramebuffer(36160,null)}function Y(e,n,i){if(t.bindRenderbuffer(36161,e),n.depthBuffer&&!n.stencilBuffer){let r=33189;if(i||j(n)){const e=n.depthTexture;e&&e.isDepthTexture&&(e.type===Lt?r=36012:e.type===At&&(r=33190));const i=H(n);j(n)?h.renderbufferStorageMultisampleEXT(36161,i,r,n.width,n.height):t.renderbufferStorageMultisample(36161,i,r,n.width,n.height)}else t.renderbufferStorage(36161,r,n.width,n.height);t.framebufferRenderbuffer(36160,36096,36161,e)}else if(n.depthBuffer&&n.stencilBuffer){const r=H(n);i&&!1===j(n)?t.renderbufferStorageMultisample(36161,r,35056,n.width,n.height):j(n)?h.renderbufferStorageMultisampleEXT(36161,r,35056,n.width,n.height):t.renderbufferStorage(36161,34041,n.width,n.height),t.framebufferRenderbuffer(36160,33306,36161,e)}else{const e=!0===n.isWebGLMultipleRenderTargets?n.texture:[n.texture];for(let r=0;r<e.length;r++){const s=e[r],o=a.convert(s.format,s.encoding),l=a.convert(s.type),c=M(s.internalFormat,o,l,s.encoding),u=H(n);i&&!1===j(n)?t.renderbufferStorageMultisample(36161,u,c,n.width,n.height):j(n)?h.renderbufferStorageMultisampleEXT(36161,u,c,n.width,n.height):t.renderbufferStorage(36161,c,n.width,n.height)}}t.bindRenderbuffer(36161,null)}function F(e){const r=i.get(e),a=!0===e.isWebGLCubeRenderTarget;if(e.depthTexture&&!r.__autoAllocateDepthBuffer){if(a)throw new Error("target.depthTexture not supported in Cube render targets");!function(e,r){if(r&&r.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(n.bindFramebuffer(36160,e),!r.depthTexture||!r.depthTexture.isDepthTexture)throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");i.get(r.depthTexture).__webglTexture&&r.depthTexture.image.width===r.width&&r.depthTexture.image.height===r.height||(r.depthTexture.image.width=r.width,r.depthTexture.image.height=r.height,r.depthTexture.needsUpdate=!0),I(r.depthTexture,0);const a=i.get(r.depthTexture).__webglTexture,s=H(r);if(r.depthTexture.format===Yt)j(r)?h.framebufferTexture2DMultisampleEXT(36160,36096,3553,a,0,s):t.framebufferTexture2D(36160,36096,3553,a,0);else{if(r.depthTexture.format!==Ft)throw new Error("Unknown depthTexture format");j(r)?h.framebufferTexture2DMultisampleEXT(36160,33306,3553,a,0,s):t.framebufferTexture2D(36160,33306,3553,a,0)}}(r.__webglFramebuffer,e)}else if(a){r.__webglDepthbuffer=[];for(let i=0;i<6;i++)n.bindFramebuffer(36160,r.__webglFramebuffer[i]),r.__webglDepthbuffer[i]=t.createRenderbuffer(),Y(r.__webglDepthbuffer[i],e,!1)}else n.bindFramebuffer(36160,r.__webglFramebuffer),r.__webglDepthbuffer=t.createRenderbuffer(),Y(r.__webglDepthbuffer,e,!1);n.bindFramebuffer(36160,null)}function H(t){return Math.min(d,t.samples)}function j(t){const n=i.get(t);return o&&t.samples>0&&!0===e.has("WEBGL_multisampled_render_to_texture")&&!1!==n.__useRenderToTexture}function B(t,n){const i=t.encoding,r=t.format,a=t.type;return!0===t.isCompressedTexture||!0===t.isVideoTexture||t.format===pn||i!==Ie&&(i===De?!1===o?!0===e.has("EXT_sRGB")&&r===Rt?(t.format=pn,t.minFilter=gt,t.generateMipmaps=!1):n=qn.sRGBToLinear(n):r===Rt&&a===xt||console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture encoding:",i)),n}this.allocateTextureUnit=function(){const t=C;return t>=l&&console.warn("THREE.WebGLTextures: Trying to use "+t+" texture units while this GPU supports only "+l),C+=1,t},this.resetTextureUnits=function(){C=0},this.setTexture2D=I,this.setTexture2DArray=function(t,e){const r=i.get(t);t.version>0&&r.__version!==t.version?P(r,t,e):(n.activeTexture(33984+e),n.bindTexture(35866,r.__webglTexture))},this.setTexture3D=function(t,e){const r=i.get(t);t.version>0&&r.__version!==t.version?P(r,t,e):(n.activeTexture(33984+e),n.bindTexture(32879,r.__webglTexture))},this.setTextureCube=function(e,r){const s=i.get(e);e.version>0&&s.__version!==e.version?function(e,i,r){if(6!==i.image.length)return;const s=R(e,i),l=i.source;if(n.activeTexture(33984+r),n.bindTexture(34067,e.__webglTexture),l.version!==l.__currentVersion||!0===s){t.pixelStorei(37440,i.flipY),t.pixelStorei(37441,i.premultiplyAlpha),t.pixelStorei(3317,i.unpackAlignment),t.pixelStorei(37443,0);const e=i.isCompressedTexture||i.image[0].isCompressedTexture,r=i.image[0]&&i.image[0].isDataTexture,u=[];for(let t=0;t<6;t++)u[t]=e||r?r?i.image[t].image:i.image[t]:y(i.image[t],!1,!0,c),u[t]=B(i,u[t]);const d=u[0],h=b(d)||o,p=a.convert(i.format,i.encoding),f=a.convert(i.type),m=M(i.internalFormat,p,f,i.encoding),g=o&&!0!==i.isVideoTexture,v=void 0===l.__currentVersion||!0===s;let _,T=S(i,d,h);if(O(34067,i,h),e){g&&v&&n.texStorage2D(34067,T,m,d.width,d.height);for(let t=0;t<6;t++){_=u[t].mipmaps;for(let e=0;e<_.length;e++){const r=_[e];i.format!==Rt?null!==p?g?n.compressedTexSubImage2D(34069+t,e,0,0,r.width,r.height,p,r.data):n.compressedTexImage2D(34069+t,e,m,r.width,r.height,0,r.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):g?n.texSubImage2D(34069+t,e,0,0,r.width,r.height,p,f,r.data):n.texImage2D(34069+t,e,m,r.width,r.height,0,p,f,r.data)}}}else{_=i.mipmaps,g&&v&&(_.length>0&&T++,n.texStorage2D(34067,T,m,u[0].width,u[0].height));for(let t=0;t<6;t++)if(r){g?n.texSubImage2D(34069+t,0,0,0,u[t].width,u[t].height,p,f,u[t].data):n.texImage2D(34069+t,0,m,u[t].width,u[t].height,0,p,f,u[t].data);for(let e=0;e<_.length;e++){const i=_[e].image[t].image;g?n.texSubImage2D(34069+t,e+1,0,0,i.width,i.height,p,f,i.data):n.texImage2D(34069+t,e+1,m,i.width,i.height,0,p,f,i.data)}}else{g?n.texSubImage2D(34069+t,0,0,0,p,f,u[t]):n.texImage2D(34069+t,0,m,p,f,u[t]);for(let e=0;e<_.length;e++){const i=_[e];g?n.texSubImage2D(34069+t,e+1,0,0,p,f,i.image[t]):n.texImage2D(34069+t,e+1,m,p,f,i.image[t])}}}x(i,h)&&w(34067),l.__currentVersion=l.version,i.onUpdate&&i.onUpdate(i)}e.__version=i.version}(s,e,r):(n.activeTexture(33984+r),n.bindTexture(34067,s.__webglTexture))},this.rebindTextures=function(t,e,n){const r=i.get(t);void 0!==e&&N(r.__webglFramebuffer,t,t.texture,36064,3553),void 0!==n&&F(t)},this.setupRenderTarget=function(e){const l=e.texture,c=i.get(e),u=i.get(l);e.addEventListener("dispose",L),!0!==e.isWebGLMultipleRenderTargets&&(void 0===u.__webglTexture&&(u.__webglTexture=t.createTexture()),u.__version=l.version,s.memory.textures++);const d=!0===e.isWebGLCubeRenderTarget,h=!0===e.isWebGLMultipleRenderTargets,p=b(e)||o;if(d){c.__webglFramebuffer=[];for(let e=0;e<6;e++)c.__webglFramebuffer[e]=t.createFramebuffer()}else{if(c.__webglFramebuffer=t.createFramebuffer(),h)if(r.drawBuffers){const n=e.texture;for(let e=0,r=n.length;e<r;e++){const r=i.get(n[e]);void 0===r.__webglTexture&&(r.__webglTexture=t.createTexture(),s.memory.textures++)}}else console.warn("THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.");if(o&&e.samples>0&&!1===j(e)){const i=h?l:[l];c.__webglMultisampledFramebuffer=t.createFramebuffer(),c.__webglColorRenderbuffer=[],n.bindFramebuffer(36160,c.__webglMultisampledFramebuffer);for(let n=0;n<i.length;n++){const r=i[n];c.__webglColorRenderbuffer[n]=t.createRenderbuffer(),t.bindRenderbuffer(36161,c.__webglColorRenderbuffer[n]);const s=a.convert(r.format,r.encoding),o=a.convert(r.type),l=M(r.internalFormat,s,o,r.encoding),u=H(e);t.renderbufferStorageMultisample(36161,u,l,e.width,e.height),t.framebufferRenderbuffer(36160,36064+n,36161,c.__webglColorRenderbuffer[n])}t.bindRenderbuffer(36161,null),e.depthBuffer&&(c.__webglDepthRenderbuffer=t.createRenderbuffer(),Y(c.__webglDepthRenderbuffer,e,!0)),n.bindFramebuffer(36160,null)}}if(d){n.bindTexture(34067,u.__webglTexture),O(34067,l,p);for(let t=0;t<6;t++)N(c.__webglFramebuffer[t],e,l,36064,34069+t);x(l,p)&&w(34067),n.unbindTexture()}else if(h){const t=e.texture;for(let r=0,a=t.length;r<a;r++){const a=t[r],s=i.get(a);n.bindTexture(3553,s.__webglTexture),O(3553,a,p),N(c.__webglFramebuffer,e,a,36064+r,3553),x(a,p)&&w(3553)}n.unbindTexture()}else{let t=3553;(e.isWebGL3DRenderTarget||e.isWebGLArrayRenderTarget)&&(o?t=e.isWebGL3DRenderTarget?32879:35866:console.error("THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.")),n.bindTexture(t,u.__webglTexture),O(t,l,p),N(c.__webglFramebuffer,e,l,36064,t),x(l,p)&&w(t),n.unbindTexture()}e.depthBuffer&&F(e)},this.updateRenderTargetMipmap=function(t){const e=b(t)||o,r=!0===t.isWebGLMultipleRenderTargets?t.texture:[t.texture];for(let a=0,s=r.length;a<s;a++){const s=r[a];if(x(s,e)){const e=t.isWebGLCubeRenderTarget?34067:3553,r=i.get(s).__webglTexture;n.bindTexture(e,r),w(e),n.unbindTexture()}}},this.updateMultisampleRenderTarget=function(e){if(o&&e.samples>0&&!1===j(e)){const r=e.isWebGLMultipleRenderTargets?e.texture:[e.texture],a=e.width,s=e.height;let o=16384;const l=[],c=e.stencilBuffer?33306:36096,u=i.get(e),d=!0===e.isWebGLMultipleRenderTargets;if(d)for(let e=0;e<r.length;e++)n.bindFramebuffer(36160,u.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(36160,36064+e,36161,null),n.bindFramebuffer(36160,u.__webglFramebuffer),t.framebufferTexture2D(36009,36064+e,3553,null,0);n.bindFramebuffer(36008,u.__webglMultisampledFramebuffer),n.bindFramebuffer(36009,u.__webglFramebuffer);for(let n=0;n<r.length;n++){l.push(36064+n),e.depthBuffer&&l.push(c);const h=void 0!==u.__ignoreDepthValues&&u.__ignoreDepthValues;if(!1===h&&(e.depthBuffer&&(o|=256),e.stencilBuffer&&(o|=1024)),d&&t.framebufferRenderbuffer(36008,36064,36161,u.__webglColorRenderbuffer[n]),!0===h&&(t.invalidateFramebuffer(36008,[c]),t.invalidateFramebuffer(36009,[c])),d){const e=i.get(r[n]).__webglTexture;t.framebufferTexture2D(36009,36064,3553,e,0)}t.blitFramebuffer(0,0,a,s,0,0,a,s,o,9728),p&&t.invalidateFramebuffer(36008,l)}if(n.bindFramebuffer(36008,null),n.bindFramebuffer(36009,null),d)for(let e=0;e<r.length;e++){n.bindFramebuffer(36160,u.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(36160,36064+e,36161,u.__webglColorRenderbuffer[e]);const a=i.get(r[e]).__webglTexture;n.bindFramebuffer(36160,u.__webglFramebuffer),t.framebufferTexture2D(36009,36064+e,3553,a,0)}n.bindFramebuffer(36009,u.__webglMultisampledFramebuffer)}},this.setupDepthRenderbuffer=F,this.setupFrameBufferTexture=N,this.useMultisampledRTT=j}function Xo(t,e,n){const i=n.isWebGL2;return{convert:function(n,r=null){let a;if(n===xt)return 5121;if(n===Ct)return 32819;if(n===It)return 32820;if(n===wt)return 5120;if(n===Mt)return 5122;if(n===St)return 5123;if(n===Tt)return 5124;if(n===At)return 5125;if(n===Lt)return 5126;if(n===Et)return i?5131:(a=e.get("OES_texture_half_float"),null!==a?a.HALF_FLOAT_OES:null);if(n===kt)return 6406;if(n===Rt)return 6408;if(n===Pt)return 6409;if(n===Nt)return 6410;if(n===Yt)return 6402;if(n===Ft)return 34041;if(n===Ht)return 6403;if(n===Ot)return console.warn("THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228"),6408;if(n===pn)return a=e.get("EXT_sRGB"),null!==a?a.SRGB_ALPHA_EXT:null;if(n===jt)return 36244;if(n===Bt)return 33319;if(n===zt)return 33320;if(n===Ut)return 36249;if(n===Vt||n===Wt||n===Gt||n===qt)if(r===De){if(a=e.get("WEBGL_compressed_texture_s3tc_srgb"),null===a)return null;if(n===Vt)return a.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===Wt)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===Gt)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===qt)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{if(a=e.get("WEBGL_compressed_texture_s3tc"),null===a)return null;if(n===Vt)return a.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===Wt)return a.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===Gt)return a.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===qt)return a.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(n===Xt||n===$t||n===Kt||n===Jt){if(a=e.get("WEBGL_compressed_texture_pvrtc"),null===a)return null;if(n===Xt)return a.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===$t)return a.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===Kt)return a.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===Jt)return a.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(n===Qt)return a=e.get("WEBGL_compressed_texture_etc1"),null!==a?a.COMPRESSED_RGB_ETC1_WEBGL:null;if(n===Zt||n===te){if(a=e.get("WEBGL_compressed_texture_etc"),null===a)return null;if(n===Zt)return r===De?a.COMPRESSED_SRGB8_ETC2:a.COMPRESSED_RGB8_ETC2;if(n===te)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:a.COMPRESSED_RGBA8_ETC2_EAC}if(n===ee||n===ne||n===ie||n===re||n===ae||n===se||n===oe||n===le||n===ce||n===ue||n===de||n===he||n===pe||n===fe){if(a=e.get("WEBGL_compressed_texture_astc"),null===a)return null;if(n===ee)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:a.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===ne)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:a.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===ie)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:a.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===re)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:a.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===ae)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:a.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===se)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:a.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===oe)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:a.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===le)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:a.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===ce)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:a.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===ue)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:a.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===de)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:a.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===he)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:a.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===pe)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:a.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===fe)return r===De?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:a.COMPRESSED_RGBA_ASTC_12x12_KHR}if(n===me){if(a=e.get("EXT_texture_compression_bptc"),null===a)return null;if(n===me)return r===De?a.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:a.COMPRESSED_RGBA_BPTC_UNORM_EXT}return n===Dt?i?34042:(a=e.get("WEBGL_depth_texture"),null!==a?a.UNSIGNED_INT_24_8_WEBGL:null):void 0!==t[n]?t[n]:null}}}class $o extends ma{constructor(t=[]){super(),this.isArrayCamera=!0,this.cameras=t}}class Ko extends lr{constructor(){super(),this.isGroup=!0,this.type="Group"}}const Jo={type:"move"};class Qo{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return null===this._hand&&(this._hand=new Ko,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return null===this._targetRay&&(this._targetRay=new Ko,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new si,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new si),this._targetRay}getGripSpace(){return null===this._grip&&(this._grip=new Ko,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new si,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new si),this._grip}dispatchEvent(t){return null!==this._targetRay&&this._targetRay.dispatchEvent(t),null!==this._grip&&this._grip.dispatchEvent(t),null!==this._hand&&this._hand.dispatchEvent(t),this}disconnect(t){return this.dispatchEvent({type:"disconnected",data:t}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}update(t,e,n){let i=null,r=null,a=null;const s=this._targetRay,o=this._grip,l=this._hand;if(t&&"visible-blurred"!==e.session.visibilityState){if(l&&t.hand){a=!0;for(const i of t.hand.values()){const t=e.getJointPose(i,n);if(void 0===l.joints[i.jointName]){const t=new Ko;t.matrixAutoUpdate=!1,t.visible=!1,l.joints[i.jointName]=t,l.add(t)}const r=l.joints[i.jointName];null!==t&&(r.matrix.fromArray(t.transform.matrix),r.matrix.decompose(r.position,r.rotation,r.scale),r.jointRadius=t.radius),r.visible=null!==t}const i=l.joints["index-finger-tip"],r=l.joints["thumb-tip"],s=i.position.distanceTo(r.position),o=.02,c=.005;l.inputState.pinching&&s>o+c?(l.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:t.handedness,target:this})):!l.inputState.pinching&&s<=o-c&&(l.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:t.handedness,target:this}))}else null!==o&&t.gripSpace&&(r=e.getPose(t.gripSpace,n),null!==r&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1));null!==s&&(i=e.getPose(t.targetRaySpace,n),null===i&&null!==r&&(i=r),null!==i&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1,this.dispatchEvent(Jo)))}return null!==s&&(s.visible=null!==i),null!==o&&(o.visible=null!==r),null!==l&&(l.visible=null!==a),this}}class Zo extends Jn{constructor(t,e,n,i,r,a,s,o,l,c){if((c=void 0!==c?c:Yt)!==Yt&&c!==Ft)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===n&&c===Yt&&(n=At),void 0===n&&c===Ft&&(n=Dt),super(null,i,r,a,s,o,c,n,l),this.isDepthTexture=!0,this.image={width:t,height:e},this.magFilter=void 0!==s?s:dt,this.minFilter=void 0!==o?o:dt,this.flipY=!1,this.generateMipmaps=!1}}class tl extends fn{constructor(t,e){super();const n=this;let i=null,r=1,a=null,s="local-floor",o=null,l=null,c=null,u=null,d=null,h=null;const p=e.getContextAttributes();let f=null,m=null;const g=[],v=[],_=new ma;_.layers.enable(1),_.viewport=new Qn;const y=new ma;y.layers.enable(2),y.viewport=new Qn;const b=[_,y],x=new $o;x.layers.enable(1),x.layers.enable(2);let w=null,M=null;function S(t){const e=v.indexOf(t.inputSource);if(-1===e)return;const n=g[e];void 0!==n&&n.dispatchEvent({type:t.type,data:t.inputSource})}function T(){i.removeEventListener("select",S),i.removeEventListener("selectstart",S),i.removeEventListener("selectend",S),i.removeEventListener("squeeze",S),i.removeEventListener("squeezestart",S),i.removeEventListener("squeezeend",S),i.removeEventListener("end",T),i.removeEventListener("inputsourceschange",A);for(let t=0;t<g.length;t++){const e=v[t];null!==e&&(v[t]=null,g[t].disconnect(e))}w=null,M=null,t.setRenderTarget(f),d=null,u=null,c=null,i=null,m=null,D.stop(),n.isPresenting=!1,n.dispatchEvent({type:"sessionend"})}function A(t){for(let e=0;e<t.removed.length;e++){const n=t.removed[e],i=v.indexOf(n);i>=0&&(v[i]=null,g[i].dispatchEvent({type:"disconnected",data:n}))}for(let e=0;e<t.added.length;e++){const n=t.added[e];let i=v.indexOf(n);if(-1===i){for(let t=0;t<g.length;t++){if(t>=v.length){v.push(n),i=t;break}if(null===v[t]){v[t]=n,i=t;break}}if(-1===i)break}const r=g[i];r&&r.dispatchEvent({type:"connected",data:n})}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(t){let e=g[t];return void 0===e&&(e=new Qo,g[t]=e),e.getTargetRaySpace()},this.getControllerGrip=function(t){let e=g[t];return void 0===e&&(e=new Qo,g[t]=e),e.getGripSpace()},this.getHand=function(t){let e=g[t];return void 0===e&&(e=new Qo,g[t]=e),e.getHandSpace()},this.setFramebufferScaleFactor=function(t){r=t,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(t){s=t,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return o||a},this.setReferenceSpace=function(t){o=t},this.getBaseLayer=function(){return null!==u?u:d},this.getBinding=function(){return c},this.getFrame=function(){return h},this.getSession=function(){return i},this.setSession=async function(l){if(i=l,null!==i){if(f=t.getRenderTarget(),i.addEventListener("select",S),i.addEventListener("selectstart",S),i.addEventListener("selectend",S),i.addEventListener("squeeze",S),i.addEventListener("squeezestart",S),i.addEventListener("squeezeend",S),i.addEventListener("end",T),i.addEventListener("inputsourceschange",A),!0!==p.xrCompatible&&await e.makeXRCompatible(),void 0===i.renderState.layers||!1===t.capabilities.isWebGL2){const n={antialias:void 0!==i.renderState.layers||p.antialias,alpha:p.alpha,depth:p.depth,stencil:p.stencil,framebufferScaleFactor:r};d=new XRWebGLLayer(i,e,n),i.updateRenderState({baseLayer:d}),m=new Zn(d.framebufferWidth,d.framebufferHeight,{format:Rt,type:xt,encoding:t.outputEncoding,stencilBuffer:p.stencil})}else{let n=null,a=null,s=null;p.depth&&(s=p.stencil?35056:33190,n=p.stencil?Ft:Yt,a=p.stencil?Dt:At);const o={colorFormat:32856,depthFormat:s,scaleFactor:r};c=new XRWebGLBinding(i,e),u=c.createProjectionLayer(o),i.updateRenderState({layers:[u]}),m=new Zn(u.textureWidth,u.textureHeight,{format:Rt,type:xt,depthTexture:new Zo(u.textureWidth,u.textureHeight,a,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:p.stencil,encoding:t.outputEncoding,samples:p.antialias?4:0});t.properties.get(m).__ignoreDepthValues=u.ignoreDepthValues}m.isXRRenderTarget=!0,this.setFoveation(1),o=null,a=await i.requestReferenceSpace(s),D.setContext(i),D.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}};const L=new si,E=new si;function C(t,e){null===e?t.matrixWorld.copy(t.matrix):t.matrixWorld.multiplyMatrices(e.matrixWorld,t.matrix),t.matrixWorldInverse.copy(t.matrixWorld).invert()}this.updateCamera=function(t){if(null===i)return;x.near=y.near=_.near=t.near,x.far=y.far=_.far=t.far,w===x.near&&M===x.far||(i.updateRenderState({depthNear:x.near,depthFar:x.far}),w=x.near,M=x.far);const e=t.parent,n=x.cameras;C(x,e);for(let t=0;t<n.length;t++)C(n[t],e);x.matrixWorld.decompose(x.position,x.quaternion,x.scale),t.matrix.copy(x.matrix),t.matrix.decompose(t.position,t.quaternion,t.scale);const r=t.children;for(let t=0,e=r.length;t<e;t++)r[t].updateMatrixWorld(!0);2===n.length?function(t,e,n){L.setFromMatrixPosition(e.matrixWorld),E.setFromMatrixPosition(n.matrixWorld);const i=L.distanceTo(E),r=e.projectionMatrix.elements,a=n.projectionMatrix.elements,s=r[14]/(r[10]-1),o=r[14]/(r[10]+1),l=(r[9]+1)/r[5],c=(r[9]-1)/r[5],u=(r[8]-1)/r[0],d=(a[8]+1)/a[0],h=s*u,p=s*d,f=i/(-u+d),m=f*-u;e.matrixWorld.decompose(t.position,t.quaternion,t.scale),t.translateX(m),t.translateZ(f),t.matrixWorld.compose(t.position,t.quaternion,t.scale),t.matrixWorldInverse.copy(t.matrixWorld).invert();const g=s+f,v=o+f,_=h-m,y=p+(i-m),b=l*o/v*g,x=c*o/v*g;t.projectionMatrix.makePerspective(_,y,b,x,g,v)}(x,_,y):x.projectionMatrix.copy(_.projectionMatrix)},this.getCamera=function(){return x},this.getFoveation=function(){return null!==u?u.fixedFoveation:null!==d?d.fixedFoveation:void 0},this.setFoveation=function(t){null!==u&&(u.fixedFoveation=t),null!==d&&void 0!==d.fixedFoveation&&(d.fixedFoveation=t)};let I=null;const D=new Aa;D.setAnimationLoop((function(e,n){if(l=n.getViewerPose(o||a),h=n,null!==l){const e=l.views;null!==d&&(t.setRenderTargetFramebuffer(m,d.framebuffer),t.setRenderTarget(m));let n=!1;e.length!==x.cameras.length&&(x.cameras.length=0,n=!0);for(let i=0;i<e.length;i++){const r=e[i];let a=null;if(null!==d)a=d.getViewport(r);else{const e=c.getViewSubImage(u,r);a=e.viewport,0===i&&(t.setRenderTargetTextures(m,e.colorTexture,u.ignoreDepthValues?void 0:e.depthStencilTexture),t.setRenderTarget(m))}let s=b[i];void 0===s&&(s=new ma,s.layers.enable(i),s.viewport=new Qn,b[i]=s),s.matrix.fromArray(r.transform.matrix),s.projectionMatrix.fromArray(r.projectionMatrix),s.viewport.set(a.x,a.y,a.width,a.height),0===i&&x.matrix.copy(s.matrix),!0===n&&x.cameras.push(s)}}for(let t=0;t<g.length;t++){const e=v[t],i=g[t];null!==e&&void 0!==i&&i.update(e,n,o||a)}I&&I(e,n),h=null})),this.setAnimationLoop=function(t){I=t},this.dispose=function(){}}}function el(t,e){function n(n,i){n.opacity.value=i.opacity,i.color&&n.diffuse.value.copy(i.color),i.emissive&&n.emissive.value.copy(i.emissive).multiplyScalar(i.emissiveIntensity),i.map&&(n.map.value=i.map),i.alphaMap&&(n.alphaMap.value=i.alphaMap),i.bumpMap&&(n.bumpMap.value=i.bumpMap,n.bumpScale.value=i.bumpScale,i.side===m&&(n.bumpScale.value*=-1)),i.displacementMap&&(n.displacementMap.value=i.displacementMap,n.displacementScale.value=i.displacementScale,n.displacementBias.value=i.displacementBias),i.emissiveMap&&(n.emissiveMap.value=i.emissiveMap),i.normalMap&&(n.normalMap.value=i.normalMap,n.normalScale.value.copy(i.normalScale),i.side===m&&n.normalScale.value.negate()),i.specularMap&&(n.specularMap.value=i.specularMap),i.alphaTest>0&&(n.alphaTest.value=i.alphaTest);const r=e.get(i).envMap;if(r&&(n.envMap.value=r,n.flipEnvMap.value=r.isCubeTexture&&!1===r.isRenderTargetTexture?-1:1,n.reflectivity.value=i.reflectivity,n.ior.value=i.ior,n.refractionRatio.value=i.refractionRatio),i.lightMap){n.lightMap.value=i.lightMap;const e=!0!==t.physicallyCorrectLights?Math.PI:1;n.lightMapIntensity.value=i.lightMapIntensity*e}let a,s;i.aoMap&&(n.aoMap.value=i.aoMap,n.aoMapIntensity.value=i.aoMapIntensity),i.map?a=i.map:i.specularMap?a=i.specularMap:i.displacementMap?a=i.displacementMap:i.normalMap?a=i.normalMap:i.bumpMap?a=i.bumpMap:i.roughnessMap?a=i.roughnessMap:i.metalnessMap?a=i.metalnessMap:i.alphaMap?a=i.alphaMap:i.emissiveMap?a=i.emissiveMap:i.clearcoatMap?a=i.clearcoatMap:i.clearcoatNormalMap?a=i.clearcoatNormalMap:i.clearcoatRoughnessMap?a=i.clearcoatRoughnessMap:i.iridescenceMap?a=i.iridescenceMap:i.iridescenceThicknessMap?a=i.iridescenceThicknessMap:i.specularIntensityMap?a=i.specularIntensityMap:i.specularColorMap?a=i.specularColorMap:i.transmissionMap?a=i.transmissionMap:i.thicknessMap?a=i.thicknessMap:i.sheenColorMap?a=i.sheenColorMap:i.sheenRoughnessMap&&(a=i.sheenRoughnessMap),void 0!==a&&(a.isWebGLRenderTarget&&(a=a.texture),!0===a.matrixAutoUpdate&&a.updateMatrix(),n.uvTransform.value.copy(a.matrix)),i.aoMap?s=i.aoMap:i.lightMap&&(s=i.lightMap),void 0!==s&&(s.isWebGLRenderTarget&&(s=s.texture),!0===s.matrixAutoUpdate&&s.updateMatrix(),n.uv2Transform.value.copy(s.matrix))}return{refreshFogUniforms:function(t,e){t.fogColor.value.copy(e.color),e.isFog?(t.fogNear.value=e.near,t.fogFar.value=e.far):e.isFogExp2&&(t.fogDensity.value=e.density)},refreshMaterialUniforms:function(t,i,r,a,s){i.isMeshBasicMaterial||i.isMeshLambertMaterial?n(t,i):i.isMeshToonMaterial?(n(t,i),function(t,e){e.gradientMap&&(t.gradientMap.value=e.gradientMap)}(t,i)):i.isMeshPhongMaterial?(n(t,i),function(t,e){t.specular.value.copy(e.specular),t.shininess.value=Math.max(e.shininess,1e-4)}(t,i)):i.isMeshStandardMaterial?(n(t,i),function(t,n){t.roughness.value=n.roughness,t.metalness.value=n.metalness,n.roughnessMap&&(t.roughnessMap.value=n.roughnessMap);n.metalnessMap&&(t.metalnessMap.value=n.metalnessMap);e.get(n).envMap&&(t.envMapIntensity.value=n.envMapIntensity)}(t,i),i.isMeshPhysicalMaterial&&function(t,e,n){t.ior.value=e.ior,e.sheen>0&&(t.sheenColor.value.copy(e.sheenColor).multiplyScalar(e.sheen),t.sheenRoughness.value=e.sheenRoughness,e.sheenColorMap&&(t.sheenColorMap.value=e.sheenColorMap),e.sheenRoughnessMap&&(t.sheenRoughnessMap.value=e.sheenRoughnessMap));e.clearcoat>0&&(t.clearcoat.value=e.clearcoat,t.clearcoatRoughness.value=e.clearcoatRoughness,e.clearcoatMap&&(t.clearcoatMap.value=e.clearcoatMap),e.clearcoatRoughnessMap&&(t.clearcoatRoughnessMap.value=e.clearcoatRoughnessMap),e.clearcoatNormalMap&&(t.clearcoatNormalScale.value.copy(e.clearcoatNormalScale),t.clearcoatNormalMap.value=e.clearcoatNormalMap,e.side===m&&t.clearcoatNormalScale.value.negate()));e.iridescence>0&&(t.iridescence.value=e.iridescence,t.iridescenceIOR.value=e.iridescenceIOR,t.iridescenceThicknessMinimum.value=e.iridescenceThicknessRange[0],t.iridescenceThicknessMaximum.value=e.iridescenceThicknessRange[1],e.iridescenceMap&&(t.iridescenceMap.value=e.iridescenceMap),e.iridescenceThicknessMap&&(t.iridescenceThicknessMap.value=e.iridescenceThicknessMap));e.transmission>0&&(t.transmission.value=e.transmission,t.transmissionSamplerMap.value=n.texture,t.transmissionSamplerSize.value.set(n.width,n.height),e.transmissionMap&&(t.transmissionMap.value=e.transmissionMap),t.thickness.value=e.thickness,e.thicknessMap&&(t.thicknessMap.value=e.thicknessMap),t.attenuationDistance.value=e.attenuationDistance,t.attenuationColor.value.copy(e.attenuationColor));t.specularIntensity.value=e.specularIntensity,t.specularColor.value.copy(e.specularColor),e.specularIntensityMap&&(t.specularIntensityMap.value=e.specularIntensityMap);e.specularColorMap&&(t.specularColorMap.value=e.specularColorMap)}(t,i,s)):i.isMeshMatcapMaterial?(n(t,i),function(t,e){e.matcap&&(t.matcap.value=e.matcap)}(t,i)):i.isMeshDepthMaterial?n(t,i):i.isMeshDistanceMaterial?(n(t,i),function(t,e){t.referencePosition.value.copy(e.referencePosition),t.nearDistance.value=e.nearDistance,t.farDistance.value=e.farDistance}(t,i)):i.isMeshNormalMaterial?n(t,i):i.isLineBasicMaterial?(function(t,e){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity}(t,i),i.isLineDashedMaterial&&function(t,e){t.dashSize.value=e.dashSize,t.totalSize.value=e.dashSize+e.gapSize,t.scale.value=e.scale}(t,i)):i.isPointsMaterial?function(t,e,n,i){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.size.value=e.size*n,t.scale.value=.5*i,e.map&&(t.map.value=e.map);e.alphaMap&&(t.alphaMap.value=e.alphaMap);e.alphaTest>0&&(t.alphaTest.value=e.alphaTest);let r;e.map?r=e.map:e.alphaMap&&(r=e.alphaMap);void 0!==r&&(!0===r.matrixAutoUpdate&&r.updateMatrix(),t.uvTransform.value.copy(r.matrix))}(t,i,r,a):i.isSpriteMaterial?function(t,e){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.rotation.value=e.rotation,e.map&&(t.map.value=e.map);e.alphaMap&&(t.alphaMap.value=e.alphaMap);e.alphaTest>0&&(t.alphaTest.value=e.alphaTest);let n;e.map?n=e.map:e.alphaMap&&(n=e.alphaMap);void 0!==n&&(!0===n.matrixAutoUpdate&&n.updateMatrix(),t.uvTransform.value.copy(n.matrix))}(t,i):i.isShadowMaterial?(t.color.value.copy(i.color),t.opacity.value=i.opacity):i.isShaderMaterial&&(i.uniformsNeedUpdate=!1)}}}function nl(t,e,n,i){let r={},a={},s=[];const o=n.isWebGL2?t.getParameter(35375):0;function l(t,e,n){const i=t.value;if(void 0===n[e])return n[e]="number"==typeof i?i:i.clone(),!0;if("number"==typeof i){if(n[e]!==i)return n[e]=i,!0}else{const t=n[e];if(!1===t.equals(i))return t.copy(i),!0}return!1}function c(t){const e=t.value,n={boundary:0,storage:0};return"number"==typeof e?(n.boundary=4,n.storage=4):e.isVector2?(n.boundary=8,n.storage=8):e.isVector3||e.isColor?(n.boundary=16,n.storage=12):e.isVector4?(n.boundary=16,n.storage=16):e.isMatrix3?(n.boundary=48,n.storage=48):e.isMatrix4?(n.boundary=64,n.storage=64):e.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",e),n}function u(e){const n=e.target;n.removeEventListener("dispose",u);const i=s.indexOf(n.__bindingPointIndex);s.splice(i,1),t.deleteBuffer(r[n.id]),delete r[n.id],delete a[n.id]}return{bind:function(t,e){const n=e.program;i.uniformBlockBinding(t,n)},update:function(n,d){let h=r[n.id];void 0===h&&(!function(t){const e=t.uniforms;let n=0;let i=0;for(let t=0,r=e.length;t<r;t++){const r=e[t],a=c(r);if(r.__data=new Float32Array(a.storage/Float32Array.BYTES_PER_ELEMENT),r.__offset=n,t>0){i=n%16;const t=16-i;0!==i&&t-a.boundary<0&&(n+=16-i,r.__offset=n)}n+=a.storage}i=n%16,i>0&&(n+=16-i);t.__size=n,t.__cache={}}(n),h=function(e){const n=function(){for(let t=0;t<o;t++)if(-1===s.indexOf(t))return s.push(t),t;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}();e.__bindingPointIndex=n;const i=t.createBuffer(),r=e.__size,a=e.usage;return t.bindBuffer(35345,i),t.bufferData(35345,r,a),t.bindBuffer(35345,null),t.bindBufferBase(35345,n,i),i}(n),r[n.id]=h,n.addEventListener("dispose",u));const p=d.program;i.updateUBOMapping(n,p);const f=e.render.frame;a[n.id]!==f&&(!function(e){const n=r[e.id],i=e.uniforms,a=e.__cache;t.bindBuffer(35345,n);for(let e=0,n=i.length;e<n;e++){const n=i[e];if(!0===l(n,e,a)){const e=n.value,i=n.__offset;"number"==typeof e?(n.__data[0]=e,t.bufferSubData(35345,i,n.__data)):(n.value.isMatrix3?(n.__data[0]=n.value.elements[0],n.__data[1]=n.value.elements[1],n.__data[2]=n.value.elements[2],n.__data[3]=n.value.elements[0],n.__data[4]=n.value.elements[3],n.__data[5]=n.value.elements[4],n.__data[6]=n.value.elements[5],n.__data[7]=n.value.elements[0],n.__data[8]=n.value.elements[6],n.__data[9]=n.value.elements[7],n.__data[10]=n.value.elements[8],n.__data[11]=n.value.elements[0]):e.toArray(n.__data),t.bufferSubData(35345,i,n.__data))}}t.bindBuffer(35345,null)}(n),a[n.id]=f)},dispose:function(){for(const e in r)t.deleteBuffer(r[e]);s=[],r={},a={}}}}function il(t={}){this.isWebGLRenderer=!0;const e=void 0!==t.canvas?t.canvas:function(){const t=Rn("canvas");return t.style.display="block",t}(),n=void 0!==t.context?t.context:null,r=void 0===t.depth||t.depth,a=void 0===t.stencil||t.stencil,s=void 0!==t.antialias&&t.antialias,o=void 0===t.premultipliedAlpha||t.premultipliedAlpha,l=void 0!==t.preserveDrawingBuffer&&t.preserveDrawingBuffer,c=void 0!==t.powerPreference?t.powerPreference:"default",u=void 0!==t.failIfMajorPerformanceCaveat&&t.failIfMajorPerformanceCaveat;let d;d=null!==n?n.getContextAttributes().alpha:void 0!==t.alpha&&t.alpha;let h=null,p=null;const v=[],_=[];this.domElement=e,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=Ie,this.physicallyCorrectLights=!1,this.toneMapping=K,this.toneMappingExposure=1,Object.defineProperties(this,{gammaFactor:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaFactor has been removed."),2},set:function(){console.warn("THREE.WebGLRenderer: .gammaFactor has been removed.")}}});const y=this;let b=!1,x=0,w=0,M=null,S=-1,T=null;const A=new Qn,L=new Qn;let E=null,C=e.width,I=e.height,D=1,k=null,O=null;const R=new Qn(0,0,C,I),P=new Qn(0,0,C,I);let N=!1;const Y=new Ta;let F=!1,H=!1,j=null;const B=new Yi,z=new Cn,U=new si,V={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function W(){return null===M?D:1}let G,q,X,$,J,Q,Z,tt,et,nt,it,rt,at,st,ot,lt,ct,ut,dt,ht,pt,ft,mt,gt,vt=n;function _t(t,n){for(let i=0;i<t.length;i++){const r=t[i],a=e.getContext(r,n);if(null!==a)return a}return null}try{const t={alpha:!0,depth:r,stencil:a,antialias:s,premultipliedAlpha:o,preserveDrawingBuffer:l,powerPreference:c,failIfMajorPerformanceCaveat:u};if("setAttribute"in e&&e.setAttribute("data-engine","three.js r"+i),e.addEventListener("webglcontextlost",Mt,!1),e.addEventListener("webglcontextrestored",St,!1),e.addEventListener("webglcontextcreationerror",Tt,!1),null===vt){const e=["webgl2","webgl","experimental-webgl"];if(!0===y.isWebGL1Renderer&&e.shift(),vt=_t(e,t),null===vt)throw _t(e)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}void 0===vt.getShaderPrecisionFormat&&(vt.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(t){throw console.error("THREE.WebGLRenderer: "+t.message),t}function bt(){G=new Za(vt),q=new Pa(vt,G,t),G.init(q),ft=new Xo(vt,G,q),X=new Go(vt,G,q),$=new ns,J=new ko,Q=new qo(vt,G,X,J,q,ft,$),Z=new Ya(y),tt=new Qa(y),et=new La(vt,q),mt=new Oa(vt,G,et,q),nt=new ts(vt,et,$,mt),it=new ss(vt,nt,et,$),dt=new as(vt,q,Q),lt=new Na(J),rt=new Do(y,Z,tt,G,q,mt,lt),at=new el(y,J),st=new No,ot=new zo(G,q),ut=new ka(y,Z,X,it,d,o),ct=new Wo(y,it,q),gt=new nl(vt,$,q,X),ht=new Ra(vt,G,$,q),pt=new es(vt,G,$,q),$.programs=rt.programs,y.capabilities=q,y.extensions=G,y.properties=J,y.renderLists=st,y.shadowMap=ct,y.state=X,y.info=$}bt();const wt=new tl(y,vt);function Mt(t){t.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),b=!0}function St(){console.log("THREE.WebGLRenderer: Context Restored."),b=!1;const t=$.autoReset,e=ct.enabled,n=ct.autoUpdate,i=ct.needsUpdate,r=ct.type;bt(),$.autoReset=t,ct.enabled=e,ct.autoUpdate=n,ct.needsUpdate=i,ct.type=r}function Tt(t){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",t.statusMessage)}function At(t){const e=t.target;e.removeEventListener("dispose",At),function(t){(function(t){const e=J.get(t).programs;void 0!==e&&(e.forEach((function(t){rt.releaseProgram(t)})),t.isShaderMaterial&&rt.releaseShaderCache(t))})(t),J.remove(t)}(e)}this.xr=wt,this.getContext=function(){return vt},this.getContextAttributes=function(){return vt.getContextAttributes()},this.forceContextLoss=function(){const t=G.get("WEBGL_lose_context");t&&t.loseContext()},this.forceContextRestore=function(){const t=G.get("WEBGL_lose_context");t&&t.restoreContext()},this.getPixelRatio=function(){return D},this.setPixelRatio=function(t){void 0!==t&&(D=t,this.setSize(C,I,!1))},this.getSize=function(t){return t.set(C,I)},this.setSize=function(t,n,i){wt.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(C=t,I=n,e.width=Math.floor(t*D),e.height=Math.floor(n*D),!1!==i&&(e.style.width=t+"px",e.style.height=n+"px"),this.setViewport(0,0,t,n))},this.getDrawingBufferSize=function(t){return t.set(C*D,I*D).floor()},this.setDrawingBufferSize=function(t,n,i){C=t,I=n,D=i,e.width=Math.floor(t*i),e.height=Math.floor(n*i),this.setViewport(0,0,t,n)},this.getCurrentViewport=function(t){return t.copy(A)},this.getViewport=function(t){return t.copy(R)},this.setViewport=function(t,e,n,i){t.isVector4?R.set(t.x,t.y,t.z,t.w):R.set(t,e,n,i),X.viewport(A.copy(R).multiplyScalar(D).floor())},this.getScissor=function(t){return t.copy(P)},this.setScissor=function(t,e,n,i){t.isVector4?P.set(t.x,t.y,t.z,t.w):P.set(t,e,n,i),X.scissor(L.copy(P).multiplyScalar(D).floor())},this.getScissorTest=function(){return N},this.setScissorTest=function(t){X.setScissorTest(N=t)},this.setOpaqueSort=function(t){k=t},this.setTransparentSort=function(t){O=t},this.getClearColor=function(t){return t.copy(ut.getClearColor())},this.setClearColor=function(){ut.setClearColor.apply(ut,arguments)},this.getClearAlpha=function(){return ut.getClearAlpha()},this.setClearAlpha=function(){ut.setClearAlpha.apply(ut,arguments)},this.clear=function(t=!0,e=!0,n=!0){let i=0;t&&(i|=16384),e&&(i|=256),n&&(i|=1024),vt.clear(i)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){e.removeEventListener("webglcontextlost",Mt,!1),e.removeEventListener("webglcontextrestored",St,!1),e.removeEventListener("webglcontextcreationerror",Tt,!1),st.dispose(),ot.dispose(),J.dispose(),Z.dispose(),tt.dispose(),it.dispose(),mt.dispose(),gt.dispose(),rt.dispose(),wt.dispose(),wt.removeEventListener("sessionstart",It),wt.removeEventListener("sessionend",Dt),j&&(j.dispose(),j=null),kt.stop()},this.renderBufferDirect=function(t,e,n,i,r,a){null===e&&(e=V);const s=r.isMesh&&r.matrixWorld.determinant()<0,o=function(t,e,n,i,r){!0!==e.isScene&&(e=V);Q.resetTextureUnits();const a=e.fog,s=i.isMeshStandardMaterial?e.environment:null,o=null===M?y.outputEncoding:!0===M.isXRRenderTarget?M.texture.encoding:Ie,l=(i.isMeshStandardMaterial?tt:Z).get(i.envMap||s),c=!0===i.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,u=!!i.normalMap&&!!n.attributes.tangent,d=!!n.morphAttributes.position,h=!!n.morphAttributes.normal,f=!!n.morphAttributes.color,m=i.toneMapped?y.toneMapping:K,g=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,v=void 0!==g?g.length:0,_=J.get(i),b=p.state.lights;if(!0===F&&(!0===H||t!==T)){const e=t===T&&i.id===S;lt.setState(i,t,e)}let x=!1;i.version===_.__version?_.needsLights&&_.lightsStateVersion!==b.state.version||_.outputEncoding!==o||r.isInstancedMesh&&!1===_.instancing?x=!0:r.isInstancedMesh||!0!==_.instancing?r.isSkinnedMesh&&!1===_.skinning?x=!0:r.isSkinnedMesh||!0!==_.skinning?_.envMap!==l||!0===i.fog&&_.fog!==a?x=!0:void 0===_.numClippingPlanes||_.numClippingPlanes===lt.numPlanes&&_.numIntersection===lt.numIntersection?(_.vertexAlphas!==c||_.vertexTangents!==u||_.morphTargets!==d||_.morphNormals!==h||_.morphColors!==f||_.toneMapping!==m||!0===q.isWebGL2&&_.morphTargetsCount!==v)&&(x=!0):x=!0:x=!0:x=!0:(x=!0,_.__version=i.version);let w=_.currentProgram;!0===x&&(w=Yt(i,e,r));let A=!1,L=!1,E=!1;const C=w.getUniforms(),k=_.uniforms;X.useProgram(w.program)&&(A=!0,L=!0,E=!0);i.id!==S&&(S=i.id,L=!0);if(A||T!==t){if(C.setValue(vt,"projectionMatrix",t.projectionMatrix),q.logarithmicDepthBuffer&&C.setValue(vt,"logDepthBufFC",2/(Math.log(t.far+1)/Math.LN2)),T!==t&&(T=t,L=!0,E=!0),i.isShaderMaterial||i.isMeshPhongMaterial||i.isMeshToonMaterial||i.isMeshStandardMaterial||i.envMap){const e=C.map.cameraPosition;void 0!==e&&e.setValue(vt,U.setFromMatrixPosition(t.matrixWorld))}(i.isMeshPhongMaterial||i.isMeshToonMaterial||i.isMeshLambertMaterial||i.isMeshBasicMaterial||i.isMeshStandardMaterial||i.isShaderMaterial)&&C.setValue(vt,"isOrthographic",!0===t.isOrthographicCamera),(i.isMeshPhongMaterial||i.isMeshToonMaterial||i.isMeshLambertMaterial||i.isMeshBasicMaterial||i.isMeshStandardMaterial||i.isShaderMaterial||i.isShadowMaterial||r.isSkinnedMesh)&&C.setValue(vt,"viewMatrix",t.matrixWorldInverse)}if(r.isSkinnedMesh){C.setOptional(vt,r,"bindMatrix"),C.setOptional(vt,r,"bindMatrixInverse");const t=r.skeleton;t&&(q.floatVertexTextures?(null===t.boneTexture&&t.computeBoneTexture(),C.setValue(vt,"boneTexture",t.boneTexture,Q),C.setValue(vt,"boneTextureSize",t.boneTextureSize)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}const O=n.morphAttributes;(void 0!==O.position||void 0!==O.normal||void 0!==O.color&&!0===q.isWebGL2)&&dt.update(r,n,i,w);(L||_.receiveShadow!==r.receiveShadow)&&(_.receiveShadow=r.receiveShadow,C.setValue(vt,"receiveShadow",r.receiveShadow));i.isMeshGouraudMaterial&&null!==i.envMap&&(k.envMap.value=l,k.flipEnvMap.value=l.isCubeTexture&&!1===l.isRenderTargetTexture?-1:1);L&&(C.setValue(vt,"toneMappingExposure",y.toneMappingExposure),_.needsLights&&(P=E,(R=k).ambientLightColor.needsUpdate=P,R.lightProbe.needsUpdate=P,R.directionalLights.needsUpdate=P,R.directionalLightShadows.needsUpdate=P,R.pointLights.needsUpdate=P,R.pointLightShadows.needsUpdate=P,R.spotLights.needsUpdate=P,R.spotLightShadows.needsUpdate=P,R.rectAreaLights.needsUpdate=P,R.hemisphereLights.needsUpdate=P),a&&!0===i.fog&&at.refreshFogUniforms(k,a),at.refreshMaterialUniforms(k,i,D,I,j),uo.upload(vt,_.uniformsList,k,Q));var R,P;i.isShaderMaterial&&!0===i.uniformsNeedUpdate&&(uo.upload(vt,_.uniformsList,k,Q),i.uniformsNeedUpdate=!1);i.isSpriteMaterial&&C.setValue(vt,"center",r.center);if(C.setValue(vt,"modelViewMatrix",r.modelViewMatrix),C.setValue(vt,"normalMatrix",r.normalMatrix),C.setValue(vt,"modelMatrix",r.matrixWorld),i.isShaderMaterial||i.isRawShaderMaterial){const t=i.uniformsGroups;for(let e=0,n=t.length;e<n;e++)if(q.isWebGL2){const n=t[e];gt.update(n,w),gt.bind(n,w)}else console.warn("THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.")}return w}(t,e,n,i,r);X.setMaterial(i,s);let l=n.index;const c=n.attributes.position;if(null===l){if(void 0===c||0===c.count)return}else if(0===l.count)return;let u,d=1;!0===i.wireframe&&(l=nt.getWireframeAttribute(n),d=2),mt.setup(r,i,o,n,l);let h=ht;null!==l&&(u=et.get(l),h=pt,h.setIndex(u));const f=null!==l?l.count:c.count,m=n.drawRange.start*d,g=n.drawRange.count*d,v=null!==a?a.start*d:0,_=null!==a?a.count*d:1/0,b=Math.max(m,v),x=Math.min(f,m+g,v+_)-1,w=Math.max(0,x-b+1);if(0!==w){if(r.isMesh)!0===i.wireframe?(X.setLineWidth(i.wireframeLinewidth*W()),h.setMode(1)):h.setMode(4);else if(r.isLine){let t=i.linewidth;void 0===t&&(t=1),X.setLineWidth(t*W()),r.isLineSegments?h.setMode(1):r.isLineLoop?h.setMode(2):h.setMode(3)}else r.isPoints?h.setMode(0):r.isSprite&&h.setMode(4);if(r.isInstancedMesh)h.renderInstances(b,w,r.count);else if(n.isInstancedBufferGeometry){const t=Math.min(n.instanceCount,n._maxInstanceCount);h.renderInstances(b,w,t)}else h.render(b,w)}},this.compile=function(t,e){function n(t,e,n){!0===t.transparent&&t.side===g?(t.side=m,t.needsUpdate=!0,Yt(t,e,n),t.side=f,t.needsUpdate=!0,Yt(t,e,n),t.side=g):Yt(t,e,n)}p=ot.get(t),p.init(),_.push(p),t.traverseVisible((function(t){t.isLight&&t.layers.test(e.layers)&&(p.pushLight(t),t.castShadow&&p.pushShadow(t))})),p.setupLights(y.physicallyCorrectLights),t.traverse((function(e){const i=e.material;if(i)if(Array.isArray(i))for(let r=0;r<i.length;r++){n(i[r],t,e)}else n(i,t,e)})),_.pop(),p=null};let Ct=null;function It(){kt.stop()}function Dt(){kt.start()}const kt=new Aa;function Ot(t,e,n,i){const r=t.opaque,a=t.transmissive,o=t.transparent;p.setupLightsView(n),a.length>0&&function(t,e,n){const i=q.isWebGL2;null===j&&(j=new Zn(1,1,{generateMipmaps:!0,type:G.has("EXT_color_buffer_half_float")?Et:xt,minFilter:yt,samples:i&&!0===s?4:0}));y.getDrawingBufferSize(z),i?j.setSize(z.x,z.y):j.setSize(Tn(z.x),Tn(z.y));const r=y.getRenderTarget();y.setRenderTarget(j),y.clear();const a=y.toneMapping;y.toneMapping=K,Pt(t,e,n),y.toneMapping=a,Q.updateMultisampleRenderTarget(j),Q.updateRenderTargetMipmap(j),y.setRenderTarget(r)}(r,e,n),i&&X.viewport(A.copy(i)),r.length>0&&Pt(r,e,n),a.length>0&&Pt(a,e,n),o.length>0&&Pt(o,e,n),X.buffers.depth.setTest(!0),X.buffers.depth.setMask(!0),X.buffers.color.setMask(!0),X.setPolygonOffset(!1)}function Pt(t,e,n){const i=!0===e.isScene?e.overrideMaterial:null;for(let r=0,a=t.length;r<a;r++){const a=t[r],s=a.object,o=a.geometry,l=null===i?a.material:i,c=a.group;s.layers.test(n.layers)&&Nt(s,e,n,o,l,c)}}function Nt(t,e,n,i,r,a){t.onBeforeRender(y,e,n,i,r,a),t.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,t.matrixWorld),t.normalMatrix.getNormalMatrix(t.modelViewMatrix),r.onBeforeRender(y,e,n,i,t,a),!0===r.transparent&&r.side===g?(r.side=m,r.needsUpdate=!0,y.renderBufferDirect(n,e,i,r,t,a),r.side=f,r.needsUpdate=!0,y.renderBufferDirect(n,e,i,r,t,a),r.side=g):y.renderBufferDirect(n,e,i,r,t,a),t.onAfterRender(y,e,n,i,r,a)}function Yt(t,e,n){!0!==e.isScene&&(e=V);const i=J.get(t),r=p.state.lights,a=p.state.shadowsArray,s=r.state.version,o=rt.getParameters(t,r.state,a,e,n),l=rt.getProgramCacheKey(o);let c=i.programs;i.environment=t.isMeshStandardMaterial?e.environment:null,i.fog=e.fog,i.envMap=(t.isMeshStandardMaterial?tt:Z).get(t.envMap||i.environment),void 0===c&&(t.addEventListener("dispose",At),c=new Map,i.programs=c);let u=c.get(l);if(void 0!==u){if(i.currentProgram===u&&i.lightsStateVersion===s)return Ft(t,o),u}else o.uniforms=rt.getUniforms(t),t.onBuild(n,o,y),t.onBeforeCompile(o,y),u=rt.acquireProgram(o,l),c.set(l,u),i.uniforms=o.uniforms;const d=i.uniforms;(t.isShaderMaterial||t.isRawShaderMaterial)&&!0!==t.clipping||(d.clippingPlanes=lt.uniform),Ft(t,o),i.needsLights=function(t){return t.isMeshLambertMaterial||t.isMeshToonMaterial||t.isMeshPhongMaterial||t.isMeshStandardMaterial||t.isShadowMaterial||t.isShaderMaterial&&!0===t.lights}(t),i.lightsStateVersion=s,i.needsLights&&(d.ambientLightColor.value=r.state.ambient,d.lightProbe.value=r.state.probe,d.directionalLights.value=r.state.directional,d.directionalLightShadows.value=r.state.directionalShadow,d.spotLights.value=r.state.spot,d.spotLightShadows.value=r.state.spotShadow,d.rectAreaLights.value=r.state.rectArea,d.ltc_1.value=r.state.rectAreaLTC1,d.ltc_2.value=r.state.rectAreaLTC2,d.pointLights.value=r.state.point,d.pointLightShadows.value=r.state.pointShadow,d.hemisphereLights.value=r.state.hemi,d.directionalShadowMap.value=r.state.directionalShadowMap,d.directionalShadowMatrix.value=r.state.directionalShadowMatrix,d.spotShadowMap.value=r.state.spotShadowMap,d.spotLightMatrix.value=r.state.spotLightMatrix,d.spotLightMap.value=r.state.spotLightMap,d.pointShadowMap.value=r.state.pointShadowMap,d.pointShadowMatrix.value=r.state.pointShadowMatrix);const h=u.getUniforms(),f=uo.seqWithValue(h.seq,d);return i.currentProgram=u,i.uniformsList=f,u}function Ft(t,e){const n=J.get(t);n.outputEncoding=e.outputEncoding,n.instancing=e.instancing,n.skinning=e.skinning,n.morphTargets=e.morphTargets,n.morphNormals=e.morphNormals,n.morphColors=e.morphColors,n.morphTargetsCount=e.morphTargetsCount,n.numClippingPlanes=e.numClippingPlanes,n.numIntersection=e.numClipIntersection,n.vertexAlphas=e.vertexAlphas,n.vertexTangents=e.vertexTangents,n.toneMapping=e.toneMapping}kt.setAnimationLoop((function(t){Ct&&Ct(t)})),"undefined"!=typeof self&&kt.setContext(self),this.setAnimationLoop=function(t){Ct=t,wt.setAnimationLoop(t),null===t?kt.stop():kt.start()},wt.addEventListener("sessionstart",It),wt.addEventListener("sessionend",Dt),this.render=function(t,e){if(void 0!==e&&!0!==e.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===b)return;!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),null===e.parent&&!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),!0===wt.enabled&&!0===wt.isPresenting&&(!0===wt.cameraAutoUpdate&&wt.updateCamera(e),e=wt.getCamera()),!0===t.isScene&&t.onBeforeRender(y,t,e,M),p=ot.get(t,_.length),p.init(),_.push(p),B.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),Y.setFromProjectionMatrix(B),H=this.localClippingEnabled,F=lt.init(this.clippingPlanes,H,e),h=st.get(t,v.length),h.init(),v.push(h),function t(e,n,i,r){if(!1===e.visible)return;if(e.layers.test(n.layers))if(e.isGroup)i=e.renderOrder;else if(e.isLOD)!0===e.autoUpdate&&e.update(n);else if(e.isLight)p.pushLight(e),e.castShadow&&p.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||Y.intersectsSprite(e)){r&&U.setFromMatrixPosition(e.matrixWorld).applyMatrix4(B);const t=it.update(e),n=e.material;n.visible&&h.push(e,t,n,i,U.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(e.isSkinnedMesh&&e.skeleton.frame!==$.render.frame&&(e.skeleton.update(),e.skeleton.frame=$.render.frame),!e.frustumCulled||Y.intersectsObject(e))){r&&U.setFromMatrixPosition(e.matrixWorld).applyMatrix4(B);const t=it.update(e),n=e.material;if(Array.isArray(n)){const r=t.groups;for(let a=0,s=r.length;a<s;a++){const s=r[a],o=n[s.materialIndex];o&&o.visible&&h.push(e,t,o,i,U.z,s)}}else n.visible&&h.push(e,t,n,i,U.z,null)}const a=e.children;for(let e=0,s=a.length;e<s;e++)t(a[e],n,i,r)}(t,e,0,y.sortObjects),h.finish(),!0===y.sortObjects&&h.sort(k,O),!0===F&&lt.beginShadows();const n=p.state.shadowsArray;if(ct.render(n,t,e),!0===F&&lt.endShadows(),!0===this.info.autoReset&&this.info.reset(),ut.render(h,t),p.setupLights(y.physicallyCorrectLights),e.isArrayCamera){const n=e.cameras;for(let e=0,i=n.length;e<i;e++){const i=n[e];Ot(h,t,i,i.viewport)}}else Ot(h,t,e);null!==M&&(Q.updateMultisampleRenderTarget(M),Q.updateRenderTargetMipmap(M)),!0===t.isScene&&t.onAfterRender(y,t,e),mt.resetDefaultState(),S=-1,T=null,_.pop(),p=_.length>0?_[_.length-1]:null,v.pop(),h=v.length>0?v[v.length-1]:null},this.getActiveCubeFace=function(){return x},this.getActiveMipmapLevel=function(){return w},this.getRenderTarget=function(){return M},this.setRenderTargetTextures=function(t,e,n){J.get(t.texture).__webglTexture=e,J.get(t.depthTexture).__webglTexture=n;const i=J.get(t);i.__hasExternalTextures=!0,i.__hasExternalTextures&&(i.__autoAllocateDepthBuffer=void 0===n,i.__autoAllocateDepthBuffer||!0===G.has("WEBGL_multisampled_render_to_texture")&&(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),i.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(t,e){const n=J.get(t);n.__webglFramebuffer=e,n.__useDefaultFramebuffer=void 0===e},this.setRenderTarget=function(t,e=0,n=0){M=t,x=e,w=n;let i=!0;if(t){const e=J.get(t);void 0!==e.__useDefaultFramebuffer?(X.bindFramebuffer(36160,null),i=!1):void 0===e.__webglFramebuffer?Q.setupRenderTarget(t):e.__hasExternalTextures&&Q.rebindTextures(t,J.get(t.texture).__webglTexture,J.get(t.depthTexture).__webglTexture)}let r=null,a=!1,s=!1;if(t){const n=t.texture;(n.isData3DTexture||n.isDataArrayTexture)&&(s=!0);const i=J.get(t).__webglFramebuffer;t.isWebGLCubeRenderTarget?(r=i[e],a=!0):r=q.isWebGL2&&t.samples>0&&!1===Q.useMultisampledRTT(t)?J.get(t).__webglMultisampledFramebuffer:i,A.copy(t.viewport),L.copy(t.scissor),E=t.scissorTest}else A.copy(R).multiplyScalar(D).floor(),L.copy(P).multiplyScalar(D).floor(),E=N;if(X.bindFramebuffer(36160,r)&&q.drawBuffers&&i&&X.drawBuffers(t,r),X.viewport(A),X.scissor(L),X.setScissorTest(E),a){const i=J.get(t.texture);vt.framebufferTexture2D(36160,36064,34069+e,i.__webglTexture,n)}else if(s){const i=J.get(t.texture),r=e||0;vt.framebufferTextureLayer(36160,36064,i.__webglTexture,n||0,r)}S=-1},this.readRenderTargetPixels=function(t,e,n,i,r,a,s){if(!t||!t.isWebGLRenderTarget)return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let o=J.get(t).__webglFramebuffer;if(t.isWebGLCubeRenderTarget&&void 0!==s&&(o=o[s]),o){X.bindFramebuffer(36160,o);try{const s=t.texture,o=s.format,l=s.type;if(o!==Rt&&ft.convert(o)!==vt.getParameter(35739))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");const c=l===Et&&(G.has("EXT_color_buffer_half_float")||q.isWebGL2&&G.has("EXT_color_buffer_float"));if(!(l===xt||ft.convert(l)===vt.getParameter(35738)||l===Lt&&(q.isWebGL2||G.has("OES_texture_float")||G.has("WEBGL_color_buffer_float"))||c))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");e>=0&&e<=t.width-i&&n>=0&&n<=t.height-r&&vt.readPixels(e,n,i,r,ft.convert(o),ft.convert(l),a)}finally{const t=null!==M?J.get(M).__webglFramebuffer:null;X.bindFramebuffer(36160,t)}}},this.copyFramebufferToTexture=function(t,e,n=0){const i=Math.pow(2,-n),r=Math.floor(e.image.width*i),a=Math.floor(e.image.height*i);Q.setTexture2D(e,0),vt.copyTexSubImage2D(3553,n,0,0,t.x,t.y,r,a),X.unbindTexture()},this.copyTextureToTexture=function(t,e,n,i=0){const r=e.image.width,a=e.image.height,s=ft.convert(n.format),o=ft.convert(n.type);Q.setTexture2D(n,0),vt.pixelStorei(37440,n.flipY),vt.pixelStorei(37441,n.premultiplyAlpha),vt.pixelStorei(3317,n.unpackAlignment),e.isDataTexture?vt.texSubImage2D(3553,i,t.x,t.y,r,a,s,o,e.image.data):e.isCompressedTexture?vt.compressedTexSubImage2D(3553,i,t.x,t.y,e.mipmaps[0].width,e.mipmaps[0].height,s,e.mipmaps[0].data):vt.texSubImage2D(3553,i,t.x,t.y,s,o,e.image),0===i&&n.generateMipmaps&&vt.generateMipmap(3553),X.unbindTexture()},this.copyTextureToTexture3D=function(t,e,n,i,r=0){if(y.isWebGL1Renderer)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");const a=t.max.x-t.min.x+1,s=t.max.y-t.min.y+1,o=t.max.z-t.min.z+1,l=ft.convert(i.format),c=ft.convert(i.type);let u;if(i.isData3DTexture)Q.setTexture3D(i,0),u=32879;else{if(!i.isDataArrayTexture)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");Q.setTexture2DArray(i,0),u=35866}vt.pixelStorei(37440,i.flipY),vt.pixelStorei(37441,i.premultiplyAlpha),vt.pixelStorei(3317,i.unpackAlignment);const d=vt.getParameter(3314),h=vt.getParameter(32878),p=vt.getParameter(3316),f=vt.getParameter(3315),m=vt.getParameter(32877),g=n.isCompressedTexture?n.mipmaps[0]:n.image;vt.pixelStorei(3314,g.width),vt.pixelStorei(32878,g.height),vt.pixelStorei(3316,t.min.x),vt.pixelStorei(3315,t.min.y),vt.pixelStorei(32877,t.min.z),n.isDataTexture||n.isData3DTexture?vt.texSubImage3D(u,r,e.x,e.y,e.z,a,s,o,l,c,g.data):n.isCompressedTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),vt.compressedTexSubImage3D(u,r,e.x,e.y,e.z,a,s,o,l,g.data)):vt.texSubImage3D(u,r,e.x,e.y,e.z,a,s,o,l,c,g),vt.pixelStorei(3314,d),vt.pixelStorei(32878,h),vt.pixelStorei(3316,p),vt.pixelStorei(3315,f),vt.pixelStorei(32877,m),0===r&&i.generateMipmaps&&vt.generateMipmap(u),X.unbindTexture()},this.initTexture=function(t){t.isCubeTexture?Q.setTextureCube(t,0):t.isData3DTexture?Q.setTexture3D(t,0):t.isDataArrayTexture?Q.setTexture2DArray(t,0):Q.setTexture2D(t,0),X.unbindTexture()},this.resetState=function(){x=0,w=0,M=null,X.reset(),mt.reset()},"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}class rl extends il{}rl.prototype.isWebGL1Renderer=!0;class al{constructor(t,e=25e-5){this.isFogExp2=!0,this.name="",this.color=new Wn(t),this.density=e}clone(){return new al(this.color,this.density)}toJSON(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}}class sl{constructor(t,e=1,n=1e3){this.isFog=!0,this.name="",this.color=new Wn(t),this.near=e,this.far=n}clone(){return new sl(this.color,this.near,this.far)}toJSON(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}}class ol extends lr{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(t,e){return super.copy(t,e),null!==t.background&&(this.background=t.background.clone()),null!==t.environment&&(this.environment=t.environment.clone()),null!==t.fog&&(this.fog=t.fog.clone()),null!==t.overrideMaterial&&(this.overrideMaterial=t.overrideMaterial.clone()),this.matrixAutoUpdate=t.matrixAutoUpdate,this}toJSON(t){const e=super.toJSON(t);return null!==this.fog&&(e.object.fog=this.fog.toJSON()),e}get autoUpdate(){return console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate}set autoUpdate(t){console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate=t}}class ll{constructor(t,e){this.isInterleavedBuffer=!0,this.array=t,this.stride=e,this.count=void 0!==t?t.length/e:0,this.usage=en,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=yn()}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}setUsage(t){return this.usage=t,this}copy(t){return this.array=new t.array.constructor(t.array),this.count=t.count,this.stride=t.stride,this.usage=t.usage,this}copyAt(t,e,n){t*=this.stride,n*=e.stride;for(let i=0,r=this.stride;i<r;i++)this.array[t+i]=e.array[n+i];return this}set(t,e=0){return this.array.set(t,e),this}clone(t){void 0===t.arrayBuffers&&(t.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=yn()),void 0===t.arrayBuffers[this.array.buffer._uuid]&&(t.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const e=new this.array.constructor(t.arrayBuffers[this.array.buffer._uuid]),n=new this.constructor(e,this.stride);return n.setUsage(this.usage),n}onUpload(t){return this.onUploadCallback=t,this}toJSON(t){return void 0===t.arrayBuffers&&(t.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=yn()),void 0===t.arrayBuffers[this.array.buffer._uuid]&&(t.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const cl=new si;class ul{constructor(t,e,n,i=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=t,this.itemSize=e,this.offset=n,this.normalized=!0===i}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(t){this.data.needsUpdate=t}applyMatrix4(t){for(let e=0,n=this.data.count;e<n;e++)cl.fromBufferAttribute(this,e),cl.applyMatrix4(t),this.setXYZ(e,cl.x,cl.y,cl.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)cl.fromBufferAttribute(this,e),cl.applyNormalMatrix(t),this.setXYZ(e,cl.x,cl.y,cl.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)cl.fromBufferAttribute(this,e),cl.transformDirection(t),this.setXYZ(e,cl.x,cl.y,cl.z);return this}setX(t,e){return this.normalized&&(e=Ln(e,this.array)),this.data.array[t*this.data.stride+this.offset]=e,this}setY(t,e){return this.normalized&&(e=Ln(e,this.array)),this.data.array[t*this.data.stride+this.offset+1]=e,this}setZ(t,e){return this.normalized&&(e=Ln(e,this.array)),this.data.array[t*this.data.stride+this.offset+2]=e,this}setW(t,e){return this.normalized&&(e=Ln(e,this.array)),this.data.array[t*this.data.stride+this.offset+3]=e,this}getX(t){let e=this.data.array[t*this.data.stride+this.offset];return this.normalized&&(e=An(e,this.array)),e}getY(t){let e=this.data.array[t*this.data.stride+this.offset+1];return this.normalized&&(e=An(e,this.array)),e}getZ(t){let e=this.data.array[t*this.data.stride+this.offset+2];return this.normalized&&(e=An(e,this.array)),e}getW(t){let e=this.data.array[t*this.data.stride+this.offset+3];return this.normalized&&(e=An(e,this.array)),e}setXY(t,e,n){return t=t*this.data.stride+this.offset,this.normalized&&(e=Ln(e,this.array),n=Ln(n,this.array)),this.data.array[t+0]=e,this.data.array[t+1]=n,this}setXYZ(t,e,n,i){return t=t*this.data.stride+this.offset,this.normalized&&(e=Ln(e,this.array),n=Ln(n,this.array),i=Ln(i,this.array)),this.data.array[t+0]=e,this.data.array[t+1]=n,this.data.array[t+2]=i,this}setXYZW(t,e,n,i,r){return t=t*this.data.stride+this.offset,this.normalized&&(e=Ln(e,this.array),n=Ln(n,this.array),i=Ln(i,this.array),r=Ln(r,this.array)),this.data.array[t+0]=e,this.data.array[t+1]=n,this.data.array[t+2]=i,this.data.array[t+3]=r,this}clone(t){if(void 0===t){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will deinterleave buffer data.");const t=[];for(let e=0;e<this.count;e++){const n=e*this.data.stride+this.offset;for(let e=0;e<this.itemSize;e++)t.push(this.data.array[n+e])}return new Tr(new this.array.constructor(t),this.itemSize,this.normalized)}return void 0===t.interleavedBuffers&&(t.interleavedBuffers={}),void 0===t.interleavedBuffers[this.data.uuid]&&(t.interleavedBuffers[this.data.uuid]=this.data.clone(t)),new ul(t.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(t){if(void 0===t){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will deinterleave buffer data.");const t=[];for(let e=0;e<this.count;e++){const n=e*this.data.stride+this.offset;for(let e=0;e<this.itemSize;e++)t.push(this.data.array[n+e])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:t,normalized:this.normalized}}return void 0===t.interleavedBuffers&&(t.interleavedBuffers={}),void 0===t.interleavedBuffers[this.data.uuid]&&(t.interleavedBuffers[this.data.uuid]=this.data.toJSON(t)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}class dl extends xr{constructor(t){super(),this.isSpriteMaterial=!0,this.type="SpriteMaterial",this.color=new Wn(16777215),this.map=null,this.alphaMap=null,this.rotation=0,this.sizeAttenuation=!0,this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.rotation=t.rotation,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}}let hl;const pl=new si,fl=new si,ml=new si,gl=new Cn,vl=new Cn,_l=new Yi,yl=new si,bl=new si,xl=new si,wl=new Cn,Ml=new Cn,Sl=new Cn;class Tl extends lr{constructor(t){if(super(),this.isSprite=!0,this.type="Sprite",void 0===hl){hl=new Ur;const t=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),e=new ll(t,5);hl.setIndex([0,1,2,0,2,3]),hl.setAttribute("position",new ul(e,3,0,!1)),hl.setAttribute("uv",new ul(e,2,3,!1))}this.geometry=hl,this.material=void 0!==t?t:new dl,this.center=new Cn(.5,.5)}raycast(t,e){null===t.camera&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.'),fl.setFromMatrixScale(this.matrixWorld),_l.copy(t.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(t.camera.matrixWorldInverse,this.matrixWorld),ml.setFromMatrixPosition(this.modelViewMatrix),t.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&fl.multiplyScalar(-ml.z);const n=this.material.rotation;let i,r;0!==n&&(r=Math.cos(n),i=Math.sin(n));const a=this.center;Al(yl.set(-.5,-.5,0),ml,a,fl,i,r),Al(bl.set(.5,-.5,0),ml,a,fl,i,r),Al(xl.set(.5,.5,0),ml,a,fl,i,r),wl.set(0,0),Ml.set(1,0),Sl.set(1,1);let s=t.ray.intersectTriangle(yl,bl,xl,!1,pl);if(null===s&&(Al(bl.set(-.5,.5,0),ml,a,fl,i,r),Ml.set(0,1),s=t.ray.intersectTriangle(yl,xl,bl,!1,pl),null===s))return;const o=t.ray.origin.distanceTo(pl);o<t.near||o>t.far||e.push({distance:o,point:pl.clone(),uv:yr.getUV(pl,yl,bl,xl,wl,Ml,Sl,new Cn),face:null,object:this})}copy(t,e){return super.copy(t,e),void 0!==t.center&&this.center.copy(t.center),this.material=t.material,this}}function Al(t,e,n,i,r,a){gl.subVectors(t,n).addScalar(.5).multiply(i),void 0!==r?(vl.x=a*gl.x-r*gl.y,vl.y=r*gl.x+a*gl.y):vl.copy(gl),t.copy(e),t.x+=vl.x,t.y+=vl.y,t.applyMatrix4(_l)}const Ll=new si,El=new si;class Cl extends lr{constructor(){super(),this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0}copy(t){super.copy(t,!1);const e=t.levels;for(let t=0,n=e.length;t<n;t++){const n=e[t];this.addLevel(n.object.clone(),n.distance)}return this.autoUpdate=t.autoUpdate,this}addLevel(t,e=0){e=Math.abs(e);const n=this.levels;let i;for(i=0;i<n.length&&!(e<n[i].distance);i++);return n.splice(i,0,{distance:e,object:t}),this.add(t),this}getCurrentLevel(){return this._currentLevel}getObjectForDistance(t){const e=this.levels;if(e.length>0){let n,i;for(n=1,i=e.length;n<i&&!(t<e[n].distance);n++);return e[n-1].object}return null}raycast(t,e){if(this.levels.length>0){Ll.setFromMatrixPosition(this.matrixWorld);const n=t.ray.origin.distanceTo(Ll);this.getObjectForDistance(n).raycast(t,e)}}update(t){const e=this.levels;if(e.length>1){Ll.setFromMatrixPosition(t.matrixWorld),El.setFromMatrixPosition(this.matrixWorld);const n=Ll.distanceTo(El)/t.zoom;let i,r;for(e[0].object.visible=!0,i=1,r=e.length;i<r&&n>=e[i].distance;i++)e[i-1].object.visible=!1,e[i].object.visible=!0;for(this._currentLevel=i-1;i<r;i++)e[i].object.visible=!1}}toJSON(t){const e=super.toJSON(t);!1===this.autoUpdate&&(e.object.autoUpdate=!1),e.object.levels=[];const n=this.levels;for(let t=0,i=n.length;t<i;t++){const i=n[t];e.object.levels.push({object:i.object.uuid,distance:i.distance})}return e}}const Il=new si,Dl=new Qn,kl=new Qn,Ol=new si,Rl=new Yi;class Pl extends oa{constructor(t,e){super(t,e),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode="attached",this.bindMatrix=new Yi,this.bindMatrixInverse=new Yi}copy(t,e){return super.copy(t,e),this.bindMode=t.bindMode,this.bindMatrix.copy(t.bindMatrix),this.bindMatrixInverse.copy(t.bindMatrixInverse),this.skeleton=t.skeleton,this}bind(t,e){this.skeleton=t,void 0===e&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),e=this.matrixWorld),this.bindMatrix.copy(e),this.bindMatrixInverse.copy(e).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const t=new Qn,e=this.geometry.attributes.skinWeight;for(let n=0,i=e.count;n<i;n++){t.fromBufferAttribute(e,n);const i=1/t.manhattanLength();i!==1/0?t.multiplyScalar(i):t.set(1,0,0,0),e.setXYZW(n,t.x,t.y,t.z,t.w)}}updateMatrixWorld(t){super.updateMatrixWorld(t),"attached"===this.bindMode?this.bindMatrixInverse.copy(this.matrixWorld).invert():"detached"===this.bindMode?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}boneTransform(t,e){const n=this.skeleton,i=this.geometry;Dl.fromBufferAttribute(i.attributes.skinIndex,t),kl.fromBufferAttribute(i.attributes.skinWeight,t),Il.copy(e).applyMatrix4(this.bindMatrix),e.set(0,0,0);for(let t=0;t<4;t++){const i=kl.getComponent(t);if(0!==i){const r=Dl.getComponent(t);Rl.multiplyMatrices(n.bones[r].matrixWorld,n.boneInverses[r]),e.addScaledVector(Ol.copy(Il).applyMatrix4(Rl),i)}}return e.applyMatrix4(this.bindMatrixInverse)}}class Nl extends lr{constructor(){super(),this.isBone=!0,this.type="Bone"}}class Yl extends Jn{constructor(t=null,e=1,n=1,i,r,a,s,o,l=dt,c=dt,u,d){super(null,a,s,o,l,c,i,r,u,d),this.isDataTexture=!0,this.image={data:t,width:e,height:n},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}const Fl=new Yi,Hl=new Yi;class jl{constructor(t=[],e=[]){this.uuid=yn(),this.bones=t.slice(0),this.boneInverses=e,this.boneMatrices=null,this.boneTexture=null,this.boneTextureSize=0,this.frame=-1,this.init()}init(){const t=this.bones,e=this.boneInverses;if(this.boneMatrices=new Float32Array(16*t.length),0===e.length)this.calculateInverses();else if(t.length!==e.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let t=0,e=this.bones.length;t<e;t++)this.boneInverses.push(new Yi)}}calculateInverses(){this.boneInverses.length=0;for(let t=0,e=this.bones.length;t<e;t++){const e=new Yi;this.bones[t]&&e.copy(this.bones[t].matrixWorld).invert(),this.boneInverses.push(e)}}pose(){for(let t=0,e=this.bones.length;t<e;t++){const e=this.bones[t];e&&e.matrixWorld.copy(this.boneInverses[t]).invert()}for(let t=0,e=this.bones.length;t<e;t++){const e=this.bones[t];e&&(e.parent&&e.parent.isBone?(e.matrix.copy(e.parent.matrixWorld).invert(),e.matrix.multiply(e.matrixWorld)):e.matrix.copy(e.matrixWorld),e.matrix.decompose(e.position,e.quaternion,e.scale))}}update(){const t=this.bones,e=this.boneInverses,n=this.boneMatrices,i=this.boneTexture;for(let i=0,r=t.length;i<r;i++){const r=t[i]?t[i].matrixWorld:Hl;Fl.multiplyMatrices(r,e[i]),Fl.toArray(n,16*i)}null!==i&&(i.needsUpdate=!0)}clone(){return new jl(this.bones,this.boneInverses)}computeBoneTexture(){let t=Math.sqrt(4*this.bones.length);t=Sn(t),t=Math.max(t,4);const e=new Float32Array(t*t*4);e.set(this.boneMatrices);const n=new Yl(e,t,t,Rt,Lt);return n.needsUpdate=!0,this.boneMatrices=e,this.boneTexture=n,this.boneTextureSize=t,this}getBoneByName(t){for(let e=0,n=this.bones.length;e<n;e++){const n=this.bones[e];if(n.name===t)return n}}dispose(){null!==this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(t,e){this.uuid=t.uuid;for(let n=0,i=t.bones.length;n<i;n++){const i=t.bones[n];let r=e[i];void 0===r&&(console.warn("THREE.Skeleton: No bone found with UUID:",i),r=new Nl),this.bones.push(r),this.boneInverses.push((new Yi).fromArray(t.boneInverses[n]))}return this.init(),this}toJSON(){const t={metadata:{version:4.5,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};t.uuid=this.uuid;const e=this.bones,n=this.boneInverses;for(let i=0,r=e.length;i<r;i++){const r=e[i];t.bones.push(r.uuid);const a=n[i];t.boneInverses.push(a.toArray())}return t}}class Bl extends Tr{constructor(t,e,n,i=1){super(t,e,n),this.isInstancedBufferAttribute=!0,this.meshPerAttribute=i}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}toJSON(){const t=super.toJSON();return t.meshPerAttribute=this.meshPerAttribute,t.isInstancedBufferAttribute=!0,t}}const zl=new Yi,Ul=new Yi,Vl=[],Wl=new oa;class Gl extends oa{constructor(t,e,n){super(t,e),this.isInstancedMesh=!0,this.instanceMatrix=new Bl(new Float32Array(16*n),16),this.instanceColor=null,this.count=n,this.frustumCulled=!1}copy(t,e){return super.copy(t,e),this.instanceMatrix.copy(t.instanceMatrix),null!==t.instanceColor&&(this.instanceColor=t.instanceColor.clone()),this.count=t.count,this}getColorAt(t,e){e.fromArray(this.instanceColor.array,3*t)}getMatrixAt(t,e){e.fromArray(this.instanceMatrix.array,16*t)}raycast(t,e){const n=this.matrixWorld,i=this.count;if(Wl.geometry=this.geometry,Wl.material=this.material,void 0!==Wl.material)for(let r=0;r<i;r++){this.getMatrixAt(r,zl),Ul.multiplyMatrices(n,zl),Wl.matrixWorld=Ul,Wl.raycast(t,Vl);for(let t=0,n=Vl.length;t<n;t++){const n=Vl[t];n.instanceId=r,n.object=this,e.push(n)}Vl.length=0}}setColorAt(t,e){null===this.instanceColor&&(this.instanceColor=new Bl(new Float32Array(3*this.instanceMatrix.count),3)),e.toArray(this.instanceColor.array,3*t)}setMatrixAt(t,e){e.toArray(this.instanceMatrix.array,16*t)}updateMorphTargets(){}dispose(){this.dispatchEvent({type:"dispose"})}}class ql extends xr{constructor(t){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new Wn(16777215),this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.linewidth=t.linewidth,this.linecap=t.linecap,this.linejoin=t.linejoin,this.fog=t.fog,this}}const Xl=new si,$l=new si,Kl=new Yi,Jl=new Ni,Ql=new Ei;class Zl extends lr{constructor(t=new Ur,e=new ql){super(),this.isLine=!0,this.type="Line",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),this.material=t.material,this.geometry=t.geometry,this}computeLineDistances(){const t=this.geometry;if(null===t.index){const e=t.attributes.position,n=[0];for(let t=1,i=e.count;t<i;t++)Xl.fromBufferAttribute(e,t-1),$l.fromBufferAttribute(e,t),n[t]=n[t-1],n[t]+=Xl.distanceTo($l);t.setAttribute("lineDistance",new Rr(n,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(t,e){const n=this.geometry,i=this.matrixWorld,r=t.params.Line.threshold,a=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),Ql.copy(n.boundingSphere),Ql.applyMatrix4(i),Ql.radius+=r,!1===t.ray.intersectsSphere(Ql))return;Kl.copy(i).invert(),Jl.copy(t.ray).applyMatrix4(Kl);const s=r/((this.scale.x+this.scale.y+this.scale.z)/3),o=s*s,l=new si,c=new si,u=new si,d=new si,h=this.isLineSegments?2:1,p=n.index,f=n.attributes.position;if(null!==p){for(let n=Math.max(0,a.start),i=Math.min(p.count,a.start+a.count)-1;n<i;n+=h){const i=p.getX(n),r=p.getX(n+1);l.fromBufferAttribute(f,i),c.fromBufferAttribute(f,r);if(Jl.distanceSqToSegment(l,c,d,u)>o)continue;d.applyMatrix4(this.matrixWorld);const a=t.ray.origin.distanceTo(d);a<t.near||a>t.far||e.push({distance:a,point:u.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}}else{for(let n=Math.max(0,a.start),i=Math.min(f.count,a.start+a.count)-1;n<i;n+=h){l.fromBufferAttribute(f,n),c.fromBufferAttribute(f,n+1);if(Jl.distanceSqToSegment(l,c,d,u)>o)continue;d.applyMatrix4(this.matrixWorld);const i=t.ray.origin.distanceTo(d);i<t.near||i>t.far||e.push({distance:i,point:u.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}}const tc=new si,ec=new si;class nc extends Zl{constructor(t,e){super(t,e),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const t=this.geometry;if(null===t.index){const e=t.attributes.position,n=[];for(let t=0,i=e.count;t<i;t+=2)tc.fromBufferAttribute(e,t),ec.fromBufferAttribute(e,t+1),n[t]=0===t?0:n[t-1],n[t+1]=n[t]+tc.distanceTo(ec);t.setAttribute("lineDistance",new Rr(n,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}class ic extends Zl{constructor(t,e){super(t,e),this.isLineLoop=!0,this.type="LineLoop"}}class rc extends xr{constructor(t){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new Wn(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.size=t.size,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}}const ac=new Yi,sc=new Ni,oc=new Ei,lc=new si;class cc extends lr{constructor(t=new Ur,e=new rc){super(),this.isPoints=!0,this.type="Points",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),this.material=t.material,this.geometry=t.geometry,this}raycast(t,e){const n=this.geometry,i=this.matrixWorld,r=t.params.Points.threshold,a=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),oc.copy(n.boundingSphere),oc.applyMatrix4(i),oc.radius+=r,!1===t.ray.intersectsSphere(oc))return;ac.copy(i).invert(),sc.copy(t.ray).applyMatrix4(ac);const s=r/((this.scale.x+this.scale.y+this.scale.z)/3),o=s*s,l=n.index,c=n.attributes.position;if(null!==l){for(let n=Math.max(0,a.start),r=Math.min(l.count,a.start+a.count);n<r;n++){const r=l.getX(n);lc.fromBufferAttribute(c,r),uc(lc,r,o,i,t,e,this)}}else{for(let n=Math.max(0,a.start),r=Math.min(c.count,a.start+a.count);n<r;n++)lc.fromBufferAttribute(c,n),uc(lc,n,o,i,t,e,this)}}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}}function uc(t,e,n,i,r,a,s){const o=sc.distanceSqToPoint(t);if(o<n){const n=new si;sc.closestPointToPoint(t,n),n.applyMatrix4(i);const l=r.ray.origin.distanceTo(n);if(l<r.near||l>r.far)return;a.push({distance:l,distanceToRay:Math.sqrt(o),point:n,index:e,face:null,object:s})}}class dc extends Jn{constructor(t,e,n,i,r,a,s,o,l){super(t,e,n,i,r,a,s,o,l),this.isVideoTexture=!0,this.minFilter=void 0!==a?a:gt,this.magFilter=void 0!==r?r:gt,this.generateMipmaps=!1;const c=this;"requestVideoFrameCallback"in t&&t.requestVideoFrameCallback((function e(){c.needsUpdate=!0,t.requestVideoFrameCallback(e)}))}clone(){return new this.constructor(this.image).copy(this)}update(){const t=this.image;!1==="requestVideoFrameCallback"in t&&t.readyState>=t.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}class hc extends Jn{constructor(t,e,n){super({width:t,height:e}),this.isFramebufferTexture=!0,this.format=n,this.magFilter=dt,this.minFilter=dt,this.generateMipmaps=!1,this.needsUpdate=!0}}class pc extends Jn{constructor(t,e,n,i,r,a,s,o,l,c,u,d){super(null,a,s,o,l,c,i,r,u,d),this.isCompressedTexture=!0,this.image={width:e,height:n},this.mipmaps=t,this.flipY=!1,this.generateMipmaps=!1}}class fc extends Jn{constructor(t,e,n,i,r,a,s,o,l){super(t,e,n,i,r,a,s,o,l),this.isCanvasTexture=!0,this.needsUpdate=!0}}class mc{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(t,e){const n=this.getUtoTmapping(t);return this.getPoint(n,e)}getPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return e}getSpacedPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPointAt(n/t));return e}getLength(){const t=this.getLengths();return t[t.length-1]}getLengths(t=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===t+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const e=[];let n,i=this.getPoint(0),r=0;e.push(0);for(let a=1;a<=t;a++)n=this.getPoint(a/t),r+=n.distanceTo(i),e.push(r),i=n;return this.cacheArcLengths=e,e}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(t,e){const n=this.getLengths();let i=0;const r=n.length;let a;a=e||t*n[r-1];let s,o=0,l=r-1;for(;o<=l;)if(i=Math.floor(o+(l-o)/2),s=n[i]-a,s<0)o=i+1;else{if(!(s>0)){l=i;break}l=i-1}if(i=l,n[i]===a)return i/(r-1);const c=n[i];return(i+(a-c)/(n[i+1]-c))/(r-1)}getTangent(t,e){let n=t-1e-4,i=t+1e-4;n<0&&(n=0),i>1&&(i=1);const r=this.getPoint(n),a=this.getPoint(i),s=e||(r.isVector2?new Cn:new si);return s.copy(a).sub(r).normalize(),s}getTangentAt(t,e){const n=this.getUtoTmapping(t);return this.getTangent(n,e)}computeFrenetFrames(t,e){const n=new si,i=[],r=[],a=[],s=new si,o=new Yi;for(let e=0;e<=t;e++){const n=e/t;i[e]=this.getTangentAt(n,new si)}r[0]=new si,a[0]=new si;let l=Number.MAX_VALUE;const c=Math.abs(i[0].x),u=Math.abs(i[0].y),d=Math.abs(i[0].z);c<=l&&(l=c,n.set(1,0,0)),u<=l&&(l=u,n.set(0,1,0)),d<=l&&n.set(0,0,1),s.crossVectors(i[0],n).normalize(),r[0].crossVectors(i[0],s),a[0].crossVectors(i[0],r[0]);for(let e=1;e<=t;e++){if(r[e]=r[e-1].clone(),a[e]=a[e-1].clone(),s.crossVectors(i[e-1],i[e]),s.length()>Number.EPSILON){s.normalize();const t=Math.acos(bn(i[e-1].dot(i[e]),-1,1));r[e].applyMatrix4(o.makeRotationAxis(s,t))}a[e].crossVectors(i[e],r[e])}if(!0===e){let e=Math.acos(bn(r[0].dot(r[t]),-1,1));e/=t,i[0].dot(s.crossVectors(r[0],r[t]))>0&&(e=-e);for(let n=1;n<=t;n++)r[n].applyMatrix4(o.makeRotationAxis(i[n],e*n)),a[n].crossVectors(i[n],r[n])}return{tangents:i,normals:r,binormals:a}}clone(){return(new this.constructor).copy(this)}copy(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}toJSON(){const t={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};return t.arcLengthDivisions=this.arcLengthDivisions,t.type=this.type,t}fromJSON(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}}class gc extends mc{constructor(t=0,e=0,n=1,i=1,r=0,a=2*Math.PI,s=!1,o=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=t,this.aY=e,this.xRadius=n,this.yRadius=i,this.aStartAngle=r,this.aEndAngle=a,this.aClockwise=s,this.aRotation=o}getPoint(t,e){const n=e||new Cn,i=2*Math.PI;let r=this.aEndAngle-this.aStartAngle;const a=Math.abs(r)<Number.EPSILON;for(;r<0;)r+=i;for(;r>i;)r-=i;r<Number.EPSILON&&(r=a?0:i),!0!==this.aClockwise||a||(r===i?r=-i:r-=i);const s=this.aStartAngle+t*r;let o=this.aX+this.xRadius*Math.cos(s),l=this.aY+this.yRadius*Math.sin(s);if(0!==this.aRotation){const t=Math.cos(this.aRotation),e=Math.sin(this.aRotation),n=o-this.aX,i=l-this.aY;o=n*t-i*e+this.aX,l=n*e+i*t+this.aY}return n.set(o,l)}copy(t){return super.copy(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}toJSON(){const t=super.toJSON();return t.aX=this.aX,t.aY=this.aY,t.xRadius=this.xRadius,t.yRadius=this.yRadius,t.aStartAngle=this.aStartAngle,t.aEndAngle=this.aEndAngle,t.aClockwise=this.aClockwise,t.aRotation=this.aRotation,t}fromJSON(t){return super.fromJSON(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}}class vc extends gc{constructor(t,e,n,i,r,a){super(t,e,n,n,i,r,a),this.isArcCurve=!0,this.type="ArcCurve"}}function _c(){let t=0,e=0,n=0,i=0;function r(r,a,s,o){t=r,e=s,n=-3*r+3*a-2*s-o,i=2*r-2*a+s+o}return{initCatmullRom:function(t,e,n,i,a){r(e,n,a*(n-t),a*(i-e))},initNonuniformCatmullRom:function(t,e,n,i,a,s,o){let l=(e-t)/a-(n-t)/(a+s)+(n-e)/s,c=(n-e)/s-(i-e)/(s+o)+(i-n)/o;l*=s,c*=s,r(e,n,l,c)},calc:function(r){const a=r*r;return t+e*r+n*a+i*(a*r)}}}const yc=new si,bc=new _c,xc=new _c,wc=new _c;class Mc extends mc{constructor(t=[],e=!1,n="centripetal",i=.5){super(),this.isCatmullRomCurve3=!0,this.type="CatmullRomCurve3",this.points=t,this.closed=e,this.curveType=n,this.tension=i}getPoint(t,e=new si){const n=e,i=this.points,r=i.length,a=(r-(this.closed?0:1))*t;let s,o,l=Math.floor(a),c=a-l;this.closed?l+=l>0?0:(Math.floor(Math.abs(l)/r)+1)*r:0===c&&l===r-1&&(l=r-2,c=1),this.closed||l>0?s=i[(l-1)%r]:(yc.subVectors(i[0],i[1]).add(i[0]),s=yc);const u=i[l%r],d=i[(l+1)%r];if(this.closed||l+2<r?o=i[(l+2)%r]:(yc.subVectors(i[r-1],i[r-2]).add(i[r-1]),o=yc),"centripetal"===this.curveType||"chordal"===this.curveType){const t="chordal"===this.curveType?.5:.25;let e=Math.pow(s.distanceToSquared(u),t),n=Math.pow(u.distanceToSquared(d),t),i=Math.pow(d.distanceToSquared(o),t);n<1e-4&&(n=1),e<1e-4&&(e=n),i<1e-4&&(i=n),bc.initNonuniformCatmullRom(s.x,u.x,d.x,o.x,e,n,i),xc.initNonuniformCatmullRom(s.y,u.y,d.y,o.y,e,n,i),wc.initNonuniformCatmullRom(s.z,u.z,d.z,o.z,e,n,i)}else"catmullrom"===this.curveType&&(bc.initCatmullRom(s.x,u.x,d.x,o.x,this.tension),xc.initCatmullRom(s.y,u.y,d.y,o.y,this.tension),wc.initCatmullRom(s.z,u.z,d.z,o.z,this.tension));return n.set(bc.calc(c),xc.calc(c),wc.calc(c)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(n.clone())}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}toJSON(){const t=super.toJSON();t.points=[];for(let e=0,n=this.points.length;e<n;e++){const n=this.points[e];t.points.push(n.toArray())}return t.closed=this.closed,t.curveType=this.curveType,t.tension=this.tension,t}fromJSON(t){super.fromJSON(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push((new si).fromArray(n))}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}}function Sc(t,e,n,i,r){const a=.5*(i-e),s=.5*(r-n),o=t*t;return(2*n-2*i+a+s)*(t*o)+(-3*n+3*i-2*a-s)*o+a*t+n}function Tc(t,e,n,i){return function(t,e){const n=1-t;return n*n*e}(t,e)+function(t,e){return 2*(1-t)*t*e}(t,n)+function(t,e){return t*t*e}(t,i)}function Ac(t,e,n,i,r){return function(t,e){const n=1-t;return n*n*n*e}(t,e)+function(t,e){const n=1-t;return 3*n*n*t*e}(t,n)+function(t,e){return 3*(1-t)*t*t*e}(t,i)+function(t,e){return t*t*t*e}(t,r)}class Lc extends mc{constructor(t=new Cn,e=new Cn,n=new Cn,i=new Cn){super(),this.isCubicBezierCurve=!0,this.type="CubicBezierCurve",this.v0=t,this.v1=e,this.v2=n,this.v3=i}getPoint(t,e=new Cn){const n=e,i=this.v0,r=this.v1,a=this.v2,s=this.v3;return n.set(Ac(t,i.x,r.x,a.x,s.x),Ac(t,i.y,r.y,a.y,s.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}class Ec extends mc{constructor(t=new si,e=new si,n=new si,i=new si){super(),this.isCubicBezierCurve3=!0,this.type="CubicBezierCurve3",this.v0=t,this.v1=e,this.v2=n,this.v3=i}getPoint(t,e=new si){const n=e,i=this.v0,r=this.v1,a=this.v2,s=this.v3;return n.set(Ac(t,i.x,r.x,a.x,s.x),Ac(t,i.y,r.y,a.y,s.y),Ac(t,i.z,r.z,a.z,s.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}class Cc extends mc{constructor(t=new Cn,e=new Cn){super(),this.isLineCurve=!0,this.type="LineCurve",this.v1=t,this.v2=e}getPoint(t,e=new Cn){const n=e;return 1===t?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,e){return this.getPoint(t,e)}getTangent(t,e){const n=e||new Cn;return n.copy(this.v2).sub(this.v1).normalize(),n}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class Ic extends mc{constructor(t=new si,e=new si){super(),this.isLineCurve3=!0,this.type="LineCurve3",this.v1=t,this.v2=e}getPoint(t,e=new si){const n=e;return 1===t?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,e){return this.getPoint(t,e)}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class Dc extends mc{constructor(t=new Cn,e=new Cn,n=new Cn){super(),this.isQuadraticBezierCurve=!0,this.type="QuadraticBezierCurve",this.v0=t,this.v1=e,this.v2=n}getPoint(t,e=new Cn){const n=e,i=this.v0,r=this.v1,a=this.v2;return n.set(Tc(t,i.x,r.x,a.x),Tc(t,i.y,r.y,a.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class kc extends mc{constructor(t=new si,e=new si,n=new si){super(),this.isQuadraticBezierCurve3=!0,this.type="QuadraticBezierCurve3",this.v0=t,this.v1=e,this.v2=n}getPoint(t,e=new si){const n=e,i=this.v0,r=this.v1,a=this.v2;return n.set(Tc(t,i.x,r.x,a.x),Tc(t,i.y,r.y,a.y),Tc(t,i.z,r.z,a.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class Oc extends mc{constructor(t=[]){super(),this.isSplineCurve=!0,this.type="SplineCurve",this.points=t}getPoint(t,e=new Cn){const n=e,i=this.points,r=(i.length-1)*t,a=Math.floor(r),s=r-a,o=i[0===a?a:a-1],l=i[a],c=i[a>i.length-2?i.length-1:a+1],u=i[a>i.length-3?i.length-1:a+2];return n.set(Sc(s,o.x,l.x,c.x,u.x),Sc(s,o.y,l.y,c.y,u.y)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(n.clone())}return this}toJSON(){const t=super.toJSON();t.points=[];for(let e=0,n=this.points.length;e<n;e++){const n=this.points[e];t.points.push(n.toArray())}return t}fromJSON(t){super.fromJSON(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push((new Cn).fromArray(n))}return this}}var Rc=Object.freeze({__proto__:null,ArcCurve:vc,CatmullRomCurve3:Mc,CubicBezierCurve:Lc,CubicBezierCurve3:Ec,EllipseCurve:gc,LineCurve:Cc,LineCurve3:Ic,QuadraticBezierCurve:Dc,QuadraticBezierCurve3:kc,SplineCurve:Oc});class Pc extends mc{constructor(){super(),this.type="CurvePath",this.curves=[],this.autoClose=!1}add(t){this.curves.push(t)}closePath(){const t=this.curves[0].getPoint(0),e=this.curves[this.curves.length-1].getPoint(1);t.equals(e)||this.curves.push(new Cc(e,t))}getPoint(t,e){const n=t*this.getLength(),i=this.getCurveLengths();let r=0;for(;r<i.length;){if(i[r]>=n){const t=i[r]-n,a=this.curves[r],s=a.getLength(),o=0===s?0:1-t/s;return a.getPointAt(o,e)}r++}return null}getLength(){const t=this.getCurveLengths();return t[t.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const t=[];let e=0;for(let n=0,i=this.curves.length;n<i;n++)e+=this.curves[n].getLength(),t.push(e);return this.cacheLengths=t,t}getSpacedPoints(t=40){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return this.autoClose&&e.push(e[0]),e}getPoints(t=12){const e=[];let n;for(let i=0,r=this.curves;i<r.length;i++){const a=r[i],s=a.isEllipseCurve?2*t:a.isLineCurve||a.isLineCurve3?1:a.isSplineCurve?t*a.points.length:t,o=a.getPoints(s);for(let t=0;t<o.length;t++){const i=o[t];n&&n.equals(i)||(e.push(i),n=i)}}return this.autoClose&&e.length>1&&!e[e.length-1].equals(e[0])&&e.push(e[0]),e}copy(t){super.copy(t),this.curves=[];for(let e=0,n=t.curves.length;e<n;e++){const n=t.curves[e];this.curves.push(n.clone())}return this.autoClose=t.autoClose,this}toJSON(){const t=super.toJSON();t.autoClose=this.autoClose,t.curves=[];for(let e=0,n=this.curves.length;e<n;e++){const n=this.curves[e];t.curves.push(n.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.autoClose=t.autoClose,this.curves=[];for(let e=0,n=t.curves.length;e<n;e++){const n=t.curves[e];this.curves.push((new Rc[n.type]).fromJSON(n))}return this}}class Nc extends Pc{constructor(t){super(),this.type="Path",this.currentPoint=new Cn,t&&this.setFromPoints(t)}setFromPoints(t){this.moveTo(t[0].x,t[0].y);for(let e=1,n=t.length;e<n;e++)this.lineTo(t[e].x,t[e].y);return this}moveTo(t,e){return this.currentPoint.set(t,e),this}lineTo(t,e){const n=new Cc(this.currentPoint.clone(),new Cn(t,e));return this.curves.push(n),this.currentPoint.set(t,e),this}quadraticCurveTo(t,e,n,i){const r=new Dc(this.currentPoint.clone(),new Cn(t,e),new Cn(n,i));return this.curves.push(r),this.currentPoint.set(n,i),this}bezierCurveTo(t,e,n,i,r,a){const s=new Lc(this.currentPoint.clone(),new Cn(t,e),new Cn(n,i),new Cn(r,a));return this.curves.push(s),this.currentPoint.set(r,a),this}splineThru(t){const e=[this.currentPoint.clone()].concat(t),n=new Oc(e);return this.curves.push(n),this.currentPoint.copy(t[t.length-1]),this}arc(t,e,n,i,r,a){const s=this.currentPoint.x,o=this.currentPoint.y;return this.absarc(t+s,e+o,n,i,r,a),this}absarc(t,e,n,i,r,a){return this.absellipse(t,e,n,n,i,r,a),this}ellipse(t,e,n,i,r,a,s,o){const l=this.currentPoint.x,c=this.currentPoint.y;return this.absellipse(t+l,e+c,n,i,r,a,s,o),this}absellipse(t,e,n,i,r,a,s,o){const l=new gc(t,e,n,i,r,a,s,o);if(this.curves.length>0){const t=l.getPoint(0);t.equals(this.currentPoint)||this.lineTo(t.x,t.y)}this.curves.push(l);const c=l.getPoint(1);return this.currentPoint.copy(c),this}copy(t){return super.copy(t),this.currentPoint.copy(t.currentPoint),this}toJSON(){const t=super.toJSON();return t.currentPoint=this.currentPoint.toArray(),t}fromJSON(t){return super.fromJSON(t),this.currentPoint.fromArray(t.currentPoint),this}}class Yc extends Ur{constructor(t=[new Cn(0,-.5),new Cn(.5,0),new Cn(0,.5)],e=12,n=0,i=2*Math.PI){super(),this.type="LatheGeometry",this.parameters={points:t,segments:e,phiStart:n,phiLength:i},e=Math.floor(e),i=bn(i,0,2*Math.PI);const r=[],a=[],s=[],o=[],l=[],c=1/e,u=new si,d=new Cn,h=new si,p=new si,f=new si;let m=0,g=0;for(let e=0;e<=t.length-1;e++)switch(e){case 0:m=t[e+1].x-t[e].x,g=t[e+1].y-t[e].y,h.x=1*g,h.y=-m,h.z=0*g,f.copy(h),h.normalize(),o.push(h.x,h.y,h.z);break;case t.length-1:o.push(f.x,f.y,f.z);break;default:m=t[e+1].x-t[e].x,g=t[e+1].y-t[e].y,h.x=1*g,h.y=-m,h.z=0*g,p.copy(h),h.x+=f.x,h.y+=f.y,h.z+=f.z,h.normalize(),o.push(h.x,h.y,h.z),f.copy(p)}for(let r=0;r<=e;r++){const h=n+r*c*i,p=Math.sin(h),f=Math.cos(h);for(let n=0;n<=t.length-1;n++){u.x=t[n].x*p,u.y=t[n].y,u.z=t[n].x*f,a.push(u.x,u.y,u.z),d.x=r/e,d.y=n/(t.length-1),s.push(d.x,d.y);const i=o[3*n+0]*p,c=o[3*n+1],h=o[3*n+0]*f;l.push(i,c,h)}}for(let n=0;n<e;n++)for(let e=0;e<t.length-1;e++){const i=e+n*t.length,a=i,s=i+t.length,o=i+t.length+1,l=i+1;r.push(a,s,l),r.push(o,l,s)}this.setIndex(r),this.setAttribute("position",new Rr(a,3)),this.setAttribute("uv",new Rr(s,2)),this.setAttribute("normal",new Rr(l,3))}static fromJSON(t){return new Yc(t.points,t.segments,t.phiStart,t.phiLength)}}class Fc extends Yc{constructor(t=1,e=1,n=4,i=8){const r=new Nc;r.absarc(0,-e/2,t,1.5*Math.PI,0),r.absarc(0,e/2,t,0,.5*Math.PI),super(r.getPoints(n),i),this.type="CapsuleGeometry",this.parameters={radius:t,height:e,capSegments:n,radialSegments:i}}static fromJSON(t){return new Fc(t.radius,t.length,t.capSegments,t.radialSegments)}}class Hc extends Ur{constructor(t=1,e=8,n=0,i=2*Math.PI){super(),this.type="CircleGeometry",this.parameters={radius:t,segments:e,thetaStart:n,thetaLength:i},e=Math.max(3,e);const r=[],a=[],s=[],o=[],l=new si,c=new Cn;a.push(0,0,0),s.push(0,0,1),o.push(.5,.5);for(let r=0,u=3;r<=e;r++,u+=3){const d=n+r/e*i;l.x=t*Math.cos(d),l.y=t*Math.sin(d),a.push(l.x,l.y,l.z),s.push(0,0,1),c.x=(a[u]/t+1)/2,c.y=(a[u+1]/t+1)/2,o.push(c.x,c.y)}for(let t=1;t<=e;t++)r.push(t,t+1,0);this.setIndex(r),this.setAttribute("position",new Rr(a,3)),this.setAttribute("normal",new Rr(s,3)),this.setAttribute("uv",new Rr(o,2))}static fromJSON(t){return new Hc(t.radius,t.segments,t.thetaStart,t.thetaLength)}}class jc extends Ur{constructor(t=1,e=1,n=1,i=8,r=1,a=!1,s=0,o=2*Math.PI){super(),this.type="CylinderGeometry",this.parameters={radiu
vendor: 1,535 bytes, line 415
415sTop:t,radiusBottom:e,height:n,radialSegments:i,heightSegments:r,openEnded:a,thetaStart:s,thetaLength:o};const l=this;i=Math.floor(i),r=Math.floor(r);const c=[],u=[],d=[],h=[];let p=0;const f=[],m=n/2;let g=0;function v(n){const r=p,a=new Cn,f=new si;let v=0;const _=!0===n?t:e,y=!0===n?1:-1;for(let t=1;t<=i;t++)u.push(0,m*y,0),d.push(0,y,0),h.push(.5,.5),p++;const b=p;for(let t=0;t<=i;t++){const e=t/i*o+s,n=Math.cos(e),r=Math.sin(e);f.x=_*r,f.y=m*y,f.z=_*n,u.push(f.x,f.y,f.z),d.push(0,y,0),a.x=.5*n+.5,a.y=.5*r*y+.5,h.push(a.x,a.y),p++}for(let t=0;t<i;t++){const e=r+t,i=b+t;!0===n?c.push(i,i+1,e):c.push(i+1,i,e),v+=3}l.addGroup(g,v,!0===n?1:2),g+=v}!function(){const a=new si,v=new si;let _=0;const y=(e-t)/n;for(let l=0;l<=r;l++){const c=[],g=l/r,_=g*(e-t)+t;for(let t=0;t<=i;t++){const e=t/i,r=e*o+s,l=Math.sin(r),f=Math.cos(r);v.x=_*l,v.y=-g*n+m,v.z=_*f,u.push(v.x,v.y,v.z),a.set(l,y,f).normalize(),d.push(a.x,a.y,a.z),h.push(e,1-g),c.push(p++)}f.push(c)}for(let t=0;t<i;t++)for(let e=0;e<r;e++){const n=f[e][t],i=f[e+1][t],r=f[e+1][t+1],a=f[e][t+1];c.push(n,i,a),c.push(i,r,a),_+=6}l.addGroup(g,_,0),g+=_}(),!1===a&&(t>0&&v(!0),e>0&&v(!1)),this.setIndex(c),this.setAttribute("position",new Rr(u,3)),this.setAttribute("normal",new Rr(d,3)),this.setAttribute("uv",new Rr(h,2))}static fromJSON(t){return new jc(t.radiusTop,t.radiusBottom,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}class Bc extends jc{constructor(t=1,e=1,n=8,i=1,r=!1,a=0,s=2*Math.PI){super(0,t,e,n,i,r,a,s),this.type="C
415oneGeometry",this.parameters={radius:t,height:e,radialSegments:n,heightSegments:i,openEnded:r,thetaStart:a,thetaLength:s}}static fromJSON(t){return new Bc(t.radius,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}class zc extends Ur{constructor(t=[],e=[],n=1,i=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:t,indices:e,radius:n,detail:i};const r=[],a=[];function s(t,e,n,i){const r=i+1,a=[];for(let i=0;i<=r;i++){a[i]=[];const s=t.clone().lerp(n,i/r),o=e.clone().lerp(n,i/r),l=r-i;for(let t=0;t<=l;t++)a[i][t]=0===t&&i===r?s:s.clone().lerp(o,t/l)}for(let t=0;t<r;t++)for(let e=0;e<2*(r-t)-1;e++){const n=Math.floor(e/2);e%2==0?(o(a[t][n+1]),o(a[t+1][n]),o(a[t][n])):(o(a[t][n+1]),o(a[t+1][n+1]),o(a[t+1][n]))}}function o(t){r.push(t.x,t.y,t.z)}function l(e,n){const i=3*e;n.x=t[i+0],n.y=t[i+1],n.z=t[i+2]}function c(t,e,n,i){i<0&&1===t.x&&(a[e]=t.x-1),0===n.x&&0===n.z&&(a[e]=i/2/Math.PI+.5)}function u(t){return Math.atan2(t.z,-t.x)}!function(t){const n=new si,i=new si,r=new si;for(let a=0;a<e.length;a+=3)l(e[a+0],n),l(e[a+1],i),l(e[a+2],r),s(n,i,r,t)}(i),function(t){const e=new si;for(let n=0;n<r.length;n+=3)e.x=r[n+0],e.y=r[n+1],e.z=r[n+2],e.normalize().multiplyScalar(t),r[n+0]=e.x,r[n+1]=e.y,r[n+2]=e.z}(n),function(){const t=new si;for(let n=0;n<r.length;n+=3){t.x=r[n+0],t.y=r[n+1],t.z=r[n+2];const i=u(t)/2/Math.PI+.5,s=(e=t,Math.atan2(-e.y,Math.sqrt(e.x*e.x+e.z*e.z))/Math.PI+.5);a.push(i,1-s)}var e;(function(){const t=new si,e=new si,n=new si,i=new si,s=new Cn,o=new Cn,l=new Cn;for(let d=0,h=0;d<r.length;d+=9,h+=6){t.set(r[d+0],r[d+1],r[d+2]),e.set(r[d+3],r[d+4],r[d+5]),n.set(r[d+6],r[d+7],r[d+8]),s.set(a[h+0],a[h+1]),o.set(a[h+2],a[h+3]),l.set(a[h+4],a[h+5]),i.copy(t).add(e).add(n).divideScalar(3);const p=u(i);c(s,h+0,t,p),c(o,h+2,e,p),c(l,h+4,n,p)}})(),function(){for(let t=0;t<a.length;t+=6){const e=a[t+0],n=a[t+2],i=a[t+4],r=Math.max(e,n,i),s=Math.min(e,n,i);r>.9&&s<.1&&(e<.2&&(a[t+0]+=1),n<.2&&(a[t+2]+=1),i<.2&&(a[t+4]+=1))}}()}(),this.setAttribute("position",new Rr(r,3)),this.setAttribute("normal",new Rr(r.slice(),3)),this.setAttribute("uv",new Rr(a,2)),0===i?this.computeVertexNormals():this.normalizeNormals()}static fromJSON(t){return new zc(t.vertices,t.indices,t.radius,t.details)}}class Uc extends zc{constructor(t=1,e=0){const n=(1+Math.sqrt(5))/2,i=1/n;super([-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-i,-n,0,-i,n,0,i,-n,0,i,n,-i,-n,0,-i,n,0,i,-n,0,i,n,0,-n,0,-i,n,0,-i,-n,0,i,n,0,i],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,
vendor: 14,398 bytes, line 415
41519,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],t,e),this.type="DodecahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new Uc(t.radius,t.detail)}}const Vc=new si,Wc=new si,Gc=new si,qc=new yr;class Xc extends Ur{constructor(t=null,e=1){if(super(),this.type="EdgesGeometry",this.parameters={geometry:t,thresholdAngle:e},null!==t){const n=4,i=Math.pow(10,n),r=Math.cos(vn*e),a=t.getIndex(),s=t.getAttribute("position"),o=a?a.count:s.count,l=[0,0,0],c=["a","b","c"],u=new Array(3),d={},h=[];for(let t=0;t<o;t+=3){a?(l[0]=a.getX(t),l[1]=a.getX(t+1),l[2]=a.getX(t+2)):(l[0]=t,l[1]=t+1,l[2]=t+2);const{a:e,b:n,c:o}=qc;if(e.fromBufferAttribute(s,l[0]),n.fromBufferAttribute(s,l[1]),o.fromBufferAttribute(s,l[2]),qc.getNormal(Gc),u[0]=`${Math.round(e.x*i)},${Math.round(e.y*i)},${Math.round(e.z*i)}`,u[1]=`${Math.round(n.x*i)},${Math.round(n.y*i)},${Math.round(n.z*i)}`,u[2]=`${Math.round(o.x*i)},${Math.round(o.y*i)},${Math.round(o.z*i)}`,u[0]!==u[1]&&u[1]!==u[2]&&u[2]!==u[0])for(let t=0;t<3;t++){const e=(t+1)%3,n=u[t],i=u[e],a=qc[c[t]],s=qc[c[e]],o=`${n}_${i}`,p=`${i}_${n}`;p in d&&d[p]?(Gc.dot(d[p].normal)<=r&&(h.push(a.x,a.y,a.z),h.push(s.x,s.y,s.z)),d[p]=null):o in d||(d[o]={index0:l[t],index1:l[e],normal:Gc.clone()})}}for(const t in d)if(d[t]){const{index0:e,index1:n}=d[t];Vc.fromBufferAttribute(s,e),Wc.fromBufferAttribute(s,n),h.push(Vc.x,Vc.y,Vc.z),h.push(Wc.x,Wc.y,Wc.z)}this.setAttribute("position",new Rr(h,3))}}}class $c extends Nc{constructor(t){super(t),this.uuid=yn(),this.type="Shape",this.holes=[]}getPointsHoles(t){const e=[];for(let n=0,i=this.holes.length;n<i;n++)e[n]=this.holes[n].getPoints(t);return e}extractPoints(t){return{shape:this.getPoints(t),holes:this.getPointsHoles(t)}}copy(t){super.copy(t),this.holes=[];for(let e=0,n=t.holes.length;e<n;e++){const n=t.holes[e];this.holes.push(n.clone())}return this}toJSON(){const t=super.toJSON();t.uuid=this.uuid,t.holes=[];for(let e=0,n=this.holes.length;e<n;e++){const n=this.holes[e];t.holes.push(n.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.uuid=t.uuid,this.holes=[];for(let e=0,n=t.holes.length;e<n;e++){const n=t.holes[e];this.holes.push((new Nc).fromJSON(n))}return this}}const Kc=function(t,e,n=2){const i=e&&e.length,r=i?e[0]*n:t.length;let a=Jc(t,0,r,n,!0);const s=[];if(!a||a.next===a.prev)return s;let o,l,c,u,d,h,p;if(i&&(a=function(t,e,n,i){const r=[];let a,s,o,l,c;for(a=0,s=e.length;a<s;a++)o=e[a]*i,l=a<s-1?e[a+1]*i:t.length,c=Jc(t,o,l,i,!1),c===c.next&&(c.steiner=!0),r.push(lu(c));for(r.sort(ru),a=0;a<r.length;a++)au(r[a],n),n=Qc(n,n.next);return n}(t,e,a,n)),t.length>80*n){o=c=t[0],l=u=t[1];for(let e=n;e<r;e+=n)d=t[e],h=t[e+1],d<o&&(o=d),h<l&&(l=h),d>c&&(c=d),h>u&&(u=h);p=Math.max(c-o,u-l),p=0!==p?1/p:0}return Zc(a,s,n,o,l,p),s};function Jc(t,e,n,i,r){let a,s;if(r===function(t,e,n,i){let r=0;for(let a=e,s=n-i;a<n;a+=i)r+=(t[s]-t[a])*(t[a+1]+t[s+1]),s=a;return r}(t,e,n,i)>0)for(a=e;a<n;a+=i)s=_u(a,t[a],t[a+1],s);else for(a=n-i;a>=e;a-=i)s=_u(a,t[a],t[a+1],s);return s&&hu(s,s.next)&&(yu(s),s=s.next),s}function Qc(t,e){if(!t)return t;e||(e=t);let n,i=t;do{if(n=!1,i.steiner||!hu(i,i.next)&&0!==du(i.prev,i,i.next))i=i.next;else{if(yu(i),i=e=i.prev,i===i.next)break;n=!0}}while(n||i!==e);return e}function Zc(t,e,n,i,r,a,s){if(!t)return;!s&&a&&function(t,e,n,i){let r=t;do{null===r.z&&(r.z=ou(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){let e,n,i,r,a,s,o,l,c=1;do{for(n=t,t=null,a=null,s=0;n;){for(s++,i=n,o=0,e=0;e<c&&(o++,i=i.nextZ,i);e++);for(l=c;o>0||l>0&&i;)0!==o&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,o--):(r=i,i=i.nextZ,l--),a?a.nextZ=r:t=r,r.prevZ=a,a=r;n=i}a.nextZ=null,c*=2}while(s>1)}(r)}(t,i,r,a);let o,l,c=t;for(;t.prev!==t.next;)if(o=t.prev,l=t.next,a?eu(t,i,r,a):tu(t))e.push(o.i/n),e.push(t.i/n),e.push(l.i/n),yu(t),t=l.next,c=l.next;else if((t=l)===c){s?1===s?Zc(t=nu(Qc(t),e,n),e,n,i,r,a,2):2===s&&iu(t,e,n,i,r,a):Zc(Qc(t),e,n,i,r,a,1);break}}function tu(t){const e=t.prev,n=t,i=t.next;if(du(e,n,i)>=0)return!1;let r=t.next.next;for(;r!==t.prev;){if(cu(e.x,e.y,n.x,n.y,i.x,i.y,r.x,r.y)&&du(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function eu(t,e,n,i){const r=t.prev,a=t,s=t.next;if(du(r,a,s)>=0)return!1;const o=r.x<a.x?r.x<s.x?r.x:s.x:a.x<s.x?a.x:s.x,l=r.y<a.y?r.y<s.y?r.y:s.y:a.y<s.y?a.y:s.y,c=r.x>a.x?r.x>s.x?r.x:s.x:a.x>s.x?a.x:s.x,u=r.y>a.y?r.y>s.y?r.y:s.y:a.y>s.y?a.y:s.y,d=ou(o,l,e,n,i),h=ou(c,u,e,n,i);let p=t.prevZ,f=t.nextZ;for(;p&&p.z>=d&&f&&f.z<=h;){if(p!==t.prev&&p!==t.next&&cu(r.x,r.y,a.x,a.y,s.x,s.y,p.x,p.y)&&du(p.prev,p,p.next)>=0)return!1;if(p=p.prevZ,f!==t.prev&&f!==t.next&&cu(r.x,r.y,a.x,a.y,s.x,s.y,f.x,f.y)&&du(f.prev,f,f.next)>=0)return!1;f=f.nextZ}for(;p&&p.z>=d;){if(p!==t.prev&&p!==t.next&&cu(r.x,r.y,a.x,a.y,s.x,s.y,p.x,p.y)&&du(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;f&&f.z<=h;){if(f!==t.prev&&f!==t.next&&cu(r.x,r.y,a.x,a.y,s.x,s.y,f.x,f.y)&&du(f.prev,f,f.next)>=0)return!1;f=f.nextZ}return!0}function nu(t,e,n){let i=t;do{const r=i.prev,a=i.next.next;!hu(r,a)&&pu(r,i,i.next,a)&&gu(r,a)&&gu(a,r)&&(e.push(r.i/n),e.push(i.i/n),e.push(a.i/n),yu(i),yu(i.next),i=t=a),i=i.next}while(i!==t);return Qc(i)}function iu(t,e,n,i,r,a){let s=t;do{let t=s.next.next;for(;t!==s.prev;){if(s.i!==t.i&&uu(s,t)){let o=vu(s,t);return s=Qc(s,s.next),o=Qc(o,o.next),Zc(s,e,n,i,r,a),void Zc(o,e,n,i,r,a)}t=t.next}s=s.next}while(s!==t)}function ru(t,e){return t.x-e.x}function au(t,e){if(e=function(t,e){let n=e;const i=t.x,r=t.y;let a,s=-1/0;do{if(r<=n.y&&r>=n.next.y&&n.next.y!==n.y){const t=n.x+(r-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(t<=i&&t>s){if(s=t,t===i){if(r===n.y)return n;if(r===n.next.y)return n.next}a=n.x<n.next.x?n:n.next}}n=n.next}while(n!==e);if(!a)return null;if(i===s)return a;const o=a,l=a.x,c=a.y;let u,d=1/0;n=a;do{i>=n.x&&n.x>=l&&i!==n.x&&cu(r<c?i:s,r,l,c,r<c?s:i,r,n.x,n.y)&&(u=Math.abs(r-n.y)/(i-n.x),gu(n,t)&&(u<d||u===d&&(n.x>a.x||n.x===a.x&&su(a,n)))&&(a=n,d=u)),n=n.next}while(n!==o);return a}(t,e)){const n=vu(e,t);Qc(e,e.next),Qc(n,n.next)}}function su(t,e){return du(t.prev,t,e.prev)<0&&du(e.next,t,t.next)<0}function ou(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function lu(t){let e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function cu(t,e,n,i,r,a,s,o){return(r-s)*(e-o)-(t-s)*(a-o)>=0&&(t-s)*(i-o)-(n-s)*(e-o)>=0&&(n-s)*(a-o)-(r-s)*(i-o)>=0}function uu(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){let n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&pu(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(gu(t,e)&&gu(e,t)&&function(t,e){let n=t,i=!1;const r=(t.x+e.x)/2,a=(t.y+e.y)/2;do{n.y>a!=n.next.y>a&&n.next.y!==n.y&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)&&(du(t.prev,t,e.prev)||du(t,e.prev,e))||hu(t,e)&&du(t.prev,t,t.next)>0&&du(e.prev,e,e.next)>0)}function du(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function hu(t,e){return t.x===e.x&&t.y===e.y}function pu(t,e,n,i){const r=mu(du(t,e,n)),a=mu(du(t,e,i)),s=mu(du(n,i,t)),o=mu(du(n,i,e));return r!==a&&s!==o||(!(0!==r||!fu(t,n,e))||(!(0!==a||!fu(t,i,e))||(!(0!==s||!fu(n,t,i))||!(0!==o||!fu(n,e,i)))))}function fu(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function mu(t){return t>0?1:t<0?-1:0}function gu(t,e){return du(t.prev,t,t.next)<0?du(t,e,t.next)>=0&&du(t,t.prev,e)>=0:du(t,e,t.prev)<0||du(t,t.next,e)<0}function vu(t,e){const n=new bu(t.i,t.x,t.y),i=new bu(e.i,e.x,e.y),r=t.next,a=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function _u(t,e,n,i){const r=new bu(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function yu(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function bu(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}class xu{static area(t){const e=t.length;let n=0;for(let i=e-1,r=0;r<e;i=r++)n+=t[i].x*t[r].y-t[r].x*t[i].y;return.5*n}static isClockWise(t){return xu.area(t)<0}static triangulateShape(t,e){const n=[],i=[],r=[];wu(t),Mu(n,t);let a=t.length;e.forEach(wu);for(let t=0;t<e.length;t++)i.push(a),a+=e[t].length,Mu(n,e[t]);const s=Kc(n,i);for(let t=0;t<s.length;t+=3)r.push(s.slice(t,t+3));return r}}function wu(t){const e=t.length;e>2&&t[e-1].equals(t[0])&&t.pop()}function Mu(t,e){for(let n=0;n<e.length;n++)t.push(e[n].x),t.push(e[n].y)}class Su extends Ur{constructor(t=new $c([new Cn(.5,.5),new Cn(-.5,.5),new Cn(-.5,-.5),new Cn(.5,-.5)]),e={}){super(),this.type="ExtrudeGeometry",this.parameters={shapes:t,options:e},t=Array.isArray(t)?t:[t];const n=this,i=[],r=[];for(let e=0,n=t.length;e<n;e++){a(t[e])}function a(t){const a=[],s=void 0!==e.curveSegments?e.curveSegments:12,o=void 0!==e.steps?e.steps:1,l=void 0!==e.depth?e.depth:1;let c=void 0===e.bevelEnabled||e.bevelEnabled,u=void 0!==e.bevelThickness?e.bevelThickness:.2,d=void 0!==e.bevelSize?e.bevelSize:u-.1,h=void 0!==e.bevelOffset?e.bevelOffset:0,p=void 0!==e.bevelSegments?e.bevelSegments:3;const f=e.extrudePath,m=void 0!==e.UVGenerator?e.UVGenerator:Tu;let g,v,_,y,b,x=!1;f&&(g=f.getSpacedPoints(o),x=!0,c=!1,v=f.computeFrenetFrames(o,!1),_=new si,y=new si,b=new si),c||(p=0,u=0,d=0,h=0);const w=t.extractPoints(s);let M=w.shape;const S=w.holes;if(!xu.isClockWise(M)){M=M.reverse();for(let t=0,e=S.length;t<e;t++){const e=S[t];xu.isClockWise(e)&&(S[t]=e.reverse())}}const T=xu.triangulateShape(M,S),A=M;for(let t=0,e=S.length;t<e;t++){const e=S[t];M=M.concat(e)}function L(t,e,n){return e||console.error("THREE.ExtrudeGeometry: vec does not exist"),e.clone().multiplyScalar(n).add(t)}const E=M.length,C=T.length;function I(t,e,n){let i,r,a;const s=t.x-e.x,o=t.y-e.y,l=n.x-t.x,c=n.y-t.y,u=s*s+o*o,d=s*c-o*l;if(Math.abs(d)>Number.EPSILON){const d=Math.sqrt(u),h=Math.sqrt(l*l+c*c),p=e.x-o/d,f=e.y+s/d,m=((n.x-c/h-p)*c-(n.y+l/h-f)*l)/(s*c-o*l);i=p+s*m-t.x,r=f+o*m-t.y;const g=i*i+r*r;if(g<=2)return new Cn(i,r);a=Math.sqrt(g/2)}else{let t=!1;s>Number.EPSILON?l>Number.EPSILON&&(t=!0):s<-Number.EPSILON?l<-Number.EPSILON&&(t=!0):Math.sign(o)===Math.sign(c)&&(t=!0),t?(i=-o,r=s,a=Math.sqrt(u)):(i=s,r=o,a=Math.sqrt(u/2))}return new Cn(i/a,r/a)}const D=[];for(let t=0,e=A.length,n=e-1,i=t+1;t<e;t++,n++,i++)n===e&&(n=0),i===e&&(i=0),D[t]=I(A[t],A[n],A[i]);const k=[];let O,R=D.concat();for(let t=0,e=S.length;t<e;t++){const e=S[t];O=[];for(let t=0,n=e.length,i=n-1,r=t+1;t<n;t++,i++,r++)i===n&&(i=0),r===n&&(r=0),O[t]=I(e[t],e[i],e[r]);k.push(O),R=R.concat(O)}for(let t=0;t<p;t++){const e=t/p,n=u*Math.cos(e*Math.PI/2),i=d*Math.sin(e*Math.PI/2)+h;for(let t=0,e=A.length;t<e;t++){const e=L(A[t],D[t],i);Y(e.x,e.y,-n)}for(let t=0,e=S.length;t<e;t++){const e=S[t];O=k[t];for(let t=0,r=e.length;t<r;t++){const r=L(e[t],O[t],i);Y(r.x,r.y,-n)}}}const P=d+h;for(let t=0;t<E;t++){const e=c?L(M[t],R[t],P):M[t];x?(y.copy(v.normals[0]).multiplyScalar(e.x),_.copy(v.binormals[0]).multiplyScalar(e.y),b.copy(g[0]).add(y).add(_),Y(b.x,b.y,b.z)):Y(e.x,e.y,0)}for(let t=1;t<=o;t++)for(let e=0;e<E;e++){const n=c?L(M[e],R[e],P):M[e];x?(y.copy(v.normals[t]).multiplyScalar(n.x),_.copy(v.binormals[t]).multiplyScalar(n.y),b.copy(g[t]).add(y).add(_),Y(b.x,b.y,b.z)):Y(n.x,n.y,l/o*t)}for(let t=p-1;t>=0;t--){const e=t/p,n=u*Math.cos(e*Math.PI/2),i=d*Math.sin(e*Math.PI/2)+h;for(let t=0,e=A.length;t<e;t++){const e=L(A[t],D[t],i);Y(e.x,e.y,l+n)}for(let t=0,e=S.length;t<e;t++){const e=S[t];O=k[t];for(let t=0,r=e.length;t<r;t++){const r=L(e[t],O[t],i);x?Y(r.x,r.y+g[o-1].y,g[o-1].x+n):Y(r.x,r.y,l+n)}}}function N(t,e){let n=t.length;for(;--n>=0;){const i=n;let r=n-1;r<0&&(r=t.length-1);for(let t=0,n=o+2*p;t<n;t++){const n=E*t,a=E*(t+1);H(e+i+n,e+r+n,e+r+a,e+i+a)}}}function Y(t,e,n){a.push(t),a.push(e),a.push(n)}function F(t,e,r){j(t),j(e),j(r);const a=i.length/3,s=m.generateTopUV(n,i,a-3,a-2,a-1);B(s[0]),B(s[1]),B(s[2])}function H(t,e,r,a){j(t),j(e),j(a),j(e),j(r),j(a);const s=i.length/3,o=m.generateSideWallUV(n,i,s-6,s-3,s-2,s-1);B(o[0]),B(o[1]),B(o[3]),B(o[1]),B(o[2]),B(o[3])}function j(t){i.push(a[3*t+0]),i.push(a[3*t+1]),i.push(a[3*t+2])}function B(t){r.push(t.x),r.push(t.y)}!function(){const t=i.length/3;if(c){let t=0,e=E*t;for(let t=0;t<C;t++){const n=T[t];F(n[2]+e,n[1]+e,n[0]+e)}t=o+2*p,e=E*t;for(let t=0;t<C;t++){const n=T[t];F(n[0]+e,n[1]+e,n[2]+e)}}else{for(let t=0;t<C;t++){const e=T[t];F(e[2],e[1],e[0])}for(let t=0;t<C;t++){const e=T[t];F(e[0]+E*o,e[1]+E*o,e[2]+E*o)}}n.addGroup(t,i.length/3-t,0)}(),function(){const t=i.length/3;let e=0;N(A,e),e+=A.length;for(let t=0,n=S.length;t<n;t++){const n=S[t];N(n,e),e+=n.length}n.addGroup(t,i.length/3-t,1)}()}this.setAttribute("position",new Rr(i,3)),this.setAttribute("uv",new Rr(r,2)),this.computeVertexNormals()}toJSON(){const t=super.toJSON();return function(t,e,n){if(n.shapes=[],Array.isArray(t))for(let e=0,i=t.length;e<i;e++){const i=t[e];n.shapes.push(i.uuid)}else n.shapes.push(t.uuid);n.options=Object.assign({},e),void 0!==e.extrudePath&&(n.options.extrudePath=e.extrudePath.toJSON());return n}(this.parameters.shapes,this.parameters.options,t)}static fromJSON(t,e){const n=[];for(let i=0,r=t.shapes.length;i<r;i++){const r=e[t.shapes[i]];n.push(r)}const i=t.options.extrudePath;return void 0!==i&&(t.options.extrudePath=(new Rc[i.type]).fromJSON(i)),new Su(n,t.options)}}const Tu={generateTopUV:function(t,e,n,i,r){const a=e[3*n],s=e[3*n+1],o=e[3*i],l=e[3*i+1],c=e[3*r],u=e[3*r+1];return[new Cn(a,s),new Cn(o,l),new Cn(c,u)]},generateSideWallUV:function(t,e,n,i,r,a){const s=e[3*n],o=e[3*n+1],l=e[3*n+2],c=e[3*i],u=e[3*i+1],d=e[3*i+2],h=e[3*r],p=e[3*r+1],f=e[3*r+2],m=e[3*a],g=e[3*a+1],v=e[3*a+2];return Math.abs(o-u)<Math.abs(s-c)?[new Cn(s,1-l),new Cn(c,1-d),new Cn(h,1-f),new Cn(m,1-v)]:[new Cn(o,1-l),new Cn(u,1-d),new Cn(p,1-f),new Cn(g,1-v)]}};class Au extends zc{constructor(t=1,e=0){const n=(1+Math.sqrt(5))/2;super([-1,n,0,1,n,0,-1,-n,0,1,-n,0,0,-1,n,0,1,n,0,-1,-n,0,1,-n,n,0,-1,n,0,1,-n,0,-1,-n,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],t,e),this.type="IcosahedronGeometry",this.parameters={radiu
vendor: 4,118 bytes, line 415
415s:t,detail:e}}static fromJSON(t){return new Au(t.radius,t.detail)}}class Lu extends zc{constructor(t=1,e=0){super([1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],t,e),this.type="OctahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new Lu(t.radius,t.detail)}}class Eu extends Ur{constructor(t=.5,e=1,n=8,i=1,r=0,a=2*Math.PI){super(),this.type="RingGeometry",this.parameters={innerRadius:t,outerRadius:e,thetaSegments:n,phiSegments:i,thetaStart:r,thetaLength:a},n=Math.max(3,n);const s=[],o=[],l=[],c=[];let u=t;const d=(e-t)/(i=Math.max(1,i)),h=new si,p=new Cn;for(let t=0;t<=i;t++){for(let t=0;t<=n;t++){const i=r+t/n*a;h.x=u*Math.cos(i),h.y=u*Math.sin(i),o.push(h.x,h.y,h.z),l.push(0,0,1),p.x=(h.x/e+1)/2,p.y=(h.y/e+1)/2,c.push(p.x,p.y)}u+=d}for(let t=0;t<i;t++){const e=t*(n+1);for(let t=0;t<n;t++){const i=t+e,r=i,a=i+n+1,o=i+n+2,l=i+1;s.push(r,a,l),s.push(a,o,l)}}this.setIndex(s),this.setAttribute("position",new Rr(o,3)),this.setAttribute("normal",new Rr(l,3)),this.setAttribute("uv",new Rr(c,2))}static fromJSON(t){return new Eu(t.innerRadius,t.outerRadius,t.thetaSegments,t.phiSegments,t.thetaStart,t.thetaLength)}}class Cu extends Ur{constructor(t=new $c([new Cn(0,.5),new Cn(-.5,-.5),new Cn(.5,-.5)]),e=12){super(),this.type="ShapeGeometry",this.parameters={shapes:t,curveSegments:e};const n=[],i=[],r=[],a=[];let s=0,o=0;if(!1===Array.isArray(t))l(t);else for(let e=0;e<t.length;e++)l(t[e]),this.addGroup(s,o,e),s+=o,o=0;function l(t){const s=i.length/3,l=t.extractPoints(e);let c=l.shape;const u=l.holes;!1===xu.isClockWise(c)&&(c=c.reverse());for(let t=0,e=u.length;t<e;t++){const e=u[t];!0===xu.isClockWise(e)&&(u[t]=e.reverse())}const d=xu.triangulateShape(c,u);for(let t=0,e=u.length;t<e;t++){const e=u[t];c=c.concat(e)}for(let t=0,e=c.length;t<e;t++){const e=c[t];i.push(e.x,e.y,0),r.push(0,0,1),a.push(e.x,e.y)}for(let t=0,e=d.length;t<e;t++){const e=d[t],i=e[0]+s,r=e[1]+s,a=e[2]+s;n.push(i,r,a),o+=3}}this.setIndex(n),this.setAttribute("position",new Rr(i,3)),this.setAttribute("normal",new Rr(r,3)),this.setAttribute("uv",new Rr(a,2))}toJSON(){const t=super.toJSON();return function(t,e){if(e.shapes=[],Array.isArray(t))for(let n=0,i=t.length;n<i;n++){const i=t[n];e.shapes.push(i.uuid)}else e.shapes.push(t.uuid);return e}(this.parameters.shapes,t)}static fromJSON(t,e){const n=[];for(let i=0,r=t.shapes.length;i<r;i++){const r=e[t.shapes[i]];n.push(r)}return new Cu(n,t.curveSegments)}}class Iu extends Ur{constructor(t=1,e=32,n=16,i=0,r=2*Math.PI,a=0,s=Math.PI){super(),this.type="SphereGeometry",this.parameters={radius:t,widthSegments:e,heightSegments:n,phiStart:i,phiLength:r,thetaStart:a,thetaLength:s},e=Math.max(3,Math.floor(e)),n=Math.max(2,Math.floor(n));const o=Math.min(a+s,Math.PI);let l=0;const c=[],u=new si,d=new si,h=[],p=[],f=[],m=[];for(let h=0;h<=n;h++){const g=[],v=h/n;let _=0;0==h&&0==a?_=.5/e:h==n&&o==Math.PI&&(_=-.5/e);for(let n=0;n<=e;n++){const o=n/e;u.x=-t*Math.cos(i+o*r)*Math.sin(a+v*s),u.y=t*Math.cos(a+v*s),u.z=t*Math.sin(i+o*r)*Math.sin(a+v*s),p.push(u.x,u.y,u.z),d.copy(u).normalize(),f.push(d.x,d.y,d.z),m.push(o+_,1-v),g.push(l++)}c.push(g)}for(let t=0;t<n;t++)for(let i=0;i<e;i++){const e=c[t][i+1],r=c[t][i],s=c[t+1][i],l=c[t+1][i+1];(0!==t||a>0)&&h.push(e,r,l),(t!==n-1||o<Math.PI)&&h.push(r,s,l)}this.setIndex(h),this.setAttribute("position",new Rr(p,3)),this.setAttribute("normal",new Rr(f,3)),this.setAttribute("uv",new Rr(m,2))}static fromJSON(t){return new Iu(t.radius,t.widthSegments,t.heightSegments,t.phiStart,t.phiLength,t.thetaStart,t.thetaLength)}}class Du extends zc{constructor(t=1,e=0){super([1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],t,e),this.type="TetrahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new Du(t.radius,t.detail)}}class ku extends Ur{constructor(t=1,e=.4,n=8,i=6,r=2*Math.PI){super(),this.type="TorusGeometry",this.parameters={radius:t,tube:e,radialSegments:n,tubularSegments:i,arc:r},n=Math.floor(n),i=Math.floor(i);const a=[],s=[],o=[],l=[],c=new si,u=new si,d=new si;for(let a=0;a<=n;a++)for(let h=0;h<=i;
vendor: 84,708 bytes, line 415
415h++){const p=h/i*r,f=a/n*Math.PI*2;u.x=(t+e*Math.cos(f))*Math.cos(p),u.y=(t+e*Math.cos(f))*Math.sin(p),u.z=e*Math.sin(f),s.push(u.x,u.y,u.z),c.x=t*Math.cos(p),c.y=t*Math.sin(p),d.subVectors(u,c).normalize(),o.push(d.x,d.y,d.z),l.push(h/i),l.push(a/n)}for(let t=1;t<=n;t++)for(let e=1;e<=i;e++){const n=(i+1)*t+e-1,r=(i+1)*(t-1)+e-1,s=(i+1)*(t-1)+e,o=(i+1)*t+e;a.push(n,r,o),a.push(r,s,o)}this.setIndex(a),this.setAttribute("position",new Rr(s,3)),this.setAttribute("normal",new Rr(o,3)),this.setAttribute("uv",new Rr(l,2))}static fromJSON(t){return new ku(t.radius,t.tube,t.radialSegments,t.tubularSegments,t.arc)}}class Ou extends Ur{constructor(t=1,e=.4,n=64,i=8,r=2,a=3){super(),this.type="TorusKnotGeometry",this.parameters={radius:t,tube:e,tubularSegments:n,radialSegments:i,p:r,q:a},n=Math.floor(n),i=Math.floor(i);const s=[],o=[],l=[],c=[],u=new si,d=new si,h=new si,p=new si,f=new si,m=new si,g=new si;for(let s=0;s<=n;++s){const _=s/n*r*Math.PI*2;v(_,r,a,t,h),v(_+.01,r,a,t,p),m.subVectors(p,h),g.addVectors(p,h),f.crossVectors(m,g),g.crossVectors(f,m),f.normalize(),g.normalize();for(let t=0;t<=i;++t){const r=t/i*Math.PI*2,a=-e*Math.cos(r),p=e*Math.sin(r);u.x=h.x+(a*g.x+p*f.x),u.y=h.y+(a*g.y+p*f.y),u.z=h.z+(a*g.z+p*f.z),o.push(u.x,u.y,u.z),d.subVectors(u,h).normalize(),l.push(d.x,d.y,d.z),c.push(s/n),c.push(t/i)}}for(let t=1;t<=n;t++)for(let e=1;e<=i;e++){const n=(i+1)*(t-1)+(e-1),r=(i+1)*t+(e-1),a=(i+1)*t+e,o=(i+1)*(t-1)+e;s.push(n,r,o),s.push(r,a,o)}function v(t,e,n,i,r){const a=Math.cos(t),s=Math.sin(t),o=n/e*t,l=Math.cos(o);r.x=i*(2+l)*.5*a,r.y=i*(2+l)*s*.5,r.z=i*Math.sin(o)*.5}this.setIndex(s),this.setAttribute("position",new Rr(o,3)),this.setAttribute("normal",new Rr(l,3)),this.setAttribute("uv",new Rr(c,2))}static fromJSON(t){return new Ou(t.radius,t.tube,t.tubularSegments,t.radialSegments,t.p,t.q)}}class Ru extends Ur{constructor(t=new kc(new si(-1,-1,0),new si(-1,1,0),new si(1,1,0)),e=64,n=1,i=8,r=!1){super(),this.type="TubeGeometry",this.parameters={path:t,tubularSegments:e,radius:n,radialSegments:i,closed:r};const a=t.computeFrenetFrames(e,r);this.tangents=a.tangents,this.normals=a.normals,this.binormals=a.binormals;const s=new si,o=new si,l=new Cn;let c=new si;const u=[],d=[],h=[],p=[];function f(r){c=t.getPointAt(r/e,c);const l=a.normals[r],h=a.binormals[r];for(let t=0;t<=i;t++){const e=t/i*Math.PI*2,r=Math.sin(e),a=-Math.cos(e);o.x=a*l.x+r*h.x,o.y=a*l.y+r*h.y,o.z=a*l.z+r*h.z,o.normalize(),d.push(o.x,o.y,o.z),s.x=c.x+n*o.x,s.y=c.y+n*o.y,s.z=c.z+n*o.z,u.push(s.x,s.y,s.z)}}!function(){for(let t=0;t<e;t++)f(t);f(!1===r?e:0),function(){for(let t=0;t<=e;t++)for(let n=0;n<=i;n++)l.x=t/e,l.y=n/i,h.push(l.x,l.y)}(),function(){for(let t=1;t<=e;t++)for(let e=1;e<=i;e++){const n=(i+1)*(t-1)+(e-1),r=(i+1)*t+(e-1),a=(i+1)*t+e,s=(i+1)*(t-1)+e;p.push(n,r,s),p.push(r,a,s)}}()}(),this.setIndex(p),this.setAttribute("position",new Rr(u,3)),this.setAttribute("normal",new Rr(d,3)),this.setAttribute("uv",new Rr(h,2))}toJSON(){const t=super.toJSON();return t.path=this.parameters.path.toJSON(),t}static fromJSON(t){return new Ru((new Rc[t.path.type]).fromJSON(t.path),t.tubularSegments,t.radius,t.radialSegments,t.closed)}}class Pu extends Ur{constructor(t=null){if(super(),this.type="WireframeGeometry",this.parameters={geometry:t},null!==t){const e=[],n=new Set,i=new si,r=new si;if(null!==t.index){const a=t.attributes.position,s=t.index;let o=t.groups;0===o.length&&(o=[{start:0,count:s.count,materialIndex:0}]);for(let t=0,l=o.length;t<l;++t){const l=o[t],c=l.start;for(let t=c,o=c+l.count;t<o;t+=3)for(let o=0;o<3;o++){const l=s.getX(t+o),c=s.getX(t+(o+1)%3);i.fromBufferAttribute(a,l),r.fromBufferAttribute(a,c),!0===Nu(i,r,n)&&(e.push(i.x,i.y,i.z),e.push(r.x,r.y,r.z))}}}else{const a=t.attributes.position;for(let t=0,s=a.count/3;t<s;t++)for(let s=0;s<3;s++){const o=3*t+s,l=3*t+(s+1)%3;i.fromBufferAttribute(a,o),r.fromBufferAttribute(a,l),!0===Nu(i,r,n)&&(e.push(i.x,i.y,i.z),e.push(r.x,r.y,r.z))}}this.setAttribute("position",new Rr(e,3))}}}function Nu(t,e,n){const i=`${t.x},${t.y},${t.z}-${e.x},${e.y},${e.z}`,r=`${e.x},${e.y},${e.z}-${t.x},${t.y},${t.z}`;return!0!==n.has(i)&&!0!==n.has(r)&&(n.add(i),n.add(r),!0)}var Yu=Object.freeze({__proto__:null,BoxGeometry:ca,CapsuleGeometry:Fc,CircleGeometry:Hc,ConeGeometry:Bc,CylinderGeometry:jc,DodecahedronGeometry:Uc,EdgesGeometry:Xc,ExtrudeGeometry:Su,IcosahedronGeometry:Au,LatheGeometry:Yc,OctahedronGeometry:Lu,PlaneGeometry:Ea,PolyhedronGeometry:zc,RingGeometry:Eu,ShapeGeometry:Cu,SphereGeometry:Iu,TetrahedronGeometry:Du,TorusGeometry:ku,TorusKnotGeometry:Ou,TubeGeometry:Ru,WireframeGeometry:Pu});class Fu extends xr{constructor(t){super(),this.isShadowMaterial=!0,this.type="ShadowMaterial",this.color=new Wn(0),this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.fog=t.fog,this}}class Hu extends pa{constructor(t){super(t),this.isRawShaderMaterial=!0,this.type="RawShaderMaterial"}}class ju extends xr{constructor(t){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new Wn(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Wn(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Re,this.normalScale=new Cn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={STANDARD:""},this.color.copy(t.color),this.roughness=t.roughness,this.metalness=t.metalness,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.roughnessMap=t.roughnessMap,this.metalnessMap=t.metalnessMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapIntensity=t.envMapIntensity,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class Bu extends ju{constructor(t){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new Cn(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return bn(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(t){this.ior=(1+.4*t)/(1-.4*t)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new Wn(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=0,this.attenuationColor=new Wn(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new Wn(1,1,1),this.specularColorMap=null,this._sheen=0,this._clearcoat=0,this._iridescence=0,this._transmission=0,this.setValues(t)}get sheen(){return this._sheen}set sheen(t){this._sheen>0!=t>0&&this.version++,this._sheen=t}get clearcoat(){return this._clearcoat}set clearcoat(t){this._clearcoat>0!=t>0&&this.version++,this._clearcoat=t}get iridescence(){return this._iridescence}set iridescence(t){this._iridescence>0!=t>0&&this.version++,this._iridescence=t}get transmission(){return this._transmission}set transmission(t){this._transmission>0!=t>0&&this.version++,this._transmission=t}copy(t){return super.copy(t),this.defines={STANDARD:"",PHYSICAL:""},this.clearcoat=t.clearcoat,this.clearcoatMap=t.clearcoatMap,this.clearcoatRoughness=t.clearcoatRoughness,this.clearcoatRoughnessMap=t.clearcoatRoughnessMap,this.clearcoatNormalMap=t.clearcoatNormalMap,this.clearcoatNormalScale.copy(t.clearcoatNormalScale),this.ior=t.ior,this.iridescence=t.iridescence,this.iridescenceMap=t.iridescenceMap,this.iridescenceIOR=t.iridescenceIOR,this.iridescenceThicknessRange=[...t.iridescenceThicknessRange],this.iridescenceThicknessMap=t.iridescenceThicknessMap,this.sheen=t.sheen,this.sheenColor.copy(t.sheenColor),this.sheenColorMap=t.sheenColorMap,this.sheenRoughness=t.sheenRoughness,this.sheenRoughnessMap=t.sheenRoughnessMap,this.transmission=t.transmission,this.transmissionMap=t.transmissionMap,this.thickness=t.thickness,this.thicknessMap=t.thicknessMap,this.attenuationDistance=t.attenuationDistance,this.attenuationColor.copy(t.attenuationColor),this.specularIntensity=t.specularIntensity,this.specularIntensityMap=t.specularIntensityMap,this.specularColor.copy(t.specularColor),this.specularColorMap=t.specularColorMap,this}}class zu extends xr{constructor(t){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new Wn(16777215),this.specular=new Wn(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Wn(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Re,this.normalScale=new Cn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=q,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.specular.copy(t.specular),this.shininess=t.shininess,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class Uu extends xr{constructor(t){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new Wn(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Wn(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Re,this.normalScale=new Cn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.gradientMap=t.gradientMap,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}class Vu extends xr{constructor(t){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Re,this.normalScale=new Cn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(t)}copy(t){return super.copy(t),this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.flatShading=t.flatShading,this}}class Wu extends xr{constructor(t){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new Wn(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Wn(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Re,this.normalScale=new Cn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=q,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class Gu extends xr{constructor(t){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new Wn(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Re,this.normalScale=new Cn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={MATCAP:""},this.color.copy(t.color),this.matcap=t.matcap,this.map=t.map,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.flatShading=t.flatShading,this.fog=t.fog,this}}class qu extends ql{constructor(t){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(t)}copy(t){return super.copy(t),this.scale=t.scale,this.dashSize=t.dashSize,this.gapSize=t.gapSize,this}}function Xu(t,e,n){return Ku(t)?new t.constructor(t.subarray(e,void 0!==n?n:t.length)):t.slice(e,n)}function $u(t,e,n){return!t||!n&&t.constructor===e?t:"number"==typeof e.BYTES_PER_ELEMENT?new e(t):Array.prototype.slice.call(t)}function Ku(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Ju(t){const e=t.length,n=new Array(e);for(let t=0;t!==e;++t)n[t]=t;return n.sort((function(e,n){return t[e]-t[n]})),n}function Qu(t,e,n){const i=t.length,r=new t.constructor(i);for(let a=0,s=0;s!==i;++a){const i=n[a]*e;for(let n=0;n!==e;++n)r[s++]=t[i+n]}return r}function Zu(t,e,n,i){let r=1,a=t[0];for(;void 0!==a&&void 0===a[i];)a=t[r++];if(void 0===a)return;let s=a[i];if(void 0!==s)if(Array.isArray(s))do{s=a[i],void 0!==s&&(e.push(a.time),n.push.apply(n,s)),a=t[r++]}while(void 0!==a);else if(void 0!==s.toArray)do{s=a[i],void 0!==s&&(e.push(a.time),s.toArray(n,n.length)),a=t[r++]}while(void 0!==a);else do{s=a[i],void 0!==s&&(e.push(a.time),n.push(s)),a=t[r++]}while(void 0!==a)}var td=Object.freeze({__proto__:null,arraySlice:Xu,convertArray:$u,isTypedArray:Ku,getKeyframeOrder:Ju,sortedArray:Qu,flattenJSON:Zu,subclip:function(t,e,n,i,r=30){const a=t.clone();a.name=e;const s=[];for(let t=0;t<a.tracks.length;++t){const e=a.tracks[t],o=e.getValueSize(),l=[],c=[];for(let t=0;t<e.times.length;++t){const a=e.times[t]*r;if(!(a<n||a>=i)){l.push(e.times[t]);for(let n=0;n<o;++n)c.push(e.values[t*o+n])}}0!==l.length&&(e.times=$u(l,e.times.constructor),e.values=$u(c,e.values.constructor),s.push(e))}a.tracks=s;let o=1/0;for(let t=0;t<a.tracks.length;++t)o>a.tracks[t].times[0]&&(o=a.tracks[t].times[0]);for(let t=0;t<a.tracks.length;++t)a.tracks[t].shift(-1*o);return a.resetDuration(),a},makeClipAdditive:function(t,e=0,n=t,i=30){i<=0&&(i=30);const r=n.tracks.length,a=e/i;for(let e=0;e<r;++e){const i=n.tracks[e],r=i.ValueTypeName;if("bool"===r||"string"===r)continue;const s=t.tracks.find((function(t){return t.name===i.name&&t.ValueTypeName===r}));if(void 0===s)continue;let o=0;const l=i.getValueSize();i.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(o=l/3);let c=0;const u=s.getValueSize();s.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(c=u/3);const d=i.times.length-1;let h;if(a<=i.times[0]){const t=o,e=l-o;h=Xu(i.values,t,e)}else if(a>=i.times[d]){const t=d*l+o,e=t+l-o;h=Xu(i.values,t,e)}else{const t=i.createInterpolant(),e=o,n=l-o;t.evaluate(a),h=Xu(t.resultBuffer,e,n)}if("quaternion"===r){(new ai).fromArray(h).normalize().conjugate().toArray(h)}const p=s.times.length;for(let t=0;t<p;++t){const e=t*u+c;if("quaternion"===r)ai.multiplyQuaternionsFlat(s.values,e,h,0,s.values,e);else{const t=u-2*c;for(let n=0;n<t;++n)s.values[e+n]-=h[n]}}}return t.blendMode=Ae,t}});class ed{constructor(t,e,n,i){this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=void 0!==i?i:new e.constructor(n),this.sampleValues=e,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(t){const e=this.parameterPositions;let n=this._cachedIndex,i=e[n],r=e[n-1];t:{e:{let a;n:{i:if(!(t<i)){for(let a=n+2;;){if(void 0===i){if(t<r)break i;return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===a)break;if(r=i,i=e[++n],t<i)break e}a=e.length;break n}if(t>=r)break t;{const s=e[1];t<s&&(n=2,r=s);for(let a=n-2;;){if(void 0===r)return this._cachedIndex=0,this.copySampleValue_(0);if(n===a)break;if(i=r,r=e[--n-1],t>=r)break e}a=n,n=0}}for(;n<a;){const i=n+a>>>1;t<e[i]?a=i:n=i+1}if(i=e[n],r=e[n-1],void 0===r)return this._cachedIndex=0,this.copySampleValue_(0);if(void 0===i)return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,r,i)}return this.interpolate_(n,r,t,i)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(t){const e=this.resultBuffer,n=this.sampleValues,i=this.valueSize,r=t*i;for(let t=0;t!==i;++t)e[t]=n[r+t];return e}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}class nd extends ed{constructor(t,e,n,i){super(t,e,n,i),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:we,endingEnd:we}}intervalChanged_(t,e,n){const i=this.parameterPositions;let r=t-2,a=t+1,s=i[r],o=i[a];if(void 0===s)switch(this.getSettings_().endingStart){case Me:r=t,s=2*e-n;break;case Se:r=i.length-2,s=e+i[r]-i[r+1];break;default:r=t,s=n}if(void 0===o)switch(this.getSettings_().endingEnd){case Me:a=t,o=2*n-e;break;case Se:a=1,o=n+i[1]-i[0];break;default:a=t-1,o=e}const l=.5*(n-e),c=this.valueSize;this._weightPrev=l/(e-s),this._weightNext=l/(o-n),this._offsetPrev=r*c,this._offsetNext=a*c}interpolate_(t,e,n,i){const r=this.resultBuffer,a=this.sampleValues,s=this.valueSize,o=t*s,l=o-s,c=this._offsetPrev,u=this._offsetNext,d=this._weightPrev,h=this._weightNext,p=(n-e)/(i-e),f=p*p,m=f*p,g=-d*m+2*d*f-d*p,v=(1+d)*m+(-1.5-2*d)*f+(-.5+d)*p+1,_=(-1-h)*m+(1.5+h)*f+.5*p,y=h*m-h*f;for(let t=0;t!==s;++t)r[t]=g*a[c+t]+v*a[l+t]+_*a[o+t]+y*a[u+t];return r}}class id extends ed{constructor(t,e,n,i){super(t,e,n,i)}interpolate_(t,e,n,i){const r=this.resultBuffer,a=this.sampleValues,s=this.valueSize,o=t*s,l=o-s,c=(n-e)/(i-e),u=1-c;for(let t=0;t!==s;++t)r[t]=a[l+t]*u+a[o+t]*c;return r}}class rd extends ed{constructor(t,e,n,i){super(t,e,n,i)}interpolate_(t){return this.copySampleValue_(t-1)}}class ad{constructor(t,e,n,i){if(void 0===t)throw new Error("THREE.KeyframeTrack: track name is undefined");if(void 0===e||0===e.length)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+t);this.name=t,this.times=$u(e,this.TimeBufferType),this.values=$u(n,this.ValueBufferType),this.setInterpolation(i||this.DefaultInterpolation)}static toJSON(t){const e=t.constructor;let n;if(e.toJSON!==this.toJSON)n=e.toJSON(t);else{n={name:t.name,times:$u(t.times,Array),values:$u(t.values,Array)};const e=t.getInterpolation();e!==t.DefaultInterpolation&&(n.interpolation=e)}return n.type=t.ValueTypeName,n}InterpolantFactoryMethodDiscrete(t){return new rd(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodLinear(t){return new id(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodSmooth(t){return new nd(this.times,this.values,this.getValueSize(),t)}setInterpolation(t){let e;switch(t){case ye:e=this.InterpolantFactoryMethodDiscrete;break;case be:e=this.InterpolantFactoryMethodLinear;break;case xe:e=this.InterpolantFactoryMethodSmooth}if(void 0===e){const e="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant){if(t===this.DefaultInterpolation)throw new Error(e);this.setInterpolation(this.DefaultInterpolation)}return console.warn("THREE.KeyframeTrack:",e),this}return this.createInterpolant=e,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return ye;case this.InterpolantFactoryMethodLinear:return be;case this.InterpolantFactoryMethodSmooth:return xe}}getValueSize(){return this.values.length/this.times.length}shift(t){if(0!==t){const e=this.times;for(let n=0,i=e.length;n!==i;++n)e[n]+=t}return this}scale(t){if(1!==t){const e=this.times;for(let n=0,i=e.length;n!==i;++n)e[n]*=t}return this}trim(t,e){const n=this.times,i=n.length;let r=0,a=i-1;for(;r!==i&&n[r]<t;)++r;for(;-1!==a&&n[a]>e;)--a;if(++a,0!==r||a!==i){r>=a&&(a=Math.max(a,1),r=a-1);const t=this.getValueSize();this.times=Xu(n,r,a),this.values=Xu(this.values,r*t,a*t)}return this}validate(){let t=!0;const e=this.getValueSize();e-Math.floor(e)!=0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),t=!1);const n=this.times,i=this.values,r=n.length;0===r&&(console.error("THREE.KeyframeTrack: Track is empty.",this),t=!1);let a=null;for(let e=0;e!==r;e++){const i=n[e];if("number"==typeof i&&isNaN(i)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,e,i),t=!1;break}if(null!==a&&a>i){console.error("THREE.KeyframeTrack: Out of order keys.",this,e,i,a),t=!1;break}a=i}if(void 0!==i&&Ku(i))for(let e=0,n=i.length;e!==n;++e){const n=i[e];if(isNaN(n)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,e,n),t=!1;break}}return t}optimize(){const t=Xu(this.times),e=Xu(this.values),n=this.getValueSize(),i=this.getInterpolation()===xe,r=t.length-1;let a=1;for(let s=1;s<r;++s){let r=!1;const o=t[s];if(o!==t[s+1]&&(1!==s||o!==t[0]))if(i)r=!0;else{const t=s*n,i=t-n,a=t+n;for(let s=0;s!==n;++s){const n=e[t+s];if(n!==e[i+s]||n!==e[a+s]){r=!0;break}}}if(r){if(s!==a){t[a]=t[s];const i=s*n,r=a*n;for(let t=0;t!==n;++t)e[r+t]=e[i+t]}++a}}if(r>0){t[a]=t[r];for(let t=r*n,i=a*n,s=0;s!==n;++s)e[i+s]=e[t+s];++a}return a!==t.length?(this.times=Xu(t,0,a),this.values=Xu(e,0,a*n)):(this.times=t,this.values=e),this}clone(){const t=Xu(this.times,0),e=Xu(this.values,0),n=new(0,this.constructor)(this.name,t,e);return n.createInterpolant=this.createInterpolant,n}}ad.prototype.TimeBufferType=Float32Array,ad.prototype.ValueBufferType=Float32Array,ad.prototype.DefaultInterpolation=be;class sd extends ad{}sd.prototype.ValueTypeName="bool",sd.prototype.ValueBufferType=Array,sd.prototype.DefaultInterpolation=ye,sd.prototype.InterpolantFactoryMethodLinear=void 0,sd.prototype.InterpolantFactoryMethodSmooth=void 0;class od extends ad{}od.prototype.ValueTypeName="color";class ld extends ad{}ld.prototype.ValueTypeName="number";class cd extends ed{constructor(t,e,n,i){super(t,e,n,i)}interpolate_(t,e,n,i){const r=this.resultBuffer,a=this.sampleValues,s=this.valueSize,o=(n-e)/(i-e);let l=t*s;for(let t=l+s;l!==t;l+=4)ai.slerpFlat(r,0,a,l-s,a,l,o);return r}}class ud extends ad{InterpolantFactoryMethodLinear(t){return new cd(this.times,this.values,this.getValueSize(),t)}}ud.prototype.ValueTypeName="quaternion",ud.prototype.DefaultInterpolation=be,ud.prototype.InterpolantFactoryMethodSmooth=void 0;class dd extends ad{}dd.prototype.ValueTypeName="string",dd.prototype.ValueBufferType=Array,dd.prototype.DefaultInterpolation=ye,dd.prototype.InterpolantFactoryMethodLinear=void 0,dd.prototype.InterpolantFactoryMethodSmooth=void 0;class hd extends ad{}hd.prototype.ValueTypeName="vector";class pd{constructor(t,e=-1,n,i=Te){this.name=t,this.tracks=n,this.duration=e,this.blendMode=i,this.uuid=yn(),this.duration<0&&this.resetDuration()}static parse(t){const e=[],n=t.tracks,i=1/(t.fps||1);for(let t=0,r=n.length;t!==r;++t)e.push(fd(n[t]).scale(i));const r=new this(t.name,t.duration,e,t.blendMode);return r.uuid=t.uuid,r}static toJSON(t){const e=[],n=t.tracks,i={name:t.name,duration:t.duration,tracks:e,uuid:t.uuid,blendMode:t.blendMode};for(let t=0,i=n.length;t!==i;++t)e.push(ad.toJSON(n[t]));return i}static CreateFromMorphTargetSequence(t,e,n,i){const r=e.length,a=[];for(let t=0;t<r;t++){let s=[],o=[];s.push((t+r-1)%r,t,(t+1)%r),o.push(0,1,0);const l=Ju(s);s=Qu(s,1,l),o=Qu(o,1,l),i||0!==s[0]||(s.push(r),o.push(o[0])),a.push(new ld(".morphTargetInfluences["+e[t].name+"]",s,o).scale(1/n))}return new this(t,-1,a)}static findByName(t,e){let n=t;if(!Array.isArray(t)){const e=t;n=e.geometry&&e.geometry.animations||e.animations}for(let t=0;t<n.length;t++)if(n[t].name===e)return n[t];return null}static CreateClipsFromMorphTargetSequences(t,e,n){const i={},r=/^([\w-]*?)([\d]+)$/;for(let e=0,n=t.length;e<n;e++){const n=t[e],a=n.name.match(r);if(a&&a.length>1){const t=a[1];let e=i[t];e||(i[t]=e=[]),e.push(n)}}const a=[];for(const t in i)a.push(this.CreateFromMorphTargetSequence(t,i[t],e,n));return a}static parseAnimation(t,e){if(!t)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const n=function(t,e,n,i,r){if(0!==n.length){const a=[],s=[];Zu(n,a,s,i),0!==a.length&&r.push(new t(e,a,s))}},i=[],r=t.name||"default",a=t.fps||30,s=t.blendMode;let o=t.length||-1;const l=t.hierarchy||[];for(let t=0;t<l.length;t++){const r=l[t].keys;if(r&&0!==r.length)if(r[0].morphTargets){const t={};let e;for(e=0;e<r.length;e++)if(r[e].morphTargets)for(let n=0;n<r[e].morphTargets.length;n++)t[r[e].morphTargets[n]]=-1;for(const n in t){const t=[],a=[];for(let i=0;i!==r[e].morphTargets.length;++i){const i=r[e];t.push(i.time),a.push(i.morphTarget===n?1:0)}i.push(new ld(".morphTargetInfluence["+n+"]",t,a))}o=t.length*a}else{const a=".bones["+e[t].name+"]";n(hd,a+".position",r,"pos",i),n(ud,a+".quaternion",r,"rot",i),n(hd,a+".scale",r,"scl",i)}}if(0===i.length)return null;return new this(r,o,i,s)}resetDuration(){let t=0;for(let e=0,n=this.tracks.length;e!==n;++e){const n=this.tracks[e];t=Math.max(t,n.times[n.times.length-1])}return this.duration=t,this}trim(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].trim(0,this.duration);return this}validate(){let t=!0;for(let e=0;e<this.tracks.length;e++)t=t&&this.tracks[e].validate();return t}optimize(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].optimize();return this}clone(){const t=[];for(let e=0;e<this.tracks.length;e++)t.push(this.tracks[e].clone());return new this.constructor(this.name,this.duration,t,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function fd(t){if(void 0===t.type)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");const e=function(t){switch(t.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return ld;case"vector":case"vector2":case"vector3":case"vector4":return hd;case"color":return od;case"quaternion":return ud;case"bool":case"boolean":return sd;case"string":return dd}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+t)}(t.type);if(void 0===t.times){const e=[],n=[];Zu(t.keys,e,n,"value"),t.times=e,t.values=n}return void 0!==e.parse?e.parse(t):new e(t.name,t.times,t.values,t.interpolation)}const md={enabled:!1,files:{},add:function(t,e){!1!==this.enabled&&(this.files[t]=e)},get:function(t){if(!1!==this.enabled)return this.files[t]},remove:function(t){delete this.files[t]},clear:function(){this.files={}}};class gd{constructor(t,e,n){const i=this;let r=!1,a=0,s=0,o=void 0;const l=[];this.onStart=void 0,this.onLoad=t,this.onProgress=e,this.onError=n,this.itemStart=function(t){s++,!1===r&&void 0!==i.onStart&&i.onStart(t,a,s),r=!0},this.itemEnd=function(t){a++,void 0!==i.onProgress&&i.onProgress(t,a,s),a===s&&(r=!1,void 0!==i.onLoad&&i.onLoad())},this.itemError=function(t){void 0!==i.onError&&i.onError(t)},this.resolveURL=function(t){return o?o(t):t},this.setURLModifier=function(t){return o=t,this},this.addHandler=function(t,e){return l.push(t,e),this},this.removeHandler=function(t){const e=l.indexOf(t);return-1!==e&&l.splice(e,2),this},this.getHandler=function(t){for(let e=0,n=l.length;e<n;e+=2){const n=l[e],i=l[e+1];if(n.global&&(n.lastIndex=0),n.test(t))return i}return null}}}const vd=new gd;class _d{constructor(t){this.manager=void 0!==t?t:vd,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}load(){}loadAsync(t,e){const n=this;return new Promise((function(i,r){n.load(t,i,e,r)}))}parse(){}setCrossOrigin(t){return this.crossOrigin=t,this}setWithCredentials(t){return this.withCredentials=t,this}setPath(t){return this.path=t,this}setResourcePath(t){return this.resourcePath=t,this}setRequestHeader(t){return this.requestHeader=t,this}}const yd={};class bd extends Error{constructor(t,e){super(t),this.response=e}}class xd extends _d{constructor(t){super(t)}load(t,e,n,i){void 0===t&&(t=""),void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const r=md.get(t);if(void 0!==r)return this.manager.itemStart(t),setTimeout(()=>{e&&e(r),this.manager.itemEnd(t)},0),r;if(void 0!==yd[t])return void yd[t].push({onLoad:e,onProgress:n,onError:i});yd[t]=[],yd[t].push({onLoad:e,onProgress:n,onError:i});const a=new Request(t,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),s=this.mimeType,o=this.responseType;fetch(a).then(e=>{if(200===e.status||0===e.status){if(0===e.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"undefined"==typeof ReadableStream||void 0===e.body||void 0===e.body.getReader)return e;const n=yd[t],i=e.body.getReader(),r=e.headers.get("Content-Length"),a=r?parseInt(r):0,s=0!==a;let o=0;const l=new ReadableStream({start(t){!function e(){i.read().then(({done:i,value:r})=>{if(i)t.close();else{o+=r.byteLength;const i=new ProgressEvent("progress",{lengthComputable:s,loaded:o,total:a});for(let t=0,e=n.length;t<e;t++){const e=n[t];e.onProgress&&e.onProgress(i)}t.enqueue(r),e()}})}()}});return new Response(l)}throw new bd(`fetch for "${e.url}" responded with ${e.status}: ${e.statusText}`,e)}).then(t=>{switch(o){case"arraybuffer":return t.arrayBuffer();case"blob":return t.blob();case"document":return t.text().then(t=>(new DOMParser).parseFromString(t,s));case"json":return t.json();default:if(void 0===s)return t.text();{const e=/charset="?([^;"\s]*)"?/i.exec(s),n=e&&e[1]?e[1].toLowerCase():void 0,i=new TextDecoder(n);return t.arrayBuffer().then(t=>i.decode(t))}}}).then(e=>{md.add(t,e);const n=yd[t];delete yd[t];for(let t=0,i=n.length;t<i;t++){const i=n[t];i.onLoad&&i.onLoad(e)}}).catch(e=>{const n=yd[t];if(void 0===n)throw this.manager.itemError(t),e;delete yd[t];for(let t=0,i=n.length;t<i;t++){const i=n[t];i.onError&&i.onError(e)}this.manager.itemError(t)}).finally(()=>{this.manager.itemEnd(t)}),this.manager.itemStart(t)}setResponseType(t){return this.responseType=t,this}setMimeType(t){return this.mimeType=t,this}}class wd extends _d{constructor(t){super(t)}load(t,e,n,i){const r=this,a=new xd(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(t,(function(n){try{e(r.parse(JSON.parse(n)))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}}),n,i)}parse(t){const e=[];for(let n=0;n<t.length;n++){const i=pd.parse(t[n]);e.push(i)}return e}}class Md extends _d{constructor(t){super(t)}load(t,e,n,i){const r=this,a=[],s=new pc,o=new xd(this.manager);o.setPath(this.path),o.setResponseType("arraybuffer"),o.setRequestHeader(this.requestHeader),o.setWithCredentials(r.withCredentials);let l=0;function c(c){o.load(t[c],(function(t){const n=r.parse(t,!0);a[c]={width:n.width,height:n.height,format:n.format,mipmaps:n.mipmaps},l+=1,6===l&&(1===n.mipmapCount&&(s.minFilter=gt),s.image=a,s.format=n.format,s.needsUpdate=!0,e&&e(s))}),n,i)}if(Array.isArray(t))for(let e=0,n=t.length;e<n;++e)c(e);else o.load(t,(function(t){const n=r.parse(t,!0);if(n.isCubemap){const t=n.mipmaps.length/n.mipmapCount;for(let e=0;e<t;e++){a[e]={mipmaps:[]};for(let t=0;t<n.mipmapCount;t++)a[e].mipmaps.push(n.mipmaps[e*n.mipmapCount+t]),a[e].format=n.format,a[e].width=n.width,a[e].height=n.height}s.image=a}else s.image.width=n.width,s.image.height=n.height,s.mipmaps=n.mipmaps;1===n.mipmapCount&&(s.minFilter=gt),s.format=n.format,s.needsUpdate=!0,e&&e(s)}),n,i);return s}}class Sd extends _d{constructor(t){super(t)}load(t,e,n,i){void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const r=this,a=md.get(t);if(void 0!==a)return r.manager.itemStart(t),setTimeout((function(){e&&e(a),r.manager.itemEnd(t)}),0),a;const s=Rn("img");function o(){c(),md.add(t,this),e&&e(this),r.manager.itemEnd(t)}function l(e){c(),i&&i(e),r.manager.itemError(t),r.manager.itemEnd(t)}function c(){s.removeEventListener("load",o,!1),s.removeEventListener("error",l,!1)}return s.addEventListener("load",o,!1),s.addEventListener("error",l,!1),"data:"!==t.slice(0,5)&&void 0!==this.crossOrigin&&(s.crossOrigin=this.crossOrigin),r.manager.itemStart(t),s.src=t,s}}class Td extends _d{constructor(t){super(t)}load(t,e,n,i){const r=new va,a=new Sd(this.manager);a.setCrossOrigin(this.crossOrigin),a.setPath(this.path);let s=0;function o(n){a.load(t[n],(function(t){r.images[n]=t,s++,6===s&&(r.needsUpdate=!0,e&&e(r))}),void 0,i)}for(let e=0;e<t.length;++e)o(e);return r}}class Ad extends _d{constructor(t){super(t)}load(t,e,n,i){const r=this,a=new Yl,s=new xd(this.manager);return s.setResponseType("arraybuffer"),s.setRequestHeader(this.requestHeader),s.setPath(this.path),s.setWithCredentials(r.withCredentials),s.load(t,(function(t){const n=r.parse(t);n&&(void 0!==n.image?a.image=n.image:void 0!==n.data&&(a.image.width=n.width,a.image.height=n.height,a.image.data=n.data),a.wrapS=void 0!==n.wrapS?n.wrapS:ct,a.wrapT=void 0!==n.wrapT?n.wrapT:ct,a.magFilter=void 0!==n.magFilter?n.magFilter:gt,a.minFilter=void 0!==n.minFilter?n.minFilter:gt,a.anisotropy=void 0!==n.anisotropy?n.anisotropy:1,void 0!==n.encoding&&(a.encoding=n.encoding),void 0!==n.flipY&&(a.flipY=n.flipY),void 0!==n.format&&(a.format=n.format),void 0!==n.type&&(a.type=n.type),void 0!==n.mipmaps&&(a.mipmaps=n.mipmaps,a.minFilter=yt),1===n.mipmapCount&&(a.minFilter=gt),void 0!==n.generateMipmaps&&(a.generateMipmaps=n.generateMipmaps),a.needsUpdate=!0,e&&e(a,n))}),n,i),a}}class Ld extends _d{constructor(t){super(t)}load(t,e,n,i){const r=new Jn,a=new Sd(this.manager);return a.setCrossOrigin(this.crossOrigin),a.setPath(this.path),a.load(t,(function(t){r.image=t,r.needsUpdate=!0,void 0!==e&&e(r)}),n,i),r}}class Ed extends lr{constructor(t,e=1){super(),this.isLight=!0,this.type="Light",this.color=new Wn(t),this.intensity=e}dispose(){}copy(t,e){return super.copy(t,e),this.color.copy(t.color),this.intensity=t.intensity,this}toJSON(t){const e=super.toJSON(t);return e.object.color=this.color.getHex(),e.object.intensity=this.intensity,void 0!==this.groundColor&&(e.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(e.object.distance=this.distance),void 0!==this.angle&&(e.object.angle=this.angle),void 0!==this.decay&&(e.object.decay=this.decay),void 0!==this.penumbra&&(e.object.penumbra=this.penumbra),void 0!==this.shadow&&(e.object.shadow=this.shadow.toJSON()),e}}class Cd extends Ed{constructor(t,e,n){super(t,n),this.isHemisphereLight=!0,this.type="HemisphereLight",this.position.copy(lr.DefaultUp),this.updateMatrix(),this.groundColor=new Wn(e)}copy(t,e){return super.copy(t,e),this.groundColor.copy(t.groundColor),this}}const Id=new Yi,Dd=new si,kd=new si;class Od{constructor(t){this.camera=t,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new Cn(512,512),this.map=null,this.mapPass=null,this.matrix=new Yi,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new Ta,this._frameExtents=new Cn(1,1),this._viewportCount=1,this._viewports=[new Qn(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(t){const e=this.camera,n=this.matrix;Dd.setFromMatrixPosition(t.matrixWorld),e.position.copy(Dd),kd.setFromMatrixPosition(t.target.matrixWorld),e.lookAt(kd),e.updateMatrixWorld(),Id.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Id),n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(e.projectionMatrix),n.multiply(e.matrixWorldInverse)}getViewport(t){return this._viewports[t]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(t){return this.camera=t.camera.clone(),this.bias=t.bias,this.radius=t.radius,this.mapSize.copy(t.mapSize),this}clone(){return(new this.constructor).copy(this)}toJSON(){const t={};return 0!==this.bias&&(t.bias=this.bias),0!==this.normalBias&&(t.normalBias=this.normalBias),1!==this.radius&&(t.radius=this.radius),512===this.mapSize.x&&512===this.mapSize.y||(t.mapSize=this.mapSize.toArray()),t.camera=this.camera.toJSON(!1).object,delete t.camera.matrix,t}}class Rd extends Od{constructor(){super(new ma(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(t){const e=this.camera,n=2*_n*t.angle*this.focus,i=this.mapSize.width/this.mapSize.height,r=t.distance||e.far;n===e.fov&&i===e.aspect&&r===e.far||(e.fov=n,e.aspect=i,e.far=r,e.updateProjectionMatrix()),super.updateMatrices(t)}copy(t){return super.copy(t),this.focus=t.focus,this}}class Pd extends Ed{constructor(t,e,n=0,i=Math.PI/3,r=0,a=1){super(t,e),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(lr.DefaultUp),this.updateMatrix(),this.target=new lr,this.distance=n,this.angle=i,this.penumbra=r,this.decay=a,this.map=null,this.shadow=new Rd}get power(){return this.intensity*Math.PI}set power(t){this.intensity=t/Math.PI}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.angle=t.angle,this.penumbra=t.penumbra,this.decay=t.decay,this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}const Nd=new Yi,Yd=new si,Fd=new si;class Hd extends Od{constructor(){super(new ma(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new Cn(4,2),this._viewportCount=6,this._viewports=[new Qn(2,1,1,1),new Qn(0,1,1,1),new Qn(3,1,1,1),new Qn(1,1,1,1),new Qn(3,0,1,1),new Qn(1,0,1,1)],this._cubeDirections=[new si(1,0,0),new si(-1,0,0),new si(0,0,1),new si(0,0,-1),new si(0,1,0),new si(0,-1,0)],this._cubeUps=[new si(0,1,0),new si(0,1,0),new si(0,1,0),new si(0,1,0),new si(0,0,1),new si(0,0,-1)]}updateMatrices(t,e=0){const n=this.camera,i=this.matrix,r=t.distance||n.far;r!==n.far&&(n.far=r,n.updateProjectionMatrix()),Yd.setFromMatrixPosition(t.matrixWorld),n.position.copy(Yd),Fd.copy(n.position),Fd.add(this._cubeDirections[e]),n.up.copy(this._cubeUps[e]),n.lookAt(Fd),n.updateMatrixWorld(),i.makeTranslation(-Yd.x,-Yd.y,-Yd.z),Nd.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Nd)}}class jd extends Ed{constructor(t,e,n=0,i=1){super(t,e),this.isPointLight=!0,this.type="PointLight",this.distance=n,this.decay=i,this.shadow=new Hd}get power(){return 4*this.intensity*Math.PI}set power(t){this.intensity=t/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.decay=t.decay,this.shadow=t.shadow.clone(),this}}class Bd extends Od{constructor(){super(new Fa(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class zd extends Ed{constructor(t,e){super(t,e),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(lr.DefaultUp),this.updateMatrix(),this.target=new lr,this.shadow=new Bd}dispose(){this.shadow.dispose()}copy(t){return super.copy(t),this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}class Ud extends Ed{constructor(t,e){super(t,e),this.isAmbientLight=!0,this.type="AmbientLight"}}class Vd extends Ed{constructor(t,e,n=10,i=10){super(t,e),this.isRectAreaLight=!0,this.type="RectAreaLight",this.width=n,this.height=i}get power(){return this.intensity*this.width*this.height*Math.PI}set power(t){this.intensity=t/(this.width*this.height*Math.PI)}copy(t){return super.copy(t),this.width=t.width,this.height=t.height,this}toJSON(t){const e=super.toJSON(t);return e.object.width=this.width,e.object.height=this.height,e}}class Wd{constructor(){this.isSphericalHarmonics3=!0,this.coefficients=[];for(let t=0;t<9;t++)this.coefficients.push(new si)}set(t){for(let e=0;e<9;e++)this.coefficients[e].copy(t[e]);return this}zero(){for(let t=0;t<9;t++)this.coefficients[t].set(0,0,0);return this}getAt(t,e){const n=t.x,i=t.y,r=t.z,a=this.coefficients;return e.copy(a[0]).multiplyScalar(.282095),e.addScaledVector(a[1],.488603*i),e.addScaledVector(a[2],.488603*r),e.addScaledVector(a[3],.488603*n),e.addScaledVector(a[4],n*i*1.092548),e.addScaledVector(a[5],i*r*1.092548),e.addScaledVector(a[6],.315392*(3*r*r-1)),e.addScaledVector(a[7],n*r*1.092548),e.addScaledVector(a[8],.546274*(n*n-i*i)),e}getIrradianceAt(t,e){const n=t.x,i=t.y,r=t.z,a=this.coefficients;return e.copy(a[0]).multiplyScalar(.886227),e.addScaledVector(a[1],1.023328*i),e.addScaledVector(a[2],1.023328*r),e.addScaledVector(a[3],1.023328*n),e.addScaledVector(a[4],.858086*n*i),e.addScaledVector(a[5],.858086*i*r),e.addScaledVector(a[6],.743125*r*r-.247708),e.addScaledVector(a[7],.858086*n*r),e.addScaledVector(a[8],.429043*(n*n-i*i)),e}add(t){for(let e=0;e<9;e++)this.coefficients[e].add(t.coefficients[e]);return this}addScaledSH(t,e){for(let n=0;n<9;n++)this.coefficients[n].addScaledVector(t.coefficients[n],e);return this}scale(t){for(let e=0;e<9;e++)this.coefficients[e].multiplyScalar(t);return this}lerp(t,e){for(let n=0;n<9;n++)this.coefficients[n].lerp(t.coefficients[n],e);return this}equals(t){for(let e=0;e<9;e++)if(!this.coefficients[e].equals(t.coefficients[e]))return!1;return!0}copy(t){return this.set(t.coefficients)}clone(){return(new this.constructor).copy(this)}fromArray(t,e=0){const n=this.coefficients;for(let i=0;i<9;i++)n[i].fromArray(t,e+3*i);return this}toArray(t=[],e=0){const n=this.coefficients;for(let i=0;i<9;i++)n[i].toArray(t,e+3*i);return t}static getBasisAt(t,e){const n=t.x,i=t.y,r=t.z;e[0]=.282095,e[1]=.488603*i,e[2]=.488603*r,e[3]=.488603*n,e[4]=1.092548*n*i,e[5]=1.092548*i*r,e[6]=.315392*(3*r*r-1),e[7]=1.092548*n*r,e[8]=.546274*(n*n-i*i)}}class Gd extends Ed{constructor(t=new Wd,e=1){super(void 0,e),this.isLightProbe=!0,this.sh=t}copy(t){return super.copy(t),this.sh.copy(t.sh),this}fromJSON(t){return this.intensity=t.intensity,this.sh.fromArray(t.sh),this}toJSON(t){const e=super.toJSON(t);return e.object.sh=this.sh.toArray(),e}}class qd extends _d{constructor(t){super(t),this.textures={}}load(t,e,n,i){const r=this,a=new xd(r.manager);a.setPath(r.path),a.setRequestHeader(r.requestHeader),a.setWithCredentials(r.withCredentials),a.load(t,(function(n){try{e(r.parse(JSON.parse(n)))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}}),n,i)}parse(t){const e=this.textures;function n(t){return void 0===e[t]&&console.warn("THREE.MaterialLoader: Undefined texture",t),e[t]}const i=qd.createMaterialFromType(t.type);if(void 0!==t.uuid&&(i.uuid=t.uuid),void 0!==t.name&&(i.name=t.name),void 0!==t.color&&void 0!==i.color&&i.color.setHex(t.color),void 0!==t.roughness&&(i.roughness=t.roughness),void 0!==t.metalness&&(i.metalness=t.metalness),void 0!==t.sheen&&(i.sheen=t.sheen),void 0!==t.sheenColor&&(i.sheenColor=(new Wn).setHex(t.sheenColor)),void 0!==t.sheenRoughness&&(i.sheenRoughness=t.sheenRoughness),void 0!==t.emissive&&void 0!==i.emissive&&i.emissive.setHex(t.emissive),void 0!==t.specular&&void 0!==i.specular&&i.specular.setHex(t.specular),void 0!==t.specularIntensity&&(i.specularIntensity=t.specularIntensity),void 0!==t.specularColor&&void 0!==i.specularColor&&i.specularColor.setHex(t.specularColor),void 0!==t.shininess&&(i.shininess=t.shininess),void 0!==t.clearcoat&&(i.clearcoat=t.clearcoat),void 0!==t.clearcoatRoughness&&(i.clearcoatRoughness=t.clearcoatRoughness),void 0!==t.iridescence&&(i.iridescence=t.iridescence),void 0!==t.iridescenceIOR&&(i.iridescenceIOR=t.iridescenceIOR),void 0!==t.iridescenceThicknessRange&&(i.iridescenceThicknessRange=t.iridescenceThicknessRange),void 0!==t.transmission&&(i.transmission=t.transmission),void 0!==t.thickness&&(i.thickness=t.thickness),void 0!==t.attenuationDistance&&(i.attenuationDistance=t.attenuationDistance),void 0!==t.attenuationColor&&void 0!==i.attenuationColor&&i.attenuationColor.setHex(t.attenuationColor),void 0!==t.fog&&(i.fog=t.fog),void 0!==t.flatShading&&(i.flatShading=t.flatShading),void 0!==t.blending&&(i.blending=t.blending),void 0!==t.combine&&(i.combine=t.combine),void 0!==t.side&&(i.side=t.side),void 0!==t.shadowSide&&(i.shadowSide=t.shadowSide),void 0!==t.opacity&&(i.opacity=t.opacity),void 0!==t.transparent&&(i.transparent=t.transparent),void 0!==t.alphaTest&&(i.alphaTest=t.alphaTest),void 0!==t.depthTest&&(i.depthTest=t.depthTest),void 0!==t.depthWrite&&(i.depthWrite=t.depthWrite),void 0!==t.colorWrite&&(i.colorWrite=t.colorWrite),void 0!==t.stencilWrite&&(i.stencilWrite=t.stencilWrite),void 0!==t.stencilWriteMask&&(i.stencilWriteMask=t.stencilWriteMask),void 0!==t.stencilFunc&&(i.stencilFunc=t.stencilFunc),void 0!==t.stencilRef&&(i.stencilRef=t.stencilRef),void 0!==t.stencilFuncMask&&(i.stencilFuncMask=t.stencilFuncMask),void 0!==t.stencilFail&&(i.stencilFail=t.stencilFail),void 0!==t.stencilZFail&&(i.stencilZFail=t.stencilZFail),void 0!==t.stencilZPass&&(i.stencilZPass=t.stencilZPass),void 0!==t.wireframe&&(i.wireframe=t.wireframe),void 0!==t.wireframeLinewidth&&(i.wireframeLinewidth=t.wireframeLinewidth),void 0!==t.wireframeLinecap&&(i.wireframeLinecap=t.wireframeLinecap),void 0!==t.wireframeLinejoin&&(i.wireframeLinejoin=t.wireframeLinejoin),void 0!==t.rotation&&(i.rotation=t.rotation),1!==t.linewidth&&(i.linewidth=t.linewidth),void 0!==t.dashSize&&(i.dashSize=t.dashSize),void 0!==t.gapSize&&(i.gapSize=t.gapSize),void 0!==t.scale&&(i.scale=t.scale),void 0!==t.polygonOffset&&(i.polygonOffset=t.polygonOffset),void 0!==t.polygonOffsetFactor&&(i.polygonOffsetFactor=t.polygonOffsetFactor),void 0!==t.polygonOffsetUnits&&(i.polygonOffsetUnits=t.polygonOffsetUnits),void 0!==t.dithering&&(i.dithering=t.dithering),void 0!==t.alphaToCoverage&&(i.alphaToCoverage=t.alphaToCoverage),void 0!==t.premultipliedAlpha&&(i.premultipliedAlpha=t.premultipliedAlpha),void 0!==t.visible&&(i.visible=t.visible),void 0!==t.toneMapped&&(i.toneMapped=t.toneMapped),void 0!==t.userData&&(i.userData=t.userData),void 0!==t.vertexColors&&("number"==typeof t.vertexColors?i.vertexColors=t.vertexColors>0:i.vertexColors=t.vertexColors),void 0!==t.uniforms)for(const e in t.uniforms){const r=t.uniforms[e];switch(i.uniforms[e]={},r.type){case"t":i.uniforms[e].value=n(r.value);break;case"c":i.uniforms[e].value=(new Wn).setHex(r.value);break;case"v2":i.uniforms[e].value=(new Cn).fromArray(r.value);break;case"v3":i.uniforms[e].value=(new si).fromArray(r.value);break;case"v4":i.uniforms[e].value=(new Qn).fromArray(r.value);break;case"m3":i.uniforms[e].value=(new In).fromArray(r.value);break;case"m4":i.uniforms[e].value=(new Yi).fromArray(r.value);break;default:i.uniforms[e].value=r.value}}if(void 0!==t.defines&&(i.defines=t.defines),void 0!==t.vertexShader&&(i.vertexShader=t.vertexShader),void 0!==t.fragmentShader&&(i.fragmentShader=t.fragmentShader),void 0!==t.glslVersion&&(i.glslVersion=t.glslVersion),void 0!==t.extensions)for(const e in t.extensions)i.extensions[e]=t.extensions[e];if(void 0!==t.size&&(i.size=t.size),void 0!==t.sizeAttenuation&&(i.sizeAttenuation=t.sizeAttenuation),void 0!==t.map&&(i.map=n(t.map)),void 0!==t.matcap&&(i.matcap=n(t.matcap)),void 0!==t.alphaMap&&(i.alphaMap=n(t.alphaMap)),void 0!==t.bumpMap&&(i.bumpMap=n(t.bumpMap)),void 0!==t.bumpScale&&(i.bumpScale=t.bumpScale),void 0!==t.normalMap&&(i.normalMap=n(t.normalMap)),void 0!==t.normalMapType&&(i.normalMapType=t.normalMapType),void 0!==t.normalScale){let e=t.normalScale;!1===Array.isArray(e)&&(e=[e,e]),i.normalScale=(new Cn).fromArray(e)}return void 0!==t.displacementMap&&(i.displacementMap=n(t.displacementMap)),void 0!==t.displacementScale&&(i.displacementScale=t.displacementScale),void 0!==t.displacementBias&&(i.displacementBias=t.displacementBias),void 0!==t.roughnessMap&&(i.roughnessMap=n(t.roughnessMap)),void 0!==t.metalnessMap&&(i.metalnessMap=n(t.metalnessMap)),void 0!==t.emissiveMap&&(i.emissiveMap=n(t.emissiveMap)),void 0!==t.emissiveIntensity&&(i.emissiveIntensity=t.emissiveIntensity),void 0!==t.specularMap&&(i.specularMap=n(t.specularMap)),void 0!==t.specularIntensityMap&&(i.specularIntensityMap=n(t.specularIntensityMap)),void 0!==t.specularColorMap&&(i.specularColorMap=n(t.specularColorMap)),void 0!==t.envMap&&(i.envMap=n(t.envMap)),void 0!==t.envMapIntensity&&(i.envMapIntensity=t.envMapIntensity),void 0!==t.reflectivity&&(i.reflectivity=t.reflectivity),void 0!==t.refractionRatio&&(i.refractionRatio=t.refractionRatio),void 0!==t.lightMap&&(i.lightMap=n(t.lightMap)),void 0!==t.lightMapIntensity&&(i.lightMapIntensity=t.lightMapIntensity),void 0!==t.aoMap&&(i.aoMap=n(t.aoMap)),void 0!==t.aoMapIntensity&&(i.aoMapIntensity=t.aoMapIntensity),void 0!==t.gradientMap&&(i.gradientMap=n(t.gradientMap)),void 0!==t.clearcoatMap&&(i.clearcoatMap=n(t.clearcoatMap)),void 0!==t.clearcoatRoughnessMap&&(i.clearcoatRoughnessMap=n(t.clearcoatRoughnessMap)),void 0!==t.clearcoatNormalMap&&(i.clearcoatNormalMap=n(t.clearcoatNormalMap)),void 0!==t.clearcoatNormalScale&&(i.clearcoatNormalScale=(new Cn).fromArray(t.clearcoatNormalScale)),void 0!==t.iridescenceMap&&(i.iridescenceMap=n(t.iridescenceMap)),void 0!==t.iridescenceThicknessMap&&(i.iridescenceThicknessMap=n(t.iridescenceThicknessMap)),void 0!==t.transmissionMap&&(i.transmissionMap=n(t.transmissionMap)),void 0!==t.thicknessMap&&(i.thicknessMap=n(t.thicknessMap)),void 0!==t.sheenColorMap&&(i.sheenColorMap=n(t.sheenColorMap)),void 0!==t.sheenRoughnessMap&&(i.sheenRoughnessMap=n(t.sheenRoughnessMap)),i}setTextures(t){return this.textures=t,this}static createMaterialFromType(t){return new{ShadowMaterial:Fu,SpriteMaterial:dl,RawShaderMaterial:Hu,ShaderMaterial:pa,PointsMaterial:rc,MeshPhysicalMaterial:Bu,MeshStandardMaterial:ju,MeshPhongMaterial:zu,MeshToonMaterial:Uu,MeshNormalMaterial:Vu,MeshLambertMaterial:Wu,MeshDepthMaterial:Uo,MeshDistanceMaterial:Vo,MeshBasicMaterial:wr,MeshMatcapMaterial:Gu,LineDashedMaterial:qu,LineBasicMaterial:ql,Material:xr}[t]}}class Xd{static decodeText(t){if("undefined"!=typeof TextDecoder)return(new TextDecoder).decode(t);let e="";for(let n=0,i=t.length;n<i;n++)e+=String.fromCharCode(t[n]);try{return decodeURIComponent(escape(e))}catch(t){return e}}static extractUrlBase(t){const e=t.lastIndexOf("/");return-1===e?"./":t.slice(0,e+1)}static resolveURL(t,e){return"string"!=typeof t||""===t?"":(/^https?:\/\//i.test(e)&&/^\//.test(t)&&(e=e.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(t)||/^data:.*,.*$/i.test(t)||/^blob:.*$/i.test(t)?t:e+t)}}class $d extends Ur{constructor(){super(),this.isInstancedBufferGeometry=!0,this.type="InstancedBufferGeometry",this.instanceCount=1/0}copy(t){return super.copy(t),this.instanceCount=t.instanceCount,this}clone(){return(new this.constructor).copy(this)}toJSON(){const t=super.toJSON(this);return t.instanceCount=this.instanceCount,t.isInstancedBufferGeometry=!0,t}}class Kd extends _d{constructor(t){super(t)}load(t,e,n,i){const r=this,a=new xd(r.manager);a.setPath(r.path),a.setRequestHeader(r.requestHeader),a.setWithCredentials(r.withCredentials),a.load(t,(function(n){try{e(r.parse(JSON.parse(n)))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}}),n,i)}parse(t){const e={},n={};function i(t,i){if(void 0!==e[i])return e[i];const r=t.interleavedBuffers[i],a=function(t,e){if(void 0!==n[e])return n[e];const i=t.arrayBuffers[e],r=new Uint32Array(i).buffer;return n[e]=r,r}(t,r.buffer),s=On(r.type,a),o=new ll(s,r.stride);return o.uuid=r.uuid,e[i]=o,o}const r=t.isInstancedBufferGeometry?new $d:new Ur,a=t.data.index;if(void 0!==a){const t=On(a.type,a.array);r.setIndex(new Tr(t,1))}const s=t.data.attributes;for(const e in s){const n=s[e];let a;if(n.isInterleavedBufferAttribute){const e=i(t.data,n.data);a=new ul(e,n.itemSize,n.offset,n.normalized)}else{const t=On(n.type,n.array);a=new(n.isInstancedBufferAttribute?Bl:Tr)(t,n.itemSize,n.normalized)}void 0!==n.name&&(a.name=n.name),void 0!==n.usage&&a.setUsage(n.usage),void 0!==n.updateRange&&(a.updateRange.offset=n.updateRange.offset,a.updateRange.count=n.updateRange.count),r.setAttribute(e,a)}const o=t.data.morphAttributes;if(o)for(const e in o){const n=o[e],a=[];for(let e=0,r=n.length;e<r;e++){const r=n[e];let s;if(r.isInterleavedBufferAttribute){const e=i(t.data,r.data);s=new ul(e,r.itemSize,r.offset,r.normalized)}else{const t=On(r.type,r.array);s=new Tr(t,r.itemSize,r.normalized)}void 0!==r.name&&(s.name=r.name),a.push(s)}r.morphAttributes[e]=a}t.data.morphTargetsRelative&&(r.morphTargetsRelative=!0);const l=t.data.groups||t.data.drawcalls||t.data.offsets;if(void 0!==l)for(let t=0,e=l.length;t!==e;++t){const e=l[t];r.addGroup(e.start,e.count,e.materialIndex)}const c=t.data.boundingSphere;if(void 0!==c){const t=new si;void 0!==c.center&&t.fromArray(c.center),r.boundingSphere=new Ei(t,c.radius)}return t.name&&(r.name=t.name),t.userData&&(r.userData=t.userData),r}}class Jd extends _d{constructor(t){super(t)}load(t,e,n,i){const r=this,a=""===this.path?Xd.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||a;const s=new xd(this.manager);s.setPath(this.path),s.setRequestHeader(this.requestHeader),s.setWithCredentials(this.withCredentials),s.load(t,(function(n){let a=null;try{a=JSON.parse(n)}catch(e){return void 0!==i&&i(e),void console.error("THREE:ObjectLoader: Can't parse "+t+".",e.message)}const s=a.metadata;void 0!==s&&void 0!==s.type&&"geometry"!==s.type.toLowerCase()?r.parse(a,e):console.error("THREE.ObjectLoader: Can't load "+t)}),n,i)}async loadAsync(t,e){const n=""===this.path?Xd.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||n;const i=new xd(this.manager);i.setPath(this.path),i.setRequestHeader(this.requestHeader),i.setWithCredentials(this.withCredentials);const r=await i.loadAsync(t,e),a=JSON.parse(r),s=a.metadata;if(void 0===s||void 0===s.type||"geometry"===s.type.toLowerCase())throw new Error("THREE.ObjectLoader: Can't load "+t);return await this.parseAsync(a)}parse(t,e){const n=this.parseAnimations(t.animations),i=this.parseShapes(t.shapes),r=this.parseGeometries(t.geometries,i),a=this.parseImages(t.images,(function(){void 0!==e&&e(l)})),s=this.parseTextures(t.textures,a),o=this.parseMaterials(t.materials,s),l=this.parseObject(t.object,r,o,s,n),c=this.parseSkeletons(t.skeletons,l);if(this.bindSkeletons(l,c),void 0!==e){let t=!1;for(const e in a)if(a[e].data instanceof HTMLImageElement){t=!0;break}!1===t&&e(l)}return l}async parseAsync(t){const e=this.parseAnimations(t.animations),n=this.parseShapes(t.shapes),i=this.parseGeometries(t.geometries,n),r=await this.parseImagesAsync(t.images),a=this.parseTextures(t.textures,r),s=this.parseMaterials(t.materials,a),o=this.parseObject(t.object,i,s,a,e),l=this.parseSkeletons(t.skeletons,o);return this.bindSkeletons(o,l),o}parseShapes(t){const e={};if(void 0!==t)for(let n=0,i=t.length;n<i;n++){const i=(new $c).fromJSON(t[n]);e[i.uuid]=i}return e}parseSkeletons(t,e){const n={},i={};if(e.traverse((function(t){t.isBone&&(i[t.uuid]=t)})),void 0!==t)for(let e=0,r=t.length;e<r;e++){const r=(new jl).fromJSON(t[e],i);n[r.uuid]=r}return n}parseGeometries(t,e){const n={};if(void 0!==t){const i=new Kd;for(let r=0,a=t.length;r<a;r++){let a;const s=t[r];switch(s.type){case"BufferGeometry":case"InstancedBufferGeometry":a=i.parse(s);break;default:s.type in Yu?a=Yu[s.type].fromJSON(s,e):console.warn(`THREE.ObjectLoader: Unsupported geometry type "${s.type}"`)}a.uuid=s.uuid,void 0!==s.name&&(a.name=s.name),!0===a.isBufferGeometry&&void 0!==s.userData&&(a.userData=s.userData),n[s.uuid]=a}}return n}parseMaterials(t,e){const n={},i={};if(void 0!==t){const r=new qd;r.setTextures(e);for(let e=0,a=t.length;e<a;e++){const a=t[e];void 0===n[a.uuid]&&(n[a.uuid]=r.parse(a)),i[a.uuid]=n[a.uuid]}}return i}parseAnimations(t){const e={};if(void 0!==t)for(let n=0;n<t.length;n++){const i=t[n],r=pd.parse(i);e[r.uuid]=r}return e}parseImages(t,e){const n=this,i={};let r;function a(t){if("string"==typeof t){const e=t;return function(t){return n.manager.itemStart(t),r.load(t,(function(){n.manager.itemEnd(t)}),void 0,(function(){n.manager.itemError(t),n.manager.itemEnd(t)}))}(/^(\/\/)|([a-z]+:(\/\/)?)/i.test(e)?e:n.resourcePath+e)}return t.data?{data:On(t.type,t.data),width:t.width,height:t.height}:null}if(void 0!==t&&t.length>0){const n=new gd(e);r=new Sd(n),r.setCrossOrigin(this.crossOrigin);for(let e=0,n=t.length;e<n;e++){const n=t[e],r=n.url;if(Array.isArray(r)){const t=[];for(let e=0,n=r.length;e<n;e++){const n=a(r[e]);null!==n&&(n instanceof HTMLImageElement?t.push(n):t.push(new Yl(n.data,n.width,n.height)))}i[n.uuid]=new Xn(t)}else{const t=a(n.url);i[n.uuid]=new Xn(t)}}}return i}async parseImagesAsync(t){const e=this,n={};let i;async function r(t){if("string"==typeof t){const n=t,r=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(n)?n:e.resourcePath+n;return await i.loadAsync(r)}return t.data?{data:On(t.type,t.data),width:t.width,height:t.height}:null}if(void 0!==t&&t.length>0){i=new Sd(this.manager),i.setCrossOrigin(this.crossOrigin);for(let e=0,i=t.length;e<i;e++){const i=t[e],a=i.url;if(Array.isArray(a)){const t=[];for(let e=0,n=a.length;e<n;e++){const n=a[e],i=await r(n);null!==i&&(i instanceof HTMLImageElement?t.push(i):t.push(new Yl(i.data,i.width,i.height)))}n[i.uuid]=new Xn(t)}else{const t=await r(i.url);n[i.uuid]=new Xn(t)}}}return n}parseTextures(t,e){function n(t,e){return"number"==typeof t?t:(console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",t),e[t])}const i={};if(void 0!==t)for(let r=0,a=t.length;r<a;r++){const a=t[r];void 0===a.image&&console.warn('THREE.ObjectLoader: No "image" specified for',a.uuid),void 0===e[a.image]&&console.warn("THREE.ObjectLoader: Undefined image",a.image);const s=e[a.image],o=s.data;let l;Array.isArray(o)?(l=new va,6===o.length&&(l.needsUpdate=!0)):(l=o&&o.data?new Yl:new Jn,o&&(l.needsUpdate=!0)),l.source=s,l.uuid=a.uuid,void 0!==a.name&&(l.name=a.name),void 0!==a.mapping&&(l.mapping=n(a.mapping,Qd)),void 0!==a.offset&&l.offset.fromArray(a.offset),void 0!==a.repeat&&l.repeat.fromArray(a.repeat),void 0!==a.center&&l.center.fromArray(a.center),void 0!==a.rotation&&(l.rotation=a.rotation),void 0!==a.wrap&&(l.wrapS=n(a.wrap[0],Zd),l.wrapT=n(a.wrap[1],Zd)),void 0!==a.format&&(l.format=a.format),void 0!==a.type&&(l.type=a.type),void 0!==a.encoding&&(l.encoding=a.encoding),void 0!==a.minFilter&&(l.minFilter=n(a.minFilter,th)),void 0!==a.magFilter&&(l.magFilter=n(a.magFilter,th)),void 0!==a.anisotropy&&(l.anisotropy=a.anisotropy),void 0!==a.flipY&&(l.flipY=a.flipY),void 0!==a.premultiplyAlpha&&(l.premultiplyAlpha=a.premultiplyAlpha),void 0!==a.unpackAlignment&&(l.unpackAlignment=a.unpackAlignment),void 0!==a.userData&&(l.userData=a.userData),i[a.uuid]=l}return i}parseObject(t,e,n,i,r){let a,s,o;function l(t){return void 0===e[t]&&console.warn("THREE.ObjectLoader: Undefined geometry",t),e[t]}function c(t){if(void 0!==t){if(Array.isArray(t)){const e=[];for(let i=0,r=t.length;i<r;i++){const r=t[i];void 0===n[r]&&console.warn("THREE.ObjectLoader: Undefined material",r),e.push(n[r])}return e}return void 0===n[t]&&console.warn("THREE.ObjectLoader: Undefined material",t),n[t]}}function u(t){return void 0===i[t]&&console.warn("THREE.ObjectLoader: Undefined texture",t),i[t]}switch(t.type){case"Scene":a=new ol,void 0!==t.background&&(Number.isInteger(t.background)?a.background=new Wn(t.background):a.background=u(t.background)),void 0!==t.environment&&(a.environment=u(t.environment)),void 0!==t.fog&&("Fog"===t.fog.type?a.fog=new sl(t.fog.color,t.fog.near,t.fog.far):"FogExp2"===t.fog.type&&(a.fog=new al(t.fog.color,t.fog.density)));break;case"PerspectiveCamera":a=new ma(t.fov,t.aspect,t.near,t.far),void 0!==t.focus&&(a.focus=t.focus),void 0!==t.zoom&&(a.zoom=t.zoom),void 0!==t.filmGauge&&(a.filmGauge=t.filmGauge),void 0!==t.filmOffset&&(a.filmOffset=t.filmOffset),void 0!==t.view&&(a.view=Object.assign({},t.view));break;case"OrthographicCamera":a=new Fa(t.left,t.right,t.top,t.bottom,t.near,t.far),void 0!==t.zoom&&(a.zoom=t.zoom),void 0!==t.view&&(a.view=Object.assign({},t.view));break;case"AmbientLight":a=new Ud(t.color,t.intensity);break;case"DirectionalLight":a=new zd(t.color,t.intensity);break;case"PointLight":a=new jd(t.color,t.intensity,t.distance,t.decay);break;case"RectAreaLight":a=new Vd(t.color,t.intensity,t.width,t.height);break;case"SpotLight":a=new Pd(t.color,t.intensity,t.distance,t.angle,t.penumbra,t.decay);break;case"HemisphereLight":a=new Cd(t.color,t.groundColor,t.intensity);break;case"LightProbe":a=(new Gd).fromJSON(t);break;case"SkinnedMesh":s=l(t.geometry),o=c(t.material),a=new Pl(s,o),void 0!==t.bindMode&&(a.bindMode=t.bindMode),void 0!==t.bindMatrix&&a.bindMatrix.fromArray(t.bindMatrix),void 0!==t.skeleton&&(a.skeleton=t.skeleton);break;case"Mesh":s=l(t.geometry),o=c(t.material),a=new oa(s,o);break;case"InstancedMesh":s=l(t.geometry),o=c(t.material);const e=t.count,n=t.instanceMatrix,i=t.instanceColor;a=new Gl(s,o,e),a.instanceMatrix=new Bl(new Float32Array(n.array),16),void 0!==i&&(a.instanceColor=new Bl(new Float32Array(i.array),i.itemSize));break;case"LOD":a=new Cl;break;case"Line":a=new Zl(l(t.geometry),c(t.material));break;case"LineLoop":a=new ic(l(t.geometry),c(t.material));break;case"LineSegments":a=new nc(l(t.geometry),c(t.material));break;case"PointCloud":case"Points":a=new cc(l(t.geometry),c(t.material));break;case"Sprite":a=new Tl(c(t.material));break;case"Group":a=new Ko;break;case"Bone":a=new Nl;break;default:a=new lr}if(a.uuid=t.uuid,void 0!==t.name&&(a.name=t.name),void 0!==t.matrix?(a.matrix.fromArray(t.matrix),void 0!==t.matrixAutoUpdate&&(a.matrixAutoUpdate=t.matrixAutoUpdate),a.matrixAutoUpdate&&a.matrix.decompose(a.position,a.quaternion,a.scale)):(void 0!==t.position&&a.position.fromArray(t.position),void 0!==t.rotation&&a.rotation.fromArray(t.rotation),void 0!==t.quaternion&&a.quaternion.fromArray(t.quaternion),void 0!==t.scale&&a.scale.fromArray(t.scale)),void 0!==t.castShadow&&(a.castShadow=t.castShadow),void 0!==t.receiveShadow&&(a.receiveShadow=t.receiveShadow),t.shadow&&(void 0!==t.shadow.bias&&(a.shadow.bias=t.shadow.bias),void 0!==t.shadow.normalBias&&(a.shadow.normalBias=t.shadow.normalBias),void 0!==t.shadow.radius&&(a.shadow.radius=t.shadow.radius),void 0!==t.shadow.mapSize&&a.shadow.mapSize.fromArray(t.shadow.mapSize),void 0!==t.shadow.camera&&(a.shadow.camera=this.parseObject(t.shadow.camera))),void 0!==t.visible&&(a.visible=t.visible),void 0!==t.frustumCulled&&(a.frustumCulled=t.frustumCulled),void 0!==t.renderOrder&&(a.renderOrder=t.renderOrder),void 0!==t.userData&&(a.userData=t.userData),void 0!==t.layers&&(a.layers.mask=t.layers),void 0!==t.children){const s=t.children;for(let t=0;t<s.length;t++)a.add(this.parseObject(s[t],e,n,i,r))}if(void 0!==t.animations){const e=t.animations;for(let t=0;t<e.length;t++){const n=e[t];a.animations.push(r[n])}}if("LOD"===t.type){void 0!==t.autoUpdate&&(a.autoUpdate=t.autoUpdate);const e=t.levels;for(let t=0;t<e.length;t++){const n=e[t],i=a.getObjectByProperty("uuid",n.object);void 0!==i&&a.addLevel(i,n.distance)}}return a}bindSkeletons(t,e){0!==Object.keys(e).length&&t.traverse((function(t){if(!0===t.isSkinnedMesh&&void 0!==t.skeleton){const n=e[t.skeleton];void 0===n?console.warn("THREE.ObjectLoader: No skeleton found with UUID:",t.skeleton):t.bind(n,t.bindMatrix)}}))}}const Qd={UVMapping:nt,CubeReflectionMapping:it,CubeRefractionMapping:rt,EquirectangularReflectionMapping:at,EquirectangularRefractionMapping:st,CubeUVReflectionMapping:ot},Zd={RepeatWrapping:lt,ClampToEdgeWrapping:ct,MirroredRepeatWrapping:ut},th={NearestFilter:dt,NearestMipmapNearestFilter:ht,NearestMipmapLinearFilter:ft,LinearFilter:gt,LinearMipmapNearestFilter:vt,LinearMipmapLinearFilter:yt};class eh extends _d{constructor(t){super(t),this.isImageBitmapLoader=!0,"undefined"==typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),"undefined"==typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(t){return this.options=t,this}load(t,e,n,i){void 0===t&&(t=""),void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const r=this,a=md.get(t);if(void 0!==a)return r.manager.itemStart(t),setTimeout((function(){e&&e(a),r.manager.itemEnd(t)}),0),a;const s={};s.credentials="anonymous"===this.crossOrigin?"same-origin":"include",s.headers=this.requestHeader,fetch(t,s).then((function(t){return t.blob()})).then((function(t){return createImageBitmap(t,Object.assign(r.options,{colorSpaceConversion:"none"}))})).then((function(n){md.add(t,n),e&&e(n),r.manager.itemEnd(t)})).catch((function(e){i&&i(e),r.manager.itemError(t),r.manager.itemEnd(t)})),r.manager.itemStart(t)}}let nh;const ih={getContext:function(){return void 0===nh&&(nh=new(window.AudioContext||window.webkitAudioContext)),nh},setContext:function(t){nh=t}};class rh extends _d{constructor(t){super(t)}load(t,e,n,i){const r=this,a=new xd(this.manager);a.setResponseType("arraybuffer"),a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(t,(function(n){try{const t=n.slice(0);ih.getContext().decodeAudioData(t,(function(t){e(t)}))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}}),n,i)}}class ah extends Gd{constructor(t,e,n=1){super(void 0,n),this.isHemisphereLightProbe=!0;const i=(new Wn).set(t),r=(new Wn).set(e),a=new si(i.r,i.g,i.b),s=new si(r.r,r.g,r.b),o=Math.sqrt(Math.PI),l=o*Math.sqrt(.75);this.sh.coefficients[0].copy(a).add(s).multiplyScalar(o),this.sh.coefficients[1].copy(a).sub(s).multiplyScalar(l)}}class sh extends Gd{constructor(t,e=1){super(void 0,e),this.isAmbientLightProbe=!0;const n=(new Wn).set(t);this.sh.coefficients[0].set(n.r,n.g,n.b).multiplyScalar(2*Math.sqrt(Math.PI))}}const oh=new Yi,lh=new Yi,ch=new Yi;class uh{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new ma,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new ma,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(t){const e=this._cache;if(e.focus!==t.focus||e.fov!==t.fov||e.aspect!==t.aspect*this.aspect||e.near!==t.near||e.far!==t.far||e.zoom!==t.zoom||e.eyeSep!==this.eyeSep){e.focus=t.focus,e.fov=t.fov,e.aspect=t.aspect*this.aspect,e.near=t.near,e.far=t.far,e.zoom=t.zoom,e.eyeSep=this.eyeSep,ch.copy(t.projectionMatrix);const n=e.eyeSep/2,i=n*e.near/e.focus,r=e.near*Math.tan(vn*e.fov*.5)/e.zoom;let a,s;lh.elements[12]=-n,oh.elements[12]=n,a=-r*e.aspect+i,s=r*e.aspect+i,ch.elements[0]=2*e.near/(s-a),ch.elements[8]=(s+a)/(s-a),this.cameraL.projectionMatrix.copy(ch),a=-r*e.aspect-i,s=r*e.aspect-i,ch.elements[0]=2*e.near/(s-a),ch.elements[8]=(s+a)/(s-a),this.cameraR.projectionMatrix.copy(ch)}this.cameraL.matrixWorld.copy(t.matrixWorld).multiply(lh),this.cameraR.matrixWorld.copy(t.matrixWorld).multiply(oh)}}class dh{constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=hh(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=hh();t=(e-this.oldTime)/1e3,this.oldTime=e,this.elapsedTime+=t}return t}}function hh(){return("undefined"==typeof performance?Date:performance).now()}const ph=new si,fh=new ai,mh=new si,gh=new si;class vh extends lr{constructor(){super(),this.type="AudioListener",this.context=ih.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new dh}getInput(){return this.gain}removeFilter(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(t){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=t,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}updateMatrixWorld(t){super.updateMatrixWorld(t);const e=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(ph,fh,mh),gh.set(0,0,-1).applyQuaternion(fh),e.positionX){const t=this.context.currentTime+this.timeDelta;e.positionX.linearRampToValueAtTime(ph.x,t),e.positionY.linearRampToValueAtTime(ph.y,t),e.positionZ.linearRampToValueAtTime(ph.z,t),e.forwardX.linearRampToValueAtTime(gh.x,t),e.forwardY.linearRampToValueAtTime(gh.y,t),e.forwardZ.linearRampToValueAtTime(gh.z,t),e.upX.linearRampToValueAtTime(n.x,t),e.upY.linearRampToValueAtTime(n.y,t),e.upZ.linearRampToValueAtTime(n.z,t)}else e.setPosition(ph.x,ph.y,ph.z),e.setOrientation(gh.x,gh.y,gh.z,n.x,n.y,n.z)}}class _h extends lr{constructor(t){super(),this.type="Audio",this.listener=t,this.context=t.context,this.gain=this.context.createGain(),this.gain.connect(t.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(t){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=t,this.connect(),this}setMediaElementSource(t){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(t),this.connect(),this}setMediaStreamSource(t){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(t),this.connect(),this}setBuffer(t){return this.buffer=t,this.sourceType="buffer",this.autoplay&&this.play(),this}play(t=0){if(!0===this.isPlaying)return void console.warn("THREE.Audio: Audio is already playing.");if(!1===this.hasPlaybackControl)return void console.warn("THREE.Audio: this Audio has no playback control.");this._startedAt=this.context.currentTime+t;const e=this.context.createBufferSource();return e.buffer=this.buffer,e.loop=this.loop,e.loopStart=this.loopStart,e.loopEnd=this.loopEnd,e.onended=this.onEnded.bind(this),e.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=e,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(!1!==this.hasPlaybackControl)return!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this;console.warn("THREE.Audio: this Audio has no playback control.")}stop(){if(!1!==this.hasPlaybackControl)return this._progress=0,this.source.stop(),this.source.onended=null,this.isPlaying=!1,this;console.warn("THREE.Audio: this Audio has no playback control.")}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let t=1,e=this.filters.length;t<e;t++)this.filters[t-1].connect(this.filters[t]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this._connected=!0,this}disconnect(){if(this.filters.length>0){this.source.disconnect(this.filters[0]);for(let t=1,e=this.filters.length;t<e;t++)this.filters[t-1].disconnect(this.filters[t]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this._connected=!1,this}getFilters(){return this.filters}setFilters(t){return t||(t=[]),!0===this._connected?(this.disconnect(),this.filters=t.slice(),this.connect()):this.filters=t.slice(),this}setDetune(t){if(this.detune=t,void 0!==this.source.detune)return!0===this.isPlaying&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this}getDetune(){return this.detune}getFilter(){return this.getFilters()[0]}setFilter(t){return this.setFilters(t?[t]:[])}setPlaybackRate(t){if(!1!==this.hasPlaybackControl)return this.playbackRate=t,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this;console.warn("THREE.Audio: this Audio has no playback control.")}getPlaybackRate(){return this.playbackRate}onEnded(){this.isPlaying=!1}getLoop(){return!1===this.hasPlaybackControl?(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop}setLoop(t){if(!1!==this.hasPlaybackControl)return this.loop=t,!0===this.isPlaying&&(this.source.loop=this.loop),this;console.warn("THREE.Audio: this Audio has no playback control.")}setLoopStart(t){return this.loopStart=t,this}setLoopEnd(t){return this.loopEnd=t,this}getVolume(){return this.gain.gain.value}setVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}}const yh=new si,bh=new ai,xh=new si,wh=new si;class Mh extends _h{constructor(t){super(t),this.panner=this.context.createPanner(),this.panner.panningModel="HRTF",this.panner.connect(this.gain)}disconnect(){super.disconnect(),this.panner.disconnect(this.gain)}getOutput(){return this.panner}getRefDistance(){return this.panner.refDistance}setRefDistance(t){return this.panner.refDistance=t,this}getRolloffFactor(){return this.panner.rolloffFactor}setRolloffFactor(t){return this.panner.rolloffFactor=t,this}getDistanceModel(){return this.panner.distanceModel}setDistanceModel(t){return this.panner.distanceModel=t,this}getMaxDistance(){return this.panner.maxDistance}setMaxDistance(t){return this.panner.maxDistance=t,this}setDirectionalCone(t,e,n){return this.panner.coneInnerAngle=t,this.panner.coneOuterAngle=e,this.panner.coneOuterGain=n,this}updateMatrixWorld(t){if(super.updateMatrixWorld(t),!0===this.hasPlaybackControl&&!1===this.isPlaying)return;this.matrixWorld.decompose(yh,bh,xh),wh.set(0,0,1).applyQuaternion(bh);const e=this.panner;if(e.positionX){const t=this.context.currentTime+this.listener.timeDelta;e.positionX.linearRampToValueAtTime(yh.x,t),e.positionY.linearRampToValueAtTime(yh.y,t),e.positionZ.linearRampToValueAtTime(yh.z,t),e.orientationX.linearRampToValueAtTime(wh.x,t),e.orientationY.linearRampToValueAtTime(wh.y,t),e.orientationZ.linearRampToValueAtTime(wh.z,t)}else e.setPosition(yh.x,yh.y,yh.z),e.setOrientation(wh.x,wh.y,wh.z)}}class Sh{constructor(t,e=2048){this.analyser=t.context.createAnalyser(),this.analyser.fftSize=e,this.data=new Uint8Array(this.analyser.frequencyBinCount),t.getOutput().connect(this.analyser)}getFrequencyData(){return this.analyser.getByteFrequencyData(this.data),this.data}getAverageFrequency(){let t=0;const e=this.getFrequencyData();for(let n=0;n<e.length;n++)t+=e[n];return t/e.length}}class Th{constructor(t,e,n){let i,r,a;switch(this.binding=t,this.valueSize=n,e){case"quaternion":i=this._slerp,r=this._slerpAdditive,a=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(6*n),this._workIndex=5;break;case"string":case"bool":i=this._select,r=this._select,a=this._setAdditiveIdentityOther,this.buffer=new Array(5*n);break;default:i=this._lerp,r=this._lerpAdditive,a=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(5*n)}this._mixBufferRegion=i,this._mixBufferRegionAdditive=r,this._setIdentity=a,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}accumulate(t,e){const n=this.buffer,i=this.valueSize,r=t*i+i;let a=this.cumulativeWeight;if(0===a){for(let t=0;t!==i;++t)n[r+t]=n[t];a=e}else{a+=e;const t=e/a;this._mixBufferRegion(n,r,0,t,i)}this.cumulativeWeight=a}accumulateAdditive(t){const e=this.buffer,n=this.valueSize,i=n*this._addIndex;0===this.cumulativeWeightAdditive&&this._setIdentity(),this._mixBufferRegionAdditive(e,i,0,t,n),this.cumulativeWeightAdditive+=t}apply(t){const e=this.valueSize,n=this.buffer,i=t*e+e,r=this.cumulativeWeight,a=this.cumulativeWeightAdditive,s=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,r<1){const t=e*this._origIndex;this._mixBufferRegion(n,i,t,1-r,e)}a>0&&this._mixBufferRegionAdditive(n,i,this._addIndex*e,1,e);for(let t=e,r=e+e;t!==r;++t)if(n[t]!==n[t+e]){s.setValue(n,i);break}}saveOriginalState(){const t=this.binding,e=this.buffer,n=this.valueSize,i=n*this._origIndex;t.getValue(e,i);for(let t=n,r=i;t!==r;++t)e[t]=e[i+t%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){const t=3*this.valueSize;this.binding.setValue(this.buffer,t)}_setAdditiveIdentityNumeric(){const t=this._addIndex*this.valueSize,e=t+this.valueSize;for(let n=t;n<e;n++)this.buffer[n]=0}_setAdditiveIdentityQuaternion(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}_setAdditiveIdentityOther(){const t=this._origIndex*this.valueSize,e=this._addIndex*this.valueSize;for(let n=0;n<this.valueSize;n++)this.buffer[e+n]=this.buffer[t+n]}_select(t,e,n,i,r){if(i>=.5)for(let i=0;i!==r;++i)t[e+i]=t[n+i]}_slerp(t,e,n,i){ai.slerpFlat(t,e,t,e,t,n,i)}_slerpAdditive(t,e,n,i,r){const a=this._workIndex*r;ai.multiplyQuaternionsFlat(t,a,t,e,t,n),ai.slerpFlat(t,e,t,e,t,a,i)}_lerp(t,e,n,i,r){const a=1-i;for(let s=0;s!==r;++s){const r=e+s;t[r]=t[r]*a+t[n+s]*i}}_lerpAdditive(t,e,n,i,r){for(let a=0;a!==r;++a){const r=e+a;t[r]=t[r]+t[n+a]*i}}}const Ah=new RegExp("[\\[\\]\\.:\\/]","g"),Lh="[^"+"\\[\\]\\.:\\/".replace("\\.","")+"]",Eh=new RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC","[^\\[\\]\\.:\\/]")+/(WCOD+)?/.source.replace("WCOD",Lh)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC","[^\\[\\]\\.:\\/]")+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC","[^\\[\\]\\.:\\/]")+"$"),Ch=["material","materials","bones","map"];class Ih{constructor(t,e,n){this.path=e,this.parsedPath=n||Ih.parseTrackName(e),this.node=Ih.findNode(t,this.parsedPath.nodeName)||t,this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(t,e,n){return t&&t.isAnimationObjectGroup?new Ih.Composite(t,e,n):new Ih(t,e,n)}static sanitizeNodeName(t){return t.replace(/\s/g,"_").replace(Ah,"")}static parseTrackName(t){const e=Eh.exec(t);if(null===e)throw new Error("PropertyBinding: Cannot parse trackName: "+t);const n={nodeName:e[2],objectName:e[3],objectIndex:e[4],propertyName:e[5],propertyIndex:e[6]},i=n.nodeName&&n.nodeName.lastIndexOf(".");if(void 0!==i&&-1!==i){const t=n.nodeName.substring(i+1);-1!==Ch.indexOf(t)&&(n.nodeName=n.nodeName.substring(0,i),n.objectName=t)}if(null===n.propertyName||0===n.propertyName.length)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+t);return n}static findNode(t,e){if(void 0===e||""===e||"."===e||-1===e||e===t.name||e===t.uuid)return t;if(t.skeleton){const n=t.skeleton.getBoneByName(e);if(void 0!==n)return n}if(t.children){const n=function(t){for(let i=0;i<t.length;i++){const r=t[i];if(r.name===e||r.uuid===e)return r;const a=n(r.children);if(a)return a}return null},i=n(t.children);if(i)return i}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(t,e){t[e]=this.targetObject[this.propertyName]}_getValue_array(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)t[e++]=n[i]}_getValue_arrayElement(t,e){t[e]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(t,e){this.resolvedProperty.toArray(t,e)}_setValue_direct(t,e){this.targetObject[this.propertyName]=t[e]}_setValue_direct_setNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)n[i]=t[e++]}_setValue_array_setNeedsUpdate(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)n[i]=t[e++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)n[i]=t[e++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(t,e){this.resolvedProperty[this.propertyIndex]=t[e]}_setValue_arrayElement_setNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(t,e){this.resolvedProperty.fromArray(t,e)}_setValue_fromArray_setNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(t,e){this.bind(),this.getValue(t,e)}_setValue_unbound(t,e){this.bind(),this.setValue(t,e)}bind(){let t=this.node;const e=this.parsedPath,n=e.objectName,i=e.propertyName;let r=e.propertyIndex;if(t||(t=Ih.findNode(this.rootNode,e.nodeName)||this.rootNode,this.node=t),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!t)return void console.error("THREE.PropertyBinding: Trying to update node for track: "+this.path+" but it wasn't found.");if(n){let i=e.objectIndex;switch(n){case"materials":if(!t.material)return void console.error("THREE.PropertyBinding: Can not bind to material as no
415de does not have a material.",this);if(!t.material.materials)return void console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);t=t.material.materials;break;case"bones":if(!t.skeleton)return void console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);t=t.skeleton.bones;for(let e=0;e<t.length;e++)if(t[e].name===i){i=e;break}break;case"map":if(!t.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!t.material.map)return void console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);t=t.material.map;break;default:if(void 0===t[n])return void console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);t=t[n]}if(void 0!==i){if(void 0===t[i])return void console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,t);t=t[i]}}const a=t[i];if(void 0===a){const n=e.nodeName;return void console.error("THREE.PropertyBinding: Trying to update property for track: "+n+"."+i+" but it wasn't found.",t)}let s=this.Versioning.None;this.targetObject=t,void 0!==t.needsUpdate?s=this.Versioning.NeedsUpdate:void 0!==t.matrixWorldNeedsUpdate&&(s=this.Versioning.MatrixWorldNeedsUpdate);let o=this.BindingType.Direct;if(void 0!==r){if("morphTargetInfluences"===i){if(!t.geometry)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);if(!t.geometry.morphAttributes)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);void 0!==t.morphTargetDictionary[r]&&(r=t.morphTargetDictionary[r])}o=this.BindingType.ArrayElement,this.resolvedProperty=a,this.propertyIndex=r}else void 0!==a.fromArray&&void 0!==a.toArray?(o=this.BindingType.HasFromToArray,this.resolvedProperty=a):Array.isArray(a)?(o=this.BindingType.EntireArray,this.resolvedProperty=a):this.propertyName=i;this.getValue=this.GetterByBindingType[o],this.setValue=this.SetterByBindingTypeAndVersioning[o][s]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}Ih.Composite=class{constructor(t,e,n){const i=n||Ih.parseTrackName(e);this._targetGroup=t,this._bindings=t.subscribe_(e,i)}getValue(t,e){this.bind();const n=this._targetGroup.nCachedObjects_,i=this._bindings[n];void 0!==i&&i.getValue(t,e)}setValue(t,e){const n=this._bindings;for(let i=this._targetGroup.nCachedObjects_,r=n.length;i!==r;++i)n[i].setValue(t,e)}bind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].bind()}unbind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].unbind()}},Ih.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Ih.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Ih.prototype.GetterByBindingType=[Ih.prototype._getValue_direct,Ih.prototype._getValue_array,Ih.prototype._getValue_arrayElement,Ih.prototype._getValue_toArray],Ih.prototype.SetterByBindingTypeAndVersioning=[[Ih.prototype._setValue_direct,Ih.prototype._setValue_direct_setNeedsUpdate,Ih.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Ih.prototype._setValue_array,Ih.prototype._setValue_array_setNeedsUpdate,Ih.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Ih.prototype._setValue_arrayElement,Ih.prototype._setValue_arrayElement_setNeedsUpdate,Ih.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Ih.prototype._setValue_fromArray,Ih.prototype._setValue_fromArray_setNeedsUpdate,Ih.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];class Dh{constructor(){this.isAnimationObjectGroup=!0,this.uuid=yn(),this._objects=Array.prototype.slice.call(arguments),this.nCachedObjects_=0;const t={};this._indicesByUUID=t;for(let e=0,n=arguments.length;e!==n;++e)t[arguments[e].uuid]=e;this._paths=[],this._parsedPaths=[],this._bindings=[],this._bindingsIndicesByPath={};const e=this;this.stats={objects:{get total(){return e._objects.length},get inUse(){return this.total-e.nCachedObjects_}},get bindingsPerObject(){return e._bindings.length}}}add(){const t=this._objects,e=this._indicesByUUID,n=this._paths,i=this._parsedPaths,r=this._bindings,a=r.length;let s=void 0,o=t.length,l=this.nCachedObjects_;for(let c=0,u=arguments.length;c!==u;++c){const u=arguments[c],d=u.uuid;let h=e[d];if(void 0===h){h=o++,e[d]=h,t.push(u);for(let t=0,e=a;t!==e;++t)r[t].push(new Ih(u,n[t],i[t]))}else if(h<l){s=t[h];const o=--l,c=t[o];e[c.uuid]=h,t[h]=c,e[d]=o,t[o]=u;for(let t=0,e=a;t!==e;++t){const e=r[t],a=e[o];let s=e[h];e[h]=a,void 0===s&&(s=new Ih(u,n[t],i[t])),e[o]=s}}else t[h]!==s&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastru
415cture when reloading scenes.")}this.nCachedObjects_=l}remove(){const t=this._objects,e=this._indicesByUUID,n=this._bindings,i=n.length;let r=this.nCachedObjects_;for(let a=0,s=arguments.length;a!==s;++a){const s=arguments[a],o=s.uuid,l=e[o];if(void 0!==l&&l>=r){const a=r++,c=t[a];e[c.uuid]=l,t[l]=c,e[o]=a,t[a]=s;for(let t=0,e=i;t!==e;++t){const e=n[t],i=e[a],r=e[l];e[l]=i,e[a]=r}}}this.nCachedObjects_=r}uncache(){const t=this._objects,e=this._indicesByUUID,n=this._bindings,i=n.length;let r=this.nCachedObjects_,a=t.length;for(let s=0,o=arguments.length;s!==o;++s){const o=arguments[s].uuid,l=e[o];if(void 0!==l)if(delete e[o],l<r){const s=--r,o=t[s],c=--a,u=t[c];e[o.uuid]=l,t[l]=o,e[u.uuid]=s,t[s]=u,t.pop();for(let t=0,e=i;t!==e;++t){const e=n[t],i=e[s],r=e[c];e[l]=i,e[s]=r,e.pop()}}else{const r=--a,s=t[r];r>0&&(e[s.uuid]=l),t[l]=s,t.pop();for(let t=0,e=i;t!==e;++t){const e=n[t];e[l]=e[r],e.pop()}}}this.nCachedObjects_=r}subscribe_(t,e){const n=this._bindingsIndicesByPath;let i=n[t];const r=this._bindings;if(void 0!==i)return r[i];const a=this._paths,s=this._parsedPaths,o=this._objects,l=o.length,c=this.nCachedObjects_,u=new Array(l);i=r.length,n[t]=i,a.push(t),s.push(e),r.push(u);for(let n=c,i=o.length;n!==i;++n){const i=o[n];u[n]=new Ih(i,t,e)}return u}unsubscribe_(t){const e=this._bindingsIndicesByPath,n=e[t];if(void 0!==n){const i=this._paths,r=this._parsedPaths,a=this._bindings,s=a.length-1,o=a[s];e[t[s]]=n,a[n]=o,a.pop(),r[n]=r[s],r.pop(),i[n]=i[s],i.pop()}}}class kh{constructor(t,e,n=null,i=e.blendMode){this._mixer=t,this._clip=e,this._localRoot=n,this.blendMode=i;const r=e.tracks,a=r.length,s=new Array(a),o={endingStart:we,endingEnd:we};for(let t=0;t!==a;++t){const e=r[t].createInterpolant(null);s[t]=e,e.settings=o}this._interpolantSettings=o,this._interpolants=s,this._propertyBindings=new Array(a),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=ve,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(t){return this._startTime=t,this}setLoop(t,e){return this.loop=t,this.repetitions=e,this}setEffectiveWeight(t){return this.weight=t,this._effectiveWeight=this.enabled?t:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(t){return this._scheduleFading(t,0,1)}fadeOut(t){return this._scheduleFading(t,1,0)}crossFadeFrom(t,e,n){if(t.fadeOut(e),this.fadeIn(e),n){const n=this._clip.duration,i=t._clip.duration,r=i/n,a=n/i;t.warp(1,r,e),this.warp(a,1,e)}return this}crossFadeTo(t,e,n){return t.crossFadeFrom(this,e,n)}stopFading(){const t=this._weightInterpolant;return null!==t&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}setEffectiveTimeScale(t){return this.timeScale=t,this._effectiveTimeScale=this.paused?0:t,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(t){return this.timeScale=this._clip.duration/t,this.stopWarping()}syncWith(t){return this.time=t.time,this.timeScale=t.timeScale,this.stopWarping()}halt(t){return this.warp(this._effectiveTimeScale,0,t)}warp(t,e,n){const i=this._mixer,r=i.time,a=this.timeScale;let s=this._timeScaleInterpolant;null===s&&(s=i._lendControlInterpolant(),this._timeScaleInterpolant=s);const o=s.parameterPositions,l=s.sampleValues;return o[0]=r,o[1]=r+n,l[0]=t/a,l[1]=e/a,this}stopWarping(){const t=this._timeScaleInterpolant;return null!==t&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(t,e,n,i){if(!this.enabled)return void this._updateWeight(t);const r=this._startTime;if(null!==r){const i=(t-r)*n;i<0||0===n?e=0:(this._startTime=null,e=n*i)}e*=this._updateTimeScale(t);const a=this._updateTime(e),s=this._updateWeight(t);if(s>0){const t=this._interpolants,e=this._propertyBindings;switch(this.blendMode){case Ae:for(let n=0,i=t.length;n!==i;++n)t[n].evaluate(a),e[n].accumulateAdditive(s);break;case Te:default:for(let n=0,r=t.length;n!==r;++n)t[n].evaluate(a),e[n].accumulate(i,s)}}}_updateWeight(t){let e=0;if(this.enabled){e=this.weight;const n=this._weightInterpolant;if(null!==n){const i=n.evaluate(t)[0];e*=i,t>n.parameterPositions[1]&&(this.stopFading(),0===i&&(this.enabled=!1))}}return this._effectiveWeight=e,e}_updateTimeScale(t){let e=0;if(!this.paused){e=this.timeScale;const n=this._timeScaleInterpolant;if(null!==n){e*=n.evaluate(t)[0],t>n.parameterPositions[1]&&(this.stopWarping(),0===e?this.paused=!0:this.timeScale=e)}}return this._effectiveTimeScale=e,e}_updateTime(t){const e=this._clip.duration,n=this.loop;let i=this.time+t,r=this._loopCount;const a=n===_e;if(0===t)return-1===r?i:a&&1==(1&r)?e-i:i;if(n===ge){-1===r&&(this._loopCount=0,this._setEndings(!0,!0,!1));t:{if(i>=e)i=e;else{if(!(i<0)){this.time=i;break t}i=0}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:t<0?-1:1})}}else{if(-1===r&&(t>=0?(r=0,this._setEndings(!0,0===this.repetitions,a)):this._setEndings(0===this.repetitions,!0,a)),i>=e||i<0){const n=Math.floor(i/e);i-=e*n,r+=Math.abs(n);const s=this.repetitions-r;if(s<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,i=t>0?e:0,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:t>0?1:-1});else{if(1===s){const e=t<0;this._setEndings(e,!e,a)}else this._setEndings(!1,!1,a);this._loopCount=r,this.time=i,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:n})}}else this.time=i;if(a&&1==(1&r))return e-i}return i}_setEndings(t,e,n){const i=this._interpolantSettings;n?(i.endingStart=Me,i.endingEnd=Me):(i.endingStart=t?this.zeroSlopeAtStart?Me:we:Se,i.endingEnd=e?this.zeroSlopeAtEnd?Me:we:Se)}_scheduleFading(t,e,n){const i=this._mixer,r=i.time;let a=this._weightInterpolant;null===a&&(a=i._lendControlInterpolant(),this._weightInterpolant=a);const s=a.parameterPositions,o=a.sampleValues;return s[0]=r,o[0]=e,s[1]=r+t,o[1]=n,this}}const Oh=new Float32Array(1);class Rh extends fn{constructor(t){super(),this._root=t,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(t,e){const n=t._localRoot||this._root,i=t._clip.tracks,r=i.length,a=t._propertyBindings,s=t._interpolants,o=n.uuid,l=this._bindingsByRootAndName;let c=l[o];void 0===c&&(c={},l[o]=c);for(let t=0;t!==r;++t){const r=i[t],l=r.name;let u=c[l];if(void 0!==u)++u.referenceCount,a[t]=u;else{if(u=a[t],void 0!==u){null===u._cacheIndex&&(++u.referenceCount,this._addInactiveBinding(u,o,l));continue}const i=e&&e._propertyBindings[t].binding.parsedPath;u=new Th(Ih.create(n,l,i),r.ValueTypeName,r.getValueSize()),++u.referenceCount,this._addInactiveBinding(u,o,l),a[t]=u}s[t].resultBuffer=u.buffer}}_activateAction(t){if(!this._isActiveAction(t)){if(null===t._cacheIndex){const e=(t._localRoot||this._root).uuid,n=t._clip.uuid,i=this._actionsByClip[n];this._bindAction(t,i&&i.knownActions[0]),this._addInactiveAction(t,n,e)}const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==n.useCount++&&(this._lendBinding(n),n.saveOriginalState())}this._lendAction(t)}}_deactivateAction(t){if(this._isActiveAction(t)){const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==--n.useCount&&(n.restoreOriginalState(),this._takeBackBinding(n))}this._takeBackAction(t)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;const t=this;this.stats={actions:{get total(){return t._actions.length},get inUse(){return t._nActiveActions}},bindings:{get total(){return t._bindings.length},get inUse(){return t._nActiveBindings}},controlInterpolants:{get total(){return t._controlInterpolants.length},get inUse(){return t._nActiveControlInterpolants}}}}_isActiveAction(t){const e=t._cacheIndex;return null!==e&&e<this._nActiveActions}_addInactiveAction(t,e,n){const i=this._actions,r=this._actionsByClip;let a=r[e];if(void 0===a)a={knownActions:[t],actionByRoot:{}},t._byClipCacheIndex=0,r[e]=a;else{const e=a.knownActions;t._byClipCacheIndex=e.length,e.push(t)}t._cacheIndex=i.length,i.push(t),a.actionByRoot[n]=t}_removeInactiveAction(t){const e=this._actions,n=e[e.length-1],i=t._cacheIndex;n._cacheIndex=i,e[i]=n,e.pop(),t._cacheIndex=null;const r=t._clip.uuid,a=this._actionsByClip,s=a[r],o=s.knownActions,l=o[o.length-1],c=t._byClipCacheIndex;l._byClipCacheIndex=c,o[c]=l,o.pop(),t._byClipCacheIndex=null;delete s.actionByRoot[(t._localRoot||this._root).uuid],0===o.length&&delete a[r],this._removeInactiveBindingsForAction(t)}_removeInactiveBindingsForAction(t){const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==--n.referenceCount&&this._removeInactiveBinding(n)}}_lendAction(t){const e=this._actions,n=t._cacheIndex,i=this._nActiveActions++,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_takeBackAction(t){const e=this._actions,n=t._cacheIndex,i=--this._nActiveActions,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_addInactiveBinding(t,e,n){const i=this._bindingsByRootAndName,r=this._bindings;let a=i[e];void 0===a&&(a={},i[e]=a),a[n]=t,t._cacheIndex=r.length,r.push(t)}_removeInactiveBinding(t){const e=this._bindings,n=t.binding,i=n.rootNode.uuid,r=n.path,a=this._bindingsByRootAndName,s=a[i],o=e[e.length-1],l=t._cacheIndex;o._cacheIndex=l,e[l]=o,e.pop(),delete s[r],0===Object.keys(s).length&&delete a[i]}_lendBinding(t){const e=this._bindings,n=t._cacheIndex,i=this._nActiveBindings++,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_takeBackBinding(t){const e=this._bindings,n=t._cacheIndex,i=--this._nActiveBindings,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_lendControlInterpolant(){const t=this._controlInterpolants,e=this._nActiveControlInterpolants++;let n=t[e];return void 0===n&&(n=new id(new Float32Array(2),new Float32Array(2),1,Oh),n.__cacheIndex=e,t[e]=n),n}_takeBackControlInterpolant(t){const e=this._controlInterpolants,n=t.__cacheIndex,i=--this._nActiveControlInterpolants,r=e[i];t.__cacheIndex=i,e[i]=t,r.__cacheIndex=n,e[n]=r}clipAction(t,e,n){const i=e||this._root,r=i.uuid;let a="string"==typeof t?pd.findByName(i,t):t;const s=null!==a?a.uuid:t,o=this._actionsByClip[s];let l=null;if(void 0===n&&(n=null!==a?a.blendMode:Te),void 0!==o){const t=o.actionByRoot[r];if(void 0!==t&&t.blendMode===n)return t;l=o.knownActions[0],null===a&&(a=l._clip)}if(null===a)return null;const c=new kh(this,a,e,n);return this._bindAction(c,l),this._addInactiveAction(c,s,r),c}existingAction(t,e){const n=e||this._root,i=n.uuid,r="string"==typeof t?pd.findByName(n,t):t,a=r?r.uuid:t,s=this._actionsByClip[a];return void 0!==s&&s.actionByRoot[i]||null}stopAllAction(){const t=this._actions;for(let e=this._nActiveActions-1;e>=0;--e)t[e].stop();return this}update(t){t*=this.timeScale;const e=this._actions,n=this._nActiveActions,i=this.time+=t,r=Math.sign(t),a=this._accuIndex^=1;for(let s=0;s!==n;++s){e[s]._update(i,t,r,a)}const s=this._bindings,o=this._nActiveBindings;for(let t=0;t!==o;++t)s[t].apply(a);return this}setTime(t){this.time=0;for(let t=0;t<this._actions.length;t++)this._actions[t].time=0;return this.update(t)}getRoot(){return this._root}uncacheClip(t){const e=this._actions,n=t.uuid,i=this._actionsByClip,r=i[n];if(void 0!==r){const t=r.knownActions;for(let n=0,i=t.length;n!==i;++n){const i=t[n];this._deactivateAction(i);const r=i._cacheIndex,a=e[e.length-1];i._cacheIndex=null,i._byClipCacheIndex=null,a._cacheIndex=r,e[r]=a,e.pop(),this._removeInactiveBindingsForAction(i)}delete i[n]}}uncacheRoot(t){const e=t.uuid,n=this._actionsByClip;for(const t in n){const i=n[t].actionByRoot[e];void 0!==i&&(this._deactivateAction(i),this._removeInactiveAction(i))}const i=this._bindingsByRootAndName[e];if(void 0!==i)for(const t in i){const e=i[t];e.restoreOriginalState(),this._removeInactiveBinding(e)}}uncacheAction(t,e){const n=this.existingAction(t,e);null!==n&&(this._deactivateAction(n),this._removeInactiveAction(n))}}class Ph{constructor(t){this.value=t}clone(){return new Ph(void 0===this.value.clone?this.value:this.value.clone())}}let Nh=0;class Yh extends fn{constructor(){super(),this.isUniformsGroup=!0,Object.defineProperty(this,"id",{value:Nh++}),this.name="",this.usage=en,this.uniforms=[]}add(t){return this.uniforms.push(t),this}remove(t){const e=this.uniforms.indexOf(t);return-1!==e&&this.uniforms.splice(e,1),this}setName(t){return this.name=t,this}setUsage(t){return this.usage=t,this}dispose(){return this.dispatchEvent({type:"dispose"}),this}copy(t){this.name=t.name,this.usage=t.usage;const e=t.uniforms;this.uniforms.length=0;for(let t=0,n=e.length;t<n;t++)this.uniforms.push(e[t].clone());return this}clone(){return(new this.constructor).copy(this)}}class Fh extends ll{constructor(t,e,n=1){super(t,e),this.isInstancedInterleavedBuffer=!0,this.meshPerAttribute=n}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}clone(t){const e=super.clone(t);return e.meshPerAttribute=this.meshPerAttribute,e}toJSON(t){const e=super.toJSON(t);return e.isInstancedInterleavedBuffer=!0,e.meshPerAttribute=this.meshPerAttribute,e}}class Hh{constructor(t,e,n,i,r){this.isGLBufferAttribute=!0,this.buffer=t,this.type=e,this.itemSize=n,this.elementSize=i,this.count=r,this.version=0}set needsUpdate(t){!0===t&&this.version++}setBuffer(t){return this.buffer=t,this}setType(t,e){return this.type=t,this.elementSize=e,this}setItemSize(t){return this.itemSize=t,this}setCount(t){return this.count=t,this}}class jh{constructor(t,e,n=0,i=1/0){this.ray=new Ni(t,e),this.near=n,this.far=i,this.camera=null,this.layers=new Xi,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}set(t,e){this.ray.set(t,e)}setFromCamera(t,e){e.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(e.matrixWorld),this.ray.direction.set(t.x,t.y,.5).unproject(e).sub(this.ray.origin).normalize(),this.camera=e):e.isOrthographicCamera?(this.ray.origin.set(t.x,t.y,(e.near+e.far)/(e.near-e.far)).unproject(e),this.ray.direction.set(0,0,-1).transformDirection(e.matrixWorld),this.camera=e):console.error("THREE.Raycaster: 
415Unsupported camera type: "+e.type)}intersectObject(t,e=!0,n=[]){return zh(t,this,n,e),n.sort(Bh),n}intersectObjects(t,e=!0,n=[]){for(let i=0,r=t.length;i<r;i++)zh(t[i],this,n,e);return n.sort(Bh),n}}function Bh(t,e){return t.distance-e.distance}function zh(t,e,n,i){if(t.layers.test(e.layers)&&t.raycast(e,n),!0===i){const i=t.children;for(let t=0,r=i.length;t<r;t++)zh(i[t],e,n,!0)}}class Uh{constructor(t=1,e=0,n=0){return this.radius=t,this.phi=e,this.theta=n,this}set(t,e,n){return this.radius=t,this.phi=e,this.theta=n,this}copy(t){return this.radius=t.radius,this.phi=t.phi,this.theta=t.theta,this}makeSafe(){return this.phi=Math.max(1e-6,Math.min(Math.PI-1e-6,this.phi)),this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,n){return this.radius=Math.sqrt(t*t+e*e+n*n),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(t,n),this.phi=Math.acos(bn(e/this.radius,-1,1))),this}clone(){return(new this.constructor).copy(this)}}class Vh{constructor(t=1,e=0,n=0){return this.radius=t,this.theta=e,this.y=n,this}set(t,e,n){return this.radius=t,this.theta=e,this.y=n,this}copy(t){return this.radius=t.radius,this.theta=t.theta,this.y=t.y,this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,n){return this.radius=Math.sqrt(t*t+n*n),this.theta=Math.atan2(t,n),this.y=e,this}clone(){return(new this.constructor).copy(this)}}const Wh=new Cn;class Gh{constructor(t=new Cn(1/0,1/0),e=new Cn(-1/0,-1/0)){this.isBox2=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=Wh.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}clone(){return(new this.constructor).copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y}getCenter(t){return this.isEmpty()?t.set(0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}containsPoint(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y)}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y)}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return Wh.copy(t).clamp(this.min,this.max).sub(t).length()}intersect(t){return this.min.max(t.min),this.max.min(t.max),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}}const qh=new si,Xh=new si;class $h{constructor(t=new si,e=new si){this.start=t,this.end=e}set(t,e){return this.start.copy(t),this.end.copy(e),this}copy(t){return this.start.copy(t.start),this.end.copy(t.end),this}getCenter(t){return t.addVectors(this.start,this.end).multiplyScalar(.5)}delta(t){return t.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(t,e){return this.delta(e).multiplyScalar(t).add(this.start)}closestPointToPointParameter(t,e){qh.subVectors(t,this.start),Xh.subVectors(this.end,this.start);const n=Xh.dot(Xh);let i=Xh.dot(qh)/n;return e&&(i=bn(i,0,1)),i}closestPointToPoint(t,e,n){const i=this.closestPointToPointParameter(t,e);return this.delta(n).multiplyScalar(i).add(this.start)}applyMatrix4(t){return this.start.applyMatrix4(t),this.end.applyMatrix4(t),this}equals(t){return t.start.equals(this.start)&&t.end.equals(this.end)}clone(){return(new this.constructor).copy(this)}}const Kh=new si;class Jh extends lr{constructor(t,e){super(),this.light=t,this.light.updateMatrixWorld(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=e;const n=new Ur,i=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let t=0,e=1,n=32;t<n;t++,e++){const r=t/n*Math.PI*2,a=e/n*Math.PI*2;i.push(Math.cos(r),Math.sin(r),1,Math.cos(a),Math.sin(a),1)}n.setAttribute("position",new Rr(i,3));const r=new ql({fog:!1,toneMapped:!1});this.cone=new nc(n,r),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateMatrixWorld();const t=this.light.distance?this.light.distance:1e3,e=t*Math.tan(this.light.angle);this.cone.scale.set(e,e,t),Kh.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(Kh),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}}const Qh=new si,Zh=new Yi,tp=new Yi;class ep extends nc{constructor(t){const e=function t(e){const n=[];!0===e.isBone&&n.push(e);for(let i=0;i<e.children.length;i++)n.push.apply(n,t(e.children[i]));return n}(t),n=new Ur,i=[],r=[],a=new Wn(0,0,1),s=new Wn(0,1,0);for(let t=0;t<e.length;t++){const n=e[t];n.parent&&n.parent.isBone&&(i.push(0,0,0),i.push(0,0,0),r.push(a.r,a.g,a.b),r.push(s.r,s.g,s.b))}n.setAttribute("position",new Rr(i,3)),n.setAttribute("color",new Rr(r,3));super(n,new ql({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0})),this.isSkeletonHelper=!0,this.type="SkeletonHelper",this.root=t,this.bones=e,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1}updateMatrixWorld(t){const e=this.bones,n=this.geometry,i=n.getAttribute("position");tp.copy(this.root.matrixWorld).invert();for(let t=0,n=0;t<e.length;t++){const r=e[t];r.parent&&r.parent.isBone&&(Zh.multiplyMatrices(tp,r.matrixWorld),Qh.setFromMatrixPosition(Zh),i.setXYZ(n,Qh.x,Qh.y,Qh.z),Zh.multiplyMatrices(tp,r.parent.matrixWorld),Qh.setFromMatrixPosition(Zh),i.setXYZ(n+1,Qh.x,Qh.y,Qh.z),n+=2)}n.getAttribute("position").needsUpdate=!0,super.updateMatrixWorld(t)}}class np extends oa{constructor(t,e,n){super(new Iu(e,4,2),new wr({wireframe:!0,fog:!1,toneMapped:!1})),this.light=t,this.light.updateMatrixWorld(),this.color=n,this.type="PointLightHelper",this.matrix=this.light.matrixWorld,this.matrixAutoUpdate=!1,this.update()}dispose(){this.geometry.dispose(),this.material.dispose()}update(){void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)}}const ip=new si,rp=new Wn,ap=new Wn;class sp extends lr{constructor(t,e,n){super(),this.light=t,this.light.updateMatrixWorld(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n;const i=new Lu(e);i.rotateY(.5*Math.PI),this.material=new wr({wireframe:!0,fog:!1,toneMapped:!1}),void 0===this.color&&(this.material.vertexColors=!0);const r=i.getAttribute("position"),a=new Float32Array(3*r.count);i.setAttribute("color",new Tr(a,3)),this.add(new oa(i,this.material)),this.update()}dispose(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}update(){const t=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{const e=t.geometry.getAttribute("color");rp.copy(this.light.color),ap.copy(this.light.groundColor);for(let t=0,n=e.count;t<n;t++){const i=t<n/2?rp:ap;e.setXYZ(t,i.r,i.g,i.b)}e.needsUpdate=!0}t.lookAt(ip.setFromMatrixPosition(this.light.matrixWorld).negate())}}class op extends nc{constructor(t=10,e=10,n=4473924,i=8947848){n=new Wn(n),i=new Wn(i);const r=e/2,a=t/e,s=t/2,o=[],l=[];for(let t=0,c=0,u=-s;t<=e;t++,u+=a){o.push(-s,0,u,s,0,u),o.push(u,0,-s,u,0,s);const e=t===r?n:i;e.toArray(l,c),c+=3,e.toArray(l,c),c+=3,e.toArray(l,c),c+=3,e.toArray(l,c),c+=3}const c=new Ur;c.setAttribute("position",new Rr(o,3)),c.setAttribute("color",new Rr(l,3));super(c,new ql({vertexColors:!0,toneMapped:!1})),this.type="GridHelper"}}class lp extends nc{constructor(t=10,e=16,n=8,i=64,r=4473924,a=8947848){r=new Wn(r),a=new Wn(a);const s=[],o=[];if(e>1)for(let n=0;n<e;n++){const i=n/e*(2*Math.PI),l=Math.sin(i)*t,c=Math.cos(i)*t;s.push(0,0,0),s.push(l,0,c);const u=1&n?r:a;o.push(u.r,u.g,u.b),o.push(u.r,u.g,u.b)}for(let e=0;e<n;e++){const l=1&e?r:a,c=t-t/n*e;for(let t=0;t<i;t++){let e=t/i*(2*Math.PI),n=Math.sin(e)*c,r=Math.cos(e)*c;s.push(n,0,r),o.push(l.r,l.g,l.b),e=(t+1)/i*(2*Math.PI),n=Math.sin(e)*c,r=Math.cos(e)*c,s.push(n,0,r),o.push(l.r,l.g,l.b)}}const l=new Ur;l.setAttribute("position",new Rr(s,3)),l.setAttribute("color",new Rr(o,3));super(l,new ql({vertexColors:!0,toneMapped:!1})),this.type="PolarGridHelper"}}const cp=new si,up=new si,dp=new si;class hp extends lr{constructor(t,e,n){super(),this.light=t,this.light.updateMatrixWorld(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,void 0===e&&(e=1);let i=new Ur;i.setAttribute("position",new Rr([-e,e,0,e,e,0,e,-e,0,-e,-e,0,-e,e,0],3));const r=new ql({fog:!1,toneMapped:!1});this.lightPlane=new Zl(i,r),this.add(this.lightPlane),i=new Ur,i.setAttribute("position",new Rr([0,0,0,0,0,1],3)),this.targetLine=new Zl(i,r),this.add(this.targetLine),this.update()}dispose(){this.lightPlane.geometry.dispose(),this.lightPlane.material.dispose(),this.targetLine.geometry.dispose(),this.targetLine.material.dispose()}update(){cp.setFromMatrixPosition(this.light.matrixWorld),up.setFromMatrixPosition(this.light.target.matrixWorld),dp.subVectors(up,cp),this.lightPlane.lookAt(up),void 0!==this.color?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(up),this.targetLine.scale.z
vendor: 12,376 bytes, line 415
415=dp.length()}}const pp=new si,fp=new fa;class mp extends nc{constructor(t){const e=new Ur,n=new ql({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],r=[],a={};function s(t,e){o(t),o(e)}function o(t){i.push(0,0,0),r.push(0,0,0),void 0===a[t]&&(a[t]=[]),a[t].push(i.length/3-1)}s("n1","n2"),s("n2","n4"),s("n4","n3"),s("n3","n1"),s("f1","f2"),s("f2","f4"),s("f4","f3"),s("f3","f1"),s("n1","f1"),s("n2","f2"),s("n3","f3"),s("n4","f4"),s("p","n1"),s("p","n2"),s("p","n3"),s("p","n4"),s("u1","u2"),s("u2","u3"),s("u3","u1"),s("c","t"),s("p","c"),s("cn1","cn2"),s("cn3","cn4"),s("cf1","cf2"),s("cf3","cf4"),e.setAttribute("position",new Rr(i,3)),e.setAttribute("color",new Rr(r,3)),super(e,n),this.type="CameraHelper",this.camera=t,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=a,this.update();const l=new Wn(16755200),c=new Wn(16711680),u=new Wn(43775),d=new Wn(16777215),h=new Wn(3355443);this.setColors(l,c,u,d,h)}setColors(t,e,n,i,r){const a=this.geometry.getAttribute("color");a.setXYZ(0,t.r,t.g,t.b),a.setXYZ(1,t.r,t.g,t.b),a.setXYZ(2,t.r,t.g,t.b),a.setXYZ(3,t.r,t.g,t.b),a.setXYZ(4,t.r,t.g,t.b),a.setXYZ(5,t.r,t.g,t.b),a.setXYZ(6,t.r,t.g,t.b),a.setXYZ(7,t.r,t.g,t.b),a.setXYZ(8,t.r,t.g,t.b),a.setXYZ(9,t.r,t.g,t.b),a.setXYZ(10,t.r,t.g,t.b),a.setXYZ(11,t.r,t.g,t.b),a.setXYZ(12,t.r,t.g,t.b),a.setXYZ(13,t.r,t.g,t.b),a.setXYZ(14,t.r,t.g,t.b),a.setXYZ(15,t.r,t.g,t.b),a.setXYZ(16,t.r,t.g,t.b),a.setXYZ(17,t.r,t.g,t.b),a.setXYZ(18,t.r,t.g,t.b),a.setXYZ(19,t.r,t.g,t.b),a.setXYZ(20,t.r,t.g,t.b),a.setXYZ(21,t.r,t.g,t.b),a.setXYZ(22,t.r,t.g,t.b),a.setXYZ(23,t.r,t.g,t.b),a.setXYZ(24,e.r,e.g,e.b),a.setXYZ(25,e.r,e.g,e.b),a.setXYZ(26,e.r,e.g,e.b),a.setXYZ(27,e.r,e.g,e.b),a.setXYZ(28,e.r,e.g,e.b),a.setXYZ(29,e.r,e.g,e.b),a.setXYZ(30,e.r,e.g,e.b),a.setXYZ(31,e.r,e.g,e.b),a.setXYZ(32,n.r,n.g,n.b),a.setXYZ(33,n.r,n.g,n.b),a.setXYZ(34,n.r,n.g,n.b),a.setXYZ(35,n.r,n.g,n.b),a.setXYZ(36,n.r,n.g,n.b),a.setXYZ(37,n.r,n.g,n.b),a.setXYZ(38,i.r,i.g,i.b),a.setXYZ(39,i.r,i.g,i.b),a.setXYZ(40,r.r,r.g,r.b),a.setXYZ(41,r.r,r.g,r.b),a.setXYZ(42,r.r,r.g,r.b),a.setXYZ(43,r.r,r.g,r.b),a.setXYZ(44,r.r,r.g,r.b),a.setXYZ(45,r.r,r.g,r.b),a.setXYZ(46,r.r,r.g,r.b),a.setXYZ(47,r.r,r.g,r.b),a.setXYZ(48,r.r,r.g,r.b),a.setXYZ(49,r.r,r.g,r.b),a.needsUpdate=!0}update(){const t=this.geometry,e=this.pointMap;fp.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),gp("c",e,t,fp,0,0,-1),gp("t",e,t,fp,0,0,1),gp("n1",e,t,fp,-1,-1,-1),gp("n2",e,t,fp,1,-1,-1),gp("n3",e,t,fp,-1,1,-1),gp("n4",e,t,fp,1,1,-1),gp("f1",e,t,fp,-1,-1,1),gp("f2",e,t,fp,1,-1,1),gp("f3",e,t,fp,-1,1,1),gp("f4",e,t,fp,1,1,1),gp("u1",e,t,fp,.7,1.1,-1),gp("u2",e,t,fp,-.7,1.1,-1),gp("u3",e,t,fp,0,2,-1),gp("cf1",e,t,fp,-1,0,1),gp("cf2",e,t,fp,1,0,1),gp("cf3",e,t,fp,0,-1,1),gp("cf4",e,t,fp,0,1,1),gp("cn1",e,t,fp,-1,0,-1),gp("cn2",e,t,fp,1,0,-1),gp("cn3",e,t,fp,0,-1,-1),gp("cn4",e,t,fp,0,1,-1),t.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}}function gp(t,e,n,i,r,a,s){pp.set(r,a,s).unproject(i);const o=e[t];if(void 0!==o){const t=n.getAttribute("position");for(let e=0,n=o.length;e<n;e++)t.setXYZ(o[e],pp.x,pp.y,pp.z)}}const vp=new ci;class _p extends nc{constructor(t,e=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),i=new Float32Array(24),r=new Ur;r.setIndex(new Tr(n,1)),r.setAttribute("position",new Tr(i,3)),super(r,new ql({color:e,toneMapped:!1})),this.object=t,this.type="BoxHelper",this.matrixAutoUpdate=!1,this.update()}update(t){if(void 0!==t&&console.warn("THREE.BoxHelper: .update() has no longer arguments."),void 0!==this.object&&vp.setFromObject(this.object),vp.isEmpty())return;const e=vp.min,n=vp.max,i=this.geometry.attributes.position,r=i.array;r[0]=n.x,r[1]=n.y,r[2]=n.z,r[3]=e.x,r[4]=n.y,r[5]=n.z,r[6]=e.x,r[7]=e.y,r[8]=n.z,r[9]=n.x,r[10]=e.y,r[11]=n.z,r[12]=n.x,r[13]=n.y,r[14]=e.z,r[15]=e.x,r[16]=n.y,r[17]=e.z,r[18]=e.x,r[19]=e.y,r[20]=e.z,r[21]=n.x,r[22]=e.y,r[23]=e.z,i.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(t){return this.object=t,this.update(),this}copy(t,e){return super.copy(t,e),this.object=t.object,this}}class yp extends nc{constructor(t,e=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),i=new Ur;i.setIndex(new Tr(n,1)),i.setAttribute("position",new Rr([1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],3)),super(i,new ql({color:e,toneMapped:!1})),this.box=t,this.type="Box3Helper",this.geometry.computeBoundingSphere()}updateMatrixWorld(t){const e=this.box;e.isEmpty()||(e.getCenter(this.position),e.getSize(this.scale),this.scale.multiplyScalar(.5),super.updateMatrixWorld(t))}}class bp extends Zl{constructor(t,e=1,n=16776960){const i=n,r=new Ur;r.setAttribute("position",new Rr([1,-1,0,-1,1,0,-1,-1,0,1,1,0,-1,1,0,-1,-1,0,1,-1,0,1,1,0],3)),r.computeBoundingSphere(),super(r,new ql({color:i,toneMapped:!1})),this.type="PlaneHelper",this.plane=t,this.size=e;const a=new Ur;a.setAttribute("position",new Rr([1,1,0,-1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,-1,0],3)),a.computeBoundingSphere(),this.add(new oa(a,new wr({color:i,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1})))}updateMatrixWorld(t){this.position.set(0,0,0),this.scale.set(.5*this.size,.5*this.size,1),this.lookAt(this.plane.normal),this.translateZ(-this.plane.constant),super.updateMatrixWorld(t)}}const xp=new si;let wp,Mp;class Sp extends lr{constructor(t=new si(0,0,1),e=new si(0,0,0),n=1,i=16776960,r=.2*n,a=.2*r){super(),this.type="ArrowHelper",void 0===wp&&(wp=new Ur,wp.setAttribute("position",new Rr([0,0,0,0,1,0],3)),Mp=new jc(0,.5,1,5,1),Mp.translate(0,-.5,0)),this.position.copy(e),this.line=new Zl(wp,new ql({color:i,toneMapped:!1})),this.line.matrixAutoUpdate=!1,this.add(this.line),this.cone=new oa(Mp,new wr({color:i,toneMapped:!1})),this.cone.matrixAutoUpdate=!1,this.add(this.cone),this.setDirection(t),this.setLength(n,r,a)}setDirection(t){if(t.y>.99999)this.quaternion.set(0,0,0,1);else if(t.y<-.99999)this.quaternion.set(1,0,0,0);else{xp.set(t.z,0,-t.x).normalize();const e=Math.acos(t.y);this.quaternion.setFromAxisAngle(xp,e)}}setLength(t,e=.2*t,n=.2*e){this.line.scale.set(1,Math.max(1e-4,t-e),1),this.line.updateMatrix(),this.cone.scale.set(n,e,n),this.cone.position.y=t,this.cone.updateMatrix()}setColor(t){this.line.material.color.set(t),this.cone.material.color.set(t)}copy(t){return super.copy(t,!1),this.line.copy(t.line),this.cone.copy(t.cone),this}}class Tp extends nc{constructor(t=1){const e=[0,0,0,t,0,0,0,0,0,0,t,0,0,0,0,0,0,t],n=new Ur;n.setAttribute("position",new Rr(e,3)),n.setAttribute("color",new Rr([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3));super(n,new ql({vertexColors:!0,toneMapped:!1})),this.type="AxesHelper"}setColors(t,e,n){const i=new Wn,r=this.geometry.attributes.color.array;return i.set(t),i.toArray(r,0),i.toArray(r,3),i.set(e),i.toArray(r,6),i.toArray(r,9),i.set(n),i.toArray(r,12),i.toArray(r,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}}class Ap{constructor(){this.type="ShapePath",this.color=new Wn,this.subPaths=[],this.currentPath=null}moveTo(t,e){return this.currentPath=new Nc,this.subPaths.push(this.currentPath),this.currentPath.moveTo(t,e),this}lineTo(t,e){return this.currentPath.lineTo(t,e),this}quadraticCurveTo(t,e,n,i){return this.currentPath.quadraticCurveTo(t,e,n,i),this}bezierCurveTo(t,e,n,i,r,a){return this.currentPath.bezierCurveTo(t,e,n,i,r,a),this}splineThru(t){return this.currentPath.splineThru(t),this}toShapes(t){function e(t,e){const n=e.length;let i=!1;for(let r=n-1,a=0;a<n;r=a++){let n=e[r],s=e[a],o=s.x-n.x,l=s.y-n.y;if(Math.abs(l)>Number.EPSILON){if(l<0&&(n=e[a],o=-o,s=e[r],l=-l),t.y<n.y||t.y>s.y)continue;if(t.y===n.y){if(t.x===n.x)return!0}else{const e=l*(t.x-n.x)-o*(t.y-n.y);if(0===e)return!0;if(e<0)continue;i=!i}}else{if(t.y!==n.y)continue;if(s.x<=t.x&&t.x<=n.x||n.x<=t.x&&t.x<=s.x)return!0}}return i}const n=xu.isClockWise,i=this.subPaths;if(0===i.length)return[];let r,a,s;const o=[];if(1===i.length)return a=i[0],s=new $c,s.curves=a.curves,o.push(s),o;let l=!n(i[0].getPoints());l=t?!l:l;const c=[],u=[];let d,h,p=[],f=0;u[f]=void 0,p[f]=[];for(let e=0,s=i.length;e<s;e++)a=i[e],d=a.getPoints(),r=n(d),r=t?!r:r,r?(!l&&u[f]&&f++,u[f]={s:new $c,p:d},u[f].s.curves=a.curves,l&&f++,p[f]=[]):p[f].push({h:a,p:d[0]});if(!u[0])return function(t){const e=[];for(let n=0,i=t.length;n<i;n++){const i=t[n],r=new $c;r.curves=i.curves,e.push(r)}return e}(i);if(u.length>1){let t=!1,n=0;for(let t=0,e=u.length;t<e;t++)c[t]=[];for(let i=0,r=u.length;i<r;i++){const r=p[i];for(let a=0;a<r.length;a++){const s=r[a];let o=!0;for(let r=0;r<u.length;r++)e(s.p,u[r].p)&&(i!==r&&n++,o?(o=!1,c[r].push(s)):t=!0);o&&c[i].push(s)}}n>0&&!1===t&&(p=c)}for(let t=0,e=u.length;t<e;t++){s=u[t].s,o.push(s),h=p[t];for(let t=0,e=h.length;t<e;t++)s.holes.push(h[t].h)}return o}}const Lp=Ep();function Ep(){const t=new ArrayBuffer(4),e=new Float32Array(t),n=new Uint32Array(t),i=new Uint32Array(512),r=new Uint32Array(512);for(let t=0;t<256;++t){const e=t-127;e<-27?(i[t]=0,i[256|t]=32768,r[t]=24,r[256|t]=24):e<-14?(i[t]=1024>>-e-14,i[256|t]=1024>>-e-14|32768,r[t]=-e-1,r[256|t]=-e-1):e<=15?(i[t]=e+15<<10,i[256|t]=e+15<<10|32768,r[t]=13,r[256|t]=13):e<128?(i[t]=31744,i[256|t]=64512,r[t]=24,r[256|t]=24):(i[t]=31744,i[256|t]=64512,r[t]=13,r[256|t]=13)}const a=new Uint32Array(2048),s=new Uint32Array(64),o=new Uint32Array(64);for(let t=1;t<1024;++t){let e=t<<13,n=0;for(;0==(8388608&e);)e<<=1,n-=8388608;e&=-8388609,n+=947912704,a[t]=e|n}for(let t=1024;t<2048;++t)a[t]=939524096+(t-1024<<13);for(let t=1;t<31;++t)s[t]=t<<23;s[31]=1199570944,s[32]=2147483648;for(let t=33;t<63;++t)s[t]=2147483648+(t-32<<23);s[63]=3347054592;for(let t=1;t<64;++t)32!==t&&(o[t]=1024);return{floatView:e,uint32View:n,baseTable:i,shiftTable:r,mantissaTable:a,exponentTable:s,offsetTable:o}}var Cp=Object.freeze({__proto__:null,toHalfFloat:function(t){Math.abs(t)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),t=bn(t,-65504,65504),Lp.floatView[0]=t;const e=Lp.uint32View[0],n=e>>23&511;return Lp.baseTable[n]+((8388607&e)>>Lp.shiftTable[n])},fromHalfFloat:function(t){const e=t>>10;return Lp.uint32View[0]=Lp.mantissaTable[Lp.offsetTable[e]+(1023&t)]+Lp.exponentTable[e],Lp.floatView[0]}});function Ip(){console.error("THREE.ImmediateRenderObject has been removed.")}class Dp extends Zn{constructor(t,e,n){console.error('THREE.WebGLMultisampleRenderTarget has been removed. Use a normal render target and set the "samples" property to greater 0 to enable multisampling.'),super(t,e,n),this.samples=4}}class kp extends ti{constructor(t,e,n,i){console.warn("THREE.DataTexture2DArray has been renamed to DataArrayTexture."),super(t,e,n,i)}}class Op extends ni{constructor(t,e,n,i){console.warn("THREE.DataTexture3D has been renamed to Data3DTexture."),super(t,e,n,i)}}class Rp extends ca{constructor(t,e,n,i,r,a){console.warn("THREE.BoxBufferGeometry has been renamed to THREE.BoxGeometry."),super(t,e,n,i,r,a)}}class Pp extends Fc{constructor(t,e,n,i){console.warn("THREE.CapsuleBufferGeometry has been renamed to THREE.CapsuleGeometry."),super(t,e,n,i)}}class Np extends Hc{constructor(t,e,n,i){console.warn("THREE.CircleBufferGeometry has been renamed to THREE.CircleGeometry."),super(t,e,n,i)}}class Yp extends Bc{constructor(t,e,n,i,r,a,s){console.warn("THREE.ConeBufferGeometry has been renamed to THREE.ConeGeometry."),super(t,e,n,i,r,a,s)}}class Fp extends jc{constructor(t,e,n,i,r,a,s,o){console.warn("THREE.CylinderBufferGeometry has been renamed to THREE.CylinderGeometry."),super(t,e,n,i,r,a,s,o)}}class Hp extends Uc{constructor(t,e){console.warn("THREE.DodecahedronBufferGeometry has been renamed to THREE.DodecahedronGeometry."),super(t,e)}}class jp extends Su{constructor(t,e){console.warn("THREE.ExtrudeBufferGeometry has been renamed to THREE.ExtrudeGeometry."),super(t,e)}}class Bp extends Au{constructor(t,e){console.warn("THREE.IcosahedronBufferGeometry has been renamed to THREE.IcosahedronGeometry."),super(t,e)}}class zp extends Yc{constructor(t,e,n,i){console.warn("THREE.LatheBufferGeometry has been renamed to THREE.LatheGeometry."),super(t,e,n,i)}}class Up extends Lu{constructor(t,e){console.warn("THREE.OctahedronBufferGeometry has been renamed to THREE.OctahedronGeometry."),super(t,e)}}
415class Vp extends Ea{constructor(t,e,n,i){console.warn("THREE.PlaneBufferGeometry has been renamed to THREE.PlaneGeometry."),super(t,e,n,i)}}class Wp extends zc{constructor(t,e,n,i){console.warn("THREE.PolyhedronBufferGeometry has been renamed to THREE.PolyhedronGeometry."),super(t,e,n,i)}}class Gp extends Eu{constructor(t,e,n,i,r,a){console.warn("THREE.RingBufferGeometry has been renamed to THREE.RingGeometry."),super(t,e,n,i,r,a)}}class qp extends Cu{constructor(t,e){console.warn("THREE.ShapeBufferGeometry has been renamed to THREE.ShapeGeometry."),super(t,e)}}class Xp extends Iu{constructor(t,e,n,i,r,a,s){console.warn("THREE.SphereBufferGeometry has been renamed to THREE.SphereGeometry."),super(t,e,n,i,r,a,s)}}class $p extends Du{constructor(t,e){console.warn("THREE.TetrahedronBufferGeometry has been renamed to THREE.TetrahedronGeometry."),super(t,e)}}class Kp extends ku{constructor(t,e,n,i,r){console.warn("THREE.TorusBufferGeometry has been renamed to THREE.TorusGeometry."),super(t,e,n,i,r)}}class Jp extends Ou{constructor(t,e,n,i,r,a){console.warn("THREE.TorusKnotBufferGeometry has been renamed to THREE.TorusKnotGeometry."),super(t,e,n,i,r,a)}}class Qp extends Ru{constructor(t,e,n,i,r){console.warn("THREE.TubeBufferGeometry has been renamed to THREE.TubeGeometry."),super(t,e,n,i,r)}}"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:i}})),"undefined"!=typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=i)},function(t,e,n){
416/*!
417 * uevent (v2.2.0)
418 * @copyright 2015-2022 Damien "Mistic" Sorel <[email protected]>
419 * @licence MIT
420 */
421!function(t){"use strict";var e=function(){return!0},n=function(){return!1},i=function(){function t(t,e,i){Object.defineProperties(this,{target:{get:function(){return t},set:function(){},enumerable:!0},type:{get:function(){return e},set:function(){},enumerable:!0},args:{get:function(){return i},set:function(){},enumerable:!0}}),this.isDefaultPrevented=n,this.isPropagationStopped=n}var i=t.prototype;return i.preventDefault=function(){this.isDefaultPrevented=e},i.stopPropagation=function(){this.isPropagationStopped=e},t}(),r=function(){function t(){}var e=t.prototype;return e.on=function(t,e){var n=this;if(this.__events=this.__events||{},"object"==typeof t)for(var i in t)t.hasOwnProperty(i)&&(this.__events[i]=this.__events[i]||[],this.__events[i].push(t[i]));else t.split(" ").forEach((function(t){n.__events[t]=n.__events[t]||[],n.__events[t].push(e)}));return this},e.off=function(t,e){var n=this;if("object"==typeof t){for(var i in t)if(t.hasOwnProperty(i)){if(this.__events&&i in this.__events){var r=this.__events[i].indexOf(t[i]);-1!==r&&this.__events[i].splice(r,1)}if(this.__once&&i in this.__once){var a=this.__once[i].indexOf(t[i]);-1!==a&&this.__once[i].splice(a,1)}}}else t?t.split(" ").forEach((function(t){if(n.__events&&t in n.__events)if(e){var i=n.__events[t].indexOf(e);-1!==i&&n.__events[t].splice(i,1)}else n.__events[t].length=0;if(n.__once&&t in n.__once)if(e){var r=n.__once[t].indexOf(e);-1!==r&&n.__once[t].splice(r,1)}else n.__once[t].length=0})):(this.__events={},this.__once={});return this},e.once=function(t,e){var n=this;if(this.__once=this.__once||{},"object"==typeof t)for(var i in t)t.hasOwnProperty(i)&&(this.__once[i]=this.__once[i]||[],this.__once[i].push(t[i]));else t.split(" ").forEach((function(t){n.__once[t]=n.__once[t]||[],n.__once[t].push(e)}));return this},e.trigger=function(t){var e=Array.prototype.slice.call(arguments,1),n=new i(this,t,e);if(this.__events&&t in this.__events)for(var r=0,a=this.__events[t].length;r<a;r++){var s=this.__events[t][r];if("object"==typeof s?s.handleEvent(n):s.call.apply(s,[this,n].concat(e)),n.isPropagationStopped())break}if(this.__once&&t in this.__once){for(var o=0,l=this.__once[t].length;o<l;o++){var c=this.__once[t][o];if("object"==typeof c?c.handleEvent(n):c.call.apply(c,[this,n].concat(e)),n.isPropagationStopped())break}delete this.__once[t]}return n},e.change=function(t,e){var n=Array.prototype.slice.call(arguments,2),r=new i(this,t,n);if(r.value=e,this.__events&&t in this.__events)for(var a=0,s=this.__events[t].length;a<s;a++){var o=this.__events[t][a];if(r.value="object"==typeof o?o.handleEvent(r):o.call.apply(o,[this,r,r.value].concat(n)),r.isPropagationStopped())break}return r.value},t}(),a={EventEmitter:r,Event:i,mixin:function(t){return t="function"==typeof t?t.prototype:t,["on","off","once","trigger","change"].forEach((function(e){t[e]=r.prototype[e]})),t}},s=a.EventEmitter,o=a.Event,l=a.mixin;t.Event=o,t.EventEmitter=s,t.default=a,t.mixin=l,Object.defineProperty(t,"__esMo
421dule",{value:!0})}(e)},function(t,e,n){var i=n(108);t.exports=function(){return i.Date.now()}},function(t,e,n){var i=n(1249);t.exports=i},function(t,e,n){var i=n(53),r=n(1250),a=Array.prototype;t.exports=function(t){var e=t.flat;return t===a||i(a,t)&&e===a.flat?r:e}},function(t,e,n){n(1251),n(1253);var i=n(74);t.exports=i("Array").flat},function(t,e,n){"use strict";var i=n(18),r=n(1252),a=n(80),s=n(87),o=n(170),l=n(228);i({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=a(this),n=s(e),i=l(e,0);return i.length=r(i,e,e,n,0,void 0===t?1:o(t)),i}})},function(t,e,n){"use strict";var i=n(120),r=n(87),a=n(325),s=n(138),o=function(t,e,n,l,c,u,d,h){for(var p,f,m=c,g=0,v=!!d&&s(d,h);g<l;)g in n&&(p=v?v(n[g],g,e):n[g],u>0&&i(p)?(f=r(p),m=o(t,e,p,f,m,u-1)-1):(a(m+1),t[m]=p),m++),g++;return m};t.exports=o},function(t,e,n){n(255)("flat")},function(t,e,n){var i=n(1255);t.exports=i},function(t,e,n){n(1256);var i=n(38);t.exports=i.Object.values},function(t,e,n){var i=n(18),r=n(483).values;i({target:"Object",stat:!0},{values:function(t){return r(t)}})},function(t,e,n){var i=n(357);t.exports=function(t,e){var n;return i(t,(function(t,i,r){return!(n=e(t,i,r))})),!!n}},function(t,e,n){"use strict";var i=n(126),r=n(968),a=n(1259),s=n(975);var o=function t(e){var n=new a(e),o=r(a.prototype.request,n);return i.extend(o,a.prototype,n),i.extend(o,n),o.create=function(n){return t(s(e,n))},o}(n(940));o.Axios=a,o.CanceledError=n(488),o.CancelToken=n(1277),o.isCancel=n(974),o.VERSION=n(976).version,o.toFormData=n(971),o.AxiosError=n(363),o.Cancel=o.CanceledError,o.all=function(t){return Promise.all(t)},o.spread=n(1278),o.isAxiosError=n(1279),t.exports=o,t.exports.default=o},function(t,e,n){"use strict";var i=n(126),r=n(969),a=n(1260),s=n(1261),o=n(975),l=n(973),c=n(1276),u=c.validators;function d(t){this.defaults=t,this.interceptors={request:new a,response:new a}}d.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=o(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,i.unshift(t.fulfilled,t.rejected))}));var a,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!r){var d=[s,void 0];for(Array.prototype.unshift.apply(d,i),d=d.concat(l),a=Promise.resolve(e);d.length;)a=a.then(d.shift(),d.shift());return a}for(var h=e;i.length;){var p=i.shift(),f=i.shift();try{h=p(h)}catch(t){f(t);break}}try{a=s(h)}catch(t){return Promise.reject(t)}for(;l.length;)a=a.then(l.shift(),l.shift());return a},d.prototype.getUri=function(t){t=o(this.defaults,t);var e=l(t.baseURL,t.url);return r(e,t.params,t.paramsSerializer)}
421,i.forEach(["delete","get","head","options"],(function(t){d.prototype[t]=function(e,n){return this.request(o(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){function e(e){return function(n,i,r){return this.request(o(r||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}d.prototype[t]=e(),d.prototype[t+"Form"]=e(!0)})),t.exports=d},function(t,e,n){"use strict";var i=n(126);function r(){this.handlers=[]}r.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},function(t,e,n){"use strict";var i=n(126),r=n(1262),a=n(974),s=n(940),o=n(488);function l(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new o}t.exports=function(t){return l(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||s.adapter)(t).then((function(e){return l(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(l(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var i=n(126),r=n(940);t.exports=function(t,e,n){var a=this||r;return i.forEach(n,(function(n){t=n.call(a,t,e)})),t}},function(t,e,n){"use strict";var i=n(126);t.exports=function(t,e){i.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))}},function(t,e,n){"use strict";(function(t){
422/*!
423 * The buffer module from node.js, for the browser.
424 *
425 * @author   Feross Aboukhadijeh <http://feross.org>
426 * @license  MIT
427 */
428var i=n(1265),r=n(1266),a=n(1267);function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=l.prototype:(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return c(this,t,e,n)}function c(t,e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,i){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i);l.TYPED_ARRAY_SUPPORT?(t=e).__proto__=l.prototype:t=h(t,e);return t}(t,e,n,i):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|f(e,n),r=(t=o(t,i)).write(e,n);r!==i&&(t=t.slice(0,r));return t}(t,e,n):function(t,e){if(l.isBuffer(e)){var n=0|p(e.length);return 0===(t=o(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(i=e.length)!=i?o(t,0):h(t,e);if("Buffer"===e.type&&a(e.data))return h(t,e.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e){if(u(e),t=o(t,e<0?0:0|p(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e){var n=e.length<0?0:0|p(e.length);t=o(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function p(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function f(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&
vendor: 18,274 bytes, line 428
428(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(t).length;default:if(i)return j(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return C(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return L(this,e,n);case"latin1":case"binary":return E(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function g(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function v(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=l.from(e,i)),l.isBuffer(e))return 0===e.length?-1:_(t,e,n,i,r);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):_(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function _(t,e,n,i,r){var a,s=1,o=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;s=2,o/=2,l/=2,n/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(r){var u=-1;for(a=n;a<o;a++)if(c(t,a)===c(e,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*s}else-1!==u&&(a-=a-u),u=-1}else for(n+l>o&&(n=o-l),a=n;a>=0;a--){for(var d=!0,h=0;h<l;h++)if(c(t,a+h)!==c(e,h)){d=!1;break}if(d)return a}return-1}function y(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i))>r&&(i=r):i=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var s=0;s<i;++s){var o=parseInt(e.substr(2*s,2),16);if(isNaN(o))return s;t[n+s]=o}return s}function b(t,e,n,i){return z(j(e,t.length-n),t,n,i)}function x(t,e,n,i){return z(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,i)}function w(t,e,n,i){return x(t,e,n,i)}function M(t,e,n,i){return z(B(e),t,n,i)}function S(t,e,n,i){return z(function(t,e){for(var n,i,r,a=[],s=0;s<t.length&&!((e-=2)<0);++s)n=t.charCodeAt(s),i=n>>8,r=n%256,a.push(r),a.push(i);return a}(e,t.length-n),t,n,i)}function T(t,e,n){return 0===e&&n===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,n))}function A(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r<n;){var a,s,o,l,c=t[r],u=null,d=c>239?4:c>223?3:c>191?2:1;if(r+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(a=t[r+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=t[r+1],s=t[r+2],128==(192&a)&&128==(192&s)&&(l=(15&c)<<12|(63&a)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=t[r+1],s=t[r+2],o=t[r+3],128==(192&a)&&128==(192&s)&&128==(192&o)&&(l=(15&c)<<18|(63&a)<<12|(63&s)<<6|63&o)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=d}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",i=0;for(;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=4096));return n}(i)}e.Buffer=l,e.SlowBuffer=function(t){+t!=t&&(t=0);return l.alloc(+t)},e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=s(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return c(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return function(t,e,n,i){return u(e),e<=0?o(t,e):void 0!==n?"string"==typeof i?o(t,e).fill(n,i):o(t,e).fill(n):o(t,e)}(null,t,e,n)},l.allocUnsafe=function(t){return d(null,t)},l.allocUnsafeSlow=function(t){return d(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,a=Math.min(n,i);r<a;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!a(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=l.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var s=t[n];if(!l.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,r),r+=s.length}return i},l.byteLength=f,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?A(this,0,t):m.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,n,i,r){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(r>>>=0)-(i>>>=0),s=(n>>>=0)-(e>>>=0),o=Math.min(a,s),c=this.slice(i,r),u=t.slice(e,n),d=0;d<o;++d)if(c[d]!==u[d]){a=c[d],s=u[d];break}return a<s?-1:s<a?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},l.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return x(this,t,e,n);case"latin1":case"binary":return w(this,t,e,n);case"base64":return M(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function E(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function C(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var r="",a=e;a<n;++a)r+=H(t[a]);return r}function I(t,e,n){for(var i=t.slice(e,n),r="",a=0;a<i.length;a+=2)r+=String.fromCharCode(i[a]+256*i[a+1]);return r}function D(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function k(t,e,n,i,r,a){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<a)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function O(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r<a;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function R(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r<a;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function P(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(t,e,n,i,a){return a||P(t,0,n,4),r.write(t,e,n,i,23,4),n+4}function Y(t,e,n,i,a){return a||P(t,0,n,8),r.write(t,e,n,i,52,8),n+8}l.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=l.prototype;else{var r=e-t;n=new l(r,void 0);for(var a=0;a<r;++a)n[a]=this[a+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);for(var i=this[t],r=1,a=0;++a<e&&(r*=256);)i+=this[t+a]*r;return i},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);for(var i=this[t+--e],r=1;e>0&&(r*=256);)i+=this[t+--e]*r;return i},l.prototype.readUInt8=function(t,e){return e||D(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||D(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||D(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||D(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||D(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);for(var i=this[t],r=1,a=0;++a<e&&(r*=256);)i+=this[t+a]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*e)),i},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);for(var i=e,r=1,a=this[t+--i];i>0&&(r*=256);)a+=this[t+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*e)),a},l.prototype.readInt8=function(t,e){return e||D(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||D(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||D(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||D(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||D(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||D(t,4,this.length),r.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||D(t,4,this.length),r.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||D(t,8,this.length),r.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||D(t,8,this.length),r.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,i){(t=+t,e|=0,n|=0,i)||k(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[e]=255&t;++a<n&&(r*=256);)this[e+a]=t/r&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,i){(t=+t,e|=0,n|=0,i)||k(this,t,e,n,Math.pow(2,8*n)-1,0);var r=n-1,a=1;for(this[e+r]=255&t;--r>=0&&(a*=256);)this[e+r]=t/a&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);k(this,t,e,n,r-1,-r)}var a=0,s=1,o=0;for(this[e]=255&t;++a<n&&(s*=256);)t<0&&0===o&&0!==this[e+a-1]&&(o=1),this[e+a]=(t/s>>0)-o&255;return e+n},l.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);k(this,t,e,n,r-1,-r)}var a=n-1,s=1,o=0;for(this[e+a]=255&t;--a>=0&&(s*=256);)t<0&&0===o&&0!==this[e+a+1]&&(o=1),this[e+a]=(t/s>>0)-o&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||k(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return N(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return N(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return Y(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return Y(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var r,a=i-n;if(this===t&&n<e&&e<i)for(r=a-1;r>=0;--r)t[r+e]=this[r+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+a),e);return a},l.prototype.fill=function(t,e,n,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var a;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a<n;++a)this[a]=t;else{var s=l.isBuffer(t)?t:j(new l(t,i).toString()),o=s.length;for(a=0;a<n-e;++a)this[a+e]=s[a%o]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function H(t){return t<16?"0"+t.toString(16):t.toString(16)}function j(t,e){var n;e=e||1/0;for(var i=t.length,r=null,a=[],s=0;s<i;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function B(t){return i.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,n,i){for(var r=0;r<i&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}}).call(this,n(114))},function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],i=e[1];return 3*(n+i)/4-i},e.toByteArray=function(t){var e,n,i=c(t),s=i[0],o=i[1],l=new a(function(t,e,n){return 3*(e+n)/4-n}(0,s,o)),u=0,d=o>0?s-4:s;for(n=0;n<d;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],l[u++]=e>>16&255,l[u++]=e>>8&255,l[u++]=255&e;2===o&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[u++]=255&e);1===o&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e);return l},e.fromByteArray=function(t){for(var e,n=t.length,r=n%3,a=[],s=0,o=n-r;s<o;s+=16383)a.push(u(t,s,s+16383>o?o:s+16383));1===r?(e=t[n-1],a.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],a.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"="));return a.join("")};for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
428+/",o=0,l=s.length;o<l;++o)i[o]=s[o],r[s.charCodeAt(o)]=o;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function u(t,e,n){for(var r,a,s=[],o=e;o<n;o+=3)r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),s.push(i[(a=r)>>18&63]+i[a>>12&63]+i[a>>6&63]+i[63&a]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(t,e){
429/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
430e.read=function(t,e,n,i,r){var a,s,o=8*r-i-1,l=(1<<o)-1,c=l>>1,u=-7,d=n?r-1:0,h=n?-1:1,p=t[e+d];for(d+=h,a=p&(1<<-u)-1,p>>=-u,u+=o;u>0;a=256*a+t[e+d],d+=h,u-=8);for(s=a&(1<<-u)-1,a>>=-u,u+=i;u>0;s=256*s+t[e+d],d+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),a-=c}return(p?-1:1)*s*Math.pow(2,a-i)},e.write=function(t,e,n,i,r,a){var s,o,l,c=8*a-r-1,u=(1<<c)-1,d=u>>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:a-1,f=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),(e+=s+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(s++,l/=2),s+d>=u?(o=0,s=u):s+d>=1?(o=(e*l-1)*Math.pow(2,r),s+=d):(o=e*Math.pow(2,d-1)*Math.pow(2,r),s=0));r>=8;t[n+p]=255&o,p+=f,o/=256,r-=8);for(s=s<<r|o,c+=r;c>0;t[n+p]=255&s,p+=f,s/=256,c-=8);t[n+p-f]|=128*m}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){"use strict";var i=n(363);t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new i("Request failed with status code "+n.status,[i.ERR_BAD_REQUEST,i.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}},function(t,e,n){"use strict";var i=n(126);t.exports=i.isStandardBrowserEnv()?{write:function(t,e,n,r,a,s){var o=[];o.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),i.isString(r)&&o.push("path="+r),i.isString(a)&&o.push("domain="+a),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var i=n(126),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,s={};return t?(i.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=i.trim(t.substr(0,a)).toLowerCase(),n=i.trim(t.substr(a+1)),e){if(s[e]&&r.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},function(t,e,n){"use strict";var i=n(126);t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";t.exports=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}},function(t,e){t.exports=null},function(t,e,n){"use strict";var i=n(976).version,r=n(363),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var s={};a.transitional=function(t,e,n){function a(t,e){return"[Axios v"+i+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,i,o){if(!1===t)throw new r(a(i," has been removed"+(e?" in "+e:"")),r.ERR_DEPRECATED);return e&&!s[i]&&(s[i]=!0,console.warn(a(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,o)}},t.exports={assertOptions:function(t,e,n){if("object"!=typeof t)throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(t),a=i.length;a-- >0;){var s=i[a],o=e[s];if(o){var l=t[s],c=void 0===l||o(l,s,t);if(!0!==c)throw new r("option "+s+" must be "+c,r.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new r("Unknown option "+s,r.ERR_BAD_OPTION)}},validators:a}},function(t,e,n){"use strict";var i=n(488);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,i=n._listeners.length;for(e=0;e<i;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,i=new Promise((function(t){n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t){n.reason||(n.reason=new i(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},r.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},function(t,e,n){"use strict";
vendor: 5,362 bytes, line 430
430t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";var i=n(126);t.exports=function(t){return i.isObject(t)&&!0===t.isAxiosError}},function(t,e,n){var i=n(1281);t.exports=i},function(t,e,n){var i=n(53),r=n(1282),a=String.prototype;t.exports=function(t){var e=t.endsWith;return"string"==typeof t||t===a||i(a,t)&&e===a.endsWith?r:e}},function(t,e,n){n(1283);var i=n(74);t.exports=i("String").endsWith},function(t,e,n){"use strict";var i,r=n(18),a=n(22),s=n(136).f,o=n(294),l=n(125),c=n(452),u=n(137),d=n(453),h=n(98),p=a("".endsWith),f=a("".slice),m=Math.min,g=d("endsWith");r({target:"String",proto:!0,forced:!!(h||g||(i=s(String.prototype,"endsWith"),!i||i.writable))&&!g},{endsWith:function(t){var e=l(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,i=e.length,r=void 0===n?i:m(o(n),i),a=l(t);return p?p(e,a,r):f(e,r-a.length,r)===a}})},function(t,e,n){var i=n(357),r=n(259);t.exports=function(t,e){var n=-1,a=r(t)?Array(t.length):[];return i(t,(function(t,i,r){a[++n]=e(t,i,r)})),a}},function(t,e,n){var i={"./af":977,"./af.js":977,"./ar":978,"./ar-dz":979,"./ar-dz.js":979,"./ar-kw":980,"./ar-kw.js":980,"./ar-ly":981,"./ar-ly.js":981,"./ar-ma":982,"./ar-ma.js":982,"./ar-sa":983,"./ar-sa.js":983,"./ar-tn":984,"./ar-tn.js":984,"./ar.js":978,"./az":985,"./az.js":985,"./be":986,"./be.js":986,"./bg":987,"./bg.js":987,"./bm":988,"./bm.js":988,"./bn":989,"./bn-bd":990,"./bn-bd.js":990,"./bn.js":989,"./bo":991,"./bo.js":991,"./br":992,"./br.js":992,"./bs":993,"./bs.js":993,"./ca":994,"./ca.js":994,"./cs":995,"./cs.js":995,"./cv":996,"./cv.js":996,"./cy":997,"./cy.js":997,"./da":998,"./da.js":998,"./de":999,"./de-at":1e3,"./de-at.js":1e3,"./de-ch":1001,"./de-ch.js":1001,"./de.js":999,"./dv":1002,"./dv.js":1002,"./el":1003,"./el.js":1003,"./en-au":1004,"./en-au.js":1004,"./en-ca":1005,"./en-ca.js":1005,"./en-gb":1006,"./en-gb.js":1006,"./en-ie":1007,"./en-ie.js":1007,"./en-il":1008,"./en-il.js":1008,"./en-in":1009,"./en-in.js":1009,"./en-nz":1010,"./en-nz.js":1010,"./en-sg":1011,"./en-sg.js":1011,"./eo":1012,"./eo.js":1012,"./es":1013,"./es-do":1014,"./es-do.js":1014,"./es-mx":1015,"./es-mx.js":1015,"./es-us":1016,"./es-us.js":1016,"./es.js":1013,"./et":1017,"./et.js":1017,"./eu":1018,"./eu.js":1018,"./fa":1019,"./fa.js":1019,"./fi":1020,"./fi.js":1020,"./fil":1021,"./fil.js":1021,"./fo":1022,"./fo.js":1022,"./fr":1023,"./fr-ca":1024,"./fr-ca.js":1024,"./fr-ch":1025,"./fr-ch.js":1025,"./fr.js":1023,"./fy":1026,"./fy.js":1026,"./ga":1027,"./ga.js":1027,"./gd":1028,"./gd.js":1028,"./gl":1029,"./gl.js":1029,"./gom-deva":1030,"./gom-deva.js":1030,"./gom-latn":1031,"./gom-latn.js":1031,"./gu":1032,"./gu.js":1032,"./he":1033,"./he.js":1033,"./hi":1034,"./hi.js":1034,"./hr":1035,"./hr.js":1035,"./hu":1036,"./hu.js":1036,"./hy-am":1037,"./hy-am.js":1037,"./id":1038,"./id.js":1038,"./is":1039,"./is.js":1039,"./it":1040,"./it-ch":1041,"./it-ch.js":1041,"./it.js":1040,"./ja":1042,"./ja.js":1042,"./jv":1043,"./jv.js":1043,"./ka":1044,"./ka.js":1044,"./kk":1045,"./kk.js":1045,"./km":1046,"./km.js":1046,"./kn":1047,"./kn.js":1047,"./ko":1048,"./ko.js":1048,"./ku":1049,"./ku.js":1049,"./ky":1050,"./ky.js":1050,"./lb":1051,"./lb.js":1051,"./lo":1052,"./lo.js":1052,"./lt":1053,"./lt.js":1053,"./lv":1054,"./lv.js":1054,"./me":1055,"./me.js":1055,"./mi":1056,"./mi.js":1056,"./mk":1057,"./mk.js":1057,"./ml":1058,"./ml.js":1058,"./mn":1059,"./mn.js":1059,"./mr":1060,"./mr.js":1060,"./ms":1061,"./ms-my":1062,"./ms-my.js":1062,"./ms.js":1061,"./mt":1063,"./mt.js":1063,"./my":1064,"./my.js":1064,"./nb":1065,"./nb.js":1065,"./ne":1066,"./ne.js":1066,"./nl":1067,"./nl-be":1068,"./nl-be.js":1068,"./nl.js":1067,"./nn":1069,"./nn.js":1069,"./oc-lnc":1070,"./oc-lnc.js":1070,"./pa-in":1071,"./pa-in.js":1071,"./pl":1072,"./pl.js":1072,"./pt":1073,"./pt-br":1074,"./pt-br.js":1074,"./pt.js":1073,"./ro":1075,"./ro.js":1075,"./ru":1076,"./ru.js":1076,"./sd":1077,"./sd.js":1077,"./se":1078,"./se.js":1078,"./si":1079,"./si.js":1079,"./sk":1080,"./sk.js":1080,"./sl":1081,"./sl.js":1081,"./sq":1082,"./sq.js":1082,"./sr":1083,"./sr-cyrl":1084,"./sr-cyrl.js":1084,"./sr.js":1083,"./ss":1085,"./ss.js":1085,"./sv":1086,"./sv.js":1086,"./sw":1087,"./sw.js":1087,"./ta":1088,"./ta.js":1088,"./te":1089,"./te.js":1089,"./tet":1090,"./tet.js":1090,"./tg":1091,"./tg.js":1091,"./th":1092,"./th.js":1092,"./tk":1093,"./tk.js":1093,"./tl-ph":1094,"./tl-ph.js":1094,"./tlh":1095,"./tlh.js":1095,"./tr":1096,"./tr.js":1096,"./tzl":1097,"./tzl.js":1097,"./tzm":1098,"./tzm-latn":1099,"./tzm-latn.js":1099,"./tzm.js":1098,"./ug-cn":1100,"./ug-cn.js":1100,"./uk":1101,"./uk.js":1101,"./ur":1102,"./ur.js":1102,"./uz":1103,"./uz-latn":1104,"./uz-latn.js":1104,"./uz.js":1103,"./vi":1105,"./vi.js":1105,"./x-pseudo":1106,"./x-pseudo.js":1106,"./yo":1107,"./yo.js":1107,"./zh-cn":1108,"./zh-cn.js":1108,"./zh-hk":1109,"./zh-hk.js":1109,"./zh-mo":1110,"./zh-mo.js":1110,"./zh-tw":1111,"./zh-tw.js":1111};function r(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=a,t.exports=r,r.id=1285},function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}},function(t,e,n){var i=n(357);t.exports=function(t,e){var n=!0;
430return i(t,(function(t,i,r){return n=!!e(t,i,r)})),n}},function(t,e,n){var i=n(1289);t.exports=i},function(t,e,n){n(1290);var i=n(38);t.exports=i.Number.isFinite},function(t,e,n){n(18)({target:"Number",stat:!0},{isFinite:n(1291)})},function(t,e,n){var i=n(35).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&i(t)}},function(t,e,n){var i=n(1293);t.exports=i},function(t,e,n){var i=n(53),r=n(1294),a=String.prototype;t.exports=function(t){var e=t.startsWith;return"string"==typeof t||t===a||i(a,t)&&e===a.startsWith?r:e}},function(t,e,n){n(1295);var i=n(74);t.exports=i("String").startsWith},function(t,e,n){"use strict";var i,r=n(18),a=n(22),s=n(136).f,o=n(294),l=n(125),c=n(452),u=n(137),d=n(453),h=n(98),p=a("".startsWith),f=a("".slice),m=Math.min,g=d("startsWith");r({target:"String",proto:!0,forced:!!(h||g||(i=s(String.prototype,"startsWith"),!i||i.writable))&&!g},{startsWith:function(t){var e=l(u(this));c(t);var n=o(m(arguments.length>1?arguments[1]:void 0,e.length)),i=l(t);return p?p(e,i,n):f(e,n,n+i.length)===i}})},,,,,function(t,e,n){"use strict";n.r(e);n(494),n(755);var i={};try{!function(t,e){if("+"!==new t("q=%2B").get("q")||"+"!==new t({q:"+"}).get("q")||"+"!==new t([["q","+"]]).get("q")||"q=%0A"!==new t("q=\n").toString()||"q=+%26"!==new t({q:" &"}).toString()||"q=%25zx"!==new t({q:"%zx"}).toString())throw t;i.URLSearchParams=t}(URLSearchParams)}catch(t){!function(t,e,n){var r=t.create,a=t.defineProperty,s=/[!'\(\)~]|%20|%00/g,o=/%(?![0-9a-fA-F]{2})/g,l=/\+/g,c={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"},u={append:function(t,e){f(this._ungap,t,e)},delete:function(t){delete this._ungap[t]},get:function(t){return this.has(t)?this._ungap[t][0]:null},getAll:function(t){return this.has(t)?this._ungap[t].slice(0):[]},has:function(t){return t in this._ungap},set:function(t,n){this._ungap[t]=[e(n)]},forEach:function(t,n){var i=this;for(var r in i._ungap)i._ungap[r].forEach(a,r);function a(a){t.call(n,a,e(r),i)}},toJSON:function(){return{}},toString:function(){var t=[];for(var e in this._ungap)for(var n=g(e),i=0,r=this._ungap[e];i<r.length;i++)t.push(n+"="+g(r[i]));return t.join("&")}};for(var d in u)a(h.prototype,d,{configurable:!0,writable:!0,value:u[d]});function h(t){var e=r(null);switch(a(this,"_ungap",{value:e}),!0){case!t:break;case"string"==typeof t:"?"===t.charAt(0)&&(t=t.slice(1));for(var i=t.split("&"),s=0,o=i.length;s<o;s++){var l=(c=i[s]).indexOf("=");-1<l?f(e,m(c.slice(0,l)),m(c.slice(l+1))):c.length&&f(e,m(c),"")}break;case n(t):for(s=0,o=t.length;s<o;s++){var c;f(e,(c=t[s])[0],c[1])}break;case"forEach"in t:t.forEach(p,e);break;default:for(var u in t)f(e,u,t[u])}}function p(t,e){f(this,e,t)}function f(t,e,i){var r=n(i)?i.join(","):i;e in t?t[e].push(r):t[e]=[r]}function m(t){return decodeURIComponent(t.replace(o,"%25").replace(l," "))}function g(t){return encodeURIComponent(t).replace(s,v)}function v(t){return c[t]}i.URLSearchParams=h}(Object,String,Array.isArray)}!function(t){var e=!1;try{e=!!Symbol.iterator}catch(t){}function n(t,n){var i=[];return t.forEach(n,i),e?i[Symbol.iterator]():{next:function(){var t=i.shift();return{done:void 0===t,value:t}}}}"forEach"in t||(t.forEach=function(t,e){var n=this,i=Object.create(null);this.toString().replace(/=[\s\S]*?(?:&|$)/g,"=").split("=").forEach((function(r){r.length&&!(r in i)&&(i[r]=n.getAll(r)).forEach((function(i){t.call(e,i,r,n)}))}))}),"keys"in t||(t.keys=function(){return n(this,(function(t,e){this.push(e)}))}),"values"in t||(t.values=function(){return n(this,(function(t,e){this.push(t)}))}),"entries"in t||(t.entries=function(){return n(this,(function(t,e){this.push([e,t])}))}),e&&!(Symbol.iterator in t)&&(t[Symbol.iterator]=t.entries),"sort"in t||(t.sort=function(){for(var t,e,n,i=this.entries(),r=i.next(),a=r.done,s=[],o=Object.create(null);!a;)e=(n=r.value)[0],s.push(e),e in o||(o[e]=[]),o[e].push(n[1]),a=(r=i.next()).done;for(s.sort(),t=0;t<s.length;t++)this.delete(s[t]);for(t=0;t<s.length;t++)e=s[t],this.append(e,o[e].shift())}),function(e){var n=e.defineProperty,i=e.getOwnPropertyDescriptor,r=function(e){var n=e.append;e.append=t.append,URLSearchParams.call(e,e._usp.search.slice(1)),e.append=n},a=function(t,e){if(!(t instanceof e))throw new TypeError("'searchParams' accessed on an object that does not implement interface "+e.name)}
430,s=function(s){var o,l,c=s.prototype,u=i(c,"searchParams"),d=i(c,"href"),h=i(c,"search");!u&&h&&h.set&&(l=function(e){function i(n,i){t.append.call(this,n,i),n=this.toString(),e.set.call(this._usp,n?"?"+n:"")}function r(n){t.delete.call(this,n),n=this.toString(),e.set.call(this._usp,n?"?"+n:"")}function a(n,i){t.set.call(this,n,i),n=this.toString(),e.set.call(this._usp,n?"?"+n:"")}return function(t,e){return t.append=i,t.delete=r,t.set=a,n(t,"_usp",{configurable:!0,writable:!0,value:e})}}(h),o=function(t,e){return n(t,"_searchParams",{configurable:!0,writable:!0,value:l(e,t)}),e},e.defineProperties(c,{href:{get:function(){return d.get.call(this)},set:function(t){var e=this._searchParams;d.set.call(this,t),e&&r(e)}},search:{get:function(){return h.get.call(this)},set:function(t){var e=this._searchParams;h.set.call(this,t),e&&r(e)}},searchParams:{get:function(){return a(this,s),this._searchParams||o(this,new URLSearchParams(this.search.slice(1)))},set:function(t){a(this,s),o(this,t)}}}))};try{s(HTMLAnchorElement),/^function|object$/.test(typeof URL)&&URL.prototype&&s(URL)}catch(t){}}(Object)}(i.URLSearchParams.prototype);i.URLSearchParams;var r=n(287),a=n.n(r),s=n(489),o=n.n(s);function l(t,e,n,i,r,a,s){try{var l=t[a](s),c=l.value}catch(t){return void n(t)}l.done?e(c):o.a.resolve(c).then(i,r)}function c(t){return function(){var e=this,n=arguments;return new o.a((function(i,r){var a=t.apply(e,n);function s(t){l(a,i,r,s,o,"next",t)}function o(t){l(a,i,r,s,o,"throw",t)}s(void 0)}))}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=n(266),h=n.n(d);function p(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),h()(t,i.key,i)}}function f(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),h()(t,"prototype",{writable:!1}),t}var m=n(60),g=n.n(m),v=(n(47),n(227),n(20),n(24),n(161),n(32)),_=n.n(v),y=n(365),b=n.n(y),x=(n(142),n(122),function(){function t(){u(this,t)}var e,n,i,r;return f(t,null,[{key:"getDuration",value:function(t){var e=0;return window.getComputedStyle(t).transitionDuration.split(", ").forEach((function(t){t=1e3*+t.replace("s",""),e=t>e?t:e})),e}},{key:"delay",value:function(t,e){return new b.a((function(n){setTimeout((function(){"function"==typeof e&&e(),n()}),t)}))}},{key:"show",value:(r=c(g.a.mark((function t(e){var n,i=arguments;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>1&&void 0!==i[1]&&i[1],e.classList.remove("animate-hide"),!n&&(e.style.display=null),e.setAttribute("aria-hidden","false"),"none"!==window.getComputedStyle(e).display||n||(e.style.display="block"),t.next=7,this.delay(1,(function(){e.classList.add("animate-show")}));case 7:return t.next=9,this.delay(this.getDuration(e));case 9:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"hide",value:(i=c(g.a.mark((function t(e){var n,i=arguments;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>1&&void 0!==i[1]&&i[1],e.classList.remove("animate-show"),e.classList.add("animate-hide"),t.next=5,this.delay(this.getDuration(e),(function(){!n&&(e.style.display="none"),e.setAttribute("aria-hidden","true")}));case 5:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"addClass",value:(n=c(g.a.mark((function t(e,n){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.classList.add("animate-class-add"),t.next=3,this.delay(1,(function(){e.classList.add(n)}));case 3:return t.next=5,this.delay(this.getDuration(e),(function(){e.classList.remove("animate-class-add")}));case 5:case"end":return t.stop()}}),t,this)}))),function(t,e){return n.apply(this,arguments)})},{key:"removeClass",value:(e=c(g.a.mark((function t(e,n){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.classList.add("animate-class-remove"),t.next=3,this.delay(1,(function(){e.classList.remove(n)}));case 3:return t.next=5,this.delay(this.getDuration(e),(function(){e.classList.remove("animate-class-remove")}));case 5:case"end":return t.stop()}}),t,this)}))),function(t,n){return e.apply(this,arguments)})}]),t}()),w=n(164),M=n.n(w),S=n(946),T=n.n(S);function A(t){return(A="function"==typeof M.a&&"symbol"==typeof T.a?function(t){return typeof t}:function(t){return t&&"function"==typeof M.a&&t.constructor===M.a&&t!==M.a.prototype?"symbol":typeof t})(t)}var L=n(57),E=n.n(L),C=n(165),I=(new Date).valueOf(),D=function(){function t(){u(this,t)}return f(t,null,[{key:"getValue",value:function(t,e){var n;if("string"==typeof e){var i=e.split(".");
430n=t,i.forEach((function(t){n="object"===A(n)?n[t]:n}))}return n}},{key:"getSelector",value:function(t,e){return e?t:t+":not([data-scoped])"}},{key:"show",value:function(t,e,n){var i=this,r=this.getSelector("[data-show]",n);t.querySelectorAll(r).forEach((function(t){n&&t.setAttribute("data-scoped",I),i.getValue(e,t.getAttribute("data-show"))?x.show(t):x.hide(t)}))}},{key:"hide",value:function(t,e,n){var i=this,r=this.getSelector("[data-hide]",n);t.querySelectorAll(r).forEach((function(t){n&&t.setAttribute("data-scoped",I),i.getValue(e,t.getAttribute("data-hide"))?x.hide(t):x.show(t)}))}},{key:"text",value:function(t,e,n){var i=this,r=this.getSelector("[data-bind]",n);t.querySelectorAll(r).forEach((function(t){n&&t.setAttribute("data-scoped",I);var r=i.getValue(e,t.getAttribute("data-bind")),a=t.getAttribute("data-mail-prefix");t.innerText=Object(C.a)(r,a)||""}))}},{key:"src",value:function(t,e,n){var i=this,r=this.getSelector("img[data-src]",n);t.querySelectorAll(r).forEach((function(t){n&&t.setAttribute("data-scoped",I);var r=i.getValue(e,t.getAttribute("data-src"));void 0!==r&&t.setAttribute("src",r)}))}},{key:"href",value:function(t,e,n){var i=this,r=this.getSelector("a[data-href]",n);t.querySelectorAll(r).forEach((function(t){n&&t.setAttribute("data-scoped",I);var r=i.getValue(e,t.getAttribute("data-href")),a=t.getAttribute("data-mail-prefix");void 0!==r&&t.setAttribute("href",Object(C.a)(r,a))}))}},{key:"each",value:function(t,e,n){var i=this,r=this.getSelector("[data-each]",n),a={};t.querySelectorAll(r).forEach((function(t){n&&t.setAttribute("data-scoped",I),t.hasAttribute("data-each-uid")||t.setAttribute("data-each-uid",I++);var e=t.getAttribute("data-each-uid");a[e]?t.remove():a[e]=t})),E()(a).forEach((function(t){var n=a[t],r=n.cloneNode(!0),s=n.getAttribute("data-each");if("string"==typeof s){var o=(s=s.split(" in "))[0],l=e[s[1]];Array.isArray(l)&&l.forEach((function(t,e){var a={};if(a[o]=t,0===e)i.all(n,a,!0);else{var s=r.cloneNode(!0);i.all(s,a,!0),n.insertAdjacentElement("afterend",s)}}))}}))}},{key:"all",value:function(t,e,n){this.each(t,e,n),this.show(t,e,n),this.hide(t,e,n),this.text(t,e,n),this.src(t,e,n),this.href(t,e,n)}}]),t}(),k=(new(function(){function t(){var e,n=this;u(this,t),this.header=document.querySelector("[data-header]"),this.hasEnabledShrinking=document.querySelector("[data-shrink-head]"),this.isTransparentHeader=document.querySelector("[data-transparent-head]")&&document.querySelector('.page-wrapper .page [data-section="hero"]:first-child'),this.header&&(this.class={hidden:"is-hidden",expanded:"is-expanded",active:"is-active",selected:"is-selected",offset:"has-offset",icon:"icon",iconBurger:"icon-burger",iconChevron:"icon-chevron-right",iconClose:"icon-close",listItem:"subnav__list-item",listItemLabel:"subnav__list-item__label",navTemplate:"subnav__level subnav__level--deep",overview:"subnav__list-item--overview"},this.selector={active:".".concat(this.class.active),icon:".".concat(this.class.icon),listItem:_()(e=".".concat(this.class.listItem,":not(.")).call(e,this.class.overview,")")},this.topNav=this.header.querySelector("[data-mainnav]"),this.subNav=this.header.querySelector("[data-subnav]"),this.backdrop=this.header.querySelector("[data-backdrop]"),this.toggle=this.header.querySelector("[data-toggle]"),this.toggleIcon=this.toggle.querySelector(this.selector.icon),this.navLevel1=this.subNav.querySelector('[data-navlevel="1"]'),this.navLevel2=this.subNav.querySelector('[data-navlevel="2"]'),this.navLevel3=this.subNav.querySelector('[data-navlevel="3"]'),this.headerElements=[],this.headerData=[],this.mobileNavOpened=!1,this.tabIndex=-1,this.listIndex=-1,this.activeTab={},this.activeList={},this.searchToggle=this.header.querySelector("[data-toggle-search]"),this.search=this.header.querySelector("[data-search]"),this.isSearchActive=!1,this.createNavTemplate(),this.header.querySelectorAll("[data-nav]").forEach((function(t,e){t.setAttribute("data-index",e.toString()),t.addEventListener("click",(function(t){n.toggleSubNav(t)})),n.headerElements.push(t);var i=JSON.parse(t.getAttribute("data-nav"));n.headerData.push(i),i.active&&t.classList.add(n.class.active)})),this.hasEnabledShrinking&&document.addEventListener("scroll",(function(){n.detectHeaderScrollTop(0)})),this.isTransparentHeader&&(this.header.classList.add("has-transparent-head"),document.addEventListener("scroll",(function(){n.detectHeaderScrollTop(40)}))),this.backdrop.addEventListener("click",(function(){n.hideNav(),n.searchToggle&&n.hideSearch(),x.hide(n.backdrop)})),this.toggle.addEventListener("click",(function(){n.toggleMobileNav()})),this.navLevel1.querySelector("[data-back] button").addEventListener("click",(function(){n.hideNav()})),this.navLevel3.querySelector("[data-back] button").addEventListener("click",(function(){n.list=-1})),this.searchToggle&&this.searchToggle.addEventListener("click",(function(){n.toggleSearch()})),window.addEventListener("keydown",(function(t){"Escape"===t.key&&-1!==n.tab&&n.hideNav()})))}var e,n,i,r,a;return f(t,[{key:"createNavTemplate",value:function(){this.navTemplate=this.navLevel3.cloneNode(!0),this.navTemplate.setAttribute("data-navlevel","deep"),this.navTemplate.className=this.class.navTemplate,this.navTemplate.querySelector("[data-back]").classList.remove("visible-xsmall-medium")}},{key:"tab",get:function(){return this.tabIndex},set:function(t){this.tabIndex=t,this.activeTab=this.headerData[this.tabIndex]||{},this.markSelected(this.headerElements,t),this.renderData(this.subNav,this.activeTab),this.list=this.getActiveItem(this.activeTab.items)}},{key:"list",get:function(){return this.listIndex},set:function(t){var e,n;(this.listIndex=t,this.activeList=Array.isArray(this.activeTab.items)&&this.listIndex>=0?this.activeTab.items[this.listIndex]:{},this.navLevel3.style.height=null,this.markSelected(this.navLevel2.querySelectorAll(this.selector.listItem),t),this.renderData(this.navLevel3,this.activeList,!0),this.listIndex<0||!Array.isArray(this.activeList.items)||0===this.activeList.items.length)?x.hide(this.navLevel3):(x.show(this.navLevel3),this.navLevel3.querySelectorAll(_()(e="".concat(this.selector.listItem)).call(e,this.selector.active,' >
430 [data-navlevel="deep"]')).forEach((function(t){x.show(t),n=t})),n&&(this.navLevel3.style.height="".concat(n.offsetHeight,"px")))}},{key:"getActiveItem",value:function(t){if(Array.isArray(t))for(var e=0;e<t.length;e++)if(t[e].active)return e;return-1}},{key:"markSelected",value:function(t,e){var n=this;t.forEach((function(t,i){e===i?t.classList.add(n.class.selected):t.classList.remove(n.class.selected)}))}},{key:"toggleMobileNav",value:(a=c(g.a.mark((function t(){var e;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.mobileNavOpened=!this.mobileNavOpened,this.toggleIcon.classList.toggle(this.class.iconBurger),this.toggleIcon.classList.toggle(this.class.iconClose),!this.isSearchActive){t.next=7;break}return x.hide(this.backdrop),t.next=7,this.hideSearch();case 7:this.mobileNavOpened?(e=this.getActiveItem(this.headerData))>=0&&(this.headerData[e].items&&this.headerData[e].items.length?(x.show(this.subNav),this.tab=e):this.hideNav()):(x.hide(this.backdrop),this.hideNav()),this.mobileNavOpened?x.show(this.topNav,!0):x.hide(this.topNav,!0);case 9:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"hideSearch",value:(r=c(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.searchToggle.classList.remove(this.class.active),t.next=3,x.hide(this.search);case 3:this.header.classList.remove(this.class.expanded),this.isSearchActive=!1;case 5:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"showSearch",value:function(){this.header.classList.add(this.class.expanded),this.searchToggle.classList.add(this.class.active),x.show(this.search),this.isSearchActive=!0,this.search.querySelector("#search-site-header-input input").focus()}},{key:"toggleSearch",value:(i=c(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=-1!==this.tab,!t.t0){t.next=4;break}return t.next=4,this.hideNav();case 4:this.mobileNavOpened&&(x.hide(this.topNav,!0),this.toggleIcon.classList.add(this.class.iconBurger),this.toggleIcon.classList.remove(this.class.iconClose),this.mobileNavOpened=!this.mobileNavOpened),this.isSearchActive?(this.hideSearch(),x.hide(this.backdrop)):(x.show(this.backdrop),this.showSearch());case 6:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"toggleSubNav",value:(n=c(g.a.mark((function t(e){var n,i;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=+e.currentTarget.getAttribute("data-index"),i="a"===e.currentTarget.tagName.toLowerCase(),t.t0=this.isSearchActive,!t.t0){t.next=6;break}return t.next=6,this.hideSearch();case 6:this.tab===n||i?(this.hideNav(),x.hide(this.backdrop)):(this.header.classList.add(this.class.expanded),this.tab<0&&x.show(this.backdrop),x.show(this.subNav),this.tab=n);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"hideNav",value:(e=c(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.tab=-1,t.next=3,x.hide(this.subNav);case 3:this.header.classList.remove(this.class.expanded);case 4:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"selectList",value:function(t){var e=+t.currentTarget.getAttribute("data-index");this.list=this.list===e?-1:e}},{key:"detectHeaderScrollTop",value:function(t){(document.body.scrollTop||document.documentElement.scrollTop)<=(t||0)?this.header.classList.remove(this.class.offset):this.header.classList.add(this.class.offset)}},{key:"renderData",value:function(t,e,n){var i,r,a=this,s=!e;e=e||{},D.all(t,e);var o=t.querySelector("[data-navlist]"),l=e[o.getAttribute("data-navlist")]||[],c=document.createElement("I");if(c.className=_()(i="".concat(this.class.icon," ")).call(i,this.class.iconChevron),o.innerHTML="",s||!(l.length>0))return o.style.height="0",void x.hide(o);x.show(o),_()(r=[{title:e.title,url:e.url,overview:!0,hidden:e.hidden}]).call(r,l).forEach((function(t,e){var i,r=t.overview,s=t.hidden,l=document.createElement("A");l.className=a.class.listItem,l.innerHTML=_()(i='<span class="'.concat(a.class.listItemLabel,'">')).call(i,t.title,"</span>"),s&&l.classList.add(a.class.hidden),r&&l.classList.add(a.class.overview),t.active&&l.classList.add(a.class.active),Array.isArray(t.items)&&0!==t.items.length?(l.setAttribute("data-index",(e-1).toString()),l.appendChild(c.cloneNode()),n?(l.appendChild(a.navTemplate.cloneNode(!0)),a.renderData(l,t,!0),l.addEventListener("click",(function(){var t=l.querySelector('[data-navlevel="deep"]');x.show(t),a.navLevel3.style.height="".concat(t.offsetHeight,"px")})),l.querySelector("[data-back] button").addEventListener("click",(function(t){t.stopPropagation();var e=l.querySelector('[data-navlevel="deep"]');x.hide(e).then((function(){var t=0;a.navLevel3.querySelectorAll('[data-navlevel="deep"]').forEach((function(e){t=e.offsetHeight>t?e.offsetHeight:t})),a.navLevel3.style.height=t?"".concat(t,"px"):null}))}))):l.addEventListener("click",(function(t){a.selectList(t)}))):l.setAttribute("href",t.url),o.appendChild(l)}));var u=o.querySelector(this.selector.listItem);o.style.height=u&&!n?"".concat(u.offsetHeight*(l.length+1),"px"):null}}]),t}()),n(45)),O=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return e;try{var n;return null!==(n=JSON.parse(decodeURIComponent(t)))&&void 0!==n?n:e}catch(t){return console.log("e",t),e}},R=function(){var t=this,e=t.$createElement,n=t._self._c||e;
430return n("div",[n("div",{staticClass:"location-details"},[t.googleMaps?n("vue-map",{attrs:{"css-class":"location-map","initial-index":t.config.selectIndex,locations:t.locations,zoom:t.config.zoom,center:t.config.center,"on-select":t.onSelect,i18n:t.i18n,"has-marker-labels":!0}}):t._e(),t._v(" "),n("div",{staticClass:"location-item is-active",class:{"location__switch-marker":t.animating}},t._l(t.selectedLocations,(function(e,i){return n("location-item",{key:i,attrs:{"is-active":"",location:e,i18n:t.i18n}})})),1)],1),t._v(" "),n("div",{staticClass:"location-accordion",class:{"visible-xsmall-medium":1===t.locations.length},attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"location-accordion__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("div",{staticClass:"location-accordion__indicator"}),t._v(" "),n("h3",{staticClass:"location-accordion__title"},[t._v("\n        "+t._s(t.i18n("location.accordion.title"))+"\n      ")])]),t._v(" "),n("div",{staticClass:"location-accordion__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"location-list"},t._l(t.locations,(function(e){return n("div",{key:e.id,class:[t.checkActiveLocation(e),"location-item"]},[n("location-item",{attrs:{location:e,i18n:t.i18n}})],1)})),0)])])])};R._withStripped=!0;var P=n(34),N=n.n(P),Y={computed:{googleMaps:function(){return window.google&&window.google.maps}}},F=n(62),H=function(t){var e=0;return(window.getComputedStyle(t).transitionDuration||"").split(", ").forEach((function(t){t=1e3*+t.replace("s",""),e=t>e?t:e})),e},j=function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.cssClass})};j._withStripped=!0;var B=n(75),z=n.n(B),U=n(76),V=n.n(U),W=n(77),G=n.n(W),q=n(59),X=n(17),$=n.n(X),K=n(490),J=n.n(K),Q=n(50),Z=n.n(Q),tt=n(105),et=n.n(tt),nt=(n(92),n(461),n(463),n(349),{mapTypeId:"roadmap",styles:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],disableDefaultUI:!0,disableDoubleClickZoom:!0,streetViewControl:!1}),it=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"info-window"},[t._l(t.locations,(function(e,i){return[n("div",{key:"title-"+i,staticClass:"info-window__subtitle"},[t._v("\n      "+t._s(e.title||"")+"\n    ")]),t._v(" "),n("div",{key:"name-"+i,staticClass:"info-window__title"},[t._v("\n      "+t._s(e.name||"")+"\n    ")]),t._v(" "),n("div",{key:"address-"+i,staticClass:"info-window__address"},[t._v("\n      "+t._s(t.address(e))+"\n    ")]),t._v(" "),n("div",{key:"details-"+i,staticClass:"info-window__details"},[e.types?t._l(e.types,(function(e){return n("div",{key:"info-"+e.name+"-"+i,staticClass:"location-number"},[n("i",{class:"icon icon-"+e.icon}),t._v(" "),n("span",[t._v(t._s(e.name||""))])])})):t._e(),t._v(" "),e.employees?n("div",{staticClass:"location-number"},[n("i",{staticClass:"icon icon-employees"}),t._v(" "),n("span",[t._v(t._s(e.employees||""))])]):t._e(),t._v(" "),t.link(e)?n("div",{staticClass:"info-window__cta"},[n("a",{staticClass:"button button--link button--icon-left",attrs:{href:t.link(e)}},[n("i",{staticClass:"icon icon-arrow-right",attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",{staticClass:"button__label"},[t._v(t._s(t.linkLabel(e)))])])]):t._e()],2)]}))],2)};it._withStripped=!0;n(159);var rt={name:"LocationInfoWindow",props:{locations:{type:Array,default:function(){return[]}},i18n:{type:Function,default:function(){}}},methods:{joinFields:function(t,e,n){var i=[];return t.forEach((function(t){e[t]&&i.push(e[t])})),i.join(n)},address:function(t){return this.joinFields(["street","city","country"],t.address||{},", ")},link:function(t){return t.regionaladviser||t.url},linkLabel:function(t){return this.i18n(t.regionaladviser?"location.regionaladviser":"location.details")}}},at=n(4),st=Object(at.a)(rt,it,[],!1,null,null,null);st.options.__file="src/assets/toolkit/scripts/components/location/location-info-window.vue";var ot=st.exports;function lt(t,e){var n=E()(t);if(z.a){var i=z()(t);e&&(i=N()(i).call(i,(function(e){return V()(t,e).enumerable}))),n.push.apply(n,i)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
430e%2?lt(Object(n),!0).forEach((function(e){Object(q.a)(t,e,n[e])})):G.a?Object.defineProperties(t,G()(n)):lt(Object(n)).forEach((function(e){Object.defineProperty(t,e,V()(n,e))}))}return t}var ut={name:"Map",mixins:[Y],props:{cssClass:{type:String,default:""},initialIndex:{type:Number,default:0},zoom:{type:Number,default:null},center:{type:Object,default:function(){return null}},locations:{type:Array,default:function(){return[]}},hasInfoWindow:Boolean,hasGeoJsons:Boolean,hasMarkerLabels:Boolean,hasBluePins:Boolean,onSelect:{type:Function,default:function(){}},i18n:{type:Function,default:function(){}},customInfoWindow:{type:Function,default:null}},data:function(){return{whitelabel:"default",map:null,bounds:null,activeIndex:this.initialIndex,markers:[],color:{default:{primary:"#1660A6",secondary:"#19AE59",grey:"#333333"},ebw:{primary:"#1660A6",secondary:"#19AE59",grey:"#333333"},cfk:{primary:"#2655ab",secondary:"#19AE59",grey:"#333333"},dsd:{primary:"#003a78",secondary:"#DC043F",grey:"#333333"},solsel:{primary:"#52ae32",secondary:"#0096d2",grey:"#333333"},axalpro:{primary:"#ff5c35",secondary:"#2958c0",grey:"#333333"}},LocationInfoWindowComponent:null}},computed:{mapOptions:function(){var t={};return this.center&&(t.center=this.center),this.zoom&&(t.zoom=this.zoom),ct(ct({},nt),t)},pin:function(){return{path:"M8,23.58a1,1,0,0,1-.54-.16,1.07,1.07,0,0,1-.3-.3C5.48,20.49,0,11.65,0,8A8,8,0,0,1,16,8c0,3.54-5,11.75-7.16,15.12a1,1,0,0,1-.63.44Z",fillColor:this.hasBluePins?this.color[this.whitelabel].primary:this.color[this.whitelabel].grey,fillOpacity:1,scale:this.hasInfoWindow&&!this.hasMarkerLabels?1:2,strokeColor:this.hasBluePins?this.color[this.whitelabel].primary:this.color[this.whitelabel].grey,strokeWeight:1,size:new this.googleMaps.Size(16,24),labelOrigin:new this.googleMaps.Point(8,8),anchor:new this.googleMaps.Point(8,24)}},geojsonStyles:function(){return{fillColor:this.color[this.whitelabel].primary,fillOpacity:.2,strokeColor:this.color[this.whitelabel].primary,strokeOpacity:.5,strokeWeight:2}},activeGeojsonStyles:function(){return{fillColor:this.color[this.whitelabel].primary,fillOpacity:.6,strokeColor:this.color[this.whitelabel].primary,strokeOpacity:.8,strokeWeight:2}},hoverGeojsonStyles:function(){return{fillColor:this.color[this.whitelabel].primary,fillOpacity:.4,strokeColor:this.color[this.whitelabel].primary,strokeOpacity:.6,strokeWeight:2}}},watch:{zoom:function(t){$()(this)&&$()(this).getZoom()!==t&&(t?$()(this).setZoom(t):this.bounds&&$()(this).fitBounds(this.bounds))},center:function(t){if($()(this))if(t){var e=$()(this).getCenter(),n=e.lat,i=e.lng;n===t.lat&&i===t.lng||$()(this).setCenter(t)}else $()(this).fitBounds(this.bounds)}},mounted:function(){var t=this;this.map=new this.googleMaps.Map(this.$el,this.mapOptions),this.setWhitelabel(),this.collectMarkers(),this.setMarkers(),this.hasGeoJsons&&this.setGeoJsons(),this.calculateBounds(),this.hasGeoJsons?this.googleMaps.event.addListener($()(this),"click",(function(){t.activeIndex=void 0,t.markers.forEach((function(t){return t.infoWindow.close()})),t.hasGeoJsons&&$()(t).data.revertStyle(),t.$emit("update",null)})):this.activeIndex>this.markers.length-1&&(this.activeIndex=0),this.locations&&this.locations.length&&!this.hasInfoWindow&&(this.setHashIndex(),window.addEventListener("hashchange",(function(){t.setHashIndex()}))),!this.center&&this.zoom&&this.googleMaps.event.addListenerOnce($()(this),"bounds_changed",(function(){$()(t).setZoom(t.zoom)})),!this.bounds||this.center&&this.zoom||$()(this).fitBounds(this.bounds),this.hasGeoJsons&&this.markers&&this.highlightMarker(this.markers[this.initialIndex])},methods:{setWhitelabel:function(){switch(!0){case document.body.classList.contains("cfk"):return this.whitelabel="cfk";case document.body.classList.contains("ebw"):return this.whitelabel="ebw";case document.body.classList.contains("dsd"):return this.whitelabel="dsd";case document.body.classList.contains("solsel"):return this.whitelabel="solsel";case document.body.classList.contains("axalpro"):return this.whitelabel="axalpro";default:return this.whitelabel="default"}},collectMarkers:function(){var t=this,e={};this.locations.forEach((function(t){var n=t.lat.toString(),i=t.lng.toString();e[n]||(e[n]={}),e[n][i]||(e[n][i]=[]),e[n][i].push(t)}
430)),E()(e).forEach((function(n){E()(e[n]).forEach((function(i){var r,a={lat:+n,lng:+i,label:e[n][i][0].label,ids:$()(r=e[n][i]).call(r,(function(t){return t.id})),locations:e[n][i],index:void 0};t.markers.push(a)}))}))},setMarkers:function(){var t=this;if(this.markers.forEach((function(e,n){e.index=n;var i={position:new t.googleMaps.LatLng(e.lat,e.lng),map:$()(t),id:e.locations[0]["ks.number"],animation:t.googleMaps.Animation.DROP,icon:t.hasGeoJsons?t.adviserPin(e):ct({},t.pin),title:e.locations[0].name,zIndex:n+1};if(e.label&&t.hasMarkerLabels&&(i.label={text:e.label,color:"white",fontFamily:"Avenir-Next",fontWeight:"500",fontSize:"16px"}),e.item=new t.googleMaps.Marker(i),t.hasInfoWindow){var r=t.getInfoWindowContent(e.locations);e.infoWindow=new t.googleMaps.InfoWindow({content:r,maxWidth:400}),t.googleMaps.event.addListener(e.item,"click",(function(){t.highlightMarker(e)}))}else t.googleMaps.event.addListener(e.item,"click",(function(){location.hash=e.ids[0]}))})),this.hasGeoJsons){var e=new this.googleMaps.OverlayView;e.draw=function(){this.getPanes().markerLayer.id="location__marker-wrapper"},e.setMap($()(this))}},setGeoJsons:function(){var t=this;this.markers.forEach((function(e){e.locations[0].geojson&&(e.feature=$()(t).data.addGeoJson(e.locations[0].geojson),t.googleMaps.event.addListener(e.infoWindow,"closeclick",(function(){t.$emit("update",null),$()(t).data.revertStyle()})))})),$()(this).data.setStyle(this.geojsonStyles),$()(this).data.addListener("mouseover",(function(e){var n=t.getMarkerByEvent(e);n&&(n.index===t.activeIndex||$()(t).data.overrideStyle(e.feature,t.hoverGeojsonStyles))})),$()(this).data.addListener("mouseout",(function(e){var n=t.getMarkerByEvent(e);n&&(n.index===t.activeIndex||$()(t).data.revertStyle(e.feature))})),$()(this).data.addListener("click",(function(e){var n=t.getMarkerByEvent(e);t.highlightMarker(n)}))},highlightMarker:function(t){t&&(this.markers.forEach((function(t){return t.infoWindow.close()})),t.infoWindow.open($()(this),t.item),this.hasGeoJsons&&($()(this).data.revertStyle(),$()(this).data.overrideStyle(t.feature[0],this.activeGeojsonStyles)),this.activeIndex=t.index,this.$emit("update",this.activeIndex))},calculateBounds:function(){var t=new this.googleMaps.LatLngBounds;this.markers.forEach((function(e){t.extend(e.item.position)})),this.hasGeoJsons&&$()(this).data.forEach((function(e){e.getGeometry().forEachLatLng((function(e){t.extend(e)}))})),this.bounds=t},setActiveMarker:function(t){var e=this;return c(g.a.mark((function n(){return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.activeIndex||0===e.activeIndex){n.next=2;break}return n.abrupt("return");case 2:e.paintMarker(e.markers[e.activeIndex],"grey"),e.activeIndex=t.index,e.paintMarker(t,"secondary"),e.onSelect(t);case 6:case"end":return n.stop()}}),n)})))()},setHashIndex:function(){var t;if(location.hash){var e=J()(t=this.markers).call(t,(function(t){var e;return Z()(e=t.ids).call(e,location.hash.replace("#",""))}));e=e<0?this.activeIndex:e,this.setActiveMarker(this.markers[e])}else this.setActiveMarker(this.markers[this.activeIndex])},paintMarker:function(t,e){t.item.setIcon(ct(ct({},this.pin),{},{fillColor:this.color[this.whitelabel][e],strokeColor:this.color[this.whitelabel][e]})),t.item.setZIndex("secondary"===e?100:t.index)},getInfoWindowContent:function(t){this.LocationInfoWindowComponent||(this.LocationInfoWindowComponent=k.a.extend(ot));var e=this.customInfoWindow?this.customInfoWindow(t):new this.LocationInfoWindowComponent({propsData:{locations:t,i18n:this.i18n}});return e.$mount(),e.$el},getMarkerByEvent:function(t){var e,n=this;return et()(e=this.markers).call(e,(function(e){return n.checkMatchingId(e,t.feature)}))},checkMatchingId:function(t,e){var n=t.item.id,i=e.getProperty("ks.nummer");if(n&&i)return n.toLowerCase().match(i.toLowerCase())},adviserPin:function(t){return t.locations[0].portrait?{url:t.locations[0].portrait[200],size:new this.googleMaps.Size(65,65),origin:new this.googleMaps.Point(0,0),anchor:new this.googleMaps.Point(32.5,32.5)}:{url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABBCAYAAACO98lFAAAACXBIWXMAAAsSAAALEgHS3X78AAAFWUlEQVR4nO1cTYgcRRR+HYMQFWYjG4xCsgvxkAiyg0FEgmQC4uaWzdVD9wT0nBG85GR70YuQ2ZviYacbPLvekkBkFuMpJEwI6CIs7GRBDATdAf+ISMtXW2/s6emeqe6uqtnZzQd96XrzquqrV1WvXr0eJ4oiMgnHC6tElHwqI6rsEVEn/kSB2zHaRhMkOF64RER4akQ0p0Fll4jaRLQaBe6qBn0D0EaC44UzRNQgorqmjmcBhLSIqBkF7rYOhaVJiHW+McbMdQPTpqmDjFIkOF6IjvuWO58EyPCjwG0WVVCIBMcL56VJni1asQGsYSpGgbuZV/WBvD9wvLAuV+7dRADJ9nRk+3IhFwmOF8LkViZs/qOAdq3IdipDeTo4Xgjz9ybQsaIIosBVsgolS5hCAgBPtnssxpIwpQQwlIgYSYKcW9NKAMMbt0ZkrglylV0x2DjbuBQFbqpVpJIg/YDOLt4FigBOVTXNjziYoaxlkoDq8edp6fQxqp082n/XXv+FVu9sUefBr6aqrch+1ZIFQ5YgXeGrJlox88zT1Hr/DF147VimzDd3t6j+5fe0/edjE00APki62AMkyMPQpgkrAAHtK4u0cPwwra0/pOaNH8TIM2AZjXdeobMnX6B7D36j2qfXTRGBaTEfP3QldwdjJ8HVy+cEAcGtDdHBOAGi/M6WeI9yyEHeECqyn330SYgdibUDcx8jDAuAqY8CyiEH+fiaoRkN2V+BuCUYswKYOoApoAKW498ZwIA1xEnIffpSBXYDkiavApbj3xlCv7+CBBkTNBkSEyaeVx6LqUHMOV4otku2hCWTtc3PPmdSfRkIa2AShhwIndh89HshbQZ9BcaOJch7AaNTAcBqb1K+IDAlqrCEquma2BJUpwXLFbWgnLBDAs4FQO2U2uiyHP/OMOyQwFuev6RWFcupbqklYYcELHBwh+dmn6XG4qmRsiiHHOQtLIzEJFiJGTS+uk29vx7T1Xdfz3SH8R7lk
430IO8JVRy3zsUBUa19skN8Wv/4kKqFn4POUtWIGCNBAABE3iC1bnDqeV4j3KDgZVUWCWBUTmU7g5nvTcN6yTAB+g++iO1DO8n4WJbIQEHofpbJ0RkCSt/1v6P96L8yqKQN3yA6sMhNzCWr4PVHp1BXIBNfVQMMRmDxC4BX6H13YZRxwkkbOvcJnnUES/EqJI0c44pqrjCmBIcc0zqACGad44eSGjrumbHFgdnB6POo9i8/mOp1R6BFehka4Je6PS/vqejycAaSED4+XIZLfFIMjcSj84RQx0gg0nWGJFefooWLh4tG1S59uHb9MaJWeHqnv/sJl27/zP9/c+/ZRs3AOhrrz+kz7/9iV6cOUSLr75Eb758hFq3Nsqq/gK7Q6kcQY4kW7g0EYB+1IP6NEWkOwdkomS3qAYsgoDGOaoEro/rL4gu+s9+QruoFixYmJ+2XV3Uh3pLhuVFv5kEpYyOJLByY5GyFPwYAupF/SVC86LfgoQocNtFpgR7dLatgMH1FvQsu7LfA1fzYOWjPFo4DLby3hnxTApoRwFr7Ft/PD+hmfcqDt6bwftCZaAdOcEpwQLJq3k/rzVMKT6OAtfnpidPkU3J0l7GgBUMkSATF/w9ToKfzIrPStzSdqjaZViLAnfoyjErqFLfg9Oil5V+kEqCTHMzkrUyQTSyPgPIDK/JxMflPULAclYiJ6lkuU95bjOpZLuPDbRKBYHWZtmDUrq/UrR5SonQ+70D/U/EtKwRy6oEUN57hyhwsWNc2sXbZ09ms+fa2fb913D05LvIHez7L2TpybfSOzD11XxNkqH7q/kWh8R0Yt//fwIR0X8oS4F5cL/fgwAAAABJRU5ErkJggg==",size:new this.googleMaps.Size(65,65),origin:new this.googleMaps.Point(0,0),anchor:new this.googleMaps.Point(32.5,32.5)}}}},dt=Object(at.a)(ut,j,[],!1,null,null,null);dt.options.__file="src/assets/toolkit/scripts/components/location/map.vue";var ht=dt.exports,pt=n(218),ft={name:"Location",components:{VueMap:ht,LocationItem:pt.a},mixins:[Y,F.a],props:{locations:{type:Array,default:function(){return[]}},config:{type:Object,default:function(){return{}}}},data:function(){return{selectedLabel:null,animating:!1,animationDuration:0}},computed:{selectedLocations:function(){var t,e=this;return N()(t=this.locations).call(t,(function(t){return t.label===e.selectedLabel}))}},mounted:function(){var t=this.$el.querySelector(".location-item.is-active");t&&(this.animationDuration=H(t))},methods:{onSelect:function(t){var e=this;return c(g.a.mark((function n(){return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.selectedLabel!==t.label){n.next=2;break}return n.abrupt("return");case 2:return e.animating=!0,n.next=5,new b.a((function(n){return setTimeout((function(){e.selectedLabel=t.label,setTimeout((function(){e.animating=!1,n()}),e.animationDuration/2)}),e.animationDuration/2)}));case 5:case"end":return n.stop()}}),n)})))()},checkActiveLocation:function(t){if(this.selectedLocations.some((function(e){return e.label===t.label})))return"is-invisible"}}},mt=Object(at.a)(ft,R,[],!1,null,null,null);mt.options.__file="src/assets/toolkit/scripts/components/location/location.vue";var gt=mt.exports,vt=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"location-hero"},[this.googleMaps?e("vue-map",{attrs:{"css-class":"location-hero__map",locations:this.locations,zoom:this.config.zoom,center:this.config.center,"has-info-window":"","has-blue-pins":"",i18n:this.i18n}}):this._e()],1)};vt._withStripped=!0;var _t={name:"LocationHero",components:{VueMap:ht},mixins:[Y,F.a],props:{locations:{type:Array,default:function(){return[]}},config:{type:Object,default:function(){return{}}}}},yt=Object(at.a)(_t,vt,[],!1,null,null,null);yt.options.__file="src/assets/toolkit/scripts/components/location/location-hero.vue";var bt=yt.exports,xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"location-hero"},[n("tab-bar",{attrs:{titles:t.tabTitles},scopedSlots:t._u([{key:"content",fn:function(e){var i=e.index;return[t.googleMaps?n("vue-map",{attrs:{"css-class":"location-hero__map",locations:t.locations,zoom:t.zoomForIndex(i),center:t.centerForIndex(i),"has-info-window":!0,i18n:t.i18n,"has-marker-labels":!0}}):t._e()]}},{key:"content-animated",fn:function(e){var i=e.index;return[n("div",{staticClass:"state-company__location-list"},t._l(t.locationsForIndex(i),(function(e){return n("div",{key:e.id,staticClass:"location-item"},[n("location-item",{attrs:{location:e,i18n:t.i18n,"state-company":""}})],1)})),0)]}}])})],1)};xt._withStripped=!0;var wt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab-bar"},[n("tab-list",{attrs:{"initially-selected-index":t.initiallySelectedIndex,titles:t.titles},on:{click:t.onClick}}),t._v(" "),t._t("content",null,{index:t.nextIndex}),t._v(" "),n("tab-bar-content",{attrs:{"selected-index":t.selectedIndex,"next-index":t.nextIndex,titles:t.titles,contents:t.contents}},[t.$scopedSlots["content-animated"]?[t._t("content-animated",null,{index:t.selectedIndex})]:t._e()],2)],2)};wt._withStripped=!0;var Mt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mdc-tab-bar",attrs:{role:"tablist"}},[n("div",{staticClass:"mdc-tab-scroller"},[n("div",{staticClass:"mdc-tab-scroller__scroll-area mdc-tab-scroller__scroll-area--scroll"},[n("div",{staticClass:"mdc-tab-scroller__scroll-content"},t._l(t.titles,(function(e,i){return n("button",{key:i,staticClass:"mdc-tab",attrs:{role:"tab","aria-selected":!1,tabindex:"0"}},[n("span",{staticClass:"mdc-tab__content"},[n("span",{staticClass:"mdc-tab__text-label"},[t._v(t._s(e))])]),t._v(" "),t._m(0,!0),t._v(" "),n("span",{staticClass:"mdc-tab__ripple mdc-ripple-upgraded"})])})),0)])])])};Mt._withStripped=!0;var St,Tt=n(1),At=n(19),Lt=n(58),Et=n(43),Ct=n(16),It={ANIMATING:"mdc-tab-scroller--animating",SCROLL_AREA_SCROLL:"mdc-tab-scroller__scroll-area--scroll",SCROLL_TEST:"mdc-tab-scroller__test"},Dt={AREA_SELECTOR:".mdc-tab-scroller__scroll-area",CONTENT_SELECTOR:".mdc-tab-scroller__scroll-content"},kt=function(t){this.adapter=t},Ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.prototype.getScrollPositionRTL=function(){var t=this.adapter.getScrollAreaScrollLeft(),e=this.calculateScrollEdges().right;return Math.round(e-t)},e.prototype.scrollToRTL=function(t){var e=this.calculateScrollEdges(),n=this.adapter.getScrollAreaScrollLeft(),i=this.clampScrollValue(e.right-t);return{finalScrollPosition:i,scrollDelta:i-n}},e.prototype.incrementScrollRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue(e-t);return{finalScrollPosition:n,scrollDelta:n-e}},e.prototype.getAnimatingScrollPosition=function(t){return t},e.prototype.calculateScrollEdges=function(){return{left:0,right:this.adapter.getScrollC
430ontentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth()}},e.prototype.clampScrollValue=function(t){var e=this.calculateScrollEdges();return Math.min(Math.max(e.left,t),e.right)},e}(kt),Rt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.prototype.getScrollPositionRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft();return Math.round(t-e)},e.prototype.scrollToRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue(-t);return{finalScrollPosition:n,scrollDelta:n-e}},e.prototype.incrementScrollRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue(e-t);return{finalScrollPosition:n,scrollDelta:n-e}},e.prototype.getAnimatingScrollPosition=function(t,e){return t-e},e.prototype.calculateScrollEdges=function(){var t=this.adapter.getScrollContentOffsetWidth();return{left:this.adapter.getScrollAreaOffsetWidth()-t,right:0}},e.prototype.clampScrollValue=function(t){var e=this.calculateScrollEdges();return Math.max(Math.min(e.right,t),e.left)},e}(kt),Pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.prototype.getScrollPositionRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft();return Math.round(e-t)},e.prototype.scrollToRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue(t);return{finalScrollPosition:n,scrollDelta:e-n}},e.prototype.incrementScrollRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue(e+t);return{finalScrollPosition:n,scrollDelta:e-n}},e.prototype.getAnimatingScrollPosition=function(t,e){return t+e},e.prototype.calculateScrollEdges=function(){return{left:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth(),right:0}},e.prototype.clampScrollValue=function(t){var e=this.calculateScrollEdges();return Math.min(Math.max(e.right,t),e.left)},e}(kt),Nt=function(t){function e(n){var i=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return i.isAnimating=!1,i}return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return It},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Dt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{eventTargetMatchesSelector:function(){return!1},addClass:function(){},removeClass:function(){},addScrollAreaClass:function(){},setScrollAreaStyleProperty:function(){},setScrollContentStyleProperty:function(){},getScrollContentStyleValue:function(){return""},setScrollAreaScrollLeft:function(){},getScrollAreaScrollLeft:function(){return 0},getScrollContentOffsetWidth:function(){return 0},getScrollAreaOffsetWidth:function(){return 0},computeScrollAreaClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeScrollContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeHorizontalScrollbarHeight:function(){return 0}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this.adapter.computeHorizontalScrollbarHeight();this.adapter.setScrollAreaStyleProperty("margin-bottom",-t+"px"),this.adapter.addScrollAreaClass(e.cssClasses.SCROLL_AREA_SCROLL)},e.prototype.getScrollPosition=function(){if(this.isRTL())return this.computeCurrentScrollPositionRTL();var t=this.calculateCurrentTranslateX();return this.adapter.getScrollAreaScrollLeft()-t},e.prototype.handleInteraction=function(){this.isAnimating&&this.stopScrollAnimation()},e.prototype.handleTransitionEnd=function(t){var n=t.target;this.isAnimating&&this.adapter.eventTargetMatchesSelector(n,e.strings.CONTENT_SELECTOR)&&(this.isAnimating=!1,this.adapter.removeClass(e.cssClasses.ANIMATING))},e.prototype.incrementScroll=function(t){0!==t&&this.animate(this.getIncrementScrollOperation(t))},e.prototype.incrementScrollImmediate=function(t){if(0!==t){var e=this.getIncrementScrollOperation(t);0!==e.scrollDelta&&(this.stopScrollAnimation(),this.adapter.setScrollAreaScrollLeft(e.finalScrollPosition))}},e.prototype.scrollTo=function(t){this.isRTL()?this.scrollToImplRTL(t):this.scrollToImpl(t)},e.prototype.getRTLScroller=function(){return this.rtlScrollerInstance||(this.rtlScrollerInstance=this.rtlScrollerFactory()),this.rtlScrollerInstance},e.prototype.calculateCurrentTranslateX=function(){var t=this.adapter.getScrollC
430ontentStyleValue("transform");if("none"===t)return 0;var e=/\((.+?)\)/.exec(t);if(!e)return 0;var n=e[1],i=Object(Tt.c)(n.split(","),6),r=(i[0],i[1],i[2],i[3],i[4]);i[5];return parseFloat(r)},e.prototype.clampScrollValue=function(t){var e=this.calculateScrollEdges();return Math.min(Math.max(e.left,t),e.right)},e.prototype.computeCurrentScrollPositionRTL=function(){var t=this.calculateCurrentTranslateX();return this.getRTLScroller().getScrollPositionRTL(t)},e.prototype.calculateScrollEdges=function(){return{left:0,right:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth()}},e.prototype.scrollToImpl=function(t){var e=this.getScrollPosition(),n=this.clampScrollValue(t),i=n-e;this.animate({finalScrollPosition:n,scrollDelta:i})},e.prototype.scrollToImplRTL=function(t){var e=this.getRTLScroller().scrollToRTL(t);this.animate(e)},e.prototype.getIncrementScrollOperation=function(t){if(this.isRTL())return this.getRTLScroller().incrementScrollRTL(t);var e=this.getScrollPosition(),n=t+e,i=this.clampScrollValue(n);return{finalScrollPosition:i,scrollDelta:i-e}},e.prototype.animate=function(t){var n=this;0!==t.scrollDelta&&(this.stopScrollAnimation(),this.adapter.setScrollAreaScrollLeft(t.finalScrollPosition),this.adapter.setScrollContentStyleProperty("transform","translateX("+t.scrollDelta+"px)"),this.adapter.computeScrollAreaClientRect(),requestAnimationFrame((function(){n.adapter.addClass(e.cssClasses.ANIMATING),n.adapter.setScrollContentStyleProperty("transform","none")})),this.isAnimating=!0)},e.prototype.stopScrollAnimation=function(){this.isAnimating=!1;var t=this.getAnimatingScrollPosition();this.adapter.removeClass(e.cssClasses.ANIMATING),this.adapter.setScrollContentStyleProperty("transform","translateX(0px)"),this.adapter.setScrollAreaScrollLeft(t)},e.prototype.getAnimatingScrollPosition=function(){var t=this.calculateCurrentTranslateX(),e=this.adapter.getScrollAreaScrollLeft();return this.isRTL()?this.getRTLScroller().getAnimatingScrollPosition(e,t):e-t},e.prototype.rtlScrollerFactory=function(){var t=this.adapter.getScrollAreaScrollLeft();this.adapter.setScrollAreaScrollLeft(t-1);var e=this.adapter.getScrollAreaScrollLeft();if(e<0)return this.adapter.setScrollAreaScrollLeft(t),new Rt(this.adapter);var n=this.adapter.computeScrollAreaClientRect(),i=this.adapter.computeScrollContentClientRect(),r=Math.round(i.right-n.right);return this.adapter.setScrollAreaScrollLeft(t),r===e?new Pt(this.adapter):new Ot(this.adapter)},e.prototype.isRTL=function(){return"rtl"===this.adapter.getScrollContentStyleValue("direction")},e}(Ct.a);
431/**
432 * @license
433 * Copyright 2018 Google Inc.
434 *
435 * Permission is hereby granted, free of charge, to any person obtaining a copy
436 * of this software and associated documentation files (the "Software"), to deal
437 * in the Software without restriction, including without limitation the rights
438 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
439 * copies of the Software, and to permit persons to whom the Software is
440 * furnished to do so, subject to the following conditions:
441 *
442 * The above copyright notice and this permission notice shall be included in
443 * all copies or substantial portions of the Software.
444 *
445 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
446 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
447 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
448 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
449 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
450 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
451 * THE SOFTWARE.
452 */
453var Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(){this.area=this.root.querySelector(Nt.strings.AREA_SELECTOR),this.content=this.root.querySelector(Nt.strings.CONTENT_SELECTOR)},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleInteraction=function(){t.foundation.handleInteraction()},this.handleTransitionEnd=function(e){t.foundation.handleTransitionEnd(e)},this.area.addEventListener("wheel",this.handleInteraction,Object(Lt.a)()),this.area.addEventListener("touchstart",this.handleInteraction,Object(Lt.a)()),this.area.addEventListener("pointerdown",this.handleInteraction,Object(Lt.a)()),this.area.addEventListener("mousedown",this.handleInteraction,Object(Lt.a)()),this.area.addEventListener("keydown",this.handleInteraction,Object(Lt.a)()),this.content.addEventListener("transitionend",this.handleTransitionEnd)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.area.removeEventListener("wheel",this.handleInteraction,Object(Lt.a)()),this.area.removeEventListener("touchstart",this.handleInteraction,Object(Lt.a)()),this.area.removeEventListener("pointerdown",this.handleInteraction,Object(Lt.a)()),this.area.removeEventListener("mousedown",this.handleInteraction,Object(Lt.a)()),this.area.removeEventListener("keydown",this.handleInteraction,Object(Lt.a)()),this.content.removeEventListener("transitionend",this.handleTransitionEnd)},e.prototype.getDefaultFoundation=function(){var t=this;return new Nt({eventTargetMatchesSelector:function(t,e){return Object(Et.c)(t,e)},addClass:function(e){t.root.classList.add(e)},removeClass:function(e){t.root.classList.remove(e)},addScrollAreaClass:function(e){t.area.classList.add(e)},setScrollAreaStyleProperty:function(e,n){t.area.style.setProperty(e,n)}
453,setScrollContentStyleProperty:function(e,n){t.content.style.setProperty(e,n)},getScrollContentStyleValue:function(e){return window.getComputedStyle(t.content).getPropertyValue(e)},setScrollAreaScrollLeft:function(e){return t.area.scrollLeft=e},getScrollAreaScrollLeft:function(){return t.area.scrollLeft},getScrollContentOffsetWidth:function(){return t.content.offsetWidth},getScrollAreaOffsetWidth:function(){return t.area.offsetWidth},computeScrollAreaClientRect:function(){return t.area.getBoundingClientRect()},computeScrollContentClientRect:function(){return t.content.getBoundingClientRect()},computeHorizontalScrollbarHeight:function(){return function(t,e){if(void 0===e&&(e=!0),e&&void 0!==St)return St;var n=t.createElement("div");n.classList.add(It.SCROLL_TEST),t.body.appendChild(n);var i=n.offsetHeight-n.clientHeight;return t.body.removeChild(n),e&&(St=i),i}(document)}})},e.prototype.getScrollPosition=function(){return this.foundation.getScrollPosition()},e.prototype.getScrollContentWidth=function(){return this.content.offsetWidth},e.prototype.incrementScroll=function(t){this.foundation.incrementScroll(t)},e.prototype.scrollTo=function(t){this.foundation.scrollTo(t)},e}(At.a),Ft=n(86),Ht=n(113),jt={ACTIVE:"mdc-tab-indicator--active",FADE:"mdc-tab-indicator--fade",NO_TRANSITION:"mdc-tab-indicator--no-transition"},Bt={CONTENT_SELECTOR:".mdc-tab-indicator__content"},zt=function(t){function e(n){return t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this}return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return jt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Bt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},computeContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setContentStyleProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.computeContentClientRect=function(){return this.adapter.computeContentClientRect()},e}(Ct.a),Ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.prototype.activate=function(){this.adapter.addClass(zt.cssClasses.ACTIVE)},e.prototype.deactivate=function(){this.adapter.removeClass(zt.cssClasses.ACTIVE)},e}(zt),Vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.prototype.activate=function(t){if(t){var e=this.computeContentClientRect(),n=t.width/e.width,i=t.left-e.left;this.adapter.addClass(zt.cssClasses.NO_TRANSITION),this.adapter.setContentStyleProperty("transform","translateX("+i+"px) scaleX("+n+")"),this.computeContentClientRect(),this.adapter.removeClass(zt.cssClasses.NO_TRANSITION),this.adapter.addClass(zt.cssClasses.ACTIVE),this.adapter.setContentStyleProperty("transform","")}else this.adapter.addClass(zt.cssClasses.ACTIVE)},e.prototype.deactivate=function(){this.adapter.removeClass(zt.cssClasses.ACTIVE)},e}(zt),Wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(){this.content=this.root.querySelector(zt.strings.CONTENT_SELECTOR)},e.prototype.computeContentClientRect=function(){return this.foundation.computeContentClientRect()},e.prototype.getDefaultFoundation=function(){var t=this,e={addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},computeContentClientRect:function(){return t.content.getBoundingClientRect()},setContentStyleProperty:function(e,n){t.content.style.setProperty(e,n)}};return this.root.classList.contains(zt.cssClasses.FADE)?new Ut(e):new Vt(e)},e.prototype.activate=function(t){this.foundation.activate(t)},e.prototype.deactivate=function(){this.foundation.deactivate()},e}(At.a),Gt={ACTIVE:"mdc-tab--active"},qt={ARIA_SELECTED:"aria-selected",CONTENT_SELECTOR:".mdc-tab__content",INTERACTED_EVENT:"MDCTab:interacted",RIPPLE_SELECTOR:".mdc-tab__ripple",TABINDEX:"tabIndex",TAB_INDICATOR_SELECTOR:".mdc-tab-indicator"},Xt=function(t){function e(n){var i=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return i.focusOnActivate=!0,i}
453return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return Gt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return qt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},activateIndicator:function(){},deactivateIndicator:function(){},notifyInteracted:function(){},getOffsetLeft:function(){return 0},getOffsetWidth:function(){return 0},getContentOffsetLeft:function(){return 0},getContentOffsetWidth:function(){return 0},focus:function(){}}},enumerable:!1,configurable:!0}),e.prototype.handleClick=function(){this.adapter.notifyInteracted()},e.prototype.isActive=function(){return this.adapter.hasClass(Gt.ACTIVE)},e.prototype.setFocusOnActivate=function(t){this.focusOnActivate=t},e.prototype.activate=function(t){this.adapter.addClass(Gt.ACTIVE),this.adapter.setAttr(qt.ARIA_SELECTED,"true"),this.adapter.setAttr(qt.TABINDEX,"0"),this.adapter.activateIndicator(t),this.focusOnActivate&&this.adapter.focus()},e.prototype.deactivate=function(){this.isActive()&&(this.adapter.removeClass(Gt.ACTIVE),this.adapter.setAttr(qt.ARIA_SELECTED,"false"),this.adapter.setAttr(qt.TABINDEX,"-1"),this.adapter.deactivateIndicator())},e.prototype.computeDimensions=function(){var t=this.adapter.getOffsetWidth(),e=this.adapter.getOffsetLeft(),n=this.adapter.getContentOffsetWidth(),i=this.adapter.getContentOffsetLeft();return{contentLeft:e+i,contentRight:e+i+n,rootLeft:e,rootRight:e+t}},e}(Ct.a),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e){void 0===t&&(t=function(t,e){return new Ft.a(t,e)}),void 0===e&&(e=function(t){return new Wt(t)}),this.id=this.root.id;var n=new Ht.a(Ft.a.createAdapter(this));this.ripple=t(this.root,n);var i=this.root.querySelector(Xt.strings.TAB_INDICATOR_SELECTOR);this.tabIndicator=e(i),this.content=this.root.querySelector(Xt.strings.CONTENT_SELECTOR)},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.listen("click",this.handleClick)},e.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this;return new Xt({setAttr:function(e,n){return t.root.setAttribute(e,n)},addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},activateIndicator:function(e){t.tabIndicator.activate(e)},deactivateIndicator:function(){t.tabIndicator.deactivate()},notifyInteracted:function(){return t.emit(Xt.strings.INTERACTED_EVENT,{tabId:t.id},!0)},getOffsetLeft:function(){return t.root.offsetLeft},getOffsetWidth:function(){return t.root.offsetWidth},getContentOffsetLeft:function(){return t.content.offsetLeft},getContentOffsetWidth:function(){return t.content.offsetWidth},focus:function(){return t.root.focus()}})},Object.defineProperty(e.prototype,"active",{get:function(){return this.foundation.isActive()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"focusOnActivate",{set:function(t){this.foundation.setFocusOnActivate(t)},enumerable:!1,configurable:!0}),e.prototype.activate=function(t){this.foundation.activate(t)},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.computeIndicatorClientRect=function(){return this.tabIndicator.computeContentClientRect()},e.prototype.computeDimensions=function(){return this.foundation.computeDimensions()},e.prototype.focus=function(){this.root.focus()},e}(At.a),Kt={ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",END_KEY:"End",ENTER_KEY:"Enter",HOME_KEY:"Home",SPACE_KEY:"Space",TAB_ACTIVATED_EVENT:"MDCTabBar:activated",TAB_SCROLLER_SELECTOR:".mdc-tab-scroller",TAB_SELECTOR:".mdc-tab"},Jt={ARROW_LEFT_KEYCODE:37,ARROW_RIGHT_KEYCODE:39,END_KEYCODE:35,ENTER_KEYCODE:13,EXTRA_SCROLL_AMOUNT:20,HOME_KEYCODE:36,SPACE_KEYCODE:32},Qt=new Set;Qt.add(Kt.ARROW_LEFT_KEY),Qt.add(Kt.ARROW_RIGHT_KEY),Qt.add(Kt.END_KEY),Qt.add(Kt.HOME_KEY),Qt.add(Kt.ENTER_KEY),Qt.add(Kt.SPACE_KEY);var Zt=new Map;Zt.set(Jt.ARROW_LEFT_KEYCODE,Kt.ARROW_LEFT_KEY),Zt.set(Jt.ARROW_RIGHT_KEYCODE,Kt.ARROW_RIGHT_KEY),Zt.set(Jt.END_KEYCODE,Kt.END_KEY),Zt.set(Jt.HOME_KEYCODE,Kt.HOME_KEY),Zt.set(Jt.ENTER_KEYCODE,Kt.ENTER_KEY),Zt.set(Jt.SPACE_KEYCODE,Kt.SPACE_KEY);var te=function(t){function e(n){var i=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return i.useAutomaticActivation=!1,i}return Object(Tt.b)(e,t),Object.defineProperty(e,"strings",{get:function(){return Kt}
453,enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return Jt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{scrollTo:function(){},incrementScroll:function(){},getScrollPosition:function(){return 0},getScrollContentWidth:function(){return 0},getOffsetWidth:function(){return 0},isRTL:function(){return!1},setActiveTab:function(){},activateTabAtIndex:function(){},deactivateTabAtIndex:function(){},focusTabAtIndex:function(){},getTabIndicatorClientRectAtIndex:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getTabDimensionsAtIndex:function(){return{rootLeft:0,rootRight:0,contentLeft:0,contentRight:0}},getPreviousActiveTabIndex:function(){return-1},getFocusedTabIndex:function(){return-1},getIndexOfTabById:function(){return-1},getTabListLength:function(){return 0},notifyTabActivated:function(){}}},enumerable:!1,configurable:!0}),e.prototype.setUseAutomaticActivation=function(t){this.useAutomaticActivation=t},e.prototype.activateTab=function(t){var e,n=this.adapter.getPreviousActiveTabIndex();this.indexIsInRange(t)&&t!==n&&(-1!==n&&(this.adapter.deactivateTabAtIndex(n),e=this.adapter.getTabIndicatorClientRectAtIndex(n)),this.adapter.activateTabAtIndex(t,e),this.scrollIntoView(t),this.adapter.notifyTabActivated(t))},e.prototype.handleKeyDown=function(t){var e=this.getKeyFromEvent(t);if(void 0!==e)if(this.isActivationKey(e)||t.preventDefault(),this.useAutomaticActivation){if(this.isActivationKey(e))return;var n=this.determineTargetFromKey(this.adapter.getPreviousActiveTabIndex(),e);this.adapter.setActiveTab(n),this.scrollIntoView(n)}else{var i=this.adapter.getFocusedTabIndex();if(this.isActivationKey(e))this.adapter.setActiveTab(i);else{n=this.determineTargetFromKey(i,e);this.adapter.focusTabAtIndex(n),this.scrollIntoView(n)}}},e.prototype.handleTabInteraction=function(t){this.adapter.setActiveTab(this.adapter.getIndexOfTabById(t.detail.tabId))},e.prototype.scrollIntoView=function(t){this.indexIsInRange(t)&&(0!==t?t!==this.adapter.getTabListLength()-1?this.isRTL()?this.scrollIntoViewImplRTL(t):this.scrollIntoViewImpl(t):this.adapter.scrollTo(this.adapter.getScrollContentWidth()):this.adapter.scrollTo(0))},e.prototype.determineTargetFromKey=function(t,e){var n=this.isRTL(),i=this.adapter.getTabListLength()-1,r=t;return e===Kt.END_KEY?r=i:e===Kt.ARROW_LEFT_KEY&&!n||e===Kt.ARROW_RIGHT_KEY&&n?r-=1:e===Kt.ARROW_RIGHT_KEY&&!n||e===Kt.ARROW_LEFT_KEY&&n?r+=1:r=0,r<0?r=i:r>i&&(r=0),r},e.prototype.calculateScrollIncrement=function(t,e,n,i){var r=this.adapter.getTabDimensionsAtIndex(e),a=r.contentLeft-n-i,s=r.contentRight-n-Jt.EXTRA_SCROLL_AMOUNT,o=a+Jt.EXTRA_SCROLL_AMOUNT;return e<t?Math.min(s,0):Math.max(o,0)},e.prototype.calculateScrollIncrementRTL=function(t,e,n,i,r){var a=this.adapter.getTabDimensionsAtIndex(e),s=r-a.contentLeft-n,o=r-a.contentRight-n-i+Jt.EXTRA_SCROLL_AMOUNT,l=s-Jt.EXTRA_SCROLL_AMOUNT;return e>t?Math.max(o,0):Math.min(l,0)},e.prototype.findAdjacentTabIndexClosestToEdge=function(t,e,n,i){var r=e.rootLeft-n,a=e.rootRight-n-i,s=r+a;return r<0||s<0?t-1:a>0||s>0?t+1:-1},e.prototype.findAdjacentTabIndexClosestToEdgeRTL=function(t,e,n,i,r){var a=r-e.rootLeft-i-n,s=r-e.rootRight-n,o=a+s;return a>0||o>0?t+1:s<0||o<0?t-1:-1},e.prototype.getKeyFromEvent=function(t){return Qt.has(t.key)?t.key:Zt.get(t.keyCode)},e.prototype.isActivationKey=function(t){return t===Kt.SPACE_KEY||t===Kt.ENTER_KEY},e.prototype.indexIsInRange=function(t){return t>=0&&t<this.adapter.getTabListLength()},e.prototype.isRTL=function(){return this.adapter.isRTL()},e.prototype.scrollIntoViewImpl=function(t){var e=this.adapter.getScrollPosition(),n=this.adapter.getOffsetWidth(),i=this.adapter.getTabDimensionsAtIndex(t),r=this.findAdjacentTabIndexClosestToEdge(t,i,e,n);if(this.indexIsInRange(r)){var a=this.calculateScrollIncrement(t,r,e,n);this.adapter.incrementScroll(a)}},e.prototype.scrollIntoViewImplRTL=function(t){var e=this.adapter.getScrollPosition(),n=this.adapter.getOffsetWidth(),i=this.adapter.getTabDimensionsAtIndex(t),r=this.adapter.getScrollContentWidth(),a=this.findAdjacentTabIndexClosestToEdgeRTL(t,i,e,n,r);if(this.indexIsInRange(a)){var s=this.calculateScrollIncrementRTL(t,a,e,n,r);this.adapter.incrementScroll(s)}},e}(Ct.a),ee=te.strings,ne=0,ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"focusOnActivate",{set:function(t){var e,n;try{for(var i=Object(Tt.e)(this.tabList),r=i.next();!r.done;r=i.next()){r.value.focusOnActivate=t}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}
453,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"useAutomaticActivation",{set:function(t){this.foundation.setUseAutomaticActivation(t)},enumerable:!1,configurable:!0}),e.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new $t(t)}),void 0===e&&(e=function(t){return new Yt(t)}),this.tabList=this.instantiateTabs(t),this.tabScroller=this.instantiatetabScroller(e)},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleTabInteraction=function(e){t.foundation.handleTabInteraction(e)},this.handleKeyDown=function(e){t.foundation.handleKeyDown(e)},this.listen(Xt.strings.INTERACTED_EVENT,this.handleTabInteraction),this.listen("keydown",this.handleKeyDown);for(var e=0;e<this.tabList.length;e++)if(this.tabList[e].active){this.scrollIntoView(e);break}},e.prototype.destroy=function(){var e,n;t.prototype.destroy.call(this),this.unlisten(Xt.strings.INTERACTED_EVENT,this.handleTabInteraction),this.unlisten("keydown",this.handleKeyDown);try{for(var i=Object(Tt.e)(this.tabList),r=i.next();!r.done;r=i.next()){r.value.destroy()}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}this.tabScroller&&this.tabScroller.destroy()},e.prototype.getDefaultFoundation=function(){var t=this;return new te({scrollTo:function(e){t.tabScroller.scrollTo(e)},incrementScroll:function(e){t.tabScroller.incrementScroll(e)},getScrollPosition:function(){return t.tabScroller.getScrollPosition()},getScrollContentWidth:function(){return t.tabScroller.getScrollContentWidth()},getOffsetWidth:function(){return t.root.offsetWidth},isRTL:function(){return"rtl"===window.getComputedStyle(t.root).getPropertyValue("direction")},setActiveTab:function(e){t.foundation.activateTab(e)},activateTabAtIndex:function(e,n){t.tabList[e].activate(n)},deactivateTabAtIndex:function(e){t.tabList[e].deactivate()},focusTabAtIndex:function(e){t.tabList[e].focus()},getTabIndicatorClientRectAtIndex:function(e){return t.tabList[e].computeIndicatorClientRect()},getTabDimensionsAtIndex:function(e){return t.tabList[e].computeDimensions()},getPreviousActiveTabIndex:function(){for(var e=0;e<t.tabList.length;e++)if(t.tabList[e].active)return e;return-1},getFocusedTabIndex:function(){var e=t.getTabElements(),n=document.activeElement;return e.indexOf(n)},getIndexOfTabById:function(e){for(var n=0;n<t.tabList.length;n++)if(t.tabList[n].id===e)return n;return-1},getTabListLength:function(){return t.tabList.length},notifyTabActivated:function(e){return t.emit(ee.TAB_ACTIVATED_EVENT,{index:e},!0)}})},e.prototype.activateTab=function(t){this.foundation.activateTab(t)},e.prototype.scrollIntoView=function(t){this.foundation.scrollIntoView(t)},e.prototype.getTabElements=function(){return[].slice.call(this.root.querySelectorAll(ee.TAB_SELECTOR))},e.prototype.instantiateTabs=function(t){return this.getTabElements().map((function(e){return e.id=e.id||"mdc-tab-"+ ++ne,t(e)}))},e.prototype.instantiatetabScroller=function(t){var e=this.root.querySelector(ee.TAB_SCROLLER_SELECTOR);return e?t(e):null},e}(At.a),re={name:"TabList",props:{initiallySelectedIndex:{type:Number,default:0},titles:{type:Array,default:function(){return[]}}},data:function(){return{mdcTabBar:null}},mounted:function(){this.mdcTabBar=new ie(this.$el),this.mdcTabBar.focusOnActivate=!1,this.mdcTabBar.activateTab(this.initiallySelectedIndex),this.mdcTabBar.listen("MDCTabBar:activated",this.onClick)},destroyed:function(){this.mdcTabBar&&(this.mdcTabBar.unlisten("MDCTabBar:activated",this.onClick),this.mdcTabBar.destroy())},methods:{onClick:function(t){this.$emit("click",t.detail.index)}}},ae=Object(at.a)(re,Mt,[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"mdc-tab-indicator"},[e("span",{staticClass:"mdc-tab-indicator__content mdc-tab-indicator__content--underline"})])}],!1,null,null,null);ae.options.__file="src/assets/toolkit/scripts/components/tab-bar/tab-list.vue";var se=ae.exports,oe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tab-bar-content"},[n("div",{staticClass:"tab-bar-content__item",class:{"animate-show":t.selectedIndex===t.nextIndex,"animate-hide":t.selectedIndex!==t.nextIndex}},[t._t("default",(function(){return[t._v(t._s(t.contents&&t.contents.length>t.contentIndex?t.contents[t.contentIndex]:t.titles[t.contentIndex]))]}))],2)])};oe._withStripped=!0;var le={name:"TabBarContent",props:{selectedIndex:{type:Number,default:0},nextIndex:{type:Number,default:0},titles:{type:Array,default:function(){return[]}},contents:{type:Array,default:function(){return[]}}},computed:{contentIndex:function(){return this.selectedIndex||this.nextIndex}}},ce=Object(at.a)(le,oe,[],!1,null,null,null);ce.options.__file="src/assets/toolkit/scripts/components/tab-bar/tab-bar-content.vue";var ue=ce.exports,de={name:"TabBar",components:{TabList:se,TabBarContent:ue},props:{initiallySelectedIndex:{type:Number,default:0},titles:{type:Array,default:function(){return[]}},contents:{type:Array,default:function(){return[]}}},data:function(){return{animationDuration:0,selectedIndex:this.initiallySelectedIndex,nextIndex:this.initiallySelectedIndex}},mounted:function(){var t=this.$el.querySelector(".tab-bar-content__item");t&&(this.animationDuration=H(t))},methods:{onClick:function(t){var e=this;this.selectedIndex!==t&&(this.nextIndex=t,setTimeout((function(){e.selectedIndex=t}),this.animationDuration))}}},he=Object(at.a)(de,wt,[],!1,null,null,null);he.options.__file="src/assets/toolkit/scripts/components/tab-bar/tab-bar.vue";var pe=he.exports,fe={name:"LocationStateCompanies",components:{VueMap:ht,LocationItem:pt.a,TabBar:pe},mixins:[Y,F.a],props:{locations:{type:Array,default:function(){return[]}},config:{type:Object,default:function(){return{}}}},computed:{tabTitles:function(){var t;return $()(t=this.config.tabs).call(t,(function(t){return t.title}))}},methods:{tabConfig:function(t){return this.config.tabs[t]||{}},locationsForIndex:function(t){var e,n=this.tabConfig(t).continent;return n?N()(e=this.locations).call(e,(function(t){return t.continent===n})):this.locations},zoomForIndex:function(t){return this.tabConfig(t).zoom},centerForIndex:function(t){return this.tabConfig(t).center}}},me=Object(at.a)(fe,xt,[],!1,null,null,null);me.options.__file="src/assets/toolkit/scripts/components/location/location-state-companies.vue";var ge=me.exports,ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"location-hero"},[t.googleMaps?n("vue-map",{attrs:{"css-class":"location-hero__map",locations:t.mapLocations,zoom:t.config.zoom,center:t.config.center,"has-info-window":"","has-geo-jsons":"",i18n:t.i18n,"custom-info-window":t.infoWindow,"initial-index":t.initialIndex},on:{update:t.updateIndex}}):t._e(),t._v(" "),t.activeAdviser?n("regional-adviser-item",{attrs:{active:"",adviser:t.activeAdviser,i18n:t.i18n}}):t._e(),t._v(" "),n("div",{staticClass:"location-accordion",class:{"visible-xsmall-medium":1===t.locations.length},attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"location-accordion__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("div",{staticClass:"location-accordion__indicator"}),t._v(" "),n("h3",{staticClass:"location-accordion__title"},[t._v("\n        "+t._s(t.i18n("regionaladviser.all"))+"\n      ")])]),t._v(" "),n("div",{staticClass:"location-accordion__body is-hidden",attrs:{"data-toggle-height":""}},[n("regional-adviser-list",{attrs:{items:t.locations,i18n:t.i18n}})],1)])],1)};ve._withStripped=!0;var _e=n(491),ye=n.n(_e),be=n(343),xe=n(459),we=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"info-window is-regional-adviser"},[n("div",{staticClass:"info-window__portrait"},[t.adviser.portrait?n("lazy-image",{attrs:{img:t.adviser.portrait,alt:t.adviser.fullname}}):t._e()],1),t._v(" "),n("div",{staticClass:"info-window__body"},[n("div",{staticClass:"info-window__title"},[t._v("\n      "+t._s(t.adviser.fullname)+"\n    ")]),t._v(" "),n("div",{staticClass:"info-window__address"},[t._v("\n      "+t._s(t.adviser.region)+"\n    ")]),t._v(" "),n("div",{staticClass:"info-window__details"},[t.adviser.phone?n("a",{staticClass:"info-window__link",attrs:{href:"tel:"+t.adviser.phone}},[n("i",{staticClass:"icon icon-phone",attrs:{title:t.i18n("location.contact.phone")}}),t._v("\n        "+t._s(t.adviser.phone)+"\n      ")]):t._e(),t._v(" "),t.email?n("e-mail",{attrs:{"local-part":t.emailParts.local,"domain-part":t.emailParts.domain,icon:"mail",label:t.i18n("email.contact"),title:t.i18n("location.contact.email"),"class-name":"info-window__link"}}):t._e()],1)])])};we._withStripped=!0;var Me=n(135),Se=n(215),Te=n(83),Ae={name:"RegionalAdviserInfoWindow",components:{EMail:Me.a,LazyImage:Te.a},mixins:[Se.a],props:{adviser:{type:Object,default:function(){return{}}},i18n:{type:Function,default:function(){}}},computed:{email:function(){return this.adviser.email}}},Le=Object(at.a)(Ae,we,[],!1,null,null,null);Le.options.__file="src/assets/toolkit/scripts/components/location/regional-adviser-info-window.vue";var Ee=Le.exports;function Ce(t,e){var n=E()(t);if(z.a){var i=z()(t);e&&(i=N()(i).call(i,(function(e){return V()(t,e).enumerable}))),n.push.apply(n,i)}return n}var Ie={name:"LocationRegionalAdvisers",components:{VueMap:ht,RegionalAdviserItem:be.a,RegionalAdviserList:xe.a},mixins:[Y,F.a],props:{locations:{type:Array,default:function(){return[]}},config:{type:Object,default:function(){return{}}}},data:function(){return{RegionalAdviserInfoWindowComponent:null,activeAdviser:null,initialIndex:null}},computed:{mapLocations:function(){var t;return $()(t=this.locations).call(t,(function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
453e%2?Ce(Object(n),!0).forEach((function(e){Object(q.a)(t,e,n[e])})):G.a?Object.defineProperties(t,G()(n)):Ce(Object(n)).forEach((function(e){Object.defineProperty(t,e,V()(n,e))}))}return t}({},t)}))}},beforeMount:function(){this.getSelectedAdviser()},methods:{infoWindow:function(t){return this.RegionalAdviserInfoWindowComponent||(this.RegionalAdviserInfoWindowComponent=k.a.extend(Ee)),new this.RegionalAdviserInfoWindowComponent({propsData:{adviser:t.length?t[0]:{},i18n:this.i18n}})},updateIndex:function(t){this.activeAdviser=this.locations[t]},getSelectedAdviser:function(){var t,e=new ye.a(window.location.search),n=e.get("regionalAdviser");e&&n&&(this.initialIndex=J()(t=this.locations).call(t,(function(t){return t["ks.number"].toLowerCase()===n.toLowerCase()})))}}},De=Object(at.a)(Ie,ve,[],!1,null,null,null);De.options.__file="src/assets/toolkit/scripts/components/location/location-regional-advisers.vue";var ke=De.exports,Oe=function(){function t(){var e=this;u(this,t),this.elements=document.querySelectorAll("[data-locations]").forEach((function(t){var n=t.getAttribute("data-locations"),i=t.getAttribute("data-config"),r=O(n),a=O(i),s=e.getComponent(a);new k.a({el:t,components:{locationComponent:s},render:function(t){return t(s,{props:{locations:r,config:a}})}})}))}return f(t,[{key:"getComponent",value:function(t){return t.isHero?bt:t.regionalAdvisers?ke:t.tabs?ge:gt}}]),t}(),Re=(new(f((function t(){u(this,t),window.initMaps=function(){new Oe}}))),new(function(){function t(){var e=this;u(this,t),window.addEventListener("beforeprint",(function(){e.loadAllLazyImages(),e.showAnchorNavigationContent()})),window.addEventListener("afterprint",(function(){e.hideAnchorNavigationContent()}))}return f(t,[{key:"loadAllLazyImages",value:function(){document.querySelectorAll("img.lazyload, img[data-src], img[data-srcset]").forEach((function(t){if(!t.classList.contains("lazyloaded")){var e=t.getAttribute("data-src");e&&t.setAttribute("src",e);var n=t.getAttribute("data-srcset");n&&t.setAttribute("srcset",n);var i=t.getAttribute("data-sizes");i&&t.setAttribute("sizes","auto"===i?"100vw":i),t.classList.remove("lazyload"),t.classList.add("lazyloaded"),a.a.loader.unveil(t)}}))}},{key:"showAnchorNavigationContent",value:function(){var t=document.querySelector(".page");if(t&&t.classList.contains("page--type-brochure")&&!this.anchorNavigationPrintContent){var e=document.querySelector(".anchor-navigation__anchors .anchor-navigation__content");if(e&&e.children.length){var n=document.querySelector(".intro-simple ");if(n){var i=e.cloneNode(!0);i.querySelectorAll(".is-active").forEach((function(t){t.classList.remove("is-active")})),n.appendChild(i),this.anchorNavigationPrintContent=i}}}}},{key:"hideAnchorNavigationContent",value:function(){this.anchorNavigationPrintContent&&(this.anchorNavigationPrintContent.remove(),this.anchorNavigationPrintContent=null)}}]),t}()),function(t,e){var n=document.querySelectorAll("".concat(t,":not([data-initialized]):not([data-component])"));return n.forEach((function(t){t.setAttribute("data-initialized",""),e(t)})),n}),Pe=function(){function t(){var e=this;u(this,t),this.elements=Re("[data-toggle-class]",(function(t){var n=t.getAttribute("data-toggle-class"),i=t.querySelector("[data-toggle-trigger]")||t,r=t.querySelector("[data-toggle-height]");if(r&&(e.collapse(r),r.classList.remove("is-hidden"),t.classList.contains(n))){e.expand(r);var a=function t(n){e.expand(r),n.target.removeEventListener("load",t)};r.querySelectorAll("img").forEach((function(t){t.addEventListener("load",a)}))}i.addEventListener("click",(function(){t.classList.contains(n)?(t.classList.remove(n),r&&e.collapse(r)):(t.classList.add(n),r&&e.expand(r))}))}))}return f(t,[{key:"collapse",value:function(t){t.setAttribute("aria-expanded","false"),this.setHeight(t),setTimeout((function(){t.style.height="0",t.style.overflow="hidden"}))}},{key:"expand",value:function(t){t.setAttribute("aria-expanded","true"),this.setHeight(t),setTimeout((function(){t.style.height=null,t.style.overflow="visible"}),x.getDuration(t))}},{key:"setHeight",value:function(t){var e=0;Array.prototype.forEach.call(t.children,(function(t){return e+=t.offsetHeight})),t.style.height="".concat(e,"px")}}]),t}(),Ne=n(290),Ye=n.n(Ne),Fe=n(947),He=n(948),je=n(85);function Be(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function ze(t,e){void 0===t&&(t={}),void 0===e&&(e={}),Object.keys(e).forEach(n=>{void 0===t[n]?t[n]=e[n]:Be(e[n])&&Be(t[n])&&Object.keys(e[n]).length>0&&ze(t[n],e[n])})}const Ue={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ve(){const t="undefined"!=typeof document?document:{};return ze(t,Ue),t}const We={document:Ue,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){}
vendor: 5,039 bytes, line 453
453,clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:t=>"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0),cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function Ge(){const t="undefined"!=typeof window?window:{};return ze(t,We),t}function qe(t){return void 0===t&&(t=""),t.trim().split(" ").filter(t=>!!t.trim())}function Xe(t,e){return void 0===e&&(e=0),setTimeout(t,e)}function $e(){return Date.now()}function Ke(t,e){void 0===e&&(e="x");const n=Ge();let i,r,a;const s=function(t){const e=Ge();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}(t);return n.WebKitCSSMatrix?(r=s.transform||s.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(t=>t.replace(",",".")).join(", ")),a=new n.WebKitCSSMatrix("none"===r?"":r)):(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),"x"===e&&(r=n.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===e&&(r=n.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function Je(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function Qe(t){return"undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function Ze(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&!Qe(i)){const n=Object.keys(Object(i)).filter(t=>e.indexOf(t)<0);for(let e=0,r=n.length;e<r;e+=1){const r=n[e],a=Object.getOwnPropertyDescriptor(i,r);void 0!==a&&a.enumerable&&(Je(t[r])&&Je(i[r])?i[r].__swiper__?t[r]=i[r]:Ze(t[r],i[r]):!Je(t[r])&&Je(i[r])?(t[r]={},i[r].__swiper__?t[r]=i[r]:Ze(t[r],i[r])):t[r]=i[r])}}}return t}function tn(t,e,n){t.style.setProperty(e,n)}function en(t){let{swiper:e,targetPosition:n,side:i}=t;const r=Ge(),a=-e.translate;let s,o=null;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const c=n>a?"next":"prev",u=(t,e)=>"next"===c&&t>=e||"prev"===c&&t<=e,d=()=>{s=(new Date).getTime(),null===o&&(o=s);const t=Math.max(Math.min((s-o)/l,1),0),c=.5-Math.cos(t*Math.PI)/2;let h=a+c*(n-a);if(u(h,n)&&(h=n),e.wrapperEl.scrollTo({[i]:h}),u(h,n))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:h})}),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(d)};d()}function nn(t,e){void 0===e&&(e="");const n=[...t.children];return t instanceof HTMLSlotElement&&n.push(...t.assignedElements()),e?n.filter(t=>t.matches(e)):n}function rn(t){try{return void console.warn(t)}catch(t){}}function an(t,e){void 0===e&&(e=[]);const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:qe(e)),n}function sn(t){const e=Ge(),n=Ve(),i=t.getBoundingClientRect(),r=n.body,a=t.clientTop||r.clientTop||0,s=t.clientLeft||r.clientLeft||0,o=t===e?e.scrollY:t.scrollTop,l=t===e?e.scrollX:t.scrollLeft;return{top:i.top+o-a,left:i.left+l-s}}function on(t,e){return Ge().getComputedStyle(t,null).getPropertyValue(e)}function ln(t){let e,n=t;if(n){for(e=0;null!==(n=n.previousSibling);)1===n.nodeType&&(e+=1);return e}}function cn(t,e){const n=[];let i=t.parentElement;for(;i;)e?i.matches(e)&&n.push(i):n.push(i),i=i.parentElement;return n}function un(t,e,n){const i=Ge();return n?t["width"===e?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(t,null).getPropertyValue("width"===e?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(t,null).getPropertyValue("width"===e?"margin-left":"margin-bottom")):t.offsetWidth}function dn(t){return(Array.isArray(t)?t:[t]).filter(t=>!!t)}let hn,pn,fn;function mn(){return hn||(hn=function(){const t=Ge(),e=Ve();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}()),hn}function gn(t){return void 0===t&&(t={}),pn||(pn=function(t){let{userAgent:e}=void 0===t?{}:t;const n=mn(),i=Ge(),r=i.navigator.platform,a=e||i.navigator.userAgent,s={ios:!1,android:!1},o=i.screen.width,l=i.screen.height,c=a.match(/(Android);?[\s\/]+([\d.]+)?/);let u=a.match(/(iPad).*OS\s([\d_]+)/);const d=a.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===r;let f="MacIntel"===r;return!u&&f&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${l}`)>=0&&(u=a.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),f=!1),c&&!p&&(s.os="android",s.android=!0),(u||h||d)&&(s.os="ios",s.ios=!0),s}(t)),pn}function vn(){return fn||(fn=function(){const t=Ge(
vendor: 7,649 bytes, line 453
453),e=gn();let n=!1;function i(){const e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}if(i()){const e=String(t.navigator.userAgent);if(e.includes("Version/")){const[t,i]=e.split("Version/")[1].split(" ")[0].split(".").map(t=>Number(t));n=t<16||16===t&&i<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),a=i();return{isSafari:n||a,needPerspectiveFix:n,need3dFix:a||r&&e.ios,isWebView:r}}()),fn}const _n=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};const yn=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};const bn=(t,e)=>{if(!t||t.destroyed||!t.params)return;const n=e.closest(t.isElement?"swiper-slide":"."+t.params.slideClass);if(n){let e=n.querySelector("."+t.params.lazyPreloaderClass);!e&&t.isElement&&(n.shadowRoot?e=n.shadowRoot.querySelector("."+t.params.lazyPreloaderClass):requestAnimationFrame(()=>{n.shadowRoot&&(e=n.shadowRoot.querySelector("."+t.params.lazyPreloaderClass),e&&e.remove())})),e&&e.remove()}},xn=(t,e)=>{if(!t.slides[e])return;const n=t.slides[e].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},wn=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const n=t.slides.length;if(!n||!e||e<0)return;e=Math.min(e,n);const i="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),r=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const n=r,a=[n-e];return a.push(...Array.from({length:e}).map((t,e)=>n+i+e)),void t.slides.forEach((e,n)=>{a.includes(e.column)&&xn(t,n)})}const a=r+i-1;if(t.params.rewind||t.params.loop)for(let i=r-e;i<=a+e;i+=1){const e=(i%n+n)%n;(e<r||e>a)&&xn(t,e)}else for(let i=Math.max(r-e,0);i<=Math.min(a+e,n-1);i+=1)i!==r&&(i>a||i<r)&&xn(t,i)};function Mn(t){let{swiper:e,runCallbacks:n,direction:i,step:r}=t;const{activeIndex:a,previousIndex:s}=e;let o=i;if(o||(o=a>s?"next":a<s?"prev":"reset"),e.emit("transition"+r),n&&a!==s){if("reset"===o)return void e.emit("slideResetTransition"+r);e.emit("slideChangeTransition"+r),"next"===o?e.emit("slideNextTransition"+r):e.emit("slidePrevTransition"+r)}}function Sn(t,e,n){const i=Ge(),{params:r}=t,a=r.edgeSwipeDetection,s=r.edgeSwipeThreshold;return!a||!(n<=s||n>=i.innerWidth-s)||"prevent"===a&&(e.preventDefault(),!0)}function Tn(t){const e=this,n=Ve();let i=t;i.originalEvent&&(i=i.originalEvent);const r=e.touchEventsData;if("pointerdown"===i.type){if(null!==r.pointerId&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(r.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void Sn(e,i,i.targetTouches[0].pageX);const{params:a,touches:s,enabled:o}=e;if(!o)return;if(!a.simulateTouch&&"mouse"===i.pointerType)return;if(e.animating&&a.preventInteractionOnTransition)return;!e.animating&&a.cssMode&&a.loop&&e.loopFix();let l=i.target;if("wrapper"===a.touchEventsTarget&&!function(t,e){const n=e.contains(t);if(!n&&e instanceof HTMLSlotElement){return[...e.assignedElements()].includes(t)}return n}(l,e.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(r.isTouched&&r.isMoved)return;const c=!!a.noSwipingClass&&""!==a.noSwipingClass,u=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&u&&(l=u[0]);const d=a.noSwipingSelector?a.noSwipingSelector:"."+a.noSwipingClass,h=!(!i.target||!i.target.shadowRoot);if(a.noSwiping&&(h?function(t,e){return void 0===e&&(e=this),function e(n){if(!n||n===Ve()||n===Ge())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(t);return i||n.getRootNode?i||e(n.getRootNode().host):null}(e)}(d,l):l.closest(d)))return void(e.allowClick=!0);if(a.swipeHandler&&!l.closest(a.swipeHandler))return;s.currentX=i.pageX,s.currentY=i.pageY;const p=s.currentX,f=s.currentY;if(!Sn(e,i,p))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=p,s.startY=f,r.touchStartTime=$e(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,a.threshold>0&&(r.allowThresholdMove=!1);let m=!0;l.matches(r.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==l&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!l.matches(r.focusableElements))&&n.activeElement.blur();const g=m&&e.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!g||l.isContentEditable||i.preventDefault(),a.freeMode&&a.freeMode.enabled&&e.freeMode&&e.animating&&!a.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function An(t){const e=Ve(),n=this,i=n.touchEventsData,{params:r,touches:a,rtlTranslate:s,enabled:o}=n;if(!o)return;if(!r.simulateTouch&&"mouse"===t.pointerType)return;let l,c=t;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==i.touchId)return;if(c.pointerId!==i.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].filter(t=>t.identifier===i.touchId)[0],!l||l.identifier!==i.touchId)return}else l=c;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",c));const u=l.pageX,d=l.pageY;if(c.preventedByNestedSwiper)return a.startX=u,void(a.startY=d);if(!n.allowTouchMove)return c.target.matches(i.focusableElements)||(n.allowClick=!1),void(i.isTouched&&(Object.assign(a,{startX:u,startY:d,currentX:u,currentY:d}),i.touchStartTime=$e()));if(r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(d<a.startY&&n.translate<=n.maxTranslate()||d>a.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(u<a.startX&&n.translate<=n.maxTranslate()||u>a.startX&&n.translate>=n.minTranslate())return;if(e.activeElement&&e.activeElement.matches(i.focusableElements)&&e.activeElement!==c.target&&"mouse"!==c.pointerType&&e.activeElement.blur(),e.activeElement&&c.target===e.activeElement&&c.target.matches(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);i.allowTouchCallbacks&&n.emit("touchMove",c),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=u,a.currentY=d;const h=a.currentX-a.startX,p=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(h**2+p**2)<n.params.threshold)return;if(void 0===i.isScrolling){let t;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:h*h+p*p>=25&&(t=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,i.isScrolling=n.isHorizontal()?t>r.touchAngle:90-t>r.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",c),void 0===i.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===c.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let f=n.isHorizontal()?h:p,m=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;r.oneWayMovement&&(f=Math.abs(f)*(s?1:-1),m=Math.abs(m)*(s?1:-1)),a.diff=f,f*=r.touchRatio,s&&(f=-f,m=-m);const g=n.touchesDirection;n.swipeDirection=f>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const v=n.params.loop&&!r.cssMode,_="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!i.isMoved){if(v&&_&&n.loopFix({direction:n.swipeDirection}),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
vendor: 2,139 bytes, line 453
453n.wrapperEl.dispatchEvent(t)}i.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),i.isMoved&&i.allowThresholdMove&&g!==n.touchesDirection&&v&&_&&Math.abs(f)>=1)return Object.assign(a,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);n.emit("sliderMove",c),i.isMoved=!0,i.currentTranslate=f+i.startTranslate;let y=!0,b=r.resistanceRatio;if(r.touchReleaseOnEdges&&(b=0),f>0?(v&&_&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>n.minTranslate()&&(y=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+f)**b))):f<0&&(v&&_&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===r.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<n.maxTranslate()&&(y=!1,r.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-f)**b))),y&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
vendor: 14,324 bytes, line 453
453if(!i.allowThresholdMove)return i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,void(a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function Ln(t){const e=this,n=e.touchEventsData;let i,r=t;r.originalEvent&&(r=r.originalEvent);if("touchend"===r.type||"touchcancel"===r.type){if(i=[...r.changedTouches].filter(t=>t.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:a,touches:s,rtlTranslate:o,slidesGrid:l,enabled:c}=e;if(!c)return;if(!a.simulateTouch&&"mouse"===r.pointerType)return;if(n.allowTouchCallbacks&&e.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const u=$e(),d=u-n.touchStartTime;if(e.allowClick){const t=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(t&&t[0]||r.target,t),e.emit("tap click",r),d<300&&u-n.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(n.lastClickTime=$e(),Xe(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||0===s.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=a.followFinger?o?e.translate:-e.translate:-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:h});const p=h>=-e.maxTranslate()&&!e.params.loop;let f=0,m=e.slidesSizesGrid[0];for(let t=0;t<l.length;t+=t<a.slidesPerGroupSkip?1:a.slidesPerGroup){const e=t<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==l[t+e]?(p||h>=l[t]&&h<l[t+e])&&(f=t,m=l[t+e]-l[t]):(p||h>=l[t])&&(f=t,m=l[l.length-1]-l[l.length-2])}let g=null,v=null;a.rewind&&(e.isBeginning?v=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(g=0));const _=(h-l[f])/m,y=f<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(d>a.longSwipesMs){if(!a.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(_>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?g:f+y):e.slideTo(f)),"prev"===e.swipeDirection&&(_>1-a.longSwipesRatio?e.slideTo(f+y):null!==v&&_<0&&Math.abs(_)>a.longSwipesRatio?e.slideTo(v):e.slideTo(f))}else{if(!a.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(f+y):e.slideTo(f):("next"===e.swipeDirection&&e.slideTo(null!==g?g:f+y),"prev"===e.swipeDirection&&e.slideTo(null!==v?v:f))}}function En(){const t=this,{params:e,el:n}=t;if(n&&0===n.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:a}=t,s=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const o=s&&e.loop;!("auto"===e.slidesPerView||e.slidesPerView>1)||!t.isEnd||t.isBeginning||t.params.centeredSlides||o?t.params.loop&&!s?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0):t.slideTo(t.slides.length-1,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=r,t.allowSlideNext=i,t.params.watchOverflow&&a!==t.snapGrid&&t.checkOverflow()}function Cn(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function In(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:i}=t;if(!i)return;let r;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const a=t.maxTranslate()-t.minTranslate();r=0===a?0:(t.translate-t.minTranslate())/a,r!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Dn(t){bn(this,t.target),this.params.cssMode||"auto"!==this.params.slidesPerView&&!this.params.autoHeight||this.update()}function kn(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const On=(t,e)=>{const n=Ve(),{params:i,el:r,wrapperEl:a,device:s}=t,o=!!i.nested,l="on"===e?"addEventListener":"removeEventListener",c=e;r&&"string"!=typeof r&&(n[l]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),r[l]("touchstart",t.onTouchStart,{passive:!1}),r[l]("pointerdown",t.onTouchStart,{passive:!1}),n[l]("touchmove",t.onTouchMove,{passive:!1,capture:o}),n[l]("pointermove",t.onTouchMove,{passive:!1,capture:o}),n[l]("touchend",t.onTouchEnd,{passive:!0}),n[l]("pointerup",t.onTouchEnd,{passive:!0}),n[l]("pointercancel",t.onTouchEnd,{passive:!0}),n[l]("touchcancel",t.onTouchEnd,{passive:!0}),n[l]("pointerout",t.onTouchEnd,{passive:!0}),n[l]("pointerleave",t.onTouchEnd,{passive:!0}),n[l]("contextmenu",t.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[l]("click",t.onClick,!0),i.cssMode&&a[l]("scroll",t.onScroll),i.updateOnWindowResize?t[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",En,!0):t[c]("observerUpdate",En,!0),r[l]("load",t.onLoad,{capture:!0}))};const Rn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;var Pn={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Nn(t,e){return function(n){void 0===n&&(n={});const i=Object.keys(n)[0],r=n[i];"object"==typeof r&&null!==r?(!0===t[i]&&(t[i]={enabled:!0}),"navigation"===i&&t[i]&&t[i].enabled&&!t[i].prevEl&&!t[i].nextEl&&(t[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&t[i]&&t[i].enabled&&!t[i].el&&(t[i].auto=!0),i in t&&"enabled"in r?("object"!=typeof t[i]||"enabled"in t[i]||(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),Ze(e,n)):Ze(e,n)):Ze(e,n)}}const Yn={eventsEmitter:{on(t,e,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof e)return i;const r=n?"unshift":"push";return t.split(" ").forEach(t=>{i.eventsListeners[t]||(i.eventsListeners[t]=[]),i.eventsListeners[t][r](e)}),i},once(t,e,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof e)return i;function r(){i.off(t,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];e.apply(i,a)}return r.__emitterProxy=e,i.on(t,r,n)},onAny(t,e){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const i=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[i](t),n},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(t.split(" ").forEach(t=>{void 0===e?n.eventsListeners[t]=[]:n.eventsListeners[t]&&n.eventsListeners[t].forEach((i,r)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&n.eventsListeners[t].splice(r,1)})}),n):n},emit(){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let e,n,i;for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];"string"==typeof a[0]||Array.isArray(a[0])?(e=a[0],n=a.slice(1,a.length),i=t):(e=a[0].events,n=a[0].data,i=a[0].context||t),n.unshift(i);return(Array.isArray(e)?e:e.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(i,[e,...n])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(t=>{t.apply(i,n)})}),t}},update:{updateSize:function(){const t=this;let e,n;const i=t.el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:i.clientWidth,n=void 0!==t.params.height&&null!==t.params.height?t.params.height:i.clientHeight,0===e&&t.isHorizontal()||0===n&&t.isVertical()||(e=e-parseInt(on(i,"padding-left")||0,10)-parseInt(on(i,"padding-right")||0,10),n=n-parseInt(on(i,"padding-top")||0,10)-parseInt(on(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))},updateSlides:function(){const t=this;function e(e,n){return parseFloat(e.getPropertyValue(t.getDirectionLabel(n))||0)}const n=t.params,{wrapperEl:i,slidesEl:r,size:a,rtlTranslate:s,wrongRTL:o}=t,l=t.virtual&&n.virtual.enabled,c=l?t.virtual.slides.length:t.slides.length,u=nn(r,`.${t.params.slideClass}, swiper-slide`),d=l?t.virtual.slides.length:u.length;let h=[];const p=[],f=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(t));let g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(t));const v=t.snapGrid.length,_=t.slidesGrid.length;let y=n.spaceBetween,b=-m,x=0,w=0;if(void 0===a)return;"string"==typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*a:"string"==typeof y&&(y=parseFloat(y)),t.virtualSize=-y,u.forEach(t=>{s?t.style.marginLeft="":t.style.marginRight="",t.style.marginBottom="",t.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(tn(i,"--swiper-centered-offset-before",""),tn(i,"--swiper-centered-offset-after",""));const M=n.grid&&n.grid.rows>1&&t.grid;let S;M?t.grid.initSlides(u):t.grid&&t.grid.unsetSlides();const T="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(t=>void 0!==n.breakpoints[t].slidesPerView).length>0;for(let i=0;i<d;i+=1){let r;if(S=0,u[i]&&(r=u[i]),M&&t.grid.updateSlide(i,r,u),!u[i]||"none"!==on(r,"display")){if("auto"===n.slidesPerView){T&&(u[i].style[t.getDirectionLabel("width")]="");const a=getComputedStyle(r),s=r.style.transform,o=r.style.webkitTransform;if(s&&(r.style.transform="none"),o&&(r.style.webkitTransform="none"),n.roundLengths)S=t.isHorizontal()?un(r,"width",!0):un(r,"height",!0);else{const t=e(a,"width"),n=e(a,"padding-left"),i=e(a,"padding-right"),s=e(a,"margin-left"),o=e(a,"margin-right"),l=a.getPropertyValue("box-sizing");if(l&&"border-box"===l)S=t+s+o;else{const{clientWidth:e,offsetWidth:a}=r;S=t+n+i+s+o+(a-e)}}s&&(r.style.transform=s),o&&(r.style.webkitTransform=o),n.roundLengths&&(S=Math.floor(S))}else S=(a-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(S=Math.floor(S)),u[i]&&(u[i].style[t.getDirectionLabel("width")]=S+"px");u[i]&&(u[i].swiperSlideSize=S),f.push(S),n.centeredSlides?(b=b+S/2+x/2+y,0===x&&0!==i&&(b=b-a/2-y),0===i&&(b=b-a/2-y),Math.abs(b)<.001&&(b=0),n.roundLengths&&(b=Math.floor(b)),w%n.slidesPerGroup==0&&h.push(b),p.push(b)):(n.roundLengths&&(b=Math.floor(b)),(w-Math.min(t.params.slidesPerGroupSkip,w))%t.params.slidesPerGroup==0&&h.push(b),p.push(b),b=b+S+y),t.virtualSize+=S+y,x=S,w+=1}}if(t.virtualSize=Math.max(t.virtualSize,a)+g,s&&o&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=t.virtualSize+y+"px"),n.setWrapperSize&&(i.style[t.getDirectionLabel("width")]=t.virtualSize+y+"px"),M&&t.grid.updateWrapperSize(S,h),!n.centeredSlides){const e=[];for(let i=0;i<h.length;i+=1){let r=h[i];n.roundLengths&&(r=Math.floor(r)),h[i]<=t.virtualSize-a&&e.push(r)}h=e,Math.floor(t.virtualSize-a)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-a)}if(l&&n.loop){const e=f[0]+y;if(n.slidesPerGroup>1){const i=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),r=e*n.slidesPerGroup;for(let t=0;t<i;t+=1)h.push(h[h.length-1]+r)}for(let i=0;i<t.virtual.slidesBefore+t.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&h.push(h[h.length-1]+e),p.push(p[p.length-1]+e),t.virtualSize+=e}if(0===h.length&&(h=[0]),0!==y){const e=t.isHorizontal()&&s?"marginLeft":t.getDirectionLabel("marginRight");u.filter((t,e)=>
vendor: 17,698 bytes, line 453
453!(n.cssMode&&!n.loop)||e!==u.length-1).forEach(t=>{t.style[e]=y+"px"})}if(n.centeredSlides&&n.centeredSlidesBounds){let t=0;f.forEach(e=>{t+=e+(y||0)}),t-=y;const e=t>a?t-a:0;h=h.map(t=>t<=0?-m:t>e?e+g:t)}if(n.centerInsufficientSlides){let t=0;f.forEach(e=>{t+=e+(y||0)}),t-=y;const e=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(t+e<a){const n=(a-t-e)/2;h.forEach((t,e)=>{h[e]=t-n}),p.forEach((t,e)=>{p[e]=t+n})}}if(Object.assign(t,{slides:u,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){tn(i,"--swiper-centered-offset-before",-h[0]+"px"),tn(i,"--swiper-centered-offset-after",t.size/2-f[f.length-1]/2+"px");const e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(t=>t+n)}if(d!==c&&t.emit("slidesLengthChange"),h.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==_&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const e=n.containerModifierClass+"backface-hidden",i=t.el.classList.contains(e);d<=n.maxBackfaceHiddenSlides?i||t.el.classList.add(e):i&&t.el.classList.remove(e)}},updateAutoHeight:function(t){const e=this,n=[],i=e.virtual&&e.params.virtual.enabled;let r,a=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const s=t=>i?e.slides[e.getSlideIndexByData(t)]:e.slides[t];if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(t=>{n.push(t)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const t=e.activeIndex+r;if(t>e.slides.length&&!i)break;n.push(s(t))}else n.push(s(e.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const t=n[r].offsetHeight;a=t>a?t:a}(a||0===a)&&(e.wrapperEl.style.height=a+"px")},updateSlidesOffset:function(){const t=this,e=t.slides,n=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let i=0;i<e.length;i+=1)e[i].swiperSlideOffset=(t.isHorizontal()?e[i].offsetLeft:e[i].offsetTop)-n-t.cssOverflowAdjustment()},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);const e=this,n=e.params,{slides:i,rtlTranslate:r,snapGrid:a}=e;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&e.updateSlidesOffset();let s=-t;r&&(s=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=n.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:"string"==typeof o&&(o=parseFloat(o));for(let t=0;t<i.length;t+=1){const l=i[t];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset);const u=(s+(n.centeredSlides?e.minTranslate():0)-c)/(l.swiperSlideSize+o),d=(s-a[0]+(n.centeredSlides?e.minTranslate():0)-c)/(l.swiperSlideSize+o),h=-(s-c),p=h+e.slidesSizesGrid[t],f=h>=0&&h<=e.size-e.slidesSizesGrid[t],m=h>=0&&h<e.size-1||p>1&&p<=e.size||h<=0&&p>=e.size;m&&(e.visibleSlides.push(l),e.visibleSlidesIndexes.push(t)),_n(l,m,n.slideVisibleClass),_n(l,f,n.slideFullyVisibleClass),l.progress=r?-u:u,l.originalProgress=r?-d:d}},updateProgress:function(t){const e=this;if(void 0===t){const n=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*n||0}const n=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:a,isEnd:s,progressLoop:o}=e;const l=a,c=s;if(0===i)r=0,a=!0,s=!0;else{r=(t-e.minTranslate())/i;const n=Math.abs(t-e.minTranslate())<1,o=Math.abs(t-e.maxTranslate())<1;a=n||r<=0,s=o||r>=1,n&&(r=0),o&&(r=1)}if(n.loop){const n=e.getSlideIndexByData(0),i=e.getSlideIndexByData(e.slides.length-1),r=e.slidesGrid[n],a=e.slidesGrid[i],s=e.slidesGrid[e.slidesGrid.length-1],l=Math.abs(t);o=l>=r?(l-r)/s:(l+s-a)/s,o>1&&(o-=1)}Object.assign(e,{progress:r,progressLoop:o,isBeginning:a,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),a&&!l&&e.emit("reachBeginning toEdge"),s&&!c&&e.emit("reachEnd toEdge"),(l&&!a||c&&!s)&&e.emit("fromEdge"),e.emit("progress",r)},updateSlidesClasses:function(){const t=this,{slides:e,params:n,slidesEl:i,activeIndex:r}=t,a=t.virtual&&n.virtual.enabled,s=t.grid&&n.grid&&n.grid.rows>1,o=t=>nn(i,`.${n.slideClass}${t}, swiper-slide${t}`)[0];let l,c,u;if(a)if(n.loop){let e=r-t.virtual.slidesBefore;e<0&&(e=t.virtual.slides.length+e),e>=t.virtual.slides.length&&(e-=t.virtual.slides.length),l=o(`[data-swiper-slide-index="${e}"]`)}else l=o(`[data-swiper-slide-index="${r}"]`);else s?(l=e.filter(t=>t.column===r)[0],u=e.filter(t=>t.column===r+1)[0],c=e.filter(t=>t.column===r-1)[0]):l=e[r];l&&(s||(u=function(t,e){const n=[];for(;t.nextElementSibling;){const i=t.nextElementSibling;e?i.matches(e)&&n.push(i):n.push(i),t=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u&&(u=e[0]),c=function(t,e){const n=[];for(;t.previousElementSibling;){const i=t.previousElementSibling;e?i.matches(e)&&n.push(i):n.push(i),t=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=e[e.length-1]))),e.forEach(t=>{yn(t,t===l,n.slideActiveClass),yn(t,t===u,n.slideNextClass),yn(t,t===c,n.slidePrevClass)}),t.emitSlidesClasses()},updateActiveIndex:function(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:r,activeIndex:a,realIndex:s,snapIndex:o}=e;let l,c=t;const u=t=>{let n=t-e.virtual.slidesBefore;return n<0&&(n=e.virtual.slides.length+n),n>=e.virtual.slides.length&&(n-=e.virtual.slides.length),n};if(void 0===c&&(c=function(t){const{slidesGrid:e,params:n}=t,i=t.rtlTranslate?t.translate:-t.translate;let r;for(let t=0;t<e.length;t+=1)void 0!==e[t+1]?i>=e[t]&&i<e[t+1]-(e[t+1]-e[t])/2?r=t:i>=e[t]&&i<e[t+1]&&(r=t+1):i>=e[t]&&(r=t);return n.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(e)),i.indexOf(n)>=0)l=i.indexOf(n);else{const t=Math.min(r.slidesPerGroupSkip,c);l=t+Math.floor((c-t)/r.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),c===a&&!e.params.loop)return void(l!==o&&(e.snapIndex=l,e.emit("snapIndexChange")));if(c===a&&e.params.loop&&e.virtual&&e.params.virtual.enabled)return void(e.realIndex=u(c));const d=e.grid&&r.grid&&r.grid.rows>1;let h;if(e.virtual&&r.virtual.enabled&&r.loop)h=u(c);else if(d){const t=e.slides.filter(t=>t.column===c)[0];let n=parseInt(t.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(e.slides.indexOf(t),0)),h=Math.floor(n/r.grid.rows)}else if(e.slides[c]){const t=e.slides[c].getAttribute("data-swiper-slide-index");h=t?parseInt(t,10):c}else h=c;Object.assign(e,{previousSnapIndex:o,snapIndex:l,previousRealIndex:s,realIndex:h,previousIndex:a,activeIndex:c}),e.initialized&&wn(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==h&&e.emit("realIndexChange"),e.emit("slideChange"))},updateClickedSlide:function(t,e){const n=this,i=n.params;let r=t.closest(`.${i.slideClass}, swiper-slide`);!r&&n.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(t=>{!r&&t.matches&&t.matches(`.${i.slideClass}, swiper-slide`)&&(r=t)});let a,s=!1;if(r)for(let t=0;t<n.slides.length;t+=1)if(n.slides[t]===r){s=!0,a=t;break}if(!r||!s)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=r,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=a,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:{getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");const{params:e,rtlTranslate:n,translate:i,wrapperEl:r}=this;if(e.virtualTranslate)return n?-i:i;if(e.cssMode)return i;let a=Ke(r,t);return a+=this.cssOverflowAdjustment(),n&&(a=-a),a||0},setTranslate:function(t,e){const n=this,{rtlTranslate:i,params:r,wrapperEl:a,progress:s}=n;let o,l=0,c=0;n.isHorizontal()?l=i?-t:t:c=t,r.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,r.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:r.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),a.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const u=n.maxTranslate()-n.minTranslate();o=0===u?0:(t-n.minTranslate())/u,o!==s&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t,e,n,i,r){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);const a=this,{params:s,wrapperEl:o}=a;if(a.animating&&s.preventInteractionOnTransition)return!1;const l=a.minTranslate(),c=a.maxTranslate();let u;if(u=i&&t>l?l:i&&t<c?c:t,a.updateProgress(u),s.cssMode){const t=a.isHorizontal();if(0===e)o[t?"scrollLeft":"scrollTop"]=-u;else{if(!a.support.smoothScroll)return en({swiper:a,targetPosition:-u,side:t?"left":"top"}),!0;o.scrollTo({[t?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===e?(a.setTransition(0),a.setTranslate(u),n&&(a.emit("beforeTransitionStart",e,r),a.emit("transitionEnd"))):(a.setTransition(e),a.setTranslate(u),n&&(a.emit("beforeTransitionStart",e,r),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(t){a&&!a.destroyed&&t.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,n&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(t,e){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=t+"ms",n.wrapperEl.style.transitionDelay=0===t?"0ms":""),n.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),Mn({swiper:n,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t,e){void 0===t&&(t=!0);const{params:n}=this;this.animating=!1,n.cssMode||(this.setTransition(0),Mn({swiper:this,runCallbacks:t,direction:e,step:"End"}))}},slide:{slideTo:function(t,e,n,i,r){void 0===t&&(t=0),void 0===n&&(n=!0),"string"==typeof t&&(t=parseInt(t,10));const a=this;let s=t;s<0&&(s=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:h,wrapperEl:p,enabled:f}=a;if(!f&&!i&&!r||a.destroyed||a.animating&&o.preventInteractionOnTransition)return!1;void 0===e&&(e=a.params.speed);const m=Math.min(a.params.slidesPerGroupSkip,s);let g=m+Math.floor((s-m)/a.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const v=-l[g];if(o.normalizeSlideIndex)for(let t=0;t<c.length;t+=1){const e=-Math.floor(100*v),n=Math.floor(100*c[t]),i=Math.floor(100*c[t+1]);void 0!==c[t+1]?e>=n&&e<i-(i-n)/2?s=t:e>=n&&e<i&&(s=t+1):e>=n&&(s=t)}if(a.initialized&&s!==d){if(!a.allowSlideNext&&(h?v>a.translate&&v>a.minTranslate():v<a.translate&&v<a.minTranslate()))return!1;if(!a.allowSlidePrev&&v>a.translate&&v>a.maxTranslate()&&(d||0)!==s)return!1}let _;s!==(u||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(v),_=s>d?"next":s<d?"prev":"reset";const y=a.virtual&&a.params.virtual.enabled;if(!(y&&r)&&(h&&-v===a.translate||!h&&v===a.translate))return a.updateActiveIndex(s),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(v),"reset"!==_&&(a.transitionStart(n,_),a.transitionEnd(n,_)),!1;if(o.cssMode){const t=a.isHorizontal(),n=h?v:-v;if(0===e)y&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),y&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[t?"scrollLeft":"scrollTop"]=n})):p[t?"scrollLeft":"scrollTop"]=n,y&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return en({swiper:a,targetPosition:n,side:t?"left":"top"}),!0;p.scrollTo({[t?"left":"top"]:n,behavior:"smooth"})}return!0}return a.setTransition(e),a.setTranslate(v),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",e,i),a.transitionStart(n,_),0===e?a.transitionEnd(n,_):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(t){a&&!a.destroyed&&t.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,_))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(t,e,n,i){if(void 0===t&&(t=0),void 0===n&&(n=!0),"string"==typeof t){t=parseInt(t,10)}const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);const a=r.grid&&r.params.grid&&r.params.grid.rows>1;let s=t;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)s+=r.virtual.slidesBefore;else{let t;if(a){const e=s*r.params.grid.rows;t=r.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0].column}else t=r.getSlideIndexByData(s);const e=a?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:n}=r.params;let o=r.params.slidesPerView;"auto"===o?o=r.slidesPerViewDynamic():(o=Math.ceil(parseFloat(r.params.slidesPerView,10)),n&&o%2==0&&(o+=1));let l=e-t<o;if(n&&(l=l||t<Math.ceil(o/2)),i&&n&&"auto"!==r.params.slidesPerView&&!a&&(l=!1),l){const i=n?t<r.activeIndex?"prev":"next":t-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?t+1:t-e+1,slideRealIndex:"next"===i?r.realIndex:void 0})}if(a){const t=s*r.params.grid.rows;s=r.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===t)[0].column}else s=r.getSlideIndexByData(s)}return requestAnimationFrame(()=>{r.slideTo(s,e,n,i)}),r},slideNext:function(t,e,n){void 0===e&&(e=!0);const i=this,{enabled:r,params:a,animating:s}=i;if(!r||i.destroyed)return i;void 0===t&&(t=i.params.speed);let o=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<a.slidesPerGroupSkip?1:o,c=i.virtual&&a.virtual.enabled;if(a.loop){if(s&&!c&&a.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,t,e,n)}),!0}return a.rewind&&i.isEnd?i.slideTo(0,t,e,n):i.slideTo(i.activeIndex+l,t,e,n)},slidePrev:function(t,e,n){void 0===e&&(e=!0);const i=this,{params:r,snapGrid:a,slidesGrid:s,rtlTranslate:o,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;void 0===t&&(t=i.params.speed);const u=i.virtual&&r.virtual.enabled;if(r.loop){if(c&&!u&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function d(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const h=d(o?i.translate:-i.translate),p=a.map(t=>d(t));let f=a[p.indexOf(h)-1];if(void 0===f&&r.cssMode){let t;a.forEach((e,n)=>{h>=e&&(t=n)}),void 0!==t&&(f=a[t>0?t-1:t])}let m=0;if(void 0!==f&&(m=s.indexOf(f),m<0&&(m=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-i.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&i.isBeginning){const r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,t,e,n)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{i.slideTo(m,t,e,n)}),!0):i.slideTo(m,t,e,n)},slideReset:function(t,e,n){void 0===e&&(e=!0);const i=this;if(!i.destroyed)return void 0===t&&(t=i.params.speed),i.slideTo(i.activeIndex,t,e,n)},slideToClosest:function(t,e,n,i){void 0===e&&(e=!0),void 0===i&&(i=.5);const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);let a=r.activeIndex;const s=Math.min(r.params.slidesPerGroupSkip,a),o=s+Math.floor((a-s)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[o]){const t=r.snapGrid[o];l-t>(r.snapGrid[o+1]-t)*i&&(a+=r.params.slidesPerGroup)}else{const t=r.snapGrid[o-1];l-t<=(r.snapGrid[o]-t)*i&&(a-=r.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,r.slidesGrid.length-1),r.slideTo(a,t,e,n)},slideToClickedSlide:function(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:n}=t,i="auto"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let r,a=t.clickedIndex;const s=t.isElement?"swiper-slide":"."+e.slideClass;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?a<t.loopedSlides-i/2||a>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),a=t.getSlideIndex(nn(n,`${s}[data-swiper-slide-index="${r}"]`)[0]),Xe(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-i?(t.loopFix(),a=t.getSlideIndex(nn(n,`${s}[data-swiper-slide-index="${r}"]`)[0]),Xe(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}},loop:{loopCreate:function(t){const e=this,{params:n,slidesEl:i}=e;if(!n.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{nn(i,`.${n.slideClass}, swiper-slide`).forEach((t,e)=>{t.setAttribute("data-swiper-slide-index",e)})},a=e.grid&&n.grid&&n.grid.rows>1,s=n.slidesPerGroup*(a?n.grid.rows:1),o=e.slides.length%s!=0,l=a&&e.slides.length%n.grid.rows!=0,c=t=>{for(let i=0;i<t;i+=1){const t=e.isElement?an("swiper-slide",[n.slideBlankClass]):an("div",[n.slideClass,n.slideBlankClass]);e.slidesEl.append(t)}};if(o){if(n.loopAddBlankSlides){c(s-e.slides.length%s),e.recalcSlides(),e.updateSlides()}else rn("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may 
453not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(l){if(n.loopAddBlankSlides){c(n.grid.rows-e.slides.length%n.grid.rows),e.recalcSlides(),e.updateSlides()}else rn("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();e.loopFix({slideRealIndex:t,direction:n.centeredSlides?void 0:"next"})},loopFix:function(t){let{slideRealIndex:e,slideTo:n=!0,direction:i,setTranslate:r,activeSlideIndex:a,byController:s,byMousewheel:o}=void 0===t?{}:t;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:u,allowSlideNext:d,slidesEl:h,params:p}=l,{centeredSlides:f}=p;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled)return n&&(p.centeredSlides||0!==l.snapIndex?p.centeredSlides&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=u,l.allowSlideNext=d,void l.emit("loopFix");let m=p.slidesPerView;"auto"===m?m=l.slidesPerViewDynamic():(m=Math.ceil(parseFloat(p.slidesPerView,10)),f&&m%2==0&&(m+=1));const g=p.slidesPerGroupAuto?m:p.slidesPerGroup;let v=g;v%g!=0&&(v+=g-v%g),v+=p.loopAdditionalSlides,l.loopedSlides=v;const _=l.grid&&p.grid&&p.grid.rows>1;c.length<m+v?rn("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):_&&"row"===p.grid.fill&&rn("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const y=[],b=[];let x=l.activeIndex;void 0===a?a=l.getSlideIndex(c.filter(t=>t.classList.contains(p.slideActiveClass))[0]):x=a;const w="next"===i||!i,M="prev"===i||!i;let S=0,T=0;const A=_?Math.ceil(c.length/p.grid.rows):c.length,L=(_?c[a].column:a)+(f&&void 0===r?-m/2+.5:0);if(L<v){S=Math.max(v-L,g);for(let t=0;t<v-L;t+=1){const e=t-Math.floor(t/A)*A;if(_){const t=A-e-1;for(let e=c.length-1;e>=0;e-=1)c[e].column===t&&y.push(e)}else y.push(A-e-1)}}else if(L+m>A-v){T=Math.max(L-(A-2*v),g);for(let t=0;t<T;t+=1){const e=t-Math.floor(t/A)*A;_?c.forEach((t,n)=>{t.column===e&&b.push(n)}):b.push(e)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}
vendor: 15,315 bytes, line 453
453),M&&y.forEach(t=>{c[t].swiperLoopMoveDOM=!0,h.prepend(c[t]),c[t].swiperLoopMoveDOM=!1}),w&&b.forEach(t=>{c[t].swiperLoopMoveDOM=!0,h.append(c[t]),c[t].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===p.slidesPerView?l.updateSlides():_&&(y.length>0&&M||b.length>0&&w)&&l.slides.forEach((t,e)=>{l.grid.updateSlide(e,t,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),n)if(y.length>0&&M){if(void 0===e){const t=l.slidesGrid[x],e=l.slidesGrid[x+S]-t;o?l.setTranslate(l.translate-e):(l.slideTo(x+Math.ceil(S),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-e,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-e))}else if(r){const t=_?y.length/p.grid.rows:y.length;l.slideTo(l.activeIndex+t,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(b.length>0&&w)if(void 0===e){const t=l.slidesGrid[x],e=l.slidesGrid[x-T]-t;o?l.setTranslate(l.translate-e):(l.slideTo(x-T,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-e,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-e))}else{const t=_?b.length/p.grid.rows:b.length;l.slideTo(l.activeIndex-t,0,!1,!0)}if(l.allowSlidePrev=u,l.allowSlideNext=d,l.controller&&l.controller.control&&!s){const t={slideRealIndex:e,direction:i,setTranslate:r,activeSlideIndex:a,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...t,slideTo:e.params.slidesPerView===p.slidesPerView&&n})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...t,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView&&n})}l.emit("loopFix")},loopDestroy:function(){const{params:t,slidesEl:e}=this;if(!t.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();const n=[];this.slides.forEach(t=>{const e=void 0===t.swiperSlideIndex?1*t.getAttribute("data-swiper-slide-index"):t.swiperSlideIndex;n[e]=t}),this.slides.forEach(t=>{t.removeAttribute("data-swiper-slide-index")}),n.forEach(t=>{e.append(t)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})},unsetGrabCursor:function(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}},events:{attachEvents:function(){const t=this,{params:e}=t;t.onTouchStart=Tn.bind(t),t.onTouchMove=An.bind(t),t.onTouchEnd=Ln.bind(t),t.onDocumentTouchStart=kn.bind(t),e.cssMode&&(t.onScroll=In.bind(t)),t.onClick=Cn.bind(t),t.onLoad=Dn.bind(t),On(t,"on")},detachEvents:function(){On(this,"off")}},breakpoints:{setBreakpoint:function(){const t=this,{realIndex:e,initialized:n,params:i,el:r}=t,a=i.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=t.getBreakpoint(a,t.params.breakpointsBase,t.el);if(!s||t.currentBreakpoint===s)return;const o=(s in a?a[s]:void 0)||t.originalParams,l=Rn(t,i),c=Rn(t,o),u=t.params.grabCursor,d=o.grabCursor,h=i.enabled;l&&!c?(r.classList.remove(i.containerModifierClass+"grid",i.containerModifierClass+"grid-column"),t.emitContainerClasses()):!l&&c&&(r.classList.add(i.containerModifierClass+"grid"),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===i.grid.fill)&&r.classList.add(i.containerModifierClass+"grid-column"),t.emitContainerClasses()),u&&!d?t.unsetGrabCursor():!u&&d&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(e=>{if(void 0===o[e])return;const n=i[e]&&i[e].enabled,r=o[e]&&o[e].enabled;n&&!r&&t[e].disable(),!n&&r&&t[e].enable()});const p=o.direction&&o.direction!==i.direction,f=i.loop&&(o.slidesPerView!==i.slidesPerView||p),m=i.loop;p&&n&&t.changeDirection(),Ze(t.params,o);const g=t.params.enabled,v=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),h&&!g?t.disable():!h&&g&&t.enable(),t.currentBreakpoint=s,t.emit("_beforeBreakpoint",o),n&&(f?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!m&&v?(t.loopCreate(e),t.updateSlides()):m&&!v&&t.loopDestroy()),t.emit("breakpoint",o)},getBreakpoint:function(t,e,n){if(void 0===e&&(e="window"),!t||"container"===e&&!n)return;let i=!1;const r=Ge(),a="window"===e?r.innerHeight:n.clientHeight,s=Object.keys(t).map(t=>{if("string"==typeof t&&0===t.indexOf("@")){const e=parseFloat(t.substr(1));return{value:a*e,point:t}}return{value:t,point:t}});s.sort((t,e)=>parseInt(t.value,10)-parseInt(e.value,10));for(let t=0;t<s.length;t+=1){const{point:a,value:o}=s[t];"window"===e?r.matchMedia(`(min-width: ${o}px)`).matches&&(i=a):o<=n.clientWidth&&(i=a)}return i||"max"}},checkOverflow:{checkOverflow:function(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:i}=n;if(i){const e=t.slides.length-1,n=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*i;t.isLocked=t.size>n}else t.isLocked=1===t.snapGrid.length;!0===n.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===n.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const{classNames:t,params:e,rtl:n,el:i,device:r}=this,a=function(t,e){const n=[];return t.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(i=>{t[i]&&n.push(e+i)}):"string"==typeof t&&n.push(e+t)}),n}(["initialized",e.direction,{"free-mode":this.params.freeMode&&e.freeMode.enabled},{autoheight:e.autoHeight},{rtl:n},{grid:e.grid&&e.grid.rows>1},{"grid-column":e.grid&&e.grid.rows>1&&"column"===e.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":e.cssMode},{centered:e.cssMode&&e.centeredSlides},{"watch-progress":e.watchSlidesProgress}],e.containerModifierClass);t.push(...a),i.classList.add(...t),this.emitContainerClasses()},removeClasses:function(){const{el:t,classNames:e}=this;t&&"string"!=typeof t&&(t.classList.remove(...e),this.emitContainerClasses())}}},Fn={};class Hn{constructor(){let t,e;for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?e=i[0]:[t,e]=i,e||(e={}),e=Ze({},e),t&&!e.el&&(e.el=t);const a=Ve();if(e.el&&"string"==typeof e.el&&a.querySelectorAll(e.el).length>1){const t=[];return a.querySelectorAll(e.el).forEach(n=>{const i=Ze({},e,{el:n});t.push(new Hn(i))}),t}const s=this;s.__swiper__=!0,s.support=mn(),s.device=gn({userAgent:e.userAgent}),s.browser=vn(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],e.modules&&Array.isArray(e.modules)&&s.modules.push(...e.modules);const o={};s.modules.forEach(t=>{t({params:e,swiper:s,extendParams:Nn(e,o),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const l=Ze({},Pn,o);return s.params=Ze({},l,Fn,e),s.originalParams=Ze({},s.params),s.passedParams=Ze({},e),s.params&&s.params.on&&Object.keys(s.params.on).forEach(t=>{s.on(t,s.params.on[t])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:e,params:n}=this,i=ln(nn(e,`.${n.slideClass}, swiper-slide`)[0]);return ln(t)-i}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===t)[0])}recalcSlides(){const{slidesEl:t,params:e}=this;this.slides=nn(t,`.${e.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,e){t=Math.min(Math.max(t,0),1);const n=this.minTranslate(),i=(this.maxTranslate()-n)*t+n;this.translateTo(i,void 0===e?0:e),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass));t.emit("_containerClasses",e.join(" "))}getSlideClasses(t){const e=this;return e.destroyed?"":t.className.split(" ").filter(t=>0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass)).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=[];t.slides.forEach(n=>{const i=t.getSlideClasses(n);e.push({slideEl:n,classNames:i}),t.emit("_slideClass",n,i)}),t.emit("_slideClasses",e)}slidesPerViewDynamic(t,e){void 0===t&&(t="current"),void 0===e&&(e=!1);const{params:n,slides:i,slidesGrid:r,slidesSizesGrid:a,size:s,activeIndex:o}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let t,e=i[o]?Math.ceil(i[o].swiperSlideSize):0;for(let n=o+1;n<i.length;n+=1)i[n]&&!t&&(e+=Math.ceil(i[n].swiperSlideSize),l+=1,e>s&&(t=!0));for(let n=o-1;n>=0;n-=1)i[n]&&!t&&(e+=i[n].swiperSlideSize,l+=1,e>s&&(t=!0))}else if("current"===t)for(let t=o+1;t<i.length;t+=1){(e?r[t]+a[t]-r[o]<s:r[t]-r[o]<s)&&(l+=1)}else for(let t=o-1;t>=0;t-=1){r[o]-r[t]<s&&(l+=1)}return l}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:n}=t;function i(){const e=t.rtlTranslate?-1*t.translate:t.translate,n=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}let r;if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&bn(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){const e=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;r=t.slideTo(e.length-1,0,!1,!0)}else r=t.slideTo(t.activeIndex,0,!1,!0);r||i()}n.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e){void 0===e&&(e=!0);const n=this,i=n.params.direction;return t||(t="horizontal"===i?"vertical":"horizontal"),t===i||"horizontal"!==t&&"vertical"!==t||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${t}`),n.emitContainerClasses(),n.params.direction=t,n.slides.forEach(e=>{"vertical"===t?e.style.width="":e.style.height=""}),n.emit("changeDirection"),e&&n.update()),n}changeLanguageDirection(t){const e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.el.classList.add(e.params.containerModifierClass+"rtl"),e.el.dir="rtl"):(e.el.classList.remove(e.params.containerModifierClass+"rtl"),e.el.dir="ltr"),e.update())}mount(t){const e=this;if(e.mounted)return!0;let n=t||e.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=e,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===e.params.swiperElementNodeName.toUpperCase()&&(e.isElement=!0);const i=()=>"."+(e.params.wrapperClass||"").trim().split(" ").join(".");let r=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(i())}return nn(n,i())[0]})();return!r&&e.params.createElements&&(r=an("div",e.params.wrapperClass),n.append(r),nn(n,"."+e.params.slideClass).forEach(t=>{r.append(t)})),Object.assign(e,{el:n,wrapperEl:r,slidesEl:e.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:e.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===on(n,"direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===on(n,"direction")),wrongRTL:"-webkit-box"===on(r,"display")}),!0}init(t){const e=this;if(e.initialized)return e;if(!1===e.mount(t))return e;e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.loop&&e.virtual&&e.params.virtual.enabled?e.slideTo(e.params.initialSlide+e.virtual.slidesBefore,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.params.loop&&e.loopCreate(),e.attachEvents();const n=[...e.el.querySelectorAll('[loading="lazy"]')];return e.isElement&&n.push(...e.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(t=>{t.complete?bn(e,t):t.addEventListener("load",t=>{bn(e,t.target)})}),wn(e),e.initialized=!0,wn(e),e.emit("init"),e.emit("afterInit"),e}destroy(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);const n=this,{params:i,el:r,wrapperEl:a,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),e&&(n.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),a&&a.removeAttribute("style"),s&&s.length&&s.forEach(t=>{t.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),t.removeAttribute("style"),t.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(t=>{n.off(t)}),!1!==t&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(t){const e=t;Object.keys(e).forEach(t=>{try{e[t]=null}catch(t){}try{delete e[t]}catch(t){}})}(n)),n.destroyed=!0),null}static extendDefaults(t){Ze(Fn,t)}static get extendedDefaults(){return Fn}static get defaults(){return Pn}static installModule(t){Hn.prototype.__modules__||(Hn.prototype.__modules__=[]);const e=Hn.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach(t=>Hn.installModule(t)),Hn):(Hn.installModule(t),Hn)}}function jn(t,e,n,i){return t.params.createElements&&Object.keys(i).forEac
vendor: 1,867 bytes, line 453
453h(r=>{if(!n[r]&&!0===n.auto){let a=nn(t.el,"."+i[r])[0];a||(a=an("div",i[r]),a.className=i[r],t.el.append(a)),n[r]=a,e[r]=a}}),n}function Bn(t){let{swiper:e,extendParams:n,on:i,emit:r}=t;function a(t){let n;return t&&"string"==typeof t&&e.isElement&&(n=e.el.querySelector(t)||e.hostEl.querySelector(t),n)?n:(t&&("string"==typeof t&&(n=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&n&&n.length>1&&1===e.el.querySelectorAll(t).length?n=e.el.querySelector(t):n&&1===n.length&&(n=n[0])),t&&!n?t:n)}function s(t,n){const i=e.params.navigation;(t=dn(t)).forEach(t=>{t&&(t.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=n),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](i.lockClass))})}function o(){const{nextEl:t,prevEl:n}=e.navigation;if(e.params.loop)return s(n,!1),void s(t,!1);s(n,e.isBeginning&&!e.params.rewind),s(t,e.isEnd&&!e.params.rewind)}function l(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function u(){const t=e.params.navigation;if(e.params.navigation=jn(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;let n=a(t.nextEl),i=a(t.prevEl);Object.assign(e.navigation,{nextEl:n,prevEl:i}),n=dn(n),i=dn(i);const r=(n,i)=>{n&&n.addEventListener("click","next"===i?c:l),!e.enabled&&n&&n.classList.add(...t.lockClass.split(" "))};n.forEach(t=>r(t,"next")),i.forEach(t=>r(t,"prev"))}function d(){let{nextEl:t,prevEl:n}=e.navigation;t=dn(t),n=dn(n);const i=(t,n)=>{t.removeEventListener("click","next"===n?c:l),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(t=>
453i(t,"next")),n.forEach(t=>i(t,"prev"))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null},i("init",()=>{!1===e.params.navigation.enabled?h():(u(),o())}),i("toEdge fromEdge lock unlock",()=>{o()}),i("destroy",()=>{d()}),i("enable disable",()=>{let{nextEl:t,prevEl:n}=e.navigation;t=dn(t),n=dn(n),e.enabled?o():[...t,...n].filter(t=>!!t).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),i("click",(t,n)=>{let{nextEl:i,prevEl:a}=e.navigation;i=dn(i),a=dn(a);const s=n.target;let o=a.includes(s)||i.includes(s);if(e.isElement&&!o){const t=n.path||n.composedPath&&n.composedPath();t&&(o=t.find(t=>i.includes(t)||a.includes(t)))}if(e.params.navigation.hideOnClick&&!o){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===s||e.pagination.el.contains(s)))return;let t;i.length?t=i[0].classList.contains(e.params.navigation.hiddenClass):a.length&&(t=a[0].classList.contains(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),[...i,...a].filter(t=>!!t).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});const h=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),o()},disable:h,update:o,init:u,destroy:d})}function zn(t){return void 0===t&&(t=""),"."+t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}function Un(t){let{swiper:e,extendParams:n,on:i,emit:r}=t;const a="swiper-pagination";let s;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:a+"-bullet",bulletActiveClass:a+"-bullet-active",modifierClass:a+"-",currentClass:a+"-current",totalClass:a+"-total",hiddenClass:a+"-hidden",progressbarFillClass:a+"-progressbar-fill",progressbarOppositeClass:a+"-progressbar-opposite",clickableClass:a+"-clickable",lockClass:a+"-lock",horizontalClass:a+"-horizontal",verticalClass:a+"-vertical",paginationDisabledClass:a+"-disabled"}}),e.pagination={el:null,bullets:[]};let o=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function c(t,n){const{bulletActiveClass:i}=e.params.pagination;t&&(t=t[("prev"===n?"previous":"next")+"ElementSibling"])&&(t.classList.add(`${i}-${n}`),(t=t[("prev"===n?"previous":"next")+"ElementSibling"])&&t.classList.add(`${i}-${n}-${n}`))}function u(t){const n=t.target.closest(zn(e.params.pagination.bulletClass));if(!n)return;t.preventDefault();const i=ln(n)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===i)return;const t=(r=e.realIndex,a=i,s=e.slides.length,(a%=s)==1+(r%=s)?"next":a===r-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i);var r,a,s}function d(){const t=e.rtl,n=e.params.pagination;if(l())return;let i,a,u=e.pagination.el;u=dn(u);const d=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,h=e.params.loop?Math.ceil(d/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(a=e.previousRealIndex||0,i=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(i=e.snapIndex,a=e.previousSnapIndex):(a=e.previousIndex||0,i=e.activeIndex||0),"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const r=e.pagination.bullets;let l,d,h;if(n.dynamicBullets&&(s=un(r[0],e.isHorizontal()?"width":"height",!0),u.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=s*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==a&&(o+=i-(a||0),o>n.dynamicMainBullets-1?o=n.dynamicMainBullets-1:o<0&&(o=0)),l=Math.max(i-o,0),d=l+(Math.min(r.length,n.dynamicMainBullets)-1),h=(d+l)/2),r.forEach(t=>{const e=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(t=>`${n.bulletActiveClass}${t}`)].map(t=>"string"==typeof t&&t.includes(" ")?t.split(" "):t).flat();t.classList.remove(...e)}),u.length>1)r.forEach(t=>{const r=ln(t);r===i?t.classList.add(...n.bulletActiveClass.split(" ")):e.isElement&&t.setAttribute("part","bullet"),n.dynamicBullets&&(r>=l&&r<=d&&t.classList.add(...(n.bulletActiveClass+"-main").split(" ")),r===l&&c(t,"prev"),r===d&&c(t,"next"))});else{const t=r[i];if(t&&t.classList.add(...n.bulletActiveClass.split(" ")),e.isElement&&r.forEach((t,e)=>{t.setAttribute("part",e===i?"bullet-active":"bullet")}),n.dynamicBullets){const t=r[l],e=r[d];for(let t=l;t<=d;t+=1)r[t]&&r[t].classList.add(...(n.bulletActiveClass+"-main").split(" "));c(t,"prev"),c(e,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),a=(s*i-s)/2-h*s,o=t?"right":"left";r.forEach(t=>{t.style[e.isHorizontal()?o:"top"]=a+"px"})}}u.forEach((t,a)=>{if("fraction"===n.type&&(t.querySelectorAll(zn(n.currentClass)).forEac
453h(t=>{t.textContent=n.formatFractionCurrent(i+1)}),t.querySelectorAll(zn(n.totalClass)).forEach(t=>{t.textContent=n.formatFractionTotal(h)})),"progressbar"===n.type){let r;r=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(i+1)/h;let s=1,o=1;"horizontal"===r?s=a:o=a,t.querySelectorAll(zn(n.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${o})`,t.style.transitionDuration=e.params.speed+"ms"})}"custom"===n.type&&n.renderCustom?(t.innerHTML=n.renderCustom(e,i+1,h),0===a&&r("paginationRender",t)):(0===a&&r("paginationRender",t),r("paginationUpdate",t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass)})}function h(){const t=e.params.pagination;if(l())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let i=e.pagination.el;i=dn(i);let a="";if("bullets"===t.type){let i=e.params.loop?Math.ceil(n/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&i>n&&(i=n);for(let n=0;n<i;n+=1)t.renderBullet?a+=t.renderBullet.call(e,n,t.bulletClass):a+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach(n=>{"custom"!==t.type&&(n.innerHTML=a||""),"bullets"===t.type&&e.pagination.bullets.push(...n.querySelectorAll(zn(t.bulletClass)))}),"custom"!==t.type&&r("paginationRender",i[0])}function p(){e.params.pagination=jn(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n;"string"==typeof t.el&&e.isElement&&(n=e.el.querySelector(t.el)),n||"string"!=typeof t.el||(n=[...document.querySelectorAll(t.el)]),n||(n=t.el),n&&0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(n)&&n.length>1&&(n=[...e.el.querySelectorAll(t.el)],n.length>1&&(n=n.filter(t=>cn(t,".swiper")[0]===e.el)[0])),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(e.pagination,{el:n}
453),n=dn(n),n.forEach(n=>{"bullets"===t.type&&t.clickable&&n.classList.add(...(t.clickableClass||"").split(" ")),n.classList.add(t.modifierClass+t.type),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.classList.add(`${t.modifierClass}${t.type}-dynamic`),o=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.classList.add(t.progressbarOppositeClass),t.clickable&&n.addEventListener("click",u),e.enabled||n.classList.add(t.lockClass)}))}function f(){const t=e.params.pagination;if(l())return;let n=e.pagination.el;n&&(n=dn(n),n.forEach(n=>{n.classList.remove(t.hiddenClass),n.classList.remove(t.modifierClass+t.type),n.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(n.classList.remove(...(t.clickableClass||"").split(" ")),n.removeEventListener("click",u))})),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const t=e.params.pagination;let{el:n}=e.pagination;
vendor: 5,966 bytes, line 453
453n=dn(n),n.forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),i("init",()=>{!1===e.params.pagination.enabled?m():(p(),h(),d())}),i("activeIndexChange",()=>{void 0===e.snapIndex&&d()}),i("snapIndexChange",()=>{d()}),i("snapGridLengthChange",()=>{h(),d()}),i("destroy",()=>{f()}),i("enable disable",()=>{let{el:t}=e.pagination;t&&(t=dn(t),t.forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),i("lock unlock",()=>{d()}),i("click",(t,n)=>{const i=n.target,a=dn(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&a&&a.length>0&&!i.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=a[0].classList.contains(e.params.pagination.hiddenClass);r(!0===t?"paginationShow":"paginationHide"),a.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=dn(t),t.forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass))),f()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=dn(t),t.forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass))),p(),h(),d()},disable:m,render:h,update:d,init:p,destroy:f})}function Vn(t){let{swiper:e,extendParams:n,on:i,emit:r}=t;const a=Ve();let s,o,l,c,u=!1,d=null,h=null;function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:n}=e,{dragEl:i,el:r}=t,a=e.params.scrollbar,s=e.params.loop?e.progressLoop:e.progress;let c=o,u=(l-o)*s;n?(u=-u,u>0?(c=o-u,u=0):-u+o>l&&(c=l+u)):u<0?(c=o+u,u=0):u+o>l&&(c=l-u),e.isHorizontal()?(i.style.transform=`translate3d(${u}px, 0, 0)`,i.style.width=c+"px"):(i.style.transform=`translate3d(0px, ${u}px, 0)`,i.style.height=c+"px"),a.hide&&(clearTimeout(d),r.style.opacity=1,d=setTimeout(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3))}function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{dragEl:n,el:i}=t;n.style.width="",n.style.height="",l=e.isHorizontal()?i.offsetWidth:i.offsetHeight,c=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),o="auto"===e.params.scrollbar.dragSize?l*c:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n.style.width=o+"px":n.style.height=o+"px",i.style.display=c>=1?"none":"",e.params.scrollbar.hide&&(i.style.opacity=0),e.params.watchOverflow&&e.enabled&&t.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function m(t){return e.isHorizontal()?t.clientX:t.clientY}function g(t){const{scrollbar:n,rtlTranslate:i}=e,{el:r}=n;let a;a=(m(t)-sn(r)[e.isHorizontal()?"left":"top"]-(null!==s?s:o/2))/(l-o),a=Math.max(Math.min(a,1),0),i&&(a=1-a);const c=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*a;e.updateProgress(c),e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}function v(t){const n=e.params.scrollbar,{scrollbar:i,wrapperEl:a}=e,{el:o,dragEl:l}=i;u=!0,s=t.target===l?m(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),a.style.transitionDuration="100ms",l.style.transitionDuration="100ms",g(t),clearTimeout(h),o.style.transitionDuration="0ms",n.hide&&(o.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",t)}function _(t){const{scrollbar:n,wrapperEl:i}=e,{el:a,dragEl:s}=n;u&&(t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1,g(t),i.style.transitionDuration="0ms",a.style.transitionDuration="0ms",s.style.transitionDuration="0ms",r("scrollbarDragMove",t))}function y(t){const n=e.params.scrollbar,{scrollbar:i,wrapperEl:a}=e,{el:s}=i;u&&(u=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),n.hide&&(clearTimeout(h),h=Xe(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",t),n.snapOnRelease&&e.slideToClosest())}function b(t){const{scrollbar:n,params:i}=e,r=n.el;if(!r)return;const s=r,o=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!s)return;const c="on"===t?"addEventListener":"removeEventListener";s[c]("pointerdown",v,o),a[c]("pointermove",_,o),a[c]("pointerup",y,l)}function x(){const{scrollbar:t,el:n}=e;e.params.scrollbar=jn(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const i=e.params.scrollbar;if(!i.el)return;let r,s;if("string"==typeof i.el&&e.isElement&&(r=e.el.querySelector(i.el)),r||"string"!=typeof i.el)r||(r=i.el);else if(r=a.querySelectorAll(i.el),!r.length)return;e.params.uniqueNavElements&&"string"==typeof i.el&&r.length>1&&1===n.querySelectorAll(i.el).length&&(r=n.querySelector(i.el)),r.length>0&&(r=r[0]),r.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass),r&&(s=r.querySelector(zn(e.params.scrollbar.dragClass)),s||(s=an("div",e.params.scrollbar.dragClass),r.append(s))),Object.assign(t,{el:r,dragEl:s}),i.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&b("on"),r&&r.classList[e.enabled?"remove":"add"](...qe(e.params.scrollbar.lockClass))}function w(){const t=e.params.scrollbar,n=e.scrollbar.el;n&&n.classList.remove(...qe(e.isHorizontal()?t.horizontalClass:t.verticalClass)),e.params.scrollbar.el&&e.scrollbar.el&&b("off")}n({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null},i("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const t=e.params.scrollbar;let{el:n}=e.scrollbar;
453n=dn(n),n.forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),i("init",()=>{!1===e.params.scrollbar.enabled?M():(x(),f(),p())}),i("update resize observerUpdate lock unlock changeDirection",()=>{f()}),i("setTranslate",()=>{p()}),i("setTransition",(t,n)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration=t+"ms")}(n)}),i("enable disable",()=>{const{el:t}=e.scrollbar;t&&t.classList[e.enabled?"remove":"add"](...qe(e.params.scrollbar.lockClass))}),i("destroy",()=>{w()});const M=()=>{e.el.classList.add(...qe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...qe(e.params.scrollbar.scrollbarDisabledClass)),w()};Object.assign(e.scrollbar,{enable:()=>{e.el.classList.remove(...qe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...qe(e.params.scrollbar.scrollbarDisabledClass)),x(),f(),p()},disable:M,updateSize:f,setTranslate:p,init:x,destroy:w})}function Wn(t){let{swiper:e,extendParams:n,on:i}=t;n({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,a=!1;function s(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const n=t.clickedIndex,i=t.clickedSlide;if(i&&i.classList.contains(e.params.thumbs.slideThumbActiveClass))return;if(null==n)return;let r;r=t.params.loop?parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10):n,e.params.loop?e.slideToLoop(r):e.slideTo(r)}function o(){const{thumbs:t}=e.params;if(r)return!1;r=!0;const n=e.constructor;if(t.swiper instanceof n)e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(Je(t.swiper)){const i=Object.assign({},t.swiper);Object.assign(i,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new n(i),a=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",s),!0}function l(t){const n=e.thumbs.swiper;if(!n||n.destroyed)return;const i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;let r=1;const a=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(r=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),n.slides.forEach(t=>t.classList.remove(a)),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let t=0;t<r;t+=1)nn(n.slidesEl,`[data-swiper-slide-index="${e.realIndex+t}"]`).forEach(t=>{t.classList.add(a)});else for(let t=0;t<r;t+=1)n.slides[e.realIndex+t]&&n.slides[e.realIndex+t].classList.add(a);const s=e.params.thumbs.autoScrollOffset,o=s&&!n.params.loop;if(e.realIndex!==n.realIndex||o){const r=n.activeIndex;let a,l;if(n.params.loop){const t=n.slides.filter(t=>t.getAttribute("data-swiper-slide-index")===""+e.realIndex)[0];a=n.slides.indexOf(t),l=e.activeIndex>e.previousIndex?"next":"prev"}else a=e.realIndex,l=a>e.previousIndex?"next":"prev";o&&(a+="next"===l?s:-1*s),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(a)<0&&(n.params.centeredSlides?a=a>r?a-Math.floor(i/2)+1:a+Math.floor(i/2)-1:a>r&&n.params.slidesPerGroup,n.slideTo(a,t?0:void 0))}}e.thumbs={swiper:null},i("beforeInit",()=>{const{thumbs:t}=e.params;if(t&&t.swiper)if("string"==typeof t.swiper||t.swiper instanceof HTMLElement){const n=Ve(),i=()=>{const i="string"==typeof t.swiper?n.querySelector(t.swiper):t.swiper;if(i&&i.swiper)t.swiper=i.swiper,o(),l(!0);else if(i){const n=e.params.eventsPrefix+"init",r=a=>{t.swiper=a.detail[0],i.removeEventListener(n,r),o(),l(!0),t.swiper.update(),e.update()};i.addEventListener(n,r)}return i},r=()=>{if(e.destroyed)return;i()||requestAnimationFrame(r)};requestAnimationFrame(r)}else o(),l(!0)}),i("slideChange update resize observerUpdate",()=>{l()}),i("setTransition",(t,n)=>{const i=e.thumbs.swiper;i&&!i.destroyed&&i.setTransition(n)}),i("beforeDestroy",()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&a&&t.destroy()}),Object.assign(e.thumbs,{init:o,update:l})}
453Object.keys(Yn).forEach(t=>{Object.keys(Yn[t]).forEach(e=>{Hn.prototype[e]=Yn[t][e]})}),Hn.use([function(t){let{swiper:e,on:n,emit:i}=t;const r=Ge();let a=null,s=null;const o=()=>{e&&!e.destroyed&&e.initialized&&(i("beforeResize"),i("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&i("orientationchange")};n("init",()=>{e.params.resizeObserver&&void 0!==r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(a=new ResizeObserver(t=>{s=r.requestAnimationFrame(()=>{const{width:n,height:i}=e;let r=n,a=i;t.forEach(t=>{let{contentBoxSize:n,contentRect:i,target:s}=t;s&&s!==e.el||(r=i?i.width:(n[0]||n).inlineSize,a=i?i.height:(n[0]||n).blockSize)}),r===n&&a===i||o()})}),a.observe(e.el)):(r.addEventListener("resize",o),r.addEventListener("orientationchange",l))}),n("destroy",()=>{s&&r.cancelAnimationFrame(s),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",l)})},function(t){let{swiper:e,extendParams:n,on:i,emit:r}=t;const a=[],s=Ge(),o=function(t,n){void 0===n&&(n={});const i=new(s.MutationObserver||s.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void r("observerUpdate",t[0]);const n=function(){r("observerUpdate",t[0])};s.requestAnimationFrame?s.requestAnimationFrame(n):s.setTimeout(n,0)});i.observe(t,{attributes:void 0===n.attributes||n.attributes,childList:e.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),a.push(i)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=cn(e.hostEl);for(let e=0;e<t.length;e+=1)o(t[e])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}}),i("destroy",()=>{a.forEach(t=>{t.disconnect()}),a.splice(0,a.length)})}]);var Gn=function(){function t(){var e=this;u(this,t),this.elements=Re(".product-gallery",(function(n){if(n.querySelectorAll(t.THUMBS_SELECTOR+" .swiper-slide").length>1&&(e.productThumbs=e.initThumbs(t.THUMBS_SELECTOR)),n.querySelectorAll(t.GALLERY_SELECTOR+" .swiper-slide").length>1)return n.querySelectorAll("[data-swiper-button]").forEach((function(t){return t.classList.remove("is-hidden")})),e.initGallery(t.GALLERY_SELECTOR)}))}return f(t,[{key:"initThumbs",value:function(t){return new Hn(t,{modules:[Vn],slidesPerView:3.5,watchSlidesVisibility:!0,watchSlidesProgress:!0,centerInsufficientSlides:!0,spaceBetween:10,scrollbar:{el:".swiper-scrollbar",hide:!0}})}},{key:"initGallery",value:function(t){var e=this,n=e.productThumbs.params.slideFullyVisibleClass;return new Hn(t,{modules:[Wn,Bn],speed:500,grabCursor:!0,touchEventsTarget:"container",navigation:{nextEl:'[data-swiper-button="next"]',prevEl:'[data-swiper-button="prev"]'},thumbs:{swiper:e.productThumbs},on:{navigationNext:function(){var t=e.productThumbs.slides[this.activeIndex+1];t&&!t.classList.contains(n)&&e.productThumbs.slideNext()},navigationPrev:function(){var t=e.productThumbs.slides[this.activeIndex-1];t&&!t.classList.contains(n)&&e.productThumbs.slidePrev()}}})}}]),t}();Object(q.a)(Gn,"THUMBS_SELECTOR",".product-gallery__thumbs .swiper"),Object(q.a)(Gn,"GALLERY_SELECTOR",".product-gallery__slider .swiper");var qn=function(){function t(){var e=this;u(this,t),this.options={bgOpacity:.7,showHideOpacity:!0,shareEl:!1,fullscreenEl:!1,getThumbBoundsFn:function(){var t=window.pageYOffset||document.documentElement.scrollTop,n=e.target?e.target.getBoundingClientRect():{};return{x:n.left,y:n.top+t,w:n.width}}},this.galleries={},this.target=null,this.singleImages=Re("[data-zoom-single]",(function(t){t.onclick=function(n){e.zoomSingle(n,e.getImageConfig(t))}})),this.galleryImages=Re("[data-zoom-gallery]",(function(t){var n=t.getAttribute("data-zoom-gallery");e.galleries[n]||(e.galleries[n]={count:0,items:[]}),t.setAttribute("data-zoom-index",e.galleries[n].count),e.galleries[n].count++,e.galleries[n].items.push(e.getImageConfig(t)),t.onclick=function(t){e.zoomGallery(t,n)}})),!document.querySelector(".pswp")&&(this.singleImages.length>0||this.galleryImages.length>0)&&this.createTemplate()}return f(t,[{key:"getImageConfig",value:function(t){var e=t.querySelector("img"),n=t.getAttribute("data-size").split("x"),i=t.getAttribute("data-size-small")&&t.getAttribute("data-size-small").split("x");return i?{msrc:e.currentSrc,title:e.getAttribute("title"),desktop:{src:t.getAttribute("data-large"),w:n[0],h:n[1]},mobile:{src:t.getAttribute("data-small"),w:i[0],h:i[1]}}:{msrc:e.currentSrc,src:t.getAttribute("data-large"),w:n[0],h:n[1],title:e.getAttribute("title")}}},{key:"zoomSingle",value:function(t,e){this.target=t.currentTarget;var n=new Fe(this.template,He,[e],this.options);if(e.mobile){var i,r,a=!1,s=!0;n.listen("beforeResize",(function(){i=n.viewportSize.x*window.devicePixelRatio,a&&i<je.a.md?(a=!1,r=!0):!a&&i>=je.a.md&&(a=!0,r=!0),r&&!s&&n.invalidateCurrItems(),s&&(s=!1),r=!1})),n.listen("gettingData",(function(t,e){a?(e.src=e.desktop.src,e.w=e.desktop.w,e.h=e.desktop.h):(e.src=e.mobile.src,e.w=e.mobile.w,e.h=e.mobile.h)}))}n.init()}},{key:"zoomGallery",value:function(t,e){this.target=t.currentTarget;var n=this.target.querySelector("img"),i=+this.target.getAttribute("data-zoom-index");this.template||this.createTemplate(),this.galleries[e].items[i].msrc=n.currentSrc;var r=new Fe(this.template,He,this.galleries[e].items,Ye()({index:i},this.options));r.init(),r.listen("afterChange",(function(){var t=r.getCurrentIndex(),e=document.querySelector(Gn.GALLERY_SELECTOR).swiper;e&&e.slideTo(t)}))}},{key:"createTemplate",value:function(){this.template=document.createElement("DIV"),this.template.setAttribute("class","pswp"),this.template.setAttribute("tabindex","-1"),this.template.setAttribute("role","dialog"),this.template.setAttribute("aria-hidden","true"),this.template.innerHTML='\n      <div class="pswp__bg"></div>\n      <div class="pswp__scroll-wrap">\n        <div class="pswp__container">\n          <div class="pswp__item"></div>\n          <div class="pswp__item"></div>\n          <div class="pswp__item"></div>\n        </div>\n        <div class="pswp__ui pswp__ui--hidden">\n          <div class="pswp__top-bar">\n            <div class="pswp__counter"></div>\n            <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>\n            <button class="pswp__button pswp__button--share" title="Share"></button>\n            <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>\n            <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>\n            <div class="pswp__preloader">\n              <div class="pswp__preloader__icn">\n                <div class="pswp__preloader__cut">\n                  <div class="pswp__preloader__donut"></div>\n                </div>\n              </div>\n            </div>\n          </div>\n          <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n            <div class="pswp__share-tooltip"></div>\n          </div>\n          <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button>\n          <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button>\n          <div class="pswp__caption">\n            <div class="pswp__caption__center"></div>\n          </div>\n        </div>\n      </div>\n    ',document.body.appendChild(this.template)}}]),t}(),Xn=f((function t(){u(this,t),new Pe,new qn})),$n={ROOT:"mdc-form-field"},Kn={LABEL_SELECTOR:".mdc-form-field > label"},Jn=function(t){function e(n){var i=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return i.click=function(){i.handleClick()},i}
453return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return $n},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Kn},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},e.prototype.handleClick=function(){var t=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){t.adapter.deactivateInputRipple()}))},e}(Ct.a),Qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.labelEl=function(){var t=Jn.strings.LABEL_SELECTOR;return this.root.querySelector(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new Jn({activateInputRipple:function(){t.input&&t.input.ripple&&t.input.ripple.activate()},deactivateInputRipple:function(){t.input&&t.input.ripple&&t.input.ripple.deactivate()},deregisterInteractionHandler:function(e,n){var i=t.labelEl();i&&i.removeEventListener(e,n)},registerInteractionHandler:function(e,n){var i=t.labelEl();i&&i.addEventListener(e,n)}})},e}(At.a),Zn=n(230),ti={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",BACKGROUND:"mdc-checkbox__background",CHECKED:"mdc-checkbox--checked",CHECKMARK:"mdc-checkbox__checkmark",CHECKMARK_PATH:"mdc-checkbox__checkmark-path",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",MIXEDMARK:"mdc-checkbox__mixedmark",NATIVE_CONTROL:"mdc-checkbox__native-control",ROOT:"mdc-checkbox",SELECTED:"mdc-checkbox--selected",UPGRADED:"mdc-checkbox--upgraded"},ei={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",DATA_INDETERMINATE_ATTR:"data-indeterminate",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},ni={ANIM_END_LATCH_MS:250},ii=function(t){function e(n){var i=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return i.currentCheckState=ei.TRANSITION_STATE_INIT,i.currentAnimationClass="",i.animEndLatchTimer=0,i.enableAnimationEndHandler=!1,i}return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return ti},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return ei},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return ni},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.currentCheckState=this.determineCheckState(),this.updateAriaChecked(),this.adapter.addClass(ti.UPGRADED)},e.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer)},e.prototype.setDisabled=function(t){this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(ti.DISABLED):this.adapter.removeClass(ti.DISABLED)},e.prototype.handleAnimationEnd=function(){var t=this;this.enableAnimationEndHandler&&(clearTimeout(this.animEndLatchTimer),this.animEndLatchTimer=setTimeout((function(){t.adapter.removeClass(t.currentAnimationClass),t.enableAnimationEndHandler=!1}),ni.ANIM_END_LATCH_MS))},e.prototype.handleChange=function(){this.transitionCheckState()},e.prototype.transitionCheckState=function(){if(this.adapter.hasNativeControl()){var t=this.currentCheckState,e=this.determineCheckState();if(t!==e){this.updateAriaChecked();var n=ti.SELECTED;e===ei.TRANSITION_STATE_UNCHECKED?this.adapter.removeClass(n):this.adapter.addClass(n),this.currentAnimationClass.length>0&&(clearTimeout(this.animEndLatchTimer),this.adapter.forceLayout(),this.adapter.removeClass(this.currentAnimationClass)),this.currentAnimationClass=this.getTransitionAnimationClass(t,e),this.currentCheckState=e,this.adapter.isAttachedToDOM()&&this.currentAnimationClass.length>0&&(this.adapter.addClass(this.currentAnimationClass),this.enableAnimationEndHandler=!0)}}},e.prototype.determineCheckState=function(){var t=ei.TRANSITION_STATE_INDETERMINATE,e=ei.TRANSITION_STATE_CHECKED,n=ei.TRANSITION_STATE_UNCHECKED;return this.adapter.isIndeterminate()?t:this.adapter.isChecked()?e:n},e.prototype.getTransitionAnimationClass=function(t,n){var i=ei.TRANSITION_STATE_INIT,r=ei.TRANSITION_STATE_CHECKED,a=ei.TRANSITION_STATE_UNCHECKED,s=e.cssClasse
453s,o=s.ANIM_UNCHECKED_CHECKED,l=s.ANIM_UNCHECKED_INDETERMINATE,c=s.ANIM_CHECKED_UNCHECKED,u=s.ANIM_CHECKED_INDETERMINATE,d=s.ANIM_INDETERMINATE_CHECKED,h=s.ANIM_INDETERMINATE_UNCHECKED;switch(t){case i:return n===a?"":n===r?d:h;case a:return n===r?o:l;case r:return n===a?c:u;default:return n===r?d:h}},e.prototype.updateAriaChecked=function(){this.adapter.isIndeterminate()?this.adapter.setNativeControlAttr(ei.ARIA_CHECKED_ATTR,ei.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter.removeNativeControlAttr(ei.ARIA_CHECKED_ATTR)},e}(Ct.a),ri=["checked","indeterminate"],ai=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rippleSurface=e.createRipple(),e}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this.getNativeControl().checked},set:function(t){this.getNativeControl().checked=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this.getNativeControl().indeterminate},set:function(t){this.getNativeControl().indeterminate=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.getNativeControl().disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.getNativeControl().value},set:function(t){this.getNativeControl().value=t},enumerable:!1,configurable:!0}),e.prototype.initialize=function(){var t=ei.DATA_INDETERMINATE_ATTR;this.getNativeControl().indeterminate="true"===this.getNativeControl().getAttribute(t),this.getNativeControl().removeAttribute(t)},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleChange=function(){t.foundation.handleChange()},this.handleAnimationEnd=function(){t.foundation.handleAnimationEnd()},this.getNativeControl().addEventListener("change",this.handleChange),this.listen(Object(Zn.a)(window,"animationend"),this.handleAnimationEnd),this.installPropertyChangeHooks()},e.prototype.destroy=function(){this.rippleSurface.destroy(),this.getNativeControl().removeEventListener("change",this.handleChange),this.unlisten(Object(Zn.a)(window,"animationend"),this.handleAnimationEnd),this.uninstallPropertyChangeHooks(),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this;return new ii({addClass:function(e){return t.root.classList.add(e)},forceLayout:function(){return t.root.offsetWidth},hasNativeControl:function(){return!!t.getNativeControl()},isAttachedToDOM:function(){return Boolean(t.root.parentNode)},isChecked:function(){return t.checked},isIndeterminate:function(){return t.indeterminate},removeClass:function(e){t.root.classList.remove(e)},removeNativeControlAttr:function(e){t.getNativeControl().removeAttribute(e)},setNativeControlAttr:function(e,n){t.getNativeControl().setAttribute(e,n)},setNativeControlDisabled:function(e){t.getNativeControl().disabled=e}})},e.prototype.createRipple=function(){var t=this,e=Object(Tt.a)(Object(Tt.a)({},Ft.a.createAdapter(this)),{deregisterInteractionHandler:function(e,n){t.getNativeControl().removeEventListener(e,n,Object(Lt.a)())},isSurfaceActive:function(){return Object(Et.c)(t.getNativeControl(),":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(e,n){t.getNativeControl().addEventListener(e,n,Object(Lt.a)())}});return new Ft.a(this.root,new Ht.a(e))},e.prototype.installPropertyChangeHooks=function(){var t,e,n=this,i=this.getNativeControl(),r=Object.getPrototypeOf(i),a=function(t){var e=Object.getOwnPropertyDescriptor(r,t);if(!si(e))return{value:void 0};var a=e.get,s={configurable:e.configurable,enumerable:e.enumerable,get:a,set:function(t){e.set.call(i,t),n.foundation.handleChange()}};Object.defineProperty(i,t,s)};try{for(var s=Object(Tt.e)(ri),o=s.next();!o.done;o=s.next()){var l=a(o.value);if("object"==typeof l)return l.value}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}},e.prototype.uninstallPropertyChangeHooks=function(){var t,e,n=this.getNativeControl(),i=Object.getPrototypeOf(n);try{for(var r=Object(Tt.e)(ri),a=r.next();!a.done;a=r.next()){var s=a.value,o=Object.getOwnPropertyDescriptor(i,s);if(!si(o))return;Object.defineProperty(n,s,o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e.prototype.getNativeControl=function(){var t=ei.NATIVE_CONTROL_SELECTOR,e=this.root.querySelector(t);if(!e)throw new Error("Checkbox component requires a "+t+" element");return e},e}(At.a);function si(t){return!!t&&"function"==typeof t.set}var oi,li=f((function t(){var e=this;u(this,t),this.uid=(new Date).valueOf(),this.elements=Re(".mdc-checkbox",(function(t){var n,i="mdc-checkbox-".concat(e.uid);e.uid++,t.querySelector("input").setAttribute("id",i),t.nextElementSibling.setAttribute("for",i);var r=new ai(t),a=t.parentElement;Z()(n=a.className).call(n,"mdc-form-field")&&(new Qn(a).input=r)}))}));
454/**
455 * @license
456 * Copyright 2020 Google Inc.
457 *
458 * Permission is hereby granted, free of charge, to any person obtaining a copy
459 * of this software and associated documentation files (the "Software"), to deal
460 * in the Software without restriction, including without limitation the rights
461 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
462 * copies of the Software, and to permit persons to whom the Software is
463 * furnished to do so, subject to the following conditions:
464 *
465 * The above copyright notice and this permission notice shall be included in
466 * all copies or substantial portions of the Software.
467 *
468 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
469 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
470 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
471 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
472 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
473 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
474 * THE SOFTWARE.
475 */!function(t){t.POLITE="polite",t.ASSERTIVE="assertive"}(oi||(oi={}));var ci=function(){function t(){this.liveRegions=new Map}return t.getInstance=function(){return t.instance||(t.instance=new t),t.instance},t.prototype.say=function(t,e){var n,i,r=null!==(n=null==e?void 0:e.priority)&&void 0!==n?n:oi.POLITE,a=null!==(i=null==e?void 0:e.ownerDocument)&&void 0!==i?i:document,s=this.getLiveRegion(r,a);function o(){s.textContent="",a.removeEventListener("click",o)}s.textContent="",setTimeout((function(){s.textContent=t,a.addEventListener("click",o)}),1)},t.prototype.getLiveRegion=function(t,e){var n=this.liveRegions.get(e);n||(n=new Map,this.liveRegions.set(e,n));var i=n.get(t);if(i&&e.body.contains(i))return i;var r=this.createLiveRegion(t,e);return n.set(t,r),r},t.prototype.createLiveRegion=function(t,e){var n=e.createElement("div");return n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",n.style.height="1px",n.style.overflow="hidden",n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live",t),n.setAttribute("data-mdc-dom-announce","true"),e.body.appendChild(n),n},t}();
476/**
477 * @license
478 * Copyright 2020 Google Inc.
479 *
480 * Permission is hereby granted, free of charge, to any person obtaining a copy
481 * of this software and associated documentation files (the "Software"), to deal
482 * in the Software without restriction, including without limitation the rights
483 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
484 * copies of the Software, and to permit persons to whom the Software is
485 * furnished to do so, subject to the following conditions:
486 *
487 * The above copyright notice and this permission notice shall be included in
488 * all copies or substantial portions of the Software.
489 *
490 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
491 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
492 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
493 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
494 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
495 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
496 * THE SOFTWARE.
497 */var ui,di,hi,pi,fi,mi;
498/**
499 * @license
500 * Copyright 2020 Google Inc.
501 *
502 * Permission is hereby granted, free of charge, to any person obtaining a copy
503 * of this software and associated documentation files (the "Software"), to deal
504 * in the Software without restriction, including without limitation the rights
505 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
506 * copies of the Software, and to permit persons to whom the Software is
507 * furnished to do so, subject to the following conditions:
508 *
509 * The above copyright notice and this permission notice shall be included in
510 * all copies or substantial portions of the Software.
511 *
512 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
513 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
514 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
515 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
516 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
517 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
518 * THE SOFTWARE.
519 */!function(t){t.PRIMARY_ACTION="mdc-evolution-chip__action--primary",t.TRAILING_ACTION="mdc-evolution-chip__action--trailing",t.CHIP_ROOT="mdc-evolution-chip"}(ui||(ui={})),function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.CLICK=1]="CLICK",t[t.BACKSPACE_KEY=2]="BACKSPACE_KEY",t[t.DELET
519E_KEY=3]="DELETE_KEY",t[t.SPACEBAR_KEY=4]="SPACEBAR_KEY",t[t.ENTER_KEY=5]="ENTER_KEY"}(di||(di={})),function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.PRIMARY=1]="PRIMARY",t[t.TRAILING=2]="TRAILING"}(hi||(hi={})),function(t){t.INTERACTION="MDCChipAction:interaction",t.NAVIGATION="MDCChipAction:navigation"}(pi||(pi={})),function(t){t[t.FOCUSABLE=0]="FOCUSABLE",t[t.FOCUSABLE_AND_FOCUSED=1]="FOCUSABLE_AND_FOCUSED",t[t.NOT_FOCUSABLE=2]="NOT_FOCUSABLE"}(fi||(fi={})),function(t){t.ARIA_DISABLED="aria-disabled",t.ARIA_HIDDEN="aria-hidden",t.ARIA_SELECTED="aria-selected",t.DATA_DELETABLE="data-mdc-deletable",t.DISABLED="disabled",t.ROLE="role",t.TAB_INDEX="tabindex"}(mi||(mi={}));var gi=n(15),vi=new Map;
520/**
521 * @license
522 * Copyright 2020 Google Inc.
523 *
524 * Permission is hereby granted, free of charge, to any person obtaining a copy
525 * of this software and associated documentation files (the "Software"), to deal
526 * in the Software without restriction, including without limitation the rights
527 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
528 * copies of the Software, and to permit persons to whom the Software is
529 * furnished to do so, subject to the following conditions:
530 *
531 * The above copyright notice and this permission notice shall be included in
532 * all copies or substantial portions of the Software.
533 *
534 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
535 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
536 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
537 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
538 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
539 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
540 * THE SOFTWARE.
541 */vi.set(gi.a.SPACEBAR,di.SPACEBAR_KEY),vi.set(gi.a.ENTER,di.ENTER_KEY),vi.set(gi.a.DELETE,di.DELETE_KEY),vi.set(gi.a.BACKSPACE,di.BACKSPACE_KEY);var _i,yi,bi,xi,wi,Mi,Si=function(t){function e(n){return t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this}return Object(Tt.b)(e,t),Object.defineProperty(e,"defaultAdapter",{get:function(){return{emitEvent:function(){},focus:function(){},getAttribute:function(){return null},getElementID:function(){return""},removeAttribute:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),e.prototype.handleClick=function(){this.isDisabled()||this.emitInteraction(di.CLICK)},e.prototype.handleKeydown=function(t){var e=Object(gi.c)(t);return this.shouldNotifyInteractionFromKey(e)?(t.preventDefault(),void this.emitInteraction(this.getTriggerFromKey(e))):Object(gi.b)(t)?(t.preventDefault(),void this.emitNavigation(e)):void 0},e.prototype.setDisabled=function(t){this.isSelectable()?this.adapter.setAttribute(mi.ARIA_DISABLED,""+t):t?this.adapter.setAttribute(mi.DISABLED,"true"):this.adapter.removeAttribute(mi.DISABLED)},e.prototype.isDisabled=function(){return"true"===this.adapter.getAttribute(mi.ARIA_DISABLED)||null!==this.adapter.getAttribute(mi.DISABLED)},e.prototype.setFocus=function(t){if(this.isFocusable())return t===fi.FOCUSABLE_AND_FOCUSED?(this.adapter.setAttribute(mi.TAB_INDEX,"0"),void this.adapter.focus()):void(t!==fi.FOCUSABLE?t!==fi.NOT_FOCUSABLE||this.adapter.setAttribute(mi.TAB_INDEX,"-1"):this.adapter.setAttribute(mi.TAB_INDEX,"0"))},e.prototype.isFocusable=function(){return!this.isDisabled()&&"true"!==this.adapter.getAttribute(mi.ARIA_HIDDEN)},e.prototype.setSelected=function(t){this.isSelectable()&&this.adapter.setAttribute(mi.ARIA_SELECTED,""+t)},e.prototype.isSelected=function(){return"true"===this.adapter.getAttribute(mi.ARIA_SELECTED)},e.prototype.emitInteraction=function(t){this.adapter.emitEvent(pi.INTERACTION,{actionID:this.adapter.getElementID(),source:this.actionType(),trigger:t})},e.prototype.emitNavigation=function(t){this.adapter.emitEvent(pi.NAVIGATION,{source:this.actionType(),key:t})},e.prototype.shouldNotifyInteractionFromKey=function(t){var e=t===gi.a.ENTER||t===gi.a.SPACEBAR,n=t===gi.a.BACKSPACE||t===gi.a.DELETE;return!!e||!(!n||!this.shouldEmitInteractionOnRemoveKey())},e.prototype.getTriggerFromKey=function(t){var e=vi.get(t);return e||di.UNSPECIFIED},e}(Ct.a),Ti=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.prototype.isSelectable=function(){return"option"===this.adapter.getAttribute(mi.ROLE)},e.prototype.actionType=function(){return hi.PRIMARY},e.prototype.shouldEmitInteractionOnRemoveKey=function(){return"true"===this.adapter.getAttribute(mi.DATA_DELETABLE)},e}(Si),Ai=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.prototype.isSelectable=function(){return!1},e.prototype.actionType=function(){return hi.TRAILING},e.prototype.shouldEmitInteractionOnRemoveKey=function(){return!0},e}(Si),Li=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rootHTML=e.root,e}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.rippleInstance}
541,enumerable:!1,configurable:!0}),e.prototype.initialize=function(t){var e=this;void 0===t&&(t=function(t,e){return new Ft.a(t,e)});var n=Object(Tt.a)(Object(Tt.a)({},Ft.a.createAdapter(this)),{computeBoundingRect:function(){return e.computeRippleClientRect()}});this.rippleInstance=t(this.root,new Ht.a(n))},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.handleKeydown=function(e){t.foundation.handleKeydown(e)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},e.prototype.destroy=function(){this.ripple.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this,e={emitEvent:function(e,n){t.emit(e,n,!0)},focus:function(){t.rootHTML.focus()},getAttribute:function(e){return t.root.getAttribute(e)},getElementID:function(){return t.root.id},removeAttribute:function(e){t.root.removeAttribute(e)},setAttribute:function(e,n){t.root.setAttribute(e,n)}};return this.root.classList.contains(ui.TRAILING_ACTION)?new Ai(e):new Ti(e)},e.prototype.setDisabled=function(t){this.foundation.setDisabled(t)},e.prototype.isDisabled=function(){return this.foundation.isDisabled()},e.prototype.setFocus=function(t){this.foundation.setFocus(t)},e.prototype.isFocusable=function(){return this.foundation.isFocusable()},e.prototype.setSelected=function(t){this.foundation.setSelected(t)},e.prototype.isSelected=function(){return this.foundation.isSelected()},e.prototype.isSelectable=function(){return this.foundation.isSelectable()},e.prototype.actionType=function(){return this.foundation.actionType()},e.prototype.computeRippleClientRect=function(){if(this.root.classList.contains(ui.PRIMARY_ACTION)){var t=Object(Et.a)(this.root,"."+ui.CHIP_ROOT);if(!t)return this.root.getBoundingClientRect();var e=window.getComputedStyle(t).getPropertyValue("--mdc-chip-graphic-selected-width");return function(t,e){var n=Number(e.replace("px",""));return Number.isNaN(n)?t:{width:t.width+n,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left}}(t.getBoundingClientRect(),e)}return this.root.getBoundingClientRect()},e}(At.a),Ei=function(){function t(){this.rafIDs=new Map}return t.prototype.request=function(t,e){var n=this;this.cancel(t);var i=requestAnimationFrame((function(i){n.rafIDs.delete(t),e(i)}));this.rafIDs.set(t,i)},t.prototype.cancel=function(t){var e=this.rafIDs.get(t);e&&(cancelAnimationFrame(e),this.rafIDs.delete(t))},t.prototype.cancelAll=function(){var t=this;this.rafIDs.forEach((function(e,n){t.cancel(n)}))},t.prototype.getQueue=function(){var t=[];return this.rafIDs.forEach((function(e,n){t.push(n)})),t},t}();!function(t){t.SELECTING="mdc-evolution-chip--selecting",t.DESELECTING="mdc-evolution-chip--deselecting",t.SELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--selecting-with-primary-icon",t.DESELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--deselecting-with-primary-icon",t.DISABLED="mdc-evolution-chip--disabled",t.ENTER="mdc-evolution-chip--enter",t.EXIT="mdc-evolution-chip--exit",t.
541SELECTED="mdc-evolution-chip--selected",t.HIDDEN="mdc-evolution-chip--hidden",t.WITH_PRIMARY_ICON="mdc-evolution-chip--with-primary-icon"}(_i||(_i={})),function(t){t.INTERACTION="MDCChip:interaction",t.NAVIGATION="MDCChip:navigation",t.ANIMATION="MDCChip:animation"}(yi||(yi={})),function(t){t.DATA_REMOVED_ANNOUNCEMENT="data-mdc-removed-announcement",t.DATA_ADDED_ANNOUNCEMENT="data-mdc-added-announcement"}(bi||(bi={})),function(t){t.ENTER="mdc-evolution-chip-enter",t.EXIT="mdc-evolution-chip-exit"}(xi||(xi={})),function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT"}(wi||(wi={})),function(t){t.SELECTION="selection",t.EXIT="exit"}(Mi||(Mi={}));var Ci,Ii,Di,ki,Oi=function(t){function e(n){var i=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return i.animFrame=new Ei,i}return Object(Tt.b)(e,t),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},emitEvent:function(){},getActions:function(){return[]},getAttribute:function(){return null},getElementID:function(){return""},getOffsetWidth:function(){return 0},hasClass:function(){return!1},isActionDisabled:function(){return!1},isActionFocusable:function(){return!1},isActionSelectable:function(){return!1},isActionSelected:function(){return!1},isRTL:function(){return!1},removeClass:function(){},setActionDisabled:function(){},setActionFocus:function(){},setActionSelected:function(){},setStyleProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.animFrame.cancelAll()},e.prototype.getElementID=function(){return this.adapter.getElementID()},e.prototype.setDisabled=function(t){var e,n,i=this.getActions();try{for(var r=Object(Tt.e)(i),a=r.next();!a.done;a=r.next()){var s=a.value;this.adapter.setActionDisabled(s,t)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}t?this.adapter.addClass(_i.DISABLED):this.adapter.removeClass(_i.DISABLED)},e.prototype.isDisabled=function(){var t,e,n=this.getActions();try{for(var i=Object(Tt.e)(n),r=i.next();!r.done;r=i.next()){var a=r.value;if(this.adapter.isActionDisabled(a))return!0}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return!1},e.prototype.getActions=function(){return this.adapter.getActions()},e.prototype.isActionFocusable=function(t){return this.adapter.isActionFocusable(t)},e.prototype.isActionSelectable=function(t){return this.adapter.isActionSelectable(t)},e.prototype.isActionSelected=function(t){return this.adapter.isActionSelected(t)},e.prototype.setActionFocus=function(t,e){this.adapter.setActionFocus(t,e)},e.prototype.setActionSelected=function(t,e){this.adapter.setActionSelected(t,e),this.animateSelection(e)},e.prototype.startAnimation=function(t){t!==xi.ENTER?t!==xi.EXIT||this.adapter.addClass(_i.EXIT):this.adapter.addClass(_i.ENTER)},e.prototype.handleAnimationEnd=function(t){var e=this,n=t.animationName;if(n===xi.ENTER)return this.adapter.removeClass(_i.ENTER),void this.adapter.emitEvent(yi.ANIMATION,{chipID:this.getElementID(),animation:xi.ENTER,addedAnnouncement:this.getAddedAnnouncement(),isComplete:!0});if(n===xi.EXIT){this.adapter.removeClass(_i.EXIT),this.adapter.addClass(_i.HIDDEN);var i=this.adapter.getOffsetWidth();this.adapter.setStyleProperty("width",i+"px"),this.animFrame.request(Mi.EXIT,(function(){e.animFrame.request(Mi.EXIT,(function(){e.adapter.setStyleProperty("width","0")}))}))}},e.prototype.handleTransitionEnd=function(){this.adapter.hasClass(_i.HIDDEN)&&this.adapter.emitEvent(yi.ANIMATION,{chipID:this.getElementID(),animation:xi.EXIT,removedAnnouncement:this.getRemovedAnnouncement(),isComplete:!0})},e.prototype.handleActionInteraction=function(t){var e=t.detail,n=e.source,i=e.actionID,r=this.adapter.isActionSelectable(n),a=this.adapter.isActionSelected(n);this.adapter.emitEvent(yi.INTERACTION,{chipID:this.getElementID(),shouldRemove:this.shouldRemove(e),actionID:i,isSelectable:r,isSelected:a,source:n})},e.prototype.handleActionNavigation=function(t){var e=t.detail,n=e.source,i=e.key,r=this.adapter.isRTL(),a=this.adapter.isActionFocusable(hi.TRAILING),s=this.adapter.isActionFocusable(hi.PRIMARY),o=this.directionFromKey(i,r),l=n===hi.PRIMARY&&o===wi.RIGHT&&a,c=n===hi.TRAILING&&o===wi.LEFT&&s;l?this.navigateActions({from:n,to:hi.TRAILING}):c?this.navigateActions({from:n,to:hi.PRIMARY}):this.adapter.emitEvent(yi.NAVIGATION,{chipID:this.getElementID(),isRTL:r,source:n,key:i})},e.prototype.directionFromKey=function(t,e){var n=t===gi.a.ARROW_LEFT,i=t===gi.a.ARROW_RIGHT;return!e&&n||e&&i?wi.LEFT:!e&&i||e&&n?wi.RIGHT:wi.UNSPECIFIED},e.prototype.navigateActions=function(t){this.adapter.setActionFocus(t.from,fi.NOT_FOCUSABLE),this.adapter.setActionFocus(t.to,fi.FOCUSABLE_AND_FOCUSED)},e.prototype.shouldRemove=function(t){var e=t.source,n=t.trigger;return n===di.BACKSPACE_KEY||n===di.DELETE_KEY||e===hi.TRAILING},e.prototype.getRemovedAnnouncement=function(){return this.adapter.getAttribute(bi.DATA_REMOVED_ANNOUNCEMENT)||void 0},e.prototype.getAddedAnnouncement=function(){return this.adapter.getAttribute(bi.DATA_ADDED_ANNOUNCEMENT)||void 0},e.prototype.animateSelection=function(t){var e=this;this.resetAnimationStyles(),this.animFrame.request(Mi.SELECTION,(function(){e.animFrame.request(Mi.SELECTION,(function(){e.updateSelectionStyles(t)}))}))},e.prototype.resetAnimationStyles=function(){this.adapter.removeClass(_i.SELECTING),this.adapter.removeClass(_i.DESELECTING),this.adapter.removeClass(_i.SELECTING_WITH_PRIMARY_ICON),this.adapter.removeClass(_i.DESELECTING_WITH_PRIMARY_ICON)},e.prototype.updateSelectionStyles=function(t){var e=this,n=this.adapter.hasClass(_
541i.WITH_PRIMARY_ICON);return n&&t?(this.adapter.addClass(_i.SELECTING_WITH_PRIMARY_ICON),void this.animFrame.request(Mi.SELECTION,(function(){e.adapter.addClass(_i.SELECTED)}))):n&&!t?(this.adapter.addClass(_i.DESELECTING_WITH_PRIMARY_ICON),void this.animFrame.request(Mi.SELECTION,(function(){e.adapter.removeClass(_i.SELECTED)}))):t?(this.adapter.addClass(_i.SELECTING),void this.animFrame.request(Mi.SELECTION,(function(){e.adapter.addClass(_i.SELECTED)}))):t?void 0:(this.adapter.addClass(_i.DESELECTING),void this.animFrame.request(Mi.SELECTION,(function(){e.adapter.removeClass(_i.SELECTED)})))},e}(Ct.a),Ri=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rootHTML=e.root,e}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t){void 0===t&&(t=function(t){return new Li(t)}),this.actions=new Map;for(var e=this.root.querySelectorAll(".mdc-evolution-chip__action"),n=0;n<e.length;n++){var i=t(e[n]);this.actions.set(i.actionType(),i)}},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleActionInteraction=function(e){t.foundation.handleActionInteraction(e)},this.handleActionNavigation=function(e){t.foundation.handleActionNavigation(e)},this.listen(pi.INTERACTION,this.handleActionInteraction),this.listen(pi.NAVIGATION,this.handleActionNavigation)},e.prototype.destroy=function(){this.unlisten(pi.INTERACTION,this.handleActionInteraction),this.unlisten(pi.NAVIGATION,this.handleActionNavigation),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this;return new Oi({addClass:function(e){t.root.classList.add(e)},emitEvent:function(e,n){t.emit(e,n,!0)},getActions:function(){var e,n,i=[];try{for(var r=Object(Tt.e)(t.actions),a=r.next();!a.done;a=r.next()){var s=Object(Tt.c)(a.value,1)[0];i.push(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return i},getAttribute:function(e){return t.root.getAttribute(e)},getElementID:function(){return t.rootHTML.id},getOffsetWidth:function(){return t.rootHTML.offsetWidth},hasClass:function(e){return t.root.classList.contains(e)},isActionSelectable:function(e){var n=t.actions.get(e);return!!n&&n.isSelectable()},isActionSelected:function(e){var n=t.actions.get(e);return!!n&&n.isSelected()},isActionFocusable:function(e){var n=t.actions.get(e);return!!n&&n.isFocusable()},isActionDisabled:function(e){var n=t.actions.get(e);return!!n&&n.isDisabled()},isRTL:function(){return"rtl"===window.getComputedStyle(t.root).getPropertyValue("direction")},removeClass:function(e){t.root.classList.remove(e)},setActionDisabled:function(e,n){var i=t.actions.get(e);i&&i.setDisabled(n)},setActionFocus:function(e,n){var i=t.actions.get(e);i&&i.setFocus(n)},setActionSelected:function(e,n){var i=t.actions.get(e);i&&i.setSelected(n)},setStyleProperty:function(e,n){t.rootHTML.style.setProperty(e,n)}})},e.prototype.remove=function(){var t=this.root.parentNode;null!==t&&t.removeChild(this.root)},e.prototype.getActions=function(){return this.foundation.getActions()},e.prototype.getElementID=function(){return this.foundation.getElementID()},e.prototype.isDisabled=function(){return this.foundation.isDisabled()},e.prototype.setDisabled=function(t){this.foundation.setDisabled(t)},e.prototype.isActionFocusable=function(t){return this.foundation.isActionFocusable(t)},e.prototype.isActionSelectable=function(t){return this.foundation.isActionSelectable(t)},e.prototype.isActionSelected=function(t){return this.foundation.isActionSelected(t)},e.prototype.setActionFocus=function(t,e){this.foundation.setActionFocus(t,e)},e.prototype.setActionSelected=function(t,e){this.foundation.setActionSelected(t,e)},e.prototype.startAnimation=function(t){this.foundation.startAnimation(t)},e}(At.a);!function(t){t.ARIA_MULTISELECTABLE="aria-multiselectable"}(Ci||(Ci={})),function(t){t.CHIP="mdc-evolution-chip"}(Ii||(Ii={})),function(t){t.INTERACTION="MDCChipSet:interaction",t.REMOVAL="MDCChipSet:removal",t.SELECTION="MDCChipSet:selection"}(Di||(Di={})),function(t){t[t.INCREMENT=0]="INCREMENT",t[t.DECREMENT=1]="DECREMENT"}(ki||(ki={}));var Pi=function(t){function e(n){return t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this}return Object(Tt.b)(e,t),Object.defineProperty(e,"defaultAdapter",{get:function(){return{announceMessage:function(){},emitEvent:function(){},getAttribute:function(){return null},getChipActionsAtIndex:function(){return[]},getChipCount:function(){return 0},getChipIdAtIndex:function(){return""},getChipIndexById:function(){return 0},isChipFocusableAtIndex:function(){return!1},isChipSelectableAtIndex:function(){return!1},isChipSelectedAtIndex:function(){return!1},removeChipAtIndex:function(){},setChipFocusAtIndex:function(){},setChipSelectedAtIndex:function(){},startChipAnimationAtIndex:function(){}}}
541,enumerable:!1,configurable:!0}),e.prototype.handleChipAnimation=function(t){var e=t.detail,n=e.chipID,i=e.animation,r=e.isComplete,a=e.addedAnnouncement,s=e.removedAnnouncement,o=this.adapter.getChipIndexById(n);if(i===xi.EXIT&&r)return s&&this.adapter.announceMessage(s),void this.removeAfterAnimation(o,n);i===xi.ENTER&&r&&a&&this.adapter.announceMessage(a)},e.prototype.handleChipInteraction=function(t){var e=t.detail,n=e.source,i=e.chipID,r=e.isSelectable,a=e.isSelected,s=e.shouldRemove,o=this.adapter.getChipIndexById(i);s?this.removeChip(o):(this.focusChip(o,n,fi.FOCUSABLE),this.adapter.emitEvent(Di.INTERACTION,{chipIndex:o,chipID:i}),r&&this.setSelection(o,n,!a))},e.prototype.handleChipNavigation=function(t){var e=t.detail,n=e.chipID,i=e.key,r=e.isRTL,a=e.source,s=this.adapter.getChipIndexById(n);i===gi.a.ARROW_RIGHT&&!r||i===gi.a.ARROW_LEFT&&r?this.focusNextChipFrom(s+1):i===gi.a.ARROW_LEFT&&!r||i===gi.a.ARROW_RIGHT&&r?this.focusPrevChipFrom(s-1):i!==gi.a.ARROW_DOWN?i!==gi.a.ARROW_UP?i!==gi.a.HOME?i!==gi.a.END||this.focusPrevChipFrom(this.adapter.getChipCount()-1,a):this.focusNextChipFrom(0,a):this.focusPrevChipFrom(s-1,a):this.focusNextChipFrom(s+1,a)},e.prototype.getSelectedChipIndexes=function(){for(var t,e,n=new Set,i=this.adapter.getChipCount(),r=0;r<i;r++){var a=this.adapter.getChipActionsAtIndex(r);try{for(var s=(t=void 0,Object(Tt.e)(a)),o=s.next();!o.done;o=s.next()){var l=o.value;this.adapter.isChipSelectedAtIndex(r,l)&&n.add(r)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}}return n},e.prototype.setChipSelected=function(t,e,n){this.adapter.isChipSelectableAtIndex(t,e)&&this.setSelection(t,e,n)},e.prototype.isChipSelected=function(t,e){return this.adapter.isChipSelectedAtIndex(t,e)},e.prototype.removeChip=function(t){t>=this.adapter.getChipCount()||t<0||(this.adapter.startChipAnimationAtIndex(t,xi.EXIT),this.adapter.emitEvent(Di.REMOVAL,{chipID:this.adapter.getChipIdAtIndex(t),chipIndex:t,isComplete:!1}))},e.prototype.addChip=function(t){t>=this.adapter.getChipCount()||t<0||this.adapter.startChipAnimationAtIndex(t,xi.ENTER)},e.prototype.focusNextChipFrom=function(t,e){for(var n=this.adapter.getChipCount(),i=t;i<n;i++){var r=this.getFocusableAction(i,ki.INCREMENT,e);if(r)return void this.focusChip(i,r,fi.FOCUSABLE_AND_FOCUSED)}},e.prototype.focusPrevChipFrom=function(t,e){for(var n=t;n>-1;n--){var i=this.getFocusableAction(n,ki.DECREMENT,e);if(i)return void this.focusChip(n,i,fi.FOCUSABLE_AND_FOCUSED)}},e.prototype.getFocusableAction=function(t,e,n){var i=this.adapter.getChipActionsAtIndex(t);return e===ki.DECREMENT&&i.reverse(),n?this.getMatchingFocusableAction(t,i,n):this.getFirstFocusableAction(t,i)},e.prototype.getFirstFocusableAction=function(t,e){var n,i;try{for(var r=Object(Tt.e)(e),a=r.next();!a.done;a=r.next()){var s=a.value;if(this.adapter.isChipFocusableAtIndex(t,s))return s}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return null},e.prototype.getMatchingFocusableAction=function(t,e,n){var i,r,a=null;try{for(var s=Object(Tt.e)(e),o=s.next();!o.done;o=s.next()){var l=o.value;if(this.adapter.isChipFocusableAtIndex(t,l)&&(a=l),a===n)return a}}catch(t){i={error:t}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return a},e.prototype.focusChip=function(t,e,n){var i,r;this.adapter.setChipFocusAtIndex(t,e,n);for(var a=this.adapter.getChipCount(),s=0;s<a;s++){var o=this.adapter.getChipActionsAtIndex(s);try{for(var l=(i=void 0,Object(Tt.e)(o)),c=l.next();!c.done;c=l.next()){var u=c.value;u===e&&s===t||this.adapter.setChipFocusAtIndex(s,u,fi.NOT_FOCUSABLE)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}}},e.prototype.supportsMultiSelect=function(){return"true"===this.adapter.getAttribute(Ci.ARIA_MULTISELECTABLE)},e.prototype.setSelection=function(t,e,n){var i,r;if(this.adapter.setChipSelectedAtIndex(t,e,n),this.adapter.emitEvent(Di.SELECTION,{chipID:this.adapter.getChipIdAtIndex(t),chipIndex:t,isSelected:n}),!this.supportsMultiSelect())for(var a=this.adapter.getChipCount(),s=0;s<a;s++){var o=this.adapter.getChipActionsAtIndex(s);try{for(var l=(i=void 0,Object(Tt.e)(o)),c=l.next();!c.done;c=l.next()){var u=c.value;u===e&&s===t||this.adapter.setChipSelectedAtIndex(s,u,!1)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}}},e.prototype.removeAfterAnimation=function(t,e){this.adapter.removeChipAtIndex(t),this.adapter.emitEvent(Di.REMOVAL,{chipIndex:t,isComplete:!0,chipID:e}),this.adapter.getChipCount()<=0||this.focusNearestFocusableAction(t)}
541,e.prototype.focusNearestFocusableAction=function(t){for(var e=this.adapter.getChipCount(),n=t,i=t;n>-1||i<e;){var r=this.getNearestFocusableAction(n,i,hi.TRAILING);if(r)return void this.focusChip(r.index,r.action,fi.FOCUSABLE_AND_FOCUSED);n--,i++}},e.prototype.getNearestFocusableAction=function(t,e,n){var i=this.getFocusableAction(t,ki.DECREMENT,n);if(i)return{index:t,action:i};if(e===t)return null;var r=this.getFocusableAction(e,ki.INCREMENT,n);return r?{index:e,action:r}:null},e}(Ct.a),Ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t){void 0===t&&(t=function(t){return new Ri(t)}),this.chips=[];for(var e=this.root.querySelectorAll("."+Ii.CHIP),n=0;n<e.length;n++){var i=t(e[n]);this.chips.push(i)}},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleChipAnimation=function(e){t.foundation.handleChipAnimation(e)},this.handleChipInteraction=function(e){t.foundation.handleChipInteraction(e)},this.handleChipNavigation=function(e){t.foundation.handleChipNavigation(e)},this.listen(yi.ANIMATION,this.handleChipAnimation),this.listen(yi.INTERACTION,this.handleChipInteraction),this.listen(yi.NAVIGATION,this.handleChipNavigation)},e.prototype.destroy=function(){this.unlisten(yi.ANIMATION,this.handleChipAnimation),this.unlisten(yi.INTERACTION,this.handleChipInteraction),this.unlisten(yi.NAVIGATION,this.handleChipNavigation),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this;return new Pi({announceMessage:function(t){!function(t,e){ci.getInstance().say(t,e)}(t)},emitEvent:function(e,n){t.emit(e,n,!0)},getAttribute:function(e){return t.root.getAttribute(e)},getChipActionsAtIndex:function(e){return t.isIndexValid(e)?t.chips[e].getActions():[]},getChipCount:function(){return t.chips.length},getChipIdAtIndex:function(e){return t.isIndexValid(e)?t.chips[e].getElementID():""},getChipIndexById:function(e){return t.chips.findIndex((function(t){return t.getElementID()===e}))},isChipFocusableAtIndex:function(e,n){return!!t.isIndexValid(e)&&t.chips[e].isActionFocusable(n)},isChipSelectableAtIndex:function(e,n){return!!t.isIndexValid(e)&&t.chips[e].isActionSelectable(n)},isChipSelectedAtIndex:function(e,n){return!!t.isIndexValid(e)&&t.chips[e].isActionSelected(n)},removeChipAtIndex:function(e){t.isIndexValid(e)&&(t.chips[e].destroy(),t.chips[e].remove(),t.chips.splice(e,1))},setChipFocusAtIndex:function(e,n,i){t.isIndexValid(e)&&t.chips[e].setActionFocus(n,i)},setChipSelectedAtIndex:function(e,n,i){t.isIndexValid(e)&&t.chips[e].setActionSelected(n,i)},startChipAnimationAtIndex:function(e,n){t.isIndexValid(e)&&t.chips[e].startAnimation(n)}})},e.prototype.getChipIndexByID=function(t){return this.chips.findIndex((function(e){return e.getElementID()===t}))},e.prototype.getChipIdAtIndex=function(t){return this.isIndexValid(t)?this.chips[t].getElementID():""},e.prototype.getSelectedChipIndexes=function(){return this.foundation.getSelectedChipIndexes()},e.prototype.setChipSelected=function(t,e,n){this.foundation.setChipSelected(t,e,n)},e.prototype.isChipSelected=function(t,e){return this.foundation.isChipSelected(t,e)},e.prototype.addChip=function(t){this.foundation.addChip(t)},e.prototype.removeChip=function(t){this.foundation.removeChip(t)},e.prototype.isIndexValid=function(t){return t>-1&&t<this.chips.length},e}(At.a),Yi=f((function t(){var e=this;u(this,t),this.instances=[],this.elements=Re(".mdc-evolution-chip-set",(function(t){e.instances.push(new Ni(t))}))})),Fi=f((function t(){var e=this;u(this,t),this.instances=[],this.elements=Re(".mdc-form-field",(function(t){e.instances.push(new Qn(t))}))})),Hi=f((function t(){u(this,t),this.elements=Re(".hero-slide__video-large",(function(t){var e=t.querySelector("source"),n=e.getAttribute("data-src");e.setAttribute("src",n),window.innerWidth>=je.a.md&&(t.load(),t.play())}))})),ji=function(){function t(){var e=this;u(this,t),this.elements=Re("iframe[data-height-mobile]",(function(t){e.setHeight(t),window.addEventListener("resize",(function(){e.setHeight(t)}))}
541))}return f(t,[{key:"setHeight",value:function(t){var e="mobile";window.innerWidth>=je.a.md&&(e="desktop"),t.style.height="".concat(t.getAttribute("data-height-".concat(e)),"px")}}]),t}(),Bi={CLOSED_CLASS:"mdc-linear-progress--closed",CLOSED_ANIMATION_OFF_CLASS:"mdc-linear-progress--closed-animation-off",INDETERMINATE_CLASS:"mdc-linear-progress--indeterminate",REVERSED_CLASS:"mdc-linear-progress--reversed",ANIMATION_READY_CLASS:"mdc-linear-progress--animation-ready"},zi={ARIA_HIDDEN:"aria-hidden",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUENOW:"aria-valuenow",BUFFER_BAR_SELECTOR:".mdc-linear-progress__buffer-bar",FLEX_BASIS:"flex-basis",PRIMARY_BAR_SELECTOR:".mdc-linear-progress__primary-bar"},Ui=.8367142,Vi=2.00611057,Wi=.37651913,Gi=.84386165,qi=1.60277782,Xi=function(t){function e(n){var i=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return i.observer=null,i}return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return Bi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return zi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},attachResizeObserver:function(){return null},forceLayout:function(){},getWidth:function(){return 0},hasClass:function(){return!1},setBufferBarStyle:function(){return null},setPrimaryBarStyle:function(){return null},setStyle:function(){},removeAttribute:function(){},removeClass:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this;this.determinate=!this.adapter.hasClass(Bi.INDETERMINATE_CLASS),this.adapter.addClass(Bi.ANIMATION_READY_CLASS),this.progress=0,this.buffer=1,this.observer=this.adapter.attachResizeObserver((function(e){var n,i;if(!t.determinate)try{for(var r=Object(Tt.e)(e),a=r.next();!a.done;a=r.next()){var s=a.value;s.contentRect&&t.calculateAndSetDimensions(s.contentRect.width)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}})),!this.determinate&&this.observer&&this.calculateAndSetDimensions(this.adapter.getWidth())},e.prototype.setDeterminate=function(t){if(this.determinate=t,this.determinate)return this.adapter.removeClass(Bi.INDETERMINATE_CLASS),this.adapter.setAttribute(zi.ARIA_VALUENOW,this.progress.toString()),this.adapter.setAttribute(zi.ARIA_VALUEMAX,"1"),this.adapter.setAttribute(zi.ARIA_VALUEMIN,"0"),this.setPrimaryBarProgress(this.progress),void this.setBufferBarProgress(this.buffer);this.observer&&this.calculateAndSetDimensions(this.adapter.getWidth()),this.adapter.addClass(Bi.INDETERMINATE_CLASS),this.adapter.removeAttribute(zi.ARIA_VALUENOW),this.adapter.removeAttribute(zi.ARIA_VALUEMAX),this.adapter.removeAttribute(zi.ARIA_VALUEMIN),this.setPrimaryBarProgress(1),this.setBufferBarProgress(1)},e.prototype.isDeterminate=function(){return this.determinate},e.prototype.setProgress=function(t){this.progress=t,this.determinate&&(this.setPrimaryBarProgress(t),this.adapter.setAttribute(zi.ARIA_VALUENOW,t.toString()))},e.prototype.getProgress=function(){return this.progress},e.prototype.setBuffer=function(t){this.buffer=t,this.determinate&&this.setBufferBarProgress(t)},e.prototype.getBuffer=function(){return this.buffer},e.prototype.open=function(){this.adapter.removeClass(Bi.CLOSED_CLASS),this.adapter.removeClass(Bi.CLOSED_ANIMATION_OFF_CLASS),this.adapter.removeAttribute(zi.ARIA_HIDDEN)},e.prototype.close=function(){this.adapter.addClass(Bi.CLOSED_CLASS),this.adapter.setAttribute(zi.ARIA_HIDDEN,"true")},e.prototype.isClosed=function(){return this.adapter.hasClass(Bi.CLOSED_CLASS)},e.prototype.handleTransitionEnd=function(){this.adapter.hasClass(Bi.CLOSED_CLASS)&&this.adapter.addClass(Bi.CLOSED_ANIMATION_OFF_CLASS)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.observer&&this.observer.disconnect()},e.prototype.restartAnimation=function(){this.adapter.removeClass(Bi.ANIMATION_READY_CLASS),this.adapter.forceLayout(),this.adapter.addClass(Bi.ANIMATION_READY_CLASS)},e.prototype.setPrimaryBarProgress=function(t){var e="scaleX("+t+")",n="undefined"!=typeof window?Object(Zn.b)(window,"transform"):"transform";this.adapter.setPrimaryBarStyle(n,e)},e.prototype.setBufferBarProgress=function(t){var e=100*t+"%";this.adapter.setBufferBarStyle(zi.FLEX_BASIS,e)},e.prototype.calculateAndSetDimensions=function(t){var e=t*Ui,n=t*Vi,i=t*Wi,r=t*Gi,a=t*qi;this.adapter.setStyle("--mdc-linear-progress-primary-half",e+"px"),this.adapter.setStyle("--mdc-linear-progress-primary-half-neg",-e+"px"),this.adapter.setStyle("--mdc-linear-progress-primary-full",n+"px"),this.adapter.setStyle("--mdc-linear-progress-primary-full-neg",-n+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-quarter",i+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-quarter-neg",-i+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-half",r+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-half-neg",-r+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-full",a+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-full-neg",-a+"px"),this.restartAnimation()},e}(Ct.a),$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"determinate",{set:function(t){this.foundation.setDeterminate(t)}
541,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"progress",{set:function(t){this.foundation.setProgress(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{set:function(t){this.foundation.setBuffer(t)},enumerable:!1,configurable:!0}),e.prototype.open=function(){this.foundation.open()},e.prototype.close=function(){this.foundation.close()},e.prototype.initialSyncWithDOM=function(){var t=this;this.root.addEventListener("transitionend",(function(){t.foundation.handleTransitionEnd()}))},e.prototype.getDefaultFoundation=function(){var t=this;return new Xi({addClass:function(e){t.root.classList.add(e)},forceLayout:function(){t.root.getBoundingClientRect()},setBufferBarStyle:function(e,n){var i=t.root.querySelector(Xi.strings.BUFFER_BAR_SELECTOR);i&&i.style.setProperty(e,n)},setPrimaryBarStyle:function(e,n){var i=t.root.querySelector(Xi.strings.PRIMARY_BAR_SELECTOR);i&&i.style.setProperty(e,n)},hasClass:function(e){return t.root.classList.contains(e)},removeAttribute:function(e){t.root.removeAttribute(e)},removeClass:function(e){t.root.classList.remove(e)},setAttribute:function(e,n){t.root.setAttribute(e,n)},setStyle:function(e,n){t.root.style.setProperty(e,n)},attachResizeObserver:function(e){var n=window.ResizeObserver;if(n){var i=new n(e);return i.observe(t.root),i}return null},getWidth:function(){return t.root.offsetWidth}})},e}(At.a),Ki=f((function t(){var e=this;u(this,t),this.instances=[],this.elements=Re(".mdc-linear-progress",(function(t){e.instances.push(new $i(t))}))})),Ji=f((function t(){u(this,t),this.selector={graph:"[data-nutrients-graph]"},this.elements=Re(this.selector.graph,(function(t){var e=[],n=t.querySelectorAll(".nutrients__graph");n.forEach((function(t){e.push(+t.getAttribute("data-percentage"))}));var i=Math.max.apply(Math,e);isFinite(i)&&i>0&&n.forEach((function(t,n){e[n]>1?t.style.width=Math.round(e[n]/i*70)+"%":t.style.width="6px"}))}))})),Qi=n(1112),Zi=n.n(Qi),tr=f((function t(){var e=this;u(this,t),this.element=document.querySelector(".production-period:not([data-initialized])"),this.element&&(this.element.setAttribute("data-initialized",""),this.progress=this.element.querySelector(".mdc-linear-progress"),window.setTimeout((function(){e.pjax=new Zi.a({selectors:[".production-period__pagination",".production-period__table"],elements:".production-period__pagination-button"})}),50),this.progress&&(document.addEventListener("pjax:send",(function(){e.progress.classList.remove("mdc-linear-progress--closed")})),document.addEventListener("pjax:complete",(function(){e.progress.classList.add("mdc-linear-progress--closed")}))))})),er={NATIVE_CONTROL_SELECTOR:".mdc-radio__native-control"},nr={DISABLED:"mdc-radio--disabled",ROOT:"mdc-radio"},ir=function(t){function e(n){return t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this}return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return nr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return er},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0}),e.prototype.setDisabled=function(t){var n=e.cssClasses.DISABLED;this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(n):this.adapter.removeClass(n)},e}(Ct.a),rr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rippleSurface=e.createRipple(),e}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"checked",{get:function(){return this.nativeControl.checked},set:function(t){this.nativeControl.checked=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.nativeControl.disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.nativeControl.value},set:function(t){this.nativeControl.value=t}
541,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.rippleSurface.destroy(),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this;return new ir({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},setNativeControlDisabled:function(e){return t.nativeControl.disabled=e}})},e.prototype.createRipple=function(){var t=this,e=Object(Tt.a)(Object(Tt.a)({},Ft.a.createAdapter(this)),{registerInteractionHandler:function(e,n){t.nativeControl.addEventListener(e,n,Object(Lt.a)())},deregisterInteractionHandler:function(e,n){t.nativeControl.removeEventListener(e,n,Object(Lt.a)())},isSurfaceActive:function(){return!1},isUnbounded:function(){return!0}});return new Ft.a(this.root,new Ht.a(e))},Object.defineProperty(e.prototype,"nativeControl",{get:function(){var t=ir.strings.NATIVE_CONTROL_SELECTOR,e=this.root.querySelector(t);if(!e)throw new Error("Radio component requires a "+t+" element");return e},enumerable:!1,configurable:!0}),e}(At.a),ar=f((function t(){var e=this;u(this,t),this.uid=(new Date).valueOf(),this.elements=Re(".mdc-radio",(function(t){var n,i="mdc-radio-".concat(e.uid);e.uid++,t.querySelector("input").setAttribute("id",i),t.nextElementSibling.setAttribute("for",i);var r=new rr(t),a=t.parentElement;Z()(n=a.className).call(n,"mdc-form-field")&&(new Qn(a).input=r)}))})),sr=n(1302),or=n(460),lr=f((function t(){u(this,t),this.elements=Re(".mdc-select-wrapper",(function(t){var e=new sr.a(t.querySelector(".mdc-select")),n=t.querySelector("input"),i=t.querySelector(".mdc-list-item--selected"),r=O(t.getAttribute("data-i18n"));t.querySelector(".mdc-select-helper-text")&&new or.a(t.querySelector(".mdc-select-helper-text")).foundation.setContent(r.required);var a=t.querySelector("ul.mdc-list");a&&r.options&&a.setAttribute("aria-label",r.options);var s=null;if(i&&(e.value=i.getAttribute("data-value"),n.value=e.value),t.hasAttribute("data-auto-submit-form")){var o=t.getAttribute("data-auto-submit-form");s=document.getElementById(o)}t.querySelectorAll(".mdc-list-item--disabled").forEach((function(t){t.addEventListener("click",(function(t){t.stopPropagation(),t.preventDefault()})),t.addEventListener("keydown",(function(t){"Enter"!==t.code&&"Space"!==t.code||(t.stopPropagation(),t.preventDefault())}))})),e.listen("MDCSelect:change",(function(){n.value=e.value;var i=t.querySelector('.mdc-list-item[data-value="'.concat(e.value,'"]'));i.hasAttribute("data-go-to")?window.location=i.getAttribute("data-go-to"):s&&s.submit()}))}))})),cr=f((function t(){var e,n=this;u(this,t),this.options={speed:800,grabCursor:!0,autoplay:{delay:5e3},modules:[Vn,Bn],navigation:{nextEl:'[data-swiper-button="next"]',prevEl:'[data-swiper-button="prev"]'},scrollbar:{el:"[data-swiper-scrollbar]"},selectors:[".hero .swiper",".content-hero .swiper",".product-summary .swiper"]},$()(e=this.options.selectors).call(e,(function(t){return Re(t,(function(t){t.querySelectorAll(".swiper-slide").length>1&&(t.querySelectorAll("[data-swiper-button], [data-swiper-scrollbar]").forEach((function(t){return t.classList.remove("is-hidden")})),new Hn(t,n.options))}))}))})),ur=f((function t(){var e=this;u(this,t),this.options={speed:800,grabCursor:!0,autoplay:{delay:5e3},modules:[Un,Bn],touchEventsTarget:"container",pagination:{el:"[data-swiper-pagination]",type:"fraction"},navigation:{nextEl:'[data-swiper-button="next"]',prevEl:'[data-swiper-button="prev"]'}},Re(".image-slider .swiper",(function(t){t.querySelectorAll(".swiper-slide").length>1&&(t.querySelectorAll("[data-swiper-button], [data-swiper-pagination]").forEach((function(t){return t.classList.remove("is-hidden")})),new Hn(t,e.options),t.querySelectorAll(".image-slider__caption").forEach((function(t){return t.classList.add("has-pagination-margin")})))}))})),dr=n(40),hr=n(84),pr=n.n(hr),fr=n(154),mr=n.n(fr),gr=n(107),vr=n.n(gr),_r=n(153),yr=n.n(_r),br=n(273),xr=n.n(br),wr=n(271),Mr=n.n(wr),Sr=n(219),Tr=n.n(Sr),Ar=function(t){return"[object Object]"===Object.prototype.toString.call(t)},Lr=function(t,e){var n=document.createElement(t);if(e&&"object"==A(e))for(var i in e)"html"===i?n.innerHTML=e[i]:n.setAttribute(i,e[i]);return n},Er=function t(e){e instanceof NodeList?e.forEach((function(e){return t(e)})):e.innerHTML=""},Cr=function(t,e,n){var i;return Lr("li",{class:t,html:_()(i='<a href="#" data-page="'.concat(e,'">')).call(i,n,"</a>")})},Ir=function(t,e){var n,i;1===e?(n=0,i=t.length):-1===e&&(n=t.length-1,i=-1);for(var r=!0;r;){r=!1;for(var a=n;a!=i;a+=e)if(t[a+e]&&t[a].value>t[a+e].value){var s=t[a],o=t[a+e],l=s;t[a]=o,t[a+e]=l,r=!0}}return t},Dr=function(){function t(e,n){return u(this,t),this.dt=e,this.rows=n,this}return f(t,[{key:"build",value:function(t){var e=Lr("tr"),n=this.dt.headings;return n.length||(n=$()(t).call(t,(function(){return""}
541))),n.forEach((function(n,i){var r=Lr("td");t[i]&&t[i].length||(t[i]=""),r.innerHTML=t[i],r.data=t[i],e.appendChild(r)})),e}},{key:"render",value:function(t){return t}},{key:"add",value:function(t){var e=this;if(Array.isArray(t)){var n=this.dt;Array.isArray(t[0])?t.forEach((function(t){n.data.push(e.build(t))})):n.data.push(this.build(t)),n.data.length&&(n.hasRows=!0),this.update(),n.columns().rebuild()}}},{key:"remove",value:function(t){var e=this.dt;if(Array.isArray(t))yr()(t).call(t,(function(t,e){return e-t})),t.forEach((function(t){var n;Tr()(n=e.data).call(n,t,1)}));else if("all"==t)e.data=[];else{var n;Tr()(n=e.data).call(n,t,1)}e.data.length||(e.hasRows=!1),this.update(),e.columns().rebuild()}},{key:"update",value:function(){this.dt.data.forEach((function(t,e){t.dataIndex=e}))}}]),t}(),kr=n(336),Or=n.n(kr),Rr=n(272);var Pr=n(337),Nr=n.n(Pr),Yr=n(339),Fr=n.n(Yr);var Hr=n(338);function jr(t){return function(t){if(Or()(t))return Object(Rr.a)(t)}(t)||function(t){if(void 0!==M.a&&null!=Nr()(t)||null!=t["@@iterator"])return Fr()(t)}(t)||Object(Hr.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n(225),n(464),n(348),n(465);var Br=function(){function t(e){return u(this,t),this.dt=e,this}return f(t,[{key:"swap",value:function(t){if(t.length&&2===t.length){var e=[];
541this.dt.headings.forEach((function(t,n){e.push(n)}));var n=t[0],i=t[1],r=e[i];e[i]=e[n],e[n]=r,this.order(e)}}},{key:"order",value:function(t){var e,n,i,r,a,s,o,l=[[],[],[],[]],c=this.dt;t.forEach((function(t,i){var r;a=c.headings[t],s="false"!==a.getAttribute("data-sortable"),(e=a.cloneNode(!0)).originalCellIndex=i,e.sortable=s,l[0].push(e),Z()(r=c.hiddenColumns).call(r,t)||((n=a.cloneNode(!0)).originalCellIndex=i,n.sortable=s,l[1].push(n))})),c.data.forEach((function(e,n){i=e.cloneNode(!1),r=e.cloneNode(!1),i.dataIndex=r.dataIndex=n,null!==e.searchIndex&&void 0!==e.searchIndex&&(i.searchIndex=r.searchIndex=e.searchIndex),t.forEach((function(t){var n;(o=e.cells[t].cloneNode(!0)).data=e.cells[t].data,i.appendChild(o),Z()(n=c.hiddenColumns).call(n,t)||((o=e.cells[t].cloneNode(!0)).data=e.cells[t].data,r.appendChild(o))})),l[2].push(i),l[3].push(r)})),c.headings=l[0],c.activeHeadings=l[1],c.data=l[2],c.activeRows=l[3],c.update()}},{key:"hide",value:function(t){if(t.length){var e=this.dt;t.forEach((function(t){var n;Z()(n=e.hiddenColumns).call(n,t)||e.hiddenColumns.push(t)})),this.rebuild()}}},{key:"show",value:function(t){if(t.length){var e,n=this.dt;t.forEach((function(t){var i;(e=n.hiddenColumns.indexOf(t))>-1&&Tr()(i=n.hiddenColumns).call(i,e,1)})),this.rebuild()}}},{key:"visible",value:function(t){var e,n,i,r=this.dt;(t=t||$()(e=r.headings).call(e,(function(t){return t.originalCellIndex})),isNaN(t))?Array.isArray(t)&&(n=[],t.forEach((function(t){var e;n.push(!Z()(e=r.hiddenColumns).call(e,t))}))):n=!Z()(i=r.hiddenColumns).call(i,t);return n}},{key:"add",value:function(t){var e,n,i=this,r=document.createElement("th");if(!this.dt.headings.length)return this.dt.insert({headings:[t.heading],data:$()(n=t.data).call(n,(function(t){return[t]}))}),void this.rebuild();this.dt.hiddenHeader?r.innerHTML="":t.heading.nodeName?r.appendChild(t.heading):r.innerHTML=t.heading,this.dt.headings.push(r),this.dt.data.forEach((function(n,r){t.data[r]&&(e=document.createElement("td"),t.data[r].nodeName?e.appendChild(t.data[r]):e.innerHTML=t.data[r],e.data=e.innerHTML,t.render&&(e.innerHTML=t.render.call(i,e.data,e,n)),n.appendChild(e))})),t.type&&r.setAttribute("data-type",t.type),t.format&&r.setAttribute("data-format",t.format),t.hasOwnProperty("sortable")&&(r.sortable=t.sortable,r.setAttribute("data-sortable",!0===t.sortable?"true":"false")),this.rebuild(),this.dt.renderHeader()}},{key:"remove",value:function(t){var e,n=this;Array.isArray(t)?(yr()(t).call(t,(function(t,e){return e-t})),t.forEach((function(t){return n.remove(t)}))):(Tr()(e=this.dt.headings).call(e,t,1),this.dt.data.forEach((function(e){e.removeChild(e.cells[t])})));this.rebuild()}},{key:"filter",value:function(t,e,n,i){var r,a,s=this.dt;if(s.filterState||(s.filterState={originalData:s.data}),!s.filterState[t]){var o,l=_()(o=[]).call(o,jr(i),[function(){return!0}]);s.filterState[t]=(a=0,function(){return l[a++%l.length]})}var c=s.filterState[t](),u=N()(r=mr()(s.filterState.originalData)).call(r,(function(e){var n=e.cells[t],i=n.hasAttribute("data-content")?n.getAttribute("data-content"):n.innerText;return"function"==typeof c?c(i):i===c}));s.data=u,this.rebuild(),s.update(),n||s.emit("datatable.sort",t,e)}},{key:"sort",value:function(t,e,i){var r=this,a=this.dt;if(a.hasHeadings&&(t<0||t>a.headings.length))return!1;var s=a.options.filters&&a.options.filters[a.headings[t].textContent];if(s&&0!==s.length){var o;N()(o=this).call(o,t,e,i,s)}else{a.sorting=!0,i||a.emit("datatable.sorting",t,e);var l=a.data,c=[],u=[],d=0,h=0,p=a.headings[t],f=[];if("date"===p.getAttribute("data-type")){var m=!1;p.hasAttribute("data-format")&&(m=p.getAttribute("data-format")),f.push(n.e(4).then(n.bind(null,1312)).then((function(t){var e=t.parseDate;return function(t){return e(t,m)}})))}b.a.all(f).then((function(n){var s,o,f=n[0];mr()(l).forEach((function(e){var n,i=e.cells[t],r=i.hasAttribute("data-content")?i.getAttribute("data-content"):i.innerText;n=f?f(r):"string"==typeof r?r.replace(/(\$|,|\s|%)/g,""):r,parseFloat(n)==n?u[h++]={value:Number(n),row:e}:c[d++]={value:"string"==typeof r?r.toLowerCase():r,row:e}})),e||(e=p.classList.contains("asc")?"desc":"asc"),"desc"==e?(s=Ir(c,-1),o=Ir(u,-1),p.classList.remove("asc"),p.classList.add("desc")):(s=Ir(u,1),o=Ir(c,1),p.classList.remove("desc"),p.classList.add("asc")),a.lastTh&&p!=a.lastTh&&(a.lastTh.classList.remove("desc"),a.lastTh.classList.remove("asc")),a.lastTh=p,l=_()(s).call(s,o),a.data=[];var m=[];l.forEach((function(t,e){a.data.push(t.row),null!==t.row.searchIndex&&void 0!==t.row.searchIndex&&m.push(e)})),a.searchData=m,r.rebuild(),a.update(),i||a.emit("datatable.sort",t,e)}))}}},{key:"rebuild",value:function(){var t,e,n,i,r=this.dt,a=[];
541r.activeRows=[],r.activeHeadings=[],r.headings.forEach((function(t,e){var n;t.originalCellIndex=e,t.sortable="false"!==t.getAttribute("data-sortable"),Z()(n=r.hiddenColumns).call(n,e)||r.activeHeadings.push(t)})),r.data.forEach((function(s,o){t=s.cloneNode(!1),e=s.cloneNode(!1),t.dataIndex=e.dataIndex=o,null!==s.searchIndex&&void 0!==s.searchIndex&&(t.searchIndex=e.searchIndex=s.searchIndex),mr()(s.cells).forEach((function(a){var s;(n=a.cloneNode(!0)).data=a.data,t.appendChild(n),Z()(s=r.hiddenColumns).call(s,n.cellIndex)||((i=n.cloneNode(!0)).data=n.data,e.appendChild(i))})),a.push(t),r.activeRows.push(e)})),r.data=a,r.update()}}]),t}(),zr=function(t){var e=!1,n=!1;if((t=t||this.options.data).headings){e=Lr("thead");var i=Lr("tr");t.headings.forEach((function(t){var e=Lr("th",{html:t});i.appendChild(e)})),e.appendChild(i)}t.data&&t.data.length&&(n=Lr("tbody"),t.data.forEach((function(e){if(t.headings&&t.headings.length!==e.length)throw new Error("The number of rows do not match the number of headings.");var i=Lr("tr");e.forEach((function(t){var e=Lr("td",{html:t});i.appendChild(e)})),n.appendChild(i)}))),e&&(null!==this.table.tHead&&this.table.removeChild(this.table.tHead),this.table.appendChild(e)),n&&(this.table.tBodies.length&&this.table.removeChild(this.table.tBodies[0]),this.table.appendChild(n))},Ur={sortable:!0,searchable:!0,paging:!0,perPage:10,perPageSelect:[5,10,15,20,25],nextPrev:!0,firstLast:!1,prevText:"&lsaquo;",nextText:"&rsaquo;",firstText:"&laquo;",lastText:"&raquo;",ellipsisText:"&hellip;",ascText:"▴",descText:"▾",truncatePager:!0,pagerDelta:2,scrollY:"",fixedColumns:!0,fixedHeight:!1,header:!0,footer:!1,labels:{placeholder:"Search...",perPage:"{select} entries per page",noRows:"No entries found",info:"Showing {start} to {end} of {rows} entries"},layout:{top:"{select}{search}",bottom:"{info}{pager}"}};function Vr(t,e){var n=E()(t);if(z.a){var i=z()(t);e&&(i=N()(i).call(i,(function(e){return V()(t,e).enumerable}))),n.push.apply(n,i)}return n}function Wr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vr(Object(n),!0).forEach((function(e){Object(q.a)(t,e,n[e])})):G.a?Object.defineProperties(t,G()(n)):Vr(Object(n)).forEach((function(e){Object.defineProperty(t,e,V()(n,e))}))}return t}var Gr=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(u(this,t),this.initialized=!1,this.options=Wr(Wr(Wr({},Ur),n),{},{layout:Wr(Wr({},Ur.layout),n.layout),labels:Wr(Wr({},Ur.labels),n.labels)}),"string"==typeof e&&(e=document.querySelector(e)),this.initialLayout=e.innerHTML,this.initialSortable=this.options.sortable,this.options.header||(this.options.sortable=!1),null===e.tHead&&(!this.options.data||this.options.data&&!this.options.data.headings)&&(this.options.sortable=!1),e.tBodies.length&&!e.tBodies[0].rows.length&&this.options.data&&!this.options.data.data)throw new Error("You seem to be using the data option, but you've not defined any rows.");this.table=e,this.init()}return f(t,[{key:"init",value:function(t){var e=this;if(this.initialized||this.table.classList.contains("dataTable-table"))return!1;Ye()(this.options,t||{}),this.currentPage=1,this.onFirstPage=!0,this.hiddenColumns=[],this.columnRenderers=[],this.selectedColumns=[],this.render(),setTimeout((function(){e.emit("datatable.init"),e.initialized=!0,e.options.plugins&&pr()(e.options.plugins).forEach((function(t){var n=Object(dr.a)(t,2),i=n[0],r=n[1];e[i]&&"function"==typeof e[i]&&(e[i]=e[i](r,{createElement:Lr}),r.enabled&&e[i].init&&"function"==typeof e[i].init&&e[i].init())}))}),10)}},{key:"render",value:function(t){var e,n,i=this;if(t){switch(t){case"page":this.renderPage();break;case"pager":this.renderPager();break;case"header":this.renderHeader()}return!1}var r=this.options,a="";if(r.data&&zr.call(this),r.ajax){var s=r.ajax,o=new XMLHttpRequest;o.addEventListener("progress",(function(t){i.emit("datatable.ajax.progress",t,o)}),!1),o.addEventListener("load",(function(t){if(4===o.readyState)if(i.emit("datatable.ajax.loaded",t,o),200===o.status){var e={};e.data=s.load?s.load.call(i,o):o.responseText,e.type="json",s.content&&s.content.type&&(e.type=s.content.type,Ye()(e,s.content)),i.import(e),i.setColumns(!0),i.emit("datatable.ajax.success",t,o)}else i.emit("datatable.ajax.error",t,o)}),!1),o.addEventListener("error",(function(t){i.emit("datatable.ajax.error",t,o)}),!1),o.addEventListener("abort",(function(t){i.emit("datatable.ajax.abort",t,o)}
541),!1),this.emit("datatable.ajax.loading",o),o.open("GET","string"==typeof s?r.ajax:r.ajax.url),o.send()}if(this.body=this.table.tBodies[0],this.head=this.table.tHead,this.foot=this.table.tFoot,this.body||(this.body=Lr("tbody"),this.table.appendChild(this.body)),this.hasRows=this.body.rows.length>0,!this.head){var l=Lr("thead"),c=Lr("tr");this.hasRows&&(mr()(this.body.rows[0].cells).forEach((function(){c.appendChild(Lr("th"))})),l.appendChild(c)),this.head=l,this.table.insertBefore(this.head,this.body),this.hiddenHeader=!r.ajax}if(this.headings=[],this.hasHeadings=this.head.rows.length>0,this.hasHeadings&&(this.header=this.head.rows[0],this.headings=vr()([]).call(this.header.cells)),r.header||this.head&&this.table.removeChild(this.table.tHead),r.footer?this.head&&!this.foot&&(this.foot=Lr("tfoot",{html:this.head.innerHTML}),this.table.appendChild(this.foot)):this.foot&&this.table.removeChild(this.table.tFoot),this.wrapper=Lr("div",{class:"dataTable-wrapper dataTable-loading"}),a+="<div class='dataTable-top'>",a+=r.layout.top,a+="</div>",r.scrollY.length?a+="<div class='dataTable-container' style='height: ".concat(r.scrollY,"; overflow-Y: auto;'></div>"):a+="<div class='dataTable-container'></div>",a+="<div class='dataTable-bottom'>",a+=r.layout.bottom,a=(a+="</div>").replace("{info}",r.paging?"<div class='dataTable-info'></div>":""),r.paging&&r.perPageSelect){var u="<div class='dataTable-dropdown'><label>";u+=r.labels.perPage,u+="</label></div>";var d=Lr("select",{class:"dataTable-selector"});r.perPageSelect.forEach((function(t){var e=t===r.perPage,n=new Option(t,t,e,e);d.add(n)})),u=u.replace("{select}",d.outerHTML),a=a.replace("{select}",u)}else a=a.replace("{select}","");if(r.searchable){var h="<div class='dataTable-search'><input class='dataTable-input' placeholder='".concat(r.labels.placeholder,"' type='text'></div>");a=a.replace("{search}",h)}else a=a.replace("{search}","");this.hasHeadings&&this.render("header"),this.table.classList.add("dataTable-table");var p=Lr("div",{class:"dataTable-pagination"}),f=Lr("ul");p.appendChild(f),a=a.replace(/\{pager\}/g,p.outerHTML),this.wrapper.innerHTML=a,this.container=this.wrapper.querySelector(".dataTable-container"),this.pagers=this.wrapper.querySelectorAll(".dataTable-pagination"),this.label=this.wrapper.querySelector(".dataTable-info"),this.table.parentNode.replaceChild(this.wrapper,this.table),this.container.appendChild(this.table),this.rect=this.table.getBoundingClientRect(),this.data=mr()(this.body.rows),this.activeRows=vr()(e=this.data).call(e),this.activeHeadings=vr()(n=this.headings).call(n),this.update(),r.ajax||this.setColumns(),this.fixHeight(),this.fixColumns(),r.header||this.wrapper.classList.add("no-header"),r.footer||this.wrapper.classList.add("no-footer"),r.sortable&&this.wrapper.classList.add("sortable"),r.searchable&&this.wrapper.classList.add("searchable"),r.fixedHeight&&this.wrapper.classList.add("fixed-height"),r.fixedColumns&&this.wrapper.classList.add("fixed-columns"),this.bindEvents()}},{key:"renderPage",value:function(){var t=this;if(this.hasHeadings&&(Er(this.header),this.activeHeadings.forEac
541h((function(e){return t.header.appendChild(e)}))),this.hasRows&&this.totalPages){this.currentPage>this.totalPages&&(this.currentPage=1);var e=this.currentPage-1,n=document.createDocumentFragment();this.pages[e].forEach((function(e){return n.appendChild(t.rows().render(e))})),this.clear(n),this.onFirstPage=1===this.currentPage,this.onLastPage=this.currentPage===this.lastPage}else this.setMessage(this.options.labels.noRows);var i,r=0,a=0,s=0;if(this.totalPages&&(s=(a=(r=this.currentPage-1)*this.options.perPage)+this.pages[r].length,a+=1,i=this.searching?this.searchData.length:this.data.length),this.label&&this.options.labels.info.length){var o=this.options.labels.info.replace("{start}",a).replace("{end}",s).replace("{page}",this.currentPage).replace("{pages}",this.totalPages).replace("{rows}",i);this.label.innerHTML=i?o:""}1==this.currentPage&&this.fixHeight()}},{key:"renderPager",value:function(){if(Er(this.pagers),this.totalPages>1){var t="pager",e=document.createDocumentFragment(),n=this.onFirstPage?1:this.currentPage-1,i=this.onLastPage?this.totalPages:this.currentPage+1;this.options.firstLast&&e.appendChild(Cr(t,1,this.options.firstText)),this.options.nextPrev&&e.appendChild(Cr(t,n,this.options.prevText));var r=this.links;this.options.truncatePager&&(r=function(t,e,n,i,r){var a,s=2*(i=i||2),o=e-i,l=e+i,c=[],u=[];e<4-i+s?l=3+s:e>n-(3-i+s)&&(o=n-(2+s));for(var d=1;d<=n;d++)if(1==d||d==n||d>=o&&d<=l){var h=t[d-1];h.classList.remove("active"),c.push(h)}return c.forEach((function(e){var n=e.children[0].getAttribute("data-page");if(a){var i=a.children[0].getAttribute("data-page");if(n-i==2)u.push(t[i]);else if(n-i!=1){var s=Lr("li",{class:"ellipsis",html:'<a href="#">'.concat(r,"</a>")});u.push(s)}}u.push(e),a=e})),u}(this.links,this.currentPage,this.pages.length,this.options.pagerDelta,this.options.ellipsisText)),this.links[this.currentPage-1].classList.add("active"),r.forEach((function(t){t.classList.remove("active"),e.appendChild(t)})),this.links[this.currentPage-1].classList.add("active"),this.options.nextPrev&&e.appendChild(Cr(t,i,this.options.nextText)),this.options.firstLast&&e.appendChild(Cr(t,this.totalPages,this.options.lastText)),this.pagers.forEach((function(t){t.appendChild(e.cloneNode(!0))}))}}},{key:"renderHeader",value:function(){var t=this;this.labels=[],this.headings&&this.headings.length&&this.headings.forEac
541h((function(e,n){if(t.labels[n]=e.textContent,e.firstElementChild&&e.firstElementChild.classList.contains("dataTable-sorter")&&(e.innerHTML=e.firstElementChild.innerHTML),e.sortable="false"!==e.getAttribute("data-sortable"),e.originalCellIndex=n,t.options.sortable&&e.sortable){var i=Lr("a",{href:"#",class:"dataTable-sorter",html:e.innerHTML});e.innerHTML="",e.setAttribute("data-sortable",""),e.appendChild(i)}})),this.fixColumns()}},{key:"bindEvents",value:function(){var t=this,e=this.options;if(e.perPageSelect){var n=this.wrapper.querySelector(".dataTable-selector");n&&n.addEventListener("change",(function(){e.perPage=parseInt(n.value,10),t.update(),t.fixHeight(),t.emit("datatable.perpage",e.perPage)}),!1)}e.searchable&&(this.input=this.wrapper.querySelector(".dataTable-input"),this.input&&this.input.addEventListener("keyup",(function(){return t.search(t.input.value)}),!1)),this.wrapper.addEventListener("click",(function(n){var i=n.target;if("a"===i.nodeName.toLowerCase())if(i.hasAttribute("data-page"))t.page(i.getAttribute("data-page")),n.preventDefault();else if(e.sortable&&i.classList.contains("dataTable-sorter")&&"false"!=i.parentNode.getAttribute("data-sortable")){var r;yr()(r=t.columns()).call(r,t.headings.indexOf(i.parentNode)),n.preventDefault()}}),!1),window.addEventListener("resize",(function(){t.rect=t.container.getBoundingClientRect(),t.fixColumns()}))}},{key:"setColumns",value:function(t){var e=this;t||this.data.forEach((function(t){mr()(t.cells).forEach((function(t){t.data=t.innerHTML}))})),this.options.columns&&this.headings.length&&this.options.columns.forEach((function(t){var n;(Array.isArray(t.select)||(t.select=[t.select]),t.hasOwnProperty("render")&&"function"==typeof t.render)&&(e.selectedColumns=_()(n=e.selectedColumns).call(n,t.select),e.columnRenderers.push({columns:t.select,renderer:t.render}));t.select.forEach((function(n){var i,r=e.headings[n];(t.type&&r.setAttribute("data-type",t.type),t.format&&r.setAttribute("data-format",t.format),t.hasOwnProperty("sortable")&&r.setAttribute("data-sortable",t.sortable),t.hasOwnProperty("hidden")&&!1!==t.hidden&&e.columns().hide([n]),t.hasOwnProperty("sort")&&1===t.select.length)&&yr()(i=e.columns()).call(i,t.select[0],yr()(t),!0)}))})),this.hasRows&&(this.data.forEach((function(t,e){t.dataIndex=e,mr()(t.cells).forEach((function(t){t.data=t.innerHTML}))})),this.selectedColumns.length&&this.data.forEach((function(t){mr()(t.cells).forEach((function(n,i){var r;Z()(r=e.selectedColumns).call(r,i)&&e.columnRenderers.forEach((function(r){var a;Z()(a=r.columns).call(a,i)&&(n.innerHTML=r.renderer.call(e,n.data,n,t))}))}))})),this.columns().rebuild()),this.render("header")}},{key:"destroy",value:function(){this.table.innerHTML=this.initialLayout,this.table.classList.remove("dataTable-table"),this.wrapper.parentNode.replaceChild(this.table,this.wrapper),this.initialized=!1}},{key:"update",value:function(){this.wrapper.classList.remove("dataTable-empty"),this.paginate(this),this.render("page"),this.links=[];for(var t=this.pages.length;t--;){var e=t+1;this.links[t]=Cr(0===t?"active":"",e,e)}this.sorting=!1,this.render("pager"),this.rows().update(),this.emit("datatable.update")}},{key:"paginate",value:function(){var t,e=this,n=this.options.perPage,i=this.activeRows;(this.searching&&(i=[],this.searchData.forEach((function(t){return i.push(e.activeRows[t])}))),this.options.paging)?this.pages=N()(t=$()(i).call(i,(function(t,e){return e%n==0?vr()(i).call(i,e,e+n):null}))).call(t,(function(t){return t})):this.pages=[i];return this.totalPages=this.lastPage=this.pages.length,this.totalPages}},{key:"fixColumns",value:function(){var t=this;if((this.options.scrollY.length||this.options.fixedColumns)&&this.activeHeadings&&this.activeHeadings.length){var e,n=!1;if(this.columnWidths=[],this.table.tHead){if(this.options.scrollY.length&&((n=Lr("thead")).appendChild(Lr("tr")),n.style.height="0px",this.headerTable&&(this.table.tHead=this.headerTable.tHead)
541),this.activeHeadings.forEach((function(t){t.style.width=""})),this.activeHeadings.forEach((function(e,i){var r=e.offsetWidth,a=r/t.rect.width*100;if(e.style.width="".concat(a,"%"),t.columnWidths[i]=r,t.options.scrollY.length){var s=Lr("th");n.firstElementChild.appendChild(s),s.style.width="".concat(a,"%"),s.style.paddingTop="0",s.style.paddingBottom="0",s.style.border="0"}})),this.options.scrollY.length){var i=this.table.parentElement;if(!this.headerTable){this.headerTable=Lr("table",{class:"dataTable-table"});var r=Lr("div",{class:"dataTable-headercontainer"});r.appendChild(this.headerTable),i.parentElement.insertBefore(r,i)}var a=this.table.tHead;this.table.replaceChild(n,a),this.headerTable.tHead=a,this.headerTable.parentElement.style.paddingRight="".concat(this.headerTable.clientWidth-this.table.clientWidth+parseInt(this.headerTable.parentElement.style.paddingRight||"0",10),"px"),i.scrollHeight>i.clientHeight&&(i.style.overflowY="scroll")}}else{e=[],n=Lr("thead");var s=Lr("tr");mr()(this.table.tBodies[0].rows[0].cells).forEach((function(){var t=Lr("th");s.appendChild(t),e.push(t)})),n.appendChild(s),this.table.insertBefore(n,this.body);var o=[];e.forEach((function(e,n){var i=e.offsetWidth,r=i/t.rect.width*100;o.push(r),t.columnWidths[n]=i})),this.data.forEach((function(e){mr()(e.cells).forEach((function(e,n){t.columns(e.cellIndex).visible()&&(e.style.width="".concat(o[n],"%"))}))})),this.table.removeChild(n)}}}},{key:"fixHeight",value:function(){this.options.fixedHeight&&(this.container.style.height=null,this.rect=this.container.getBoundingClientRect(),this.container.style.height="".concat(this.rect.height,"px"))}},{key:"search",value:function(t){var e=this;return!!this.hasRows&&(t=t.toLowerCase(),this.currentPage=1,this.searching=!0,this.searchData=[],t.length?(this.clear(),this.data.forEach((function(n,i){var r,a=Z()(r=e.searchData).call(r,n);t.split(" ").reduce((function(t,i){for(var r=!1,a=null,s=null,o=0;o<n.cells.length;o++){var l;if(s=(a=n.cells[o]).hasAttribute("data-content")?a.getAttribute("data-content"):a.textContent,Z()(l=s.toLowerCase()).call(l,i)&&e.columns(a.cellIndex).visible()){r=!0;break}}return t&&r}),!0)&&!a?(n.searchIndex=i,e.searchData.push(i)):n.searchIndex=null})),this.wrapper.classList.add("search-results"),this.searchData.length?this.update():(this.wrapper.classList.remove("search-results"),this.setMessage(this.options.labels.noRows)),void this.emit("datatable.search",t,this.searchData)):(this.searching=!1,this.update(),this.emit("datatable.search",t,this.searchData),this.wrapper.classList.remove("search-results"),!1))}},{key:"page",value:function(t){return t!=this.currentPage&&(isNaN(t)||(this.currentPage=parseInt(t,10)),!(t>this.pages.length||t<0)&&(this.render("page"),this.render("pager"),void this.emit("datatable.page",t)))}},{key:"sortColumn",value:function(t,e){var n;yr()(n=this.columns()).call(n,t,e)}},{key:"insert",value:function(t){var e=this,n=[];if(Ar(t)){if(t.headings&&!this.hasHeadings&&!this.hasRows){var i,r=Lr("tr");
541t.headings.forEach((function(t){var e=Lr("th",{html:t});r.appendChild(e)})),this.head.appendChild(r),this.header=r,this.headings=vr()([]).call(r.cells),this.hasHeadings=!0,this.options.sortable=this.initialSortable,this.render("header"),this.activeHeadings=vr()(i=this.headings).call(i)}t.data&&Array.isArray(t.data)&&(n=t.data)}else Array.isArray(t)&&t.forEach((function(t){var i=[];pr()(t).forEach((function(t){var n=Object(dr.a)(t,2),r=n[0],a=n[1],s=e.labels.indexOf(r);s>-1&&(i[s]=a)})),n.push(i)}));n.length&&(this.rows().add(n),this.hasRows=!0),this.update(),this.setColumns(),this.fixColumns()}},{key:"refresh",value:function(){this.options.searchable&&(this.input.value="",this.searching=!1),this.currentPage=1,this.onFirstPage=!0,this.update(),this.emit("datatable.refresh")}},{key:"clear",value:function(t){this.body&&Er(this.body);var e=this.body;if(this.body||(e=this.table),t){if("string"==typeof t)document.createDocumentFragment().innerHTML=t;e.appendChild(t)}}},{key:"export",value:function(t){if(!this.hasHeadings&&!this.hasRows)return!1;var e,n,i,r,a=this.activeHeadings,s=[],o=[];if(!Ar(t))return!1;var l=Wr(Wr({},{download:!0,skipColumn:[],lineDelimiter:"\n",columnDelimiter:",",tableName:"myTable",replacer:null,space:4}),t);if(l.type){if("txt"!==l.type&&"csv"!==l.type||(s[0]=this.header),l.selection)if(isNaN(l.selection)){if(Array.isArray(l.selection))for(e=0;e<l.selection.length;e++)s=_()(s).call(s,this.pages[l.selection[e]-1])}else s=_()(s).call(s,this.pages[l.selection-1]);else s=_()(s).call(s,this.activeRows);if(s.length){if("txt"===l.type||"csv"===l.type){for(i="",e=0;e<s.length;e++){for(n=0;n<s[e].cells.length;n++){var c;if(!Z()(c=l.skipColumn).call(c,a[n].originalCellIndex)&&this.columns(a[n].originalCellIndex).visible()){var u=s[e].cells[n].textContent;u=(u=(u=(u=(u=xr()(u).call(u)).replace(/\s{2,}/g," ")).replace(/\n/g,"  ")).replace(/"/g,'""')).replace(/#/g,"%23"),Z()(u).call(u,",")&&(u='"'.concat(u,'"')),i+=u+l.columnDelimiter}}i=xr()(i).call(i).substring(0,i.length-1),i+=l.lineDelimiter}i=xr()(i).call(i).substring(0,i.length-1),l.download&&(i="data:text/csv;charset=utf-8,".concat(i))}else if("sql"===l.type){for(i="INSERT INTO `".concat(l.tableName,"` ("),e=0;e<a.length;e++){var d;!Z()(d=l.skipColumn).call(d,a[e].originalCellIndex)&&this.columns(a[e].originalCellIndex).visible()&&(i+="`".concat(a[e].textContent,"`,"))}for(i=xr()(i).call(i).substring(0,i.length-1),i+=") VALUES ",e=0;e<s.length;e++){for(i+="(",n=0;n<s[e].cells.length;n++){var h;!Z()(h=l.skipColumn).call(h,a[n].originalCellIndex)&&this.columns(a[n].originalCellIndex).visible()&&(i+='"'.concat(s[e].cells[n].textContent,'",'))}i=xr()(i).call(i).substring(0,i.length-1),i+="),"}i=xr()(i).call(i).substring(0,i.length-1),i+=";",l.download&&(i="data:application/sql;charset=utf-8,".concat(i))}else if("json"===l.type){for(n=0;n<s.length;n++)for(o[n]=o[n]||{},e=0;e<a.length;e++){var p;!Z()(p=l.skipColumn).call(p,a[e].originalCellIndex)&&this.columns(a[e].originalCellIndex).visible()&&(o[n][a[e].textContent]=s[n].cells[e].textContent)}i=Mr()(o,l.replacer,l.space),l.download&&(i="data:application/json;charset=utf-8,".concat(i))}return l.download&&(l.filename=l.filename||"datatable_export",l.filename+=".".concat(l.type),i=encodeURI(i),(r=document.createElement("a")).href=i,r.download=l.filename,document.body.appendChild(r),r.click(),document.body.removeChild(r)),i}}return!1}},{key:"import",value:function(t){var e=!1;if(!Ar(t))return!1;var n=Wr(Wr({},{lineDelimiter:"\n",columnDelimiter:","}),t);if(n.data.length||Ar(n.data)){if("csv"===n.type){e={data:[]};var i=n.data.split(n.lineDelimiter);i.length&&(n.headings&&(e.headings=i[0].split(n.columnDelimiter),i.shift()),i.forEach((function(t,i){e.data[i]=[];var r=t.split(n.columnDelimiter);r.length&&r.forEach((function(t){e.data[i].push(t)}))})))}else if("json"===n.type){var r=function(t){var e=!1;try{e=JSON.parse(t)}catch(t){return!1}return!(null===e||!Array.isArray(e)&&!Ar(e))&&e}(n.data);r&&(e={headings:[],data:[]},r.forEach((function(t,n){e.data[n]=[],pr()(t).forEach((function(t){var i,r=Object(dr.a)(t,2),a=r[0],s=r[1];Z()(i=e.headings).call(i,a)||e.headings.push(a),e.data[n].push(s)}))})))}Ar(n.data)&&(e=n.data),e&&this.insert(e)}return!1}},{key:"print",value:function(){var t=this.activeHeadings,e=this.activeRows,n=Lr("table"),i=Lr("thead"),r=Lr("tbody"),a=Lr("tr");t.forEach((function(t){a.appendChild(Lr("th",{html:t.textContent}))})),i.appendChild(a),e.forEach((function(t){var e=Lr("tr");
541mr()(t.cells).forEach((function(t){e.appendChild(Lr("td",{html:t.textContent}))})),r.appendChild(e)})),n.appendChild(i),n.appendChild(r);var s=window.open();s.document.body.appendChild(n),s.print()}},{key:"setMessage",value:function(t){var e,n=1;this.hasRows?n=this.data[0].cells.length:this.activeHeadings.length&&(n=this.activeHeadings.length),this.wrapper.classList.add("dataTable-empty"),this.label&&(this.label.innerHTML=""),this.totalPages=0,this.render("pager"),this.clear(Lr("tr",{html:_()(e='<td class="dataTables-empty" colspan="'.concat(n,'">')).call(e,t,"</td>")}))}},{key:"columns",value:function(t){return new Br(this,t)}},{key:"rows",value:function(t){return new Dr(this,t)}},{key:"on",value:function(t,e){this.events=this.events||{},this.events[t]=this.events[t]||[],this.events[t].push(e)}},{key:"off",value:function(t,e){var n;this.events=this.events||{},t in this.events!=!1&&Tr()(n=this.events[t]).call(n,this.events[t].indexOf(e),1)}},{key:"emit",value:function(t){if(this.events=this.events||{},t in this.events!=!1)for(var e=0;e<this.events[t].length;e++)this.events[t][e].apply(this,vr()(Array.prototype).call(arguments,1))}}],[{key:"extend",value:function(e,n){"function"==typeof n?t.prototype[e]=n:t[e]=n}}]),t}(),qr=f((function t(){u(this,t);var e=window.navigator.userAgent;/MSIE|Trident/.test(e)||(this.elements=Re("[data-table]",(function(t){var e={},n=t.getAttribute("data-table-labels");n&&(e.labels=JSON.parse(n)),new Gr(t,e)})))})),Xr=n(340),$r=n(344),Kr=n(345),Jr={ROOT:"mdc-text-field-character-counter"},Qr={ROOT_SELECTOR:"."+Jr.ROOT},Zr=function(t){function e(n){return t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this}return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return Jr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Qr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{setContent:function(){}}},enumerable:!1,configurable:!0}),e.prototype.setCounterValue=function(t,e){t=Math.min(t,e),this.adapter.setContent(t+" / "+e)},e}(Ct.a),ta=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new Zr({setContent:function(e){t.root.textContent=e}})},e}(At.a),ea={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},na={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},ia={LABEL_SCALE:.75},ra=["pattern","min","max","required","step","minlength","maxlength"],aa=["color","date","datetime-local","month","range","time","week"],sa=["mousedown","touchstart"],oa=["click","keydown"],la=function(t){function e(n,i){void 0===i&&(i={});var r=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return r.isFocused=!1,r.receivedUserInput=!1,r.valid=!0,r.useNativeValidation=!0,r.validateOnValueChange=!0,r.helperText=i.helperText,r.characterCounter=i.characterCounter,r.leadingIcon=i.leadingIcon,r.trailingIcon=i.trailingIcon,r.inputFocusHandler=function(){r.activateFocus()},r.inputBlurHandler=function(){r.deactivateFocus()},r.inputInputHandler=function(){r.handleInput()},r.setPointerXOffset=function(t){r.setTransformOrigin(t)},r.textFieldInteractionHandler=function(){r.handleTextFieldInteraction()},r.validationAttributeChangeHandler=function(t){r.handleValidationAttributeChange(t)}
541,r}return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return na},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return ea},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return ia},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldAlwaysFloat",{get:function(){var t=this.getNativeInput().type;return aa.indexOf(t)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t,e,n,i;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var r=Object(Tt.e)(sa),a=r.next();!a.done;a=r.next()){var s=a.value;this.adapter.registerInputInteractionHandler(s,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}try{for(var o=Object(Tt.e)(oa),l=o.next();!l.done;l=o.next()){s=l.value;this.adapter.registerTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},e.prototype.destroy=function(){var t,e,n,i;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var r=Object(Tt.e)(sa),a=r.next();!a.done;a=r.next()){var s=a.value;this.adapter.deregisterInputInteractionHandler(s,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}try{for(var o=Object(Tt.e)(oa),l=o.next();!l.done;l=o.next()){s=l.value;this.adapter.deregisterTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},e.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput=!0)},e.prototype.handleValidationAttributeChange=function(t){var e=this;t.some((function(t){return ra.indexOf(t)>-1&&(e.styleValidity(!0),e.adapter.setLabelRequired(e.getNativeInput().required),!0)})),t.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(t){var e=this.adapter.getLabelWidth()*ia.LABEL_SCALE;this.adapter.notchOutline(e)}else this.adapter.closeOutline()},e.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText||!this.helperText.isPersistent
vendor: 4,069 bytes, line 541
541()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()},e.prototype.setTransformOrigin=function(t){if(!this.isDisabled()&&!this.adapter.hasOutline()){var e=t.touches,n=e?e[0]:t,i=n.target.getBoundingClientRect(),r=n.clientX-i.left;this.adapter.setLineRippleTransformOrigin(r)}},e.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},e.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},e.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity(t),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},e.prototype.getValue=function(){return this.getNativeInput().value},e.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput().value=t),this.setcharacterCounter(t.length),this.validateOnValueChange){var e=this.isValid();this.styleValidity(e)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},e.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},e.prototype.setValid=function(t){this.valid=t,this.styleValidity(t);var e=!t&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(e)},e.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange=t},e.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},e.prototype.setUseNativeValidation=function(t){this.useNativeValidation=t},e.prototype.isDisabled=function(){return this.getNativeInput().disabled},e.prototype.setDisabled=function(t){this.getNativeInput().disabled=t,this.styleDisabled(t)},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon&&this.trailingIcon.setAriaLabel(t)},e.prototype.setTrailingIconContent=function(t){this.trailingIcon&&this.trailingIcon.setContent(t)},e.prototype.setcharacterCounter=function(t){if(this.characterCounter){var e=this.getNativeInput().maxLength;if(-1===e)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(t,e)}},e.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},e.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},e.prototype.styleValidity=function(t){var n=e.cssClasses.INVALID;if(t?this.adapter.removeClass(n):this.adapter.addClass(n),this.helperText){if(this.helperText.setValidity(t),!this.helperText.isValidation())return;var i=this.helperText.isVisible(),r=this.helperText.getId();i&&r?this.adapter.setInputAttr(ea.ARIA_DESCRIBEDBY,r):this.adapter.removeInputAttr(ea.ARIA_DESCRIBEDBY)}},e.prototype.styleFocused=function(t){var n=e.cssClasses.FOCUSED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.styleDisabled=function(t){var n=e.cssClasses,i=n.DISABLED,r=n.INVALID;t?(this.adapter.addClass(i),this.adapter.removeClass(r)):this.adapter.removeClass(i),this.leadingIcon&&this.leadingIcon.setDisabled(t),this.trailingIcon&&this.trailingIcon.setDisabled(t)},e.prototype.styleFloating=function(t){var n=e.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},e}
541(Ct.a),ca={HELPER_TEXT_PERSISTENT:"mdc-text-field-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-text-field-helper-text--validation-msg",ROOT:"mdc-text-field-helper-text"},ua={ARIA_HIDDEN:"aria-hidden",ROLE:"role",ROOT_SELECTOR:"."+ca.ROOT},da=function(t){function e(n){return t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this}return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return ca},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return ua},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),e.prototype.getId=function(){return this.adapter.getAttr("id")},e.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(ua.ARIA_HIDDEN)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.isPersistent=function(){return this.adapter.hasClass(ca.HELPER_TEXT_PERSISTENT)},e.prototype.setPersistent=function(t){t?this.adapter.addClass(ca.HELPER_TEXT_PERSISTENT):this.adapter.removeClass(ca.HELPER_TEXT_PERSISTENT)},e.prototype.isValidation=function(){return this.adapter.hasClass(ca.HELPER_TEXT_VALIDATION_MSG)},e.prototype.setValidation=function(t){t?this.adapter.addClass(ca.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(ca.HELPER_TEXT_VALIDATION_MSG)},e.prototype.showToScreenReader=function(){this.adapter.removeAttr(ua.ARIA_HIDDEN)},e.prototype.setValidity=function(t){var e=this.adapter.hasClass(ca.HELPER_TEXT_PERSISTENT),n=this.adapter.hasClass(ca.HELPER_TEXT_VALIDATION_MSG)&&!t;n?(this.showToScreenReader(),"alert"===this.adapter.getAttr(ua.ROLE)?this.refreshAlertRole():this.adapter.setAttr(ua.ROLE,"alert")):this.adapter.removeAttr(ua.ROLE),e||n||this.hide()},e.prototype.hide=function(){this.adapter.setAttr(ua.ARIA_HIDDEN,"true")},e.prototype.refreshAlertRole=function(){var t=this;this.adapter.removeAttr(ua.ROLE),requestAnimationFrame((function(){t.adapter.setAttr(ua.ROLE,"alert")}))},e}(Ct.a),ha=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new da({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e}})},e}(At.a),pa={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"},fa={ROOT:"mdc-text-field__icon"},ma=["click","keydown"],ga=function(t){function e(n){var i=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return i.savedTabIndex=null,i.interactionHandler=function(t){i.handleInteraction(t)},i}return Object(Tt.b)(e,t),Object.defineProperty(e,"strings",{get:function(){return pa},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return fa},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t,e;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=Object(Tt.e)(ma),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.registerInteractionHandler(r,this.interactionHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.destroy=function(){var t,e;try{for(var n=Object(Tt.e)(ma),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.deregisterInteractionHandler(r,this.interactionHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.setDisabled=function(t){this.savedTabIndex&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",pa.ICON_ROLE)))},e.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;("click"===t.type||e)&&(t.preventDefault(),this.adapter.notifyIconAction())},e}(Ct.a),va=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForTextField",{get:function(){return this.foundation}
vendor: 4,180 bytes, line 541
541,enumerable:!1,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new ga({getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)},notifyIconAction:function(){return t.emit(ga.strings.ICON_EVENT,{},!0)}})},e}(At.a),_a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e,n,i,r,a,s){void 0===t&&(t=function(t,e){return new Ft.a(t,e)}),void 0===e&&(e=function(t){return new $r.a(t)}),void 0===n&&(n=function(t){return new ha(t)}),void 0===i&&(i=function(t){return new ta(t)}),void 0===r&&(r=function(t){return new va(t)}),void 0===a&&(a=function(t){return new Xr.a(t)}),void 0===s&&(s=function(t){return new Kr.a(t)}),this.input=this.root.querySelector(ea.INPUT_SELECTOR);var o=this.root.querySelector(ea.LABEL_SELECTOR);this.label=o?a(o):null;var l=this.root.querySelector(ea.LINE_RIPPLE_SELECTOR);this.lineRipple=l?e(l):null;var c=this.root.querySelector(ea.OUTLINE_SELECTOR);this.outline=c?s(c):null;var u=da.strings,d=this.root.nextElementSibling,h=d&&d.classList.contains(na.HELPER_LINE),p=h&&d&&d.querySelector(u.ROOT_SELECTOR);this.helperText=p?n(p):null;var f=Zr.strings,m=this.root.querySelector(f.ROOT_SELECTOR);!m&&h&&d&&(m=d.querySelector(f.ROOT_SELECTOR)),this.characterCounter=m?i(m):null;var g=this.root.querySelector(ea.LEADING_ICON_SELECTOR);this.leadingIcon=g?r(g):null;var v=this.root.querySelector(ea.TRAILING_ICON_SELECTOR);this.trailingIcon=v?r(v):null,this.prefix=this.root.querySelector(ea.PREFIX_SELECTOR),this.suffix=this.root.querySelector(ea.SUFFIX_SELECTOR),this.ripple=this.createRipple(t)},e.prototype.destroy=function(){this.ripple&&this.ripple.destroy(),this.lineRipple&&this.lineRipple.destroy(),this.helperText&&this.helperText.destroy(),this.characterCounter&&this.characterCounter.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.trailingIcon&&this.trailingIcon.destroy(),this.label&&this.label.destroy(),this.outline&&this.outline.destroy(),t.prototype.destroy.call(this)},e.prototype.initialSyncWithDOM=function(){this.disabled=this.input.disabled},Object.defineProperty(e.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(t){this.foundation.setValue(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.foundation.isDisabled()},set:function(t){this.foundation.setDisabled(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(t){this.foundation.setValid(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this.input.required},set:function(t){this.input.required=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){return this.input.pattern},set:function(t){this.input.pattern=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minLength",{get:function(){return this.input.minLength},set:function(t){this.input.minLength=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this.input.maxLength},set:function(t){t<0?this.input.removeAttribute("maxLength"):this.input.maxLength=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this.input.min},set:function(t){this.input.min=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this.input.max},set:function(t){this.input.max=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this.input.step},set:function(t){this.input.step=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"helperTextContent",{set:function(t){this.foundation.setHelperTextContent(t)}
541,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconAriaLabel",{set:function(t){this.foundation.setLeadingIconAriaLabel(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconContent",{set:function(t){this.foundation.setLeadingIconContent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trailingIconAriaLabel",{set:function(t){this.foundation.setTrailingIconAriaLabel(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trailingIconContent",{set:function(t){this.foundation.setTrailingIconContent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"useNativeValidation",{set:function(t){this.foundation.setUseNativeValidation(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"prefixText",{get:function(){return this.prefix?this.prefix.textContent:null},set:function(t){this.prefix&&(this.prefix.textContent=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"suffixText",{get:function(){return this.suffix?this.suffix.textContent:null},set:function(t){this.suffix&&(this.suffix.textContent=t)},enumerable:!1,configurable:!0}),e.prototype.focus=function(){this.input.focus()},e.prototype.layout=function(){var t=this.foundation.shouldFloat;this.foundation.notchOutline(t)},e.prototype.getDefaultFoundation=function(){var t=Object(Tt.a)(Object(Tt.a)(Object(Tt.a)(Object(Tt.a)(Object(Tt.a)({},this.getRootAdapterMethods()),this.getInputAdapterMethods()),this.getLabelAdapterMethods()),this.getLineRippleAdapterMethods()),this.getOutlineAdapterMethods());return new la(t,this.getFoundationMap())},e.prototype.getRootAdapterMethods=function(){var t=this;return{addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},registerTextFieldInteractionHandler:function(e,n){t.listen(e,n)},deregisterTextFieldInteractionHandler:function(e,n){t.unlisten(e,n)},registerValidationAttributeChangeHandler:function(e){var n=new MutationObserver((function(t){return e(function(t){return t.map((function(t){return t.attributeName})).filter((function(t){return t}))}(t))}));return n.observe(t.input,{attributes:!0}),n},deregisterValidationAttributeChangeHandler:function(t){t.disconnect()}}},e.prototype.getInputAdapterMethods=function(){var t=this;return{getNativeInput:function(){return t.input},setInputAttr:function(e,n){t.input.setAttribute(e,n)},removeInputAttr:function(e){t.input.removeAttribute(e)},isFocused:function(){return document.activeElement===t.input},registerInputInteractionHandler:function(e,n){t.input.addEventListener(e,n,Object(Lt.a)())},deregisterInputInteractionHandler:function(e,n){t.input.removeEventListener(e,n,Object(Lt.a)())}}},e.prototype.getLabelAdapterMethods=function(){var t=this;return{floatLabel:function(e){t.label&&t.label.float(e)},getLabelWidth:function(){return t.label?t.label.getWidth():0},hasLabel:function(){return Boolean(t.label)},shakeLabel:function(e){t.label&&t.label.shake(e)},setLabelRequired:function(e){t.label&&t.label.setRequired(e)}}},e.prototype.getLineRippleAdapterMethods=function(){var t=this;return{activateLineRipple:function(){t.lineRipple&&t.lineRipple.activate()},deactivateLineRipple:function(){t.lineRipple&&t.lineRipple.deactivate()},setLineRippleTransformOrigin:function(e){t.lineRipple&&t.lineRipple.setRippleCenter(e)}}},e.prototype.getOutlineAdapterMethods=function(){var t=this;return{closeOutline:function(){t.outline&&t.outline.closeNotch()},hasOutline:function(){return Boolean(t.outline)},notchOutline:function(e){t.outline&&t.outline.notch(e)}}},e.prototype.getFoundationMap=function(){return{characterCounter:this.characterCounter?this.characterCounter.foundationForTextField:void 0,helperText:this.helperText?this.helperText.foundationForTextField:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForTextField:void 0,trailingIcon:this.trailingIcon?this.trailingIcon.foundationForTextField:void 0}},e.prototype.createRipple=function(t){var e=this,n=this.root.classList.contains(na.TEXTAREA),i=this.root.classList.contains(na.OUTLINED);if(n||i)return null;var r=Object(Tt.a)(Object(Tt.a)({},Ft.a.createAdapter(this)),{isSurfaceActive:function(){return Et.c(e.input,":active")},registerInteractionHandler:function(t,n){e.input.addEventListener(t,n,Object(Lt.a)())},deregisterInteractionHandler:function(t,n){e.input.removeEventListener(t,n,Object(Lt.a)())}});return t(this.root,new Ht.a(r))},e}(At.a),ya=n(220),ba=f((function t(){var e=this;u(this,t),this.uid=(new Date).valueOf(),this.elements=Re(".mdc-text-field-wrapper",(function(t){var n="mdc-text-field-".concat(e.uid),i=t.querySelector(".mdc-text-field__input"),r=t.querySelector("label"),a=t.querySelector(".mdc-text-field-character-counter"),s=O(t.getAttribute("data-i18n"));e.uid++,r&&(i.setAttribute("id",n),r.setAttribute("for",n));var o=new _a(t.querySelector(".mdc-text-field")),l=new ha(t.querySelector(".mdc-text-field-helper
541-text"));a&&new ta(a),i.addEventListener("blur",(function(){o.valid||(""===o.value&&o.required?l.foundation.setContent(s.required):o.minLength>0&&o.value.length<o.minLength?l.foundation.setContent(Object(ya.a)(s.minLength,{minLength:o.minLength})):o.maxLength>0&&o.value.length>o.maxLength?l.foundation.setContent(Object(ya.a)(s.maxLength,{maxLength:o.maxLength})):+o.min>0&&o.value<+o.min?l.foundation.setContent(Object(ya.a)(s.min,{min:o.min})):+o.max>0&&o.value>+o.max?l.foundation.setContent(Object(ya.a)(s.max,{max:o.max})):o.step>0&&o.value%o.step!=0?l.foundation.setContent(Object(ya.a)(s.step,{step:o.step})):"email"===i.type?l.foundation.setContent(s.email):"url"===i.type?l.foundation.setContent(s.url):l.foundation.setContent(s.pattern))}))}))})),xa=f((function t(){var e=this;u(this,t),this.uid=(new Date).valueOf(),this.elements=Re(".recaptcha-field",(function(t){var n=t.querySelector(".g-recaptcha"),i=t.querySelector(".recaptcha-field__checkbox"),r="checkRecaptcha".concat(e.uid),a="uncheckRecaptcha".concat(e.uid);e.uid++,n.setAttribute("data-callback",r),n.setAttribute("data-expired-callback",a),window[r]=function(){i.checked=!0},window[a]=function(){i.checked=!1}}))})),wa=f((function t(){u(this,t),this.elements=Re("[data-print-button]",(function(t){t.addEventListener("click",(function(){window.print()}))}))})),Ma=n(1113),Sa=n.n(Ma),Ta=f((function t(){u(this,t),Sa()()})),Aa=f((function t(){var e,n=this;u(this,t),this.options={speed:800,grabCursor:!0,slidesPerView:1,modules:[Vn,Bn],breakpoints:(e={},Object(q.a)(e,je.a.sm,{slidesPerView:2}),Object(q.a)(e,je.a.md,{slidesPerView:3}),Object(q.a)(e,je.a.lg,{slidesPerView:4}),e),spaceBetween:0,pagination:{el:"[data-swiper-pagination]",type:"bullets"},navigation:{nextEl:'[data-swiper-button="next"]',prevEl:'[data-swiper-button="prev"]'}},Re(".product-slider .swiper",(function(t){if(t.querySelectorAll(".swiper-slide").length>1){var e=t.querySelectorAll(".swiper-slide").length;new Hn(t,n.options),t.querySelector(".product-slider__actions").classList.remove("is-hidden"),e<4?t.classList.add("has-less-slides"):4===e&&t.classList.add("has-matching-slides")}else t.classList.add("has-one-slide")}))})),La=function(){function t(){var e=this;u(this,t);var n=document.currentScript,i=n&&n.getAttribute("data-search-param"),r=new ye.a(window.location.search),a=r.get(i);this.selectors=[".summary-teaser__head",".summary-teaser__body",".text-image-tile__headline",".text-image-tile__body",".overview-teaser__title",".overview-teaser__intro",".hero-slide__headline",".overline",".intro__text",".section-entry__headline",".section-entry__lead",".image-text__copy"],a&&(this.selectors.forEach((function(t){Re(t,(function(t){e.highlighTerm(t,a)}))})),this.removeUrlParam(r,i))}return f(t,[{key:"highlighTerm",value:function(t,e){var n,i,r=t.innerHTML,a=r.toLowerCase().indexOf(e.toLowerCase()),s=r.substring(0,a),o=r.substring(a,a+e.length),l=r.substring(a+e.length);Z()(s).call(s,"<a")&&!Z()(s).call(s,"</a>")||a>=0&&(r=_()(n=_()(i="".concat(s,'<mark class="highlight">')).call(i,o,"</mark>")).call(n,l),t.innerHTML=r)}},{key:"removeUrlParam",value:function(t,e){var n,i,r;t.delete(e);var a=t.toString().length>0?"?":"",s=_()(n=_()(i=_()(r="".concat(window.location.pathname)).call(r,a)).call(i,t.toString())).call(n,window.location.hash);window.history.replaceState({},"",s)}}]),t}(),Ea=function(){function t(){var e=this;u(this,t);this.elements=Re("[data-benefits]",(function(t){t.querySelectorAll(".benefit__item").forEach((function(n){!!n.querySelector(".benefit__item-overlayed")&&(n.classList.add("is-clickable"),n.addEventListener("click",(function(){e.benefitClickHandler(n,t)})))}))}))}return f(t,[{key:"benefitClickHandler",value:function(t,e){t.classList.toggle("is-expanded"),e.classList.toggle("has-active-item")}}]),t}();
542/*!
543 *
544 * Vanilla-DataTables
545 * Copyright (c) 2015-2017 Karl Saunders (http://mobius.ovh)
546 * Licensed under MIT (http://www.opensource.org/licenses/mit-license.php)
547 *
548 * Version: 1.6.14
549 *
550 */function Ca(t,e){var n=E()(t);if(z.a){var i=z()(t);e&&(i=N()(i).call(i,(function(e){return V()(t,e).enumerable}))),n.push.apply(n,i)}return n}var Ia=function(){function t(){var e=this;u(this,t),this.elements=Re("[data-flockler]",(function(t){if(e.displayId=t.getAttribute("data-display-id"),e.tabs=JSON.parse(t.getAttribute("data-tabs")),e.globalConfig=JSON.parse(t.getAttribute("data-config")),e.tabButtons=t.querySelectorAll(".mdc-tab"),e.container=t.querySelector("#flockler-embed-".concat(e.displayId)),e.container)var n=setInterval((function(){window.flcklr&&window.flcklr.Embeds&&(clearInterval(n),e.embed=window.flcklr.Embeds.create(e.createConfig(e.tabs[0].config)),e.tabButtons&&e.tabButtons.forEach((function(t,n){t.addEventListener("click",(function(){e.renderFlocklerEmbed(e.tabs[n].config)}))}
550)))}),200)}))}return f(t,[{key:"createConfig",value:function(t){var e=Ye()({},window.flcklr.EmbedConfigs[this.displayId],this.globalConfig);return t&&(e=Ye()({},e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ca(Object(n),!0).forEach((function(e){Object(q.a)(t,e,n[e])})):G.a?Object.defineProperties(t,G()(n)):Ca(Object(n)).forEach((function(e){Object.defineProperty(t,e,V()(n,e))}))}return t}({},t))),e}},{key:"renderFlocklerEmbed",value:function(t){this.embed.destroy(),this.embed=null,this.embed=window.flcklr.Embeds.create(this.createConfig(t))}}]),t}(),Da=n(1114),ka=f((function t(){u(this,t);this.elements=Re("[data-panorama-viewer]",(function(t){var e=t.getAttribute("data-img"),n=t.getAttribute("data-i18n"),i=O(n);e&&new Da.Viewer({container:t,panorama:e,lang:i,navbar:["autorotate","zoom","move","caption","fullscreen"]})}))}));const Oa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ra="=".charCodeAt(0),Pa=new Uint8Array(256);for(let t=0;t<Oa.length;t++)Pa[Oa.charCodeAt(t)]=t;function Na(t){const e=t.length;let n="";for(let i=0;i<e;i+=3){const e=t[i+0],r=t[i+1],a=t[i+2];let s="";s+=Oa.charAt(e>>>2),s+=Oa.charAt((3&e)<<4|r>>>4),s+=Oa.charAt((15&r)<<2|a>>>6),s+=Oa.charAt(63&a),n+=s}return e%3==2?n=n.substring(0,n.length-1)+"=":e%3==1&&(n=n.substring(0,n.length-2)+"=="),n}const Ya='<circle cx="12" cy="12" r="8" stroke-width="3" stroke-dasharray="15 10" fill="none" stroke-linecap="round" transform="rotate(0 12 12)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="0.9s" values="0 12 12;360 12 12"/></circle>',Fa='<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>';function Ha(t,e,n,i,r,a,s=!1,o,l){return`<div class="frc-container${l?" "+l:""}">\n<svg class="frc-icon"${n?' aria-hidden="true"':""} role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">${e}</svg>\n<div class="frc-content">\n    <span class="frc-text" ${o?`title="${o}"`:""}>${i}</span>\n    ${a?`<button type="button" class="frc-button">${a}</button>`:""}\n    ${s?'<progress class="frc-progress" value="0">0%</progress>':""}\n</div>\n</div><span class="frc-banner"><a lang="en" href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>\n<input name="${t}" class="frc-captcha-solution" type="hidden" value="${r}">`}function ja(t,e,n,i=!0,r=!1){return Ha(t,Fa,!0,`<b>${e.text_error}</b><br>${n}`,r?".HEADLESS_ERROR":".ERROR",i?e.button_retry:void 0)}let Ba,za;"undefined"!=typeof navigator&&(Ba=navigator,za=Ba.userAgent.toLowerCase());function Ua(t){const e=t.split("."),n=e[1],i=function(t){const e=t.length;let n=3*e>>>2;t.charCodeAt(e-1)===Ra&&n--,t.charCodeAt(e-2)===Ra&&n--;const i=new Uint8Array(n);for(let n=0,r=0;n<e;n+=4){const e=Pa[t.charCodeAt(n+0)],a=Pa[t.charCodeAt(n+1)],s=Pa[t.charCodeAt(n+2)],o=Pa[t.charCodeAt(n+3)];i[r++]=e<<2|a>>4,i[r++]=(15&a)<<4|s>>2,i[r++]=(3&s)<<6|63&o}return i}(n);return{signature:e[0],base64:n,buffer:i,n:i[14],threshold:(r=i[15],r>255?r=255:r<0&&(r=0),Math.pow(2,(255.999-r)/8)>>>0),expiry:3e5*i[13]};var r}async function Va(t,e,n){let i=1e3;return fetch(t,e).catch(async r=>{if(0===n)throw r;return await new Promise(t=>setTimeout(t,i)),i*=4,Va(t,e,n-1)})}const Wa={text_init:" Aktiverer...",text_ready:"Jeg er ikke en robot",button_start:"Klikk for Ã¥ starte verifiseringen",text_fetching:"Henter data",text_solving:"Sjekker at du er et menneske...",text_completed:"Jeg er et menneske",text_completed_sr:"Automatisk spam-sjekk fullført",text_expired:"Verifisering kunne ikke fullføres",button_restart:"Omstart",text_error:"Bekreftelsen mislyktes",button_retry:"Prøv pÃ¥ nytt",text_fetch_error:"Tilkoblingen mislyktes"},Ga={en:{text_init:"Initializing...",text_ready:"Anti-Robot Verification",button_start:"Click to start verification",text_fetching:"Fetching Challenge",text_solving:"Verifying you are human...",text_completed:"I am human",text_completed_sr:"Automatic spam check completed",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},de:{text_init:"Initialisierung...",text_ready:"Anti-Roboter-Verifizierung",button_start:"Hier klicken",text_fetching:"Herausforderung laden...",text_solving:"Verifizierung, dass Sie ein Mensch sind...",text_completed:"Ich bin ein Mensch",text_completed_sr:"Automatische Spamprüfung abgeschlossen",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},nl:{text_init:"Initializeren...",text_ready:"Anti-robotverificatie",button_start:"Klik om te starten",text_fetching:"Aan het laden...",text_solving:"Anti-robotverificatie bezig...",text_completed:"Ik ben een mens",text_completed_sr:"Automatische anti-spamcheck voltooid",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},fr:{text_init:"Chargement...",text_ready:"Vérification Anti-Robot",button_start:"Cliquez ici pour vérifier",text_fetching:"Chargement du défi",text_solving:"Vérification que vous êtes un humain...",text_completed:"Je suis un humain",text_completed_sr:"Vérification automatique des spams terminée",text_expired:"Vérification anti-robot expirée",button_restart:"Redémarrer",text_error:"Échec de la vérification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},it:{text_init:"Inizializzazione...",text_ready:"Verifica Anti-Robot",button_start:"Clicca per iniziare",text_fetching:"Caricamento...",text_solving:"Verificando che sei umano...",text_completed:"Non sono un robot",text_completed_sr:"Controllo automatico dello spam completato",text_expired:"Verifica Anti-Robot scaduta",button_restart:"Ricomincia",text_error:"Verifica fallita",button_retry:"Riprova",text_fetch_error:"Problema di connessione con"},pt:{text_init:"Inicializando...",text_ready:"Verificação Anti-Robô",button_start:"Clique para iniciar verificação",text_fetching:"Carregando...",text_solving:"Verificando se você é humano...",text_completed:"Eu sou humano",text_completed_sr:"Verificação automática de spam concluída",text_expired:"Verificação Anti-Robô expirada",button_restart:"Reiniciar",text_error:"Verificação falhou",button_retry:"Tentar novamente",text_fetch_error:"Falha de conexão com"},es:{text_init:"Inicializando...",text_ready:"Verificación Anti-Robot",button_start:"Haga clic para iniciar la verificación",text_fetching:"Cargando desafío",text_solving:"Verificando que eres humano...",text_completed:"Soy humano",text_completed_sr:"Verificación automática de spam completada",text_expired:"Verificación Anti-Robot expirada",button_restart:"Reiniciar",text_error:"Ha fallado la verificación",button_retry:"Intentar de nuevo",text_fetch_error:"Error al conectarse a"},ca:{text_init:"Inicialitzant...",text_ready:"Verificació Anti-Robot",button_start:"Fes clic per començar la verificació",text_fetching:"Carregant repte",text_solving:"Verificant que ets humà...",text_completed:"Soc humà",text_completed_sr:"Verificació automàtica de correu brossa completada",text_expired:"La verificació Anti-Robot ha expirat",button_restart:"Reiniciar",text_error:"Ha fallat la verificació",button_retry:"Tornar a provar",text_fetch_error:"Error connectant a"},ja:{text_init:"開始しています...",text_ready:"アンチロボット認証",button_start:"クリックして認証を開始",text_fetching:"ロードしています",text_solving:"認証中...",text_completed:"私はロボットではありません",text_completed_sr:"自動スパムチェックが完了しました",text_expired:"認証の期限が切れています",button_restart:"再度認証を行う",text_error:"認証にエラーが発生しました",button_retry:"再度認証を行う",text_fetch_error:"接続ができませんでした"},da:{text_init:"Aktiverer...",text_ready:"Jeg er ikke en robot",button_start:"Klik for at starte verifikationen",text_fetching:"Henter data",text_solving:"Kontrollerer at du er et menneske...",text_completed:"Jeg er et menneske.",text_completed_sr:"Automatisk spamkontrol gennemført",text_expired:"Verifikationen kunne ikke fuldføres",button_restart:"Genstart",text_error:"Bekræftelse mislykkedes",button_retry:"Prøv igen",text_fetch_error:"Forbindelsen mislykkedes"},ru:{text_init:"Инициализация...",text_ready:"АнтиРобот проверка",button_start:"Нажмите, чтобы начать проверку",text_fetching:"Получаю задачу",text_solving:"Проверяю, что вы человек...",text_completed:"Я человек",text_completed_sr:"Aвтоматическая проверка на спам завершена",text_expired:"Срок АнтиРоботной проверки истёк",button_restart:"Начать заново",text_error:"Ошибка проверки",button_retry:"Повторить ещё раз",text_fetch_error:"Ошибка подключения"},sv:{text_init:"Aktiverar...",text_ready:"Jag är inte en robot",button_start:"Klicka för att verifiera",text_fetching:"Hämtar data",text_solving:"Kontrollerar att du är människa...",text_completed:"Jag är en människa",text_completed_sr:"Automatisk spamkontroll slutförd",text_expired:"Anti-robot-verifieringen har löpt ut",button_restart:"Börja om",text_error:"Verifiering kunde inte slutföras",button_retry:"Omstart",text_fetch_error:"Verifiering misslyckades"},tr:{text_init:"Başlatılıyor...",text_ready:"Anti-Robot Doğrulaması",button_start:"Doğrulamayı başlatmak için tıklayın",text_fetching:"Yükleniyor",text_solving:"Robot olmadığınız doğrulanıyor...",text_completed:"Ben bir insanım",text_completed_sr:"Otomatik spam kontrolü tamamlandı",text_expired:"Anti-Robot doğrulamasının süresi doldu",button_restart:"Yeniden başlat",text_error:"Doğrulama başarısız oldu",button_retry:"Tekrar dene",text_fetch_error:"Bağlantı başarısız oldu"},el:{text_init:"Προετοιμασία...",text_ready:"Anti-Robot Επαλήθευση",button_start:" Κάντε κλικ για να ξεκινήσει η επαλήθευσης",text_fetching:" Λήψη πρόκλησης",text_solving:" Επιβεβαίωση ανθρώπου...",text_completed:"Είμαι άνθρωπος",text_completed_sr:" Ο αυτόματος έλεγχος ανεπιθύμητου περιεÏ
550‡Î¿Î¼Î­Î½Î¿Ï… ολοκληρώθηκε",text_expired:" Η επαλήθευση Anti-Robot έληξε",button_restart:" Επανεκκίνηση",text_error:" Η επαλήθευση απέτυχε",button_retry:" Δοκιμάσετε ξανά",text_fetch_error:" Αποτυχία σύνδεσης με"},uk:{text_init:"Ініціалізація...",text_ready:"Антиробот верифікація",button_start:"Натисніть, щоб розпочати верифікацію",text_fetching:"З’єднання",text_solving:"Перевірка, що ви не робот...",text_completed:"Я не робот",text_completed_sr:"Автоматична перевірка спаму завершена",text_expired:"Час вичерпано",button_restart:"Почати знову",text_error:"Верифікація не вдалась",button_retry:"Спробувати знову",text_fetch_error:"Не вдалось з’єднатись"},bg:{text_init:"Инициализиране...",text_ready:"Анти-робот проверка",button_start:"Щракнете, за да започнете проверката",text_fetching:"Предизвикателство",text_solving:"Проверяваме дали си човек...",text_completed:"Аз съм човек",text_completed_sr:"Автоматичната проверка за спам е завършена",text_expired:"Анти-Робот проверката изтече",button_restart:"Рестартирайте",text_error:"Неуспешна проверка",button_retry:"Опитайте пак",text_fetch_error:"Неуспешно свързване с"},cs:{text_init:"Inicializace...",text_ready:"Ověření proti robotům",button_start:"Klikněte pro ověření",text_fetching:"Problém při načítání",text_solving:"Ověření, že jste člověk...",text_completed:"Jsem člověk",text_completed_sr:"Automatická kontrola spamu dokončena",text_expired:"Ověření proti robotům vyprÅ¡elo",button_restart:"Restartovat",text_error:"Ověření se nezdařilo",button_retry:"Zkusit znovu",text_fetch_error:"Připojení se nezdařilo"},sk:{text_init:"Inicializácia...",text_ready:"Overenie proti robotom",button_start:"Kliknite pre overenie",text_fetching:"Problém pri načítaní",text_solving:"Overenie, že ste človek...",text_completed:"Som človek",text_completed_sr:"Automatická kontrola spamu dokončená",text_expired:"Overenie proti robotom vyprÅ¡alo",button_restart:"ReÅ¡tartovaÅ¥",text_error:"Overenie sa nepodarilo",button_retry:"SkúsiÅ¥ znova",text_fetch_error:"Pripojenie sa nepodarilo"},no:Wa,fi:{text_init:"Aktivoidaan...",text_ready:"En ole robotti",button_start:"Aloita vahvistus klikkaamalla",text_fetching:"Haetaan tietoja",text_solving:"Tarkistaa, että olet ihminen...",text_completed:"Olen ihminen",text_completed_sr:"Automaattinen roskapostin tarkistus suoritettu",text_expired:"Vahvistusta ei voitu suorittaa loppuun",button_restart:"Uudelleenkäynnistys",text_error:"Vahvistus epäonnistui",button_retry:"Yritä uudelleen",text_fetch_error:"Yhteys epäonnistui"},lv:{text_init:"Notiek inicializēšana...",text_ready:"Verifikācija, ka neesat robots",button_start:"Noklikšķiniet, lai sāktu verifikāciju",text_fetching:"Notiek drošības uzdevuma izgūšana",text_solving:"Notiek pārbaude, vai esat cilvēks...",text_completed:"Es esmu cilvēks",text_completed_sr:"Automātiska surogātpasta pārbaude pabeigta",text_expired:"Verifikācijas, ka neesat robots, derÄ«gums beidzies",button_restart:"Restartēt",text_error:"Verifikācija neizdevās",button_retry:"Mēģināt vēlreiz",text_fetch_error:"Neizdevās izveidot savienojumu ar"},lt:{text_init:"Inicijuojama...",text_ready:"Patikrinimas, ar nesate robotas",button_start:"Spustelėkite patikrinimui pradėti",text_fetching:"Gavimo iššūkis",text_solving:"Tikrinama, ar esate žmogus...",text_completed:"Esu žmogus",text_completed_sr:"Automatinė patikra dėl paÅ¡to Å¡iukÅ¡lių atlikta",text_expired:"Patikrinimas, ar nesate robotas, baigė galioti",button_restart:"Pradėti iÅ¡ naujo",text_error:"Patikrinimas nepavyko",button_retry:"Kartoti",text_fetch_error:"Nepavyko prisijungti prie"},pl:{text_init:"Inicjowanie...",text_ready:"Weryfikacja antybotowa",button_start:"Kliknij, aby rozpocząć weryfikację",text_fetching:"Pobieranie",text_solving:"Weryfikacja, czy nie jesteś robotem...",text_completed:"Nie jestem robotem",text_completed_sr:"Zakończono automatyczne sprawdzanie spamu",text_expired:"Weryfikacja antybotowa wygasła",button_restart:"Uruchom ponownie",text_error:"Weryfikacja nie powiodła się",button_retry:"Spróbuj ponownie",text_fetch_error:"Nie udało się połączyć z"},et:{text_init:"Initsialiseerimine...",text_ready:"Robotivastane kinnitus",button_start:"Kinnitamisega alustamiseks klõpsake",text_fetching:"Väljakutse toomine",text_solving:"Kinnitatakse, et sa oled inimene...",text_completed:"Ma olen inimene",text_completed_sr:"Automaatne rämpsposti kontroll on lõpetatud",text_expired:"Robotivastane kinnitus aegus",button_restart:"Taaskäivita",text_error:"Kinnitamine nurjus",button_retry:"Proovi uuesti",text_fetch_error:"Ühenduse loomine nurjus"},hr:{text_init:"Početno postavljanje...",text_ready:"Provjera protiv robota",button_start:"Kliknite za početak provjere",text_fetching:"Dohvaćanje izazova",text_solving:"Provjeravamo jeste li čovjek...",text_completed:"Nisam robot",text_completed_sr:"Automatska provjera je zavrÅ¡ena",text_expired:"Vrijeme za provjeru protiv robota je isteklo",button_restart:"Osvježi",text_error:"Provjera nije uspjlela",button_retry:" Ponovo pokreni",text_fetch_error:"Nije moguće uspostaviti vezu"},sr:{text_init:"Pokretanje...",text_ready:"Anti-Robot Verifikacija",button_start:"Kliknite da biste započeli verifikaciju",text_fetching:"Učitavanje izazova",text_solving:"Verifikacija da ste čovek...",text_completed:"Ja sam čovek",text_completed_sr:"Automatska provera neželjene poÅ¡te je zavrÅ¡ena",text_expired:"Anti-Robot verifikacija je istekla",button_restart:"Ponovo pokrenuti",text_error:"Verifikacija nije uspela",button_retry:"PokuÅ¡ajte ponovo",text_fetch_error:"Neuspelo povezivanje sa..."},sl:{text_init:"Inicializiranje...",text_ready:"Preverjanje robotov",button_start:"Kliknite za začetek preverjanja",text_fetching:"PrenaÅ¡anje izziva",text_solving:"Preverjamo, ali ste človek",text_completed:"Nisem robot",text_completed_sr:"Avtomatsko preverjanje je zaključeno",text_expired:"Preverjanje robotov je poteklo",button_restart:"Osveži",text_error:"Preverjanje ni uspelo",button_retry:"Poskusi ponovno",text_fetch_error:"Povezave ni bilo mogoče vzpostaviti"},hu:{text_init:"Inicializálás...",text_ready:"Robotellenes ellenőrzés",button_start:"Kattintson az ellenőrzés megkezdéséhez",text_fetching:"Feladvány lekérése",text_solving:"Annak igazolása, hogy Ön nem robot...",text_completed:"Nem vagyok robot",text_completed_sr:"Automatikus spam ellenőrzés befejeződött",text_expired:"Robotellenes ellenőrzés lejárt",button_restart:"Újraindítás",text_error:"Az ellenőrzés nem sikerült",button_retry:"Próbálja újra",text_fetch_error:"Nem sikerült csatlakozni"},ro:{text_init:"Se inițializează...",text_ready:"Verificare anti-robot",button_start:"Click pentru a începe verificarea",text_fetching:"Downloading",text_solving:"Verificare că ești om...",text_completed:"Sunt om",text_completed_sr:"Verificarea automată a spam-ului a fost finalizată",text_expired:"Verificarea anti-robot a expirat",button_restart:"Restart",text_error:"Verificare eșuată",button_retry:"Reîncearcă",text_fetch_error:"Nu s-a putut conecta"},zh:{text_init:"初始化中……",text_ready:"人机验证",button_start:"点击开始",text_fetching:"正在加载",text_solving:"人机校验中……",text_completed:"我不是机器人",text_completed_sr:"人机验证完成",text_expired:"验证已过期",button_restart:"重新开始",text_error:"校验失败",button_retry:"重试",text_fetch_error:"无法连接到"},zh_tw:{text_init:"正在初始化……",text_ready:"反機器人驗證",button_start:"點擊開始驗證",text_fetching:"載入中",text_solving:"反機器人驗證中……",text_completed:"我不是機器人",text_completed_sr:"驗證完成",text_expired:"驗證超時",button_restart:"重新開始",text_error:"驗證失敗",button_retry:"重試",text_fetch_error:"無法連線到"},vi:{text_init:"Đang khởi tạo...",text_ready:"Xác minh chống Robot",button_start:"Bấm vào đây để xác minh",text_fetching:"Tìm nạp và xá»­ lý thá»­ thách",text_solving:"Xác minh bạn là người...",text_completed:"Bạn là người",text_completed_sr:"Xác minh hoàn tất",text_expired:"Xác minh đã hết hạn",button_restart:"Khởi động lại",text_error:"Xác minh thất bại",button_retry:"Thá»­ lại",text_fetch_error:"Không kết nối được"},nb:Wa};function qa(t,e){const n=new Uint8Array(3),i=new DataView(n.buffer);return i.setUint8(0,t),i.setUint16(1,e),n}
550let Xa;"undefined"!=typeof window&&(Xa=window.URL||window.webkitURL);class $a{constructor(){this.workers=[],this.puzzleNumber=0,this.numPuzzles=0,this.threshold=0,this.startTime=0,this.progress=0,this.totalHashes=0,this.puzzleSolverInputs=[],this.puzzleIndex=0,this.solutionBuffer=new Uint8Array(0),this.solverType=1,this.readyCount=0,this.startCount=0,this.progressCallback=()=>0,this.readyCallback=()=>0,this.startedCallback=()=>0,this.doneCallback=()=>0,this.errorCallback=()=>0}init(){this.terminateWorkers(),this.progress=0,this.totalHashes=0,this.readyCount=0,this.startCount=0,this.workers=new Array(4);const t=new Blob(['!function(){"use strict";const A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I="=".charCodeAt(0),g=new Uint8Array(256);for(let I=0;I<A.length;I++)g[A.charCodeAt(I)]=I;function C(A){const I={},g=A.exports,C=g.memory,Q=g.__alloc,t=g.__retain,B=g.__rtti_base||-1;return I.__allocArray=(A,I)=>{const g=function(A){return new Uint32Array(C.buffer)[(B+4>>>2)+2*A]}(A),e=31-Math.clz32(g>>>6&31),o=I.length,i=Q(o<<e,0),r=Q(12,A),n=new Uint32Array(C.buffer);n[r+0>>>2]=t(i),n[r+4>>>2]=i,n[r+8>>>2]=o<<e;const E=C.buffer,s=new Uint8Array(E);if(16384&g)for(let A=0;A<o;++A)s[(i>>>e)+A]=t(I[A]);else s.set(I,i>>>e);return r},I.__getUint8Array=A=>{const I=new Uint32Array(C.buffer),g=I[A+4>>>2];return new Uint8Array(C.buffer,g,I[g-4>>>2]>>>0)},function(A,I={}){const g=A.__argumentsLength?I=>{A.__argumentsLength.value=I}:A.__setArgumentsLength||A.__setargc||(()=>({}));for(const C in A){if(!Object.prototype.hasOwnProperty.call(A,C))continue;const Q=A[C],t=C.split(".")[0];"function"==typeof Q&&Q!==g?(I[t]=(...A)=>(g(A.length),Q(...A))).original=Q:I[t]=Q}return I}(g,I)}class Q{constructor(A){this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.v=new Uint32Array(32),this.m=new Uint32Array(32),this.outlen=A}}function t(A,I){return A[I]^A[I+1]<<8^A[I+2]<<16^A[I+3]<<24}function B(A,I,g,C,Q,t,B,e){const o=I[B],i=I[B+1],r=I[e],n=I[e+1];let E,s,w,c,a=A[g],D=A[g+1],h=A[C],f=A[C+1],y=A[Q],l=A[Q+1],u=A[t],N=A[t+1];E=a+h,s=(a&h|(a|h)&~E)>>>31,a=E,D=D+f+s,E=a+o,s=(a&o|(a|o)&~E)>>>31,a=E,D=D+i+s,w=u^a,c=N^D,u=c,N=w,E=y+u,s=(y&u|(y|u)&~E)>>>31,y=E,l=l+N+s,w=h^y,c=f^l,h=w>>>24^c<<8,f=c>>>24^w<<8,E=a+h,s=(a&h|(a|h)&~E)>>>31,a=E,D=D+f+s,E=a+r,s=(a&r|(a|r)&~E)>>>31,a=E,D=D+n+s,w=u^a,c=N^D,u=w>>>16^c<<16,N=c>>>16^w<<16,E=y+u,s=(y&u|(y|u)&~E)>>>31,y=E,l=l+N+s,w=h^y,c=f^l,h=c>>>31^w<<1,f=w>>>31^c<<1,A[g]=a,A[g+1]=D,A[C]=h,A[C+1]=f,A[Q]=y,A[Q+1]=l,A[t]=u,A[t+1]=N}const e=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],o=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,3
vendor: 5,100 bytes, line 550
5500,28,26,8,20,0,14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6];function i(A,I){const g=A.v,C=A.m;for(let I=0;I<16;I++)g[I]=A.h[I],g[I+16]=e[I];g[24]=g[24]^A.t,g[25]=g[25]^A.t/4294967296,I&&(g[28]=~g[28],g[29]=~g[29]);for(let I=0;I<32;I++)C[I]=t(A.b,4*I);for(let A=0;A<12;A++)B(g,C,0,8,16,24,o[16*A+0],o[16*A+1]),B(g,C,2,10,18,26,o[16*A+2],o[16*A+3]),B(g,C,4,12,20,28,o[16*A+4],o[16*A+5]),B(g,C,6,14,22,30,o[16*A+6],o[16*A+7]),B(g,C,0,10,20,30,o[16*A+8],o[16*A+9]),B(g,C,2,12,22,24,o[16*A+10],o[16*A+11]),B(g,C,4,14,16,26,o[16*A+12],o[16*A+13]),B(g,C,6,8,18,28,o[16*A+14],o[16*A+15]);for(let I=0;I<16;I++)A.h[I]=A.h[I]^g[I]^g[I+16]}function r(A,I){for(let I=0;I<16;I++)A.h[I]=e[I];A.b.set(I),A.h[0]^=16842752^A.outlen}async function n(){return(A,I,g=4294967295)=>{const C=function(A,I,g){if(128!=A.length)throw Error("Invalid input");const C=A.buffer,t=new DataView(C),B=new Q(32);B.t=128;const e=t.getUint32(124,!0),o=e+g;for(let g=e;g<o;g++)if(t.setUint32(124,g,!0),r(B,A),i(B,!0),B.h[0]<I)return 0==ASC_TARGET?new Uint8Array(B.h.buffer):Uint8Array.wrap(B.h.buffer);return new Uint8Array(0)}(A,I,g);return[A,C]}}let E,s;Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(A,I){return new Uint8Array(Array.prototype.slice.call(this,A,I))}}),self.ASC_TARGET=0;const w=new Promise((A=>s=A));self.onerror=A=>{self.postMessage({type:"error",message:JSON.stringify(A)})},self.onmessage=async A=>{const Q=A.data;try{if("solver"===Q.type){if(Q.forceJS){E=1;const A=await n();s(A)}else try{E=2;const A=WebAssembly.compile(function(A){const C=A.length;let Q=3*C>>>2;A.charCodeAt(C-1)===I&&Q--,A.charCodeAt(C-2)===I&&Q--;const t=new Uint8Array(Q);for(let I=0,Q=0;I<C;I+=4){const C=g[A.charCodeAt(I+0)],B=g[A.charCodeAt(I+1)],e=g[A.charCodeAt(I+2)],o=g[A.charCodeAt(I+3)];t[Q++]=C<<2|B>>4,t[Q++]=(15&B)<<4|e>>2,t[Q++]=(3&e)<<6|63&o}return t}("AGFzbQEAAAABKghgAABgAn9/AGADf39/AX9gAX8AYAR/f39/AGAAAX9gAX8Bf2ACf38BfwINAQNlbnYFYWJvcnQABAMMCwcGAwAAAQIFAQIABQMBAAEGFgR/AUEAC38BQQALfwBBAwt/AEHgDAsHbgkGbWVtb3J5AgAHX19hbGxvYwABCF9fcmV0YWluAAIJX19yZWxlYXNlAAMJX19jb2xsZWN0AAQHX19yZXNldAAFC19fcnR0aV9iYXNlAwMNVWludDhBcnJheV9JRAMCDHNvbHZlQmxha2UyYgAKCAELCvQSC5IBAQV/IABB8P///wNLBEAACyMBQRBqIgQgAEEPakFwcSICQRAgAkEQSxsiBmoiAj8AIgVBEHQiA0sEQCAFIAIgA2tB//8DakGAgHxxQRB2IgMgBSADShtAAEEASARAIANAAEEASARAAAsLCyACJAEgBEEQayICIAY2AgAgAkEBNgIEIAIgATYCCCACIAA2AgwgBAsEACAACwMAAQsDAAELBgAjACQBC7sCAQF/AkAgAUUNACAAQQA6AAAgACABakEEayICQQA6AAMgAUECTQ0AIABBADoAASAAQQA6AAIgAkEAOgACIAJBADoAASABQQZNDQAgAEEAOgADIAJBADoAACABQQhNDQAgAEEAIABrQQNxIgJqIgBBADYCACAAIAEgAmtBfHEiAmpBHGsiAUEANgIYIAJBCE0NACAAQQA2AgQgAEEANgIIIAFBADYCECABQQA2AhQgAkEYTQ0AIABBADYCDCAAQQA2AhAgAEEANgIUIABBADYCGCABQQA2AgAgAUEANgIEIAFBADYCCCABQQA2AgwgACAAQQRxQRhqIgFqIQAgAiABayEBA0AgAUEgTwRAIABCADcDACAAQgA3AwggAEIANwMQIABCADcDGCABQSBrIQEgAEEgaiEADAELCwsLcgACfyAARQRAQQxBAhABIQALIAALQQA2AgAgAEEANgIEIABBADYCCCABQfD///8DIAJ2SwRAQcAKQfAKQRJBORAAAAsgASACdCIBQQAQASICIAEQBiAAKAIAGiAAIAI2AgAgACACNgIEIAAgATYCCCAAC88BAQJ/QaABQQAQASIAQQxBAxABQYABQQAQBzYCACAAQQxBBBABQQhBAxAHNgIEIABCADcDCCAAQQA2AhAgAEIANwMYIABCADcDICAAQgA3AyggAEIANwMwIABCADcDOCAAQgA3A0AgAEIANwNIIABCADcDUCAAQgA3A1ggAEIANwNgIABCADcDaCAAQgA3A3AgAEIANwN4IABCADcDgAEgAEIANwOIASAAQgA3A5ABQYABQQUQASIBQYABEAYgACABNgKYASAAQSA2ApwBIAAL2AkCA38SfiAAKAIEIQIgACgCmAEhAwNAIARBgAFIBEAgAyAEaiABIARqKQMANwMAIARBCGohBAwBCwsgAigCBCkDACEMIAIoAgQpAwghDSACKAIEKQMQIQ4gAigCBCkDGCEPIAIoAgQpAyAhBSACKAIEKQMoIQsgAigCBCkDMCEGIAIoAgQpAzghB0KIkvOd/8z5hOoAIQhCu86qptjQ67O7fyEJQqvw0/Sv7ry3PCEQQvHt9Pilp/2npX8hCiAAKQMIQtGFmu/6z5SH0QCFIRFCn9j52cKR2oKbfyESQpSF+aXAyom+YCETQvnC+JuRo7Pw2wAhFEEAIQQDQCAEQcABSARAIAUgCCARIAwgBSADIARBgAhqIgEtAABBA3RqKQMAfHwiBYVCIIoiDHwiCIVCGIoiESAIIAwgBSARIAMgAS0AAUEDdGopAwB8fCIMhUIQiiIIfCIVhUI/iiEFIAsgCSASIA0gCyADIAEtAAJBA3RqKQMAfHwiDYVCIIoiCXwiEYVCGIohCyAGIBAgEyAOIAYgAyABLQAEQQN0aikDAHx8IgaFQiCKIg58IhCFQhiKIhIgECAOIAYgEiADIAEtAAVBA3RqKQMAfHwiDoVCEIoiE3wiEIVCP4ohBiAHIAogFCAPIAcgAyABLQAGQQN0aikDAHx8IgeFQiCKIg98IgqFQhiKIhIgCiAPIAcgEiADIAEtAAdBA3RqKQMAfHwiD4VCEIoiCnwiEoVCP4ohByAQIAogDCARIAkgDSALIAMgAS0AA0EDdGopAwB8fCINhUIQiiIJfCIWIAuFQj+KIgwgAyABLQAIQQN0aikDAHx8IhCFQiCKIgp8IgsgECALIAyFQhiKIhEgAyABLQAJQQN0aikDAHx8IgwgCoVCEIoiFHwiECARhUI/iiELIAYgEiAIIA0gBiADIAEtAApBA3RqKQMAfHwiDYVCIIoiCHwiCoVCGIoiBiANIAYgAyABLQALQQN0aikDAHx8Ig0gCIVCEIoiESAKfCIKhUI/iiEGIAcgFSAJIA4gByADIAEtAAxBA3RqKQMAfHwiDoVCIIoiCHwiCYVCGIoiByAOIAcgAyABLQANQQN0aikDAHx8Ig4gCIVCEIoiEiAJfCIIhUI/iiEHIAUgFiATIA8gBSADIAEtAA5BA3RqKQMAfHwiD4VCIIoiCXwiFYVCGIoiBSAPIAUgAyABLQAPQQN0aikDAHx8Ig8gCYVCEIoiEyAVfCIJhUI/iiEFIARBEGohBAwBCwsgAigCBCACKAIEKQMAIAggDIWFNwMAIAIoAgQgAigCBCkDCCAJIA2FhTcDCCACKAIEIAIoAgQpAxAgDiAQhYU3AxAgAigCBCACKAIEKQMYIAogD4WFNwMYIAIoAgQgAigCBCkDICAFIBGFhTcDICACKAIEIAIoAgQpAyggCyAShYU3AyggAigCBCACKAIEKQMwIAYgE4WFNwMwIAIoAgQgAigCBCkDOCAHIBSFhTcDOCAAIAw3AxggACANNwMgIAAgDjcDKCAAIA83AzAgACAFNwM4IAAgCzcDQCAAIAY3A0ggACAHNwNQIAAgCDcDWCAAIAk3A2AgACAQNwNoIAAgCjcDcCAAIBE3A3ggACASNwOAASAAIBM3A4gBIAAgFDcDkA
550EL4QIBBH8gACgCCEGAAUcEQEHQCUGACkEeQQUQAAALIAAoAgAhBBAIIgMoAgQhBSADQoABNwMIIAQoAnwiACACaiEGA0AgACAGSQRAIAQgADYCfCADKAIEIgIoAgQgAygCnAGtQoiS95X/zPmE6gCFNwMAIAIoAgRCu86qptjQ67O7fzcDCCACKAIEQqvw0/Sv7ry3PDcDECACKAIEQvHt9Pilp/2npX83AxggAigCBELRhZrv+s+Uh9EANwMgIAIoAgRCn9j52cKR2oKbfzcDKCACKAIEQuv6htq/tfbBHzcDMCACKAIEQvnC+JuRo7Pw2wA3AzggAyAEEAkgBSgCBCkDAKcgAUkEQEEAIAUoAgAiAUEQaygCDCICSwRAQfALQbAMQc0NQQUQAAALQQxBAxABIgAgATYCACAAIAI2AgggACABNgIEIAAPCyAAQQFqIQAMAQsLQQxBAxABQQBBABAHCwwAQaANJABBoA0kAQsL+gQJAEGBCAu/AQECAwQFBgcICQoLDA0ODw4KBAgJDw0GAQwAAgsHBQMLCAwABQIPDQoOAwYHAQkEBwkDAQ0MCw4CBgUKBAAPCAkABQcCBAoPDgELDAYIAw0CDAYKAAsIAwQNBwUPDgEJDAUBDw4NBAoABwYDCQIICw0LBw4MAQMJBQAPBAgGAgoGDw4JCwMACAwCDQcBBAoFCgIIBAcGAQUPCwkOAwwNAAABAgMEBQYHCAkKCwwNDg8OCgQICQ8NBgEMAAILBwUDAEHACQspGgAAAAEAAAABAAAAGgAAAEkAbgB2AGEAbABpAGQAIABpAG4AcAB1AHQAQfAJCzEiAAAAAQAAAAEAAAAiAAAAcwByAGMALwBzAG8AbAB2AGUAcgBXAGEAcwBtAC4AdABzAEGwCgsrHAAAAAEAAAABAAAAHAAAAEkAbgB2AGEAbABpAGQAIABsAGUAbgBnAHQAaABB4AoLNSYAAAABAAAAAQAAACYAAAB+AGwAaQBiAC8AYQByAHIAYQB5AGIAdQBmAGYAZQByAC4AdABzAEGgCws1JgAAAAEAAAABAAAAJgAAAH4AbABpAGIALwBzAHQAYQB0AGkAYwBhAHIAcgBhAHkALgB0AHMAQeALCzMkAAAAAQAAAAEAAAAkAAAASQBuAGQAZQB4ACAAbwB1AHQAIABvAGYAIAByAGEAbgBnAGUAQaAMCzMkAAAAAQAAAAEAAAAkAAAAfgBsAGkAYgAvAHQAeQBwAGUAZABhAHIAcgBhAHkALgB0AHMAQeAMCy4GAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAYQAAAAIAAAAhAgAAAgAAACQC")),Q=await async function(A){const I=await async function(A){const I={env:{abort(){throw Error("Wasm aborted")}}};return{exports:C(await WebAssembly.instantiate(A,I))}}(A),g=I.exports.__retain(I.exports.__allocArray(I.exports.Uint8Array_ID,new Uint8Array(128)));let Q=I.exports.__getUint8Array(g);return(A,C,t=4294967295)=>{Q.set(A);const B=I.exports.solveBlake2b(g,C,t);Q=I.exports.__getUint8Array(g);const e=I.exports.__getUint8Array(B);return I.exports.__release(B),[Q,e]}}(await A);s(Q)}catch(A){console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+A.toString()),E=1;const I=await n();s(I)}self.postMessage({type:"ready",solver:E})}else if("start"===Q.type){const A=await w;self.postMessage({type:"started"});let I,g=0;for(let C=0;C<256;C++){Q.puzzleSolverInput[123]=C;const[t,B]=A(Q.puzzleSolverInput,Q.threshold);if(0!==B.length){I=t;break}console.warn("FC: Internal error or no solution found"),g+=Math.pow(2,32)-1}g+=new DataView(I.slice(-4).buffer).getUint32(0,!0),self.postMessage({type:"done",solution:I.slice(-8),h:g,puzzleIndex:Q.puzzleIndex,puzzleNumber:Q.puzzleNumber})}}catch(A){setTimeout((()=>{throw A}))}}}();'],{type:"text/javascript"});for(let e=0;e<this.workers.length;e++)this.workers[e]=new Worker(Xa.createObjectURL(t)),this.workers[e].onerror=t=>this.errorCallback(t),this.workers[e].onmessage=t=>{const n=t.data;if(n)if("ready"===n.type)this.readyCount++,this.solverType=n.solver,this.readyCount==this.workers.length&&this.readyCallback();else if("started"===n.type)this.startCount++,1==this.startCount&&(this.startTime=Date.now(),this.startedCallback());else if("done"===n.type){if(n.puzzleNumber!==this.puzzleNumber)return;if(this.puzzleIndex<this.puzzleSolverInputs.length&&(this.workers[e].postMessage({type:"start",puzzleSolverInput:this.puzzleSolverInputs[this.puzzleIndex],threshold:this.threshold,puzzleIndex:this.puzzleIndex,puzzleNumber:this.puzzleNumber}),this.puzzleIndex++),this.progress++,this.totalHashes+=n.h,this.progressCallback({n:this.numPuzzles,h:this.totalHashes,t:(Date.now()-this.startTime)/1e3,i:this.progress}),this.solutionBuffer.set(n.solution,8*n.puzzleIndex),this.progress==this.numPuzzles){const t=(Date.now()-this.startTime)/1e3;this.doneCallback({solution:this.solutionBuffer,h:this.totalHashes,t:t,diagnostics:qa(this.solverType,t),solver:this.solverType})}}else"error"===n.type&&this.errorCallback(n)}}setupSolver(t=!1){const e={type:"solver",forceJS:t};for(let t=0;t<this.workers.length;t++)this.workers[t].postMessage(e)}start(t){this.puzzleSolverInputs=function(t,e){const n=[];for(let i=0;i<e;i++){const e=new Uint8Array(128);
550e.set(t),e[120]=i,n.push(e)}return n}(t.buffer,t.n),this.solutionBuffer=new Uint8Array(8*t.n),this.numPuzzles=t.n,this.threshold=t.threshold,this.puzzleIndex=0,this.puzzleNumber++;for(let t=0;t<this.workers.length&&this.puzzleIndex!==this.puzzleSolverInputs.length;t++)this.workers[t].postMessage({type:"start",puzzleSolverInput:this.puzzleSolverInputs[t],threshold:this.threshold,puzzleIndex:this.puzzleIndex,puzzleNumber:this.puzzleNumber}),this.puzzleIndex++}terminateWorkers(){if(0!=this.workers.length){for(let t=0;t<this.workers.length;t++)this.workers[t].terminate();this.workers=[]}}}class Ka{constructor(t,e={}){if(this.workerGroup=new $a,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,skipStyleInjection:!1,startMode:"focus",puzzleEndpoint:t.dataset.puzzleEndpoint||"https://api.friendlycaptcha.com/api/v1/puzzle",startedCallback:()=>0,readyCallback:()=>0,doneCallback:()=>0,errorCallback:()=>0,sitekey:t.dataset.sitekey||"",language:t.dataset.lang||"en",solutionFieldName:t.dataset.solutionFieldName||"frc-captcha-solution"},e),this.e=t,this.e.friendlyChallengeWidget=this,"string"==typeof this.opts.language){let t=Ga[this.opts.language.toLowerCase()];void 0===t&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),t=Ga.en),this.lang=t}else this.lang=Object.assign(Object.assign({},Ga.en),this.opts.language);t.innerText=this.lang.text_init,this.opts.skipStyleInjection||function(){if(!document.querySelector("#frc-style")){const t=document.createElement("style");t.id="frc-style",t.innerHTML=".frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;min-width:250px;max-width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-success .frc-icon{animation:1s ease-in both frc-fade-in}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.frc-err-url{text-decoration:underline;font-size:.9em}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}@keyframes frc-fade-in{from{opacity:0}to{opacity:1}}",document.head.appendChild(t)}}(),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start)}init(t){var e;if(this.hasBeenDestroyed)console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");else if(this.initWorkerGroup(),t)this.start();else if("none"!==this.e.dataset.start&&("focus"===this.opts.startMode||"focus"===this.e.dataset.start)){const t=function(t){for(;"FORM"!==t.tagName;)if(!(t=t.parentElement))return null;return t}(this.e);t?(e=()=>this.start(),t.addEventListener("focusin",e,{once:!0,passive:!0})):console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}makeButtonStart(){const t=this.e.querySelector("button");t&&(t.addEventListener("click",t=>this.start(),{once:!0,passive:!0}),t.addEventListener("touchstart",t=>this.start(),{once:!0,passive:!0}))}onWorkerError(t){this.hasBeenStarted=!1,this.needsReInit=!0,this.expiryTimeout&&clearTimeout(this.expiryTimeout),console.error("[FRC]",t),this.e.innerHTML=ja(this.opts.solutionFieldName,this.lang,"Backgroun
550d worker error "+t.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}initWorkerGroup(){this.workerGroup.progressCallback=t=>{!function(t,e){const n=t.querySelector(".frc-progress"),i=(e.i+1)/e.n;n&&(n.value=i,n.innerText=i.toFixed(2)+"%",n.title=e.i+1+"/"+e.n+" ("+(e.h/e.t*.001).toFixed(0)+"K/s)")}(this.e,t)},this.workerGroup.readyCallback=()=>{var t,e;this.e.innerHTML=(t=this.opts.solutionFieldName,e=this.lang,Ha(t,'<path d="M17,11c0.34,0,0.67,0.04,1,0.09V6.27L10.5,3L3,6.27v4.91c0,4.54,3.2,8.79,7.5,9.82c0.55-0.13,1.08-0.32,1.6-0.55 C11.41,19.47,11,18.28,11,17C11,13.69,13.69,11,17,11z"/><path d="M17,13c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4C21,14.79,19.21,13,17,13z M17,14.38"/>',!0,e.text_ready,".UNSTARTED",e.button_start,!1)),this.makeButtonStart(),this.opts.readyCallback()},this.workerGroup.startedCallback=()=>{var t,e;this.e.innerHTML=(t=this.opts.solutionFieldName,e=this.lang,Ha(t,Ya,!0,e.text_solving,".UNFINISHED",void 0,!0)),this.opts.startedCallback()},this.workerGroup.doneCallback=t=>{const e=this.handleDone(t);this.opts.doneCallback(e);const n=this.e.dataset.callback;n&&window[n](e)},this.workerGroup.errorCallback=t=>{this.onWorkerError(t)},this.workerGroup.init(),this.workerGroup.setupSolver(this.opts.forceJSFallback)}expire(){var t,e;this.hasBeenStarted=!1,!1!==this.e.isConnected&&(this.e.innerHTML=(t=this.opts.solutionFieldName,e=this.lang,Ha(t,Fa,!0,e.text_expired,".EXPIRED",e.button_restart)),this.makeButtonStart())}async start(){if(this.hasBeenDestroyed)return void console.error("Can not start FriendlyCaptcha widget which has been destroyed");if(this.hasBeenStarted)return void console.warn("Can not start FriendlyCaptcha widget which has already been started");const t=this.opts.sitekey||this.e.dataset.sitekey;if(!t)return console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),void(this.e.innerHTML=ja(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1));if(-1===za.indexOf("headless")&&-1===Ba.appVersion.indexOf("Headless")&&-1===za.indexOf("bot")&&-1===za.indexOf("crawl")&&!0!==Ba.webdriver&&Ba.language&&(void 0===Ba.languages||Ba.languages.length)){if(this.needsReInit)return this.needsReInit=!1,void this.init(!0);this.hasBeenStarted=!0;try{this.e.innerHTML=(e=this.opts.solutionFieldName,n=this.lang,Ha(e,Ya,!0,n.text_fetching,".FETCHING",void 0,!0)),this.puzzle=Ua(await async function(t,e,n){const i=t.split(",");for(let t=0;t<i.length;t++)try{const n=await Va(i[t]+"?sitekey="+e,{headers:[["x-frc-client","js-0.9.11"]],mode:"cors"},2);if(n.ok){return(await n.json()).data.puzzle}{let e;try{e=await n.json()}catch(t){}if(e&&e.errors&&"endpoint_not_enabled"===e.errors[0])throw Error(`Endpoint not allowed (${n.status})`);if(t===i.length-1)throw Error(`Response status ${n.status} ${n.statusText} ${e?e.errors:""}`)}}catch(e){console.error("[FRC Fetch]:",e);const r=new Error(`${n.text_fetch_error} <a class="frc-err-url" href="${i[t]}">${i[t]}</a>`);throw r.rawError=e,r}throw Error("Internal error")}(this.opts.puzzleEndpoint,t,this.lang)),this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.expiryTimeout=setTimeout(()=>this.expire(),this.puzzle.expiry-3e4)}catch(t){console.error("[FRC]",t),this.hasBeenStarted=!1,this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.e.innerHTML=ja(this.opts.solutionFieldName,this.lang,t.message),this.makeButtonStart();const e="error_getting_puzzle";this.opts.errorCallback({code:e,description:t.toString(),error:t});const n=this.e.dataset["callback-error"];return void(n&&window[n](this))}var e,n;this.workerGroup.start(this.puzzle)}else this.e.innerHTML=ja(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1,!0)}handleDone(t){this.valid=!0;const e=`${this.puzzle.signature}.${this.puzzle.base64}.${Na(t.solution)}.${Na(t.diagnostics)}`;return this.e.innerHTML=function(t,e,n,i){const r=`${i.t.toFixed(0)}s (${(i.h/i.t*.001).toFixed(0)}K/s)${1===i.solver?" JS Fallback":""}`;return Ha(t,`<title>${e.text_completed_sr}</title><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path>`,!1,e.text_completed,n,void 0,!1,r,"frc-success")}(this.opts.solutionFieldName,this.lang,e,t),this.needsReInit=!0,e}destroy(){this.workerGroup.terminateWorkers(),this.needsReInit=!1,this.hasBeenStarted=!1,this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}reset(){this.hasBeenDestroyed?console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore"):(this.workerGroup.terminateWorkers(),this.needsReInit=!1,this.hasBeenStarted=!1,this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start))}}var Ja=f((function t(){u(this,t),this.elements=Re(".friendly-captcha",(function(t){var e=t.getAttribute("data-sitekey"),n=t.getAttribute("data-endpoint")||"https://eu-api.friendlycaptcha.eu/api/v1/puzzle";e&&new Ka(t,{siteKey:e,skipStyleInjection:!0,puzzleEndpoint:n})}
550))})),Qa=function(t){var e;return t?xr()(e=t.innerHTML.replace(/data-initialized=""/g,"").replace(/data-initialized/g,"")).call(e):null},Za=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=tab-bar]").forEach((function(t){var e,n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=parseInt(t,10);return isNaN(n)?e:n}(t.getAttribute("data-select-index")),i=O(t.getAttribute("data-titles"),[]),r=$()(e=mr()(t.querySelectorAll("[data-tab-content]"))).call(e,Qa);new k.a({el:t,components:{TabBarComponent:pe},render:function(t){return t(pe,{props:{initiallySelectedIndex:n,titles:i},scopedSlots:{"content-animated":function(e){var n=e.index;return t("div",{domProps:{innerHTML:n>=0&&n<r.length?r[n]:null}})}}})}})}))})),ts=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=tab-list]").forEach((function(t){var e=O(t.getAttribute("data-titles"),[]);new k.a({el:t,components:{TabListComponent:se},render:function(t){return t(se,{props:{titles:e}})}})}))})),es=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"anchorNav",class:t.anchorClasses,attrs:{role:"navigation"}},[n("div",{staticClass:"anchor-navigation__head",on:{click:t.toggleNavigation}},[n("div",{staticClass:"anchor-navigation__content"},[n("div",{staticClass:"anchor-navigation__heading",domProps:{innerHTML:t._s(t.defaultLabel)}}),t._v(" "),n("i",{class:t.iconClasses})])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isNavExpanded,expression:"isNavExpanded"}],staticClass:"anchor-navigation__anchors"},[n("div",{staticClass:"anchor-navigation__content"},t._l(t.links,(function(e,i){return n("a",{key:i,class:["anchor-navigation__anchor",e.isActive&&"is-active"],attrs:{href:"#"+e.href},on:{click:function(n){return n.preventDefault(),t.scrollToTarget(e.href)}}},[n("span",{staticClass:"anchor-navigation__index"},[t._v(t._s(++i))]),t._v(" "),n("span",{staticClass:"anchor-navigation__label",domProps:{innerHTML:t._s(e.title)}})])})),0),t._v(" "),t.buttons.length?n("div",{staticClass:"anchor-navigation__buttons"},t._l(t.buttons,(function(e,i){return n("a",{key:"anchorNavigation_button_"+i,staticClass:"anchor-navigation__button",attrs:{href:e.href,target:e.target}},[n("i",{class:"icon icon-"+e.icon,attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",[n("span",{staticClass:"anchor-navigation-button__label"},[t._v(t._s(e.label))]),t._v(" "),n("span",[t._v(t._s(e.text))])])])})),0):t._e()])])};es._withStripped=!0;var ns=n(1115),is=n.n(ns),rs=n(369),as=n.n(rs),ss=n(366),os=n.n(ss),ls={data:function(){return{breakpoint:"lg"}},methods:{checkBreakpoint:function(){window.innerWidth>=je.a.lg?this.breakpoint="lg":window.innerWidth>=je.a.md?this.breakpoint="md":window.innerWidth>=je.a.sm?this.breakpoint="sm":this.breakpoint="xs"}}},cs={name:"AnchorNavigation",mixins:[ls],props:{isContentTemplate:Boolean,i18n:{type:Object,default:function(){return{}}},buttons:{type:Array,default:function(){return[]}}},data:function(){return{isKali:!1,sectionSelector:".page__anchor-section-wrapper",anchorTitleSelector:"data-anchor-nav-title",sectionViewport:"is-after-viewport",kaliOffset:31.5,scrollToOffset:135,anchorNavHeight:200,breadcrumbHeight:64,showMobileNavigation:!1,anchors:[],links:[]}},computed:{defaultLabel:function(){return this.activeLink?this.activeLink.title:this.i18n.label},anchorClasses:function(){return["anchor-navigation","is-in-viewport"===this.sectionViewport||"is-after-viewport"===this.sectionViewport&&"lg"!==this.breakpoint?"is-fixed":null,"is-before-viewport"===this.sectionViewport&&"is-top-aligned","is-after-viewport"===this.sectionViewport&&"lg"===this.breakpoint?"is-bottom-aligned":null,this.isNavExpanded&&"lg"!==this.breakpoint?"is-nav-expanded":null]},iconClasses:function(){return["icon","anchor-navigation__head-icon",this.showMobileNavigation?"icon-chevron-up":"icon-chevron-down"]},activeLink:function(){var t;return et()(t=this.links).call(t,(function(t){return!0===t.isActive}))},isNavExpanded:function(){return!!("lg"!==this.breakpoint&&this.showMobileNavigation||"lg"===this.breakpoint)},mainNavHeight:function(){return this.isKali?"md"===this.breakpoint||"lg"===this.breakpoint?76.5+this.kaliOffset:54+this.kaliOffset:"md"===this.breakpoint||"lg"===this.breakpoint?76.5:54},totalOffset:function(){return this.scrollToOffset+this.mainNavHeight},contentTemplateOffset:function(){return this.isContentTemplate?144:0}},mounted:function(){var t=this;is.a.polyfill(),this.checkKali(),this.catchAnchors(),as()(this.links)||as()(this.anchors)||(this.handleResize(),this.handleScroll(),window.addEventListener("resize",os()(this.handleResize,200)),window.addEventListener("scroll",this.handleScroll),this.$nextTick((function(){t.anchorNavHeight=t.$refs.anchorNav.offsetHeight})))},destroyed:function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.handleScroll)},methods:{checkKali:function(){this.isKali=!!document.querySelector(".page").classList.contains("page--type-kali")},handleResize:function(){this.checkBreakpoint(),this.checkAnchorNavHeight()},handleScroll:function(){this.checkViewport(),this.checkActiveAnchor()},catchAnchors:function(){var t=document.querySelectorAll("["+this.anchorTitleSelector+"][id]");if(!as()(t)){for(var e=[],n=0;n<t.length;++n)as()(t[n].id)||e.push({title:t[n].getAttribute(this.anchorTitleSelector),href:t[n].id,isActive:!1});as()(e)||(this.links=e,this.anchors=t)}},checkAnchorNavHeight:function(){this.$refs.anchorNav.offsetHeight!==this.anchorNavHeight&&(this.anchorNavHeight=this.$refs.anchorNav.offsetHeight)},checkViewport:function(){var t=document.querySelector(this.sectionSelector).getBoundingClientRect();if(t){var e=t.bottom<=this.mainNavHeight+this.anchorNavHeight+this.contentTemplateOffset,n=t.top>this.mainNavHeight+1+this.contentTemplateOffset;
550"sm"!==this.breakpoint&&"md"!==this.breakpoint||(n=t.top>this.mainNavHeight-this.breadcrumbHeight+1),this.sectionViewport=e?"is-after-viewport":n?"is-before-viewport":"is-in-viewport"}},checkActiveAnchor:function(){for(var t,e,n=this,i=this.totalOffset+1,r=0;r<this.anchors.length;++r)(!t&&this.anchors[r].getBoundingClientRect().top<=i||t&&t.getBoundingClientRect().top<this.anchors[r].getBoundingClientRect().top&&this.anchors[r].getBoundingClientRect().top<=i)&&(t=this.anchors[r]);t&&!this.activeLink||t&&t.id!==this.activeLink.href?(this.resetActiveLink(),et()(e=this.links).call(e,(function(e){return e.title===t.getAttribute(n.anchorTitleSelector)})).isActive=!0,window.history.replaceState(null,null,"#".concat(t.id))):t||this.resetActiveLink()},scrollToTarget:function(t){var e=window.pageYOffset,n=document.querySelector("#".concat(t));if(n){var i=e+n.getBoundingClientRect().top-this.totalOffset;scrollTo({top:i,behavior:"smooth"}),"lg"!==this.breakpoint&&this.toggleNavigation()}},resetActiveLink:function(){this.activeLink&&(this.activeLink.isActive=!1)},toggleNavigation:function(){this.showMobileNavigation=!this.showMobileNavigation}}},us=Object(at.a)(cs,es,[],!1,null,null,null);us.options.__file="src/assets/toolkit/scripts/components/anchor-navigation/anchor-navigation.vue";var ds=us.exports,hs=f((function t(){u(this,t);var e=!!document.querySelector(".page--type-anchor-nav.page--type-content-c2");this.elements=document.querySelectorAll("[data-component=anchor-navigation]").forEach((function(t){var n=O(t.getAttribute("data-i18n")||{}),i=O(t.getAttribute("data-buttons")||[]);new k.a({el:t,components:{AnchorNavigationComponent:ds},render:function(t){return t(ds,{props:{isContentTemplate:e,i18n:n,buttons:i}})}})}))})),ps=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"listitem-download__actions"},[t.displayDropdown?n("vue-select",{attrs:{options:t.options,label:t.label,"hide-validation-message":!0},on:{change:t.onSelect},scopedSlots:t._u([{key:"option",fn:function(e){var i=e.option;return[i.parentLabel?n("span",{staticClass:"listitem-download__option--group"},[t._v(t._s(i.parentLabel))]):t._e(),t._v(" "),i.label?n("span",{staticClass:"listitem-download__option"},[t._v(t._s(i.parentLabel?" ("+i.label+")":i.label))]):t._e()]}}],null,!1,3671339762)}):t._e(),t._v(" "),n("transition",{attrs:{name:"custom-classes-transition","enter-class":"animate-hide","leave-to-class":"animate-hide"}},[t.displayedLinks.length?n("div",{staticClass:"listitem-download__items"},t._l(t.displayedLinks,(function(e,i){return n("div",{key:i,staticClass:"listitem-download__item"},[n("i",{staticClass:"icon icon-download"}),t._v(" "),n("a",{staticClass:"listitem-download__link",attrs:{target:"_blank",href:e.url}},[t._v(t._s(t.linkLabel(e)||"Download"))]),t._v(" "),e.fileSize?n("span",{staticClass:"listitem-download__file"},[t._v("\n          (\n          "),n("span",[t._v(t._s(e.fileType))]),t._v("\n          |\n          "),n("span",[t._v(t._s(e.fileSize))]),t._v("\n          )\n        ")]):t._e()])})),0):t._e()])],1)};ps._withStripped=!0;var fs=n(1116),ms=n.n(fs);function gs(t,e){var n=E()(t);if(z.a){var i=z()(t);e&&(i=N()(i).call(i,(function(e){return V()(t,e).enumerable}))),n.push.apply(n,i)}return n}function vs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gs(Object(n),!0).forEach((function(e){Object(q.a)(t,e,n[e])})):G.a?Object.defineProperties(t,G()(n)):gs(Object(n)).forEach((function(e){Object.defineProperty(t,e,V()(n,e))}))}return t}var _s={name:"DownloadLinks",components:{VueSelect:n(456).a},props:{links:{type:Array,default:function(){return[]}},label:{type:String,default:""},downloadLabel:{type:String,default:""}},data:function(){return{selectedItem:null}},computed:{options:function(){var t,e;return ms()(t=$()(e=this.links).call(e,(function(t){var e;return t.items?$()(e=t.items).call(e,(function(e){return vs(vs({},e),{},{label:t.items.length>1?e.title:"",parentLabel:t.label})})):[vs(vs({},t),{},{label:t.title})]}))).call(t)},displayDropdown:function(){return this.options.length>2},displayedLinks:function(){return this.displayDropdown?this.selectedItem?[this.selectedItem]:[]:this.options}},mounted:function(){var t;this.displayDropdown&&(this.selectedItem=et()(t=this.options).call(t,(function(t){return t.selected})))},methods:{onSelect:function(t){t&&t.index>0&&t.index<=this.options.length?this.selectedItem=this.options[t.index-1]:this.selectedItem=null},linkLabel:function(t){return this.displayDropdown?this.downloadLabel:t.parentLabel?t.label?_()(e="".concat(t.parentLabel," (")).call(e,t.label,")"):t.parentLabel:t.label;var e}}},ys=Object(at.a)(_s,ps,[],!1,null,null,null);ys.options.__file="src/assets/toolkit/scripts/components/download-l
550inks/download-links.vue";var bs=ys.exports,xs=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-download-links]").forEach((function(t){var e=JSON.parse(t.getAttribute("data-download-links")),n=t.getAttribute("data-label"),i=t.getAttribute("data-download-label");new k.a({el:t,components:{DownloadLinksComponent:bs},render:function(t){return t(bs,{props:{links:e,label:n,downloadLabel:i}})}})}))})),ws=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=email]").forEach((function(t){var e=t.getAttribute("data-local"),n=t.getAttribute("data-domain"),i=t.getAttribute("data-icon"),r=t.getAttribute("data-label"),a=t.className,s=t.hasAttribute("data-keep-content")?Qa(t):"";new k.a({el:t,components:{EMailComponent:Me.a},render:function(t){return t(Me.a,{props:{localPart:e,domainPart:n,icon:i,label:r,className:a,innerHtml:s}})}})}))})),Ms=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"search",staticClass:"search"},[n("div",{staticClass:"search__body"},[n("div",{staticClass:"section-sidebar-wrapper"},[n("search-filter",{attrs:{modifier:"as-tiles","current-query":t.currentQuery,"reset-disabled":t.resetDisabled,"reset-filters":t.resetFilters,i18n:t.i18n},scopedSlots:t._u([{key:"filters",fn:function(){return[n("search-jobs-filter-query",{attrs:{field:"query",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"apply-filter":t.applyFilter},model:{value:t.currentQuery.query,callback:function(e){t.$set(t.currentQuery,"query",e)},expression:"currentQuery.query"}}),t._v(" "),n("search-jobs-filter-locations",{attrs:{config:t.config.filters,state:t.state.filters,"selected-locations":t.currentQuery.locations,i18n:t.i18n,"apply-filter":t.applyFilter}}),t._v(" "),n("search-filter-item",{attrs:{field:"workerType",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"is-accordion":!0,"apply-filter":t.applyFilter}}),t._v(" "),n("search-filter-item",{attrs:{field:"jobCategories",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"apply-filter":t.applyFilter}})]},proxy:!0}])})],1),t._v(" "),n("div",{staticClass:"section-list-wrapper"},[t.hasResults?n("search-results",{attrs:{"is-loading":t.isLoading,state:t.state,"filter-label":t.filterLabel,"current-query":t.currentQuery,"apply-sort-option":t.applySortOption,"select-page":t.selectPage,"sort-options":t.sortOptions},scopedSlots:t._u([{key:"title",fn:function(){return[n("b",[t._v(t._s(t.totalText("results")))]),t._v("\n          "+t._s(t.totalText("countries"))+"\n          "+t._s(t.totalText("locations"))+"\n          "+t._s(t.totalText("jobCategories"))+"\n        ")]},proxy:!0},{key:"listitems",fn:function(){return t._l(t.state.result.items,(function(e){return n("search-jobs-result",{key:e.jobId,attrs:{result:e,"country-for-location":t.countryForLocation,"location-label":t.locationLabel,"job-category-label":t.jobCategoryLabel}})}))},proxy:!0}],null,!1,3379862573)}):n("search-no-results",{attrs:{"is-loading":t.isLoading,"query-failed":t.queryFailed,links:t.links,"reset-filters":t.resetFilters,retry:t.queryResults,i18n:t.i18n}})],1)])])};Ms._withStripped=!0;var Ss=n(127),Ts=n.n(Ss),As=n(79),Ls=n.n(As),Es=n(65),Cs=n.n(Es),Is=n(288),Ds=n.n(Is),ks=n(106),Os=n.n(ks),Rs=(n(462),n(367)),Ps=n.n(Rs);function Ns(t,e){var n=E()(t);if(z.a){var i=z()(t);e&&(i=N()(i).call(i,(function(e){return V()(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ys(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ns(Object(n),!0).forEach((function(e){Object(q.a)(t,e,n[e])})):G.a?Object.defineProperties(t,G()(n)):Ns(Object(n)).forEach((function(e){Object.defineProperty(t,e,V()(n,e))}))}return t}var Fs={props:{config:{type:Object,default:function(){}},queryConfig:{type:Object,default:function(){}},initialState:{type:Object,default:function(){}}},data:function(){return{state:Ys({},this.initialState),currentRequest:null,currentQuery:this.buildQuery(this.initialState),queryFailed:!1}},computed:{isLoading:function(){return!!this.currentRequest}},methods:{formatStringforQuery:function(t){return"&"===vr()(t).call(t,-1)?t:"".concat(t,"&")},buildQueryString:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{hidePage:!1},n=e.hidePage,i=[];
550return pr()(this.currentQuery).forEach((function(e){var r=Object(dr.a)(e,2),a=r[0],s=r[1],o=t.queryConfig.params[a]||a;if(s&&"date"===a)i.push(t.queryConfig.params.dateStart+"="+encodeURIComponent(s.start)+"&"+t.queryConfig.params.dateEnd+"="+encodeURIComponent(s.end));else if(s&&"object"===A(s))pr()(s).forEach((function(t){var e=Object(dr.a)(t,2),n=e[0];e[1]&&n.length&&i.push(o+"="+encodeURIComponent(n))}));else if(s){if("page"===a&&n)return;i.push(o+"="+encodeURIComponent(s))}})),this.formatStringforQuery(this.queryConfig.commonParams)+i.join("&")},setUrlParameters:function(t){window.history.replaceState({},"",window.location.origin+window.location.pathname+"?".concat(t))},applyFilter:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=e&&Array.isArray(e)?e:[e],a=Ys({},this.currentQuery[t]);null!==e&&r.forEach((function(t){a[t]=n})),this.currentQuery=Ys(Ys({},this.currentQuery),{},Object(q.a)({page:i},t,null===e&&"string"==typeof n?n:a)),this.queryResults()}}},Hs={mixins:[Fs],computed:{sortOptionsByKey:function(){return Ls()(this.config.sortOptions,"key")},hasResults:function(){return!this.queryFailed&&this.state.result.numFound}},methods:{queryResults:function(){var t=this;return c(g.a.mark((function e(){var n,i,r,a;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.currentRequest&&t.currentRequest.abort(),t.currentRequest=new AbortController,n=t.buildQueryString(),t.setUrlParameters(n),i=t.formatStringforQuery(t.queryConfig.uri)+n,e.next=8,Ps.a.get(i,{signal:t.currentRequest.signal});case 8:r=e.sent,(a=r.data)?(t.state=a,t.currentQuery=t.buildQuery(),t.queryFailed=!1):(t.state.result={numFound:0,items:[]},t.queryFailed=!0),t.currentRequest=null,e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),e.t0 instanceof Ps.a.Cancel||(t.currentRequest=null,t.queryFailed=!0,t.state.result={numFound:0,items:[]},console.error(e.t0));case 17:case"end":return e.stop()}}),e,null,[[0,14]])})))()},filterLabel:function(t,e){var n=(this["".concat(t,"ByKey")]||{})[e];return n?n.label:e},selectPage:function(t){if(this.currentQuery.page!==t){this.currentQuery.page=t,this.queryResults();var e=this.$refs.search;e&&e.scrollIntoView({behavior:"smooth"})}},applySortOption:function(t){yr()(this.currentQuery)!==t&&(this.currentQuery.sort=t,this.currentQuery.page=1,this.queryResults())},totalCount:function(t){var e=Ts()(this.state.filters[t]);return e.some((function(t){return t.selected}))?N()(e).call(e,(function(t){return t.count>0&&t.selected})).length:N()(e).call(e,(function(t){return t.count>0})).length},totalText:function(t){return 1===this.total[t]?this.i18n("total.".concat(t,"One")):this.i18n("total.".concat(t,"Multiple"),{0:this.total[t]})}}},js=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-filter-item is-first-level has-checkboxes",class:{"is-accordion":t.isAccordion,"is-active":t.isAccordion&&t.initiallyExpanded},attrs:{"data-toggle-class":t.isAccordion&&"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("h4",{staticClass:"search-filter-item__title"},[t._v(t._s(t.i18n("filter."+t.field)))]),t._v(" "),t.isAccordion?n("i",{staticClass:"search-filter-item__indicator icon icon-arrow-down"}):t._e()]),t._v(" "),n("div",{class:t.isAccordion?"search-filter-item__body is-hidden":"search__wrapper",attrs:{"data-toggle-height":t.isAccordion}},[t.isGrouped?n("div",{staticClass:"search-filter-item__body-inner"},t._l(t.groups,(function(e){return n("div",{key:e.label,staticClass:"search-filter-item__group"},[n("div",{staticClass:"search-filter-item__group-label"},[t._v(t._s(e.label))]),t._v(" "),t._l(e.items,(function(e){return n("div",{key:e.key,class:["search__checkbox",t.hasIcons&&"has-icon"]},[n("checkbox",{attrs:{checked:!!t.selectionState[e.key],disabled:!(t.count(e.key)&&0!==t.total||t.selectionState[e.key]),modifier:t.reversedFilterLayout?"mdc-form-field--reversed":"",name:t.field,value:e.key},on:{change:function(n){return t.applyFilter(t.field,e.key,n)}}},[e.icon?n("i",{class:["icon","icon-"+e.icon]}):t._e(),t._v(" "),n("span",{domProps:{innerHTML:t._s(e.description)}}),t._v(" "),n("span",{staticClass:"search__vacancies"},[t._v("("+t._s(t.count(e.key))+")")])])],1)}))],2)})),0):n("div",{staticClass:"search-filter-item__body-inner"}
550,t._l(t.options,(function(e){return n("div",{key:e.key,class:["search__checkbox",t.hasIcons&&"has-icon"]},[n("checkbox",{attrs:{checked:!!t.selectionState[e.key],disabled:!(t.count(e.key)&&0!==t.total||t.selectionState[e.key]),modifier:t.reversedFilterLayout?"mdc-form-field--reversed":"",name:t.field,value:e.key},on:{change:function(n){return t.applyFilter(t.field,e.key,n)}}},[e.icon?n("i",{class:["icon","icon-"+e.icon]}):t._e(),t._v(" "),n("span",{domProps:{innerHTML:t._s(e.label)}}),t._v(" "),e.description?t._e():n("span",{staticClass:"search__vacancies"},[t._v("("+t._s(t.count(e.key))+")")])]),t._v(" "),e.description?n("div",{staticClass:"search-filter-item__description-container"},[n("span",{staticClass:"search-filter-item__description"},[t._v("\n            "+t._s(e.description)+"\n          ")]),t._v(" "),n("span",{staticClass:"search__vacancies"},[t._v("("+t._s(t.count(e.key))+")")])]):t._e()],1)})),0)])])};js._withStripped=!0;var Bs=n(216),zs={name:"SearchFilterItem",components:{Checkbox:Bs.a},props:{field:{type:String,default:""},filterType:{type:String,default:"checkbox"},total:{type:Number,default:null},config:{type:Object,default:function(){return{}}},state:{type:Object,default:function(){return{}}},currentQuery:{type:Object,default:function(){return{}}},isGrouped:Boolean,isAccordion:Boolean,hasIcons:Boolean,reversedFilterLayout:Boolean,applyFilter:{type:Function,default:function(){}},i18n:{type:Function,default:function(){}}},data:function(){return{initiallyExpanded:Os()(this.currentQuery[this.field])}},computed:{options:function(){return this.config[this.field]||[]},fieldState:function(){return this.state[this.field]||{}},selectionState:function(){return this.currentQuery[this.field]||{}},hasSelectedFields:function(){var t,e=this;return!!et()(t=E()(this.selectionState)).call(t,(function(t){return!0===e.selectionState[t]}))},groups:function(){return this.isGrouped?this.options.reduce((function(t,e){var n=et()(t).call(t,(function(t){return t.label===e.label}));return n?n.items.push(e):t.push({label:e.label,items:[e]}),t}),[]):[]}},methods:{count:function(t){return(this.fieldState[t]||{}).count||0}}},Us=Object(at.a)(zs,js,[],!1,null,null,null);Us.options.__file="src/assets/toolkit/scripts/components/search/search-filter-item.vue";var Vs=Us.exports,Ws=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-filter-item is-accordion is-first-level",class:{"is-active":t.initiallyExpanded},attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("h4",{staticClass:"search-filter-item__title"},[t._v(t._s(t.i18n("filter.countries")))]),t._v(" "),n("i",{staticClass:"search-filter-item__indicator icon icon-arrow-down"})]),t._v(" "),n("div",{staticClass:"search-filter-item__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"search-filter-item__body-inner"},[t._l(t.splitCountries.active,(function(e){return n("search-jobs-filter-country",{key:e.key,attrs:{country:e,"country-state":t.countryState(e.key),locations:t.locationsByCountry[e.key],"selected-locations":t.selectedLocations,"apply-filter":t.applyFilter,"location-count":t.locationCount,i18n:t.i18n}})})),t._v(" "),t.splitCountries.inactive.length?n("div",{staticClass:"search-filter-item is-accordion is-third-level",attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("h4",{staticClass:"search-filter-item__title"},[t._v("\n            "+t._s(t.i18n("filter.inactiveCountries"))+"\n          ")])]),t._v(" "),n("div",{staticClass:"search-filter-item__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"search-filter-item__body-inner"},t._l(t.splitCountries.inactive,(function(e){return n("div",{key:e.key,staticClass:"search-filter-item__inactive"},[t._v("\n              "+t._s(e.label)+"\n            ")])})),0)])]):t._e()],2)])])};Ws._withStripped=!0;var Gs=n(368),qs=n.n(Gs),Xs=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-filter-item is-accordion is-second-level has-checkboxes",class:{"
550is-active":t.countryState.initiallyExpanded},attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("h4",{staticClass:"search-filter-item__title"},[n("span",[t._v(t._s(t.country.label))]),t._v(" "),n("span",{staticClass:"search__vacancies"},[t._v(" ("+t._s(t.countryState.count)+")")])]),t._v(" "),n("i",{staticClass:"search-filter-item__indicator icon icon-arrow-down"})]),t._v(" "),n("div",{staticClass:"search-filter-item__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"search-filter-item__body-inner"},[t.locations.active.length?n("div",{staticClass:"search__checkbox is-primary"},[n("checkbox",{attrs:{checked:t.allLocationsSelected,label:t.i18n("filter.allLocations"),disabled:!t.countryState.count},on:{change:t.toggleAllLocations}})],1):t._e(),t._v(" "),t._l(t.locations.active,(function(e){return n("div",{key:e.key,staticClass:"search__checkbox"},[n("checkbox",{attrs:{checked:!!t.selectedLocations[e.key],disabled:!t.locationCount(e.key)},on:{change:function(n){return t.applyFilter("locations",e.key,n)}}},[n("span",[t._v(t._s(e.label))]),n("span",{staticClass:"search__vacancies"},[t._v("("+t._s(t.locationCount(e.key))+")")])])],1)})),t._v(" "),t.locations.inactive.length?[n("div",{staticClass:"search-filter-item is-accordion is-third-level",attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("h4",{staticClass:"search-filter-item__title"},[t._v("\n              "+t._s(t.i18n("filter.inactiveLocations"))+"\n            ")])]),t._v(" "),n("div",{staticClass:"search-filter-item__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"search-filter-item__body-inner"},t._l(t.locations.inactive,(function(e){return n("div",{key:e.key,staticClass:"search-filter-item__inactive"},[t._v("\n                "+t._s(e.label)+"\n              ")])})),0)])])]:t._e()],2)])])};Xs._withStripped=!0;var $s={name:"SearchJobsFilterCountry",components:{Checkbox:Bs.a},props:{country:{type:Object,default:function(){return{}}},locations:{type:Object,default:function(){return{active:[],inactive:[]}}},countryState:{type:Object,default:function(){return{}}},locationCount:{type:Function,default:function(){return 0}},selectedLocations:{type:Object,default:function(){return{}}},applyFilter:{type:Function,default:function(){}},i18n:{type:Function,default:function(){}}},computed:{allLocationsSelected:function(){var t=this;return this.locations.active.reduce((function(e,n){return e&&!!t.selectedLocations[n.key]}),!0)}},methods:{toggleAllLocations:function(t){var e,n=$()(e=this.locations.active).call(e,(function(t){return t.key}));this.applyFilter("locations",n,t)}}},Ks=Object(at.a)($s,Xs,[],!1,null,null,null);Ks.options.__file="src/assets/toolkit/scripts/components/search-jobs/search-jobs-filter-country.vue";var Js={name:"SearchJobsFilterLocations",components:{SearchJobsFilterCountry:Ks.exports},props:{config:{type:Object,default:function(){return{}}},state:{type:Object,default:function(){return{}}},selectedLocations:{type:Object,default:function(){return{}}},applyFilter:{type:Function,default:function(){}},i18n:{type:Function,default:function(){}}},data:function(){var t=this,e=Cs()(Ls()(this.config.countries,"key"),(function(e){return t.config.locations.some((function(n){return n.countryKey===e.key&&!!t.selectedLocations[n.key]}))}));return{initiallyExpandedCountries:e,initiallyExpanded:Os()(e)}},computed:{splitCountries:function(){var t=qs()(this.config.countries,this.isCountryActive),e=Object(dr.a)(t,2);return{active:e[0],inactive:e[1]}},locationsByCountry:function(){var t=this,e=Ds()(this.config.locations,"countryKey");return Cs()(e,(function(e){var n=qs()(e,t.isLocationActive),i=Object(dr.a)(n,2);return{active:i[0],inactive:i[1]}}))}},methods:{countryCount:function(t){return(this.state.countries[t]||{}).count},locationCount:function(t){return(this.state.locations[t]||{}).count},isActive:function(t){return t>=0},isCountryActive:function(t){return this.isActive(this.countryCount(t.key))},isLocationActive:function(t){return this.isActive(this.locationCount(t.key))},countryState:function(t){return{initiallyExpanded:this.initiallyExpandedCountries[t],count:this.countryCount(t)}}}},Qs=Object(at.a)(Js,Ws,[],!1,null,null,null);Qs.options.__file="src/assets/toolkit/scripts/components/search-jobs/search-jobs-filter-locations.vue";var Zs=Qs.exports,to=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"search-filter-item is-first-level"},[e("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[e("h4",{staticClass:"search-filter-item__title"},[this._v(this._s(this.i18n("filter."+this.field)))])]),this._v(" "),e("div",{staticClass:"search-filter-item__body"},[e("div",{staticClass:"search-filter-item__body-inner"},[e("text-field",{staticClass:"search-filter-item__text-field",attrs:{value:this.query,"hide-validation":""},on:{input:this.onInput}})],1)])])};to._withStripped=!0;var eo=n(341),no={name:"SearchJobsFilterQuery",components:{TextField:eo.a},emits:["update:value"],props:{value:{type:String,default:""},field:{type:String,default:""},config:{type:Object,default:function(){return{}}},state:{type:Object,default:function(){return{}}},currentQuery:{type:Object,default:function(){return{}}},applyFilter:{type:Function,default:function(){}},i18n:{type:Function,default:function(){}}},data:function(){return{query:this.value}},computed:{options:function(){return this.config[this.field]||[]}},watch:{value:function(t){this.setQuery(t)}},created:function(){this.value&&this.setQuery(this.value)},methods:{onInput:function(t){this.setQuery(t),this.$emit("update:value",t)},setQuery:function(t){this.query=t,this.state[this.field]=t,this.applyFilter(this.field,null,t)}}},io=Object(at.a)(no,to,[],!1,null,null,null);io.options.__file="src/assets/toolkit/scripts/components/search-jobs/search-jobs-filter-query.vue";var ro=io.exports,ao=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"listitem-job",attrs:{href:t.result.url}},[n("div",{staticClass:"listitem-job__head"},[n("div",{staticClass:"listitem-job__meta"},[n("i",{staticClass:"icon icon-time"}
550),t._v("\n      "+t._s(t.result.releaseDate)+"\n    ")]),t._v(" "),n("div",{staticClass:"listitem-job__meta"},[n("i",{staticClass:"icon icon-calendar"}),t._v("\n      "+t._s(t.result.startDate)+"\n    ")])]),t._v(" "),n("div",{staticClass:"listitem-job__title"},[n("h3",{staticClass:"listitem-job__headline"},[t._v(t._s(t.result.title))])]),t._v(" "),n("div",{staticClass:"listitem-job__body"},[n("div",{staticClass:"listitem-job__tags"},[t.result.location?n("div",{staticClass:"listitem-job__tag"},[n("i",{staticClass:"icon icon-location"}),t._v(" "),n("span",{staticClass:"listitem-job__location"},[t._v(t._s(t.countryForLocation(t.result.location))+",\n          "+t._s(t.locationLabel(t.result.location)))])]):t._e(),t._v(" "),t._l(t.result.jobCategories,(function(e){return n("div",{key:e,staticClass:"listitem-job__tag"},[n("i",{staticClass:"icon icon-factory"}),t._v("\n        "+t._s(t.jobCategoryLabel(e))+"\n      ")])}))],2)])])};ao._withStripped=!0;var so={name:"SearchJobsResult",components:{},props:{result:{type:Object,default:function(){return{}}},countryForLocation:{type:Function,default:function(){}},locationLabel:{type:Function,default:function(){}},jobCategoryLabel:{type:Function,default:function(){}}}},oo=Object(at.a)(so,ao,[],!1,null,null,null);oo.options.__file="src/assets/toolkit/scripts/components/search-jobs/search-jobs-result.vue";var lo=oo.exports,co=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search is-accordion",class:[t.modifier,t.isDisabled&&"is-disabled"],attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("i",{staticClass:"search-filter-item__indicator icon icon-settings"}),t._v(" "),n("div",{staticClass:"search-filter-item__title"},[t._v(t._s(t.i18n("filter.title")))])]),t._v(" "),n("div",{staticClass:"search-filter-item__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"search-filter-item__body-inner"},[t.resetFilters?n("div",{staticClass:"search-filter-item__head"},[n("vue-button",{attrs:{icon:"close",modifier:"button--primary-light",label:t.i18n("filter.resetFilters"),disabled:t.resetDisabled},on:{click:function(e){!t.resetDisabled&&t.resetFilters()}}})],1):t._e(),t._v(" "),n("form",{staticClass:"search__form"},[t._t("filters")],2)])])])};co._withStripped=!0;var uo=n(63),ho={name:"SearchFilter",components:{VueButton:uo.a},props:{modifier:{type:String,default:""},isDisabled:Boolean,resetFilters:{type:Function,default:null},resetDisabled:{type:Boolean},i18n:{type:Function,default:function(){}}}},po=Object(at.a)(ho,co,[],!1,null,null,null);po.options.__file="src/assets/toolkit/scripts/components/search/search-filter.vue";var fo=po.exports,mo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["search-list",t.modifier]},[n("div",{staticClass:"search-list__head"},[n("h2",{staticClass:"search-list__title"},[t._t("title")],2),t._v(" "),t.sortOptions&&t.applySortOption?n("div",{staticClass:"search-list__actions"},t._l(t.sortOptions,(function(e){return n("div",{key:e,staticClass:"search-list__sort"},[n("vue-button",{attrs:{icon:t.getSortIcon(e),label:t.getSortLabel(e),disabled:e===t.currentQuery.sort,modifier:"button--link"},on:{click:function(n){return t.setSortOption(e)}}})],1)})),0):t._e()]),t._v(" "),!t.disableProgressBar&&t.isLoading?n("linear-progress"):t._e(),t._v(" "),n("div",{staticClass:"listitems",class:{"listitems--loading":t.isLoading},attrs:{"data-colcount":t.columns}},[t._t("listitems")],2),t._v(" "),n("div",{staticClass:"search-list__footer"},[n("pagination",{attrs:{"num-pages":t.state.pagination.numPages,"current-page":t.currentQuery.page,"on-select":t.selectPage,"hide-last-page":!0}})],1)],1)};mo._withStripped=!0;var go=n(1117),vo=n.n(go),_o=n(217),yo=n(457),bo={name:"SearchResults",components:{VueButton:uo.a,LinearProgress:_o.a,Pagination:yo.a},props:{isLoading:Boolean,disableProgressBar:Boolean,columns:{type:Number,default:1},modifier:{type:String,default:null},state:{type:Object,default:function(){return{}}},filterLabel:{type:Function,default:function(){}},currentQuery:{type:Object,default:function(){return{}}},applySortOption:{type:Function,default:null},selectPage:{type:Function,default:function(){}},sortOptions:{type:Array,default:null}},methods:{getSortIcon:function(t){return vo()(t).call(t,".asc")?"arrow-up":"arrow-down"},getSortLabel:function(t){return this.filterLabel("sortOptions",t)},setSortOption:function(t){t!==yr()(this.currentQuery)&&this.applySortOption(t)}}},xo=Object(at.a)(bo,mo,[],!1,null,null,null);xo.options.__file="src/assets/toolkit/scripts/components/search/search-results.vue";var wo=xo.exports,Mo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-list is-empty"},[n("div",{staticClass:"search-list__head"},[n("h2",{staticClass:"search-list__title"},[n("b",[t._v(t._s(t.i18n("total.resultsMultiple",{0:0})))]),t._v(". "+t._s(t.i18n("noResults.title"))+"\n    ")]),t._v(" "),n("div",{staticClass:"search-list__fallback"},[n("div",{staticClass:"search-list__msg"},[t._v("\n        "+t._s(t.i18n(t.queryFailed?"error.message":"noResults.message"))+"\n      ")]),t._v(" "),n("div",{staticClass:"search-list__buttons"},[n("vue-button",{attrs:{icon:t.queryFailed?"refresh":"close",modifier:"button--primary-light",label:t.i18n(t.queryFailed?"error.retry":"filter.resetFilters")},on:{click:function(e){t.queryFailed?t.retry():t.resetFilters()}}}),t._v(" "),n("vue-button",{attrs:{icon:"arrow-right",modifier:"button--link",href:t.contactLink,label:t.i18n(t.queryFailed?"error.contact":"noResults.contact")}})],1)])]),t._v(" "),t.isLoading?n("linear-progress"):t._e()],1)};Mo._withStripped=!0;var So={name:"SearchNoResults",components:{VueButton:uo.a,LinearProgress:_o.a}
550,props:{isLoading:Boolean,queryFailed:Boolean,links:{type:Object,default:function(){return{}}},resetFilters:{type:Function,default:function(){}},retry:{type:Function,default:function(){}},i18n:{type:Function,default:function(){}}},computed:{contactLink:function(){var t=this.queryFailed?this.links.contactFailedQuery:this.links.contactNoResults;return Object(C.a)(t,this.links.mailPrefix)}}},To=Object(at.a)(So,Mo,[],!1,null,null,null);To.options.__file="src/assets/toolkit/scripts/components/search/search-no-results.vue";var Ao=To.exports,Lo={name:"SearchJobs",components:{SearchJobsFilterLocations:Zs,SearchJobsFilterQuery:ro,SearchFilterItem:Vs,SearchJobsResult:lo,SearchFilter:fo,SearchResults:wo,SearchNoResults:Ao},mixins:[F.a,Hs],props:{links:{type:Object,default:function(){return{}}}},data:function(){return{sortOptions:["releasedate.desc","startdate.asc"]}},computed:{countriesByKey:function(){return Ls()(this.config.filters.countries,"key")},locationsByKey:function(){return Ls()(this.config.filters.locations,"key")},jobCategoriesByKey:function(){return Ls()(this.config.filters.jobCategories,"key")},locationsByCountry:function(){return Ds()(this.config.filters.locations,"countryKey")},resetDisabled:function(){var t=this.currentQuery;return!(t.query||Os()(t.locations)||Os()(t.jobCategories)||Os()(t.workerType))},total:function(){return{results:this.state.result.numFound,countries:this.totalCountryCount(),locations:this.totalCount("locations"),jobCategories:this.totalCount("jobCategories")}}},methods:{buildQuery:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state,e=t.filters;return{jobCategories:Cs()(e.jobCategories,"selected"),workerType:Cs()(e.workerType,"selected"),locations:Cs()(e.locations,"selected"),query:e.query,page:t.pagination.currentPage,sort:t.sortOption}},countryForLocation:function(t){var e=this.locationsByKey[t];return e?this.filterLabel("countries",e.countryKey):t},resetFilters:function(){this.currentQuery={query:"",page:1,sort:yr()(this.currentQuery)},this.queryResults()},totalCountryCount:function(){var t,e,n=this.state.filters.locations;return Ts()(n).some((function(t){return t.selected}))?N()(e=Ts()(this.locationsByCountry)).call(e,(function(t){return t.some((function(t){var e=n[t.key]||{};return e.count>0&&e.selected}))})).length:N()(t=Ts()(this.state.filters.countries)).call(t,(function(t){return t.count>0})).length},locationLabel:function(t){return this.filterLabel("locations",t)},jobCategoryLabel:function(t){return this.filterLabel("jobCategories",t)}},mounted:function(){if(window&&this.currentQuery.query){var t=this.$refs.search.offsetTop;window.scrollTo({top:t,behavior:"smooth"})}}},Eo=Object(at.a)(Lo,Ms,[],!1,null,null,null);Eo.options.__file="src/assets/toolkit/scripts/components/search-jobs/search-jobs.vue";var Co=Eo.exports,Io=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=search-jobs]").forEach((function(t){var e=t.getAttribute("data-config"),n=t.getAttribute("data-query"),i=t.getAttribute("data-state"),r=t.getAttribute("data-links"),a=O(e),s=O(n),o=O(i),l=O(r);new k.a({el:t,components:{SearchJobsComponent:Co},render:function(t){return t(Co,{props:{config:a,queryConfig:s,initialState:o,links:l}})}})}))})),Do=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"search",staticClass:"search"},[n("div",{staticClass:"search__body"},[n("div",{staticClass:"section-sidebar-wrapper"},[n("search-filter",{attrs:{modifier:"as-tiles","current-query":t.currentQuery,"reset-disabled":t.resetDisabled,"reset-filters":t.resetFilters,i18n:t.i18n},scopedSlots:t._u([{key:"filters",fn:function(){return[n("search-filter-item",{attrs:{field:"crops",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"is-accordion":!0,"apply-filter":t.applyFilter}}),t._v(" "),n("search-filter-item",{attrs:{field:"categories",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"is-grouped":!0,"is-accordion":!0,"apply-filter":t.applyFilter}}),t._v(" "),n("search-filter-item",{attrs:{field:"certifications",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"is-accordion":!0,"apply-filter":t.applyFilter}}),t._v(" "),n("search-filter-item",{attrs:{field:"nutrients",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"is-accordion":!0,"apply-filter":t.applyFilter}}),t._v(" "),t.links.productTable?n("search-products-teaser",{attrs:{label:t.i18n("productTable.link"),href:t.links.productTable}},[t._v("\n            "+t._s(t.i18n("productTable.message"))+"\n          ")]):t._e()]},proxy:!0}])})],1),t._v(" "),n("div",{staticClass:"section-list-wrapper"},[t.hasResults?n("search-results",{attrs:{columns:2,"is-loading":t.isLoading,state:t.state,"filter-label":t.filterLabel,"current-query":t.currentQuery,"select-page":t.selectPage,modifier:"is-product-search"},scopedSlots:t._u([{key:"title",fn:function(){return[n("b",[t._v(t._s(t.totalText("results")))]),t._v("\n          "+t._s(t.totalText("categories"))+"\n          "+t._s(t.totalText("nutrients"))+"\n        ")]},proxy:!0},{key:"listitems",fn:function(){return t._l(t.state.result.items,(function(e,i){return n("search-products-result",{key:i,attrs:{result:e,"ecological-img":t.links.ecologicalImg,"is-agriculture":""}})}))},proxy:!0}],null,!1,4045628755)}):n("search-no-results",{attrs:{"is-loading":t.isLoading,"query-failed":t.queryFailed,links:t.links,"reset-filters":t.resetFilters,retry:t.queryResults,i18n:t.i18n}})],1)])])};Do._withStripped=!0;var ko=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"search__teaser"},[e("div",{staticClass:"search__teaser-body"},[this._t("default")],2),this._v(" "),e("div",{staticClass:"search__teaser-actions"},[e("vue-button",{attrs:{icon:"pdf",modifier:"button--primary",target:"_blank",href:this.href,label:this.label}})],1)])};ko._withStripped=!0;var Oo={name:"SearchProductsTeaser",components:{VueButton:uo.a},props:{label:{type:String,default:"#"},href:{type:String,default:"#"}}},Ro=Object(at.a)(Oo,ko,[],!1,null,null,null);Ro.options.__file="src/assets/toolkit/scripts/components/search-products/search-products-teaser.vue";var Po=Ro.exports,No=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{class:t.listitemClasses,attrs:{href:t.result.href,target:t.result.externalLink&&"_blank"}},[t.result.ecological?n("div",{staticClass:"listitem-product__ecological"},[n("img",{attrs:{src:t.ecologicalImg,alt:"For organic farming"}})]):t._e(),t._v(" "),n("div",{staticClass:"listitem-product__head"},[t.result.formula?n("div",{staticClass:"listitem-product__formula",domProps:{innerHTML:t._s(t.result.formula)}}):t._e(),t._v(" "),n("h4",{staticClass:"listitem-product__name",style:t.result.brandColor&&"color: "+t.result.brandColor+";"},[t.result.logo?n("div",{staticClass:"listitem-product__logo"},[n("img",{attrs:{src:t.result.logo,alt:t.result.name,title:t.result.name}})]):[n("span",{domProps:{innerHTML:t._s(t.result.name)}
550})]],2)]),t._v(" "),n("div",{staticClass:"listitem-product__body"},[t.result.addon?n("div",{staticClass:"listitem-product__addon",domProps:{innerHTML:t._s(t.result.addon)}}):t._e(),t._v(" "),n("div",{staticClass:"listitem-product__copy",domProps:{innerHTML:t._s(t.result.teaserText)}}),t._v(" "),t.result.contents?n("div",{staticClass:"listitem-product__nutrients nutrients are-small"},t._l(t.result.contents,(function(e,i){return n("div",{key:i,staticClass:"nutrients__item"},[n("div",{staticClass:"nutrients__amount",domProps:{innerHTML:t._s(e.amountLabel)}}),t._v(" "),n("div",{class:"nutrients__graph nutrients__graph-"+e.color,style:t.inlineStyle(e.amount)}),t._v(" "),n("div",{staticClass:"nutrients__info-wrapper"},[n("div",{staticClass:"nutrients__type",domProps:{innerHTML:t._s(e.formula)}})])])})),0):t._e(),t._v(" "),t.result.subsegment&&!t.isAgriculture?n("div",{staticClass:"listitem-product__subsegment"},[n("i",{class:"icon icon-subsegment-"+t.result.subsegment.icon}),t._v(" "),t.result.subsegment.name?n("span",[t._v(t._s(t.result.subsegment.name))]):t._e()]):t._e()])])};No._withStripped=!0;var Yo=n(1118),Fo=n.n(Yo),Ho={name:"SearchProductsResult",props:{isAgriculture:Boolean,result:{type:Object,default:function(){return{}}},ecologicalImg:{type:String,default:""}},computed:{maxValue:function(){return Math.max.apply(Math,jr(Fo()(this.result.contents,"amount")))},listitemClasses:function(){return["listitem-product",this.result.brandColor&&"has-brand-color",this.isAgriculture&&"listitem-product--agriculture",this.result.mainContents&&"listitem-product--".concat(this.result.mainContents),this.result.externalLink&&"listitem-product__externalLink"]}},methods:{inlineStyle:function(t){if(isFinite(this.maxValue)&&this.maxValue>0)return t>1?"width: ".concat(Math.round(t/this.maxValue*70),"%"):"width: 6px"}}},jo=Object(at.a)(Ho,No,[],!1,null,null,null);jo.options.__file="src/assets/toolkit/scripts/components/search-products/search-products-result.vue";var Bo=jo.exports,zo={name:"SearchProducts",components:{SearchProductsTeaser:Po,SearchProductsResult:Bo,SearchFilterItem:Vs,SearchFilter:fo,SearchResults:wo,SearchNoResults:Ao},mixins:[F.a,Hs],props:{links:{type:Object,default:function(){return{}}}},computed:{cropsByKey:function(){return Ls()(this.config.filters.crops,"key")},categoriesByKey:function(){return Ls()(this.config.filters.categories,"key")},certificationsByKey:function(){return Ls()(this.config.filters.certifications,"key")},nutrientsByKey:function(){return Ls()(this.config.filters.nutrients,"key")},resetDisabled:function(){var t=this.currentQuery;return!(Os()(t.certifications)||Os()(t.crops)||Os()(t.categories)||Os()(t.nutrients))},total:function(){return{results:this.state.result.numFound,crops:this.totalCount("crops"),categories:this.totalCount("categories"),certifications:this.totalCount("certifications"),nutrients:this.totalCount("nutrients")}}},methods:{buildQuery:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state,e=t.filters;return{nutrients:Cs()(e.nutrients,"selected"),certifications:Cs()(e.certifications,"selected"),categories:Cs()(e.categories,"selected"),crops:Cs()(e.crops,"selected"),page:t.pagination.currentPage}},resetFilters:function(){this.currentQuery={page:1},this.queryResults()}}},Uo=Object(at.a)(zo,Do,[],!1,null,null,null);Uo.options.__file="src/assets/toolkit/scripts/components/search-products/search-products.vue";var Vo=Uo.exports,Wo=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=search-products]").forEach((function(t){var e=t.getAttribute("data-config"),n=t.getAttribute("data-query"),i=t.getAttribute("data-state"),r=t.getAttribute("data-links"),a=O(e),s=O(n),o=O(i),l=O(r);new k.a({el:t,components:{SearchProductsComponent:Vo},render:function(t){return t(Vo,{props:{config:a,queryConfig:s,initialState:o,links:l}})}})}))})),Go=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"search",staticClass:"search"},[n("div",{staticClass:"search__body"},[n("div",{staticClass:"section-sidebar-wrapper"},[n("search-filter",{attrs:{modifier:"as-tiles","current-query":t.currentQuery,"reset-disabled":t.resetDisabled,"reset-filters":t.resetFilters,i18n:t.i18n},scopedSlots:t._u([{key:"filters",fn:function(){return[n("search-products-filter-usages",{attrs:{config:t.config.filters,state:t.state.filters,"selected-usages":t.currentQuery.usages,i18n:t.i18n,"apply-filter":t.applyFilter}}
550),t._v(" "),n("search-filter-item",{class:{"is-active":!0},attrs:{field:"salt",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"is-accordion":!0,"apply-filter":t.applyFilter}})]},proxy:!0}])})],1),t._v(" "),n("div",{staticClass:"section-list-wrapper"},[t.hasResults?n("search-results",{attrs:{columns:2,"is-loading":t.isLoading,state:t.state,"filter-label":t.filterLabel,"current-query":t.currentQuery,"select-page":t.selectPage,modifier:"is-product-search"},scopedSlots:t._u([{key:"title",fn:function(){return[n("b",[t._v(t._s(t.totalText("results")))]),t._v("\n          "+t._s(t.totalText("branches"))+"\n          "+t._s(t.totalText("usages"))+"\n        ")]},proxy:!0},{key:"listitems",fn:function(){return t._l(t.state.result.items,(function(e,i){return n("search-products-result",{key:i,attrs:{result:e,"ecological-img":t.links.ecologicalImg}})}))},proxy:!0}],null,!1,1842824217)}):n("search-no-results",{attrs:{"is-loading":t.isLoading,"query-failed":t.queryFailed,links:t.links,"reset-filters":t.resetFilters,retry:t.queryResults,i18n:t.i18n}})],1)])])};Go._withStripped=!0;var qo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-filter-item is-accordion is-first-level",class:{"is-active":!0},attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("h4",{staticClass:"search-filter-item__title"},[t._v(t._s(t.i18n("filter.branches")))]),t._v(" "),n("i",{staticClass:"search-filter-item__indicator icon icon-arrow-down"})]),t._v(" "),n("div",{staticClass:"search-filter-item__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"search-filter-item__body-inner"},[t._l(t.splitBranches.active,(function(e){return n("search-products-filter-branch",{key:e.key,attrs:{branch:e,"branch-state":t.branchState(e.key),usages:t.usagesByBranch[e.key],"selected-usages":t.selectedUsages,"apply-filter":t.applyFilter,"usage-count":t.usageCount,i18n:t.i18n}})})),t._v(" "),t.splitBranches.inactive.length?n("div",{staticClass:"search-filter-item is-accordion is-third-level",attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("h4",{staticClass:"search-filter-item__title"},[t._v("\n            "+t._s(t.i18n("filter.inactiveBranches"))+"\n          ")])]),t._v(" "),n("div",{staticClass:"search-filter-item__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"search-filter-item__body-inner"},t._l(t.splitBranches.inactive,(function(e){return n("div",{key:e.key,staticClass:"search-filter-item__inactive"},[t._v("\n              "+t._s(e.label)+"\n            ")])})),0)])]):t._e()],2)])])};qo._withStripped=!0;var Xo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-filter-item is-accordion is-second-level has-checkboxes",class:{"is-active":t.branchState.initiallyExpanded},attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("h4",{staticClass:"search-filter-item__title"},[n("span",[t._v(t._s(t.branch.label))]),t._v(" "),n("span",{staticClass:"search__vacancies"},[t._v(" ("+t._s(t.branchState.count)+")")])]),t._v(" "),n("i",{staticClass:"search-filter-item__indicator icon icon-arrow-down"})]),t._v(" "),n("div",{staticClass:"search-filter-item__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"search-filter-item__body-inner"},[t.usages.active.length?n("div",{staticClass:"search__checkbox is-primary"},[n("checkbox",{attrs:{checked:t.allUsagesSelected,label:t.i18n("filter.allUsages"),disabled:!t.branchState.count},on:{change:t.toggleAllUsages}})],1):t._e(),t._v(" "),t._l(t.usages.active,(function(e){return n("div",{key:e.key,staticClass:"search__checkbox"},[n("checkbox",{attrs:{checked:!!t.selectedUsages[e.key],disabled:!t.usageCount(e.key)},on:{change:function(n){return t.applyFilter("usages",e.key,n)}}},[n("span",[t._v(t._s(e.label))]),n("span",{staticClass:"search__vacancies"},[t._v("("+t._s(t.usageCount(e.key))+")")])])],1)})),t._v(" "),t.usages.inactive.length?[n("div",{staticClass:"search-filter-item is-accordion is-third-level",attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"search-filter-item__toggle",attrs:{role:"button","data-toggle-trigger":""}},[n("h4",{staticClass:"search-filter-item__title"},[t._v("\n              "+t._s(t.i18n("filter.inactiveUsages"))+"\n            ")])]),t._v(" "),n("div",{staticClass:"search-filter-item__body is-hidden",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"search-filter-item__body-inner"},t._l(t.usages.inactive,(function(e){return n("div",{key:e.key,staticClass:"search-filter-item__inactive"},[t._v("\n                "+t._s(e.label)+"\n              ")])})),0)])])]:t._e()],2)])])};Xo._withStripped=!0;var $o={name:"SearchProductsFilterBranch",components:{Checkbox:Bs.a},props:{branch:{type:Object,default:function(){return{}}},usages:{type:Object,default:function(){return{active:[],inactive:[]}}},branchState:{type:Object,default:function(){return{}}},usageCount:{type:Function,default:function(){return 0}},selectedUsages:{type:Object,default:function(){return{}}},applyFilter:{type:Function,default:function(){}},i18n:{type:Function,default:function(){}}},computed:{allUsagesSelected:function(){var t=this;return this.usages.active.reduce((function(e,n){return e&&!!t.selectedUsages[n.key]}),!0)}},methods:{toggleAllUsages:function(t){var e,n=$()(e=this.usages.active).call(e,(function(t){return t.key}));this.applyFilter("usages",n,t)}}},Ko=Object(at.a)($o,Xo,[],!1,null,null,null);Ko.options.__file="src/assets/toolkit/scripts/components/search-products-industry/search-products-filter-branch.vue";var Jo={name:"SearchProductsFilterUsages",components:{SearchProductsFilterBranch:Ko.exports},props:{config:{type:Object,default:function(){return{}}},state:{type:Object,default:function(){return{}}},selectedUsages:{type:Object,default:function(){return{}}},applyFilter:{type:Function,default:function(){}},i18n:{type:Function,default:function(){}}},data:function(){var t=this,e=Cs()(Ls()(this.config.branches,"key"),(function(e){return t.config.usages.some((function(n){return n.branchKey===e.key&&!!t.selectedUsages[n.key]}))}));return{initiallyExpandedBranches:e,initiallyExpanded:Os()(e)}},computed:{splitBranches:function(){var t=qs()(this.config.branches,this.isBranchActive),e=Object(dr.a)(t,2);return{active:e[0],inactive:e[1]}},usagesByBranch:function(){var t=this,e=Ds()(this.config.usages,"branchKey");return Cs()(e,(function(e){var n=qs()(e,t.isUsageActive),i=Object(dr.a)(n,2);return{active:i[0],inactive:i[1]}}))}},methods:{branchCount:function(t){return(this.state.branches[t]||{}).count},usageCount:function(t){return(this.state.usages[t]||{}).count},isActive:function(t){return t>=0},isBranchActive:function(t){return this.isActive(this.branchCount(t.key))},isUsageActive:function(t){return this.isActive(this.usageCount(t.key))},branchState:function(t){return{initiallyExpanded:this.initiallyExpandedBranches[t],count:this.branchCount(t)}}}},Qo=Object(at.a)(Jo,qo,[],!1,null,null,null);Qo.options.__file="src/assets/toolkit/scripts/components/search-products-industry/search-products-filter-usages.vue";var Zo={name:"SearchProducts",components:{SearchProductsResult:Bo,SearchFilterItem:Vs,SearchProductsFilterUsages:Qo.exports,SearchFilter:fo,SearchResults:wo,SearchNoResults:Ao},mixins:[F.a,Hs],props:{links:{type:Object,default:function(){return{}}}},computed:{branchesByKey:function(){return Ls()(this.config.filters.branches,"key")},usagesByKey:function(){return Ls()(this.config.filters.usages,"ke
550y")},saltByKey:function(){return Ls()(this.config.filters.salt,"key")},usagesByBranch:function(){return Ds()(this.config.filters.usages,"branchKey")},resetDisabled:function(){var t=this.currentQuery;return!Os()(t.usages)&&!Os()(t.salt)},total:function(){return{results:this.state.result.numFound,usages:this.totalCount("usages"),branches:this.totalBranchCount(),salt:this.totalCount("salt")}}},methods:{buildQuery:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state,e=t.filters;return{usages:Cs()(e.usages,"selected"),salt:Cs()(e.salt,"selected"),page:t.pagination.currentPage}},branchForUsage:function(t){var e=this.usagesByKey[t];return e?this.filterLabel("branches",e.countryKey):t},resetFilters:function(){this.currentQuery={page:1},this.queryResults()},totalBranchCount:function(){var t,e,n=this.state.filters.usages;return Ts()(n).some((function(t){return t.selected}))?N()(e=Ts()(this.usagesByBranch)).call(e,(function(t){return t.some((function(t){var e=n[t.key]||{};return e.count>0&&e.selected}))})).length:N()(t=Ts()(this.state.filters.branches)).call(t,(function(t){return t.count>0})).length},usageLabel:function(t){return this.filterLabel("usages",t)}}},tl=Object(at.a)(Zo,Go,[],!1,null,null,null);tl.options.__file="src/assets/toolkit/scripts/components/search-products-industry/search-products-industry.vue";var el=tl.exports,nl=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=search-products-industry]").forEach((function(t){var e=t.getAttribute("data-config"),n=t.getAttribute("data-query"),i=t.getAttribute("data-state"),r=t.getAttribute("data-links"),a=O(e),s=O(n),o=O(i),l=O(r);new k.a({el:t,components:{SearchProductsComponent:el},render:function(t){return t(el,{props:{config:a,queryConfig:s,initialState:o,links:l}})}})}))})),il=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"search",staticClass:"search site-search"},[n("search-site-header",{attrs:{"initial-query-term":t.currentQuery.queryTerm,"button-label":t.i18n("search.buttonLabel"),placeholder:t.i18n("search.placeholder"),"apply-query":t.applyQuery,"is-loading":t.isLoading}}),t._v(" "),n("div",{staticClass:"search__body"},[t.hasResults?n("div",{staticClass:"section-sidebar-wrapper"},[n("search-filter",{attrs:{i18n:t.i18n,"is-disabled":!t.hasResults,"reset-disabled":t.resetDisabled,"reset-filters":t.applyQuery},scopedSlots:t._u([{key:"filters",fn:function(){return[n("search-filter-item",{attrs:{field:"contentBranch",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"apply-filter":t.applyFilter,total:t.total.results,"reversed-filter-layout":""}}),t._v(" "),n("search-filter-item",{attrs:{field:"contentType",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"apply-filter":t.applyFilter,total:t.total.results,"reversed-filter-layout":"","has-icons":""}})]},proxy:!0}],null,!1,4261303131)})],1):t._e(),t._v(" "),t.hasResults?n("div",{staticClass:"section-list-wrapper"},[n("search-results",{attrs:{state:t.state,"filter-label":t.filterLabel,"current-query":t.currentQuery,"apply-sort-option":t.applySortOption,"select-page":t.selectPage,"sort-options":t.sortOptions,"is-loading":t.isLoading,"disable-progress-bar":""},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n          "+t._s(t.displayedResults)+" "),n("b",[t._v(t._s(t.resultsLabel))])]},proxy:!0},{key:"listitems",fn:function(){return[t._l(t.state.highlights,(function(t,e){return n("search-site-result",{key:"highlight-"+e,attrs:{result:t,"is-highlight":""}})})),t._v(" "),t._l(t.state.result.items,(function(t,e){return n("search-site-result",{key:"result-"+e,attrs:{result:t}})}))]},proxy:!0}],null,!1,4026992409)})],1):n("search-site-no-results",{attrs:{"query-failed":t.queryFailed,links:t.links,i18n:t.i18n}})],1)],1)};il._withStripped=!0;var rl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-site-header"},[n("div",{staticClass:"search-site-header__head"},[n("div",{staticClass:"search-site-header__inner"},[n("div",{staticClass:"search-site-header__input"},[n("vue-text-field",{attrs:{id:"search-site-header-input",placeholder:t.placeholder,modifier:"mdc-text-field--large",name:"query",variant:"filled","leading-icon":"search","hide-validation":"","trailing-icon":t.trailingIcon,value:t.currentQuery.queryTerm},on:{enter:t.handleEnter,input:function(e){return t.updateQuery(e)},"trailing-icon-click":function(e){return t.resetQuery()}}}
550)],1),t._v(" "),n("div",{staticClass:"search-site-header__button"},[n("vue-button",{attrs:{modifier:"button--primary-light",label:t.buttonLabel,disabled:t.isLoading,href:t.queryTarget},on:{click:function(e){t.applyQuery&&t.applyQuery(t.currentQuery.queryTerm)}}})],1)])]),t._v(" "),t.quicklinks?n("div",{staticClass:"search-site-header__body"},[n("div",{staticClass:"search-site-header__inner"},[n("ul",{staticClass:"search-site-header__quicklinks"},[t.quicklinksLabel?n("li",{staticClass:"search-site-header__quicklinks-label"},[t._v("\n          "+t._s(t.quicklinksLabel)+"\n        ")]):t._e(),t._v(" "),t._l(t.quicklinks,(function(e,i){return n("li",{key:"quicklink-"+i,staticClass:"search-site-header__quicklink"},[n("a",{attrs:{href:e.url}},[t._v(t._s(e.label))])])}))],2)])]):t._e(),t._v(" "),t.isLoading?n("linear-progress",{attrs:{modifier:"is-fixed"}}):t._e()],1)};rl._withStripped=!0;var al={name:"SearchSiteHeader",components:{VueTextField:eo.a,VueButton:uo.a,LinearProgress:_o.a},props:{isLoading:Boolean,initialQueryTerm:{type:String,default:null},params:{type:Object,default:function(){return{}}},quicklinks:{type:Array,default:null},queryUri:{type:String,default:""},buttonLabel:{type:String,default:""},quicklinksLabel:{type:String,default:""},placeholder:{type:String,default:""},applyQuery:{type:Function,default:null}},data:function(){return{currentQuery:{queryTerm:this.initialQueryTerm||""}}},computed:{trailingIcon:function(){return""!==this.currentQuery.queryTerm?"close":""},queryTarget:function(){var t=this;if(this.queryUri&&this.params&&!this.applyQuery){var e=[];return pr()(this.currentQuery).forEach((function(n){var i=Object(dr.a)(n,2),r=i[0],a=i[1],s=t.params[r]||r;a&&e.push(s+"="+encodeURIComponent(a))})),this.queryUri+e.join("&")}}},methods:{handleEnter:function(){this.applyQuery?this.applyQuery(this.currentQuery.queryTerm):window.location.href=this.queryTarget},updateQuery:function(t){this.currentQuery.queryTerm=t},resetQuery:function(){this.currentQuery.queryTerm="",this.applyQuery&&this.currentQuery.queryTerm!==this.initialQueryTerm&&this.applyQuery(this.currentQuery.queryTerm)}}},sl=Object(at.a)(al,rl,[],!1,null,null,null);sl.options.__file="src/assets/toolkit/scripts/components/search-site/search-site-header.vue";var ol=sl.exports,ll=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-no-results"},[n("div",{staticClass:"search-no-results__icon-wrapper"},[n("i",{class:["icon","search-list__icon","icon-"+t.i18n(t.queryFailed?"error.icon":"noResults.icon")]})]),t._v(" "),n("div",{staticClass:"search-no-results__body"},[n("h2",{staticClass:"search-list__title"},[n("span",{domProps:{innerHTML:t._s(t.i18n(t.queryFailed?"error.title":"noResults.title"))}})]),t._v(" "),n("div",{staticClass:"search-list__msg",domProps:{innerHTML:t._s(t.i18n(t.queryFailed?"error.helpMessage":"noResults.helpMessage"))}}),t._v(" "),n("div",{staticClass:"search-list__subline"},[t._v("\n      "+t._s(t.i18n("noResults.buttonMessage"))+"\n    ")]),t._v(" "),n("div",{staticClass:"search-list__buttongroup"},t._l(t.links,(function(t,e){return n("vue-button",{key:"link-"+e,attrs:{icon:"arrow-right",label:t.label,href:t.url}})})),1)])])};ll._withStripped=!0;var cl={name:"SearchSiteNoResults",components:{VueButton:uo.a},props:{isLoading:Boolean,queryFailed:Boolean,links:{type:Array,default:function(){return[]}},i18n:{type:Function,default:function(){}}}},ul=Object(at.a)(cl,ll,[],!1,null,null,null);ul.options.__file="src/assets/toolkit/scripts/components/search-site/search-site-no-results.vue";var dl=ul.exports,hl=n(458),pl={name:"SearchSite",components:{SearchFilterItem:Vs,SearchSiteHeader:ol,SearchFilter:fo,SearchSiteNoResults:dl,SearchResults:wo,SearchSiteResult:hl.a},mixins:[F.a,Hs],props:{links:{type:Array,default:function(){return[]}}},data:function(){return{sortOptions:["relevance.desc","date.desc"]}},computed:{contentBranchByKey:function(){return Ls()(this.config.filters.contentBranch,"key")},contentTypeByKey:function(){return Ls()(this.config.filters.contentType,"key")},resetDisabled:function(){var t=this.currentQuery;return!Os()(t.contentBranch)&&!Os()(t.contentType)},displayedResults:function(){var t,e=this.total.results>this.state.pagination.pageSize?this.state.pagination.currentPage*this.state.pagination.pageSize:this.total.results,n=this.total.results>this.state.pagination.pageSize?e-(this.state.pagination.pageSize-1):1;return this.i18n("total.resultsCount",{0:_()(t="".concat(n,"-")).call(t,e)})},total:function(){return{results:this.state.result.numFound,contentBranch:this.totalCount("contentBranch"),contentType:this.totalCount("contentType")}},resultsLabel:function(){return this.total.results>1?this.i18n("total.resultsMultiple",{0:this.total.results}):this.i18n("total.resultsOne")}},methods:{buildQuery:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state,e=t.filters;return{queryTerm:t.queryTerm,contentBranch:Cs()(e.contentBranch,"selected"),contentType:Cs()(e.contentType,"selected"),page:t.pagination.currentPage,sort:t.sortOption}},applyQuery:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.currentQuery.queryTerm;this.currentQuery={queryTerm:t,page:1},this.queryResults()}}},fl=Object(at.a)(pl,il,[],!1,null,null,null);fl.options.__file="src/assets/toolkit/scripts/components/search-site/search-site.vue";var ml=fl.exports,gl=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=search-site]").forEach((function(t){var e=t.getAttribute("data-config"),n=t.getAttribute("data-query"),i=t.getAttribute("data-state"),r=t.getAttribute("data-links"),a=O(e),s=O(n),o=O(i),l=O(r);new k.a({el:t,components:{SearchSiteComponent:ml},render:function(t){return t(ml,{props:{config:a,queryConfig:s,initialState:o,links:l}})}})}))})),vl=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=search-site-header]").forEach((function(t){var e=O(t.getAttribute("data-config")),n=e.uri,i=e.params,r=e.buttonLabel,a=e.placeholder,s=e.quicklinks,o=e.quicklinksLabel;new k.a({el:t,components:{SearchSiteHeaderComponent:ol},render:function(t){return t(ol,{props:{queryUri:n,params:i,buttonLabel:r,placeholder:a,quicklinks:s,quicklinksLabel:o}})}})}))})),_l=(n(226),function(){function t(){var e=this;u(this,t);this.elements=Re("[data-alert]",(function(t){var n=t.querySelector("[data-close]");if(t.hasAttribute("data-alert-cookie-name")){var i=t.getAttribute("data-alert-cookie-name"),r=t.getAttribute("data-alert-cookie-expires"),a=t.getAttribute("data-alert-cookie-value")||"true";e.getCookie(i)!==a?(x.show(t),n.addEventListener("click",(function(){x.hide(t),e.setCookie(i,a,r)}))):x.hide(t)}else x.show(t),n.addEventListener("click",(function(){x.hide(t)}))}
550))}return f(t,[{key:"setCookie",value:function(t,e,n){var i=new Date(n).toUTCString();document.cookie=t+"="+e+"; expires="+i+";"}},{key:"getCookie",value:function(t){var e=document.cookie.match(RegExp("(?:^|;\\s*)"+t+"=([^;]*)"));return e?e[1]:null}}]),t}()),yl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["contact",t.isExpanded&&"is-expanded"]},[n("div",{staticClass:"contact__img-wrapper"},[t.contact.images?n("lazy-image",{attrs:{block:"contact__img",img:t.contact.images,alt:t.fullName,title:t.fullName}}):n("div",{staticClass:"contact__placeholder"},[n("i",{class:["icon","icon-"+t.contact.icon]})]),t._v(" "),t.contact.email&&t.nominal?n("vue-mail",{attrs:{label:t.i18n("mail.button.label"),"class-name":"contact__mail-button button button--primary-light","local-part":t.contact.email.local,"domain-part":t.contact.email.domain,icon:"mail"}}):t._e()],1),t._v(" "),n("div",{staticClass:"contact__head"},[n("div",{staticClass:"contact__name"},[t.contact.isLocation?[t.contact.fullName?[t._v("\n          "+t._s(t.contact.fullName)+"\n        ")]:[t.contact.company?[t._v(t._s(t.contact.company)),n("br")]:t._e(),t._v(" "),t.contact.department?[t._v("\n            "+t._s(t.contact.department)+"\n          ")]:t._e()]]:[t._v("\n        "+t._s(t.fullName)+"\n      ")]],2),t._v(" "),t.nominal?[n("div",{staticClass:"contact__position"},[t._v(t._s(t.contact.position))])]:t._e()],2),t._v(" "),t.additionalInfo?n("div",{staticClass:"contact__body",attrs:{"data-toggle-class":"is-active"}},[n("div",{staticClass:"contact__links",attrs:{"data-toggle-height":""}},[n("div",{staticClass:"contact__links-wrapper"},[t.contact.isLocation||!t.contact.department&&!t.contact.company?t._e():n("div",{staticClass:"contact__company"},[t.contact.department?n("span",[t._v(t._s(t.contact.department))]):t._e(),t.contact.company?n("span",[t._v(t._s(t.contact.company))]):t._e()]),t._v(" "),t.nominal&&t.contact.address?n("div",{staticClass:"contact__address"},[n("div",{staticClass:"contact__address-data"},[t._v("\n            "+t._s(t.contact.address.street)+"\n          ")]),t._v(" "),n("div",{staticClass:"contact__address-data"},[t._v(t._s(t.contact.address.city))]),t._v(" "),n("div",{staticClass:"contact__address-data"},[t._v("\n            "+t._s(t.contact.address.country)+"\n          ")])]):t._e(),t._v(" "),t.contact.tel?n("vue-button",{attrs:{element:"contact__data",icon:"phone",href:t.contact.tel.href,label:t.contact.tel.label}}):t._e(),t._v(" "),t.maximum?[t.contact.mobile?n("vue-button",{attrs:{element:"contact__data",icon:"phone-mobile",href:t.contact.mobile.href,label:t.contact.mobile.label}}):t._e(),t._v(" "),t.contact.fax?n("vue-button",{attrs:{element:"contact__data",icon:"print",href:t.contact.fax.href,label:t.contact.fax.label}}):t._e(),t._v(" "),t.contact.xing?n("vue-button",{attrs:{element:"contact__data",icon:"xing",href:t.contact.xing.href,label:t.contact.xing.label}}):t._e(),t._v(" "),t.contact.linkedin?n("vue-button",{attrs:{element:"contact__data",icon:"linkedin",href:t.contact.linkedin.href,label:t.contact.linkedin.label}}):t._e()]:t._e()],2)]),t._v(" "),n("vue-button",{attrs:{element:"contact__expand-button","data-toggle-trigger":"",icon:"add",label:t.i18n(t.isExpanded?"collapse.button.label":"expand.button.label")},on:{click:t.toggleExpand}})],1):t._e()])};yl._withStripped=!0;var bl={name:"Contact",components:{LazyImage:Te.a,VueMail:Me.a,VueButton:uo.a},mixins:[F.a],props:{contact:{type:Object,default:function(){return{}}},config:{type:Object,default:function(){return{}}}},data:function(){return{isExpanded:!1}},computed:{additionalInfo:function(){return(this.contact.company||this.contact.tel||this.contact.mobile||this.contact.fax||this.contact.xing||this.contact.linkedin)&&this.nominal},fullName:function(){return this.contact.fullName?this.contact.fullName:[this.contact.title,this.contact.first_name,this.contact.last_name].join(" ")},nominal:function(){return"nominal"===this.config.detail||"maximum"===this.config.detail},maximum:function(){return"maximum"===this.config.detail}},methods:{toggleExpand:function(){this.isExpanded=!this.isExpanded}}},xl=Object(at.a)(bl,yl,[],!1,null,null,null);xl.options.__file="src/assets/toolkit/scripts/components/contact/contact.vue";var wl=xl.exports,Ml=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-contact]").forEach((function(t){var e=JSON.parse(t.getAttribute("data-contact")),n=JSON.parse(t.getAttribute("data-config"));new k.a({el:t,components:{ContactComp:wl},render:function(t){return t(wl,{props:{contact:e,config:n}})}})}))})),Sl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.newsroomClasses,attrs:{"data-filter-length":t.filterLength}},[t.isLoading?n("linear-progress",{attrs:{modifier:"is-fixed"}}):t._e(),t._v(" "),n("div",{staticClass:"newsroom__head"},[t.config.headlineDisabled?t._e():n("div",{staticClass:"newsroom__header",class:{"newsroom__header--no-filters":!t.hasFilters}},[n("div",{staticClass:"overline"},[t._v(t._s(t.i18n("newsroom.overline")))]),t._v(" "),n("h1",{staticClass:"newsroom__title",domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),t.hasFilters?n("newsroom-filter",{attrs:{i18n:t.i18n,"reset-filters":t.resetFilters,"selected-filters":t.selectedFilters,"apply-filter":t.applyFilter,"reset-date":t.resetDate,"is-loading":t.isLoading,"is-loading-more":t.isLoadingMore,"disable-filter-reset":!t.selectedFilters},scopedSlots:t._u([{key:"filters",fn:function(){return[n("newsroom-filter-item",{attrs:{field:"tags",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"apply-filter":t.applyFilter,"reset-filter-field":t.resetFilterField,"reset-button-disabled":t.resetButtonDisabled("tags"),variant:"chips","search-enabled":"",search:t.tagsSearch},on:{"update:search":function(e){t.tagsSearch=e}}}),t._v(" "),Array.isArray(t.config.filters.contentType)&&t.config.filters.contentType.length>0?n("newsroom-filter-item",{attrs:{field:"contentType",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"apply-filter":t.applyFilter,"reset-filter-field":t.resetFilterField,"reset-button-disabled":t.resetButtonDisabled("contentType")}}):t._e(),t._v(" "),Array.isArray(t.config.filters.locations)&&t.config.filters.locations.length>0?n("newsroom-filter-item",{attrs:{field:"locations",i18n:t.i18n,config:t.config.filters,state:t.state.filters,"current-query":t.currentQuery,"apply-filter":t.applyFilter,"reset-filter-field":t.resetFilterField,"reset-button-disabled":t.resetButtonDisabled("locations")}}):t._e(),t._v(" "),n("newsroom-filter-datepicker",{key:t.datepickerKey,attrs:{i18n:t.i18n,"apply-date":t.applyDate,"reset-date":t.resetDate,"initial-date":t.currentQuery.date,moment:t.moment,"datepicker-localization":t.config.datepickerLocalization[t.lang],"date-label":t.dateLabel,"reset-button-disabled":!t.currentQuery.date}})]},proxy:!0}],null,!1,1126378211)}):t._e()],1),t._v(" "),n("div",{staticClass:"newsroom__body"},[t.hasResults?n("newsroom-results",{attrs:{i18n:t.i18n,"load-more":t.loadMore,"is-loading":t.isLoading,"is-loading-more":t.isLoadingMore,"disable-button":t.disableLoadMoreButton},scopedSlots:t._u([{key:"lists",fn:function(){return[t.state.result&&t.state.result.numFound?t._l(t.chunkedResults[0],(function(e,i){return n("newsroom-result",{key:"result-upper-"+i,attrs:{result:e,config:t.config,breakpoint:t.breakpoint}})})):t._e(),t._v(" "),t.state.events&&t.state.events.numFound<3?t._l(t.state.events.items,(function(e,i){return n("newsroom-result",{key:"event-"+i,attrs:{result:e,breakpoint:t.breakpoint}})})):t.state.events&&t.state.events.numFound>=3?[n("newsroom-events",{attrs:{events:t.state.events,i18n:t.i18n,breakpoint:t.breakpoint,"initially-expanded":t.is
550FilteredContentTypeOnlyEvent}})]:t._e(),t._v(" "),t.state.result&&t.state.result.numFound?t._l(t.chunkedResults[1],(function(e,i){return n("newsroom-result",{key:"result-lower-"+i,attrs:{result:e,config:t.config,breakpoint:t.breakpoint}})})):t._e()]},proxy:!0}],null,!1,3652591651)}):n("div",{staticClass:"newsroom__error-msg",domProps:{innerHTML:t._s(t.i18n(t.queryFailed?"error.helpMessage":"noResults.helpMessage"))}})],1)],1)};Sl._withStripped=!0;var Tl=n(5),Al=n.n(Tl),Ll=n(1119),El=n.n(Ll),Cl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["newsroom-results",t.isLoading&&!t.isLoadingMore&&"is-loading"]},[n("div",{staticClass:"newsroom-results__list"},[t._t("lists")],2),t._v(" "),n("div",{staticClass:"newsroom-results__action"},[n("vue-button",{attrs:{modifier:"newsroom-results__button button--primary-light",disabled:t.disableButton,tag:"div"},on:{click:t.loadMore}},[t.isLoading&&t.isLoadingMore?n("circular-progress"):n("i",{staticClass:"icon icon-add"}),t._v(" "),n("span",[t._v(t._s(t.i18n("button.loadMore")))])],1)],1)])};Cl._withStripped=!0;var Il=function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"mdcProgress",class:["mdc-circular-progress",this.size&&"mdc-circular-progress--"+this.size,"mdc-circular-progress--"+this.variant],attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":"1"},domProps:{innerHTML:this._s(this.node[this.variant])}})};Il._withStripped=!0;var Dl={name:"CircularProgress",props:{modifier:{type:String,default:""},size:{type:String,default:""},variant:{type:String,default:"indeterminate"}},data:function(){return{node:{indeterminate:'\n          <div class="mdc-circular-progress__indeterminate-container">\n             <div class="mdc-circular-progress__spinner-layer">\n              <div class="mdc-circular-progress__circle-clipper mdc-circular-progress__circle-left">\n                <svg class="mdc-circular-progress__indeterminate-circle-graphic" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">\n                  <circle cx="24" cy="24" r="18" stroke-dasharray="113.097" stroke-dashoffset="56.549" stroke-width="4"/>\n                </svg>\n              </div>\n              <div class="mdc-circular-progress__gap-patch">\n                <svg class="mdc-circular-progress__indeterminate-circle-graphic" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">\n                  <circle cx="24" cy="24" r="18" stroke-dasharray="113.097" stroke-dashoffset="56.549" stroke-width="3.2"/>\n                </svg>\n              </div>\n              <div class="mdc-circular-progress__circle-clipper mdc-circular-progress__circle-right">\n                <svg class="mdc-circular-progress__indeterminate-circle-graphic" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">\n                  <circle cx="24" cy="24" r="18" stroke-dasharray="113.097" stroke-dashoffset="56.549" stroke-width="4"/>\n                </svg>\n              </div>\n            </div>\n          </div>',determinate:'\n          <div class="mdc-circular-progress__determinate-container">\n            <svg class="mdc-circular-progress__determinate-circle-graphic" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">\n              <circle class="mdc-circular-progress__determinate-track" cx="24" cy="24" r="18" stroke-width="4"/>\n              <circle class="mdc-circular-progress__determinate-circle" cx="24" cy="24" r="18" stroke-dasharray="113.097" stroke-dashoffset="113.097" stroke-width="4"/>\n            </svg>\n          </div>'}}}},kl=Object(at.a)(Dl,Il,[],!1,null,null,null);kl.options.__file="src/assets/toolkit/scripts/atoms/circularProgress.vue";var Ol=kl.exports,Rl={name:"NewsroomResults",components:{VueButton:uo.a,CircularProgress:Ol},props:{i18n:{type:Function,default:function(){}},loadMore:{type:Function,default:function(){}},isLoading:{type:Boolean},isLoadingMore:{type:Boolean},disableButton:{type:Boolean}}},Pl=Object(at.a)(Rl,Cl,[],!1,null,null,null);Pl.options.__file="src/assets/toolkit/scripts/components/newsroom/newsroom-results.vue";var Nl=Pl.exports,Yl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,{tag:"component",class:t.resultClasses,attrs:{href:"div"===t.elementType?null:t.result.url,role:"div"===t.elementType&&"button"},on:{click:t.elementClick}
550},[t.result.videoSrc?[n("div",{ref:"dialog",staticClass:"mdc-dialog"},[n("div",{staticClass:"mdc-dialog__container"},[n("div",{staticClass:"mdc-dialog__surface",attrs:{role:"dialog","aria-modal":"true","aria-labelledby":"my-dialog-title","aria-describedby":"my-dialog-content"}},[n("button",{staticClass:"dialog__close-button",attrs:{"data-mdc-dialog-action":"close"}},[n("i",{staticClass:"icon icon-close"})]),t._v(" "),n("div",{staticClass:"mdc-dialog__content",attrs:{tabindex:"0"}},[n("div",{staticClass:"newsroom-result__video"},[t.videoIsRendered?n("iframe",{staticClass:"newsroom-result__iframe",attrs:{allow:"autoplay",allowfullscreen:"",type:"text/html",src:t.result.videoSrc,frameborder:"0"}}):t._e()])])])]),t._v(" "),n("div",{staticClass:"mdc-dialog__scrim"})])]:t._e(),t._v(" "),n("div",{staticClass:"newsroom-result__body"},[n("div",{staticClass:"newsroom-result__meta"},[n("div",{staticClass:"newsroom-result__date"},[t.result.dateLarge?n("span",{staticClass:"newsroom-result__date-large"},[t._v(t._s(t.result.dateLarge))]):t._e(),t._v(" "),t.result.dateSmall?n("span",{staticClass:"newsroom-result__date-small"},[t._v(t._s(t.result.dateSmall))]):t._e()]),t._v(" "),t.result.contentType?n("div",{staticClass:"newsroom-result__type"},[n("span",{staticClass:"newsroom-result__type-name"},[t._v("\n          "+t._s(t.result.contentType.label)+"\n        ")]),t._v(" "),n("i",{class:["newsroom-result__type-icon","icon","icon-"+t.result.contentType.icon]})]):t._e()]),t._v(" "),n("div",{staticClass:"newsroom-result__content-container"},[n("div",{ref:"content",staticClass:"newsroom-result__content"},[n("h5",{staticClass:"newsroom-result__title",domProps:{innerHTML:t._s(t.result.title)}}),t._v(" "),"list"===t.config.displayType&&t.result.teaserText?n("span",{staticClass:"newsroom-result__teaser-text"},[t._v(t._s(t.result.teaserText))]):t._e(),t._v(" "),t.result.locations?n("div",{staticClass:"newsroom-result__location"},[n("i",{staticClass:"newsroom-result__location-icon icon icon-location"}),t._v(" "),t._l(t.result.locations,(function(e,i){return n("span",{key:"location-"+i,staticClass:"newsroom-result__location-name"},[t._v(t._s(e))])}))],2):t._e(),t._v(" "),t.result.tags&&t.result.tags.some((function(t){return""!==t}))?n("div",{staticClass:"newsroom-result__tags"},[n("div",{ref:"tagsWrapper",staticClass:"newsroom-result__tag-wrapper"},[t._l(t.maxedTags,(function(e,i){return n("div",{key:"tag-"+i,staticClass:"newsroom-result__tag"},[t._v("\n              #"+t._s(e)+"\n            ")])})),t._v(" "),t.result.tags.length>t.maxVisibleTags?n("div",{staticClass:"newsroom-result__tag is-placeholder"},[t._v("\n              ...\n            ")]):t._e()],2)]):t._e()]),t._v(" "),t.result.img?n("div",{staticClass:"newsroom-result__image"},[n("lazy-image",{attrs:{img:t.result.img,alt:t.result.name,title:t.result.name}})],1):t._e()])])],2)};Yl._withStripped=!0;
551/**
552 * @license
553 * Copyright 2020 Google Inc.
554 *
555 * Permission is hereby granted, free of charge, to any person obtaining a copy
556 * of this software and associated documentation files (the "Software"), to deal
557 * in the Software without restriction, including without limitation the rights
558 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
559 * copies of the Software, and to permit persons to whom the Software is
560 * furnished to do so, subject to the following conditions:
561 *
562 * The above copyright notice and this permission notice shall be included in
563 * all copies or substantial portions of the Software.
564 *
565 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
566 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
567 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
568 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
569 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
570 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
571 * THE SOFTWARE.
572 */var Fl,Hl=function(){function t(t,e){void 0===e&&(e={}),this.root=t,this.options=e,this.elFocusedBeforeTrapFocus=null}return t.prototype.trapFocus=function(){var t=this.getFocusableElements(this.root);if(0===t.length)throw new Error("FocusTrap: Element must have at least one focusable child.");this.elFocusedBeforeTrapFocus=document.activeElement instanceof HTMLElement?document.activeElement:null,this.wrapTabFocus(this.root),this.options.skipInitialFocus||this.focusInitialElement(t,this.options.initialFocusEl)},t.prototype.releaseFocus=function(){[].slice.call(this.root.querySelectorAll(".mdc-dom-focus-sentinel")).forEac
572h((function(t){t.parentElement.removeChild(t)})),!this.options.skipRestoreFocus&&this.elFocusedBeforeTrapFocus&&this.elFocusedBeforeTrapFocus.focus()},t.prototype.wrapTabFocus=function(t){var e=this,n=this.createSentinel(),i=this.createSentinel();n.addEventListener("focus",(function(){var n=e.getFocusableElements(t);n.length>0&&n[n.length-1].focus()})),i.addEventListener("focus",(function(){var n=e.getFocusableElements(t);n.length>0&&n[0].focus()})),t.insertBefore(n,t.children[0]),t.appendChild(i)},t.prototype.focusInitialElement=function(t,e){var n=0;e&&(n=Math.max(t.indexOf(e),0)),t[n].focus()},t.prototype.getFocusableElements=function(t){return[].slice.call(t.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter((function(t){var e="true"===t.getAttribute("aria-disabled")||null!=t.getAttribute("disabled")||null!=t.getAttribute("hidden")||"true"===t.getAttribute("aria-hidden"),n=t.tabIndex>=0&&t.getBoundingClientRect().width>0&&!t.classList.contains("mdc-dom-focus-sentinel")&&!e,i=!1;if(n){var r=getComputedStyle(t);i="none"===r.display||"hidden"===r.visibility}return n&&!i}))},t.prototype.createSentinel=function(){var t=document.createElement("div");return t.setAttribute("tabindex","0"),t.setAttribute("aria-hidden","true"),t.classList.add("mdc-dom-focus-sentinel"),t},t}(),jl={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked",FULLSCREEN:"mdc-dialog--fullscreen",SCROLL_DIVIDER_HEADER:"mdc-dialog-scroll-divider-header",SCROLL_DIVIDER_FOOTER:"mdc-dialog-scroll-divider-footer",SURFACE_SCRIM_SHOWN:"mdc-dialog__surface-scrim--shown",SURFACE_SCRIM_SHOWING:"mdc-dialog__surface-scrim--showing",SURFACE_SCRIM_HIDING:"mdc-dialog__surface-scrim--hiding",SCRIM_HIDDEN:"mdc-dialog__scrim--hidden"},Bl={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content",DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),SURFACE_SELECTOR:".mdc-dialog__surface"},zl={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150};!function(t){t.POLL_SCROLL_POS="poll_scroll_position",t.POLL_LAYOUT_CHANGE="poll_layout_change"}(Fl||(Fl={}));var Ul=function(t){function e(n){var i=t.call(this,Object(Tt.a)(Object(Tt.a)({},e.defaultAdapter),n))||this;return i.dialogOpen=!1,i.isFullscreen=!1,i.animationFrame=0,i.animationTimer=0,i.escapeKeyAction=Bl.CLOSE_ACTION,i.scrimClickAction=Bl.CLOSE_ACTION,i.autoStackButtons=!0,i.areButtonsStacked=!1,i.suppressDefaultPressSelector=Bl.SUPPRESS_DEFAULT_PRESS_SELECTOR,i.animFrame=new Ei,i.contentScrollHandler=function(){i.handleScrollEvent()},i.windowResizeHandler=function(){i.layout()},i.windowOrientationChangeHandler=function(){i.layout()},i}return Object(Tt.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return jl},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Bl},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return zl},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){},registerContentEventHandler:function(){},deregisterContentEventHandler:function(){},isScrollableContentAtTop:function(){return!1},isScrollableContentAtBottom:function(){return!1},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}}
572,enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.hasClass(jl.STACKED)&&this.setAutoStackButtons(!1),this.isFullscreen=this.adapter.hasClass(jl.FULLSCREEN)},e.prototype.destroy=function(){this.animationTimer&&(clearTimeout(this.animationTimer),this.handleAnimationTimerEnd()),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.animFrame.cancelAll(),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler)},e.prototype.open=function(t){var e=this;this.dialogOpen=!0,this.adapter.notifyOpening(),this.adapter.addClass(jl.OPENING),this.isFullscreen&&this.adapter.registerContentEventHandler("scroll",this.contentScrollHandler),t&&t.isAboveFullscreenDialog&&this.adapter.addClass(jl.SCRIM_HIDDEN),this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler),this.adapter.registerWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),this.runNextAnimationFrame((function(){e.adapter.addClass(jl.OPEN),e.adapter.addBodyClass(jl.SCROLL_LOCK),e.layout(),e.animationTimer=setTimeout((function(){e.handleAnimationTimerEnd(),e.adapter.trapFocus(e.adapter.getInitialFocusEl()),e.adapter.notifyOpened()}),zl.DIALOG_ANIMATION_OPEN_TIME_MS)}))},e.prototype.close=function(t){var e=this;void 0===t&&(t=""),this.dialogOpen&&(this.dialogOpen=!1,this.adapter.notifyClosing(t),this.adapter.addClass(jl.CLOSING),this.adapter.removeClass(jl.OPEN),this.adapter.removeBodyClass(jl.SCROLL_LOCK),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=setTimeout((function(){e.adapter.releaseFocus(),e.handleAnimationTimerEnd(),e.adapter.notifyClosed(t)}),zl.DIALOG_ANIMATION_CLOSE_TIME_MS))},e.prototype.showSurfaceScrim=function(){var t=this;this.adapter.addClass(jl.SURFACE_SCRIM_SHOWING),this.runNextAnimationFrame((function(){t.adapter.addClass(jl.SURFACE_SCRIM_SHOWN)}))},e.prototype.hideSurfaceScrim=function(){this.adapter.removeClass(jl.SURFACE_SCRIM_SHOWN),this.adapter.addClass(jl.SURFACE_SCRIM_HIDING)},e.prototype.handleSurfaceScrimTransitionEnd=function(){this.adapter.removeClass(jl.SURFACE_SCRIM_HIDING),this.adapter.removeClass(jl.SURFACE_SCRIM_SHOWING)},e.prototype.isOpen=function(){return this.dialogOpen},e.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction},e.prototype.setEscapeKeyAction=function(t){this.escapeKeyAction=t},e.prototype.getScrimClickAction=function(){return this.scrimClickAction},e.prototype.setScrimClickAction=function(t){this.scrimClickAction=t},e.prototype.getAutoStackButtons=function(){return this.autoStackButtons},e.prototype.setAutoStackButtons=function(t){this.autoStackButtons=t},e.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector},e.prototype.setSuppressDefaultPressSelector=function(t){this.suppressDefaultPressSelector=t},e.prototype.layout=function(){var t=this;this.animFrame.request(Fl.POLL_LAYOUT_CHANGE,(function(){t.layoutInternal()}))},e.prototype.handleClick=function(t){if(this.adapter.eventTargetMatches(t.target,Bl.SCRIM_SELECTOR)&&""!==this.scrimClickAction)this.close(this.scrimClickAction);else{var e=this.adapter.getActionFromEvent(t);e&&this.close(e)}},e.prototype.handleKeydown=function(t){var e="Enter"===t.key||13===t.keyCode;if(e&&!this.adapter.getActionFromEvent(t)){var n=t.composedPath?t.composedPath()[0]:t.target,i=!this.suppressDefaultPressSelector||!this.adapter.eventTargetMatches(n,this.suppressDefaultPressSelector);e&&i&&this.adapter.clickDefaultButton()}},e.prototype.handleDocumentKeydown=function(t){("Escape"===t.key||27===t.keyCode)&&""!==this.escapeKeyAction&&this.close(this.escapeKeyAction)},e.prototype.handleScrollEvent=function(){var t=this;this.animFrame.request(Fl.POLL_SCROLL_POS,(function(){t.toggleScrollDividerHeader(),t.toggleScrollDividerFooter()}))},e.prototype.layoutInternal=function(){this.autoStackButtons&&this.detectStackedButtons(),this.toggleScrollableClasses()},e.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(jl.OPENING),this.adapter.removeClass(jl.CLOSING)},e.prototype.runNextAnimationFrame=function(t){var e=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame((function(){e.animationFrame=0,clearTimeout(e.animationTimer),e.animationTimer=setTimeout(t,0)}))},e.prototype.detectStackedButtons=function(){this.adapter.removeClass(jl.STACKED);var t=this.adapter.areButtonsStacked();t&&this.adapter.addClass(jl.STACKED),t!==this.areButtonsStacked&&(this.adapter.reverseButtons(),this.areButtonsStacked=t)},e.prototype.toggleScrollableClasses=function(){this.adapter.removeClass(jl.SCROLLABLE),this.adapter.isContentScrollable()&&(this.adapter.addClass(jl.SCROLLABLE),this.isFullscreen&&(this.toggleScrollDividerHeader(),this.toggleScrollDividerFooter()))},e.prototype.toggleScrollDividerHeader=function(){this.adapter.isScrollableContentAtTop()?this.adapter.hasClass(jl.SCROLL_DIVIDER_HEADER)&&this.adapter.removeClass(jl.SCROLL_DIVIDER_HEADER):this.adapter.addClass(jl.SCROLL_DIVIDER_HEADER)},e.prototype.toggleScrollDividerFooter=function(){this.adapter.isScrollableContentAtBottom()?this.adapter.hasClass(jl.SCROLL_DIVIDER_FOOTER)&&this.adapter.removeClass(jl.SCROLL_DIVIDER_FOOTER):this.adapter.addClass(jl.SCROLL_DIVIDER_FOOTER)},e}(Ct.a);
573/**
574 * @license
575 * Copyright 2017 Google Inc.
576 *
577 * Permission is hereby granted, free of charge, to any person obtaining a copy
578 * of this software and associated documentation files (the "Software"), to deal
579 * in the Software without restriction, including without limitation the rights
580 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
581 * copies of the Software, and to permit persons to whom the Software is
582 * furnished to do so, subject to the following conditions:
583 *
584 * The above copyright notice and this permission notice shall be included in
585 * all copies or substantial portions of the Software.
586 *
587 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
588 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
589 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
590 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
591 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
592 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
593 * THE SOFTWARE.
594 */
595var Vl=Ul.strings,Wl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Tt.b)(e,t),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.foundation.isOpen()}
595,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"escapeKeyAction",{get:function(){return this.foundation.getEscapeKeyAction()},set:function(t){this.foundation.setEscapeKeyAction(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scrimClickAction",{get:function(){return this.foundation.getScrimClickAction()},set:function(t){this.foundation.setScrimClickAction(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"autoStackButtons",{get:function(){return this.foundation.getAutoStackButtons()},set:function(t){this.foundation.setAutoStackButtons(t)},enumerable:!1,configurable:!0}),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t){var e,n;void 0===t&&(t=function(t,e){return new Hl(t,e)});var i=this.root.querySelector(Vl.CONTAINER_SELECTOR);if(!i)throw new Error("Dialog component requires a "+Vl.CONTAINER_SELECTOR+" container element");this.container=i,this.content=this.root.querySelector(Vl.CONTENT_SELECTOR),this.buttons=[].slice.call(this.root.querySelectorAll(Vl.BUTTON_SELECTOR)),this.defaultButton=this.root.querySelector("["+Vl.BUTTON_DEFAULT_ATTRIBUTE+"]"),this.focusTrapFactory=t,this.buttonRipples=[];try{for(var r=Object(Tt.e)(this.buttons),a=r.next();!a.done;a=r.next()){var s=a.value;this.buttonRipples.push(new Ft.a(s))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},e.prototype.initialSyncWithDOM=function(){var t,e,n,i=this;this.focusTrap=(t=this.container,e=this.focusTrapFactory,n=this.getInitialFocusEl()||void 0,e(t,{initialFocusEl:n})),this.handleClick=this.foundation.handleClick.bind(this.foundation),this.handleKeydown=this.foundation.handleKeydown.bind(this.foundation),this.handleDocumentKeydown=this.foundation.handleDocumentKeydown.bind(this.foundation),this.handleOpening=function(){document.addEventListener("keydown",i.handleDocumentKeydown)},this.handleClosing=function(){document.removeEventListener("keydown",i.handleDocumentKeydown)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown),this.listen(Vl.OPENING_EVENT,this.handleOpening),this.listen(Vl.CLOSING_EVENT,this.handleClosing)},e.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),this.unlisten(Vl.OPENING_EVENT,this.handleOpening),this.unlisten(Vl.CLOSING_EVENT,this.handleClosing),this.handleClosing(),this.buttonRipples.forEach((function(t){t.destroy()})),t.prototype.destroy.call(this)},e.prototype.layout=function(){this.foundation.layout()},e.prototype.open=function(){this.foundation.open()},e.prototype.close=function(t){void 0===t&&(t=""),this.foundation.close(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new Ul({addBodyClass:function(t){return document.body.classList.add(t)},addClass:function(e){return t.root.classList.add(e)},areButtonsStacked:function(){return e=t.buttons,n=new Set,[].forEach.call(e,(function(t){return n.add(t.offsetTop)})),n.size>1;var e,n},clickDefaultButton:function(){t.defaultButton&&!t.defaultButton.disabled&&t.defaultButton.click()},eventTargetMatches:function(t,e){return!!t&&Object(Et.c)(t,e)},getActionFromEvent:function(t){if(!t.target)return"";var e=Object(Et.a)(t.target,"["+Vl.ACTION_ATTRIBUTE+"]");return e&&e.getAttribute(Vl.ACTION_ATTRIBUTE)},getInitialFocusEl:function(){return t.getInitialFocusEl()},hasClass:function(e){return t.root.classList.contains(e)},isContentScrollable:function(){return!!(e=t.content)&&e.scrollHeight>e.offsetHeight;var e},notifyClosed:function(e){return t.emit(Vl.CLOSED_EVENT,e?{action:e}:{})},notifyClosing:function(e){return t.emit(Vl.CLOSING_EVENT,e?{action:e}:{})},notifyOpened:function(){return t.emit(Vl.OPENED_EVENT,{})},notifyOpening:function(){return t.emit(Vl.OPENING_EVENT,{})},releaseFocus:function(){t.focusTrap.releaseFocus()},removeBodyClass:function(t){return document.body.classList.remove(t)},removeClass:function(e){return t.root.classList.remove(e)},reverseButtons:function(){t.buttons.reverse(),t.buttons.forEach((function(t){t.parentElement.appendChild(t)}))},trapFocus:function(){t.focusTrap.trapFocus()},registerContentEventHandler:function(e,n){t.content instanceof HTMLElement&&t.content.addEventListener(e,n)},deregisterContentEventHandler:function(e,n){t.content instanceof HTMLElement&&t.content.removeEventListener(e,n)},isScrollableContentAtTop:function(){return!!(e=t.content)&&0===e.scrollTop;var e},isScrollableContentAtBottom:function(){return!!(e=t.content)&&Math.ceil(e.scrollHeight-e.scrollTop)===e.clientHeight;var e},registerWindowEventHandler:function(t,e){window.addEventListener(t,e)},deregisterWindowEventHandler:function(t,e){window.removeEventListener(t,e)}})},e.prototype.getInitialFocusEl=function(){return this.root.querySelector("["+Vl.INITIAL_FOCUS_ATTRIBUTE+"]")},e}(At.a),Gl={name:"NewsroomResult",components:{LazyImage:Te.a},props:{result:{type:Object,default:function(){return{}}},config:{type:Object,default:function(){return{displayType:"grid"}}},breakpoint:{type:String,default:"lg"}},data:function(){return{dialog:null,dialogIsOpen:!1,maxVisibleTags:3,videoIsRendered:!0}},computed:{elementType:function(){return this.result.url?"a":"div"},imageClass:function(){var t,e;if(this.result.img)return Z()(t=["grid","slider"]).call(t,this.config.displayType)?"has-bg-img":"has-".concat(null!==(e=this.config.imageType)&&void 0!==e?e:"teaser","-img")},resultClasses:function(){return["newsroom-result",this.result.displayStyle&&"is-".concat(this.result.displayStyle),this.breakpoint&&"is-".concat(this.breakpoint),this.result.videoRatio&&"has-".concat(this.result.videoRatio,"-video"),this.imageClass]},maxedTags:function(){var t,e=this;return this.result.tags&&N()(t=this.result.tags).call(t,(function(t,n){return n<e.maxVisibleTags&&t}))}},mounted:function(){var t=this;this.initDialog(),this.$nextTick((function(){t.setContentHeight()}))},updated:function(){this.initDialog(),this.setContentHeight()},beforeDestroy:function(){this.dialog=null,this.dialogIsOpen=!1,this.videoIsRendered=!1},methods:{initDialog:function(){var t=this;this.result.videoSrc&&(this.dialog=new Wl(this.$refs.dialog),this.dialog.listen("MDCDialog:opened",(function(){t.dialogIsOpen=!0})),this.dialog.listen("MDCDialog:closing",(function(){t.videoIsRendered=!1})),this.dialog.listen("MDCDialog:closed",(function(){t.dialogIsOpen=!1,t.videoIsRendered=!0})),this.dialog.layout())},elementClick:function(){!this.dialogIsOpen&&this.result.videoSrc&&this.dialog.open()},setContentHeight:function(){this.$refs.tagsWrapper&&this.result.tags&&"list"!==this.config.displayType?this.$refs.content.style.transform="translateY(".concat(this.$refs.tagsWrapper.offsetHeight,"px)"):this.$refs.content.style.transform="translateY(0px)"}}},ql=Object(at.a)(Gl,Yl,[],!1,null,null,null);
595ql.options.__file="src/assets/toolkit/scripts/components/newsroom/newsroom-result.vue";var Xl=ql.exports,$l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"newsroom-events"},[n("div",{staticClass:"newsroom-events__head"},[n("div",{staticClass:"newsroom-events__title"},[n("i",{staticClass:"icon icon-calendar"}),t._v("\n      "+t._s(t.i18n("events.title"))+"\n    ")]),t._v(" "),t.hasAccordion?n("div",{staticClass:"newsroom-events__line"}):t._e()]),t._v(" "),n("div",{staticClass:"newsroom-events__result-wrapper"},t._l(t.events.items.slice(0,3),(function(e,i){return n("newsroom-result",{key:"event-"+i,attrs:{result:e,breakpoint:t.breakpoint}})})),1),t._v(" "),n("transition",{attrs:{name:"accordion"},on:{enter:t.start,"after-enter":t.end,"before-leave":t.start,"after-leave":t.end}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}]},[n("div",{staticClass:"newsroom-events__accordion newsroom-events__result-wrapper"},t._l(t.events.items.slice(3),(function(e,i){return n("newsroom-result",{key:"event-"+i,attrs:{result:e,breakpoint:t.breakpoint}})})),1)])]),t._v(" "),t.hasAccordion?n("div",{staticClass:"newsroom-events__footer"},[n("div",{staticClass:"newsroom-events__line"}),t._v(" "),n("vue-button",{attrs:{modifier:["newsroom-events__button-toggle","button--link",t.expanded&&"is-active"].join(" "),tag:"div"},on:{click:t.toggle}},[n("i",{staticClass:"icon icon-chevron-down"}),t._v(" "),n("span",[t._v(t._s(t.expanded?t.i18n("events.button.showLess"):t.i18n("events.button.showAll")))])])],1):t._e()],1)};$l._withStripped=!0;var Kl={name:"NewsroomEvents",components:{NewsroomResult:Xl,VueButton:uo.a},props:{events:{type:Object,default:function(){return{}}},breakpoint:{type:String,default:"lg"},i18n:{type:Function,default:function(){}},initiallyExpanded:Boolean},data:function(){return{expanded:this.initiallyExpanded}},computed:{hasAccordion:function(){return this.events.items.length&&this.events.items.length>3}},watch:{initiallyExpanded:function(){this.expanded=this.initiallyExpanded}},methods:{toggle:function(){this.expanded=!this.expanded},start:function(t){t.style.height=t.scrollHeight+"px"},end:function(t){t.style.height=""}}},Jl=Object(at.a)(Kl,$l,[],!1,null,null,null);Jl.options.__file="src/assets/toolkit/scripts/components/newsroom/newsroom-events.vue";var Ql=Jl.exports,Zl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["newsroom-filter",t.isExpanded&&"is-expanded"]},[n("div",{staticClass:"newsroom-filter__head"},[n("div",{staticClass:"newsroom-filter__overview"},[!t.isExpanded&&t.selectedFilters?t._l(t.selectedFilters,(function(e,i){return n("filter-tag",{key:"chip-"+i,attrs:{variant:"button"},on:{click:function(n){return t.deselectFilterChip(e)}}},["tags"===e.field?[t._v("#")]:t._e(),t._v(t._s(e.label)+"\n        ")],2)})):t.isExpanded||t.selectedFilters?t._e():[n("span",[t._v(t._s(t.i18n("filter.notset")))])]],2),t._v(" "),n("div",{staticClass:"newsroom-filter__actions"},[n("vue-button",{attrs:{label:t.i18n("filter.reset"),disabled:t.disableFilterReset},on:{click:t.resetFilters}}),t._v(" "),n("vue-button",{attrs:{icon:t.isExpanded?"chevron-up":"chevron-down",modifier:"button--primary-light",label:t.i18n("filter.title")},on:{click:function(e){t.isExpanded=!t.isExpanded}}})],1)]),t._v(" "),t.isExpanded?n("div",{staticClass:"newsroom-filter__body"},[t._t("filters")],2):t._e()])};Zl._withStripped=!0;var tc=n(269),ec={name:"NewsroomFilter",components:{VueButton:uo.a,FilterTag:tc.a},props:{i18n:{type:Function,default:function(){}},applyFilter:{type:Function,default:function(){}},resetDate:{type:Function,default:function(){}},resetFilters:{type:Function,default:function(){}},selectedFilters:{type:Array,default:function(){return[]}},disableFilterReset:{type:Boolean}},data:function(){return{isExpanded:!1}},methods:{deselectFilterChip:function(t){var e=t.key,n=t.field;"date"===n?this.resetDate():this.applyFilter(n,e,!1,0)}}},nc=Object(at.a)(ec,Zl,[],!1,null,null,null);nc.options.__file="src/assets/toolkit/scripts/components/newsroom/newsroom-filter.vue";var ic=nc.exports,rc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["newsroom-filter-item","is-"+t.field]},[n("div",{staticClass:"newsroom-filter-item__head"},[n("h4",{staticClass:"newsroom-filter-item__title"},[t._v(t._s(t.i18n("filter."+t.field)))]),t._v(" "),n("button",{staticClass:"newsroom-filter-item__reset",attrs:{type:"button",title:t.i18n("filter.reset"),disabled:t.resetButtonDisabled},on:{click:t.reset}},[n("i",{staticClass:"icon icon-remove"})])]),t._v(" "),t.searchEnabled?n("div",{staticClass:"newsroom-filter-item__search"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchData,expression:"searchData"}],staticClass:"newsroom-filter-item__input",attrs:{type:"text",placeholder:t.i18n("filter.tagsPlaceholder")},domProps:{value:t.searchData},on:{input:function(e){e.target.composing||(t.searchData=e.target.value)}}}),t._v(" "),t.searchData?n("div",{staticClass:"newsroom-filter-item__input-reset",attrs:{role:"button"},on:{click:t.resetSearch}},[n("i",{staticClass:"icon icon-close"})]):t._e()]):t._e(),t._v(" "),n("div",{staticClass:"newsroom-filter-item__body"},["chips"===t.variant?t._l(t.filteredOptions,(function(e){return n("filter-tag",{key:e.key,attrs:{checked:!!t.selectionState[e.key],disabled:!(t.count(e.key)&&0!==t.total||t.selectionState[e.key]),name:e.key,value:e.key}
595,on:{change:function(n){return t.applyFilter(t.field,e.key,n,0)}}},[n("span",[t._v("#"+t._s(e.label))]),t._v(" "),n("span",{staticClass:"newsroom-filter-item__count"},[t._v("("+t._s(t.count(e.key))+")")])])})):t._e(),t._v(" "),"checkbox"===t.variant?t._l(t.filteredOptions,(function(e){return n("div",{key:e.key,staticClass:"newsroom-filter-item__checkbox"},[n("checkbox",{attrs:{checked:!!t.selectionState[e.key],disabled:!(t.count(e.key)&&0!==t.total||t.selectionState[e.key]),modifier:"mdc-form-field--reversed",name:t.field,value:e.key},on:{change:function(n){return t.applyFilter(t.field,e.key,n,0)}}},[e.icon?n("i",{class:["icon","icon-"+e.icon]}):t._e(),t._v(" "),n("span",{staticClass:"newsroom-filter-item__label"},[t._v(t._s(e.label))]),t._v(" "),n("span",{staticClass:"newsroom-filter-item__count"},[t._v("("+t._s(t.count(e.key))+")")])])],1)})):t._e()],2)])};rc._withStripped=!0;var ac={name:"NewsroomFilterItem",components:{Checkbox:Bs.a,FilterTag:tc.a},props:{config:{type:Object,default:function(){return{}}},state:{type:Object,default:function(){return{}}},field:{type:String,default:""},currentQuery:{type:Object,default:function(){return{}}},applyFilter:{type:Function,default:function(){}},resetFilterField:{type:Function,default:function(){}},total:{type:Number,default:null},i18n:{type:Function,default:function(){}},variant:{type:String,default:"checkbox"},searchEnabled:Boolean,search:{type:String,default:""},resetButtonDisabled:Boolean},data:function(){return{searchData:this.search}},computed:{options:function(){return this.config[this.field]||[]},filteredOptions:function(){var t,e=this;return this.searchEnabled?N()(t=this.options).call(t,(function(t){var n;return Z()(n=t.label.toLowerCase()).call(n,e.search.toLowerCase())})):this.options},fieldState:function(){return this.state[this.field]||{}},selectionState:function(){return this.currentQuery[this.field]||{}}},watch:{searchData:{handler:function(t){this.$emit("update:search",t)}},search:{handler:function(t){this.searchData=t}}},methods:{count:function(t){return(this.fieldState[t]||{}).count||0},resetSearch:function(){this.searchData=""},reset:function(){this.searchData&&this.resetSearch(),this.resetFilterField(this.field)}}},sc=Object(at.a)(ac,rc,[],!1,null,null,null);sc.options.__file="src/assets/toolkit/scripts/components/newsroom/newsroom-filter-item.vue";var oc=sc.exports,lc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"newsroom-filter-item is-date"},[n("div",{staticClass:"newsroom-filter-item__head"},[n("h4",{staticClass:"newsroom-filter-item__title"},[t._v("\n      "+t._s(t.dateLabel)+"\n    ")]),t._v(" "),n("button",{staticClass:"newsroom-filter-item__reset",attrs:{type:"button",title:t.i18n("filter.reset"),disabled:t.resetButtonDisabled},on:{click:t.resetDate}},[n("i",{staticClass:"icon icon-remove"})])]),t._v(" "),n("div",{staticClass:"newsroom-filter-item__body"},[n("date-picker",{attrs:{range:"",inline:"","prefix-class":"ks",lang:{formatLocale:t.datepickerLocalization}},on:{change:function(e){return t.applyDate(t.dateApi)}},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1)])};function cc(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function uc(t){return cc(t)?new Date(t.getTime()):null==t?new Date(NaN):new Date(t)}function dc(t){return cc(t)&&!isNaN(t.getTime())}function hc(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(e>=0&&e<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var n=uc(t),i=n.getDay(),r=(i+7-e)%7;return n.setDate(n.getDate()-r),n.setHours(0,0,0,0),n}function pc(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.firstDayOfWeek,i=void 0===n?0:n,r=e.firstWeekContainsDate,a=void 0===r?1:r;if(!(a>=1&&a<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7");for(var s=uc(t),o=s.getFullYear(),l=new Date(0),c=o+1;c>=o-1&&(l.setFullYear(c,0,a),l.setHours(0,0,0,0),l=hc(l,i),!(s.getTime()>=l.getTime()));c--);return l}function fc(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.firstDayOfWeek,i=void 0===n?0:n,r=e.firstWeekContainsDate,a=void 0===r?1:r,s=uc(t),o=hc(s,i),l=pc(s,{firstDayOfWeek:i,firstWeekContainsDate:a}),c=o.getTime()-l.getTime();return Math.round(c/6048e5)+1}lc._withStripped=!0;var mc={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
595ay","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1},gc=/\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;function vc(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n="".concat(Math.abs(t)),i=t<0?"-":"";n.length<e;)n="0".concat(n);return i+n}function _c(t){return 15*Math.round(t.getTimezoneOffset()/15)}function yc(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),a=i%60;return n+vc(r,2)+e+vc(a,2)}var bc=function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLocaleLowerCase():i},xc={Y:function(t){var e=t.getFullYear();return e<=9999?"".concat(e):"+".concat(e)},YY:function(t){return vc(t.getFullYear(),4).substr(2)},YYYY:function(t){return vc(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return vc(t.getMonth()+1,2)},MMM:function(t,e){return e.monthsShort[t.getMonth()]},MMMM:function(t,e){return e.months[t.getMonth()]},D:function(t){return t.getDate()},DD:function(t){return vc(t.getDate(),2)},H:function(t){return t.getHours()},HH:function(t){return vc(t.getHours(),2)},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(){var t=xc.h.apply(xc,arguments);return vc(t,2)},m:function(t){return t.getMinutes()},mm:function(t){return vc(t.getMinutes(),2)},s:function(t){return t.getSeconds()},ss:function(t){return vc(t.getSeconds(),2)},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return vc(Math.floor(t.getMilliseconds()/10),2)},SSS:function(t){return vc(t.getMilliseconds(),3)},d:function(t){return t.getDay()},dd:function(t,e){return e.weekdaysMin[t.getDay()]},ddd:function(t,e){return e.weekdaysShort[t.getDay()]},dddd:function(t,e){return e.weekdays[t.getDay()]},A:function(t,e){return(e.meridiem||bc)(t.getHours(),t.getMinutes(),!1)},a:function(t,e){return(e.meridiem||bc)(t.getHours(),t.getMinutes(),!0)},Z:function(t){return yc(_c(t),":")},ZZ:function(t){return yc(_c(t))},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()},w:function(t,e){return fc(t,{firstDayOfWeek:e.firstDayOfWeek,firstWeekContainsDate:e.firstWeekContainsDate})},ww:function(t,e){return vc(xc.w(t,e),2)}};function wc(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e?String(e):"YYYY-MM-DDTHH:mm:ss.SSSZ",r=uc(t);if(!dc(r))return"Invalid Date";var a=n.locale||mc;return i.replace(gc,(function(t,e){return e||("function"==typeof xc[t]?"".concat(xc[t](r,a)):t)}))}function Mc(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Sc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Tc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Sc(n,!0).forEach((function(e){Lc(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sc(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ac(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var n=[],i=!0,r=!1,a=void 0;try{for(var s,o=t[Symbol.iterator]();!(i=(s=o.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){r=!0,a=t}finally{try{i||null==o.return||o.return()}finally{if(r)throw a}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Lc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ec=/(\[[^\[]*\])|(MM?M?M?|Do|DD?|ddd?d?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|S{1,3}|x|X|ZZ?|.)/g,Cc=/\d/,Ic=/\d\d/,Dc=/\d\d?/,kc=/[+-]?\d+/,Oc={},Rc=function(t,e,n){var i,r=Array.isArray(t)?t:[t];i="string"==typeof n?function(t){var e=parseInt(t,10);return Lc({},n,e)}:n,r.forEach((function(t){Oc[t]=[e,i]}))},Pc=function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},Nc=function(t){return function(e){var n=e[t];if(!Array.isArray(n))throw new Error("Locale[".concat(t,"] need an array"));return new RegExp(n.map(Pc).join("|"))}},Yc=function(t,e){return function(n,i){var r=i[t];if(!Array.isArray(r))throw new Error("Locale[".concat(t,"] need an array"));var a=r.indexOf(n);if(a<0)throw new Error("Invalid Word");return Lc({},e,a)}};function Fc(t){var e=Ac(t.match(/([+-]|\d\d)/g)||["-","0","0"],3),n=e[0],i=e[1],r=e[2],a=60*parseInt(i,10)+parseInt(r,10);return 0===a?0:"+"===n?-a:+a}function Hc(t,e){if(void 0!==t&&void 0!==e)if(e){if(t<12)return t+12}else if(12===t)return 0;return t}function jc(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=[0,0,1,0,0,0,0],i=[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()],r=!0,a=0;a<7;a++)void 0===t[a]?n[a]=r?i[a]:n[a]:(n[a]=t[a],r=!1);return n}function Bc(t,e,n,i,r,a,s){var o;return t<100&&t>=0?(o=new Date(t+400,e,n,i,r,a,s),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,n,i,r,a,s),o}function zc(){for(var t,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n[0];return r<100&&r>=0?(n[0]+=400,t=new Date(Date.UTC.apply(Date,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(r)):t=new Date(Date.UTC.apply(Date,n)),t}function Uc(t,e,n){var i=e.match(Ec);if(!i)throw new Error;for(var r=i.length,a={},s=0;s<r;s+=1){var o=i[s],l=Oc[o];if(l){var c="function"==typeof l[0]?l[0](n):l[0],u=l[1],d=(c.exec(t)||[])[0];a=Tc({},a,{},u(d,n)),t=t.replace(d,"")}else{var h=o.replace(/^\[|\]$/g,"");if(0!==t.indexOf(h))throw new Error("not match");t=t.substr(h.length)}}return a}function Vc(t){return(Vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Wc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gc(){return(Gc=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function qc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Xc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
vendor: 5,682 bytes, line 595
595e%2?qc(Object(n),!0).forEach((function(e){Wc(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $c(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},a=Object.keys(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Kc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,r=!1,a=void 0;try{for(var s,o=t[Symbol.iterator]();!(i=(s=o.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){r=!0,a=t}finally{try{i||null==o.return||o.return()}finally{if(r)throw a}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Jc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jc(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Qc(){return(Qc=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)}Rc("Y",kc,"year"),Rc("YY",Ic,(function(t){var e=(new Date).getFullYear(),n=Math.floor(e/100),i=parseInt(t,10);return Lc({},"year",i=100*(i>68?n-1:n)+i)})),Rc("YYYY",/\d{4}/,"year"),Rc("M",Dc,(function(t){return Lc({},"month",parseInt(t,10)-1)})),Rc("MM",Ic,(function(t){return Lc({},"month",parseInt(t,10)-1)})),Rc("MMM",Nc("monthsShort"),Yc("monthsShort","month")),Rc("MMMM",Nc("months"),Yc("months","month")),Rc("D",Dc,"day"),Rc("DD",Ic,"day"),Rc(["H","h"],Dc,"hour"),Rc(["HH","hh"],Ic,"hour"),Rc("m",Dc,"minute"),Rc("mm",Ic,"minute"),Rc("s",Dc,"second"),Rc("ss",Ic,"second"),Rc("S",Cc,(function(t){return Lc({},"millisecond",100*parseInt(t,10))})),Rc("SS",Ic,(function(t){return Lc({},"millisecond",10*parseInt(t,10))})),Rc("SSS",/\d{3}/,"millisecond"),Rc(["A","a"],(function(t){return t.meridiemParse||/[ap]\.?m?\.?/i}),(function(t,e){return{isPM:"function"==typeof e.isPM?e.isPM(t):function(t){return"p"==="".concat(t).toLowerCase().charAt(0)}(t)}})),Rc(["Z","ZZ"],/[+-]\d\d:?\d\d/,(function(t){return{offset:Fc(t)}})),Rc("x",kc,(function(t){return{date:new Date(parseInt(t,10))}})),Rc("X",/[+-]?\d+(\.\d{1,3})?/,(function(t){return{date:new Date(1e3*parseFloat(t))}})),Rc("d",Cc,"weekday"),Rc("dd",Nc("weekdaysMin"),Yc("weekdaysMin","weekday")),Rc("ddd",Nc("weekdaysShort"),Yc("weekdaysShort","weekday")),Rc("dddd",Nc("weekdays"),Yc("weekdays","weekday")),Rc("w",Dc,"week"),Rc("ww",Ic,"week");var Zc=["attrs","props","domProps"],tu=["class","style","directives"],eu=["on","nativeOn"],nu=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}},iu=function(t){return t.reduce((function(t,e){for(var n in e)if(t[n])if(-1!==Zc.indexOf(n))t[n]=Qc({},t[n],e[n]);else if(-1!==tu.indexOf(n)){var i=t[n]instanceof Array?t[n]:[t[n]],r=e[n]instanceof Array?e[n]:[e[n]];t[n]=i.concat(r)}else if(-1!==eu.indexOf(n))for(var a in e[n])if(t[n][a]){var s=t[n][a]instanceof Array?t[n][a]:[t[n][a]],o=e[n][a]instanceof Array?e[n][a]:[e[n][a]];t[n][a]=s.concat(o)}else t[n][a]=e[n][a];else if("hook"==n)for(var l in e[n])t[n][l]=t[n][l]?nu(t[n][l],e[n][l]):e[n][l];else t[n]=e[n];else t[n]=e[n];return t}),{})};function ru(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,o=new Date(t,e,n,i,r,a,s);return t<100&&t>=0&&o.setFullYear(t),o}function au(t){return t instanceof Date&&!isNaN(t)}function su(t){return Array.isArray(t)&&2===t.length&&t.every(au)&&t[0]<=t[1]}function ou(t){var e=new Date(t);if(au(e))return e;for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return i.length?ou.apply(void 0,i):new Date}function lu(t){var e=new Date(t);return e.setMonth(0,1),e.setHours(0,0,0,0),e}function cu(t){var e=new Date(t);return e.setDate(1),e.setHours(0,0,0,0),e}function uu(t){var e=new Date(t);return e.setHours(0,0,0,0),e}function du(t,e){var n=new Date(t),i="function"==typeof e?e(n.getMonth()):Number(e),r=ru(n.getFullYear(),i+1,0).getDate(),a=n.getDate();return n.setMonth(i,Math.min(a,r)),n}function hu(t,e){var n=new Date(t),i="function"==typeof e?e(n.getFullYear()):e;return n.setFullYear(i),n}function pu(t,e){var n=new Date(t),i=new Date(e);return n.setHours(i.getHours(),i.getMinutes(),i.getSeconds()),n}function fu(t,e){if(!Array.isArray(t))return[];var n=[],i=t.length,r=0;for(e=e||i;r<i;)n.push(t.slice(r,r+=e));return n}function mu(t){return"[object Object]"===Object.prototype.toString.call(t)}function gu(t,e){if(!mu(t))return{};Array.isArray(e)||(e=[e]);var n={};return e.forEach((function(e){e in t&&(n[e]=t[e])})),n}var vu,_u=function(t,e){return t(e={exports:{}},e.exports),e.exports}
595((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1};e.default=n,t.exports=e.default})),yu={formatLocale:(vu=_u)&&vu.__esModule&&Object.prototype.hasOwnProperty.call(vu,"default")?vu.default:vu,yearFormat:"YYYY",monthFormat:"MMM",monthBeforeYear:!0},bu="en",xu={};function wu(t,e,n){if("string"!=typeof t)return xu[bu];var i=bu;return xu[t]&&(i=t),e&&(xu[t]=e,i=t),n||(bu=i),xu[t]||xu[bu]}function Mu(t){return wu(t,null,!0)}function Su(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;if(!t||t===e)return null;var n=function(t,e){return getComputedStyle(t,null).getPropertyValue(e)},i=/(auto|scroll)/,r=i.test(n(t,"overflow")+n(t,"overflow-y")+n(t,"overflow-x"));return r?t:Su(t.parentNode,e)}function Tu(t,e,n,i,r,a,s,o,l,c){"boolean"!=typeof s&&(l=o,o=s,s=!1);var u,d="function"==typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=u):e&&(u=s?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,o(t))}),u)if(d.functional){var h=d.render;d.render=function(t,e){return u.call(e),h(t,e)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,u):[u]}return n}xu[bu]=yu;var Au,Lu=Tu({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.prefixClass+"-zoom-in-down"}},[t.visible?n("div",{class:t.prefixClass+"-datepicker-main "+t.prefixClass+"-datepicker-popup",style:{to
vendor: 6,394 bytes, line 595
595p:t.top,left:t.left,position:"absolute"}},[t._t("default")],2):t._e()])},staticRenderFns:[]},void 0,{name:"Popup",inject:{prefixClass:{default:"mx"}},props:{visible:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0}},data:function(){return{top:"",left:""}},watch:{visible:{immediate:!0,handler:function(t){var e=this;this.$nextTick((function(){t&&e.displayPopup()}))}}},mounted:function(){var t=this;this.appendToBody&&document.body.appendChild(this.$el),this._clickoutEvent="ontouchend"in document?"touchstart":"mousedown",document.addEventListener(this._clickoutEvent,this.handleClickOutside);var e,n,i=this.$parent.$el;this._displayPopup=(e=function(){return t.displayPopup()},n=!1,function(){for(var t=this,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];n||(n=!0,requestAnimationFrame((function(){n=!1,e.apply(t,r)})))}),this._scrollParent=Su(i)||window,this._scrollParent.addEventListener("scroll",this._displayPopup),window.addEventListener("resize",this._displayPopup)},beforeDestroy:function(){this.appendToBody&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el),document.removeEventListener(this._clickoutEvent,this.handleClickOutside),this._scrollParent.removeEventListener("scroll",this._displayPopup),window.removeEventListener("resize",this._displayPopup)},methods:{handleClickOutside:function(t){if(this.visible){var e=t.target,n=this.$el;n&&!n.contains(e)&&this.$emit("clickoutside",t)}},displayPopup:function(){if(this.visible){var t=this.$el,e=this.$parent.$el,n=this.appendToBody;this._popupRect||(this._popupRect=function(t){var e=t.style.display,n=t.style.visibility;t.style.display="block",t.style.visibility="hidden";var i=window.getComputedStyle(t),r=t.offsetWidth+parseInt(i.marginLeft,10)+parseInt(i.marginRight,10),a=t.offsetHeight+parseInt(i.marginTop,10)+parseInt(i.marginBottom,10);return t.style.display=e,t.style.visibility=n,{width:r,height:a}}(t));var i=this._popupRect,r=function(t,e,n,i){var r=0,a=0,s=0,o=0,l=t.getBoundingClientRect(),c=document.documentElement.clientWidth,u=document.documentElement.clientHeight;return i&&(s=window.pageXOffset+l.left,o=window.pageYOffset+l.top),r=c-l.left<e&&l.right<e?s-l.left+1:l.left+l.width/2<=c/2?s:s+l.width-e,a=l.top<=n&&u-l.bottom<=n?o+u-l.top-n:l.top+l.height/2<=u/2?o+l.height:o-n,{left:"".concat(r,"px"),top:"".concat(a,"px")}}(e,i.width,i.height,n),a=r.left,s=r.top;this.left=a,this.top=s}}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Eu=Tu({render:function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"1em",height:"1em"}},[e("path",{attrs:{d:"M940.218182 107.054545h-209.454546V46.545455h-65.163636v60.50909H363.054545V46.545455H297.890909v60.50909H83.781818c-18.618182 0-32.581818 13.963636-32.581818 32.581819v805.236363c0 18.618182 13.963636 32.581818 32.581818 32.581818h861.090909c18.618182 0 32.581818-13.963636 32.581818-32.581818V139.636364c-4.654545-18.618182-18.618182-32.581818-37.236363-32.581819zM297.890909 172.218182V232.727273h65.163636V172.218182h307.2V232.727273h65.163637V172.218182h176.872727v204.8H116.363636V172.218182h181.527273zM116.363636 912.290909V442.181818h795.927273v470.109091H116.363636z"}})])},staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),Cu=Tu({render:function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),this._v(" "),e("path",{attrs:{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}}),this._v(" "),e("path",{attrs:{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"}})])},staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),Iu=Tu({render:function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"1em",height:"1em"}},[e("path",{attrs:{d:"M810.005333 274.005333l-237.994667 237.994667 237.994667 237.994667-60.010667 60.010667-237.994667-237.994667-237.994667 237.994667-60.010667-60.010667 237.994667-237.994667-237.994667-237.994667 60.010667-60.010667 237.994667 237.994667 237.994667-237.994667z"}})])},staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),Du=Tu({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",t._g({class:[t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-icon-"+t.type,{disabled:t.disabled}],attrs:{type:"button",disabled:t.disabled}},t.$listeners),[n("i",{class:t.prefixClass+"-icon-"+t.type})])},staticRenderFns:[]},void 0,{props:{type:String,disabled:Boolean},inject:{prefixClass:{default:"mx"}}},void 0,!1,void 0,!1,void 0,void 0,void 0),ku=Tu({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.prefixClass+"-calendar "+t.prefixClass+"-calendar-panel-date"},[n("div",{class:t.prefixClass+"-calendar-header"},[n("icon-button",{attrs:{type:"double-left",disabled:t.isDisabledArrows("last-year")},on:{click:t.handleIconDoubleLeftClick}}),t._v(" "),n("icon-button",{attrs:{type:"left",disabled:t.isDisabledArrows("last-month")},on:{click:t.handleIconLeftClick}}),t._v(" "),n("icon-button",{attrs:{type:"double-right",disabled:t.isDisabledArrows("next-year")},on:{click:t.handleIconDoubleRightClick}}),t._v(" "),n("icon-button",{attrs:{type:"right",disabled:t.isDisabledArrows("next-month")},on:{click:t.handleIconRightClick}}),t._v(" "),n("span",{class:t.prefixClass+"-calendar-header-label"},t._l(t.yearMonth,(function(e){return n("button",{key:e.panel,class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-current-"+e.panel,attrs:{type:"button"},on:{click:function(n){return t.handlePanelChange(e.panel)}}},[t._v("\n        "+t._s(e.label)+"\n      ")])})),0)],1),t._v(" "),n("div",{class:t.prefixClass+"-calendar-content"},[n("table",{class:t.prefixClass+"-table "+t.prefixClass+"-table-date"},[n("thead",[n("tr",[t.showWeekNumber?n("th",{class:t.prefixClass+"-week-number-header"}):t._e(),t._v(" "),t._l(t.days,(function(e){return n("th",{key:e},[t._v(t._s(e))])}))],2)]),t._v(" "),n("tbody",{on:{click:t.handleCellClick}},t._l(t.dates,(function(e,i){return n("tr",{key:i,class:[t.prefixClass+"-d
595ate-row",t.getRowClasses(e)]},[t.showWeekNumber?n("td",{class:t.prefixClass+"-week-number",attrs:{"data-row-col":i+",0"}},[t._v("\n            "+t._s(t.getWeekNumber(e[0]))+"\n          ")]):t._e(),t._v(" "),t._l(e,(function(e,r){return n("td",{key:r,staticClass:"cell",class:t.getCellClasses(e),attrs:{"data-row-col":i+","+r,title:t.getCellTitle(e)},on:{mouseenter:function(n){return t.handleMouseEnter(e)},mouseleave:function(n){return t.handleMouseLeave(e)}}},[n("div",[t._v(t._s(e.getDate()))])])}))],2)})),0)])])])},staticRenderFns:[]},void 0,{name:"TableDate",components:{IconButton:Du},inject:{getLocale:{default:function(){return Mu}},getWeek:{default:function(){return fc}},prefixClass:{default:"mx"},onDateMouseEnter:{default:void 0},onDateMouseLeave:{default:void 0}},props:{disabledCalendarChanger:{type:Function,default:function(){return!1}},calendar:{type:Date,default:function(){return new Date}},showWeekNumber:{type:Boolean,default:!1},titleFormat:{type:String,default:"YYYY-MM-DD"},getRowClasses:{type:Function,default:function(){return[]}},getCellClasses:{type:Function,default:function(){return[]}}},computed:{firstDayOfWeek:function(){return this.getLocale().formatLocale.firstDayOfWeek||0},yearMonth:function(){var t=this.getLocale(),e=t.yearFormat,n=t.monthBeforeYear,i=t.monthFormat,r=void 0===i?"MMM":i,a={panel:"year",label:this.formatDate(this.calendar,e)},s={panel:"month",label:this.formatDate(this.calendar,r)};return n?[s,a]:[a,s]},days:function(){var t=this.getLocale(),e=t.days||t.formatLocale.weekdaysMin;return e.concat(e).slice(this.firstDayOfWeek,this.firstDayOfWeek+7)},dates:function(){var t=this.calendar.getFullYear(),e=this.calendar.getMonth();return fu(function(t){for(var e=t.firstDayOfWeek,n=t.year,i=t.month,r=[],a=ru(n,i,0),s=a.getDate(),o=s-(a.getDay()+7-e)%7,l=o;l<=s;l++)r.push(ru(n,i,l-s));a.setMonth(i+1,0);for(var c=a.getDate(),u=1;u<=c;u++)r.push(ru(n,i,u));for(var d=42-(s-o+1)-c,h=1;h<=d;h++)r.push(ru(n,i,c+h));return r}({firstDayOfWeek:this.firstDayOfWeek,year:t,month:e}),7)}},methods:{isDisabledArrows:function(t){var e=new Date(this.calendar);switch(t){case"last-year":e.setFullYear(e.getFullYear()-1,e.getMonth()+1,0),e.setHours(23,59,59,999);break;case"next-year":e.setFullYear(e.getFullYear()+1);break;case"last-month":e.setMonth(e.getMonth(),0),e.setHours(23,59,59,999);break;case"next-month":e.setMonth(e.getMonth()+1)}return this.disabledCalendarChanger(e,t)},handleIconLeftClick:function(){this.$emit("changecalendar",du(this.calendar,(function(t){return t-1})),"last-month")},handleIconRightClick:function(){this.$emit("changecalendar",du(this.calendar,(function(t){return t+1})),"next-month")},handleIconDoubleLeftClick:function(){this.$emit("changecalendar",hu(this.calendar,(function(t){return t-1})),"last-year")},handleIconDoubleRightClick:function(){this.$emit("changecalendar",hu(this.calendar,(function(t){return t+1})),"next-year")},handlePanelChange:function(t){this.$emit("changepanel",t)},handleMouseEnter:function(t){"function"==typeof this.onDateMouseEnter&&this.onDateMouseEnter(t)},handleMouseLeave:function(t){"function"==typeof this.onDateMouseLeave&&this.onDateMouseLeave(t)},handleCellClick:function(t){var e=t.target;"DIV"===e.tagName.toUpperCase()&&(e=e.parentNode);var n=e.getAttribute("data-row-col");if(n){var i=Kc(n.split(",").map((function(t){return parseInt(t,10)})),2),r=i[0],a=i[1],s=this.dates[r][a];this.$emit("select",new Date(s))}},formatDate:function(t,e){return wc(t,e,{locale:this.getLocale().formatLocale})},getCellTitle:function(t){var e=this.titleFormat;return this.formatDate(t,e)},getWeekNumber:function(t){return this.getWeek(t,this.getLocale().formatLocale)}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Ou=Tu({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.prefixClass+"-calendar "+t.prefixClass+"-calendar-panel-month"},[n("div",{class:t.prefixClass+"-calendar-header"},[n("icon-button",{attrs:{type:"double-left",disabled:t.isDisabledArrows("last-year")},on:{click:t.handleIconDoubleLeftClick}}),t._v(" "),n("icon-button",{attrs:{type:"double-right",disabled:t.isDisabledArrows("next-year")},on:{click:t.handleIconDoubleRightClick}}),t._v(" "),n("span",{class:t.prefixClass+"-calendar-header-label"},[n("button",{class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text",attrs:{type:"button"},on:{click:t.handlePanelChange}},[t._v("\n        "+t._s(t.calendarYear)+"\n      ")])])],1),t._v(" "),n("div",{class:t.prefixClass+"-calendar-content"},[n("table",{class:t.prefixClass+"-table "+t.prefixClass+"-table-month",on:{click:t.handleClick}},t._l(t.months,(function(e,i){return n("tr",{key:i},t._l(e,(function(e,i){return n("td",{key:i,staticClass:"cell",class:t.getCellClasses(e.month),attrs:{"data-month":e.month}},[n("div",[t._v(t._s(e.text))])])})),0)})),0)])])},staticRenderFns:[]},void 0,{name:"TableMonth",components:{IconButton:Du},inject:{getLocale:{default:function(){return Mu}},prefixClass:{default:"mx"}},props:{disabledCalendarChanger:{type:Function,default:function(){return!1}},calendar:{type:Date,default:function(){return new Date}},getCellClasses:{type:Function,default:function(){return[]}}},computed:{calendarYear:function(){return this.calendar.getFullYear()},months:function(){var t=this.getLocale(),e=(t.months||t.formatLocale.monthsShort).map((function(t,e){return{text:t,month:e}}));return fu(e,3)}},methods:{isDisabledArrows:function(t){var e=new Date(this.calendar);switch(t){case"last-year":e.setFullYear(e.getFullYear()-1,11,31),e.setHours(23,59,59,999);break;case"next-year":e.setFullYear(e.getFullYear()+1,0,1)}return this.disabledCalendarChanger(e,t)},handleIconDoubleLeftClick:function(){this.$emit("changecalendar",hu(this.calendar,(function(t){return t-1})),"last-year")},handleIconDoubleRightClick:function(){this.$emit("changecalendar",hu(this.calendar,(function(t){return t+1})),"next-year")},handlePanelChange:function(){this.$emit("changepanel","year")},handleClick:function(t){var e=t.target;"DIV"===e.tagName.toUpperCase()&&(e=e.parentNode);var n=e.getAttribute("data-month");n&&!e.classList.contains("disabled")&&this.$emit("select",parseInt(n,10))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Ru=Tu({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.prefixClass+"-calendar "+t.prefixClass+"-calendar-panel-year"},[n("div",{class:t.prefixClass+"-calendar-header"},[n("icon-button",{attrs:{type:"double-left",disabled:t.isDisabledArrows("last-decade")},on:{click:t.handleIconDoubleLeftClick}}),t._v(" "),n("icon-button",{attrs:{type:"double-right",disabled:t.isDisabledArrows("next-decade")},on:{click:t.handleIconDoubleRightClick}}),t._v(" "),n("span",{class:t.prefixClass+"-calendar-header-label"},[n("span",[t._v(t._s(t.firstYear))]),t._v(" "),n("span",{class:t.prefixClass+"-calendar-decade-separator"}
vendor: 31,946 bytes, line 595
595),t._v(" "),n("span",[t._v(t._s(t.lastYear))])])],1),t._v(" "),n("div",{class:t.prefixClass+"-calendar-content"},[n("table",{class:t.prefixClass+"-table "+t.prefixClass+"-table-year",on:{click:t.handleClick}},t._l(t.years,(function(e,i){return n("tr",{key:i},t._l(e,(function(e,i){return n("td",{key:i,staticClass:"cell",class:t.getCellClasses(e),attrs:{"data-year":e}},[n("div",[t._v(t._s(e))])])})),0)})),0)])])},staticRenderFns:[]},void 0,{name:"TableYear",components:{IconButton:Du},inject:{prefixClass:{default:"mx"}},props:{disabledCalendarChanger:{type:Function,default:function(){return!1}},calendar:{type:Date,default:function(){return new Date}},getCellClasses:{type:Function,default:function(){return[]}},getYearPanel:{type:Function}},computed:{years:function(){var t=new Date(this.calendar);return"function"==typeof this.getYearPanel?this.getYearPanel(t):this.getYears(t)},firstYear:function(){return this.years[0][0]},lastYear:function(){var t=function(t){return t[t.length-1]};return t(t(this.years))}},methods:{isDisabledArrows:function(t){var e=new Date(this.calendar);switch(t){case"last-decade":e.setFullYear(this.firstYear-1,11,31),e.setHours(23,59,59,999);break;case"next-decade":e.setFullYear(this.lastYear+1,0,1)}return this.disabledCalendarChanger(e,t)},getYears:function(t){for(var e=10*Math.floor(t.getFullYear()/10),n=[],i=0;i<10;i++)n.push(e+i);return fu(n,2)},handleIconDoubleLeftClick:function(){this.$emit("changecalendar",hu(this.calendar,(function(t){return t-10})),"last-decade")},handleIconDoubleRightClick:function(){this.$emit("changecalendar",hu(this.calendar,(function(t){return t+10})),"next-decade")},handleClick:function(t){var e=t.target;"DIV"===e.tagName.toUpperCase()&&(e=e.parentNode);var n=e.getAttribute("data-year");n&&!e.classList.contains("disabled")&&this.$emit("select",parseInt(n,10))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Pu={name:"CalendarPanel",inject:{prefixClass:{default:"mx"},dispatchDatePicker:{default:function(){return function(){}}}},props:{value:{},defaultValue:{default:function(){var t=new Date;return t.setHours(0,0,0,0),t}},defaultPanel:{type:String},disabledCalendarChanger:{type:Function,default:function(){return!1}},disabledDate:{type:Function,default:function(){return!1}},type:{type:String,default:"date"},getClasses:{type:Function,default:function(){return[]}},showWeekNumber:{type:Boolean,default:void 0},getYearPanel:{type:Function},titleFormat:{type:String,default:"YYYY-MM-DD"},calendar:Date,partialUpdate:{type:Boolean,default:!1}},data:function(){var t=["date","month","year"],e=Math.max(t.indexOf(this.type),t.indexOf(this.defaultPanel));return{panel:-1!==e?t[e]:"date",innerCalendar:new Date}},computed:{innerValue:function(){var t=Array.isArray(this.value)?this.value:[this.value],e={year:lu,month:cu,date:uu},n=e[this.type]||e.date;return t.filter(au).map((function(t){return n(t)}))},calendarYear:function(){return this.innerCalendar.getFullYear()},calendarMonth:function(){return this.innerCalendar.getMonth()}},watch:{value:{immediate:!0,handler:"initCalendar"},calendar:{handler:"initCalendar"},defaultValue:{handler:"initCalendar"}},methods:{initCalendar:function(){var t=this.calendar;if(!au(t)){var e=this.innerValue.length;t=ou(e>0?this.innerValue[e-1]:this.defaultValue)}this.innerCalendar=cu(t)},isDisabled:function(t){return this.disabledDate(new Date(t),this.innerValue)},emitDate:function(t,e){this.isDisabled(t)||(this.$emit("select",t,e,this.innerValue),this.dispatchDatePicker("pick",t,e))},handleCalendarChange:function(t,e){var n=new Date(this.innerCalendar);this.innerCalendar=t,this.$emit("update:calendar",t),this.dispatchDatePicker("calendar-change",t,n,e)},handelPanelChange:function(t){var e=this.panel;this.panel=t,this.dispatchDatePicker("panel-change",t,e)},handleSelectYear:function(t){if("year"===this.type){var e=this.getYearCellDate(t);this.emitDate(e,"year")}else if(this.handleCalendarChange(ru(t,this.calendarMonth),"year"),this.handelPanelChange("month"),this.partialUpdate&&1===this.innerValue.length){var n=new Date(this.innerValue[0]);n.setFullYear(t),this.emitDate(n,"year")}},handleSelectMonth:function(t){if("month"===this.type){var e=this.getMonthCellDate(t);this.emitDate(e,"month")}else if(this.handleCalendarChange(ru(this.calendarYear,t),"month"),this.handelPanelChange("date"),this.partialUpdate&&1===this.innerValue.length){var n=new Date(this.innerValue[0]);n.setFullYear(this.calendarYear),this.emitDate(du(n,t),"month")}},handleSelectDate:function(t){this.emitDate(t,"week"===this.type?"week":"date")},getMonthCellDate:function(t){return ru(this.calendarYear,t)},getYearCellDate:function(t){return ru(t,0)},getDateClasses:function(t){var e=t.getMonth()!==this.calendarMonth,n=[];t.getTime()===(new Date).setHours(0,0,0,0)&&n.push("today"),e&&n.push("not-current-month");var i=this.getStateClass(t);return"active"===i&&e||n.push(i),n.concat(this.getClasses(t,this.innerValue,n.join(" ")))},getMonthClasses:function(t){var e=[];if("month"!==this.type){this.calendarMonth===t&&e.push("active");var n=this.getMonthCellDate(t);return this.disabledCalendarChanger(n,"month")&&e.push("disabled"),e}var i=this.getMonthCellDate(t);return e.push(this.getStateClass(i)),e.concat(this.getClasses(i,this.innerValue,e.join(" ")))},getYearClasses:function(t){var e=[];if("year"!==this.type){this.calendarYear===t&&e.push("active");var n=this.getYearCellDate(t);return this.disabledCalendarChanger(n,"year")&&e.push("disabled"),e}var i=this.getYearCellDate(t);return e.push(this.getStateClass(i)),e.concat(this.getClasses(i,this.innerValue,e.join(" ")))},getStateClass:function(t){return this.isDisabled(t)?"disabled":this.innerValue.some((function(e){return e.getTime()===t.getTime()}))?"active":""},getWeekState:function(t){if("week"!==this.type)return"";var e=t[0].getTime(),n=t[6].getTime();return this.innerValue.some((function(t){var i=t.getTime();return i>=e&&i<=n}))?"".concat(this.prefixClass,"-active-week"):""}},render:function(){var t=arguments[0],e=this.panel,n=this.innerCalendar;return"year"===e?t(Ru,{attrs:{disabledCalendarChanger:this.disabledCalendarChanger,calendar:n,getCellClasses:this.getYearClasses,getYearPanel:this.getYearPanel},on:{select:this.handleSelectYear,changecalendar:this.handleCalendarChange}}):"month"===e?t(Ou,{attrs:{disabledCalendarChanger:this.disabledCalendarChanger,calendar:n,getCellClasses:this.getMonthClasses},on:{select:this.handleSelectMonth,changepanel:this.handelPanelChange,changecalendar:this.handleCalendarChange}}):t(ku,{attrs:{disabledCalendarChanger:this.disabledCalendarChanger,calendar:n,getCellClasses:this.getDateClasses,getRowClasses:this.getWeekState,titleFormat:this.titleFormat,showWeekNumber:"boolean"==typeof this.showWeekNumber?this.showWeekNumber:"week"===this.type},class:Wc({},"".concat(this.prefixClass,"-calendar-week-mode"),"week"===this.type),on:{select:this.handleSelectDate,changepanel:this.handelPanelChange,changecalendar:this.handleCalendarChange}})}},Nu={name:"CalendarRange",components:{CalendarPanel:Pu},provide:function(){return{onDateMouseEnter:this.onDateMouseEnter,onDateMouseLeave:this.onDateMouseLeave}},inject:{prefixClass:{default:"mx"}},props:Xc({},Pu.props),data:function(){return{innerValue:[],calendars:[],hoveredValue:null}},computed:{calendarMinDiff:function(){var t={date:1,month:12,year:120};return t[this.type]||t.date},calendarMaxDiff:function(){return 1/0},defaultValues:function(){return Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue]}},watch:{value:{immediate:!0,handler:function(){var t=this;this.innerValue=su(this.value)?this.value:[new Date(NaN),new Date(NaN)];var e=this.innerValue.map((function(e,n){return cu(ou(e,t.defaultValues[n]))}));this.updateCalendars(e)}}},methods:{handleSelect:function(t,e){var n=Kc(this.innerValue,2),i=n[0],r=n[1];au(i)&&!au(r)?(i.getTime()>t.getTime()?this.innerValue=[t,i]:this.innerValue=[i,t],this.emitDate(this.innerValue,e)):this.innerValue=[t,new Date(NaN)]},onDateMouseEnter:function(t){this.hoveredValue=t},onDateMouseLeave:function(){this.hoveredValue=null},emitDate:function(t,e){this.$emit("select",t,e)},updateStartCalendar:function(t){this.updateCalendars([t,this.calendars[1]],1)},updateEndCalendar:function(t){this.updateCalendars([this.calendars[0],t],0)},updateCalendars:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.getCalendarGap(t);if(n){var i=new Date(t[e]);i.setMonth(i.getMonth()+(0===e?-n:n)),t[e]=i}this.calendars=t},getCalendarGap:function(t){var e=Kc(t,2),n=e[0],i=e[1],r=12*(i.getFullYear()-n.getFullYear())+(i.getMonth()-n.getMonth()),a=this.calendarMinDiff,s=this.calendarMaxDiff;return r<a?a-r:r>s?s-r:0},getRangeClasses:function(t,e,n){var i=[].concat(this.getClasses(t,e,n));if(/disabled|active/.test(n))return i;var r=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t.getTime()},i=n(t),r=e.map(n),a=Kc(r,2),s=a[0],o=a[1];if(s>o){var l=[o,s];s=l[0],o=l[1]}return i>s&&i<o};return 2===e.length&&r(t,e)?i.concat("in-range"):1===e.length&&this.hoveredValue&&r(t,[e[0],this.hoveredValue])?i.concat("hover-in-range"):i}},render:function(){var t=this,e=arguments[0],n=this.calendars.map((function(n,i){var r=Xc({},t.$props,{calendar:n,value:t.innerValue,defaultValue:t.defaultValues[i],getClasses:t.getRangeClasses,partialUpdate:!1}),a={select:t.handleSelect,"update:calendar":0===i?t.updateStartCalendar:t.updateEndCalendar};return e("calendar-panel",{props:Xc({},r),on:Xc({},a)})})),i=this.prefixClass;return e("div",{class:"".concat(i,"-range-wrapper")},[n])}};var Yu=Tu({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.prefixClass+"-scrollbar",style:{position:"relative",overflow:"hidden"}},[n("div",{ref:"wrap",class:t.prefixClass+"-scrollbar-wrap",style:{marginRight:"-"+t.scrollbarWidth+"px"},on:{scroll:t.handleScroll}},[t._t("default")],2),t._v(" "),n("div",{class:t.prefixClass+"-scrollbar-track"},[n("div",{ref:"thumb",class:t.prefixClass+"-scrollbar-thumb",style:{height:t.thumbHeight,top:t.thumbTop},on:{mousedown:t.handleDragstart}})])])},staticRenderFns:[]},void 0,{inject:{prefixClass:{default:"mx"}},data:function(){return{scrollbarWidth:0,thumbTop:"",thumbHeight:""}},created:function(){this.scrollbarWidth=function(){if("undefined"==typeof window)return 0;if(void 0!==Au)return Au;var t=document.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);var e=document.createElement("div");return e.style.width="100%",t.appendChild(e),Au=t.offsetWidth-e.offsetWidth,t.parentNode.removeChild(t),Au}(),document.addEventListener("mouseup",this.handleDragend)},beforeDestroy:function(){document.addEventListener("mouseup",this.handleDragend)},mounted:function(){this.$nextTick(this.getThumbSize)},methods:{getThumbSize:function(){var t=this.$refs.wrap;if(t){var e=100*t.clientHeight/t.scrollHeight;this.thumbHeight=e<100?"".concat(e,"%"):""}},handleScroll:function(t){var e=t.currentTarget,n=e.scrollHeight,i=e.scrollTop;this.thumbTop="".concat(100*i/n,"%")},handleDragstart:function(t){t.stopImmediatePropagation(),this._draggable=!0;var e=this.$refs.thumb.offsetTop;this._prevY=t.clientY-e,document.addEventListener("mousemove",this.handleDraging)},handleDraging:function(t){if(this._draggable){var e=t.clientY,n=this.$refs.wrap,i=n.scrollHeight,r=n.clientHeight,a=(e-this._prevY)*i/r;n.scrollTop=a}},handleDragend:function(){this._draggable&&(this._draggable=!1,document.removeEventListener("mousemove",this.handleDraging))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Fu=function(t){return(t=parseInt(t,10))<10?"0".concat(t):"".concat(t)},Hu=function(t,e,n){if(Array.isArray(n))return n.filter((function(e){return e>=0&&e<t}));e<=0&&(e=1);for(var i=[],r=0;r<t;r+=e)i.push(r);return i},ju=function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(i<=0)requestAnimationFrame((function(){e.scrollTop=n}));else{var r=n-e.scrollTop,a=r/i*10;requestAnimationFrame((function(){var r=e.scrollTop+a;r>=n?e.scrollTop=n:(e.scrollTop=r,t(e,n,i-10))}))}},Bu=Tu({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.prefixClass+"-time-columns"},t._l(t.columns,(function(e,i){return n("scrollbar-vertical",{key:i,class:t.prefixClass+"-time-column"},[n("ul",{class:t.prefixClass+"-time-list",attrs:{"data-type":e.type,"data-index":i},on:{click:t.handleSelect}},t._l(e.list,(function(i,r){return n("li",{key:i.value,class:[t.prefixClass+"-time-item",t.getClasses(i.value,e.type)],attrs:{"data-index":r}},[t._v("\n        "+t._s(i.text)+"\n      ")])})),0)])})),1)},staticRenderFns:[]},void 0,{name:"ListColumns",components:{ScrollbarVertical:Yu},inject:{prefixClass:{default:"mx"}},props:{date:Date,scrollDuration:{type:Number,default:100},getClasses:{type:Function,default:function(){return[]}},hourOptions:Array,minuteOptions:Array,secondOptions:Array,showHour:{type:Boolean,default:!0},showMinute:{type:Boolean,default:!0},showSecond:{type:Boolean,default:!0},hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1},use12h:{type:Boolean,default:!1}},computed:{columns:function(){var t=[];return this.showHour&&t.push({type:"hour",list:this.getHoursList()}),this.showMinute&&t.push({type:"minute",list:this.getMinutesList()}),this.showSecond&&t.push({type:"second",list:this.getSecondsList()}),this.use12h&&t.push({type:"ampm",list:this.getAMPMList()}),t.filter((function(t){return t.list.length>0}))}},watch:{date:{handler:function(){var t=this;this.$nextTick((function(){t.scrollToSelected(t.scrollDuration)}))}}},mounted:function(){this.scrollToSelected(0)},methods:{getHoursList:function(){var t=this;return Hu(this.use12h?12:24,this.hourStep,this.hourOptions).map((function(e){var n=new Date(t.date),i=Fu(e);return t.use12h&&(0===e&&(i="12"),n.getHours()>=12&&(e+=12)),{value:n.setHours(e),text:i}}))},getMinutesList:function(){var t=this;return Hu(60,this.minuteStep,this.minuteOptions).map((function(e){return{value:new Date(t.date).setMinutes(e),text:Fu(e)}}))},getSecondsList:function(){var t=this;return Hu(60,this.secondStep,this.secondOptions).map((function(e){return{value:new Date(t.date).setSeconds(e),text:Fu(e)}}))},getAMPMList:function(){var t=this;return["AM","PM"].map((function(e,n){var i=new Date(t.date);return{text:e,value:i.setHours(i.getHours()%12+12*n)}}))},scrollToSelected:function(t){for(var e=this.$el.querySelectorAll(".active"),n=0;n<e.length;n++){var i=e[n],r=Su(i,this.$el);if(r){var a=i.offsetTop;ju(r,a,t)}}},handleSelect:function(t){var e=t.target,n=t.currentTarget;if("LI"===e.tagName.toUpperCase()){var i=n.getAttribute("data-type"),r=parseInt(n.getAttribute("data-index"),10),a=parseInt(e.getAttribute("data-index"),10),s=this.columns[r].list[a].value;this.$emit("select",s,i)}}}},void 0,!1,void 0,!1,void 0,void 0,void 0);function zu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split(":");if(e.length>=2){var n=parseInt(e[0],10),i=parseInt(e[1],10);return{hours:n,minutes:i}}return null}var Uu=Tu({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("scrollbar-vertical",t._l(t.list,(function(e){return n("div",{key:e.value,class:[t.prefixClass+"-time-option",t.getClasses(e.value)],on:{click:function(n){return t.handleSelect(e.value)}}},[t._v("\n    "+t._s(e.text)+"\n  ")])})),0)},staticRenderFns:[]},void 0,{name:"ListOptions",components:{ScrollbarVertical:Yu},inject:{getLocale:{default:function(){return Mu}},prefixClass:{default:"mx"}},props:{date:Date,options:{type:[Object,Function],default:function(){return[]}},format:{type:String,default:"HH:mm:ss"},getClasses:{type:Function,default:function(){return[]}}},computed:{list:function(){var t=[],e=this.options;if("function"==typeof e)return e()||[];var n=zu(e.start),i=zu(e.end),r=zu(e.step),a=e.format||this.format;if(n&&i&&r)for(var s=n.minutes+60*n.hours,o=i.minutes+60*i.hours,l=r.minutes+60*r.hours,c=Math.floor((o-s)/l),u=0;u<=c;u++){var d=s+u*l,h=Math.floor(d/60),p=d%60,f=new Date(this.date).setHours(h,p,0);t.push({value:f,text:this.formatDate(f,a)})}return t}},mounted:function(){this.scrollToSelected()},methods:{formatDate:function(t,e){return wc(t,e,{locale:this.getLocale().formatLocale})},scrollToSelected:function(){var t=this.$el.querySelector(".active");if(t){var e=Su(t,this.$el);if(e)!function(t,e){t&&(t.scrollTop=e)}(e,t.offsetTop)}},handleSelect:function(t){this.$emit("select",t,"time")}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Vu=Tu({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.prefixClass+"-time"},[t.showTimeHeader?n("div",{class:t.prefixClass+"-time-header"},[n("button",{class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-time-header-title",attrs:{type:"button"},on:{click:t.handleClickTitle}},[t._v("\n      "+t._s(t.title)+"\n    ")])]):t._e(),t._v(" "),n("div",{class:t.prefixClass+"-time-content"},[t.timePickerOptions?n("list-options",{attrs:{date:t.innerValue,"get-classes":t.getClasses,options:t.timePickerOptions,format:t.innerForamt},on:{select:t.handleSelect}}):n("list-columns",t._b({attrs:{date:t.innerValue,"get-classes":t.getClasses,"hour-options":t.hourOptions,"minute-options":t.minuteOptions,"second-options":t.secondOptions,"hour-step":t.hourStep,"minute-step":t.minuteStep,"second-step":t.secondStep,"scroll-duration":t.scrollDuration},on:{select:t.handleSelect}},"list-columns",t.ShowHourMinuteSecondAMPM,!1))],1)])},staticRenderFns:[]},void 0,{name:"TimePanel",components:{ListColumns:Bu,ListOptions:Uu},inject:{getLocale:{default:function(){return Mu}},prefixClass:{default:"mx"}},props:{value:{},defaultValue:{default:function(){var t=new Date;return t.setHours(0,0,0,0),t}},format:{default:"HH:mm:ss"},timeTitleFormat:{type:String,default:"YYYY-MM-DD"},showTimeHeader:{type:Boolean,default:!1},disabledTime:{type:Function,default:function(){return!1}},timePickerOptions:{type:[Object,Function],default:function(){return null}},hourOptions:Array,minuteOptions:Array,secondOptions:Array,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12h:{type:Boolean,default:void 0},scrollDuration:{type:Number,default:100}},data:function(){return{innerValue:ou(this.value,this.defaultValue)}},computed:{title:function(){var t=this.timeTitleFormat,e=new Date(this.innerValue);return this.formatDate(e,t)},innerForamt:function(){return"string"==typeof this.format?this.format:"HH:mm:ss"},ShowHourMinuteSecondAMPM:function(){var t=this,e=this.innerForamt,n={showHour:/[HhKk]/.test(e),showMinute:/m/.test(e),showSecond:/s/.test(e),use12h:/a/i.test(e)},i={};return Object.keys(n).forEach((function(e){i[e]="boolean"==typeof t[e]?t[e]:n[e]})),i}},watch:{value:{immediate:!0,handler:function(){this.innerValue=ou(this.value,this.defaultValue)}}},methods:{formatDate:function(t,e){return wc(t,e,{locale:this.getLocale().formatLocale})},isDisabledTime:function(t){return this.disabledTime(new Date(t))},isDisabledHour:function(t){var e=new Date(t);return this.isDisabledTime(e)&&this.isDisabledTime(e.setMinutes(0,0,0))&&this.isDisabledTime(e.setMinutes(59,59,999))},isDisabledMinute:function(t){var e=new Date(t);return this.isDisabledTime(e)&&this.isDisabledTime(e.setSeconds(0,0))&&this.isDisabledTime(e.setSeconds(59,999))},isDisabledAMPM:function(t){var e=new Date(t),n=e.getHours()<12?0:12,i=n+11;return this.isDisabledTime(e)&&this.isDisabledTime(e.setHours(n,0,0,0))&&this.isDisabledTime(e.setHours(i,59,59,999))},isDisabled:function(t,e){return"hour"===e?this.isDisabledHour(t):"minute"===e?this.isDisabledMinute(t):"ampm"===e?this.isDisabledAMPM(t):this.isDisabledTime(t)},handleSelect:function(t,e){var n=new Date(t);this.isDisabled(t,e)||(this.innerValue=n,this.isDisabledTime(n)||this.$emit("select",n,e))},handleClickTitle:function(){this.$emit("clicktitle")},getClasses:function(t,e){var n=new Date(t);return this.isDisabled(t,e)?"disabled":n.getTime()===this.innerValue.getTime()?"active":""}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Wu={name:"TimeRange",inject:{prefixClass:{default:"mx"}},props:Xc({},Vu.props),data:function(){return{startValue:new Date(NaN),endValue:new Date(NaN)}},watch:{value:{immediate:!0,handler:function(){if(su(this.value)){var t=Kc(this.value,2),e=t[0],n=t[1];this.startValue=e,this.endValue=n}else this.startValue=new Date(NaN),this.endValue=new Date(NaN)}}},methods:{emitChange:function(t,e){var n=[this.startValue,this.endValue];this.$emit("select",n,"time"===t?"time-range":t,e)},handleSelectStart:function(t,e){this.startValue=t,this.endValue.getTime()>=t.getTime()||(this.endValue=t),this.emitChange(e,0)},handleSelectEnd:function(t,e){this.endValue=t,this.startValue.getTime()<=t.getTime()||(this.startValue=t),this.emitChange(e,1)},disabledStartTime:function(t){return this.disabledTime(t,0)},disabledEndTime:function(t){return t.getTime()<this.startValue.getTime()||this.disabledTime(t,1)}},render:function(){var t=arguments[0],e=Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue],n=this.prefixClass;return t("div",{class:"".concat(n,"-range-wrapper")},[t(Vu,{props:Xc({},Xc({},this.$props,{value:this.startValue,defaultValue:e[0],disabledTime:this.disabledStartTime})),on:Xc({},Xc({},this.$listeners,{select:this.handleSelectStart}))}),t(Vu,{props:Xc({},Xc({},this.$props,{value:this.endValue,defaultValue:e[1],disabledTime:this.disabledEndTime})),on:Xc({},Xc({},this.$listeners,{select:this.handleSelectEnd}))})])}},Gu={name:"DatetimePanel",inject:{prefixClass:{default:"mx"}},emits:["select","update:show-time-panel"],props:Xc({},Pu.props,{},Vu.props,{showTimePanel:{type:Boolean,default:void 0}}),data:function(){return{defaultTimeVisible:!1,currentValue:this.value}},computed:{timeVisible:function(){return"boolean"==typeof this.showTimePanel?this.showTimePanel:this.defaultTimeVisible}},watch:{value:function(t){this.currentValue=t}},methods:{closeTimePanel:function(){this.defaultTimeVisible=!1,this.$emit("update:show-time-panel",!1)},openTimePanel:function(){this.defaultTimeVisible=!0,this.$emit("update:show-time-panel",!0)},emitDate:function(t,e){this.$emit("select",t,e)},handleSelect:function(t,e){"date"===e&&this.openTimePanel();var n=pu(t,ou(this.value,this.defaultValue));this.disabledTime(new Date(n))&&(n=pu(t,this.defaultValue),this.disabledTime(new Date(n)))?this.currentValue=n:this.emitDate(n,e)}},render:function(){var t=arguments[0],e={props:Xc({},gu(this.$props,Object.keys(Pu.props)),{type:"date",value:this.currentValue}),on:{select:this.handleSelect}},n={props:Xc({},gu(this.$props,Object.keys(Vu.props)),{showTimeHeader:!0,value:this.currentValue}),on:{select:this.emitDate,clicktitle:this.closeTimePanel}},i=this.prefixClass;return t("div",[t(Pu,iu([{},e])),this.timeVisible&&t(Vu,iu([{class:"".concat(i,"-calendar-time")},n]))])}},qu={name:"DatetimeRange",inject:{prefixClass:{default:"mx"}},emits:["select","update:show-time-panel"],props:Xc({},Nu.props,{},Wu.props,{showTimePanel:{type:Boolean,default:void 0}}),data:function(){return{defaultTimeVisible:!1,currentValue:this.value}},computed:{timeVisible:function(){return"boolean"==typeof this.showTimePanel?this.showTimePanel:this.defaultTimeVisible}},watch:{value:function(t){this.currentValue=t}},methods:{closeTimePanel:function(){this.defaultTimeVisible=!1,this.$emit("update:show-time-panel",!1)},openTimePanel:function(){this.defaultTimeVisible=!0,this.$emit("update:show-time-panel",!0)},emitDate:function(t,e){this.$emit("select",t,e)},handleSelect:function(t,e){var n=this;"date"===e&&this.openTimePanel();var i=Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue],r=t.map((function(t,e){return pu(t,su(n.value)?n.value[e]:i[e])}));r[1].getTime()<r[0].getTime()&&(r=[r[0],r[0]]),r.some(this.disabledTime)&&(r=t.map((function(t,e){return pu(t,i[e])}))).some(this.disabledTime)?this.currentValue=r:this.emitDate(r,e)}},render:function(){var t=arguments[0],e={props:Xc({},gu(this.$props,Object.keys(Nu.props)),{type:"date",value:this.currentValue}),on:{select:this.handleSelect}},n={props:Xc({},gu(this.$props,Object.keys(Wu.props)),{value:this.currentValue,showTimeHeader:!0}),on:{select:this.emitDate,clicktitle:this.closeTimePanel}},i=this.prefixClass;return t("div",[t(Nu,iu([{},e])),this.timeVisible&&t(Wu,iu([{class:"".concat(i,"-calendar-time")},n]))])}},Xu={default:Pu,time:Vu,datetime:Gu},$u={default:Nu,time:Wu,datetime:qu},Ku={name:"DatePicker",provide:function(){var t=this;return{getLocale:function(){return t.locale},getWeek:this.getWeek,prefixClass:this.prefixClass,dispatchDatePicker:this.$emit.bind(this)}},props:Xc({},Gu.props,{value:{},valueType:{type:String,default:"date"},type:{type:String,default:"date"},format:{type:String},formatter:{type:Object},range:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},rangeSeparator:{type:String},lang:{type:[String,Object]},placeholder:{type:String,default:""},editable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},prefixClass:{type:String,default:"mx"},inputClass:{},inputAttr:{type:Object,default:function(){return{}}},appendToBody:{type:Boolean,default:!0},open:{type:Boolean,default:void 0},popupClass:{},popupStyle:{type:Object,default:function(){return{}}},inline:{type:Boolean,default:!1},confirm:{type:Boolean,default:!1},confirmText:{type:String,default:"OK"},renderInputText:{type:Function},shortcuts:{type:Array,validator:function(t){return Array.isArray(t)&&t.every((function(t){return mu(t)&&"string"==typeof t.text&&"function"==typeof t.onClick}))},default:function(){return[]}}}),data:function(){return{currentValue:null,userInput:null,defaultOpen:!1}},computed:{popupVisible:function(){return!this.disabled&&("boolean"==typeof this.open?this.open:this.defaultOpen)},innerRangeSeparator:function(){return this.rangeSeparator||(this.multiple?",":" ~ ")},innerFormat:function(){var t={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",year:"YYYY",month:"YYYY-MM",time:"HH:mm:ss",week:"w"};return this.format||t[this.type]||t.date},innerValue:function(){var t=this.value;return this.validMultipleType?(t=Array.isArray(t)?t:[]).map(this.value2date):this.range?(t=Array.isArray(t)?t.slice(0,2):[null,null]).map(this.value2date):this.value2date(t)},text:function(){var t=this;return null!==this.userInput?this.userInput:"function"==typeof this.renderInputText?this.renderInputText(this.innerValue):this.isValidValue(this.innerValue)?Array.isArray(this.innerValue)?this.innerValue.map((function(e){return t.formatDate(e)})).join(this.innerRangeSeparator):this.formatDate(this.innerValue):""},showClearIcon:function(){return!this.disabled&&this.clearable&&this.text},locale:function(){return mu(this.lang)?function t(e,n){if(!mu(e))return{};var i=e;return mu(n)&&Object.keys(n).forEach((function(r){var a=n[r];mu(a)&&mu(e[r])&&(a=t(e[r],a)),i=Xc({},i,Wc({},r,a))})),i}(Mu(),this.lang):Mu(this.lang)},validMultipleType:function(){return this.multiple&&!this.range&&-1!==["date","month","year"].indexOf(this.type)}},watch:{innerValue:{immediate:!0,handler:function(t){this.currentValue=t}},popupVisible:{handler:function(t){t&&(this.currentValue=this.innerValue)}}},created:function(){"object"===Vc(this.format)&&console.warn("[vue2-datepicker]: The prop `format` don't support Object any more. You can use the new prop `formatter` to replace it")},methods:{handleClickOutSide:function(t){var e=t.target;this.$el.contains(e)||this.closePopup()},getFormatter:function(t){return mu(this.formatter)&&this.formatter[t]||mu(this.format)&&this.format[t]},getWeek:function(t,e){return"function"==typeof this.getFormatter("getWeek")?this.getFormatter("getWeek")(t,e):fc(t,e)},parseDate:function(t,e){if(e=e||this.innerFormat,"function"==typeof this.getFormatter("parse"))return this.getFormatter("parse")(t,e);var n=new Date;return function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{var i=n.locale,r=void 0===i?mc:i,a=n.backupDate,s=void 0===a?new Date:a,o=Uc(t,e,r),l=o.year,c=o.month,u=o.day,d=o.hour,h=o.minute,p=o.second,f=o.millisecond,m=o.isPM,g=o.date,v=o.offset,_=o.weekday,y=o.week;if(g)return g;var b,x=[l,c,u,d,h,p,f];if(x[3]=Hc(x[3],m),void 0!==y&&void 0===c&&void 0===u){var w=pc(void 0===l?s:new Date(l,3),{firstDayOfWeek:r.firstDayOfWeek,firstWeekContainsDate:r.firstWeekContainsDate});return new Date(w.getTime()+7*(y-1)*24*3600*1e3)}var M=jc(x,s);return void 0!==v?(M[6]+=60*v*1e3,b=zc.apply(void 0,Mc(M))):b=Bc.apply(void 0,Mc(M)),void 0!==_&&b.getDay()!==_?new Date(NaN):b}catch(t){return new Date(NaN)}}(t,e,{locale:this.locale.formatLocale,backupDate:n})},formatDate:function(t,e){return e=e||this.innerFormat,"function"==typeof this.getFormatter("stringify")?this.getFormatter("stringify")(t,e):wc(t,e,{locale:this.locale.formatLocale})},value2date:function(t){switch(this.valueType){case"date":return t instanceof Date?new Date(t.getTime()):new Date(NaN);case"timestamp":return"number"==typeof t?new Date(t):new Date(NaN);case"format":return"string"==typeof t?this.parseDate(t):new Date(NaN);default:return"string"==typeof t?this.parseDate(t,this.valueType):new Date(NaN)}},date2value:function(t){if(!au(t))return null;switch(this.valueType){case"date":return t;case"timestamp":return t.getTime();case"format":return this.formatDate(t);default:return this.formatDate(t,this.valueType)}},emitValue:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.userInput=null;var i=Array.isArray(t)?t.map(this.date2value):this.date2value(t);return this.$emit("input",i),this.$emit("change",i,e),n&&this.closePopup(),i},isValidValue:function(t){return this.validMultipleType?(e=t,Array.isArray(e)&&e.every(au)):this.range?su(t):au(t);var e},isValidValueAndNotDisabled:function(t){if(!this.isValidValue(t))return!1;var e="function"==typeof this.disabledDate?this.disabledDate:function(){return!1},n="function"==typeof this.disabledTime?this.disabledTime:function(){return!1};return Array.isArray(t)||(t=[t]),t.every((function(t){return!e(t)&&!n(t)}))},handleMultipleDates:function(t,e){if(this.validMultipleType&&e){var n=e.filter((function(e){return e.getTime()!==t.getTime()}));return n.length===e.length&&n.push(t),n}return t},handleSelectDate:function(t,e,n){t=this.handleMultipleDates(t,n),this.confirm?this.currentValue=t:this.emitValue(t,e,!this.validMultipleType&&(e===this.type||"time"===e))},clear:function(){this.emitValue(this.range?[null,null]:null),this.$emit("clear")},handleClear:function(t){t.stopPropagation(),this.clear()},handleConfirmDate:function(){var t=this.emitValue(this.currentValue);this.$emit("confirm",t)},handleSelectShortcut:function(t){var e=t.currentTarget.getAttribute("data-index"),n=this.shortcuts[parseInt(e,10)];if(mu(n)&&"function"==typeof n.onClick){var i=n.onClick(this);i&&this.emitValue(i)}},openPopup:function(t){this.popupVisible||this.disabled||(this.defaultOpen=!0,this.$emit("open",t),this.$emit("update:open",!0))},closePopup:function(){this.popupVisible&&(this.defaultOpen=!1,this.$emit("close"),this.$emit("update:open",!1))},blur:function(){this.$refs.input&&this.$refs.input.blur()},focus:function(){this.$refs.input&&this.$refs.input.focus()},handleInputChange:function(){var t=this;if(this.editable&&null!==this.userInput){var e=this.userInput.trim();if(this.userInput=null,""!==e){var n;if(this.validMultipleType)n=e.split(this.innerRangeSeparator).map((function(e){return t.parseDate(e.trim())}));else if(this.range){var i=e.split(this.innerRangeSeparator);2!==i.length&&(i=e.split(this.innerRangeSeparator.trim())),n=i.map((function(e){return t.parseDate(e.trim())}))}else n=this.parseDate(e);this.isValidValueAndNotDisabled(n)?(this.emitValue(n),this.blur()
595):this.$emit("input-error",e)}else this.clear()}},handleInputInput:function(t){this.userInput="string"==typeof t?t:t.target.value},handleInputKeydown:function(t){var e=t.keyCode;9===e?this.closePopup():13===e&&this.handleInputChange()},handleInputBlur:function(t){this.$emit("blur",t)},handleInputFocus:function(t){this.openPopup(t),this.$emit("focus",t)},hasSlot:function(t){return!(!this.$slots[t]&&!this.$scopedSlots[t])},renderSlot:function(t,e,n){var i=this.$scopedSlots[t];return i?i(n)||e:this.$slots[t]||e},renderInput:function(){var t=this.$createElement,e=this.prefixClass,n=Xc({name:"date",type:"text",autocomplete:"off",value:this.text,class:this.inputClass||"".concat(this.prefixClass,"-input"),readonly:!this.editable,disabled:this.disabled,placeholder:this.placeholder},this.inputAttr),i=n.value,r=n.class,a=$c(n,["value","class"]),s={keydown:this.handleInputKeydown,focus:this.handleInputFocus,blur:this.handleInputBlur,input:this.handleInputInput,change:this.handleInputChange},o=this.renderSlot("input",t("input",{domProps:{value:i},class:r,attrs:Xc({},a),on:Xc({},s),ref:"input"}),{props:n,events:s}),l="time"===this.type?t(Cu):t(Eu);return t("div",{class:"".concat(e,"-input-wrapper"),on:{mousedown:this.openPopup,touchstart:this.openPopup}},[o,this.showClearIcon?t("i",{class:"".concat(e,"-icon-clear"),on:{mousedown:this.handleClear,touchstart:this.handleClear}},[this.renderSlot("icon-clear",t(Iu))]):null,t("i",{class:"".concat(e,"-icon-calendar")},[this.renderSlot("icon-calendar",l)])])},renderContent:function(){var t=this.$createElement,e=this.range?$u:Xu,n=e[this.type]||e.default,i=Xc({},gu(this.$props,Object.keys(n.props)),{value:this.currentValue}),r=Xc({},gu(this.$listeners,n.emits||[]),{select:this.handleSelectDate}),a=t(n,iu([{},{props:i,on:r,ref:"picker"}]));return t("div",{class:"".concat(this.prefixClass,"-datepicker-body")},[this.renderSlot("content",a,{value:this.currentValue,emit:this.handleSelectDate})])},renderSidebar:function(){var t=this,e=this.$createElement,n=this.prefixClass;return e("div",{class:"".concat(n,"-datepicker-sidebar")},[this.renderSlot("sidebar",null,{value:this.currentValue,emit:this.handleSelectDate}),this.shortcuts.map((function(i,r){return e("button",{key:r,attrs:{"data-index":r,type:"button"},class:"".concat(n,"-btn ").concat(n,"-btn-text ").concat(n,"-btn-shortcut"),on:{click:t.handleSelectShortcut}},[i.text])}))])},renderHeader:function(){return(0,this.$createElement)("div",{class:"".concat(this.prefixClass,"-datepicker-header")},[this.renderSlot("header",null,{value:this.currentValue,emit:this.handleSelectDate})])},renderFooter:function(){var t=this.$createElement,e=this.prefixClass;return t("div",{class:"".concat(e,"-datepicker-footer")},[this.renderSlot("footer",null,{value:this.currentValue,emit:this.handleSelectDate}),this.confirm?t("button",{attrs:{type:"button"},class:"".concat(e,"-btn ").concat(e,"-datepicker-btn-confirm"),on:{click:this.handleConfirmDate}},[this.confirmText]):null])}},render:function(){var t,e=arguments[0],n=this.prefixClass,i=this.inline,r=this.disabled,a=this.hasSlot("sidebar")||this.shortcuts.length?this.renderSidebar():null,s=e("div",{class:"".concat(n,"-datepicker-content")},[this.hasSlot("header")?this.renderHeader():null,this.renderContent(),this.hasSlot("footer")||this.confirm?this.renderFooter():null]);return e("div",{class:(t={},Wc(t,"".concat(n,"-datepicker"),!0),Wc(t,"".concat(n,"-datepicker-range"),this.range),Wc(t,"".concat(n,"-datepicker-inline"),i),Wc(t,"disabled",r),t)},[i?null:this.renderInput(),i?e("div",{class:"".concat(n,"-datepicker-main")},[a,s]):e(Lu,{ref:"popup",class:this.popupClass,style:this.popupStyle,attrs:{visible:this.popupVisible,appendToBody:this.appendToBody},on:{clickoutside:this.handleClickOutSide}},[a,s])])}};Ku.locale=wu,Ku.install=function(t){t.component(Ku.name,Ku)},"undefined"!=typeof window&&window.Vue&&Ku.install(window.Vue),Gc(Ku,{CalendarPanel:Pu,CalendarRange:Nu,TimePanel:Vu,TimeRange:Wu,DatetimePanel:Gu,DatetimeRange:qu});var Ju={name:"NewsroomFilterDatepicker",components:{DatePicker:Ku},props:{i18n:{type:Function,default:function(){}},applyDate:{type:Function,default:function(){}},resetDate:{type:Function,default:function(){}},moment:{type:Function,default:function(){}},initialDate:{type:Object,default:function(){return{}}},datepickerLocalization:{type:Object,default:function(){return{}}},dateLabel:{type:String,default:""},resetButtonDisabled:Boolean},data:function(){return{date:null}},computed:{dateApi:function(){return this.date&&{start:this.moment(new Date(this.date[0])).format("YYYY-MM-DD"),end:this.moment(new Date(this.date[1])).format("YYYY-MM-DD")}}},mounted:function(){var t;this.initialDate&&(this.date=$()(t=Ts()(this.initialDate)).call(t,(function(t){return new Date(t)})))}},Qu=Object(at.a)(Ju,lc,[],!1,null,null,null);function Zu(t,e){var n=E()(t);if(z.a){var i=z()(t);e&&(i=N()(i).call(i,(function(e){return V()(t,e).enumerable}))),n.push.apply(n,i)}return n}function td(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
595e%2?Zu(Object(n),!0).forEach((function(e){Object(q.a)(t,e,n[e])})):G.a?Object.defineProperties(t,G()(n)):Zu(Object(n)).forEach((function(e){Object.defineProperty(t,e,V()(n,e))}))}return t}Qu.options.__file="src/assets/toolkit/scripts/components/newsroom/newsroom-filter-datepicker.vue";var ed={name:"Newsroom",components:{NewsroomResults:Nl,NewsroomResult:Xl,NewsroomEvents:Ql,NewsroomFilter:ic,NewsroomFilterItem:oc,NewsroomFilterDatepicker:Qu.exports,LinearProgress:_o.a},mixins:[Fs,F.a,ls],data:function(){return{lang:"de",moment:Al.a,datepickerKey:0,isLoadingMore:!1,currentBreakpoint:"lg",tagsSearch:""}},computed:{hasFilters:function(){return this.config.filters&&E()(this.config.filters).length>0},newsroomClasses:function(){var t;return["newsroom","is-".concat(null!==(t=this.config.displayType)&&void 0!==t?t:"grid")]},title:function(){return!this.hasResults&&this.queryFailed?this.i18n("error.title"):this.hasResults||this.queryFailed?this.hasFilteredResults?this.i18n("newsroom.title.filtered",{0:this.hasResults}):this.i18n("newsroom.title.all"):this.i18n("noResults.title")},hasResults:function(){if(!this.queryFailed||this.state.result)return this.state.events?this.state.result.numFound+this.state.events.numFound:this.state.result.numFound},hasFilteredResults:function(){return!!this.state.filters&&Ts()(this.state.filters).some((function(t){return Ts()(t).some((function(t){return"object"===A(t)?t.selected:t}))}))},chunkedResults:function(){var t,e;return this.state.result&&this.state.result.items.length?[vr()(t=this.state.result.items).call(t,0,this.config.desiredEventsPositionInGrid-1||12),vr()(e=this.state.result.items).call(e,this.config.desiredEventsPositionInGrid-1||12)]:[]},dateLabel:function(){var t,e,n=this;if(!this.currentQuery.date)return this.i18n("filter.date");var i=$()(t=Ts()(this.currentQuery.date)).call(t,(function(t){var e=Al()(new Date(t));return e.locale(n.lang),e.format(n.i18n("filter.date.pattern"))}));return _()(e="".concat(i[0]," - ")).call(e,i[1])},selectedFilters:function(){var t=this,e=[];return pr()(this.currentQuery).forEach((function(n){var i=Object(dr.a)(n,2),r=i[0],a=i[1];a&&"date"===r?e.push({field:r,key:r,label:t.dateLabel}):a&&"object"===A(a)&&pr()(a).forEach((function(n){var i=Object(dr.a)(n,2),a=i[0],s=i[1],o=t.config.filters[r],l=o?et()(o).call(o,(function(t){return t.key===a})):[];s&&e.push(td({field:r},l))}))})),e.length?e:null},isFilteredContentTypeOnlyEvent:function(){return!(!this.state.filters||!this.state.filters.contentType)&&El()(this.state.filters.contentType,(function(t,e){return"event"!==e&&!t.selected||"event"===e&&t.selected}))},disableLoadMoreButton:function(){return this.isLoading||this.state.pagination.currentPage>=this.state.pagination.numPages},filterLength:function(){var t,e;return E()(null!==(t=null===(e=this.config)||void 0===e?void 0:e.filters)&&void 0!==t?t:{}).length+1}},mounted:function(){var t=this;this.lang=document.documentElement.lang,window.addEventListener("resize",os()((function(){t.checkBreakpoint()}),500))},methods:{buildQuery:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state,e=t.filters||{};return{tags:Cs()(e.tags,"selected"),contentType:Cs()(e.contentType,"selected"),locations:Cs()(e.locations,"selected"),date:e.date,page:t.pagination.currentPage}},loadMore:function(){this.currentQuery=td(td({},this.currentQuery),{},{page:this.currentQuery.page+1}),this.queryResults({remainState:!0})},resetFilters:function(){this.tagsSearch="",this.currentQuery={page:0},this.datepickerKey+=1,this.queryResults()},resetFilterField:function(t){var e,n=td({},this.currentQuery[t]);E()(n).forEach((function(t){n[t]=!1})),this.currentQuery=td(td({},this.currentQuery),{},(e={},Object(q.a)(e,t,n),Object(q.a)(e,"page",0),e)),this.queryResults()},resetButtonDisabled:function(t){return!this.currentQuery[t]||!Ts()(this.currentQuery[t]).some((function(t){return t}))},resetDate:function(){this.currentQuery=td(td({},this.currentQuery),{},{date:null,page:0}),this.datepickerKey+=1,this.queryResults()},applyDate:function(t){t&&t!==this.currentQuery.date&&(this.currentQuery=td(td({},this.currentQuery),{},{date:t,page:0}),this.queryResults())},addToState:function(t){var e,n=t.filters,i=t.pagination,r=t.result,a=t.events,s={filters:n,pagination:i,result:this.state.result,events:this.state.events};r&&r.items&&(s.result={items:_()(e=[]).call(e,jr(this.state.result.items),jr(r.items)),numFound:r.numFound});return a&&a.items&&(s.events={items:a.items,numFound:a.numFound}),s},resetState:function(){this.state=td(td({},this.state),{},{result:{numFound:0,items:[]},events:{numFound:0,items:[]}})},queryResults:function(){var t=arguments,e=this;return c(g.a.mark((function n(){var i,r,a,s,o;return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.length>0&&void 0!==t[0]?t[0]:{remainState:!1},r=i.remainState,n.prev=1,e.currentRequest&&e.currentRequest.abort(),e.currentRequest=new AbortController,e.isLoadingMore=r,e.setUrlParameters(e.buildQueryString({hidePage:!0})),a=e.formatStringforQuery(e.queryConfig.uri)+e.buildQueryString(),n.next=9,Ps.a.get(a,{signal:e.currentRequest.signal});case 9:s=n.sent,(o=s.data)?(e.state=r?e.addToState(o):o,e.currentQuery=e.buildQuery(),e.queryFailed=!1):(e.state=e.resetState(),e.queryFailed=!0),e.currentRequest=null,e.isLoadingMore=!1,n.next=19;break;case 16:n.prev=16,n.t0=n.catch(1),n.t0 instanceof Ps.a.Cancel||(e.currentRequest=null,e.isLoadingMore=!1,e.queryFailed=!0,e.state.result=e.resetState(),console.error(n.t0));case 19:case"end":return n.stop()}}),n,null,[[1,16]])})))()}}},nd=Object(at.a)(ed,Sl,[],!1,null,null,null);nd.options.__file="src/assets/toolkit/scripts/components/newsroom/newsroom.vue";var id=nd.exports,rd=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=newsroom]").forEach((function(t){var e=t.getAttribute("data-config"),n=t.getAttribute("data-query"),i=t.getAttribute("data-state"),r=O(e),a=O(n),s=O(i);new k.a({el:t,components:{NewsroomComponent:id},render:function(t){return t(id,{props:{config:r,queryConfig:a,initialState:s}})}})}))})),ad=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["newswall",t.config.displayType&&"is-"+t.config.displayType]},[t.enableSlider?n("div",{ref:"swiperContainer",staticClass:"swiper"},[n("div",{staticClass:"swiper-wrapper"},t._l(t.items,(function(e,i){return n("div",{key:"newswall-"+i,staticClass:"swiper-slide"},[n("newsroom-result",{attrs:{result:e,breakpoint:t.breakpoint,config:t.config}})],1)})),0),t._v(" "),t._m(0)]):n("div",{staticClass:"newswall__body"},t._l(t.items,(function(e,i){return n("newsroom-result",{key:"newswall-"+i,attrs:{config:t.config,result:e,breakpoint:t.breakpoint}})})),1)])};ad._withStripped=!0;var sd={name:"Newswall",components:{NewsroomResult:Xl},mixins:[ls],props:{items:{type:Array,default:function(){return[]}},config:{type:Object,default:function(){return{}}}},data:function(){var t;return{options:{speed:800,grabCursor:!0,slidesPerView:1,breakpoints:(t={},Object(q.a)(t,je.a.sm,{slidesPerView:2}),Object(q.a)(t,je.a.md,{slidesPerView:"auto"}),t),spaceBetween:18,modules:[Un],pagination:{el:"[data-swiper-pagination]",type:"bullets",clickable:!0}}}},computed:{enableSlider:function(){return this.items.length>3&&"slider"===this.config.displayType}},mounted:function(){var t=this;this.enableSlider&&new Hn(this.$refs.swiperContainer,this.options),window.addEventListener("resize",os()((function(){t.checkBreakpoint()}),500))}},od=Object(at.a)(sd,ad,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"newswall__actions"},[e("div",{staticClass:"newswall__pagination",attrs:{"data-swiper-pagination":""}})])}],!1,null,null,null);od.options.__file="src/assets/toolkit/scripts/components/newswall/newswall.vue";var ld=od.exports,cd=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=newswall]").forEach((function(t){var e=t.getAttribute("data-config"),n=O(e),i=t.getAttribute("data-items"),r=O(i);new k.a({el:t,components:{NewswallComponent:ld},render:function(t){return t(ld,{props:{items:r,config:n}})}})}))})),ud=n(289),dd=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-accordion]").forEach((function(t){var e=encodeURIComponent(t.getAttribute("data-accordion")),n=O(e),i=n&&n.large,r=n&&n.items&&n.items.some((function(t){return t.tags&&t.tags.length}));new k.a({el:t,components:{AccordionComponent:ud.a},render:function(t){return t(ud.a,{props:{items:n.items,i18n:n.localizations,large:i,hasTagsEnabled:r}})}})}))})),hd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"image-map"},[n("lazy-image",{attrs:{img:t.content.image.srcSet,alt:t.content.image.alt}}),t._v(" "),t._l(t.content.hotspots,(function(e,i){return n("hot-spot",{key:i,attrs:{spot:e},on:{active:function(e){t.active=e}}})}))],2),t._v(" "),[n("div",{ref:"dialog",staticClass:"mdc-dialog"},[n("div",{staticClass:"mdc-dialog__container mdc-dialog__container--scrollable"},[n("div",{staticClass:"mdc-dialog__surface",attrs:{role:"dialog","aria-modal":"true","aria-labelledby":"my-dialog-title","aria-describedby":"my-dialog-content"}},[n("button",{staticClass:"dialog__close-button",attrs:{"data-mdc-dialog-action":"close","aria-label":t.i18n("button.close")}},[n("i",{staticClass:"icon icon-close"})]),t._v(" "),n("div",{key:t.dialogKey,staticClass:"mdc-dialog__content md-dialog__content--comp-spacing",attrs:{tabindex:"0"}},[t.active?[t.active.headline?n("h"+t.active.headline.level,{tag:"component",staticClass:"image-map-dialog__headline"},[t._v("\n                "+t._s(t.active.headline.text)+"\n              ")]):t._e(),t._v(" "),t.active.media&&"video"===t.active.media.type&&t.active.media.src?n("div",{staticClass:"newsroom-result__video"},[n("iframe",{staticClass:"newsroom-result__iframe",attrs:{allow:"autoplay",allowfullscreen:"",type:"text/html",src:t.active.media.src,frameborder:"0"}})]):t._e(),t._v(" "),n("div",{staticClass:"image-map-dialog__content"},[n("div",[t.active.media&&"image"===t.active.media.type&&t.active.media.srcSet?n("lazy-image",{staticClass:"image-map-dialog__content-image",attrs:{img:t.active.media.srcSet,alt:t.active.media.alt}}):t._e()],1),t._v(" "),t.active.text?n("p",{staticClass:"image-map-dialog__content-text",domProps:{innerHTML:t._s(t.active.text||"")}}):t._e(),t._v(" "),t.active.link&&t.active.link.href?n("vue-button",{attrs:{href:t.active.link.href,target:t.active.link.target||null,icon:t.active.link.icon||null,modifier:"button--"+t.active.link.style,label:t.active.link.text}}):t._e()],1)]:t._e()],2)])]),t._v(" "),n("div",{staticClass:"mdc-dialog__scrim"})])]],2)};hd._withStripped=!0;var pd=function(){var t=this,e=t.$createElement,n=t._self._c||e;
595return n("button",{staticClass:"hot-spot",style:{top:t.spot.position.y+"%",left:t.spot.position.x+"%"},attrs:{"aria-label":t.spot.content.label},on:{click:function(e){return t.$emit("active",t.spot.content)}}},[n("i",{staticClass:"icon icon-add"})])};pd._withStripped=!0;var fd={name:"HotSpot",props:{spot:{type:Object,default:()=>({})}}},md=Object(at.a)(fd,pd,[],!1,null,null,null);md.options.__file="src/assets/toolkit/scripts/components/image-map/image-map-hot-spot.vue";var gd={name:"ImageMap",components:{hotSpot:md.exports,LazyImage:Te.a,VueButton:uo.a},mixins:[F.a],props:{content:{type:Object,default:function(){return{}}}},data:function(){return{active:null,dialog:null,dialogIsOpen:!1,open:!1}},computed:{dialogKey:function(){var t,e;return(null===(t=this.active)||void 0===t||null===(e=t.headline)||void 0===e?void 0:e.text)||"default-key"}},watch:{active:function(t){t?this.openDialog():(this.dialog=null,this.dialogIsOpen=!1)}},mounted:function(){this.initDialog()},updated:function(){this.initDialog()},beforeDestroy:function(){this.dialog=null,this.dialogIsOpen=!1},methods:{initDialog:function(){var t=this;this.dialog=new Wl(this.$refs.dialog),this.dialog.listen("MDCDialog:opened",(function(){t.dialogIsOpen=!0})),this.dialog.listen("MDCDialog:closed",(function(){t.dialogIsOpen=!1,t.active=null})),this.dialog.layout()},openDialog:function(){this.dialogIsOpen||this.dialog.open()}}},vd=Object(at.a)(gd,hd,[],!1,null,null,null);vd.options.__file="src/assets/toolkit/scripts/components/image-map/image-map.vue";var _d=vd.exports,yd=f((function t(){u(this,t),this.elements=document.querySelectorAll("[data-component=image-map]").forEach((function(t){var e=t.getAttribute("data-content"),n=O(e);new k.a({el:t,components:{ImageMapComponent:_d},render:function(t){return t(_d,{props:{content:n}})}})}))})),bd=n(1120),xd=n.n(bd),wd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"live-image"},[n("figure",[n("picture",{staticClass:"live-image__picture"},[n("img",{attrs:{src:t.imageSrc,alt:t.imageAlt},on:{load:t.handleImageLoad,error:t.handleImageError}})]),t._v(" "),n("figcaption",{staticClass:"live-image__caption"},[t._v("\n        "+t._s(t.formattedTimestamp)+"\n      ")])])])])};wd._withStripped=!0;var Md=n(1121),Sd=n.n(Md),Td={name:"LiveImage",props:{imageUrl:{type:String,default:""},imageAlt:{type:String,default:""},interval:{type:Number,default:0},locale:{type:String,default:"en-US"}},data:function(){var t=Date.now();return{timerId:null,timestamp:t,reloadToken:t,isLoading:!1}},computed:{imageSrc:function(){var t,e,n;if(!this.imageUrl)return"";var i=this.imageUrl.split("#"),r=Object(dr.a)(i,2),a=r[0],s=r[1],o=void 0===s?"":s,l=a.split("?"),c=Object(dr.a)(l,2),u=c[0],d=c[1],h=void 0===d?"":d,p=h?N()(t=h.split("&")).call(t,(function(t){return t&&!Sd()(t).call(t,"cb=")})):[];p.push("cb=".concat(this.reloadToken));var f=p.join("&");return _()(e=_()(n="".concat(u)).call(n,f?"?".concat(f):"")).call(e,o?"#".concat(o):"")},formattedTimestamp:function(){return new Date(this.timestamp).toLocaleString(this.locale,{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1})}},mounted:function(){var t=this;this.interval>0&&(this.timerId=window.setInterval((function(){t.isLoading||(t.isLoading=!0,t.reloadToken=Date.now())}),this.interval))},beforeDestroy:function(){null!==this.timerId&&window.clearInterval(this.timerId)},methods:{handleImageLoad:function(){this.timestamp=this.reloadToken,this.isLoading=!1},handleImageError:function(){this.isLoading=!1}}},Ad=Object(at.a)(Td,wd,[],!1,null,null,null);Ad.options.__file="src/assets/toolkit/scripts/components/live-image/live-image.vue";var Ld=Ad.exports,Ed=function(){function t(){var e=this;u(this,t),this.elements=document.querySelectorAll("[data-component=live-image]").forEach((function(t){var n=t.getAttribute("data-content"),i=O(n)||{},r=Number(i.interval),a=e.normalizeInterval(r);new k.a({el:t,components:{LiveImageComponent:Ld},render:function(t){var e,n;return t(Ld,{props:{imageUrl:i.imageUrl||(null===(e=i.image)||void 0===e?void 0:e.src)||"",imageAlt:i.imageAlt||(null===(n=i.image)||void 0===n?void 0:n.alt)||"",interval:a,locale:i.locale}})}})}))}return f(t,[{key:"normalizeInterval",value:function(t){return!xd()(t)||t<=0?0:t<1e3?1e3*t:t}}]),t}(),Cd=f((function t(){u(this,t),new li,new Yi,new xs,new Fi,new Hi,new ji,new 
595Ki,new Ji,new tr,new ar,new lr,new cr,new ur,new Za,new ts,new qr,new ba,new xa,new wa,new Io,new Wo,new ws,new hs,new Ta,new Aa,new gl,new vl,new _l,new La,new Ea,new Ia,new Ml,new rd,new cd,new ka,new dd,new nl,new Ja,new Gn,new yd,new Ed})),Id=function(){new Xn,new Cd};Id();var Dd=new MutationObserver(Id);Dd.observe(document.querySelector("body"),{childList:!0,subtree:!0})},,function(t,e,n){"use strict";n.d(e,"a",(function(){return Z}));var i,r,a=n(1),s=n(19),o=n(340),l=n(344),c={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",IS_OPEN_BELOW:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},u={CLOSED_EVENT:"MDCMenuSurface:closed",CLOSING_EVENT:"MDCMenuSurface:closing",OPENED_EVENT:"MDCMenuSurface:opened",OPENING_EVENT:"MDCMenuSurface:opening",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")},d={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67,TOUCH_EVENT_WAIT_MS:30};!function(t){t[t.BOTTOM=1]="BOTTOM",t[t.CENTER=2]="CENTER",t[t.RIGHT=4]="RIGHT",t[t.FLIP_RTL=8]="FLIP_RTL"}(i||(i={})),function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=4]="TOP_RIGHT",t[t.BOTTOM_LEFT=1]="BOTTOM_LEFT",t[t.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",t[t.TOP_START=8]="TOP_START",t[t.TOP_END=12]="TOP_END",t[t.BOTTOM_START=9]="BOTTOM_START",t[t.BOTTOM_END=13]="BOTTOM_END"}(r||(r={}));var h,p,f=n(43),m={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item",LIST_ITEM_DISABLED_CLASS:"mdc-list-item--disabled",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",LIST_ITEM_TEXT_CLASS:"mdc-list-item__text",LIST_ITEM_PRIMARY_TEXT_CLASS:"mdc-list-item__primary-text",ROOT:"mdc-list"},g=((h={})[""+m.LIST_ITEM_ACTIVATED_CLASS]="mdc-list-item--activated",h[""+m.LIST_ITEM_CLASS]="mdc-list-item",h[""+m.LIST_ITEM_DISABLED_CLASS]="mdc-list-item--disabled",h[""+m.LIST_ITEM_SELECTED_CLASS]="mdc-list-item--selected",h[""+m.LIST_ITEM_PRIMARY_TEXT_CLASS]="mdc-list-item__primary-text",h[""+m.ROOT]="mdc-list",h),v=((p={})[""+m.LIST_ITEM_ACTIVATED_CLASS]="mdc-deprecated-list-item--activated",p[""+m.LIST_ITEM_CLASS]="mdc-deprecated-list-item",p[""+m.LIST_ITEM_DISABLED_CLASS]="mdc-deprecated-list-item--disabled",p[""+m.LIST_ITEM_SELECTED_CLASS]="mdc-deprecated-list-item--selected",p[""+m.LIST_ITEM_TEXT_CLASS]="mdc-deprecated-list-item__text",p[""+m.LIST_ITEM_PRIMARY_TEXT_CLASS]="mdc-deprecated-list-item__primary-text",p[""+m.ROOT]="mdc-deprecated-list",p),_={ACTION_EVENT:"MDCList:action",SELECTION_CHANGE_EVENT:"MDCList:selectionChange",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_DISABLED:"aria-disabled",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",ARIA_INTERACTIVE_ROLES_SELECTOR:'[role="listbox"], [role="menu"]',ARIA_MULTI_SELECTABLE_SELECTOR:'[aria-multiselectable="true"]',CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"], input[type="radio"]',CHECKBOX_SELECTOR:'input[type="checkbox"]',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n    ."+m.LIST_ITEM_CLASS+" button:not(:disabled),\n    ."+m.LIST_ITEM_CLASS+" a,\n    ."+v[m.LIST_ITEM_CLASS]+" button:not(:disabled),\n    ."+v[m.LIST_ITEM_CLASS]+" a\n  ",DEPRECATED_SELECTOR:".mdc-deprecated-list",FOCUSABLE_CHILD_ELEMENTS:"\n    ."+m.LIST_ITEM_CLASS+" button:not(:disabled),\n    ."+m.LIST_ITEM_CLASS+" a,\n    ."+m.LIST_ITEM_CLASS+' input[type="radio"]:not(:disabled),\n    .'+m.LIST_ITEM_CLASS+' input[type="checkbox"]:not(:disabled),\n    .'+v[m.LIST_ITEM_CLASS]+" button:not(:disabled),\n    ."+v[m.LIST_ITEM_CLASS]+" a,\n    ."+v[m.LIST_ITEM_CLASS]+' input[type="radio"]:not(:disabled),\n    .'+v[m.LIST_ITEM_CLASS]+' input[type="checkbox"]:not(:disabled)\n  ',RADIO_SELECTOR:'input[type="radio"]',SELECTED_ITEM_SELECTOR:'[aria-selected="true"], [aria-current="true"]'},y={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300},b=n(16),x=n(15),w=["input","button","textarea","select"],M=function(t){var e=t.target;if(e){var n=(""+e.tagName).toLowerCase();-1===w.indexOf(n)&&t.preventDefault()}};
596/**
597 * @license
598 * Copyright 2018 Google Inc.
599 *
600 * Permission is hereby granted, free of charge, to any person obtaining a copy
601 * of this software and associated documentation files (the "Software"), to deal
602 * in the Software without restriction, including without limitation the rights
603 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
604 * copies of the Software, and to permit persons to whom the Software is
605 * furnished to do so, subject to the following conditions:
606 *
607 * The above copyright notice and this permission notice shall be included in
608 * all copies or substantial portions of the Software.
609 *
610 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
611 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
612 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
613 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
614 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
615 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
616 * THE SOFTWARE.
617 */function S(t,e){var n,i=t.nextChar,r=t.focusItemAtIndex,a=t.sortedIndexByFirstChar,s=t.focusedItemIndex,o=t.skipFocus,l=t.isItemAtIndexDisabled;return clearTimeout(e.bufferClearTimeout),e.bufferClearTimeout=setTimeout((function(){A(e)}),y.TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS),e.typeaheadBuffer=e.typeaheadBuffer+i,-1===(n=1===e.typeaheadBuffer.length?function(t,e,n,i){var r=i.typeaheadBuffer[0],a=t.get(r);if(!a)return-1;if(r===i.currentFirstChar&&a[i.sortedIndexCursor].index===e){i.sortedIndexCursor=(i.sortedIndexCursor+1)%a.length;var s=a[i.sortedIndexCursor].index;if(!n(s))return s}i.currentFirstChar=r;var o,l=-1;for(o=0;o<a.length;o++)if(!n(a[o].index)){l=o;break}for(;o<a.length;o++)if(a[o].index>e&&!n(a[o].index)){l=o;break}if(-1!==l)return i.sortedIndexCursor=l,a[i.sortedIndexCursor].index;return-1}(a,s,l,e):function(t,e,n){var i=n.typeaheadBuffer[0],r=t.get(i);if(!r)return-1;var a=r[n.sortedIndexCursor];if(0===a.text.lastIndexOf(n.typeaheadBuffer,0)&&!e(a.index))return a.index;var s=(n.sortedIndexCursor+1)%r.length,o=-1;for(;s!==n.sortedIndexCursor;){var l=r[s],c=0===l.text.lastIndexOf(n.typeaheadBuffer,0),u=!e(l.index);if(c&&u){o=s;break}s=(s+1)%r.length}if(-1!==o)return n.sortedIndexCursor=o,r[n.sortedIndexCursor].index;return-1}(a,l,e))||o||r(n),n}function T(t){return t.typeaheadBuffer.length>0}function A(t){t.typeaheadBuffer=""}function L(t,e){var n=t.event,i=t.isTargetListItem,r=t.focusedItemIndex,a=t.focusItemAtIndex,s=t.sortedIndexByFirstChar,o=t.isItemAtIndexDisabled,l="ArrowLeft"===Object(x.c)(n),c="ArrowUp"===Object(x.c)(n),u="ArrowRight"===Object(x.c)(n),d="ArrowDown"===Object(x.c)(n),h="Home"===Object(x.c)(n),p="End"===Object(x.c)(n),f="Enter"===Object(x.c)(n),m="Spacebar"===Object(x.c)(n);return n.altKey||n.ctrlKey||n.metaKey||l||c||u||d||h||p||f?-1:m||1!==n.key.length?m?(i&&M(n),i&&T(e)?S({focusItemAtIndex:a,focusedItemIndex:r,nextChar:" ",sortedIndexByFirstChar:s,skipFocus:!1,isItemAtIndexDisabled:o},e):-1):-1:(M(n),S({focusItemAtIndex:a,focusedItemIndex:r,nextChar:n.key.toLowerCase(),sortedIndexByFirstChar:s,skipFocus:!1,isItemAtIndexDisabled:o},e))}
618/**
619 * @license
620 * Copyright 2018 Google Inc.
621 *
622 * Permission is hereby granted, free of charge, to any person obtaining a copy
623 * of this software and associated documentation files (the "Software"), to deal
624 * in the Software without restriction, including without limitation the rights
625 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
626 * copies of the Software, and to permit persons to whom the Software is
627 * furnished to do so, subject to the following conditions:
628 *
629 * The above copyright notice and this permission notice shall be included in
630 * all copies or substantial portions of the Software.
631 *
632 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
633 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
634 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
635 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
636 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
637 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
638 * THE SOFTWARE.
639 */var E=["Alt","Control","Meta","Shift"];function C(t){var e=new Set(t?E.filter((function(e){return t.getModifierState(e)})):[]);return function(t){return t.every((function(t){return e.has(t)}))&&t.length===e.size}}var I,D=function(t){function e(n){var i=t.call(this,Object(a.a)(Object(a.a)({},e.defaultAdapter),n))||this;return i.wrapFocus=!1,i.isVertical=!0,i.isSingleSelectionList=!1,i.areDisabledItemsFocusable=!0,i.selectedIndex=y.UNSET_INDEX,i.focusedItemIndex=y.UNSET_INDEX,i.useActivatedClass=!1,i.useSelectedAttr=!1,i.ariaCurrentAttrValue=null,i.isCheckboxList=!1,i.isRadioList=!1,i.lastSelectedIndex=null,i.hasTypeahead=!1,i.typeaheadState={bufferClearTimeout:0,currentFirstChar:"",sortedIndexCursor:0,typeaheadBuffer:""},i.sortedIndexByFirstChar=new Map,i}return Object(a.b)(e,t),Object.defineProperty(e,"strings",{get:function(){return _}
639,enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return m},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return y},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},isRootFocused:function(){return!1},listItemAtIndexHasClass:function(){return!1},notifyAction:function(){},notifySelectionChange:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){},getPrimaryTextAtIndex:function(){return""}}},enumerable:!1,configurable:!0}),e.prototype.layout=function(){0!==this.adapter.getListItemCount()&&(this.adapter.hasCheckboxAtIndex(0)?this.isCheckboxList=!0:this.adapter.hasRadioAtIndex(0)?this.isRadioList=!0:this.maybeInitializeSingleSelection(),this.hasTypeahead&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex()))},e.prototype.getFocusedItemIndex=function(){return this.focusedItemIndex},e.prototype.setWrapFocus=function(t){this.wrapFocus=t},e.prototype.setVerticalOrientation=function(t){this.isVertical=t},e.prototype.setSingleSelection=function(t){this.isSingleSelectionList=t,t&&(this.maybeInitializeSingleSelection(),this.selectedIndex=this.getSelectedIndexFromDOM())},e.prototype.setDisabledItemsFocusable=function(t){this.areDisabledItemsFocusable=t},e.prototype.maybeInitializeSingleSelection=function(){var t=this.getSelectedIndexFromDOM();t!==y.UNSET_INDEX&&(this.adapter.listItemAtIndexHasClass(t,m.LIST_ITEM_ACTIVATED_CLASS)&&this.setUseActivatedClass(!0),this.isSingleSelectionList=!0,this.selectedIndex=t)},e.prototype.getSelectedIndexFromDOM=function(){for(var t=y.UNSET_INDEX,e=this.adapter.getListItemCount(),n=0;n<e;n++){var i=this.adapter.listItemAtIndexHasClass(n,m.LIST_ITEM_SELECTED_CLASS),r=this.adapter.listItemAtIndexHasClass(n,m.LIST_ITEM_ACTIVATED_CLASS);if(i||r){t=n;break}}return t},e.prototype.setHasTypeahead=function(t){this.hasTypeahead=t,t&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex())},e.prototype.isTypeaheadInProgress=function(){return this.hasTypeahead&&T(this.t
639ypeaheadState)},e.prototype.setUseActivatedClass=function(t){this.useActivatedClass=t},e.prototype.setUseSelectedAttribute=function(t){this.useSelectedAttr=t},e.prototype.getSelectedIndex=function(){return this.selectedIndex},e.prototype.setSelectedIndex=function(t,e){void 0===e&&(e={}),this.isIndexValid(t)&&(this.isCheckboxList?this.setCheckboxAtIndex(t,e):this.isRadioList?this.setRadioAtIndex(t,e):this.setSingleSelectionAtIndex(t,e))},e.prototype.handleFocusIn=function(t){t>=0&&(this.focusedItemIndex=t,this.adapter.setAttributeForElementIndex(t,"tabindex","0"),this.adapter.setTabIndexForListItemChildren(t,"0"))},e.prototype.handleFocusOut=function(t){var e=this;t>=0&&(this.adapter.setAttributeForElementIndex(t,"tabindex","-1"),this.adapter.setTabIndexForListItemChildren(t,"-1")),setTimeout((function(){e.adapter.isFocusInsideList()||e.setTabindexToFirstSelectedOrFocusedItem()}),0)},e.prototype.isIndexDisabled=function(t){return this.adapter.listItemAtIndexHasClass(t,m.LIST_ITEM_DISABLED_CLASS)},e.prototype.handleKeydown=function(t,e,n){var i,r=this,a="ArrowLeft"===Object(x.c)(t),s="ArrowUp"===Object(x.c)(t),o="ArrowRight"===Object(x.c)(t),l="ArrowDown"===Object(x.c)(t),c="Home"===Object(x.c)(t),u="End"===Object(x.c)(t),d="Enter"===Object(x.c)(t),h="Spacebar"===Object(x.c)(t),p=this.isVertical&&l||!this.isVertical&&o,f=this.isVertical&&s||!this.isVertical&&a,m="A"===t.key||"a"===t.key,g=C(t);if(this.adapter.isRootFocused()){if((f||u)&&g([]))t.preventDefault(),this.focusLastElement();else if((p||c)&&g([]))t.preventDefault(),this.focusFirstElement();else if(f&&g(["Shift"])&&this.isCheckboxList){t.preventDefault(),-1!==(_=this.focusLastElement())&&this.setSelectedIndexOnAction(_,!1)}else if(p&&g(["Shift"])&&this.isCheckboxList){t.preventDefault(),-1!==(_=this.focusFirstElement())&&this.setSelectedIndexOnAction(_,!1)}this.hasTypeahead&&L({event:t,focusItemAtIndex:function(t){r.focusItemAtIndex(t)},focusedItemIndex:-1,isTargetListItem:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(t){return r.isIndexDisabled(t)}},this.typeaheadState)}else{var v=this.adapter.getFocusedElementIndex();if(!(-1===v&&(v=n)<0)){if(p&&g([]))M(t),this.focusNextElement(v);else if(f&&g([]))M(t),this.focusPrevElement(v);else if(p&&g(["Shift"])&&this.isCheckboxList){M(t),-1!==(_=this.focusNextElement(v))&&this.setSelectedIndexOnAction(_,!1)}else if(f&&g(["Shift"])&&this.isCheckboxList){var _;M(t),-1!==(_=this.focusPrevElement(v))&&this.setSelectedIndexOnAction(_,!1)}else if(c&&g([]))M(t),this.focusFirstElement();else if(u&&g([]))M(t),this.focusLastElement();else if(c&&g(["Control","Shift"])&&this.isCheckboxList){if(M(t),this.isIndexDisabled(v))return;this.focusFirstElement(),this.toggleCheckboxRange(0,v,v)}else if(u&&g(["Control","Shift"])&&this.isCheckboxList){if(M(t),this.isIndexDisabled(v))return;this.focusLastElement(),this.toggleCheckboxRange(v,this.adapter.getListItemCount()-1,v)}else if(m&&g(["Control"])&&this.isCheckboxList)t.preventDefault(),this.checkboxListToggleAll(this.selectedIndex===y.UNSET_INDEX?[]:this.selectedIndex,!0);else if((d||h)&&g([])){if(e){if((b=t.target)&&"A"===b.tagName&&d)return;if(M(t),this.isIndexDisabled(v))return;this.isTypeaheadInProgress()||(this.isSelectableList()&&this.setSelectedIndexOnAction(v,!1),this.adapter.notifyAction(v))}}else if((d||h)&&g(["Shift"])&&this.isCheckboxList){var b;if((b=t.target)&&"A"===b.tagName&&d)return;if(M(t),this.isIndexDisabled(v))return;this.isTypeaheadInProgress()||(this.toggleCheckboxRange(null!==(i=this.lastSelectedIndex)&&void 0!==i?i:v,v,v),this.adapter.notifyAction(v))}if(this.hasTypeahead)L({event:t,focusItemAtIndex:function(t){r.focusItemAtIndex(t)},focusedItemIndex:this.focusedItemIndex,isTargetListItem:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(t){return r.isIndexDisabled(t)}},this.typeaheadState)}}},e.prototype.handleClick=function(t,e,n){var i,r=C(n);t!==y.UNSET_INDEX&&(this.isIndexDisabled(t)||(r([])?(this.isSelectableList()&&this.setSelectedIndexOnAction(t,e),this.adapter.notifyAction(t)):this.isCheckboxList&&r(["Shift"])&&(this.toggleCheckboxRange(null!==(i=this.lastSelectedIndex)&&void 0!==i?i:t,t,t),this.adapter.notifyAction(t))))}
639,e.prototype.focusNextElement=function(t){var e=this.adapter.getListItemCount(),n=t,i=null;do{if(++n>=e){if(!this.wrapFocus)return t;n=0}if(n===i)return-1;i=null!=i?i:n}while(!this.areDisabledItemsFocusable&&this.isIndexDisabled(n));return this.focusItemAtIndex(n),n},e.prototype.focusPrevElement=function(t){var e=this.adapter.getListItemCount(),n=t,i=null;do{if(--n<0){if(!this.wrapFocus)return t;n=e-1}if(n===i)return-1;i=null!=i?i:n}while(!this.areDisabledItemsFocusable&&this.isIndexDisabled(n));return this.focusItemAtIndex(n),n},e.prototype.focusFirstElement=function(){return this.focusNextElement(-1)},e.prototype.focusLastElement=function(){return this.focusPrevElement(this.adapter.getListItemCount())},e.prototype.focusInitialElement=function(){var t=this.getFirstSelectedOrFocusedItemIndex();return this.focusItemAtIndex(t),t},e.prototype.setEnabled=function(t,e){this.isIndexValid(t,!1)&&(e?(this.adapter.removeClassForElementIndex(t,m.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(t,_.ARIA_DISABLED,"false")):(this.adapter.addClassForElementIndex(t,m.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(t,_.ARIA_DISABLED,"true")))},e.prototype.setSingleSelectionAtIndex=function(t,e){if(void 0===e&&(e={}),this.selectedIndex!==t||e.forceUpdate){var n=m.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass&&(n=m.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex!==y.UNSET_INDEX&&this.adapter.removeClassForElementIndex(this.selectedIndex,n),this.setAriaForSingleSelectionAtIndex(t),this.setTabindexAtIndex(t),t!==y.UNSET_INDEX&&this.adapter.addClassForElementIndex(t,n),this.selectedIndex=t,e.isUserInteraction&&!e.forceUpdate&&this.adapter.notifySelectionChange([t])}},e.prototype.setAriaForSingleSelectionAtIndex=function(t){this.selectedIndex===y.UNSET_INDEX&&(this.ariaCurrentAttrValue=this.adapter.getAttributeForElementIndex(t,_.ARIA_CURRENT));var e=null!==this.ariaCurrentAttrValue,n=e?_.ARIA_CURRENT:_.ARIA_SELECTED;if(this.selectedIndex!==y.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex,n,"false"),t!==y.UNSET_INDEX){var i=e?this.ariaCurrentAttrValue:"true";this.adapter.setAttributeForElementIndex(t,n,i)}},e.prototype.getSelectionAttribute=function(){return this.useSelectedAttr?_.ARIA_SELECTED:_.ARIA_CHECKED},e.prototype.setRadioAtIndex=function(t,e){void 0===e&&(e={});var n=this.getSelectionAttribute();this.adapter.setCheckedCheckboxOrRadioAtIndex(t,!0),(this.selectedIndex!==t||e.forceUpdate)&&(this.selectedIndex!==y.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex,n,"false"),this.adapter.setAttributeForElementIndex(t,n,"true"),this.selectedIndex=t,e.isUserInteraction&&!e.forceUpdate&&this.adapter.notifySelectionChange([t]))},e.prototype.setCheckboxAtIndex=function(t,e){void 0===e&&(e={});for(var n=this.selectedIndex,i=e.isUserInteraction?new Set(n===y.UNSET_INDEX?[]:n):null,r=this.getSelectionAttribute(),a=[],s=0;s<this.adapter.getListItemCount();s++){var o=null==i?void 0:i.has(s),l=t.indexOf(s)>=0;l!==o&&a.push(s),this.adapter.setCheckedCheckboxOrRadioAtIndex(s,l),this.adapter.setAttributeForElementIndex(s,r,l?"true":"false")}this.selectedIndex=t,e.isUserInteraction&&a.length&&this.adapter.notifySelectionChange(a)},e.prototype.toggleCheckboxRange=function(t,e,n){this.lastSelectedIndex=n;for(var i=new Set(this.selectedIndex===y.UNSET_INDEX?[]:this.selectedIndex),r=!(null==i?void 0:i.has(n)),s=Object(a.c)([t,e].sort(),2),o=s[0],l=s[1],c=this.getSelectionAttribute(),u=[],d=o;d<=l;d++){if(!this.isIndexDisabled(d))r!==i.has(d)&&(u.push(d),this.adapter.setCheckedCheckboxOrRadioAtIndex(d,r),this.adapter.setAttributeForElementIndex(d,c,""+r),r?i.add(d):i.delete(d))}u.length&&(this.selectedIndex=Object(a.d)([],Object(a.c)(i)),this.adapter.notifySelectionChange(u))},e.prototype.setTabindexAtIndex=function(t){this.focusedItemIndex===y.UNSET_INDEX&&0!==t?this.adapter.setAttributeForElementIndex(0,"tabindex","-1"):this.focusedItemIndex>=0&&this.focusedItemIndex!==t&&this.adapter.setAttributeForElementIndex(this.focusedItemIndex,"tabindex","-1"),this.selectedIndex instanceof Array||this.selectedIndex===t||this.adapter.setAttributeForElementIndex(this.selectedIndex,"tabindex","-1"),t!==y.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(t,"tabindex","0")},e.prototype.isSelectableList=function(){return this.isSingleSelectionList||this.isCheckboxList||this.isRadioList},e.prototype.setTabindexToFirstSelectedOrFocusedItem=function(){var t=this.getFirstSelectedOrFocusedItemIndex();this.setTabindexAtIndex(t)},e.prototype.getFirstSelectedOrFocusedItemIndex=function(){return this.isSelectableList(
639)?"number"==typeof this.selectedIndex&&this.selectedIndex!==y.UNSET_INDEX?this.selectedIndex:this.selectedIndex instanceof Array&&this.selectedIndex.length>0?this.selectedIndex.reduce((function(t,e){return Math.min(t,e)})):0:Math.max(this.focusedItemIndex,0)},e.prototype.isIndexValid=function(t,e){var n=this;if(void 0===e&&(e=!0),t instanceof Array){if(!this.isCheckboxList&&e)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===t.length||t.some((function(t){return n.isIndexInRange(t)}))}if("number"==typeof t){if(this.isCheckboxList&&e)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+t);return this.isIndexInRange(t)||this.isSingleSelectionList&&t===y.UNSET_INDEX}return!1},e.prototype.isIndexInRange=function(t){var e=this.adapter.getListItemCount();return t>=0&&t<e},e.prototype.setSelectedIndexOnAction=function(t,e){this.lastSelectedIndex=t,this.isCheckboxList?(this.toggleCheckboxAtIndex(t,e),this.adapter.notifySelectionChange([t])):this.setSelectedIndex(t,{isUserInteraction:!0})},e.prototype.toggleCheckboxAtIndex=function(t,e){var n,i=this.getSelectionAttribute(),r=this.adapter.isCheckboxCheckedAtIndex(t);e?n=r:(n=!r,this.adapter.setCheckedCheckboxOrRadioAtIndex(t,n)),this.adapter.setAttributeForElementIndex(t,i,n?"true":"false");var a=this.selectedIndex===y.UNSET_INDEX?[]:this.selectedIndex.slice();n?a.push(t):a=a.filter((function(e){return e!==t})),this.selectedIndex=a},e.prototype.focusItemAtIndex=function(t){this.adapter.focusItemAtIndex(t),this.focusedItemIndex=t},e.prototype.checkboxListToggleAll=function(t,e){var n=this.adapter.getListItemCount();if(t.length===n)this.setCheckboxAtIndex([],{isUserInteraction:e});else{for(var i=[],r=0;r<n;r++)(!this.isIndexDisabled(r)||t.indexOf(r)>-1)&&i.push(r);this.setCheckboxAtIndex(i,{isUserInteraction:e})}},e.prototype.typeaheadMatchItem=function(t,e,n){var i=this;return void 0===n&&(n=!1),S({focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:e||this.focusedItemIndex,nextChar:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:n,isItemAtIndexDisabled:function(t){return i.isIndexDisabled(t)}},this.typeaheadState)},e.prototype.typeaheadInitSortedIndex=function(){return function(t,e){for(var n=new Map,i=0;i<t;i++){var r=e(i).trim();if(r){var a=r[0].toLowerCase();n.has(a)||n.set(a,[]),n.get(a).push({text:r.toLowerCase(),index:i})}}return n.forEach((function(t){t.sort((function(t,e){return t.index-e.index}))})),n}(this.adapter.getListItemCount(),this.adapter.getPrimaryTextAtIndex)},e.prototype.clearTypeaheadBuffer=function(){A(this.typeaheadState)},e}(b.a),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a.b)(e,t),Object.defineProperty(e.prototype,"vertical",{set:function(t){this.foundation.setVerticalOrientation(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"listElements",{get:function(){return Array.from(this.root.querySelectorAll("."+this.classNameMap[m.LIST_ITEM_CLASS]))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wrapFocus",{set:function(t){this.foundation.setWrapFocus(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"typeaheadInProgress",{get:function(){return this.foundation.isTypeaheadInProgress()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasTypeahead",{set:function(t){this.foundation.setHasTypeahead(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"singleSelection",{set:function(t){this.foundation.setSingleSelection(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabledItemsFocusable",{set:function(t){this.foundation.setDisabledItemsFocusable(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(t){this.foundation.setSelectedIndex(t)},enumerable:!1,configurable:!0}),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){this.isEvolutionEnabled="evolution"in this.root.dataset,this.isEvolutionEnabled?this.classNameMap=g:Object(f.c)(this.root,_.DEPRECATED_SELECTOR)?this.classNameMap=v:this.classNameMap=Object.values(m).reduce((function(t,e){return t[e]=e,t}),{}),this.handleClick=this.handleClickEvent.bind(this),this.handleKeydown=this.handleKeydownEvent.bind(this),this.focusInEventListener=this.handleFocusInEvent.bind(this),this.focusOutEventListener=this.handleFocusOutEvent.bind(this),this.listen("keydown",this.handleKeydown),this.listen("click",this.handleClick),this.listen("focusin",this.focusInEventListener),this.listen("focusout",this.focusOutEventListener),this.layout(),this.initializeListType(),this.ensureFocusable()},e.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten("click",this.handleClick),this.unlisten("focusin",this.focusInEventListener),this.unlisten("focusout",this.focusOutEventListener)},e.prototype.layout=function(){var t=this.root.getAttribute(_.ARIA_ORIENTATION);this.vertical=t!==_.ARIA_ORIENTATION_HORIZONTAL;var e="."+this.classNameMap[m.LIST_ITEM_CLASS]+":not([tabindex])",n=_.FOCUSABLE_CHILD_ELEMENTS,i=this.root.querySelectorAll(e);i.length&&Array.prototype.forEach.call(i,(function(t){t.setAttribute("tabindex","-1")}));var r=this.root.querySelectorAll(n);r.length&&Array.prototype.forEach.call(r,(function(t){t.setAttribute("tabindex","-1")})),this.isEvolutionEnabled&&this.foundation.setUseSelectedAttribute(!0),this.foundation.layout()},e.prototype.getPrimaryText=function(t){var e,n=t.querySelector("."+this.classNameMap[m.LIST_ITEM_PRIMARY_TEXT_CLASS]);if(this.isEvolutionEnabled||n)return null!==(e=null==n?void 0:n.textContent)&&void 0!==e?e:"";var i=t.querySelector("."+this.classNameMap[m.LIST_ITEM_TEXT_CLASS]);return i&&i.textContent||""},e.prototype.initializeListType=function(){var t=this;if(this.isInteractive=Object(f.c)(this.root,_.ARIA_INTERACTIVE_ROLES_SELECTOR),this.isEvolutionEnabled&&this.isInteractive){var e=Array.from(this.root.querySelectorAll(_.SELECTED_ITEM_SELECTOR),(function(e){return t.listElements.indexOf(e)}));Object(f.c)(this.root,_.ARIA_MULTI_SELECTABLE_SELECTOR)?this.selectedIndex=e:e.length>0&&(this.selectedIndex=e[0])}else{var n=this.root.querySelectorAll(_.ARIA_ROLE_CHECKBOX_SELECTOR),i=this.root.querySelector(_.ARIA_CHECKED_RADIO_SELECTOR);if(n.length){var r=this.root.querySelectorAll(_.ARIA_CHECKED_CHECKBOX_SELECTOR);this.selectedIndex=Array.from(r,(function(e){return t.listElements.indexOf(e)}))}else i&&(this.selectedIndex=this.listElements.indexOf(i))}},e.prototype.setEnabled=function(t,e){this.foundation.setEnabled(t,e)},e.prototype.typeaheadMatchItem=function(t,e){return this.foundation.typeaheadMatchItem(t,e,!0)},e.prototype.getDefaultFoundation=function(){var t=this;
639return new D({addClassForElementIndex:function(e,n){var i=t.listElements[e];i&&i.classList.add(t.classNameMap[n])},focusItemAtIndex:function(e){var n=t.listElements[e];n&&n.focus()},getAttributeForElementIndex:function(e,n){return t.listElements[e].getAttribute(n)},getFocusedElementIndex:function(){return t.listElements.indexOf(document.activeElement)},getListItemCount:function(){return t.listElements.length},getPrimaryTextAtIndex:function(e){return t.getPrimaryText(t.listElements[e])},hasCheckboxAtIndex:function(e){return!!t.listElements[e].querySelector(_.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(e){return!!t.listElements[e].querySelector(_.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(e){return t.listElements[e].querySelector(_.CHECKBOX_SELECTOR).checked},isFocusInsideList:function(){return t.root!==document.activeElement&&t.root.contains(document.activeElement)},isRootFocused:function(){return document.activeElement===t.root},listItemAtIndexHasClass:function(e,n){return t.listElements[e].classList.contains(t.classNameMap[n])},notifyAction:function(e){t.emit(_.ACTION_EVENT,{index:e},!0)},notifySelectionChange:function(e){t.emit(_.SELECTION_CHANGE_EVENT,{changedIndices:e},!0)},removeClassForElementIndex:function(e,n){var i=t.listElements[e];i&&i.classList.remove(t.classNameMap[n])},setAttributeForElementIndex:function(e,n,i){var r=t.listElements[e];r&&r.setAttribute(n,i)},setCheckedCheckboxOrRadioAtIndex:function(e,n){var i=t.listElements[e].querySelector(_.CHECKBOX_RADIO_SELECTOR);i.checked=n;var r=document.createEvent("Event");r.initEvent("change",!0,!0),i.dispatchEvent(r)},setTabIndexForListItemChildren:function(e,n){var i=t.listElements[e],r=_.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX;Array.prototype.forEach.call(i.querySelectorAll(r),(function(t){t.setAttribute("tabindex",n)}))}})},e.prototype.ensureFocusable=function(){if(this.isEvolutionEnabled&&this.isInteractive&&!this.root.querySelector("."+this.classNameMap[m.LIST_ITEM_CLASS]+'[tabindex="0"]')){var t=this.initialFocusIndex();-1!==t&&(this.listElements[t].tabIndex=0)}},e.prototype.initialFocusIndex=function(){if(this.selectedIndex instanceof Array&&this.selectedIndex.length>0)return this.selectedIndex[0];if("number"==typeof this.selectedIndex&&this.selectedIndex!==y.UNSET_INDEX)return this.selectedIndex;var t=this.root.querySelector("."+this.classNameMap[m.LIST_ITEM_CLASS]+":not(."+this.classNameMap[m.LIST_ITEM_DISABLED_CLASS]+")");return null===t?-1:this.getListItemIndex(t)},e.prototype.getListItemIndex=function(t){var e=Object(f.a)(t,"."+this.classNameMap[m.LIST_ITEM_CLASS]+", ."+this.classNameMap[m.ROOT]);return e&&Object(f.c)(e,"."+this.classNameMap[m.LIST_ITEM_CLASS])?this.listElements.indexOf(e):-1},e.prototype.handleFocusInEvent=function(t){var e=this.getListItemIndex(t.target);this.foundation.handleFocusIn(e)},e.prototype.handleFocusOutEvent=function(t){var e=this.getListItemIndex(t.target);this.foundation.handleFocusOut(e)},e.prototype.handleKeydownEvent=function(t){var e=this.getListItemIndex(t.target),n=t.target;this.foundation.handleKeydown(t,n.classList.contains(this.classNameMap[m.LIST_ITEM_CLASS]),e)},e.prototype.handleClickEvent=function(t){var e=this.getListItemIndex(t.target),n=t.target,i=!Object(f.c)(n,_.CHECKBOX_RADIO_SELECTOR);this.foundation.handleClick(e,i,t)},e}(s.a),O=function(t){function e(n){var i=t.call(this,Object(a.a)(Object(a.a)({},e.defaultAdapter),n))||this;return i.isSurfaceOpen=!1,i.isQuickOpen=!1,i.isHoistedElement=!1,i.isFixedPosition=!1,i.isHorizontallyCenteredOnViewport=!1,i.maxHeight=0,i.openBottomBias=0,i.openAnimationEndTimerId=0,i.closeAnimationEndTimerId=0,i.animationRequestId=0,i.anchorCorner=r.TOP_START,i.originCorner=r.TOP_START,i.anchorMargin={top:0,right:0,bottom:0,left:0},i.position={x:0,y:0},i}return Object(a.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(e,"Corner",{get:function(){return r}
vendor: 4,520 bytes, line 639
639,enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyClosing:function(){},notifyOpen:function(){},notifyOpening:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=e.cssClasses,n=t.ROOT,i=t.OPEN;if(!this.adapter.hasClass(n))throw new Error(n+" class required in root element.");this.adapter.hasClass(i)&&(this.isSurfaceOpen=!0)},e.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},e.prototype.setAnchorCorner=function(t){this.anchorCorner=t},e.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^i.RIGHT},e.prototype.setAnchorMargin=function(t){this.anchorMargin.top=t.top||0,this.anchorMargin.right=t.right||0,this.anchorMargin.bottom=t.bottom||0,this.anchorMargin.left=t.left||0},e.prototype.setIsHoisted=function(t){this.isHoistedElement=t},e.prototype.setFixedPosition=function(t){this.isFixedPosition=t},e.prototype.isFixed=function(){return this.isFixedPosition},e.prototype.setAbsolutePosition=function(t,e){this.position.x=this.isFinite(t)?t:0,this.position.y=this.isFinite(e)?e:0},e.prototype.setIsHorizontallyCenteredOnViewport=function(t){this.isHorizontallyCenteredOnViewport=t},e.prototype.setQuickOpen=function(t){this.isQuickOpen=t},e.prototype.setMaxHeight=function(t){this.maxHeight=t},e.prototype.setOpenBottomBias=function(t){this.openBottomBias=t},e.prototype.isOpen=function(){return this.isSurfaceOpen},e.prototype.open=function(){var t=this;this.isSurfaceOpen||(this.adapter.notifyOpening(),this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(e.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(e.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame((function(){t.dimensions=t.adapter.getInnerDimensions(),t.autoposition(),t.adapter.addClass(e.cssClasses.OPEN),t.openAnimationEndTimerId=setTimeout((function(){t.openAnimationEndTimerId=0,t.adapter.removeClass(e.cssClasses.ANIMATING_OPEN),t.adapter.notifyOpen()}),d.TRANSITION_OPEN_DURATION)})),this.isSurfaceOpen=!0))},e.prototype.close=function(t){var n=this;if(void 0===t&&(t=!1),this.isSurfaceOpen){if(this.adapter.notifyClosing(),this.isQuickOpen)return this.isSurfaceOpen=!1,t||this.maybeRestoreFocus(),this.adapter.removeClass(e.cssClasses.OPEN),this.adapter.removeClass(e.cssClasses.IS_OPEN_BELOW),void this.adapter.notifyClose();this.adapter.addClass(e.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){n.adapter.removeClass(e.cssClasses.OPEN),n.adapter.removeClass(e.cssClasses.IS_OPEN_BELOW),n.closeAnimationEndTimerId=setTimeout((function(){n.closeAnimationEndTimerId=0,n.adapter.removeClass(e.cssClasses.ANIMATING_CLOSED),n.adapter.notifyClose()}),d.TRANSITION_CLOSE_DURATION)})),this.isSurfaceOpen=!1,t||this.maybeRestoreFocus()}},e.prototype.handleBodyClick=function(t){var e=t.target;this.adapter.isElementInContainer(e)||this.close()},e.prototype.handleKeydown=function(t){var e=t.keyCode;("Escape"===t.key||27===e)&&this.close()},e.prototype.autoposition=function(){var t;this.measurements=this.getAutoLayoutmeasurements();var n=this.getoriginCorner(),r=this.getMenuSurfaceMaxHeight(n),a=this.hasBit(n,i.BOTTOM)?"bottom":"top",s=this.hasBit(n,i.RIGHT)?"right":"left",o=this.getHorizontalOriginOffset(n),l=this.getVerticalOriginOffset(n),c=this.measurements,u=c.anchorSize,h=c.surfaceSize,p=((t={})[s]=o,t[a]=l,t);u.width/h.width>d.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(s="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(p),this.adapter.setTransformOrigin(s+" "+a),this.adapter.setPosition(p),this.adapter.setMaxHeight(r?r+"px":""),this.hasBit(n,i.BOTTOM)||this.adapter.addClass(e.cssClasse
639s.IS_OPEN_BELOW)},e.prototype.getAutoLayoutmeasurements=function(){var t=this.adapter.getAnchorDimensions(),e=this.adapter.getBodyDimensions(),n=this.adapter.getWindowDimensions(),i=this.adapter.getWindowScroll();return t||(t={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0}),{anchorSize:t,bodySize:e,surfaceSize:this.dimensions,viewportDistance:{top:t.top,right:n.width-t.right,bottom:n.height-t.bottom,left:t.left},viewportSize:n,windowScroll:i}},e.prototype.getoriginCorner=function(){var t,n,r=this.originCorner,a=this.measurements,s=a.viewportDistance,o=a.anchorSize,l=a.surfaceSize,c=e.numbers.MARGIN_TO_EDGE;this.hasBit(this.anchorCorner,i.BOTTOM)?(t=s.top-c+this.anchorMargin.bottom,n=s.bottom-c-this.anchorMargin.bottom):(t=s.top-c+this.anchorMargin.top,n=s.bottom-c+o.height-this.anchorMargin.top),!(n-l.height>0)&&t>n+this.openBottomBias&&(r=this.setBit(r,i.BOTTOM));var u,d,h=this.adapter.isRtl(),p=this.hasBit(this.anchorCorner,i.FLIP_RTL),f=this.hasBit(this.anchorCorner,i.RIGHT)||this.hasBit(r,i.RIGHT),m=!1;(m=h&&p?!f:f)?(u=s.left+o.width+this.anchorMargin.right,d=s.right-this.anchorMargin.right):(u=s.left+this.anchorMargin.left,d=s.right+o.width-this.anchorMargin.left);var g=u-l.width>0,v=d-l.width>0,_=this.hasBit(r,i.FLIP_RTL)&&this.hasBit(r,i.RIGHT);return v&&_&&h||!g&&_?r=this.unsetBit(r,i.RIGHT):(g&&m&&h||g&&!m&&f||!v&&u>=d)&&(r=this.setBit(r,i.RIGHT)),r},e.prototype.getMenuSurfaceMaxHeight=function(t){if(this.maxHeight>0)return this.maxHeight;var n=this.measurements.viewportDistance,r=0,a=this.hasBit(t,i.BOTTOM),s=this.hasBit(this.anchorCorner,i.BOTTOM),o=e.numbers.MARGIN_TO_EDGE;return a?(r=n.top+this.anchorMargin.top-o,s||(r+=this.measurements.anchorSize.height)):(r=n.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-o,s&&(r-=this.measurements.anchorSize.height)),r},e.prototype.getHorizontalOriginOffset=function(t){var e=this.measurements.anchorSize,n=this.hasBit(t,i.RIGHT),r=this.hasBit(this.anchorCorner,i.RIGHT);if(n){var a=r?e.width-this.anchorMargin.left:this.anchorMargin.right;return this.isHoistedElement||this.isFixedPosition?a-(this.measurements.viewportSize.width-this.measurements.bodySize.width):a}return r?e.width-this.anchorMargin.right:this.anchorMargin.left},e.prototype.getVerticalOriginOffset=function(t){var e=this.measurements.anchorSize,n=this.hasBit(t,i.BOTTOM),r=this.hasBit(this.anchorCorner,i.BOTTOM);return n?r?e.height-this.anchorMargin.top:-this.anchorMargin.bottom:r?e.height+this.anchorMargin.bottom:this.anchorMargin.top},e.prototype.adjustPositionForHoistedElement=function(t){var e,n,i=this.measurements,r=i.windowScroll,s=i.viewportDistance,o=i.surfaceSize,l=i.viewportSize,c=Object.keys(t);try{for(var u=Object(a.e)(c),d=u.next();!d.done;d=u.next()){var h=d.value,p=t[h]||0;!this.isHorizontallyCenteredOnViewport||"left"!==h&&"right"!==h?(p+=s[h],this.isFixedPosition||("top"===h?p+=r.y:"bottom"===h?p-=r.y:"left"===h?p+=r.x:p-=r.x),t[h]=p):t[h]=(l.width-o.width)/2}}catch(t){e={error:t}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}},e.prototype.maybeRestoreFocus=function(){var t=this,e=this.adapter.isFocused(),n=this.adapter.getOwnerDocument?this.adapter.getOwnerDocument():document,i=n.activeElement&&this.adapter.isElementInContainer(n.activeElement);(e||i)&&setTimeout((function(){t.adapter.restoreFocus()}),d.TOUCH_EVENT_WAIT_MS)},e.prototype.hasBit=function(t,e){return Boolean(t&e)},e.prototype.setBit=function(t,e){return t|e},e.prototype.unsetBit=function(t,e){return t^e},e.prototype.isFinite=function(t){return"number"==typeof t&&isFinite(t)},e}(b.a),R=n(230),P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){var t=this,e=this.root.parentElement;this.anchorElement=e&&e.classList.contains(c.ANCHOR)?e:null,this.root.classList.contains(c.FIXED)&&this.setFixedPosition(!0),this.handleKeydown=function(e){t.foundation.handleKeydown(e)},this.handleBodyClick=function(e){t.foundation.handleBodyClick(e)},this.registerBodyClickListener=function(){document.body.addEventListener("click",t.handleBodyClick,{capture:!0})},this.deregisterBodyClickListener=function(){document.body.removeEventListener("click",t.handleBodyClick,{capture:!0})},this.listen("keydown",this.handleKeydown),this.listen(u.OPENED_EVENT,this.registerBodyClickListener),this.listen(u.CLOSED_EVENT,this.deregisterBodyClickListener)},e.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten(u.OPENED_EVENT,this.registerBodyClickListener),this.unlisten(u.CLOSED_EVENT,this.deregisterBodyClickListener),t.prototype.destroy.call(this)},e.prototype.isOpen=function(){return this.foundation.isOpen()},e.prototype.open=function(){this.foundation.open()},e.prototype.close=function(t){void 0===t&&(t=!1),this.foundation.close(t)},Object.defineProperty(e.prototype,"quickOpen",{set:function(t){this.foundation.setQuickOpen(t)}
639,enumerable:!1,configurable:!0}),e.prototype.setIsHoisted=function(t){this.foundation.setIsHoisted(t)},e.prototype.setMenuSurfaceAnchorElement=function(t){this.anchorElement=t},e.prototype.setFixedPosition=function(t){t?this.root.classList.add(c.FIXED):this.root.classList.remove(c.FIXED),this.foundation.setFixedPosition(t)},e.prototype.setAbsolutePosition=function(t,e){this.foundation.setAbsolutePosition(t,e),this.setIsHoisted(!0)},e.prototype.setAnchorCorner=function(t){this.foundation.setAnchorCorner(t)},e.prototype.setAnchorMargin=function(t){this.foundation.setAnchorMargin(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new O({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},hasAnchor:function(){return!!t.anchorElement},notifyClose:function(){return t.emit(O.strings.CLOSED_EVENT,{})},notifyClosing:function(){t.emit(O.strings.CLOSING_EVENT,{})},notifyOpen:function(){return t.emit(O.strings.OPENED_EVENT,{})},notifyOpening:function(){return t.emit(O.strings.OPENING_EVENT,{})},isElementInContainer:function(e){return t.root.contains(e)},isRtl:function(){return"rtl"===getComputedStyle(t.root).getPropertyValue("direction")},setTransformOrigin:function(e){var n=Object(R.b)(window,"transform")+"-origin";t.root.style.setProperty(n,e)},isFocused:function(){return document.activeElement===t.root},saveFocus:function(){t.previousFocus=document.activeElement},restoreFocus:function(){t.root.contains(document.activeElement)&&t.previousFocus&&t.previousFocus.focus&&t.previousFocus.focus()},getInnerDimensions:function(){return{width:t.root.offsetWidth,height:t.root.offsetHeight}},getAnchorDimensions:function(){return t.anchorElement?t.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(e){var n=t.root;n.style.left="left"in e?e.left+"px":"",n.style.right="right"in e?e.right+"px":"",n.style.top="top"in e?e.top+"px":"",n.style.bottom="bottom"in e?e.bottom+"px":""},setMaxHeight:function(e){t.root.style.maxHeight=e}})},e}(s.a),N={MENU_SELECTED_LIST_ITEM:"mdc-menu-item--selected",MENU_SELECTION_GROUP:"mdc-menu__selection-group",ROOT:"mdc-menu"},Y={ARIA_CHECKED_ATTR:"aria-checked",ARIA_DISABLED_ATTR:"aria-disabled",CHECKBOX_SELECTOR:'input[type="checkbox"]',LIST_SELECTOR:".mdc-list,.mdc-deprecated-list",SELECTED_EVENT:"MDCMenu:selected",SKIP_RESTORE_FOCUS:"data-menu-item-skip-restore-focus"},F={FOCUS_ROOT_INDEX:-1};!function(t){t[t.NONE=0]="NONE",t[t.LIST_ROOT=1]="LIST_ROOT",t[t.FIRST_ITEM=2]="FIRST_ITEM",t[t.LAST_ITEM=3]="LAST_ITEM"}(I||(I={}));
640/**
641 * @license
642 * Copyright 2018 Google Inc.
643 *
644 * Permission is hereby granted, free of charge, to any person obtaining a copy
645 * of this software and associated documentation files (the "Software"), to deal
646 * in the Software without restriction, including without limitation the rights
647 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
648 * copies of the Software, and to permit persons to whom the Software is
649 * furnished to do so, subject to the following conditions:
650 *
651 * The above copyright notice and this permission notice shall be included in
652 * all copies or substantial portions of the Software.
653 *
654 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
655 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
656 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
657 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
658 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
659 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
660 * THE SOFTWARE.
661 */
662var H=function(t){function e(n){var i=t.call(this,Object(a.a)(Object(a.a)({},e.defaultAdapter),n))||this;return i.closeAnimationEndTimerId=0,i.defaultFocusState=I.LIST_ROOT,i.selectedIndex=-1,i}
662return Object(a.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return N},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Y},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return F},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},getAttributeFromElementAtIndex:function(){return null},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return-1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){},getSelectedSiblingOfItemAtIndex:function(){return-1},isSelectableItemAtIndex:function(){return!1}}},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.closeAnimationEndTimerId&&clearTimeout(this.closeAnimationEndTimerId),this.adapter.closeSurface()},e.prototype.handleKeydown=function(t){var e=t.key,n=t.keyCode;("Tab"===e||9===n)&&this.adapter.closeSurface(!0)},e.prototype.handleItemAction=function(t){var e=this,n=this.adapter.getElementIndex(t);if(!(n<0)){this.adapter.notifySelected({index:n});var i="true"===this.adapter.getAttributeFromElementAtIndex(n,Y.SKIP_RESTORE_FOCUS);this.adapter.closeSurface(i),this.closeAnimationEndTimerId=setTimeout((function(){var n=e.adapter.getElementIndex(t);n>=0&&e.adapter.isSelectableItemAtIndex(n)&&e.setSelectedIndex(n)}),O.numbers.TRANSITION_CLOSE_DURATION)}},e.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState){case I.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case I.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case I.NONE:break;default:this.adapter.focusListRoot()}},e.prototype.setDefaultFocusState=function(t){this.defaultFocusState=t},e.prototype.getSelectedIndex=function(){return this.selectedIndex},e.prototype.setSelectedIndex=function(t){if(this.validatedIndex(t),!this.adapter.isSelectableItemAtIndex(t))throw new Error("MDCMenuFoundation: No selection group at specified index.");var e=this.adapter.getSelectedSiblingOfItemAtIndex(t);e>=0&&(this.adapter.removeAttributeFromElementAtIndex(e,Y.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(e,N.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(t,N.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(t,Y.ARIA_CHECKED_ATTR,"true"),this.selectedIndex=t},e.prototype.setEnabled=function(t,e){this.validatedIndex(t),e?(this.adapter.removeClassFromElementAtIndex(t,m.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,Y.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(t,m.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,Y.ARIA_DISABLED_ATTR,"true"))},e.prototype.validatedIndex=function(t){var e=this.adapter.getMenuItemCount();if(!(t>=0&&t<e))throw new Error("MDCMenuFoundation: No list item at specified index.")},e}(b.a),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new P(t)}),void 0===e&&(e=function(t){return new k(t)}),this.menuSurfaceFactory=t,this.listFactory=e},e.prototype.initialSyncWithDOM=function(){var t=this;this.menuSurface=this.menuSurfaceFactory(this.root);var e=this.root.querySelector(Y.LIST_SELECTOR);e?(this.list=this.listFactory(e),this.list.wrapFocus=!0):this.list=null,this.handleKeydown=function(e){t.foundation.handleKeydown(e)},this.handleItemAction=function(e){t.foundation.handleItemAction(t.items[e.detail.index])},this.handleMenuSurfaceOpened=function(){t.foundation.handleMenuSurfaceOpened()},this.menuSurface.listen(O.strings.OPENED_EVENT,this.handleMenuSurfaceOpened),this.listen("keydown",this.handleKeydown),this.listen(D.strings.ACTION_EVENT,this.handleItemAction)},e.prototype.destroy=function(){this.list&&this.list.destroy(),this.menuSurface.destroy(),this.menuSurface.unlisten(O.
662strings.OPENED_EVENT,this.handleMenuSurfaceOpened),this.unlisten("keydown",this.handleKeydown),this.unlisten(D.strings.ACTION_EVENT,this.handleItemAction),t.prototype.destroy.call(this)},Object.defineProperty(e.prototype,"open",{get:function(){return this.menuSurface.isOpen()},set:function(t){t?this.menuSurface.open():this.menuSurface.close()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wrapFocus",{get:function(){return!!this.list&&this.list.wrapFocus},set:function(t){this.list&&(this.list.wrapFocus=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasTypeahead",{set:function(t){this.list&&(this.list.hasTypeahead=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"typeaheadInProgress",{get:function(){return!!this.list&&this.list.typeaheadInProgress},enumerable:!1,configurable:!0}),e.prototype.typeaheadMatchItem=function(t,e){return this.list?this.list.typeaheadMatchItem(t,e):-1},e.prototype.layout=function(){this.list&&this.list.layout()},Object.defineProperty(e.prototype,"items",{get:function(){return this.list?this.list.listElements:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"singleSelection",{set:function(t){this.list&&(this.list.singleSelection=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this.list?this.list.selectedIndex:y.UNSET_INDEX},set:function(t){this.list&&(this.list.selectedIndex=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"quickOpen",{set:function(t){this.menuSurface.quickOpen=t},enumerable:!1,configurable:!0}),e.prototype.setDefaultFocusState=function(t){this.foundation.setDefaultFocusState(t)},e.prototype.setAnchorCorner=function(t){this.menuSurface.setAnchorCorner(t)},e.prototype.setAnchorMargin=function(t){this.menuSurface.setAnchorMargin(t)},e.prototype.setSelectedIndex=function(t){this.foundation.setSelectedIndex(t)},e.prototype.setEnabled=function(t,e){this.foundation.setEnabled(t,e)},e.prototype.getOptionByIndex=function(t){return t<this.items.length?this.items[t]:null},e.prototype.getPrimaryTextAtIndex=function(t){var e=this.getOptionByIndex(t);return e&&this.list&&this.list.getPrimaryText(e)||""},e.prototype.setFixedPosition=function(t){this.menuSurface.setFixedPosition(t)},e.prototype.setIsHoisted=function(t){this.menuSurface.setIsHoisted(t)},e.prototype.setAbsolutePosition=function(t,e){this.menuSurface.setAbsolutePosition(t,e)},e.prototype.setAnchorElement=function(t){this.menuSurface.anchorElement=t},e.prototype.getDefaultFoundation=function(){var t=this;return new H({addClassToElementAtIndex:function(e,n){t.items[e].classList.add(n)},removeClassFromElementAtIndex:function(e,n){t.items[e].classList.remove(n)},addAttributeToElementAtIndex:function(e,n,i){t.items[e].setAttribute(n,i)},removeAttributeFromElementAtIndex:function(e,n){t.items[e].removeAttribute(n)},getAttributeFromElementAtIndex:function(e,n){return t.items[e].getAttribute(n)},elementContainsClass:function(t,e){return t.classList.contains(e)},closeSurface:function(e){t.menuSurface.close(e)},getElementIndex:function(e){return t.items.indexOf(e)},notifySelected:function(e){t.emit(Y.SELECTED_EVENT,{index:e.index,item:t.items[e.index]})},getMenuItemCount:function(){return t.items.length},focusItemAtIndex:function(e){t.items[e].focus()},focusListRoot:function(){t.root.querySelector(Y.LIST_SELECTOR).focus()},isSelectableItemAtIndex:function(e){return!!Object(f.a)(t.items[e],"."+N.MENU_SELECTION_GROUP)},getSelectedSiblingOfItemAtIndex:function(e){var n=Object(f.a)(t.items[e],"."+N.MENU_SELECTION_GROUP).querySelector("."+N.MENU_SELECTED_LIST_ITEM);return n?t.items.indexOf(n):-1}})},e}(s.a),B=n(345),z=n(86),U=n(113),V={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},W={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"},G={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330},q=function(t){function e(n,i){void 0===i&&(i={});var r=t.call(this,Object(a.a)(Object(a.a)({},e.defaultAdapter),n))||this;return r.disabled=!1,r.isMenuOpen=!1,r.useDefaultValidation=!0,r.customValidity=!0,r.lastSelectedIndex=G.UNSET_INDEX,r.clickDebounceTimeout=0,r.recentlyClicked=!1,r.leadingIcon=i.leadingIcon,r.helperText=i.helperText,r}
vendor: 1,327 bytes, line 662
662return Object(a.b)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return V},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return G},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return W},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return-1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0}
vendor: 1,990 bytes, line 662
662,getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return-1}}},enumerable:!1,configurable:!0}),e.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},e.prototype.setSelectedIndex=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1),t>=this.adapter.getMenuItemCount()||(t===G.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(t).trim()),this.adapter.setSelectedIndex(t),e&&this.adapter.closeMenu(),n||this.lastSelectedIndex===t||this.handleChange(),this.lastSelectedIndex=t)},e.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.adapter.getMenuItemValues().indexOf(t);this.setSelectedIndex(n,!1,e)},e.prototype.getValue=function(){var t=this.adapter.getSelectedIndex(),e=this.adapter.getMenuItemValues();return t!==G.UNSET_INDEX?e[t]:""},e.prototype.getDisabled=function(){return this.disabled},e.prototype.setDisabled=function(t){this.disabled=t,this.disabled?(this.adapter.addClass(V.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(V.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},e.prototype.openMenu=function(){this.adapter.addClass(V.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.layout=function(){if(this.adapter.hasLabel()){var t=this.getValue().length>0,e=this.adapter.hasClass(V.FOCUSED),n=t||e,i=this.adapter.hasClass(V.REQUIRED);this.notchOutline(n),this.adapter.floatLabel(n),this.adapter.setLabelRequired(i)}},e.prototype.layoutOptions=function(){var t=this.adapter.getMenuItemV
662alues().indexOf(this.getValue());this.setSelectedIndex(t,!1,!0)},e.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var t=this.getSelectedIndex(),e=t>=0?t:0;this.adapter.focusMenuItemAtIndex(e)}},e.prototype.handleMenuClosing=function(){this.adapter.setSelectAnchorAttr("aria-expanded","false")},e.prototype.handleMenuClosed=function(){this.adapter.removeClass(V.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},e.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(V.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.handleMenuItemAction=function(t){this.setSelectedIndex(t,!0)},e.prototype.handleFocus=function(){this.adapter.addClass(V.FOCUSED),this.layout(),this.adapter.activateBottomLine()},e.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},e.prototype.handleClick=function(t){this.disabled||this.recentlyClicked||(this.setClickDebounceTimeout(),this.isMenuOpen?this.adapter.closeMenu():(this.adapter.setRippleCenter(t),this.openMenu()))},e.prototype.handleKeydown=function(t){if(!this.isMenuOpen&&this.adapter.hasClass(V.FOCUSED)){var e=Object(x.c)(t)===x.a.ENTER,n=Object(x.c)(t)===x.a.SPACEBAR,i=Object(x.c)(t)===x.a.ARROW_UP,r=Object(x.c)(t)===x.a.ARROW_DOWN;if(!(t.ctrlKey||t.metaKey)&&(!n&&t.key&&1===t.key.length||n&&this.adapter.isTypeaheadInProgress())){var a=n?" ":t.key,s=this.adapter.typeaheadMatchItem(a,this.getSelectedIndex());return s>=0&&this.setSelectedIndex(s),void t.preventDefault()}(e||n||i||r)&&(this.openMenu(),t.preventDefault())}},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()){var e=this.adapter.hasClass(V.FOCUSED);if(t){var n=G.LABEL_SCALE,i=this.adapter.getLabelWidth()*n;this.adapter.notchOutline(i)}else e||this.adapter.closeOutline()}},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.getUseDefaultValidation=function(){return this.useDefaultValidation},e.prototype.setUseDefaultValidation=function(t){this.useDefaultValidation=t},e.prototype.setValid=function(t){this.useDefaultValidation||(this.customValidity=t),this.adapter.setSelectAnchorAttr("aria-invalid",(!t).toString()),t?(this.adapter.removeClass(V.INVALID),this.adapter.removeMenuClass(V.MENU_INVALID)):(this.adapter.addClass(V.INVALID),this.adapter.addMenuClass(V.MENU_INVALID)),this.syncHelperTextValidity(t)},e.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(V.REQUIRED)&&!this.adapter.hasClass(V.DISABLED)?this.getSelectedIndex()!==G.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},e.prototype.setRequired=function(t){t?this.adapter.addClass(V.REQUIRED):this.adapter.removeClass(V.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",t.toString()),this.adapter.setLabelRequired(t)},e.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},e.prototype.init=function(){var t=this.adapter.getAnchorElement();t&&(this.adapter.setMenuAnchorElement(t),this.adapter.setMenuAnchorCorner(r.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(V.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(V.INVALID)),this.layout(),this.layoutOptions()},e.prototype.blur=function(){this.adapter.removeClass(V.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(V.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.syncHelperTextValidity=function(t){if(this.helperText){this.helperText.setValidity(t);var e=this.helperText.isVisible(),n=this.helperText.getId();e&&n?this.adapter.setSelectAnchorAttr(W.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(W.ARIA_DESCRIBEDBY)}},e.prototype.setClickDebounceTimeout=function(){var t=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout((function(){t.recentlyClicked=!1}),G.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},e}(b.a),X=n(460),$={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"},K=["click","keydown"],J=function(t){function e(n){var i=t.call(this,Object(a.a)(Object(a.a)({},e.defaultAdapter),n))||this;return i.savedTabIndex=null,i.interactionHandler=function(t){i.handleInteraction(t)},i}return Object(a.b)(e,t),Object.defineProperty(e,"strings",{get:function(){return $}
662,enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t,e;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=Object(a.e)(K),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.registerInteractionHandler(r,this.interactionHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.destroy=function(){var t,e;try{for(var n=Object(a.e)(K),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.deregisterInteractionHandler(r,this.interactionHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.setDisabled=function(t){this.savedTabIndex&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",$.ICON_ROLE)))},e.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;("click"===t.type||e)&&this.adapter.notifyIconAction()},e}(b.a),Q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a.b)(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new J({getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)},notifyIconAction:function(){return t.emit(J.strings.ICON_EVENT,{},!0)}})},e}(s.a),Z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a.b)(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e,n,i,r,a){if(void 0===t&&(t=function(t){return new o.a(t)}),void 0===e&&(e=function(t){return new l.a(t)}),void 0===n&&(n=function(t){return new B.a(t)}),void 0===i&&(i=function(t){return new j(t)}),void 0===r&&(r=function(t){return new Q(t)}),void 0===a&&(a=function(t){return new X.a(t)}),this.selectAnchor=this.root.querySelector(W.SELECT_ANCHOR_SELECTOR),this.selectedText=this.root.querySelector(W.SELECTED_TEXT_SELECTOR),this.hiddenInput=this.root.querySelector(W.HIDDEN_INPUT_SELECTOR),!this.selectedText)throw new Error("MDCSelect: Missing required element: The following selector must be present: '"+W.SELECTED_TEXT_SELECTOR+"'");if(this.selectAnchor.hasAttribute(W.ARIA_CONTROLS)){var s=document.getElementById(this.selectAnchor.getAttribute(W.ARIA_CONTROLS));s&&(this.helperText=a(s))}this.menuSetup(i);var c=this.root.querySelector(W.LABEL_SELECTOR);this.label=c?t(c):null;var u=this.root.querySelector(W.LINE_RIPPLE_SELECTOR);this.lineRipple=u?e(u):null;var d=this.root.querySelector(W.OUTLINE_SELECTOR);this.outline=d?n(d):null;var h=this.root.querySelector(W.LEADING_ICON_SELECTOR);h&&(this.leadingIcon=r(h)),this.root.classList.contains(V.OUTLINED)||(this.ripple=this.createRipple())},e.prototype.initialSyncWithDOM=function(){var t=this;if(this.handleFocus=function(){t.foundation.handleFocus()},this.handleBlur=function(){t.foundation.handleBlur()},this.handleClick=function(e){t.selectAnchor.focus(),t.foundation.handleClick(t.getNormalizedXCoordinate(e))},this.handleKeydown=function(e){t.foundation.handleKeydown(e)},this.handleMenuItemAction=function(e){t.foundation.handleMenuItemAction(e.detail.index)},this.handleMenuOpened=function(){t.foundation.handleMenuOpened()},this.handleMenuClosed=function(){t.foundation.handleMenuClosed()},this.handleMenuClosing=function(){t.foundation.handleMenuClosing()},this.selectAnchor.addEventListener("focus",this.handleFocus),this.selectAnchor.addEventListener("blur",this.handleBlur),this.selectAnchor.addEventListener("click",this.handleClick),this.selectAnchor.addEventListener("keydown",this.handleKeydown),this.menu.listen(u.CLOSED_EVENT,this.handleMenuClosed),this.menu.listen(u.CLOSING_EVENT,this.handleMenuClosing),this.menu.listen(u.OPENED_EVENT,this.handleMenuOpened),this.menu.listen(Y.SELECTED_EVENT,this.handleMenuItemAction),this.hiddenInput){if(this.hiddenInput.value)return this.foundation.setValue(this.hiddenInput.value,!0),void this.foundation.layout();this.hiddenInput.value=this.value}},e.prototype.destroy=function(){this.selectAnchor.removeEventListener("focus",this.handleFocus),this.selectAnchor.removeEventListener("blur",this.handleBlur),this.selectAnchor.removeEventListener("keydown",this.handleKeydown),this.selectAnchor.removeEventListener("click",this.handleClick),this.menu.unlisten(u.CLOSED_EVENT,this.handleMenuClosed),this.menu.unlisten(u.OPENED_EVENT,this.handleMenuOpened),this.menu.unlisten(Y.SELECTED_EVENT,this.handleMenuItemAction),this.menu.destroy(),this.ripple&&this.ripple.destroy(),this.outline&&this.outline.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.helperText&&this.helperText.destroy(),t.prototype.destroy.call(this)},Object.defineProperty(e.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(t){this.foundation.setValue(t)}
vendor: 5,700 bytes, line 662
662,enumerable:!1,configurable:!0}),e.prototype.setValue=function(t,e){void 0===e&&(e=!1),this.foundation.setValue(t,e)},Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(t){this.foundation.setSelectedIndex(t,!0)},enumerable:!1,configurable:!0}),e.prototype.setSelectedIndex=function(t,e){void 0===e&&(e=!1),this.foundation.setSelectedIndex(t,!0,e)},Object.defineProperty(e.prototype,"disabled",{get:function(){return this.foundation.getDisabled()},set:function(t){this.foundation.setDisabled(t),this.hiddenInput&&(this.hiddenInput.disabled=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconAriaLabel",{set:function(t){this.foundation.setLeadingIconAriaLabel(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconContent",{set:function(t){this.foundation.setLeadingIconContent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"helperTextContent",{set:function(t){this.foundation.setHelperTextContent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"useDefaultValidation",{set:function(t){this.foundation.setUseDefaultValidation(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(t){this.foundation.setValid(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this.foundation.getRequired()},set:function(t){this.foundation.setRequired(t)},enumerable:!1,configurable:!0}),e.prototype.layout=function(){this.foundation.layout()},e.prototype.layoutOptions=function(){this.foundation.layoutOptions(),this.menu.layout(),this.menuItemValues=this.menu.items.map((function(t){return t.getAttribute(W.VALUE_ATTR)||""})),this.hiddenInput&&(this.hiddenInput.value=this.value)},e.prototype.getDefaultFoundation=function(){var t=Object(a.a)(Object(a.a)(Object(a.a)(Object(a.a)({},this.getSelectAdapterMethods()),this.getCommonAdapterMethods()),this.getOutlineAdapterMethods()),this.getLabelAdapterMethods());return new q(t,this.getFoundationMap())},e.prototype.menuSetup=function(t){this.menuElement=this.root.querySelector(W.MENU_SELECTOR),this.menu=t(this.menuElement),this.menu.hasTypeahead=!0,this.menu.singleSelection=!0,this.menuItemValues=this.menu.items.map((function(t){return t.getAttribute(W.VALUE_ATTR)||""}))},e.prototype.createRipple=function(){var t=this,e=Object(a.a)(Object(a.a)({},z.a.createAdapter({root:this.selectAnchor})),{registerInteractionHandler:function(e,n){t.selectAnchor.addEventListener(e,n)},deregisterInteractionHandler:function(e,n){t.selectAnchor.removeEventListener(e,n)}});return new z.a(this.selectAnchor,new U.a(e))},e.prototype.getSelectAdapterMethods=function(){var t=this;return{getMenuItemAttr:function(t,e){return t.getAttribute(e)},setSelectedText:function(e){t.selectedText.textContent=e},isSelectAnchorFocused:function(){return document.activeElement===t.selectAnchor},getSelectAnchorAttr:function(e){return t.selectAnchor.getAttribute(e)},setSelectAnchorAttr:function(e,n){t.selectAnchor.setAttribute(e,n)},removeSelectAnchorAttr:function(e){t.selectAnchor.removeAttribute(e)},addMenuClass:function(e){t.menuElement.classList.add(e)},removeMenuClass:function(e){t.menuElement.classList.remove(e)},openMenu:function(){t.menu.open=!0},closeMenu:function(){t.menu.open=!1},getAnchorElement:function(){return t.root.querySelector(W.SELECT_ANCHOR_SELECTOR)},setMenuAnchorElement:function(e){t.menu.setAnchorElement(e)},setMenuAnchorCorner:function(e){t.menu.setAnchorCorner(e)},setMenuWrapFocus:function(e){t.menu.wrapFocus=e},getSelectedIndex:function(){var e=t.menu.selectedIndex;return e instanceof Array?e[0]:e},setSelectedIndex:function(e){t.menu.selectedIndex=e},focusMenuItemAtIndex:function(e){t.menu.items[e].focus()},getMenuItemCount:function(){return t.menu.items.length},getMenuItemValues:function(){return t.menuItemValues},getMenuItemTextAtIndex:function(e){return t.menu.getPrimaryTextAtIndex(e)},isTypeaheadInProgress:function(){return t.menu.typeaheadInProgress},typeaheadMatchItem:function(e,n){return t.menu.typeaheadMatchItem(e,n)}}},e.prototype.getCommonAdapterMethods=function(){var t=this;return{addClass:function(e){t.root.classList.add(e)},removeClass:function(e){t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},setRippleCenter:function(e){t.lineRipple&&t.lineRipple.setRippleCenter(e)},activateBottomLine:function(){t.lineRipple&&t.lineRipple.activate()},deactivateBottomLine:function(){t.lineRipple&&t.lineRipple.deactivate()},notifyChange:function(e){t.hiddenInput&&(t.hiddenInput.value=e);var n=t.selectedIndex;t.emit(W.CHANGE_EVENT,{value:e,index:n},!0)}}},e.prototype.getOutlineAdapterMethods=function(){var t=this;return{hasOutline:function(){return Boolean(t.outline)},notchOutline:function(e){t.outline&&t.outline.notch(e)},closeOutline:function(){t.outline&&t.outline.closeNotch()}}},e.prototype.getLabelAdapterMethods=function(){var t=this;return{hasLabel:function(){return!!t.label},floatLabel:function(e){t.label&&t.label.float(e)},getLabelWidth:function(){return t.label?t.label.getWidth():0},setLabelRequired:function(e){t.label&&t.label.setRequired(e)}}},e.prototype.getNormalizedXCoordinate=function(t){var e=t.target.getBoundingClientRect();return(this.isTouchEvent(t)?t.touches[0].clientX:t.clientX)-e.left},e.prototype.isTouchEvent=function(t){return Boolean(t.touches)},e.prototype.getFoundationMap=function(){return{helperText:this.helperText?this.helperText.foundationForSelect:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForSelect:void 0}},e}(s.a)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.