/*! For license information please see vendor.js.LICENSE.txt */ (self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[3660],{119:function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.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(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<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(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(95093))},216:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MODEL_EVENT_NAME:()=>w,MODEL_PROP_NAME:()=>T,itemsMixin:()=>M,props:()=>E});var r=n(2448),a=n(87013),i=n(80072),o=n(3289),s=n(46710),l=n(60277),c=n(28014),u=n(38199),d=n(89821),h=n(91671),f=n(1340),p=n(42714),m=n(29761);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t{t.read=function(e,t,n,r,a){var i,o,s=8*a-r-1,l=(1<>1,u=-7,d=n?a-1:0,h=n?-1:1,f=e[t+d];for(d+=h,i=f&(1<<-u)-1,f>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=h,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===i)i=1-c;else{if(i===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),i-=c}return(f?-1:1)*o*Math.pow(2,i-r)},t.write=function(e,t,n,r,a,i){var o,s,l,c=8*i-a-1,u=(1<>1,h=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,a),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,a),o=0));a>=8;e[n+f]=255&s,f+=p,s/=256,a-=8);for(o=o<0;e[n+f]=255&o,f+=p,o/=256,c-=8);e[n+f-p]|=128*m}},537:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BInputGroupAddon:()=>c,props:()=>l});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=n(50596),l=(0,o.makePropsConfigurable)({append:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),id:(0,o.makeProp)(i.PROP_TYPE_STRING),isText:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"div")},a.NAME_INPUT_GROUP_ADDON),c=(0,r.extend)({name:a.NAME_INPUT_GROUP_ADDON,functional:!0,props:l,render:function(e,t){var n=t.props,a=t.data,i=t.children,o=n.append;return e(n.tag,(0,r.mergeData)(a,{class:{"input-group-append":o,"input-group-prepend":!o},attrs:{id:n.id}}),n.isText?[e(s.BInputGroupText,i)]:i)}})},585:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BSkeleton:()=>a.BSkeleton,BSkeletonIcon:()=>i.BSkeletonIcon,BSkeletonImg:()=>o.BSkeletonImg,BSkeletonTable:()=>s.BSkeletonTable,BSkeletonWrapper:()=>l.BSkeletonWrapper,SkeletonPlugin:()=>c});var r=n(96266),a=n(15874),i=n(18142),o=n(28848),s=n(15263),l=n(14452),c=(0,r.pluginFactory)({components:{BSkeleton:a.BSkeleton,BSkeletonIcon:i.BSkeletonIcon,BSkeletonImg:o.BSkeletonImg,BSkeletonTable:s.BSkeletonTable,BSkeletonWrapper:l.BSkeletonWrapper}})},634:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormTag:()=>a.BFormTag,BFormTags:()=>r.BFormTags,FormTagsPlugin:()=>i});var r=n(35950),a=n(75451),i=(0,n(96266).pluginFactory)({components:{BFormTags:r.BFormTags,BTags:r.BFormTags,BFormTag:a.BFormTag,BTag:a.BFormTag}})},975:(e,t,n)=>{"use strict";n.r(t),n.d(t,{looseIndexOf:()=>a});var r=n(60277),a=function(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{initShimAsyncCodec:()=>a});var r=n(70048);function a(e,t={},n){return{Deflate:i(e.Deflate,t.deflate,n),Inflate:i(e.Inflate,t.inflate,n)}}function i(e,t,n){return class{constructor(a){const i=this;var o,s;o=a,s="level",(typeof Object.hasOwn===r.FUNCTION_TYPE?Object.hasOwn(o,s):o.hasOwnProperty(s))&&a.level===r.UNDEFINED_VALUE&&delete a.level,i.codec=new e(Object.assign({},t,a)),n(i.codec,(e=>{if(i.pendingData){const t=i.pendingData;i.pendingData=new Uint8Array(t.length+e.length);const{pendingData:n}=i;n.set(t,0),n.set(e,t.length)}else i.pendingData=new Uint8Array(e)}))}append(e){return this.codec.push(e),a(this)}flush(){return this.codec.push(new Uint8Array,!0),a(this)}};function a(e){if(e.pendingData){const t=e.pendingData;return e.pendingData=null,t}return new Uint8Array}}},1120:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BPaginationNav:()=>S,sanitizeNumberOfPages:()=>E});var r=n(2448),a=n(49800),i=n(85493),o=n(87013),s=n(80072),l=n(72339),c=n(71402),u=n(46710),d=n(60277),h=n(28014),f=n(89821),p=n(91671),m=n(1340),g=n(37097),v=n(59809),y=n(24032),b=n(25403),_=n(66344);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=E(this.numberOfPages),this.$nextTick((function(){e.guessCurrentPage()}))},onClick:function(e,t){var n=this;if(t!==this.currentPage){var r=e.currentTarget||e.target,a=new l.BvEvent(o.EVENT_NAME_PAGE_CLICK,{cancelable:!0,vueTarget:this,target:r});this.$emit(a.type,a,t),a.defaultPrevented||((0,c.requestAF)((function(){n.currentPage=t,n.$emit(o.EVENT_NAME_CHANGE,t)})),this.$nextTick((function(){(0,c.attemptBlur)(r)})))}},getPageInfo:function(e){if(!(0,u.isArray)(this.pages)||0===this.pages.length||(0,u.isUndefined)(this.pages[e-1])){var t="".concat(this.baseUrl).concat(e);return{link:this.useRouter?{path:t}:t,text:(0,v.toString)(e)}}var n=this.pages[e-1];if((0,u.isObject)(n)){var r=n.link;return{link:(0,u.isObject)(r)?r:this.useRouter?{path:r}:r,text:(0,v.toString)(n.text||e)}}return{link:(0,v.toString)(n),text:(0,v.toString)(e)}},makePage:function(e){var t=this.pageGen,n=this.getPageInfo(e);return(0,m.hasPropFunction)(t)?t(e,n):n.text},makeLink:function(e){var t=this.linkGen,n=this.getPageInfo(e);return(0,m.hasPropFunction)(t)?t(e,n):n.link},linkProps:function(e){var t=(0,m.pluckProps)(M,this),n=this.makeLink(e);return this.useRouter||(0,u.isObject)(n)?t.to=n:t.href=n,t},resolveLink:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(e=document.createElement("a")).href=(0,g.computeHref)({to:t},"a","/","/"),document.body.appendChild(e);var n=e,r=n.pathname,a=n.hash,i=n.search;return document.body.removeChild(e),{path:r,hash:a,query:(0,g.parseQuery)(i)}}catch(t){try{e&&e.parentNode&&e.parentNode.removeChild(e)}catch(e){}return{}}},resolveRoute:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{var t=this.$router.resolve(e,this.$route).route;return{path:t.path,hash:t.hash,query:t.query}}catch(e){return{}}},guessCurrentPage:function(){var e=this.$router,t=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(i.IS_BROWSER||!i.IS_BROWSER&&e))for(var r=e&&t?{path:t.path,hash:t.hash,query:t.query}:{},a=i.IS_BROWSER?window.location||document.location:null,o=a?{path:a.pathname,hash:a.hash,query:(0,g.parseQuery)(a.search)}:{},s=1;!n&&s<=this.localNumberOfPages;s++){var l=this.makeLink(s);n=e&&((0,u.isObject)(l)||this.useRouter)?(0,d.looseEqual)(this.resolveRoute(l),r)?s:null:i.IS_BROWSER?(0,d.looseEqual)(this.resolveLink(l),o)?s:null:-1}this.currentPage=n>0?n:0}}})},1139:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormSpinbutton:()=>r.BFormSpinbutton,FormSpinbuttonPlugin:()=>a});var r=n(10410),a=(0,n(96266).pluginFactory)({components:{BFormSpinbutton:r.BFormSpinbutton,BSpinbutton:r.BFormSpinbutton}})},1169:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BBadge:()=>r.BBadge,BadgePlugin:()=>a});var r=n(90226),a=(0,n(96266).pluginFactory)({components:{BBadge:r.BBadge}})},1221:function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,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(e){return"شام"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(95093))},1232:(e,t,n)=>{"use strict";n.r(t),n.d(t,{encodeText:()=>a});var r=n(70048);function a(e){if(typeof TextEncoder==r.UNDEFINED_TYPE){e=unescape(encodeURIComponent(e));const t=new Uint8Array(e.length);for(let n=0;n{"use strict";n.r(t),n.d(t,{copyProps:()=>v,hasPropFunction:()=>T,makeProp:()=>g,makePropConfigurable:()=>b,makePropsConfigurable:()=>_,pluckProps:()=>y,prefixPropName:()=>f,suffixPropName:()=>m,unprefixPropName:()=>p});var r=n(80072),a=n(57938),i=n(81586),o=n(58494),s=n(46710),l=n(91671),c=n(59809);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:r.PROP_TYPE_ANY,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,i=!0===n;return a=i?a:n,d(d(d({},e?{type:e}:{}),i?{required:i}:(0,s.isUndefined)(t)?{}:{default:(0,s.isObject)(t)?function(){return t}:t}),(0,s.isUndefined)(a)?{}:{validator:a})},v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.identity;if((0,s.isArray)(e))return e.map(t);var n={};for(var r in e)(0,l.hasOwnProperty)(e,r)&&(n[t(r)]=(0,s.isObject)(e[r])?(0,l.clone)(e[r]):e[r]);return n},y=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.identity;return((0,s.isArray)(e)?e.slice():(0,l.keys)(e)).reduce((function(e,r){return e[n(r)]=t[r],e}),{})},b=function(e,t,n){return d(d({},(0,a.cloneDeep)(e)),{},{default:function(){var r=(0,i.getComponentConfig)(n,t,e.default);return(0,s.isFunction)(r)?r():r}})},_=function(e,t){return(0,l.keys)(e).reduce((function(n,r){return d(d({},n),{},h({},r,b(e[r],r,t)))}),{})},I=b({},"","").default.name,T=function(e){return(0,s.isFunction)(e)&&e.name&&e.name!==I}},1374:(e,t,n)=>{"use strict";n.r(t),n.d(t,{clickOutMixin:()=>s});var r=n(2448),a=n(87013),i=n(71402),o=n(87057),s=(0,r.extend)({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(e,t){e!==t&&((0,o.eventOff)(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,a.EVENT_OPTIONS_NO_CAPTURE),e&&(0,o.eventOn)(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,a.EVENT_OPTIONS_NO_CAPTURE))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&(0,o.eventOn)(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,a.EVENT_OPTIONS_NO_CAPTURE)},beforeDestroy:function(){(0,o.eventOff)(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,a.EVENT_OPTIONS_NO_CAPTURE)},methods:{isClickOut:function(e){return!(0,i.contains)(this.$el,e.target)},_clickOutHandler:function(e){this.clickOutHandler&&this.isClickOut(e)&&this.clickOutHandler(e)}}})},1632:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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(95093))},1999:(e,t,n)=>{"use strict";n.r(t),n.d(t,{makeIcon:()=>d});var r=n(2448),a=n(91671),i=n(59809),o=n(33058);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BCollapse:()=>C,props:()=>O});var r,a=n(2448),i=n(49800),o=n(86742),s=n(85493),l=n(87013),c=n(80072),u=n(94159),d=n(71402),h=n(87057),f=n(38199),p=n(91671),m=n(1340),g=n(81074),v=n(60213),y=n(48917),b=n(61127);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BFormRating:()=>H,props:()=>N});var r,a=n(2448),i=n(49800),o=n(87013),s=n(80072),l=n(36714),c=n(94159),u=n(17079),d=n(71402),h=n(87057),f=n(58494),p=n(46710),m=n(52094),g=n(28014),v=n(38199),y=n(89821),b=n(91671),_=n(1340),I=n(59809),T=n(62579),w=n(81074),E=n(48917),M=n(42545),k=n(69756),S=n(61651);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t=n?"full":t>=n-.5?"half":"empty",u={variant:i,disabled:o,readonly:s};return e("span",{staticClass:"b-rating-star",class:{focused:r&&t===n||!(0,y.toInteger)(t)&&n===l,"b-rating-star-empty":"empty"===c,"b-rating-star-half":"half"===c,"b-rating-star-full":"full"===c},attrs:{tabindex:o||s?null:"-1"},on:{click:this.onClick}},[e("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(c,u)])])}}),N=(0,_.makePropsConfigurable)((0,b.sortKeys)(A(A(A(A(A({},w.props),O),(0,b.omit)(M.props,["required","autofocus"])),T.props),{},{color:(0,_.makeProp)(s.PROP_TYPE_STRING),iconClear:(0,_.makeProp)(s.PROP_TYPE_STRING,"x"),iconEmpty:(0,_.makeProp)(s.PROP_TYPE_STRING,"star"),iconFull:(0,_.makeProp)(s.PROP_TYPE_STRING,"star-fill"),iconHalf:(0,_.makeProp)(s.PROP_TYPE_STRING,"star-half"),inline:(0,_.makeProp)(s.PROP_TYPE_BOOLEAN,!1),locale:(0,_.makeProp)(s.PROP_TYPE_ARRAY_STRING),noBorder:(0,_.makeProp)(s.PROP_TYPE_BOOLEAN,!1),precision:(0,_.makeProp)(s.PROP_TYPE_NUMBER_STRING),readonly:(0,_.makeProp)(s.PROP_TYPE_BOOLEAN,!1),showClear:(0,_.makeProp)(s.PROP_TYPE_BOOLEAN,!1),showValue:(0,_.makeProp)(s.PROP_TYPE_BOOLEAN,!1),showValueMax:(0,_.makeProp)(s.PROP_TYPE_BOOLEAN,!1),stars:(0,_.makeProp)(s.PROP_TYPE_NUMBER_STRING,5,(function(e){return(0,y.toInteger)(e)>=3})),variant:(0,_.makeProp)(s.PROP_TYPE_STRING)})),i.NAME_FORM_RATING),H=(0,a.extend)({name:i.NAME_FORM_RATING,components:{BIconStar:S.BIconStar,BIconStarHalf:S.BIconStarHalf,BIconStarFill:S.BIconStarFill,BIconX:S.BIconX},mixins:[w.idMixin,L,T.formSizeMixin],props:N,data:function(){var e=(0,y.toFloat)(this[C],null),t=R(this.stars);return{localValue:(0,p.isNull)(e)?null:F(e,0,t),hasFocus:!1}},computed:{computedStars:function(){return R(this.stars)},computedRating:function(){var e=(0,y.toFloat)(this.localValue,0),t=(0,y.toInteger)(this.precision,3);return F((0,y.toFloat)(e.toFixed(t)),0,this.computedStars)},computedLocale:function(){var e=(0,u.concat)(this.locale).filter(f.identity);return new Intl.NumberFormat(e).resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return(0,m.isLocaleRTL)(this.computedLocale)},formattedRating:function(){var e=(0,y.toInteger)(this.precision),t=this.showValueMax,n=this.computedLocale,r={notation:"standard",minimumFractionDigits:isNaN(e)?0:e,maximumFractionDigits:isNaN(e)?3:e},a=this.computedStars.toLocaleString(n),i=this.localValue;return i=(0,p.isNull)(i)?t?"-":"":i.toLocaleString(n,r),t?"".concat(i,"/").concat(a):i}},watch:(r={},x(r,C,(function(e,t){if(e!==t){var n=(0,y.toFloat)(e,null);this.localValue=(0,p.isNull)(n)?null:F(n,0,this.computedStars)}})),x(r,"localValue",(function(e,t){e!==t&&e!==(this.value||0)&&this.$emit(D,e||null)})),x(r,"disabled",(function(e){e&&(this.hasFocus=!1,this.blur())})),r),methods:{focus:function(){this.disabled||(0,d.attemptFocus)(this.$el)},blur:function(){this.disabled||(0,d.attemptBlur)(this.$el)},onKeydown:function(e){var t=e.keyCode;if(this.isInteractive&&(0,u.arrayIncludes)([l.CODE_LEFT,l.CODE_DOWN,l.CODE_RIGHT,l.CODE_UP],t)){(0,h.stopEvent)(e,{propagation:!1});var n=(0,y.toInteger)(this.localValue,0),r=this.showClear?0:1,a=this.computedStars,i=this.isRTL?-1:1;t===l.CODE_LEFT?this.localValue=F(n-i,r,a)||null:t===l.CODE_RIGHT?this.localValue=F(n+i,r,a):t===l.CODE_DOWN?this.localValue=F(n-1,r,a)||null:t===l.CODE_UP&&(this.localValue=F(n+1,r,a))}},onSelected:function(e){this.isInteractive&&(this.localValue=e)},onFocus:function(e){this.hasFocus=!!this.isInteractive&&"focus"===e.type},renderIcon:function(e){return this.$createElement(k.BIcon,{props:{icon:e,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(k.BIcon,{props:{icon:this.iconClear}})}},render:function(e){var t=this,n=this.disabled,r=this.readonly,a=this.name,i=this.form,o=this.inline,s=this.variant,l=this.color,u=this.noBorder,d=this.hasFocus,h=this.computedRating,f=this.computedStars,m=this.formattedRating,g=this.showClear,v=this.isRTL,y=this.isInteractive,b=this.$scopedSlots,_=[];if(g&&!n&&!r){var T=e("span",{staticClass:"b-rating-icon"},[(b[c.SLOT_NAME_ICON_CLEAR]||this.iconClearFn)()]);_.push(e("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:d&&0===h},attrs:{tabindex:y?"-1":null},on:{click:function(){return t.onSelected(null)}},key:"clear"},[T]))}for(var w=0;w{"use strict";n.r(t),n.d(t,{focusInMixin:()=>o});var r=n(2448),a=n(87013),i=n(87057),o=(0,r.extend)({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(e,t){e!==t&&((0,i.eventOff)(this.focusInElement,"focusin",this._focusInHandler,a.EVENT_OPTIONS_NO_CAPTURE),e&&(0,i.eventOn)(this.focusInElement,"focusin",this._focusInHandler,a.EVENT_OPTIONS_NO_CAPTURE))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&(0,i.eventOn)(this.focusInElement,"focusin",this._focusInHandler,a.EVENT_OPTIONS_NO_CAPTURE)},beforeDestroy:function(){(0,i.eventOff)(this.focusInElement,"focusin",this._focusInHandler,a.EVENT_OPTIONS_NO_CAPTURE)},methods:{_focusInHandler:function(e){this.focusInHandler&&this.focusInHandler(e)}}})},2448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{COMPONENT_UID_KEY:()=>u,REF_FOR_KEY:()=>h,Vue:()=>r.default,extend:()=>p,isVue3:()=>d,mergeData:()=>a.mergeData,nextTick:()=>b});var r=n(62893),a=n(58722);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u="_uid",d=r.default.version.startsWith("3"),h=d?"ref_for":"refInFor",f=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"],p=r.default.extend.bind(r.default);if(d){var m=r.default.extend,g=["router-link","transition","transition-group"],v=r.default.vModelDynamic.created,y=r.default.vModelDynamic.beforeUpdate;r.default.vModelDynamic.created=function(e,t,n){v.call(this,e,t,n),e._assign||(e._assign=function(){})},r.default.vModelDynamic.beforeUpdate=function(e,t,n){y.call(this,e,t,n),e._assign||(e._assign=function(){})},p=function(e){if("object"===c(e)&&e.render&&!e.__alreadyPatched){var t=e.render;e.__alreadyPatched=!0,e.render=function(n){var r=function(e,t,r){var a=void 0===r?[]:[Array.isArray(r)?r.filter(Boolean):r],i="string"==typeof e&&!g.includes(e);if(!(t&&"object"===c(t)&&!Array.isArray(t)))return n.apply(void 0,[e,t].concat(a));var s=t.attrs,u=t.props,d=o(o({},l(t,["attrs","props"])),{},{attrs:s,props:i?{}:u});return"router-link"!==e||d.slots||d.scopedSlots||(d.scopedSlots={$hasNormal:function(){}}),n.apply(void 0,[e,d].concat(a))};if(e.functional){var a,i,s=arguments[1],u=o({},s);u.data={attrs:o({},s.data.attrs||{}),props:o({},s.data.props||{})},Object.keys(s.data||{}).forEach((function(e){f.includes(e)?u.data[e]=s.data[e]:e in s.props?u.data.props[e]=s.data[e]:e.startsWith("on")||(u.data.attrs[e]=s.data[e])}));var d=["_ctx"],h=(null===(a=s.children)||void 0===a||null===(i=a.default)||void 0===i?void 0:i.call(a))||s.children;return h&&0===Object.keys(u.children).filter((function(e){return!d.includes(e)})).length?delete u.children:u.children=h,u.data.on=s.listeners,t.call(this,r,u)}return t.call(this,r)}}return m.call(this,e)}.bind(r.default)}var b=r.default.nextTick},2493:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BDropdownItemButton:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(1340),l=n(64211),c=n(48917);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t"']/g,X=RegExp(q.source),J=RegExp(K.source),Z=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ae=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(ae.source),oe=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,Ie=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Te=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",Me="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Pe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",xe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Be="['’]",Le="["+Ee+"]",Oe="["+xe+"]",Ce="["+Me+"]",De="\\d+",Re="["+ke+"]",Fe="["+Se+"]",ze="[^"+Ee+xe+De+ke+Se+Pe+"]",Ne="\\ud83c[\\udffb-\\udfff]",He="[^"+Ee+"]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",Ye="[\\ud800-\\udbff][\\udc00-\\udfff]",je="["+Pe+"]",Ue="\\u200d",$e="(?:"+Fe+"|"+ze+")",Ge="(?:"+je+"|"+ze+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",qe="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ke="(?:"+Ce+"|"+Ne+")"+"?",Xe="["+Ae+"]?",Je=Xe+Ke+("(?:"+Ue+"(?:"+[He,Ve,Ye].join("|")+")"+Xe+Ke+")*"),Ze="(?:"+[Re,Ve,Ye].join("|")+")"+Je,Qe="(?:"+[He+Ce+"?",Ce,Ve,Ye,Le].join("|")+")",et=RegExp(Be,"g"),tt=RegExp(Ce,"g"),nt=RegExp(Ne+"(?="+Ne+")|"+Qe+Je,"g"),rt=RegExp([je+"?"+Fe+"+"+We+"(?="+[Oe,je,"$"].join("|")+")",Ge+"+"+qe+"(?="+[Oe,je+$e,"$"].join("|")+")",je+"?"+$e+"+"+We,je+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",De,Ze].join("|"),"g"),at=RegExp("["+Ue+Ee+Me+Ae+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[R]=lt[F]=lt[z]=lt[N]=lt[H]=lt[V]=lt[Y]=lt[j]=lt[U]=!0,lt[y]=lt[b]=lt[C]=lt[_]=lt[D]=lt[I]=lt[T]=lt[w]=lt[M]=lt[k]=lt[S]=lt[A]=lt[x]=lt[B]=lt[O]=!1;var ct={};ct[y]=ct[b]=ct[C]=ct[D]=ct[_]=ct[I]=ct[R]=ct[F]=ct[z]=ct[N]=ct[H]=ct[M]=ct[k]=ct[S]=ct[A]=ct[x]=ct[B]=ct[L]=ct[V]=ct[Y]=ct[j]=ct[U]=!0,ct[T]=ct[w]=ct[O]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,ht=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,mt=ft||pt||Function("return this")(),gt=t&&!t.nodeType&&t,vt=gt&&e&&!e.nodeType&&e,yt=vt&&vt.exports===gt,bt=yt&&ft.process,_t=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),It=_t&&_t.isArrayBuffer,Tt=_t&&_t.isDate,wt=_t&&_t.isMap,Et=_t&&_t.isRegExp,Mt=_t&&_t.isSet,kt=_t&&_t.isTypedArray;function St(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Pt(e,t,n,r){for(var a=-1,i=null==e?0:e.length;++a-1}function Ct(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function rn(e,t){for(var n=e.length;n--&&jt(t,e[n],0)>-1;);return n}var an=qt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),on=qt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+ut[e]}function ln(e){return at.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function dn(e,t){for(var n=-1,r=e.length,a=0,i=[];++n",""":'"',"'":"'"});var yn=function e(t){var n,r=(t=null==t?mt:yn.defaults(mt.Object(),t,yn.pick(mt,ot))).Array,se=t.Date,Ee=t.Error,Me=t.Function,ke=t.Math,Se=t.Object,Pe=t.RegExp,Ae=t.String,xe=t.TypeError,Be=r.prototype,Le=Me.prototype,Oe=Se.prototype,Ce=t["__core-js_shared__"],De=Le.toString,Re=Oe.hasOwnProperty,Fe=0,ze=(n=/[^.]+$/.exec(Ce&&Ce.keys&&Ce.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ne=Oe.toString,He=De.call(Se),Ve=mt._,Ye=Pe("^"+De.call(Re).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),je=yt?t.Buffer:a,Ue=t.Symbol,$e=t.Uint8Array,Ge=je?je.allocUnsafe:a,We=un(Se.getPrototypeOf,Se),qe=Se.create,Ke=Oe.propertyIsEnumerable,Xe=Be.splice,Je=Ue?Ue.isConcatSpreadable:a,Ze=Ue?Ue.iterator:a,Qe=Ue?Ue.toStringTag:a,nt=function(){try{var e=hi(Se,"defineProperty");return e({},"",{}),e}catch(e){}}(),at=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==mt.Date.now&&se.now,ft=t.setTimeout!==mt.setTimeout&&t.setTimeout,pt=ke.ceil,gt=ke.floor,vt=Se.getOwnPropertySymbols,bt=je?je.isBuffer:a,_t=t.isFinite,Ht=Be.join,qt=un(Se.keys,Se),bn=ke.max,_n=ke.min,In=se.now,Tn=t.parseInt,wn=ke.random,En=Be.reverse,Mn=hi(t,"DataView"),kn=hi(t,"Map"),Sn=hi(t,"Promise"),Pn=hi(t,"Set"),An=hi(t,"WeakMap"),xn=hi(Se,"create"),Bn=An&&new An,Ln={},On=zi(Mn),Cn=zi(kn),Dn=zi(Sn),Rn=zi(Pn),Fn=zi(An),zn=Ue?Ue.prototype:a,Nn=zn?zn.valueOf:a,Hn=zn?zn.toString:a;function Vn(e){if(ns(e)&&!$o(e)&&!(e instanceof $n)){if(e instanceof Un)return e;if(Re.call(e,"__wrapped__"))return Ni(e)}return new Un(e)}var Yn=function(){function e(){}return function(t){if(!ts(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=a,n}}();function jn(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function $n(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cr(e,t,n,r,i,o){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=i?n(e,r,i,o):n(e)),s!==a)return s;if(!ts(e))return e;var d=$o(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return xa(e,s)}else{var h=mi(e),f=h==w||h==E;if(Ko(e))return Ea(e,l);if(h==S||h==y||f&&!i){if(s=c||f?{}:vi(e),!l)return c?function(e,t){return Ba(e,pi(e),t)}(e,function(e,t){return e&&Ba(t,Os(t),e)}(s,e)):function(e,t){return Ba(e,fi(e),t)}(e,ir(s,e))}else{if(!ct[h])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case C:return Ma(e);case _:case I:return new r(+e);case D:return function(e,t){var n=t?Ma(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case R:case F:case z:case N:case H:case V:case Y:case j:case U:return ka(e,n);case M:return new r;case k:case B:return new r(e);case A:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case x:return new r;case L:return a=e,Nn?Se(Nn.call(a)):{}}var a}(e,h,l)}}o||(o=new Xn);var p=o.get(e);if(p)return p;o.set(e,s),ss(e)?e.forEach((function(r){s.add(cr(r,t,n,r,e,o))})):rs(e)&&e.forEach((function(r,a){s.set(a,cr(r,t,n,a,e,o))}));var m=d?a:(u?c?ii:ai:c?Os:Ls)(e);return At(m||e,(function(r,a){m&&(r=e[a=r]),nr(s,a,cr(r,t,n,a,e,o))})),s}function ur(e,t,n){var r=n.length;if(null==e)return!r;for(e=Se(e);r--;){var i=n[r],o=t[i],s=e[i];if(s===a&&!(i in e)||!o(s))return!1}return!0}function dr(e,t,n){if("function"!=typeof e)throw new xe(i);return Bi((function(){e.apply(a,n)}),t)}function hr(e,t,n,r){var a=-1,i=Ot,o=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Dt(t,Qt(n))),r?(i=Ct,o=!1):t.length>=200&&(i=tn,o=!1,t=new Kn(t));e:for(;++a-1},Wn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(kn||Wn),string:new Gn}},qn.prototype.delete=function(e){var t=ui(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return ui(this,e).get(e)},qn.prototype.has=function(e){return ui(this,e).has(e)},qn.prototype.set=function(e,t){var n=ui(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Kn.prototype.add=Kn.prototype.push=function(e){return this.__data__.set(e,o),this},Kn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xn.prototype.get=function(e){return this.__data__.get(e)},Xn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var r=n.__data__;if(!kn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var fr=Ca(Ir),pr=Ca(Tr,!0);function mr(e,t){var n=!0;return fr(e,(function(e,r,a){return n=!!t(e,r,a)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?yr(s,t-1,n,r,a):Rt(a,s):r||(a[a.length]=s)}return a}var br=Da(),_r=Da(!0);function Ir(e,t){return e&&br(e,t,Ls)}function Tr(e,t){return e&&_r(e,t,Ls)}function wr(e,t){return Lt(t,(function(t){return Zo(e[t])}))}function Er(e,t){for(var n=0,r=(t=_a(t,e)).length;null!=e&&nt}function Pr(e,t){return null!=e&&Re.call(e,t)}function Ar(e,t){return null!=e&&t in Se(e)}function xr(e,t,n){for(var i=n?Ct:Ot,o=e[0].length,s=e.length,l=s,c=r(s),u=1/0,d=[];l--;){var h=e[l];l&&t&&(h=Dt(h,Qt(t))),u=_n(h.length,u),c[l]=!n&&(t||o>=120&&h.length>=120)?new Kn(l&&h):a}h=e[0];var f=-1,p=c[0];e:for(;++f=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gr(e,t,n){for(var r=-1,a=t.length,i={};++r-1;)s!==e&&Xe.call(s,l,1),Xe.call(e,l,1);return e}function qr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==i){var i=a;bi(a)?Xe.call(e,a,1):ha(e,a)}}return e}function Kr(e,t){return e+gt(wn()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Jr(e,t){return Li(Si(e,t,al),e+"")}function Zr(e){return Zn(Vs(e))}function Qr(e,t){var n=Vs(e);return Di(n,lr(t,0,n.length))}function ea(e,t,n,r){if(!ts(e))return e;for(var i=-1,o=(t=_a(t,e)).length,s=o-1,l=e;null!=l&&++ii?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=r(i);++a>>1,o=e[i];null!==o&&!cs(o)&&(n?o<=t:o=200){var c=t?null:Xa(e);if(c)return hn(c);o=!1,a=tn,l=new Kn}else l=t?[]:s;e:for(;++r=r?e:aa(e,t,n)}var wa=at||function(e){return mt.clearTimeout(e)};function Ea(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r}function Ma(e){var t=new e.constructor(e.byteLength);return new $e(t).set(new $e(e)),t}function ka(e,t){var n=t?Ma(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Sa(e,t){if(e!==t){var n=e!==a,r=null===e,i=e==e,o=cs(e),s=t!==a,l=null===t,c=t==t,u=cs(t);if(!l&&!u&&!o&&e>t||o&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!o&&!u&&e1?n[i-1]:a,s=i>2?n[2]:a;for(o=e.length>3&&"function"==typeof o?(i--,o):a,s&&_i(n[0],n[1],s)&&(o=i<3?a:o,i=1),t=Se(t);++r-1?i[o?t[s]:s]:a}}function Ha(e){return ri((function(t){var n=t.length,r=n,o=Un.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new xe(i);if(o&&!l&&"wrapper"==si(s))var l=new Un([],!0)}for(r=l?r:n;++r1&&_.reverse(),f&&ul))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var h=-1,f=!0,p=2&n?new Kn:a;for(o.set(e,t),o.set(t,e);++h-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return At(v,(function(n){var r="_."+n[0];t&n[1]&&!Ot(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(r),n)))}function Ci(e){var t=0,n=0;return function(){var r=In(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(a,arguments)}}function Di(e,t){var n=-1,r=e.length,i=r-1;for(t=t===a?r:t;++n1?e[t-1]:a;return n="function"==typeof n?(e.pop(),n):a,io(e,n)}));function fo(e){var t=Vn(e);return t.__chain__=!0,t}function po(e,t){return t(e)}var mo=ri((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof $n&&bi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:po,args:[i],thisArg:a}),new Un(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(a),e}))):this.thru(i)}));var go=La((function(e,t,n){Re.call(e,n)?++e[n]:or(e,n,1)}));var vo=Na(ji),yo=Na(Ui);function bo(e,t){return($o(e)?At:fr)(e,ci(t,3))}function _o(e,t){return($o(e)?xt:pr)(e,ci(t,3))}var Io=La((function(e,t,n){Re.call(e,n)?e[n].push(t):or(e,n,[t])}));var To=Jr((function(e,t,n){var a=-1,i="function"==typeof t,o=Wo(e)?r(e.length):[];return fr(e,(function(e){o[++a]=i?St(t,e,n):Br(e,t,n)})),o})),wo=La((function(e,t,n){or(e,n,t)}));function Eo(e,t){return($o(e)?Dt:Hr)(e,ci(t,3))}var Mo=La((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ko=Jr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&_i(e,t[0],t[1])?t=[]:n>2&&_i(t[0],t[1],t[2])&&(t=[t[0]]),$r(e,yr(t,1),[])})),So=ut||function(){return mt.Date.now()};function Po(e,t,n){return t=n?a:t,t=e&&null==t?e.length:t,Za(e,d,a,a,a,a,t)}function Ao(e,t){var n;if("function"!=typeof t)throw new xe(i);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=a),n}}var xo=Jr((function(e,t,n){var r=1;if(n.length){var a=dn(n,li(xo));r|=c}return Za(e,r,t,n,a)})),Bo=Jr((function(e,t,n){var r=3;if(n.length){var a=dn(n,li(Bo));r|=c}return Za(t,r,e,n,a)}));function Lo(e,t,n){var r,o,s,l,c,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new xe(i);function m(t){var n=r,i=o;return r=o=a,d=t,l=e.apply(i,n)}function g(e){var n=e-u;return u===a||n>=t||n<0||f&&e-d>=s}function v(){var e=So();if(g(e))return y(e);c=Bi(v,function(e){var n=t-(e-u);return f?_n(n,s-(e-d)):n}(e))}function y(e){return c=a,p&&r?m(e):(r=o=a,l)}function b(){var e=So(),n=g(e);if(r=arguments,o=this,u=e,n){if(c===a)return function(e){return d=e,c=Bi(v,t),h?m(e):l}(u);if(f)return wa(c),c=Bi(v,t),m(u)}return c===a&&(c=Bi(v,t)),l}return t=vs(t)||0,ts(n)&&(h=!!n.leading,s=(f="maxWait"in n)?bn(vs(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==a&&wa(c),d=0,r=u=o=c=a},b.flush=function(){return c===a?l:y(So())},b}var Oo=Jr((function(e,t){return dr(e,1,t)})),Co=Jr((function(e,t,n){return dr(e,vs(t)||0,n)}));function Do(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new xe(i);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(Do.Cache||qn),n}function Ro(e){if("function"!=typeof e)throw new xe(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Do.Cache=qn;var Fo=Ia((function(e,t){var n=(t=1==t.length&&$o(t[0])?Dt(t[0],Qt(ci())):Dt(yr(t,1),Qt(ci()))).length;return Jr((function(r){for(var a=-1,i=_n(r.length,n);++a=t})),Uo=Lr(function(){return arguments}())?Lr:function(e){return ns(e)&&Re.call(e,"callee")&&!Ke.call(e,"callee")},$o=r.isArray,Go=It?Qt(It):function(e){return ns(e)&&kr(e)==C};function Wo(e){return null!=e&&es(e.length)&&!Zo(e)}function qo(e){return ns(e)&&Wo(e)}var Ko=bt||vl,Xo=Tt?Qt(Tt):function(e){return ns(e)&&kr(e)==I};function Jo(e){if(!ns(e))return!1;var t=kr(e);return t==T||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Zo(e){if(!ts(e))return!1;var t=kr(e);return t==w||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Qo(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var rs=wt?Qt(wt):function(e){return ns(e)&&mi(e)==M};function as(e){return"number"==typeof e||ns(e)&&kr(e)==k}function is(e){if(!ns(e)||kr(e)!=S)return!1;var t=We(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&De.call(n)==He}var os=Et?Qt(Et):function(e){return ns(e)&&kr(e)==A};var ss=Mt?Qt(Mt):function(e){return ns(e)&&mi(e)==x};function ls(e){return"string"==typeof e||!$o(e)&&ns(e)&&kr(e)==B}function cs(e){return"symbol"==typeof e||ns(e)&&kr(e)==L}var us=kt?Qt(kt):function(e){return ns(e)&&es(e.length)&&!!lt[kr(e)]};var ds=Wa(Nr),hs=Wa((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(Wo(e))return ls(e)?mn(e):xa(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=mi(e);return(t==M?cn:t==x?hn:Vs)(e)}function ps(e){return e?(e=vs(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=ps(e),n=t%1;return t==t?n?t-n:t:0}function gs(e){return e?lr(ms(e),0,g):0}function vs(e){if("number"==typeof e)return e;if(cs(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=ve.test(e);return n||be.test(e)?ht(e.slice(2),n?2:8):ge.test(e)?m:+e}function ys(e){return Ba(e,Os(e))}function bs(e){return null==e?"":ua(e)}var _s=Oa((function(e,t){if(Ei(t)||Wo(t))Ba(t,Ls(t),e);else for(var n in t)Re.call(t,n)&&nr(e,n,t[n])})),Is=Oa((function(e,t){Ba(t,Os(t),e)})),Ts=Oa((function(e,t,n,r){Ba(t,Os(t),e,r)})),ws=Oa((function(e,t,n,r){Ba(t,Ls(t),e,r)})),Es=ri(sr);var Ms=Jr((function(e,t){e=Se(e);var n=-1,r=t.length,i=r>2?t[2]:a;for(i&&_i(t[0],t[1],i)&&(r=1);++n1),t})),Ba(e,ii(e),n),r&&(n=cr(n,7,ti));for(var a=t.length;a--;)ha(n,t[a]);return n}));var Fs=ri((function(e,t){return null==e?{}:function(e,t){return Gr(e,t,(function(t,n){return Ps(e,n)}))}(e,t)}));function zs(e,t){if(null==e)return{};var n=Dt(ii(e),(function(e){return[e]}));return t=ci(t),Gr(e,n,(function(e,n){return t(e,n[0])}))}var Ns=Ja(Ls),Hs=Ja(Os);function Vs(e){return null==e?[]:en(e,Ls(e))}var Ys=Fa((function(e,t,n){return t=t.toLowerCase(),e+(n?js(t):t)}));function js(e){return Js(bs(e).toLowerCase())}function Us(e){return(e=bs(e))&&e.replace(Ie,an).replace(tt,"")}var $s=Fa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gs=Fa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ws=Ra("toLowerCase");var qs=Fa((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ks=Fa((function(e,t,n){return e+(n?" ":"")+Js(t)}));var Xs=Fa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Js=Ra("toUpperCase");function Zs(e,t,n){return e=bs(e),(t=n?a:t)===a?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Qs=Jr((function(e,t){try{return St(e,a,t)}catch(e){return Jo(e)?e:new Ee(e)}})),el=ri((function(e,t){return At(t,(function(t){t=Fi(t),or(e,t,xo(e[t],e))})),e}));function tl(e){return function(){return e}}var nl=Ha(),rl=Ha(!0);function al(e){return e}function il(e){return Rr("function"==typeof e?e:cr(e,1))}var ol=Jr((function(e,t){return function(n){return Br(n,e,t)}})),sl=Jr((function(e,t){return function(n){return Br(e,n,t)}}));function ll(e,t,n){var r=Ls(t),a=wr(t,r);null!=n||ts(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=wr(t,Ls(t)));var i=!(ts(n)&&"chain"in n&&!n.chain),o=Zo(e);return At(a,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=xa(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Rt([this.value()],arguments))})})),e}function cl(){}var ul=Ua(Dt),dl=Ua(Bt),hl=Ua(Nt);function fl(e){return Ii(e)?Wt(Fi(e)):function(e){return function(t){return Er(t,e)}}(e)}var pl=Ga(),ml=Ga(!0);function gl(){return[]}function vl(){return!1}var yl=ja((function(e,t){return e+t}),0),bl=Ka("ceil"),_l=ja((function(e,t){return e/t}),1),Il=Ka("floor");var Tl,wl=ja((function(e,t){return e*t}),1),El=Ka("round"),Ml=ja((function(e,t){return e-t}),0);return Vn.after=function(e,t){if("function"!=typeof t)throw new xe(i);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=Po,Vn.assign=_s,Vn.assignIn=Is,Vn.assignInWith=Ts,Vn.assignWith=ws,Vn.at=Es,Vn.before=Ao,Vn.bind=xo,Vn.bindAll=el,Vn.bindKey=Bo,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return $o(e)?e:[e]},Vn.chain=fo,Vn.chunk=function(e,t,n){t=(n?_i(e,t,n):t===a)?1:bn(ms(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,s=0,l=r(pt(i/t));oi?0:i+n),(r=r===a||r>i?i:ms(r))<0&&(r+=i),r=n>r?0:gs(r);n>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!os(t))&&!(t=ua(t))&&ln(e)?Ta(mn(e),0,n):e.split(t,n):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new xe(i);return t=null==t?0:bn(ms(t),0),Jr((function(n){var r=n[t],a=Ta(n,0,t);return r&&Rt(a,r),St(e,this,a)}))},Vn.tail=function(e){var t=null==e?0:e.length;return t?aa(e,1,t):[]},Vn.take=function(e,t,n){return e&&e.length?aa(e,0,(t=n||t===a?1:ms(t))<0?0:t):[]},Vn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?aa(e,(t=r-(t=n||t===a?1:ms(t)))<0?0:t,r):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?pa(e,ci(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?pa(e,ci(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new xe(i);return ts(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Lo(e,t,{leading:r,maxWait:t,trailing:a})},Vn.thru=po,Vn.toArray=fs,Vn.toPairs=Ns,Vn.toPairsIn=Hs,Vn.toPath=function(e){return $o(e)?Dt(e,Fi):cs(e)?[e]:xa(Ri(bs(e)))},Vn.toPlainObject=ys,Vn.transform=function(e,t,n){var r=$o(e),a=r||Ko(e)||us(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=a?r?new i:[]:ts(e)&&Zo(i)?Yn(We(e)):{}}return(a?At:Ir)(e,(function(e,r,a){return t(n,e,r,a)})),n},Vn.unary=function(e){return Po(e,1)},Vn.union=to,Vn.unionBy=no,Vn.unionWith=ro,Vn.uniq=function(e){return e&&e.length?da(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?da(e,ci(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:a,e&&e.length?da(e,a,t):[]},Vn.unset=function(e,t){return null==e||ha(e,t)},Vn.unzip=ao,Vn.unzipWith=io,Vn.update=function(e,t,n){return null==e?e:fa(e,t,ba(n))},Vn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:a,null==e?e:fa(e,t,ba(n),r)},Vn.values=Vs,Vn.valuesIn=function(e){return null==e?[]:en(e,Os(e))},Vn.without=oo,Vn.words=Zs,Vn.wrap=function(e,t){return zo(ba(t),e)},Vn.xor=so,Vn.xorBy=lo,Vn.xorWith=co,Vn.zip=uo,Vn.zipObject=function(e,t){return va(e||[],t||[],nr)},Vn.zipObjectDeep=function(e,t){return va(e||[],t||[],ea)},Vn.zipWith=ho,Vn.entries=Ns,Vn.entriesIn=Hs,Vn.extend=Is,Vn.extendWith=Ts,ll(Vn,Vn),Vn.add=yl,Vn.attempt=Qs,Vn.camelCase=Ys,Vn.capitalize=js,Vn.ceil=bl,Vn.clamp=function(e,t,n){return n===a&&(n=t,t=a),n!==a&&(n=(n=vs(n))==n?n:0),t!==a&&(t=(t=vs(t))==t?t:0),lr(vs(e),t,n)},Vn.clone=function(e){return cr(e,4)},Vn.cloneDeep=function(e){return cr(e,5)},Vn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:a)},Vn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:a)},Vn.conformsTo=function(e,t){return null==t||ur(e,t,Ls(t))},Vn.deburr=Us,Vn.defaultTo=function(e,t){return null==e||e!=e?t:e},Vn.divide=_l,Vn.endsWith=function(e,t,n){e=bs(e),t=ua(t);var r=e.length,i=n=n===a?r:lr(ms(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Vn.eq=Vo,Vn.escape=function(e){return(e=bs(e))&&J.test(e)?e.replace(K,on):e},Vn.escapeRegExp=function(e){return(e=bs(e))&&ie.test(e)?e.replace(ae,"\\$&"):e},Vn.every=function(e,t,n){var r=$o(e)?Bt:mr;return n&&_i(e,t,n)&&(t=a),r(e,ci(t,3))},Vn.find=vo,Vn.findIndex=ji,Vn.findKey=function(e,t){return Vt(e,ci(t,3),Ir)},Vn.findLast=yo,Vn.findLastIndex=Ui,Vn.findLastKey=function(e,t){return Vt(e,ci(t,3),Tr)},Vn.floor=Il,Vn.forEach=bo,Vn.forEachRight=_o,Vn.forIn=function(e,t){return null==e?e:br(e,ci(t,3),Os)},Vn.forInRight=function(e,t){return null==e?e:_r(e,ci(t,3),Os)},Vn.forOwn=function(e,t){return e&&Ir(e,ci(t,3))},Vn.forOwnRight=function(e,t){return e&&Tr(e,ci(t,3))},Vn.get=Ss,Vn.gt=Yo,Vn.gte=jo,Vn.has=function(e,t){return null!=e&&gi(e,t,Pr)},Vn.hasIn=Ps,Vn.head=Gi,Vn.identity=al,Vn.includes=function(e,t,n,r){e=Wo(e)?e:Vs(e),n=n&&!r?ms(n):0;var a=e.length;return n<0&&(n=bn(a+n,0)),ls(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&jt(e,t,n)>-1},Vn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:ms(n);return a<0&&(a=bn(r+a,0)),jt(e,t,a)},Vn.inRange=function(e,t,n){return t=ps(t),n===a?(n=t,t=0):n=ps(n),function(e,t,n){return e>=_n(t,n)&&e=-9007199254740991&&e<=p},Vn.isSet=ss,Vn.isString=ls,Vn.isSymbol=cs,Vn.isTypedArray=us,Vn.isUndefined=function(e){return e===a},Vn.isWeakMap=function(e){return ns(e)&&mi(e)==O},Vn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==kr(e)},Vn.join=function(e,t){return null==e?"":Ht.call(e,t)},Vn.kebabCase=$s,Vn.last=Xi,Vn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==a&&(i=(i=ms(n))<0?bn(r+i,0):_n(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Yt(e,$t,i,!0)},Vn.lowerCase=Gs,Vn.lowerFirst=Ws,Vn.lt=ds,Vn.lte=hs,Vn.max=function(e){return e&&e.length?gr(e,al,Sr):a},Vn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Sr):a},Vn.mean=function(e){return Gt(e,al)},Vn.meanBy=function(e,t){return Gt(e,ci(t,2))},Vn.min=function(e){return e&&e.length?gr(e,al,Nr):a},Vn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Nr):a},Vn.stubArray=gl,Vn.stubFalse=vl,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=wl,Vn.nth=function(e,t){return e&&e.length?Ur(e,ms(t)):a},Vn.noConflict=function(){return mt._===this&&(mt._=Ve),this},Vn.noop=cl,Vn.now=So,Vn.pad=function(e,t,n){e=bs(e);var r=(t=ms(t))?pn(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return $a(gt(a),n)+e+$a(pt(a),n)},Vn.padEnd=function(e,t,n){e=bs(e);var r=(t=ms(t))?pn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=wn();return _n(e+i*(t-e+dt("1e-"+((i+"").length-1))),t)}return Kr(e,t)},Vn.reduce=function(e,t,n){var r=$o(e)?Ft:Kt,a=arguments.length<3;return r(e,ci(t,4),n,a,fr)},Vn.reduceRight=function(e,t,n){var r=$o(e)?zt:Kt,a=arguments.length<3;return r(e,ci(t,4),n,a,pr)},Vn.repeat=function(e,t,n){return t=(n?_i(e,t,n):t===a)?1:ms(t),Xr(bs(e),t)},Vn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,n){var r=-1,i=(t=_a(t,e)).length;for(i||(i=1,e=a);++rp)return[];var n=g,r=_n(e,g);t=ci(t),e-=g;for(var a=Jt(r,t);++n=o)return e;var l=n-pn(r);if(l<1)return r;var c=s?Ta(s,0,l).join(""):e.slice(0,l);if(i===a)return c+r;if(s&&(l+=c.length-l),os(i)){if(e.slice(l).search(i)){var u,d=c;for(i.global||(i=Pe(i.source,bs(me.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var h=u.index;c=c.slice(0,h===a?l:h)}}else if(e.indexOf(ua(i),l)!=l){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r},Vn.unescape=function(e){return(e=bs(e))&&X.test(e)?e.replace(q,vn):e},Vn.uniqueId=function(e){var t=++Fe;return bs(e)+t},Vn.upperCase=Xs,Vn.upperFirst=Js,Vn.each=bo,Vn.eachRight=_o,Vn.first=Gi,ll(Vn,(Tl={},Ir(Vn,(function(e,t){Re.call(Vn.prototype,t)||(Tl[t]=e)})),Tl),{chain:!1}),Vn.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Vn[e].placeholder=Vn})),At(["drop","take"],(function(e,t){$n.prototype[e]=function(n){n=n===a?1:bn(ms(n),0);var r=this.__filtered__&&!t?new $n(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,g),type:e+(r.__dir__<0?"Right":"")}),r},$n.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;$n.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),At(["head","last"],(function(e,t){var n="take"+(t?"Right":"");$n.prototype[e]=function(){return this[n](1).value()[0]}})),At(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");$n.prototype[e]=function(){return this.__filtered__?new $n(this):this[n](1)}})),$n.prototype.compact=function(){return this.filter(al)},$n.prototype.find=function(e){return this.filter(e).head()},$n.prototype.findLast=function(e){return this.reverse().find(e)},$n.prototype.invokeMap=Jr((function(e,t){return"function"==typeof e?new $n(this):this.map((function(n){return Br(n,e,t)}))})),$n.prototype.reject=function(e){return this.filter(Ro(ci(e)))},$n.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new $n(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==a&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},$n.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},$n.prototype.toArray=function(){return this.take(g)},Ir($n.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Vn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(Vn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof $n,c=s[0],u=l||$o(t),d=function(e){var t=i.apply(Vn,Rt([e],s));return r&&h?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=o&&!h,m=l&&!f;if(!o&&u){t=m?t:new $n(this);var g=e.apply(t,s);return g.__actions__.push({func:po,args:[d],thisArg:a}),new Un(g,h)}return p&&m?e.apply(this,s):(g=this.thru(d),p?r?g.value()[0]:g.value():g)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Be[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply($o(a)?a:[],e)}return this[n]((function(n){return t.apply($o(n)?n:[],e)}))}})),Ir($n.prototype,(function(e,t){var n=Vn[t];if(n){var r=n.name+"";Re.call(Ln,r)||(Ln[r]=[]),Ln[r].push({name:t,func:n})}})),Ln[Va(a,2).name]=[{name:"wrapper",func:a}],$n.prototype.clone=function(){var e=new $n(this.__wrapped__);return e.__actions__=xa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=xa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=xa(this.__views__),e},$n.prototype.reverse=function(){if(this.__filtered__){var e=new $n(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},$n.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=$o(e),r=t<0,a=n?e.length:0,i=function(e,t,n){var r=-1,a=n.length;for(;++r=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,n=this;n instanceof jn;){var r=Ni(n);r.__index__=0,r.__values__=a,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof $n){var t=e;return this.__actions__.length&&(t=new $n(this)),(t=t.reverse()).__actions__.push({func:po,args:[eo],thisArg:a}),new Un(t,this.__chain__)}return this.thru(eo)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return ma(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,Ze&&(Vn.prototype[Ze]=function(){return this}),Vn}();mt._=yn,(r=function(){return yn}.call(t,n,t,e))===a||(e.exports=r)}.call(this)},2770:(e,t,n)=>{"use strict";n.r(t),n.d(t,{captionMixin:()=>c,props:()=>l});var r=n(2448),a=n(80072),i=n(94159),o=n(41897),s=n(1340),l={caption:(0,s.makeProp)(a.PROP_TYPE_STRING),captionHtml:(0,s.makeProp)(a.PROP_TYPE_STRING)},c=(0,r.extend)({props:l,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var e=this.caption,t=this.captionHtml,n=this.$createElement,r=n(),a=this.hasNormalizedSlot(i.SLOT_NAME_TABLE_CAPTION);return(a||e||t)&&(r=n("caption",{attrs:{id:this.captionId},domProps:a?{}:(0,o.htmlOrText)(t,e),key:"caption",ref:"caption"},this.normalizeSlot(i.SLOT_NAME_TABLE_CAPTION))),r}}})},2890:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BToast:()=>N,props:()=>z});var r,a=n(42197),i=n(2448),o=n(49800),s=n(87013),l=n(80072),c=n(94159),u=n(72339),d=n(71402),h=n(87057),f=n(28014),p=n(38199),m=n(89821),g=n(91671),v=n(1340),y=n(37097),b=n(90858),_=n(64211),I=n(81074),T=n(60213),w=n(48917),E=n(31931),M=n(60837),k=n(66344),S=n(34877),P=n(79237);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return new u.BvEvent(e,x(x({cancelable:!1,target:this.$el||null,relatedTarget:null},t),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(e){var t=e.type;this.emitOnRoot((0,h.getRootEventName)(o.NAME_TOAST,t),e),this.$emit(t,e)},ensureToaster:function(){if(!this.static){var e=this.computedToaster;if(!a.Wormhole.hasTarget(e)){var t=document.createElement("div");document.body.appendChild(t),(0,b.createNewChildComponent)(this.bvEventRoot,P.BToaster,{propsData:{name:e}}).$mount(t)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(e){var t=this.$refs["b-toast"];(0,h.eventOnOff)(e,t,"mouseenter",this.onPause,s.EVENT_OPTIONS_NO_CAPTURE),(0,h.eventOnOff)(e,t,"mouseleave",this.onUnPause,s.EVENT_OPTIONS_NO_CAPTURE)},onPause:function(){if(!this.noAutoHide&&!this.noHoverPause&&this.$_dismissTimer&&!this.resumeDismiss){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=(0,f.mathMax)(this.computedDuration-e,1e3))}},onUnPause:function(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var e=this;this.$nextTick((function(){(0,d.requestAF)((function(){e.hide()}))}))},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var e=this.buildEvent(s.EVENT_NAME_SHOWN);this.emitEvent(e),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var e=this.buildEvent(s.EVENT_NAME_HIDDEN);this.emitEvent(e),this.doRender=!1},makeToast:function(e){var t=this,n=this.title,r=this.slotScope,a=(0,y.isLink)(this),o=[],s=this.normalizeSlot(c.SLOT_NAME_TOAST_TITLE,r);s?o.push(s):n&&o.push(e("strong",{staticClass:"mr-2"},n)),this.noCloseButton||o.push(e(M.BButtonClose,{staticClass:"ml-auto mb-1",on:{click:function(){t.hide()}}}));var l=e();o.length>0&&(l=e(this.headerTag,{staticClass:"toast-header",class:this.headerClass},o));var u=e(a?k.BLink:"div",{staticClass:"toast-body",class:this.bodyClass,props:a?(0,v.pluckProps)(F,this):{},on:a?{click:this.onLinkClick}:{}},this.normalizeSlot(c.SLOT_NAME_DEFAULT,r));return e("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this[i.COMPONENT_UID_KEY]),ref:"toast"},[l,u])}},render:function(e){if(!this.doRender||!this.isMounted)return e();var t=this.order,n=this.static,r=this.isHiding,o=this.isStatus,s="b-toast-".concat(this[i.COMPONENT_UID_KEY]),l=e("div",{staticClass:"b-toast",class:this.toastClasses,attrs:x(x({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:r?null:o?"status":"alert","aria-live":r?null:o?"polite":"assertive","aria-atomic":r?null:"true"}),key:s,ref:"b-toast"},[e(S.BVTransition,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(e):e()])]);return e(a.Portal,{props:{name:s,to:this.computedToaster,order:t,slim:!0,disabled:n}},[l])}})},3035:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:r?a[n][0]:a[n][1]}e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(95093))},3086:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BModal:()=>q,props:()=>W});var r=n(2448),a=n(49800),i=n(85493),o=n(87013),s=n(36714),l=n(80072),c=n(48789),u=n(94159),d=n(17079),h=n(71402),f=n(87057),p=n(41897),m=n(58494),g=n(46710),v=n(38199),y=n(91671),b=n(74923),_=n(1340),I=n(64211),T=n(81074),w=n(44896),E=n(60213),M=n(74557),k=n(48917),S=n(31931),P=n(75532),A=n(60837),x=n(34877),B=n(80018),L=n(7702),O=n(73886);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=(0,b.observeDom)(this.$refs.content,this.checkModalOverflow.bind(this),G))},updateModel:function(e){e!==this[H]&&this.$emit(V,e)},buildEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new L.BvModalEvent(e,D(D({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},t),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once(o.EVENT_NAME_HIDDEN,this.show);else{this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var e=this.buildEvent(o.EVENT_NAME_SHOW,{cancelable:!0});if(this.emitEvent(e),e.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var t=this.buildEvent(o.EVENT_NAME_HIDE,{cancelable:"FORCE"!==e,trigger:e||null});if(e===U?this.$emit(o.EVENT_NAME_OK,t):e===Y?this.$emit(o.EVENT_NAME_CANCEL,t):e===j&&this.$emit(o.EVENT_NAME_CLOSE,t),this.emitEvent(t),t.defaultPrevented||!this.isVisible)return this.isClosing=!1,void this.updateModel(!0);this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(e){e&&(this.$_returnFocus=e),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var e=(0,h.getActiveElement)(i.IS_BROWSER?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;O.modalManager.modalsAreOpen&&this.noStacking?this.listenOnRootOnce((0,f.getRootEventName)(a.NAME_MODAL,o.EVENT_NAME_HIDDEN),this.doShow):(O.modalManager.registerModal(this),this.isHidden=!1,this.$nextTick((function(){e.isVisible=!0,e.isOpening=!1,e.updateModel(!0),e.$nextTick((function(){e.setObserver(!0)}))})))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var e=this;this.isBlock=!0,(0,h.requestAF)((function(){(0,h.requestAF)((function(){e.isShow=!0}))}))},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,(0,h.requestAF)((function(){e.emitEvent(e.buildEvent(o.EVENT_NAME_SHOWN)),e.setEnforceFocus(!0),e.$nextTick((function(){e.focusFirst()}))}))},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var e=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick((function(){e.isClosing=!1,O.modalManager.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent(o.EVENT_NAME_HIDDEN))}))},emitEvent:function(e){var t=e.type;this.emitOnRoot((0,f.getRootEventName)(a.NAME_MODAL,t),e,e.componentId),this.$emit(t,e)},onDialogMousedown:function(){var e=this,t=this.$refs.modal;(0,f.eventOn)(t,"mouseup",(function n(r){(0,f.eventOff)(t,"mouseup",n,o.EVENT_OPTIONS_NO_CAPTURE),r.target===t&&(e.ignoreBackdropClick=!0)}),o.EVENT_OPTIONS_NO_CAPTURE)},onClickOut:function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&(0,h.contains)(document.body,e.target)&&((0,h.contains)(this.$refs.content,e.target)||this.hide("backdrop"))},onOk:function(){this.hide(U)},onCancel:function(){this.hide(Y)},onClose:function(){this.hide(j)},onEsc:function(e){e.keyCode===s.CODE_ESC&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(e){var t=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!t||document===n||(0,h.contains)(t,n)||this.computeIgnoreEnforceFocusSelector&&(0,h.closest)(this.computeIgnoreEnforceFocusSelector,n,!0))){var r=(0,h.getTabables)(this.$refs.content),a=this.$refs["bottom-trap"],i=this.$refs["top-trap"];if(a&&n===a){if((0,h.attemptFocus)(r[0]))return}else if(i&&n===i&&(0,h.attemptFocus)(r[r.length-1]))return;(0,h.attemptFocus)(t,{preventScroll:!0})}},setEnforceFocus:function(e){this.listenDocument(e,"focusin",this.focusHandler)},setResizeEvent:function(e){this.listenWindow(e,"resize",this.checkModalOverflow),this.listenWindow(e,"orientationchange",this.checkModalOverflow)},showHandler:function(e,t){e===this.modalId&&(this.$_returnFocus=t||this.getActiveElement(),this.show())},hideHandler:function(e){e===this.modalId&&this.hide("event")},toggleHandler:function(e,t){e===this.modalId&&this.toggle(t)},modalListener:function(e){this.noStacking&&e.vueTarget!==this&&this.hide()},focusFirst:function(){var e=this;i.IS_BROWSER&&(0,h.requestAF)((function(){var t=e.$refs.modal,n=e.$refs.content,r=e.getActiveElement();if(t&&n&&(!r||!(0,h.contains)(n,r))){var a=e.$refs["ok-button"],i=e.$refs["cancel-button"],o=e.$refs["close-button"],s=e.autoFocusButton,l=s===U&&a?a.$el||a:s===Y&&i?i.$el||i:s===j&&o?o.$el||o:n;(0,h.attemptFocus)(l),l===n&&e.$nextTick((function(){t.scrollTop=0}))}}))},returnFocusTo:function(){var e=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick((function(){(e=(0,g.isString)(e)?(0,h.select)(e):e)&&(e=e.$el||e,(0,h.attemptFocus)(e))}))},checkModalOverflow:function(){if(this.isVisible){var e=this.$refs.modal;this.isModalOverflowing=e.scrollHeight>document.documentElement.clientHeight}},makeModal:function(e){var t=e();if(!this.hideHeader){var n=this.normalizeSlot(u.SLOT_NAME_MODAL_HEADER,this.slotScope);if(!n){var a=e();this.hideHeaderClose||(a=e(A.BButtonClose,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot(u.SLOT_NAME_MODAL_HEADER_CLOSE)])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot(u.SLOT_NAME_MODAL_TITLE)?{}:(0,p.htmlOrText)(this.titleHtml,this.title)},this.normalizeSlot(u.SLOT_NAME_MODAL_TITLE,this.slotScope)),a]}t=e(this.headerTag,{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var i=e("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot(u.SLOT_NAME_DEFAULT,this.slotScope)),o=e();if(!this.hideFooter){var s=this.normalizeSlot(u.SLOT_NAME_MODAL_FOOTER,this.slotScope);if(!s){var l=e();this.okOnly||(l=e(P.BButton,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(u.SLOT_NAME_MODAL_CANCEL)?{}:(0,p.htmlOrText)(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot(u.SLOT_NAME_MODAL_CANCEL))),s=[l,e(P.BButton,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(u.SLOT_NAME_MODAL_OK)?{}:(0,p.htmlOrText)(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot(u.SLOT_NAME_MODAL_OK))]}o=e(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[s])}var c=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[t,i,o]),d=e(),h=e();this.isVisible&&!this.noEnforceFocus&&(d=e("span",{attrs:{tabindex:"0"},ref:"top-trap"}),h=e("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var f=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[d,c,h]),m=e("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[f]);m=e("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[m]);var g=e();return!this.hideBackdrop&&this.isVisible&&(g=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot(u.SLOT_NAME_MODAL_BACKDROP))),g=e(x.BVTransition,{props:{noFade:this.noFade}},[g]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this[r.COMPONENT_UID_KEY])},[m,g])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(B.BVTransporter,[this.makeModal(e)])}})},3254:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BPagination:()=>r.BPagination,PaginationPlugin:()=>a});var r=n(24392),a=(0,n(96266).pluginFactory)({components:{BPagination:r.BPagination}})},3272:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VBHover:()=>d});var r=n(85493),a=n(87013),i=n(87057),o=n(46710),s="__BV_hover_handler__",l="mouseenter",c=function(e,t,n){(0,i.eventOnOff)(e,t,l,n,a.EVENT_OPTIONS_NO_CAPTURE),(0,i.eventOnOff)(e,t,"mouseleave",n,a.EVENT_OPTIONS_NO_CAPTURE)},u=function(e,t){var n=t.value,a=void 0===n?null:n;if(r.IS_BROWSER){var i=e[s],u=(0,o.isFunction)(i),d=!(u&&i.fn===a);u&&d&&(c(!1,e,i),delete e[s]),(0,o.isFunction)(a)&&d&&(e[s]=function(e){var t=function(t){e(t.type===l,t)};return t.fn=e,t}(a),c(!0,e,e[s]))}},d={bind:u,componentUpdated:u,unbind:function(e){u(e,{value:null})}}},3289:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useParentMixin:()=>r});var r=(0,n(2448).extend)({computed:{bvParent:function(){return this.$parent||this.$root===this&&this.$options.bvParent}}})},3317:(e,t,n)=>{"use strict";n.r(t),n.d(t,{props:()=>i,stackedMixin:()=>o});var r=n(2448),a=n(80072);var i={stacked:(0,n(1340).makeProp)(a.PROP_TYPE_BOOLEAN_STRING,!1)},o=(0,r.extend)({props:i,computed:{isStacked:function(){var e=this.stacked;return""===e||e},isStackedAlways:function(){return!0===this.isStacked},stackedTableClasses:function(){var e,t,n,r=this.isStackedAlways;return e={"b-table-stacked":r},t="b-table-stacked-".concat(this.stacked),n=!r&&this.isStacked,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}}})},3322:function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var i,o=t.words[r];return 1===r.length?"y"===r&&n?"једна година":a||n?o[0]:o[1]:(i=t.correctGrammaticalCase(e,o),"yy"===r&&n&&"годину"===i?e+" година":e+" "+i)}};e.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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(95093))},3508:function(e,t,n){!function(e){"use strict";e.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(95093))},3514:e=>{e.exports=function(){var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(t,n,r){var a;return r=r||{},a="string"==typeof e[t]?e[t]:1===n?e[t].one:e[t].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"in "+a:a+" ago":a}}}},4057:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getEnv:()=>a,getNoWarn:()=>i});var r=n(65606),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=void 0!==r&&r&&r.env||{};return e?n[e]||t:n},i=function(){return a("BOOTSTRAP_VUE_NO_WARN")||"production"===a("NODE_ENV")}},4717:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MediaEditor:()=>r.a,MediaEditorAdjustmentsMenu:()=>c,MediaEditorCropper:()=>s,MediaEditorFilterMenu:()=>l,MediaEditorPreview:()=>o});var r=n(44689),a=n(65005);const i=(e,t,n)=>({name:t,props:{editor:{type:r.a,required:!0},sourceIndex:{type:Number,default:0},...n},beforeCreate(){this.scope=(0,a.createEffectScope)(),this._sourceIndex=(0,a.ref)(0)},mounted(){this.scope.run((()=>(0,r.r)(e,{editor:(0,r.u)(this.editor),sourceIndex:this._sourceIndex,showAllSources:!1,...this._extraProps},this.$el)))},render:e=>e("div"),watch:{sourceIndex:{handler(e){this._sourceIndex.value=e},immediate:!0},...null!=n},destroyed(){this.scope.stop()}}),o=i(r.S,"media-editor-preview"),s=i(r.C,"media-editor-cropper"),l=i(r.F,"media-editor-filter-menu"),c=i(r.A,"media-editor-adjustments-menu")},5646:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(85072),a=n.n(r),i=n(21951),o={insert:"head",singleton:!1};a()(i.default,o);const s=i.default.locals||{}},5784:function(e,t,n){!function(e){"use strict";var t="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 r(e){return e>1&&e<5}function a(e,t,n,a){var i=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?i+(r(e)?"sekundy":"sekúnd"):i+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?i+(r(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?i+(r(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?i+(r(e)?"dni":"dní"):i+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?i+(r(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?i+(r(e)?"roky":"rokov"):i+"rokmi"}}e.defineLocale("sk",{months:t,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:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(95093))},5794:(e,t,n)=>{"use strict";n.r(t),n.d(t,{fs:()=>d});var r=n(61965),a=n(12684),i=n(54152),o=n(34591),s=n(70048);class l{constructor(e,t,n,r){const a=this;if(e.root&&r&&r.getChildByName(t))throw new Error("Entry filename already exists");n||(n={}),Object.assign(a,{fs:e,name:t,data:n.data,options:n.options,id:e.entries.length,parent:r,children:[],uncompressedSize:n.uncompressedSize||0,passThrough:n.passThrough}),e.entries.push(a),r&&a.parent.children.push(a)}moveTo(e){this.fs.move(this,e)}getFullname(){return this.getRelativeName()}getRelativeName(e=this.fs.root){let t=this.name,n=this.parent;for(;n&&n!=e;)t=(n.name?n.name+"/":"")+t,n=n.parent;return t}isDescendantOf(e){let t=this.parent;for(;t&&t.id!=e.id;)t=t.parent;return Boolean(t)}rename(e){const t=this.parent;if(t&&t.getChildByName(e))throw new Error("Entry filename already exists");this.name=e}}class c extends l{constructor(e,t,n,r){super(e,t,n,r);const a=this;a.Reader=n.Reader,a.Writer=n.Writer,n.getData&&(a.getData=n.getData)}clone(){return new c(this.fs,this.name,this)}async getData(e,t={}){const n=this;if(!e||e.constructor==n.Writer&&n.data)return n.data;{const a=n.reader=new n.Reader(n.data,t),i=n.data?n.data.uncompressedSize:a.size;await Promise.all([(0,r.initStream)(a),(0,r.initStream)(e,i)]);const o=a.readable;return o.size=n.uncompressedSize=a.size,await o.pipeTo(e.writable),e.getData?e.getData():e.writable}}isPasswordProtected(){return this.data.encrypted}async checkPassword(e,t={}){const n=this;if(!n.isPasswordProtected())return!0;t.password=e,t.checkPasswordOnly=!0;try{return await n.data.getData(null,t),!0}catch(e){if(e.message==a.ERR_INVALID_PASSWORD)return!1;throw e}}getText(e,t){return this.getData(new r.TextWriter(e),t)}getBlob(e,t){return this.getData(new r.BlobWriter(e),t)}getData64URI(e,t){return this.getData(new r.Data64URIWriter(e),t)}getUint8Array(e){return this.getData(new r.Uint8ArrayWriter,e)}getWritable(e=new WritableStream,t){return this.getData({writable:e},t)}replaceBlob(e){Object.assign(this,{data:e,Reader:r.BlobReader,Writer:r.BlobWriter,reader:null})}replaceText(e){Object.assign(this,{data:e,Reader:r.TextReader,Writer:r.TextWriter,reader:null})}replaceData64URI(e){Object.assign(this,{data:e,Reader:r.Data64URIReader,Writer:r.Data64URIWriter,reader:null})}replaceUint8Array(e){Object.assign(this,{data:e,Reader:r.Uint8ArrayReader,Writer:r.Uint8ArrayWriter,reader:null})}replaceReadable(e){Object.assign(this,{data:null,Reader:function(){return{readable:e}},Writer:null,reader:null})}}class u extends l{constructor(e,t,n,r){super(e,t,n,r),this.directory=!0}clone(e){const t=this,n=new u(t.fs,t.name);return e&&(n.children=t.children.map((t=>{const r=t.clone(e);return r.parent=n,r}))),n}addDirectory(e,t){return y(this,e,{options:t},!0)}addText(e,t,n={}){return y(this,e,{data:t,Reader:r.TextReader,Writer:r.TextWriter,options:n,uncompressedSize:t.length})}addBlob(e,t,n={}){return y(this,e,{data:t,Reader:r.BlobReader,Writer:r.BlobWriter,options:n,uncompressedSize:t.size})}addData64URI(e,t,n={}){let a=t.length;for(;"="==t.charAt(a-1);)a--;const i=t.indexOf(",")+1;return y(this,e,{data:t,Reader:r.Data64URIReader,Writer:r.Data64URIWriter,options:n,uncompressedSize:Math.floor(.75*(a-i))})}addUint8Array(e,t,n={}){return y(this,e,{data:t,Reader:r.Uint8ArrayReader,Writer:r.Uint8ArrayWriter,options:n,uncompressedSize:t.length})}addHttpContent(e,t,n={}){return y(this,e,{data:t,Reader:class extends r.HttpReader{constructor(e){super(e,n)}},options:n})}addReadable(e,t,n={}){return y(this,e,{Reader:function(){return{readable:t}},options:n})}addFileSystemEntry(e,t={}){return m(this,e,t)}addFileSystemHandle(e,t={}){return m(this,e,t)}addFile(e,t={}){return t.lastModDate||(t.lastModDate=new Date(e.lastModified)),y(this,e.name,{data:e,Reader:function(){return{readable:e.stream(),size:e.size}},options:t,uncompressedSize:e.size})}addData(e,t){return y(this,e,t)}importBlob(e,t){return this.importZip(new r.BlobReader(e),t)}importData64URI(e,t){return this.importZip(new r.Data64URIReader(e),t)}importUint8Array(e,t){return this.importZip(new r.Uint8ArrayReader(e),t)}importHttpContent(e,t){return this.importZip(new r.HttpReader(e,t),t)}importReadable(e,t){return this.importZip({readable:e},t)}exportBlob(e={}){return this.exportZip(new r.BlobWriter(e.mimeType||"application/zip"),e)}exportData64URI(e={}){return this.exportZip(new r.Data64URIWriter(e.mimeType||"application/zip"),e)}exportUint8Array(e={}){return this.exportZip(new r.Uint8ArrayWriter,e)}async exportWritable(e=new WritableStream,t={}){return await this.exportZip({writable:e},t),e}async importZip(e,t={}){await(0,r.initStream)(e);const n=new a.ZipReader(e,t),i=[],o=await n.getEntries();for(const e of o){let n=this;try{const r=e.filename.split("/"),a=r.pop();r.forEach(((t,a)=>{const o=n;n=n.getChildByName(t),n||(n=new u(this.fs,t,{data:a==r.length-1?e:null},o),i.push(n))})),e.directory||i.push(y(n,a,{data:e,Reader:h(Object.assign({},t)),uncompressedSize:e.uncompressedSize,passThrough:t.passThrough}))}catch(t){try{t.cause={entry:e}}catch(e){}throw t}}return i}async exportZip(e,t){const n=this;t.bufferedWrite===s.UNDEFINED_VALUE&&(t.bufferedWrite=!0),await Promise.all([f(n,t.readerOptions),(0,r.initStream)(e)]);const a=new i.ZipWriter(e,t);return await async function(e,t,n,r){const a=t,i=new Map;async function s(e,t){async function l(){if(r.bufferedWrite)await Promise.allSettled(t.children.map(c));else for(const e of t.children)await c(e)}async function c(t){const l=r.relativePath?t.getRelativeName(a):t.getFullname(),c=t.options||{};let u={};if(t.data instanceof o.Entry){const{externalFileAttributes:e,versionMadeBy:n,comment:r,lastModDate:a,creationDate:i,lastAccessDate:o,uncompressedSize:s,encrypted:l,zipCrypto:c,signature:d,compressionMethod:h,extraFieldAES:f}=t.data;if(u={externalFileAttributes:e,versionMadeBy:n,comment:r,lastModDate:a,creationDate:i,lastAccessDate:o},t.passThrough){let e,t;0===h&&(e=0),f&&(t=f.strength),u=Object.assign(u,{passThrough:!0,encrypted:l,zipCrypto:c,signature:d,uncompressedSize:s,level:e,encryptionStrength:t,compressionMethod:h})}}await e.add(l,t.reader,Object.assign({directory:t.directory},Object.assign({},r,u,c,{onprogress:async e=>{if(r.onprogress){i.set(l,e);try{await r.onprogress(Array.from(i.values()).reduce(((e,t)=>e+t)),n)}catch(e){}}}}))),await s(e,t)}await l()}await s(e,t)}(a,n,function(e,t){let n=0;return e.forEach(r),n;function r(e){n+=e[t],e.children&&e.children.forEach(r)}}([n],"uncompressedSize"),t),await a.close(),e.getData?e.getData():e.writable}getChildByName(e){const t=this.children;for(let n=0;nn.checkPassword(e,t))))).includes(!1)}}const d={FS:class{constructor(){v(this)}get children(){return this.root.children}remove(e){p(e),this.entries[e.id]=null}move(e,t){if(e==this.root)throw new Error("Root directory cannot be moved");if(!t.directory)throw new Error("Target entry is not a directory");if(t.isDescendantOf(e))throw new Error("Entry is a ancestor of target entry");if(e!=t){if(t.getChildByName(e.name))throw new Error("Entry filename already exists");p(e),e.parent=t,t.children.push(e)}}find(e){const t=e.split("/");let n=this.root;for(let e=0;n&&e{if(e.directory)await f(e,t);else{const n=e.reader=new e.Reader(e.data,t);try{await(0,r.initStream)(n)}catch(t){try{t.entryId=e.id,t.cause={entry:e}}catch(e){}throw t}e.uncompressedSize=n.size}})))}function p(e){if(e.parent){const t=e.parent.children;t.forEach(((n,r)=>{n.id==e.id&&t.splice(r,1)}))}}function m(e,t,n){return async function e(t,r,a){if(r)try{if((r.isFile||r.isDirectory)&&(r=await g(r)),"file"==r.kind){const e=await r.getFile();a.push(t.addData(e.name,{Reader:function(){return{readable:e.stream(),size:e.size}},options:Object.assign({},{lastModDate:new Date(e.lastModified)},n),uncompressedSize:e.size}))}else if("directory"==r.kind){const n=t.addDirectory(r.name);a.push(n);for await(const t of r.values())await e(n,t,a)}}catch(e){const t=e.message+(r?" ("+r.name+")":"");throw new Error(t)}return a}(e,t,[])}async function g(e){const t={name:e.name};if(e.isFile&&(t.kind="file",t.getFile=()=>new Promise(((t,n)=>e.file(t,n)))),e.isDirectory){t.kind="directory";const n=await async function(e){const t=[];function n(e,r,a){e.readEntries((async i=>{if(i.length){for(const e of i)t.push(await g(e));n(e,r,a)}else r(t)}),a)}return await new Promise(((t,r)=>n(e.createReader(),t,r))),{[Symbol.iterator](){let e=0;return{next(){const n={value:t[e],done:e===t.length};return e++,n}}}}}(e);t.values=()=>n}return t}function v(e){e.entries=[],e.root=new u(e)}function y(e,t,n,r){if(e.directory)return r?new u(e.fs,t,n,e):new c(e.fs,t,n,e);throw new Error("Parent entry is not a directory")}},6181:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?a[n][0]:a[n][1]}function n(e){var t=(e=""+e).substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,t,n){return e<12?n?"bn":"BN":n?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var r=t.toLowerCase();return r.includes("w")||r.includes("m")?e+".":e+n(e)},week:{dow:1,doy:4}})}(n(95093))},6947:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-ps",{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(e){return"م"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(e){return n[e]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(95093))},7306:function(e,t,n){!function(e){"use strict";e.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(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(95093))},7662:(e,t,n)=>{"use strict";n.r(t),n.d(t,{paginationMixin:()=>u,props:()=>c});var r=n(2448),a=n(80072),i=n(28014),o=n(89821),s=n(1340),l=n(42714),c={currentPage:(0,s.makeProp)(a.PROP_TYPE_NUMBER_STRING,1),perPage:(0,s.makeProp)(a.PROP_TYPE_NUMBER_STRING,0)},u=(0,r.extend)({props:c,computed:{localPaging:function(){return!this.hasProvider||!!this.noProviderPaging},paginatedItems:function(){var e=(0,l.safeVueInstance)(this),t=e.sortedItems,n=e.filteredItems,r=e.localItems,a=t||n||r||[],s=(0,i.mathMax)((0,o.toInteger)(this.currentPage,1),1),c=(0,i.mathMax)((0,o.toInteger)(this.perPage,0),0);return this.localPaging&&c&&(a=a.slice((s-1)*c,s*c)),a}}})},7702:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BvModalEvent:()=>m});var r=n(72339),a=n(91671);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),t=i.call(this,e,n),(0,a.defineProperties)(f(t),{trigger:(0,a.readonlyDescriptor)()}),t}return t=o,r=[{key:"Defaults",get:function(){return s(s({},u(p(o),"Defaults",this)),{},{trigger:null})}}],(n=null)&&c(t.prototype,n),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),o}(r.BvEvent)},7914:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BTfoot:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=n(64211),l=n(32878),c=n(48917);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<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(95093))},8813:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormDatepicker:()=>r.BFormDatepicker,FormDatepickerPlugin:()=>a});var r=n(12642),a=(0,n(96266).pluginFactory)({components:{BFormDatepicker:r.BFormDatepicker,BDatepicker:r.BFormDatepicker}})},8986:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormFile:()=>U});var r,a=n(2448),i=n(49800),o=n(85493),s=n(87013),l=n(80072),c=n(94159),u=n(41817),d=n(48789),h=n(17079),f=n(57938),p=n(71402),m=n(87057),g=n(58494),v=n(46710),y=n(60277),b=n(38199),_=n(91671),I=n(1340),T=n(59809),w=n(24032),E=n(64211),M=n(42545),k=n(44337),S=n(69849),P=n(81074),A=n(48917),x=n(62579);function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"";return new Promise((function(r){var a=[];!function i(){t.readEntries((function(t){0===t.length?r(Promise.all(a).then((function(e){return(0,h.flatten)(e)}))):(a.push(Promise.all(t.map((function(t){if(t){if(t.isDirectory)return e(t.createReader(),"".concat(n).concat(t.name,"/"));if(t.isFile)return new Promise((function(e){t.file((function(t){t.$path="".concat(n).concat(t.name),e(t)}))}))}return null})).filter(g.identity))),i())}))}()}))},j=(0,I.makePropsConfigurable)((0,_.sortKeys)(L(L(L(L(L(L(L({},P.props),R),M.props),k.props),S.props),x.props),{},{accept:(0,I.makeProp)(l.PROP_TYPE_STRING,""),browseText:(0,I.makeProp)(l.PROP_TYPE_STRING,"Browse"),capture:(0,I.makeProp)(l.PROP_TYPE_BOOLEAN,!1),directory:(0,I.makeProp)(l.PROP_TYPE_BOOLEAN,!1),dropPlaceholder:(0,I.makeProp)(l.PROP_TYPE_STRING,"Drop files here"),fileNameFormatter:(0,I.makeProp)(l.PROP_TYPE_FUNCTION),multiple:(0,I.makeProp)(l.PROP_TYPE_BOOLEAN,!1),noDrop:(0,I.makeProp)(l.PROP_TYPE_BOOLEAN,!1),noDropPlaceholder:(0,I.makeProp)(l.PROP_TYPE_STRING,"Not allowed"),noTraverse:(0,I.makeProp)(l.PROP_TYPE_BOOLEAN,!1),placeholder:(0,I.makeProp)(l.PROP_TYPE_STRING,"No file chosen")})),i.NAME_FORM_FILE),U=(0,a.extend)({name:i.NAME_FORM_FILE,mixins:[E.attrsMixin,P.idMixin,D,A.normalizeSlotMixin,M.formControlMixin,S.formStateMixin,k.formCustomMixin,A.normalizeSlotMixin],inheritAttrs:!1,props:j,data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var e=this.accept;return 0===(e=(e||"").trim().split(/[,\s]+/).filter(g.identity)).length?null:e.map((function(e){var t="name",n="^",r="$";return u.RX_EXTENSION.test(e)?n="":(t="type",u.RX_STAR.test(e)&&(r=".+$",e=e.slice(0,-1))),e=(0,T.escapeRegExp)(e),{rx:new RegExp("".concat(n).concat(e).concat(r)),prop:t}}))},computedCapture:function(){var e=this.capture;return!0===e||""===e||(e||null)},computedAttrs:function(){var e=this.name,t=this.disabled,n=this.required,r=this.form,a=this.computedCapture,i=this.accept,o=this.multiple,s=this.directory;return L(L({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:e,disabled:t,required:n,form:r||null,capture:a,accept:i||null,multiple:o,directory:s,webkitdirectory:s,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var e=this.fileNameFormatter;return(0,I.hasPropFunction)(e)?e:this.defaultFileNameFormatter},clonedFiles:function(){return(0,f.cloneDeep)(this.files)},flattenedFiles:function(){return(0,h.flattenDeep)(this.files)},fileNames:function(){return this.flattenedFiles.map((function(e){return e.name}))},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot(c.SLOT_NAME_DROP_PLACEHOLDER,{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(0===this.files.length)return this.normalizeSlot(c.SLOT_NAME_PLACEHOLDER)||this.placeholder;var e=this.flattenedFiles,t=this.clonedFiles,n=this.fileNames,r=this.computedFileNameFormatter;return this.hasNormalizedSlot(c.SLOT_NAME_FILE_NAME)?this.normalizeSlot(c.SLOT_NAME_FILE_NAME,{files:e,filesTraversed:t,names:n}):r(e,t,n)}},watch:(r={},O(r,F,(function(e){(!e||(0,v.isArray)(e)&&0===e.length)&&this.reset()})),O(r,"files",(function(e,t){if(!(0,y.looseEqual)(e,t)){var n=this.multiple,r=this.noTraverse,a=!n||r?(0,h.flattenDeep)(e):e;this.$emit(z,n?a:a[0]||null)}})),r),created:function(){this.$_form=null},mounted:function(){var e=(0,p.closest)("form",this.$el);e&&((0,m.eventOn)(e,"reset",this.reset,s.EVENT_OPTIONS_PASSIVE),this.$_form=e)},beforeDestroy:function(){var e=this.$_form;e&&(0,m.eventOff)(e,"reset",this.reset,s.EVENT_OPTIONS_PASSIVE)},methods:{isFileValid:function(e){if(!e)return!1;var t=this.computedAccept;return!t||t.some((function(t){return t.rx.test(e[t.prop])}))},isFilesArrayValid:function(e){var t=this;return(0,v.isArray)(e)?e.every((function(e){return t.isFileValid(e)})):this.isFileValid(e)},defaultFileNameFormatter:function(e,t,n){return n.join(", ")},setFiles:function(e){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?e:(0,h.flattenDeep)(e):(0,h.flattenDeep)(e).slice(0,1)},setInputFiles:function(e){try{var t=new ClipboardEvent("").clipboardData||new DataTransfer;(0,h.flattenDeep)((0,f.cloneDeep)(e)).forEach((function(e){delete e.$path,t.items.add(e)})),this.$refs.input.files=t.files}catch(e){}},reset:function(){try{var e=this.$refs.input;e.value="",e.type="",e.type="file"}catch(e){}this.files=[]},handleFiles:function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var t=e.filter(this.isFilesArrayValid);t.length>0&&(this.setFiles(t),this.setInputFiles(t))}else this.setFiles(e)},focusHandler:function(e){this.plain||"focusout"===e.type?this.hasFocus=!1:this.hasFocus=!0},onChange:function(e){var t=this,n=e.type,r=e.target,a=e.dataTransfer,i=void 0===a?{}:a,l="drop"===n;this.$emit(s.EVENT_NAME_CHANGE,e);var c=(0,h.from)(i.items||[]);if(o.HAS_PROMISE_SUPPORT&&c.length>0&&!(0,v.isNull)(V(c[0])))(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.all((0,h.from)(e).filter((function(e){return"file"===e.kind})).map((function(e){var n=V(e);if(n){if(n.isDirectory&&t)return Y(n.createReader(),"".concat(n.name,"/"));if(n.isFile)return new Promise((function(e){n.file((function(t){t.$path="",e(t)}))}))}return null})).filter(g.identity))})(c,this.directory).then((function(e){return t.handleFiles(e,l)}));else{var u=(0,h.from)(r.files||i.files||[]).map((function(e){return e.$path=e.webkitRelativePath||"",e}));this.handleFiles(u,l)}},onDragenter:function(e){(0,m.stopEvent)(e),this.dragging=!0;var t=e.dataTransfer,n=void 0===t?{}:t;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragover:function(e){(0,m.stopEvent)(e),this.dragging=!0;var t=e.dataTransfer,n=void 0===t?{}:t;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragleave:function(e){var t=this;(0,m.stopEvent)(e),this.$nextTick((function(){t.dragging=!1,t.dropAllowed=!t.noDrop}))},onDrop:function(e){var t=this;(0,m.stopEvent)(e),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed?this.$nextTick((function(){t.dropAllowed=!t.noDrop})):this.onChange(e)}},render:function(e){var t=this.custom,n=this.plain,r=this.size,a=this.dragging,i=this.stateClass,o=this.bvAttrs,s=e("input",{class:[{"form-control-file":n,"custom-file-input":t,focus:t&&this.hasFocus},i],style:t?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(n)return s;var l=e("label",{staticClass:"custom-file-label",class:{dragging:a},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[e("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return e("div",{staticClass:"custom-file b-form-file",class:[O({},"b-custom-control-".concat(r),r),i,o.class],style:o.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[s,l])}})},9033:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(95093))},9084:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BNavbar:()=>f,props:()=>h});var r=n(2448),a=n(49800),i=n(80072),o=n(81586),s=n(71402),l=n(46710),c=n(1340),u=n(48917);function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=(0,c.makePropsConfigurable)({fixed:(0,c.makeProp)(i.PROP_TYPE_STRING),print:(0,c.makeProp)(i.PROP_TYPE_BOOLEAN,!1),sticky:(0,c.makeProp)(i.PROP_TYPE_BOOLEAN,!1),tag:(0,c.makeProp)(i.PROP_TYPE_STRING,"nav"),toggleable:(0,c.makeProp)(i.PROP_TYPE_BOOLEAN_STRING,!1),type:(0,c.makeProp)(i.PROP_TYPE_STRING,"light"),variant:(0,c.makeProp)(i.PROP_TYPE_STRING)},a.NAME_NAVBAR),f=(0,r.extend)({name:a.NAME_NAVBAR,mixins:[u.normalizeSlotMixin],provide:function(){var e=this;return{getBvNavbar:function(){return e}}},props:h,computed:{breakpointClass:function(){var e=this.toggleable,t=(0,o.getBreakpoints)()[0],n=null;return e&&(0,l.isString)(e)&&e!==t?n="navbar-expand-".concat(e):!1===e&&(n="navbar-expand"),n}},render:function(e){var t,n=this.tag,r=this.type,a=this.variant,i=this.fixed;return e(n,{staticClass:"navbar",class:[(t={"d-print":this.print,"sticky-top":this.sticky},d(t,"navbar-".concat(r),r),d(t,"bg-".concat(a),a),d(t,"fixed-".concat(i),i),t),this.breakpointClass],attrs:{role:(0,s.isTag)(n,"nav")?null:"navigation"}},[this.normalizeSlot()])}})},9357:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BVToastPlugin:()=>P});var r=n(49800),a=n(87013),i=n(3289),o=n(17079),s=n(81586),l=n(71402),c=n(87057),u=n(46710),d=n(91671),h=n(96266),f=n(24032),p=n(90858),m=n(92952),g=n(2890);function v(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};e&&!(0,f.warnNotClient)(w)&&function(e,n){if(!(0,f.warnNotClient)(w)){var a=(0,p.createNewChildComponent)(n,t,{propsData:b(b(b({},S((0,s.getComponentConfig)(r.NAME_TOAST))),(0,d.omit)(e,(0,d.keys)(k))),{},{static:!1,visible:!0})});(0,d.keys)(k).forEach((function(t){var r=e[t];(0,u.isUndefined)(r)||("title"===t&&(0,u.isString)(r)&&(r=[n.$createElement("strong",{class:"mr-2"},r)]),a.$slots[k[t]]=(0,o.concat)(r))}));var i=document.createElement("div");document.body.appendChild(i),a.$mount(i)}}(b(b({},S(n)),{},{toastContent:e}),this._vm)}},{key:"show",value:function(e){e&&this._root.$emit((0,c.getRootActionEventName)(r.NAME_TOAST,a.EVENT_NAME_SHOW),e)}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit((0,c.getRootActionEventName)(r.NAME_TOAST,a.EVENT_NAME_HIDE),e)}}],i&&v(n.prototype,i),l&&v(n,l),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.mixin({beforeCreate:function(){this[E]=new n(this)}}),(0,d.hasOwnProperty)(e.prototype,w)||(0,d.defineProperty)(e.prototype,w,{get:function(){return this&&this[E]||(0,f.warn)('"'.concat(w,'" must be accessed from a Vue instance "this" context.'),r.NAME_TOAST),this[E]}})}}})},9655:function(e,t,n){var r;e=n.nmd(e),function(){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof n.g&&n.g;a.global!==a&&a.window!==a&&a.self;var i,o=2147483647,s=36,l=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function p(e){throw new RangeError(d[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+m((e=e.replace(u,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],a=0,i=e.length;a=55296&&t<=56319&&a65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)})).join("")}function b(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,n){var r=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;r+=s)e=h(e/35);return h(r+36*e/(e+38))}function I(e){var t,n,r,a,i,l,c,u,d,f,m,g=[],v=e.length,b=0,I=128,T=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r=128&&p("not-basic"),g.push(e.charCodeAt(r));for(a=n>0?n+1:0;a=v&&p("invalid-input"),((u=(m=e.charCodeAt(a++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:s)>=s||u>h((o-b)/l))&&p("overflow"),b+=u*l,!(u<(d=c<=T?1:c>=T+26?26:c-T));c+=s)l>h(o/(f=s-d))&&p("overflow"),l*=f;T=_(b-i,t=g.length+1,0==i),h(b/t)>o-I&&p("overflow"),I+=h(b/t),b%=t,g.splice(b++,0,I)}return y(g)}function T(e){var t,n,r,a,i,l,c,u,d,m,g,y,I,T,w,E=[];for(y=(e=v(e)).length,t=128,n=0,i=72,l=0;l=t&&gh((o-n)/(I=r+1))&&p("overflow"),n+=(c-t)*I,t=c,l=0;lo&&p("overflow"),g==t){for(u=n,d=s;!(u<(m=d<=i?1:d>=i+26?26:d-i));d+=s)w=u-m,T=s-m,E.push(f(b(m+w%T,0))),u=h(w/T);E.push(f(b(u,0))),i=_(n,I,r==a),n=0,++r}++n,++t}return E.join("")}i={version:"1.4.1",ucs2:{decode:v,encode:y},decode:I,encode:T,toASCII:function(e){return g(e,(function(e){return c.test(e)?"xn--"+T(e):e}))},toUnicode:function(e){return g(e,(function(e){return l.test(e)?I(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},9656:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BDropdownItem:()=>y,props:()=>v});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(71402),l=n(91671),c=n(1340),u=n(64211),d=n(48917),h=n(66344);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{makePropCacheMixin:()=>u,makePropWatcher:()=>c});var r=n(2448),a=n(57938),i=n(60277),o=n(91671);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(e){return!e||0===(0,o.keys)(e).length},c=function(e){return{handler:function(t,n){if(!(0,i.looseEqual)(t,n))if(l(t)||l(n))this[e]=(0,a.cloneDeep)(t);else{for(var r in n)(0,o.hasOwnProperty)(t,r)||this.$delete(this.$data[e],r);for(var s in t)this.$set(this.$data[e],s,t[s])}}}},u=function(e,t){return(0,r.extend)({data:function(){return s({},t,(0,a.cloneDeep)(this[e]))},watch:s({},e,c(t))})}},9720:e=>{e.exports=function(e){var t=new Date(e.getTime()),n=t.getTimezoneOffset();return t.setSeconds(0,0),6e4*n+t.getTime()%6e4}},10410:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormSpinbutton:()=>N,props:()=>z});var r,a=n(2448),i=n(49800),o=n(87013),s=n(80072),l=n(36714),c=n(94159),u=n(17079),d=n(71402),h=n(87057),f=n(58494),p=n(46710),m=n(52094),g=n(28014),v=n(38199),y=n(89821),b=n(91671),_=n(1340),I=n(59809),T=n(64211),w=n(62579),E=n(69849),M=n(81074),k=n(48917),S=n(42545),P=n(61651);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t0?e:500},computedInterval:function(){var e=(0,y.toInteger)(this.repeatInterval,0);return e>0?e:100},computedThreshold:function(){return(0,g.mathMax)((0,y.toInteger)(this.repeatThreshold,10),1)},computedStepMultiplier:function(){return(0,g.mathMax)((0,y.toInteger)(this.repeatStepMultiplier,4),1)},computedPrecision:function(){var e=this.computedStep;return(0,g.mathFloor)(e)===e?0:(e.toString().split(".")[1]||"").length},computedMultiplier:function(){return(0,g.mathPow)(10,this.computedPrecision||0)},valueAsFixed:function(){var e=this.localValue;return(0,p.isNull)(e)?"":e.toFixed(this.computedPrecision)},computedLocale:function(){var e=(0,u.concat)(this.locale).filter(f.identity);return new Intl.NumberFormat(e).resolvedOptions().locale},computedRTL:function(){return(0,m.isLocaleRTL)(this.computedLocale)},defaultFormatter:function(){var e=this.computedPrecision;return new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:e,maximumFractionDigits:e,notation:"standard"}).format},computedFormatter:function(){var e=this.formatterFn;return(0,_.hasPropFunction)(e)?e:this.defaultFormatter},computedAttrs:function(){return x(x({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var e=this.spinId,t=this.localValue,n=this.computedRequired,r=this.disabled,a=this.state,i=this.computedFormatter,o=!(0,p.isNull)(t);return x(x({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:e,role:"spinbutton",tabindex:r?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":!1===a||!o&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":(0,I.toString)(this.computedMin),"aria-valuemax":(0,I.toString)(this.computedMax),"aria-valuenow":o?t:null,"aria-valuetext":o?i(t):null})}},watch:(r={},B(r,D,(function(e){this.localValue=(0,y.toFloat)(e,null)})),B(r,"localValue",(function(e){this.$emit(R,e)})),B(r,"disabled",(function(e){e&&this.clearRepeat()})),B(r,"readonly",(function(e){e&&this.clearRepeat()})),r),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||(0,d.attemptFocus)(this.$refs.spinner)},blur:function(){this.disabled||(0,d.attemptBlur)(this.$refs.spinner)},emitChange:function(){this.$emit(o.EVENT_NAME_CHANGE,this.localValue)},stepValue:function(e){var t=this.localValue;if(!this.disabled&&!(0,p.isNull)(t)){var n=this.computedStep*e,r=this.computedMin,a=this.computedMax,i=this.computedMultiplier,o=this.wrap;t=(0,g.mathRound)((t-r)/n)*n+r+n,t=(0,g.mathRound)(t*i)/i,this.localValue=t>a?o?r:a:t0&&void 0!==arguments[0]?arguments[0]:1,t=this.localValue;(0,p.isNull)(t)?this.localValue=this.computedMin:this.stepValue(1*e)},stepDown:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.localValue;(0,p.isNull)(t)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*e)},onKeydown:function(e){var t=e.keyCode,n=e.altKey,r=e.ctrlKey,a=e.metaKey;if(!(this.disabled||this.readonly||n||r||a)&&(0,u.arrayIncludes)(F,t)){if((0,h.stopEvent)(e,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),(0,u.arrayIncludes)([l.CODE_UP,l.CODE_DOWN],t)?(this.$_keyIsDown=!0,t===l.CODE_UP?this.handleStepRepeat(e,this.stepUp):t===l.CODE_DOWN&&this.handleStepRepeat(e,this.stepDown)):t===l.CODE_PAGEUP?this.stepUp(this.computedStepMultiplier):t===l.CODE_PAGEDOWN?this.stepDown(this.computedStepMultiplier):t===l.CODE_HOME?this.localValue=this.computedMin:t===l.CODE_END&&(this.localValue=this.computedMax)}},onKeyup:function(e){var t=e.keyCode,n=e.altKey,r=e.ctrlKey,a=e.metaKey;this.disabled||this.readonly||n||r||a||(0,u.arrayIncludes)(F,t)&&((0,h.stopEvent)(e,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(e,t){var n=this,r=e||{},a=r.type,i=r.button;if(!this.disabled&&!this.readonly){if("mousedown"===a&&i)return;this.resetTimers(),t(1);var o=this.computedThreshold,s=this.computedStepMultiplier,l=this.computedDelay,c=this.computedInterval;this.$_autoDelayTimer=setTimeout((function(){var e=0;n.$_autoRepeatTimer=setInterval((function(){t(e{"use strict";n.r(t),n.d(t,{BVFormBtnLabelControl:()=>E,props:()=>w});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(71402),l=n(87057),c=n(91671),u=n(1340),d=n(59809),h=n(91474),f=n(42545),p=n(62579),m=n(69849),g=n(81074),v=n(48917),y=n(3272),b=n(61651);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t=10?e:e+12},week:{dow:0,doy:6}})}(n(95093))},11063:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BTime:()=>r.BTime,TimePlugin:()=>a});var r=n(51974),a=(0,n(96266).pluginFactory)({components:{BTime:r.BTime}})},11442:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormInput:()=>E,props:()=>w});var r=n(2448),a=n(49800),i=n(80072),o=n(17079),s=n(71402),l=n(87057),c=n(91671),u=n(1340),d=n(42545),h=n(47798),f=n(62579),p=n(69849),m=n(67385),g=n(77580),v=n(81074),y=n(32878);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t9?r(e%10):e}function a(e,t){return 2===t?i(e):e}function i(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var o=[/^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],s=/^(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,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,c=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.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:h,fullWeekdaysParse:u,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:c,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,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:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(95093))},11713:function(e,t,n){!function(e){"use strict";e.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(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(95093))},11722:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormText:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340);var s=(0,o.makePropsConfigurable)({id:(0,o.makeProp)(i.PROP_TYPE_STRING),inline:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"small"),textVariant:(0,o.makeProp)(i.PROP_TYPE_STRING,"muted")},a.NAME_FORM_TEXT),l=(0,r.extend)({name:a.NAME_FORM_TEXT,functional:!0,props:s,render:function(e,t){var n,a,i,o=t.props,s=t.data,l=t.children;return e(o.tag,(0,r.mergeData)(s,{class:(n={"form-text":!o.inline},a="text-".concat(o.textVariant),i=o.textVariant,a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n),attrs:{id:o.id}}),l)}})},11850:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BVPopper:()=>v,props:()=>g});var r=n(48851),a=n(2448),i=n(49800),o=n(87013),s=n(80072),l=n(48789),c=n(3289),u=n(71402),d=n(89821),h=n(1340),f=n(34877),p={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},m={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},g={arrowPadding:(0,h.makeProp)(s.PROP_TYPE_NUMBER_STRING,6),boundary:(0,h.makeProp)([l.HTMLElement,s.PROP_TYPE_STRING],"scrollParent"),boundaryPadding:(0,h.makeProp)(s.PROP_TYPE_NUMBER_STRING,5),fallbackPlacement:(0,h.makeProp)(s.PROP_TYPE_ARRAY_STRING,"flip"),offset:(0,h.makeProp)(s.PROP_TYPE_NUMBER_STRING,0),placement:(0,h.makeProp)(s.PROP_TYPE_STRING,"top"),target:(0,h.makeProp)([l.HTMLElement,l.SVGElement])},v=(0,a.extend)({name:i.NAME_POPPER,mixins:[c.useParentMixin],props:g,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var e=this,t=this.placement;return{placement:this.getAttachment(t),modifiers:{offset:{offset:this.getOffset(t)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e.popperPlacementChange(t)},onUpdate:function(t){e.popperPlacementChange(t)}}}},created:function(){var e=this;this.$_popper=null,this.localShow=!0,this.$on(o.EVENT_NAME_SHOW,(function(t){e.popperCreate(t)}));var t=function(){e.$nextTick((function(){(0,u.requestAF)((function(){e.$destroy()}))}))};this.bvParent.$once(o.HOOK_EVENT_NAME_DESTROYED,t),this.$once(o.EVENT_NAME_HIDDEN,t)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},methods:{hide:function(){this.localShow=!1},getAttachment:function(e){return p[String(e).toUpperCase()]||"auto"},getOffset:function(e){if(!this.offset){var t=this.$refs.arrow||(0,u.select)(".arrow",this.$el),n=(0,d.toFloat)((0,u.getCS)(t).width,0)+(0,d.toFloat)(this.arrowPadding,0);switch(m[String(e).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(e){this.destroyPopper(),this.$_popper=new r.default(this.target,e,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(e){this.attachment=this.getAttachment(e.placement)},renderTemplate:function(e){return e("div")}},render:function(e){var t=this,n=this.noFade;return e(f.BVTransition,{props:{appear:!0,noFade:n},on:{beforeEnter:function(e){return t.$emit(o.EVENT_NAME_SHOW,e)},afterEnter:function(e){return t.$emit(o.EVENT_NAME_SHOWN,e)},beforeLeave:function(e){return t.$emit(o.EVENT_NAME_HIDE,e)},afterLeave:function(e){return t.$emit(o.EVENT_NAME_HIDDEN,e)}}},[this.localShow?this.renderTemplate(e):e()])}})},11885:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(95093))},12044:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormCheckboxGroup:()=>p,props:()=>f});var r,a=n(2448),i=n(49800),o=n(80072),s=n(91671),l=n(1340),c=n(43400);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{var r,a;!function(i){if(void 0===(a="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=a),e.exports=i(),!!0){var o=window.Cookies,s=window.Cookies=i();s.noConflict=function(){return window.Cookies=o,s}}}((function(){function e(){for(var e=0,t={};e{"use strict";n.r(t),n.d(t,{add:()=>F,calculateW:()=>g,clone:()=>O,conjugate:()=>w,copy:()=>D,create:()=>s,dot:()=>H,equals:()=>q,exactEquals:()=>W,exp:()=>v,fromEuler:()=>M,fromMat3:()=>E,fromValues:()=>C,getAngle:()=>d,getAxisAngle:()=>u,identity:()=>l,invert:()=>T,len:()=>j,length:()=>Y,lerp:()=>V,ln:()=>y,mul:()=>z,multiply:()=>h,normalize:()=>G,pow:()=>b,random:()=>I,rotateX:()=>f,rotateY:()=>p,rotateZ:()=>m,rotationTo:()=>K,scale:()=>N,set:()=>R,setAxes:()=>J,setAxisAngle:()=>c,slerp:()=>_,sqlerp:()=>X,sqrLen:()=>$,squaredLength:()=>U,str:()=>k});var r=n(17823),a=n(91409),i=n(30329),o=n(94796);function s(){var e=new r.ARRAY_TYPE(4);return r.ARRAY_TYPE!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function l(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e}function c(e,t,n){n*=.5;var r=Math.sin(n);return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=Math.cos(n),e}function u(e,t){var n=2*Math.acos(t[3]),a=Math.sin(n/2);return a>r.EPSILON?(e[0]=t[0]/a,e[1]=t[1]/a,e[2]=t[2]/a):(e[0]=1,e[1]=0,e[2]=0),n}function d(e,t){var n=H(e,t);return Math.acos(2*n*n-1)}function h(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=n[0],l=n[1],c=n[2],u=n[3];return e[0]=r*u+o*s+a*c-i*l,e[1]=a*u+o*l+i*s-r*c,e[2]=i*u+o*c+r*l-a*s,e[3]=o*u-r*s-a*l-i*c,e}function f(e,t,n){n*=.5;var r=t[0],a=t[1],i=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l+o*s,e[1]=a*l+i*s,e[2]=i*l-a*s,e[3]=o*l-r*s,e}function p(e,t,n){n*=.5;var r=t[0],a=t[1],i=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l-i*s,e[1]=a*l+o*s,e[2]=i*l+r*s,e[3]=o*l-a*s,e}function m(e,t,n){n*=.5;var r=t[0],a=t[1],i=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l+a*s,e[1]=a*l-r*s,e[2]=i*l+o*s,e[3]=o*l-i*s,e}function g(e,t){var n=t[0],r=t[1],a=t[2];return e[0]=n,e[1]=r,e[2]=a,e[3]=Math.sqrt(Math.abs(1-n*n-r*r-a*a)),e}function v(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=Math.sqrt(n*n+r*r+a*a),s=Math.exp(i),l=o>0?s*Math.sin(o)/o:0;return e[0]=n*l,e[1]=r*l,e[2]=a*l,e[3]=s*Math.cos(o),e}function y(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=Math.sqrt(n*n+r*r+a*a),s=o>0?Math.atan2(o,i)/o:0;return e[0]=n*s,e[1]=r*s,e[2]=a*s,e[3]=.5*Math.log(n*n+r*r+a*a+i*i),e}function b(e,t,n){return y(e,t),N(e,e,n),v(e,e),e}function _(e,t,n,a){var i,o,s,l,c,u=t[0],d=t[1],h=t[2],f=t[3],p=n[0],m=n[1],g=n[2],v=n[3];return(o=u*p+d*m+h*g+f*v)<0&&(o=-o,p=-p,m=-m,g=-g,v=-v),1-o>r.EPSILON?(i=Math.acos(o),s=Math.sin(i),l=Math.sin((1-a)*i)/s,c=Math.sin(a*i)/s):(l=1-a,c=a),e[0]=l*u+c*p,e[1]=l*d+c*m,e[2]=l*h+c*g,e[3]=l*f+c*v,e}function I(e){var t=r.RANDOM(),n=r.RANDOM(),a=r.RANDOM(),i=Math.sqrt(1-t),o=Math.sqrt(t);return e[0]=i*Math.sin(2*Math.PI*n),e[1]=i*Math.cos(2*Math.PI*n),e[2]=o*Math.sin(2*Math.PI*a),e[3]=o*Math.cos(2*Math.PI*a),e}function T(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=n*n+r*r+a*a+i*i,s=o?1/o:0;return e[0]=-n*s,e[1]=-r*s,e[2]=-a*s,e[3]=i*s,e}function w(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e}function E(e,t){var n,r=t[0]+t[4]+t[8];if(r>0)n=Math.sqrt(r+1),e[3]=.5*n,n=.5/n,e[0]=(t[5]-t[7])*n,e[1]=(t[6]-t[2])*n,e[2]=(t[1]-t[3])*n;else{var a=0;t[4]>t[0]&&(a=1),t[8]>t[3*a+a]&&(a=2);var i=(a+1)%3,o=(a+2)%3;n=Math.sqrt(t[3*a+a]-t[3*i+i]-t[3*o+o]+1),e[a]=.5*n,n=.5/n,e[3]=(t[3*i+o]-t[3*o+i])*n,e[i]=(t[3*i+a]+t[3*a+i])*n,e[o]=(t[3*o+a]+t[3*a+o])*n}return e}function M(e,t,n,r){var a=.5*Math.PI/180;t*=a,n*=a,r*=a;var i=Math.sin(t),o=Math.cos(t),s=Math.sin(n),l=Math.cos(n),c=Math.sin(r),u=Math.cos(r);return e[0]=i*l*u-o*s*c,e[1]=o*s*u+i*l*c,e[2]=o*l*c-i*s*u,e[3]=o*l*u+i*s*c,e}function k(e){return"quat("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"}var S,P,A,x,B,L,O=o.clone,C=o.fromValues,D=o.copy,R=o.set,F=o.add,z=h,N=o.scale,H=o.dot,V=o.lerp,Y=o.length,j=Y,U=o.squaredLength,$=U,G=o.normalize,W=o.exactEquals,q=o.equals,K=(S=i.create(),P=i.fromValues(1,0,0),A=i.fromValues(0,1,0),function(e,t,n){var r=i.dot(t,n);return r<-.999999?(i.cross(S,P,t),i.len(S)<1e-6&&i.cross(S,A,t),i.normalize(S,S),c(e,S,Math.PI),e):r>.999999?(e[0]=0,e[1]=0,e[2]=0,e[3]=1,e):(i.cross(S,t,n),e[0]=S[0],e[1]=S[1],e[2]=S[2],e[3]=1+r,G(e,e))}),X=(x=s(),B=s(),function(e,t,n,r,a,i){return _(x,t,a,i),_(B,n,r,i),_(e,x,B,2*i*(1-i)),e}),J=(L=a.create(),function(e,t,n,r){return L[0]=n[0],L[3]=n[1],L[6]=n[2],L[1]=r[0],L[4]=r[1],L[7]=r[2],L[2]=-t[0],L[5]=-t[1],L[8]=-t[2],G(e,E(e,L))})},12642:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormDatepicker:()=>B,props:()=>x});var r,a=n(2448),i=n(49800),o=n(87013),s=n(80072),l=n(94159),c=n(26596),u=n(71402),d=n(46710),h=n(38199),f=n(91671),p=n(1340),m=n(81074),g=n(61651),v=n(75532),y=n(27232),b=n(11005);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t0&&(c=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":c.length>1,"justify-content-end":c.length<2}},c)]);var g=e(y.BCalendar,{staticClass:"b-form-date-calendar w-100",props:I(I({},(0,p.pluckProps)(P,i)),{},{hidden:!this.isVisible,value:t,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:(0,f.pick)(o,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},c);return e(b.BVFormBtnLabelControl,{staticClass:"b-form-datepicker",props:I(I({},(0,p.pluckProps)(A,i)),{},{formattedValue:t?this.formattedValue:"",id:this.safeId(),lang:this.computedLang,menuClass:[{"bg-dark":a,"text-light":a},this.menuClass],placeholder:s,rtl:this.isRTL,value:t}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:T({},l.SLOT_NAME_BUTTON_CONTENT,o[l.SLOT_NAME_BUTTON_CONTENT]||this.defaultButtonFn),ref:"control"},[g])}})},12670:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BButton:()=>r.BButton,BButtonClose:()=>a.BButtonClose,ButtonPlugin:()=>i});var r=n(75532),a=n(60837),i=(0,n(96266).pluginFactory)({components:{BButton:r.BButton,BBtn:r.BButton,BButtonClose:a.BButtonClose,BBtnClose:a.BButtonClose}})},12673:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(76798),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,'.autocomplete-input{background-color:#eee;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNjY2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iOCIvPjxwYXRoIGQ9Im0yMSAyMS00LTQiLz48L3N2Zz4=");background-position:12px;background-repeat:no-repeat;border:1px solid #eee;border-radius:8px;box-sizing:border-box;flex:1;font-size:16px;line-height:1.5;padding:12px 12px 12px 48px;position:relative;width:100%}.autocomplete-input:focus,.autocomplete-input[aria-expanded=true]{background-color:#fff;border-color:rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.16);outline:none}[data-position=below] .autocomplete-input[aria-expanded=true]{border-bottom-color:transparent;border-radius:8px 8px 0 0}[data-position=above] .autocomplete-input[aria-expanded=true]{border-radius:0 0 8px 8px;border-top-color:transparent;z-index:2}.autocomplete[data-loading=true]:after{animation:rotate 1s linear infinite;border:3px solid rgba(0,0,0,.12);border-radius:100%;border-right-color:rgba(0,0,0,.48);content:"";height:20px;position:absolute;right:12px;top:50%;transform:translateY(-50%);width:20px}.autocomplete-result-list{background:#fff;border:1px solid rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.16);box-sizing:border-box;list-style:none;margin:0;max-height:296px;overflow-y:auto;padding:0}[data-position=below] .autocomplete-result-list{border-radius:0 0 8px 8px;border-top-color:transparent;margin-top:-1px;padding-bottom:8px}[data-position=above] .autocomplete-result-list{border-bottom-color:transparent;border-radius:8px 8px 0 0;margin-bottom:-1px;padding-top:8px}.autocomplete-result{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjY2NjIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iOCIvPjxwYXRoIGQ9Im0yMSAyMS00LTQiLz48L3N2Zz4=");background-position:12px;background-repeat:no-repeat;cursor:default;padding:12px 12px 12px 48px}.autocomplete-result:hover,.autocomplete-result[aria-selected=true]{background-color:rgba(0,0,0,.06)}@keyframes rotate{0%{transform:translateY(-50%) rotate(0deg)}to{transform:translateY(-50%) rotate(359deg)}}',""]);const i=a},12684:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ERR_BAD_FORMAT:()=>u,ERR_CENTRAL_DIRECTORY_NOT_FOUND:()=>f,ERR_ENCRYPTED:()=>g,ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND:()=>h,ERR_EOCDR_NOT_FOUND:()=>d,ERR_EXTRAFIELD_ZIP64_NOT_FOUND:()=>m,ERR_INVALID_PASSWORD:()=>i.ERR_INVALID_PASSWORD,ERR_INVALID_SIGNATURE:()=>i.ERR_INVALID_SIGNATURE,ERR_LOCAL_FILE_HEADER_NOT_FOUND:()=>p,ERR_SPLIT_ZIP_FILE:()=>b,ERR_UNSUPPORTED_COMPRESSION:()=>y,ERR_UNSUPPORTED_ENCRYPTION:()=>v,ZipReader:()=>E,ZipReaderStream:()=>M});var r=n(70048),a=n(41535),i=n(37282),o=n(61965),s=n(84116),l=n(65044),c=n(34591);const u="File format is not recognized",d="End of central directory not found",h="End of Zip64 central directory locator not found",f="Central directory header not found",p="Local file header not found",m="Zip64 extra field not found",g="File contains encrypted entry",v="Encryption method not supported",y="Compression method not supported",b="Split zip file",_="utf-8",I="cp437",T=[[c.PROPERTY_NAME_UNCOMPPRESSED_SIZE,r.MAX_32_BITS],[c.PROPERTY_NAME_COMPPRESSED_SIZE,r.MAX_32_BITS],[c.PROPERTY_NAME_OFFSET,r.MAX_32_BITS],[c.PROPERTY_NAME_DISK_NUMBER_START,r.MAX_16_BITS]],w={[r.MAX_16_BITS]:{getValue:D,bytes:4},[r.MAX_32_BITS]:{getValue:R,bytes:8}};class E{constructor(e,t={}){Object.assign(this,{reader:(0,o.initReader)(e),options:t,config:(0,a.getConfiguration)()})}async*getEntriesGenerator(e={}){const t=this;let{reader:n}=t;const{config:i}=t;if(await(0,o.initStream)(n),n.size!==r.UNDEFINED_VALUE&&n.readUint8Array||(n=new o.BlobReader(await new Response(n.readable).blob()),await(0,o.initStream)(n)),n.size=0;e--)if(s[e]==i[0]&&s[e+1]==i[1]&&s[e+2]==i[2]&&s[e+3]==i[3])return{offset:a+e,buffer:s.slice(e,e+r).buffer}}}(n,r.END_OF_CENTRAL_DIR_SIGNATURE,n.size,r.END_OF_CENTRAL_DIR_LENGTH,16*r.MAX_16_BITS);if(!l){throw D(F(await(0,o.readUint8Array)(n,0,4)))==r.SPLIT_ZIP_FILE_SIGNATURE?new Error(b):new Error(d)}const p=F(l);let m=D(p,12),g=D(p,16);const v=l.offset,y=C(p,20),T=v+r.END_OF_CENTRAL_DIR_LENGTH+y;let w=C(p,4);const E=n.lastDiskNumber||0;let M=C(p,6),A=C(p,8),B=0,L=0;if(g==r.MAX_32_BITS||m==r.MAX_32_BITS||A==r.MAX_16_BITS||M==r.MAX_16_BITS){const e=F(await(0,o.readUint8Array)(n,l.offset-r.ZIP64_END_OF_CENTRAL_DIR_LOCATOR_LENGTH,r.ZIP64_END_OF_CENTRAL_DIR_LOCATOR_LENGTH));if(D(e,0)==r.ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIGNATURE){g=R(e,8);let t=await(0,o.readUint8Array)(n,g,r.ZIP64_END_OF_CENTRAL_DIR_LENGTH,-1),a=F(t);const i=l.offset-r.ZIP64_END_OF_CENTRAL_DIR_LOCATOR_LENGTH-r.ZIP64_END_OF_CENTRAL_DIR_LENGTH;if(D(a,0)!=r.ZIP64_END_OF_CENTRAL_DIR_SIGNATURE&&g!=i){const e=g;g=i,B=g-e,t=await(0,o.readUint8Array)(n,g,r.ZIP64_END_OF_CENTRAL_DIR_LENGTH,-1),a=F(t)}if(D(a,0)!=r.ZIP64_END_OF_CENTRAL_DIR_SIGNATURE)throw new Error(h);w==r.MAX_16_BITS&&(w=D(a,16)),M==r.MAX_16_BITS&&(M=D(a,20)),A==r.MAX_16_BITS&&(A=R(a,32)),m==r.MAX_32_BITS&&(m=R(a,40)),g-=m}}if(g>=n.size&&(B=n.size-g-m-r.END_OF_CENTRAL_DIR_LENGTH,g=n.size-m-r.END_OF_CENTRAL_DIR_LENGTH),E!=w)throw new Error(b);if(g<0)throw new Error(u);let z=0,N=await(0,o.readUint8Array)(n,g,m,M),H=F(N);if(m){const e=l.offset-m;if(D(H,z)!=r.CENTRAL_FILE_HEADER_SIGNATURE&&g!=e){const t=g;g=e,B+=g-t,N=await(0,o.readUint8Array)(n,g,m,M),H=F(N)}}const V=l.offset-g-(n.lastDiskOffset||0);if(m!=V&&V>=0&&(m=V,N=await(0,o.readUint8Array)(n,g,m,M),H=F(N)),g<0||g>=n.size)throw new Error(u);const Y=x(t,e,"filenameEncoding"),j=x(t,e,"commentEncoding");for(let a=0;a>8),g=p>>8==3,v=N.subarray(u,d),y=C(H,z+32),b=h+y,T=N.subarray(h,b),w=l,E=l,M=D(H,z+38),R=m&&(O(H,z+38)&r.FILE_ATTR_MSDOS_DIR_MASK)==r.FILE_ATTR_MSDOS_DIR_MASK||g&&(M>>16&r.FILE_ATTR_UNIX_DIR_MASK)==r.FILE_ATTR_UNIX_DIR_MASK||v.length&&v[v.length-1]==r.DIRECTORY_SIGNATURE.charCodeAt(0),F=g&&(M>>16&r.FILE_ATTR_UNIX_EXECUTABLE_MASK)==r.FILE_ATTR_UNIX_EXECUTABLE_MASK,V=D(H,z+42)+B;Object.assign(o,{versionMadeBy:p,msDosCompatible:m,compressedSize:0,uncompressedSize:0,commentLength:y,directory:R,offset:V,diskNumberStart:C(H,z+34),internalFileAttributes:C(H,z+36),externalFileAttributes:M,rawFilename:v,filenameUTF8:w,commentUTF8:E,rawExtraField:N.subarray(d,h),executable:F}),o.internalFileAttribute=o.internalFileAttributes,o.externalFileAttribute=o.externalFileAttributes;const U=x(t,e,"decodeText")||s.decodeText,$=w?_:Y||I,G=E?_:j||I;let W=U(v,$);W===r.UNDEFINED_VALUE&&(W=(0,s.decodeText)(v,$));let q=U(T,G);q===r.UNDEFINED_VALUE&&(q=(0,s.decodeText)(T,G)),Object.assign(o,{rawComment:T,filename:W,comment:q,directory:R||W.endsWith(r.DIRECTORY_SIGNATURE)}),L=Math.max(V,L),P(o,o,H,z+6),o.zipCrypto=o.encrypted&&!o.extraFieldAES;const K=new c.Entry(o);K.getData=(e,t)=>o.getData(e,K,t),z=b;const{onprogress:X}=e;if(X)try{await X(a+1,A,new c.Entry(o))}catch(e){}yield K}const U=x(t,e,"extractPrependedData"),$=x(t,e,"extractAppendedData");return U&&(t.prependedData=L>0?await(0,o.readUint8Array)(n,0,L):new Uint8Array),t.comment=y?await(0,o.readUint8Array)(n,v+r.END_OF_CENTRAL_DIR_LENGTH,y):new Uint8Array,$&&(t.appendedData=T>>8&255:m>>>24&255),signature:m,compressed:0!=d&&!k,encrypted:a.encrypted&&!k,useWebWorkers:x(a,n,"useWebWorkers"),useCompressionStream:x(a,n,"useCompressionStream"),transferStreams:x(a,n,"transferStreams"),checkPasswordOnly:z},config:h,streamOptions:{signal:R,size:O,onstart:H,onprogress:V,onend:Y}};let U=0;try{({outputSize:U}=await(0,i.runWorker)({readable:C,writable:N},j))}catch(e){if(!z||e.message!=i.ERR_ABORT_CHECK_PASSWORD)throw e}finally{const e=x(a,n,"preventClose");N.size+=U,e||N.locked||await N.getWriter().close()}return z?r.UNDEFINED_VALUE:e.getData?e.getData():N}}function S(e,t,n){const a=e.rawBitFlag=C(t,n+2),i=(a&r.BITFLAG_ENCRYPTED)==r.BITFLAG_ENCRYPTED,o=D(t,n+6);Object.assign(e,{encrypted:i,version:C(t,n),bitFlag:{level:(a&r.BITFLAG_LEVEL)>>1,dataDescriptor:(a&r.BITFLAG_DATA_DESCRIPTOR)==r.BITFLAG_DATA_DESCRIPTOR,languageEncodingFlag:(a&r.BITFLAG_LANG_ENCODING_FLAG)==r.BITFLAG_LANG_ENCODING_FLAG},rawLastModDate:o,lastModDate:B(o),filenameLength:C(t,n+22),extraFieldLength:C(t,n+24)})}function P(e,t,n,a,i){const{rawExtraField:o}=t,s=t.extraField=new Map,l=F(new Uint8Array(o));let u=0;try{for(;ut[e]==n));for(let a=0,i=0;a=5&&(i.push(c.PROPERTY_NAME_LAST_MODIFICATION_DATE),o.push(c.PROPERTY_NAME_RAW_LAST_MODIFICATION_DATE));let s=1;i.forEach(((n,a)=>{if(e.data.length>=s+4){const i=D(r,s);t[n]=e[n]=new Date(1e3*i);const l=o[a];e[l]=i}s+=4}))}(y,t,i),t.extraFieldExtendedTimestamp=y);const b=s.get(r.EXTRAFIELD_TYPE_USDZ);b&&(t.extraFieldUSDZ=b)}function A(e,t,n,r,a){const i=F(e.data),o=new l.Crc32;o.append(a[n]);const c=F(new Uint8Array(4));c.setUint32(0,o.get(),!0);const u=D(i,1);Object.assign(e,{version:O(i,0),[t]:(0,s.decodeText)(e.data.subarray(5)),valid:!a.bitFlag.languageEncodingFlag&&u==D(c,0)}),e.valid&&(r[t]=e[t],r[t+"UTF8"]=!0)}function x(e,t,n){return t[n]===r.UNDEFINED_VALUE?e.options[n]:t[n]}function B(e){const t=(4294901760&e)>>16,n=65535&e;try{return new Date(1980+((65024&t)>>9),((480&t)>>5)-1,31&t,(63488&n)>>11,(2016&n)>>5,2*(31&n),0)}catch(e){}}function L(e){return new Date(Number(e/BigInt(1e4)-BigInt(116444736e5)))}function O(e,t){return e.getUint8(t)}function C(e,t){return e.getUint16(t,!0)}function D(e,t){return e.getUint32(t,!0)}function R(e,t){return Number(e.getBigUint64(t,!0))}function F(e){return new DataView(e.buffer)}},12881:(e,t,n)=>{"use strict";n.r(t),n.d(t,{componentsPlugin:()=>ee});var r=n(96266),a=n(95160),i=n(43606),o=n(79407),s=n(1169),l=n(44131),c=n(12670),u=n(15524),d=n(28704),h=n(81924),f=n(40312),p=n(90388),m=n(20005),g=n(23711),v=n(67771),y=n(36044),b=n(18782),_=n(8813),I=n(83941),T=n(75910),w=n(58553),E=n(62962),M=n(49598),k=n(91087),S=n(1139),P=n(634),A=n(14805),x=n(65744),B=n(79307),L=n(69616),O=n(57414),C=n(32044),D=n(61782),R=n(99960),F=n(95038),z=n(53487),N=n(56015),H=n(95668),V=n(95750),Y=n(3254),j=n(64678),U=n(99895),$=n(94981),G=n(41050),W=n(585),q=n(56967),K=n(87066),X=n(61202),J=n(11063),Z=n(20309),Q=n(76689),ee=(0,r.pluginFactory)({plugins:{AlertPlugin:a.AlertPlugin,AspectPlugin:i.AspectPlugin,AvatarPlugin:o.AvatarPlugin,BadgePlugin:s.BadgePlugin,BreadcrumbPlugin:l.BreadcrumbPlugin,ButtonPlugin:c.ButtonPlugin,ButtonGroupPlugin:u.ButtonGroupPlugin,ButtonToolbarPlugin:d.ButtonToolbarPlugin,CalendarPlugin:h.CalendarPlugin,CardPlugin:f.CardPlugin,CarouselPlugin:p.CarouselPlugin,CollapsePlugin:m.CollapsePlugin,DropdownPlugin:g.DropdownPlugin,EmbedPlugin:v.EmbedPlugin,FormPlugin:y.FormPlugin,FormCheckboxPlugin:b.FormCheckboxPlugin,FormDatepickerPlugin:_.FormDatepickerPlugin,FormFilePlugin:I.FormFilePlugin,FormGroupPlugin:T.FormGroupPlugin,FormInputPlugin:w.FormInputPlugin,FormRadioPlugin:E.FormRadioPlugin,FormRatingPlugin:M.FormRatingPlugin,FormSelectPlugin:k.FormSelectPlugin,FormSpinbuttonPlugin:S.FormSpinbuttonPlugin,FormTagsPlugin:P.FormTagsPlugin,FormTextareaPlugin:A.FormTextareaPlugin,FormTimepickerPlugin:x.FormTimepickerPlugin,ImagePlugin:B.ImagePlugin,InputGroupPlugin:L.InputGroupPlugin,JumbotronPlugin:O.JumbotronPlugin,LayoutPlugin:C.LayoutPlugin,LinkPlugin:D.LinkPlugin,ListGroupPlugin:R.ListGroupPlugin,MediaPlugin:F.MediaPlugin,ModalPlugin:z.ModalPlugin,NavPlugin:N.NavPlugin,NavbarPlugin:H.NavbarPlugin,OverlayPlugin:V.OverlayPlugin,PaginationPlugin:Y.PaginationPlugin,PaginationNavPlugin:j.PaginationNavPlugin,PopoverPlugin:U.PopoverPlugin,ProgressPlugin:$.ProgressPlugin,SidebarPlugin:G.SidebarPlugin,SkeletonPlugin:W.SkeletonPlugin,SpinnerPlugin:q.SpinnerPlugin,TablePlugin:K.TablePlugin,TabsPlugin:X.TabsPlugin,TimePlugin:J.TimePlugin,ToastPlugin:Z.ToastPlugin,TooltipPlugin:Q.TooltipPlugin}})},13950:(e,t,n)=>{var r=n(74692);!function(e,t,n,r){"use strict";if(e.console=e.console||{info:function(e){}},n)if(n.fn.fancybox)console.info("fancyBox already initialized");else{var a,i,o,s,l={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'',spinnerTpl:'
',errorTpl:'

{{ERROR}}

',btnTpl:{download:'',zoom:'',close:'',arrowLeft:'',arrowRight:'',smallBtn:''},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded.
Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden.
Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},c=n(e),u=n(t),d=0,h=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},f=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},p=function(){var e,n=t.createElement("fakeelement"),a={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in a)if(n.style[e]!==r)return a[e];return"transitionend"}(),m=function(e){return e&&e.length&&e[0].offsetHeight},g=function(e,t){var r=n.extend(!0,{},e,t);return n.each(t,(function(e,t){n.isArray(t)&&(r[e]=t)})),r},v=function(e,t,r){var a=this;a.opts=g({index:r},n.fancybox.defaults),n.isPlainObject(t)&&(a.opts=g(a.opts,t)),n.fancybox.isMobile&&(a.opts=g(a.opts,a.opts.mobile)),a.id=a.opts.id||++d,a.currIndex=parseInt(a.opts.index,10)||0,a.prevIndex=null,a.prevPos=null,a.currPos=0,a.firstRun=!0,a.group=[],a.slides={},a.addContent(e),a.group.length&&a.init()};n.extend(v.prototype,{init:function(){var r,a,i=this,o=i.group[i.currIndex].opts;o.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==o.hideScrollbar&&!n.fancybox.isMobile&&t.body.scrollHeight>e.innerHeight&&(n("head").append('"),n("body").addClass("compensate-for-scrollbar")),a="",n.each(o.buttons,(function(e,t){a+=o.btnTpl[t]||""})),r=n(i.translate(i,o.baseTpl.replace("{{buttons}}",a).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+i.id).addClass(o.baseClass).data("FancyBox",i).appendTo(o.parentEl),i.$refs={container:r},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(e){i.$refs[e]=r.find(".fancybox-"+e)})),i.trigger("onInit"),i.activate(),i.jumpTo(i.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,(function(e,t){return n[t]===r?e:n[t]}))},addContent:function(e){var t,a=this,i=n.makeArray(e);n.each(i,(function(e,t){var i,o,s,l,c,u={},d={};n.isPlainObject(t)?(u=t,d=t.opts||t):"object"===n.type(t)&&n(t).length?(d=(i=n(t)).data()||{},(d=n.extend(!0,{},d,d.options)).$orig=i,u.src=a.opts.src||d.src||i.attr("href"),u.type||u.src||(u.type="inline",u.src=t)):u={type:"html",src:t+""},u.opts=n.extend(!0,{},a.opts,d),n.isArray(d.buttons)&&(u.opts.buttons=d.buttons),n.fancybox.isMobile&&u.opts.mobile&&(u.opts=g(u.opts,u.opts.mobile)),o=u.type||u.opts.type,l=u.src||"",!o&&l&&((s=l.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(o="video",u.opts.video.format||(u.opts.video.format="video/"+("ogv"===s[1]?"ogg":s[1]))):l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?o="image":l.match(/\.(pdf)((\?|#).*)?$/i)?(o="iframe",u=n.extend(!0,u,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===l.charAt(0)&&(o="inline")),o?u.type=o:a.trigger("objectNeedsType",u),u.contentType||(u.contentType=n.inArray(u.type,["html","inline","ajax"])>-1?"html":u.type),u.index=a.group.length,"auto"==u.opts.smallBtn&&(u.opts.smallBtn=n.inArray(u.type,["html","inline","ajax"])>-1),"auto"===u.opts.toolbar&&(u.opts.toolbar=!u.opts.smallBtn),u.$thumb=u.opts.$thumb||null,u.opts.$trigger&&u.index===a.opts.index&&(u.$thumb=u.opts.$trigger.find("img:first"),u.$thumb.length&&(u.opts.$orig=u.opts.$trigger)),u.$thumb&&u.$thumb.length||!u.opts.$orig||(u.$thumb=u.opts.$orig.find("img:first")),u.$thumb&&!u.$thumb.length&&(u.$thumb=null),u.thumb=u.opts.thumb||(u.$thumb?u.$thumb[0].src:null),"function"===n.type(u.opts.caption)&&(u.opts.caption=u.opts.caption.apply(t,[a,u])),"function"===n.type(a.opts.caption)&&(u.opts.caption=a.opts.caption.apply(t,[a,u])),u.opts.caption instanceof n||(u.opts.caption=u.opts.caption===r?"":u.opts.caption+""),"ajax"===u.type&&(c=l.split(/\s+/,2)).length>1&&(u.src=c.shift(),u.opts.filter=c.shift()),u.opts.modal&&(u.opts=n.extend(!0,u.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),a.group.push(u)})),Object.keys(a.slides).length&&(a.updateControls(),(t=a.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(e){e.stopPropagation(),e.preventDefault(),t.close(e)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(e){e.stopPropagation(),e.preventDefault(),t.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(e){e.stopPropagation(),e.preventDefault(),t.next()})).on("click.fb","[data-fancybox-zoom]",(function(e){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()})),c.on("orientationchange.fb resize.fb",(function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&f(t.requestId),t.requestId=h((function(){t.update(e)}))):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout((function(){t.$refs.stage.show(),t.update(e)}),n.fancybox.isMobile?600:250))})),u.on("keydown.fb",(function(e){var r=(n.fancybox?n.fancybox.getInstance():null).current,a=e.keyCode||e.which;if(9!=a){if(!(!r.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||n(e.target).is("input,textarea,video,audio,select")))return 8===a||27===a?(e.preventDefault(),void t.close(e)):37===a||38===a?(e.preventDefault(),void t.previous()):39===a||40===a?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,a)}else r.opts.trapFocus&&t.focus(e)})),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,u.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(e){t.idleSecondsCounter=0,t.isIdle&&t.showControls(),t.isIdle=!1})),t.idleInterval=e.setInterval((function(){t.idleSecondsCounter++,t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())}),1e3))},removeEvents:function(){var t=this;c.off("orientationchange.fb resize.fb"),u.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),t.idleInterval&&(e.clearInterval(t.idleInterval),t.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,t){var a,i,o,s,l,c,u,d,h,f=this,p=f.group.length;if(!(f.isDragging||f.isClosing||f.isAnimating&&f.firstRun)){if(e=parseInt(e,10),!(o=f.current?f.current.opts.loop:f.opts.loop)&&(e<0||e>=p))return!1;if(a=f.firstRun=!Object.keys(f.slides).length,l=f.current,f.prevIndex=f.currIndex,f.prevPos=f.currPos,s=f.createSlide(e),p>1&&((o||s.index0)&&f.createSlide(e-1)),f.current=s,f.currIndex=s.index,f.currPos=s.pos,f.trigger("beforeShow",a),f.updateControls(),s.forcedDuration=r,n.isNumeric(t)?s.forcedDuration=t:t=s.opts[a?"animationDuration":"transitionDuration"],t=parseInt(t,10),i=f.isMoved(s),s.$slide.addClass("fancybox-slide--current"),a)return s.opts.animationEffect&&t&&f.$refs.container.css("transition-duration",t+"ms"),f.$refs.container.addClass("fancybox-is-open").trigger("focus"),f.loadSlide(s),void f.preload("image");c=n.fancybox.getTranslate(l.$slide),u=n.fancybox.getTranslate(f.$refs.stage),n.each(f.slides,(function(e,t){n.fancybox.stop(t.$slide,!0)})),l.pos!==s.pos&&(l.isComplete=!1),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),i?(h=c.left-(l.pos*c.width+l.pos*l.opts.gutter),n.each(f.slides,(function(e,r){r.$slide.removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var a=r.pos*c.width+r.pos*r.opts.gutter;n.fancybox.setTranslate(r.$slide,{top:0,left:a-u.left+h}),r.pos!==s.pos&&r.$slide.addClass("fancybox-slide--"+(r.pos>s.pos?"next":"previous")),m(r.$slide),n.fancybox.animate(r.$slide,{top:0,left:(r.pos-s.pos)*c.width+(r.pos-s.pos)*r.opts.gutter},t,(function(){r.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),r.pos===f.currPos&&f.complete()}))}))):t&&s.opts.transitionEffect&&(d="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,l.$slide.addClass("fancybox-slide--"+(l.pos>s.pos?"next":"previous")),n.fancybox.animate(l.$slide,d,t,(function(){l.$slide.removeClass(d).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),s.isLoaded?f.revealContent(s):f.loadSlide(s),f.preload("image")}},createSlide:function(e){var t,r,a=this;return r=(r=e%a.group.length)<0?a.group.length+r:r,!a.slides[e]&&a.group[r]&&(t=n('
').appendTo(a.$refs.stage),a.slides[e]=n.extend(!0,{},a.group[r],{pos:e,$slide:t,isLoaded:!1}),a.updateSlide(a.slides[e])),a.slides[e]},scaleToActual:function(e,t,a){var i,o,s,l,c,u=this,d=u.current,h=d.$content,f=n.fancybox.getTranslate(d.$slide).width,p=n.fancybox.getTranslate(d.$slide).height,m=d.width,g=d.height;u.isAnimating||u.isMoved()||!h||"image"!=d.type||!d.isLoaded||d.hasError||(u.isAnimating=!0,n.fancybox.stop(h),e=e===r?.5*f:e,t=t===r?.5*p:t,(i=n.fancybox.getTranslate(h)).top-=n.fancybox.getTranslate(d.$slide).top,i.left-=n.fancybox.getTranslate(d.$slide).left,l=m/i.width,c=g/i.height,o=.5*f-.5*m,s=.5*p-.5*g,m>f&&((o=i.left*l-(e*l-e))>0&&(o=0),op&&((s=i.top*c-(t*c-t))>0&&(s=0),st-.5&&(l=t),(c*=a)>r-.5&&(c=r),"image"===e.type?(u.top=Math.floor(.5*(r-c))+parseFloat(s.css("paddingTop")),u.left=Math.floor(.5*(t-l))+parseFloat(s.css("paddingLeft"))):"video"===e.contentType&&(c>l/(i=e.opts.width&&e.opts.height?l/c:e.opts.ratio||16/9)?c=l/i:l>c*i&&(l=c*i)),u.width=l,u.height=c,u)},update:function(e){var t=this;n.each(t.slides,(function(n,r){t.updateSlide(r,e)}))},updateSlide:function(e,t){var r=this,a=e&&e.$content,i=e.width||e.opts.width,o=e.height||e.opts.height,s=e.$slide;r.adjustCaption(e),a&&(i||o||"video"===e.contentType)&&!e.hasError&&(n.fancybox.stop(a),n.fancybox.setTranslate(a,r.getFitPos(e)),e.pos===r.currPos&&(r.isAnimating=!1,r.updateCursor())),r.adjustLayout(e),s.length&&(s.trigger("refresh"),e.pos===r.currPos&&r.$refs.toolbar.add(r.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",s.get(0).scrollHeight>s.get(0).clientHeight)),r.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,a=t.current,i=a.$slide;!t.isClosing&&a&&(i.siblings().css({transform:"",opacity:""}),i.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(i,{top:0,left:0,opacity:1},e===r?0:e,(function(){i.css({transform:"",opacity:""}),a.isComplete||t.complete()}),!1))},isMoved:function(e){var t,r,a=e||this.current;return!!a&&(r=n.fancybox.getTranslate(this.$refs.stage),t=n.fancybox.getTranslate(a.$slide),!a.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-r.top)>.5||Math.abs(t.left-r.left)>.5))},updateCursor:function(e,t){var r,a,i=this,o=i.current,s=i.$refs.container;o&&!i.isClosing&&i.Guestures&&(s.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),a=!!(r=i.canPan(e,t))||i.isZoomable(),s.toggleClass("fancybox-is-zoomable",a),n("[data-fancybox-zoom]").prop("disabled",!a),r?s.addClass("fancybox-can-pan"):a&&("zoom"===o.opts.clickContent||n.isFunction(o.opts.clickContent)&&"zoom"==o.opts.clickContent(o))?s.addClass("fancybox-can-zoomIn"):o.opts.touch&&(o.opts.touch.vertical||i.group.length>1)&&"video"!==o.contentType&&s.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this,n=t.current;if(n&&!t.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((e=t.getFitPos(n))&&(n.width>e.width||n.height>e.height))return!0}return!1},isScaledDown:function(e,t){var a=!1,i=this.current,o=i.$content;return e!==r&&t!==r?a=e1.5||Math.abs(i.height-o.height)>1.5)),o},loadSlide:function(e){var t,r,a,i=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,!1===i.trigger("beforeLoad",e))return e.isLoading=!1,!1;switch(t=e.type,(r=e.$slide).off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":i.setImage(e);break;case"iframe":i.setIframe(e);break;case"html":i.setContent(e,e.src||e.content);break;case"video":i.setContent(e,e.opts.video.tpl.replace(/\{\{src\}\}/gi,e.src).replace("{{format}}",e.opts.videoFormat||e.opts.video.format||"").replace("{{poster}}",e.thumb||""));break;case"inline":n(e.src).length?i.setContent(e,n(e.src)):i.setError(e);break;case"ajax":i.showLoading(e),a=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,n){"success"===n&&i.setContent(e,t)},error:function(t,n){t&&"abort"!==n&&i.setError(e)}})),r.one("onReset",(function(){a.abort()}));break;default:i.setError(e)}return!0}},setImage:function(e){var r,a=this;setTimeout((function(){var t=e.$image;a.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||a.showLoading(e)}),50),a.checkSrcset(e),e.$content=n('
').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(r=t.createElement("img")).onerror=function(){n(this).remove(),e.$ghost=null},r.onload=function(){a.afterLoad(e)},e.$ghost=n(r).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),a.setBigImage(e)},checkSrcset:function(t){var n,r,a,i,o=t.opts.srcset||t.opts.image.srcset;if(o){a=e.devicePixelRatio||1,i=e.innerWidth*a,r=o.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){var r=parseInt(e.substring(0,e.length-1),10);if(0===n)return t.url=e;r&&(t.value=r,t.postfix=e[e.length-1])})),t})),r.sort((function(e,t){return e.value-t.value}));for(var s=0;s=i||"x"===l.postfix&&l.value>=a){n=l;break}}!n&&r.length&&(n=r[r.length-1]),n&&(t.src=n.url,t.width&&t.height&&"w"==n.postfix&&(t.height=t.width/t.height*n.value,t.width=n.value),t.opts.srcset=o)}},setBigImage:function(e){var r=this,a=t.createElement("img"),i=n(a);e.$image=i.one("error",(function(){r.setError(e)})).one("load",(function(){var t;e.$ghost||(r.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),r.afterLoad(e)),r.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(e.width/e.height>1&&c.width()/c.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),i.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout((function(){e.$ghost&&!r.isClosing&&e.$ghost.hide()}),Math.min(300,Math.max(1e3,e.height/1600))),r.hideLoading(e))})).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(a.complete||"complete"==a.readyState)&&i.naturalWidth&&i.naturalHeight?i.trigger("load"):a.error&&i.trigger("error")},resolveImageSlideSize:function(e,t,n){var r=parseInt(e.opts.width,10),a=parseInt(e.opts.height,10);e.width=t,e.height=n,r>0&&(e.width=r,e.height=Math.floor(r*n/t)),a>0&&(e.width=Math.floor(a*t/n),e.height=a)},setIframe:function(e){var t,a=this,i=e.opts.iframe,o=e.$slide;e.$content=n('
').css(i.css).appendTo(o),o.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=n(i.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(i.attr).appendTo(e.$content),i.preload?(a.showLoading(e),t.on("load.fb error.fb",(function(t){this.isReady=1,e.$slide.trigger("refresh"),a.afterLoad(e)})),o.on("refresh.fb",(function(){var n,a=e.$content,s=i.css.width,l=i.css.height;if(1===t[0].isReady){try{n=t.contents().find("body")}catch(e){}n&&n.length&&n.children().length&&(o.css("overflow","visible"),a.css({width:"100%","max-width":"100%",height:"9999px"}),s===r&&(s=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),a.css("width",s||"").css("max-width",""),l===r&&(l=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),a.css("height",l||""),o.css("overflow","auto")),a.removeClass("fancybox-is-hidden")}}))):a.afterLoad(e),t.attr("src",e.src),o.one("onReset",(function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}n(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1}))},setContent:function(e,t){var r,a=this;a.isClosing||(a.hideLoading(e),e.$content&&n.fancybox.stop(e.$content),e.$slide.empty(),(r=t)&&r.hasOwnProperty&&r instanceof n&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=n("
").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===n.type(t)&&(t=n("
").append(n.trim(t)).contents()),e.opts.filter&&(t=n("
").html(t).find(e.opts.filter))),e.$slide.one("onReset",(function(){n(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(n(this).empty(),e.isLoaded=!1,e.isRevealed=!1)})),n(t).appendTo(e.$slide),n(t).is("video,audio")&&(n(t).addClass("fancybox-video"),n(t).wrap("
"),e.contentType="video",e.opts.width=e.opts.width||n(t).attr("width"),e.opts.height=e.opts.height||n(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("
").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),a.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){var t=this;(e=e||t.current)&&!e.$spinner&&(e.$spinner=n(t.translate(t,t.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=n(t.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",(function(e){return 2==e.button&&e.preventDefault(),!0})),"image"===e.type&&n('
').appendTo(e.$content)),t.adjustCaption(e),t.adjustLayout(e),e.pos===t.currPos&&t.updateCursor(),t.revealContent(e))},adjustCaption:function(e){var t,n=this,r=e||n.current,a=r.opts.caption,i=r.opts.preventCaptionOverlap,o=n.$refs.caption,s=!1;o.toggleClass("fancybox-caption--separate",i),i&&a&&a.length&&(r.pos!==n.currPos?((t=o.clone().appendTo(o.parent())).children().eq(0).empty().html(a),s=t.outerHeight(!0),t.empty().remove()):n.$caption&&(s=n.$caption.outerHeight(!0)),r.$slide.css("padding-bottom",s||""))},adjustLayout:function(e){var t,n,r,a,i=e||this.current;i.isLoaded&&!0!==i.opts.disableLayoutFix&&(i.$content.css("margin-bottom",""),i.$content.outerHeight()>i.$slide.height()+.5&&(r=i.$slide[0].style["padding-bottom"],a=i.$slide.css("padding-bottom"),parseFloat(a)>0&&(t=i.$slide[0].scrollHeight,i.$slide.css("padding-bottom",0),Math.abs(t-i.$slide[0].scrollHeight)<1&&(n=a),i.$slide.css("padding-bottom",r))),i.$content.css("margin-bottom",n))},revealContent:function(e){var t,a,i,o,s=this,l=e.$slide,c=!1,u=!1,d=s.isMoved(e),h=e.isRevealed;return e.isRevealed=!0,t=e.opts[s.firstRun?"animationEffect":"transitionEffect"],i=e.opts[s.firstRun?"animationDuration":"transitionDuration"],i=parseInt(e.forcedDuration===r?i:e.forcedDuration,10),!d&&e.pos===s.currPos&&i||(t=!1),"zoom"===t&&(e.pos===s.currPos&&i&&"image"===e.type&&!e.hasError&&(u=s.getThumbPos(e))?c=s.getFitPos(e):t="fade"),"zoom"===t?(s.isAnimating=!0,c.scaleX=c.width/u.width,c.scaleY=c.height/u.height,"auto"==(o=e.opts.zoomOpacity)&&(o=Math.abs(e.width/e.height-u.width/u.height)>.1),o&&(u.opacity=.1,c.opacity=1),n.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),u),m(e.$content),void n.fancybox.animate(e.$content,c,i,(function(){s.isAnimating=!1,s.complete()}))):(s.updateSlide(e),t?(n.fancybox.stop(l),a="fancybox-slide--"+(e.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,l.addClass(a).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),m(l),"image"!==e.type&&e.$content.hide().show(0),void n.fancybox.animate(l,"fancybox-slide--current",i,(function(){l.removeClass(a).css({transform:"",opacity:""}),e.pos===s.currPos&&s.complete()}),!0)):(e.$content.removeClass("fancybox-is-hidden"),h||!d||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===s.currPos&&s.complete())))},getThumbPos:function(e){var r,a,i,o,s,l,c=e.$thumb;return!(!c||!function(e){var r,a;return!(!e||e.ownerDocument!==t)&&(n(".fancybox-container").css("pointer-events","none"),r={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},a=t.elementFromPoint(r.x,r.y)===e,n(".fancybox-container").css("pointer-events",""),a)}(c[0]))&&(a=n.fancybox.getTranslate(c),i=parseFloat(c.css("border-top-width")||0),o=parseFloat(c.css("border-right-width")||0),s=parseFloat(c.css("border-bottom-width")||0),l=parseFloat(c.css("border-left-width")||0),r={top:a.top+i,left:a.left+l,width:a.width-o-l,height:a.height-i-s,scaleX:1,scaleY:1},a.width>0&&a.height>0&&r)},complete:function(){var e,t=this,r=t.current,a={};!t.isMoved()&&r.isLoaded&&(r.isComplete||(r.isComplete=!0,r.$slide.siblings().trigger("onReset"),t.preload("inline"),m(r.$slide),r.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,(function(e,r){r.pos>=t.currPos-1&&r.pos<=t.currPos+1?a[r.pos]=r:r&&(n.fancybox.stop(r.$slide),r.$slide.off().remove())})),t.slides=a),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),r.opts.video.autoStart&&r.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()})),r.opts.autoFocus&&"html"===r.contentType&&((e=r.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):t.focus(null,!0)),r.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,n,r=this;r.group.length<2||(n=r.slides[r.currPos+1],(t=r.slides[r.currPos-1])&&t.type===e&&r.loadSlide(t),n&&n.type===e&&r.loadSlide(n))},focus:function(e,r){var a,i,o=this,s=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");o.isClosing||((a=(a=!e&&o.current&&o.current.isComplete?o.current.$slide.find("*:visible"+(r?":not(.fancybox-close-small)":"")):o.$refs.container.find("*:visible")).filter(s).filter((function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}))).length?(i=a.index(t.activeElement),e&&e.shiftKey?(i<0||0==i)&&(e.preventDefault(),a.eq(a.length-1).trigger("focus")):(i<0||i==a.length-1)&&(e&&e.preventDefault(),a.eq(0).trigger("focus"))):o.$refs.container.trigger("focus"))},activate:function(){var e=this;n(".fancybox-container").each((function(){var t=n(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)})),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var r,a,i,o,s,l,c,u=this,d=u.current,f=function(){u.cleanUp(e)};return!u.isClosing&&(u.isClosing=!0,!1===u.trigger("beforeClose",e)?(u.isClosing=!1,h((function(){u.update()})),!1):(u.removeEvents(),i=d.$content,r=d.opts.animationEffect,a=n.isNumeric(t)?t:r?d.opts.animationDuration:0,d.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?n.fancybox.stop(d.$slide):r=!1,d.$slide.siblings().trigger("onReset").remove(),a&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",a+"ms"),u.hideLoading(d),u.hideControls(!0),u.updateCursor(),"zoom"!==r||i&&a&&"image"===d.type&&!u.isMoved()&&!d.hasError&&(c=u.getThumbPos(d))||(r="fade"),"zoom"===r?(n.fancybox.stop(i),l={top:(o=n.fancybox.getTranslate(i)).top,left:o.left,scaleX:o.width/c.width,scaleY:o.height/c.height,width:c.width,height:c.height},"auto"==(s=d.opts.zoomOpacity)&&(s=Math.abs(d.width/d.height-c.width/c.height)>.1),s&&(c.opacity=0),n.fancybox.setTranslate(i,l),m(i),n.fancybox.animate(i,c,a,f),!0):(r&&a?n.fancybox.animate(d.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+r,a,f):!0===e?setTimeout(f,a):f(),!0)))},cleanUp:function(t){var r,a,i,o=this,s=o.current.opts.$orig;o.current.$slide.trigger("onReset"),o.$refs.container.empty().remove(),o.trigger("afterClose",t),o.current.opts.backFocus&&(s&&s.length&&s.is(":visible")||(s=o.$trigger),s&&s.length&&(a=e.scrollX,i=e.scrollY,s.trigger("focus"),n("html, body").scrollTop(i).scrollLeft(a))),o.current=null,(r=n.fancybox.getInstance())?r.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(e,t){var r,a=Array.prototype.slice.call(arguments,1),i=this,o=t&&t.opts?t:i.current;if(o?a.unshift(o):o=i,a.unshift(i),n.isFunction(o.opts[e])&&(r=o.opts[e].apply(o,a)),!1===r)return r;"afterClose"!==e&&i.$refs?i.$refs.container.trigger(e+".fb",a):u.trigger(e+".fb",a)},updateControls:function(){var e=this,r=e.current,a=r.index,i=e.$refs.container,o=e.$refs.caption,s=r.opts.caption;r.$slide.trigger("refresh"),s&&s.length?(e.$caption=o,o.children().eq(0).html(s)):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),i.find("[data-fancybox-count]").html(e.group.length),i.find("[data-fancybox-index]").html(a+1),i.find("[data-fancybox-prev]").prop("disabled",!r.opts.loop&&a<=0),i.find("[data-fancybox-next]").prop("disabled",!r.opts.loop&&a>=e.group.length-1),"image"===r.type?i.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",r.opts.image.src||r.src).show():r.opts.toolbar&&i.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(t.activeElement).is(":hidden,[disabled]")&&e.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map((function(e){return"fancybox-show-"+e})).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this,t=e.current?e.current.opts:e.opts,n=e.$refs.container;e.hasHiddenControls=!1,e.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&e.group.length>1)).toggleClass("fancybox-show-caption",!!e.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&e.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:l,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),r=Array.prototype.slice.call(arguments,1);return t instanceof v&&("string"===n.type(e)?t[e].apply(t,r):"function"===n.type(e)&&e.apply(t,r),t)},open:function(e,t,n){return new v(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),u.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(a=t.createElement("div"),e.getComputedStyle&&e.getComputedStyle(a)&&e.getComputedStyle(a).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var n="",a={};if(e&&t)return t.left===r&&t.top===r||(n=(t.left===r?e.position().left:t.left)+"px, "+(t.top===r?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),t.scaleX!==r&&t.scaleY!==r?n+=" scale("+t.scaleX+", "+t.scaleY+")":t.scaleX!==r&&(n+=" scaleX("+t.scaleX+")"),n.length&&(a.transform=n),t.opacity!==r&&(a.opacity=t.opacity),t.width!==r&&(a.width=t.width),t.height!==r&&(a.height=t.height),e.css(a)},animate:function(e,t,a,i,o){var s,l=this;n.isFunction(a)&&(i=a,a=null),l.stop(e),s=l.getTranslate(e),e.on(p,(function(c){(!c||!c.originalEvent||e.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(l.stop(e),n.isNumeric(a)&&e.css("transition-duration",""),n.isPlainObject(t)?t.scaleX!==r&&t.scaleY!==r&&l.setTranslate(e,{top:t.top,left:t.left,width:s.width*t.scaleX,height:s.height*t.scaleY,scaleX:1,scaleY:1}):!0!==o&&e.removeClass(t),n.isFunction(i)&&i(c))})),n.isNumeric(a)&&e.css("transition-duration",a+"ms"),n.isPlainObject(t)?(t.scaleX!==r&&t.scaleY!==r&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout((function(){e.trigger(p)}),a+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(p),e.off(p).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?n("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},y):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},y),this},u.on("click.fb-start","[data-fancybox]",y),u.on("click.fb-start","[data-fancybox-trigger]",(function(e){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})})),i=".fancybox-button",o="fancybox-focus",s=null,u.on("mousedown mouseup focus blur",i,(function(e){switch(e.type){case"mousedown":s=n(this);break;case"mouseup":s=null;break;case"focusin":n(i).removeClass(o),n(this).is(s)||n(this).is("[disabled]")||n(this).addClass(o);break;case"focusout":n(i).removeClass(o)}}))}function y(e,t){var r,a,i,o=[],s=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},e&&e.data&&(t=g(e.data.options,t)),r=t.$target||n(e.currentTarget).trigger("blur"),(i=n.fancybox.getInstance())&&i.$trigger&&i.$trigger.is(r)||(o=t.selector?n(t.selector):(a=r.attr("data-fancybox")||"")?(o=e.data?e.data.items:[]).length?o.filter('[data-fancybox="'+a+'"]'):n('[data-fancybox="'+a+'"]'):[r],(s=n(o).index(r))<0&&(s=0),(i=n.fancybox.open(o,t,s)).$trigger=r))}}(window,document,r),function(e){"use strict";var t={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(t,n,r){if(t)return r=r||"","object"===e.type(r)&&(r=e.param(r,!0)),e.each(n,(function(e,n){t=t.replace("$"+e,n||"")})),r.length&&(t+=(t.indexOf("?")>0?"&":"?")+r),t};e(document).on("objectNeedsType.fb",(function(r,a,i){var o,s,l,c,u,d,h,f=i.src||"",p=!1;o=e.extend(!0,{},t,i.opts.media),e.each(o,(function(t,r){if(l=f.match(r.matcher)){if(p=r.type,h=t,d={},r.paramPlace&&l[r.paramPlace]){"?"==(u=l[r.paramPlace])[0]&&(u=u.substring(1)),u=u.split("&");for(var a=0;a1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&r.load(n.contentSource)}})}(r),function(e,t,n){"use strict";var r=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},a=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},i=function(t){var n=[];for(var r in t=(t=t.originalEvent||t||e.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[r].pageX?n.push({x:t[r].pageX,y:t[r].pageY}):t[r].clientX&&n.push({x:t[r].clientX,y:t[r].clientY});return n},o=function(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},s=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,r=e[0].attributes,a=r.length;tn.clientHeight,o=("scroll"===a||"auto"===a)&&n.scrollWidth>n.clientWidth,!(s=i||o)&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return s},c=function(e){var t=this;t.instance=e,t.$bg=e.$refs.bg,t.$stage=e.$refs.stage,t.$container=e.$refs.container,t.destroy(),t.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(t,"ontouchstart"))};c.prototype.destroy=function(){var e=this;e.$container.off(".fb.touch"),n(t).off(".fb.touch"),e.requestId&&(a(e.requestId),e.requestId=null),e.tapped&&(clearTimeout(e.tapped),e.tapped=null)},c.prototype.ontouchstart=function(r){var a=this,c=n(r.target),u=a.instance,d=u.current,h=d.$slide,f=d.$content,p="touchstart"==r.type;if(p&&a.$container.off("mousedown.fb.touch"),(!r.originalEvent||2!=r.originalEvent.button)&&h.length&&c.length&&!s(c)&&!s(c.parent())&&(c.is("img")||!(r.originalEvent.clientX>c[0].clientWidth+c.offset().left))){if(!d||u.isAnimating||d.$slide.hasClass("fancybox-animated"))return r.stopPropagation(),void r.preventDefault();a.realPoints=a.startPoints=i(r),a.startPoints.length&&(d.touch&&r.stopPropagation(),a.startEvent=r,a.canTap=!0,a.$target=c,a.$content=f,a.opts=d.opts.touch,a.isPanning=!1,a.isSwiping=!1,a.isZooming=!1,a.isScrolling=!1,a.canPan=u.canPan(),a.startTime=(new Date).getTime(),a.distanceX=a.distanceY=a.distance=0,a.canvasWidth=Math.round(h[0].clientWidth),a.canvasHeight=Math.round(h[0].clientHeight),a.contentLastPos=null,a.contentStartPos=n.fancybox.getTranslate(a.$content)||{top:0,left:0},a.sliderStartPos=n.fancybox.getTranslate(h),a.stagePos=n.fancybox.getTranslate(u.$refs.stage),a.sliderStartPos.top-=a.stagePos.top,a.sliderStartPos.left-=a.stagePos.left,a.contentStartPos.top-=a.stagePos.top,a.contentStartPos.left-=a.stagePos.left,n(t).off(".fb.touch").on(p?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(a,"ontouchend")).on(p?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(a,"ontouchmove")),n.fancybox.isMobile&&t.addEventListener("scroll",a.onscroll,!0),((a.opts||a.canPan)&&(c.is(a.$stage)||a.$stage.find(c).length)||(c.is(".fancybox-image")&&r.preventDefault(),n.fancybox.isMobile&&c.parents(".fancybox-caption").length))&&(a.isScrollable=l(c)||l(c.parent()),n.fancybox.isMobile&&a.isScrollable||r.preventDefault(),(1===a.startPoints.length||d.hasError)&&(a.canPan?(n.fancybox.stop(a.$content),a.isPanning=!0):a.isSwiping=!0,a.$container.addClass("fancybox-is-grabbing")),2===a.startPoints.length&&"image"===d.type&&(d.isLoaded||d.$ghost)&&(a.canTap=!1,a.isSwiping=!1,a.isPanning=!1,a.isZooming=!0,n.fancybox.stop(a.$content),a.centerPointStartX=.5*(a.startPoints[0].x+a.startPoints[1].x)-n(e).scrollLeft(),a.centerPointStartY=.5*(a.startPoints[0].y+a.startPoints[1].y)-n(e).scrollTop(),a.percentageOfImageAtPinchPointX=(a.centerPointStartX-a.contentStartPos.left)/a.contentStartPos.width,a.percentageOfImageAtPinchPointY=(a.centerPointStartY-a.contentStartPos.top)/a.contentStartPos.height,a.startDistanceBetweenFingers=o(a.startPoints[0],a.startPoints[1]))))}},c.prototype.onscroll=function(e){this.isScrolling=!0,t.removeEventListener("scroll",this.onscroll,!0)},c.prototype.ontouchmove=function(e){var t=this;void 0===e.originalEvent.buttons||0!==e.originalEvent.buttons?t.isScrolling?t.canTap=!1:(t.newPoints=i(e),(t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=o(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=o(t.newPoints[0],t.startPoints[0],"y"),t.distance=o(t.newPoints[0],t.startPoints[0]),t.distance>0&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))):t.ontouchend(e)},c.prototype.onSwipe=function(t){var i,o=this,s=o.instance,l=o.isSwiping,c=o.sliderStartPos.left||0;if(!0!==l)"x"==l&&(o.distanceX>0&&(o.instance.group.length<2||0===o.instance.current.index&&!o.instance.current.opts.loop)?c+=Math.pow(o.distanceX,.8):o.distanceX<0&&(o.instance.group.length<2||o.instance.current.index===o.instance.group.length-1&&!o.instance.current.opts.loop)?c-=Math.pow(-o.distanceX,.8):c+=o.distanceX),o.sliderLastPos={top:"x"==l?0:o.sliderStartPos.top+o.distanceY,left:c},o.requestId&&(a(o.requestId),o.requestId=null),o.requestId=r((function(){o.sliderLastPos&&(n.each(o.instance.slides,(function(e,t){var r=t.pos-o.instance.currPos;n.fancybox.setTranslate(t.$slide,{top:o.sliderLastPos.top,left:o.sliderLastPos.left+r*o.canvasWidth+r*t.opts.gutter})})),o.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(o.distance)>10){if(o.canTap=!1,s.group.length<2&&o.opts.vertical?o.isSwiping="y":s.isDragging||!1===o.opts.vertical||"auto"===o.opts.vertical&&n(e).width()>800?o.isSwiping="x":(i=Math.abs(180*Math.atan2(o.distanceY,o.distanceX)/Math.PI),o.isSwiping=i>45&&i<135?"y":"x"),"y"===o.isSwiping&&n.fancybox.isMobile&&o.isScrollable)return void(o.isScrolling=!0);s.isDragging=o.isSwiping,o.startPoints=o.newPoints,n.each(s.slides,(function(e,t){var r,a;n.fancybox.stop(t.$slide),r=n.fancybox.getTranslate(t.$slide),a=n.fancybox.getTranslate(s.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),t.pos===s.current.pos&&(o.sliderStartPos.top=r.top-a.top,o.sliderStartPos.left=r.left-a.left),n.fancybox.setTranslate(t.$slide,{top:r.top-a.top,left:r.left-a.left})})),s.SlideShow&&s.SlideShow.isActive&&s.SlideShow.stop()}},c.prototype.onPan=function(){var e=this;o(e.newPoints[0],e.realPoints[0])<(n.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&a(e.requestId),e.requestId=r((function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})))},c.prototype.limitMovement=function(){var e,t,n,r,a,i,o=this,s=o.canvasWidth,l=o.canvasHeight,c=o.distanceX,u=o.distanceY,d=o.contentStartPos,h=d.left,f=d.top,p=d.width,m=d.height;return a=p>s?h+c:h,i=f+u,e=Math.max(0,.5*s-.5*p),t=Math.max(0,.5*l-.5*m),n=Math.min(s-p,.5*s-.5*p),r=Math.min(l-m,.5*l-.5*m),c>0&&a>e&&(a=e-1+Math.pow(-e+h+c,.8)||0),c<0&&a0&&i>t&&(i=t-1+Math.pow(-t+f+u,.8)||0),u<0&&ia?(e=e>0?0:e)i?(t=t>0?0:t)1&&(r.dMs>130&&o>10||o>50);r.sliderLastPos=null,"y"==e&&!t&&Math.abs(r.distanceY)>50?(n.fancybox.animate(r.instance.current.$slide,{top:r.sliderStartPos.top+r.distanceY+150*r.velocityY,opacity:0},200),a=r.instance.close(!0,250)):s&&r.distanceX>0?a=r.instance.previous(300):s&&r.distanceX<0&&(a=r.instance.next(300)),!1!==a||"x"!=e&&"y"!=e||r.instance.centerSlide(200),r.$container.removeClass("fancybox-is-sliding")},c.prototype.endPanning=function(){var e,t,r,a=this;a.contentLastPos&&(!1===a.opts.momentum||a.dMs>350?(e=a.contentLastPos.left,t=a.contentLastPos.top):(e=a.contentLastPos.left+500*a.velocityX,t=a.contentLastPos.top+500*a.velocityY),(r=a.limitPosition(e,t,a.contentStartPos.width,a.contentStartPos.height)).width=a.contentStartPos.width,r.height=a.contentStartPos.height,n.fancybox.animate(a.$content,r,366))},c.prototype.endZooming=function(){var e,t,r,a,i=this,o=i.instance.current,s=i.newWidth,l=i.newHeight;i.contentLastPos&&(e=i.contentLastPos.left,a={top:t=i.contentLastPos.top,left:e,width:s,height:l,scaleX:1,scaleY:1},n.fancybox.setTranslate(i.$content,a),so.width||l>o.height?i.instance.scaleToActual(i.centerPointStartX,i.centerPointStartY,150):(r=i.limitPosition(e,t,s,l),n.fancybox.animate(i.$content,r,150)))},c.prototype.onTap=function(t){var r,a=this,o=n(t.target),s=a.instance,l=s.current,c=t&&i(t)||a.startPoints,u=c[0]?c[0].x-n(e).scrollLeft()-a.stagePos.left:0,d=c[0]?c[0].y-n(e).scrollTop()-a.stagePos.top:0,h=function(e){var r=l.opts[e];if(n.isFunction(r)&&(r=r.apply(s,[l,t])),r)switch(r){case"close":s.close(a.startEvent);break;case"toggleControls":s.toggleControls();break;case"next":s.next();break;case"nextOrClose":s.group.length>1?s.next():s.close(a.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(s.canPan()?s.scaleToFit():s.isScaledDown()?s.scaleToActual(u,d):s.group.length<2&&s.close(a.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(o.is("img")||!(u>o[0].clientWidth+o.offset().left))){if(o.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))r="Outside";else if(o.is(".fancybox-slide"))r="Slide";else{if(!s.current.$content||!s.current.$content.find(o).addBack().filter(o).length)return;r="Content"}if(a.tapped){if(clearTimeout(a.tapped),a.tapped=null,Math.abs(u-a.tapX)>50||Math.abs(d-a.tapY)>50)return this;h("dblclick"+r)}else a.tapX=u,a.tapY=d,l.opts["dblclick"+r]&&l.opts["dblclick"+r]!==l.opts["click"+r]?a.tapped=setTimeout((function(){a.tapped=null,s.isAnimating||h("click"+r)}),500):h("click"+r);return this}},n(t).on("onActivate.fb",(function(e,t){t&&!t.Guestures&&(t.Guestures=new c(t))})).on("beforeClose.fb",(function(e,t){t&&t.Guestures&&t.Guestures.destroy()}))}(window,document,r),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{slideShow:''},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,n=e.instance,r=n.group[n.currIndex].opts.slideShow;e.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){e.toggle()})),n.group.length<2||!r?e.$button.hide():r.progress&&(e.$progress=t('
').appendTo(n.$refs.inner))},set:function(e){var n=this,r=n.instance,a=r.current;a&&(!0===e||a.opts.loop||r.currIndex'},fullScreen:{autoStart:!1}}),t(e).on(n.fullscreenchange,(function(){var e=r.isFullscreen(),n=t.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",e),n.$refs.container.toggleClass("fancybox-is-fullscreen",e),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))}))}t(e).on({"onInit.fb":function(e,t){n?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(e){e.stopPropagation(),e.preventDefault(),r.toggle()})),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&r.request(),t.FullScreen=r):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,n,r,a){t&&t.FullScreen&&70===a&&(r.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&r.exit()}})}(document,r),function(e,t){"use strict";var n="fancybox-thumbs",r=n+"-active";t.fancybox.defaults=t.extend(!0,{btnTpl:{thumbs:''},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);var a=function(e){this.init(e)};t.extend(a.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,n=e.group,r=0;t.instance=e,t.opts=n[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var a=0,i=n.length;a1));a++);r>1&&t.opts?(t.$button.removeAttr("style").on("click",(function(){t.toggle()})),t.isActive=!0):t.$button.hide()},create:function(){var e,r=this,a=r.instance,i=r.opts.parentEl,o=[];r.$grid||(r.$grid=t('
').appendTo(a.$refs.container.find(i).addBack().filter(i)),r.$grid.on("click","a",(function(){a.jumpTo(t(this).attr("data-index"))}))),r.$list||(r.$list=t('
').appendTo(r.$grid)),t.each(a.group,(function(t,n){(e=n.thumb)||"image"!==n.type||(e=n.src),o.push('")})),r.$list[0].innerHTML=o.join(""),"x"===r.opts.axis&&r.$list.width(parseInt(r.$grid.css("padding-right"),10)+a.group.length*r.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,n,a=this,i=a.$list,o=a.$grid;a.instance.current&&(n=(t=i.children().removeClass(r).filter('[data-index="'+a.instance.current.index+'"]').addClass(r)).position(),"y"===a.opts.axis&&(n.top<0||n.top>i.height()-t.outerHeight())?i.stop().animate({scrollTop:i.scrollTop()+n.top},e):"x"===a.opts.axis&&(n.lefto.scrollLeft()+(o.width()-t.outerWidth()))&&i.parent().stop().animate({scrollLeft:n.left},e))},update:function(){var e=this;e.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),e.isVisible?(e.$grid||e.create(),e.instance.trigger("onThumbsShow"),e.focus(0)):e.$grid&&e.instance.trigger("onThumbsHide"),e.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),t(e).on({"onInit.fb":function(e,t){var n;t&&!t.Thumbs&&(n=new a(t)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(e,t,n,r){var a=t&&t.Thumbs;a&&a.isVisible&&a.focus(r?0:250)},"afterKeydown.fb":function(e,t,n,r,a){var i=t&&t.Thumbs;i&&i.isActive&&71===a&&(r.preventDefault(),i.toggle())},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,r),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{share:''},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:''}}),t(e).on("click","[data-fancybox-share]",(function(){var e,n,r,a,i=t.fancybox.getInstance(),o=i.current||null;o&&("function"===t.type(o.opts.share.url)&&(e=o.opts.share.url.apply(o,[i,o])),n=o.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===o.type?encodeURIComponent(o.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,(r=e,a={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},String(r).replace(/[&<>"'`=\/]/g,(function(e){return a[e]})))).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),t.fancybox.open({src:i.translate(i,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){i.$refs.container.one("beforeClose.fb",(function(){e.close(null,0)})),t.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))},mobile:{autoFocus:!1}}}))}))}(document,r),function(e,t,n){"use strict";function r(){var t=e.location.hash.substr(1),n=t.split("-"),r=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:t,index:r<1?1:r,gallery:n.join("-")}}function a(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function i(e){var t,n;return!!e&&(""!==(n=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}))}),n((function(){!1!==n.fancybox.defaults.hash&&(n(t).on({"onInit.fb":function(e,t){var n,a;!1!==t.group[t.currIndex].opts.hash&&(n=r(),(a=i(t))&&n.gallery&&a==n.gallery&&(t.currIndex=n.index-1))},"beforeShow.fb":function(n,r,a,o){var s;a&&!1!==a.opts.hash&&(s=i(r))&&(r.currentHash=s+(r.group.length>1?"-"+(a.index+1):""),e.location.hash!=="#"+r.currentHash&&(o&&!r.origHash&&(r.origHash=e.location.hash),r.hashTimer&&clearTimeout(r.hashTimer),r.hashTimer=setTimeout((function(){"replaceState"in e.history?(e.history[o?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+r.currentHash),o&&(r.hasCreatedHistory=!0)):e.location.hash=r.currentHash,r.hashTimer=null}),300)))},"beforeClose.fb":function(n,r,a){a&&!1!==a.opts.hash&&(clearTimeout(r.hashTimer),r.currentHash&&r.hasCreatedHistory?e.history.back():r.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(r.origHash||"")):e.location.hash=r.origHash),r.currentHash=null)}}),n(e).on("hashchange.fb",(function(){var e=r(),t=null;n.each(n(".fancybox-container").get().reverse(),(function(e,r){var a=n(r).data("FancyBox");if(a&&a.currentHash)return t=a,!1})),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&a(e)})),setTimeout((function(){n.fancybox.getInstance()||a(r())}),50))}))}(window,document,r),function(e,t){"use strict";var n=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,r){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(e){var r=t.current,a=(new Date).getTime();t.group.length<2||!1===r.opts.wheel||"auto"===r.opts.wheel&&"image"!==r.type||(e.preventDefault(),e.stopPropagation(),r.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,a-n<250||(n=a,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))}))}})}(document,r)},14356:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VBScrollspy:()=>m});var r=n(85493),a=n(46710),i=n(28014),o=n(89821),s=n(91671),l=n(92952),c=n(59313),u=n(86637),d="__BV_Scrollspy__",h=/^\d+$/,f=/^(auto|position|offset)$/,p=function(e,t,n){if(r.IS_BROWSER){var p=function(e){var t={};return e.arg&&(t.element="#".concat(e.arg)),(0,s.keys)(e.modifiers).forEach((function(e){h.test(e)?t.offset=(0,o.toInteger)(e,0):f.test(e)&&(t.method=e)})),(0,a.isString)(e.value)?t.element=e.value:(0,a.isNumber)(e.value)?t.offset=(0,i.mathRound)(e.value):(0,a.isObject)(e.value)&&(0,s.keys)(e.value).filter((function(e){return!!u.BVScrollspy.DefaultType[e]})).forEach((function(n){t[n]=e.value[n]})),t}(t);e[d]?e[d].updateConfig(p,(0,l.getEventRoot)((0,c.getInstanceFromDirective)(n,t))):e[d]=new u.BVScrollspy(e,p,(0,l.getEventRoot)((0,c.getInstanceFromDirective)(n,t)))}},m={bind:function(e,t,n){p(e,t,n)},inserted:function(e,t,n){p(e,t,n)},update:function(e,t,n){t.value!==t.oldValue&&p(e,t,n)},componentUpdated:function(e,t,n){t.value!==t.oldValue&&p(e,t,n)},unbind:function(e){!function(e){e[d]&&(e[d].dispose(),e[d]=null,delete e[d])}(e)}}},14452:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BSkeletonWrapper:()=>u,props:()=>c});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(33486),l=n(1340),c=(0,l.makePropsConfigurable)({loading:(0,l.makeProp)(i.PROP_TYPE_BOOLEAN,!1)},a.NAME_SKELETON_WRAPPER),u=(0,r.extend)({name:a.NAME_SKELETON_WRAPPER,functional:!0,props:c,render:function(e,t){var n=t.data,a=t.props,i=t.slots,l=t.scopedSlots,c=i(),u=l||{},d={};return a.loading?e("div",(0,r.mergeData)(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),(0,s.normalizeSlot)(o.SLOT_NAME_LOADING,d,u,c)):(0,s.normalizeSlot)(o.SLOT_NAME_DEFAULT,d,u,c)}})},14486:(e,t,n)=>{"use strict";function r(e,t,n,r,a,i,o,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.r(t),n.d(t,{default:()=>r})},14578:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormRadioGroup:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(1340),o=n(43400),s=(0,i.makePropsConfigurable)(o.props,a.NAME_FORM_RADIO_GROUP),l=(0,r.extend)({name:a.NAME_FORM_RADIO_GROUP,mixins:[o.formRadioCheckGroupMixin],provide:function(){var e=this;return{getBvRadioGroup:function(){return e}}},props:s,computed:{isRadioGroup:function(){return!0}}})},14805:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormTextarea:()=>r.BFormTextarea,FormTextareaPlugin:()=>a});var r=n(52578),a=(0,n(96266).pluginFactory)({components:{BFormTextarea:r.BFormTextarea,BTextarea:r.BFormTextarea}})},14933:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Crc32Stream:()=>a});var r=n(65044);class a extends TransformStream{constructor(){let e;const t=new r.Crc32;super({transform(e,n){t.append(e),n.enqueue(e)},flush(){const n=new Uint8Array(4);new DataView(n.buffer).setUint32(0,t.get()),e.value=n}}),e=this}}},15013:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VBModal:()=>r.VBModal,VBModalPlugin:()=>a});var r=n(39412),a=(0,n(96266).pluginFactory)({directives:{VBModal:r.VBModal}})},15263:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BSkeletonTable:()=>m,props:()=>p});var r=n(2448),a=n(49800),i=n(80072),o=n(17079),s=n(1340),l=n(15874),c=n(87066);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t0},p=(0,s.makePropsConfigurable)({animation:(0,s.makeProp)(i.PROP_TYPE_STRING),columns:(0,s.makeProp)(i.PROP_TYPE_NUMBER,5,f),hideHeader:(0,s.makeProp)(i.PROP_TYPE_BOOLEAN,!1),rows:(0,s.makeProp)(i.PROP_TYPE_NUMBER,3,f),showFooter:(0,s.makeProp)(i.PROP_TYPE_BOOLEAN,!1),tableProps:(0,s.makeProp)(i.PROP_TYPE_OBJECT,{})},a.NAME_SKELETON_TABLE),m=(0,r.extend)({name:a.NAME_SKELETON_TABLE,functional:!0,props:p,render:function(e,t){var n=t.data,a=t.props,i=a.animation,s=a.columns,u=e("th",[e(l.BSkeleton,{props:{animation:i}})]),h=e("tr",(0,o.createArray)(s,u)),f=e("td",[e(l.BSkeleton,{props:{width:"75%",animation:i}})]),p=e("tr",(0,o.createArray)(s,f)),m=e("tbody",(0,o.createArray)(a.rows,p)),g=a.hideHeader?e():e("thead",[h]),v=a.showFooter?e("tfoot",[h]):e();return e(c.BTableSimple,(0,r.mergeData)(n,{props:d({},a.tableProps)}),[g,m,v])}})},15424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{E:()=>g,a:()=>f,b:()=>_,c:()=>M,d:()=>E,e:()=>x,g:()=>m,i:()=>I,o:()=>k,r:()=>b,t:()=>w,u:()=>T,w:()=>P});let r,a,i=null,o=0,s=[],l=!1;function c(e,t){const n=new d(e,t?.effect,t?.label);return t?.equals&&(n.equals=t.equals),n}function u(e,t){return e===t}class d{_value;fn;observers=null;sources=null;state;effect;label;cleanups=[];equals=(()=>u)();constructor(e,t,n){"function"==typeof e?(this.fn=e,this._value=void 0,this.effect=t||!1,this.state=2,t&&(s.push(this),a?.(this))):(this.fn=void 0,this._value=e,this.state=0,this.effect=!1),n&&(this.label=n)}get value(){return this.get()}set value(e){this.set(e)}get(){return r&&(!i&&r.sources&&r.sources[o]==this?o++:i?i.push(this):i=[this]),this.fn&&this.updateIfNecessary(),this._value}set(e){if("function"==typeof e){const t=e;t!==this.fn&&this.stale(2),this.fn=t}else{this.fn&&(this.removeParentObservers(0),this.sources=null,this.fn=void 0);const t=e;if(!this.equals(this._value,t)){if(this.observers)for(let e=0;ee(this._value))),this.cleanups=[]),this._value=this.fn(),i){if(this.removeParentObservers(o),this.sources&&o>0){this.sources.length=o+i.length;for(let e=0;ee===this));e.observers[n]=e.observers[e.observers.length-1],e.observers.pop()}}}function h(){l||(l=!0,queueMicrotask((()=>{l=!1,function(){for(let e=0;e"function"==typeof e;let p;!function(){a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h}();const m=()=>p;class g{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._cleanups=new Set,this.active=!0,e||null==p)return;const t=p,n=this.stop.bind(this);t._cleanups.add(n),this._cleanups.add((()=>t._cleanups.delete(n)))}run(e){const t=p;p=this;try{return e()}finally{p=t}}stop(){const e=this._cleanups;e.forEach((t=>{e.delete(t),t()})),e.clear(),this.active=!1}}class v{get value(){return this._v.value}set value(e){this._set(e)}constructor(e){this.__m_isRef=!0,e instanceof d?(this._v=e,this._r=!0):this._v=c(e)}_set(e){if(this._r)throw new Error("[fine-jsx] Can't set computed value");this._v.value=e}}class y{get value(){return this._f()}constructor(e){this.__m_isRef=!0,this._f=e}}function b(e){return new v(e)}const _=(e,t)=>{const n=c(e,{equals:t});return p?._cleanups.add((()=>n.fn=void 0)),new v(n)},I=e=>null!=e&&e.__m_isRef,T=e=>I(e)?e.value:e,w=e=>I(e)?e.value:f(e)?e():e instanceof d?e.value:e,E=e=>I(e)?e:f(e)?new y(e):e instanceof d?new v(e):b(e),M=()=>new g,k=e=>{p?._cleanups.add(e)},S=Symbol("miru-on-stop"),P=(e,t)=>{let n;const r=e=>n=e;let a;return A((()=>{const i=e.map(w);if(null!=a){let e=!1;for(let t=0;tn?.()})},A=(e,t)=>{const n=p;if(null!=n&&!n.active)throw new Error("[fine-jsx] Scope is already disposed");let r;const a=e=>r=e,i=c((()=>{r?.(),r=void 0,e(a)}),{effect:!0});i.get();const o=()=>{n?._cleanups.delete(o),i.value=void 0,t[S]?.()};return n?._cleanups.add(o),o},x=e=>A(e,{})},15524:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BButtonGroup:()=>r.BButtonGroup,ButtonGroupPlugin:()=>a});var r=n(88776),a=(0,n(96266).pluginFactory)({components:{BButtonGroup:r.BButtonGroup,BBtnGroup:r.BButtonGroup}})},15867:function(e,t,n){!function(e){"use strict";e.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(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<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(e){return"ທີ່"+e}})}(n(95093))},15874:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BSkeleton:()=>c,props:()=>l});var r=n(2448),a=n(49800),i=n(80072),o=n(1340);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=(0,o.makePropsConfigurable)({animation:(0,o.makeProp)(i.PROP_TYPE_STRING,"wave"),height:(0,o.makeProp)(i.PROP_TYPE_STRING),size:(0,o.makeProp)(i.PROP_TYPE_STRING),type:(0,o.makeProp)(i.PROP_TYPE_STRING,"text"),variant:(0,o.makeProp)(i.PROP_TYPE_STRING),width:(0,o.makeProp)(i.PROP_TYPE_STRING)},a.NAME_SKELETON),c=(0,r.extend)({name:a.NAME_SKELETON,functional:!0,props:l,render:function(e,t){var n,a=t.data,i=t.props,o=i.size,l=i.animation,c=i.variant;return e("div",(0,r.mergeData)(a,{staticClass:"b-skeleton",style:{width:o||i.width,height:o||i.height},class:(n={},s(n,"b-skeleton-".concat(i.type),!0),s(n,"b-skeleton-animate-".concat(l),l),s(n,"bg-".concat(c),c),n)}))}})},16167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BInputGroupAppend:()=>h,props:()=>d});var r=n(2448),a=n(49800),i=n(91671),o=n(1340),s=n(537);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BDropdownForm:()=>f,props:()=>h});var r=n(2448),a=n(49800),i=n(80072),o=n(91671),s=n(1340),l=n(66704);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t({ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r],+e)}function r(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative}function a(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,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:a("[Сьогодні "),nextDay:a("[Завтра "),lastDay:a("[Вчора "),nextWeek:a("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[Минулої] dddd [").call(this);case 1:case 2:case 4:return a("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(95093))},17062:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VBToggle:()=>N});var r=n(49800),a=n(85493),i=n(87013),o=n(36714),s=n(41817),l=n(17079),c=n(59313),u=n(71402),d=n(87057),h=n(46710),f=n(60277),p=n(91671),m=n(92952),g="collapsed",v="not-collapsed",y="__BV_toggle",b="".concat(y,"_HANDLER__"),_="".concat(y,"_CLICK__"),I="".concat(y,"_STATE__"),T="".concat(y,"_TARGETS__"),w="aria-controls",E="aria-expanded",M="role",k="tabindex",S="overflow-anchor",P=(0,d.getRootActionEventName)(r.NAME_COLLAPSE,"toggle"),A=(0,d.getRootEventName)(r.NAME_COLLAPSE,"state"),x=(0,d.getRootEventName)(r.NAME_COLLAPSE,"sync-state"),B=(0,d.getRootActionEventName)(r.NAME_COLLAPSE,"request-state"),L=[o.CODE_ENTER,o.CODE_SPACE],O=function(e){return!(0,l.arrayIncludes)(["button","a"],e.tagName.toLowerCase())},C=function(e){var t=e[_];t&&((0,d.eventOff)(e,"click",t,i.EVENT_OPTIONS_PASSIVE),(0,d.eventOff)(e,"keydown",t,i.EVENT_OPTIONS_PASSIVE)),e[_]=null},D=function(e,t){e[b]&&t&&(0,m.getEventRoot)(t).$off([A,x],e[b]),e[b]=null},R=function(e,t){t?((0,u.removeClass)(e,g),(0,u.addClass)(e,v),(0,u.setAttr)(e,E,"true")):((0,u.removeClass)(e,v),(0,u.addClass)(e,g),(0,u.setAttr)(e,E,"false"))},F=function(e,t){e[t]=null,delete e[t]},z=function(e,t,n){if(a.IS_BROWSER&&(0,c.getInstanceFromDirective)(n,t)){O(e)&&((0,u.hasAttr)(e,M)||(0,u.setAttr)(e,M,"button"),(0,u.hasAttr)(e,k)||(0,u.setAttr)(e,k,"0")),R(e,e[I]);var r=function(e,t){var n=e.modifiers,r=e.arg,a=e.value,i=(0,p.keys)(n||{});if(a=(0,h.isString)(a)?a.split(s.RX_SPACE_SPLIT):a,(0,u.isTag)(t.tagName,"a")){var o=(0,u.getAttr)(t,"href")||"";s.RX_HASH_ID.test(o)&&i.push(o.replace(s.RX_HASH,""))}return(0,l.concat)(r,a).forEach((function(e){return(0,h.isString)(e)&&i.push(e)})),i.filter((function(e,t,n){return e&&n.indexOf(e)===t}))}(t,e);r.length>0?((0,u.setAttr)(e,w,r.join(" ")),(0,u.setStyle)(e,S,"none")):((0,u.removeAttr)(e,w),(0,u.removeStyle)(e,S)),(0,u.requestAF)((function(){!function(e,t){if(C(e),t){var n=function(n){"keydown"===n.type&&!(0,l.arrayIncludes)(L,n.keyCode)||(0,u.isDisabled)(e)||(e[T]||[]).forEach((function(e){(0,m.getEventRoot)(t).$emit(P,e)}))};e[_]=n,(0,d.eventOn)(e,"click",n,i.EVENT_OPTIONS_PASSIVE),O(e)&&(0,d.eventOn)(e,"keydown",n,i.EVENT_OPTIONS_PASSIVE)}}(e,(0,c.getInstanceFromDirective)(n,t))})),(0,f.looseEqual)(r,e[T])||(e[T]=r,r.forEach((function(e){(0,m.getEventRoot)((0,c.getInstanceFromDirective)(n,t)).$emit(B,e)})))}},N={bind:function(e,t,n){e[I]=!1,e[T]=[],function(e,t){if(D(e,t),t){var n=function(t,n){(0,l.arrayIncludes)(e[T]||[],t)&&(e[I]=n,R(e,n))};e[b]=n,(0,m.getEventRoot)(t).$on([A,x],n)}}(e,(0,c.getInstanceFromDirective)(n,t)),z(e,t,n)},componentUpdated:z,updated:z,unbind:function(e,t,n){C(e),D(e,(0,c.getInstanceFromDirective)(n,t)),F(e,b),F(e,_),F(e,I),F(e,T),(0,u.removeClass)(e,g),(0,u.removeClass)(e,v),(0,u.removeAttr)(e,E),(0,u.removeAttr)(e,w),(0,u.removeAttr)(e,M),(0,u.removeStyle)(e,S)}}},17079:(e,t,n)=>{"use strict";n.r(t),n.d(t,{arrayIncludes:()=>i,concat:()=>o,createArray:()=>s,flatten:()=>l,flattenDeep:()=>c,from:()=>a});var r=n(46710),a=function(){return Array.from.apply(Array,arguments)},i=function(e,t){return-1!==e.indexOf(t)},o=function(){for(var e=arguments.length,t=new Array(e),n=0;n=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(95093))},17538:function(e,t,n){!function(e){"use strict";e.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(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(95093))},17669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getMimeType:()=>o,mimeTypes:()=>i});var r=n(44965);const a={application:{"andrew-inset":"ez",annodex:"anx","atom+xml":"atom","atomcat+xml":"atomcat","atomserv+xml":"atomsrv",bbolin:"lin","cu-seeme":"cu","davmount+xml":"davmount",dsptype:"tsp",ecmascript:["es","ecma"],futuresplash:"spl",hta:"hta","java-archive":"jar","java-serialized-object":"ser","java-vm":"class",m3g:"m3g","mac-binhex40":"hqx",mathematica:["nb","ma","mb"],msaccess:"mdb",msword:["doc","dot","wiz"],mxf:"mxf",oda:"oda",ogg:"ogx",pdf:"pdf","pgp-keys":"key","pgp-signature":["asc","sig"],"pics-rules":"prf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],rar:"rar","rdf+xml":"rdf","rss+xml":"rss",rtf:"rtf","xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd","xpdl"],"xspf+xml":"xspf",zip:"zip","vnd.android.package-archive":"apk","vnd.cinderella":"cdy","vnd.google-earth.kml+xml":"kml","vnd.google-earth.kmz":"kmz","vnd.mozilla.xul+xml":"xul","vnd.ms-excel":["xls","xlb","xlt","xlm","xla","xlc","xlw"],"vnd.ms-pki.seccat":"cat","vnd.ms-pki.stl":"stl","vnd.ms-powerpoint":["ppt","pps","pot","ppa","pwz"],"vnd.oasis.opendocument.chart":"odc","vnd.oasis.opendocument.database":"odb","vnd.oasis.opendocument.formula":"odf","vnd.oasis.opendocument.graphics":"odg","vnd.oasis.opendocument.graphics-template":"otg","vnd.oasis.opendocument.image":"odi","vnd.oasis.opendocument.presentation":"odp","vnd.oasis.opendocument.presentation-template":"otp","vnd.oasis.opendocument.spreadsheet":"ods","vnd.oasis.opendocument.spreadsheet-template":"ots","vnd.oasis.opendocument.text":"odt","vnd.oasis.opendocument.text-master":["odm","otm"],"vnd.oasis.opendocument.text-template":"ott","vnd.oasis.opendocument.text-web":"oth","vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","vnd.openxmlformats-officedocument.spreadsheetml.template":"xltx","vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","vnd.openxmlformats-officedocument.presentationml.slideshow":"ppsx","vnd.openxmlformats-officedocument.presentationml.template":"potx","vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","vnd.openxmlformats-officedocument.wordprocessingml.template":"dotx","vnd.smaf":"mmf","vnd.stardivision.calc":"sdc","vnd.stardivision.chart":"sds","vnd.stardivision.draw":"sda","vnd.stardivision.impress":"sdd","vnd.stardivision.math":["sdf","smf"],"vnd.stardivision.writer":["sdw","vor"],"vnd.stardivision.writer-global":"sgl","vnd.sun.xml.calc":"sxc","vnd.sun.xml.calc.template":"stc","vnd.sun.xml.draw":"sxd","vnd.sun.xml.draw.template":"std","vnd.sun.xml.impress":"sxi","vnd.sun.xml.impress.template":"sti","vnd.sun.xml.math":"sxm","vnd.sun.xml.writer":"sxw","vnd.sun.xml.writer.global":"sxg","vnd.sun.xml.writer.template":"stw","vnd.symbian.install":["sis","sisx"],"vnd.visio":["vsd","vst","vss","vsw","vsdx","vssx","vstx","vssm","vstm"],"vnd.wap.wbxml":"wbxml","vnd.wap.wmlc":"wmlc","vnd.wap.wmlscriptc":"wmlsc","vnd.wordperfect":"wpd","vnd.wordperfect5.1":"wp5","x-123":"wk","x-7z-compressed":"7z","x-abiword":"abw","x-apple-diskimage":"dmg","x-bcpio":"bcpio","x-bittorrent":"torrent","x-cbr":["cbr","cba","cbt","cb7"],"x-cbz":"cbz","x-cdf":["cdf","cda"],"x-cdlink":"vcd","x-chess-pgn":"pgn","x-cpio":"cpio","x-csh":"csh","x-director":["dir","dxr","cst","cct","cxt","w3d","fgd","swa"],"x-dms":"dms","x-doom":"wad","x-dvi":"dvi","x-httpd-eruby":"rhtml","x-font":"pcf.Z","x-freemind":"mm","x-gnumeric":"gnumeric","x-go-sgf":"sgf","x-graphing-calculator":"gcf","x-gtar":["gtar","taz"],"x-hdf":"hdf","x-httpd-php":["phtml","pht","php"],"x-httpd-php-source":"phps","x-httpd-php3":"php3","x-httpd-php3-preprocessed":"php3p","x-httpd-php4":"php4","x-httpd-php5":"php5","x-ica":"ica","x-info":"info","x-internet-signup":["ins","isp"],"x-iphone":"iii","x-iso9660-image":"iso","x-java-jnlp-file":"jnlp","x-jmol":"jmz","x-killustrator":"kil","x-latex":"latex","x-lyx":"lyx","x-lzx":"lzx","x-maker":["frm","fb","fbdoc"],"x-ms-wmd":"wmd","x-msdos-program":["com","exe","bat","dll"],"x-netcdf":["nc"],"x-ns-proxy-autoconfig":["pac","dat"],"x-nwc":"nwc","x-object":"o","x-oz-application":"oza","x-pkcs7-certreqresp":"p7r","x-python-code":["pyc","pyo"],"x-qgis":["qgs","shp","shx"],"x-quicktimeplayer":"qtl","x-redhat-package-manager":["rpm","rpa"],"x-ruby":"rb","x-sh":"sh","x-shar":"shar","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","x-stuffit":"sit","x-sv4cpio":"sv4cpio","x-sv4crc":"sv4crc","x-tar":"tar","x-tex-gf":"gf","x-tex-pk":"pk","x-texinfo":["texinfo","texi"],"x-trash":["~","%","bak","old","sik"],"x-ustar":"ustar","x-wais-source":"src","x-wingz":"wz","x-x509-ca-cert":["crt","der","cer"],"x-xcf":"xcf","x-xfig":"fig","x-xpinstall":"xpi",applixware:"aw","atomsvc+xml":"atomsvc","ccxml+xml":"ccxml","cdmi-capability":"cdmia","cdmi-container":"cdmic","cdmi-domain":"cdmid","cdmi-object":"cdmio","cdmi-queue":"cdmiq","docbook+xml":"dbk","dssc+der":"dssc","dssc+xml":"xdssc","emma+xml":"emma","epub+zip":"epub",exi:"exi","font-tdpfr":"pfr","gml+xml":"gml","gpx+xml":"gpx",gxf:"gxf",hyperstudio:"stk","inkml+xml":["ink","inkml"],ipfix:"ipfix","jsonml+json":"jsonml","lost+xml":"lostxml","mads+xml":"mads",marc:"mrc","marcxml+xml":"mrcx","mathml+xml":["mathml","mml"],mbox:"mbox","mediaservercontrol+xml":"mscml","metalink+xml":"metalink","metalink4+xml":"meta4","mets+xml":"mets","mods+xml":"mods",mp21:["m21","mp21"],mp4:"mp4s","oebps-package+xml":"opf","omdoc+xml":"omdoc",onenote:["onetoc","onetoc2","onetmp","onepkg"],oxps:"oxps","patch-ops-error+xml":"xer","pgp-encrypted":"pgp",pkcs10:"p10","pkcs7-mime":["p7m","p7c"],"pkcs7-signature":"p7s",pkcs8:"p8","pkix-attr-cert":"ac","pkix-crl":"crl","pkix-pkipath":"pkipath",pkixcmp:"pki","pls+xml":"pls","prs.cww":"cww","pskc+xml":"pskcxml","reginfo+xml":"rif","relax-ng-compact-syntax":"rnc","resource-lists+xml":"rl","resource-lists-diff+xml":"rld","rls-services+xml":"rs","rpki-ghostbusters":"gbr","rpki-manifest":"mft","rpki-roa":"roa","rsd+xml":"rsd","sbml+xml":"sbml","scvp-cv-request":"scq","scvp-cv-response":"scs","scvp-vp-request":"spq","scvp-vp-response":"spp",sdp:"sdp","set-payment-initiation":"setpay","set-registration-initiation":"setreg","shf+xml":"shf","sparql-query":"rq","sparql-results+xml":"srx",srgs:"gram","srgs+xml":"grxml","sru+xml":"sru","ssdl+xml":"ssdl","ssml+xml":"ssml","tei+xml":["tei","teicorpus"],"thraud+xml":"tfi","timestamped-data":"tsd","vnd.3gpp.pic-bw-large":"plb","vnd.3gpp.pic-bw-small":"psb","vnd.3gpp.pic-bw-var":"pvb","vnd.3gpp2.tcap":"tcap","vnd.3m.post-it-notes":"pwn","vnd.accpac.simply.aso":"aso","vnd.accpac.simply.imp":"imp","vnd.acucobol":"acu","vnd.acucorp":["atc","acutc"],"vnd.adobe.air-application-installer-package+zip":"air","vnd.adobe.formscentral.fcdt":"fcdt","vnd.adobe.fxp":["fxp","fxpl"],"vnd.adobe.xdp+xml":"xdp","vnd.adobe.xfdf":"xfdf","vnd.ahead.space":"ahead","vnd.airzip.filesecure.azf":"azf","vnd.airzip.filesecure.azs":"azs","vnd.amazon.ebook":"azw","vnd.americandynamics.acc":"acc","vnd.amiga.ami":"ami","vnd.anser-web-certificate-issue-initiation":"cii","vnd.anser-web-funds-transfer-initiation":"fti","vnd.antix.game-component":"atx","vnd.apple.installer+xml":"mpkg","vnd.apple.mpegurl":"m3u8","vnd.aristanetworks.swi":"swi","vnd.astraea-software.iota":"iota","vnd.audiograph":"aep","vnd.blueice.multipass":"mpm","vnd.bmi":"bmi","vnd.businessobjects":"rep","vnd.chemdraw+xml":"cdxml","vnd.chipnuts.karaoke-mmd":"mmd","vnd.claymore":"cla","vnd.cloanto.rp9":"rp9","vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"vnd.cluetrust.cartomobile-config":"c11amc","vnd.cluetrust.cartomobile-config-pkg":"c11amz","vnd.commonspace":"csp","vnd.contact.cmsg":"cdbcmsg","vnd.cosmocaller":"cmc","vnd.crick.clicker":"clkx","vnd.crick.clicker.keyboard":"clkk","vnd.crick.clicker.palette":"clkp","vnd.crick.clicker.template":"clkt","vnd.crick.clicker.wordbank":"clkw","vnd.criticaltools.wbs+xml":"wbs","vnd.ctc-posml":"pml","vnd.cups-ppd":"ppd","vnd.curl.car":"car","vnd.curl.pcurl":"pcurl","vnd.dart":"dart","vnd.data-vision.rdz":"rdz","vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"vnd.dece.ttml+xml":["uvt","uvvt"],"vnd.dece.unspecified":["uvx","uvvx"],"vnd.dece.zip":["uvz","uvvz"],"vnd.denovo.fcselayout-link":"fe_launch","vnd.dna":"dna","vnd.dolby.mlp":"mlp","vnd.dpgraph":"dpg","vnd.dreamfactory":"dfac","vnd.ds-keypoint":"kpxx","vnd.dvb.ait":"ait","vnd.dvb.service":"svc","vnd.dynageo":"geo","vnd.ecowin.chart":"mag","vnd.enliven":"nml","vnd.epson.esf":"esf","vnd.epson.msf":"msf","vnd.epson.quickanime":"qam","vnd.epson.salt":"slt","vnd.epson.ssf":"ssf","vnd.eszigno3+xml":["es3","et3"],"vnd.ezpix-album":"ez2","vnd.ezpix-package":"ez3","vnd.fdf":"fdf","vnd.fdsn.mseed":"mseed","vnd.fdsn.seed":["seed","dataless"],"vnd.flographit":"gph","vnd.fluxtime.clip":"ftc","vnd.framemaker":["fm","frame","maker","book"],"vnd.frogans.fnc":"fnc","vnd.frogans.ltf":"ltf","vnd.fsc.weblaunch":"fsc","vnd.fujitsu.oasys":"oas","vnd.fujitsu.oasys2":"oa2","vnd.fujitsu.oasys3":"oa3","vnd.fujitsu.oasysgp":"fg5","vnd.fujitsu.oasysprs":"bh2","vnd.fujixerox.ddd":"ddd","vnd.fujixerox.docuworks":"xdw","vnd.fujixerox.docuworks.binder":"xbd","vnd.fuzzysheet":"fzs","vnd.genomatix.tuxedo":"txd","vnd.geogebra.file":"ggb","vnd.geogebra.tool":"ggt","vnd.geometry-explorer":["gex","gre"],"vnd.geonext":"gxt","vnd.geoplan":"g2w","vnd.geospace":"g3w","vnd.gmx":"gmx","vnd.grafeq":["gqf","gqs"],"vnd.groove-account":"gac","vnd.groove-help":"ghf","vnd.groove-identity-message":"gim","vnd.groove-injector":"grv","vnd.groove-tool-message":"gtm","vnd.groove-tool-template":"tpl","vnd.groove-vcard":"vcg","vnd.hal+xml":"hal","vnd.handheld-entertainment+xml":"zmm","vnd.hbci":"hbci","vnd.hhe.lesson-player":"les","vnd.hp-hpgl":"hpgl","vnd.hp-hpid":"hpid","vnd.hp-hps":"hps","vnd.hp-jlyt":"jlt","vnd.hp-pcl":"pcl","vnd.hp-pclxl":"pclxl","vnd.hydrostatix.sof-data":"sfd-hdstx","vnd.ibm.minipay":"mpy","vnd.ibm.modcap":["afp","listafp","list3820"],"vnd.ibm.rights-management":"irm","vnd.ibm.secure-container":"sc","vnd.iccprofile":["icc","icm"],"vnd.igloader":"igl","vnd.immervision-ivp":"ivp","vnd.immervision-ivu":"ivu","vnd.insors.igm":"igm","vnd.intercon.formnet":["xpw","xpx"],"vnd.intergeo":"i2g","vnd.intu.qbo":"qbo","vnd.intu.qfx":"qfx","vnd.ipunplugged.rcprofile":"rcprofile","vnd.irepository.package+xml":"irp","vnd.is-xpr":"xpr","vnd.isac.fcs":"fcs","vnd.jam":"jam","vnd.jcp.javame.midlet-rms":"rms","vnd.jisp":"jisp","vnd.joost.joda-archive":"joda","vnd.kahootz":["ktz","ktr"],"vnd.kde.karbon":"karbon","vnd.kde.kchart":"chrt","vnd.kde.kformula":"kfo","vnd.kde.kivio":"flw","vnd.kde.kontour":"kon","vnd.kde.kpresenter":["kpr","kpt"],"vnd.kde.kspread":"ksp","vnd.kde.kword":["kwd","kwt"],"vnd.kenameaapp":"htke","vnd.kidspiration":"kia","vnd.kinar":["kne","knp"],"vnd.koan":["skp","skd","skt","skm"],"vnd.kodak-descriptor":"sse","vnd.las.las+xml":"lasxml","vnd.llamagraphics.life-balance.desktop":"lbd","vnd.llamagraphics.life-balance.exchange+xml":"lbe","vnd.lotus-1-2-3":"123","vnd.lotus-approach":"apr","vnd.lotus-freelance":"pre","vnd.lotus-notes":"nsf","vnd.lotus-organizer":"org","vnd.lotus-screencam":"scm","vnd.lotus-wordpro":"lwp","vnd.macports.portpkg":"portpkg","vnd.mcd":"mcd","vnd.medcalcdata":"mc1","vnd.mediastation.cdkey":"cdkey","vnd.mfer":"mwf","vnd.mfmp":"mfm","vnd.micrografx.flo":"flo","vnd.micrografx.igx":"igx","vnd.mif":"mif","vnd.mobius.daf":"daf","vnd.mobius.dis":"dis","vnd.mobius.mbk":"mbk","vnd.mobius.mqy":"mqy","vnd.mobius.msl":"msl","vnd.mobius.plc":"plc","vnd.mobius.txf":"txf","vnd.mophun.application":"mpn","vnd.mophun.certificate":"mpc","vnd.ms-artgalry":"cil","vnd.ms-cab-compressed":"cab","vnd.ms-excel.addin.macroenabled.12":"xlam","vnd.ms-excel.sheet.binary.macroenabled.12":"xlsb","vnd.ms-excel.sheet.macroenabled.12":"xlsm","vnd.ms-excel.template.macroenabled.12":"xltm","vnd.ms-fontobject":"eot","vnd.ms-htmlhelp":"chm","vnd.ms-ims":"ims","vnd.ms-lrm":"lrm","vnd.ms-officetheme":"thmx","vnd.ms-powerpoint.addin.macroenabled.12":"ppam","vnd.ms-powerpoint.presentation.macroenabled.12":"pptm","vnd.ms-powerpoint.slide.macroenabled.12":"sldm","vnd.ms-powerpoint.slideshow.macroenabled.12":"ppsm","vnd.ms-powerpoint.template.macroenabled.12":"potm","vnd.ms-project":["mpp","mpt"],"vnd.ms-word.document.macroenabled.12":"docm","vnd.ms-word.template.macroenabled.12":"dotm","vnd.ms-works":["wps","wks","wcm","wdb"],"vnd.ms-wpl":"wpl","vnd.ms-xpsdocument":"xps","vnd.mseq":"mseq","vnd.musician":"mus","vnd.muvee.style":"msty","vnd.mynfc":"taglet","vnd.neurolanguage.nlu":"nlu","vnd.nitf":["ntf","nitf"],"vnd.noblenet-directory":"nnd","vnd.noblenet-sealer":"nns","vnd.noblenet-web":"nnw","vnd.nokia.n-gage.data":"ngdat","vnd.nokia.n-gage.symbian.install":"n-gage","vnd.nokia.radio-preset":"rpst","vnd.nokia.radio-presets":"rpss","vnd.novadigm.edm":"edm","vnd.novadigm.edx":"edx","vnd.novadigm.ext":"ext","vnd.oasis.opendocument.chart-template":"otc","vnd.oasis.opendocument.formula-template":"odft","vnd.oasis.opendocument.image-template":"oti","vnd.olpc-sugar":"xo","vnd.oma.dd2+xml":"dd2","vnd.openofficeorg.extension":"oxt","vnd.openxmlformats-officedocument.presentationml.slide":"sldx","vnd.osgeo.mapguide.package":"mgp","vnd.osgi.dp":"dp","vnd.osgi.subsystem":"esa","vnd.palm":["pdb","pqa","oprc"],"vnd.pawaafile":"paw","vnd.pg.format":"str","vnd.pg.osasli":"ei6","vnd.picsel":"efif","vnd.pmi.widget":"wg","vnd.pocketlearn":"plf","vnd.powerbuilder6":"pbd","vnd.previewsystems.box":"box","vnd.proteus.magazine":"mgz","vnd.publishare-delta-tree":"qps","vnd.pvi.ptid1":"ptid","vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"vnd.realvnc.bed":"bed","vnd.recordare.musicxml":"mxl","vnd.recordare.musicxml+xml":"musicxml","vnd.rig.cryptonote":"cryptonote","vnd.rn-realmedia":"rm","vnd.rn-realmedia-vbr":"rmvb","vnd.route66.link66+xml":"link66","vnd.sailingtracker.track":"st","vnd.seemail":"see","vnd.sema":"sema","vnd.semd":"semd","vnd.semf":"semf","vnd.shana.informed.formdata":"ifm","vnd.shana.informed.formtemplate":"itp","vnd.shana.informed.interchange":"iif","vnd.shana.informed.package":"ipk","vnd.simtech-mindmapper":["twd","twds"],"vnd.smart.teacher":"teacher","vnd.solent.sdkm+xml":["sdkm","sdkd"],"vnd.spotfire.dxp":"dxp","vnd.spotfire.sfs":"sfs","vnd.stepmania.package":"smzip","vnd.stepmania.stepchart":"sm","vnd.sus-calendar":["sus","susp"],"vnd.svd":"svd","vnd.syncml+xml":"xsm","vnd.syncml.dm+wbxml":"bdm","vnd.syncml.dm+xml":"xdm","vnd.tao.intent-module-archive":"tao","vnd.tcpdump.pcap":["pcap","cap","dmp"],"vnd.tmobile-livetv":"tmo","vnd.trid.tpt":"tpt","vnd.triscape.mxs":"mxs","vnd.trueapp":"tra","vnd.ufdl":["ufd","ufdl"],"vnd.uiq.theme":"utz","vnd.umajin":"umj","vnd.unity":"unityweb","vnd.uoml+xml":"uoml","vnd.vcx":"vcx","vnd.visionary":"vis","vnd.vsf":"vsf","vnd.webturbo":"wtb","vnd.wolfram.player":"nbp","vnd.wqd":"wqd","vnd.wt.stf":"stf","vnd.xara":"xar","vnd.xfdl":"xfdl","vnd.yamaha.hv-dic":"hvd","vnd.yamaha.hv-script":"hvs","vnd.yamaha.hv-voice":"hvp","vnd.yamaha.openscoreformat":"osf","vnd.yamaha.openscoreformat.osfpvg+xml":"osfpvg","vnd.yamaha.smaf-audio":"saf","vnd.yamaha.smaf-phrase":"spf","vnd.yellowriver-custom-menu":"cmp","vnd.zul":["zir","zirz"],"vnd.zzazz.deck+xml":"zaz","voicexml+xml":"vxml",widget:"wgt",winhlp:"hlp","wsdl+xml":"wsdl","wspolicy+xml":"wspolicy","x-ace-compressed":"ace","x-authorware-bin":["aab","x32","u32","vox"],"x-authorware-map":"aam","x-authorware-seg":"aas","x-blorb":["blb","blorb"],"x-bzip":"bz","x-bzip2":["bz2","boz"],"x-cfs-compressed":"cfs","x-chat":"chat","x-conference":"nsc","x-dgc-compressed":"dgc","x-dtbncx+xml":"ncx","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-eva":"eva","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-freearc":"arc","x-gca-compressed":"gca","x-glulx":"ulx","x-gramps-xml":"gramps","x-install-instructions":"install","x-lzh-compressed":["lzh","lha"],"x-mie":"mie","x-mobipocket-ebook":["prc","mobi"],"x-ms-application":"application","x-ms-shortcut":"lnk","x-ms-xbap":"xbap","x-msbinder":"obd","x-mscardfile":"crd","x-msclip":"clp","application/x-ms-installer":"msi","x-msmediaview":["mvb","m13","m14"],"x-msmetafile":["wmf","wmz","emf","emz"],"x-msmoney":"mny","x-mspublisher":"pub","x-msschedule":"scd","x-msterminal":"trm","x-mswrite":"wri","x-nzb":"nzb","x-pkcs12":["p12","pfx"],"x-pkcs7-certificates":["p7b","spc"],"x-research-info-systems":"ris","x-silverlight-app":"xap","x-sql":"sql","x-stuffitx":"sitx","x-subrip":"srt","x-t3vm-image":"t3","x-tex-tfm":"tfm","x-tgif":"obj","x-xliff+xml":"xlf","x-xz":"xz","x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"xaml+xml":"xaml","xcap-diff+xml":"xdf","xenc+xml":"xenc","xml-dtd":"dtd","xop+xml":"xop","xproc+xml":"xpl","xslt+xml":"xslt","xv+xml":["mxml","xhvml","xvml","xvm"],yang:"yang","yin+xml":"yin",envoy:"evy",fractals:"fif","internet-property-stream":"acx",olescript:"axs","vnd.ms-outlook":"msg","vnd.ms-pkicertstore":"sst","x-compress":"z","x-perfmon":["pma","pmc","pmr","pmw"],"ynd.ms-pkipko":"pko",gzip:["gz","tgz"],"smil+xml":["smi","smil"],"vnd.debian.binary-package":["deb","udeb"],"vnd.hzn-3d-crossword":"x3d","vnd.sqlite3":["db","sqlite","sqlite3","db-wal","sqlite-wal","db-shm","sqlite-shm"],"vnd.wap.sic":"sic","vnd.wap.slc":"slc","x-krita":["kra","krz"],"x-perl":["pm","pl"],yaml:["yaml","yml"]},audio:{amr:"amr","amr-wb":"awb",annodex:"axa",basic:["au","snd"],flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"prs.sid":"sid","x-aiff":"aifc","x-gsm":"gsm","x-ms-wma":"wma","x-ms-wax":"wax","x-pn-realaudio":"ram","x-realaudio":"ra","x-sd2":"sd2",adpcm:"adp",mp4:"mp4a",s3m:"s3m",silk:"sil","vnd.dece.audio":["uva","uvva"],"vnd.digital-winds":"eol","vnd.dra":"dra","vnd.dts":"dts","vnd.dts.hd":"dtshd","vnd.lucent.voice":"lvp","vnd.ms-playready.media.pya":"pya","vnd.nuera.ecelp4800":"ecelp4800","vnd.nuera.ecelp7470":"ecelp7470","vnd.nuera.ecelp9600":"ecelp9600","vnd.rip":"rip",webm:"weba","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",aac:"aac",aiff:["aiff","aif","aff"],opus:"opus",wav:"wav"},chemical:{"x-alchemy":"alc","x-cache":["cac","cache"],"x-cache-csf":"csf","x-cactvs-binary":["cbin","cascii","ctab"],"x-cdx":"cdx","x-chem3d":"c3d","x-cif":"cif","x-cmdf":"cmdf","x-cml":"cml","x-compass":"cpa","x-crossfire":"bsd","x-csml":["csml","csm"],"x-ctx":"ctx","x-cxf":["cxf","cef"],"x-embl-dl-nucleotide":["emb","embl"],"x-gamess-input":["inp","gam","gamin"],"x-gaussian-checkpoint":["fch","fchk"],"x-gaussian-cube":"cub","x-gaussian-input":["gau","gjc","gjf"],"x-gaussian-log":"gal","x-gcg8-sequence":"gcg","x-genbank":"gen","x-hin":"hin","x-isostar":["istr","ist"],"x-jcamp-dx":["jdx","dx"],"x-kinemage":"kin","x-macmolecule":"mcm","x-macromodel-input":"mmod","x-mdl-molfile":"mol","x-mdl-rdfile":"rd","x-mdl-rxnfile":"rxn","x-mdl-sdfile":"sd","x-mdl-tgf":"tgf","x-mmcif":"mcif","x-mol2":"mol2","x-molconn-Z":"b","x-mopac-graph":"gpt","x-mopac-input":["mop","mopcrt","zmt"],"x-mopac-out":"moo","x-ncbi-asn1":"asn","x-ncbi-asn1-ascii":["prt","ent"],"x-ncbi-asn1-binary":"val","x-rosdal":"ros","x-swissprot":"sw","x-vamas-iso14976":"vms","x-vmd":"vmd","x-xtel":"xtel","x-xyz":"xyz"},font:{otf:"otf",woff:"woff",woff2:"woff2"},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe","jfif","jfif-tbnl","jif"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"vnd.djvu":["djvu","djv"],"vnd.wap.wbmp":"wbmp","x-canon-cr2":"cr2","x-canon-crw":"crw","x-cmu-raster":"ras","x-coreldraw":"cdr","x-coreldrawpattern":"pat","x-coreldrawtemplate":"cdt","x-corelphotopaint":"cpt","x-epson-erf":"erf","x-icon":"ico","x-jg":"art","x-jng":"jng","x-nikon-nef":"nef","x-olympus-orf":"orf","x-portable-anymap":"pnm","x-portable-bitmap":"pbm","x-portable-graymap":"pgm","x-portable-pixmap":"ppm","x-rgb":"rgb","x-xbitmap":"xbm","x-xpixmap":"xpm","x-xwindowdump":"xwd",bmp:"bmp",cgm:"cgm",g3fax:"g3",ktx:"ktx","prs.btif":"btif",sgi:"sgi","vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"vnd.dwg":"dwg","vnd.dxf":"dxf","vnd.fastbidsheet":"fbs","vnd.fpx":"fpx","vnd.fst":"fst","vnd.fujixerox.edmics-mmr":"mmr","vnd.fujixerox.edmics-rlc":"rlc","vnd.ms-modi":"mdi","vnd.ms-photo":"wdp","vnd.net-fpx":"npx","vnd.xiff":"xif",webp:"webp","x-3ds":"3ds","x-cmx":"cmx","x-freehand":["fh","fhc","fh4","fh5","fh7"],"x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod",avif:"avifs",heic:["heif","heic"],pjpeg:["pjpg"],"vnd.adobe.photoshop":"psd","x-adobe-dng":"dng","x-fuji-raf":"raf","x-icns":"icns","x-kodak-dcr":"dcr","x-kodak-k25":"k25","x-kodak-kdc":"kdc","x-minolta-mrw":"mrw","x-panasonic-raw":["raw","rw2","rwl"],"x-pentax-pef":["pef","ptx"],"x-sigma-x3f":"x3f","x-sony-arw":"arw","x-sony-sr2":"sr2","x-sony-srf":"srf"},message:{rfc822:["eml","mime","mht","mhtml","nws"]},model:{iges:["igs","iges"],mesh:["msh","mesh","silo"],vrml:["wrl","vrml"],"x3d+vrml":["x3dv","x3dvz"],"x3d+xml":"x3dz","x3d+binary":["x3db","x3dbz"],"vnd.collada+xml":"dae","vnd.dwf":"dwf","vnd.gdl":"gdl","vnd.gtw":"gtw","vnd.mts":"mts","vnd.usdz+zip":"usdz","vnd.vtu":"vtu"},text:{"cache-manifest":["manifest","appcache"],calendar:["ics","icz","ifb"],css:"css",csv:"csv",h323:"323",html:["html","htm","shtml","stm"],iuls:"uls",plain:["txt","text","brf","conf","def","list","log","in","bas","diff","ksh"],richtext:"rtx",scriptlet:["sct","wsc"],texmacs:"tm","tab-separated-values":"tsv","vnd.sun.j2me.app-descriptor":"jad","vnd.wap.wml":"wml","vnd.wap.wmlscript":"wmls","x-bibtex":"bib","x-boo":"boo","x-c++hdr":["h++","hpp","hxx","hh"],"x-c++src":["c++","cpp","cxx","cc"],"x-component":"htc","x-dsrc":"d","x-diff":"patch","x-haskell":"hs","x-java":"java","x-literate-haskell":"lhs","x-moc":"moc","x-pascal":["p","pas","pp","inc"],"x-pcs-gcd":"gcd","x-python":"py","x-scala":"scala","x-setext":"etx","x-tcl":["tcl","tk"],"x-tex":["tex","ltx","sty","cls"],"x-vcalendar":"vcs","x-vcard":"vcf",n3:"n3","prs.lines.tag":"dsc",sgml:["sgml","sgm"],troff:["t","tr","roff","man","me","ms"],turtle:"ttl","uri-list":["uri","uris","urls"],vcard:"vcard","vnd.curl":"curl","vnd.curl.dcurl":"dcurl","vnd.curl.scurl":"scurl","vnd.curl.mcurl":"mcurl","vnd.dvb.subtitle":"sub","vnd.fly":"fly","vnd.fmi.flexstor":"flx","vnd.graphviz":"gv","vnd.in3d.3dml":"3dml","vnd.in3d.spot":"spot","x-asm":["s","asm"],"x-c":["c","h","dic"],"x-fortran":["f","for","f77","f90"],"x-opml":"opml","x-nfo":"nfo","x-sfv":"sfv","x-uuencode":"uu",webviewhtml:"htt",javascript:"js",json:"json",markdown:["md","markdown","mdown","markdn"],"vnd.wap.si":"si","vnd.wap.sl":"sl"},video:{avif:"avif","3gpp":"3gp",annodex:"axv",dl:"dl",dv:["dif","dv"],fli:"fli",gl:"gl",mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.dece.hd":["uvh","uvvh"],"vnd.dece.mobile":["uvm","uvvm"],"vnd.dece.pd":["uvp","uvvp"],"vnd.dece.sd":["uvs","uvvs"],"vnd.dece.video":["uvv","uvvv"],"vnd.dvb.file":"dvb","vnd.fvt":"fvt","vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv",mp2t:"ts"},"x-conference":{"x-cooltalk":"ice"},"x-world":{"x-vrml":["vrm","flr","wrz","xaf","xof"]}},i=(()=>{const e={};for(const t of Object.keys(a))for(const n of Object.keys(a[t])){const r=a[t][n];if("string"==typeof r)e[r]=t+"/"+n;else for(let a=0;a{"use strict";n.r(t),n.d(t,{BFormTimepicker:()=>x,props:()=>A});var r,a=n(2448),i=n(49800),o=n(87013),s=n(80072),l=n(94159),c=n(71402),u=n(46710),d=n(38199),h=n(91671),f=n(1340),p=n(81074),m=n(61651),g=n(75532),v=n(11005),y=n(51974);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t0&&o.push(e("span"," "));var c=this.labelResetButton;o.push(e(g.BButton,{props:{size:"sm",disabled:n||r,variant:this.resetButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onResetButton},key:"reset-btn"},c))}if(!this.noCloseButton){o.length>0&&o.push(e("span"," "));var d=this.labelCloseButton;o.push(e(g.BButton,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":d||null},on:{click:this.onCloseButton},key:"close-btn"},d))}o.length>0&&(o=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":o.length>1,"justify-content-end":o.length<2}},o)]);var h=e(y.BTime,{staticClass:"b-form-time-control",props:_(_({},(0,f.pluckProps)(S,a)),{},{value:t,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},o);return e(v.BVFormBtnLabelControl,{staticClass:"b-form-timepicker",props:_(_({},(0,f.pluckProps)(P,a)),{},{id:this.safeId(),value:t,formattedValue:t?this.formattedValue:"",placeholder:i,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:I({},l.SLOT_NAME_BUTTON_CONTENT,this.$scopedSlots[l.SLOT_NAME_BUTTON_CONTENT]||this.defaultButtonFn),ref:"control"},[h])}})},17823:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ARRAY_TYPE:()=>a,EPSILON:()=>r,RANDOM:()=>i,equals:()=>c,setMatrixArrayType:()=>o,toRadian:()=>l});var r=1e-6,a="undefined"!=typeof Float32Array?Float32Array:Array,i=Math.random;function o(e){a=e}var s=Math.PI/180;function l(e){return e*s}function c(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))}Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)})},18142:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BSkeletonIcon:()=>h,props:()=>d});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=n(51729);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BTableSimple:()=>v,props:()=>g});var r=n(2448),a=n(49800),i=n(91671),o=n(1340),s=n(64211),l=n(54384),c=n(81074),u=n(48917),d=n(3317),h=n(54522);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";let r,a,i,o,s,l,c,u,d,h,f,p,m,g,v,y,b,_,I,T,w,E;n.r(t),n.d(t,{default:()=>V});const M=[];let k,S,P,A,x,B,L,O,C,D,R,F={};const z="appendChild",N="createElement",H="removeChild",V=e=>{var t;return a||function(e){let t,n;function r(e){const t=document[N]("button");return t.className=e,t.innerHTML='',t}function h(e,t){const n=document[N]("button");return n.className="bp-lr",n.innerHTML='',Q(n,t),n.onclick=t=>{t.stopPropagation(),j(e)},n}const p=document[N]("STYLE"),g=e&&e.overlayColor?e.overlayColor:"rgba(0,0,0,.7)";p.innerHTML=`#bp_caption,#bp_container{bottom:0;left:0;right:0;position:fixed;opacity:0}#bp_container>*,#bp_loader{position:absolute;right:0;z-index:10}#bp_container,#bp_caption,#bp_container svg{pointer-events:none}#bp_container{top:0;z-index:9999;background:${g};opacity:0;transition:opacity .35s}#bp_loader{top:0;left:0;bottom:0;display:flex;align-items:center;cursor:wait;background:0;z-index:9}#bp_loader svg{width:50%;max-width:300px;max-height:50%;margin:auto;animation:bpturn 1s infinite linear}#bp_aud,#bp_container img,#bp_sv,#bp_vid{user-select:none;max-height:96%;max-width:96%;top:0;bottom:0;left:0;margin:auto;box-shadow:0 0 3em rgba(0,0,0,.4);z-index:-1}#bp_sv{background:#111}#bp_sv svg{width:66px}#bp_caption{font-size:.9em;padding:1.3em;background:rgba(15,15,15,.94);color:#fff;text-align:center;transition:opacity .3s}#bp_aud{width:650px;top:calc(50% - 20px);bottom:auto;box-shadow:none}#bp_count{left:0;right:auto;padding:14px;color:rgba(255,255,255,.7);font-size:22px;cursor:default}#bp_container button{position:absolute;border:0;outline:0;background:0;cursor:pointer;transition:all .1s}#bp_container>.bp-x{padding:0;height:41px;width:41px;border-radius:100%;top:8px;right:14px;opacity:.8;line-height:1}#bp_container>.bp-x:focus,#bp_container>.bp-x:hover{background:rgba(255,255,255,.2)}.bp-x svg,.bp-xc svg{display:inline;height:21px;width:20px;fill:#fff;vertical-align:top;}.bp-xc svg{width:16px}#bp_container .bp-xc{left:2%;bottom:100%;padding:9px 20px 7px;background:#d04444;border-radius:2px 2px 0 0;opacity:.85}#bp_container .bp-xc:focus,#bp_container .bp-xc:hover{opacity:1}.bp-lr{top:50%;top:calc(50% - 130px);padding:99px 0;width:6%;background:0;border:0;opacity:.4;transition:opacity .1s}.bp-lr:focus,.bp-lr:hover{opacity:.8}@keyframes bpf{50%{transform:translatex(15px)}100%{transform:none}}@keyframes bpl{50%{transform:translatex(-15px)}100%{transform:none}}@keyframes bpfl{0%{opacity:0;transform:translatex(70px)}100%{opacity:1;transform:none}}@keyframes bpfr{0%{opacity:0;transform:translatex(-70px)}100%{opacity:1;transform:none}}@keyframes bpfol{0%{opacity:1;transform:none}100%{opacity:0;transform:translatex(-70px)}}@keyframes bpfor{0%{opacity:1;transform:none}100%{opacity:0;transform:translatex(70px)}}@keyframes bpturn{0%{transform:none}100%{transform:rotate(360deg)}}@media (max-width:600px){.bp-lr{font-size:15vw}}`,document.head[z](p),i=document[N]("DIV"),i.id="bp_container",i.onclick=J,f=r("bp-x"),i[z](f),"ontouchend"in window&&window.visualViewport&&(D=!0,i.ontouchstart=({touches:e,changedTouches:r})=>{n=e.length>1,t=r[0].pageX},i.ontouchend=({changedTouches:e})=>{if(w&&!n&&window.visualViewport.scale<=1){let n=e[0].pageX-t;n<-30&&j(1),n>30&&j(-1)}});s=document[N]("IMG"),l=document[N]("VIDEO"),l.id="bp_vid",l.setAttribute("playsinline",!0),l.controls=!0,l.loop=!0,c=document[N]("audio"),c.id="bp_aud",c.controls=!0,c.loop=!0,C=document[N]("span"),C.id="bp_count",y=document[N]("DIV"),y.id="bp_caption",I=r("bp-xc"),I.onclick=q.bind(null,!1),y[z](I),b=document[N]("SPAN"),y[z](b),i[z](y),x=h(1,"transform:scalex(-1)"),B=h(-1,"left:0;right:auto"),v=document[N]("DIV"),v.id="bp_loader",v.innerHTML='',u=document[N]("DIV"),u.id="bp_sv",d=document[N]("IFRAME"),d.setAttribute("allowfullscreen",!0),d.allow="autoplay; fullscreen",d.onload=()=>u[H](v),Q(d,"border:0;position:absolute;height:100%;width:100%;left:0;top:0"),u[z](d),s.onload=X,s.onerror=X.bind(null,"image"),window.addEventListener("resize",(()=>{w||m&&W(!0),o===u&&$()})),document.addEventListener("keyup",(({keyCode:e})=>{27===e&&T&&J(),w&&(39===e&&j(1),37===e&&j(-1),38===e&&j(10),40===e&&j(-10))})),document.addEventListener("keydown",(e=>{w&&~[37,38,39,40].indexOf(e.keyCode)&&e.preventDefault()})),document.addEventListener("focus",(e=>{T&&!i.contains(e.target)&&(e.stopPropagation(),f.focus())}),!0),a=!0}(e),m&&(clearTimeout(g),Z()),R=e,p=e.ytSrc||e.vimeoSrc,S=e.animationStart,P=e.animationEnd,A=e.onChangeImage,r=e.el,k=!1,_=r.getAttribute("data-caption"),e.gallery?function(e,t){let n=R.galleryAttribute||"data-bp";if(Array.isArray(e))L=t||0,O=e,_=e[L].caption;else{O=[].slice.call("string"==typeof e?document.querySelectorAll(`${e} [${n}]`):e);const a=O.indexOf(r);L=0===t||t?t:-1!==a?a:0,O=O.map((e=>({el:e,src:e.getAttribute(n),caption:e.getAttribute("data-caption")})))}k=!0,h=O[L].src,!~M.indexOf(h)&&W(!0),O.length>1?(i[z](C),C.innerHTML=`${L+1}/${O.length}`,D||(i[z](x),i[z](B))):O=!1;o=s,o.src=h}(e.gallery,e.position):p||e.iframeSrc?(o=u,function(){let e;const t="https://",n="autoplay=1";R.ytSrc?e=`${t}www.youtube${R.ytNoCookie?"-nocookie":""}.com/embed/${p}?html5=1&rel=0&playsinline=1&${n}`:R.vimeoSrc?e=`${t}player.vimeo.com/video/${p}?${n}`:R.iframeSrc&&(e=R.iframeSrc);Q(v,""),u[z](v),d.src=e,$(),setTimeout(X,9)}()):e.imgSrc?(k=!0,h=e.imgSrc,!~M.indexOf(h)&&W(!0),o=s,o.src=h):e.audio?(W(!0),o=c,o.src=e.audio,G("audio file")):e.vidSrc?(W(!0),e.dimensions&&Q(l,`width:${e.dimensions[0]}px`),t=e.vidSrc,Array.isArray(t)?(o=l.cloneNode(),t.forEach((e=>{const t=document[N]("SOURCE");t.src=e,t.type=`video/${e.match(/.(\w+)$/)[1]}`,o[z](t)}))):(o=l,o.src=t),G("video")):(o=s,o.src="IMG"===r.tagName?r.src:window.getComputedStyle(r).backgroundImage.replace(/^url|[(|)|'|"]/g,"")),i[z](o),document.body[z](i),{close:J,opts:R,updateDimensions:$,display:o,next:()=>j(1),prev:()=>j(-1)}};function Y(){const{top:e,left:t,width:n,height:a}=r.getBoundingClientRect();return`transform:translate3D(${t-(i.clientWidth-n)/2}px, ${e-(i.clientHeight-a)/2}px, 0) scale3D(${r.clientWidth/o.clientWidth}, ${r.clientHeight/o.clientHeight}, 0)`}function j(e){const t=O.length-1;if(m)return;if(e>0&&L===t||e<0&&!L){if(!R.loop)return Q(s,""),void setTimeout(Q,9,s,`animation:${e>0?"bpl":"bpf"} .3s;transition:transform .35s`);L=e>0?-1:t+1}if(L=Math.max(0,Math.min(L+e,t)),[L-1,L,L+1].forEach((e=>{if(e=Math.max(0,Math.min(e,t)),F[e])return;const n=O[e].src,r=document[N]("IMG");r.addEventListener("load",K.bind(null,n)),r.src=n,F[e]=r})),F[L].complete)return U(e);m=!0,Q(v,"opacity:.4;"),i[z](v),F[L].onload=()=>{w&&U(e)},F[L].onerror=()=>{O[L]={error:"Error loading image"},w&&U(e)}}function U(e){m&&(i[H](v),m=!1);const t=O[L];if(t.error)alert(t.error);else{const n=i.querySelector("img:last-of-type");s=o=F[L],Q(s,`animation:${e>0?"bpfl":"bpfr"} .35s;transition:transform .35s`),Q(n,`animation:${e>0?"bpfol":"bpfor"} .35s both`),i[z](s),t.el&&(r=t.el)}C.innerHTML=`${L+1}/${O.length}`,q(O[L].caption),A&&A([s,O[L]])}function $(){let e,t;const n=.95*window.innerHeight,r=.95*window.innerWidth,a=n/r,[i,o]=R.dimensions||[1920,1080],s=o/i;s>a?(e=Math.min(o,n),t=e/s):(t=Math.min(i,r),e=t*s),u.style.cssText+=`width:${t}px;height:${e}px;`}function G(e){~[1,4].indexOf(o.readyState)?(X(),setTimeout((()=>{o.play()}),99)):o.error?X(e):g=setTimeout(G,35,e)}function W(e){R.noLoader||(e&&Q(v,`top:${r.offsetTop}px;left:${r.offsetLeft}px;height:${r.clientHeight}px;width:${r.clientWidth}px`),r.parentElement[e?z:H](v),m=e)}function q(e){e&&(b.innerHTML=e),Q(y,"opacity:"+(e?"1;pointer-events:auto":"0"))}function K(e){!~M.indexOf(e)&&M.push(e)}function X(e){if(m&&W(),S&&S(),"string"==typeof e)return Z(),R.onError?R.onError():alert(`Error: The requested ${e} could not be loaded.`);k&&K(h),o.style.cssText+=Y(),Q(i,"opacity:1;pointer-events:auto"),P&&(P=setTimeout(P,410)),T=!0,w=!!O,setTimeout((()=>{o.style.cssText+="transition:transform .35s;transform:none",_&&setTimeout(q,250,_)}),60)}function J(e){const t=e?e.target:i,n=[y,I,l,c,b,B,x,v];t.blur(),E||~n.indexOf(t)||(o.style.cssText+=Y(),Q(i,"pointer-events:auto"),setTimeout(Z,350),clearTimeout(P),T=!1,E=!0)}function Z(){if((o===u?d:o).removeAttribute("src"),document.body[H](i),i[H](o),Q(i,""),Q(o,""),q(!1),w){const e=i.querySelectorAll("img");for(let t=0;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(85072),a=n.n(r),i=n(54779),o={insert:"head",singleton:!1};a()(i.default,o);const s=i.default.locals||{}},18782:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormCheckbox:()=>r.BFormCheckbox,BFormCheckboxGroup:()=>a.BFormCheckboxGroup,FormCheckboxPlugin:()=>i});var r=n(99426),a=n(12044),i=(0,n(96266).pluginFactory)({components:{BFormCheckbox:r.BFormCheckbox,BCheckbox:r.BFormCheckbox,BCheck:r.BFormCheckbox,BFormCheckboxGroup:a.BFormCheckboxGroup,BCheckboxGroup:a.BFormCheckboxGroup,BCheckGroup:a.BFormCheckboxGroup}})},19276:(e,t,n)=>{"use strict";n.r(t),n.d(t,{sanitizeRow:()=>s});var r=n(17079),a=n(46710),i=n(91671),o=n(22105),s=function(e,t,n){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=(0,i.keys)(s).reduce((function(t,n){var r=s[n],i=r.filterByFormatted,o=(0,a.isFunction)(i)?i:i?r.formatter:null;return(0,a.isFunction)(o)&&(t[n]=o(e[n],n,e)),t}),(0,i.clone)(e)),c=(0,i.keys)(l).filter((function(e){return!(o.IGNORED_FIELD_KEYS[e]||(0,a.isArray)(t)&&t.length>0&&(0,r.arrayIncludes)(t,e)||(0,a.isArray)(n)&&n.length>0&&!(0,r.arrayIncludes)(n,e))}));return(0,i.pick)(l,c)}},19673:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getScopeId:()=>r});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e&&e.$options._scopeId||t}},2e4:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;tm});var o=function(e,t){return e.matches?e.matches(t):e.msMatchesSelector?e.msMatchesSelector(t):e.webkitMatchesSelector?e.webkitMatchesSelector(t):null},s=function(e,t){return e.closest?e.closest(t):function(e,t){for(var n=e;n&&1===n.nodeType;){if(o(n,t))return n;n=n.parentNode}return null}(e,t)},l=function e(){var t,n=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=a.search,o=a.autoSelect,l=void 0!==o&&o,c=a.setValue,u=void 0===c?function(){}:c,d=a.setAttribute,h=void 0===d?function(){}:d,f=a.onUpdate,p=void 0===f?function(){}:f,m=a.onSubmit,g=void 0===m?function(){}:m,v=a.onShow,y=void 0===v?function(){}:v,b=a.autocorrect,_=void 0!==b&&b,I=a.onHide,T=void 0===I?function(){}:I,w=a.onLoading,E=void 0===w?function(){}:w,M=a.onLoaded,k=void 0===M?function(){}:M,S=a.submitOnEnter,P=void 0!==S&&S;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this,"value",""),r(this,"searchCounter",0),r(this,"results",[]),r(this,"selectedIndex",-1),r(this,"selectedResult",null),r(this,"destroy",(function(){n.search=null,n.setValue=null,n.setAttribute=null,n.onUpdate=null,n.onSubmit=null,n.autocorrect=null,n.onShow=null,n.onHide=null,n.onLoading=null,n.onLoaded=null})),r(this,"handleInput",(function(e){var t=e.target.value;n.updateResults(t),n.value=t})),r(this,"handleKeyDown",(function(e){var t=e.key;switch(t){case"Up":case"Down":case"ArrowUp":case"ArrowDown":var r="ArrowUp"===t||"Up"===t?n.selectedIndex-1:n.selectedIndex+1;e.preventDefault(),n.handleArrows(r);break;case"Tab":n.selectResult();break;case"Enter":var a=e.target.getAttribute("aria-activedescendant").length>0;n.selectedResult=n.results[n.selectedIndex]||n.selectedResult,n.selectResult(),n.submitOnEnter?n.selectedResult&&n.onSubmit(n.selectedResult):a?e.preventDefault():(n.selectedResult&&n.onSubmit(n.selectedResult),n.selectedResult=null);break;case"Esc":case"Escape":n.hideResults(),n.setValue();break;default:return}})),r(this,"handleFocus",(function(e){var t=e.target.value;n.updateResults(t),n.value=t})),r(this,"handleBlur",(function(){n.hideResults()})),r(this,"handleResultMouseDown",(function(e){e.preventDefault()})),r(this,"handleResultClick",(function(e){var t=e.target,r=s(t,"[data-result-index]");if(r){n.selectedIndex=parseInt(r.dataset.resultIndex,10);var a=n.results[n.selectedIndex];n.selectResult(),n.onSubmit(a)}})),r(this,"handleArrows",(function(e){var t=n.results.length;n.selectedIndex=(e%t+t)%t,n.onUpdate(n.results,n.selectedIndex)})),r(this,"selectResult",(function(){var e=n.results[n.selectedIndex];e&&n.setValue(e),n.hideResults()})),r(this,"updateResults",(function(e){var t=++n.searchCounter;n.onLoading(),n.search(e).then((function(e){t===n.searchCounter&&(n.results=e,n.onLoaded(),0!==n.results.length?(n.selectedIndex=n.autoSelect?0:-1,n.onUpdate(n.results,n.selectedIndex),n.showResults()):n.hideResults())}))})),r(this,"showResults",(function(){n.setAttribute("aria-expanded",!0),n.onShow()})),r(this,"hideResults",(function(){n.selectedIndex=-1,n.results=[],n.setAttribute("aria-expanded",!1),n.setAttribute("aria-activedescendant",""),n.onUpdate(n.results,n.selectedIndex),n.onHide()})),r(this,"checkSelectedResultVisible",(function(e){var t=e.querySelector('[data-result-index="'.concat(n.selectedIndex,'"]'));if(t){var r=e.getBoundingClientRect(),a=t.getBoundingClientRect();a.topr.bottom&&(e.scrollTop+=a.bottom-r.bottom)}})),this.search=(t=i,Boolean(t&&"function"==typeof t.then)?i:function(e){return Promise.resolve(i(e))}),this.autoSelect=l,this.setValue=u,this.setAttribute=h,this.onUpdate=p,this.onSubmit=g,this.autocorrect=_,this.onShow=y,this.onHide=T,this.onLoading=E,this.onLoaded=k,this.submitOnEnter=P},c=0,u=function(){return"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").concat(++c)};const d=function(e,t,n,r,a,i,o,s,l,c){"boolean"!=typeof o&&(l=s,s=o,o=!1);const u="function"==typeof n?n.options:n;let d;if(e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,a&&(u.functional=!0)),r&&(u._scopeId=r),i?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=d):t&&(d=o?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(u.functional){const e=u.render;u.render=function(t,n){return d.call(n),e(t,n)}}else{const e=u.beforeCreate;u.beforeCreate=e?[].concat(e,d):[d]}return n}({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root"},[e._t("default",[n("div",e._b({},"div",e.rootProps,!1),[n("input",e._g(e._b({ref:"input",on:{input:e.handleInput,keydown:e.core.handleKeyDown,focus:e.core.handleFocus,blur:e.core.handleBlur}},"input",e.inputProps,!1),e.$listeners)),e._v(" "),n("ul",e._g(e._b({ref:"resultList"},"ul",e.resultListProps,!1),e.resultListListeners),[e._l(e.results,(function(t,r){return[e._t("result",[n("li",e._b({key:e.resultProps[r].id},"li",e.resultProps[r],!1),[e._v("\n "+e._s(e.getResultValue(t))+"\n ")])],{result:t,props:e.resultProps[r]})]}))],2)])],{rootProps:e.rootProps,inputProps:e.inputProps,inputListeners:e.inputListeners,resultListProps:e.resultListProps,resultListListeners:e.resultListListeners,results:e.results,resultProps:e.resultProps})],2)},staticRenderFns:[]},undefined,{name:"Autocomplete",inheritAttrs:!1,props:{search:{type:Function,required:!0},baseClass:{type:String,default:"autocomplete"},autoSelect:{type:Boolean,default:!1},getResultValue:{type:Function,default:function(e){return e}},defaultValue:{type:String,default:""},debounceTime:{type:Number,default:0},resultListLabel:{type:String,default:void 0},submitOnEnter:{type:Boolean,default:!1}},data:function(){var e,t,n,r,a=new l({search:this.search,autoSelect:this.autoSelect,setValue:this.setValue,onUpdate:this.handleUpdate,onSubmit:this.handleSubmit,onShow:this.handleShow,onHide:this.handleHide,onLoading:this.handleLoading,onLoaded:this.handleLoaded,submitOnEnter:this.submitOnEnter});return this.debounceTime>0&&(a.handleInput=(e=a.handleInput,t=this.debounceTime,function(){var a=this,i=arguments,o=n&&!r;clearTimeout(r),r=setTimeout((function(){r=null,n||e.apply(a,i)}),t),o&&e.apply(a,i)})),{core:a,value:this.defaultValue,resultListId:u("".concat(this.baseClass,"-result-list-")),results:[],selectedIndex:-1,expanded:!1,loading:!1,position:"below",resetPosition:!0}},computed:{rootProps:function(){return{class:this.baseClass,style:{position:"relative"},"data-expanded":this.expanded,"data-loading":this.loading,"data-position":this.position}},inputProps:function(){return i({class:"".concat(this.baseClass,"-input"),value:this.value,role:"combobox",autocomplete:"off",autocapitalize:"off",autocorrect:"off",spellcheck:"false","aria-autocomplete":"list","aria-haspopup":"listbox","aria-owns":this.resultListId,"aria-expanded":this.expanded?"true":"false","aria-activedescendant":this.selectedIndex>-1?this.resultProps[this.selectedIndex].id:""},this.$attrs)},inputListeners:function(){return{input:this.handleInput,keydown:this.core.handleKeyDown,focus:this.core.handleFocus,blur:this.core.handleBlur}},resultListProps:function(){var e,t="below"===this.position?"top":"bottom",n=function(e){if(null==e?void 0:e.length){var t=e.startsWith("#");return{attribute:t?"aria-labelledby":"aria-label",content:t?e.substring(1):e}}}(this.resultListLabel);return r(e={id:this.resultListId,class:"".concat(this.baseClass,"-result-list"),role:"listbox"},null==n?void 0:n.attribute,null==n?void 0:n.content),r(e,"style",r({position:"absolute",zIndex:1,width:"100%",visibility:this.expanded?"visible":"hidden",pointerEvents:this.expanded?"auto":"none"},t,"100%")),e},resultListListeners:function(){return{mousedown:this.core.handleResultMouseDown,click:this.core.handleResultClick}},resultProps:function(){var e=this;return this.results.map((function(t,n){return i({id:"".concat(e.baseClass,"-result-").concat(n),class:"".concat(e.baseClass,"-result"),"data-result-index":n,role:"option"},e.selectedIndex===n?{"aria-selected":"true"}:{})}))}},mounted:function(){document.body.addEventListener("click",this.handleDocumentClick)},beforeDestroy:function(){document.body.removeEventListener("click",this.handleDocumentClick)},updated:function(){var e,t,n,r;this.$refs.input&&this.$refs.resultList&&(this.resetPosition&&this.results.length>0&&(this.resetPosition=!1,this.position=(e=this.$refs.input,t=this.$refs.resultList,n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),n.bottom+r.height>window.innerHeight&&window.innerHeight-n.bottom0?"above":"below")),this.core.checkSelectedResultVisible(this.$refs.resultList))},methods:{setValue:function(e){this.value=e?this.getResultValue(e):""},handleUpdate:function(e,t){this.results=e,this.selectedIndex=t,this.$emit("update",e,t)},handleShow:function(){this.expanded=!0},handleHide:function(){this.expanded=!1,this.resetPosition=!0},handleLoading:function(){this.loading=!0},handleLoaded:function(){this.loading=!1},handleInput:function(e){this.value=e.target.value,this.core.handleInput(e)},handleSubmit:function(e){this.$emit("submit",e)},handleDocumentClick:function(e){this.$refs.root.contains(e.target)||this.core.hideResults()}}},undefined,!1,undefined,!1,void 0,void 0,void 0);function h(e){h.installed||(h.installed=!0,e.component("Autocomplete",d))}var f,p={install:h};"undefined"!=typeof window?f=window.Vue:void 0!==n.g&&(f=n.g.Vue),f&&f.use(p),d.install=h;const m=d},20005:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BCollapse:()=>r.BCollapse,CollapsePlugin:()=>i});var r=n(2010),a=n(95968),i=(0,n(96266).pluginFactory)({components:{BCollapse:r.BCollapse},plugins:{VBTogglePlugin:a.VBTogglePlugin}})},20106:(e,t,n)=>{"use strict";n.r(t),n.d(t,{stringifyObjectValues:()=>o});var r=n(46710),a=n(91671),i=n(59809),o=function e(t){return(0,r.isUndefinedOrNull)(t)?"":(0,r.isObject)(t)&&!(0,r.isDate)(t)?(0,a.keys)(t).sort().map((function(n){return e(t[n])})).filter((function(e){return!!e})).join(" "):(0,i.toString)(t)}},20309:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BToast:()=>a.BToast,BToaster:()=>i.BToaster,ToastPlugin:()=>o});var r=n(9357),a=n(2890),i=n(79237),o=(0,n(96266).pluginFactory)({components:{BToast:a.BToast,BToaster:i.BToaster},plugins:{BVToastPlugin:r.BVToastPlugin}})},20596:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BTh:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(1340),o=n(83936),s=(0,i.makePropsConfigurable)(o.props,a.NAME_TH),l=(0,r.extend)({name:a.NAME_TH,extends:o.BTd,props:s,computed:{tag:function(){return"th"}}})},20623:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(95093))},20838:function(e,t,n){!function(e){"use strict";var t="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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(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;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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(95093))},21054:(e,t,n)=>{"use strict";n.r(t),n.d(t,{stringifyRecordValues:()=>o});var r=n(46710),a=n(20106),i=n(19276),o=function(e,t,n,o){return(0,r.isObject)(e)?(0,a.stringifyObjectValues)((0,i.sanitizeRow)(e,t,n,o)):""}},21135:function(e,t,n){!function(e){"use strict";e.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(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<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(e){return e},week:{dow:1,doy:4}})}(n(95093))},21164:(e,t,n)=>{"use strict";n.r(t),n.d(t,{props:()=>I,tbodyMixin:()=>T});var r=n(2448),a=n(87013),i=n(36714),o=n(80072),s=n(17079),l=n(71402),c=n(42714),u=n(87057),d=n(91671),h=n(1340),f=n(64606),p=n(42929),m=n(88837),g=n(28981);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t0&&n&&n.length>0?(0,s.from)(t.children).filter((function(e){return(0,s.arrayIncludes)(n,e)})):[]},getTbodyTrIndex:function(e){if(!(0,l.isElement)(e))return-1;var t="TR"===e.tagName?e:(0,l.closest)("tr",e,!0);return t?this.getTbodyTrs().indexOf(t):-1},emitTbodyRowEvent:function(e,t){if(e&&this.hasListener(e)&&t&&t.target){var n=this.getTbodyTrIndex(t.target);if(n>-1){var r=this.computedItems[n];this.$emit(e,r,n,t)}}},tbodyRowEventStopped:function(e){return this.stopIfBusy&&this.stopIfBusy(e)},onTbodyRowKeydown:function(e){var t=e.target,n=e.keyCode;if(!this.tbodyRowEventStopped(e)&&"TR"===t.tagName&&(0,l.isActiveElement)(t)&&0===t.tabIndex)if((0,s.arrayIncludes)([i.CODE_ENTER,i.CODE_SPACE],n))(0,u.stopEvent)(e),this.onTBodyRowClicked(e);else if((0,s.arrayIncludes)([i.CODE_UP,i.CODE_DOWN,i.CODE_HOME,i.CODE_END],n)){var r=this.getTbodyTrIndex(t);if(r>-1){(0,u.stopEvent)(e);var a=this.getTbodyTrs(),o=e.shiftKey;n===i.CODE_HOME||o&&n===i.CODE_UP?(0,l.attemptFocus)(a[0]):n===i.CODE_END||o&&n===i.CODE_DOWN?(0,l.attemptFocus)(a[a.length-1]):n===i.CODE_UP&&r>0?(0,l.attemptFocus)(a[r-1]):n===i.CODE_DOWN&&r{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(76798),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,'@charset "UTF-8";@keyframes plyr-progress{to{background-position:25px 0;background-position:var(--plyr-progress-loading-size,25px) 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;direction:ltr;display:flex;flex-direction:column;font-family:inherit;font-family:var(--plyr-font-family,inherit);font-variant-numeric:tabular-nums;font-weight:400;font-weight:var(--plyr-font-weight-regular,400);line-height:1.7;line-height:var(--plyr-line-height,1.7);max-width:100%;min-width:200px;position:relative;text-shadow:none;transition:box-shadow .3s ease;z-index:0}.plyr audio,.plyr iframe,.plyr video{display:block;height:100%;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{touch-action:manipulation}.plyr__badge{background:#4a5464;background:var(--plyr-badge-background,#4a5464);border-radius:2px;border-radius:var(--plyr-badge-border-radius,2px);color:#fff;color:var(--plyr-badge-text-color,#fff);font-size:9px;font-size:var(--plyr-font-size-badge,9px);line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;display:none;font-size:13px;font-size:var(--plyr-font-size-small,13px);left:0;padding:10px;padding:var(--plyr-control-spacing,10px);position:absolute;text-align:center;transition:transform .4s ease-in-out;width:100%}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:15px;font-size:var(--plyr-font-size-base,15px);padding:20px;padding:calc(var(--plyr-control-spacing, 10px)*2)}}@media (min-width:768px){.plyr__captions{font-size:18px;font-size:var(--plyr-font-size-large,18px)}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(-40px);transform:translateY(calc(var(--plyr-control-spacing, 10px)*-4))}.plyr__caption{background:#000c;background:var(--plyr-captions-background,#000c);border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#fff;color:var(--plyr-captions-text-color,#fff);line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__caption div{display:inline}.plyr__control{background:#0000;border:0;border-radius:4px;border-radius:var(--plyr-control-radius,4px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7);position:relative;transition:all .3s ease}.plyr__control svg{fill:currentColor;display:block;height:18px;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:18px;width:var(--plyr-control-icon-size,18px)}.plyr__control:focus{outline:0}.plyr__control:focus-visible{outline:2px dashed #00b2ff;outline:2px dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:2px}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{align-items:center;display:flex;justify-content:flex-end;text-align:center}.plyr__controls .plyr__progress__container{flex:1;min-width:0}.plyr__controls .plyr__controls__item{margin-left:2.5px;margin-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item:first-child{margin-left:0;margin-right:auto}.plyr__controls .plyr__controls__item.plyr__progress__container{padding-left:2.5px;padding-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item.plyr__time{padding:0 5px;padding:0 calc(var(--plyr-control-spacing, 10px)/2)}.plyr__controls .plyr__controls__item.plyr__progress__container:first-child,.plyr__controls .plyr__controls__item.plyr__time+.plyr__time,.plyr__controls .plyr__controls__item.plyr__time:first-child{padding-left:0}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip],.plyr__controls:empty{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__menu{display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup .2s ease;background:#ffffffe6;background:var(--plyr-menu-background,#ffffffe6);border-radius:8px;border-radius:var(--plyr-menu-radius,8px);bottom:100%;box-shadow:0 1px 2px #00000026;box-shadow:var(--plyr-menu-shadow,0 1px 2px #00000026);color:#4a5464;color:var(--plyr-menu-color,#4a5464);font-size:15px;font-size:var(--plyr-font-size-base,15px);margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:4px solid #0000;border:var(--plyr-menu-arrow-size,4px) solid #0000;border-top-color:var(--plyr-menu-background,#ffffffe6);content:"";height:0;position:absolute;right:14px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7 - var(--plyr-menu-arrow-size, 4px)/2);top:100%;width:0}.plyr__menu__container [role=menu]{padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{align-items:center;color:#4a5464;color:var(--plyr-menu-color,#4a5464);display:flex;font-size:13px;font-size:var(--plyr-font-size-menu,var(--plyr-font-size-small,13px));padding:4.66667px 10.5px;padding:calc(var(--plyr-control-spacing, 10px)*.7/1.5) calc(var(--plyr-control-spacing, 10px)*.7*1.5);-webkit-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{align-items:inherit;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:4px solid #0000;border:var(--plyr-menu-item-arrow-size,4px) solid #0000;content:"";position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:28px;padding-right:calc(var(--plyr-control-spacing, 10px)*.7*4)}.plyr__menu__container .plyr__control--forward:after{border-left-color:#728197;border-left-color:var(--plyr-menu-arrow-color,#728197);right:6.5px;right:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--forward:focus-visible:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:initial}.plyr__menu__container .plyr__control--back{font-weight:400;font-weight:var(--plyr-font-weight-regular,400);margin:7px;margin:calc(var(--plyr-control-spacing, 10px)*.7);margin-bottom:3.5px;margin-bottom:calc(var(--plyr-control-spacing, 10px)*.7/2);padding-left:28px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*4);position:relative;width:calc(100% - 14px);width:calc(100% - var(--plyr-control-spacing, 10px)*.7*2)}.plyr__menu__container .plyr__control--back:after{border-right-color:#728197;border-right-color:var(--plyr-menu-arrow-color,#728197);left:6.5px;left:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--back:before{background:#dcdfe5;background:var(--plyr-menu-back-border-color,#dcdfe5);box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 var(--plyr-menu-back-border-shadow-color,#fff);content:"";height:1px;left:0;margin-top:3.5px;margin-top:calc(var(--plyr-control-spacing, 10px)*.7/2);overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back:focus-visible:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:initial}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:7px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:#0000001a;content:"";display:block;flex-shrink:0;height:16px;margin-right:10px;margin-right:var(--plyr-control-spacing,10px);transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#00b2ff;background:var(--plyr-control-toggle-checked-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)))}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio]:focus-visible:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:#23282f1a}.plyr__menu__container .plyr__menu__value{align-items:center;display:flex;margin-left:auto;margin-right:-5px;margin-right:calc(var(--plyr-control-spacing, 10px)*.7*-1 + 2px);overflow:hidden;padding-left:24.5px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*3.5);pointer-events:none}.plyr--full-ui input[type=range]{appearance:none;background:#0000;border:0;border-radius:26px;border-radius:calc(var(--plyr-range-thumb-height, 13px)*2);color:#00b2ff;color:var(--plyr-range-fill-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));display:block;height:19px;height:calc(var(--plyr-range-thumb-active-shadow-width, 3px)*2 + var(--plyr-range-thumb-height, 13px));margin:0;min-width:0;padding:0;transition:box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:#0000;background-image:linear-gradient(90deg,currentColor,#0000 0);background-image:linear-gradient(to right,currentColor var(--value,0),#0000 var(--value,0));border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-webkit-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-webkit-slider-thumb{appearance:none;background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33);height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:-4px;margin-top:calc((var(--plyr-range-thumb-height, 13px) - var(--plyr-range-track-height, 5px))/2*-1);position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-track{background:#0000;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-moz-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33);height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-moz-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px)}.plyr--full-ui input[type=range]::-ms-track{color:#0000}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:#0000;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:#0000;background:currentColor;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33);height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:0;position:relative;-ms-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]:focus-visible::-webkit-slider-runnable-track{outline:2px dashed #00b2ff;outline:2px dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:2px}.plyr--full-ui input[type=range]:focus-visible::-moz-range-track{outline:2px dashed #00b2ff;outline:2px dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:2px}.plyr--full-ui input[type=range]:focus-visible::-ms-track{outline:2px dashed #00b2ff;outline:2px dashed var(--plyr-focus-visible-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));outline-offset:2px}.plyr__poster{background-color:#000;background-color:var(--plyr-video-background,var(--plyr-video-background,#000));background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr--youtube.plyr--paused.plyr__poster-enabled:not(.plyr--stopped) .plyr__poster{display:none}.plyr__time{font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__time+.plyr__time:before{content:"⁄";margin-right:10px;margin-right:var(--plyr-control-spacing,10px)}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr__tooltip{background:#fff;background:var(--plyr-tooltip-background,#fff);border-radius:5px;border-radius:var(--plyr-tooltip-radius,5px);bottom:100%;box-shadow:0 1px 2px #00000026;box-shadow:var(--plyr-tooltip-shadow,0 1px 2px #00000026);color:#4a5464;color:var(--plyr-tooltip-color,#4a5464);font-size:13px;font-size:var(--plyr-font-size-small,13px);font-weight:400;font-weight:var(--plyr-font-weight-regular,400);left:50%;line-height:1.3;margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:5px 7.5px;padding:calc(var(--plyr-control-spacing, 10px)/2) calc(var(--plyr-control-spacing, 10px)/2*1.5);pointer-events:none;position:absolute;transform:translate(-50%,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:4px solid #0000;border-left:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-right:4px solid #0000;border-right:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-top:4px solid #fff;border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,#fff);bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control:focus-visible .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip{left:0;transform:translateY(10px) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before{left:16px;left:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7)}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translateY(10px) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:16px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7);transform:translateX(50%)}.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:focus-visible .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child:focus-visible .plyr__tooltip,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:focus-visible .plyr__tooltip,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0) scale(1)}.plyr__progress{left:6.5px;left:calc(var(--plyr-range-thumb-height, 13px)*.5);margin-right:13px;margin-right:var(--plyr-range-thumb-height,13px);position:relative}.plyr__progress input[type=range],.plyr__progress__buffer{margin-left:-6.5px;margin-left:calc(var(--plyr-range-thumb-height, 13px)*-.5);margin-right:-6.5px;margin-right:calc(var(--plyr-range-thumb-height, 13px)*-.5);width:calc(100% + 13px);width:calc(100% + var(--plyr-range-thumb-height, 13px))}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{left:0;max-width:120px;overflow-wrap:break-word}.plyr__progress__buffer{-webkit-appearance:none;background:#0000;border:0;border-radius:100px;height:5px;height:var(--plyr-range-track-height,5px);left:0;margin-top:-2.5px;margin-top:calc((var(--plyr-range-track-height, 5px)/2)*-1);padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:#0000}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-moz-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;-ms-transition:width .2s ease;transition:width .2s ease}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,#23282f99 25%,#0000 0,#0000 50%,#23282f99 0,#23282f99 75%,#0000 0,#0000);background-image:linear-gradient(-45deg,var(--plyr-progress-loading-background,#23282f99) 25%,#0000 25%,#0000 50%,var(--plyr-progress-loading-background,#23282f99) 50%,var(--plyr-progress-loading-background,#23282f99) 75%,#0000 75%,#0000);background-repeat:repeat-x;background-size:25px 25px;background-size:var(--plyr-progress-loading-size,25px) var(--plyr-progress-loading-size,25px);color:#0000}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:#ffffff40;background-color:var(--plyr-video-progress-buffered-background,#ffffff40)}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:#c1c8d199;background-color:var(--plyr-audio-progress-buffered-background,#c1c8d199)}.plyr__progress__marker{background-color:#fff;background-color:var(--plyr-progress-marker-background,#fff);border-radius:1px;height:5px;height:var(--plyr-range-track-height,5px);position:absolute;top:50%;transform:translate(-50%,-50%);width:3px;width:var(--plyr-progress-marker-width,3px);z-index:3}.plyr__volume{align-items:center;display:flex;position:relative}.plyr__volume input[type=range]{margin-left:5px;margin-left:calc(var(--plyr-control-spacing, 10px)/2);margin-right:5px;margin-right:calc(var(--plyr-control-spacing, 10px)/2);max-width:90px;min-width:60px;position:relative;z-index:2}.plyr--audio{display:block}.plyr--audio .plyr__controls{background:#fff;background:var(--plyr-audio-controls-background,#fff);border-radius:inherit;color:#4a5464;color:var(--plyr-audio-control-color,#4a5464);padding:10px;padding:var(--plyr-control-spacing,10px)}.plyr--audio .plyr__control:focus-visible,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-audio-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-audio-control-color-hover,#fff)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:#c1c8d199;background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,#c1c8d199))}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:#c1c8d199;background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,#c1c8d199))}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:#c1c8d199;background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,#c1c8d199))}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #23282f1a;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#23282f1a)}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #23282f1a;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#23282f1a)}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #23282f1a;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#23282f1a)}.plyr--audio .plyr__progress__buffer{color:#c1c8d199;color:var(--plyr-audio-progress-buffered-background,#c1c8d199)}.plyr--video{overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));border-radius:inherit;height:100%;margin:auto;overflow:hidden;position:relative;width:100%}.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{aspect-ratio:16/9}@supports not (aspect-ratio:16/9){.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%;position:relative}}.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr--video .plyr__controls{background:linear-gradient(#0000,#000000bf);background:var(--plyr-video-controls-background,linear-gradient(#0000,#000000bf));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;color:var(--plyr-video-control-color,#fff);left:0;padding:5px;padding:calc(var(--plyr-control-spacing, 10px)/2);padding-top:20px;padding-top:calc(var(--plyr-control-spacing, 10px)*2);position:absolute;right:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:10px;padding:var(--plyr-control-spacing,10px);padding-top:35px;padding-top:calc(var(--plyr-control-spacing, 10px)*3.5)}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr--video .plyr__control:focus-visible,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-video-control-color-hover,#fff)}.plyr__control--overlaid{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));border:0;border-radius:100%;color:#fff;color:var(--plyr-video-control-color,#fff);display:none;left:50%;opacity:.9;padding:15px;padding:calc(var(--plyr-control-spacing, 10px)*1.5);position:absolute;top:50%;transform:translate(-50%,-50%);transition:.3s;z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{opacity:1}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:#ffffff40;background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,#ffffff40))}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:#ffffff40;background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,#ffffff40))}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:#ffffff40;background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,#ffffff40))}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #ffffff80;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#ffffff80)}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #ffffff80;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#ffffff80)}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px #23282f26,0 0 0 1px #23282f33,0 0 0 3px #ffffff80;box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px #23282f26,0 0 0 1px #23282f33),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,#ffffff80)}.plyr--video .plyr__progress__buffer{color:#ffffff40;color:var(--plyr-video-progress-buffered-background,#ffffff40)}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;bottom:0;height:100%;left:0;margin:0;position:fixed;right:0;top:0;width:100%;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:#23282f;border-radius:2px;bottom:10px;bottom:var(--plyr-control-spacing,10px);color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;right:var(--plyr-control-spacing,10px);z-index:3}.plyr__ads:empty:after{display:none}.plyr__cues{background:currentColor;display:block;height:5px;height:var(--plyr-range-track-height,5px);left:0;opacity:.8;position:absolute;top:50%;transform:translateY(-50%);width:3px;z-index:3}.plyr__preview-thumb{background-color:#fff;background-color:var(--plyr-tooltip-background,#fff);border-radius:8px;border-radius:var(--plyr-menu-radius,8px);bottom:100%;box-shadow:0 1px 2px #00000026;box-shadow:var(--plyr-tooltip-shadow,0 1px 2px #00000026);margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:3px;pointer-events:none;position:absolute;transform:translateY(10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0) scale(1)}.plyr__preview-thumb:before{border-left:4px solid #0000;border-left:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-right:4px solid #0000;border-right:var(--plyr-tooltip-arrow-size,4px) solid #0000;border-top:4px solid #fff;border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,#fff);bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:calc(50% + var(--preview-arrow-offset));position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:7px;border-radius:calc(var(--plyr-menu-radius, 8px) - 1px);overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img,.plyr__preview-thumb__image-container:after{height:100%;left:0;position:absolute;top:0;width:100%}.plyr__preview-thumb__image-container:after{border-radius:inherit;box-shadow:inset 0 0 0 1px #00000026;content:"";pointer-events:none}.plyr__preview-thumb__image-container img{max-height:none;max-width:none}.plyr__preview-thumb__time-container{background:linear-gradient(#0000,#000000bf);background:var(--plyr-video-controls-background,linear-gradient(#0000,#000000bf));border-bottom-left-radius:7px;border-bottom-left-radius:calc(var(--plyr-menu-radius, 8px) - 1px);border-bottom-right-radius:7px;border-bottom-right-radius:calc(var(--plyr-menu-radius, 8px) - 1px);bottom:0;left:0;line-height:1.1;padding:20px 6px 6px;position:absolute;right:0;z-index:3}.plyr__preview-thumb__time-container span{color:#fff;font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__preview-scrubbing{bottom:0;filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);border:0!important;height:1px!important;overflow:hidden;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}',""]);const i=a},22105:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;tu,FIELD_KEY_CELL_VARIANT:()=>o,FIELD_KEY_ROW_VARIANT:()=>s,FIELD_KEY_SHOW_DETAILS:()=>l,IGNORED_FIELD_KEYS:()=>c});var o="_cellVariants",s="_rowVariant",l="_showDetails",c=[o,s,l].reduce((function(e,t){return a(a({},e),{},i({},t,!0))}),{}),u=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(",")},22274:function(e,t,n){!function(e){"use strict";e.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:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(95093))},22331:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VBTooltip:()=>r.VBTooltip,VBTooltipPlugin:()=>a});var r=n(58376),a=(0,n(96266).pluginFactory)({directives:{VBTooltip:r.VBTooltip}})},22894:(e,t,n)=>{"use strict";n.r(t),n.d(t,{props:()=>s,topRowMixin:()=>l});var r=n(2448),a=n(94159),i=n(46710),o=n(66374),s={},l=(0,r.extend)({methods:{renderTopRow:function(){var e=this.computedFields,t=this.stacked,n=this.tbodyTrClass,r=this.tbodyTrAttr,s=this.$createElement;return this.hasNormalizedSlot(a.SLOT_NAME_TOP_ROW)&&!0!==t&&""!==t?s(o.BTr,{staticClass:"b-table-top-row",class:[(0,i.isFunction)(n)?n(null,"row-top"):n],attrs:(0,i.isFunction)(r)?r(null,"row-top"):r,key:"b-top-row"},[this.normalizeSlot(a.SLOT_NAME_TOP_ROW,{columns:e.length,fields:e})]):s()}}})},23040:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BCarouselSlide:()=>I,props:()=>_});var r=n(2448),a=n(49800),i=n(85493),o=n(80072),s=n(94159),l=n(87057),c=n(41897),u=n(58494),d=n(91671),h=n(1340),f=n(81074),p=n(48917),m=n(40188);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BDropdownText:()=>c,props:()=>l});var r=n(2448),a=n(49800),i=n(80072),o=n(91671),s=n(1340);var l=(0,s.makePropsConfigurable)({tag:(0,s.makeProp)(i.PROP_TYPE_STRING,"p"),textClass:(0,s.makeProp)(i.PROP_TYPE_ARRAY_OBJECT_STRING),variant:(0,s.makeProp)(i.PROP_TYPE_STRING)},a.NAME_DROPDOWN_TEXT),c=(0,r.extend)({name:a.NAME_DROPDOWN_TEXT,functional:!0,props:l,render:function(e,t){var n,a,i,s=t.props,l=t.data,c=t.children,u=s.tag,d=s.textClass,h=s.variant;return e("li",(0,r.mergeData)((0,o.omit)(l,["attrs"]),{attrs:{role:"presentation"}}),[e(u,{staticClass:"b-dropdown-text",class:[d,(n={},a="text-".concat(h),i=h,a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n)],props:s,attrs:l.attrs||{},ref:"text"},c)])}})},23522:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LDU:()=>I,add:()=>T,adjoint:()=>h,clone:()=>i,copy:()=>o,create:()=>a,determinant:()=>f,equals:()=>M,exactEquals:()=>E,frob:()=>_,fromRotation:()=>v,fromScaling:()=>y,fromValues:()=>l,identity:()=>s,invert:()=>d,mul:()=>P,multiply:()=>p,multiplyScalar:()=>k,multiplyScalarAndAdd:()=>S,rotate:()=>m,scale:()=>g,set:()=>c,str:()=>b,sub:()=>A,subtract:()=>w,transpose:()=>u});var r=n(17823);function a(){var e=new r.ARRAY_TYPE(4);return r.ARRAY_TYPE!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e}function i(e){var t=new r.ARRAY_TYPE(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function s(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e}function l(e,t,n,a){var i=new r.ARRAY_TYPE(4);return i[0]=e,i[1]=t,i[2]=n,i[3]=a,i}function c(e,t,n,r,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e}function u(e,t){if(e===t){var n=t[1];e[1]=t[2],e[2]=n}else e[0]=t[0],e[1]=t[2],e[2]=t[1],e[3]=t[3];return e}function d(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=n*i-a*r;return o?(o=1/o,e[0]=i*o,e[1]=-r*o,e[2]=-a*o,e[3]=n*o,e):null}function h(e,t){var n=t[0];return e[0]=t[3],e[1]=-t[1],e[2]=-t[2],e[3]=n,e}function f(e){return e[0]*e[3]-e[2]*e[1]}function p(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=n[0],l=n[1],c=n[2],u=n[3];return e[0]=r*s+i*l,e[1]=a*s+o*l,e[2]=r*c+i*u,e[3]=a*c+o*u,e}function m(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l+i*s,e[1]=a*l+o*s,e[2]=r*-s+i*l,e[3]=a*-s+o*l,e}function g(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=n[0],l=n[1];return e[0]=r*s,e[1]=a*s,e[2]=i*l,e[3]=o*l,e}function v(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=-n,e[3]=r,e}function y(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=t[1],e}function b(e){return"mat2("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"}function _(e){return Math.hypot(e[0],e[1],e[2],e[3])}function I(e,t,n,r){return e[2]=r[2]/r[0],n[0]=r[0],n[1]=r[1],n[3]=r[3]-e[2]*n[1],[e,t,n]}function T(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function w(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function E(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function M(e,t){var n=e[0],a=e[1],i=e[2],o=e[3],s=t[0],l=t[1],c=t[2],u=t[3];return Math.abs(n-s)<=r.EPSILON*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(a-l)<=r.EPSILON*Math.max(1,Math.abs(a),Math.abs(l))&&Math.abs(i-c)<=r.EPSILON*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(o-u)<=r.EPSILON*Math.max(1,Math.abs(o),Math.abs(u))}function k(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function S(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e}var P=p,A=w},23711:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BDropdown:()=>r.BDropdown,BDropdownDivider:()=>s.BDropdownDivider,BDropdownForm:()=>l.BDropdownForm,BDropdownGroup:()=>u.BDropdownGroup,BDropdownHeader:()=>o.BDropdownHeader,BDropdownItem:()=>a.BDropdownItem,BDropdownItemButton:()=>i.BDropdownItemButton,BDropdownText:()=>c.BDropdownText,DropdownPlugin:()=>d});var r=n(51130),a=n(9656),i=n(2493),o=n(25506),s=n(50934),l=n(16381),c=n(23488),u=n(63844),d=(0,n(96266).pluginFactory)({components:{BDropdown:r.BDropdown,BDd:r.BDropdown,BDropdownItem:a.BDropdownItem,BDdItem:a.BDropdownItem,BDropdownItemButton:i.BDropdownItemButton,BDropdownItemBtn:i.BDropdownItemButton,BDdItemButton:i.BDropdownItemButton,BDdItemBtn:i.BDropdownItemButton,BDropdownHeader:o.BDropdownHeader,BDdHeader:o.BDropdownHeader,BDropdownDivider:s.BDropdownDivider,BDdDivider:s.BDropdownDivider,BDropdownForm:l.BDropdownForm,BDdForm:l.BDropdownForm,BDropdownText:c.BDropdownText,BDdText:c.BDropdownText,BDropdownGroup:u.BDropdownGroup,BDdGroup:u.BDropdownGroup}})},23827:function(e,t,n){!function(e){"use strict";e.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(e,t){return"元"===t[1]?1:parseInt(t[1]||e,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(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},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(95093))},24032:(e,t,n)=>{"use strict";n.r(t),n.d(t,{warn:()=>i,warnNoMutationObserverSupport:()=>l,warnNoPromiseSupport:()=>s,warnNotClient:()=>o});var r=n(85493),a=n(4057),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,a.getNoWarn)()||console.warn("[BootstrapVue warn]: ".concat(t?"".concat(t," - "):"").concat(e))},o=function(e){return!r.IS_BROWSER&&(i("".concat(e,": Can not be called during SSR.")),!0)},s=function(e){return!r.HAS_PROMISE_SUPPORT&&(i("".concat(e,": Requires Promise support.")),!0)},l=function(e){return!r.HAS_MUTATION_OBSERVER_SUPPORT&&(i("".concat(e,": Requires MutationObserver support.")),!0)}},24392:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BPagination:()=>I,props:()=>_});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(72339),l=n(71402),c=n(46710),u=n(28014),d=n(89821),h=n(91671),f=n(1340),p=n(25403);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;te.numberOfPages)&&(this.currentPage=1),this.localNumberOfPages=e.numberOfPages}},created:function(){var e=this;this.localNumberOfPages=this.numberOfPages;var t=(0,d.toInteger)(this[p.MODEL_PROP_NAME],0);t>0?this.currentPage=t:this.$nextTick((function(){e.currentPage=0}))},methods:{onClick:function(e,t){var n=this;if(t!==this.currentPage){var r=e.target,a=new s.BvEvent(i.EVENT_NAME_PAGE_CLICK,{cancelable:!0,vueTarget:this,target:r});this.$emit(a.type,a,t),a.defaultPrevented||(this.currentPage=t,this.$emit(i.EVENT_NAME_CHANGE,this.currentPage),this.$nextTick((function(){(0,l.isVisible)(r)&&n.$el.contains(r)?(0,l.attemptFocus)(r):n.focusCurrent()})))}},makePage:function(e){return e},linkProps:function(){return{}}}})},24457:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.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:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(95093))},24496:function(e,t,n){!function(e){"use strict";e.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(95093))},24499:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BContainer:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340);var s=(0,o.makePropsConfigurable)({fluid:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN_STRING,!1),tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"div")},a.NAME_CONTAINER),l=(0,r.extend)({name:a.NAME_CONTAINER,functional:!0,props:s,render:function(e,t){var n,a,i,o=t.props,s=t.data,l=t.children,c=o.fluid;return e(o.tag,(0,r.mergeData)(s,{class:(n={container:!(c||""===c),"container-fluid":!0===c||""===c},a="container-".concat(c),i=c&&!0!==c,a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n)}),l)}})},24519:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getInstanceFromElement:()=>s,registerElementToInstance:()=>i,removeElementToInstance:()=>o});var r=n(2448),a=null;r.isVue3&&(a=new WeakMap);var i=function(e,t){r.isVue3&&a.set(e,t)},o=function(e){r.isVue3&&a.delete(e)},s=function(e){if(!r.isVue3)return e.__vue__;for(var t=e;t;){if(a.has(t))return a.get(t);t=t.parentNode}return null}},24786:(e,t,n)=>{"use strict";n.r(t),n.d(t,{converter:()=>l,createTimeago:()=>o,default:()=>c,install:()=>s});var r=n(67034),a=n.n(r),i=function(e,t,n){var r=n.includeSeconds,i=n.addSuffix;return void 0===i&&(i=!0),a()(e,{locale:t,includeSeconds:r,addSuffix:i})},o=function(e){void 0===e&&(e={});var t=e.locales||{};return{name:e.name||"Timeago",props:{datetime:{required:!0},title:{type:[String,Boolean]},locale:{type:String},autoUpdate:{type:[Number,Boolean]},converter:{type:Function},converterOptions:{type:Object}},data:function(){return{timeago:this.getTimeago()}},computed:{localeName:function(){return this.locale||this.$timeago.locale}},mounted:function(){this.startUpdater()},beforeDestroy:function(){this.stopUpdater()},render:function(e){return e("time",{attrs:{datetime:new Date(this.datetime).toISOString(),title:"string"==typeof this.title?this.title:!1===this.title?null:this.timeago}},[this.timeago])},methods:{getTimeago:function(n){return(this.converter||e.converter||i)(n||this.datetime,t[this.locale||this.$timeago.locale],this.converterOptions||{})},convert:function(e){this.timeago=this.getTimeago(e)},startUpdater:function(){var e=this;if(this.autoUpdate){var t=!0===this.autoUpdate?60:this.autoUpdate;this.updater=setInterval((function(){e.convert()}),1e3*t)}},stopUpdater:function(){this.updater&&(clearInterval(this.updater),this.updater=null)}},watch:{autoUpdate:function(e){this.stopUpdater(),e&&this.startUpdater()},datetime:function(){this.convert()},localeName:function(){this.convert()},converter:function(){this.convert()},converterOptions:{handler:function(){this.convert()},deep:!0}}}},s=function(e,t){if(!e.prototype.$timeago){0;var n={locale:t.locale};e.prototype.$timeago=e.observable?e.observable(n):new e({data:n});var r=o(t);e.component(r.name,r)}},l=i;const c=s},24848:(e,t,n)=>{"use strict";n.r(t),n.d(t,{parseLinkHeader:()=>c});const r=2e3,a=!1;function i(e){return e&&e.rel}function o(e,t){return t.rel.split(/\s+/).forEach((function(n){e[n]=Object.assign({},t,{rel:n})})),e}function s(e,t){const n=t.match(/\s*(.+)\s*=\s*"?([^"]+)"?/);return n&&(e[n[1]]=n[2]),e}function l(e){try{const t=e.match(/]*)>(.*)/),n=t[1],r=t[2].split(";"),a={},i=new URL(n,"https://example.com");for(const[e,t]of i.searchParams)a[e]=t;r.shift();let o=r.reduce(s,{});return o=Object.assign({},a,o),o.url=n,o}catch{return null}}function c(e,t){return function(e,t){if(!e)return!1;const n=(t=t||{}).maxHeaderLength||r,i=t.throwOnMaxHeaderLengthExceeded||a;if(e.length>n){if(i)throw new Error("Input string too long, it should be under "+n+" characters.");return!1}return!0}(e,t)?e.split(/,\s*{var t=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];e.exports=function(e){var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var a=t.concat(n).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+a.join("|")+"|.)","g")}},25100:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(62893),a=function(e){r.default.config.silent||console.warn(e)};const i={name:"intersect",abstract:!0,props:{threshold:{type:Array,required:!1,default:function(){return[0,.2]}},root:{type:"undefined"!=typeof HTMLElement?HTMLElement:Object,required:!1,default:function(){return null}},rootMargin:{type:String,required:!1,default:function(){return"0px 0px 0px 0px"}}},mounted:function(){var e=this;this.observer=new IntersectionObserver((function(t){t[0].isIntersecting?e.$emit("enter",[t[0]]):e.$emit("leave",[t[0]]),e.$emit("change",[t[0]])}),{threshold:this.threshold,root:this.root,rootMargin:this.rootMargin}),this.$nextTick((function(){if(e.$slots.default&&e.$slots.default.length>1)a("[VueIntersect] You may only wrap one element in a component.");else if(!e.$slots.default||e.$slots.default.length<1)return void a("[VueIntersect] You must have one child inside a component.");e.observer.observe(e.$slots.default[0].elm)}))},destroyed:function(){this.$emit("destroyed"),this.observer.disconnect()},render:function(){return this.$slots.default?this.$slots.default[0]:null}}},25144:(e,t,n)=>{var r=n(96221);e.exports=function(e,t){var n=r(e),a=r(t);return n.getTime()-a.getTime()}},25177:function(e,t,n){!function(e){"use strict";e.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(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(95093))},25403:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MODEL_EVENT_NAME:()=>x,MODEL_PROP_NAME:()=>A,paginationMixin:()=>D,props:()=>C});var r,a=n(2448),i=n(49800),o=n(36714),s=n(80072),l=n(94159),c=n(17079),u=n(71402),d=n(87057),h=n(46710),f=n(28014),p=n(38199),m=n(89821),g=n(91671),v=n(1340),y=n(42714),b=n(59809),_=n(24032),I=n(48917),T=n(66344);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;tt?t:n<1?1:n},O=function(e){if(e.keyCode===o.CODE_SPACE)return(0,d.stopEvent)(e,{immediatePropagation:!0}),e.currentTarget.click(),!1},C=(0,v.makePropsConfigurable)((0,g.sortKeys)(E(E({},P),{},{align:(0,v.makeProp)(s.PROP_TYPE_STRING,"left"),ariaLabel:(0,v.makeProp)(s.PROP_TYPE_STRING,"Pagination"),disabled:(0,v.makeProp)(s.PROP_TYPE_BOOLEAN,!1),ellipsisClass:(0,v.makeProp)(s.PROP_TYPE_ARRAY_OBJECT_STRING),ellipsisText:(0,v.makeProp)(s.PROP_TYPE_STRING,"…"),firstClass:(0,v.makeProp)(s.PROP_TYPE_ARRAY_OBJECT_STRING),firstNumber:(0,v.makeProp)(s.PROP_TYPE_BOOLEAN,!1),firstText:(0,v.makeProp)(s.PROP_TYPE_STRING,"«"),hideEllipsis:(0,v.makeProp)(s.PROP_TYPE_BOOLEAN,!1),hideGotoEndButtons:(0,v.makeProp)(s.PROP_TYPE_BOOLEAN,!1),labelFirstPage:(0,v.makeProp)(s.PROP_TYPE_STRING,"Go to first page"),labelLastPage:(0,v.makeProp)(s.PROP_TYPE_STRING,"Go to last page"),labelNextPage:(0,v.makeProp)(s.PROP_TYPE_STRING,"Go to next page"),labelPage:(0,v.makeProp)(s.PROP_TYPE_FUNCTION_STRING,"Go to page"),labelPrevPage:(0,v.makeProp)(s.PROP_TYPE_STRING,"Go to previous page"),lastClass:(0,v.makeProp)(s.PROP_TYPE_ARRAY_OBJECT_STRING),lastNumber:(0,v.makeProp)(s.PROP_TYPE_BOOLEAN,!1),lastText:(0,v.makeProp)(s.PROP_TYPE_STRING,"»"),limit:(0,v.makeProp)(s.PROP_TYPE_NUMBER_STRING,5,(function(e){return!((0,m.toInteger)(e,0)<1)||((0,_.warn)('Prop "limit" must be a number greater than "0"',i.NAME_PAGINATION),!1)})),nextClass:(0,v.makeProp)(s.PROP_TYPE_ARRAY_OBJECT_STRING),nextText:(0,v.makeProp)(s.PROP_TYPE_STRING,"›"),pageClass:(0,v.makeProp)(s.PROP_TYPE_ARRAY_OBJECT_STRING),pills:(0,v.makeProp)(s.PROP_TYPE_BOOLEAN,!1),prevClass:(0,v.makeProp)(s.PROP_TYPE_ARRAY_OBJECT_STRING),prevText:(0,v.makeProp)(s.PROP_TYPE_STRING,"‹"),size:(0,v.makeProp)(s.PROP_TYPE_STRING)})),"pagination"),D=(0,a.extend)({mixins:[S,I.normalizeSlotMixin],props:C,data:function(){var e=(0,m.toInteger)(this[A],0);return{currentPage:e=e>0?e:-1,localNumberOfPages:1,localLimit:5}},computed:{btnSize:function(){var e=this.size;return e?"pagination-".concat(e):""},alignment:function(){var e=this.align;return"center"===e?"justify-content-center":"end"===e||"right"===e?"justify-content-end":"fill"===e?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return L(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var e=this.localLimit,t=this.localNumberOfPages,n=this.computedCurrentPage,r=this.hideEllipsis,a=this.firstNumber,i=this.lastNumber,o=!1,s=!1,l=e,c=1;t<=e?l=t:n3?(r&&!i||(s=!0,l=e-(a?0:1)),l=(0,f.mathMin)(l,e)):t-n+23?(r&&!a||(o=!0,l=e-(i?0:1)),c=t-l+1):(e>3&&(l=e-(r?0:2),o=!(r&&!a),s=!(r&&!i)),c=n-(0,f.mathFloor)(l/2)),c<1?(c=1,o=!1):c>t-l&&(c=t-l+1,s=!1),o&&a&&c<4&&(l+=2,c=1,o=!1);var u=c+l-1;return s&&i&&u>t-3&&(l+=u===t-2?2:3,s=!1),e<=3&&(a&&1===c?l=(0,f.mathMin)(l+1,t,e+1):i&&t===c+l-1&&(c=(0,f.mathMax)(c-1,1),l=(0,f.mathMin)(t-c+1,t,e+1))),{showFirstDots:o,showLastDots:s,numberOfLinks:l=(0,f.mathMin)(l,t-c+1),startNumber:c}},pageList:function(){var e=this.paginationParams,t=e.numberOfLinks,n=e.startNumber,r=this.computedCurrentPage,a=function(e,t){return(0,c.createArray)(t,(function(t,n){return{number:e+n,classes:null}}))}(n,t);if(a.length>3){var i=r-n,o="bv-d-xs-down-none";if(0===i)for(var s=3;si+1;d--)a[d].classes=o}}return a}},watch:(r={},M(r,A,(function(e,t){e!==t&&(this.currentPage=L(e,this.localNumberOfPages))})),M(r,"currentPage",(function(e,t){e!==t&&this.$emit(x,e>0?e:null)})),M(r,"limit",(function(e,t){e!==t&&(this.localLimit=B(e))})),r),created:function(){var e=this;this.localLimit=B(this.limit),this.$nextTick((function(){e.currentPage=e.currentPage>e.localNumberOfPages?e.localNumberOfPages:e.currentPage}))},methods:{handleKeyNav:function(e){var t=e.keyCode,n=e.shiftKey;this.isNav||(t===o.CODE_LEFT||t===o.CODE_UP?((0,d.stopEvent)(e,{propagation:!1}),n?this.focusFirst():this.focusPrev()):t!==o.CODE_RIGHT&&t!==o.CODE_DOWN||((0,d.stopEvent)(e,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return(0,u.selectAll)("button.page-link, a.page-link",this.$el).filter((function(e){return(0,u.isVisible)(e)}))},focusCurrent:function(){var e=this;this.$nextTick((function(){var t=e.getButtons().find((function(t){return(0,m.toInteger)((0,u.getAttr)(t,"aria-posinset"),0)===e.computedCurrentPage}));(0,u.attemptFocus)(t)||e.focusFirst()}))},focusFirst:function(){var e=this;this.$nextTick((function(){var t=e.getButtons().find((function(e){return!(0,u.isDisabled)(e)}));(0,u.attemptFocus)(t)}))},focusLast:function(){var e=this;this.$nextTick((function(){var t=e.getButtons().reverse().find((function(e){return!(0,u.isDisabled)(e)}));(0,u.attemptFocus)(t)}))},focusPrev:function(){var e=this;this.$nextTick((function(){var t=e.getButtons(),n=t.indexOf((0,u.getActiveElement)());n>0&&!(0,u.isDisabled)(t[n-1])&&(0,u.attemptFocus)(t[n-1])}))},focusNext:function(){var e=this;this.$nextTick((function(){var t=e.getButtons(),n=t.indexOf((0,u.getActiveElement)());ns,f=n<1?1:n>s?s:n,p={disabled:h,page:f,index:f-1},g=t.normalizeSlot(i,p)||(0,b.toString)(l)||e(),v=e(h?"span":o?T.BLink:"button",{staticClass:"page-link",class:{"flex-grow-1":!o&&!h&&m},props:h||!o?{}:t.linkProps(n),attrs:{role:o?null:"menuitem",type:o||h?null:"button",tabindex:h||o?null:"-1","aria-label":a,"aria-controls":(0,y.safeVueInstance)(t).ariaControls||null,"aria-disabled":h?"true":null},on:h?{}:{"!click":function(e){t.onClick(e,n)},keydown:O}},[g]);return e("li",{key:d,staticClass:"page-item",class:[{disabled:h,"flex-fill":m,"d-flex":m&&!o&&!h},c],attrs:{role:o?null:"presentation","aria-hidden":h?"true":null}},[v])},E=function(n){return e("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",m?"flex-fill":"",t.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(n?"last":"first")},[e("span",{staticClass:"page-link"},[t.normalizeSlot(l.SLOT_NAME_ELLIPSIS_TEXT)||(0,b.toString)(t.ellipsisText)||e()])])},M=function(n,i){var c=n.number,u=_(c)&&!I,d=r?null:u||I&&0===i?"0":"-1",f={role:o?null:"menuitemradio",type:o||r?null:"button","aria-disabled":r?"true":null,"aria-controls":(0,y.safeVueInstance)(t).ariaControls||null,"aria-label":(0,v.hasPropFunction)(a)?a(c):"".concat((0,h.isFunction)(a)?a():a," ").concat(c),"aria-checked":o?null:u?"true":"false","aria-current":o&&u?"page":null,"aria-posinset":o?null:c,"aria-setsize":o?null:s,tabindex:o?null:d},p=(0,b.toString)(t.makePage(c)),g={page:c,index:c-1,content:p,active:u,disabled:r},w=e(r?"span":o?T.BLink:"button",{props:r||!o?{}:t.linkProps(c),staticClass:"page-link",class:{"flex-grow-1":!o&&!r&&m},attrs:f,on:r?{}:{"!click":function(e){t.onClick(e,c)},keydown:O}},[t.normalizeSlot(l.SLOT_NAME_PAGE,g)||p]);return e("li",{staticClass:"page-item",class:[{disabled:r,active:u,"flex-fill":m,"d-flex":m&&!o&&!r},n.classes,t.pageClass],attrs:{role:o?null:"presentation"},key:"page-".concat(c)},[w])},k=e();this.firstNumber||this.hideGotoEndButtons||(k=w(1,this.labelFirstPage,l.SLOT_NAME_FIRST_TEXT,this.firstText,this.firstClass,1,"pagination-goto-first")),g.push(k),g.push(w(c-1,this.labelPrevPage,l.SLOT_NAME_PREV_TEXT,this.prevText,this.prevClass,1,"pagination-goto-prev")),g.push(this.firstNumber&&1!==u[0]?M({number:1},0):e()),g.push(f?E(!1):e()),this.pageList.forEach((function(e,n){var r=f&&t.firstNumber&&1!==u[0]?1:0;g.push(M(e,n+r))})),g.push(p?E(!0):e()),g.push(this.lastNumber&&u[u.length-1]!==s?M({number:s},-1):e()),g.push(w(c+1,this.labelNextPage,l.SLOT_NAME_NEXT_TEXT,this.nextText,this.nextClass,s,"pagination-goto-next"));var S=e();this.lastNumber||this.hideGotoEndButtons||(S=w(s,this.labelLastPage,l.SLOT_NAME_LAST_TEXT,this.lastText,this.lastClass,s,"pagination-goto-last")),g.push(S);var P=e("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:o?null:"menubar","aria-disabled":r?"true":"false","aria-label":o?null:i||null},on:o?{}:{keydown:this.handleKeyNav},ref:"ul"},g);return o?e("nav",{attrs:{"aria-disabled":r?"true":null,"aria-hidden":r?"true":"false","aria-label":o&&i||null}},[P]):P}})},25506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BDropdownHeader:()=>f,props:()=>h});var r=n(2448),a=n(49800),i=n(80072),o=n(71402),s=n(91671),l=n(1340);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BBreadcrumbItem:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(1340),o=n(98923),s=(0,i.makePropsConfigurable)(o.props,a.NAME_BREADCRUMB_ITEM),l=(0,r.extend)({name:a.NAME_BREADCRUMB_ITEM,functional:!0,props:s,render:function(e,t){var n=t.props,a=t.data,i=t.children;return e("li",(0,r.mergeData)(a,{staticClass:"breadcrumb-item",class:{active:n.active}}),[e(o.BBreadcrumbLink,{props:n},i)])}})},25897:function(e,t,n){var r=n(74692);e.exports=function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n>>0,a=arguments[1],i=0;i container for the click");n.selectItemAtIndex(r.getAttribute("data-index"),t),n.hideMenu()}else n.current.element&&!n.current.externalTrigger&&(n.current.externalTrigger=!1,setTimeout((function(){return n.hideMenu()})))}},{key:"keyup",value:function(e,t){if(e.inputEvent&&(e.inputEvent=!1),e.updateSelection(this),27!==t.keyCode){if(!e.tribute.allowSpaces&&e.tribute.hasTrailingSpace)return e.tribute.hasTrailingSpace=!1,e.commandEvent=!0,void e.callbacks().space(t,this);if(!e.tribute.isActive)if(e.tribute.autocompleteMode)e.callbacks().triggerChar(t,this,"");else{var n=e.getKeyCode(e,this,t);if(isNaN(n)||!n)return;var r=e.tribute.triggers().find((function(e){return e.charCodeAt(0)===n}));void 0!==r&&e.callbacks().triggerChar(t,this,r)}e.tribute.current.mentionText.length=a.current.collection.menuShowMinLength&&a.inputEvent&&a.showMenuFor(n,!0)},enter:function(t,n){e.tribute.isActive&&e.tribute.current.filteredItems&&(t.preventDefault(),t.stopPropagation(),setTimeout((function(){e.tribute.selectItemAtIndex(e.tribute.menuSelected,t),e.tribute.hideMenu()}),0))},escape:function(t,n){e.tribute.isActive&&(t.preventDefault(),t.stopPropagation(),e.tribute.isActive=!1,e.tribute.hideMenu())},tab:function(t,n){e.callbacks().enter(t,n)},space:function(t,n){e.tribute.isActive&&(e.tribute.spaceSelectsMatch?e.callbacks().enter(t,n):e.tribute.allowSpaces||(t.stopPropagation(),setTimeout((function(){e.tribute.hideMenu(),e.tribute.isActive=!1}),0)))},up:function(t,n){if(e.tribute.isActive&&e.tribute.current.filteredItems){t.preventDefault(),t.stopPropagation();var r=e.tribute.current.filteredItems.length,a=e.tribute.menuSelected;r>a&&a>0?(e.tribute.menuSelected--,e.setActiveLi()):0===a&&(e.tribute.menuSelected=r-1,e.setActiveLi(),e.tribute.menu.scrollTop=e.tribute.menu.scrollHeight)}},down:function(t,n){if(e.tribute.isActive&&e.tribute.current.filteredItems){t.preventDefault(),t.stopPropagation();var r=e.tribute.current.filteredItems.length-1,a=e.tribute.menuSelected;r>a?(e.tribute.menuSelected++,e.setActiveLi()):r===a&&(e.tribute.menuSelected=0,e.setActiveLi(),e.tribute.menu.scrollTop=0)}},delete:function(t,n){e.tribute.isActive&&e.tribute.current.mentionText.length<1?e.tribute.hideMenu():e.tribute.isActive&&e.tribute.showMenuFor(n)}}}},{key:"setActiveLi",value:function(e){var t=this.tribute.menu.querySelectorAll("li"),n=t.length>>>0;e&&(this.tribute.menuSelected=parseInt(e));for(var r=0;ro.bottom){var s=i.bottom-o.bottom;this.tribute.menu.scrollTop+=s}else if(i.topr.width&&(a.left||a.right),o=window.innerHeight>r.height&&(a.top||a.bottom);(i||o)&&(n.tribute.menu.style.cssText="display: none",n.positionMenuAtCaret(e))}),0)}else this.tribute.menu.style.cssText="display: none"}},{key:"selectElement",value:function(e,t,n){var r,a=e;if(t)for(var i=0;i=0&&(t=r.substring(0,a))}}else{var i=this.tribute.current.element;if(i){var o=i.selectionStart;i.value&&o>=0&&(t=i.value.substring(0,o))}}return t}},{key:"getLastWordInText",value:function(e){var t=(e=e.replace(/\u00A0/g," ")).split(/\s+/);return t[t.length-1].trim()}},{key:"getTriggerInfo",value:function(e,t,n,r,a){var i,o,s,l=this,c=this.tribute.current;if(this.isContentEditable(c.element)){var u=this.getContentEditableSelectedPath(c);u&&(i=u.selected,o=u.path,s=u.offset)}else i=this.tribute.current.element;var d=this.getTextPrecedingCurrentSelection(),h=this.getLastWordInText(d);if(a)return{mentionPosition:d.length-h.length,mentionText:h,mentionSelectedElement:i,mentionSelectedPath:o,mentionSelectedOffset:s};if(null!=d){var f,p=-1;if(this.tribute.collection.forEach((function(e){var t=e.trigger,r=e.requireLeadingSpace?l.lastIndexWithLeadingSpace(d,t):d.lastIndexOf(t);r>p&&(p=r,f=t,n=e.requireLeadingSpace)})),p>=0&&(0===p||!n||/[\xA0\s]/g.test(d.substring(p-1,p)))){var m=d.substring(p+f.length,d.length);f=d.substring(p,p+f.length);var g=m.substring(0,1),v=m.length>0&&(" "===g||" "===g);t&&(m=m.trim());var y=r?/[^\S ]/g:/[\xA0\s]/g;if(this.tribute.hasTrailingSpace=y.test(m),!v&&(e||!y.test(m)))return{mentionPosition:p,mentionText:m,mentionSelectedElement:i,mentionSelectedPath:o,mentionSelectedOffset:s,mentionTriggerChar:f}}}}},{key:"lastIndexWithLeadingSpace",value:function(e,t){for(var n=e.split("").reverse().join(""),r=-1,a=0,i=e.length;a=0;c--)if(t[c]!==n[a-c]){l=!1;break}if(l&&(o||s)){r=e.length-1-a;break}}return r}},{key:"isContentEditable",value:function(e){return"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName}},{key:"isMenuOffScreen",value:function(e,t){var n=window.innerWidth,r=window.innerHeight,a=document.documentElement,i=(window.pageXOffset||a.scrollLeft)-(a.clientLeft||0),o=(window.pageYOffset||a.scrollTop)-(a.clientTop||0),s="number"==typeof e.top?e.top:o+r-e.bottom-t.height,l="number"==typeof e.right?e.right:e.left+t.width,c="number"==typeof e.bottom?e.bottom:e.top+t.height,u="number"==typeof e.left?e.left:i+n-e.right-t.width;return{top:sMath.ceil(i+n),bottom:c>Math.ceil(o+r),left:uparseInt(o.height)&&(i.overflowY="scroll")):i.overflow="hidden",a.textContent=e.value.substring(0,t),"INPUT"===e.nodeName&&(a.textContent=a.textContent.replace(/\s/g," "));var s=this.getDocument().createElement("span");s.textContent=e.value.substring(t)||".",a.appendChild(s);var l=e.getBoundingClientRect(),c=document.documentElement,u=(window.pageXOffset||c.scrollLeft)-(c.clientLeft||0),d=(window.pageYOffset||c.scrollTop)-(c.clientTop||0),h=0,f=0;this.menuContainerIsBody&&(h=l.top,f=l.left);var p={top:h+d+s.offsetTop+parseInt(o.borderTopWidth)+parseInt(o.fontSize)-e.scrollTop,left:f+u+s.offsetLeft+parseInt(o.borderLeftWidth)},m=window.innerWidth,g=window.innerHeight,v=this.getMenuDimensions(),y=this.isMenuOffScreen(p,v);y.right&&(p.right=m-p.left,p.left="auto");var b=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(y.bottom){var _=b-(g-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);p.bottom=_+(g-l.top-s.offsetTop),p.top="auto"}return(y=this.isMenuOffScreen(p,v)).left&&(p.left=m>v.width?u+m-v.width:u,delete p.right),y.top&&(p.top=g>v.height?d+g-v.height:d,delete p.bottom),this.getDocument().body.removeChild(a),p}},{key:"getContentEditableCaretPosition",value:function(e){var t,n=this.getWindowSelection();(t=this.getDocument().createRange()).setStart(n.anchorNode,e),t.setEnd(n.anchorNode,e),t.collapse(!1);var r=t.getBoundingClientRect(),a=document.documentElement,i=(window.pageXOffset||a.scrollLeft)-(a.clientLeft||0),o=(window.pageYOffset||a.scrollTop)-(a.clientTop||0),s={left:r.left+i,top:r.top+r.height+o},l=window.innerWidth,c=window.innerHeight,u=this.getMenuDimensions(),d=this.isMenuOffScreen(s,u);d.right&&(s.left="auto",s.right=l-r.left-i);var h=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(d.bottom){var f=h-(c-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);s.top="auto",s.bottom=f+(c-r.top)}return(d=this.isMenuOffScreen(s,u)).left&&(s.left=l>u.width?i+l-u.width:i,delete s.right),d.top&&(s.top=c>u.height?o+c-u.height:o,delete s.bottom),this.menuContainerIsBody||(s.left=s.left?s.left-this.tribute.menuContainer.offsetLeft:s.left,s.top=s.top?s.top-this.tribute.menuContainer.offsetTop:s.top),s}},{key:"scrollIntoView",value:function(e){var t,n=this.menu;if(void 0!==n){for(;void 0===t||0===t.height;)if(0===(t=n.getBoundingClientRect()).height&&(void 0===(n=n.childNodes[0])||!n.getBoundingClientRect))return;var r=t.top,a=r+t.height;if(r<0)window.scrollTo(0,window.pageYOffset+t.top-20);else if(a>window.innerHeight){var i=window.pageYOffset+t.top-20;i-window.pageYOffset>100&&(i=window.pageYOffset+100);var o=window.pageYOffset-(window.innerHeight-a);o>i&&(o=i),window.scrollTo(0,o)}}}},{key:"menuContainerIsBody",get:function(){return this.tribute.menuContainer===document.body||!this.tribute.menuContainer}}]),t}(),c=function(){function t(n){e(this,t),this.tribute=n,this.tribute.search=this}return n(t,[{key:"simpleFilter",value:function(e,t){var n=this;return t.filter((function(t){return n.test(e,t)}))}},{key:"test",value:function(e,t){return null!==this.match(e,t)}},{key:"match",value:function(e,t,n){n=n||{},t.length;var r=n.pre||"",a=n.post||"",i=n.caseSensitive&&t||t.toLowerCase();if(n.skip)return{rendered:t,score:0};e=n.caseSensitive&&e||e.toLowerCase();var o=this.traverse(i,e,0,0,[]);return o?{rendered:this.render(t,o.cache,r,a),score:o.score}:null}},{key:"traverse",value:function(e,t,n,r,a){if(t.length===r)return{score:this.calculateScore(a),cache:a.slice()};if(!(e.length===n||t.length-r>e.length-n)){for(var i,o,s=t[r],l=e.indexOf(s,n);l>-1;){if(a.push(l),o=this.traverse(e,t,l+1,r+1,a),a.pop(),!o)return i;(!i||i.score0&&(e[a-1]+1===r?n+=n+1:n=1),t+=n})),t}},{key:"render",value:function(e,t,n,r){var a=e.substring(0,t[0]);return t.forEach((function(i,o){a+=n+e[i]+r+e.substring(i+1,t[o+1]?t[o+1]:e.length)})),a}},{key:"filter",value:function(e,t,n){var r=this;return n=n||{},t.reduce((function(t,a,i,o){var s=a;n.extract&&((s=n.extract(a))||(s=""));var l=r.match(e,s,n);return null!=l&&(t[t.length]={string:l.rendered,score:l.score,index:i,original:a}),t}),[]).sort((function(e,t){return t.score-e.score||e.index-t.index}))}}]),t}();return function(){function t(n){var r,a=this,i=n.values,u=void 0===i?null:i,d=n.iframe,h=void 0===d?null:d,f=n.selectClass,p=void 0===f?"highlight":f,m=n.containerClass,g=void 0===m?"tribute-container":m,v=n.itemClass,y=void 0===v?"":v,b=n.trigger,_=void 0===b?"@":b,I=n.autocompleteMode,T=void 0!==I&&I,w=n.selectTemplate,E=void 0===w?null:w,M=n.menuItemTemplate,k=void 0===M?null:M,S=n.lookup,P=void 0===S?"key":S,A=n.fillAttr,x=void 0===A?"value":A,B=n.collection,L=void 0===B?null:B,O=n.menuContainer,C=void 0===O?null:O,D=n.noMatchTemplate,R=void 0===D?null:D,F=n.requireLeadingSpace,z=void 0===F||F,N=n.allowSpaces,H=void 0!==N&&N,V=n.replaceTextSuffix,Y=void 0===V?null:V,j=n.positionMenu,U=void 0===j||j,$=n.spaceSelectsMatch,G=void 0!==$&&$,W=n.searchOpts,q=void 0===W?{}:W,K=n.menuItemLimit,X=void 0===K?null:K,J=n.menuShowMinLength,Z=void 0===J?0:J;if(e(this,t),this.autocompleteMode=T,this.menuSelected=0,this.current={},this.inputEvent=!1,this.isActive=!1,this.menuContainer=C,this.allowSpaces=H,this.replaceTextSuffix=Y,this.positionMenu=U,this.hasTrailingSpace=!1,this.spaceSelectsMatch=G,this.autocompleteMode&&(_="",H=!1),u)this.collection=[{trigger:_,iframe:h,selectClass:p,containerClass:g,itemClass:y,selectTemplate:(E||t.defaultSelectTemplate).bind(this),menuItemTemplate:(k||t.defaultMenuItemTemplate).bind(this),noMatchTemplate:(r=R,"string"==typeof r?""===r.trim()?null:r:"function"==typeof r?r.bind(a):R||function(){return"
  • No Match Found!
  • "}.bind(a)),lookup:P,fillAttr:x,values:u,requireLeadingSpace:z,searchOpts:q,menuItemLimit:X,menuShowMinLength:Z}];else{if(!L)throw new Error("[Tribute] No collection specified.");this.autocompleteMode&&console.warn("Tribute in autocomplete mode does not work for collections"),this.collection=L.map((function(e){return{trigger:e.trigger||_,iframe:e.iframe||h,selectClass:e.selectClass||p,containerClass:e.containerClass||g,itemClass:e.itemClass||y,selectTemplate:(e.selectTemplate||t.defaultSelectTemplate).bind(a),menuItemTemplate:(e.menuItemTemplate||t.defaultMenuItemTemplate).bind(a),noMatchTemplate:function(e){return"string"==typeof e?""===e.trim()?null:e:"function"==typeof e?e.bind(a):R||function(){return"
  • No Match Found!
  • "}.bind(a)}(R),lookup:e.lookup||P,fillAttr:e.fillAttr||x,values:e.values,requireLeadingSpace:e.requireLeadingSpace,searchOpts:e.searchOpts||q,menuItemLimit:e.menuItemLimit||X,menuShowMinLength:e.menuShowMinLength||Z}}))}new l(this),new o(this),new s(this),new c(this)}return n(t,[{key:"triggers",value:function(){return this.collection.map((function(e){return e.trigger}))}},{key:"attach",value:function(e){if(!e)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if(void 0!==r&&e instanceof r&&(e=e.get()),e.constructor===NodeList||e.constructor===HTMLCollection||e.constructor===Array)for(var t=e.length,n=0;n",post:n.current.collection.searchOpts.post||"",skip:n.current.collection.searchOpts.skip,extract:function(e){if("string"==typeof n.current.collection.lookup)return e[n.current.collection.lookup];if("function"==typeof n.current.collection.lookup)return n.current.collection.lookup(e,n.current.mentionText);throw new Error("Invalid lookup attribute, lookup must be string or function.")}});n.current.collection.menuItemLimit&&(r=r.slice(0,n.current.collection.menuItemLimit)),n.current.filteredItems=r;var i=n.menu.querySelector("ul");if(n.range.positionMenuAtCaret(t),!r.length){var o=new CustomEvent("tribute-no-match",{detail:n.menu});return n.current.element.dispatchEvent(o),void("function"==typeof n.current.collection.noMatchTemplate&&!n.current.collection.noMatchTemplate()||!n.current.collection.noMatchTemplate?n.hideMenu():"function"==typeof n.current.collection.noMatchTemplate?i.innerHTML=n.current.collection.noMatchTemplate():i.innerHTML=n.current.collection.noMatchTemplate)}i.innerHTML="";var s=n.range.getDocument().createDocumentFragment();r.forEach((function(e,t){var r=n.range.getDocument().createElement("li");r.setAttribute("data-index",t),r.className=n.current.collection.itemClass,r.addEventListener("mousemove",(function(e){var t=a(n._findLiTarget(e.target),2),r=(t[0],t[1]);0!==e.movementY&&n.events.setActiveLi(r)})),n.menuSelected===t&&r.classList.add(n.current.collection.selectClass),r.innerHTML=n.current.collection.menuItemTemplate(e),s.appendChild(r)})),i.appendChild(s)}};"function"==typeof this.current.collection.values?this.current.collection.values(this.current.mentionText,r):r(this.current.collection.values)}}},{key:"_findLiTarget",value:function(e){if(!e)return[];var t=e.getAttribute("data-index");return t?[e,t]:this._findLiTarget(e.parentNode)}},{key:"showMenuForCollection",value:function(e,t){e!==document.activeElement&&this.placeCaretAtEnd(e),this.current.collection=this.collection[t||0],this.current.externalTrigger=!0,this.current.element=e,e.isContentEditable?this.insertTextAtCursor(this.current.collection.trigger):this.insertAtCaret(e,this.current.collection.trigger),this.showMenuFor(e)}},{key:"placeCaretAtEnd",value:function(e){if(e.focus(),void 0!==window.getSelection&&void 0!==document.createRange){var t=document.createRange();t.selectNodeContents(e),t.collapse(!1);var n=window.getSelection();n.removeAllRanges(),n.addRange(t)}else if(void 0!==document.body.createTextRange){var r=document.body.createTextRange();r.moveToElementText(e),r.collapse(!1),r.select()}}},{key:"insertTextAtCursor",value:function(e){var t,n;(n=(t=window.getSelection()).getRangeAt(0)).deleteContents();var r=document.createTextNode(e);n.insertNode(r),n.selectNodeContents(r),n.collapse(!1),t.removeAllRanges(),t.addRange(n)}},{key:"insertAtCaret",value:function(e,t){var n=e.scrollTop,r=e.selectionStart,a=e.value.substring(0,r),i=e.value.substring(e.selectionEnd,e.value.length);e.value=a+t+i,r+=t.length,e.selectionStart=r,e.selectionEnd=r,e.focus(),e.scrollTop=n}},{key:"hideMenu",value:function(){this.menu&&(this.menu.style.cssText="display: none;",this.isActive=!1,this.menuSelected=0,this.current={})}},{key:"selectItemAtIndex",value:function(e,t){if("number"==typeof(e=parseInt(e))&&!isNaN(e)){var n=this.current.filteredItems[e],r=this.current.collection.selectTemplate(n);null!==r&&this.replaceText(r,t,n)}}},{key:"replaceText",value:function(e,t,n){this.range.replaceTriggerText(e,!0,!0,t,n)}},{key:"_append",value:function(e,t,n){if("function"==typeof e.values)throw new Error("Unable to append to values, as it is a function.");e.values=n?t:e.values.concat(t)}},{key:"append",value:function(e,t,n){var r=parseInt(e);if("number"!=typeof r)throw new Error("please provide an index for the collection to update.");var a=this.collection[r];this._append(a,t,n)}},{key:"appendCurrent",value:function(e,t){if(!this.isActive)throw new Error("No active state. Please use append instead and pass an index.");this._append(this.current.collection,e,t)}},{key:"detach",value:function(e){if(!e)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if(void 0!==r&&e instanceof r&&(e=e.get()),e.constructor===NodeList||e.constructor===HTMLCollection||e.constructor===Array)for(var t=e.length,n=0;n'+(this.current.collection.trigger+e.original[this.current.collection.fillAttr])+"":this.current.collection.trigger+e.original[this.current.collection.fillAttr]}},{key:"defaultMenuItemTemplate",value:function(e){return e.string}},{key:"inputTypes",value:function(){return["TEXTAREA","INPUT"]}}]),t}()}()},26111:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(95093))},26308:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(95093))},26435:function(e,t,n){!function(e){"use strict";e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(95093))},26596:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addYears:()=>I,constrainDate:()=>P,createDate:()=>f,createDateFormatter:()=>v,datesEqual:()=>y,firstDateOfMonth:()=>b,formatYMD:()=>m,lastDateOfMonth:()=>_,oneDecadeAgo:()=>k,oneDecadeAhead:()=>S,oneMonthAgo:()=>T,oneMonthAhead:()=>w,oneYearAgo:()=>E,oneYearAhead:()=>M,parseYMD:()=>p,resolveLocale:()=>g});var r=n(96024),a=n(41817),i=n(17079),o=n(58494),s=n(46710),l=n(89821);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:r.CALENDAR_GREGORY;return e=(0,i.concat)(e).filter(o.identity),new Intl.DateTimeFormat(e,{calendar:t}).resolvedOptions().locale},v=function(e,t){return new Intl.DateTimeFormat(e,t).format},y=function(e,t){return m(e)===m(t)},b=function(e){return(e=f(e)).setDate(1),e},_=function(e){return(e=f(e)).setMonth(e.getMonth()+1),e.setDate(0),e},I=function(e,t){var n=(e=f(e)).getMonth();return e.setFullYear(e.getFullYear()+t),e.getMonth()!==n&&e.setDate(0),e},T=function(e){var t=(e=f(e)).getMonth();return e.setMonth(t-1),e.getMonth()===t&&e.setDate(0),e},w=function(e){var t=(e=f(e)).getMonth();return e.setMonth(t+1),e.getMonth()===(t+2)%12&&e.setDate(0),e},E=function(e){return I(e,-1)},M=function(e){return I(e,1)},k=function(e){return I(e,-10)},S=function(e){return I(e,10)},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e=p(e),t=p(t)||e,n=p(n)||e,e?en?n:e:null}},26800:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BThead:()=>f,props:()=>h});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=n(64211),l=n(32878),c=n(48917);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=(0,o.makePropsConfigurable)({headVariant:(0,o.makeProp)(i.PROP_TYPE_STRING)},a.NAME_THEAD),f=(0,r.extend)({name:a.NAME_THEAD,mixins:[s.attrsMixin,l.listenersMixin,c.normalizeSlotMixin],provide:function(){var e=this;return{getBvTableRowGroup:function(){return e}}},inject:{getBvTable:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:h,computed:{bvTable:function(){return this.getBvTable()},isThead:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},theadClasses:function(){return[this.headVariant?"thead-".concat(this.headVariant):null]},theadAttrs:function(){return function(e){for(var t=1;t=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n(95093))},27232:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BCalendar:()=>z,props:()=>F});var r,a=n(2448),i=n(49800),o=n(96024),s=n(87013),l=n(36714),c=n(80072),u=n(94159),d=n(17079),h=n(26596),f=n(71402),p=n(87057),m=n(58494),g=n(46710),v=n(52094),y=n(60277),b=n(28014),_=n(38199),I=n(89821),T=n(91671),w=n(1340),E=n(59809),M=n(64211),k=n(81074),S=n(48917),P=n(61651);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;tt}},dateDisabled:function(){var e=this,t=this.dateOutOfRange;return function(n){n=(0,h.parseYMD)(n);var r=(0,h.formatYMD)(n);return!(!t(n)&&!e.computedDateDisabledFn(r,n))}},formatDateString:function(){return(0,h.createDateFormatter)(this.calendarLocale,x(x({year:o.DATE_FORMAT_NUMERIC,month:o.DATE_FORMAT_2_DIGIT,day:o.DATE_FORMAT_2_DIGIT},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:o.CALENDAR_GREGORY}))},formatYearMonth:function(){return(0,h.createDateFormatter)(this.calendarLocale,{year:o.DATE_FORMAT_NUMERIC,month:o.CALENDAR_LONG,calendar:o.CALENDAR_GREGORY})},formatWeekdayName:function(){return(0,h.createDateFormatter)(this.calendarLocale,{weekday:o.CALENDAR_LONG,calendar:o.CALENDAR_GREGORY})},formatWeekdayNameShort:function(){return(0,h.createDateFormatter)(this.calendarLocale,{weekday:this.weekdayHeaderFormat||o.CALENDAR_SHORT,calendar:o.CALENDAR_GREGORY})},formatDay:function(){var e=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(t){return e.format(t.getDate())}},prevDecadeDisabled:function(){var e=this.computedMin;return this.disabled||e&&(0,h.lastDateOfMonth)((0,h.oneDecadeAgo)(this.activeDate))e},nextYearDisabled:function(){var e=this.computedMax;return this.disabled||e&&(0,h.firstDateOfMonth)((0,h.oneYearAhead)(this.activeDate))>e},nextDecadeDisabled:function(){var e=this.computedMax;return this.disabled||e&&(0,h.firstDateOfMonth)((0,h.oneDecadeAhead)(this.activeDate))>e},calendar:function(){for(var e=[],t=this.calendarFirstDay,n=t.getFullYear(),r=t.getMonth(),a=this.calendarDaysInMonth,i=t.getDay(),o=0-((this.computedWeekStarts>i?7:0)-this.computedWeekStarts)-i,s=0;s<6&&o{var r=n(96221);e.exports=function(e,t){var n=r(e).getTime(),a=r(t).getTime();return na?1:0}},28014:(e,t,n)=>{"use strict";n.r(t),n.d(t,{mathAbs:()=>i,mathCeil:()=>o,mathFloor:()=>s,mathMax:()=>a,mathMin:()=>r,mathPow:()=>l,mathRound:()=>c});var r=Math.min,a=Math.max,i=Math.abs,o=Math.ceil,s=Math.floor,l=Math.pow,c=Math.round},28028:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BRow:()=>I,generateProps:()=>_});var r=n(2448),a=n(49800),i=n(80072),o=n(17079),s=n(81586),l=n(58494),c=n(43886),u=n(91671),d=n(1340),h=n(59809);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{PLACEMENT_BOTTOM_END:()=>o,PLACEMENT_BOTTOM_START:()=>i,PLACEMENT_LEFT_END:()=>u,PLACEMENT_LEFT_START:()=>c,PLACEMENT_RIGHT_END:()=>l,PLACEMENT_RIGHT_START:()=>s,PLACEMENT_TOP_END:()=>a,PLACEMENT_TOP_START:()=>r});var r="top-start",a="top-end",i="bottom-start",o="bottom-end",s="right-start",l="right-end",c="left-start",u="left-end"},28153:(e,t,n)=>{var r=n(96221),a=n(93110),i=n(27291);e.exports=function(e,t){var n=r(e),o=r(t),s=i(n,o),l=Math.abs(a(n,o));return n.setMonth(n.getMonth()-s*l),s*(l-(i(n,o)===-s))}},28298:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(95093))},28380:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bottomRowMixin:()=>l,props:()=>s});var r=n(2448),a=n(94159),i=n(46710),o=n(66374),s={},l=(0,r.extend)({props:s,methods:{renderBottomRow:function(){var e=this.computedFields,t=this.stacked,n=this.tbodyTrClass,r=this.tbodyTrAttr,s=this.$createElement;return this.hasNormalizedSlot(a.SLOT_NAME_BOTTOM_ROW)&&!0!==t&&""!==t?s(o.BTr,{staticClass:"b-table-bottom-row",class:[(0,i.isFunction)(n)?n(null,"row-bottom"):n],attrs:(0,i.isFunction)(r)?r(null,"row-bottom"):r,key:"b-bottom-row"},this.normalizeSlot(a.SLOT_NAME_BOTTOM_ROW,{columns:e.length,fields:e})):s()}}})},28594:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BNav:()=>c,props:()=>l});var r=n(2448),a=n(49800),i=n(80072),o=n(1340);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=(0,o.makePropsConfigurable)({align:(0,o.makeProp)(i.PROP_TYPE_STRING),cardHeader:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),fill:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),justified:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),pills:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),small:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),tabs:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"ul"),vertical:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1)},a.NAME_NAV),c=(0,r.extend)({name:a.NAME_NAV,functional:!0,props:l,render:function(e,t){var n,a,i=t.props,o=t.data,l=t.children,c=i.tabs,u=i.pills,d=i.vertical,h=i.align,f=i.cardHeader;return e(i.tag,(0,r.mergeData)(o,{staticClass:"nav",class:(n={"nav-tabs":c,"nav-pills":u&&!c,"card-header-tabs":!d&&f&&c,"card-header-pills":!d&&f&&u&&!c,"flex-column":d,"nav-fill":!d&&i.fill,"nav-justified":!d&&i.justified},s(n,(a=h,"justify-content-".concat(a="left"===a?"start":"right"===a?"end":a)),!d&&h),s(n,"small",i.small),n)}),l)}})},28704:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BButtonToolbar:()=>r.BButtonToolbar,ButtonToolbarPlugin:()=>a});var r=n(50884),a=(0,n(96266).pluginFactory)({components:{BButtonToolbar:r.BButtonToolbar,BBtnToolbar:r.BButtonToolbar}})},28848:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BSkeletonImg:()=>u,props:()=>c});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=n(43606),l=n(15874);var c=(0,o.makePropsConfigurable)({animation:(0,o.makeProp)(i.PROP_TYPE_STRING),aspect:(0,o.makeProp)(i.PROP_TYPE_STRING,"16:9"),cardImg:(0,o.makeProp)(i.PROP_TYPE_STRING),height:(0,o.makeProp)(i.PROP_TYPE_STRING),noAspect:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),variant:(0,o.makeProp)(i.PROP_TYPE_STRING),width:(0,o.makeProp)(i.PROP_TYPE_STRING)},a.NAME_SKELETON_IMG),u=(0,r.extend)({name:a.NAME_SKELETON_IMG,functional:!0,props:c,render:function(e,t){var n,a,i,o=t.data,c=t.props,u=c.aspect,d=c.width,h=c.height,f=c.animation,p=c.variant,m=c.cardImg,g=e(l.BSkeleton,(0,r.mergeData)(o,{props:{type:"img",width:d,height:h,animation:f,variant:p},class:(n={},a="card-img-".concat(m),i=m,a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n)}));return c.noAspect?g:e(s.BAspect,{props:{aspect:u}},[g])}})},28861:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(95093))},28959:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t({ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[r],+e)}e.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:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(95093))},28981:(e,t,n)=>{"use strict";n.r(t),n.d(t,{props:()=>T,tbodyRowMixin:()=>w});var r=n(2448),a=n(87013),i=n(80072),o=n(94159),s=n(3289),l=n(56630),c=n(46710),u=n(1340),d=n(42714),h=n(59809),f=n(66374),p=n(83936),m=n(20596),g=n(22105);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(B=String((v-1)*_+t+1));var L=(0,h.toString)((0,l.get)(e,m))||null,O=L||(0,h.toString)(t),C=L?this.safeId("_row_".concat(L)):null,D=(0,d.safeVueInstance)(this).selectableRowClasses?this.selectableRowClasses(t):{},R=(0,d.safeVueInstance)(this).selectableRowAttrs?this.selectableRowAttrs(t):{},F=(0,c.isFunction)(I)?I(e,"row"):I,z=(0,c.isFunction)(T)?T(e,"row"):T;if(P.push(E(f.BTr,b({class:[F,D,k?"b-table-has-details":""],props:{variant:e[g.FIELD_KEY_ROW_VARIANT]||null},attrs:y(y({id:C},z),{},{tabindex:S?"0":null,"data-pk":L||null,"aria-details":A,"aria-owns":A,"aria-rowindex":B},R),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(O,"__"),ref:"item-rows"},r.REF_FOR_KEY,!0),x)),k){var N={item:e,index:t,fields:s,toggleDetails:this.toggleDetailsFactory(M,e)};(0,d.safeVueInstance)(this).supportsSelectableRows&&(N.rowSelected=this.isRowSelected(t),N.selectRow=function(){return n.selectRow(t)},N.unselectRow=function(){return n.unselectRow(t)});var H=E(p.BTd,{props:{colspan:s.length},class:this.detailsTdClass},[this.normalizeSlot(o.SLOT_NAME_ROW_DETAILS,N)]);u&&P.push(E("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(O)}));var V=(0,c.isFunction)(this.tbodyTrClass)?this.tbodyTrClass(e,o.SLOT_NAME_ROW_DETAILS):this.tbodyTrClass,Y=(0,c.isFunction)(this.tbodyTrAttr)?this.tbodyTrAttr(e,o.SLOT_NAME_ROW_DETAILS):this.tbodyTrAttr;P.push(E(f.BTr,{staticClass:"b-table-details",class:[V],props:{variant:e[g.FIELD_KEY_ROW_VARIANT]||null},attrs:y(y({},Y),{},{id:A,tabindex:"-1"}),key:"__b-table-details__".concat(O)},[H]))}else M&&(P.push(E()),u&&P.push(E()));return P}}})},29231:function(e,t,n){!function(e){"use strict";e.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(e){return e},week:{dow:1,doy:4}})}(n(95093))},29761:(e,t,n)=>{"use strict";n.r(t),n.d(t,{normalizeFields:()=>l});var r=n(58494),a=n(46710),i=n(91671),o=n(59809),s=n(22105),l=function(e,t){var n=[];if((0,a.isArray)(e)&&e.filter(r.identity).forEach((function(e){if((0,a.isString)(e))n.push({key:e,label:(0,o.startCase)(e)});else if((0,a.isObject)(e)&&e.key&&(0,a.isString)(e.key))n.push((0,i.clone)(e));else if((0,a.isObject)(e)&&1===(0,i.keys)(e).length){var t=(0,i.keys)(e)[0],r=function(e,t){var n=null;return(0,a.isString)(t)?n={key:e,label:t}:(0,a.isFunction)(t)?n={key:e,formatter:t}:(0,a.isObject)(t)?(n=(0,i.clone)(t)).key=n.key||e:!1!==t&&(n={key:e}),n}(t,e[t]);r&&n.push(r)}})),0===n.length&&(0,a.isArray)(t)&&t.length>0){var l=t[0];(0,i.keys)(l).forEach((function(e){s.IGNORED_FIELD_KEYS[e]||n.push({key:e,label:(0,o.startCase)(e)})}))}var c={};return n.filter((function(e){return!c[e.key]&&(c[e.key]=!0,e.label=(0,a.isString)(e.label)?e.label:(0,o.startCase)(e.key),!0)}))}},29781:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AESDecryptionStream:()=>M,AESEncryptionStream:()=>k,ERR_INVALID_PASSWORD:()=>o.ERR_INVALID_PASSWORD});var r=n(70048),a=n(1232),i=n(93137),o=n(29930);const s=16,l={name:"PBKDF2"},c=Object.assign({hash:{name:"HMAC"}},l),u=Object.assign({iterations:1e3,hash:{name:"SHA-1"}},l),d=["deriveBits"],h=[8,12,16],f=[16,24,32],p=10,m=[0,0,0,0],g=typeof crypto!=r.UNDEFINED_TYPE,v=g&&crypto.subtle,y=g&&typeof v!=r.UNDEFINED_TYPE,b=i.codec.bytes,_=i.cipher.aes,I=i.mode.ctrGladman,T=i.misc.hmacSha1;let w=g&&y&&typeof v.importKey==r.FUNCTION_TYPE,E=g&&y&&typeof v.deriveBits==r.FUNCTION_TYPE;class M extends TransformStream{constructor({password:e,rawPassword:t,signed:n,encryptionStrength:r,checkPasswordOnly:a}){super({start(){Object.assign(this,{ready:new Promise((e=>this.resolveReady=e)),password:A(e,t),signed:n,strength:r-1,pending:new Uint8Array})},async transform(e,t){const n=this,{password:r,strength:i,resolveReady:l,ready:c}=n;r?(await async function(e,t,n,r){const a=await P(e,t,n,B(r,0,h[t])),i=B(r,h[t]);if(a[0]!=i[0]||a[1]!=i[1])throw new Error(o.ERR_INVALID_PASSWORD)}(n,i,r,B(e,0,h[i]+2)),e=B(e,h[i]+2),a?t.error(new Error(o.ERR_ABORT_CHECK_PASSWORD)):l()):await c;const u=new Uint8Array(e.length-p-(e.length-p)%s);t.enqueue(S(n,e,u,0,p,!0))},async flush(e){const{signed:t,ctr:n,hmac:r,pending:a,ready:i}=this;if(r&&n){await i;const s=B(a,0,a.length-p),l=B(a,a.length-p);let c=new Uint8Array;if(s.length){const e=O(b,s);r.update(e);const t=n.update(e);c=L(b,t)}if(t){const e=B(L(b,r.digest()),0,p);for(let t=0;tthis.resolveReady=e)),password:A(e,t),strength:n-1,pending:new Uint8Array})},async transform(e,t){const n=this,{password:r,strength:a,resolveReady:i,ready:l}=n;let c=new Uint8Array;r?(c=await async function(e,t,n){const r=(0,o.getRandomValues)(new Uint8Array(h[t])),a=await P(e,t,n,r);return x(r,a)}(n,a,r),i()):await l;const u=new Uint8Array(c.length+e.length-e.length%s);u.set(c,0),t.enqueue(S(n,e,u,c.length,0))},async flush(e){const{ctr:t,hmac:n,pending:a,ready:i}=this;if(n&&t){await i;let o=new Uint8Array;if(a.length){const e=t.update(O(b,a));n.update(e),o=L(b,e)}r.signature=L(b,n.digest()).slice(0,p),e.enqueue(x(o,r.signature))}}}),r=this}}function S(e,t,n,r,a,i){const{ctr:o,hmac:l,pending:c}=e,u=t.length-a;let d;for(c.length&&(t=x(c,t),n=function(e,t){if(t&&t>e.length){const n=e;(e=new Uint8Array(t)).set(n,0)}return e}(n,u-u%s)),d=0;d<=u-s;d+=s){const e=O(b,B(t,d,d+s));i&&l.update(e);const a=o.update(e);i||l.update(a),n.set(L(b,a),d+r)}return e.pending=B(t,d),n}async function P(e,t,n,r){e.password=null;const a=await async function(e,t,n,r,a){if(!w)return i.misc.importKey(t);try{return await v.importKey(e,t,n,r,a)}catch(e){return w=!1,i.misc.importKey(t)}}("raw",n,c,!1,d),o=await async function(e,t,n){if(!E)return i.misc.pbkdf2(t,e.salt,u.iterations,n);try{return await v.deriveBits(e,t,n)}catch(r){return E=!1,i.misc.pbkdf2(t,e.salt,u.iterations,n)}}(Object.assign({salt:r},u),a,8*(2*f[t]+2)),s=new Uint8Array(o),l=O(b,B(s,0,f[t])),h=O(b,B(s,f[t],2*f[t])),p=B(s,2*f[t]);return Object.assign(e,{keys:{key:l,authentication:h,passwordVerification:p},ctr:new I(new _(l),Array.from(m)),hmac:new T(h)}),p}function A(e,t){return t===r.UNDEFINED_VALUE?(0,a.encodeText)(e):t}function x(e,t){let n=e;return e.length+t.length&&(n=new Uint8Array(e.length+t.length),n.set(e,0),n.set(t,e.length)),n}function B(e,t,n){return e.subarray(t,n)}function L(e,t){return e.fromBits(t)}function O(e,t){return e.toBits(t)}},29849:function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.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(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(95093))},29930:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ERR_ABORT_CHECK_PASSWORD:()=>l,ERR_INVALID_PASSWORD:()=>o,ERR_INVALID_SIGNATURE:()=>s,getRandomValues:()=>c});var r=n(70048),a=n(93137);const i=typeof crypto!=r.UNDEFINED_TYPE&&typeof crypto.getRandomValues==r.FUNCTION_TYPE,o="Invalid password",s="Invalid signature",l="zipjs-abort-check-password";function c(e){return i?crypto.getRandomValues(e):a.random.getRandomValues(e)}},30254:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_BREAKPOINT:()=>i,NAME:()=>r,PROP_NAME:()=>a});var r="BvConfig",a="$bvConfig",i=["xs","sm","md","lg","xl"]},30282:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BSpinner:()=>d,props:()=>u});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(33486),l=n(1340);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=(0,l.makePropsConfigurable)({label:(0,l.makeProp)(i.PROP_TYPE_STRING),role:(0,l.makeProp)(i.PROP_TYPE_STRING,"status"),small:(0,l.makeProp)(i.PROP_TYPE_BOOLEAN,!1),tag:(0,l.makeProp)(i.PROP_TYPE_STRING,"span"),type:(0,l.makeProp)(i.PROP_TYPE_STRING,"border"),variant:(0,l.makeProp)(i.PROP_TYPE_STRING)},a.NAME_SPINNER),d=(0,r.extend)({name:a.NAME_SPINNER,functional:!0,props:u,render:function(e,t){var n,a=t.props,i=t.data,l=t.slots,u=t.scopedSlots,d=l(),h=u||{},f=(0,s.normalizeSlot)(o.SLOT_NAME_LABEL,{},h,d)||a.label;return f&&(f=e("span",{staticClass:"sr-only"},f)),e(a.tag,(0,r.mergeData)(i,{attrs:{role:f?a.role||"status":null,"aria-hidden":f?null:"true"},class:(n={},c(n,"spinner-".concat(a.type),a.type),c(n,"spinner-".concat(a.type,"-sm"),a.small),c(n,"text-".concat(a.variant),a.variant),n)}),[f||e()])}})},30306:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(95093))},30329:(e,t,n)=>{"use strict";n.r(t),n.d(t,{add:()=>u,angle:()=>N,bezier:()=>B,ceil:()=>p,clone:()=>i,copy:()=>l,create:()=>a,cross:()=>P,dist:()=>q,distance:()=>I,div:()=>W,divide:()=>f,dot:()=>S,equals:()=>j,exactEquals:()=>Y,floor:()=>m,forEach:()=>Z,fromValues:()=>s,hermite:()=>x,inverse:()=>M,len:()=>X,length:()=>o,lerp:()=>A,max:()=>v,min:()=>g,mul:()=>G,multiply:()=>h,negate:()=>E,normalize:()=>k,random:()=>L,rotateX:()=>R,rotateY:()=>F,rotateZ:()=>z,round:()=>y,scale:()=>b,scaleAndAdd:()=>_,set:()=>c,sqrDist:()=>K,sqrLen:()=>J,squaredDistance:()=>T,squaredLength:()=>w,str:()=>V,sub:()=>$,subtract:()=>d,transformMat3:()=>C,transformMat4:()=>O,transformQuat:()=>D,zero:()=>H});var r=n(17823);function a(){var e=new r.ARRAY_TYPE(3);return r.ARRAY_TYPE!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function i(e){var t=new r.ARRAY_TYPE(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(e){var t=e[0],n=e[1],r=e[2];return Math.hypot(t,n,r)}function s(e,t,n){var a=new r.ARRAY_TYPE(3);return a[0]=e,a[1]=t,a[2]=n,a}function l(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function c(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function u(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function d(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function h(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function f(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function p(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e}function m(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e}function g(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function v(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function y(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e}function b(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function _(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function I(e,t){var n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return Math.hypot(n,r,a)}function T(e,t){var n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return n*n+r*r+a*a}function w(e){var t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function E(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function M(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function k(e,t){var n=t[0],r=t[1],a=t[2],i=n*n+r*r+a*a;return i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e}function S(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function P(e,t,n){var r=t[0],a=t[1],i=t[2],o=n[0],s=n[1],l=n[2];return e[0]=a*l-i*s,e[1]=i*o-r*l,e[2]=r*s-a*o,e}function A(e,t,n,r){var a=t[0],i=t[1],o=t[2];return e[0]=a+r*(n[0]-a),e[1]=i+r*(n[1]-i),e[2]=o+r*(n[2]-o),e}function x(e,t,n,r,a,i){var o=i*i,s=o*(2*i-3)+1,l=o*(i-2)+i,c=o*(i-1),u=o*(3-2*i);return e[0]=t[0]*s+n[0]*l+r[0]*c+a[0]*u,e[1]=t[1]*s+n[1]*l+r[1]*c+a[1]*u,e[2]=t[2]*s+n[2]*l+r[2]*c+a[2]*u,e}function B(e,t,n,r,a,i){var o=1-i,s=o*o,l=i*i,c=s*o,u=3*i*s,d=3*l*o,h=l*i;return e[0]=t[0]*c+n[0]*u+r[0]*d+a[0]*h,e[1]=t[1]*c+n[1]*u+r[1]*d+a[1]*h,e[2]=t[2]*c+n[2]*u+r[2]*d+a[2]*h,e}function L(e,t){t=t||1;var n=2*r.RANDOM()*Math.PI,a=2*r.RANDOM()-1,i=Math.sqrt(1-a*a)*t;return e[0]=Math.cos(n)*i,e[1]=Math.sin(n)*i,e[2]=a*t,e}function O(e,t,n){var r=t[0],a=t[1],i=t[2],o=n[3]*r+n[7]*a+n[11]*i+n[15];return o=o||1,e[0]=(n[0]*r+n[4]*a+n[8]*i+n[12])/o,e[1]=(n[1]*r+n[5]*a+n[9]*i+n[13])/o,e[2]=(n[2]*r+n[6]*a+n[10]*i+n[14])/o,e}function C(e,t,n){var r=t[0],a=t[1],i=t[2];return e[0]=r*n[0]+a*n[3]+i*n[6],e[1]=r*n[1]+a*n[4]+i*n[7],e[2]=r*n[2]+a*n[5]+i*n[8],e}function D(e,t,n){var r=n[0],a=n[1],i=n[2],o=n[3],s=t[0],l=t[1],c=t[2],u=a*c-i*l,d=i*s-r*c,h=r*l-a*s,f=a*h-i*d,p=i*u-r*h,m=r*d-a*u,g=2*o;return u*=g,d*=g,h*=g,f*=2,p*=2,m*=2,e[0]=s+u+f,e[1]=l+d+p,e[2]=c+h+m,e}function R(e,t,n,r){var a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0],i[1]=a[1]*Math.cos(r)-a[2]*Math.sin(r),i[2]=a[1]*Math.sin(r)+a[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e}function F(e,t,n,r){var a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[2]*Math.sin(r)+a[0]*Math.cos(r),i[1]=a[1],i[2]=a[2]*Math.cos(r)-a[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e}function z(e,t,n,r){var a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0]*Math.cos(r)-a[1]*Math.sin(r),i[1]=a[0]*Math.sin(r)+a[1]*Math.cos(r),i[2]=a[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e}function N(e,t){var n=e[0],r=e[1],a=e[2],i=t[0],o=t[1],s=t[2],l=Math.sqrt(n*n+r*r+a*a)*Math.sqrt(i*i+o*o+s*s),c=l&&S(e,t)/l;return Math.acos(Math.min(Math.max(c,-1),1))}function H(e){return e[0]=0,e[1]=0,e[2]=0,e}function V(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"}function Y(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function j(e,t){var n=e[0],a=e[1],i=e[2],o=t[0],s=t[1],l=t[2];return Math.abs(n-o)<=r.EPSILON*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(a-s)<=r.EPSILON*Math.max(1,Math.abs(a),Math.abs(s))&&Math.abs(i-l)<=r.EPSILON*Math.max(1,Math.abs(i),Math.abs(l))}var U,$=d,G=h,W=f,q=I,K=T,X=o,J=w,Z=(U=a(),function(e,t,n,r,a,i){var o,s;for(t||(t=3),n||(n=0),s=r?Math.min(r*t+n,e.length):e.length,o=n;o{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(76798),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,'body.compensate-for-scrollbar{overflow:hidden}.fancybox-active{height:auto}.fancybox-is-hidden{left:-9999px;margin:0;position:absolute!important;top:-9999px;visibility:hidden}.fancybox-container{-webkit-tap-highlight-color:transparent;-webkit-backface-visibility:hidden;height:100%;left:0;outline:none;position:fixed;top:0;touch-action:manipulation;transform:translateZ(0);width:100%;z-index:99992}.fancybox-container *{box-sizing:border-box}.fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-stage{bottom:0;left:0;position:absolute;right:0;top:0}.fancybox-outer{-webkit-overflow-scrolling:touch;overflow-y:auto}.fancybox-bg{background:#1e1e1e;opacity:0;transition-duration:inherit;transition-property:opacity;transition-timing-function:cubic-bezier(.47,0,.74,.71)}.fancybox-is-open .fancybox-bg{opacity:.9;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.fancybox-caption,.fancybox-infobar,.fancybox-navigation .fancybox-button,.fancybox-toolbar{direction:ltr;opacity:0;position:absolute;transition:opacity .25s ease,visibility 0s ease .25s;visibility:hidden;z-index:99997}.fancybox-show-caption .fancybox-caption,.fancybox-show-infobar .fancybox-infobar,.fancybox-show-nav .fancybox-navigation .fancybox-button,.fancybox-show-toolbar .fancybox-toolbar{opacity:1;transition:opacity .25s ease 0s,visibility 0s ease 0s;visibility:visible}.fancybox-infobar{-webkit-font-smoothing:subpixel-antialiased;-webkit-touch-callout:none;color:#ccc;font-size:13px;height:44px;left:0;line-height:44px;min-width:44px;mix-blend-mode:difference;padding:0 10px;pointer-events:none;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fancybox-toolbar{right:0;top:0}.fancybox-stage{direction:ltr;overflow:visible;transform:translateZ(0);z-index:99994}.fancybox-is-open .fancybox-stage{overflow:hidden}.fancybox-slide{-webkit-overflow-scrolling:touch;-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:none;overflow:auto;padding:44px;position:absolute;text-align:center;top:0;transition-property:transform,opacity;white-space:normal;width:100%;z-index:99994}.fancybox-slide:before{content:"";display:inline-block;font-size:0;height:100%;vertical-align:middle;width:0}.fancybox-is-sliding .fancybox-slide,.fancybox-slide--current,.fancybox-slide--next,.fancybox-slide--previous{display:block}.fancybox-slide--image{overflow:hidden;padding:44px 0}.fancybox-slide--image:before{display:none}.fancybox-slide--html{padding:6px}.fancybox-content{-webkit-overflow-scrolling:touch;background:#fff;display:inline-block;margin:0;max-width:100%;overflow:auto;padding:44px;position:relative;text-align:left;vertical-align:middle}.fancybox-slide--image .fancybox-content{animation-timing-function:cubic-bezier(.5,0,.14,1);-webkit-backface-visibility:hidden;background:transparent;background-repeat:no-repeat;background-size:100% 100%;left:0;max-width:none;overflow:visible;padding:0;position:absolute;top:0;transform-origin:top left;transition-property:transform,opacity;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:99995}.fancybox-can-zoomOut .fancybox-content{cursor:zoom-out}.fancybox-can-zoomIn .fancybox-content{cursor:zoom-in}.fancybox-can-pan .fancybox-content,.fancybox-can-swipe .fancybox-content{cursor:grab}.fancybox-is-grabbing .fancybox-content{cursor:grabbing}.fancybox-container [data-selectable=true]{cursor:text}.fancybox-image,.fancybox-spaceball{background:transparent;border:0;height:100%;left:0;margin:0;max-height:none;max-width:none;padding:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.fancybox-spaceball{z-index:1}.fancybox-slide--iframe .fancybox-content,.fancybox-slide--map .fancybox-content,.fancybox-slide--pdf .fancybox-content,.fancybox-slide--video .fancybox-content{height:100%;overflow:visible;padding:0;width:100%}.fancybox-slide--video .fancybox-content{background:#000}.fancybox-slide--map .fancybox-content{background:#e5e3df}.fancybox-slide--iframe .fancybox-content{background:#fff}.fancybox-iframe,.fancybox-video{background:transparent;border:0;display:block;height:100%;margin:0;overflow:hidden;padding:0;width:100%}.fancybox-iframe{left:0;position:absolute;top:0}.fancybox-error{background:#fff;cursor:default;max-width:400px;padding:40px;width:100%}.fancybox-error p{color:#444;font-size:16px;line-height:20px;margin:0;padding:0}.fancybox-button{background:rgba(30,30,30,.6);border:0;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;height:44px;margin:0;padding:10px;position:relative;transition:color .2s;vertical-align:top;visibility:inherit;width:44px}.fancybox-button,.fancybox-button:link,.fancybox-button:visited{color:#ccc}.fancybox-button:hover{color:#fff}.fancybox-button:focus{outline:none}.fancybox-button.fancybox-focus{outline:1px dotted}.fancybox-button[disabled],.fancybox-button[disabled]:hover{color:#888;cursor:default;outline:none}.fancybox-button div{height:100%}.fancybox-button svg{display:block;height:100%;overflow:visible;position:relative;width:100%}.fancybox-button svg path{fill:currentColor;stroke-width:0}.fancybox-button--fsenter svg:nth-child(2),.fancybox-button--fsexit svg:first-child,.fancybox-button--pause svg:first-child,.fancybox-button--play svg:nth-child(2){display:none}.fancybox-progress{background:#ff5268;height:2px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;z-index:99998}.fancybox-close-small{background:transparent;border:0;border-radius:0;color:#ccc;cursor:pointer;opacity:.8;padding:8px;position:absolute;right:-12px;top:-44px;z-index:401}.fancybox-close-small:hover{color:#fff;opacity:1}.fancybox-slide--html .fancybox-close-small{color:currentColor;padding:10px;right:0;top:0}.fancybox-slide--image.fancybox-is-scaling .fancybox-content{overflow:hidden}.fancybox-is-scaling .fancybox-close-small,.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small{display:none}.fancybox-navigation .fancybox-button{background-clip:content-box;height:100px;opacity:0;position:absolute;top:calc(50% - 50px);width:70px}.fancybox-navigation .fancybox-button div{padding:7px}.fancybox-navigation .fancybox-button--arrow_left{left:0;left:env(safe-area-inset-left);padding:31px 26px 31px 6px}.fancybox-navigation .fancybox-button--arrow_right{padding:31px 6px 31px 26px;right:0;right:env(safe-area-inset-right)}.fancybox-caption{background:linear-gradient(0deg,rgba(0,0,0,.85) 0,rgba(0,0,0,.3) 50%,rgba(0,0,0,.15) 65%,rgba(0,0,0,.075) 75.5%,rgba(0,0,0,.037) 82.85%,rgba(0,0,0,.019) 88%,transparent);bottom:0;color:#eee;font-size:14px;font-weight:400;left:0;line-height:1.5;padding:75px 44px 25px;pointer-events:none;right:0;text-align:center;z-index:99996}@supports (padding:max(0px)){.fancybox-caption{padding:75px max(44px,env(safe-area-inset-right)) max(25px,env(safe-area-inset-bottom)) max(44px,env(safe-area-inset-left))}}.fancybox-caption--separate{margin-top:-50px}.fancybox-caption__body{max-height:50vh;overflow:auto;pointer-events:all}.fancybox-caption a,.fancybox-caption a:link,.fancybox-caption a:visited{color:#ccc;text-decoration:none}.fancybox-caption a:hover{color:#fff;text-decoration:underline}.fancybox-loading{animation:fancybox-rotate 1s linear infinite;background:transparent;border:4px solid;border-color:#888 #888 #fff;border-radius:50%;height:50px;left:50%;margin:-25px 0 0 -25px;opacity:.7;padding:0;position:absolute;top:50%;width:50px;z-index:99999}@keyframes fancybox-rotate{to{transform:rotate(1turn)}}.fancybox-animated{transition-timing-function:cubic-bezier(0,0,.25,1)}.fancybox-fx-slide.fancybox-slide--previous{opacity:0;transform:translate3d(-100%,0,0)}.fancybox-fx-slide.fancybox-slide--next{opacity:0;transform:translate3d(100%,0,0)}.fancybox-fx-slide.fancybox-slide--current{opacity:1;transform:translateZ(0)}.fancybox-fx-fade.fancybox-slide--next,.fancybox-fx-fade.fancybox-slide--previous{opacity:0;transition-timing-function:cubic-bezier(.19,1,.22,1)}.fancybox-fx-fade.fancybox-slide--current{opacity:1}.fancybox-fx-zoom-in-out.fancybox-slide--previous{opacity:0;transform:scale3d(1.5,1.5,1.5)}.fancybox-fx-zoom-in-out.fancybox-slide--next{opacity:0;transform:scale3d(.5,.5,.5)}.fancybox-fx-zoom-in-out.fancybox-slide--current{opacity:1;transform:scaleX(1)}.fancybox-fx-rotate.fancybox-slide--previous{opacity:0;transform:rotate(-1turn)}.fancybox-fx-rotate.fancybox-slide--next{opacity:0;transform:rotate(1turn)}.fancybox-fx-rotate.fancybox-slide--current{opacity:1;transform:rotate(0deg)}.fancybox-fx-circular.fancybox-slide--previous{opacity:0;transform:scale3d(0,0,0) translate3d(-100%,0,0)}.fancybox-fx-circular.fancybox-slide--next{opacity:0;transform:scale3d(0,0,0) translate3d(100%,0,0)}.fancybox-fx-circular.fancybox-slide--current{opacity:1;transform:scaleX(1) translateZ(0)}.fancybox-fx-tube.fancybox-slide--previous{transform:translate3d(-100%,0,0) scale(.1) skew(-10deg)}.fancybox-fx-tube.fancybox-slide--next{transform:translate3d(100%,0,0) scale(.1) skew(10deg)}.fancybox-fx-tube.fancybox-slide--current{transform:translateZ(0) scale(1)}@media (max-height:576px){.fancybox-slide{padding-left:6px;padding-right:6px}.fancybox-slide--image{padding:6px 0}.fancybox-close-small{right:-6px}.fancybox-slide--image .fancybox-close-small{background:#4e4e4e;color:#f2f4f6;height:36px;opacity:1;padding:6px;right:0;top:0;width:36px}.fancybox-caption{padding-left:12px;padding-right:12px}@supports (padding:max(0px)){.fancybox-caption{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}}}.fancybox-share{background:#f4f4f4;border-radius:3px;max-width:90%;padding:30px;text-align:center}.fancybox-share h1{color:#222;font-size:35px;font-weight:700;margin:0 0 20px}.fancybox-share p{margin:0;padding:0}.fancybox-share__button{border:0;border-radius:3px;display:inline-block;font-size:14px;font-weight:700;line-height:40px;margin:0 5px 10px;min-width:130px;padding:0 15px;text-decoration:none;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.fancybox-share__button:link,.fancybox-share__button:visited{color:#fff}.fancybox-share__button:hover{text-decoration:none}.fancybox-share__button--fb{background:#3b5998}.fancybox-share__button--fb:hover{background:#344e86}.fancybox-share__button--pt{background:#bd081d}.fancybox-share__button--pt:hover{background:#aa0719}.fancybox-share__button--tw{background:#1da1f2}.fancybox-share__button--tw:hover{background:#0d95e8}.fancybox-share__button svg{height:25px;margin-right:7px;position:relative;top:-1px;vertical-align:middle;width:25px}.fancybox-share__button svg path{fill:#fff}.fancybox-share__input{background:transparent;border:0;border-bottom:1px solid #d7d7d7;border-radius:0;color:#5d5b5b;font-size:14px;margin:10px 0 0;outline:none;padding:10px 15px;width:100%}.fancybox-thumbs{-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0);background:#ddd;bottom:0;display:none;margin:0;padding:2px 2px 4px;position:absolute;right:0;top:0;width:212px;z-index:99995}.fancybox-thumbs-x{overflow-x:auto;overflow-y:hidden}.fancybox-show-thumbs .fancybox-thumbs{display:block}.fancybox-show-thumbs .fancybox-inner{right:212px}.fancybox-thumbs__list{font-size:0;height:100%;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:0;position:absolute;position:relative;white-space:nowrap;width:100%}.fancybox-thumbs-x .fancybox-thumbs__list{overflow:hidden}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar{width:7px}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track{background:#fff;border-radius:10px;box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb{background:#2a2a2a;border-radius:10px}.fancybox-thumbs__list a{-webkit-tap-highlight-color:transparent;backface-visibility:hidden;background-color:rgba(0,0,0,.1);background-position:50%;background-repeat:no-repeat;background-size:cover;cursor:pointer;float:left;height:75px;margin:2px;max-height:calc(100% - 8px);max-width:calc(50% - 4px);outline:none;overflow:hidden;padding:0;position:relative;width:100px}.fancybox-thumbs__list a:before{border:6px solid #ff5268;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:all .2s cubic-bezier(.25,.46,.45,.94);z-index:99991}.fancybox-thumbs__list a:focus:before{opacity:.5}.fancybox-thumbs__list a.fancybox-thumbs-active:before{opacity:1}@media (max-width:576px){.fancybox-thumbs{width:110px}.fancybox-show-thumbs .fancybox-inner{right:110px}.fancybox-thumbs__list a{max-width:calc(100% - 10px)}}',""]);const i=a},30968:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormGroup:()=>L,generateProps:()=>B});var r=n(49800),a=n(85493),i=n(80072),o=n(41817),s=n(94159),l=n(17079),c=n(81586),u=n(86829),d=n(71402),h=n(58494),f=n(46710),p=n(89821),m=n(91671),g=n(1340),v=n(69849),y=n(81074),b=n(48917),_=n(99542),I=n(38369),T=n(11722),w=n(62368),E=n(54287);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t0||(0,m.keys)(this.labelColProps).length>0}},watch:{ariaDescribedby:function(e,t){e!==t&&this.updateAriaDescribedby(e,t)}},mounted:function(){var e=this;this.$nextTick((function(){e.updateAriaDescribedby(e.ariaDescribedby)}))},methods:{getAlignClasses:function(e,t){return(0,c.getBreakpointsUpCached)().reduce((function(n,r){var a=e[(0,g.suffixPropName)(r,"".concat(t,"Align"))]||null;return a&&n.push(["text",r,a].filter(h.identity).join("-")),n}),[])},getColProps:function(e,t){return(0,c.getBreakpointsUpCached)().reduce((function(n,r){var a=e[(0,g.suffixPropName)(r,"".concat(t,"Cols"))];return a=""===a||(a||!1),(0,f.isBoolean)(a)||"auto"===a||(a=(a=(0,p.toInteger)(a,0))>0&&a),a&&(n[r||((0,f.isBoolean)(a)?"col":"cols")]=a),n}),{})},updateAriaDescribedby:function(e,t){var n=this.labelFor;if(a.IS_BROWSER&&n){var r=(0,d.select)("#".concat((0,u.cssEscape)(n)),this.$refs.content);if(r){var i="aria-describedby",s=(e||"").split(o.RX_SPACE_SPLIT),c=(t||"").split(o.RX_SPACE_SPLIT),f=((0,d.getAttr)(r,i)||"").split(o.RX_SPACE_SPLIT).filter((function(e){return!(0,l.arrayIncludes)(c,e)})).concat(s).filter((function(e,t,n){return n.indexOf(e)===t})).filter(h.identity).join(" ").trim();f?(0,d.setAttr)(r,i,f):(0,d.removeAttr)(r,i)}}},onLegendClick:function(e){if(!this.labelFor){var t=e.target,n=t?t.tagName:"";if(-1===x.indexOf(n)){var r=(0,d.selectAll)(A,this.$refs.content).filter(d.isVisible);1===r.length&&(0,d.attemptFocus)(r[0])}}}},render:function(e){var t=this.computedState,n=this.feedbackAriaLive,r=this.isHorizontal,a=this.labelFor,i=this.normalizeSlot,o=this.safeId,l=this.tooltip,c=o(),u=!a,d=e(),f=i(s.SLOT_NAME_LABEL)||this.label,p=f?o("_BV_label_"):null;if(f||r){var m=this.labelSize,g=this.labelColProps,v=u?"legend":"label";this.labelSrOnly?(f&&(d=e(v,{class:"sr-only",attrs:{id:p,for:a||null}},[f])),d=e(r?_.BCol:"div",{props:r?g:{}},[d])):d=e(r?_.BCol:v,{on:u?{click:this.onLegendClick}:{},props:r?k(k({},g),{},{tag:v}):{},attrs:{id:p,for:a||null,tabindex:u?"-1":null},class:[u?"bv-no-focus-ring":"",r||u?"col-form-label":"",!r&&u?"pt-0":"",r||u?"":"d-block",m?"col-form-label-".concat(m):"",this.labelAlignClasses,this.labelClass]},[f])}var y=e(),b=i(s.SLOT_NAME_INVALID_FEEDBACK)||this.invalidFeedback,M=b?o("_BV_feedback_invalid_"):null;b&&(y=e(w.BFormInvalidFeedback,{props:{ariaLive:n,id:M,state:t,tooltip:l},attrs:{tabindex:b?"-1":null}},[b]));var S=e(),P=i(s.SLOT_NAME_VALID_FEEDBACK)||this.validFeedback,A=P?o("_BV_feedback_valid_"):null;P&&(S=e(E.BFormValidFeedback,{props:{ariaLive:n,id:A,state:t,tooltip:l},attrs:{tabindex:P?"-1":null}},[P]));var x=e(),B=i(s.SLOT_NAME_DESCRIPTION)||this.description,L=B?o("_BV_description_"):null;B&&(x=e(T.BFormText,{attrs:{id:L,tabindex:"-1"}},[B]));var O=this.ariaDescribedby=[L,!1===t?M:null,!0===t?A:null].filter(h.identity).join(" ")||null,C=e(r?_.BCol:"div",{props:r?this.contentColProps:{},ref:"content"},[i(s.SLOT_NAME_DEFAULT,{ariaDescribedby:O,descriptionId:L,id:c,labelId:p})||e(),y,S,x]);return e(u?"fieldset":r?I.BFormRow:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:c,disabled:u?this.disabled:null,role:u?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":u&&r?p:null}},r&&u?[e(I.BFormRow,[d,C])]:[d,C])}}},31052:function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"}function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"}function a(e,t,n,r){var a=i(e);switch(n){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"}}function i(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),a=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),a>0&&(i+=(""!==i?" ":"")+t[a]),""===i?"pagh":i}e.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:n,past:r,s:"puS lup",ss:a,m:"wa’ tup",mm:a,h:"wa’ rep",hh:a,d:"wa’ jaj",dd:a,M:"wa’ jar",MM:a,y:"wa’ DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(95093))},31123:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BImgLazy:()=>E,props:()=>w});var r,a=n(2448),i=n(49800),o=n(85493),s=n(87013),l=n(80072),c=n(17079),u=n(71402),d=n(58494),h=n(89821),f=n(91671),p=n(1340),m=n(93444),g=n(40188);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BCarousel:()=>C,props:()=>O});var r,a=n(2448),i=n(49800),o=n(85493),s=n(87013),l=n(36714),c=n(80072),u=n(71402),d=n(87057),h=n(46710),f=n(28014),p=n(38199),m=n(89821),g=n(79404),v=n(91671),y=n(74923),b=n(1340),_=n(81074),I=n(48917);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(r={},E(r,P,(function(e,t){e!==t&&this.setSlide((0,m.toInteger)(e,0))})),E(r,"interval",(function(e,t){e!==t&&(e?(this.pause(!0),this.start(!1)):this.pause(!1))})),E(r,"isPaused",(function(e,t){e!==t&&this.$emit(e?s.EVENT_NAME_PAUSED:s.EVENT_NAME_UNPAUSED)})),E(r,"index",(function(e,t){e===t||this.isSliding||this.doSlide(e,t)})),r),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!((0,m.toInteger)(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=function(e){for(var t in L)if(!(0,h.isUndefined)(e.style[t]))return L[t];return null}(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){clearInterval(this.$_interval),this.$_interval=null})),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=(0,y.observeDom)(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(o.IS_BROWSER&&document.visibilityState&&document.hidden)){var r=this.noWrap,a=this.numSlides;e=(0,f.mathFloor)(e),0!==a&&(this.isSliding?this.$once(s.EVENT_NAME_SLIDING_END,(function(){(0,u.requestAF)((function(){return t.setSlide(e,n)}))})):(this.direction=n,this.index=e>=a?r?a-1:0:e<0?r?0:a-1:e,r&&this.index!==e&&this.index!==this[P]&&this.$emit(A,this.index)))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(e){e||(this.isPaused=!0),this.clearInterval()},start:function(e){e||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,(0,f.mathMax)(1e3,this.interval)))},restart:function(){this.$el.contains((0,u.getActiveElement)())||this.start()},doSlide:function(e,t){var n=this,r=Boolean(this.interval),a=this.calcDirection(this.direction,t,e),i=a.overlayClass,o=a.dirClass,l=this.slides[t],c=this.slides[e];if(l&&c){if(this.isSliding=!0,r&&this.pause(!1),this.$emit(s.EVENT_NAME_SLIDING_START,e),this.$emit(A,this.index),this.noAnimation)(0,u.addClass)(c,"active"),(0,u.removeClass)(l,"active"),this.isSliding=!1,this.$nextTick((function(){return n.$emit(s.EVENT_NAME_SLIDING_END,e)}));else{(0,u.addClass)(c,i),(0,u.reflow)(c),(0,u.addClass)(l,o),(0,u.addClass)(c,o);var h=!1,f=function t(){if(!h){if(h=!0,n.transitionEndEvent)n.transitionEndEvent.split(/\s+/).forEach((function(e){return(0,d.eventOff)(c,e,t,s.EVENT_OPTIONS_NO_CAPTURE)}));n.clearAnimationTimeout(),(0,u.removeClass)(c,o),(0,u.removeClass)(c,i),(0,u.addClass)(c,"active"),(0,u.removeClass)(l,"active"),(0,u.removeClass)(l,o),(0,u.removeClass)(l,i),(0,u.setAttr)(l,"aria-current","false"),(0,u.setAttr)(c,"aria-current","true"),(0,u.setAttr)(l,"aria-hidden","true"),(0,u.setAttr)(c,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick((function(){return n.$emit(s.EVENT_NAME_SLIDING_END,e)}))}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach((function(e){return(0,d.eventOn)(c,e,f,s.EVENT_OPTIONS_NO_CAPTURE)}));this.$_animationTimeout=setTimeout(f,650)}r&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=(0,u.selectAll)(".carousel-item",this.$refs.inner);var e=this.slides.length,t=(0,f.mathMax)(0,(0,f.mathMin)((0,f.mathFloor)(this.index),e-1));this.slides.forEach((function(n,r){var a=r+1;r===t?((0,u.addClass)(n,"active"),(0,u.setAttr)(n,"aria-current","true")):((0,u.removeClass)(n,"active"),(0,u.setAttr)(n,"aria-current","false")),(0,u.setAttr)(n,"aria-posinset",String(a)),(0,u.setAttr)(n,"aria-setsize",String(e))})),this.setSlide(t),this.start(this.isPaused)},calcDirection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?x[e]:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)>(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)?x.next:x.prev},handleClick:function(e,t){var n=e.keyCode;"click"!==e.type&&n!==l.CODE_SPACE&&n!==l.CODE_ENTER||((0,d.stopEvent)(e),t())},handleSwipe:function(){var e=(0,f.mathAbs)(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0?this.prev():t<0&&this.next()}},touchStart:function(e){o.HAS_POINTER_EVENT_SUPPORT&&B[e.pointerType.toUpperCase()]?this.touchStartX=e.clientX:o.HAS_POINTER_EVENT_SUPPORT||(this.touchStartX=e.touches[0].clientX)},touchMove:function(e){e.touches&&e.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=e.touches[0].clientX-this.touchStartX},touchEnd:function(e){o.HAS_POINTER_EVENT_SUPPORT&&B[e.pointerType.toUpperCase()]&&(this.touchDeltaX=e.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,500+(0,f.mathMax)(1e3,this.interval))}},render:function(e){var t=this,n=this.indicators,r=this.background,a=this.noAnimation,i=this.noHoverPause,s=this.noTouch,c=this.index,u=this.isSliding,h=this.pause,f=this.restart,p=this.touchStart,m=this.touchEnd,v=this.safeId("__BV_inner_"),y=e("div",{staticClass:"carousel-inner",attrs:{id:v,role:"list"},ref:"inner"},[this.normalizeSlot()]),b=e();if(this.controls){var _=function(n,r,a){var i=function(e){u?(0,d.stopEvent)(e,{propagation:!1}):t.handleClick(e,a)};return e("a",{staticClass:"carousel-control-".concat(n),attrs:{href:"#",role:"button","aria-controls":v,"aria-disabled":u?"true":null},on:{click:i,keydown:i}},[e("span",{staticClass:"carousel-control-".concat(n,"-icon"),attrs:{"aria-hidden":"true"}}),e("span",{class:"sr-only"},[r])])};b=[_("prev",this.labelPrev,this.prev),_("next",this.labelNext,this.next)]}var I=e("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:n}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":n?"false":"true","aria-label":this.labelIndicators,"aria-owns":v}},this.slides.map((function(r,a){var i=function(e){t.handleClick(e,(function(){t.setSlide(a)}))};return e("li",{class:{active:a===c},attrs:{role:"button",id:t.safeId("__BV_indicator_".concat(a+1,"_")),tabindex:n?"0":"-1","aria-current":a===c?"true":"false","aria-label":"".concat(t.labelGotoSlide," ").concat(a+1),"aria-describedby":r.id||null,"aria-controls":v},on:{click:i,keydown:i},key:"slide_".concat(a)})}))),T={mouseenter:i?g.noop:h,mouseleave:i?g.noop:f,focusin:h,focusout:f,keydown:function(e){if(!/input|textarea/i.test(e.target.tagName)){var n=e.keyCode;n!==l.CODE_LEFT&&n!==l.CODE_RIGHT||((0,d.stopEvent)(e),t[n===l.CODE_LEFT?"prev":"next"]())}}};return o.HAS_TOUCH_SUPPORT&&!s&&(o.HAS_POINTER_EVENT_SUPPORT?(T["&pointerdown"]=p,T["&pointerup"]=m):(T["&touchstart"]=p,T["&touchmove"]=this.touchMove,T["&touchend"]=m)),e("div",{staticClass:"carousel",class:{slide:!a,"carousel-fade":!a&&this.fade,"pointer-event":o.HAS_TOUCH_SUPPORT&&o.HAS_POINTER_EVENT_SUPPORT&&!s},style:{background:r},attrs:{role:"region",id:this.safeId(),"aria-busy":u?"true":"false"},on:T},[y,b,I])}})},31541:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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(95093))},31545:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.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(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(95093))},31688:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defaultSortCompare:()=>l});var r=n(56630),a=n(46710),i=n(89821),o=n(20106),s=function(e){return(0,a.isUndefinedOrNull)(e)?"":(0,a.isNumeric)(e)?(0,i.toFloat)(e,e):e},l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.sortBy,l=void 0===i?null:i,c=n.formatter,u=void 0===c?null:c,d=n.locale,h=void 0===d?void 0:d,f=n.localeOptions,p=void 0===f?{}:f,m=n.nullLast,g=void 0!==m&&m,v=(0,r.get)(e,l,null),y=(0,r.get)(t,l,null);return(0,a.isFunction)(u)&&(v=u(v,l,e),y=u(y,l,t)),v=s(v),y=s(y),(0,a.isDate)(v)&&(0,a.isDate)(y)||(0,a.isNumber)(v)&&(0,a.isNumber)(y)?vy?1:0:g&&""===v&&""!==y?1:g&&""!==v&&""===y?-1:(0,o.stringifyObjectValues)(v).localeCompare((0,o.stringifyObjectValues)(y),h,p)}},31931:(e,t,n)=>{"use strict";n.r(t),n.d(t,{scopedStyleMixin:()=>o});var r=n(2448),a=n(3289),i=n(19673);var o=(0,r.extend)({mixins:[a.useParentMixin],computed:{scopedStyleAttrs:function(){var e,t,n,r=(0,i.getScopeId)(this.bvParent);return r?(n="",(t=r)in(e={})?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e):{}}}})},32044:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BCol:()=>i.BCol,BContainer:()=>r.BContainer,BFormRow:()=>o.BFormRow,BRow:()=>a.BRow,LayoutPlugin:()=>s});var r=n(24499),a=n(28028),i=n(99542),o=n(38369),s=(0,n(96266).pluginFactory)({components:{BContainer:r.BContainer,BRow:a.BRow,BCol:i.BCol,BFormRow:o.BFormRow}})},32124:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?a[n][0]:a[n][1]}e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(95093))},32252:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){var r=n(6);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(3).default)("6223ff68",r,!0,{})},function(e,t,n){var r=n(8);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(3).default)("27f0e51f",r,!0,{})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",a=e[3];if(!a)return r;if(t&&"function"==typeof btoa){var i=(n=a,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),o=a.sources.map((function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"}));return[r].concat(o).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},a=0;an.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(a=0;a',"\nscript:\n...\ninfiniteHandler($state) {\n ajax('https://www.example.com/api/news')\n .then((res) => {\n if (res.data.length) {\n $state.loaded();\n } else {\n $state.complete();\n }\n });\n}\n...","","more details: https://github.com/PeachScript/vue-infinite-loading/issues/57#issuecomment-324370549"].join("\n"),INFINITE_EVENT:"`:on-infinite` property will be deprecated soon, please use `@infinite` event instead.",IDENTIFIER:"the `reset` event will be deprecated soon, please reset this component by change the `identifier` property."},o={INFINITE_LOOP:["executed the callback function more than ".concat(r.loopCheckMaxCalls," times for a short time, it looks like searched a wrong scroll wrapper that doest not has fixed height or maximum height, please check it. If you want to force to set a element as scroll wrapper ranther than automatic searching, you can do this:"),'\n\x3c!-- add a special attribute for the real scroll wrapper --\x3e\n
    \n ...\n \x3c!-- set force-use-infinite-wrapper --\x3e\n \n
    \nor\n
    \n ...\n \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n \n
    \n ',"more details: https://github.com/PeachScript/vue-infinite-loading/issues/55#issuecomment-316934169"].join("\n")},s={READY:0,LOADING:1,COMPLETE:2,ERROR:3},l={color:"#666",fontSize:"14px",padding:"10px 0"},c={mode:"development",props:{spinner:"default",distance:100,forceUseInfiniteWrapper:!1},system:r,slots:{noResults:"No results :(",noMore:"No more data :)",error:"Opps, something went wrong :(",errorBtnText:"Retry",spinner:""},WARNINGS:i,ERRORS:o,STATUS:s},u=n(4),d=n.n(u),h={BUBBLES:{render:function(e){return e("span",{attrs:{class:"loading-bubbles"}},Array.apply(Array,Array(8)).map((function(){return e("span",{attrs:{class:"bubble-item"}})})))}},CIRCLES:{render:function(e){return e("span",{attrs:{class:"loading-circles"}},Array.apply(Array,Array(8)).map((function(){return e("span",{attrs:{class:"circle-item"}})})))}},DEFAULT:{render:function(e){return e("i",{attrs:{class:"loading-default"}})}},SPIRAL:{render:function(e){return e("i",{attrs:{class:"loading-spiral"}})}},WAVEDOTS:{render:function(e){return e("span",{attrs:{class:"loading-wave-dots"}},Array.apply(Array,Array(5)).map((function(){return e("span",{attrs:{class:"wave-item"}})})))}}};function f(e,t,n,r,a,i,o,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var p=f({name:"Spinner",computed:{spinnerView:function(){return h[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return c.slots.spinner&&"string"==typeof c.slots.spinner?{render:function(){return this._v(c.slots.spinner)}}:"object"===d()(c.slots.spinner)?c.slots.spinner:h[c.props.spinner.toUpperCase()]||h.DEFAULT}}},(function(){var e=this.$createElement;return(this._self._c||e)(this.spinnerView,{tag:"component"})}),[],!1,(function(e){var t=n(5);t.__inject__&&t.__inject__(e)}),"46b20d22",null).exports;function m(e){"production"!==c.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(e))}function g(e){console.error("[Vue-infinite-loading error]: ".concat(e))}var v={timers:[],caches:[],throttle:function(e){var t=this;-1===this.caches.indexOf(e)&&(this.caches.push(e),this.timers.push(setTimeout((function(){e(),t.caches.splice(t.caches.indexOf(e),1),t.timers.shift()}),c.system.throttleLimit)))},reset:function(){this.timers.forEach((function(e){clearTimeout(e)})),this.timers.length=0,this.caches=[]}},y={isChecked:!1,timer:null,times:0,track:function(){var e=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout((function(){e.isChecked=!0}),c.system.loopCheckTimeout),this.times>c.system.loopCheckMaxCalls&&(g(o.INFINITE_LOOP),this.isChecked=!0)}},b={key:"_infiniteScrollHeight",getScrollElm:function(e){return e===window?document.documentElement:e},save:function(e){var t=this.getScrollElm(e);t[this.key]=t.scrollHeight},restore:function(e){var t=this.getScrollElm(e);"number"==typeof t[this.key]&&(t.scrollTop=t.scrollHeight-t[this.key]+t.scrollTop),this.remove(t)},remove:function(e){void 0!==e[this.key]&&delete e[this.key]}};function _(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}function I(e){return e.offsetWidth+e.offsetHeight>0}var T=f({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:c.slots}},components:{Spinner:p},computed:{isShowSpinner:function(){return this.status===s.LOADING},isShowError:function(){return this.status===s.ERROR},isShowNoResults:function(){return this.status===s.COMPLETE&&this.isFirstLoad},isShowNoMore:function(){return this.status===s.COMPLETE&&!this.isFirstLoad},slotStyles:function(){var e=this,t={};return Object.keys(c.slots).forEach((function(n){var r=_(n);(!e.$slots[r]&&!c.slots[n].render||e.$slots[r]&&!e.$slots[r][0].tag)&&(t[n]=l)})),t}},props:{distance:{type:Number,default:c.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:c.props.forceUseInfiniteWrapper},identifier:{default:+new Date},onInfinite:Function},watch:{identifier:function(){this.stateChanger.reset()}},mounted:function(){var e=this;this.$watch("forceUseInfiniteWrapper",(function(){e.scrollParent=e.getScrollParent()}),{immediate:!0}),this.scrollHandler=function(t){e.status===s.READY&&(t&&t.constructor===Event&&I(e.$el)?v.throttle(e.attemptLoad):e.attemptLoad())},setTimeout((function(){e.scrollHandler(),e.scrollParent.addEventListener("scroll",e.scrollHandler,a)}),1),this.$on("$InfiniteLoading:loaded",(function(t){e.isFirstLoad=!1,"top"===e.direction&&e.$nextTick((function(){b.restore(e.scrollParent)})),e.status===s.LOADING&&e.$nextTick(e.attemptLoad.bind(null,!0)),t&&t.target===e||m(i.STATE_CHANGER)})),this.$on("$InfiniteLoading:complete",(function(t){e.status=s.COMPLETE,e.$nextTick((function(){e.$forceUpdate()})),e.scrollParent.removeEventListener("scroll",e.scrollHandler,a),t&&t.target===e||m(i.STATE_CHANGER)})),this.$on("$InfiniteLoading:reset",(function(t){e.status=s.READY,e.isFirstLoad=!0,b.remove(e.scrollParent),e.scrollParent.addEventListener("scroll",e.scrollHandler,a),setTimeout((function(){v.reset(),e.scrollHandler()}),1),t&&t.target===e||m(i.IDENTIFIER)})),this.stateChanger={loaded:function(){e.$emit("$InfiniteLoading:loaded",{target:e})},complete:function(){e.$emit("$InfiniteLoading:complete",{target:e})},reset:function(){e.$emit("$InfiniteLoading:reset",{target:e})},error:function(){e.status=s.ERROR,v.reset()}},this.onInfinite&&m(i.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,a)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,a)},methods:{attemptLoad:function(e){var t=this;this.status!==s.COMPLETE&&I(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,"top"===this.direction&&this.$nextTick((function(){b.save(t.scrollParent)})),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!e||this.forceUseInfiniteWrapper||y.isChecked||y.track()):this.status===s.LOADING&&(this.status=s.READY)},getCurrentDistance:function(){return"top"===this.direction?"number"==typeof this.scrollParent.scrollTop?this.scrollParent.scrollTop:this.scrollParent.pageYOffset:this.$el.getBoundingClientRect().top-(this.scrollParent===window?window.innerHeight:this.scrollParent.getBoundingClientRect().bottom)},getScrollParent:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el;return"string"==typeof this.forceUseInfiniteWrapper&&(e=document.querySelector(this.forceUseInfiniteWrapper)),e||("BODY"===t.tagName?e=window:(!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(t).overflowY)>-1||t.hasAttribute("infinite-wrapper")||t.hasAttribute("data-infinite-wrapper"))&&(e=t)),e||this.getScrollParent(t.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(v.reset(),b.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,a))}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"infinite-loading-container"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSpinner,expression:"isShowSpinner"}],staticClass:"infinite-status-prompt",style:e.slotStyles.spinner},[e._t("spinner",[n("spinner",{attrs:{spinner:e.spinner}})])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowNoResults,expression:"isShowNoResults"}],staticClass:"infinite-status-prompt",style:e.slotStyles.noResults},[e._t("no-results",[e.slots.noResults.render?n(e.slots.noResults,{tag:"component"}):[e._v(e._s(e.slots.noResults))]])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowNoMore,expression:"isShowNoMore"}],staticClass:"infinite-status-prompt",style:e.slotStyles.noMore},[e._t("no-more",[e.slots.noMore.render?n(e.slots.noMore,{tag:"component"}):[e._v(e._s(e.slots.noMore))]])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowError,expression:"isShowError"}],staticClass:"infinite-status-prompt",style:e.slotStyles.error},[e._t("error",[e.slots.error.render?n(e.slots.error,{tag:"component",attrs:{trigger:e.attemptLoad}}):[e._v("\n "+e._s(e.slots.error)+"\n "),n("br"),e._v(" "),n("button",{staticClass:"btn-try-infinite",domProps:{textContent:e._s(e.slots.errorBtnText)},on:{click:e.attemptLoad}})]],{trigger:e.attemptLoad})],2)])}),[],!1,(function(e){var t=n(7);t.__inject__&&t.__inject__(e)}),"644ea9c9",null).exports;function w(e){c.mode=e.config.productionTip?"development":"production"}Object.defineProperty(T,"install",{configurable:!1,enumerable:!1,value:function(e,t){Object.assign(c.props,t&&t.props),Object.assign(c.slots,t&&t.slots),Object.assign(c.system,t&&t.system),e.component("infinite-loading",T),w(e)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",T),w(window.Vue)),t.default=T}])},32274:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BProgress:()=>m,props:()=>p});var r=n(2448),a=n(49800),i=n(80072),o=n(91671),s=n(1340),l=n(48917),c=n(34826);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BTable:()=>L,props:()=>B});var r=n(2448),a=n(49800),i=n(91671),o=n(1340),s=n(64211),l=n(54384),c=n(81074),u=n(48917),d=n(28380),h=n(58075),f=n(2770),p=n(44931),m=n(92773),g=n(36774),v=n(216),y=n(7662),b=n(99215),_=n(63642),I=n(48440),T=n(3317),w=n(54522),E=n(21164),M=n(51836),k=n(87294),S=n(22894);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BNavbarToggle:()=>v,props:()=>g});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(94159),l=n(87057),c=n(1340),u=n(60213),d=n(48917),h=n(17062),f="navbar-toggler",p=(0,l.getRootEventName)(a.NAME_COLLAPSE,"state"),m=(0,l.getRootEventName)(a.NAME_COLLAPSE,"sync-state"),g=(0,c.makePropsConfigurable)({disabled:(0,c.makeProp)(o.PROP_TYPE_BOOLEAN,!1),label:(0,c.makeProp)(o.PROP_TYPE_STRING,"Toggle navigation"),target:(0,c.makeProp)(o.PROP_TYPE_ARRAY_STRING,void 0,!0)},a.NAME_NAVBAR_TOGGLE),v=(0,r.extend)({name:a.NAME_NAVBAR_TOGGLE,directives:{VBToggle:h.VBToggle},mixins:[u.listenOnRootMixin,d.normalizeSlotMixin],props:g,data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot(p,this.handleStateEvent),this.listenOnRoot(m,this.handleStateEvent)},methods:{onClick:function(e){this.disabled||this.$emit(i.EVENT_NAME_CLICK,e)},handleStateEvent:function(e,t){e===this.target&&(this.toggleState=t)}},render:function(e){var t=this.disabled;return e("button",{staticClass:f,class:{disabled:t},directives:[{name:"VBToggle",value:this.target}],attrs:{type:"button",disabled:t,"aria-label":this.label},on:{click:this.onClick}},[this.normalizeSlot(s.SLOT_NAME_DEFAULT,{expanded:this.toggleState})||e("span",{staticClass:"".concat(f,"-icon")})])}})},32878:(e,t,n)=>{"use strict";n.r(t),n.d(t,{listenersMixin:()=>u});var r=n(9692),a=n(2448);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t{var r=n(3514),a=n(35276);e.exports={distanceInWords:r(),format:a()}},32934:function(e,t,n){!function(e){"use strict";e.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(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>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(95093))},33052:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BCard:()=>I,props:()=>_});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(41897),l=n(33486),c=n(91671),u=n(1340),d=n(53389),h=n(87229),f=n(43004),p=n(61698),m=n(82958);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BVIconBase:()=>m,props:()=>p});var r=n(2448),a=n(49800),i=n(80072),o=n(58494),s=n(46710),l=n(28014),c=n(89821),u=n(1340);function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},f={width:null,height:null,focusable:null,role:null,"aria-label":null},p={animation:(0,u.makeProp)(i.PROP_TYPE_STRING),content:(0,u.makeProp)(i.PROP_TYPE_STRING),flipH:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),flipV:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),fontScale:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING,1),rotate:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING,0),scale:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING,1),shiftH:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING,0),shiftV:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING,0),stacked:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),title:(0,u.makeProp)(i.PROP_TYPE_STRING),variant:(0,u.makeProp)(i.PROP_TYPE_STRING)},m=(0,r.extend)({name:a.NAME_ICON_BASE,functional:!0,props:p,render:function(e,t){var n,a=t.data,i=t.props,u=t.children,p=i.animation,m=i.content,g=i.flipH,v=i.flipV,y=i.stacked,b=i.title,_=i.variant,I=(0,l.mathMax)((0,c.toFloat)(i.fontScale,1),0)||1,T=(0,l.mathMax)((0,c.toFloat)(i.scale,1),0)||1,w=(0,c.toFloat)(i.rotate,0),E=(0,c.toFloat)(i.shiftH,0),M=(0,c.toFloat)(i.shiftV,0),k=g||v||1!==T,S=k||w,P=E||M,A=!(0,s.isUndefinedOrNull)(m),x=e("g",{attrs:{transform:[S?"translate(8 8)":null,k?"scale(".concat((g?-1:1)*T," ").concat((v?-1:1)*T,")"):null,w?"rotate(".concat(w,")"):null,S?"translate(-8 -8)":null].filter(o.identity).join(" ")||null},domProps:A?{innerHTML:m||""}:{}},u);P&&(x=e("g",{attrs:{transform:"translate(".concat(16*E/16," ").concat(-16*M/16,")")}},[x])),y&&(x=e("g",[x]));var B=[b?e("title",b):null,x].filter(o.identity);return e("svg",(0,r.mergeData)({staticClass:"b-icon bi",class:(n={},d(n,"text-".concat(_),_),d(n,"b-icon-animation-".concat(p),p),n),attrs:h,style:y?{}:{fontSize:1===I?null:"".concat(100*I,"%")}},a,y?{attrs:f}:{},{attrs:{xmlns:y?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),B)}})},33146:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BBreadcrumb:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(46710),s=n(1340),l=n(59809),c=n(25624);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{hasNormalizedSlot:()=>o,normalizeSlot:()=>s});var r=n(17079),a=n(58494),i=n(46710),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(e=(0,r.concat)(e).filter(a.identity)).some((function(e){return t[e]||n[e]}))},s=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=(0,r.concat)(e).filter(a.identity);for(var l=0;l{"use strict";n.r(t),n.d(t,{BMediaAside:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340);var s=(0,o.makePropsConfigurable)({right:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"div"),verticalAlign:(0,o.makeProp)(i.PROP_TYPE_STRING,"top")},a.NAME_MEDIA_ASIDE),l=(0,r.extend)({name:a.NAME_MEDIA_ASIDE,functional:!0,props:s,render:function(e,t){var n,a,i,o=t.props,s=t.data,l=t.children,c=o.verticalAlign,u="top"===c?"start":"bottom"===c?"end":c;return e(o.tag,(0,r.mergeData)(s,{staticClass:"media-aside",class:(n={"media-aside-right":o.right},a="align-self-".concat(u),i=u,a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n)}),l)}})},34285:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VBScrollspy:()=>r.VBScrollspy,VBScrollspyPlugin:()=>a});var r=n(14356),a=(0,n(96266).pluginFactory)({directives:{VBScrollspy:r.VBScrollspy}})},34330:function(e,t,n){var r=n(74692),a=n(74692);"object"==typeof navigator&&(e.exports=function(){"use strict";function e(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){for(var n=0;nt){var n=function(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}(t);return parseFloat(e.toFixed(n))}return Math.round(e/t)*t}var y=function(){function e(t,n){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),g.element(t)?this.element=t:g.string(t)&&(this.element=document.querySelector(t)),g.element(this.element)&&g.empty(this.element.rangeTouch)&&(this.config=s({},l,{},n),this.init())}return function(e,n,r){n&&t(e.prototype,n),r&&t(e,r)}(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,n=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(e){t.element[n](e,(function(e){return t.set(e)}),!1)}))}},{key:"get",value:function(t){if(!e.enabled||!g.event(t))return null;var n,r=t.target,a=t.changedTouches[0],i=parseFloat(r.getAttribute("min"))||0,o=parseFloat(r.getAttribute("max"))||100,s=parseFloat(r.getAttribute("step"))||1,l=r.getBoundingClientRect(),c=100/l.width*(this.config.thumbWidth/2)/100;return 0>(n=100/l.width*(a.clientX-l.left))?n=0:100n?n-=(100-2*n)*c:50null!=e?e.constructor:null,_=(e,t)=>Boolean(e&&t&&e instanceof t),I=e=>null==e,T=e=>b(e)===Object,w=e=>b(e)===String,E=e=>"function"==typeof e,M=e=>Array.isArray(e),k=e=>_(e,NodeList),S=e=>I(e)||(w(e)||M(e)||k(e))&&!e.length||T(e)&&!Object.keys(e).length;var P={nullOrUndefined:I,object:T,number:e=>b(e)===Number&&!Number.isNaN(e),string:w,boolean:e=>b(e)===Boolean,function:E,array:M,weakMap:e=>_(e,WeakMap),nodeList:k,element:e=>null!==e&&"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument,textNode:e=>b(e)===Text,event:e=>_(e,Event),keyboardEvent:e=>_(e,KeyboardEvent),cue:e=>_(e,window.TextTrackCue)||_(e,window.VTTCue),track:e=>_(e,TextTrack)||!I(e)&&w(e.kind),promise:e=>_(e,Promise)&&E(e.then),url:e=>{if(_(e,window.URL))return!0;if(!w(e))return!1;let t=e;e.startsWith("http://")&&e.startsWith("https://")||(t=`http://${e}`);try{return!S(new URL(t).hostname)}catch(e){return!1}},empty:S};const A=(()=>{const e=document.createElement("span"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n=Object.keys(t).find((t=>void 0!==e.style[t]));return!!P.string(n)&&t[n]})();function x(e,t){setTimeout((()=>{try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}}),t)}var B={isIE:Boolean(window.document.documentMode),isEdge:/Edge/g.test(navigator.userAgent),isWebKit:"WebkitAppearance"in document.documentElement.style&&!/Edge/g.test(navigator.userAgent),isIPhone:/iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1,isIPadOS:"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,isIos:/iPad|iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1};function L(e,t){return t.split(".").reduce(((e,t)=>e&&e[t]),e)}function O(e={},...t){if(!t.length)return e;const n=t.shift();return P.object(n)?(Object.keys(n).forEach((t=>{P.object(n[t])?(Object.keys(e).includes(t)||Object.assign(e,{[t]:{}}),O(e[t],n[t])):Object.assign(e,{[t]:n[t]})})),O(e,...t)):e}function C(e,t){const n=e.length?e:[e];Array.from(n).reverse().forEach(((e,n)=>{const r=n>0?t.cloneNode(!0):t,a=e.parentNode,i=e.nextSibling;r.appendChild(e),i?a.insertBefore(r,i):a.appendChild(r)}))}function D(e,t){P.element(e)&&!P.empty(t)&&Object.entries(t).filter((([,e])=>!P.nullOrUndefined(e))).forEach((([t,n])=>e.setAttribute(t,n)))}function R(e,t,n){const r=document.createElement(e);return P.object(t)&&D(r,t),P.string(n)&&(r.innerText=n),r}function F(e,t,n,r){P.element(t)&&t.appendChild(R(e,n,r))}function z(e){P.nodeList(e)||P.array(e)?Array.from(e).forEach(z):P.element(e)&&P.element(e.parentNode)&&e.parentNode.removeChild(e)}function N(e){if(!P.element(e))return;let{length:t}=e.childNodes;for(;t>0;)e.removeChild(e.lastChild),t-=1}function H(e,t){return P.element(t)&&P.element(t.parentNode)&&P.element(e)?(t.parentNode.replaceChild(e,t),e):null}function V(e,t){if(!P.string(e)||P.empty(e))return{};const n={},r=O({},t);return e.split(",").forEach((e=>{const t=e.trim(),a=t.replace(".",""),i=t.replace(/[[\]]/g,"").split("="),[o]=i,s=i.length>1?i[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":P.string(r.class)?n.class=`${r.class} ${a}`:n.class=a;break;case"#":n.id=t.replace("#","");break;case"[":n[o]=s}})),O(r,n)}function Y(e,t){if(!P.element(e))return;let n=t;P.boolean(n)||(n=!e.hidden),e.hidden=n}function j(e,t,n){if(P.nodeList(e))return Array.from(e).map((e=>j(e,t,n)));if(P.element(e)){let r="toggle";return void 0!==n&&(r=n?"add":"remove"),e.classList[r](t),e.classList.contains(t)}return!1}function U(e,t){return P.element(e)&&e.classList.contains(t)}function $(e,t){const{prototype:n}=Element;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function G(e){return this.elements.container.querySelectorAll(e)}function W(e){return this.elements.container.querySelector(e)}function q(e=null,t=!1){P.element(e)&&e.focus({preventScroll:!0,focusVisible:t})}const K={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},X={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(e,t){const n=X[e]||"html5"!==t;return{api:n,ui:n&&X.rangeInput}},pip:!(B.isIPhone||!P.function(R("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||R("video").disablePictureInPicture)),airplay:P.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime(e){if(P.empty(e))return!1;const[t]=e.split("/");let n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(K).includes(n)&&(n+=`; codecs="${K[e]}"`);try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{const e=document.createElement("input");return e.type="range","range"===e.type})(),touch:"ontouchstart"in document.documentElement,transitions:!1!==A,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},J=(()=>{let e=!1;try{const t=Object.defineProperty({},"passive",{get:()=>(e=!0,null)});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e})();function Z(e,t,n,r=!1,a=!0,i=!1){if(!e||!("addEventListener"in e)||P.empty(t)||!P.function(n))return;const o=t.split(" ");let s=i;J&&(s={passive:a,capture:i}),o.forEach((t=>{this&&this.eventListeners&&r&&this.eventListeners.push({element:e,type:t,callback:n,options:s}),e[r?"addEventListener":"removeEventListener"](t,n,s)}))}function Q(e,t="",n,r=!0,a=!1){Z.call(this,e,t,n,!0,r,a)}function ee(e,t="",n,r=!0,a=!1){Z.call(this,e,t,n,!1,r,a)}function te(e,t="",n,r=!0,a=!1){const i=(...o)=>{ee(e,t,i,r,a),n.apply(this,o)};Z.call(this,e,t,i,!0,r,a)}function ne(e,t="",n=!1,r={}){if(!P.element(e)||P.empty(t))return;const a=new CustomEvent(t,{bubbles:n,detail:{...r,plyr:this}});e.dispatchEvent(a)}function re(){this&&this.eventListeners&&(this.eventListeners.forEach((e=>{const{element:t,type:n,callback:r,options:a}=e;t.removeEventListener(n,r,a)})),this.eventListeners=[])}function ae(){return new Promise((e=>this.ready?setTimeout(e,0):Q.call(this,this.elements.container,"ready",e))).then((()=>{}))}function ie(e){P.promise(e)&&e.then(null,(()=>{}))}function oe(e){return P.array(e)?e.filter(((t,n)=>e.indexOf(t)===n)):e}function se(e,t){return P.array(e)&&e.length?e.reduce(((e,n)=>Math.abs(n-t)({...e,[t/n]:[t,n]})),{});function ue(e){return!!(P.array(e)||P.string(e)&&e.includes(":"))&&(P.array(e)?e:e.split(":")).map(Number).every(P.number)}function de(e){if(!P.array(e)||!e.every(P.number))return null;const[t,n]=e,r=(e,t)=>0===t?e:r(t,e%t),a=r(t,n);return[t/a,n/a]}function he(e){const t=e=>ue(e)?e.split(":").map(Number):null;let n=t(e);if(null===n&&(n=t(this.config.ratio)),null===n&&!P.empty(this.embed)&&P.array(this.embed.ratio)&&({ratio:n}=this.embed),null===n&&this.isHTML5){const{videoWidth:e,videoHeight:t}=this.media;n=[e,t]}return de(n)}function fe(e){if(!this.isVideo)return{};const{wrapper:t}=this.elements,n=he.call(this,e);if(!P.array(n))return{};const[r,a]=de(n),i=100/r*a;if(le(`aspect-ratio: ${r}/${a}`)?t.style.aspectRatio=`${r}/${a}`:t.style.paddingBottom=`${i}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const e=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),n=(e-i)/(e/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform=`translateY(-${n}%)`}else this.isHTML5&&t.classList.add(this.config.classNames.videoFixedRatio);return{padding:i,ratio:n}}function pe(e,t,n=.05){const r=e/t,a=se(Object.keys(ce),r);return Math.abs(a-r)<=n?ce[a]:[e,t]}const me={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((e=>{const t=e.getAttribute("type");return!!P.empty(t)||X.mime.call(this,t)})):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:me.getSources.call(this).map((e=>Number(e.getAttribute("size")))).filter(Boolean)},setup(){if(!this.isHTML5)return;const e=this;e.options.speed=e.config.speed.options,P.empty(this.config.ratio)||fe.call(e),Object.defineProperty(e.media,"quality",{get(){const t=me.getSources.call(e).find((t=>t.getAttribute("src")===e.source));return t&&Number(t.getAttribute("size"))},set(t){if(e.quality!==t){if(e.config.quality.forced&&P.function(e.config.quality.onChange))e.config.quality.onChange(t);else{const n=me.getSources.call(e).find((e=>Number(e.getAttribute("size"))===t));if(!n)return;const{currentTime:r,paused:a,preload:i,readyState:o,playbackRate:s}=e.media;e.media.src=n.getAttribute("src"),("none"!==i||o)&&(e.once("loadedmetadata",(()=>{e.speed=s,e.currentTime=r,a||ie(e.play())})),e.media.load())}ne.call(e,e.media,"qualitychange",!1,{quality:t})}}})},cancelRequests(){this.isHTML5&&(z(me.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function ge(e,...t){return P.empty(e)?e:e.toString().replace(/{(\d+)}/g,((e,n)=>t[n].toString()))}const ve=(e="",t="",n="")=>e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),n.toString()),ye=(e="")=>e.toString().replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));function be(e=""){let t=e.toString();return t=function(e=""){let t=e.toString();return t=ve(t,"-"," "),t=ve(t,"_"," "),t=ye(t),ve(t," ","")}(t),t.charAt(0).toLowerCase()+t.slice(1)}function _e(e){const t=document.createElement("div");return t.appendChild(e),t.innerHTML}const Ie={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},Te={get(e="",t={}){if(P.empty(e)||P.empty(t))return"";let n=L(t.i18n,e);if(P.empty(n))return Object.keys(Ie).includes(e)?Ie[e]:"";const r={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(r).forEach((([e,t])=>{n=ve(n,e,t)})),n}};class we{constructor(t){e(this,"get",(e=>{if(!we.supported||!this.enabled)return null;const t=window.localStorage.getItem(this.key);if(P.empty(t))return null;const n=JSON.parse(t);return P.string(e)&&e.length?n[e]:n})),e(this,"set",(e=>{if(!we.supported||!this.enabled)return;if(!P.object(e))return;let t=this.get();P.empty(t)&&(t={}),O(t,e);try{window.localStorage.setItem(this.key,JSON.stringify(t))}catch(e){}})),this.enabled=t.config.storage.enabled,this.key=t.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;const e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}function Ee(e,t="text"){return new Promise(((n,r)=>{try{const r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",(()=>{if("text"===t)try{n(JSON.parse(r.responseText))}catch(e){n(r.responseText)}else n(r.response)})),r.addEventListener("error",(()=>{throw new Error(r.status)})),r.open("GET",e,!0),r.responseType=t,r.send()}catch(e){r(e)}}))}function Me(e,t){if(!P.string(e))return;const n="cache",r=P.string(t);let a=!1;const i=()=>null!==document.getElementById(t),o=(e,t)=>{e.innerHTML=t,r&&i()||document.body.insertAdjacentElement("afterbegin",e)};if(!r||!i()){const i=we.supported,s=document.createElement("div");if(s.setAttribute("hidden",""),r&&s.setAttribute("id",t),i){const e=window.localStorage.getItem(`${n}-${t}`);if(a=null!==e,a){const t=JSON.parse(e);o(s,t.content)}}Ee(e).then((e=>{if(!P.empty(e)){if(i)try{window.localStorage.setItem(`${n}-${t}`,JSON.stringify({content:e}))}catch(e){}o(s,e)}})).catch((()=>{}))}}const ke=e=>Math.trunc(e/60/60%60,10),Se=e=>Math.trunc(e/60%60,10),Pe=e=>Math.trunc(e%60,10);function Ae(e=0,t=!1,n=!1){if(!P.number(e))return Ae(void 0,t,n);const r=e=>`0${e}`.slice(-2);let a=ke(e);const i=Se(e),o=Pe(e);return a=t||a>0?`${a}:`:"",`${n&&e>0?"-":""}${a}${r(i)}:${r(o)}`}const xe={getIconUrl(){const e=new URL(this.config.iconUrl,window.location),t=window.location.host?window.location.host:window.top.location.host,n=e.host!==t||B.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:n}},findElements(){try{return this.elements.controls=W.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:G.call(this,this.config.selectors.buttons.play),pause:W.call(this,this.config.selectors.buttons.pause),restart:W.call(this,this.config.selectors.buttons.restart),rewind:W.call(this,this.config.selectors.buttons.rewind),fastForward:W.call(this,this.config.selectors.buttons.fastForward),mute:W.call(this,this.config.selectors.buttons.mute),pip:W.call(this,this.config.selectors.buttons.pip),airplay:W.call(this,this.config.selectors.buttons.airplay),settings:W.call(this,this.config.selectors.buttons.settings),captions:W.call(this,this.config.selectors.buttons.captions),fullscreen:W.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=W.call(this,this.config.selectors.progress),this.elements.inputs={seek:W.call(this,this.config.selectors.inputs.seek),volume:W.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:W.call(this,this.config.selectors.display.buffer),currentTime:W.call(this,this.config.selectors.display.currentTime),duration:W.call(this,this.config.selectors.display.duration)},P.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon(e,t){const n="http://www.w3.org/2000/svg",r=xe.getIconUrl.call(this),a=`${r.cors?"":r.url}#${this.config.iconPrefix}`,i=document.createElementNS(n,"svg");D(i,O(t,{"aria-hidden":"true",focusable:"false"}));const o=document.createElementNS(n,"use"),s=`${a}-${e}`;return"href"in o&&o.setAttributeNS("http://www.w3.org/1999/xlink","href",s),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s),i.appendChild(o),i},createLabel(e,t={}){const n=Te.get(e,this.config);return R("span",{...t,class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")},n)},createBadge(e){if(P.empty(e))return null;const t=R("span",{class:this.config.classNames.menu.value});return t.appendChild(R("span",{class:this.config.classNames.menu.badge},e)),t},createButton(e,t){const n=O({},t);let r=be(e);const a={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach((e=>{Object.keys(n).includes(e)&&(a[e]=n[e],delete n[e])})),"button"!==a.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.split(" ").some((e=>e===this.config.classNames.control))||O(n,{class:`${n.class} ${this.config.classNames.control}`}):n.class=this.config.classNames.control,e){case"play":a.toggle=!0,a.label="play",a.labelPressed="pause",a.icon="play",a.iconPressed="pause";break;case"mute":a.toggle=!0,a.label="mute",a.labelPressed="unmute",a.icon="volume",a.iconPressed="muted";break;case"captions":a.toggle=!0,a.label="enableCaptions",a.labelPressed="disableCaptions",a.icon="captions-off",a.iconPressed="captions-on";break;case"fullscreen":a.toggle=!0,a.label="enterFullscreen",a.labelPressed="exitFullscreen",a.icon="enter-fullscreen",a.iconPressed="exit-fullscreen";break;case"play-large":n.class+=` ${this.config.classNames.control}--overlaid`,r="play",a.label="play",a.icon="play";break;default:P.empty(a.label)&&(a.label=r),P.empty(a.icon)&&(a.icon=e)}const i=R(a.element);return a.toggle?(i.appendChild(xe.createIcon.call(this,a.iconPressed,{class:"icon--pressed"})),i.appendChild(xe.createIcon.call(this,a.icon,{class:"icon--not-pressed"})),i.appendChild(xe.createLabel.call(this,a.labelPressed,{class:"label--pressed"})),i.appendChild(xe.createLabel.call(this,a.label,{class:"label--not-pressed"}))):(i.appendChild(xe.createIcon.call(this,a.icon)),i.appendChild(xe.createLabel.call(this,a.label))),O(n,V(this.config.selectors.buttons[r],n)),D(i,n),"play"===r?(P.array(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(i)):this.elements.buttons[r]=i,i},createRange(e,t){const n=R("input",O(V(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":Te.get(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,xe.updateRangeFill.call(this,n),y.setup(n),n},createProgress(e,t){const n=R("progress",O(V(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(R("span",null,"0"));const t={played:"played",buffer:"buffered"}[e],r=t?Te.get(t,this.config):"";n.innerText=`% ${r.toLowerCase()}`}return this.elements.display[e]=n,n},createTime(e,t){const n=V(this.config.selectors.display[e],t),r=R("div",O(n,{class:`${n.class?n.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":Te.get(e,this.config),role:"timer"}),"00:00");return this.elements.display[e]=r,r},bindMenuItemShortcuts(e,t){Q.call(this,e,"keydown keyup",(n=>{if(![" ","ArrowUp","ArrowDown","ArrowRight"].includes(n.key))return;if(n.preventDefault(),n.stopPropagation(),"keydown"===n.type)return;const r=$(e,'[role="menuitemradio"]');if(!r&&[" ","ArrowRight"].includes(n.key))xe.showMenuPanel.call(this,t,!0);else{let t;" "!==n.key&&("ArrowDown"===n.key||r&&"ArrowRight"===n.key?(t=e.nextElementSibling,P.element(t)||(t=e.parentNode.firstElementChild)):(t=e.previousElementSibling,P.element(t)||(t=e.parentNode.lastElementChild)),q.call(this,t,!0))}}),!1),Q.call(this,e,"keyup",(e=>{"Return"===e.key&&xe.focusFirstMenuItem.call(this,null,!0)}))},createMenuItem({value:e,list:t,type:n,title:r,badge:a=null,checked:i=!1}){const o=V(this.config.selectors.inputs[n]),s=R("button",O(o,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${o.class?o.class:""}`.trim(),"aria-checked":i,value:e})),l=R("span");l.innerHTML=r,P.element(a)&&l.appendChild(a),s.appendChild(l),Object.defineProperty(s,"checked",{enumerable:!0,get:()=>"true"===s.getAttribute("aria-checked"),set(e){e&&Array.from(s.parentNode.children).filter((e=>$(e,'[role="menuitemradio"]'))).forEach((e=>e.setAttribute("aria-checked","false"))),s.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(s,"click keyup",(t=>{if(!P.keyboardEvent(t)||" "===t.key){switch(t.preventDefault(),t.stopPropagation(),s.checked=!0,n){case"language":this.currentTrack=Number(e);break;case"quality":this.quality=e;break;case"speed":this.speed=parseFloat(e)}xe.showMenuPanel.call(this,"home",P.keyboardEvent(t))}}),n,!1),xe.bindMenuItemShortcuts.call(this,s,n),t.appendChild(s)},formatTime(e=0,t=!1){return P.number(e)?Ae(e,ke(this.duration)>0,t):e},updateTimeDisplay(e=null,t=0,n=!1){P.element(e)&&P.number(t)&&(e.innerText=xe.formatTime(t,n))},updateVolume(){this.supported.ui&&(P.element(this.elements.inputs.volume)&&xe.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),P.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange(e,t=0){P.element(e)&&(e.value=t,xe.updateRangeFill.call(this,e))},updateProgress(e){if(!this.supported.ui||!P.event(e))return;let t=0;const n=(e,t)=>{const n=P.number(t)?t:0,r=P.element(e)?e:this.elements.display.buffer;if(P.element(r)){r.value=n;const e=r.getElementsByTagName("span")[0];P.element(e)&&(e.childNodes[0].nodeValue=n)}};if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":r=this.currentTime,a=this.duration,t=0===r||0===a||Number.isNaN(r)||Number.isNaN(a)?0:(r/a*100).toFixed(2),"timeupdate"===e.type&&xe.setRange.call(this,this.elements.inputs.seek,t);break;case"playing":case"progress":n(this.elements.display.buffer,100*this.buffered)}var r,a},updateRangeFill(e){const t=P.event(e)?e.target:e;if(P.element(t)&&"range"===t.getAttribute("type")){if($(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);const e=xe.formatTime(this.currentTime),n=xe.formatTime(this.duration),r=Te.get("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",e).replace("{duration}",n))}else if($(t,this.config.selectors.inputs.volume)){const e=100*t.value;t.setAttribute("aria-valuenow",e),t.setAttribute("aria-valuetext",`${e.toFixed(1)}%`)}else t.setAttribute("aria-valuenow",t.value);(B.isWebKit||B.isIPadOS)&&t.style.setProperty("--value",t.value/t.max*100+"%")}},updateSeekTooltip(e){var t,n;if(!this.config.tooltips.seek||!P.element(this.elements.inputs.seek)||!P.element(this.elements.display.seekTooltip)||0===this.duration)return;const r=this.elements.display.seekTooltip,a=`${this.config.classNames.tooltip}--visible`,i=e=>j(r,a,e);if(this.touch)return void i(!1);let o=0;const s=this.elements.progress.getBoundingClientRect();if(P.event(e))o=100/s.width*(e.pageX-s.left);else{if(!U(r,a))return;o=parseFloat(r.style.left,10)}o<0?o=0:o>100&&(o=100);const l=this.duration/100*o;r.innerText=xe.formatTime(l);const c=null===(t=this.config.markers)||void 0===t||null===(n=t.points)||void 0===n?void 0:n.find((({time:e})=>e===Math.round(l)));c&&r.insertAdjacentHTML("afterbegin",`${c.label}
    `),r.style.left=`${o}%`,P.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&i("mouseenter"===e.type)},timeUpdate(e){const t=!P.element(this.elements.display.duration)&&this.config.invertTime;xe.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||xe.updateProgress.call(this,e)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=2**32)return Y(this.elements.display.currentTime,!0),void Y(this.elements.progress,!0);P.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);const e=P.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&xe.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&xe.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),this.config.markers.enabled&&xe.setMarkers.call(this),xe.updateSeekTooltip.call(this)},toggleMenuButton(e,t){Y(this.elements.settings.buttons[e],!t)},updateSetting(e,t,n){const r=this.elements.settings.panels[e];let a=null,i=t;if("captions"===e)a=this.currentTrack;else{if(a=P.empty(n)?this[e]:n,P.empty(a)&&(a=this.config[e].default),!P.empty(this.options[e])&&!this.options[e].includes(a))return void this.debug.warn(`Unsupported value of '${a}' for ${e}`);if(!this.config[e].options.includes(a))return void this.debug.warn(`Disabled value of '${a}' for ${e}`)}if(P.element(i)||(i=r&&r.querySelector('[role="menu"]')),!P.element(i))return;this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`).innerHTML=xe.getLabel.call(this,e,a);const o=i&&i.querySelector(`[value="${a}"]`);P.element(o)&&(o.checked=!0)},getLabel(e,t){switch(e){case"speed":return 1===t?Te.get("normal",this.config):`${t}×`;case"quality":if(P.number(t)){const e=Te.get(`qualityLabel.${t}`,this.config);return e.length?e:`${t}p`}return ye(t);case"captions":return Oe.getLabel.call(this);default:return null}},setQualityMenu(e){if(!P.element(this.elements.settings.panels.quality))return;const t="quality",n=this.elements.settings.panels.quality.querySelector('[role="menu"]');P.array(e)&&(this.options.quality=oe(e).filter((e=>this.config.quality.options.includes(e))));const r=!P.empty(this.options.quality)&&this.options.quality.length>1;if(xe.toggleMenuButton.call(this,t,r),N(n),xe.checkMenu.call(this),!r)return;const a=e=>{const t=Te.get(`qualityBadge.${e}`,this.config);return t.length?xe.createBadge.call(this,t):null};this.options.quality.sort(((e,t)=>{const n=this.config.quality.options;return n.indexOf(e)>n.indexOf(t)?1:-1})).forEach((e=>{xe.createMenuItem.call(this,{value:e,list:n,type:t,title:xe.getLabel.call(this,"quality",e),badge:a(e)})})),xe.updateSetting.call(this,t,n)},setCaptionsMenu(){if(!P.element(this.elements.settings.panels.captions))return;const e="captions",t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=Oe.getTracks.call(this),r=Boolean(n.length);if(xe.toggleMenuButton.call(this,e,r),N(t),xe.checkMenu.call(this),!r)return;const a=n.map(((e,n)=>({value:n,checked:this.captions.toggled&&this.currentTrack===n,title:Oe.getLabel.call(this,e),badge:e.language&&xe.createBadge.call(this,e.language.toUpperCase()),list:t,type:"language"})));a.unshift({value:-1,checked:!this.captions.toggled,title:Te.get("disabled",this.config),list:t,type:"language"}),a.forEach(xe.createMenuItem.bind(this)),xe.updateSetting.call(this,e,t)},setSpeedMenu(){if(!P.element(this.elements.settings.panels.speed))return;const e="speed",t=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter((e=>e>=this.minimumSpeed&&e<=this.maximumSpeed));const n=!P.empty(this.options.speed)&&this.options.speed.length>1;xe.toggleMenuButton.call(this,e,n),N(t),xe.checkMenu.call(this),n&&(this.options.speed.forEach((n=>{xe.createMenuItem.call(this,{value:n,list:t,type:e,title:xe.getLabel.call(this,"speed",n)})})),xe.updateSetting.call(this,e,t))},checkMenu(){const{buttons:e}=this.elements.settings,t=!P.empty(e)&&Object.values(e).some((e=>!e.hidden));Y(this.elements.settings.menu,!t)},focusFirstMenuItem(e,t=!1){if(this.elements.settings.popup.hidden)return;let n=e;P.element(n)||(n=Object.values(this.elements.settings.panels).find((e=>!e.hidden)));const r=n.querySelector('[role^="menuitem"]');q.call(this,r,t)},toggleMenu(e){const{popup:t}=this.elements.settings,n=this.elements.buttons.settings;if(!P.element(t)||!P.element(n))return;const{hidden:r}=t;let a=r;if(P.boolean(e))a=e;else if(P.keyboardEvent(e)&&"Escape"===e.key)a=!1;else if(P.event(e)){const r=P.function(e.composedPath)?e.composedPath()[0]:e.target,i=t.contains(r);if(i||!i&&e.target!==n&&a)return}n.setAttribute("aria-expanded",a),Y(t,!a),j(this.elements.container,this.config.classNames.menu.open,a),a&&P.keyboardEvent(e)?xe.focusFirstMenuItem.call(this,null,!0):a||r||q.call(this,n,P.keyboardEvent(e))},getMenuSize(e){const t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);const n=t.scrollWidth,r=t.scrollHeight;return z(t),{width:n,height:r}},showMenuPanel(e="",t=!1){const n=this.elements.container.querySelector(`#plyr-settings-${this.id}-${e}`);if(!P.element(n))return;const r=n.parentNode,a=Array.from(r.children).find((e=>!e.hidden));if(X.transitions&&!X.reducedMotion){r.style.width=`${a.scrollWidth}px`,r.style.height=`${a.scrollHeight}px`;const e=xe.getMenuSize.call(this,n),t=e=>{e.target===r&&["width","height"].includes(e.propertyName)&&(r.style.width="",r.style.height="",ee.call(this,r,A,t))};Q.call(this,r,A,t),r.style.width=`${e.width}px`,r.style.height=`${e.height}px`}Y(a,!0),Y(n,!1),xe.focusFirstMenuItem.call(this,n,t)},setDownloadUrl(){const e=this.elements.buttons.download;P.element(e)&&e.setAttribute("href",this.download)},create(e){const{bindMenuItemShortcuts:t,createButton:n,createProgress:r,createRange:a,createTime:i,setQualityMenu:o,setSpeedMenu:s,showMenuPanel:l}=xe;this.elements.controls=null,P.array(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(n.call(this,"play-large"));const c=R("div",V(this.config.selectors.controls.wrapper));this.elements.controls=c;const u={class:"plyr__controls__item"};return oe(P.array(this.config.controls)?this.config.controls:[]).forEach((o=>{if("restart"===o&&c.appendChild(n.call(this,"restart",u)),"rewind"===o&&c.appendChild(n.call(this,"rewind",u)),"play"===o&&c.appendChild(n.call(this,"play",u)),"fast-forward"===o&&c.appendChild(n.call(this,"fast-forward",u)),"progress"===o){const t=R("div",{class:`${u.class} plyr__progress__container`}),n=R("div",V(this.config.selectors.progress));if(n.appendChild(a.call(this,"seek",{id:`plyr-seek-${e.id}`})),n.appendChild(r.call(this,"buffer")),this.config.tooltips.seek){const e=R("span",{class:this.config.classNames.tooltip},"00:00");n.appendChild(e),this.elements.display.seekTooltip=e}this.elements.progress=n,t.appendChild(this.elements.progress),c.appendChild(t)}if("current-time"===o&&c.appendChild(i.call(this,"currentTime",u)),"duration"===o&&c.appendChild(i.call(this,"duration",u)),"mute"===o||"volume"===o){let{volume:t}=this.elements;if(P.element(t)&&c.contains(t)||(t=R("div",O({},u,{class:`${u.class} plyr__volume`.trim()})),this.elements.volume=t,c.appendChild(t)),"mute"===o&&t.appendChild(n.call(this,"mute")),"volume"===o&&!B.isIos&&!B.isIPadOS){const n={max:1,step:.05,value:this.config.volume};t.appendChild(a.call(this,"volume",O(n,{id:`plyr-volume-${e.id}`})))}}if("captions"===o&&c.appendChild(n.call(this,"captions",u)),"settings"===o&&!P.empty(this.config.settings)){const r=R("div",O({},u,{class:`${u.class} plyr__menu`.trim(),hidden:""}));r.appendChild(n.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${e.id}`,"aria-expanded":!1}));const a=R("div",{class:"plyr__menu__container",id:`plyr-settings-${e.id}`,hidden:""}),i=R("div"),o=R("div",{id:`plyr-settings-${e.id}-home`}),s=R("div",{role:"menu"});o.appendChild(s),i.appendChild(o),this.elements.settings.panels.home=o,this.config.settings.forEach((n=>{const r=R("button",O(V(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));t.call(this,r,n),Q.call(this,r,"click",(()=>{l.call(this,n,!1)}));const a=R("span",null,Te.get(n,this.config)),o=R("span",{class:this.config.classNames.menu.value});o.innerHTML=e[n],a.appendChild(o),r.appendChild(a),s.appendChild(r);const c=R("div",{id:`plyr-settings-${e.id}-${n}`,hidden:""}),u=R("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});u.appendChild(R("span",{"aria-hidden":!0},Te.get(n,this.config))),u.appendChild(R("span",{class:this.config.classNames.hidden},Te.get("menuBack",this.config))),Q.call(this,c,"keydown",(e=>{"ArrowLeft"===e.key&&(e.preventDefault(),e.stopPropagation(),l.call(this,"home",!0))}),!1),Q.call(this,u,"click",(()=>{l.call(this,"home",!1)})),c.appendChild(u),c.appendChild(R("div",{role:"menu"})),i.appendChild(c),this.elements.settings.buttons[n]=r,this.elements.settings.panels[n]=c})),a.appendChild(i),r.appendChild(a),c.appendChild(r),this.elements.settings.popup=a,this.elements.settings.menu=r}if("pip"===o&&X.pip&&c.appendChild(n.call(this,"pip",u)),"airplay"===o&&X.airplay&&c.appendChild(n.call(this,"airplay",u)),"download"===o){const e=O({},u,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(e.download="");const{download:t}=this.config.urls;!P.url(t)&&this.isEmbed&&O(e,{icon:`logo-${this.provider}`,label:this.provider}),c.appendChild(n.call(this,"download",e))}"fullscreen"===o&&c.appendChild(n.call(this,"fullscreen",u))})),this.isHTML5&&o.call(this,me.getQualityOptions.call(this)),s.call(this),c},inject(){if(this.config.loadSprite){const e=xe.getIconUrl.call(this);e.cors&&Me(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());let e=null;this.elements.controls=null;const t={id:this.id,seektime:this.config.seekTime,title:this.config.title};let n,r=!0;if(P.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,t)),this.config.controls||(this.config.controls=[]),P.element(this.config.controls)||P.string(this.config.controls)?e=this.config.controls:(e=xe.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:Oe.getLabel.call(this)}),r=!1),r&&P.string(this.config.controls)&&(e=(e=>{let n=e;return Object.entries(t).forEach((([e,t])=>{n=ve(n,`{${e}}`,t)})),n})(e)),P.string(this.config.selectors.controls.container)&&(n=document.querySelector(this.config.selectors.controls.container)),P.element(n)||(n=this.elements.container),n[P.element(e)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",e),P.element(this.elements.controls)||xe.findElements.call(this),!P.empty(this.elements.buttons)){const e=e=>{const t=this.config.classNames.controlPressed;e.setAttribute("aria-pressed","false"),Object.defineProperty(e,"pressed",{configurable:!0,enumerable:!0,get:()=>U(e,t),set(n=!1){j(e,t,n),e.setAttribute("aria-pressed",n?"true":"false")}})};Object.values(this.elements.buttons).filter(Boolean).forEach((t=>{P.array(t)||P.nodeList(t)?Array.from(t).filter(Boolean).forEach(e):e(t)}))}if(B.isEdge&&x(n),this.config.tooltips.controls){const{classNames:e,selectors:t}=this.config,n=`${t.controls.wrapper} ${t.labels} .${e.hidden}`,r=G.call(this,n);Array.from(r).forEach((e=>{j(e,this.config.classNames.hidden,!1),j(e,this.config.classNames.tooltip,!0)}))}},setMediaMetadata(){try{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.config.mediaMetadata.title,artist:this.config.mediaMetadata.artist,album:this.config.mediaMetadata.album,artwork:this.config.mediaMetadata.artwork}))}catch(e){}},setMarkers(){var e,t;if(!this.duration||this.elements.markers)return;const n=null===(e=this.config.markers)||void 0===e||null===(t=e.points)||void 0===t?void 0:t.filter((({time:e})=>e>0&&ej(i,o,e);n.forEach((e=>{const t=R("span",{class:this.config.classNames.marker},""),n=e.time/this.duration*100+"%";i&&(t.addEventListener("mouseenter",(()=>{e.label||(i.style.left=n,i.innerHTML=e.label,s(!0))})),t.addEventListener("mouseleave",(()=>{s(!1)}))),t.addEventListener("click",(()=>{this.currentTime=e.time})),t.style.left=n,a.appendChild(t)})),r.appendChild(a),this.config.tooltips.seek||(i=R("span",{class:this.config.classNames.tooltip},""),r.appendChild(i)),this.elements.markers={points:a,tip:i},this.elements.progress.appendChild(r)}};function Be(e,t=!0){let n=e;if(t){const e=document.createElement("a");e.href=n,n=e.href}try{return new URL(n)}catch(e){return null}}function Le(e){const t=new URLSearchParams;return P.object(e)&&Object.entries(e).forEach((([e,n])=>{t.set(e,n)})),t}const Oe={setup(){if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!X.textTracks)return void(P.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&xe.setCaptionsMenu.call(this));var e,t;if(P.element(this.elements.captions)||(this.elements.captions=R("div",V(this.config.selectors.captions)),this.elements.captions.setAttribute("dir","auto"),e=this.elements.captions,t=this.elements.wrapper,P.element(e)&&P.element(t)&&t.parentNode.insertBefore(e,t.nextSibling)),B.isIE&&window.URL){const e=this.media.querySelectorAll("track");Array.from(e).forEach((e=>{const t=e.getAttribute("src"),n=Be(t);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&Ee(t,"blob").then((t=>{e.setAttribute("src",window.URL.createObjectURL(t))})).catch((()=>{z(e)}))}))}const n=oe((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map((e=>e.split("-")[0])));let r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&([r]=n);let a=this.storage.get("captions");if(P.boolean(a)||({active:a}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:a,language:r,languages:n}),this.isHTML5){const e=this.config.captions.update?"addtrack removetrack":"removetrack";Q.call(this,this.media.textTracks,e,Oe.update.bind(this))}setTimeout(Oe.update.bind(this),0)},update(){const e=Oe.getTracks.call(this,!0),{active:t,language:n,meta:r,currentTrackNode:a}=this.captions,i=Boolean(e.find((e=>e.language===n)));this.isHTML5&&this.isVideo&&e.filter((e=>!r.get(e))).forEach((e=>{this.debug.log("Track added",e),r.set(e,{default:"showing"===e.mode}),"showing"===e.mode&&(e.mode="hidden"),Q.call(this,e,"cuechange",(()=>Oe.updateCues.call(this)))})),(i&&this.language!==n||!e.includes(a))&&(Oe.setLanguage.call(this,n),Oe.toggle.call(this,t&&i)),this.elements&&j(this.elements.container,this.config.classNames.captions.enabled,!P.empty(e)),P.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&xe.setCaptionsMenu.call(this)},toggle(e,t=!0){if(!this.supported.ui)return;const{toggled:n}=this.captions,r=this.config.classNames.captions.active,a=P.nullOrUndefined(e)?!n:e;if(a!==n){if(t||(this.captions.active=a,this.storage.set({captions:a})),!this.language&&a&&!t){const e=Oe.getTracks.call(this),t=Oe.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);return this.captions.language=t.language,void Oe.set.call(this,e.indexOf(t))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=a),j(this.elements.container,r,a),this.captions.toggled=a,xe.updateSetting.call(this,"captions"),ne.call(this,this.media,a?"captionsenabled":"captionsdisabled")}setTimeout((()=>{a&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")}))},set(e,t=!0){const n=Oe.getTracks.call(this);if(-1!==e)if(P.number(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;const r=n[e],{language:a}=r||{};this.captions.currentTrackNode=r,xe.updateSetting.call(this,"captions"),t||(this.captions.language=a,this.storage.set({language:a})),this.isVimeo&&this.embed.enableTextTrack(a),ne.call(this,this.media,"languagechange")}Oe.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&Oe.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else Oe.toggle.call(this,!1,t)},setLanguage(e,t=!0){if(!P.string(e))return void this.debug.warn("Invalid language argument",e);const n=e.toLowerCase();this.captions.language=n;const r=Oe.getTracks.call(this),a=Oe.findTrack.call(this,[n]);Oe.set.call(this,r.indexOf(a),t)},getTracks(e=!1){return Array.from((this.media||{}).textTracks||[]).filter((t=>!this.isHTML5||e||this.captions.meta.has(t))).filter((e=>["captions","subtitles"].includes(e.kind)))},findTrack(e,t=!1){const n=Oe.getTracks.call(this),r=e=>Number((this.captions.meta.get(e)||{}).default),a=Array.from(n).sort(((e,t)=>r(t)-r(e)));let i;return e.every((e=>(i=a.find((t=>t.language===e)),!i))),i||(t?a[0]:void 0)},getCurrentTrack(){return Oe.getTracks.call(this)[this.currentTrack]},getLabel(e){let t=e;return!P.track(t)&&X.textTracks&&this.captions.toggled&&(t=Oe.getCurrentTrack.call(this)),P.track(t)?P.empty(t.label)?P.empty(t.language)?Te.get("enabled",this.config):e.language.toUpperCase():t.label:Te.get("disabled",this.config)},updateCues(e){if(!this.supported.ui)return;if(!P.element(this.elements.captions))return void this.debug.warn("No captions element to render to");if(!P.nullOrUndefined(e)&&!Array.isArray(e))return void this.debug.warn("updateCues: Invalid input",e);let t=e;if(!t){const e=Oe.getCurrentTrack.call(this);t=Array.from((e||{}).activeCues||[]).map((e=>e.getCueAsHTML())).map(_e)}const n=t.map((e=>e.trim())).join("\n");if(n!==this.elements.captions.innerHTML){N(this.elements.captions);const e=R("span",V(this.config.selectors.caption));e.innerHTML=n,this.elements.captions.appendChild(e),ne.call(this,this.media,"cuechange")}}},Ce={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.7.8/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",marker:"plyr__progress__marker",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id",hash:"data-plyr-embed-hash"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1},mediaMetadata:{title:"",artist:"",album:"",artwork:[]},markers:{enabled:!1,points:[]}},De="picture-in-picture",Re="inline",Fe={html5:"html5",youtube:"youtube",vimeo:"vimeo"},ze="audio",Ne="video",He=()=>{};class Ve{constructor(e=!1){this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}get log(){return this.enabled?Function.prototype.bind.call(console.log,console):He}get warn(){return this.enabled?Function.prototype.bind.call(console.warn,console):He}get error(){return this.enabled?Function.prototype.bind.call(console.error,console):He}}class Ye{constructor(t){e(this,"onChange",(()=>{if(!this.supported)return;const e=this.player.elements.buttons.fullscreen;P.element(e)&&(e.pressed=this.active);const t=this.target===this.player.media?this.target:this.player.elements.container;ne.call(this.player,t,this.active?"enterfullscreen":"exitfullscreen",!0)})),e(this,"toggleFallback",((e=!1)=>{if(e?this.scrollPosition={x:window.scrollX??0,y:window.scrollY??0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",j(this.target,this.player.config.classNames.fullscreen.fallback,e),B.isIos){let t=document.head.querySelector('meta[name="viewport"]');const n="viewport-fit=cover";t||(t=document.createElement("meta"),t.setAttribute("name","viewport"));const r=P.string(t.content)&&t.content.includes(n);e?(this.cleanupViewport=!r,r||(t.content+=`,${n}`)):this.cleanupViewport&&(t.content=t.content.split(",").filter((e=>e.trim()!==n)).join(","))}this.onChange()})),e(this,"trapFocus",(e=>{if(B.isIos||B.isIPadOS||!this.active||"Tab"!==e.key)return;const t=document.activeElement,n=G.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),[r]=n,a=n[n.length-1];t!==a||e.shiftKey?t===r&&e.shiftKey&&(a.focus(),e.preventDefault()):(r.focus(),e.preventDefault())})),e(this,"update",(()=>{if(this.supported){let e;e=this.forceFallback?"Fallback (forced)":Ye.nativeSupported?"Native":"Fallback",this.player.debug.log(`${e} fullscreen enabled`)}else this.player.debug.log("Fullscreen not supported and fallback disabled");j(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.supported)})),e(this,"enter",(()=>{this.supported&&(B.isIos&&this.player.config.fullscreen.iosNative?this.player.isVimeo?this.player.embed.requestFullscreen():this.target.webkitEnterFullscreen():!Ye.nativeSupported||this.forceFallback?this.toggleFallback(!0):this.prefix?P.empty(this.prefix)||this.target[`${this.prefix}Request${this.property}`]():this.target.requestFullscreen({navigationUI:"hide"}))})),e(this,"exit",(()=>{if(this.supported)if(B.isIos&&this.player.config.fullscreen.iosNative)this.player.isVimeo?this.player.embed.exitFullscreen():this.target.webkitEnterFullscreen(),ie(this.player.play());else if(!Ye.nativeSupported||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!P.empty(this.prefix)){const e="moz"===this.prefix?"Cancel":"Exit";document[`${this.prefix}${e}${this.property}`]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)})),e(this,"toggle",(()=>{this.active?this.exit():this.enter()})),this.player=t,this.prefix=Ye.prefix,this.property=Ye.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===t.config.fullscreen.fallback,this.player.elements.fullscreen=t.config.fullscreen.container&&function(e,t){const{prototype:n}=Element;return(n.closest||function(){let e=this;do{if($.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,t.config.fullscreen.container),Q.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":`${this.prefix}fullscreenchange`,(()=>{this.onChange()})),Q.call(this.player,this.player.elements.container,"dblclick",(e=>{P.element(this.player.elements.controls)&&this.player.elements.controls.contains(e.target)||this.player.listeners.proxy(e,this.toggle,"fullscreen")})),Q.call(this,this.player.elements.container,"keydown",(e=>this.trapFocus(e))),this.update()}static get nativeSupported(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}get useNative(){return Ye.nativeSupported&&!this.forceFallback}static get prefix(){if(P.function(document.exitFullscreen))return"";let e="";return["webkit","moz","ms"].some((t=>!(!P.function(document[`${t}ExitFullscreen`])&&!P.function(document[`${t}CancelFullScreen`])||(e=t,0)))),e}static get property(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}get supported(){return[this.player.config.fullscreen.enabled,this.player.isVideo,Ye.nativeSupported||this.player.config.fullscreen.fallback,!this.player.isYouTube||Ye.nativeSupported||!B.isIos||this.player.config.playsinline&&!this.player.config.fullscreen.iosNative].every(Boolean)}get active(){if(!this.supported)return!1;if(!Ye.nativeSupported||this.forceFallback)return U(this.target,this.player.config.classNames.fullscreen.fallback);const e=this.prefix?this.target.getRootNode()[`${this.prefix}${this.property}Element`]:this.target.getRootNode().fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}get target(){return B.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen??this.player.elements.container}}function je(e,t=1){return new Promise(((n,r)=>{const a=new Image,i=()=>{delete a.onload,delete a.onerror,(a.naturalWidth>=t?n:r)(a)};Object.assign(a,{onload:i,onerror:i,src:e})}))}const Ue={addStyleHook(){j(this.elements.container,this.config.selectors.container.replace(".",""),!0),j(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls(e=!1){e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build(){if(this.listeners.media(),!this.supported.ui)return this.debug.warn(`Basic support only for ${this.provider} ${this.type}`),void Ue.toggleNativeControls.call(this,!0);P.element(this.elements.controls)||(xe.inject.call(this),this.listeners.controls()),Ue.toggleNativeControls.call(this),this.isHTML5&&Oe.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,xe.updateVolume.call(this),xe.timeUpdate.call(this),xe.durationUpdate.call(this),Ue.checkPlaying.call(this),j(this.elements.container,this.config.classNames.pip.supported,X.pip&&this.isHTML5&&this.isVideo),j(this.elements.container,this.config.classNames.airplay.supported,X.airplay&&this.isHTML5),j(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((()=>{ne.call(this,this.media,"ready")}),0),Ue.setTitle.call(this),this.poster&&Ue.setPoster.call(this,this.poster,!1).catch((()=>{})),this.config.duration&&xe.durationUpdate.call(this),this.config.mediaMetadata&&xe.setMediaMetadata.call(this)},setTitle(){let e=Te.get("play",this.config);if(P.string(this.config.title)&&!P.empty(this.config.title)&&(e+=`, ${this.config.title}`),Array.from(this.elements.buttons.play||[]).forEach((t=>{t.setAttribute("aria-label",e)})),this.isEmbed){const e=W.call(this,"iframe");if(!P.element(e))return;const t=P.empty(this.config.title)?"video":this.config.title,n=Te.get("frameTitle",this.config);e.setAttribute("title",n.replace("{title}",t))}},togglePoster(e){j(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster(e,t=!0){return t&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),ae.call(this).then((()=>je(e))).catch((t=>{throw e===this.poster&&Ue.togglePoster.call(this,!1),t})).then((()=>{if(e!==this.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((()=>(Object.assign(this.elements.poster.style,{backgroundImage:`url('${e}')`,backgroundSize:""}),Ue.togglePoster.call(this,!0),e))))},checkPlaying(e){j(this.elements.container,this.config.classNames.playing,this.playing),j(this.elements.container,this.config.classNames.paused,this.paused),j(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((e=>{Object.assign(e,{pressed:this.playing}),e.setAttribute("aria-label",Te.get(this.playing?"pause":"play",this.config))})),P.event(e)&&"timeupdate"===e.type||Ue.toggleControls.call(this)},checkLoading(e){this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((()=>{j(this.elements.container,this.config.classNames.loading,this.loading),Ue.toggleControls.call(this)}),this.loading?250:0)},toggleControls(e){const{controls:t}=this.elements;if(t&&this.config.hideControls){const n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}},migrateStyles(){Object.values({...this.media.style}).filter((e=>!P.empty(e)&&P.string(e)&&e.startsWith("--plyr"))).forEach((e=>{this.elements.container.style.setProperty(e,this.media.style.getPropertyValue(e)),this.media.style.removeProperty(e)})),P.empty(this.media.style)&&this.media.removeAttribute("style")}};class $e{constructor(t){e(this,"firstTouch",(()=>{const{player:e}=this,{elements:t}=e;e.touch=!0,j(t.container,e.config.classNames.isTouch,!0)})),e(this,"global",((e=!0)=>{const{player:t}=this;t.config.keyboard.global&&Z.call(t,window,"keydown keyup",this.handleKey,e,!1),Z.call(t,document.body,"click",this.toggleMenu,e),te.call(t,document.body,"touchstart",this.firstTouch)})),e(this,"container",(()=>{const{player:e}=this,{config:t,elements:n,timers:r}=e;!t.keyboard.global&&t.keyboard.focused&&Q.call(e,n.container,"keydown keyup",this.handleKey,!1),Q.call(e,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(t=>{const{controls:a}=n;a&&"enterfullscreen"===t.type&&(a.pressed=!1,a.hover=!1);let i=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(Ue.toggleControls.call(e,!0),i=e.touch?3e3:2e3),clearTimeout(r.controls),r.controls=setTimeout((()=>Ue.toggleControls.call(e,!1)),i)}));const a=()=>{if(!e.isVimeo||e.config.vimeo.premium)return;const t=n.wrapper,{active:r}=e.fullscreen,[a,i]=he.call(e),o=le(`aspect-ratio: ${a} / ${i}`);if(!r)return void(o?(t.style.width=null,t.style.height=null):(t.style.maxWidth=null,t.style.margin=null));const[s,l]=[Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)],c=s/l>a/i;o?(t.style.width=c?"auto":"100%",t.style.height=c?"100%":"auto"):(t.style.maxWidth=c?l/i*a+"px":null,t.style.margin=c?"0 auto":null)},i=()=>{clearTimeout(r.resized),r.resized=setTimeout(a,50)};Q.call(e,n.container,"enterfullscreen exitfullscreen",(t=>{const{target:r}=e.fullscreen;r===n.container&&(!e.isEmbed&&P.empty(e.config.ratio)||(a(),("enterfullscreen"===t.type?Q:ee).call(e,window,"resize",i)))}))})),e(this,"media",(()=>{const{player:e}=this,{elements:t}=e;if(Q.call(e,e.media,"timeupdate seeking seeked",(t=>xe.timeUpdate.call(e,t))),Q.call(e,e.media,"durationchange loadeddata loadedmetadata",(t=>xe.durationUpdate.call(e,t))),Q.call(e,e.media,"ended",(()=>{e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&(e.restart(),e.pause())})),Q.call(e,e.media,"progress playing seeking seeked",(t=>xe.updateProgress.call(e,t))),Q.call(e,e.media,"volumechange",(t=>xe.updateVolume.call(e,t))),Q.call(e,e.media,"playing play pause ended emptied timeupdate",(t=>Ue.checkPlaying.call(e,t))),Q.call(e,e.media,"waiting canplay seeked playing",(t=>Ue.checkLoading.call(e,t))),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){const n=W.call(e,`.${e.config.classNames.video}`);if(!P.element(n))return;Q.call(e,t.container,"click",(r=>{([t.container,n].includes(r.target)||n.contains(r.target))&&(e.touch&&e.config.hideControls||(e.ended?(this.proxy(r,e.restart,"restart"),this.proxy(r,(()=>{ie(e.play())}),"play")):this.proxy(r,(()=>{ie(e.togglePlay())}),"play")))}))}e.supported.ui&&e.config.disableContextMenu&&Q.call(e,t.wrapper,"contextmenu",(e=>{e.preventDefault()}),!1),Q.call(e,e.media,"volumechange",(()=>{e.storage.set({volume:e.volume,muted:e.muted})})),Q.call(e,e.media,"ratechange",(()=>{xe.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})})),Q.call(e,e.media,"qualitychange",(t=>{xe.updateSetting.call(e,"quality",null,t.detail.quality)})),Q.call(e,e.media,"ready qualitychange",(()=>{xe.setDownloadUrl.call(e)}));const n=e.config.events.concat(["keyup","keydown"]).join(" ");Q.call(e,e.media,n,(n=>{let{detail:r={}}=n;"error"===n.type&&(r=e.media.error),ne.call(e,t.container,n.type,!0,r)}))})),e(this,"proxy",((e,t,n)=>{const{player:r}=this,a=r.config.listeners[n];let i=!0;P.function(a)&&(i=a.call(r,e)),!1!==i&&P.function(t)&&t.call(r,e)})),e(this,"bind",((e,t,n,r,a=!0)=>{const{player:i}=this,o=i.config.listeners[r],s=P.function(o);Q.call(i,e,t,(e=>this.proxy(e,n,r)),a&&!s)})),e(this,"controls",(()=>{const{player:e}=this,{elements:t}=e,n=B.isIE?"change":"input";if(t.buttons.play&&Array.from(t.buttons.play).forEach((t=>{this.bind(t,"click",(()=>{ie(e.togglePlay())}),"play")})),this.bind(t.buttons.restart,"click",e.restart,"restart"),this.bind(t.buttons.rewind,"click",(()=>{e.lastSeekTime=Date.now(),e.rewind()}),"rewind"),this.bind(t.buttons.fastForward,"click",(()=>{e.lastSeekTime=Date.now(),e.forward()}),"fastForward"),this.bind(t.buttons.mute,"click",(()=>{e.muted=!e.muted}),"mute"),this.bind(t.buttons.captions,"click",(()=>e.toggleCaptions())),this.bind(t.buttons.download,"click",(()=>{ne.call(e,e.media,"download")}),"download"),this.bind(t.buttons.fullscreen,"click",(()=>{e.fullscreen.toggle()}),"fullscreen"),this.bind(t.buttons.pip,"click",(()=>{e.pip="toggle"}),"pip"),this.bind(t.buttons.airplay,"click",e.airplay,"airplay"),this.bind(t.buttons.settings,"click",(t=>{t.stopPropagation(),t.preventDefault(),xe.toggleMenu.call(e,t)}),null,!1),this.bind(t.buttons.settings,"keyup",(t=>{[" ","Enter"].includes(t.key)&&("Enter"!==t.key?(t.preventDefault(),t.stopPropagation(),xe.toggleMenu.call(e,t)):xe.focusFirstMenuItem.call(e,null,!0))}),null,!1),this.bind(t.settings.menu,"keydown",(t=>{"Escape"===t.key&&xe.toggleMenu.call(e,t)})),this.bind(t.inputs.seek,"mousedown mousemove",(e=>{const n=t.progress.getBoundingClientRect(),r=100/n.width*(e.pageX-n.left);e.currentTarget.setAttribute("seek-value",r)})),this.bind(t.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(t=>{const n=t.currentTarget,r="play-on-seeked";if(P.keyboardEvent(t)&&!["ArrowLeft","ArrowRight"].includes(t.key))return;e.lastSeekTime=Date.now();const a=n.hasAttribute(r),i=["mouseup","touchend","keyup"].includes(t.type);a&&i?(n.removeAttribute(r),ie(e.play())):!i&&e.playing&&(n.setAttribute(r,""),e.pause())})),B.isIos){const t=G.call(e,'input[type="range"]');Array.from(t).forEach((e=>this.bind(e,n,(e=>x(e.target)))))}this.bind(t.inputs.seek,n,(t=>{const n=t.currentTarget;let r=n.getAttribute("seek-value");P.empty(r)&&(r=n.value),n.removeAttribute("seek-value"),e.currentTime=r/n.max*e.duration}),"seek"),this.bind(t.progress,"mouseenter mouseleave mousemove",(t=>xe.updateSeekTooltip.call(e,t))),this.bind(t.progress,"mousemove touchmove",(t=>{const{previewThumbnails:n}=e;n&&n.loaded&&n.startMove(t)})),this.bind(t.progress,"mouseleave touchend click",(()=>{const{previewThumbnails:t}=e;t&&t.loaded&&t.endMove(!1,!0)})),this.bind(t.progress,"mousedown touchstart",(t=>{const{previewThumbnails:n}=e;n&&n.loaded&&n.startScrubbing(t)})),this.bind(t.progress,"mouseup touchend",(t=>{const{previewThumbnails:n}=e;n&&n.loaded&&n.endScrubbing(t)})),B.isWebKit&&Array.from(G.call(e,'input[type="range"]')).forEach((t=>{this.bind(t,"input",(t=>xe.updateRangeFill.call(e,t.target)))})),e.config.toggleInvert&&!P.element(t.display.duration)&&this.bind(t.display.currentTime,"click",(()=>{0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,xe.timeUpdate.call(e))})),this.bind(t.inputs.volume,n,(t=>{e.volume=t.target.value}),"volume"),this.bind(t.controls,"mouseenter mouseleave",(n=>{t.controls.hover=!e.touch&&"mouseenter"===n.type})),t.fullscreen&&Array.from(t.fullscreen.children).filter((e=>!e.contains(t.container))).forEach((n=>{this.bind(n,"mouseenter mouseleave",(n=>{t.controls&&(t.controls.hover=!e.touch&&"mouseenter"===n.type)}))})),this.bind(t.controls,"mousedown mouseup touchstart touchend touchcancel",(e=>{t.controls.pressed=["mousedown","touchstart"].includes(e.type)})),this.bind(t.controls,"focusin",(()=>{const{config:n,timers:r}=e;j(t.controls,n.classNames.noTransition,!0),Ue.toggleControls.call(e,!0),setTimeout((()=>{j(t.controls,n.classNames.noTransition,!1)}),0);const a=this.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout((()=>Ue.toggleControls.call(e,!1)),a)})),this.bind(t.inputs.volume,"wheel",(t=>{const n=t.webkitDirectionInvertedFromDevice,[r,a]=[t.deltaX,-t.deltaY].map((e=>n?-e:e)),i=Math.sign(Math.abs(r)>Math.abs(a)?r:a);e.increaseVolume(i/50);const{volume:o}=e.media;(1===i&&o<1||-1===i&&o>0)&&t.preventDefault()}),"volume",!1)})),this.player=t,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.firstTouch=this.firstTouch.bind(this)}handleKey(e){const{player:t}=this,{elements:n}=t,{key:r,type:a,altKey:i,ctrlKey:o,metaKey:s,shiftKey:l}=e,c="keydown"===a,u=c&&r===this.lastKey;var d;if(!(i||o||s||l)&&r)if(c){const a=document.activeElement;if(P.element(a)){const{editable:r}=t.config.selectors,{seek:i}=n.inputs;if(a!==i&&$(a,r))return;if(" "===e.key&&$(a,'button, [role^="menuitem"]'))return}switch([" ","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","0","1","2","3","4","5","6","7","8","9","c","f","k","l","m"].includes(r)&&(e.preventDefault(),e.stopPropagation()),r){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":u||(d=parseInt(r,10),t.currentTime=t.duration/10*d);break;case" ":case"k":u||ie(t.togglePlay());break;case"ArrowUp":t.increaseVolume(.1);break;case"ArrowDown":t.decreaseVolume(.1);break;case"m":u||(t.muted=!t.muted);break;case"ArrowRight":t.forward();break;case"ArrowLeft":t.rewind();break;case"f":t.fullscreen.toggle();break;case"c":u||t.toggleCaptions();break;case"l":t.loop=!t.loop}"Escape"===r&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=r}else this.lastKey=null}toggleMenu(e){xe.toggleMenu.call(this.player,e)}}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var Ge=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){e.exports=function(){var e=function(){},t={},n={},r={};function a(e,t){e=e.push?e:[e];var a,i,o,s=[],l=e.length,c=l;for(a=function(e,n){n.length&&s.push(e),--c||t(s)};l--;)i=e[l],(o=n[i])?a(i,o):(r[i]=r[i]||[]).push(a)}function i(e,t){if(e){var a=r[e];if(n[e]=t,a)for(;a.length;)a[0](e,t),a.splice(0,1)}}function o(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function s(t,n,r,a){var i,o,l=document,c=r.async,u=(r.numRetries||0)+1,d=r.before||e,h=t.replace(/[\?|#].*$/,""),f=t.replace(/^(css|img)!/,"");a=a||0,/(^css!|\.css$)/.test(h)?((o=l.createElement("link")).rel="stylesheet",o.href=f,(i="hideFocus"in o)&&o.relList&&(i=0,o.rel="preload",o.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(h)?(o=l.createElement("img")).src=f:((o=l.createElement("script")).src=t,o.async=void 0===c||c),o.onload=o.onerror=o.onbeforeload=function(e){var l=e.type[0];if(i)try{o.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((a+=1){Ge(e,{success:t,error:n})}))}function qe(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,ne.call(this,this.media,e?"play":"pause"))}const Ke={setup(){const e=this;j(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,fe.call(e),P.object(window.Vimeo)?Ke.ready.call(e):We(e.config.urls.vimeo.sdk).then((()=>{Ke.ready.call(e)})).catch((t=>{e.debug.warn("Vimeo SDK (player.js) failed to load",t)}))},ready(){const e=this,t=e.config.vimeo,{premium:n,referrerPolicy:r,...a}=t;let i=e.media.getAttribute("src"),o="";P.empty(i)?(i=e.media.getAttribute(e.config.attributes.embed.id),o=e.media.getAttribute(e.config.attributes.embed.hash)):o=function(e){const t=e.match(/^.*(vimeo.com\/|video\/)(\d+)(\?.*&*h=|\/)+([\d,a-f]+)/);return t&&5===t.length?t[4]:null}(i);const s=o?{h:o}:{};n&&Object.assign(a,{controls:!1,sidedock:!1});const l=Le({loop:e.config.loop.active,autoplay:e.autoplay,muted:e.muted,gesture:"media",playsinline:e.config.playsinline,...s,...a}),c=(u=i,P.empty(u)?null:P.number(Number(u))?u:u.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:u);var u;const d=R("iframe"),h=ge(e.config.urls.vimeo.iframe,c,l);if(d.setAttribute("src",h),d.setAttribute("allowfullscreen",""),d.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),P.empty(r)||d.setAttribute("referrerPolicy",r),n||!t.customControls)d.setAttribute("data-poster",e.poster),e.media=H(d,e.media);else{const t=R("div",{class:e.config.classNames.embedContainer,"data-poster":e.poster});t.appendChild(d),e.media=H(t,e.media)}t.customControls||Ee(ge(e.config.urls.vimeo.api,h)).then((t=>{!P.empty(t)&&t.thumbnail_url&&Ue.setPoster.call(e,t.thumbnail_url).catch((()=>{}))})),e.embed=new window.Vimeo.Player(d,{autopause:e.config.autopause,muted:e.muted}),e.media.paused=!0,e.media.currentTime=0,e.supported.ui&&e.embed.disableTextTrack(),e.media.play=()=>(qe.call(e,!0),e.embed.play()),e.media.pause=()=>(qe.call(e,!1),e.embed.pause()),e.media.stop=()=>{e.pause(),e.currentTime=0};let{currentTime:f}=e.media;Object.defineProperty(e.media,"currentTime",{get:()=>f,set(t){const{embed:n,media:r,paused:a,volume:i}=e,o=a&&!n.hasPlayed;r.seeking=!0,ne.call(e,r,"seeking"),Promise.resolve(o&&n.setVolume(0)).then((()=>n.setCurrentTime(t))).then((()=>o&&n.pause())).then((()=>o&&n.setVolume(i))).catch((()=>{}))}});let p=e.config.speed.selected;Object.defineProperty(e.media,"playbackRate",{get:()=>p,set(t){e.embed.setPlaybackRate(t).then((()=>{p=t,ne.call(e,e.media,"ratechange")})).catch((()=>{e.options.speed=[1]}))}});let{volume:m}=e.config;Object.defineProperty(e.media,"volume",{get:()=>m,set(t){e.embed.setVolume(t).then((()=>{m=t,ne.call(e,e.media,"volumechange")}))}});let{muted:g}=e.config;Object.defineProperty(e.media,"muted",{get:()=>g,set(t){const n=!!P.boolean(t)&&t;e.embed.setMuted(!!n||e.config.muted).then((()=>{g=n,ne.call(e,e.media,"volumechange")}))}});let v,{loop:y}=e.config;Object.defineProperty(e.media,"loop",{get:()=>y,set(t){const n=P.boolean(t)?t:e.config.loop.active;e.embed.setLoop(n).then((()=>{y=n}))}}),e.embed.getVideoUrl().then((t=>{v=t,xe.setDownloadUrl.call(e)})).catch((e=>{this.debug.warn(e)})),Object.defineProperty(e.media,"currentSrc",{get:()=>v}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration}),Promise.all([e.embed.getVideoWidth(),e.embed.getVideoHeight()]).then((t=>{const[n,r]=t;e.embed.ratio=pe(n,r),fe.call(this)})),e.embed.setAutopause(e.config.autopause).then((t=>{e.config.autopause=t})),e.embed.getVideoTitle().then((t=>{e.config.title=t,Ue.setTitle.call(this)})),e.embed.getCurrentTime().then((t=>{f=t,ne.call(e,e.media,"timeupdate")})),e.embed.getDuration().then((t=>{e.media.duration=t,ne.call(e,e.media,"durationchange")})),e.embed.getTextTracks().then((t=>{e.media.textTracks=t,Oe.setup.call(e)})),e.embed.on("cuechange",(({cues:t=[]})=>{const n=t.map((e=>function(e){const t=document.createDocumentFragment(),n=document.createElement("div");return t.appendChild(n),n.innerHTML=e,t.firstChild.innerText}(e.text)));Oe.updateCues.call(e,n)})),e.embed.on("loaded",(()=>{e.embed.getPaused().then((t=>{qe.call(e,!t),t||ne.call(e,e.media,"playing")})),P.element(e.embed.element)&&e.supported.ui&&e.embed.element.setAttribute("tabindex",-1)})),e.embed.on("bufferstart",(()=>{ne.call(e,e.media,"waiting")})),e.embed.on("bufferend",(()=>{ne.call(e,e.media,"playing")})),e.embed.on("play",(()=>{qe.call(e,!0),ne.call(e,e.media,"playing")})),e.embed.on("pause",(()=>{qe.call(e,!1)})),e.embed.on("timeupdate",(t=>{e.media.seeking=!1,f=t.seconds,ne.call(e,e.media,"timeupdate")})),e.embed.on("progress",(t=>{e.media.buffered=t.percent,ne.call(e,e.media,"progress"),1===parseInt(t.percent,10)&&ne.call(e,e.media,"canplaythrough"),e.embed.getDuration().then((t=>{t!==e.media.duration&&(e.media.duration=t,ne.call(e,e.media,"durationchange"))}))})),e.embed.on("seeked",(()=>{e.media.seeking=!1,ne.call(e,e.media,"seeked")})),e.embed.on("ended",(()=>{e.media.paused=!0,ne.call(e,e.media,"ended")})),e.embed.on("error",(t=>{e.media.error=t,ne.call(e,e.media,"error")})),t.customControls&&setTimeout((()=>Ue.build.call(e)),0)}};function Xe(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,ne.call(this,this.media,e?"play":"pause"))}function Je(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}const Ze={setup(){if(j(this.elements.wrapper,this.config.classNames.embed,!0),P.object(window.YT)&&P.function(window.YT.Player))Ze.ready.call(this);else{const e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{P.function(e)&&e(),Ze.ready.call(this)},We(this.config.urls.youtube.sdk).catch((e=>{this.debug.warn("YouTube API failed to load",e)}))}},getTitle(e){Ee(ge(this.config.urls.youtube.api,e)).then((e=>{if(P.object(e)){const{title:t,height:n,width:r}=e;this.config.title=t,Ue.setTitle.call(this),this.embed.ratio=pe(r,n)}fe.call(this)})).catch((()=>{fe.call(this)}))},ready(){const e=this,t=e.config.youtube,n=e.media&&e.media.getAttribute("id");if(!P.empty(n)&&n.startsWith("youtube-"))return;let r=e.media.getAttribute("src");P.empty(r)&&(r=e.media.getAttribute(this.config.attributes.embed.id));const a=(i=r,P.empty(i)?null:i.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:i);var i;const o=R("div",{id:`${e.provider}-${Math.floor(1e4*Math.random())}`,"data-poster":t.customControls?e.poster:void 0});if(e.media=H(o,e.media),t.customControls){const t=e=>`https://i.ytimg.com/vi/${a}/${e}default.jpg`;je(t("maxres"),121).catch((()=>je(t("sd"),121))).catch((()=>je(t("hq")))).then((t=>Ue.setPoster.call(e,t.src))).then((t=>{t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")})).catch((()=>{}))}e.embed=new window.YT.Player(e.media,{videoId:a,host:Je(t),playerVars:O({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&t.customControls?0:1,disablekb:1,playsinline:e.config.playsinline&&!e.config.fullscreen.iosNative?1:0,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},t),events:{onError(t){if(!e.media.error){const n=t.data,r={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occurred";e.media.error={code:n,message:r},ne.call(e,e.media,"error")}},onPlaybackRateChange(t){const n=t.target;e.media.playbackRate=n.getPlaybackRate(),ne.call(e,e.media,"ratechange")},onReady(n){if(P.function(e.media.play))return;const r=n.target;Ze.getTitle.call(e,a),e.media.play=()=>{Xe.call(e,!0),r.playVideo()},e.media.pause=()=>{Xe.call(e,!1),r.pauseVideo()},e.media.stop=()=>{r.stopVideo()},e.media.duration=r.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:()=>Number(r.getCurrentTime()),set(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,ne.call(e,e.media,"seeking"),r.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:()=>r.getPlaybackRate(),set(e){r.setPlaybackRate(e)}});let{volume:i}=e.config;Object.defineProperty(e.media,"volume",{get:()=>i,set(t){i=t,r.setVolume(100*i),ne.call(e,e.media,"volumechange")}});let{muted:o}=e.config;Object.defineProperty(e.media,"muted",{get:()=>o,set(t){const n=P.boolean(t)?t:o;o=n,r[n?"mute":"unMute"](),r.setVolume(100*i),ne.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:()=>r.getVideoUrl()}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration});const s=r.getAvailablePlaybackRates();e.options.speed=s.filter((t=>e.config.speed.options.includes(t))),e.supported.ui&&t.customControls&&e.media.setAttribute("tabindex",-1),ne.call(e,e.media,"timeupdate"),ne.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval((()=>{e.media.buffered=r.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBufferedUe.build.call(e)),50)},onStateChange(n){const r=n.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(n.data)&&(e.media.seeking=!1,ne.call(e,e.media,"seeked")),n.data){case-1:ne.call(e,e.media,"timeupdate"),e.media.buffered=r.getVideoLoadedFraction(),ne.call(e,e.media,"progress");break;case 0:Xe.call(e,!1),e.media.loop?(r.stopVideo(),r.playVideo()):ne.call(e,e.media,"ended");break;case 1:t.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(Xe.call(e,!0),ne.call(e,e.media,"playing"),e.timers.playing=setInterval((()=>{ne.call(e,e.media,"timeupdate")}),50),e.media.duration!==r.getDuration()&&(e.media.duration=r.getDuration(),ne.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),Xe.call(e,!1);break;case 3:ne.call(e,e.media,"waiting")}ne.call(e,e.elements.container,"statechange",!1,{code:n.data})}}})}},Qe={setup(){this.media?(j(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),j(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&j(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=R("div",{class:this.config.classNames.video}),C(this.media,this.elements.wrapper),this.elements.poster=R("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?me.setup.call(this):this.isYouTube?Ze.setup.call(this):this.isVimeo&&Ke.setup.call(this)):this.debug.warn("No media element found!")}};class et{constructor(t){e(this,"load",(()=>{this.enabled&&(P.object(window.google)&&P.object(window.google.ima)?this.ready():We(this.player.config.urls.googleIMA.sdk).then((()=>{this.ready()})).catch((()=>{this.trigger("error",new Error("Google IMA SDK failed to load"))})))})),e(this,"ready",(()=>{var e;this.enabled||((e=this).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then((()=>{this.clearSafetyTimer("onAdsManagerLoaded()")})),this.listeners(),this.setupIMA()})),e(this,"setupIMA",(()=>{this.elements.container=R("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(e=>this.onAdsManagerLoaded(e)),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(e=>this.onAdError(e)),!1),this.requestAds()})),e(this,"requestAds",(()=>{const{container:e}=this.player.elements;try{const t=new google.ima.AdsRequest;t.adTagUrl=this.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(t)}catch(e){this.onAdError(e)}})),e(this,"pollCountdown",((e=!1)=>{if(!e)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval((()=>{const e=Ae(Math.max(this.manager.getRemainingTime(),0)),t=`${Te.get("advertisement",this.player.config)} - ${e}`;this.elements.container.setAttribute("data-badge-text",t)}),100)})),e(this,"onAdsManagerLoaded",(e=>{if(!this.enabled)return;const t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,this.manager=e.getAdsManager(this.player,t),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(e=>this.onAdError(e))),Object.keys(google.ima.AdEvent.Type).forEach((e=>{this.manager.addEventListener(google.ima.AdEvent.Type[e],(e=>this.onAdEvent(e)))})),this.trigger("loaded")})),e(this,"addCuePoints",(()=>{P.empty(this.cuePoints)||this.cuePoints.forEach((e=>{if(0!==e&&-1!==e&&e{const{container:t}=this.player.elements,n=e.getAd(),r=e.getAdData();switch((e=>{ne.call(this.player,this.player.media,`ads${e.replace(/_/g,"").toLowerCase()}`)})(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),n.isLinear()||(n.width=t.offsetWidth,n.height=t.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:r.adError&&this.player.debug.warn(`Non-fatal ad error: ${r.adError.getMessage()}`)}})),e(this,"onAdError",(e=>{this.cancel(),this.player.debug.warn("Ads error",e)})),e(this,"listeners",(()=>{const{container:e}=this.player.elements;let t;this.player.on("canplay",(()=>{this.addCuePoints()})),this.player.on("ended",(()=>{this.loader.contentComplete()})),this.player.on("timeupdate",(()=>{t=this.player.currentTime})),this.player.on("seeked",(()=>{const e=this.player.currentTime;P.empty(this.cuePoints)||this.cuePoints.forEach(((n,r)=>{t{this.manager&&this.manager.resize(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL)}))})),e(this,"play",(()=>{const{container:e}=this.player.elements;this.managerPromise||this.resumeContent(),this.managerPromise.then((()=>{this.manager.setVolume(this.player.volume),this.elements.displayContainer.initialize();try{this.initialized||(this.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),this.manager.start()),this.initialized=!0}catch(e){this.onAdError(e)}})).catch((()=>{}))})),e(this,"resumeContent",(()=>{this.elements.container.style.zIndex="",this.playing=!1,ie(this.player.media.play())})),e(this,"pauseContent",(()=>{this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()})),e(this,"cancel",(()=>{this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()})),e(this,"loadAds",(()=>{this.managerPromise.then((()=>{this.manager&&this.manager.destroy(),this.managerPromise=new Promise((e=>{this.on("loaded",e),this.player.debug.log(this.manager)})),this.initialized=!1,this.requestAds()})).catch((()=>{}))})),e(this,"trigger",((e,...t)=>{const n=this.events[e];P.array(n)&&n.forEach((e=>{P.function(e)&&e.apply(this,t)}))})),e(this,"on",((e,t)=>(P.array(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this))),e(this,"startSafetyTimer",((e,t)=>{this.player.debug.log(`Safety timer invoked from: ${t}`),this.safetyTimer=setTimeout((()=>{this.cancel(),this.clearSafetyTimer("startSafetyTimer()")}),e)})),e(this,"clearSafetyTimer",(e=>{P.nullOrUndefined(this.safetyTimer)||(this.player.debug.log(`Safety timer cleared from: ${e}`),clearTimeout(this.safetyTimer),this.safetyTimer=null)})),this.player=t,this.config=t.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise(((e,t)=>{this.on("loaded",e),this.on("error",t)})),this.load()}get enabled(){const{config:e}=this;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!P.empty(e.publisherId)||P.url(e.tagUrl))}get tagUrl(){const{config:e}=this;return P.url(e.tagUrl)?e.tagUrl:`https://go.aniview.com/api/adserver6/vast/?${Le({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId})}`}}function tt(e=0,t=0,n=255){return Math.min(Math.max(e,t),n)}const nt=e=>{const t=[];return e.split(/\r\n\r\n|\n\n|\r\r/).forEach((e=>{const n={};e.split(/\r\n|\n|\r/).forEach((e=>{if(P.number(n.startTime)){if(!P.empty(e.trim())&&P.empty(n.text)){const t=e.trim().split("#xywh=");[n.text]=t,t[1]&&([n.x,n.y,n.w,n.h]=t[1].split(","))}}else{const t=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);t&&(n.startTime=60*Number(t[1]||0)*60+60*Number(t[2])+Number(t[3])+Number(`0.${t[4]}`),n.endTime=60*Number(t[6]||0)*60+60*Number(t[7])+Number(t[8])+Number(`0.${t[9]}`))}})),n.text&&t.push(n)})),t},rt=(e,t)=>{const n={};return e>t.width/t.height?(n.width=t.width,n.height=1/e*t.width):(n.height=t.height,n.width=e*t.height),n};class at{constructor(t){e(this,"load",(()=>{this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then((()=>{this.enabled&&(this.render(),this.determineContainerAutoSizing(),this.listeners(),this.loaded=!0)}))})),e(this,"getThumbnails",(()=>new Promise((e=>{const{src:t}=this.player.config.previewThumbnails;if(P.empty(t))throw new Error("Missing previewThumbnails.src config attribute");const n=()=>{this.thumbnails.sort(((e,t)=>e.height-t.height)),this.player.debug.log("Preview thumbnails",this.thumbnails),e()};if(P.function(t))t((e=>{this.thumbnails=e,n()}));else{const e=(P.string(t)?[t]:t).map((e=>this.getThumbnail(e)));Promise.all(e).then(n)}})))),e(this,"getThumbnail",(e=>new Promise((t=>{Ee(e).then((n=>{const r={frames:nt(n),height:null,urlPrefix:""};r.frames[0].text.startsWith("/")||r.frames[0].text.startsWith("http://")||r.frames[0].text.startsWith("https://")||(r.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));const a=new Image;a.onload=()=>{r.height=a.naturalHeight,r.width=a.naturalWidth,this.thumbnails.push(r),t()},a.src=r.urlPrefix+r.frames[0].text}))})))),e(this,"startMove",(e=>{if(this.loaded&&P.event(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t,n;const r=this.player.elements.progress.getBoundingClientRect(),a=100/r.width*(e.pageX-r.left);this.seekTime=this.player.media.duration*(a/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=Ae(this.seekTime);const i=null===(t=this.player.config.markers)||void 0===t||null===(n=t.points)||void 0===n?void 0:n.find((({time:e})=>e===Math.round(this.seekTime)));i&&this.elements.thumb.time.insertAdjacentHTML("afterbegin",`${i.label}
    `)}this.showImageAtCurrentTime()}})),e(this,"endMove",(()=>{this.toggleThumbContainer(!1,!0)})),e(this,"startScrubbing",(e=>{(P.nullOrUndefined(e.button)||!1===e.button||0===e.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))})),e(this,"endScrubbing",(()=>{this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):te.call(this.player,this.player.media,"timeupdate",(()=>{this.mouseDown||this.toggleScrubbingContainer(!1)}))})),e(this,"listeners",(()=>{this.player.on("play",(()=>{this.toggleThumbContainer(!1,!0)})),this.player.on("seeked",(()=>{this.toggleThumbContainer(!1)})),this.player.on("timeupdate",(()=>{this.lastTime=this.player.media.currentTime}))})),e(this,"render",(()=>{this.elements.thumb.container=R("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=R("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);const e=R("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=R("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.imageContainer.appendChild(e),P.element(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=R("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)})),e(this,"destroy",(()=>{this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()})),e(this,"showImageAtCurrentTime",(()=>{this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();const e=this.thumbnails[0].frames.findIndex((e=>this.seekTime>=e.startTime&&this.seekTime<=e.endTime)),t=e>=0;let n=0;this.mouseDown||this.toggleThumbContainer(t),t&&(this.thumbnails.forEach(((t,r)=>{this.loadedImages.includes(t.frames[e].text)&&(n=r)})),e!==this.showingThumb&&(this.showingThumb=e,this.loadImage(n)))})),e(this,"loadImage",((e=0)=>{const t=this.showingThumb,n=this.thumbnails[e],{urlPrefix:r}=n,a=n.frames[t],i=n.frames[t].text,o=r+i;if(this.currentImageElement&&this.currentImageElement.dataset.filename===i)this.showImage(this.currentImageElement,a,e,t,i,!1),this.currentImageElement.dataset.index=t,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);const n=new Image;n.src=o,n.dataset.index=t,n.dataset.filename=i,this.showingThumbFilename=i,this.player.debug.log(`Loading image: ${o}`),n.onload=()=>this.showImage(n,a,e,t,i,!0),this.loadingImage=n,this.removeOldImages(n)}})),e(this,"showImage",((e,t,n,r,a,i=!0)=>{this.player.debug.log(`Showing thumb: ${a}. num: ${r}. qual: ${n}. newimg: ${i}`),this.setImageSizeAndOffset(e,t),i&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(a)||this.loadedImages.push(a)),this.preloadNearby(r,!0).then(this.preloadNearby(r,!1)).then(this.getHigherQuality(n,e,t,a))})),e(this,"removeOldImages",(e=>{Array.from(this.currentImageContainer.children).forEach((t=>{if("img"!==t.tagName.toLowerCase())return;const n=this.usingSprites?500:1e3;if(t.dataset.index!==e.dataset.index&&!t.dataset.deleting){t.dataset.deleting=!0;const{currentImageContainer:e}=this;setTimeout((()=>{e.removeChild(t),this.player.debug.log(`Removing thumb: ${t.dataset.filename}`)}),n)}}))})),e(this,"preloadNearby",((e,t=!0)=>new Promise((n=>{setTimeout((()=>{const r=this.thumbnails[0].frames[e].text;if(this.showingThumbFilename===r){let a;a=t?this.thumbnails[0].frames.slice(e):this.thumbnails[0].frames.slice(0,e).reverse();let i=!1;a.forEach((e=>{const t=e.text;if(t!==r&&!this.loadedImages.includes(t)){i=!0,this.player.debug.log(`Preloading thumb filename: ${t}`);const{urlPrefix:e}=this.thumbnails[0],r=e+t,a=new Image;a.src=r,a.onload=()=>{this.player.debug.log(`Preloaded thumb filename: ${t}`),this.loadedImages.includes(t)||this.loadedImages.push(t),n()}}})),i||n()}}),300)})))),e(this,"getHigherQuality",((e,t,n,r)=>{if(e{this.showingThumbFilename===r&&(this.player.debug.log(`Showing higher quality thumb for: ${r}`),this.loadImage(e+1))}),300)}})),e(this,"toggleThumbContainer",((e=!1,t=!1)=>{const n=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(n,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)})),e(this,"toggleScrubbingContainer",((e=!1)=>{const t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)})),e(this,"determineContainerAutoSizing",(()=>{(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)})),e(this,"setThumbContainerSizeAndPos",(()=>{const{imageContainer:e}=this.elements.thumb;if(this.sizeSpecifiedInCSS){if(e.clientHeight>20&&e.clientWidth<20){const t=Math.floor(e.clientHeight*this.thumbAspectRatio);e.style.width=`${t}px`}else if(e.clientHeight<20&&e.clientWidth>20){const t=Math.floor(e.clientWidth/this.thumbAspectRatio);e.style.height=`${t}px`}}else{const t=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);e.style.height=`${this.thumbContainerHeight}px`,e.style.width=`${t}px`}this.setThumbContainerPos()})),e(this,"setThumbContainerPos",(()=>{const e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),{container:n}=this.elements.thumb,r=t.left-e.left+10,a=t.right-e.left-n.clientWidth-10,i=this.mousePosX-e.left-n.clientWidth/2,o=tt(i,r,a);n.style.left=`${o}px`,n.style.setProperty("--preview-arrow-offset",i-o+"px")})),e(this,"setScrubbingContainerSize",(()=>{const{width:e,height:t}=rt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});this.elements.scrubbing.container.style.width=`${e}px`,this.elements.scrubbing.container.style.height=`${t}px`})),e(this,"setImageSizeAndOffset",((e,t)=>{if(!this.usingSprites)return;const n=this.thumbContainerHeight/t.h;e.style.height=e.naturalHeight*n+"px",e.style.width=e.naturalWidth*n+"px",e.style.left=`-${t.x*n}px`,e.style.top=`-${t.y*n}px`})),this.player=t,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}get enabled(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}get currentImageContainer(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}get usingSprites(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}get thumbAspectRatio(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}get thumbContainerHeight(){if(this.mouseDown){const{height:e}=rt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});return e}return this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}get currentImageElement(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement}set currentImageElement(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}const it={insertElements(e,t){P.string(t)?F(e,this.media,{src:t}):P.array(t)&&t.forEach((t=>{F(e,this.media,t)}))},change(e){L(e,"sources.length")?(me.cancelRequests.call(this),this.destroy.call(this,(()=>{this.options.quality=[],z(this.media),this.media=null,P.element(this.elements.container)&&this.elements.container.removeAttribute("class");const{sources:t,type:n}=e,[{provider:r=Fe.html5,src:a}]=t,i="html5"===r?n:"div",o="html5"===r?{}:{src:a};Object.assign(this,{provider:r,type:n,supported:X.check(n,r,this.config.playsinline),media:R(i,o)}),this.elements.container.appendChild(this.media),P.boolean(e.autoplay)&&(this.config.autoplay=e.autoplay),this.isHTML5&&(this.config.crossorigin&&this.media.setAttribute("crossorigin",""),this.config.autoplay&&this.media.setAttribute("autoplay",""),P.empty(e.poster)||(this.poster=e.poster),this.config.loop.active&&this.media.setAttribute("loop",""),this.config.muted&&this.media.setAttribute("muted",""),this.config.playsinline&&this.media.setAttribute("playsinline","")),Ue.addStyleHook.call(this),this.isHTML5&&it.insertElements.call(this,"source",t),this.config.title=e.title,Qe.setup.call(this),this.isHTML5&&Object.keys(e).includes("tracks")&&it.insertElements.call(this,"track",e.tracks),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Ue.build.call(this),this.isHTML5&&this.media.load(),P.empty(e.previewThumbnails)||(Object.assign(this.config.previewThumbnails,e.previewThumbnails),this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new at(this))),this.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}};class ot{constructor(t,n){if(e(this,"play",(()=>P.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then((()=>this.ads.play())).catch((()=>ie(this.media.play()))),this.media.play()):null)),e(this,"pause",(()=>this.playing&&P.function(this.media.pause)?this.media.pause():null)),e(this,"togglePlay",(e=>(P.boolean(e)?e:!this.playing)?this.play():this.pause())),e(this,"stop",(()=>{this.isHTML5?(this.pause(),this.restart()):P.function(this.media.stop)&&this.media.stop()})),e(this,"restart",(()=>{this.currentTime=0})),e(this,"rewind",(e=>{this.currentTime-=P.number(e)?e:this.config.seekTime})),e(this,"forward",(e=>{this.currentTime+=P.number(e)?e:this.config.seekTime})),e(this,"increaseVolume",(e=>{const t=this.media.muted?0:this.volume;this.volume=t+(P.number(e)?e:0)})),e(this,"decreaseVolume",(e=>{this.increaseVolume(-e)})),e(this,"airplay",(()=>{X.airplay&&this.media.webkitShowPlaybackTargetPicker()})),e(this,"toggleControls",(e=>{if(this.supported.ui&&!this.isAudio){const t=U(this.elements.container,this.config.classNames.hideControls),n=void 0===e?void 0:!e,r=j(this.elements.container,this.config.classNames.hideControls,n);if(r&&P.array(this.config.controls)&&this.config.controls.includes("settings")&&!P.empty(this.config.settings)&&xe.toggleMenu.call(this,!1),r!==t){const e=r?"controlshidden":"controlsshown";ne.call(this,this.media,e)}return!r}return!1})),e(this,"on",((e,t)=>{Q.call(this,this.elements.container,e,t)})),e(this,"once",((e,t)=>{te.call(this,this.elements.container,e,t)})),e(this,"off",((e,t)=>{ee(this.elements.container,e,t)})),e(this,"destroy",((e,t=!1)=>{if(!this.ready)return;const n=()=>{document.body.style.overflow="",this.embed=null,t?(Object.keys(this.elements).length&&(z(this.elements.buttons.play),z(this.elements.captions),z(this.elements.controls),z(this.elements.wrapper),this.elements.buttons.play=null,this.elements.captions=null,this.elements.controls=null,this.elements.wrapper=null),P.function(e)&&e()):(re.call(this),me.cancelRequests.call(this),H(this.elements.original,this.elements.container),ne.call(this,this.elements.original,"destroyed",!0),P.function(e)&&e.call(this.elements.original),this.ready=!1,setTimeout((()=>{this.elements=null,this.media=null}),200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(Ue.toggleNativeControls.call(this,!0),n()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&P.function(this.embed.destroy)&&this.embed.destroy(),n()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(n),setTimeout(n,200))})),e(this,"supports",(e=>X.mime.call(this,e))),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=X.touch,this.media=t,P.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(r&&this.media instanceof a||P.nodeList(this.media)||P.array(this.media))&&(this.media=this.media[0]),this.config=O({},Ce,ot.defaults,n||{},(()=>{try{return JSON.parse(this.media.getAttribute("data-plyr-config"))}catch(e){return{}}})()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Ve(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",X),P.nullOrUndefined(this.media)||!P.element(this.media))return void this.debug.error("Setup failed: no suitable element passed");if(this.media.plyr)return void this.debug.warn("Target already setup");if(!this.config.enabled)return void this.debug.error("Setup failed: disabled by config");if(!X.check().api)return void this.debug.error("Setup failed: no support");const i=this.media.cloneNode(!0);i.autoplay=!1,this.elements.original=i;const o=this.media.tagName.toLowerCase();let s=null,l=null;switch(o){case"div":if(s=this.media.querySelector("iframe"),P.element(s)){if(l=Be(s.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?Fe.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?Fe.vimeo:null}(l.toString()),this.elements.container=this.media,this.media=s,this.elements.container.className="",l.search.length){const e=["1","true"];e.includes(l.searchParams.get("autoplay"))&&(this.config.autoplay=!0),e.includes(l.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=e.includes(l.searchParams.get("playsinline")),this.config.youtube.hl=l.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(P.empty(this.provider)||!Object.values(Fe).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Ne;break;case"video":case"audio":this.type=o,this.provider=Fe.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=X.check(this.type,this.provider),this.supported.api?(this.eventListeners=[],this.listeners=new $e(this),this.storage=new we(this),this.media.plyr=this,P.element(this.elements.container)||(this.elements.container=R("div"),C(this.media,this.elements.container)),Ue.migrateStyles.call(this),Ue.addStyleHook.call(this),Qe.setup.call(this),this.config.debug&&Q.call(this,this.elements.container,this.config.events.join(" "),(e=>{this.debug.log(`event: ${e.type}`)})),this.fullscreen=new Ye(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Ue.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new et(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",(()=>ie(this.play()))),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new at(this))):this.debug.error("Setup failed: no support")}get isHTML5(){return this.provider===Fe.html5}get isEmbed(){return this.isYouTube||this.isVimeo}get isYouTube(){return this.provider===Fe.youtube}get isVimeo(){return this.provider===Fe.vimeo}get isVideo(){return this.type===Ne}get isAudio(){return this.type===ze}get playing(){return Boolean(this.ready&&!this.paused&&!this.ended)}get paused(){return Boolean(this.media.paused)}get stopped(){return Boolean(this.paused&&0===this.currentTime)}get ended(){return Boolean(this.media.ended)}set currentTime(e){if(!this.duration)return;const t=P.number(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log(`Seeking to ${this.currentTime} seconds`)}get currentTime(){return Number(this.media.currentTime)}get buffered(){const{buffered:e}=this.media;return P.number(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}get seeking(){return Boolean(this.media.seeking)}get duration(){const e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=P.number(t)&&t!==1/0?t:0;return e||n}set volume(e){let t=e;P.string(t)&&(t=Number(t)),P.number(t)||(t=this.storage.get("volume")),P.number(t)||({volume:t}=this.config),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!P.empty(e)&&this.muted&&t>0&&(this.muted=!1)}get volume(){return Number(this.media.volume)}set muted(e){let t=e;P.boolean(t)||(t=this.storage.get("muted")),P.boolean(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t}get muted(){return Boolean(this.media.muted)}get hasAudio(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}set speed(e){let t=null;P.number(e)&&(t=e),P.number(t)||(t=this.storage.get("speed")),P.number(t)||(t=this.config.speed.selected);const{minimumSpeed:n,maximumSpeed:r}=this;t=tt(t,n,r),this.config.speed.selected=t,setTimeout((()=>{this.media&&(this.media.playbackRate=t)}),0)}get speed(){return Number(this.media.playbackRate)}get minimumSpeed(){return this.isYouTube?Math.min(...this.options.speed):this.isVimeo?.5:.0625}get maximumSpeed(){return this.isYouTube?Math.max(...this.options.speed):this.isVimeo?2:16}set quality(e){const t=this.config.quality,n=this.options.quality;if(!n.length)return;let r=[!P.empty(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(P.number),a=!0;if(!n.includes(r)){const e=se(n,r);this.debug.warn(`Unsupported quality option: ${r}, using ${e} instead`),r=e,a=!1}t.selected=r,this.media.quality=r,a&&this.storage.set({quality:r})}get quality(){return this.media.quality}set loop(e){const t=P.boolean(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t}get loop(){return Boolean(this.media.loop)}set source(e){it.change.call(this,e)}get source(){return this.media.currentSrc}get download(){const{download:e}=this.config.urls;return P.url(e)?e:this.source}set download(e){P.url(e)&&(this.config.urls.download=e,xe.setDownloadUrl.call(this))}set poster(e){this.isVideo?Ue.setPoster.call(this,e,!1).catch((()=>{})):this.debug.warn("Poster can only be set for video")}get poster(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}get ratio(){if(!this.isVideo)return null;const e=de(he.call(this));return P.array(e)?e.join(":"):e}set ratio(e){this.isVideo?P.string(e)&&ue(e)?(this.config.ratio=de(e),fe.call(this)):this.debug.error(`Invalid aspect ratio specified (${e})`):this.debug.warn("Aspect ratio can only be set for video")}set autoplay(e){this.config.autoplay=P.boolean(e)?e:this.config.autoplay}get autoplay(){return Boolean(this.config.autoplay)}toggleCaptions(e){Oe.toggle.call(this,e,!1)}set currentTrack(e){Oe.set.call(this,e,!1),Oe.setup.call(this)}get currentTrack(){const{toggled:e,currentTrack:t}=this.captions;return e?t:-1}set language(e){Oe.setLanguage.call(this,e,!1)}get language(){return(Oe.getCurrentTrack.call(this)||{}).language}set pip(e){if(!X.pip)return;const t=P.boolean(e)?e:!this.pip;P.function(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?De:Re),P.function(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}get pip(){return X.pip?P.empty(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===De:null}setPreviewThumbnails(e){this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),Object.assign(this.config.previewThumbnails,e),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new at(this))}static supported(e,t){return X.check(e,t)}static loadSprite(e,t){return Me(e,t)}static setup(e,t={}){let n=null;return P.string(e)?n=Array.from(document.querySelectorAll(e)):P.nodeList(e)?n=Array.from(e):P.array(e)&&(n=e.filter(P.element)),P.empty(n)?null:n.map((e=>new ot(e,t)))}}var st;return ot.defaults=(st=Ce,JSON.parse(JSON.stringify(st))),ot}())},34440:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BCardSubTitle:()=>c,props:()=>l});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=n(59809),l=(0,o.makePropsConfigurable)({subTitle:(0,o.makeProp)(i.PROP_TYPE_STRING),subTitleTag:(0,o.makeProp)(i.PROP_TYPE_STRING,"h6"),subTitleTextVariant:(0,o.makeProp)(i.PROP_TYPE_STRING,"muted")},a.NAME_CARD_SUB_TITLE),c=(0,r.extend)({name:a.NAME_CARD_SUB_TITLE,functional:!0,props:l,render:function(e,t){var n=t.props,a=t.data,i=t.children;return e(n.subTitleTag,(0,r.mergeData)(a,{staticClass:"card-subtitle",class:[n.subTitleTextVariant?"text-".concat(n.subTitleTextVariant):null]}),i||(0,s.toString)(n.subTitle))}})},34591:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Entry:()=>x,PROPERTY_NAME_COMMENT:()=>i,PROPERTY_NAME_COMPPRESSED_SIZE:()=>l,PROPERTY_NAME_CREATION_DATE:()=>m,PROPERTY_NAME_DIRECTORY:()=>S,PROPERTY_NAME_DISK_NUMBER_START:()=>u,PROPERTY_NAME_ENCRYPTED:()=>w,PROPERTY_NAME_EXECUTABLE:()=>P,PROPERTY_NAME_EXTERNAL_FILE_ATTRIBUTE:()=>b,PROPERTY_NAME_EXTERNAL_FILE_ATTRIBUTES:()=>_,PROPERTY_NAME_FILENAME:()=>r,PROPERTY_NAME_INTERNAL_FILE_ATTRIBUTE:()=>v,PROPERTY_NAME_INTERNAL_FILE_ATTRIBUTES:()=>y,PROPERTY_NAME_LAST_ACCESS_DATE:()=>f,PROPERTY_NAME_LAST_MODIFICATION_DATE:()=>d,PROPERTY_NAME_MS_DOS_COMPATIBLE:()=>I,PROPERTY_NAME_OFFSET:()=>c,PROPERTY_NAME_RAW_COMMENT:()=>o,PROPERTY_NAME_RAW_CREATION_DATE:()=>g,PROPERTY_NAME_RAW_FILENAME:()=>a,PROPERTY_NAME_RAW_LAST_ACCESS_DATE:()=>p,PROPERTY_NAME_RAW_LAST_MODIFICATION_DATE:()=>h,PROPERTY_NAME_UNCOMPPRESSED_SIZE:()=>s,PROPERTY_NAME_VERSION:()=>E,PROPERTY_NAME_VERSION_MADE_BY:()=>M,PROPERTY_NAME_ZIP64:()=>T,PROPERTY_NAME_ZIPCRYPTO:()=>k});const r="filename",a="rawFilename",i="comment",o="rawComment",s="uncompressedSize",l="compressedSize",c="offset",u="diskNumberStart",d="lastModDate",h="rawLastModDate",f="lastAccessDate",p="rawLastAccessDate",m="creationDate",g="rawCreationDate",v="internalFileAttribute",y="internalFileAttributes",b="externalFileAttribute",_="externalFileAttributes",I="msDosCompatible",T="zip64",w="encrypted",E="version",M="versionMadeBy",k="zipCrypto",S="directory",P="executable",A=[r,a,l,s,d,h,i,o,f,m,c,u,u,v,y,b,_,I,T,w,E,M,k,S,P,"bitFlag","signature","filenameUTF8","commentUTF8","compressionMethod","extraField","rawExtraField","extraFieldZip64","extraFieldUnicodePath","extraFieldUnicodeComment","extraFieldAES","extraFieldNTFS","extraFieldExtendedTimestamp"];class x{constructor(e){A.forEach((t=>this[t]=e[t]))}}},34620:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Inflate:()=>M});const r=0,a=1,i=-2,o=-3,s=-5,l=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],c=0,u=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],d=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],h=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],f=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],p=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],m=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],g=15;function v(){let e,t,n,a,i,l;function c(e,t,c,u,d,h,f,p,m,v,y){let b,_,I,T,w,E,M,k,S,P,A,x,B,L,O;P=0,w=c;do{n[e[t+P]]++,P++,w--}while(0!==w);if(n[0]==c)return f[0]=-1,p[0]=0,r;for(k=p[0],E=1;E<=g&&0===n[E];E++);for(M=E,kw&&(k=w),p[0]=k,L=1<x+k;){if(T++,x+=k,O=I-x,O=O>k?k:O,(_=1<<(E=M-x))>b+1&&(_-=b+1,B=M,E1440)return o;i[T]=A=v[0],v[0]+=O,0!==T?(l[T]=w,a[0]=E,a[1]=k,E=w>>>x-k,a[2]=A-i[T-1]-E,m.set(a,3*(i[T-1]+E))):f[0]=A}for(a[1]=M-x,P>=c?a[0]=192:y[P]>>x;E>>=1)w^=E;for(w^=E,S=(1<257?(_==o?b.msg="oversubscribed distance tree":_==s?(b.msg="incomplete distance tree",_=o):-4!=_&&(b.msg="empty distance tree with lengths",_=o),_):r)}}v.inflate_trees_fixed=function(e,t,n,a){return e[0]=9,t[0]=5,n[0]=u,a[0]=d,r};function y(){const e=this;let t,n,s,c,u=0,d=0,h=0,f=0,p=0,m=0,g=0,v=0,y=0,b=0;function _(e,t,n,i,s,c,u,d){let h,f,p,m,g,v,y,b,_,I,T,w,E,M,k,S;y=d.next_in_index,b=d.avail_in,g=u.bitb,v=u.bitk,_=u.write,I=_>=f[S+1],v-=f[S+1],16&m){for(m&=15,E=f[S+2]+(g&l[m]),g>>=m,v-=m;v<15;)b--,g|=(255&d.read_byte(y++))<>=f[S+1],v-=f[S+1],16&m){for(m&=15;v>=m,v-=m,I-=E,_>=M)k=_-M,_-k>0&&2>_-k?(u.win[_++]=u.win[k++],u.win[_++]=u.win[k++],E-=2):(u.win.set(u.win.subarray(k,k+2),_),_+=2,k+=2,E-=2);else{k=_-M;do{k+=u.end}while(k<0);if(m=u.end-k,E>m){if(E-=m,_-k>0&&m>_-k)do{u.win[_++]=u.win[k++]}while(0!=--m);else u.win.set(u.win.subarray(k,k+m),_),_+=m,k+=m,m=0;k=0}}if(_-k>0&&E>_-k)do{u.win[_++]=u.win[k++]}while(0!=--E);else u.win.set(u.win.subarray(k,k+E),_),_+=E,k+=E,E=0;break}if(64&m)return d.msg="invalid distance code",E=d.avail_in-b,E=v>>3>3:E,b+=E,y-=E,v-=E<<3,u.bitb=g,u.bitk=v,d.avail_in=b,d.total_in+=y-d.next_in_index,d.next_in_index=y,u.write=_,o;h+=f[S+2],h+=g&l[m],S=3*(p+h),m=f[S]}break}if(64&m)return 32&m?(E=d.avail_in-b,E=v>>3>3:E,b+=E,y-=E,v-=E<<3,u.bitb=g,u.bitk=v,d.avail_in=b,d.total_in+=y-d.next_in_index,d.next_in_index=y,u.write=_,a):(d.msg="invalid literal/length code",E=d.avail_in-b,E=v>>3>3:E,b+=E,y-=E,v-=E<<3,u.bitb=g,u.bitk=v,d.avail_in=b,d.total_in+=y-d.next_in_index,d.next_in_index=y,u.write=_,o);if(h+=f[S+2],h+=g&l[m],S=3*(p+h),0===(m=f[S])){g>>=f[S+1],v-=f[S+1],u.win[_++]=f[S+2],I--;break}}else g>>=f[S+1],v-=f[S+1],u.win[_++]=f[S+2],I--}while(I>=258&&b>=10);return E=d.avail_in-b,E=v>>3>3:E,b+=E,y-=E,v-=E<<3,u.bitb=g,u.bitk=v,d.avail_in=b,d.total_in+=y-d.next_in_index,d.next_in_index=y,u.write=_,r}e.init=function(e,r,a,i,o,l){t=0,g=e,v=r,s=a,y=i,c=o,b=l,n=null},e.proc=function(e,I,T){let w,E,M,k,S,P,A,x=0,B=0,L=0;for(L=I.next_in_index,k=I.avail_in,x=e.bitb,B=e.bitk,S=e.write,P=S=258&&k>=10&&(e.bitb=x,e.bitk=B,I.avail_in=k,I.total_in+=L-I.next_in_index,I.next_in_index=L,e.write=S,T=_(g,v,s,y,c,b,e,I),L=I.next_in_index,k=I.avail_in,x=e.bitb,B=e.bitk,S=e.write,P=S>>=n[E+1],B-=n[E+1],M=n[E],0===M){f=n[E+2],t=6;break}if(16&M){p=15&M,u=n[E+2],t=2;break}if(!(64&M)){h=M,d=E/3+n[E+2];break}if(32&M){t=7;break}return t=9,I.msg="invalid literal/length code",T=o,e.bitb=x,e.bitk=B,I.avail_in=k,I.total_in+=L-I.next_in_index,I.next_in_index=L,e.write=S,e.inflate_flush(I,T);case 2:for(w=p;B>=w,B-=w,h=v,n=c,d=b,t=3;case 3:for(w=h;B>=n[E+1],B-=n[E+1],M=n[E],16&M){p=15&M,m=n[E+2],t=4;break}if(!(64&M)){h=M,d=E/3+n[E+2];break}return t=9,I.msg="invalid distance code",T=o,e.bitb=x,e.bitk=B,I.avail_in=k,I.total_in+=L-I.next_in_index,I.next_in_index=L,e.write=S,e.inflate_flush(I,T);case 4:for(w=p;B>=w,B-=w,t=5;case 5:for(A=S-m;A<0;)A+=e.end;for(;0!==u;){if(0===P&&(S==e.end&&0!==e.read&&(S=0,P=S7&&(B-=8,k++,L--),e.write=S,T=e.inflate_flush(I,T),S=e.write,P=Se.avail_out&&(a=e.avail_out),0!==a&&t==s&&(t=r),e.avail_out-=a,e.total_out+=a,e.next_out.set(n.win.subarray(o,o+a),i),i+=a,o+=a,o==n.end&&(o=0,n.write==n.end&&(n.write=0),a=n.write-o,a>e.avail_out&&(a=e.avail_out),0!==a&&t==s&&(t=r),e.avail_out-=a,e.total_out+=a,e.next_out.set(n.win.subarray(o,o+a),i),i+=a,o+=a),e.next_out_index=i,n.read=o,t},n.proc=function(e,t){let s,y,w,E,M,k,S,P;for(E=e.next_in_index,M=e.avail_in,y=n.bitb,w=n.bitk,k=n.write,S=k>>1){case 0:y>>>=3,w-=3,s=7&w,y>>>=s,w-=s,u=1;break;case 1:A=[],x=[],B=[[]],L=[[]],v.inflate_trees_fixed(A,x,B,L),g.init(A[0],x[0],B[0],0,L[0],0),y>>>=3,w-=3,u=6;break;case 2:y>>>=3,w-=3,u=3;break;case 3:return y>>>=3,w-=3,u=9,e.msg="invalid block type",t=o,n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t)}break;case 1:for(;w<32;){if(0===M)return n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t);t=r,M--,y|=(255&e.read_byte(E++))<>>16&65535)!=(65535&y))return u=9,e.msg="invalid stored block lengths",t=o,n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t);d=65535&y,y=w=0,u=0!==d?2:0!==_?7:0;break;case 2:if(0===M)return n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t);if(0===S&&(k==n.end&&0!==n.read&&(k=0,S=kM&&(s=M),s>S&&(s=S),n.win.set(e.read_buf(E,s),k),E+=s,M-=s,k+=s,S-=s,0!=(d-=s))break;u=0!==_?7:0;break;case 3:for(;w<14;){if(0===M)return n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t);t=r,M--,y|=(255&e.read_byte(E++))<29||(s>>5&31)>29)return u=9,e.msg="too many length or distance symbols",t=o,n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t);if(s=258+(31&s)+(s>>5&31),!c||c.length>>=14,w-=14,f=0,u=4;case 4:for(;f<4+(h>>>10);){for(;w<3;){if(0===M)return n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t);t=r,M--,y|=(255&e.read_byte(E++))<>>=3,w-=3}for(;f<19;)c[b[f++]]=0;if(p[0]=7,s=T.inflate_trees_bits(c,p,m,I,e),s!=r)return(t=s)==o&&(c=null,u=9),n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t);f=0,u=5;case 5:for(;s=h,!(f>=258+(31&s)+(s>>5&31));){let a,i;for(s=p[0];w>>=s,w-=s,c[f++]=i;else{for(P=18==i?7:i-14,a=18==i?11:3;w>>=s,w-=s,a+=y&l[P],y>>>=P,w-=P,P=f,s=h,P+a>258+(31&s)+(s>>5&31)||16==i&&P<1)return c=null,u=9,e.msg="invalid bit length repeat",t=o,n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t);i=16==i?c[P-1]:0;do{c[P++]=i}while(0!=--a);f=P}}if(m[0]=-1,O=[],C=[],D=[],R=[],O[0]=9,C[0]=6,s=h,s=T.inflate_trees_dynamic(257+(31&s),1+(s>>5&31),c,O,C,D,R,I,e),s!=r)return s==o&&(c=null,u=9),t=s,n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,n.inflate_flush(e,t);g.init(O[0],C[0],I,D[0],I,R[0]),u=6;case 6:if(n.bitb=y,n.bitk=w,e.avail_in=M,e.total_in+=E-e.next_in_index,e.next_in_index=E,n.write=k,(t=g.proc(n,e,t))!=a)return n.inflate_flush(e,t);if(t=r,g.free(e),E=e.next_in_index,M=e.avail_in,y=n.bitb,w=n.bitk,k=n.write,S=k15?(e.inflateEnd(n),i):(e.wbits=a,n.istate.blocks=new _(n,1<>4)>c.wbits){c.mode=I,e.msg="invalid win size",c.marker=5;break}c.mode=1;case 1:if(0===e.avail_in)return n;if(n=t,e.avail_in--,e.total_in++,l=255&e.read_byte(e.next_in_index++),((c.method<<8)+l)%31!=0){c.mode=I,e.msg="incorrect header check",c.marker=5;break}if(!(32&l)){c.mode=7;break}c.mode=2;case 2:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,c.need=(255&e.read_byte(e.next_in_index++))<<24&4278190080,c.mode=3;case 3:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,c.need+=(255&e.read_byte(e.next_in_index++))<<16&16711680,c.mode=4;case 4:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,c.need+=(255&e.read_byte(e.next_in_index++))<<8&65280,c.mode=5;case 5:return 0===e.avail_in?n:(n=t,e.avail_in--,e.total_in++,c.need+=255&e.read_byte(e.next_in_index++),c.mode=6,2);case 6:return c.mode=I,e.msg="need dictionary",c.marker=0,i;case 7:if(n=c.blocks.proc(e,n),n==o){c.mode=I,c.marker=0;break}if(n==r&&(n=t),n!=a)return n;n=t,c.blocks.reset(e,c.was),c.mode=12;case 12:return e.avail_in=0,a;case I:return o;default:return i}},e.inflateSetDictionary=function(e,t,n){let a=0,o=n;if(!e||!e.istate||6!=e.istate.mode)return i;const s=e.istate;return o>=1<0&&t.next_in_index!=f&&(c(t.next_in_index),f=t.next_in_index)}while(t.avail_in>0||0===t.avail_out);return u.length>1?(h=new Uint8Array(m),u.forEach((function(e){h.set(e,p),p+=e.length}))):h=u[0]?new Uint8Array(u[0]):new Uint8Array,h}},this.flush=function(){t.inflateEnd()}}E.prototype={inflateInit(e){const t=this;return t.istate=new w,e||(e=15),t.istate.inflateInit(t,e)},inflate(e){const t=this;return t.istate?t.istate.inflate(t,e):i},inflateEnd(){const e=this;if(!e.istate)return i;const t=e.istate.inflateEnd(e);return e.istate=null,t},inflateSync(){const e=this;return e.istate?e.istate.inflateSync(e):i},inflateSetDictionary(e,t){const n=this;return n.istate?n.istate.inflateSetDictionary(n,e,t):i},read_byte(e){return this.next_in[e]},read_buf(e,t){return this.next_in.subarray(e,e+t)}}},34691:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BTableLite:()=>w,props:()=>T});var r=n(2448),a=n(49800),i=n(91671),o=n(1340),s=n(64211),l=n(54384),c=n(81074),u=n(48917),d=n(2770),h=n(44931),f=n(216),p=n(3317),m=n(54522),g=n(21164),v=n(51836),y=n(87294);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BProgressBar:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(41897),s=n(46710),l=n(28014),c=n(89821),u=n(1340),d=n(59809),h=n(48917),f=(0,u.makePropsConfigurable)({animated:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,null),label:(0,u.makeProp)(i.PROP_TYPE_STRING),labelHtml:(0,u.makeProp)(i.PROP_TYPE_STRING),max:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING,null),precision:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING,null),showProgress:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,null),showValue:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,null),striped:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,null),value:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING,0),variant:(0,u.makeProp)(i.PROP_TYPE_STRING)},a.NAME_PROGRESS_BAR),p=(0,r.extend)({name:a.NAME_PROGRESS_BAR,mixins:[h.normalizeSlotMixin],inject:{getBvProgress:{default:function(){return function(){return{}}}}},props:f,computed:{bvProgress:function(){return this.getBvProgress()},progressBarClasses:function(){var e=this.computedAnimated,t=this.computedVariant;return[t?"bg-".concat(t):"",this.computedStriped||e?"progress-bar-striped":"",e?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue:function(){return(0,c.toFloat)(this.value,0)},computedMax:function(){var e=(0,c.toFloat)(this.max)||(0,c.toFloat)(this.bvProgress.max,0);return e>0?e:100},computedPrecision:function(){return(0,l.mathMax)((0,c.toInteger)(this.precision,(0,c.toInteger)(this.bvProgress.precision,0)),0)},computedProgress:function(){var e=this.computedPrecision,t=(0,l.mathPow)(10,e);return(0,c.toFixed)(100*t*this.computedValue/this.computedMax/t,e)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return(0,s.isBoolean)(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return(0,s.isBoolean)(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return(0,s.isBoolean)(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return(0,s.isBoolean)(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(e){var t,n=this.label,r=this.labelHtml,a=this.computedValue,i=this.computedPrecision,s={};return this.hasNormalizedSlot()?t=this.normalizeSlot():n||r?s=(0,o.htmlOrText)(r,n):this.computedShowProgress?t=this.computedProgress:this.computedShowValue&&(t=(0,c.toFixed)(a,i)),e("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":(0,d.toString)(this.computedMax),"aria-valuenow":(0,c.toFixed)(a,i)},domProps:s},t)}})},34877:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BVTransition:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(46710),s=n(1340);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{var r=n(25090);e.exports=function(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],t=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],a=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],o=["AM","PM"],s=["am","pm"],l=["a.m.","p.m."],c={MMM:function(t){return e[t.getMonth()]},MMMM:function(e){return t[e.getMonth()]},dd:function(e){return n[e.getDay()]},ddd:function(e){return a[e.getDay()]},dddd:function(e){return i[e.getDay()]},A:function(e){return e.getHours()/12>=1?o[1]:o[0]},a:function(e){return e.getHours()/12>=1?s[1]:s[0]},aa:function(e){return e.getHours()/12>=1?l[1]:l[0]}};return["M","D","DDD","d","Q","W"].forEach((function(e){c[e+"o"]=function(t,n){return function(e){var t=e%100;if(t>20||t<10)switch(t%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(n[e](t))}})),{formatters:c,formattingTokensRegExp:r(c)}}},35402:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CodecWorker:()=>o});var r=n(70048),a=n(70922);let i=typeof Worker!=r.UNDEFINED_TYPE;class o{constructor(e,{readable:t,writable:n},{options:r,config:o,streamOptions:l,useWebWorkers:d,transferStreams:h,scripts:f},p){const{signal:m}=l;return Object.assign(e,{busy:!0,readable:t.pipeThrough(new a.ChunkStream(o.chunkSize)).pipeThrough(new s(t,l),{signal:m}),writable:n,options:Object.assign({},r),scripts:f,transferStreams:h,terminate:()=>new Promise((t=>{const{worker:n,busy:r}=e;n?(r?e.resolveTerminated=t:(n.terminate(),t()),e.interface=null):t()})),onTaskFinished(){const{resolveTerminated:t}=e;t&&(e.resolveTerminated=null,e.terminated=!0,e.worker.terminate(),t()),e.busy=!1,p(e)}}),(d&&i?u:c)(e,o)}}class s extends TransformStream{constructor(e,{onstart:t,onprogress:n,size:r,onend:a}){let i=0;super({async start(){t&&await l(t,r)},async transform(e,t){i+=e.length,n&&await l(n,i,r),t.enqueue(e)},async flush(){e.size=i,a&&await l(a,i)}})}}async function l(e,...t){try{await e(...t)}catch(e){}}function c(e,t){return{run:()=>async function({options:e,readable:t,writable:n,onTaskFinished:r},i){try{const r=new a.CodecStream(e,i);await t.pipeThrough(r).pipeTo(n,{preventClose:!0,preventAbort:!0});const{signature:o,inputSize:s,outputSize:l}=r;return{signature:o,inputSize:s,outputSize:l}}finally{r()}}(e,t)}}function u(e,t){const{baseURL:n,chunkSize:o}=t;if(!e.interface){let s;try{s=function(e,t,n){const i={type:"module"};let o,s;typeof e==r.FUNCTION_TYPE&&(e=e());try{o=new URL(e,t)}catch(t){o=e}if(d)try{s=new Worker(o)}catch(e){d=!1,s=new Worker(o,i)}else s=new Worker(o,i);return s.addEventListener(a.MESSAGE_EVENT_TYPE,(e=>async function({data:e},t){const{type:n,value:r,messageId:i,result:o,error:s}=e,{reader:l,writer:c,resolveResult:u,rejectResult:d,onTaskFinished:h}=t;try{if(s){const{message:e,stack:t,code:n,name:r}=s,a=new Error(e);Object.assign(a,{stack:t,code:n,name:r}),p(a)}else{if(n==a.MESSAGE_PULL){const{value:e,done:n}=await l.read();f({type:a.MESSAGE_DATA,value:e,done:n,messageId:i},t)}n==a.MESSAGE_DATA&&(await c.ready,await c.write(new Uint8Array(r)),f({type:a.MESSAGE_ACK_DATA,messageId:i},t)),n==a.MESSAGE_CLOSE&&p(null,o)}}catch(s){f({type:a.MESSAGE_CLOSE,messageId:i},t),p(s)}function p(e,t){e?d(e):u(t),c&&c.releaseLock(),h()}}(e,n))),s}(e.scripts[0],n,e)}catch(n){return i=!1,c(e,t)}Object.assign(e,{worker:s,interface:{run:()=>async function(e,t){let n,r;const i=new Promise(((e,t)=>{n=e,r=t}));Object.assign(e,{reader:null,writer:null,resolveResult:n,rejectResult:r,result:i});const{readable:o,options:s,scripts:l}=e,{writable:c,closed:u}=function(e){let t;const n=new Promise((e=>t=e)),r=new WritableStream({async write(t){const n=e.getWriter();await n.ready,await n.write(t),n.releaseLock()},close(){t()},abort:t=>e.getWriter().abort(t)});return{writable:r,closed:n}}(e.writable),d=f({type:a.MESSAGE_START,scripts:l.slice(1),options:s,config:t,readable:o,writable:c},e);d||Object.assign(e,{reader:o.getReader(),writer:c.getWriter()});const h=await i;d||await c.getWriter().close();return await u,h}(e,{chunkSize:o})}})}return e.interface}let d=!0,h=!0;function f(e,{worker:t,writer:n,onTaskFinished:r,transferStreams:a}){try{const{value:n,readable:r,writable:i}=e,o=[];if(n&&(n.byteLength{"use strict";n.r(t),n.d(t,{BFormTags:()=>W});var r,a=n(2448),i=n(49800),o=n(87013),s=n(36714),l=n(80072),c=n(41817),u=n(94159),d=n(17079),h=n(86829),f=n(71402),p=n(87057),m=n(58494),g=n(46710),v=n(60277),y=n(38199),b=n(91671),_=n(1340),I=n(59809),T=n(42545),w=n(62579),E=n(69849),M=n(81074),k=n(32878),S=n(48917),P=n(75532),A=n(62368),x=n(11722),B=n(75451);function L(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&n.indexOf(e)===t}))},$=function(e){return(0,g.isString)(e)?e:(0,g.isEvent)(e)&&e.target.value||""},G=(0,_.makePropsConfigurable)((0,b.sortKeys)(D(D(D(D(D(D({},M.props),N),T.props),w.props),E.props),{},{addButtonText:(0,_.makeProp)(l.PROP_TYPE_STRING,"Add"),addButtonVariant:(0,_.makeProp)(l.PROP_TYPE_STRING,"outline-secondary"),addOnChange:(0,_.makeProp)(l.PROP_TYPE_BOOLEAN,!1),duplicateTagText:(0,_.makeProp)(l.PROP_TYPE_STRING,"Duplicate tag(s)"),feedbackAriaLive:(0,_.makeProp)(l.PROP_TYPE_STRING,"assertive"),ignoreInputFocusSelector:(0,_.makeProp)(l.PROP_TYPE_ARRAY_STRING,j),inputAttrs:(0,_.makeProp)(l.PROP_TYPE_OBJECT,{}),inputClass:(0,_.makeProp)(l.PROP_TYPE_ARRAY_OBJECT_STRING),inputId:(0,_.makeProp)(l.PROP_TYPE_STRING),inputType:(0,_.makeProp)(l.PROP_TYPE_STRING,"text",(function(e){return(0,d.arrayIncludes)(Y,e)})),invalidTagText:(0,_.makeProp)(l.PROP_TYPE_STRING,"Invalid tag(s)"),limit:(0,_.makeProp)(l.PROP_TYPE_NUMBER),limitTagsText:(0,_.makeProp)(l.PROP_TYPE_STRING,"Tag limit reached"),noAddOnEnter:(0,_.makeProp)(l.PROP_TYPE_BOOLEAN,!1),noOuterFocus:(0,_.makeProp)(l.PROP_TYPE_BOOLEAN,!1),noTagRemove:(0,_.makeProp)(l.PROP_TYPE_BOOLEAN,!1),placeholder:(0,_.makeProp)(l.PROP_TYPE_STRING,"Add tag..."),removeOnDelete:(0,_.makeProp)(l.PROP_TYPE_BOOLEAN,!1),separator:(0,_.makeProp)(l.PROP_TYPE_ARRAY_STRING),tagClass:(0,_.makeProp)(l.PROP_TYPE_ARRAY_OBJECT_STRING),tagPills:(0,_.makeProp)(l.PROP_TYPE_BOOLEAN,!1),tagRemoveLabel:(0,_.makeProp)(l.PROP_TYPE_STRING,"Remove tag"),tagRemovedLabel:(0,_.makeProp)(l.PROP_TYPE_STRING,"Tag removed"),tagValidator:(0,_.makeProp)(l.PROP_TYPE_FUNCTION),tagVariant:(0,_.makeProp)(l.PROP_TYPE_STRING,"secondary")})),i.NAME_FORM_TAGS),W=(0,a.extend)({name:i.NAME_FORM_TAGS,mixins:[k.listenersMixin,M.idMixin,z,T.formControlMixin,w.formSizeMixin,E.formStateMixin,S.normalizeSlotMixin],props:G,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:{all:[],valid:[],invalid:[],duplicate:[]},focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return(0,d.arrayIncludes)(Y,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var e=this.disabled,t=this.form;return D(D({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:e,form:t})},computedInputHandlers:function(){return D(D({},(0,b.omit)(this.bvListeners,[o.EVENT_NAME_FOCUSIN,o.EVENT_NAME_FOCUSOUT])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return(0,d.concat)(this.separator).filter(g.isString).filter(m.identity).join("")},computedSeparatorRegExp:function(){var e,t=this.computedSeparator;return t?new RegExp("[".concat((e=t,(0,I.escapeRegExp)(e).replace(c.RX_SPACES,"\\s")),"]+")):null},computedJoiner:function(){var e=this.computedSeparator.charAt(0);return" "!==e?"".concat(e," "):e},computeIgnoreInputFocusSelector:function(){return(0,d.concat)(this.ignoreInputFocusSelector).filter(m.identity).join(",").trim()},disableAddButton:function(){var e=this,t=(0,I.trim)(this.newTag);return""===t||!this.splitTags(t).some((function(t){return!(0,d.arrayIncludes)(e.tags,t)&&e.validateTag(t)}))},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var e=this.limit;return(0,g.isNumber)(e)&&e>=0&&this.tags.length>=e}},watch:(r={},R(r,H,(function(e){this.tags=U(e)})),R(r,"tags",(function(e,t){(0,v.looseEqual)(e,this[H])||this.$emit(V,e),(0,v.looseEqual)(e,t)||(e=(0,d.concat)(e).filter(m.identity),t=(0,d.concat)(t).filter(m.identity),this.removedTags=t.filter((function(t){return!(0,d.arrayIncludes)(e,t)})))})),R(r,"tagsState",(function(e,t){(0,v.looseEqual)(e,t)||this.$emit(o.EVENT_NAME_TAG_STATE,e.valid,e.invalid,e.duplicate)})),r),created:function(){this.tags=U(this[H])},mounted:function(){var e=(0,f.closest)("form",this.$el);e&&(0,p.eventOn)(e,"reset",this.reset,o.EVENT_OPTIONS_PASSIVE)},beforeDestroy:function(){var e=(0,f.closest)("form",this.$el);e&&(0,p.eventOff)(e,"reset",this.reset,o.EVENT_OPTIONS_PASSIVE)},methods:{addTag:function(e){if(e=(0,g.isString)(e)?e:this.newTag,!this.disabled&&""!==(0,I.trim)(e)&&!this.isLimitReached){var t=this.parseTags(e);if(t.valid.length>0||0===t.all.length)if((0,f.matches)(this.getInput(),"select"))this.newTag="";else{var n=[].concat(L(t.invalid),L(t.duplicate));this.newTag=t.all.filter((function(e){return(0,d.arrayIncludes)(n,e)})).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}t.valid.length>0&&(this.tags=(0,d.concat)(this.tags,t.valid)),this.tagsState=t,this.focus()}},removeTag:function(e){this.disabled||(this.tags=this.tags.filter((function(t){return t!==e})))},reset:function(){var e=this;this.newTag="",this.tags=[],this.$nextTick((function(){e.removedTags=[],e.tagsState={all:[],valid:[],invalid:[],duplicate:[]}}))},onInputInput:function(e){if(!(this.disabled||(0,g.isEvent)(e)&&e.target.composing)){var t=$(e),n=this.computedSeparatorRegExp;this.newTag!==t&&(this.newTag=t),t=(0,I.trimLeft)(t),n&&n.test(t.slice(-1))?this.addTag():this.tagsState=""===t?{all:[],valid:[],invalid:[],duplicate:[]}:this.parseTags(t)}},onInputChange:function(e){if(!this.disabled&&this.addOnChange){var t=$(e);this.newTag!==t&&(this.newTag=t),this.addTag()}},onInputKeydown:function(e){if(!this.disabled&&(0,g.isEvent)(e)){var t=e.keyCode,n=e.target.value||"";this.noAddOnEnter||t!==s.CODE_ENTER?!this.removeOnDelete||t!==s.CODE_BACKSPACE&&t!==s.CODE_DELETE||""!==n||((0,p.stopEvent)(e,{propagation:!1}),this.tags=this.tags.slice(0,-1)):((0,p.stopEvent)(e,{propagation:!1}),this.addTag())}},onClick:function(e){var t=this,n=this.computeIgnoreInputFocusSelector;n&&(0,f.closest)(n,e.target,!0)||this.$nextTick((function(){t.focus()}))},onInputFocus:function(e){var t=this;"out"!==this.focusState&&(this.focusState="in",this.$nextTick((function(){(0,f.requestAF)((function(){t.hasFocus&&(t.$emit(o.EVENT_NAME_FOCUS,e),t.focusState=null)}))})))},onInputBlur:function(e){var t=this;"in"!==this.focusState&&(this.focusState="out",this.$nextTick((function(){(0,f.requestAF)((function(){t.hasFocus||(t.$emit(o.EVENT_NAME_BLUR,e),t.focusState=null)}))})))},onFocusin:function(e){this.hasFocus=!0,this.$emit(o.EVENT_NAME_FOCUSIN,e)},onFocusout:function(e){this.hasFocus=!1,this.$emit(o.EVENT_NAME_FOCUSOUT,e)},handleAutofocus:function(){var e=this;this.$nextTick((function(){(0,f.requestAF)((function(){e.autofocus&&e.focus()}))}))},focus:function(){this.disabled||(0,f.attemptFocus)(this.getInput())},blur:function(){this.disabled||(0,f.attemptBlur)(this.getInput())},splitTags:function(e){e=(0,I.toString)(e);var t=this.computedSeparatorRegExp;return(t?e.split(t):[e]).map(I.trim).filter(m.identity)},parseTags:function(e){var t=this,n=this.splitTags(e),r={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach((function(e){(0,d.arrayIncludes)(t.tags,e)||(0,d.arrayIncludes)(r.valid,e)?(0,d.arrayIncludes)(r.duplicate,e)||r.duplicate.push(e):t.validateTag(e)?r.valid.push(e):(0,d.arrayIncludes)(r.invalid,e)||r.invalid.push(e)})),r},validateTag:function(e){var t=this.tagValidator;return!(0,_.hasPropFunction)(t)||t(e)},getInput:function(){return(0,f.select)("#".concat((0,h.cssEscape)(this.computedInputId)),this.$el)},defaultRender:function(e){var t=e.addButtonText,n=e.addButtonVariant,r=e.addTag,a=e.disableAddButton,i=e.disabled,o=e.duplicateTagText,s=e.inputAttrs,l=e.inputClass,c=e.inputHandlers,d=e.inputType,h=e.invalidTagText,f=e.isDuplicate,p=e.isInvalid,g=e.isLimitReached,v=e.limitTagsText,y=e.noTagRemove,b=e.placeholder,_=e.removeTag,T=e.tagClass,w=e.tagPills,E=e.tagRemoveLabel,M=e.tagVariant,k=e.tags,S=this.$createElement,L=k.map((function(e){return e=(0,I.toString)(e),S(B.BFormTag,{class:T,props:{disabled:i,noRemove:y,pill:w,removeLabel:E,tag:"li",title:e,variant:M},on:{remove:function(){return _(e)}},key:"tags_".concat(e)},e)})),O=h&&p?this.safeId("__invalid_feedback__"):null,C=o&&f?this.safeId("__duplicate_feedback__"):null,R=v&&g?this.safeId("__limit_feedback__"):null,F=[s["aria-describedby"],O,C,R].filter(m.identity).join(" "),z=S("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:l,style:{outline:0,minWidth:"5rem"},attrs:D(D({},s),{},{"aria-describedby":F||null,type:d,placeholder:b||null}),domProps:{value:s.value},on:c,directives:[{name:"model",value:s.value}],ref:"input"}),N=S(P.BButton,{staticClass:"b-form-tags-button py-0",class:{invisible:a},style:{fontSize:"90%"},props:{disabled:a||g,variant:n},on:{click:function(){return r()}},ref:"button"},[this.normalizeSlot(u.SLOT_NAME_ADD_BUTTON_TEXT)||t]),H=this.safeId("__tag_list__"),V=S("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":H},key:"tags_field"},[S("div",{staticClass:"d-flex",attrs:{role:"group"}},[z,N])]),Y=S("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:H},key:"tags_list"},[L,V]),j=S();if(h||o||v){var U=this.feedbackAriaLive,$=this.computedJoiner,G=S();O&&(G=S(A.BFormInvalidFeedback,{props:{id:O,ariaLive:U,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join($)]));var W=S();C&&(W=S(x.BFormText,{props:{id:C,ariaLive:U},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join($)]));var q=S();R&&(q=S(x.BFormText,{props:{id:R,ariaLive:U},key:"tags_limit_feedback"},[v])),j=S("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[G,W,q])}return[Y,j]}},render:function(e){var t=this.name,n=this.disabled,r=this.required,a=this.form,i=this.tags,o=this.computedInputId,s=this.hasFocus,l=this.noOuterFocus,c=D({tags:i.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:o,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},(0,b.pick)(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),d=this.normalizeSlot(u.SLOT_NAME_DEFAULT,c)||this.defaultRender(c),h=e("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:o,"aria-live":s?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),f=e("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":s?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),p=e();if(t&&!n){var m=i.length>0;p=(m?i:[""]).map((function(n){return e("input",{class:{"sr-only":!m},attrs:{type:m?"hidden":"text",value:n,required:r,name:t,form:a},key:"tag_input_".concat(n)})}))}return e("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:s&&!l&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||l?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[h,f,d,p])}})},36044:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BForm:()=>r.BForm,BFormDatalist:()=>a.BFormDatalist,BFormInvalidFeedback:()=>o.BFormInvalidFeedback,BFormText:()=>i.BFormText,BFormValidFeedback:()=>s.BFormValidFeedback,FormPlugin:()=>c});var r=n(66704),a=n(41273),i=n(11722),o=n(62368),s=n(54287),l=n(38369),c=(0,n(96266).pluginFactory)({components:{BForm:r.BForm,BFormDatalist:a.BFormDatalist,BDatalist:a.BFormDatalist,BFormText:i.BFormText,BFormInvalidFeedback:o.BFormInvalidFeedback,BFormFeedback:o.BFormInvalidFeedback,BFormValidFeedback:s.BFormValidFeedback,BFormRow:l.BFormRow}})},36714:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CODE_BACKSPACE:()=>r,CODE_BREAK:()=>a,CODE_DELETE:()=>i,CODE_DOWN:()=>o,CODE_END:()=>s,CODE_ENTER:()=>l,CODE_ESC:()=>c,CODE_HOME:()=>u,CODE_LEFT:()=>d,CODE_PAGEDOWN:()=>h,CODE_PAGEUP:()=>f,CODE_RIGHT:()=>p,CODE_SPACE:()=>m,CODE_UP:()=>g});var r=8,a=19,i=46,o=40,s=35,l=13,c=27,u=36,d=37,h=34,f=33,p=39,m=32,g=38},36774:(e,t,n)=>{"use strict";n.r(t),n.d(t,{filteringMixin:()=>I,props:()=>_});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(41817),l=n(17079),c=n(57938),u=n(58494),d=n(46710),h=n(60277),f=n(89821),p=n(1340),m=n(59809),g=n(24032),v=n(21054);function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(0,g.warn)('Prop "filter-debounce" is deprecated. Use the debounce feature of "" instead.',a.NAME_TABLE),e},localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilterFn:function(){var e=this.filterFunction;return(0,p.hasPropFunction)(e)?e:null},filteredItems:function(){var e=this.localItems,t=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,t)||this.defaultFilterFnFactory(t):null;return n&&e.length>0?e.filter(n):e}},watch:{computedFilterDebounce:function(e){!e&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(e){var t=this,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout((function(){t.localFilter=t.filterSanitize(e)}),n):this.localFilter=this.filterSanitize(e)}},filteredCheck:function(e){var t=e.filteredItems,n=e.localFilter,r=!1;n?(0,h.looseEqual)(n,[])||(0,h.looseEqual)(n,{})?r=!1:n&&(r=!0):r=!1,r&&this.$emit(i.EVENT_NAME_FILTERED,t,t.length),this.isFiltered=r},isFiltered:function(e,t){if(!1===e&&!0===t){var n=this.localItems;this.$emit(i.EVENT_NAME_FILTERED,n,n.length)}}},created:function(){var e=this;this.$_filterTimer=null,this.$nextTick((function(){e.isFiltered=Boolean(e.localFilter)}))},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(e){return!this.localFiltering||this.localFilterFn||(0,d.isString)(e)||(0,d.isRegExp)(e)?(0,c.cloneDeep)(e):""},filterFnFactory:function(e,t){if(!e||!(0,d.isFunction)(e)||!t||(0,h.looseEqual)(t,[])||(0,h.looseEqual)(t,{}))return null;return function(n){return e(n,t)}},defaultFilterFnFactory:function(e){var t=this;if(!e||!(0,d.isString)(e)&&!(0,d.isRegExp)(e))return null;var n=e;if((0,d.isString)(n)){var r=(0,m.escapeRegExp)(e).replace(s.RX_SPACES,"\\s+");n=new RegExp(".*".concat(r,".*"),"i")}return function(e){return n.lastIndex=0,n.test((0,v.stringifyRecordValues)(e,t.computedFilterIgnored,t.computedFilterIncluded,t.computedFieldsObj))}}}})},37071:function(e,t,n){!function(e){"use strict";var t="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("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(95093))},37097:(e,t,n)=>{"use strict";n.r(t),n.d(t,{computeHref:()=>y,computeRel:()=>v,computeTag:()=>g,isLink:()=>p,isRouterLink:()=>m,parseQuery:()=>f,stringifyQueryObj:()=>h});var r=n(41817),a=n(71402),i=n(46710),o=n(91671),s=n(42714),l=n(59809),c=function(e){return"%"+e.charCodeAt(0).toString(16)},u=function(e){return encodeURIComponent((0,l.toString)(e)).replace(r.RX_ENCODE_REVERSE,c).replace(r.RX_ENCODED_COMMA,",")},d=decodeURIComponent,h=function(e){if(!(0,i.isPlainObject)(e))return"";var t=(0,o.keys)(e).map((function(t){var n=e[t];return(0,i.isUndefined)(n)?"":(0,i.isNull)(n)?u(t):(0,i.isArray)(n)?n.reduce((function(e,n){return(0,i.isNull)(n)?e.push(u(t)):(0,i.isUndefined)(n)||e.push(u(t)+"="+u(n)),e}),[]).join("&"):u(t)+"="+u(n)})).filter((function(e){return e.length>0})).join("&");return t?"?".concat(t):""},f=function(e){var t={};return(e=(0,l.toString)(e).trim().replace(r.RX_QUERY_START,""))?(e.split("&").forEach((function(e){var n=e.replace(r.RX_PLUS," ").split("="),a=d(n.shift()),o=n.length>0?d(n.join("=")):null;(0,i.isUndefined)(t[a])?t[a]=o:(0,i.isArray)(t[a])?t[a].push(o):t[a]=[t[a],o]})),t):t},p=function(e){return!(!e.href&&!e.to)},m=function(e){return!(!e||(0,a.isTag)(e,"a"))},g=function(e,t){var n=e.to,r=e.disabled,a=e.routerComponentName,i=!!(0,s.safeVueInstance)(t).$router,o=!!(0,s.safeVueInstance)(t).$nuxt;return!i||i&&(r||!n)?"a":a||(o?"nuxt-link":"router-link")},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target,n=e.rel;return"_blank"===t&&(0,i.isNull)(n)?"noopener":n||null},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.href,n=e.to,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(t)return t;if(m(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a"))return null;if((0,i.isString)(n))return n||a;if((0,i.isPlainObject)(n)&&(n.path||n.query||n.hash)){var o=(0,l.toString)(n.path),s=h(n.query),c=(0,l.toString)(n.hash);return c=c&&"#"!==c.charAt(0)?"#".concat(c):c,"".concat(o).concat(s).concat(c)||a}return r}},37282:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CODEC_DEFLATE:()=>a.CODEC_DEFLATE,CODEC_INFLATE:()=>a.CODEC_INFLATE,ERR_ABORT_CHECK_PASSWORD:()=>a.ERR_ABORT_CHECK_PASSWORD,ERR_INVALID_PASSWORD:()=>a.ERR_INVALID_PASSWORD,ERR_INVALID_SIGNATURE:()=>a.ERR_INVALID_SIGNATURE,runWorker:()=>c,terminateWorkers:()=>d});var r=n(70048),a=n(70922),i=n(35402);let o=[];const s=[];let l=0;async function c(e,t){const{options:n,config:a}=t,{transferStreams:c,useWebWorkers:d,useCompressionStream:h,codecType:f,compressed:p,signed:m,encrypted:g}=n,{workerScripts:v,maxWorkers:y}=a;t.transferStreams=c||c===r.UNDEFINED_VALUE;const b=!(p||m||g||t.transferStreams);return t.useWebWorkers=!b&&(d||d===r.UNDEFINED_VALUE&&a.useWebWorkers),t.scripts=t.useWebWorkers&&v?v[f]:[],n.useCompressionStream=h||h===r.UNDEFINED_VALUE&&a.useCompressionStream,(await async function(){const n=o.find((e=>!e.busy));if(n)return u(n),new i.CodecWorker(n,e,t,_);if(o.lengths.push({resolve:n,stream:e,workerOptions:t})))}()).run();function _(e){if(s.length){const[{resolve:t,stream:n,workerOptions:r}]=s.splice(0,1);t(new i.CodecWorker(e,n,r,_))}else e.worker?(u(e),function(e,t){const{config:n}=t,{terminateWorkerTimeout:r}=n;Number.isFinite(r)&&r>=0&&(e.terminated?e.terminated=!1:e.terminateTimeout=setTimeout((async()=>{o=o.filter((t=>t!=e));try{await e.terminate()}catch(e){}}),r))}(e,t)):o=o.filter((t=>t!=e))}}function u(e){const{terminateTimeout:t}=e;t&&(clearTimeout(t),e.terminateTimeout=null)}async function d(){await Promise.allSettled(o.map((e=>(u(e),e.terminate()))))}},37892:function(e,t,n){!function(e){"use strict";e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(95093))},38199:(e,t,n)=>{"use strict";n.r(t),n.d(t,{makeModelMixin:()=>s});var r=n(2448),a=n(87013),i=n(80072),o=n(1340);var s=function(e){var t,n,s,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=l.type,u=void 0===c?i.PROP_TYPE_ANY:c,d=l.defaultValue,h=void 0===d?void 0:d,f=l.validator,p=void 0===f?void 0:f,m=l.event,g=void 0===m?a.EVENT_NAME_INPUT:m,v=(t={},n=e,s=(0,o.makeProp)(u,h,p),n in t?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s,t);return{mixin:(0,r.extend)({model:{prop:e,event:g},props:v}),props:v,prop:e,event:g}}},38261:(e,t,n)=>{"use strict";n.r(t),n.d(t,{StreamAdapter:()=>r});class r{constructor(e){return class extends TransformStream{constructor(t,n){const r=new e(n);super({transform(e,t){t.enqueue(r.append(e))},flush(e){const t=r.flush();t&&e.enqueue(t)}})}}}}},38369:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormRow:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=(0,o.makePropsConfigurable)({tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"div")},a.NAME_FORM_ROW),l=(0,r.extend)({name:a.NAME_FORM_ROW,functional:!0,props:s,render:function(e,t){var n=t.props,a=t.data,i=t.children;return e(n.tag,(0,r.mergeData)(a,{staticClass:"form-row"}),i)}})},38382:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormSelect:()=>P,props:()=>S});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(94159),l=n(17079),c=n(71402),u=n(41897),d=n(46710),h=n(91671),f=n(1340),p=n(42545),m=n(44337),g=n(62579),v=n(69849),y=n(81074),b=n(64818),_=n(48917),I=n(93495),T=n(52386),w=n(58732);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{VBModal:()=>b});var r=n(49800),a=n(87013),i=n(36714),o=n(71402),s=n(87057),l=n(46710),c=n(91671),u=n(92952),d=n(59313),h=(0,s.getRootActionEventName)(r.NAME_MODAL,a.EVENT_NAME_SHOW),f="__bv_modal_directive__",p=function(e){var t=e.modifiers,n=void 0===t?{}:t,r=e.arg,a=e.value;return(0,l.isString)(a)?a:(0,l.isString)(r)?r:(0,c.keys)(n).reverse()[0]},m=function(e){return e&&(0,o.matches)(e,".dropdown-menu > li, li.nav-item")&&(0,o.select)("a, button",e)||e},g=function(e){e&&"BUTTON"!==e.tagName&&((0,o.hasAttr)(e,"role")||(0,o.setAttr)(e,"role","button"),"A"===e.tagName||(0,o.hasAttr)(e,"tabindex")||(0,o.setAttr)(e,"tabindex","0"))},v=function(e){var t=e[f]||{},n=t.trigger,r=t.handler;n&&r&&((0,s.eventOff)(n,"click",r,a.EVENT_OPTIONS_PASSIVE),(0,s.eventOff)(n,"keydown",r,a.EVENT_OPTIONS_PASSIVE),(0,s.eventOff)(e,"click",r,a.EVENT_OPTIONS_PASSIVE),(0,s.eventOff)(e,"keydown",r,a.EVENT_OPTIONS_PASSIVE)),delete e[f]},y=function(e,t,n){var r=e[f]||{},l=p(t),c=m(e);l===r.target&&c===r.trigger||(v(e),function(e,t,n){var r=p(t),l=m(e);if(r&&l){var c=function(e){var a=e.currentTarget;if(!(0,o.isDisabled)(a)){var s=e.type,l=e.keyCode;"click"!==s&&("keydown"!==s||l!==i.CODE_ENTER&&l!==i.CODE_SPACE)||(0,u.getEventRoot)((0,d.getInstanceFromDirective)(n,t)).$emit(h,r,a)}};e[f]={handler:c,target:r,trigger:l},g(l),(0,s.eventOn)(l,"click",c,a.EVENT_OPTIONS_PASSIVE),"BUTTON"!==l.tagName&&"button"===(0,o.getAttr)(l,"role")&&(0,s.eventOn)(l,"keydown",c,a.EVENT_OPTIONS_PASSIVE)}}(e,t,n)),g(c)},b={inserted:y,updated:function(){},componentUpdated:y,unbind:v}},39557:function(e,t,n){var r,a,i;a=[n(74692)],void 0===(i="function"==typeof(r=function(e){"use strict";var t=!1,n={data:{index:0,name:"scrollbar"},firefox:/firefox/i.test(navigator.userAgent),macosx:/mac/i.test(navigator.platform),msedge:/edge\/\d+/i.test(navigator.userAgent),msie:/(msie|trident)/i.test(navigator.userAgent),mobile:/android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent),overlay:null,scroll:null,scrolls:[],webkit:/webkit/i.test(navigator.userAgent)&&!/edge\/\d+/i.test(navigator.userAgent)};n.scrolls.add=function(e){this.remove(e).push(e)},n.scrolls.remove=function(t){for(;e.inArray(t,this)>=0;)this.splice(e.inArray(t,this),1);return this};var r={autoScrollSize:!0,autoUpdate:!0,debug:!1,disableBodyScroll:!1,duration:200,ignoreMobile:!1,ignoreOverlay:!1,isRtl:!1,scrollStep:30,showArrows:!1,stepScrolling:!0,scrollx:null,scrolly:null,onDestroy:null,onFallback:null,onInit:null,onScroll:null,onUpdate:null},a=function(t){n.scroll||(n.overlay=d(),n.scroll=u(),c(),e(window).resize((function(){var e=!1;if(n.scroll&&(n.scroll.height||n.scroll.width)){var t=u();t.height===n.scroll.height&&t.width===n.scroll.width||(n.scroll=t,e=!0)}c(e)}))),this.container=t,this.namespace=".scrollbar_"+n.data.index++,this.options=e.extend({},r,window.jQueryScrollbarOptions||{}),this.scrollTo=null,this.scrollx={},this.scrolly={},t.data(n.data.name,this),n.scrolls.add(this)};a.prototype={destroy:function(){if(this.wrapper){this.container.removeData(n.data.name),n.scrolls.remove(this);var t=this.container.scrollLeft(),r=this.container.scrollTop();this.container.insertBefore(this.wrapper).css({height:"",margin:"","max-height":""}).removeClass("scroll-content scroll-scrollx_visible scroll-scrolly_visible").off(this.namespace).scrollLeft(t).scrollTop(r),this.scrollx.scroll.removeClass("scroll-scrollx_visible").find("div").addBack().off(this.namespace),this.scrolly.scroll.removeClass("scroll-scrolly_visible").find("div").addBack().off(this.namespace),this.wrapper.remove(),e(document).add("body").off(this.namespace),e.isFunction(this.options.onDestroy)&&this.options.onDestroy.apply(this,[this.container])}},init:function(t){var r=this,a=this.container,i=this.containerWrapper||a,o=this.namespace,s=e.extend(this.options,t||{}),l={x:this.scrollx,y:this.scrolly},c=this.wrapper,u={},d={scrollLeft:a.scrollLeft(),scrollTop:a.scrollTop()};if(n.mobile&&s.ignoreMobile||n.overlay&&s.ignoreOverlay||n.macosx&&!n.webkit)return e.isFunction(s.onFallback)&&s.onFallback.apply(this,[a]),!1;if(c)(u={height:"auto","margin-bottom":-1*n.scroll.height+"px","max-height":""})[s.isRtl?"margin-left":"margin-right"]=-1*n.scroll.width+"px",i.css(u);else{if(this.wrapper=c=e("
    ").addClass("scroll-wrapper").addClass(a.attr("class")).css("position","absolute"===a.css("position")?"absolute":"relative").insertBefore(a).append(a),s.isRtl&&c.addClass("scroll--rtl"),a.is("textarea")&&(this.containerWrapper=i=e("
    ").insertBefore(a).append(a),c.addClass("scroll-textarea")),(u={height:"auto","margin-bottom":-1*n.scroll.height+"px","max-height":""})[s.isRtl?"margin-left":"margin-right"]=-1*n.scroll.width+"px",i.addClass("scroll-content").css(u),a.on("scroll"+o,(function(t){var i=a.scrollLeft(),o=a.scrollTop();if(s.isRtl)switch(!0){case n.firefox:i=Math.abs(i);case n.msedge||n.msie:i=a[0].scrollWidth-a[0].clientWidth-i}e.isFunction(s.onScroll)&&s.onScroll.call(r,{maxScroll:l.y.maxScrollOffset,scroll:o,size:l.y.size,visible:l.y.visible},{maxScroll:l.x.maxScrollOffset,scroll:i,size:l.x.size,visible:l.x.visible}),l.x.isVisible&&l.x.scroll.bar.css("left",i*l.x.kx+"px"),l.y.isVisible&&l.y.scroll.bar.css("top",o*l.y.kx+"px")})),c.on("scroll"+o,(function(){c.scrollTop(0).scrollLeft(0)})),s.disableBodyScroll){var f=function(e){h(e)?l.y.isVisible&&l.y.mousewheel(e):l.x.isVisible&&l.x.mousewheel(e)};c.on("MozMousePixelScroll"+o,f),c.on("mousewheel"+o,f),n.mobile&&c.on("touchstart"+o,(function(t){var n=t.originalEvent.touches&&t.originalEvent.touches[0]||t,r={pageX:n.pageX,pageY:n.pageY},i={left:a.scrollLeft(),top:a.scrollTop()};e(document).on("touchmove"+o,(function(e){var t=e.originalEvent.targetTouches&&e.originalEvent.targetTouches[0]||e;a.scrollLeft(i.left+r.pageX-t.pageX),a.scrollTop(i.top+r.pageY-t.pageY),e.preventDefault()})),e(document).on("touchend"+o,(function(){e(document).off(o)}))}))}e.isFunction(s.onInit)&&s.onInit.apply(this,[a])}e.each(l,(function(t,i){var c=null,u=1,d="x"===t?"scrollLeft":"scrollTop",f=s.scrollStep,p=function(){var e=a[d]();a[d](e+f),1==u&&e+f>=m&&(e=a[d]()),-1==u&&e+f<=m&&(e=a[d]()),a[d]()==e&&c&&c()},m=0;i.scroll||(i.scroll=r._getScroll(s["scroll"+t]).addClass("scroll-"+t),s.showArrows&&i.scroll.addClass("scroll-element_arrows_visible"),i.mousewheel=function(e){if(!i.isVisible||"x"===t&&h(e))return!0;if("y"===t&&!h(e))return l.x.mousewheel(e),!0;var n=-1*e.originalEvent.wheelDelta||e.originalEvent.detail,o=i.size-i.visible-i.offset;return n||("x"===t&&e.originalEvent.deltaX?n=40*e.originalEvent.deltaX:"y"===t&&e.originalEvent.deltaY&&(n=40*e.originalEvent.deltaY)),(n>0&&m0)&&((m+=n)<0&&(m=0),m>o&&(m=o),r.scrollTo=r.scrollTo||{},r.scrollTo[d]=m,setTimeout((function(){r.scrollTo&&(a.stop().animate(r.scrollTo,240,"linear",(function(){m=a[d]()})),r.scrollTo=null)}),1)),e.preventDefault(),!1},i.scroll.on("MozMousePixelScroll"+o,i.mousewheel).on("mousewheel"+o,i.mousewheel).on("mouseenter"+o,(function(){m=a[d]()})),i.scroll.find(".scroll-arrow, .scroll-element_track").on("mousedown"+o,(function(o){if(1!=o.which)return!0;u=1;var l={eventOffset:o["x"===t?"pageX":"pageY"],maxScrollValue:i.size-i.visible-i.offset,scrollbarOffset:i.scroll.bar.offset()["x"===t?"left":"top"],scrollbarSize:i.scroll.bar["x"===t?"outerWidth":"outerHeight"]()},h=0,g=0;if(e(this).hasClass("scroll-arrow")){if(u=e(this).hasClass("scroll-arrow_more")?1:-1,f=s.scrollStep*u,m=u>0?l.maxScrollValue:0,s.isRtl)switch(!0){case n.firefox:m=u>0?0:-1*l.maxScrollValue;case n.msie||n.msedge:}}else u=l.eventOffset>l.scrollbarOffset+l.scrollbarSize?1:l.eventOffset','
    ','
    ','
    ','
    ','
    ','
    ','
    ','
    ',"
    ","
    ",'
    ','
    ','
    ',"
    ",'
    ','
    ',"
    ","
    ","
    "].join(""),simple:['
    ','
    ','
    ','
    ','
    ',"
    ","
    "].join("")};return n[t]&&(t=n[t]),t||(t=n.simple),t="string"==typeof t?e(t).appendTo(this.wrapper):e(t),e.extend(t,{bar:t.find(".scroll-bar"),size:t.find(".scroll-element_size"),track:t.find(".scroll-element_track")}),t},_handleMouseDown:function(t,n){var r=this.namespace;return e(document).on("blur"+r,(function(){e(document).add("body").off(r),t&&t()})),e(document).on("dragstart"+r,(function(e){return e.preventDefault(),!1})),e(document).on("mouseup"+r,(function(){e(document).add("body").off(r),t&&t()})),e("body").on("selectstart"+r,(function(e){return e.preventDefault(),!1})),n&&n.preventDefault(),!1},_updateScroll:function(t,r){var a=this.container,i=this.containerWrapper||a,o="scroll-scroll"+t+"_visible",s="x"===t?this.scrolly:this.scrollx,l=parseInt(this.container.css("x"===t?"left":"top"),10)||0,c=this.wrapper,u=r.size,d=r.visible+l;r.isVisible=u-d>1,r.isVisible?(r.scroll.addClass(o),s.scroll.addClass(o),i.addClass(o)):(r.scroll.removeClass(o),s.scroll.removeClass(o),i.removeClass(o)),"y"===t&&(a.is("textarea")||u10?(window.console&&console.log("Scroll updates exceed 10"),c=function(){}):(clearTimeout(o),o=setTimeout(c,300))});function u(t){if(n.webkit&&!t)return{height:0,width:0};if(!n.data.outer){var r={border:"none","box-sizing":"content-box",height:"200px",margin:"0",padding:"0",width:"200px"};n.data.inner=e("
    ").css(e.extend({},r)),n.data.outer=e("
    ").css(e.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},r)).append(n.data.inner).appendTo("body")}return n.data.outer.scrollLeft(1e3).scrollTop(1e3),{height:Math.ceil(n.data.outer.offset().top-n.data.inner.offset().top||0),width:Math.ceil(n.data.outer.offset().left-n.data.inner.offset().left||0)}}function d(){var e=u(!0);return!(e.height||e.width)}function h(e){var t=e.originalEvent;return!(t.axis&&t.axis===t.HORIZONTAL_AXIS||t.wheelDeltaX)}window.angular&&(l=window.angular).module("jQueryScrollbar",[]).provider("jQueryScrollbar",(function(){var e=r;return{setOptions:function(t){l.extend(e,t)},$get:function(){return{options:l.copy(e)}}}})).directive("jqueryScrollbar",["jQueryScrollbar","$parse",function(e,t){return{restrict:"AC",link:function(n,r,a){var i=t(a.jqueryScrollbar)(n);r.scrollbar(i||e.options).on("$destroy",(function(){r.scrollbar("destroy")}))}}}])})?r.apply(t,a):r)||(e.exports=i)},40173:(e,t,n)=>{"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}n.r(t),n.d(t,{NavigationFailureType:()=>_e,RouterLink:()=>G,RouterView:()=>I,START_LOCATION:()=>m,default:()=>We,isNavigationFailure:()=>ke,version:()=>Ke});var a=/[!'()*]/g,i=function(e){return"%"+e.charCodeAt(0).toString(16)},o=/%2C/g,s=function(e){return encodeURIComponent(e).replace(a,i).replace(o,",")};function l(e){try{return decodeURIComponent(e)}catch(e){0}return e}var c=function(e){return null==e||"object"==typeof e?e:String(e)};function u(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=l(n.shift()),a=n.length>0?l(n.join("=")):null;void 0===t[r]?t[r]=a:Array.isArray(t[r])?t[r].push(a):t[r]=[t[r],a]})),t):t}function d(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return s(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(s(t)):r.push(s(t)+"="+s(e)))})),r.join("&")}return s(t)+"="+s(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var h=/\/?$/;function f(e,t,n,r){var a=r&&r.options.stringifyQuery,i=t.query||{};try{i=p(i)}catch(e){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:i,params:t.params||{},fullPath:v(t,a),matched:e?g(e):[]};return n&&(o.redirectedFrom=v(n,a)),Object.freeze(o)}function p(e){if(Array.isArray(e))return e.map(p);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=p(e[n]);return t}return e}var m=f(null,{path:"/"});function g(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function v(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var a=e.hash;return void 0===a&&(a=""),(n||"/")+(t||d)(r)+a}function y(e,t,n){return t===m?e===t:!!t&&(e.path&&t.path?e.path.replace(h,"")===t.path.replace(h,"")&&(n||e.hash===t.hash&&b(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&b(e.query,t.query)&&b(e.params,t.params))))}function b(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),r=Object.keys(t).sort();return n.length===r.length&&n.every((function(n,a){var i=e[n];if(r[a]!==n)return!1;var o=t[n];return null==i||null==o?i===o:"object"==typeof i&&"object"==typeof o?b(i,o):String(i)===String(o)}))}function _(e){for(var t=0;t=0&&(t=e.slice(r),e=e.slice(0,r));var a=e.indexOf("?");return a>=0&&(n=e.slice(a+1),e=e.slice(0,a)),{path:e,query:n,hash:t}}(i.path||""),h=t&&t.path||"/",f=d.path?w(d.path,h,n||i.append):h,p=function(e,t,n){void 0===t&&(t={});var r,a=n||u;try{r=a(e||"")}catch(e){r={}}for(var i in t){var o=t[i];r[i]=Array.isArray(o)?o.map(c):c(o)}return r}(d.query,i.query,a&&a.options.parseQuery),m=i.hash||d.hash;return m&&"#"!==m.charAt(0)&&(m="#"+m),{_normalized:!0,path:f,query:p,hash:m}}var U,$=function(){},G={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,a=this.$route,i=n.resolve(this.to,a,this.append),o=i.location,s=i.route,l=i.href,c={},u=n.options.linkActiveClass,d=n.options.linkExactActiveClass,p=null==u?"router-link-active":u,m=null==d?"router-link-exact-active":d,g=null==this.activeClass?p:this.activeClass,v=null==this.exactActiveClass?m:this.exactActiveClass,b=s.redirectedFrom?f(null,j(s.redirectedFrom),null,n):s;c[v]=y(a,b,this.exactPath),c[g]=this.exact||this.exactPath?c[v]:function(e,t){return 0===e.path.replace(h,"/").indexOf(t.path.replace(h,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(a,b);var _=c[v]?this.ariaCurrentValue:null,I=function(e){W(e)&&(t.replace?n.replace(o,$):n.push(o,$))},T={click:W};Array.isArray(this.event)?this.event.forEach((function(e){T[e]=I})):T[this.event]=I;var w={class:c},E=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:I,isActive:c[g],isExactActive:c[v]});if(E){if(1===E.length)return E[0];if(E.length>1||!E.length)return 0===E.length?e():e("span",{},E)}if("a"===this.tag)w.on=T,w.attrs={href:l,"aria-current":_};else{var M=q(this.$slots.default);if(M){M.isStatic=!1;var k=M.data=r({},M.data);for(var S in k.on=k.on||{},k.on){var P=k.on[S];S in T&&(k.on[S]=Array.isArray(P)?P:[P])}for(var A in T)A in k.on?k.on[A].push(T[A]):k.on[A]=I;var x=M.data.attrs=r({},M.data.attrs);x.href=l,x["aria-current"]=_}else w.on=T}return e(this.tag,w,this.$slots.default)}};function W(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function q(e){if(e)for(var t,n=0;n-1&&(s.params[h]=n.params[h]);return s.path=Y(u.path,s.params),l(u,s,o)}if(s.path){s.params={};for(var f=0;f-1}function ke(e,t){return Me(e)&&e._isRouter&&(null==t||e.type===t)}function Se(e,t,n){var r=function(a){a>=e.length?n():e[a]?t(e[a],(function(){r(a+1)})):r(a+1)};r(0)}function Pe(e){return function(t,n,r){var a=!1,i=0,o=null;Ae(e,(function(e,t,n,s){if("function"==typeof e&&void 0===e.cid){a=!0,i++;var l,c=Le((function(t){var a;((a=t).__esModule||Be&&"Module"===a[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:U.extend(t),n.components[s]=t,--i<=0&&r()})),u=Le((function(e){var t="Failed to resolve async component "+s+": "+e;o||(o=Me(e)?e:new Error(t),r(o))}));try{l=e(c,u)}catch(e){u(e)}if(l)if("function"==typeof l.then)l.then(c,u);else{var d=l.component;d&&"function"==typeof d.then&&d.then(c,u)}}})),a||r()}}function Ae(e,t){return xe(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function xe(e){return Array.prototype.concat.apply([],e)}var Be="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Le(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var Oe=function(e,t){this.router=e,this.base=function(e){if(!e)if(K){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Ce(e,t,n,r){var a=Ae(e,(function(e,r,a,i){var o=function(e,t){"function"!=typeof e&&(e=U.extend(e));return e.options[t]}(e,t);if(o)return Array.isArray(o)?o.map((function(e){return n(e,r,a,i)})):n(o,r,a,i)}));return xe(r?a.reverse():a)}function De(e,t){if(t)return function(){return e.apply(t,arguments)}}Oe.prototype.listen=function(e){this.cb=e},Oe.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Oe.prototype.onError=function(e){this.errorCbs.push(e)},Oe.prototype.transitionTo=function(e,t,n){var r,a=this;try{r=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach((function(t){t(e)})),e}var i=this.current;this.confirmTransition(r,(function(){a.updateRoute(r),t&&t(r),a.ensureURL(),a.router.afterHooks.forEach((function(e){e&&e(r,i)})),a.ready||(a.ready=!0,a.readyCbs.forEach((function(e){e(r)})))}),(function(e){n&&n(e),e&&!a.ready&&(ke(e,_e.redirected)&&i===m||(a.ready=!0,a.readyErrorCbs.forEach((function(t){t(e)}))))}))},Oe.prototype.confirmTransition=function(e,t,n){var r=this,a=this.current;this.pending=e;var i,o,s=function(e){!ke(e)&&Me(e)&&(r.errorCbs.length?r.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)},l=e.matched.length-1,c=a.matched.length-1;if(y(e,a)&&l===c&&e.matched[l]===a.matched[c])return this.ensureURL(),e.hash&&le(this.router,a,e,!1),s(((o=we(i=a,e,_e.duplicated,'Avoided redundant navigation to current location: "'+i.fullPath+'".')).name="NavigationDuplicated",o));var u=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,r=ve&&n;r&&this.listeners.push(se());var a=function(){var n=e.current,a=Fe(e.base);e.current===m&&a===e._startLocation||e.transitionTo(a,(function(e){r&&le(t,e,n,!0)}))};window.addEventListener("popstate",a),this.listeners.push((function(){window.removeEventListener("popstate",a)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var r=this,a=this.current;this.transitionTo(e,(function(e){ye(E(r.base+e.fullPath)),le(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,a=this.current;this.transitionTo(e,(function(e){be(E(r.base+e.fullPath)),le(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(Fe(this.base)!==this.current.fullPath){var t=E(this.base+this.current.fullPath);e?ye(t):be(t)}},t.prototype.getCurrentLocation=function(){return Fe(this.base)},t}(Oe);function Fe(e){var t=window.location.pathname,n=t.toLowerCase(),r=e.toLowerCase();return!e||n!==r&&0!==n.indexOf(E(r+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var ze=function(e){function t(t,n,r){e.call(this,t,n),r&&function(e){var t=Fe(e);if(!/^\/#/.test(t))return window.location.replace(E(e+"/#"+t)),!0}(this.base)||Ne()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=ve&&t;n&&this.listeners.push(se());var r=function(){var t=e.current;Ne()&&e.transitionTo(He(),(function(r){n&&le(e.router,r,t,!0),ve||je(r.fullPath)}))},a=ve?"popstate":"hashchange";window.addEventListener(a,r),this.listeners.push((function(){window.removeEventListener(a,r)}))}},t.prototype.push=function(e,t,n){var r=this,a=this.current;this.transitionTo(e,(function(e){Ye(e.fullPath),le(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,a=this.current;this.transitionTo(e,(function(e){je(e.fullPath),le(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;He()!==t&&(e?Ye(t):je(t))},t.prototype.getCurrentLocation=function(){return He()},t}(Oe);function Ne(){var e=He();return"/"===e.charAt(0)||(je("/"+e),!1)}function He(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function Ve(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Ye(e){ve?ye(Ve(e)):window.location.hash=e}function je(e){ve?be(Ve(e)):window.location.replace(Ve(e))}var Ue=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var e=t.current;t.index=n,t.updateRoute(r),t.router.afterHooks.forEach((function(t){t&&t(r,e)}))}),(function(e){ke(e,_e.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Oe),$e=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Q(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!ve&&!1!==e.fallback,this.fallback&&(t="hash"),K||(t="abstract"),this.mode=t,t){case"history":this.history=new Re(this,e.base);break;case"hash":this.history=new ze(this,e.base,this.fallback);break;case"abstract":this.history=new Ue(this,e.base)}},Ge={currentRoute:{configurable:!0}};$e.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Ge.currentRoute.get=function(){return this.history&&this.history.current},$e.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof Re||n instanceof ze){var r=function(e){n.setupListeners(),function(e){var r=n.current,a=t.options.scrollBehavior;ve&&a&&"fullPath"in e&&le(t,e,r,!1)}(e)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},$e.prototype.beforeEach=function(e){return qe(this.beforeHooks,e)},$e.prototype.beforeResolve=function(e){return qe(this.resolveHooks,e)},$e.prototype.afterEach=function(e){return qe(this.afterHooks,e)},$e.prototype.onReady=function(e,t){this.history.onReady(e,t)},$e.prototype.onError=function(e){this.history.onError(e)},$e.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.push(e,t,n)}));this.history.push(e,t,n)},$e.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.replace(e,t,n)}));this.history.replace(e,t,n)},$e.prototype.go=function(e){this.history.go(e)},$e.prototype.back=function(){this.go(-1)},$e.prototype.forward=function(){this.go(1)},$e.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},$e.prototype.resolve=function(e,t,n){var r=j(e,t=t||this.history.current,n,this),a=this.match(r,t),i=a.redirectedFrom||a.fullPath,o=function(e,t,n){var r="hash"===n?"#"+t:t;return e?E(e+"/"+r):r}(this.history.base,i,this.mode);return{location:r,route:a,href:o,normalizedTo:r,resolved:a}},$e.prototype.getRoutes=function(){return this.matcher.getRoutes()},$e.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},$e.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties($e.prototype,Ge);var We=$e;function qe(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}$e.install=function e(t){if(!e.installed||U!==t){e.installed=!0,U=t;var n=function(e){return void 0!==e},r=function(e,t){var r=e.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",I),t.component("RouterLink",G);var a=t.config.optionMergeStrategies;a.beforeRouteEnter=a.beforeRouteLeave=a.beforeRouteUpdate=a.created}},$e.version="3.6.5",$e.isNavigationFailure=ke,$e.NavigationFailureType=_e,$e.START_LOCATION=m,K&&window.Vue&&window.Vue.use($e);var Ke="3.6.5"},40188:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BImg:()=>m,props:()=>p});var r=n(2448),a=n(49800),i=n(80072),o=n(17079),s=n(58494),l=n(46710),c=n(89821),u=n(1340),d=n(59809);function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f='',p=(0,u.makePropsConfigurable)({alt:(0,u.makeProp)(i.PROP_TYPE_STRING),blank:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),blankColor:(0,u.makeProp)(i.PROP_TYPE_STRING,"transparent"),block:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),center:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),fluid:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),fluidGrow:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),height:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING),left:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),right:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),rounded:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN_STRING,!1),sizes:(0,u.makeProp)(i.PROP_TYPE_ARRAY_STRING),src:(0,u.makeProp)(i.PROP_TYPE_STRING),srcset:(0,u.makeProp)(i.PROP_TYPE_ARRAY_STRING),thumbnail:(0,u.makeProp)(i.PROP_TYPE_BOOLEAN,!1),width:(0,u.makeProp)(i.PROP_TYPE_NUMBER_STRING)},a.NAME_IMG),m=(0,r.extend)({name:a.NAME_IMG,functional:!0,props:p,render:function(e,t){var n,a=t.props,i=t.data,u=a.alt,p=a.src,m=a.block,g=a.fluidGrow,v=a.rounded,y=(0,c.toInteger)(a.width)||null,b=(0,c.toInteger)(a.height)||null,_=null,I=(0,o.concat)(a.srcset).filter(s.identity).join(","),T=(0,o.concat)(a.sizes).filter(s.identity).join(",");return a.blank&&(!b&&y?b=y:!y&&b&&(y=b),y||b||(y=1,b=1),p=function(e,t,n){var r=encodeURIComponent(f.replace("%{w}",(0,d.toString)(e)).replace("%{h}",(0,d.toString)(t)).replace("%{f}",n));return"data:image/svg+xml;charset=UTF-8,".concat(r)}(y,b,a.blankColor||"transparent"),I=null,T=null),a.left?_="float-left":a.right?_="float-right":a.center&&(_="mx-auto",m=!0),e("img",(0,r.mergeData)(i,{attrs:{src:p,alt:u,width:y?(0,d.toString)(y):null,height:b?(0,d.toString)(b):null,srcset:I||null,sizes:T||null},class:(n={"img-thumbnail":a.thumbnail,"img-fluid":a.fluid||g,"w-100":g,rounded:""===v||!0===v},h(n,"rounded-".concat(v),(0,l.isString)(v)&&""!==v),h(n,_,_),h(n,"d-block",m),n)}))}})},40312:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BCard:()=>r.BCard,BCardBody:()=>i.BCardBody,BCardFooter:()=>l.BCardFooter,BCardGroup:()=>h.BCardGroup,BCardHeader:()=>a.BCardHeader,BCardImg:()=>c.BCardImg,BCardImgLazy:()=>u.BCardImgLazy,BCardSubTitle:()=>s.BCardSubTitle,BCardText:()=>d.BCardText,BCardTitle:()=>o.BCardTitle,CardPlugin:()=>f});var r=n(33052),a=n(43004),i=n(87229),o=n(80663),s=n(34440),l=n(61698),c=n(82958),u=n(69037),d=n(75918),h=n(79202),f=(0,n(96266).pluginFactory)({components:{BCard:r.BCard,BCardHeader:a.BCardHeader,BCardBody:i.BCardBody,BCardTitle:o.BCardTitle,BCardSubTitle:s.BCardSubTitle,BCardFooter:l.BCardFooter,BCardImg:c.BCardImg,BCardImgLazy:u.BCardImgLazy,BCardText:d.BCardText,BCardGroup:h.BCardGroup}})},40748:function(e,t,n){!function(e){"use strict";e.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(95093))},40842:(e,t,n)=>{"use strict";n.r(t),n.d(t,{add:()=>c,angle:()=>R,ceil:()=>f,clone:()=>i,copy:()=>s,create:()=>a,cross:()=>P,dist:()=>G,distance:()=>_,div:()=>$,divide:()=>h,dot:()=>S,equals:()=>H,exactEquals:()=>N,floor:()=>p,forEach:()=>K,fromValues:()=>o,inverse:()=>M,len:()=>Y,length:()=>T,lerp:()=>A,max:()=>g,min:()=>m,mul:()=>U,multiply:()=>d,negate:()=>E,normalize:()=>k,random:()=>x,rotate:()=>D,round:()=>v,scale:()=>y,scaleAndAdd:()=>b,set:()=>l,sqrDist:()=>W,sqrLen:()=>q,squaredDistance:()=>I,squaredLength:()=>w,str:()=>z,sub:()=>j,subtract:()=>u,transformMat2:()=>B,transformMat2d:()=>L,transformMat3:()=>O,transformMat4:()=>C,zero:()=>F});var r=n(17823);function a(){var e=new r.ARRAY_TYPE(2);return r.ARRAY_TYPE!=Float32Array&&(e[0]=0,e[1]=0),e}function i(e){var t=new r.ARRAY_TYPE(2);return t[0]=e[0],t[1]=e[1],t}function o(e,t){var n=new r.ARRAY_TYPE(2);return n[0]=e,n[1]=t,n}function s(e,t){return e[0]=t[0],e[1]=t[1],e}function l(e,t,n){return e[0]=t,e[1]=n,e}function c(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function d(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function h(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function f(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e}function p(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e}function m(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function g(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}function v(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e}function y(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function b(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function _(e,t){var n=t[0]-e[0],r=t[1]-e[1];return Math.hypot(n,r)}function I(e,t){var n=t[0]-e[0],r=t[1]-e[1];return n*n+r*r}function T(e){var t=e[0],n=e[1];return Math.hypot(t,n)}function w(e){var t=e[0],n=e[1];return t*t+n*n}function E(e,t){return e[0]=-t[0],e[1]=-t[1],e}function M(e,t){return e[0]=1/t[0],e[1]=1/t[1],e}function k(e,t){var n=t[0],r=t[1],a=n*n+r*r;return a>0&&(a=1/Math.sqrt(a)),e[0]=t[0]*a,e[1]=t[1]*a,e}function S(e,t){return e[0]*t[0]+e[1]*t[1]}function P(e,t,n){var r=t[0]*n[1]-t[1]*n[0];return e[0]=e[1]=0,e[2]=r,e}function A(e,t,n,r){var a=t[0],i=t[1];return e[0]=a+r*(n[0]-a),e[1]=i+r*(n[1]-i),e}function x(e,t){t=t||1;var n=2*r.RANDOM()*Math.PI;return e[0]=Math.cos(n)*t,e[1]=Math.sin(n)*t,e}function B(e,t,n){var r=t[0],a=t[1];return e[0]=n[0]*r+n[2]*a,e[1]=n[1]*r+n[3]*a,e}function L(e,t,n){var r=t[0],a=t[1];return e[0]=n[0]*r+n[2]*a+n[4],e[1]=n[1]*r+n[3]*a+n[5],e}function O(e,t,n){var r=t[0],a=t[1];return e[0]=n[0]*r+n[3]*a+n[6],e[1]=n[1]*r+n[4]*a+n[7],e}function C(e,t,n){var r=t[0],a=t[1];return e[0]=n[0]*r+n[4]*a+n[12],e[1]=n[1]*r+n[5]*a+n[13],e}function D(e,t,n,r){var a=t[0]-n[0],i=t[1]-n[1],o=Math.sin(r),s=Math.cos(r);return e[0]=a*s-i*o+n[0],e[1]=a*o+i*s+n[1],e}function R(e,t){var n=e[0],r=e[1],a=t[0],i=t[1],o=Math.sqrt(n*n+r*r)*Math.sqrt(a*a+i*i),s=o&&(n*a+r*i)/o;return Math.acos(Math.min(Math.max(s,-1),1))}function F(e){return e[0]=0,e[1]=0,e}function z(e){return"vec2("+e[0]+", "+e[1]+")"}function N(e,t){return e[0]===t[0]&&e[1]===t[1]}function H(e,t){var n=e[0],a=e[1],i=t[0],o=t[1];return Math.abs(n-i)<=r.EPSILON*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(a-o)<=r.EPSILON*Math.max(1,Math.abs(a),Math.abs(o))}var V,Y=T,j=u,U=d,$=h,G=_,W=I,q=w,K=(V=a(),function(e,t,n,r,a,i){var o,s;for(t||(t=2),n||(n=0),s=r?Math.min(r*t+n,e.length):e.length,o=n;o{"use strict";n.r(t),n.d(t,{BSidebar:()=>r.BSidebar,SidebarPlugin:()=>i});var r=n(43502),a=n(95968),i=(0,n(96266).pluginFactory)({components:{BSidebar:r.BSidebar},plugins:{VBTogglePlugin:a.VBTogglePlugin}})},41273:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormDatalist:()=>m,props:()=>p});var r=n(2448),a=n(49800),i=n(80072),o=n(41897),s=n(91671),l=n(1340),c=n(86582),u=n(48917);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t=3&&e%100<=10?3:e%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 عام"]},r=function(e){return function(r,a,i,o){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,r)}},a=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{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(e){return"م"===e},meridiem:function(e,t,n){return e<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")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(95093))},41523:(e,t,n)=>{"use strict";n.r(t),n.d(t,{resetConfig:()=>f,setConfig:()=>h});var r=n(2448),a=n(30254),i=n(57938),o=n(56630),s=n(46710),l=n(91671),c=n(24032);function u(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};(0,s.isPlainObject)(t)&&(0,l.getOwnPropertyNames)(t).forEach((function(n){var r=t[n];"breakpoints"===n?!(0,s.isArray)(r)||r.length<2||r.some((function(e){return!(0,s.isString)(e)||0===e.length}))?(0,c.warn)('"breakpoints" must be an array of at least 2 breakpoint names',a.NAME):e.$_config[n]=(0,i.cloneDeep)(r):(0,s.isPlainObject)(r)&&(e.$_config[n]=(0,l.getOwnPropertyNames)(r).reduce((function(e,t){return(0,s.isUndefined)(r[t])||(e[t]=(0,i.cloneDeep)(r[t])),e}),e.$_config[n]||{}))}))}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return(0,i.cloneDeep)(this.$_config)}},{key:"getConfigValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return(0,i.cloneDeep)((0,o.getRaw)(this.$_config,e,t))}}],n&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Vue;t.prototype[a.PROP_NAME]=r.Vue.prototype[a.PROP_NAME]=t.prototype[a.PROP_NAME]||r.Vue.prototype[a.PROP_NAME]||new d,t.prototype[a.PROP_NAME].setConfig(e)},f=function(){r.Vue.prototype[a.PROP_NAME]&&r.Vue.prototype[a.PROP_NAME].resetConfig&&r.Vue.prototype[a.PROP_NAME].resetConfig()}},41535:(e,t,n)=>{"use strict";n.r(t),n.d(t,{configure:()=>d,getChunkSize:()=>u,getConfiguration:()=>c});var r=n(70048),a=n(38261);const i=64;let o=2;try{typeof navigator!=r.UNDEFINED_TYPE&&navigator.hardwareConcurrency&&(o=navigator.hardwareConcurrency)}catch(e){}const s={chunkSize:524288,maxWorkers:o,terminateWorkerTimeout:5e3,useWebWorkers:!0,useCompressionStream:!0,workerScripts:r.UNDEFINED_VALUE,CompressionStreamNative:typeof CompressionStream!=r.UNDEFINED_TYPE&&CompressionStream,DecompressionStreamNative:typeof DecompressionStream!=r.UNDEFINED_TYPE&&DecompressionStream},l=Object.assign({},s);function c(){return l}function u(e){return Math.max(e.chunkSize,i)}function d(e){const{baseURL:t,chunkSize:n,maxWorkers:i,terminateWorkerTimeout:o,useCompressionStream:s,useWebWorkers:c,Deflate:u,Inflate:d,CompressionStream:f,DecompressionStream:p,workerScripts:m}=e;if(h("baseURL",t),h("chunkSize",n),h("maxWorkers",i),h("terminateWorkerTimeout",o),h("useCompressionStream",s),h("useWebWorkers",c),u&&(l.CompressionStream=new a.StreamAdapter(u)),d&&(l.DecompressionStream=new a.StreamAdapter(d)),h("CompressionStream",f),h("DecompressionStream",p),m!==r.UNDEFINED_VALUE){const{deflate:e,inflate:t}=m;if((e||t)&&(l.workerScripts||(l.workerScripts={})),e){if(!Array.isArray(e))throw new Error("workerScripts.deflate must be an array");l.workerScripts.deflate=e}if(t){if(!Array.isArray(t))throw new Error("workerScripts.inflate must be an array");l.workerScripts.inflate=t}}}function h(e,t){t!==r.UNDEFINED_VALUE&&(l[e]=t)}},41544:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BTabs:()=>V,props:()=>H});var r,a=n(2448),i=n(49800),o=n(85493),s=n(87013),l=n(36714),c=n(80072),u=n(94159),d=n(17079),h=n(72339),f=n(71402),p=n(87057),m=n(58494),g=n(46710),v=n(60277),y=n(28014),b=n(38199),_=n(89821),I=n(91671),T=n(74923),w=n(1340),E=n(56632),M=n(81074),k=n(48917),S=n(66344),P=n(28594);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t0&&void 0!==arguments[0])||arguments[0];if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t){this.$_observer=(0,T.observeDom)(this.$refs.content,(function(){e.$nextTick((function(){(0,f.requestAF)((function(){e.updateTabs()}))}))}),{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var e=this.registeredTabs,t=[];if(o.IS_BROWSER&&e.length>0){var n=e.map((function(e){return"#".concat(e.safeId())})).join(", ");t=(0,f.selectAll)(n,this.$el).map((function(e){return e.id})).filter(m.identity)}return(0,E.stableSort)(e,(function(e,n){return t.indexOf(e.safeId())-t.indexOf(n.safeId())}))},updateTabs:function(){var e=this.getTabs(),t=e.indexOf(e.slice().reverse().find((function(e){return e.localActive&&!e.disabled})));if(t<0){var n=this.currentTab;n>=e.length?t=e.indexOf(e.slice().reverse().find(F)):e[n]&&!e[n].disabled&&(t=n)}t<0&&(t=e.indexOf(e.find(F))),e.forEach((function(e,n){e.localActive=n===t})),this.tabs=e,this.currentTab=t},getButtonForTab:function(e){return(this.$refs.buttons||[]).find((function(t){return t.tab===e}))},updateButton:function(e){var t=this.getButtonForTab(e);t&&t.$forceUpdate&&t.$forceUpdate()},activateTab:function(e){var t=this.currentTab,n=this.tabs,r=!1;if(e){var a=n.indexOf(e);if(a!==t&&a>-1&&!e.disabled){var i=new h.BvEvent(s.EVENT_NAME_ACTIVATE_TAB,{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(i.type,a,t,i),i.defaultPrevented||(this.currentTab=a,r=!0)}}return r||this[D]===t||this.$emit(R,t),r},deactivateTab:function(e){return!!e&&this.activateTab(this.tabs.filter((function(t){return t!==e})).find(F))},focusButton:function(e){var t=this;this.$nextTick((function(){(0,f.attemptFocus)(t.getButtonForTab(e))}))},emitTabClick:function(e,t){(0,g.isEvent)(t)&&e&&e.$emit&&!e.disabled&&e.$emit(s.EVENT_NAME_CLICK,t)},clickTab:function(e,t){this.activateTab(e),this.emitTabClick(e,t)},firstTab:function(e){var t=this.tabs.find(F);this.activateTab(t)&&e&&(this.focusButton(t),this.emitTabClick(t,e))},previousTab:function(e){var t=(0,y.mathMax)(this.currentTab,0),n=this.tabs.slice(0,t).reverse().find(F);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},nextTab:function(e){var t=(0,y.mathMax)(this.currentTab,-1),n=this.tabs.slice(t+1).find(F);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},lastTab:function(e){var t=this.tabs.slice().reverse().find(F);this.activateTab(t)&&e&&(this.focusButton(t),this.emitTabClick(t,e))}},render:function(e){var t=this,n=this.align,r=this.card,i=this.end,o=this.fill,l=this.firstTab,c=this.justified,d=this.lastTab,h=this.nextTab,f=this.noKeyNav,p=this.noNavStyle,m=this.pills,g=this.previousTab,v=this.small,y=this.tabs,b=this.vertical,_=y.find((function(e){return e.localActive&&!e.disabled})),I=y.find((function(e){return!e.disabled})),T=y.map((function(n,r){var i,o=n.safeId,c=null;return f||(c=-1,(n===_||!_&&n===I)&&(c=null)),e(z,B({props:{controls:o?o():null,id:n.controlledBy||(o?o("_BV_tab_button_"):null),noKeyNav:f,posInSet:r+1,setSize:y.length,tab:n,tabIndex:c},on:(i={},B(i,s.EVENT_NAME_CLICK,(function(e){t.clickTab(n,e)})),B(i,s.EVENT_NAME_FIRST,l),B(i,s.EVENT_NAME_PREV,g),B(i,s.EVENT_NAME_NEXT,h),B(i,s.EVENT_NAME_LAST,d),i),key:n[a.COMPONENT_UID_KEY]||r,ref:"buttons"},a.REF_FOR_KEY,!0))})),w=e(P.BNav,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:o,justified:c,align:n,tabs:!p&&!m,pills:!p&&m,vertical:b,small:v,cardHeader:r&&!b},ref:"nav"},[this.normalizeSlot(u.SLOT_NAME_TABS_START)||e(),T,this.normalizeSlot(u.SLOT_NAME_TABS_END)||e()]);w=e("div",{class:[{"card-header":r&&!b&&!i,"card-footer":r&&!b&&i,"col-auto":b},this.navWrapperClass],key:"bv-tabs-nav"},[w]);var E=this.normalizeSlot()||[],M=e();0===E.length&&(M=e("div",{class:["tab-pane","active",{"card-body":r}],key:"bv-empty-tab"},this.normalizeSlot(u.SLOT_NAME_EMPTY)));var k=e("div",{staticClass:"tab-content",class:[{col:b},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[E,M]);return e(this.tag,{staticClass:"tabs",class:{row:b,"no-gutters":b&&r},attrs:{id:this.safeId()}},[i?k:e(),w,i?e():k])}})},41734:function(e,t,n){!function(e){"use strict";var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],r=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],a=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],i=["Do","Lu","Má","Cé","Dé","A","Sa"];e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:a,weekdaysMin:i,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(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(95093))},41794:function(e,t,n){!function(e){"use strict";e.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(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},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(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(95093))},41817:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RX_ARRAY_NOTATION:()=>r,RX_ASPECT:()=>x,RX_ASPECT_SEPARATOR:()=>B,RX_BV_PREFIX:()=>a,RX_COL_CLASS:()=>L,RX_DATE:()=>w,RX_DATE_SPLIT:()=>E,RX_DIGITS:()=>i,RX_ENCODED_COMMA:()=>S,RX_ENCODE_REVERSE:()=>P,RX_EXTENSION:()=>o,RX_HASH:()=>s,RX_HASH_ID:()=>l,RX_HREF:()=>k,RX_HTML_TAGS:()=>c,RX_HYPHENATE:()=>u,RX_ICON_PREFIX:()=>O,RX_LOWER_UPPER:()=>d,RX_NUMBER:()=>h,RX_PLUS:()=>f,RX_QUERY_START:()=>A,RX_REGEXP_REPLACE:()=>p,RX_SPACES:()=>m,RX_SPACE_SPLIT:()=>g,RX_STAR:()=>v,RX_START_SPACE_WORD:()=>y,RX_STRIP_LOCALE_MODS:()=>C,RX_TIME:()=>M,RX_TRIM_LEFT:()=>b,RX_TRIM_RIGHT:()=>_,RX_UNDERSCORE:()=>I,RX_UN_KEBAB:()=>T});var r=/\[(\d+)]/g,a=/^(BV?)/,i=/^\d+$/,o=/^\..+/,s=/^#/,l=/^#[A-Za-z]+[\w\-:.]*$/,c=/(<([^>]+)>)/gi,u=/\B([A-Z])/g,d=/([a-z])([A-Z])/g,h=/^[0-9]*\.?[0-9]+$/,f=/\+/g,p=/[-/\\^$*+?.()|[\]{}]/g,m=/[\s\uFEFF\xA0]+/g,g=/\s+/,v=/\/\*$/,y=/(\s|^)(\w)/g,b=/^\s+/,_=/\s+$/,I=/_/g,T=/-(\w)/g,w=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,E=/-|\s|T/,M=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,k=/^.*(#[^#]+)$/,S=/%2C/g,P=/[!'()*]/g,A=/^(\?|#|&)/,x=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,B=/[/:]/,L=/^col-/,O=/^BIcon/,C=/-u-.+/},41848:function(e,t,n){!function(e){"use strict";e.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(95093))},41897:(e,t,n)=>{"use strict";n.r(t),n.d(t,{htmlOrText:()=>i,stripTags:()=>a});var r=n(41817),a=function(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(r.RX_HTML_TAGS,"")},i=function(e,t){return e?{innerHTML:e}:t?{textContent:t}:{}}},42006:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BInputGroup:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(41897),l=n(33486),c=n(1340),u=n(16167),d=n(63591),h=n(50596);var f=(0,c.makePropsConfigurable)({append:(0,c.makeProp)(i.PROP_TYPE_STRING),appendHtml:(0,c.makeProp)(i.PROP_TYPE_STRING),id:(0,c.makeProp)(i.PROP_TYPE_STRING),prepend:(0,c.makeProp)(i.PROP_TYPE_STRING),prependHtml:(0,c.makeProp)(i.PROP_TYPE_STRING),size:(0,c.makeProp)(i.PROP_TYPE_STRING),tag:(0,c.makeProp)(i.PROP_TYPE_STRING,"div")},a.NAME_INPUT_GROUP),p=(0,r.extend)({name:a.NAME_INPUT_GROUP,functional:!0,props:f,render:function(e,t){var n=t.props,a=t.data,i=t.slots,c=t.scopedSlots,f=n.prepend,p=n.prependHtml,m=n.append,g=n.appendHtml,v=n.size,y=c||{},b=i(),_={},I=e(),T=(0,l.hasNormalizedSlot)(o.SLOT_NAME_PREPEND,y,b);(T||f||p)&&(I=e(d.BInputGroupPrepend,[T?(0,l.normalizeSlot)(o.SLOT_NAME_PREPEND,_,y,b):e(h.BInputGroupText,{domProps:(0,s.htmlOrText)(p,f)})]));var w,E,M,k=e(),S=(0,l.hasNormalizedSlot)(o.SLOT_NAME_APPEND,y,b);return(S||m||g)&&(k=e(u.BInputGroupAppend,[S?(0,l.normalizeSlot)(o.SLOT_NAME_APPEND,_,y,b):e(h.BInputGroupText,{domProps:(0,s.htmlOrText)(g,m)})])),e(n.tag,(0,r.mergeData)(a,{staticClass:"input-group",class:(w={},E="input-group-".concat(v),M=v,E in w?Object.defineProperty(w,E,{value:M,enumerable:!0,configurable:!0,writable:!0}):w[E]=M,w),attrs:{id:n.id||null,role:"group"}}),[I,(0,l.normalizeSlot)(o.SLOT_NAME_DEFAULT,_,y,b),k])}})},42197:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=(r=n(62893))&&"object"==typeof r&&"default"in r?r.default:r;function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1&&void 0!==arguments[1]&&arguments[1],n=e.to,r=e.from;if(n&&(r||!1!==t)&&this.transports[n])if(t)this.transports[n]=[];else{var a=this.$_getTransportIndex(e);if(a>=0){var i=this.transports[n].slice(0);i.splice(a,1),this.transports[n]=i}}},registerTarget:function(e,t,n){s&&(this.trackInstances&&!n&&this.targets[e]&&console.warn("[portal-vue]: Target ".concat(e," already exists")),this.$set(this.targets,e,Object.freeze([t])))},unregisterTarget:function(e){this.$delete(this.targets,e)},registerSource:function(e,t,n){s&&(this.trackInstances&&!n&&this.sources[e]&&console.warn("[portal-vue]: source ".concat(e," already exists")),this.$set(this.sources,e,Object.freeze([t])))},unregisterSource:function(e){this.$delete(this.sources,e)},hasTarget:function(e){return!(!this.targets[e]||!this.targets[e][0])},hasSource:function(e){return!(!this.sources[e]||!this.sources[e][0])},hasContentFor:function(e){return!!this.transports[e]&&!!this.transports[e].length},$_getTransportIndex:function(e){var t=e.to,n=e.from;for(var r in this.transports[t])if(this.transports[t][r].from===n)return+r;return-1}}}),f=new h(c),p=1,m=a.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(p++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var e=this;this.$nextTick((function(){f.registerSource(e.name,e)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){f.unregisterSource(this.name),this.clear()},watch:{to:function(e,t){t&&t!==e&&this.clear(t),this.sendUpdate()}},methods:{clear:function(e){var t={from:this.name,to:e||this.to};f.close(t)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(e){return"function"==typeof e?e(this.slotProps):e},sendUpdate:function(){var e=this.normalizeSlots();if(e){var t={from:this.name,to:this.to,passengers:o(e),order:this.order};f.open(t)}else this.clear()}},render:function(e){var t=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return t&&this.disabled?t.length<=1&&this.slim?this.normalizeOwnChildren(t)[0]:e(n,[this.normalizeOwnChildren(t)]):this.slim?e():e(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),g=a.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:f.transports,firstRender:!0}},created:function(){var e=this;this.$nextTick((function(){f.registerTarget(e.name,e)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(e,t){f.unregisterTarget(t),f.registerTarget(e,this)}},mounted:function(){var e=this;this.transition&&this.$nextTick((function(){e.firstRender=!1}))},beforeDestroy:function(){f.unregisterTarget(this.name)},computed:{ownTransports:function(){var e=this.transports[this.name]||[];return this.multiple?e:0===e.length?[]:[e[e.length-1]]},passengers:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.reduce((function(e,n){var r=n.passengers[0],a="function"==typeof r?r(t):n.passengers;return e.concat(a)}),[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var e=this.slim&&!this.transition;return e&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),e}},render:function(e){var t=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return t?n[0]:this.slim&&!r?e():e(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),v=0,y=["disabled","name","order","slim","slotProps","tag","to"],b=["multiple","transition"],_=a.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(v++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var e=document.querySelector(this.mountTo);if(e){var t=this.$props;if(f.targets[t.name])t.bail?console.warn("[portal-vue]: Target ".concat(t.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=f.targets[t.name];else{var n=t.append;if(n){var r="string"==typeof n?n:"DIV",a=document.createElement(r);e.appendChild(a),e=a}var i=l(this.$props,b);i.slim=this.targetSlim,i.tag=this.targetTag,i.slotProps=this.targetSlotProps,i.name=this.to,this.portalTarget=new g({el:e,parent:this.$parent||this,propsData:i})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var e=this.portalTarget;if(this.append){var t=e.$el;t.parentNode.removeChild(t)}e.$destroy()},render:function(e){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),e();if(!this.$scopedSlots.manual){var t=l(this.$props,y);return e(m,{props:t,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||e()}});var I={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.component(t.portalName||"Portal",m),e.component(t.portalTargetName||"PortalTarget",g),e.component(t.MountingPortalName||"MountingPortal",_)}};t.default=I,t.Portal=m,t.PortalTarget=g,t.MountingPortal=_,t.Wormhole=f},42353:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%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(e){return function(t,a,i,o){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:i,monthsShort:i,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(e){return"م"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(95093))},42477:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BVModalPlugin:()=>A});var r=n(49800),a=n(87013),i=n(3289),o=n(17079),s=n(81586),l=n(71402),c=n(87057),u=n(46710),d=n(91671),h=n(96266),f=n(24032),p=n(90858),m=n(92952),g=n(3086);function v(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:{},l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(n&&!(0,f.warnNoPromiseSupport)(w)&&!(0,f.warnNotClient)(w)&&(0,u.isFunction)(l))return function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k;if(!(0,f.warnNotClient)(w)&&!(0,f.warnNoPromiseSupport)(w)){var l=(0,p.createNewChildComponent)(e,t,{propsData:b(b(b({},P((0,s.getComponentConfig)(r.NAME_MODAL))),{},{hideHeaderClose:!0,hideHeader:!(n.title||n.titleHtml)},(0,d.omit)(n,(0,d.keys)(S))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return(0,d.keys)(S).forEach((function(e){(0,u.isUndefined)(n[e])||(l.$slots[S[e]]=(0,o.concat)(n[e]))})),new Promise((function(e,t){var n=!1;l.$once(a.HOOK_EVENT_NAME_DESTROYED,(function(){n||t(new Error("BootstrapVue MsgBox destroyed before resolve"))})),l.$on(a.EVENT_NAME_HIDE,(function(t){if(!t.defaultPrevented){var r=i(t);t.defaultPrevented||(n=!0,e(r))}}));var r=document.createElement("div");document.body.appendChild(r),l.$mount(r)}))}}(e,b(b({},P(i)),{},{msgBoxContent:n}),l)},h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(0,d.assign)(this,{_vm:t,_root:(0,m.getEventRoot)(t)}),(0,d.defineProperties)(this,{_vm:(0,d.readonlyDescriptor)(),_root:(0,d.readonlyDescriptor)()})}var t,a,i;return t=e,a=[{key:"show",value:function(e){if(e&&this._root){for(var t,n=arguments.length,a=new Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{}),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:e});return n(this._vm,e,t,(function(){return!0}))}},{key:"msgBoxConfirm",value:function(e){var t=b(b({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return n(this._vm,e,t,(function(e){var t=e.trigger;return"ok"===t||"cancel"!==t&&null}))}}],a&&v(t.prototype,a),i&&v(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.mixin({beforeCreate:function(){this[E]=new h(this)}}),(0,d.hasOwnProperty)(e.prototype,w)||(0,d.defineProperty)(e.prototype,w,{get:function(){return this&&this[E]||(0,f.warn)('"'.concat(w,'" must be accessed from a Vue instance "this" context.'),r.NAME_MODAL),this[E]}})}}})},42545:(e,t,n)=>{"use strict";n.r(t),n.d(t,{formControlMixin:()=>c,props:()=>l});var r=n(2448),a=n(80072),i=n(71402),o=n(1340),s="input, textarea, select",l=(0,o.makePropsConfigurable)({autofocus:(0,o.makeProp)(a.PROP_TYPE_BOOLEAN,!1),disabled:(0,o.makeProp)(a.PROP_TYPE_BOOLEAN,!1),form:(0,o.makeProp)(a.PROP_TYPE_STRING),id:(0,o.makeProp)(a.PROP_TYPE_STRING),name:(0,o.makeProp)(a.PROP_TYPE_STRING),required:(0,o.makeProp)(a.PROP_TYPE_BOOLEAN,!1)},"formControls"),c=(0,r.extend)({props:l,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var e=this;this.$nextTick((function(){(0,i.requestAF)((function(){var t=e.$el;e.autofocus&&(0,i.isVisible)(t)&&((0,i.matches)(t,s)||(t=(0,i.select)(s,t)),(0,i.attemptFocus)(t))}))}))}}})},42714:(e,t,n)=>{"use strict";n.r(t),n.d(t,{safeVueInstance:()=>a});var r=n(2448);function a(e){return r.isVue3?new Proxy(e,{get:function(e,t){return t in e?e[t]:void 0}}):e}},42929:(e,t,n)=>{"use strict";n.r(t),n.d(t,{filterEvent:()=>o});var r=n(71402),a=n(22105),i=["TD","TH","TR"],o=function(e){if(!e||!e.target)return!1;var t=e.target;if(t.disabled||-1!==i.indexOf(t.tagName))return!1;if((0,r.closest)(".dropdown-menu",t))return!0;var n="LABEL"===t.tagName?t:(0,r.closest)("label",t);if(n){var o=(0,r.getAttr)(n,"for"),s=o?(0,r.getById)(o):(0,r.select)("input, select, textarea",n);if(s&&!s.disabled)return!0}return(0,r.matches)(t,a.EVENT_FILTER)}},42991:(e,t,n)=>{"use strict";n.r(t),n.d(t,{add:()=>A,clone:()=>s,conjugate:()=>R,copy:()=>p,create:()=>o,dot:()=>O,equals:()=>U,exactEquals:()=>j,fromMat4:()=>f,fromRotation:()=>h,fromRotationTranslation:()=>u,fromRotationTranslationValues:()=>c,fromTranslation:()=>d,fromValues:()=>l,getDual:()=>y,getReal:()=>v,getTranslation:()=>I,identity:()=>m,invert:()=>D,len:()=>z,length:()=>F,lerp:()=>C,mul:()=>B,multiply:()=>x,normalize:()=>V,rotateAroundAxis:()=>P,rotateByQuatAppend:()=>k,rotateByQuatPrepend:()=>S,rotateX:()=>w,rotateY:()=>E,rotateZ:()=>M,scale:()=>L,set:()=>g,setDual:()=>_,setReal:()=>b,sqrLen:()=>H,squaredLength:()=>N,str:()=>Y,translate:()=>T});var r=n(17823),a=n(12221),i=n(67684);function o(){var e=new r.ARRAY_TYPE(8);return r.ARRAY_TYPE!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[4]=0,e[5]=0,e[6]=0,e[7]=0),e[3]=1,e}function s(e){var t=new r.ARRAY_TYPE(8);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t}function l(e,t,n,a,i,o,s,l){var c=new r.ARRAY_TYPE(8);return c[0]=e,c[1]=t,c[2]=n,c[3]=a,c[4]=i,c[5]=o,c[6]=s,c[7]=l,c}function c(e,t,n,a,i,o,s){var l=new r.ARRAY_TYPE(8);l[0]=e,l[1]=t,l[2]=n,l[3]=a;var c=.5*i,u=.5*o,d=.5*s;return l[4]=c*a+u*n-d*t,l[5]=u*a+d*e-c*n,l[6]=d*a+c*t-u*e,l[7]=-c*e-u*t-d*n,l}function u(e,t,n){var r=.5*n[0],a=.5*n[1],i=.5*n[2],o=t[0],s=t[1],l=t[2],c=t[3];return e[0]=o,e[1]=s,e[2]=l,e[3]=c,e[4]=r*c+a*l-i*s,e[5]=a*c+i*o-r*l,e[6]=i*c+r*s-a*o,e[7]=-r*o-a*s-i*l,e}function d(e,t){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e[4]=.5*t[0],e[5]=.5*t[1],e[6]=.5*t[2],e[7]=0,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=0,e[5]=0,e[6]=0,e[7]=0,e}function f(e,t){var n=a.create();i.getRotation(n,t);var o=new r.ARRAY_TYPE(3);return i.getTranslation(o,t),u(e,n,o),e}function p(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e}function m(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e[6]=0,e[7]=0,e}function g(e,t,n,r,a,i,o,s,l){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e[4]=i,e[5]=o,e[6]=s,e[7]=l,e}var v=a.copy;function y(e,t){return e[0]=t[4],e[1]=t[5],e[2]=t[6],e[3]=t[7],e}var b=a.copy;function _(e,t){return e[4]=t[0],e[5]=t[1],e[6]=t[2],e[7]=t[3],e}function I(e,t){var n=t[4],r=t[5],a=t[6],i=t[7],o=-t[0],s=-t[1],l=-t[2],c=t[3];return e[0]=2*(n*c+i*o+r*l-a*s),e[1]=2*(r*c+i*s+a*o-n*l),e[2]=2*(a*c+i*l+n*s-r*o),e}function T(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=.5*n[0],l=.5*n[1],c=.5*n[2],u=t[4],d=t[5],h=t[6],f=t[7];return e[0]=r,e[1]=a,e[2]=i,e[3]=o,e[4]=o*s+a*c-i*l+u,e[5]=o*l+i*s-r*c+d,e[6]=o*c+r*l-a*s+h,e[7]=-r*s-a*l-i*c+f,e}function w(e,t,n){var r=-t[0],i=-t[1],o=-t[2],s=t[3],l=t[4],c=t[5],u=t[6],d=t[7],h=l*s+d*r+c*o-u*i,f=c*s+d*i+u*r-l*o,p=u*s+d*o+l*i-c*r,m=d*s-l*r-c*i-u*o;return a.rotateX(e,t,n),r=e[0],i=e[1],o=e[2],s=e[3],e[4]=h*s+m*r+f*o-p*i,e[5]=f*s+m*i+p*r-h*o,e[6]=p*s+m*o+h*i-f*r,e[7]=m*s-h*r-f*i-p*o,e}function E(e,t,n){var r=-t[0],i=-t[1],o=-t[2],s=t[3],l=t[4],c=t[5],u=t[6],d=t[7],h=l*s+d*r+c*o-u*i,f=c*s+d*i+u*r-l*o,p=u*s+d*o+l*i-c*r,m=d*s-l*r-c*i-u*o;return a.rotateY(e,t,n),r=e[0],i=e[1],o=e[2],s=e[3],e[4]=h*s+m*r+f*o-p*i,e[5]=f*s+m*i+p*r-h*o,e[6]=p*s+m*o+h*i-f*r,e[7]=m*s-h*r-f*i-p*o,e}function M(e,t,n){var r=-t[0],i=-t[1],o=-t[2],s=t[3],l=t[4],c=t[5],u=t[6],d=t[7],h=l*s+d*r+c*o-u*i,f=c*s+d*i+u*r-l*o,p=u*s+d*o+l*i-c*r,m=d*s-l*r-c*i-u*o;return a.rotateZ(e,t,n),r=e[0],i=e[1],o=e[2],s=e[3],e[4]=h*s+m*r+f*o-p*i,e[5]=f*s+m*i+p*r-h*o,e[6]=p*s+m*o+h*i-f*r,e[7]=m*s-h*r-f*i-p*o,e}function k(e,t,n){var r=n[0],a=n[1],i=n[2],o=n[3],s=t[0],l=t[1],c=t[2],u=t[3];return e[0]=s*o+u*r+l*i-c*a,e[1]=l*o+u*a+c*r-s*i,e[2]=c*o+u*i+s*a-l*r,e[3]=u*o-s*r-l*a-c*i,s=t[4],l=t[5],c=t[6],u=t[7],e[4]=s*o+u*r+l*i-c*a,e[5]=l*o+u*a+c*r-s*i,e[6]=c*o+u*i+s*a-l*r,e[7]=u*o-s*r-l*a-c*i,e}function S(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=n[0],l=n[1],c=n[2],u=n[3];return e[0]=r*u+o*s+a*c-i*l,e[1]=a*u+o*l+i*s-r*c,e[2]=i*u+o*c+r*l-a*s,e[3]=o*u-r*s-a*l-i*c,s=n[4],l=n[5],c=n[6],u=n[7],e[4]=r*u+o*s+a*c-i*l,e[5]=a*u+o*l+i*s-r*c,e[6]=i*u+o*c+r*l-a*s,e[7]=o*u-r*s-a*l-i*c,e}function P(e,t,n,a){if(Math.abs(a)0){n=Math.sqrt(n);var r=t[0]/n,a=t[1]/n,i=t[2]/n,o=t[3]/n,s=t[4],l=t[5],c=t[6],u=t[7],d=r*s+a*l+i*c+o*u;e[0]=r,e[1]=a,e[2]=i,e[3]=o,e[4]=(s-r*d)/n,e[5]=(l-a*d)/n,e[6]=(c-i*d)/n,e[7]=(u-o*d)/n}return e}function Y(e){return"quat2("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+")"}function j(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]}function U(e,t){var n=e[0],a=e[1],i=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],d=t[0],h=t[1],f=t[2],p=t[3],m=t[4],g=t[5],v=t[6],y=t[7];return Math.abs(n-d)<=r.EPSILON*Math.max(1,Math.abs(n),Math.abs(d))&&Math.abs(a-h)<=r.EPSILON*Math.max(1,Math.abs(a),Math.abs(h))&&Math.abs(i-f)<=r.EPSILON*Math.max(1,Math.abs(i),Math.abs(f))&&Math.abs(o-p)<=r.EPSILON*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(s-m)<=r.EPSILON*Math.max(1,Math.abs(s),Math.abs(m))&&Math.abs(l-g)<=r.EPSILON*Math.max(1,Math.abs(l),Math.abs(g))&&Math.abs(c-v)<=r.EPSILON*Math.max(1,Math.abs(c),Math.abs(v))&&Math.abs(u-y)<=r.EPSILON*Math.max(1,Math.abs(u),Math.abs(y))}},43004:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BCardHeader:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(41897),s=n(91671),l=n(1340),c=n(53389);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{MODEL_EVENT_NAME:()=>A,MODEL_PROP_NAME:()=>P,formRadioCheckGroupMixin:()=>B,props:()=>x});var r,a=n(2448),i=n(80072),o=n(94159),s=n(41897),l=n(60277),c=n(38199),u=n(91671),d=n(1340),h=n(99426),f=n(57900),p=n(42545),m=n(44337),g=n(86582),v=n(62579),y=n(69849),b=n(81074),_=n(48917);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BSidebar:()=>Y,props:()=>R});var r,a=n(2448),i=n(49800),o=n(85493),s=n(87013),l=n(36714),c=n(80072),u=n(94159),d=n(71402),h=n(87057),f=n(38199),p=n(91671),m=n(1340),g=n(64211),v=n(81074),y=n(60213),b=n(48917),_=n(61651),I=n(60837),T=n(34877);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.noCloseOnRouteChange||e.fullPath===t.fullPath||this.hide()})),r),created:function(){this.$_returnFocusEl=null},mounted:function(){var e=this;this.listenOnRoot(P,this.handleToggle),this.listenOnRoot(S,this.handleSync),this.$nextTick((function(){e.emitState(e.localShow)}))},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(A,this.safeId(),e)},emitSync:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(x,this.safeId(),e)},handleToggle:function(e){e&&e===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(e){var t=this;e&&e===this.safeId()&&this.$nextTick((function(){t.emitSync(t.localShow)}))},onKeydown:function(e){var t=e.keyCode;!this.noCloseOnEsc&&t===l.CODE_ESC&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var e=(0,d.getTabables)(this.$refs.content);this.enforceFocus(e.reverse()[0])},onBottomTrapFocus:function(){var e=(0,d.getTabables)(this.$refs.content);this.enforceFocus(e[0])},onBeforeEnter:function(){this.$_returnFocusEl=(0,d.getActiveElement)(o.IS_BROWSER?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(e){(0,d.contains)(e,(0,d.getActiveElement)())||this.enforceFocus(e),this.$emit(s.EVENT_NAME_SHOWN)},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit(s.EVENT_NAME_HIDDEN)},enforceFocus:function(e){this.noEnforceFocus||(0,d.attemptFocus)(e)}},render:function(e){var t,n=this.bgVariant,r=this.width,a=this.textVariant,i=this.localShow,o=""===this.shadow||this.shadow,s=e(this.tag,{staticClass:k,class:[(t={shadow:!0===o},M(t,"shadow-".concat(o),o&&!0!==o),M(t,"".concat(k,"-right"),this.right),M(t,"bg-".concat(n),n),M(t,"text-".concat(a),a),t),this.sidebarClass],style:{width:r},attrs:this.computedAttrs,directives:[{name:"show",value:i}],ref:"content"},[H(e,this)]);s=e("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[s]);var l=e(T.BVTransition,{props:{noFade:this.noSlide}},[V(e,this)]),c=e(),u=e();return this.backdrop&&i&&(c=e("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),u=e("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),e("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[c,s,u,l])}})},43580:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BListGroup:()=>c,props:()=>l});var r=n(2448),a=n(49800),i=n(80072),o=n(46710),s=n(1340);var l=(0,s.makePropsConfigurable)({flush:(0,s.makeProp)(i.PROP_TYPE_BOOLEAN,!1),horizontal:(0,s.makeProp)(i.PROP_TYPE_BOOLEAN_STRING,!1),tag:(0,s.makeProp)(i.PROP_TYPE_STRING,"div")},a.NAME_LIST_GROUP),c=(0,r.extend)({name:a.NAME_LIST_GROUP,functional:!0,props:l,render:function(e,t){var n=t.props,a=t.data,i=t.children,s=""===n.horizontal||n.horizontal;s=!n.flush&&s;var l,c,u,d={staticClass:"list-group",class:(l={"list-group-flush":n.flush,"list-group-horizontal":!0===s},c="list-group-horizontal-".concat(s),u=(0,o.isString)(s),c in l?Object.defineProperty(l,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[c]=u,l)};return e(n.tag,(0,r.mergeData)(a,d),i)}})},43606:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AspectPlugin:()=>a,BAspect:()=>r.BAspect});var r=n(52112),a=(0,n(96266).pluginFactory)({components:{BAspect:r.BAspect}})},43784:function(e,t,n){!function(e){"use strict";var t="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("_"),r=[/^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],a=/^(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;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(95093))},43861:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],a=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i];e.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:r,longMonthsParse:r,shortMonthsParse:a,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(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(95093))},43886:(e,t,n)=>{"use strict";n.r(t),n.d(t,{memoize:()=>a});var r=n(91671),a=function(e){var t=(0,r.create)(null);return function(){for(var n=arguments.length,r=new Array(n),a=0;a{"use strict";n.r(t),n.d(t,{BBreadcrumb:()=>r.BBreadcrumb,BBreadcrumbItem:()=>a.BBreadcrumbItem,BBreadcrumbLink:()=>i.BBreadcrumbLink,BreadcrumbPlugin:()=>o});var r=n(33146),a=n(25624),i=n(98923),o=(0,n(96266).pluginFactory)({components:{BBreadcrumb:r.BBreadcrumb,BBreadcrumbItem:a.BBreadcrumbItem,BBreadcrumbLink:i.BBreadcrumbLink}})},44337:(e,t,n)=>{"use strict";n.r(t),n.d(t,{formCustomMixin:()=>s,props:()=>o});var r=n(2448),a=n(80072),i=n(1340),o=(0,i.makePropsConfigurable)({plain:(0,i.makeProp)(a.PROP_TYPE_BOOLEAN,!1)},"formControls"),s=(0,r.extend)({props:o,computed:{custom:function(){return!this.plain}}})},44429:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){if("m"===n)return t?"jedna minuta":r?"jednu minutu":"jedne minute"}function n(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return"jedan sat";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.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:n,m:t,mm:n,h:n,hh:n,d:"dan",dd:n,M:"mjesec",MM:n,y:"godinu",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(95093))},44488:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BNavItemDropdown:()=>_,props:()=>b});var r=n(2448),a=n(49800),i=n(94159),o=n(41897),s=n(91671),l=n(1340),c=n(91474),u=n(81074),d=n(48917),h=n(51130),f=n(66344);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{A:()=>V,C:()=>W,F:()=>J,M:()=>re,S:()=>F,a:()=>ie,d:()=>f,g:()=>te,r:()=>ee,u:()=>oe,w:()=>c});var r=n(54745),a=n(65005),i=n(65643),o=n(73700),s=n(68453),l=n(97260);const c="undefined"!=typeof window?window:globalThis,u=e=>{const t=(0,a.toValue)(e),n=(0,a.ref)({width:t?.offsetWidth??0,height:t?.offsetHeight??0}),r=new ResizeObserver((([e])=>{if("contentBoxSize"in e){const{contentBoxSize:t}=e,r=Array.isArray(t)?t[0]:t;n.value={width:r.inlineSize,height:r.blockSize}}else n.value={width:e.contentRect.width,height:e.contentRect.height}}));return(0,a.watch)([()=>(0,a.toValue)(e)],(([e],t,n)=>{null!=e&&(r.observe(e),n((()=>r.unobserve(e))))})),(0,a.onScopeDispose)(r.disconnect.bind(r)),n},d=(0,a.ref)(!1);{const e=c.matchMedia("(hover: hover)");d.value=e.matches,e.addEventListener("change",(()=>d.value=e.matches))}class h{_onDispose=new Set;isDisposed=!1;add(e){this._onDispose.add(e)}dispose(){this._onDispose.forEach((e=>e())),this._onDispose.clear(),this.isDisposed=!0}}const f=(e,t)=>{const n=document.createElement("a"),r=URL.createObjectURL(e);n.href=r,n.target="_blank",n.download=t,n.dispatchEvent(new MouseEvent("click")),setTimeout((()=>URL.revokeObjectURL(n.href)),6e4)},{userAgent:p=""}=c.navigator??{},m=/Version\/(\d+)/.exec(p)?.[1],g=p.includes("Chrome/")||p.includes("Chromium/");p.includes("Mac OS");const v=p.includes("AppleWebKit/")&&p.includes("Safari/")&&!g&&"16"===m;p.includes("Gecko/");const y="undefined"!=typeof OffscreenCanvas&&null!=OffscreenCanvas,b=!v&&y,_=(e,t)=>((e,t,n)=>{if(null==e){if(b){const r=(e=new OffscreenCanvas(1,1)).getContext(t,n);if(null!=r)return r}e="undefined"==typeof document?void 0:document.createElement("canvas")}const r=e?.getContext(t,n);if(!r)throw new Error(`[miru] Couldn't create ${t} context`);return r})(e,"2d",t),I=()=>document.createElement("canvas").getContext("bitmaprenderer"),T=(e,t,n="contain")=>{const r=e.width/e.height,a=t.width/t.height;let{width:i,height:o}=t;"fill"===n?(i=t.width,o=t.height):("contain"===n?r>a:r{e.width=t.width,e.height=t.height},E=(e,t,n)=>{let r,a,i=!1;const o=(!0===n?k(e instanceof Blob?e=r=URL.createObjectURL(e):e,t):M(e,t)).then((e=>{if(a=e,i)throw s(),new Error("[miru] decode source was closed");return e})),s=()=>{a&&(a instanceof HTMLElement?(a.removeAttribute("src"),a.remove(),a.pause()):a.close(),a=void 0)};return{promise:o,close:()=>{i=!0,s(),r&&URL.revokeObjectURL(r)}}},M=async(e,t)=>{const n="string"==typeof e?await fetch(e,{credentials:"use-credentials"===t?"include":"omit"}).then((e=>e.blob())):e;return createImageBitmap(n)},k=(e,t)=>{const n=document.createElement("video");if(n.preload="metadata",n.playsInline=!0,n.setAttribute("style","width:1px;height:1px;position:fixed;left:-1px;top:-1px"),document.body.appendChild(n),S(n,e,t),!e)throw new Error("Empty video source URL");return n.load(),new Promise(((e,t)=>{const r=()=>{e(n),i()},a=()=>{t(new Error("aborted")),i()},i=()=>{n.removeEventListener("loadedmetadata",r),n.removeEventListener("abort",a),n.removeEventListener("abort",a)};n.addEventListener("loadedmetadata",r,{once:!0}),n.addEventListener("abort",a,{once:!0}),n.addEventListener("error",(e=>{t(n.error??e.error??new Error("Unknown video error.")),i()}),{once:!0})}))},S=(e,t,n)=>{void 0!==n?e.crossOrigin=n:(e=>new URL(e,location.href).origin!==location.origin)(t)&&(e.crossOrigin="anonymous"),e.src=t},P=(e,t,n,r)=>{"data"in t?e.putImageData(t,n,r):e.drawImage(t,n,r)},A=e=>!("string"==typeof e||e instanceof Blob),x=(e,t)=>(e=>"string"!=typeof e&&"source"in e&&Boolean(e.source))(e)?e:{source:e,type:t},B=(e,t)=>e===t||!(!e||!t)&&e.effect===t.effect&&e.intensity===t.intensity&&!!O(e.crop,t.crop)&&!!L(e.adjustments,t.adjustments),L=(e,t)=>e===t||!(!e||!t)&&e.brightness===t.brightness&&e.contrast===t.contrast&&e.saturation===t.saturation,O=(e,t)=>e===t||!(!e||!t)&&e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height&&e.rotate===t.rotate,C=e=>({x:(e.x??e.left??0)+e.width/2,y:(e.y??e.top??0)+e.height/2}),D=(e,t)=>{const n=(e.x??e.left??0)+t.x,r=(e.y??e.top??0)+t.y;return{x:n,y:r,left:n,top:r,width:e.width,height:e.height}},R=({label:e,value:t,...n})=>(0,r.jsxs)("p",{class:"miru--menu__row",children:[(0,r.jsx)("button",{class:"miru--button miru--small",disabled:!0,children:(0,r.jsx)("label",{class:"miru--button__label",children:e})}),(0,r.jsx)("input",{type:"range",step:"0.01",class:"miru--slider",...n,value:t,value_current:t}),(0,r.jsx)("button",{class:"miru--button miru--small",disabled:!0,children:(0,r.jsx)("label",{class:"miru--button__label",children:()=>0!=(0,a.toValue)(t)?(0,a.toValue)(t).toFixed(2):0})})]}),F=({editor:e,sourceIndex:t,style:n="",onClick:i})=>{const{sources:o}=(0,a.toValue)(e),s=(0,a.computed)((()=>o.value[(0,a.toValue)(t)]));var l,c,u,d;return null!=i&&(l=()=>s.value?.context.canvas,c="click",u=i,(0,a.effect)((e=>{const t=(0,a.toValue)(l);null!=t&&(t.addEventListener(c,u,d),e((()=>t.removeEventListener(c,u,d))))}))),(0,r.jsx)("div",{class:()=>["miru--preview",!1!==s.value?.isLoading&&"miru--loading"],style:n,children:()=>s.value?.context.canvas})},z=e=>(0,r.jsx)("svg",{className:"icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0m-5 0h1m8-9v1m8 8h1m-9 8v1M5.6 5.6l.7.7m12.1-.7l-.7.7m0 11.4l.7.7m-12.1-.7l-.7.7"})}),N=e=>(0,r.jsx)("svg",{className:"icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M17 3.34A10 10 0 1 1 2 12l.005-.324A10 10 0 0 1 17 3.34M8 5.072A8 8 0 0 0 12.001 20L12 4a8 8 0 0 0-4 1.072"})}),H=e=>(0,r.jsx)("svg",{className:"icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"m12 2l.07.003a2.41 2.41 0 0 1 1.825.907l.108.148l4.92 7.306c1.952 3.267 1.191 7.42-1.796 9.836c-2.968 2.402-7.285 2.402-10.254 0c-2.917-2.36-3.711-6.376-1.901-9.65l.134-.232l4.893-7.26c.185-.275.426-.509.709-.686a2.4 2.4 0 0 1 1.066-.36zm-1 3.149l-4.206 6.24c-1.44 2.41-.88 5.463 1.337 7.257A6.1 6.1 0 0 0 11 19.922z"})}),V=({editor:e,sourceIndex:t,showPreviews:n})=>{const i=(0,a.computed)((()=>e.sources.value[(0,a.toValue)(t)])),{sources:o}=e,s=(0,a.ref)("brightness"),l={brightness:"Brightness",contrast:"Contrast",saturation:"Saturation"};return(0,r.jsxs)(r.Fragment,{children:[()=>1==(0,a.toValue)(n)&&o.value.map(((t,n)=>(0,r.jsx)(F,{editor:e,sourceIndex:n}))),(0,r.jsxs)("div",{class:"miru--menu",children:[(0,r.jsx)("p",{class:"miru--menu__row",children:()=>[{type:"brightness",Icon:z},{type:"contrast",Icon:N},{type:"saturation",Icon:H}].map((({type:e,Icon:t})=>(0,r.jsxs)("button",{type:"button",class:["miru--button",()=>s.value===e&&"miru--acc",()=>i.value?.adjustments.value?.[e]?"miru--enabled":""],onClick:()=>s.value=e,children:[(0,r.jsx)(t,{class:"miru--button__icon"}),(0,r.jsx)("span",{class:"miru--button__label",children:l[e]})]})))}),R({label:(0,a.computed)((()=>l[s.value])),min:-1,max:1,value:(0,a.toRef)((()=>i.value?.adjustments.value?.[s.value]??0)),onInput:e=>{const t=i.value;if(null==t)return;const n=t.adjustments.value?.[s.value]??0,r=e.target.valueAsNumber>n?1:-1,a=1==r&&e.target.valueAsNumber>0&&e.target.valueAsNumber<=.15||-1==r&&e.target.valueAsNumber<0&&e.target.valueAsNumber>=-.15;t.adjustments.value={...t.adjustments.value??{brightness:0,contrast:0,saturation:0},[s.value]:a?0:e.target.valueAsNumber}},onChange:e=>{e.target.valueAsNumber=i.value?.adjustments.value?.[s.value]??0}})]})]})},Y=e=>(0,r.jsx)("svg",{className:"icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.042 16.045A9 9 0 0 0 7.955 3.958M5.637 5.635a9 9 0 1 0 12.725 12.73M3 3l18 18"})}),j=e=>(0,r.jsx)("svg",{className:"icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2z"})}),U=e=>(0,r.jsx)("svg",{className:"icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z"})}),$=e=>(0,r.jsx)("svg",{className:"icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z"})}),G=e=>(0,r.jsx)("svg",{className:"icon",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...e,children:(0,r.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5"})}),W=e=>{const t=(0,a.toValue)(e.editor),{aspectRatio:n,resetCrop:o,setAspectRatio:s,rotate:l,container:c,zoom:u,setZoom:d}=(({editor:e,sourceIndex:t})=>{const n=(0,a.computed)((()=>e.sources.value[(0,a.toValue)(t)])),r=(0,a.ref)(),o=(0,a.computed)((()=>{const e=n.value?.crop.value;return null!=e?e.width/e.height:NaN})),s=(0,a.ref)(1),l={x:0,y:0,width:0,height:0,rotate:0},c=document.createElement("div");c.className="miru--cropper-container",(0,a.watch)([n,()=>n.value?.original],(async([e,t],n,a)=>{if(null==e||null==t)return;let d;const f=t instanceof Blob?URL.createObjectURL(t):t instanceof Image?t.currentSrc:"";if(f)d=new Image,d.src=f;else{d=document.createElement("canvas");const e=d.getContext("2d");w(d,t),P(e,t,0,0)}d.setAttribute("style","visibility:hidden;width:100%"),c.appendChild(d),w(l,t);const m=e.crop.value??l,g=r.value=new i(d,{guides:!0,center:!0,movable:!0,rotatable:!0,scalable:!0,zoomOnTouch:!0,zoomOnWheel:!0,dragMode:"move",cropBoxMovable:!1,cropBoxResizable:!1,background:!1,viewMode:1,data:m,minCropBoxWidth:1,minCropBoxHeight:1,aspectRatio:o.value,autoCropArea:1,responsive:!0,async ready(){await h(),await u(o.value)},cropend(){p().catch((()=>{}))},crop(){const{width:t,height:n,naturalWidth:r,naturalHeight:a}=g.getCanvasData();s.value=Math.min(t/r,n/a);const i=g.getData(!0);e.crop.value=O(i,l)?void 0:i}});a((()=>{r.value?.destroy(),r.value=void 0,t instanceof Blob&&f&&URL.revokeObjectURL(f),d.remove()}))})),(0,a.watch)([e.sources],(([e],t,n)=>{e.forEach((e=>e.pausePreview.value++)),n((()=>e.forEach((e=>e.pausePreview.value--))))}));const u=async e=>{await g((async()=>{await h(),r.value?.setAspectRatio(e)}))},d=async()=>{const e=r.value,t=n.value,a=t?.original;null!=t&&null!=e&&null!=a&&(await g((()=>{e.setAspectRatio(a.width/a.height),e.setData(l)})),await h(),t.crop.value=void 0)},h=(f=async()=>{const e=r.value;if(null==e)return;const t=e.getContainerData(),{naturalWidth:n,naturalHeight:a}=e.getCanvasData();await g((async()=>{e.zoomTo(Math.min(t.width/n,t.height/a)),e.setCanvasData(T({width:n,height:a},t)),await Promise.resolve()})),await p()},async()=>{await f(),await f()});var f;const p=async()=>{const e=r.value,t=e.getData(),n=e.getCropBoxData(),a=e.getCanvasData(),i=e.getContainerData(),o=C(i),s=((e,t)=>{const n=C(e);return D(e,{x:t.x-n.x,y:t.y-n.y})})(n,o);await g((()=>{e.setCropBoxData(s),e.setCanvasData(D(a,{x:s.left-n.left,y:s.top-n.top})),e.setData(t)}))},m=e=>{const t=r.value;t?.zoomTo(e,C(t.getContainerData()))},g=async e=>{const t=r.value;if(null==t)return;const n=t.options,{viewMode:a}=n,{limited:i}=t;n.viewMode=0,t.limited=!1,await e(),n.viewMode=a,t.limited=i},v=(0,a.ref)(),y=(0,a.computed)((()=>{const e=n.value,t=e?.original;if(null==e||null==t)return 1;const r=v.value=e.crop.value,{width:a,height:i}=r??t;return Math.min(a/i,i/a)})),b={toggle:()=>{const e=n.value,t=e?.original;null!=e&&null!=t&&(null==v.value?(v.value=e.crop.value,m(y.value)):e.crop.value=v.value)},clearSavedValue:()=>v.value=void 0,isToggledOff:(0,a.computed)((()=>s.value==y.value))};return{container:c,setAspectRatio:u,resetCrop:()=>d().then(d),aspectRatio:o,zoom:s,setZoom:m,rotate:async()=>{await g((async()=>{r.value?.rotate(90),await u(o.value)}))},toggleContext:b}})({editor:t,sourceIndex:(0,a.toValue)(e.sourceIndex)});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{class:"miru--preview",children:c}),(0,r.jsxs)("div",{class:"miru--menu",children:[(0,r.jsxs)("p",{class:"miru--menu__row",children:[(0,r.jsxs)("button",{class:["miru--button",()=>-1===n.value?"miru--acc":""],type:"button",onClick:async()=>{await o()},children:[(0,r.jsx)(Y,{class:"miru--button__icon"}),(0,r.jsx)("span",{class:"miru--button__label",children:"Original"})]}),[{value:9/16,Icon:j,label:"9:16"},{value:1,Icon:U,label:"1:1"},{value:16/9,Icon:$,label:"16:9"}].map((({value:e,Icon:t,label:a})=>(0,r.jsxs)("button",{class:()=>["miru--button",n.value.toFixed(1)===e.toFixed(1)&&"miru--acc"],type:"button",onClick:()=>s(e),children:[(0,r.jsx)(t,{class:"miru--button__icon"}),(0,r.jsx)("span",{class:"miru--button__label",children:a})]}))),(0,r.jsxs)("button",{class:"miru--button",type:"button",onClick:l,children:[(0,r.jsx)(G,{class:"miru--button__icon"}),(0,r.jsx)("span",{class:"miru--button__label",children:"Rotate"})]})]}),R({label:"Scale",min:.1,max:2,value:u,onInput:e=>{d(e.target.valueAsNumber)}})]})]})};class q{canvas;context;promise;isLoading;error;janitor=new h;texture;constructor({source:e,type:t,crossOrigin:n},r){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("bitmaprenderer")??void 0,this.texture=r.createTexture("lut"===t||"hald-lut"===t?s.LUT_TEX_OPTIONS:s.SOURCE_TEX_OPTIONS),this.isLoading=(0,a.ref)(!1),this.error=(0,a.ref)();const i=e=>{if("lut"===t||"hald-lut"===t){const n=((e,t)=>{if(e instanceof ImageData)return e;const{canvas:n}=t,{width:r,height:a}=e;return n.width=r,n.height=a,t.drawImage(e,0,0),t.getImageData(0,0,r,a)})(e,r.scratchPad2d);r.loadLut(this.texture,n,t)}else r.loadImage(this.texture,e,s.SOURCE_TEX_OPTIONS)};if(A(e))i(e);else{this.isLoading.value=!0;const{promise:r,close:a}=E(e,n,"video"===t);r.then(i).catch((e=>this.error.value=e)).finally((()=>this.isLoading.value=!1)),this.janitor.add(a)}this.janitor.add((()=>{this.context=this.canvas=void 0,r.deleteTexture(this.texture)}))}}class K{renderer;name;ops;isDisposed=!1;janitor=new h;isLoading;resources;shaders=[];info;get promise(){return this.resources.length?Promise.all(this.resources.map((e=>e.promise))):void 0}constructor(e,t){const{name:n,ops:r}=e;this.info=e,this.renderer=t,this.name=n;const i=this.resources=[],o={};this.isLoading=this.isLoading=(0,a.computed)((()=>this.resources.some((e=>e.isLoading.value))));const s=(e,n)=>{const r=new q(x(e,n),t);return i.push(r),r.texture};this.ops=r.map((e=>{let n;switch(e.type){case"shader":for(const t in e.properties){const n=e.properties[t];o[t]="number"!=typeof n&&"type"in n?s(n.source,n.type):n}n=e.fragmentShader;break;case"lut":{const{lut:t}=e;o.lut="string"==typeof t?s(t):s(t.source,t.type),n=l.FRAGMENT_SHADERS.lut;break}case"vignette":n=l.FRAGMENT_SHADERS.vignette;break;case"film_grain":n=l.FRAGMENT_SHADERS.film_grain;break;case"adjust_color":o.brightness=e.brightness,o.contrast=e.contrast,o.saturation=e.saturation,n=l.FRAGMENT_SHADERS.adjust_color;break;case"sepia":n=l.FRAGMENT_SHADERS.sepia;break;case"hue_rotate":o.angle=e.angle,n=l.FRAGMENT_SHADERS.hue_rotate}return this.shaders.push(n),{programInfo:t.getProgram(n),intensity:e.intensity??1,uniforms:o}})),this.janitor.add((()=>{this.resources.forEach((e=>e.janitor.dispose())),this.shaders.forEach((e=>t.dropProgram(e))),this.resources.length=this.shaders.length=0,this.renderer=void 0,this.isDisposed=!0}))}toObject(){return this.info}}const X=({source:e,effect:t,index:n,context:i,class:o,isActive:s,onClick:l})=>((0,a.watch)([t.isLoading,e,(0,a.toRef)(i),()=>e.value?.thumbnailKey.value],(([e,n,r])=>{e||null==n||null==r||n.drawThumbnail(t,r).catch((()=>{}))})),(0,r.jsxs)("button",{type:"button","data-index":n,class:["miru--button",()=>s()&&"miru--acc",o],onClick:l,children:[()=>(0,a.toValue)(i)?.canvas,(0,r.jsx)("span",{class:"miru--button__label",children:t.name})]})),J=({editor:e,sourceIndex:t,showPreviews:n})=>{const i=(0,a.computed)((()=>e.sources.value[(0,a.toValue)(t)])),s=(0,a.toRef)((()=>i.value?.effect.value??-1)),l=(0,a.ref)(),c=(0,a.ref)(-1),d=new K({name:"Original",ops:[]},e.renderer),h=(0,a.ref)([I()]);(0,a.watch)([e.effects],(([e],t)=>{const n=h.value=h.value.slice(0,e.length+1);e.forEach(((e,t)=>n[t+1]??=I()))})),(0,a.watch)([h],(([e],t,n)=>n((()=>e.length=0))));const f=(0,o.throttle)(40,(()=>{const e=l.value?.getBoundingClientRect();if(null==e)return;const t=C(e),n=l.value.getRootNode().elementFromPoint(t.x,t.y)?.closest("[data-index]");null!=n&&(c.value=parseInt(n.dataset.index))}));(0,a.watch)([l,i,u(l)],(([e,t])=>{null!=e&&p(s.value,t?.intensity.value,"instant"),f.cancel({upcomingOnly:!0})})),(0,a.effect)((e=>{const t=c.value;if(t===s.value)return;const n=setTimeout((()=>m(t,1)),300);e((()=>clearTimeout(n)))}));const p=(e,t=1,n="smooth")=>{m(e,t),l.value?.querySelector(`[data-index="${e}"]`)?.scrollIntoView({behavior:n,inline:"center",block:"nearest"})},m=(e,t)=>{const n=i.value;null!=n&&(n.effect.value=e,n.intensity.value=t,c.value=e)};return(0,r.jsxs)(r.Fragment,{children:[()=>!0===(0,a.toValue)(n)&&e.sources.value.map(((t,n)=>(0,r.jsx)(F,{editor:e,sourceIndex:n}))),(0,r.jsxs)("div",{class:"miru--menu",children:[(0,r.jsx)("p",{ref:l,class:"miru--menu__row miru--menu__row--scroll",onScroll:f,children:()=>[d,...e.effects.value].map(((e,t)=>{const n=t-1;return(0,r.jsx)(X,{source:i,effect:e,index:n,context:()=>h.value[t],isActive:()=>s.value===n,onClick:()=>p(n),class:[()=>c.value===n&&"miru--hov",()=>((i.value?.isLoading??!0)||e.isLoading.value)&&"miru--loading"]})}))}),R({label:"Intensity",min:0,max:1,value:(0,a.toRef)((()=>i.value?.intensity.value??0)),onInput:e=>{null!=i.value&&(i.value.intensity.value=e.target.valueAsNumber)},disabled:()=>-1===i.value?.effect.value})]}),(0,r.jsx)("div",{})]})};var Z=':host{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;isolation:isolate}*,:after,:before{box-sizing:border-box;display:block;margin:0;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}[hidden]{display:none}canvas,img,picture,svg,video{max-width:100%}button,input,select,textarea{font:inherit}button{background:transparent;border:none;color:inherit;line-height:normal;margin:0;overflow:visible;padding:0;width:auto}.miru--slider{-webkit-appearance:none;appearance:none;cursor:pointer;overflow:hidden;touch-action:none}.miru--slider:focus{outline:none}.miru--slider::-moz-range-track{height:100%}.miru--slider::-moz-range-thumb{border:none;border-radius:0;height:100%}.miru--slider::-moz-range-progress{height:100%}.miru--slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;height:200px;margin-top:-80px;width:.35rem}\n/*!\n * Cropper.js v1.6.2\n * https://fengyuanchen.github.io/cropperjs\n *\n * Copyright 2015-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2024-04-21T07:43:02.731Z\n */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}:host{font-size:14px;font-weight:400;line-height:1.5;--height-menu-row:4rem;--height-menu-row-scroll:8rem;--size-button-icon:1.25rem;--roundness-button:0.25rem;--height-slider:0.6rem;--width-slider-thumb:2.5rem;--gap-default:1rem;--gap-preview:1rem;--csstools-color-scheme--light:initial;color-scheme:light dark}@media (prefers-color-scheme:dark){:host{--csstools-color-scheme--light: }}:host([color-scheme=light]){--theme-hue:204;--theme-hue-acc:326;--color-bg-preview:hsl(var(--theme-hue) 40% 80%);--color-bg-button:hsl(var(--theme-hue) 40% 94%);--color-bg-button-hover:hsl(var(--theme-hue) 90% 97%);--color-bg-acc:hsl(var(--theme-hue) 90% 99%);--color-fnt-default:hsl(var(--theme-hue) 5% 30%);--color-fnt-acc:hsl(var(--theme-hue-acc) 60% 50%);--color-scrollbar-thumb:hsl(var(--theme-hue) 10% 50%);--color-scrollbar-both:hsl(var(--theme-hue) 10% 50%) transparent;--color-slider-thumb:hsl(var(--theme-hue-acc) 60% 50%);--color-slider-progress:hsl(var(--theme-hue-acc) 20% 75%);--color-slider-track:hsl(var(--theme-hue) 5% 80%);--color-crop-outline:hsl(var(--theme-hue) 100% 90%);--color-crop-dashed:hsl(var(--theme-hue) 50% 90%/87.1%);--color-crop-overlay:hsl(var(--theme-hue) 40% 80%/51%)}:host([color-scheme=dark]){--theme-hue:204;--theme-hue-acc:326;--color-bg-preview:hsl(var(--theme-hue) 20% 10%);--color-bg-button:hsl(var(--theme-hue) 100% 3%);--color-bg-button-hover:hsl(var(--theme-hue) 10% 17%);--color-bg-acc:hsl(var(--theme-hue) 10% 12%);--color-fnt-default:hsl(var(--theme-hue) 5% 60%);--color-fnt-acc:hsl(var(--theme-hue-acc) 80% 40%);--color-scrollbar-thumb:hsl(var(--theme-hue) 10% 50%);--color-scrollbar-both:hsl(var(--theme-hue) 10% 50%) transparent;--color-slider-thumb:hsl(var(--theme-hue-acc) 80% 40%);--color-slider-progress:hsl(var(--theme-hue-acc) 40% 20%);--color-slider-track:hsl(var(--theme-hue) 10% 15%);--color-crop-outline:hsl(var(--theme-hue) 100% 90%);--color-crop-dashed:hsl(var(--theme-hue) 50% 90%/87.1%);--color-crop-overlay:hsl(var(--theme-hue) 20% 10%/51%)}:host([color-scheme=pixelfed]){--color-bg-button:var(--light);--color-bg-preview:var(--light-gray);--color-bg-button-hover:var(--light-gray);--color-bg-acc:var(--card-bg);--color-fnt-default:var(--body-color);--color-fnt-acc:var(--text-lighter);--color-scrollbar-thumb:var(--light-gray);--color-scrollbar-both:var(--light-gray) transparent;--color-slider-thumb:var(--text-lighter);--color-slider-progress:var(--card-bg);--color-slider-track:var(--light);--color-crop-outline:var(--light-gray);--color-crop-dashed:#ffffffde;--color-crop-overlay:#00000082}:host{max-height:90vh}.miru--unused{display:none}.miru--main,:host{display:flex;flex:1 1 0%;flex-direction:column;min-height:0;width:100%}.miru--center{display:flex;flex:1 1 0%;flex-direction:column;min-height:0;position:relative}.miru--center .miru--cropper-container{height:100%;min-height:0;position:relative;width:100%}:is(.miru--center .miru--cropper-container) .cropper-drag-box{opacity:1}.miru--preview{display:flex;flex:1 1 0%;flex-direction:column;max-height:100%;min-height:0;padding:var(--gap-preview);width:100%}.miru--preview>canvas{height:100%;margin:auto;object-fit:contain;width:100%}.miru--menu{display:flex;flex-direction:column}.miru--menu .miru--menu__row{align-items:center;display:flex;flex-wrap:nowrap;height:var(--height-menu-row);justify-content:space-around;overflow-y:hidden;position:relative}.miru--menu .miru--menu__row--scroll{gap:var(--gap-default);height:var(--height-menu-row-scroll);justify-content:unset;overflow:scroll hidden!important;padding-bottom:calc(.5rem + var(--gap-default))!important;padding-top:var(--gap-default);scroll-behavior:smooth;scroll-snap-type:x proximity}:is(.miru--menu .miru--menu__row--scroll) .miru--button{flex-shrink:0;scroll-snap-align:center}:is(:is(.miru--menu .miru--menu__row--scroll) .miru--button):last-child{margin-right:50%}:is(:is(.miru--menu .miru--menu__row--scroll) .miru--button):first-child{margin-left:50%}::-webkit-scrollbar{width:40px}*{scrollbar-width:thick}:is([show-labels=false]:host .miru--button:has(.miru--button__icon)) .miru--button__label{display:none}:is([show-labels=false]:host .miru--button:has(.miru--button__icon)) .miru--button__icon{margin-bottom:0!important}.miru--button{border-radius:var(--roundness-button);cursor:pointer;flex-basis:10%;flex-grow:1;height:100%;overflow:hidden;position:relative}.miru--button[disabled]{opacity:.8;pointer-events:none}.miru--button.miru--mark-disabled{-webkit-text-decoration:line-through;text-decoration:line-through}.miru--button.miru--small{flex:0 0 var(--height-menu-row)}.miru--button .miru--button__icon{font-size:var(--size-button-icon);margin-left:auto;margin-right:auto}.miru--button:has(canvas){border:2px solid transparent;box-sizing:border-box;display:flex;flex-basis:calc(var(--height-menu-row-scroll) - 1rem);flex-direction:column;height:100%;width:calc(var(--height-menu-row-scroll) - 1rem)}.miru--button:has(canvas) canvas{flex-grow:1;height:1rem;object-fit:cover;width:100%}.miru--button.miru--acc:has(canvas){border:2px solid}.miru--button.miru--hov:has(canvas):not(.miru--acc){border:2px solid}.miru--button .miru--button__label{flex-basis:calc(1em + var(--gap-default));margin:.2em auto auto;overflow:hidden;pointer-events:none;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:calc(100% - 1em)}.miru--button:has(canvas) .miru--button__label{line-height:calc(1em + var(--gap-default));margin-top:0}.miru--button.miru--enabled:after{border-radius:50%;content:"";display:block;height:.5rem;position:absolute;right:calc(50% - 1.5rem);top:calc(50% - 1.5rem);width:.5rem}.miru--loading{margin:auto;max-height:5rem;position:relative;width:5rem}.miru--loading:after{border:2px solid;border-radius:50%;clip-path:polygon(0 0,100% 0,0 100%,0 100%);content:"";display:block;height:var(--size-button-icon);left:calc(50% - var(--size-button-icon)/2);position:absolute;top:calc(50% - var(--size-button-icon)/2);transform-origin:center;width:var(--size-button-icon);z-index:999}.miru--menu__row:has(.miru--slider[disabled]){opacity:0;pointer-events:none}.miru--slider{background-clip:padding-box;border-bottom:calc(var(--height-menu-row)/2 - var(--height-slider)/2 - var(--gap-default)) solid transparent;border-left:var(--gap-default) solid transparent;border-right:var(--gap-default) solid transparent;border-top:calc(var(--height-menu-row)/2 - var(--height-slider)/2 - var(--gap-default)) solid transparent;flex-grow:1;height:calc(100% - var(--gap-default)*2)}.miru--slider::-moz-range-thumb{width:var(--width-slider-thumb)}.miru--slider[value_current="0"]{opacity:.5}::-webkit-slider-thumb{width:var(--width-slider-thumb)!important}.miru--slider-label{flex-basis:5rem;flex-grow:0;overflow:hidden;text-align:center}:host{background-color:var(--color-bg-button);color:var(--color-fnt-default);scrollbar-color:var(--color-scrollbar-both)}:host ::-webkit-scrollbar-thumb{background-color:var(--color-scrollbar-thumb)}:host ::-webkit-scrollbar-track{background:transparent}:host .miru--preview{background-color:var(--color-bg-preview)}:host .miru--menu{background-color:var(--color-bg-button)}:host .miru--button{background-color:var(--color-bg-button);color:var(--color-fnt-default)}:host .miru--button.miru--acc{background-color:var(--color-bg-acc);border-color:var(--color-fnt-acc)}:host .miru--hov:not(.miru--acc){background-color:var(--color-bg-button-hover);border-color:transparent}@media (hover:hover){:host .miru--button:not(.miru--acc):not(:has(canvas)):hover{background-color:var(--color-bg-button-hover);border-color:transparent}}:host .miru--button.miru--enabled:after{background-color:var(--color-fnt-acc)}:host .miru--slider{background-color:var(--color-slider-track);border-color:var(--color-bg-button)}:is(:host .miru--slider)::-moz-range-thumb{background-color:var(--color-slider-thumb)}:is(:host .miru--slider)::-moz-range-progress{background-color:var(--color-slider-progress)}:host .miru--slider::-webkit-slider-thumb{background-color:var(--color-slider-thumb);box-shadow:-4000px 0 0 4000px var(--color-slider-progress)}:is(:host .cropper-container) .cropper-view-box{outline-color:var(--color-crop-outline)}:is(:host .cropper-container) .cropper-dashed{border-color:var(--color-crop-dashed)}:is(:host .cropper-container) .cropper-drag-box{background-color:var(--color-crop-overlay)}.miru--button{transition:all .25s}.miru--hov:not(.miru--acc){transition:all 15ms}@media (hover:hover){.miru--button:hover{transition:all 15ms}}.miru--loading:after{animation:miru-spinner 2s linear infinite}@keyframes miru-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.miru--menu__row{transition:all 1s}';let Q;const ee=(e,t,n)=>{n.classList.add("media-editor"),n.setAttribute("color-scheme",n.hasAttribute("color-scheme")?n.getAttribute("color-scheme"):window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");const r=n.attachShadow({mode:"open"});return(e=>{const t=(()=>{if(null==Q)try{Q=new CSSStyleSheet,Q.replaceSync(Z)}catch{Q=document.createElement("style"),Q.style.display="none",Q.textContent=Z}return Q})();t instanceof HTMLStyleElement?e.appendChild(t.cloneNode(!0)):e.adoptedStyleSheets=[t]})(r),(0,a.render)((0,a.h)(e,t),r)},te=e=>{const t=t=>e?new URL(t,new URL(e,location.href)).href:t;return[{name:"Contrast",ops:[{type:"adjust_color",brightness:0,contrast:.65,saturation:0}]},{name:"Vintage",ops:[{type:"sepia"},{type:"vignette",intensity:.5}]},{name:"Black",ops:[{type:"adjust_color",brightness:0,contrast:.9,saturation:-1},{type:"vignette",intensity:.2}]},{name:"Black Soft",ops:[{type:"adjust_color",brightness:0,contrast:.65,saturation:-1},{type:"vignette",intensity:.2}]},{name:"Fall",ops:[{type:"vignette",intensity:.3},{type:"lut",lut:{source:t("a545b21ad81000d7.jpg"),type:"hald-lut"},intensity:1}]},{name:"Muted Warm",ops:[{type:"lut",lut:{source:t("0eb32154722d167b.jpg"),type:"hald-lut"},intensity:1}]},{name:"Beige",ops:[{type:"lut",lut:{source:t("adb23d1933d774b2.jpg"),type:"hald-lut"},intensity:1}]},{name:"Pinky",ops:[{type:"lut",lut:{source:t("aca9369d426a7a59.jpg"),type:"hald-lut"},intensity:1}]},{name:"Romantic",ops:[{type:"lut",lut:{source:t("d3ff50002a4f9ac4.jpg"),type:"hald-lut"},intensity:1}]},{name:"Bleach",ops:[{type:"lut",lut:{source:t("a53a16cd007231ed.jpg"),type:"hald-lut"},intensity:1}]},{name:"Bleach Blue",ops:[{type:"lut",lut:{source:t("b6de818b694c8e09.jpg"),type:"hald-lut"},intensity:1}]},{name:"Stocky",ops:[{type:"lut",lut:{source:t("72e62ce4c13011c7.jpg"),type:"hald-lut"},intensity:1}]},{name:"Bright Cyan",ops:[{type:"lut",lut:{source:t("d84f42f8ec1b05e7.jpg"),type:"hald-lut"},intensity:1}]},{name:"Crispy Cyan",ops:[{type:"lut",lut:{source:t("699d7fce19c531f9.jpg"),type:"hald-lut"},intensity:1}]},{name:"Green → Red",ops:[{type:"vignette",intensity:.25},{type:"lut",lut:t("69e0a7e76f4bf880.jpg"),intensity:.75}]},{name:"Blue → Yellow",ops:[{type:"lut",lut:t("eed072684bf875f9.jpg")}]},{name:"Purple Sky",ops:[{type:"lut",lut:{source:t("5807cd6cfe879f3f.jpg"),type:"hald-lut"},intensity:1}]},{name:"Orange Cyan",ops:[{type:"lut",lut:{source:t("43e6b99d247131fb.jpg"),type:"hald-lut"},intensity:1}]},{name:"Red",ops:[{type:"lut",lut:{source:t("2070c10cbf094332.jpg"),type:"hald-lut"},intensity:1}]},{name:"Pink",ops:[{type:"lut",lut:{source:t("874415141b87211c.jpg"),type:"hald-lut"},intensity:1}]},{name:"Purple Dream",ops:[{type:"lut",lut:{source:t("a58dca16df74ffdb.jpg"),type:"hald-lut"},intensity:1}]},{name:"Puple Please",ops:[{type:"lut",lut:{source:t("d094e461e08c8307.jpg"),type:"hald-lut"},intensity:1}]},{name:"Bruce Banner",ops:[{type:"lut",lut:{source:t("06d9d229002e716a.jpg"),type:"hald-lut"},intensity:1}]},{name:"Skin",ops:[{type:"lut",lut:{source:t("dab6459522e8533f.jpg"),type:"hald-lut"},intensity:1}]},{name:"Metallic",ops:[{type:"lut",lut:{source:t("597e75c30d982ef4.jpg"),type:"hald-lut"},intensity:1}]},{name:"Dark Contrast",ops:[{type:"lut",lut:{source:t("918a1809833ae788.jpg"),type:"hald-lut"},intensity:1}]},{name:"Green & Purple",ops:[{type:"lut",lut:{source:t("7a7e936a34702903.jpg"),type:"hald-lut"},intensity:1}]},{name:"Retro Warm",ops:[{type:"lut",lut:{source:t("b4767ed0343d2bfe.jpg"),type:"hald-lut"},intensity:1}]},{name:"Doomsday",ops:[{type:"lut",lut:{source:t("82690354687ab802.jpg"),type:"hald-lut"},intensity:1}]},{name:"Late Sunset",ops:[{type:"lut",lut:{source:t("cd1ff5317720f1a8.jpg"),type:"hald-lut"},intensity:1}]},{name:"Moonlight",ops:[{type:"lut",lut:{source:t("fc04f23cd44a28f8.jpg"),type:"hald-lut"},intensity:1}]},{name:"Cartoon",ops:[{type:"lut",lut:{source:t("c801da1ee0eb27ce.jpg"),type:"hald-lut"},intensity:1}]},{name:"Violent Violet",ops:[{type:"lut",lut:{source:t("49d0f49cc56cac02.jpg"),type:"hald-lut"},intensity:1}]},{name:"Neon",ops:[{type:"lut",lut:{source:t("47b4e7c0ced556e8.jpg"),type:"hald-lut"},intensity:1}]},{name:"Ice",ops:[{type:"lut",lut:{source:t("9770abd480c85050.jpg"),type:"hald-lut"},intensity:1}]},{name:"Toon Burnt",ops:[{type:"lut",lut:{source:t("5897be2d2fb05caa.jpg"),type:"hald-lut"},intensity:1}]},{name:"Toon Pale",ops:[{type:"lut",lut:{source:t("ab1dbc3a5e89a4ed.jpg"),type:"hald-lut"},intensity:1}]},{name:"Toon Sketch",ops:[{type:"lut",lut:{source:t("a7608e5b58c52dc6.jpg"),type:"hald-lut"},intensity:1}]},{name:"Toon Shadow",ops:[{type:"lut",lut:{source:t("f3259a516efd87b1.jpg"),type:"hald-lut"},intensity:1}]},{name:"Toon Punchy",ops:[{type:"lut",lut:{source:t("8e7d59f2f598d262.jpg"),type:"hald-lut"},intensity:1}]},{name:"Toon Goblin",ops:[{type:"lut",lut:{source:t("205b6742e9d45112.jpg"),type:"hald-lut"},intensity:1}]},{name:"GB Color",ops:[{type:"lut",lut:{source:t("0b1a4b14544a1290.jpg"),type:"hald-lut"},intensity:1}]}]};class ne{#e;#t;#n=(0,a.ref)();#r=(0,a.ref)();#a=(0,a.ref)({width:1,height:1});#i;#o=(0,a.ref)(!0);#s=(0,a.ref)();#l;#c;previewKey=(0,a.ref)(0);thumbnailKey=(0,a.ref)(0);context;effect=(0,a.ref)(-1);intensity=(0,a.ref)(1);crop=(0,a.ref)();adjustments=(0,a.ref)();#u=(0,a.computed)((()=>({effect:this.effect.value,intensity:this.intensity.value,crop:this.crop.value,adjustments:this.adjustments.value})),B);pausePreview=(0,a.ref)(0);onRenderPreview;forceResize=(0,a.ref)(!1);#d=(0,a.createEffectScope)();get isLoading(){return this.#o.value}get original(){return this.#n.value}constructor({sourceOption:e,thumbnailSize:t,renderer:n,effects:r,adjustColorOp:i,onRenderPreview:o,onEdit:s}){if(null==(0,a.getCurrentScope)())throw new Error("[webgl-media-editor] ImageSource must be created within an EffectScope");this.#e=n,this.#t=n.createTexture(),this.#l=r,this.#c=i,this.onRenderPreview=o,this.context=I();const l=u(this.context.canvas);if(this.#a=(0,a.computed)((()=>{const e=l.value,t=this.#r.value;if(null==t)return e;const n=c.devicePixelRatio,r={width:Math.max(e.width,200)*n,height:Math.max(e.height,200)*n},a=this.crop.value??t;return T(((e,t)=>{const n=e.width/e.height,r=Math.max(t.width||0,1);return{width:r,height:Math.round(Math.max(r/n||0,1))}})(a,r),{width:Math.min(a.width,window.innerWidth*n),height:Math.min(a.height,window.innerHeight*n)})})),this.#i=(0,a.computed)((()=>{const e=(0,a.toValue)(t),n=this.crop.value??this.#r.value;return null!=n?T(n,e,"contain"):e})),e=x(e),A(e.source)){const t=e.source;this.#n.value=t}else{const{promise:t}=E(e.source,e.crossOrigin,"video"===e.type);t.then((e=>{this.#n.value=e})).catch((e=>{this.#s.value=e}))}this.#d.run((()=>{(0,a.watch)([this.#n,()=>this.crop.value?.rotate??0,this.#s,this.pausePreview],(([e,t,n,r])=>{if(r>0)return;if(null!=n)return this.#o.value=!1,void(this.#n.value=this.#r.value=void 0);const a=e=>{this.#e.loadImage(this.#t,e),this.#o.value=!1,this.previewKey.value++};if(this.#o.value=!0,null==e||!t)return this.#r.value=e,void(null!=e&&a(e));const i=_(),{canvas:o}=i;t/90%2==0?(o.width=e.width,o.height=e.height):(o.width=e.height,o.height=e.width),i.save(),i.translate(o.width/2,o.height/2),i.rotate(t*Math.PI/180),P(i,e,-e.width/2,-e.height/2),i.restore(),this.#r.value=o,a(o)})),(0,a.watch)([this.intensity,this.effect,this.adjustments,this.#a,this.#o,this.pausePreview],(()=>this.previewKey.value++)),(0,a.watch)([this.previewKey],(()=>this.drawPreview())),(0,a.watch)([this.#r,this.#i,this.adjustments,this.crop,this.#o,this.pausePreview],(()=>this.thumbnailKey.value++)),(0,a.watch)([this.#u],(([e])=>this.#d.active&&s(e))),(0,a.onScopeDispose)((()=>{n.deleteTexture(this.#t),this.#e=void 0,this.#n.value=this.#r.value=void 0,this.#t=this.context=this.onRenderPreview=void 0}))}))}getState(){return this.#u.value}setState({effect:e,intensity:t,crop:n}){this.effect.value=e,this.intensity.value=t,this.crop.value=n}#h(e,t){const n=this.#e,r=e?.ops.slice()??[];t&&(Object.assign(this.#c.uniforms,t),r.unshift(this.#c)),n.setEffect({ops:r}),n.setIntensity(this.intensity.value)}drawFullSize(){const e=this.#r.value;if(this.isLoading||null==e)return;const t=this.#e,n=t.createTexture(),r=this.crop.value;let a=e;if(null!=r){const t=_();((e,t,n,r)=>{const{canvas:a}=r;w(a,n),"data"in e?(r.save(),r.scale(n.width/e.width,n.height/e.height),null!=t?r.putImageData(e,0,0,t.x,t.y,t.width,t.height):r.putImageData(e,0,0),r.restore()):null!=t?r.drawImage(e,t.x,t.y,t.width,t.height,0,0,n.width,n.height):r.drawImage(e,0,0,e.width,e.height,0,0,n.width,n.height)})(e,r,r,t),a=t.canvas}try{const i=r??e;t.setSourceTexture(n,i,i),t.loadImage(n,a),this.#h(this.#l.value[this.effect.value],this.adjustments.value),t.clear(),t.draw()}finally{t.deleteTexture(n)}}async drawPreview(e=this.context){const t=this.#r.value;if(this.isLoading||null==t)return;const n=this.#e;n.setSourceTexture(this.#t,this.#a.value,t,this.crop.value),this.#h(this.#l.value[this.effect.value],this.adjustments.value),n.clear(),await n.drawAndTransfer(e),this.#d.active&&this.onRenderPreview?.()}async drawThumbnail(e,t){const n=this.#r.value;if(this.isLoading||null==n)return;const r=this.#e;r.setSourceTexture(this.#t,this.#i.value,n,this.crop.value),this.#h(e,this.adjustments.value),r.setIntensity(1),r.clear(),await r.drawAndTransfer(t)}dispose(){this.#d.stop(),this.#c=void 0}}let re=class{#d;renderer=new s.Renderer;#f=new K({name:"_",ops:[{type:"adjust_color",brightness:0,contrast:0,saturation:0}]},this.renderer);sourceInputs=(0,a.ref)([]);sources=(0,a.ref)([]);editStatesIn=(0,a.ref)();#p;effects=(0,a.ref)([]);#m=(0,a.computed)((()=>this.sources.value.some((e=>e.isLoading))));#g=(0,a.computed)((()=>this.effects.value.some((e=>e.isLoading.value))));#o=(0,a.computed)((()=>this.#m.value||this.#g.value));get isLoadingSource(){return this.#m.value}get isLoadingEffects(){return this.#g.value}get isLoading(){return this.#o.value}constructor({effects:e,onRenderPreview:t,onEdit:n}){const r=(0,a.getCurrentScope)();if(null==r)throw new Error("[webgl-media-editor] must be run in an EffectScope");this.#d=r,this.#p=e,(0,a.watch)([this.sourceInputs],(([e],[r])=>{const i=this.sources.value,o=(r??[]).reduce(((e,t,n)=>(e.has(t)||e.set(t,[]),e.get(t).push(i[n]),e)),new Map),s=new Set;this.#d.run((()=>{e.forEach(((e,r)=>{s.add(o.get(e)?.shift()??new ne({sourceOption:e,thumbnailSize:(0,a.ref)({width:300,height:300}),renderer:this.renderer,effects:this.effects,adjustColorOp:this.#f.ops[0],onRenderPreview:()=>t(r),onEdit:e=>n(r,e)}))}))})),this.sources.value=Array.from(s),i.forEach((e=>!s.has(e)&&e.dispose())),i.length=0,o.clear()})),(0,a.watch)([this.sources,this.editStatesIn],(([e,t])=>{t?.forEach(((t,n)=>null!=t&&e[n]?.setState(t)))})),(0,a.watch)([this.#p],(([e])=>{this.#d.run((()=>this.#v(e??[]))).catch((e=>console.error("[webgl-media-editor] couldn't load effects",e)))}))}renderPreviewTo(e,t){return this.sources.value[e]?.drawPreview(t)}async exportToImageBitmap(){return this.renderer.toImageBitmap()}async toBlob(e,{type:t="image/jpeg",quality:n=.9}={}){if(e<0||e>=this.sources.value.length)throw new Error(`[webgl-media-editor] No image at index ${e}`);return this.sources.value[e].drawFullSize(),this.renderer.toBlob({type:t,quality:n})}async#v(e){this.effects.value.forEach((e=>e.janitor.dispose())),this.effects.value.length=0,this.effects.value=e.map((e=>new K(e,this.renderer))),await Promise.all(this.effects.value.map((e=>e.promise)))}watch=(e,t)=>this.#d.run((()=>(0,a.watch)(e,t)));watchEffect=e=>this.#d.run((()=>(0,a.effect)(e)));scopeRun(e){return this.#d.run(e)}dispose(){this.renderer.dispose(),this.#p.value.length=this.sourceInputs.value.length=0,this.renderer=void 0}};const ae=new WeakMap;class ie{#y;#b=[];constructor(e){const t=()=>{},n=(0,a.createEffectScope)();this.#y=n.run((()=>((0,a.onScopeDispose)((()=>this.#y=void 0)),new re({effects:(0,a.toRef)(e.effects??te()),onRenderPreview:async t=>{const n=this.#y.sources.value[t];URL.revokeObjectURL(this.#b[t]);const r=URL.createObjectURL(await(async(e,t)=>(e=>y&&e instanceof OffscreenCanvas)(e)?e.convertToBlob(t):new Promise(((n,r)=>{e.toBlob((e=>{null!=e?n(e):r(new Error("[miru] Couldn't get Blob from canvas"))}),t?.type,t?.quality)})))(n.context.canvas));this.#b[t]=r,e.onRenderPreview?.(t,r)},onEdit:e.onEdit??t})))),ae.set(this,this.#y)}setSources(e){this.#y.sourceInputs.value=[...e]}setEditState(e,t){const n=this.#y.sources.value[e];n.setState(t),n.drawPreview().catch((()=>{}))}toBlob(e,t){return this.#y.toBlob(e,t)}}const oe=e=>ae.get(e)},44896:(e,t,n)=>{"use strict";n.r(t),n.d(t,{listenOnDocumentMixin:()=>u});var r=n(2448),a=n(85493),i=n(87013),o=n(17079),s=n(87057),l=n(91671),c="$_documentListeners",u=(0,r.extend)({created:function(){this[c]={}},beforeDestroy:function(){var e=this;(0,l.keys)(this[c]||{}).forEach((function(t){e[c][t].forEach((function(n){e.listenOffDocument(t,n)}))})),this[c]=null},methods:{registerDocumentListener:function(e,t){this[c]&&(this[c][e]=this[c][e]||[],(0,o.arrayIncludes)(this[c][e],t)||this[c][e].push(t))},unregisterDocumentListener:function(e,t){this[c]&&this[c][e]&&(this[c][e]=this[c][e].filter((function(e){return e!==t})))},listenDocument:function(e,t,n){e?this.listenOnDocument(t,n):this.listenOffDocument(t,n)},listenOnDocument:function(e,t){a.IS_BROWSER&&((0,s.eventOn)(document,e,t,i.EVENT_OPTIONS_NO_CAPTURE),this.registerDocumentListener(e,t))},listenOffDocument:function(e,t){a.IS_BROWSER&&(0,s.eventOff)(document,e,t,i.EVENT_OPTIONS_NO_CAPTURE),this.unregisterDocumentListener(e,t)}}})},44931:(e,t,n)=>{"use strict";n.r(t),n.d(t,{colgroupMixin:()=>o,props:()=>i});var r=n(2448),a=n(94159),i={},o=(0,r.extend)({methods:{renderColgroup:function(){var e=this.computedFields,t=this.$createElement,n=t();return this.hasNormalizedSlot(a.SLOT_NAME_TABLE_COLGROUP)&&(n=t("colgroup",{key:"colgroup"},[this.normalizeSlot(a.SLOT_NAME_TABLE_COLGROUP,{columns:e.length,fields:e})])),n}}})},44965:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getMimeType:()=>a,mimeTypes:()=>r});const r={};function a(){return"application/octet-stream"}},45348:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BulletListLoader:()=>s,CodeLoader:()=>l,ContentLoader:()=>o,FacebookLoader:()=>c,InstagramLoader:()=>d,ListLoader:()=>u});var r=n(75189),a=n.n(r),i=function(){return Math.random().toString(36).substring(2)},o={name:"ContentLoader",functional:!0,props:{width:{type:[Number,String],default:400},height:{type:[Number,String],default:130},speed:{type:Number,default:2},preserveAspectRatio:{type:String,default:"xMidYMid meet"},baseUrl:{type:String,default:""},primaryColor:{type:String,default:"#f9f9f9"},secondaryColor:{type:String,default:"#ecebeb"},primaryOpacity:{type:Number,default:1},secondaryOpacity:{type:Number,default:1},uniqueKey:{type:String},animate:{type:Boolean,default:!0}},render:function(e,t){var n=t.props,r=t.data,o=t.children,s=n.uniqueKey?n.uniqueKey+"-idClip":i(),l=n.uniqueKey?n.uniqueKey+"-idGradient":i();return e("svg",a()([r,{attrs:{viewBox:"0 0 "+n.width+" "+n.height,version:"1.1",preserveAspectRatio:n.preserveAspectRatio}}]),[e("rect",{style:{fill:"url("+n.baseUrl+"#"+l+")"},attrs:{"clip-path":"url("+n.baseUrl+"#"+s+")",x:"0",y:"0",width:n.width,height:n.height}}),e("defs",[e("clipPath",{attrs:{id:s}},[o||e("rect",{attrs:{x:"0",y:"0",rx:"5",ry:"5",width:n.width,height:n.height}})]),e("linearGradient",{attrs:{id:l}},[e("stop",{attrs:{offset:"0%","stop-color":n.primaryColor,"stop-opacity":n.primaryOpacity}},[n.animate?e("animate",{attrs:{attributeName:"offset",values:"-2; 1",dur:n.speed+"s",repeatCount:"indefinite"}}):null]),e("stop",{attrs:{offset:"50%","stop-color":n.secondaryColor,"stop-opacity":n.secondaryOpacity}},[n.animate?e("animate",{attrs:{attributeName:"offset",values:"-1.5; 1.5",dur:n.speed+"s",repeatCount:"indefinite"}}):null]),e("stop",{attrs:{offset:"100%","stop-color":n.primaryColor,"stop-opacity":n.primaryOpacity}},[n.animate?e("animate",{attrs:{attributeName:"offset",values:"-1; 2",dur:n.speed+"s",repeatCount:"indefinite"}}):null])])])])}},s={name:"BulletListLoader",functional:!0,render:function(e,t){var n=t.data;return e(o,n,[e("circle",{attrs:{cx:"10",cy:"20",r:"8"}}),e("rect",{attrs:{x:"25",y:"15",rx:"5",ry:"5",width:"220",height:"10"}}),e("circle",{attrs:{cx:"10",cy:"50",r:"8"}}),e("rect",{attrs:{x:"25",y:"45",rx:"5",ry:"5",width:"220",height:"10"}}),e("circle",{attrs:{cx:"10",cy:"80",r:"8"}}),e("rect",{attrs:{x:"25",y:"75",rx:"5",ry:"5",width:"220",height:"10"}}),e("circle",{attrs:{cx:"10",cy:"110",r:"8"}}),e("rect",{attrs:{x:"25",y:"105",rx:"5",ry:"5",width:"220",height:"10"}})])}},l={name:"CodeLoader",functional:!0,render:function(e,t){var n=t.data;return e(o,n,[e("rect",{attrs:{x:"0",y:"0",rx:"3",ry:"3",width:"70",height:"10"}}),e("rect",{attrs:{x:"80",y:"0",rx:"3",ry:"3",width:"100",height:"10"}}),e("rect",{attrs:{x:"190",y:"0",rx:"3",ry:"3",width:"10",height:"10"}}),e("rect",{attrs:{x:"15",y:"20",rx:"3",ry:"3",width:"130",height:"10"}}),e("rect",{attrs:{x:"155",y:"20",rx:"3",ry:"3",width:"130",height:"10"}}),e("rect",{attrs:{x:"15",y:"40",rx:"3",ry:"3",width:"90",height:"10"}}),e("rect",{attrs:{x:"115",y:"40",rx:"3",ry:"3",width:"60",height:"10"}}),e("rect",{attrs:{x:"185",y:"40",rx:"3",ry:"3",width:"60",height:"10"}}),e("rect",{attrs:{x:"0",y:"60",rx:"3",ry:"3",width:"30",height:"10"}})])}},c={name:"FacebookLoader",functional:!0,render:function(e,t){var n=t.data;return e(o,n,[e("rect",{attrs:{x:"70",y:"15",rx:"4",ry:"4",width:"117",height:"6.4"}}),e("rect",{attrs:{x:"70",y:"35",rx:"3",ry:"3",width:"85",height:"6.4"}}),e("rect",{attrs:{x:"0",y:"80",rx:"3",ry:"3",width:"350",height:"6.4"}}),e("rect",{attrs:{x:"0",y:"100",rx:"3",ry:"3",width:"380",height:"6.4"}}),e("rect",{attrs:{x:"0",y:"120",rx:"3",ry:"3",width:"201",height:"6.4"}}),e("circle",{attrs:{cx:"30",cy:"30",r:"30"}})])}},u={name:"ListLoader",functional:!0,render:function(e,t){var n=t.data;return e(o,n,[e("rect",{attrs:{x:"0",y:"0",rx:"3",ry:"3",width:"250",height:"10"}}),e("rect",{attrs:{x:"20",y:"20",rx:"3",ry:"3",width:"220",height:"10"}}),e("rect",{attrs:{x:"20",y:"40",rx:"3",ry:"3",width:"170",height:"10"}}),e("rect",{attrs:{x:"0",y:"60",rx:"3",ry:"3",width:"250",height:"10"}}),e("rect",{attrs:{x:"20",y:"80",rx:"3",ry:"3",width:"200",height:"10"}}),e("rect",{attrs:{x:"20",y:"100",rx:"3",ry:"3",width:"80",height:"10"}})])}},d={name:"InstagramLoader",functional:!0,render:function(e,t){var n=t.data;return e(o,a()([n,{attrs:{height:480}}]),[e("circle",{attrs:{cx:"30",cy:"30",r:"30"}}),e("rect",{attrs:{x:"75",y:"13",rx:"4",ry:"4",width:"100",height:"13"}}),e("rect",{attrs:{x:"75",y:"37",rx:"4",ry:"4",width:"50",height:"8"}}),e("rect",{attrs:{x:"0",y:"70",rx:"5",ry:"5",width:"400",height:"400"}})])}}},45352:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BNavbarBrand:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(91671),s=n(1340),l=n(66344);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var i,o=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":a||n?o[0]:o[1]:(i=t.correctGrammaticalCase(e,o),"yy"===r&&n&&"godinu"===i?e+" godina":e+" "+i)}};e.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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(95093))},45766:function(e,t,n){!function(e){"use strict";var t={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(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function r(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function a(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function o(e,t,n,o){var s=e+" ";return 1===e?s+r(e,t,n[0],o):t?s+(a(e)?i(n)[1]:i(n)[0]):o?s+i(n)[1]:s+(a(e)?i(n)[1]:i(n)[2])}e.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:n,ss:o,m:r,mm:o,h:r,hh:o,d:r,dd:o,M:r,MM:o,y:r,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(95093))},46637:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return a+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return a+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return a+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return a+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return a+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(95093))},46710:(e,t,n)=>{"use strict";n.r(t),n.d(t,{isArray:()=>_,isBoolean:()=>m,isDate:()=>w,isEmptyString:()=>d,isEvent:()=>E,isFile:()=>M,isFunction:()=>p,isNull:()=>u,isNumber:()=>v,isNumeric:()=>y,isObject:()=>I,isPlainObject:()=>T,isPrimitive:()=>b,isPromise:()=>S,isRegExp:()=>k,isString:()=>g,isUndefined:()=>c,isUndefinedOrNull:()=>h,isUndefinedOrNullOrEmpty:()=>f,toRawType:()=>s,toRawTypeLC:()=>l,toType:()=>o});var r=n(41817),a=n(48789);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var o=function(e){return i(e)},s=function(e){return Object.prototype.toString.call(e).slice(8,-1)},l=function(e){return s(e).toLowerCase()},c=function(e){return void 0===e},u=function(e){return null===e},d=function(e){return""===e},h=function(e){return c(e)||u(e)},f=function(e){return h(e)||d(e)},p=function(e){return"function"===o(e)},m=function(e){return"boolean"===o(e)},g=function(e){return"string"===o(e)},v=function(e){return"number"===o(e)},y=function(e){return r.RX_NUMBER.test(String(e))},b=function(e){return m(e)||g(e)||v(e)},_=function(e){return Array.isArray(e)},I=function(e){return null!==e&&"object"===i(e)},T=function(e){return"[object Object]"===Object.prototype.toString.call(e)},w=function(e){return e instanceof Date},E=function(e){return e instanceof Event},M=function(e){return e instanceof a.File},k=function(e){return"RegExp"===s(e)},S=function(e){return!h(e)&&p(e.then)&&p(e.catch)}},47095:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,isBlurhashValid:()=>s});var r=n(84817),a=n(77688),i=n(81975);const o=e=>{if(!e||e.length<6)throw new i.ValidationError("The blurhash string must be at least 6 characters");const t=(0,r.decode83)(e[0]),n=Math.floor(t/9)+1,a=t%9+1;if(e.length!==4+2*a*n)throw new i.ValidationError(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*a*n}`)},s=e=>{try{o(e)}catch(e){return{result:!1,errorReason:e.message}}return{result:!0}},l=e=>{const t=e>>16,n=e>>8&255,r=255&e;return[(0,a.sRGBToLinear)(t),(0,a.sRGBToLinear)(n),(0,a.sRGBToLinear)(r)]},c=(e,t)=>{const n=Math.floor(e/361),r=Math.floor(e/19)%19,i=e%19;return[(0,a.signPow)((n-9)/9,2)*t,(0,a.signPow)((r-9)/9,2)*t,(0,a.signPow)((i-9)/9,2)*t]},u=(e,t,n,i)=>{o(e),i|=1;const s=(0,r.decode83)(e[0]),u=Math.floor(s/9)+1,d=s%9+1,h=((0,r.decode83)(e[1])+1)/166,f=new Array(d*u);for(let t=0;t10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(95093))},47798:(e,t,n)=>{"use strict";n.r(t),n.d(t,{formSelectionMixin:()=>r});var r=(0,n(2448).extend)({computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(e){this.$refs.input.selectionStart=e}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(e){this.$refs.input.selectionEnd=e}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(e){this.$refs.input.selectionDirection=e}}},methods:{select:function(){var e;(e=this.$refs.input).select.apply(e,arguments)},setSelectionRange:function(){var e;(e=this.$refs.input).setSelectionRange.apply(e,arguments)},setRangeText:function(){var e;(e=this.$refs.input).setRangeText.apply(e,arguments)}}})},48287:(e,t,n)=>{"use strict";var r=n(67526),a=n(251),i=n(64634);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(e).length;default:if(r)return V(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return x(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return M(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,a);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,a){var i,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a){var u=-1;for(i=n;is&&(n=s-l),i=n;i>=0;i--){for(var d=!0,h=0;ha&&(r=a):r=a;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o>8,a=n%256,i.push(a),i.push(r);return i}(t,e.length-n),e,n,r)}function M(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],a=t;a239?4:c>223?3:c>191?2:1;if(a+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[a+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[a+1],o=e[a+2],128==(192&i)&&128==(192&o)&&(l=(15&c)<<12|(63&i)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[a+1],o=e[a+2],s=e[a+3],128==(192&i)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),a+=d}return function(e){var t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,r,a){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(a>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(i,o),c=this.slice(r,a),u=e.slice(t,n),d=0;da)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return I(this,e,t,n);case"latin1":case"binary":return T(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function P(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;ar)&&(n=r);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,n,r,a,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function C(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a>>8*(r?a:1-a)}function D(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a>>8*(r?a:3-a)&255}function R(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,i){return i||R(e,0,n,4),a.write(e,t,n,r,23,4),n+4}function z(e,t,n,r,i){return i||R(e,0,n,8),a.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(a*=256);)r+=this[e+--t]*a;return r},l.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e],a=1,i=0;++i=(a*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=t,a=1,i=this[e+--r];r>0&&(a*=256);)i+=this[e+--r]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),a.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),a.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),a.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),a.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||O(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+a]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):C(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):C(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);O(this,e,t,n,a-1,-a)}var i=0,o=1,s=0;for(this[t]=255&e;++i=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o|0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):C(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):C(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return z(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return z(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--a)e[a+t]=this[a+n];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(a=0;a>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function Y(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function j(e,t,n,r){for(var a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}},48303:function(e,t,n){!function(e){"use strict";e.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(95093))},48414:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<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(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(95093))},48440:(e,t,n)=>{"use strict";n.r(t),n.d(t,{props:()=>M,sortingMixin:()=>k});var r,a,i=n(2448),o=n(87013),s=n(80072),l=n(17079),c=n(46710),u=n(1340),d=n(42714),h=n(56632),f=n(59809),p=n(31688);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Element:()=>f,File:()=>g,HTMLElement:()=>p,SVGElement:()=>m});var r=n(85493);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&d(e,t)}function s(e){var t=u();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return c(e,arguments,h(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)},l(e)}function c(e,t,n){return c=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&d(a,n.prototype),a},c.apply(null,arguments)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var f=r.HAS_WINDOW_SUPPORT?r.WINDOW.Element:function(e){o(n,e);var t=s(n);function n(){return i(this,n),t.apply(this,arguments)}return n}(l(Object)),p=r.HAS_WINDOW_SUPPORT?r.WINDOW.HTMLElement:function(e){o(n,e);var t=s(n);function n(){return i(this,n),t.apply(this,arguments)}return n}(f),m=r.HAS_WINDOW_SUPPORT?r.WINDOW.SVGElement:function(e){o(n,e);var t=s(n);function n(){return i(this,n),t.apply(this,arguments)}return n}(f),g=r.HAS_WINDOW_SUPPORT?r.WINDOW.File:function(e){o(n,e);var t=s(n);function n(){return i(this,n),t.apply(this,arguments)}return n}(l(Object))},48851:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>oe});var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,a=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();var i=r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),a))}};function o(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/(auto|scroll|overlay)/.test(n+a+r)?e:c(l(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}var d=r&&!(!window.MSInputMethodContext||!document.documentMode),h=r&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?d:10===e?h:d||h}function p(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,a=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(a,0);var o,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(a))return"BODY"===(s=(o=l).nodeName)||"HTML"!==s&&p(o.firstElementChild)!==o?p(l):l;var c=m(e);return c.host?g(c.host,t):g(e,m(t).host)}function v(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function y(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var I=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=f(10),a="HTML"===t.nodeName,i=M(e),o=M(t),l=c(e),u=s(t),d=parseFloat(u.borderTopWidth),h=parseFloat(u.borderLeftWidth);n&&a&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var p=E({top:i.top-o.top-d,left:i.left-o.left-h,width:i.width,height:i.height});if(p.marginTop=0,p.marginLeft=0,!r&&a){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);p.top-=d-m,p.bottom-=d-m,p.left-=h-g,p.right-=h-g,p.marginTop=m,p.marginLeft=g}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(p=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v(t,"top"),a=v(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=a*i,e.right+=a*i,e}(p,t)),p}function S(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=l(e);return!!n&&S(n)}function P(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function A(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},o=a?P(e):g(e,u(t));if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=k(e,n),a=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:v(n),s=t?0:v(n,"left");return E({top:o-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:a,height:i})}(o,a);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(l(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var d=k(s,o,a);if("HTML"!==s.nodeName||S(o))i=d;else{var h=_(e.ownerDocument),f=h.height,p=h.width;i.top+=d.top-d.marginTop,i.bottom=f+d.top,i.left+=d.left-d.marginLeft,i.right=p+d.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function x(e,t,n,r,a){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var o=A(n,r,i,a),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},l=Object.keys(s).map((function(e){return w({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function B(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return k(n,r?P(t):g(t,u(n)),r)}function L(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function O(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function C(e,t,n){n=n.split("-")[0];var r=L(e),a={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),o=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return a[o]=t[o]+t[l]/2-r[l]/2,a[s]=n===s?t[s]-r[c]:t[O(s)],a}function D(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function R(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=D(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&o(n)&&(t.offsets.popper=E(t.offsets.popper),t.offsets.reference=E(t.offsets.reference),t=n(t,e))})),t}function F(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=B(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=x(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=C(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=R(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function z(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function N(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=J.indexOf(e),r=J.slice(n+1).concat(J.slice(0,n));return t?r.reverse():r}var Q="flip",ee="clockwise",te="counterclockwise";function ne(e,t,n,r){var a=[0,0],i=-1!==["right","left"].indexOf(r),o=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=o.indexOf(D(o,(function(e){return-1!==e.search(/,|\s/)})));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return c=c.map((function(e,r){var a=(1===r?!i:i)?"height":"width",o=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var a=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+a[1],o=a[2];if(!i)return e;if(0===o.indexOf("%")){return E("%p"===o?n:r)[t]/100*i}if("vh"===o||"vw"===o)return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,a,t,n)}))})),c.forEach((function(e,t){e.forEach((function(n,r){G(n)&&(a[t]+=n*("-"===e[r-1]?-1:1))}))})),a}var re={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var a=e.offsets,i=a.reference,o=a.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:T({},l,i[l]),end:T({},l,i[l]+i[c]-o[c])};e.offsets.popper=w({},o,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,a=e.offsets,i=a.popper,o=a.reference,s=r.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:ne(n,i,o,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=N("transform"),a=e.instance.popper.style,i=a.top,o=a.left,s=a[r];a.top="",a.left="",a[r]="";var l=A(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);a.top=i,a.left=o,a[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),T({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=w({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,a=e.placement.split("-")[0],i=Math.floor,o=-1!==["top","bottom"].indexOf(a),s=o?"right":"bottom",l=o?"left":"top",c=o?"width":"height";return n[s]i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!K(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var a=e.placement.split("-")[0],i=e.offsets,o=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(a),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),f=c?"left":"top",p=c?"bottom":"right",m=L(r)[u];l[p]-mo[p]&&(e.offsets.popper[h]+=l[h]+m-o[p]),e.offsets.popper=E(e.offsets.popper);var g=l[h]+l[u]/2-m/2,v=s(e.instance.popper),y=parseFloat(v["margin"+d]),b=parseFloat(v["border"+d+"Width"]),_=g-e.offsets.popper[h]-y-b;return _=Math.max(Math.min(o[u]-m,_),0),e.arrowElement=r,e.offsets.arrow=(T(n={},h,Math.round(_)),T(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(z(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=A(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],a=O(r),i=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case Q:o=[r,a];break;case ee:o=Z(r);break;case te:o=Z(r,!0);break;default:o=t.behavior}return o.forEach((function(s,l){if(r!==s||o.length===l+1)return e;r=e.placement.split("-")[0],a=O(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,h="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)d(u.top)||"bottom"===r&&d(c.top)d(n.right),m=d(c.top)d(n.bottom),v="left"===r&&f||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===i&&f||y&&"end"===i&&p||!y&&"start"===i&&m||!y&&"end"===i&&g),_=!!t.flipVariationsByContent&&(y&&"start"===i&&p||y&&"end"===i&&f||!y&&"start"===i&&g||!y&&"end"===i&&m),I=b||_;(h||v||I)&&(e.flipped=!0,(h||v)&&(r=o[l+1]),I&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=w({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=R(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,a=r.popper,i=r.reference,o=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return a[o?"left":"top"]=i[n]-(s?a[o?"width":"height"]:0),e.placement=O(t),e.offsets.popper=E(a),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=D(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=w({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(w({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=w({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return w({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&o(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return I(e,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return H.call(this)}},{key:"enableEventListeners",value:function(){return U.call(this)}},{key:"disableEventListeners",value:function(){return $.call(this)}}]),e}();ie.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,ie.placements=X,ie.Defaults=ae;const oe=ie},48917:(e,t,n)=>{"use strict";n.r(t),n.d(t,{normalizeSlotMixin:()=>s});var r=n(2448),a=n(94159),i=n(33486),o=n(17079),s=(0,r.extend)({methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.SLOT_NAME_DEFAULT,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$scopedSlots,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$slots;return(0,i.hasNormalizedSlot)(e,t,n)},normalizeSlot:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.SLOT_NAME_DEFAULT,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$scopedSlots,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.$slots,s=(0,i.normalizeSlot)(e,t,n,r);return s?(0,o.concat)(s):s}}})},49448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BNavText:()=>o,props:()=>i});var r=n(2448),a=n(49800),i={},o=(0,r.extend)({name:a.NAME_NAV_TEXT,functional:!0,props:i,render:function(e,t){var n=t.data,a=t.children;return e("li",(0,r.mergeData)(n,{staticClass:"navbar-text"}),a)}})},49463:(e,t,n)=>{"use strict";n.r(t),n.d(t,{directivesPlugin:()=>d});var r=n(96266),a=n(60466),i=n(15013),o=n(96801),s=n(34285),l=n(95968),c=n(22331),u=n(75282),d=(0,r.pluginFactory)({plugins:{VBHoverPlugin:a.VBHoverPlugin,VBModalPlugin:i.VBModalPlugin,VBPopoverPlugin:o.VBPopoverPlugin,VBScrollspyPlugin:s.VBScrollspyPlugin,VBTogglePlugin:l.VBTogglePlugin,VBTooltipPlugin:c.VBTooltipPlugin,VBVisiblePlugin:u.VBVisiblePlugin}})},49551:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(85072),a=n.n(r),i=n(58526),o={insert:"head",singleton:!1};a()(i.default,o);const s=i.default.locals||{}},49598:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormRating:()=>r.BFormRating,FormRatingPlugin:()=>a});var r=n(2134),a=(0,n(96266).pluginFactory)({components:{BFormRating:r.BFormRating,BRating:r.BFormRating}})},49800:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NAME_ALERT:()=>r,NAME_ASPECT:()=>a,NAME_AVATAR:()=>i,NAME_AVATAR_GROUP:()=>o,NAME_BADGE:()=>s,NAME_BREADCRUMB:()=>l,NAME_BREADCRUMB_ITEM:()=>c,NAME_BREADCRUMB_LINK:()=>u,NAME_BUTTON:()=>d,NAME_BUTTON_CLOSE:()=>h,NAME_BUTTON_GROUP:()=>f,NAME_BUTTON_TOOLBAR:()=>p,NAME_CALENDAR:()=>m,NAME_CARD:()=>g,NAME_CARD_BODY:()=>v,NAME_CARD_FOOTER:()=>y,NAME_CARD_GROUP:()=>b,NAME_CARD_HEADER:()=>_,NAME_CARD_IMG:()=>I,NAME_CARD_IMG_LAZY:()=>T,NAME_CARD_SUB_TITLE:()=>w,NAME_CARD_TEXT:()=>E,NAME_CARD_TITLE:()=>M,NAME_CAROUSEL:()=>k,NAME_CAROUSEL_SLIDE:()=>S,NAME_COL:()=>P,NAME_COLLAPSE:()=>A,NAME_COLLAPSE_HELPER:()=>ht,NAME_CONTAINER:()=>x,NAME_DROPDOWN:()=>B,NAME_DROPDOWN_DIVIDER:()=>L,NAME_DROPDOWN_FORM:()=>O,NAME_DROPDOWN_GROUP:()=>C,NAME_DROPDOWN_HEADER:()=>D,NAME_DROPDOWN_ITEM:()=>R,NAME_DROPDOWN_ITEM_BUTTON:()=>F,NAME_DROPDOWN_TEXT:()=>z,NAME_EMBED:()=>N,NAME_FORM:()=>H,NAME_FORM_BUTTON_LABEL_CONTROL:()=>ft,NAME_FORM_CHECKBOX:()=>V,NAME_FORM_CHECKBOX_GROUP:()=>Y,NAME_FORM_DATALIST:()=>j,NAME_FORM_DATEPICKER:()=>U,NAME_FORM_FILE:()=>$,NAME_FORM_GROUP:()=>G,NAME_FORM_INPUT:()=>W,NAME_FORM_INVALID_FEEDBACK:()=>q,NAME_FORM_RADIO:()=>K,NAME_FORM_RADIO_GROUP:()=>X,NAME_FORM_RATING:()=>J,NAME_FORM_RATING_STAR:()=>pt,NAME_FORM_ROW:()=>Z,NAME_FORM_SELECT:()=>Q,NAME_FORM_SELECT_OPTION:()=>ee,NAME_FORM_SELECT_OPTION_GROUP:()=>te,NAME_FORM_SPINBUTTON:()=>ne,NAME_FORM_TAG:()=>re,NAME_FORM_TAGS:()=>ae,NAME_FORM_TEXT:()=>ie,NAME_FORM_TEXTAREA:()=>oe,NAME_FORM_TIMEPICKER:()=>se,NAME_FORM_VALID_FEEDBACK:()=>le,NAME_ICON:()=>ce,NAME_ICONSTACK:()=>ue,NAME_ICON_BASE:()=>de,NAME_IMG:()=>he,NAME_IMG_LAZY:()=>fe,NAME_INPUT_GROUP:()=>pe,NAME_INPUT_GROUP_ADDON:()=>me,NAME_INPUT_GROUP_APPEND:()=>ge,NAME_INPUT_GROUP_PREPEND:()=>ve,NAME_INPUT_GROUP_TEXT:()=>ye,NAME_JUMBOTRON:()=>be,NAME_LINK:()=>_e,NAME_LIST_GROUP:()=>Ie,NAME_LIST_GROUP_ITEM:()=>Te,NAME_MEDIA:()=>we,NAME_MEDIA_ASIDE:()=>Ee,NAME_MEDIA_BODY:()=>Me,NAME_MODAL:()=>ke,NAME_MSG_BOX:()=>Se,NAME_NAV:()=>Pe,NAME_NAVBAR:()=>Ae,NAME_NAVBAR_BRAND:()=>xe,NAME_NAVBAR_NAV:()=>Be,NAME_NAVBAR_TOGGLE:()=>Le,NAME_NAV_FORM:()=>Oe,NAME_NAV_ITEM:()=>Ce,NAME_NAV_ITEM_DROPDOWN:()=>De,NAME_NAV_TEXT:()=>Re,NAME_OVERLAY:()=>Fe,NAME_PAGINATION:()=>ze,NAME_PAGINATION_NAV:()=>Ne,NAME_POPOVER:()=>He,NAME_POPOVER_HELPER:()=>mt,NAME_POPOVER_TEMPLATE:()=>gt,NAME_POPPER:()=>vt,NAME_PROGRESS:()=>Ve,NAME_PROGRESS_BAR:()=>Ye,NAME_ROW:()=>je,NAME_SIDEBAR:()=>Ue,NAME_SKELETON:()=>$e,NAME_SKELETON_ICON:()=>Ge,NAME_SKELETON_IMG:()=>We,NAME_SKELETON_TABLE:()=>qe,NAME_SKELETON_WRAPPER:()=>Ke,NAME_SPINNER:()=>Xe,NAME_TAB:()=>Je,NAME_TABLE:()=>Ze,NAME_TABLE_CELL:()=>Qe,NAME_TABLE_LITE:()=>et,NAME_TABLE_SIMPLE:()=>tt,NAME_TABS:()=>nt,NAME_TAB_BUTTON_HELPER:()=>yt,NAME_TBODY:()=>rt,NAME_TFOOT:()=>at,NAME_TH:()=>it,NAME_THEAD:()=>ot,NAME_TIME:()=>st,NAME_TOAST:()=>lt,NAME_TOASTER:()=>ct,NAME_TOAST_POP:()=>bt,NAME_TOOLTIP:()=>ut,NAME_TOOLTIP_HELPER:()=>_t,NAME_TOOLTIP_TEMPLATE:()=>It,NAME_TR:()=>dt,NAME_TRANSITION:()=>Tt,NAME_TRANSPORTER:()=>wt,NAME_TRANSPORTER_TARGET:()=>Et});var r="BAlert",a="BAspect",i="BAvatar",o="BAvatarGroup",s="BBadge",l="BBreadcrumb",c="BBreadcrumbItem",u="BBreadcrumbLink",d="BButton",h="BButtonClose",f="BButtonGroup",p="BButtonToolbar",m="BCalendar",g="BCard",v="BCardBody",y="BCardFooter",b="BCardGroup",_="BCardHeader",I="BCardImg",T="BCardImgLazy",w="BCardSubTitle",E="BCardText",M="BCardTitle",k="BCarousel",S="BCarouselSlide",P="BCol",A="BCollapse",x="BContainer",B="BDropdown",L="BDropdownDivider",O="BDropdownForm",C="BDropdownGroup",D="BDropdownHeader",R="BDropdownItem",F="BDropdownItemButton",z="BDropdownText",N="BEmbed",H="BForm",V="BFormCheckbox",Y="BFormCheckboxGroup",j="BFormDatalist",U="BFormDatepicker",$="BFormFile",G="BFormGroup",W="BFormInput",q="BFormInvalidFeedback",K="BFormRadio",X="BFormRadioGroup",J="BFormRating",Z="BFormRow",Q="BFormSelect",ee="BFormSelectOption",te="BFormSelectOptionGroup",ne="BFormSpinbutton",re="BFormTag",ae="BFormTags",ie="BFormText",oe="BFormTextarea",se="BFormTimepicker",le="BFormValidFeedback",ce="BIcon",ue="BIconstack",de="BIconBase",he="BImg",fe="BImgLazy",pe="BInputGroup",me="BInputGroupAddon",ge="BInputGroupAppend",ve="BInputGroupPrepend",ye="BInputGroupText",be="BJumbotron",_e="BLink",Ie="BListGroup",Te="BListGroupItem",we="BMedia",Ee="BMediaAside",Me="BMediaBody",ke="BModal",Se="BMsgBox",Pe="BNav",Ae="BNavbar",xe="BNavbarBrand",Be="BNavbarNav",Le="BNavbarToggle",Oe="BNavForm",Ce="BNavItem",De="BNavItemDropdown",Re="BNavText",Fe="BOverlay",ze="BPagination",Ne="BPaginationNav",He="BPopover",Ve="BProgress",Ye="BProgressBar",je="BRow",Ue="BSidebar",$e="BSkeleton",Ge="BSkeletonIcon",We="BSkeletonImg",qe="BSkeletonTable",Ke="BSkeletonWrapper",Xe="BSpinner",Je="BTab",Ze="BTable",Qe="BTableCell",et="BTableLite",tt="BTableSimple",nt="BTabs",rt="BTbody",at="BTfoot",it="BTh",ot="BThead",st="BTime",lt="BToast",ct="BToaster",ut="BTooltip",dt="BTr",ht="BVCollapse",ft="BVFormBtnLabelControl",pt="BVFormRatingStar",mt="BVPopover",gt="BVPopoverTemplate",vt="BVPopper",yt="BVTabButton",bt="BVToastPop",_t="BVTooltip",It="BVTooltipTemplate",Tt="BVTransition",wt="BVTransporter",Et="BVTransporterTarget"},50304:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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(95093))},50596:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BInputGroupText:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=(0,o.makePropsConfigurable)({tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"div")},a.NAME_INPUT_GROUP_TEXT),l=(0,r.extend)({name:a.NAME_INPUT_GROUP_TEXT,functional:!0,props:s,render:function(e,t){var n=t.props,a=t.data,i=t.children;return e(n.tag,(0,r.mergeData)(a,{staticClass:"input-group-text"}),i)}})},50884:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BButtonToolbar:()=>f,props:()=>h});var r=n(2448),a=n(49800),i=n(80072),o=n(36714),s=n(71402),l=n(87057),c=n(1340),u=n(48917),d=[".btn:not(.disabled):not([disabled]):not(.dropdown-item)",".form-control:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])",'input[type="checkbox"]:not(.disabled)','input[type="radio"]:not(.disabled)'].join(","),h=(0,c.makePropsConfigurable)({justify:(0,c.makeProp)(i.PROP_TYPE_BOOLEAN,!1),keyNav:(0,c.makeProp)(i.PROP_TYPE_BOOLEAN,!1)},a.NAME_BUTTON_TOOLBAR),f=(0,r.extend)({name:a.NAME_BUTTON_TOOLBAR,mixins:[u.normalizeSlotMixin],props:h,mounted:function(){this.keyNav&&this.getItems()},methods:{getItems:function(){var e=(0,s.selectAll)(d,this.$el);return e.forEach((function(e){e.tabIndex=-1})),e.filter((function(e){return(0,s.isVisible)(e)}))},focusFirst:function(){var e=this.getItems();(0,s.attemptFocus)(e[0])},focusPrev:function(e){var t=this.getItems(),n=t.indexOf(e.target);n>-1&&(t=t.slice(0,n).reverse(),(0,s.attemptFocus)(t[0]))},focusNext:function(e){var t=this.getItems(),n=t.indexOf(e.target);n>-1&&(t=t.slice(n+1),(0,s.attemptFocus)(t[0]))},focusLast:function(){var e=this.getItems().reverse();(0,s.attemptFocus)(e[0])},onFocusin:function(e){var t=this.$el;e.target!==t||(0,s.contains)(t,e.relatedTarget)||((0,l.stopEvent)(e),this.focusFirst(e))},onKeydown:function(e){var t=e.keyCode,n=e.shiftKey;t===o.CODE_UP||t===o.CODE_LEFT?((0,l.stopEvent)(e),n?this.focusFirst(e):this.focusPrev(e)):t!==o.CODE_DOWN&&t!==o.CODE_RIGHT||((0,l.stopEvent)(e),n?this.focusLast(e):this.focusNext(e))}},render:function(e){var t=this.keyNav;return e("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:t?"0":null},on:t?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}})},50934:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BDropdownDivider:()=>h,props:()=>d});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=n(91671);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BMedia:()=>h,props:()=>d});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(33486),l=n(1340),c=n(34219),u=n(83367),d=(0,l.makePropsConfigurable)({noBody:(0,l.makeProp)(i.PROP_TYPE_BOOLEAN,!1),rightAlign:(0,l.makeProp)(i.PROP_TYPE_BOOLEAN,!1),tag:(0,l.makeProp)(i.PROP_TYPE_STRING,"div"),verticalAlign:(0,l.makeProp)(i.PROP_TYPE_STRING,"top")},a.NAME_MEDIA),h=(0,r.extend)({name:a.NAME_MEDIA,functional:!0,props:d,render:function(e,t){var n=t.props,a=t.data,i=t.slots,l=t.scopedSlots,d=t.children,h=n.noBody,f=n.rightAlign,p=n.verticalAlign,m=h?d:[];if(!h){var g={},v=i(),y=l||{};m.push(e(u.BMediaBody,(0,s.normalizeSlot)(o.SLOT_NAME_DEFAULT,g,y,v)));var b=(0,s.normalizeSlot)(o.SLOT_NAME_ASIDE,g,y,v);b&&m[f?"push":"unshift"](e(c.BMediaAside,{props:{right:f,verticalAlign:p}},b))}return e(n.tag,(0,r.mergeData)(a,{staticClass:"media"}),m)}})},51130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BDropdown:()=>_,props:()=>b});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(17079),l=n(41897),c=n(1340),u=n(59809),d=n(91474),h=n(81074),f=n(48917),p=n(75532),m=n(91671);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BIcon:()=>i.BIcon,BIconstack:()=>o.BIconstack,BootstrapVueIcons:()=>s.BootstrapVueIcons,IconsPlugin:()=>s.IconsPlugin,iconNames:()=>s.iconNames});var r=n(61651),a={};for(const e in r)["default","BIcon","BIconstack","IconsPlugin","BootstrapVueIcons","iconNames"].indexOf(e)<0&&(a[e]=()=>r[e]);n.d(t,a);var i=n(69756),o=n(80058),s=n(58094)},51836:(e,t,n)=>{"use strict";n.r(t),n.d(t,{props:()=>l,tfootMixin:()=>c});var r=n(2448),a=n(80072),i=n(94159),o=n(1340),s=n(7914),l={footClone:(0,o.makeProp)(a.PROP_TYPE_BOOLEAN,!1),footRowVariant:(0,o.makeProp)(a.PROP_TYPE_STRING),footVariant:(0,o.makeProp)(a.PROP_TYPE_STRING),tfootClass:(0,o.makeProp)(a.PROP_TYPE_ARRAY_OBJECT_STRING),tfootTrClass:(0,o.makeProp)(a.PROP_TYPE_ARRAY_OBJECT_STRING)},c=(0,r.extend)({props:l,methods:{renderTFootCustom:function(){var e=this.$createElement;return this.hasNormalizedSlot(i.SLOT_NAME_CUSTOM_FOOT)?e(s.BTfoot,{class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null},key:"bv-tfoot-custom"},this.normalizeSlot(i.SLOT_NAME_CUSTOM_FOOT,{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):e()},renderTfoot:function(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}})},51974:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BTime:()=>V,props:()=>H});var r,a=n(2448),i=n(49800),o=n(87013),s=n(36714),l=n(80072),c=n(41817),u=n(17079),d=n(26596),h=n(71402),f=n(87057),p=n(58494),m=n(46710),g=n(60277),v=n(52094),y=n(38199),b=n(89821),_=n(91671),I=n(1340),T=n(59809),w=n(81074),E=n(48917),M=n(10410),k=n(61651);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]&&arguments[1];return(0,m.isNull)(t)||(0,m.isNull)(n)||a&&(0,m.isNull)(r)?"":[t,n,a?r:0].map(z).join(":")}({hours:this.modelHours,minutes:this.modelMinutes,seconds:this.modelSeconds},this.showSeconds)},resolvedOptions:function(){var e=(0,u.concat)(this.locale).filter(p.identity),t={hour:F,minute:F,second:F};(0,m.isUndefinedOrNull)(this.hour12)||(t.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(e,t).resolvedOptions(),r=n.hour12||!1,a=n.hourCycle||(r?"h12":"h23");return{locale:n.locale,hour12:r,hourCycle:a}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return(0,v.isLocaleRTL)(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(p.identity).join(" ")||null},timeFormatter:function(){var e={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:F,minute:F,timeZone:"UTC"};return this.showSeconds&&(e.second=F),(0,d.createDateFormatter)(this.computedLocale,e)},numberFormatter:function(){return new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"}).format},formattedTimeString:function(){var e=this.modelHours,t=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter((0,d.createDate)(Date.UTC(0,0,1,e,t,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var e=this.$createElement;return{increment:function(t){var n=t.hasFocus;return e(k.BIconChevronUp,{props:{scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(t){var n=t.hasFocus;return e(k.BIconChevronUp,{props:{flipV:!0,scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(r={},A(r,D,(function(e,t){if(e!==t&&!(0,g.looseEqual)(N(e),N(this.computedHMS))){var n=N(e),r=n.hours,a=n.minutes,i=n.seconds,o=n.ampm;this.modelHours=r,this.modelMinutes=a,this.modelSeconds=i,this.modelAmpm=o}})),A(r,"computedHMS",(function(e,t){e!==t&&this.$emit(R,e)})),A(r,"context",(function(e,t){(0,g.looseEqual)(e,t)||this.$emit(o.EVENT_NAME_CONTEXT,e)})),A(r,"modelAmpm",(function(e,t){var n=this;if(e!==t){var r=(0,m.isNull)(this.modelHours)?0:this.modelHours;this.$nextTick((function(){0===e&&r>11?n.modelHours=r-12:1===e&&r<12&&(n.modelHours=r+12)}))}})),A(r,"modelHours",(function(e,t){e!==t&&(this.modelAmpm=e>11?1:0)})),r),created:function(){var e=this;this.$nextTick((function(){e.$emit(o.EVENT_NAME_CONTEXT,e.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||(0,h.attemptFocus)(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var e=(0,h.getActiveElement)();(0,h.contains)(this.$el,e)&&(0,h.attemptBlur)(e)}},formatHours:function(e){var t=this.computedHourCycle;return e=0===(e=this.is12Hour&&e>12?e-12:e)&&"h12"===t?12:0===e&&"h24"===t?24:12===e&&"h11"===t?0:e,this.numberFormatter(e)},formatMinutes:function(e){return this.numberFormatter(e)},formatSeconds:function(e){return this.numberFormatter(e)},formatAmpm:function(e){return 0===e?this.labelAm:1===e?this.labelPm:""},setHours:function(e){this.modelHours=e},setMinutes:function(e){this.modelMinutes=e},setSeconds:function(e){this.modelSeconds=e},setAmpm:function(e){this.modelAmpm=e},onSpinLeftRight:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.type,n=e.keyCode;if(!this.disabled&&"keydown"===t&&(n===s.CODE_LEFT||n===s.CODE_RIGHT)){(0,f.stopEvent)(e);var r=this.$refs.spinners||[],a=r.map((function(e){return!!e.hasFocus})).indexOf(!0);a=(a+=n===s.CODE_LEFT?-1:1)>=r.length?0:a<0?r.length-1:a,(0,h.attemptFocus)(r[a])}},setLive:function(e){var t=this;e?this.$nextTick((function(){(0,h.requestAF)((function(){t.isLive=!0}))})):this.isLive=!1}},render:function(e){var t=this;if(this.hidden)return e();var n=this.disabled,r=this.readonly,i=this.computedLocale,o=this.computedAriaLabelledby,s=this.labelIncrement,l=this.labelDecrement,c=this.valueId,u=this.focus,d=[],h=function(o,u,h){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},p=t.safeId("_spinbutton_".concat(u,"_"))||null;return d.push(p),e(M.BFormSpinbutton,A({class:h,props:P({id:p,placeholder:"--",vertical:!0,required:!0,disabled:n,readonly:r,locale:i,labelIncrement:s,labelDecrement:l,wrap:!0,ariaControls:c,min:0},f),scopedSlots:t.spinScopedSlots,on:{change:o},key:u,ref:"spinners"},a.REF_FOR_KEY,!0))},f=function(){return e("div",{staticClass:"d-flex flex-column",class:{"text-muted":n||r},attrs:{"aria-hidden":"true"}},[e(k.BIconCircleFill,{props:{shiftV:4,scale:.5}}),e(k.BIconCircleFill,{props:{shiftV:-4,scale:.5}})])},m=[];m.push(h(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),m.push(f()),m.push(h(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(m.push(f()),m.push(h(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.isLive&&this.is12Hour&&m.push(h(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),m=e("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:n||r?null:"-1","aria-labelledby":o},on:{keydown:this.onSpinLeftRight,click:function(e){e.target===e.currentTarget&&u()}}},m);var g=e("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:n||r},attrs:{id:c,role:"status",for:d.filter(p.identity).join(" ")||null,tabindex:n?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:u,focus:u}},[e("bdi",this.formattedTimeString),this.computedHMS?e("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),v=e(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[g]),y=this.normalizeSlot(),b=y?e(this.footerTag,{staticClass:"b-time-footer"},y):e();return e("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":o||null,"aria-disabled":n?"true":null,"aria-readonly":r&&!n?"true":null}},[v,m,b])}})},52094:(e,t,n)=>{"use strict";n.r(t),n.d(t,{isLocaleRTL:()=>s});var r=n(41817),a=n(17079),i=n(59809),o=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map((function(e){return e.toLowerCase()})),s=function(e){var t=(0,i.toString)(e).toLowerCase().replace(r.RX_STRIP_LOCALE_MODS,"").split("-"),n=t.slice(0,2).join("-"),s=t[0];return(0,a.arrayIncludes)(o,n)||(0,a.arrayIncludes)(o,s)}},52112:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BAspect:()=>m,props:()=>p});var r=n(2448),a=n(49800),i=n(80072),o=n(41817),s=n(28014),l=n(89821),c=n(1340),u=n(48917);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{BFormSelectOption:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=(0,o.makePropsConfigurable)({disabled:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),value:(0,o.makeProp)(i.PROP_TYPE_ANY,void 0,!0)},a.NAME_FORM_SELECT_OPTION),l=(0,r.extend)({name:a.NAME_FORM_SELECT_OPTION,functional:!0,props:s,render:function(e,t){var n=t.props,a=t.data,i=t.children,o=n.value,s=n.disabled;return e("option",(0,r.mergeData)(a,{attrs:{disabled:s},domProps:{value:o}}),i)}})},52477:function(e,t,n){!function(e){"use strict";e.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(95093))},52578:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormTextarea:()=>k,props:()=>M});var r=n(2448),a=n(49800),i=n(80072),o=n(71402),s=n(46710),l=n(28014),c=n(89821),u=n(91671),d=n(1340),h=n(42545),f=n(47798),p=n(62579),m=n(69849),g=n(67385),v=n(77580),y=n(81074),b=n(60213),_=n(32878),I=n(93444);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;tm?d:"".concat(m,"px")}},render:function(e){return e("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}})},52648:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},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(95093))},52754:function(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t),i=r(n);function o(e,t){for(var n=0;n=o)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};y.jQueryDetection(),v();var b="alert",_="4.6.2",I="bs.alert",T="."+I,w=".data-api",E=a.default.fn[b],M="alert",k="fade",S="show",P="close"+T,A="closed"+T,x="click"+T+w,B='[data-dismiss="alert"]',L=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){a.default.removeData(this._element,I),this._element=null},t._getRootElement=function(e){var t=y.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=a.default(e).closest("."+M)[0]),n},t._triggerCloseEvent=function(e){var t=a.default.Event(P);return a.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(a.default(e).removeClass(S),a.default(e).hasClass(k)){var n=y.getTransitionDurationFromElement(e);a.default(e).one(y.TRANSITION_END,(function(n){return t._destroyElement(e,n)})).emulateTransitionEnd(n)}else this._destroyElement(e)},t._destroyElement=function(e){a.default(e).detach().trigger(A).remove()},e._jQueryInterface=function(t){return this.each((function(){var n=a.default(this),r=n.data(I);r||(r=new e(this),n.data(I,r)),"close"===t&&r[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(e,null,[{key:"VERSION",get:function(){return _}}]),e}();a.default(document).on(x,B,L._handleDismiss(new L)),a.default.fn[b]=L._jQueryInterface,a.default.fn[b].Constructor=L,a.default.fn[b].noConflict=function(){return a.default.fn[b]=E,L._jQueryInterface};var O="button",C="4.6.2",D="bs.button",R="."+D,F=".data-api",z=a.default.fn[O],N="active",H="btn",V="focus",Y="click"+R+F,j="focus"+R+F+" blur"+R+F,U="load"+R+F,$='[data-toggle^="button"]',G='[data-toggle="buttons"]',W='[data-toggle="button"]',q='[data-toggle="buttons"] .btn',K='input:not([type="hidden"])',X=".active",J=".btn",Z=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,n=a.default(this._element).closest(G)[0];if(n){var r=this._element.querySelector(K);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(N))e=!1;else{var i=n.querySelector(X);i&&a.default(i).removeClass(N)}e&&("checkbox"!==r.type&&"radio"!==r.type||(r.checked=!this._element.classList.contains(N)),this.shouldAvoidTriggerChange||a.default(r).trigger("change")),r.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(N)),e&&a.default(this._element).toggleClass(N))},t.dispose=function(){a.default.removeData(this._element,D),this._element=null},e._jQueryInterface=function(t,n){return this.each((function(){var r=a.default(this),i=r.data(D);i||(i=new e(this),r.data(D,i)),i.shouldAvoidTriggerChange=n,"toggle"===t&&i[t]()}))},s(e,null,[{key:"VERSION",get:function(){return C}}]),e}();a.default(document).on(Y,$,(function(e){var t=e.target,n=t;if(a.default(t).hasClass(H)||(t=a.default(t).closest(J)[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var r=t.querySelector(K);if(r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==n.tagName&&"LABEL"===t.tagName||Z._jQueryInterface.call(a.default(t),"toggle","INPUT"===n.tagName)}})).on(j,$,(function(e){var t=a.default(e.target).closest(J)[0];a.default(t).toggleClass(V,/^focus(in)?$/.test(e.type))})),a.default(window).on(U,(function(){for(var e=[].slice.call(document.querySelectorAll(q)),t=0,n=e.length;t0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide(ve)},t.nextWhenVisible=function(){var e=a.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(ye)},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(ze)&&(y.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(De);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)a.default(this._element).one(Te,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var r=e>n?ve:ye;this._slide(r,this._items[e])}},t.dispose=function(){a.default(this._element).off(ne),a.default.removeData(this._element,te),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=l({},Ye,e),y.typeCheckConfig(Q,e,je),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=le)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&a.default(this._element).on(we,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&a.default(this._element).on(Ee,(function(t){return e.pause(t)})).on(Me,(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&Ue[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){e.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-e.touchStartX},r=function(t){e._pointerEvent&&Ue[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),se+e._config.interval))};a.default(this._element.querySelectorAll(Fe)).on(Be,(function(e){return e.preventDefault()})),this._pointerEvent?(a.default(this._element).on(Ae,(function(e){return t(e)})),a.default(this._element).on(xe,(function(e){return r(e)})),this._element.classList.add(ge)):(a.default(this._element).on(ke,(function(e){return t(e)})),a.default(this._element).on(Se,(function(e){return n(e)})),a.default(this._element).on(Pe,(function(e){return r(e)})))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case ie:e.preventDefault(),this.prev();break;case oe:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(Re)):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var n=e===ve,r=e===ye,a=this._getItemIndex(t),i=this._items.length-1;if((r&&0===a||n&&a===i)&&!this._config.wrap)return t;var o=(a+(e===ye?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},t._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(De)),i=a.default.Event(Ie,{relatedTarget:e,direction:t,from:r,to:n});return a.default(this._element).trigger(i),i},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(Ce));a.default(t).removeClass(ue);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&a.default(n).addClass(ue)}},t._updateInterval=function(){var e=this._activeElement||this._element.querySelector(De);if(e){var t=parseInt(e.getAttribute("data-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function(e,t){var n,r,i,o=this,s=this._element.querySelector(De),l=this._getItemIndex(s),c=t||s&&this._getItemByDirection(e,s),u=this._getItemIndex(c),d=Boolean(this._interval);if(e===ve?(n=fe,r=pe,i=be):(n=he,r=me,i=_e),c&&a.default(c).hasClass(ue))this._isSliding=!1;else if(!this._triggerSlideEvent(c,i).isDefaultPrevented()&&s&&c){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(c),this._activeElement=c;var h=a.default.Event(Te,{relatedTarget:c,direction:i,from:l,to:u});if(a.default(this._element).hasClass(de)){a.default(c).addClass(r),y.reflow(c),a.default(s).addClass(n),a.default(c).addClass(n);var f=y.getTransitionDurationFromElement(s);a.default(s).one(y.TRANSITION_END,(function(){a.default(c).removeClass(n+" "+r).addClass(ue),a.default(s).removeClass(ue+" "+r+" "+n),o._isSliding=!1,setTimeout((function(){return a.default(o._element).trigger(h)}),0)})).emulateTransitionEnd(f)}else a.default(s).removeClass(ue),a.default(c).addClass(ue),this._isSliding=!1,a.default(this._element).trigger(h);d&&this.cycle()}},e._jQueryInterface=function(t){return this.each((function(){var n=a.default(this).data(te),r=l({},Ye,a.default(this).data());"object"==typeof t&&(r=l({},r,t));var i="string"==typeof t?t:r.slide;if(n||(n=new e(this,r),a.default(this).data(te,n)),"number"==typeof t)n.to(t);else if("string"==typeof i){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}))},e._dataApiClickHandler=function(t){var n=y.getSelectorFromElement(this);if(n){var r=a.default(n)[0];if(r&&a.default(r).hasClass(ce)){var i=l({},a.default(r).data(),a.default(this).data()),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),e._jQueryInterface.call(a.default(r),i),o&&a.default(r).data(te).to(o),t.preventDefault()}}},s(e,null,[{key:"VERSION",get:function(){return ee}},{key:"Default",get:function(){return Ye}}]),e}();a.default(document).on(Oe,He,$e._dataApiClickHandler),a.default(window).on(Le,(function(){for(var e=[].slice.call(document.querySelectorAll(Ve)),t=0,n=e.length;t0&&(this._selector=o,this._triggerArray.push(i))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){a.default(this._element).hasClass(Ze)?this.hide():this.show()},t.show=function(){var t,n,r=this;if(!(this._isTransitioning||a.default(this._element).hasClass(Ze)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(ct)).filter((function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(Qe)}))).length&&(t=null),t&&(n=a.default(t).not(this._selector).data(qe))&&n._isTransitioning))){var i=a.default.Event(at);if(a.default(this._element).trigger(i),!i.isDefaultPrevented()){t&&(e._jQueryInterface.call(a.default(t).not(this._selector),"hide"),n||a.default(t).data(qe,null));var o=this._getDimension();a.default(this._element).removeClass(Qe).addClass(et),this._element.style[o]=0,this._triggerArray.length&&a.default(this._triggerArray).removeClass(tt).attr("aria-expanded",!0),this.setTransitioning(!0);var s=function(){a.default(r._element).removeClass(et).addClass(Qe+" "+Ze),r._element.style[o]="",r.setTransitioning(!1),a.default(r._element).trigger(it)},l="scroll"+(o[0].toUpperCase()+o.slice(1)),c=y.getTransitionDurationFromElement(this._element);a.default(this._element).one(y.TRANSITION_END,s).emulateTransitionEnd(c),this._element.style[o]=this._element[l]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&a.default(this._element).hasClass(Ze)){var t=a.default.Event(ot);if(a.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",y.reflow(this._element),a.default(this._element).addClass(et).removeClass(Qe+" "+Ze);var r=this._triggerArray.length;if(r>0)for(var i=0;i0},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),l({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each((function(){var n=a.default(this).data(gt);if(n||(n=new e(this,"object"==typeof t?t:null),a.default(this).data(gt,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},e._clearMenus=function(t){if(!t||t.which!==Mt&&("keyup"!==t.type||t.which===Tt))for(var n=[].slice.call(document.querySelectorAll(Yt)),r=0,i=n.length;r0&&o--,t.which===Et&&odocument.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(gn);var r=y.getTransitionDurationFromElement(this._dialog);a.default(this._element).off(y.TRANSITION_END),a.default(this._element).one(y.TRANSITION_END,(function(){e._element.classList.remove(gn),n||a.default(e._element).one(y.TRANSITION_END,(function(){e._element.style.overflowY=""})).emulateTransitionEnd(e._element,r)})).emulateTransitionEnd(r),this._element.focus()}},t._showElement=function(e){var t=this,n=a.default(this._element).hasClass(pn),r=this._dialog?this._dialog.querySelector(xn):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),a.default(this._dialog).hasClass(un)&&r?r.scrollTop=0:this._element.scrollTop=0,n&&y.reflow(this._element),a.default(this._element).addClass(mn),this._config.focus&&this._enforceFocus();var i=a.default.Event(In,{relatedTarget:e}),o=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,a.default(t._element).trigger(i)};if(n){var s=y.getTransitionDurationFromElement(this._dialog);a.default(this._dialog).one(y.TRANSITION_END,o).emulateTransitionEnd(s)}else o()},t._enforceFocus=function(){var e=this;a.default(document).off(Tn).on(Tn,(function(t){document!==t.target&&e._element!==t.target&&0===a.default(e._element).has(t.target).length&&e._element.focus()}))},t._setEscapeEvent=function(){var e=this;this._isShown?a.default(this._element).on(Mn,(function(t){e._config.keyboard&&t.which===cn?(t.preventDefault(),e.hide()):e._config.keyboard||t.which!==cn||e._triggerBackdropTransition()})):this._isShown||a.default(this._element).off(Mn)},t._setResizeEvent=function(){var e=this;this._isShown?a.default(window).on(wn,(function(t){return e.handleUpdate(t)})):a.default(window).off(wn)},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){a.default(document.body).removeClass(fn),e._resetAdjustments(),e._resetScrollbar(),a.default(e._element).trigger(bn)}))},t._removeBackdrop=function(){this._backdrop&&(a.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,n=a.default(this._element).hasClass(pn)?pn:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=hn,n&&this._backdrop.classList.add(n),a.default(this._backdrop).appendTo(document.body),a.default(this._element).on(En,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())})),n&&y.reflow(this._backdrop),a.default(this._backdrop).addClass(mn),!e)return;if(!n)return void e();var r=y.getTransitionDurationFromElement(this._backdrop);a.default(this._backdrop).one(y.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){a.default(this._backdrop).removeClass(mn);var i=function(){t._removeBackdrop(),e&&e()};if(a.default(this._element).hasClass(pn)){var o=y.getTransitionDurationFromElement(this._backdrop);a.default(this._backdrop).one(y.TRANSITION_END,i).emulateTransitionEnd(o)}else i()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)
    ',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:Nn,popperConfig:null},ur={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},dr={HIDE:"hide"+Wn,HIDDEN:"hidden"+Wn,SHOW:"show"+Wn,SHOWN:"shown"+Wn,INSERTED:"inserted"+Wn,CLICK:"click"+Wn,FOCUSIN:"focusin"+Wn,FOCUSOUT:"focusout"+Wn,MOUSEENTER:"mouseenter"+Wn,MOUSELEAVE:"mouseleave"+Wn},hr=function(){function e(e,t){if(void 0===i.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=a.default(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),a.default(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(a.default(this.getTipElement()).hasClass(Qn))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),a.default.removeData(this.element,this.constructor.DATA_KEY),a.default(this.element).off(this.constructor.EVENT_KEY),a.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&a.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===a.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t=a.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){a.default(this.element).trigger(t);var n=y.findShadowRoot(this.element),r=a.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!r)return;var o=this.getTipElement(),s=y.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&a.default(o).addClass(Zn);var l="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,c=this._getAttachment(l);this.addAttachmentClass(c);var u=this._getContainer();a.default(o).data(this.constructor.DATA_KEY,this),a.default.contains(this.element.ownerDocument.documentElement,this.tip)||a.default(o).appendTo(u),a.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i.default(this.element,o,this._getPopperConfig(c)),a.default(o).addClass(Qn),a.default(o).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&a.default(document.body).children().on("mouseover",null,a.default.noop);var d=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,a.default(e.element).trigger(e.constructor.Event.SHOWN),t===tr&&e._leave(null,e)};if(a.default(this.tip).hasClass(Zn)){var h=y.getTransitionDurationFromElement(this.tip);a.default(this.tip).one(y.TRANSITION_END,d).emulateTransitionEnd(h)}else d()}},t.hide=function(e){var t=this,n=this.getTipElement(),r=a.default.Event(this.constructor.Event.HIDE),i=function(){t._hoverState!==er&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),a.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(a.default(this.element).trigger(r),!r.isDefaultPrevented()){if(a.default(n).removeClass(Qn),"ontouchstart"in document.documentElement&&a.default(document.body).children().off("mouseover",null,a.default.noop),this._activeTrigger[or]=!1,this._activeTrigger[ir]=!1,this._activeTrigger[ar]=!1,a.default(this.tip).hasClass(Zn)){var o=y.getTransitionDurationFromElement(n);a.default(n).one(y.TRANSITION_END,i).emulateTransitionEnd(o)}else i();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){a.default(this.getTipElement()).addClass(Kn+"-"+e)},t.getTipElement=function(){return this.tip=this.tip||a.default(this.config.template)[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(a.default(e.querySelectorAll(nr)),this.getTitle()),a.default(e).removeClass(Zn+" "+Qn)},t.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=jn(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?a.default(t).parent().is(e)||e.empty().append(t):e.text(a.default(t).text())},t.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},t._getPopperConfig=function(e){var t=this;return l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:rr},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:y.isElement(this.config.container)?a.default(this.config.container):a.default(document).find(this.config.container)},t._getAttachment=function(e){return lr[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)a.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(t!==sr){var n=t===ar?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=t===ar?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;a.default(e.element).on(n,e.config.selector,(function(t){return e._enter(t)})).on(r,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e.element&&e.hide()},a.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||a.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),a.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?ir:ar]=!0),a.default(t.getTipElement()).hasClass(Qn)||t._hoverState===er?t._hoverState=er:(clearTimeout(t._timeout),t._hoverState=er,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===er&&t.show()}),t.config.delay.show):t.show())},t._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||a.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),a.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?ir:ar]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=tr,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===tr&&t.hide()}),t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=a.default(this.element).data();return Object.keys(t).forEach((function(e){-1!==Jn.indexOf(e)&&delete t[e]})),"number"==typeof(e=l({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),y.typeCheckConfig(Un,e,this.constructor.DefaultType),e.sanitize&&(e.template=jn(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},t._cleanTipClass=function(){var e=a.default(this.getTipElement()),t=e.attr("class").match(Xn);null!==t&&t.length&&e.removeClass(t.join(""))},t._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(a.default(e).removeClass(Zn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var n=a.default(this),r=n.data(Gn),i="object"==typeof t&&t;if((r||!/dispose|hide/.test(t))&&(r||(r=new e(this,i),n.data(Gn,r)),"string"==typeof t)){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return $n}},{key:"Default",get:function(){return cr}},{key:"NAME",get:function(){return Un}},{key:"DATA_KEY",get:function(){return Gn}},{key:"Event",get:function(){return dr}},{key:"EVENT_KEY",get:function(){return Wn}},{key:"DefaultType",get:function(){return ur}}]),e}();a.default.fn[Un]=hr._jQueryInterface,a.default.fn[Un].Constructor=hr,a.default.fn[Un].noConflict=function(){return a.default.fn[Un]=qn,hr._jQueryInterface};var fr="popover",pr="4.6.2",mr="bs.popover",gr="."+mr,vr=a.default.fn[fr],yr="bs-popover",br=new RegExp("(^|\\s)"+yr+"\\S+","g"),_r="fade",Ir="show",Tr=".popover-header",wr=".popover-body",Er=l({},hr.Default,{placement:"right",trigger:"click",content:"",template:''}),Mr=l({},hr.DefaultType,{content:"(string|element|function)"}),kr={HIDE:"hide"+gr,HIDDEN:"hidden"+gr,SHOW:"show"+gr,SHOWN:"shown"+gr,INSERTED:"inserted"+gr,CLICK:"click"+gr,FOCUSIN:"focusin"+gr,FOCUSOUT:"focusout"+gr,MOUSEENTER:"mouseenter"+gr,MOUSELEAVE:"mouseleave"+gr},Sr=function(e){function t(){return e.apply(this,arguments)||this}c(t,e);var n=t.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(e){a.default(this.getTipElement()).addClass(yr+"-"+e)},n.getTipElement=function(){return this.tip=this.tip||a.default(this.config.template)[0],this.tip},n.setContent=function(){var e=a.default(this.getTipElement());this.setElementContent(e.find(Tr),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(wr),t),e.removeClass(_r+" "+Ir)},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var e=a.default(this.getTipElement()),t=e.attr("class").match(br);null!==t&&t.length>0&&e.removeClass(t.join(""))},t._jQueryInterface=function(e){return this.each((function(){var n=a.default(this).data(mr),r="object"==typeof e?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,r),a.default(this).data(mr,n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},s(t,null,[{key:"VERSION",get:function(){return pr}},{key:"Default",get:function(){return Er}},{key:"NAME",get:function(){return fr}},{key:"DATA_KEY",get:function(){return mr}},{key:"Event",get:function(){return kr}},{key:"EVENT_KEY",get:function(){return gr}},{key:"DefaultType",get:function(){return Mr}}]),t}(hr);a.default.fn[fr]=Sr._jQueryInterface,a.default.fn[fr].Constructor=Sr,a.default.fn[fr].noConflict=function(){return a.default.fn[fr]=vr,Sr._jQueryInterface};var Pr="scrollspy",Ar="4.6.2",xr="bs.scrollspy",Br="."+xr,Lr=".data-api",Or=a.default.fn[Pr],Cr="dropdown-item",Dr="active",Rr="activate"+Br,Fr="scroll"+Br,zr="load"+Br+Lr,Nr="offset",Hr="position",Vr='[data-spy="scroll"]',Yr=".nav, .list-group",jr=".nav-link",Ur=".nav-item",$r=".list-group-item",Gr=".dropdown",Wr=".dropdown-item",qr=".dropdown-toggle",Kr={offset:10,method:"auto",target:""},Xr={offset:"number",method:"string",target:"(string|element)"},Jr=function(){function e(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+jr+","+this._config.target+" "+$r+","+this._config.target+" "+Wr,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,a.default(this._scrollElement).on(Fr,(function(e){return n._process(e)})),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?Nr:Hr,n="auto"===this._config.method?t:this._config.method,r=n===Hr?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var t,i=y.getSelectorFromElement(e);if(i&&(t=document.querySelector(i)),t){var o=t.getBoundingClientRect();if(o.width||o.height)return[a.default(t)[n]().top+r,i]}return null})).filter(Boolean).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},t.dispose=function(){a.default.removeData(this._element,xr),a.default(this._scrollElement).off(Br),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=l({},Kr,"object"==typeof e&&e?e:{})).target&&y.isElement(e.target)){var t=a.default(e.target).attr("id");t||(t=y.getUID(Pr),a.default(e.target).attr("id",t)),e.target="#"+t}return y.typeCheckConfig(Pr,e,Xr),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(var a=this._offsets.length;a--;)this._activeTarget!==this._targets[a]&&e>=this._offsets[a]&&(void 0===this._offsets[a+1]||e{"use strict";n.r(t),n.d(t,{add:()=>I,clone:()=>i,copy:()=>o,create:()=>a,determinant:()=>d,equals:()=>k,exactEquals:()=>M,frob:()=>_,fromRotation:()=>g,fromScaling:()=>v,fromTranslation:()=>y,fromValues:()=>l,identity:()=>s,invert:()=>u,mul:()=>S,multiply:()=>h,multiplyScalar:()=>w,multiplyScalarAndAdd:()=>E,rotate:()=>f,scale:()=>p,set:()=>c,str:()=>b,sub:()=>P,subtract:()=>T,translate:()=>m});var r=n(17823);function a(){var e=new r.ARRAY_TYPE(6);return r.ARRAY_TYPE!=Float32Array&&(e[1]=0,e[2]=0,e[4]=0,e[5]=0),e[0]=1,e[3]=1,e}function i(e){var t=new r.ARRAY_TYPE(6);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function s(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function l(e,t,n,a,i,o){var s=new r.ARRAY_TYPE(6);return s[0]=e,s[1]=t,s[2]=n,s[3]=a,s[4]=i,s[5]=o,s}function c(e,t,n,r,a,i,o){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e[4]=i,e[5]=o,e}function u(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=t[4],s=t[5],l=n*i-r*a;return l?(l=1/l,e[0]=i*l,e[1]=-r*l,e[2]=-a*l,e[3]=n*l,e[4]=(a*s-i*o)*l,e[5]=(r*o-n*s)*l,e):null}function d(e){return e[0]*e[3]-e[1]*e[2]}function h(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=t[4],l=t[5],c=n[0],u=n[1],d=n[2],h=n[3],f=n[4],p=n[5];return e[0]=r*c+i*u,e[1]=a*c+o*u,e[2]=r*d+i*h,e[3]=a*d+o*h,e[4]=r*f+i*p+s,e[5]=a*f+o*p+l,e}function f(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=t[4],l=t[5],c=Math.sin(n),u=Math.cos(n);return e[0]=r*u+i*c,e[1]=a*u+o*c,e[2]=r*-c+i*u,e[3]=a*-c+o*u,e[4]=s,e[5]=l,e}function p(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=t[4],l=t[5],c=n[0],u=n[1];return e[0]=r*c,e[1]=a*c,e[2]=i*u,e[3]=o*u,e[4]=s,e[5]=l,e}function m(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=t[4],l=t[5],c=n[0],u=n[1];return e[0]=r,e[1]=a,e[2]=i,e[3]=o,e[4]=r*c+i*u+s,e[5]=a*c+o*u+l,e}function g(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=-n,e[3]=r,e[4]=0,e[5]=0,e}function v(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=t[1],e[4]=0,e[5]=0,e}function y(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=t[0],e[5]=t[1],e}function b(e){return"mat2d("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+")"}function _(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],1)}function I(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e}function T(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e}function w(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e}function E(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e}function M(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]}function k(e,t){var n=e[0],a=e[1],i=e[2],o=e[3],s=e[4],l=e[5],c=t[0],u=t[1],d=t[2],h=t[3],f=t[4],p=t[5];return Math.abs(n-c)<=r.EPSILON*Math.max(1,Math.abs(n),Math.abs(c))&&Math.abs(a-u)<=r.EPSILON*Math.max(1,Math.abs(a),Math.abs(u))&&Math.abs(i-d)<=r.EPSILON*Math.max(1,Math.abs(i),Math.abs(d))&&Math.abs(o-h)<=r.EPSILON*Math.max(1,Math.abs(o),Math.abs(h))&&Math.abs(s-f)<=r.EPSILON*Math.max(1,Math.abs(s),Math.abs(f))&&Math.abs(l-p)<=r.EPSILON*Math.max(1,Math.abs(l),Math.abs(p))}var S=h,P=T},53389:(e,t,n)=>{"use strict";n.r(t),n.d(t,{cardMixin:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=(0,o.makePropsConfigurable)({bgVariant:(0,o.makeProp)(i.PROP_TYPE_STRING),borderVariant:(0,o.makeProp)(i.PROP_TYPE_STRING),tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"div"),textVariant:(0,o.makeProp)(i.PROP_TYPE_STRING)},a.NAME_CARD),l=(0,r.extend)({props:s})},53487:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BModal:()=>r.BModal,ModalPlugin:()=>o});var r=n(3086),a=n(39412),i=n(42477),o=(0,n(96266).pluginFactory)({components:{BModal:r.BModal},directives:{VBModal:a.VBModal},plugins:{BVModalPlugin:i.BVModalPlugin}})},53872:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(95093))},53950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BAvatar:()=>S,computeSize:()=>E,props:()=>k});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(94159),l=n(46710),c=n(89821),u=n(91671),d=n(1340),h=n(37097),f=n(48917),p=n(69756),m=n(61651),g=n(75532),v=n(66344);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BAlert:()=>A,props:()=>P});var r,a=n(49800),i=n(87013),o=n(80072),s=n(94159),l=n(48917),c=n(71402),u=n(46710),d=n(38199),h=n(89821),f=n(91671),p=n(1340),m=n(2448),g=n(60837),v=n(34877);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t0?e:0},S=function(e){return""===e||!0===e||!((0,h.toInteger)(e,0)<1)&&!!e},P=(0,p.makePropsConfigurable)((0,f.sortKeys)(b(b({},w),{},{dismissLabel:(0,p.makeProp)(o.PROP_TYPE_STRING,"Close"),dismissible:(0,p.makeProp)(o.PROP_TYPE_BOOLEAN,!1),fade:(0,p.makeProp)(o.PROP_TYPE_BOOLEAN,!1),variant:(0,p.makeProp)(o.PROP_TYPE_STRING,"info")})),a.NAME_ALERT),A=(0,m.extend)({name:a.NAME_ALERT,mixins:[T,l.normalizeSlotMixin],props:P,data:function(){return{countDown:0,localShow:S(this[E])}},watch:(r={},_(r,E,(function(e){this.countDown=k(e),this.localShow=S(e)})),_(r,"countDown",(function(e){var t=this;this.clearCountDownInterval();var n=this[E];(0,u.isNumeric)(n)&&(this.$emit(i.EVENT_NAME_DISMISS_COUNT_DOWN,e),n!==e&&this.$emit(M,e),e>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout((function(){t.countDown--}),1e3)):this.$nextTick((function(){(0,c.requestAF)((function(){t.localShow=!1}))})))})),_(r,"localShow",(function(e){var t=this[E];e||!this.dismissible&&!(0,u.isNumeric)(t)||this.$emit(i.EVENT_NAME_DISMISSED),(0,u.isNumeric)(t)||t===e||this.$emit(M,e)})),r),created:function(){this.$_filterTimer=null;var e=this[E];this.countDown=k(e),this.localShow=S(e)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(e){var t=e();if(this.localShow){var n=this.dismissible,r=this.variant,a=e();n&&(a=e(g.BButtonClose,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(s.SLOT_NAME_DISMISS)])),t=e("div",{staticClass:"alert",class:_({"alert-dismissible":n},"alert-".concat(r),r),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[m.COMPONENT_UID_KEY]},[a,this.normalizeSlot()])}return e(v.BVTransition,{props:{noFade:!this.fade}},[t])}})},54152:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ERR_DUPLICATED_NAME:()=>c,ERR_INVALID_COMMENT:()=>u,ERR_INVALID_ENCRYPTION_STRENGTH:()=>p,ERR_INVALID_ENTRY_COMMENT:()=>d,ERR_INVALID_ENTRY_NAME:()=>h,ERR_INVALID_EXTRAFIELD_DATA:()=>g,ERR_INVALID_EXTRAFIELD_TYPE:()=>m,ERR_INVALID_VERSION:()=>f,ERR_UNDEFINED_UNCOMPRESSED_SIZE:()=>y,ERR_UNSUPPORTED_FORMAT:()=>v,ZipWriter:()=>T,ZipWriterStream:()=>w});var r=n(70048),a=n(41535),i=n(37282),o=n(61965),s=n(1232),l=n(34591);const c="File already exists",u="Zip file comment exceeds 64KB",d="File entry comment exceeds 64KB",h="File entry name exceeds 64KB",f="Version exceeds 65535",p="The strength must equal 1, 2, or 3",m="Extra field type exceeds 65535",g="Extra field data exceeds 64KB",v="Zip64 is not supported (make sure 'keepOrder' is set to 'true')",y="Undefined uncompressed size",b=new Uint8Array([7,0,2,0,65,69,3,0,0]);let _=0;const I=[];class T{constructor(e,t={}){const n=(e=(0,o.initWriter)(e)).availableSize!==r.UNDEFINED_VALUE&&e.availableSize>0&&e.availableSize!==1/0&&e.maxSize!==r.UNDEFINED_VALUE&&e.maxSize>0&&e.maxSize!==1/0;Object.assign(this,{writer:e,addSplitZipSignature:n,options:t,config:(0,a.getConfiguration)(),files:new Map,filenames:new Set,offset:t.offset===r.UNDEFINED_VALUE?e.writable.size:t.offset,pendingEntriesSize:0,pendingAddFileCalls:new Set,bufferedWrites:0})}async add(e="",t,n={}){const u=this,{pendingAddFileCalls:T,config:w}=u;let D;_I.push(e)));try{if(e=e.trim(),u.filenames.has(e))throw new Error(c);return u.filenames.add(e),D=async function(e,t,n,c){t=t.trim();const u=k(e,c,l.PROPERTY_NAME_MS_DOS_COMPATIBLE),_=k(e,c,l.PROPERTY_NAME_VERSION_MADE_BY,u?20:768),I=k(e,c,l.PROPERTY_NAME_EXECUTABLE);if(_>r.MAX_16_BITS)throw new Error(f);let T=k(e,c,l.PROPERTY_NAME_EXTERNAL_FILE_ATTRIBUTES,0);0===T&&(T=k(e,c,l.PROPERTY_NAME_EXTERNAL_FILE_ATTRIBUTE,0));!c.directory&&t.endsWith(r.DIRECTORY_SIGNATURE)&&(c.directory=!0);const w=k(e,c,l.PROPERTY_NAME_DIRECTORY);w?(t.endsWith(r.DIRECTORY_SIGNATURE)||(t+=r.DIRECTORY_SIGNATURE),0===T&&(T=u?r.FILE_ATTR_MSDOS_DIR_MASK:r.FILE_ATTR_UNIX_DIR_MASK<<16)):u||0!==T||(T=I?(r.FILE_ATTR_UNIX_EXECUTABLE_MASK|r.FILE_ATTR_UNIX_DEFAULT_MASK)<<16:r.FILE_ATTR_UNIX_DEFAULT_MASK<<16);const D=k(e,c,"encodeText",s.encodeText);let R=D(t);R===r.UNDEFINED_VALUE&&(R=(0,s.encodeText)(t));if(C(R)>r.MAX_16_BITS)throw new Error(h);const F=c.comment||"";let z=D(F);z===r.UNDEFINED_VALUE&&(z=(0,s.encodeText)(F));if(C(z)>r.MAX_16_BITS)throw new Error(d);const N=k(e,c,l.PROPERTY_NAME_VERSION,r.VERSION_DEFLATE);if(N>r.MAX_16_BITS)throw new Error(f);const H=k(e,c,l.PROPERTY_NAME_LAST_MODIFICATION_DATE,new Date),V=k(e,c,l.PROPERTY_NAME_LAST_ACCESS_DATE),Y=k(e,c,l.PROPERTY_NAME_CREATION_DATE);let j=k(e,c,l.PROPERTY_NAME_INTERNAL_FILE_ATTRIBUTES,0);0===j&&(j=k(e,c,l.PROPERTY_NAME_INTERNAL_FILE_ATTRIBUTE,0));const U=k(e,c,"passThrough");let $,G;U||($=k(e,c,"password"),G=k(e,c,"rawPassword"));const W=k(e,c,"encryptionStrength",3),q=k(e,c,l.PROPERTY_NAME_ZIPCRYPTO),K=k(e,c,"extendedTimestamp",!0),X=k(e,c,"keepOrder",!0),J=k(e,c,"level"),Z=k(e,c,"useWebWorkers"),Q=k(e,c,"bufferedWrite"),ee=k(e,c,"dataDescriptorSignature",!1),te=k(e,c,"signal"),ne=k(e,c,"useUnicodeFileNames",!0),re=k(e,c,"useCompressionStream"),ae=k(e,c,"compressionMethod");let ie=k(e,c,"dataDescriptor",!0),oe=k(e,c,l.PROPERTY_NAME_ZIP64);if(!(q||$===r.UNDEFINED_VALUE&&G===r.UNDEFINED_VALUE||W>=1&&W<=3))throw new Error(p);let se=new Uint8Array;const{extraField:le}=c;if(le){let e=0,t=0;le.forEach((t=>e+=4+C(t))),se=new Uint8Array(e),le.forEach(((e,n)=>{if(n>r.MAX_16_BITS)throw new Error(m);if(C(e)>r.MAX_16_BITS)throw new Error(g);L(se,new Uint16Array([n]),t),L(se,new Uint16Array([C(e)]),t+2),L(se,e,t+4),t+=4+C(e)}))}let ce=0,ue=0,de=0;if(U&&(({uncompressedSize:de}=c),de===r.UNDEFINED_VALUE))throw new Error(y);const he=!0===oe;n&&(n=(0,o.initReader)(n),await(0,o.initStream)(n),U?ce=S(de):n.size===r.UNDEFINED_VALUE?(ie=!0,(oe||oe===r.UNDEFINED_VALUE)&&(oe=!0,de=ce=r.MAX_32_BITS+1)):(de=n.size,ce=S(de)));const{diskOffset:fe,diskNumber:pe,maxSize:me}=e.writer,ge=he||de>r.MAX_32_BITS,ve=he||ce>r.MAX_32_BITS,ye=he||e.offset+e.pendingEntriesSize-fe>r.MAX_32_BITS,be=k(e,c,"supportZip64SplitFile",!0),_e=be&&he||pe+Math.ceil(e.pendingEntriesSize/me)>r.MAX_16_BITS;if(ye||ge||ve||_e){if(!1===oe||!X)throw new Error(v);oe=!0}oe=oe||!1;const Ie=k(e,c,l.PROPERTY_NAME_ENCRYPTED),{signature:Te}=c;c=Object.assign({},c,{rawFilename:R,rawComment:z,version:N,versionMadeBy:_,lastModDate:H,lastAccessDate:V,creationDate:Y,rawExtraField:se,zip64:oe,zip64UncompressedSize:ge,zip64CompressedSize:ve,zip64Offset:ye,zip64DiskNumberStart:_e,password:$,rawPassword:G,level:re||e.config.CompressionStream!==r.UNDEFINED_VALUE||e.config.CompressionStreamNative!==r.UNDEFINED_VALUE?J:0,useWebWorkers:Z,encryptionStrength:W,extendedTimestamp:K,zipCrypto:q,bufferedWrite:Q,keepOrder:X,useUnicodeFileNames:ne,dataDescriptor:ie,dataDescriptorSignature:ee,signal:te,msDosCompatible:u,internalFileAttribute:j,internalFileAttributes:j,externalFileAttribute:T,externalFileAttributes:T,useCompressionStream:re,passThrough:U,encrypted:Boolean($&&C($)||G&&C(G))||U&&Ie,signature:Te,compressionMethod:ae});const we=function(e){const{rawFilename:t,lastModDate:n,lastAccessDate:a,creationDate:i,level:o,zip64:s,zipCrypto:l,useUnicodeFileNames:c,dataDescriptor:u,directory:d,rawExtraField:h,encryptionStrength:f,extendedTimestamp:p,encrypted:m}=e;let{version:g,compressionMethod:v}=e;const y=!d&&(o>0||o===r.UNDEFINED_VALUE&&0!==v);let _,I,T,w;if(m&&!l){_=new Uint8Array(C(b)+2);const e=O(_);A(e,0,r.EXTRAFIELD_TYPE_AES),L(_,b,2),P(e,8,f)}else _=new Uint8Array;if(p){T=new Uint8Array(9+(a?4:0)+(i?4:0));const e=O(T);A(e,0,r.EXTRAFIELD_TYPE_EXTENDED_TIMESTAMP),A(e,2,C(T)-4),w=1+(a?2:0)+(i?4:0),P(e,4,w);let t=5;x(e,t,Math.floor(n.getTime()/1e3)),t+=4,a&&(x(e,t,Math.floor(a.getTime()/1e3)),t+=4),i&&x(e,t,Math.floor(i.getTime()/1e3));try{I=new Uint8Array(36);const e=O(I),t=M(n);A(e,0,r.EXTRAFIELD_TYPE_NTFS),A(e,2,32),A(e,8,r.EXTRAFIELD_TYPE_NTFS_TAG1),A(e,10,24),B(e,12,t),B(e,20,M(a)||t),B(e,28,M(i)||t)}catch(e){I=new Uint8Array}}else I=T=new Uint8Array;let E=0;c&&(E|=r.BITFLAG_LANG_ENCODING_FLAG);u&&(E|=r.BITFLAG_DATA_DESCRIPTOR);v===r.UNDEFINED_VALUE&&(v=y?r.COMPRESSION_METHOD_DEFLATE:r.COMPRESSION_METHOD_STORE);v==r.COMPRESSION_METHOD_DEFLATE&&(o>=1&&o<3&&(E|=6),o>=3&&o<5&&(E|=1),9===o&&(E|=2));s&&(g=g>r.VERSION_ZIP64?g:r.VERSION_ZIP64);m&&(E|=r.BITFLAG_ENCRYPTED,l||(g=g>r.VERSION_AES?g:r.VERSION_AES,_[9]=v,v=r.COMPRESSION_METHOD_AES));const k=new Uint8Array(26),S=O(k);A(S,0,g),A(S,2,E),A(S,4,v);const D=new Uint32Array(1),R=O(D);let F;F=nr.MAX_DATE?r.MAX_DATE:n;A(R,0,(F.getHours()<<6|F.getMinutes())<<5|F.getSeconds()/2),A(R,2,(F.getFullYear()-1980<<4|F.getMonth()+1)<<5|F.getDate());const z=D[0];x(S,6,z),A(S,22,C(t));const N=C(_,T,I,h);A(S,24,N);const H=new Uint8Array(30+C(t)+N);return x(O(H),0,r.LOCAL_FILE_HEADER_SIGNATURE),L(H,k,4),L(H,t,30),L(H,_,30+C(t)),L(H,T,30+C(t,_)),L(H,I,30+C(t,_,T)),L(H,h,30+C(t,_,T,I)),{localHeaderArray:H,headerArray:k,headerView:S,lastModDate:n,rawLastModDate:z,encrypted:m,compressed:y,version:g,compressionMethod:v,extraFieldExtendedTimestampFlag:w,rawExtraFieldExtendedTimestamp:T,rawExtraFieldNTFS:I,rawExtraFieldAES:_,extraFieldLength:N}}(c),Ee=function(e){const{zip64:t,dataDescriptor:n,dataDescriptorSignature:a}=e;let i,o=new Uint8Array,s=0;n&&(o=new Uint8Array(t?a?24:20:a?16:12),i=O(o),a&&(s=4,x(i,0,r.DATA_DESCRIPTOR_RECORD_SIGNATURE)));return{dataDescriptorArray:o,dataDescriptorView:i,dataDescriptorOffset:s}}(c),Me=C(we.localHeaderArray,Ee.dataDescriptorArray);ue=Me+ce,e.options.usdz&&(ue+=ue+64);let ke;e.pendingEntriesSize+=ue;try{ke=await async function(e,t,n,s,l){const{files:c,writer:u}=e,{keepOrder:d,dataDescriptor:h,signal:f}=l,{headerInfo:p}=s,{usdz:m}=e.options,g=Array.from(c.values()).pop();let y,b,_,I,T,w,M,k={};c.set(t,k);try{let p;d&&(p=g&&g.lock,S()),!(l.bufferedWrite||e.writerLocked||e.bufferedWrites&&d)&&h||m?(w=u,await P()):(w=new TransformStream,M=new Response(w.readable).blob(),w.writable.size=0,y=!0,e.bufferedWrites++,await(0,o.initStream)(u)),await(0,o.initStream)(w);const{writable:b}=u;let{diskOffset:_}=u;if(e.addSplitZipSignature){delete e.addSplitZipSignature;const t=new Uint8Array(4);x(O(t),0,r.SPLIT_ZIP_FILE_SIGNATURE),await E(b,t),e.offset+=4}m&&function(e,t){const{headerInfo:n}=e;let{localHeaderArray:a,extraFieldLength:i}=n,o=O(a),s=64-(t+C(a))%64;s<4&&(s+=64);const l=new Uint8Array(s),c=O(l);A(c,0,r.EXTRAFIELD_TYPE_USDZ),A(c,2,s-2);const u=a;n.localHeaderArray=a=new Uint8Array(C(u)+s),L(a,u),L(a,l,C(u)),o=O(a),A(o,28,i+s),e.metadataSize+=s}(s,e.offset-_),y||(await p,await D(b));const{diskNumber:R}=u;if(T=!0,k.diskNumberStart=R,k=await async function(e,t,{diskNumberStart:n,lock:o},s,l,c){const{headerInfo:u,dataDescriptorInfo:d,metadataSize:h}=s,{localHeaderArray:f,headerArray:p,lastModDate:m,rawLastModDate:g,encrypted:v,compressed:y,version:b,compressionMethod:_,rawExtraFieldExtendedTimestamp:I,extraFieldExtendedTimestampFlag:T,rawExtraFieldNTFS:w,rawExtraFieldAES:M}=u,{dataDescriptorArray:k}=d,{rawFilename:S,lastAccessDate:P,creationDate:L,password:D,rawPassword:R,level:F,zip64:z,zip64UncompressedSize:N,zip64CompressedSize:H,zip64Offset:V,zip64DiskNumberStart:Y,zipCrypto:j,dataDescriptor:U,directory:$,executable:G,versionMadeBy:W,rawComment:q,rawExtraField:K,useWebWorkers:X,onstart:J,onprogress:Z,onend:Q,signal:ee,encryptionStrength:te,extendedTimestamp:ne,msDosCompatible:re,internalFileAttributes:ae,externalFileAttributes:ie,useCompressionStream:oe,passThrough:se}=c,le={lock:o,versionMadeBy:W,zip64:z,directory:Boolean($),executable:Boolean(G),filenameUTF8:!0,rawFilename:S,commentUTF8:!0,rawComment:q,rawExtraFieldExtendedTimestamp:I,rawExtraFieldNTFS:w,rawExtraFieldAES:M,rawExtraField:K,extendedTimestamp:ne,msDosCompatible:re,internalFileAttributes:ae,externalFileAttributes:ie,diskNumberStart:n};let{signature:ce,uncompressedSize:ue}=c,de=0;se||(ue=0);const{writable:he}=t;if(e){e.chunkSize=(0,a.getChunkSize)(l),await E(he,f);const t=e.readable,n=t.size=e.size,r={options:{codecType:i.CODEC_DEFLATE,level:F,rawPassword:R,password:D,encryptionStrength:te,zipCrypto:v&&j,passwordVerification:v&&j&&g>>8&255,signed:!se,compressed:y&&!se,encrypted:v&&!se,useWebWorkers:X,useCompressionStream:oe,transferStreams:!1},config:l,streamOptions:{signal:ee,size:n,onstart:J,onprogress:Z,onend:Q}},o=await(0,i.runWorker)({readable:t,writable:he},r);de=o.outputSize,se||(ue=o.inputSize,ce=o.signature),he.size+=ue}else await E(he,f);let fe;if(z){let e=4;N&&(e+=8),H&&(e+=8),V&&(e+=8),Y&&(e+=4),fe=new Uint8Array(e)}else fe=new Uint8Array;(function(e,t){const{signature:n,rawExtraFieldZip64:a,compressedSize:i,uncompressedSize:o,headerInfo:s,dataDescriptorInfo:l}=e,{headerView:c,encrypted:u}=s,{dataDescriptorView:d,dataDescriptorOffset:h}=l,{zip64:f,zip64UncompressedSize:p,zip64CompressedSize:m,zipCrypto:g,dataDescriptor:v}=t;u&&!g||n===r.UNDEFINED_VALUE||(x(c,10,n),v&&x(d,h,n));if(f){const e=O(a);A(e,0,r.EXTRAFIELD_TYPE_ZIP64),A(e,2,C(a)-4);let t=4;p&&(x(c,18,r.MAX_32_BITS),B(e,t,BigInt(o)),t+=8),m&&(x(c,14,r.MAX_32_BITS),B(e,t,BigInt(i))),v&&(B(d,h+4,BigInt(i)),B(d,h+12,BigInt(o)))}else x(c,14,i),x(c,18,o),v&&(x(d,h+4,i),x(d,h+8,o))})({signature:ce,rawExtraFieldZip64:fe,compressedSize:de,uncompressedSize:ue,headerInfo:u,dataDescriptorInfo:d},c),U&&await E(he,k);return Object.assign(le,{uncompressedSize:ue,compressedSize:de,lastModDate:m,rawLastModDate:g,creationDate:L,lastAccessDate:P,encrypted:v,zipCrypto:j,size:h+de,compressionMethod:_,version:b,headerArray:p,signature:ce,rawExtraFieldZip64:fe,extraFieldExtendedTimestampFlag:T,zip64UncompressedSize:N,zip64CompressedSize:H,zip64Offset:V,zip64DiskNumberStart:Y}),le}(n,w,k,s,e.config,l),T=!1,c.set(t,k),k.filename=t,y){await w.writable.getWriter().close();let e=await M;await p,await P(),I=!0,h||(e=await async function(e,t,n,{zipCrypto:a}){let i;i=await t.slice(0,26).arrayBuffer(),26!=i.byteLength&&(i=i.slice(0,26));const o=new DataView(i);e.encrypted&&!a||x(o,14,e.signature);e.zip64?(x(o,18,r.MAX_32_BITS),x(o,22,r.MAX_32_BITS)):(x(o,18,e.compressedSize),x(o,22,e.uncompressedSize));return await E(n,new Uint8Array(i)),t.slice(i.byteLength)}(k,e,b,l)),await D(b),k.diskNumberStart=u.diskNumber,_=u.diskOffset,await e.stream().pipeTo(b,{preventClose:!0,preventAbort:!0,signal:f}),b.size+=e.size,I=!1}if(k.offset=e.offset-_,k.zip64)!function(e,t){const{rawExtraFieldZip64:n,offset:r,diskNumberStart:a}=e,{zip64UncompressedSize:i,zip64CompressedSize:o,zip64Offset:s,zip64DiskNumberStart:l}=t,c=O(n);let u=4;i&&(u+=8);o&&(u+=8);s&&(B(c,u,BigInt(r)),u+=8);l&&x(c,u,a)}(k,l);else if(k.offset>r.MAX_32_BITS)throw new Error(v);return e.offset+=k.size,k}catch(n){if(y&&I||!y&&T){if(e.hasCorruptedEntries=!0,n)try{n.corruptedEntry=!0}catch(e){}y?e.offset+=w.writable.size:e.offset=w.writable.size}throw c.delete(t),n}finally{y&&e.bufferedWrites--,_&&_(),b&&b()}function S(){k.lock=new Promise((e=>_=e))}async function P(){e.writerLocked=!0;const{lockWriter:t}=e;e.lockWriter=new Promise((t=>b=()=>{e.writerLocked=!1,t()})),await t}async function D(e){C(p.localHeaderArray)>u.availableSize&&(u.availableSize=0,await E(e,new Uint8Array))}}(e,t,n,{headerInfo:we,dataDescriptorInfo:Ee,metadataSize:Me},c)}finally{e.pendingEntriesSize-=ue}return Object.assign(ke,{name:t,comment:F,extraField:le}),new l.Entry(ke)}(u,e,t,n),T.add(D),await D}catch(t){throw u.filenames.delete(e),t}finally{T.delete(D);const e=I.shift();e?e():_--}}async close(e=new Uint8Array,t={}){const{pendingAddFileCalls:n,writer:a}=this,{writable:i}=a;for(;n.size;)await Promise.allSettled(Array.from(n));await async function(e,t,n){const{files:a,writer:i}=e,{diskOffset:s,writable:c}=i;let{diskNumber:d}=i,h=0,f=0,p=e.offset-s,m=a.size;for(const[,e]of a){const{rawFilename:t,rawExtraFieldZip64:n,rawExtraFieldAES:a,rawComment:i,rawExtraFieldNTFS:o,rawExtraField:s,extendedTimestamp:l,extraFieldExtendedTimestampFlag:c,lastModDate:u}=e;let d;if(l){d=new Uint8Array(9);const e=O(d);A(e,0,r.EXTRAFIELD_TYPE_EXTENDED_TIMESTAMP),A(e,2,5),P(e,4,c),x(e,5,Math.floor(u.getTime()/1e3))}else d=new Uint8Array;e.rawExtraFieldCDExtendedTimestamp=d,f+=46+C(t,i,n,a,o,d,s)}const g=new Uint8Array(f),y=O(g);await(0,o.initStream)(i);let b=0;for(const[e,t]of Array.from(a.values()).entries()){const{offset:o,rawFilename:s,rawExtraFieldZip64:u,rawExtraFieldAES:d,rawExtraFieldCDExtendedTimestamp:f,rawExtraFieldNTFS:p,rawExtraField:m,rawComment:v,versionMadeBy:_,headerArray:I,zip64:T,zip64UncompressedSize:w,zip64CompressedSize:M,zip64DiskNumberStart:k,zip64Offset:S,internalFileAttributes:P,externalFileAttributes:B,diskNumberStart:D,uncompressedSize:R,compressedSize:F}=t,z=C(u,d,f,p,m);x(y,h,r.CENTRAL_FILE_HEADER_SIGNATURE),A(y,h+4,_);const N=O(I);w||x(N,18,R),M||x(N,14,F),L(g,I,h+6),A(y,h+30,z),A(y,h+32,C(v)),A(y,h+34,T&&k?r.MAX_16_BITS:D),A(y,h+36,P),B&&x(y,h+38,B),x(y,h+42,T&&S?r.MAX_32_BITS:o),L(g,s,h+46),L(g,u,h+46+C(s)),L(g,d,h+46+C(s,u)),L(g,f,h+46+C(s,u,d)),L(g,p,h+46+C(s,u,d,f)),L(g,m,h+46+C(s,u,d,f,p)),L(g,v,h+46+C(s)+z);const H=46+C(s,v)+z;if(h-b>i.availableSize&&(i.availableSize=0,await E(c,g.slice(b,h)),b=h),h+=H,n.onprogress)try{await n.onprogress(e+1,a.size,new l.Entry(t))}catch(e){}}await E(c,b?g.slice(b):g);let _=i.diskNumber;const{availableSize:I}=i;Ir.MAX_32_BITS||f>r.MAX_32_BITS||m>r.MAX_16_BITS||_>r.MAX_16_BITS){if(!1===T)throw new Error(v);T=!0}const w=new Uint8Array(T?r.ZIP64_END_OF_CENTRAL_DIR_TOTAL_LENGTH:r.END_OF_CENTRAL_DIR_LENGTH),M=O(w);if(h=0,T){x(M,0,r.ZIP64_END_OF_CENTRAL_DIR_SIGNATURE),B(M,4,BigInt(44)),A(M,12,45),A(M,14,45),x(M,16,_),x(M,20,d),B(M,24,BigInt(m)),B(M,32,BigInt(m)),B(M,40,BigInt(f)),B(M,48,BigInt(p)),x(M,56,r.ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIGNATURE),B(M,64,BigInt(p)+BigInt(f)),x(M,72,_+1);k(e,n,"supportZip64SplitFile",!0)&&(_=r.MAX_16_BITS,d=r.MAX_16_BITS),m=r.MAX_16_BITS,p=r.MAX_32_BITS,f=r.MAX_32_BITS,h+=r.ZIP64_END_OF_CENTRAL_DIR_LENGTH+r.ZIP64_END_OF_CENTRAL_DIR_LOCATOR_LENGTH}x(M,h,r.END_OF_CENTRAL_DIR_SIGNATURE),A(M,h+4,_),A(M,h+6,d),A(M,h+8,m),A(M,h+10,m),x(M,h+12,f),x(M,h+16,p);const S=C(t);if(S){if(!(S<=r.MAX_16_BITS))throw new Error(u);A(M,h+20,S)}await E(c,w),S&&await E(c,t)}(this,e,t);return k(this,t,"preventClose")||await i.getWriter().close(),a.getData?a.getData():i}}class w{constructor(e={}){const{readable:t,writable:n}=new TransformStream;this.readable=t,this.zipWriter=new T(n,e)}transform(e){const{readable:t,writable:n}=new TransformStream({flush:()=>{this.zipWriter.close()}});return this.zipWriter.add(e,t),{readable:this.readable,writable:n}}writable(e){const{readable:t,writable:n}=new TransformStream;return this.zipWriter.add(e,t),n}close(e=void 0,t={}){return this.zipWriter.close(e,t)}}async function E(e,t){const n=e.getWriter();try{await n.ready,e.size+=C(t),await n.write(t)}finally{n.releaseLock()}}function M(e){if(e)return(BigInt(e.getTime())+BigInt(116444736e5))*BigInt(1e4)}function k(e,t,n,a){const i=t[n]===r.UNDEFINED_VALUE?e.options[n]:t[n];return i===r.UNDEFINED_VALUE?a:i}function S(e){return e+5*(Math.floor(e/16383)+1)}function P(e,t,n){e.setUint8(t,n)}function A(e,t,n){e.setUint16(t,n,!0)}function x(e,t,n){e.setUint32(t,n,!0)}function B(e,t,n){e.setBigUint64(t,n,!0)}function L(e,t,n){e.set(t,n)}function O(e){return new DataView(e.buffer)}function C(...e){let t=0;return e.forEach((e=>e&&(t+=e.length))),t}},54287:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormValidFeedback:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=(0,o.makePropsConfigurable)({ariaLive:(0,o.makeProp)(i.PROP_TYPE_STRING),forceShow:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),id:(0,o.makeProp)(i.PROP_TYPE_STRING),role:(0,o.makeProp)(i.PROP_TYPE_STRING),state:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,null),tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"div"),tooltip:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1)},a.NAME_FORM_VALID_FEEDBACK),l=(0,r.extend)({name:a.NAME_FORM_VALID_FEEDBACK,functional:!0,props:s,render:function(e,t){var n=t.props,a=t.data,i=t.children,o=n.tooltip,s=n.ariaLive,l=!0===n.forceShow||!0===n.state;return e(n.tag,(0,r.mergeData)(a,{class:{"d-block":l,"valid-feedback":!o,"valid-tooltip":o},attrs:{id:n.id||null,role:n.role||null,"aria-live":s||null,"aria-atomic":s?"true":null}}),i)}})},54384:(e,t,n)=>{"use strict";n.r(t),n.d(t,{hasListenerMixin:()=>i});var r=n(2448),a=n(46710),i=(0,r.extend)({methods:{hasListener:function(e){if(r.isVue3)return!0;var t=this.$listeners||{},n=this._events||{};return!(0,a.isUndefined)(t[e])||(0,a.isArray)(n[e])&&n[e].length>0}}})},54522:(e,t,n)=>{"use strict";n.r(t),n.d(t,{props:()=>p,tableRendererMixin:()=>m});var r=n(2448),a=n(80072),i=n(58494),o=n(46710),s=n(1340),l=n(42714),c=n(59809),u=n(64211);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t0&&!o,[i,{"table-striped":this.striped,"table-hover":t,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},n?"".concat(this.dark?"bg":"table","-").concat(n):"",a,r]},tableAttrs:function(){var e=(0,l.safeVueInstance)(this),t=e.computedItems,n=e.filteredItems,r=e.computedFields,a=e.selectableTableAttrs,i=e.computedBusy,o=this.isTableSimple?{}:{"aria-busy":(0,c.toString)(i),"aria-colcount":(0,c.toString)(r.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null};return h(h(h({"aria-rowcount":t&&n&&n.length>t.length?(0,c.toString)(n.length):null},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},o),a)}},render:function(e){var t=(0,l.safeVueInstance)(this),n=t.wrapperClasses,r=t.renderCaption,a=t.renderColgroup,o=t.renderThead,s=t.renderTbody,c=t.renderTfoot,u=[];this.isTableSimple?u.push(this.normalizeSlot()):(u.push(r?r():null),u.push(a?a():null),u.push(o?o():null),u.push(s?s():null),u.push(c?c():null));var d=e("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},u.filter(i.identity));return n.length>0?e("div",{class:n,style:this.wrapperStyles,key:"wrap"},[d]):d}})},54566:function(e,t,n){!function(e){"use strict";e.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(95093))},54691:function(e,t,n){!function(e){"use strict";function t(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").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(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,n){var r=this._calendarEl[e],a=n&&n.hours();return t(r)&&(r=r.apply(n)),r.replace("{}",a%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(95093))},54697:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(95093))},54745:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Fragment:()=>b,h:()=>v,jsx:()=>v,jsxs:()=>v,render:()=>_,toKebabCase:()=>p});var r=n(15424);const a=new Set(["animate","animatemotion","animatetransform","animation","circle","clippath","componenttransferfunction","defs","desc","ellipse","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","foreignobject","g","geometry","gradient","graphics","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","set","stop","svg","switch","symbol","text","textcontent","textpath","textpositioning","tspan","use","view"]),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(0,r.t)(e);return Array.isArray(n)?n.forEach((e=>i(e,t))):t.push(n),t},o=Symbol(),s=e=>null!=e?.[o],l=e=>null!=e&&"number"==typeof e.nodeType&&"[opbject Object]"!==Object.prototype.toString.call(e),c=e=>11===e?.nodeType,u=(e,t)=>{if(s(e))return e.el;if(l(e))return e;const n=t?.domNode,r=null!=n&&l(a=n)&&3===a.nodeType?n:new Text;var a;return r.nodeValue=!1===e||null==e?"":"object"==typeof e?JSON.stringify(e,null," "):String(e),r},d=(e,t)=>{const{domNode:n}=e;n.parentNode===t&&t.removeChild(n)},h=(e,t)=>{const{hNode:n}=e;d(e,t),s(n)&&n.scope?.stop()},f=e=>"children"===e||"ref"===e||"innerHTML"===e||"innerText"===e,p=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase())),m=e=>(e=(0,r.t)(e),Array.isArray(e)?e.map(m).join(" "):!1===e?"":String(e??"")),g=(e,t,n)=>{null==n?e.removeAttribute(t):e.setAttribute(t,String(n))},v=(e,t)=>{if("function"==typeof e){const n=(0,r.c)();return{...n.run((()=>e(t))),type:e,scope:n}}return y(e,t)},y=(e,t)=>{const n=[],l="string"==typeof e&&a.has(e);let v,y=null;"#fragment"===e?(v=document.createDocumentFragment(),y=new Comment(""),v.appendChild(y),v[o]=y):v="string"==typeof e?l?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e):e;const b={el:v,type:e,scope:void 0,[o]:!0},_=(0,r.g)();if(null==_)throw new Error("[fine-jsx] jsx element must be created within an EffectScope");return null!=t.children&&(0,r.w)([()=>_.run((()=>i(t.children)))],(e=>{let[t]=e;const r=y?.parentNode??v;t.forEach(((e,t)=>{const a=n[t],i=a?.domNode,l=u(e,a),d=c(r)?null:(c(i)?i[o]:i)??y?.nextElementSibling;d?.parentNode===r?r.insertBefore(l,d):r.appendChild(l),(s(e)&&e!==a?.hNode||l!==a?.domNode)&&(null!=a&&h(a,r),n[t]={hNode:e,domNode:l})}));for(let e=t.length;e{if(c(v)){const e=y.parentNode;y.remove(),null!=e&&n.forEach((t=>d(t,e)))}n.length=0,b.el=void 0,null!=t.ref&&(t.ref.value=void 0)})),c(v)||((0,r.e)((()=>{for(const e in t){if(f(e))continue;const n=t[e];if(e.startsWith("on")){const t=(0,r.i)(n)?n.value:n,a=e.slice(2).toLowerCase();v.addEventListener(a,t)}else if("class"===e||"className"===e)v.setAttribute("class",m(n));else if(l){const t=/(Box|Type|Transform|Constant|Units|Length|Angle|Alpha|Ratio|Count|Dur|Features|Exponent|Method|Offset|Deviation|Tiles|Scale|Language|Values|targetX|targetY|Selector|edgeMode)$/.test(e)?e:p(e);g(v,t,String((0,r.t)(n)))}else"style"!==e&&e in v?v[e]=(0,r.t)(n):g(v,e,(0,r.t)(n))}})),(0,r.o)((()=>{for(const e in t)if(!f(e))if(e.startsWith("on")){const n=t[e],a=(0,r.i)(n)?n.value:n,i=e.slice(2).toLowerCase();v.removeEventListener(i,a)}else if(l){const t="viewBox"===e?e:p(e);v.removeAttribute(t)}else e in v&&"style"!==e?v[e]=null:v.removeAttribute("className"===e?"class":e)})),null!=t.ref&&(t.ref.value=v)),b},b=e=>v("#fragment",e),_=(e,t)=>{if(null==t)throw new Error("[fine-jsx] No root to render into");return t.appendChild(e.el),()=>{e.scope?.stop(),t.removeChild(e.el)}}},54779:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(76798),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,".fade-enter-active[data-v-6383fb07],.fade-leave-active[data-v-6383fb07]{transition:opacity var(--transition-duration)}.fade-enter[data-v-6383fb07],.fade-leave-to[data-v-6383fb07]{opacity:0}",""]);const i=a},54903:function(e,t,n){!function(e){"use strict";e.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(95093))},55038:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BListGroupItem:()=>y,props:()=>v});var r=n(2448),a=n(49800),i=n(80072),o=n(17079),s=n(71402),l=n(91671),c=n(1340),u=n(37097),d=n(66344);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(95093))},56015:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BNav:()=>r.BNav,BNavForm:()=>o.BNavForm,BNavItem:()=>a.BNavItem,BNavItemDropdown:()=>s.BNavItemDropdown,BNavText:()=>i.BNavText,NavPlugin:()=>c});var r=n(28594),a=n(56496),i=n(49448),o=n(87861),s=n(44488),l=n(23711),c=(0,n(96266).pluginFactory)({components:{BNav:r.BNav,BNavItem:a.BNavItem,BNavText:i.BNavText,BNavForm:o.BNavForm,BNavItemDropdown:s.BNavItemDropdown,BNavItemDd:s.BNavItemDropdown,BNavDropdown:s.BNavItemDropdown,BNavDd:s.BNavItemDropdown},plugins:{DropdownPlugin:l.DropdownPlugin}})},56023:(e,t,n)=>{var r=n(96221);e.exports=function(e,t){var n=r(e).getTime(),a=r(t).getTime();return n>a?-1:n{"use strict";n.r(t),n.d(t,{BVPopoverTemplate:()=>s});var r=n(2448),a=n(49800),i=n(46710),o=n(68956),s=(0,r.extend)({name:a.NAME_POPOVER_TEMPLATE,extends:o.BVTooltipTemplate,computed:{templateType:function(){return"popover"}},methods:{renderTemplate:function(e){var t=this.title,n=this.content,r=(0,i.isFunction)(t)?t({}):t,a=(0,i.isFunction)(n)?n({}):n,o=this.html&&!(0,i.isFunction)(t)?{innerHTML:t}:{},s=this.html&&!(0,i.isFunction)(n)?{innerHTML:n}:{};return e("div",{staticClass:"popover b-popover",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[e("div",{staticClass:"arrow",ref:"arrow"}),(0,i.isUndefinedOrNull)(r)||""===r?e():e("h3",{staticClass:"popover-header",domProps:o},[r]),(0,i.isUndefinedOrNull)(a)||""===a?e():e("div",{staticClass:"popover-body",domProps:s},[a])])}}})},56195:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(95093))},56464:function(e,t,n){!function(e){"use strict";var t={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^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],a=/^(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 i(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?a+(i(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?a+(i(e)?"dny":"dní"):a+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?a+(i(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?a+(i(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(95093))},56496:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BNavItem:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(91671),s=n(1340),l=n(66344);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{get:()=>s,getRaw:()=>o});var r=n(41817),a=n(58494),i=n(46710),o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!(t=(0,i.isArray)(t)?t.join("."):t)||!(0,i.isObject)(e))return n;if(t in e)return e[t];var o=(t=String(t).replace(r.RX_ARRAY_NOTATION,".$1")).split(".").filter(a.identity);return 0===o.length?n:o.every((function(t){return(0,i.isObject)(e)&&t in e&&!(0,i.isUndefinedOrNull)(e=e[t])}))?e:(0,i.isNull)(e)?null:n},s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=o(e,t);return(0,i.isUndefinedOrNull)(r)?n:r}},56632:(e,t,n)=>{"use strict";n.r(t),n.d(t,{stableSort:()=>r});var r=function(e,t){return e.map((function(e,t){return[t,e]})).sort(function(e,t){return this(e[1],t[1])||e[0]-t[0]}.bind(t)).map((function(e){return e[1]}))}},56967:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BSpinner:()=>r.BSpinner,SpinnerPlugin:()=>a});var r=n(30282),a=(0,n(96266).pluginFactory)({components:{BSpinner:r.BSpinner}})},57297:(e,t,n)=>{"use strict";n.r(t),n.d(t,{p:()=>r});var r="#version 300 es\nprecision mediump float;precision mediump sampler3D;in vec2 v_texCoord;uniform sampler2D u_image;out vec4 fragColor;void main(){fragColor=texture(u_image,v_texCoord);}"},57414:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BJumbotron:()=>r.BJumbotron,JumbotronPlugin:()=>a});var r=n(77394),a=(0,n(96266).pluginFactory)({components:{BJumbotron:r.BJumbotron}})},57609:function(e,t,n){!function(e){"use strict";e.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(95093))},57742:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=53)}([function(e,t,n){var r=n(30)("wks"),a=n(15),i=n(3).Symbol,o="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=o&&i[e]||(o?i:a)("Symbol."+e))}).store=r},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(3),a=n(11),i=n(6),o=n(10),s=n(29),l=function(e,t,n){var c,u,d,h,f=e&l.F,p=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,y=p?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,b=p?a:a[t]||(a[t]={}),_=b.prototype||(b.prototype={});for(c in p&&(n=t),n)d=((u=!f&&y&&void 0!==y[c])?y:n)[c],h=v&&u?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,y&&o(y,c,d,e&l.U),b[c]!=d&&i(b,c,h),g&&_[c]!=d&&(_[c]=d)};r.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(7),a=n(40),i=n(20),o=Object.defineProperty;t.f=n(5)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(1)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(4),a=n(14);e.exports=n(5)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(8);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(3),a=n(6),i=n(9),o=n(15)("src"),s=Function.toString,l=(""+s).split("toString");n(11).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(i(n,"name")||a(n,"name",t)),e[t]!==n&&(c&&(i(n,o)||a(n,o,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||s.call(this)}))},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(47),a=n(17);e.exports=function(e){return r(a(e))}},function(e,t,n){var r=n(48),a=n(33);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(17);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports={}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(8);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=!1},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var a=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),i=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(i).concat([a]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},a=0;an.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(a=0;adocument.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=l(),void 0===t?n:a(n,t)}},function(e,t,n){var r=n(30)("keys"),a=n(15);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(4).f,a=n(9),i=n(0)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(48),a=n(33).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){var r=n(22),a=n(14),i=n(12),o=n(20),s=n(9),l=n(40),c=Object.getOwnPropertyDescriptor;t.f=n(5)?c:function(e,t){if(e=i(e),t=o(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";var r=n(3),a=n(9),i=n(19),o=n(85),s=n(20),l=n(1),c=n(36).f,u=n(37).f,d=n(4).f,h=n(87).trim,f=r.Number,p=f,m=f.prototype,g="Number"==i(n(31)(m)),v="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,a,i=(t=v?t.trim():h(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+t}for(var o,l=t.slice(2),c=0,u=l.length;ca)return NaN;return parseInt(l,r)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(g?l((function(){m.valueOf.call(n)})):"Number"!=i(n))?o(new p(y(t)),n,f):y(t)};for(var b,_=n(5)?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),I=0;_.length>I;I++)a(p,b=_[I])&&!a(f,b)&&d(f,b,u(p,b));f.prototype=m,m.constructor=f,n(10)(r,"Number",f)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports=!n(5)&&!n(1)((function(){return 7!=Object.defineProperty(n(41)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(8),a=n(3).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},function(e,t,n){var r=n(43),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";var r=n(7);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(46),a=n(64),i=n(18),o=n(12);e.exports=n(65)(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(0)("unscopables"),a=Array.prototype;null==a[r]&&n(6)(a,r,{}),e.exports=function(e){a[r][e]=!0}},function(e,t,n){var r=n(19);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(9),a=n(12),i=n(49)(!1),o=n(32)("IE_PROTO");e.exports=function(e,t){var n,s=a(e),l=0,c=[];for(n in s)n!=o&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(12),a=n(42),i=n(68);e.exports=function(e){return function(t,n,o){var s,l=r(t),c=a(l.length),u=i(o,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(3),a=n(11),i=n(21),o=n(51),s=n(4).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},function(e,t,n){t.f=n(0)},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{assign:n(96)})},function(e,t,n){e.exports=n(103)},function(e,t,n){"use strict";var r=n(29),a=n(2),i=n(16),o=n(55),s=n(56),l=n(42),c=n(57),u=n(58);a(a.S+a.F*!n(60)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,a,d,h=i(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=u(h);if(g&&(m=r(m,p>2?arguments[2]:void 0,2)),null==y||f==Array&&s(y))for(n=new f(t=l(h.length));t>v;v++)c(n,v,g?m(h[v],v):h[v]);else for(d=y.call(h),n=new f;!(a=d.next()).done;v++)c(n,v,g?o(d,m,[a.value,v],!0):a.value);return n.length=v,n}})},function(e,t,n){var r=n(7);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(18),a=n(0)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},function(e,t,n){"use strict";var r=n(4),a=n(14);e.exports=function(e,t,n){t in e?r.f(e,t,a(0,n)):e[t]=n}},function(e,t,n){var r=n(59),a=n(0)("iterator"),i=n(18);e.exports=n(11).getIteratorMethod=function(e){if(null!=e)return e[a]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(19),a=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){var r=n(0)("iterator"),a=!1;try{var i=[7][r]();i.return=function(){a=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var i=[7],o=i[r]();o.next=function(){return{done:n=!0}},i[r]=function(){return o},e(i)}catch(e){}return n}},function(e,t,n){"use strict";n(62);var r=n(7),a=n(44),i=n(5),o=/./.toString,s=function(e){n(10)(RegExp.prototype,"toString",e,!0)};n(1)((function(){return"/a/b"!=o.call({source:"a",flags:"b"})}))?s((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?a.call(e):void 0)})):"toString"!=o.name&&s((function(){return o.call(this)}))},function(e,t,n){n(5)&&"g"!=/./g.flags&&n(4).f(RegExp.prototype,"flags",{configurable:!0,get:n(44)})},function(e,t,n){for(var r=n(45),a=n(13),i=n(10),o=n(3),s=n(6),l=n(18),c=n(0),u=c("iterator"),d=c("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=a(f),m=0;ml;)r.f(e,n=o[l++],t[n]);return e}},function(e,t,n){var r=n(43),a=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?a(e+t,0):i(e,t)}},function(e,t,n){var r=n(3).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(9),a=n(16),i=n(32)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(16),a=n(13);n(72)("keys",(function(){return function(e){return a(r(e))}}))},function(e,t,n){var r=n(2),a=n(11),i=n(1);e.exports=function(e,t){var n=(a.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",o)}},function(e,t,n){n(50)("asyncIterator")},function(e,t,n){"use strict";var r=n(3),a=n(9),i=n(5),o=n(2),s=n(10),l=n(75).KEY,c=n(1),u=n(30),d=n(34),h=n(15),f=n(0),p=n(51),m=n(50),g=n(76),v=n(77),y=n(7),b=n(8),_=n(12),I=n(20),T=n(14),w=n(31),E=n(78),M=n(37),k=n(4),S=n(13),P=M.f,A=k.f,x=E.f,B=r.Symbol,L=r.JSON,O=L&&L.stringify,C=f("_hidden"),D=f("toPrimitive"),R={}.propertyIsEnumerable,F=u("symbol-registry"),z=u("symbols"),N=u("op-symbols"),H=Object.prototype,V="function"==typeof B,Y=r.QObject,j=!Y||!Y.prototype||!Y.prototype.findChild,U=i&&c((function(){return 7!=w(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=P(H,t);r&&delete H[t],A(e,t,n),r&&e!==H&&A(H,t,r)}:A,$=function(e){var t=z[e]=w(B.prototype);return t._k=e,t},G=V&&"symbol"==typeof B.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof B},W=function(e,t,n){return e===H&&W(N,t,n),y(e),t=I(t,!0),y(n),a(z,t)?(n.enumerable?(a(e,C)&&e[C][t]&&(e[C][t]=!1),n=w(n,{enumerable:T(0,!1)})):(a(e,C)||A(e,C,T(1,{})),e[C][t]=!0),U(e,t,n)):A(e,t,n)},q=function(e,t){y(e);for(var n,r=g(t=_(t)),a=0,i=r.length;i>a;)W(e,n=r[a++],t[n]);return e},K=function(e){var t=R.call(this,e=I(e,!0));return!(this===H&&a(z,e)&&!a(N,e))&&(!(t||!a(this,e)||!a(z,e)||a(this,C)&&this[C][e])||t)},X=function(e,t){if(e=_(e),t=I(t,!0),e!==H||!a(z,t)||a(N,t)){var n=P(e,t);return!n||!a(z,t)||a(e,C)&&e[C][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=x(_(e)),r=[],i=0;n.length>i;)a(z,t=n[i++])||t==C||t==l||r.push(t);return r},Z=function(e){for(var t,n=e===H,r=x(n?N:_(e)),i=[],o=0;r.length>o;)!a(z,t=r[o++])||n&&!a(H,t)||i.push(z[t]);return i};V||(s((B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(N,n),a(this,C)&&a(this[C],e)&&(this[C][e]=!1),U(this,e,T(1,n))};return i&&j&&U(H,e,{configurable:!0,set:t}),$(e)}).prototype,"toString",(function(){return this._k})),M.f=X,k.f=W,n(36).f=E.f=J,n(22).f=K,n(35).f=Z,i&&!n(21)&&s(H,"propertyIsEnumerable",K,!0),p.f=function(e){return $(f(e))}),o(o.G+o.W+o.F*!V,{Symbol:B});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)f(Q[ee++]);for(var te=S(f.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!V,"Symbol",{for:function(e){return a(F,e+="")?F[e]:F[e]=B(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){j=!0},useSimple:function(){j=!1}}),o(o.S+o.F*!V,"Object",{create:function(e,t){return void 0===t?w(e):q(w(e),t)},defineProperty:W,defineProperties:q,getOwnPropertyDescriptor:X,getOwnPropertyNames:J,getOwnPropertySymbols:Z}),L&&o(o.S+o.F*(!V||c((function(){var e=B();return"[null]"!=O([e])||"{}"!=O({a:e})||"{}"!=O(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,O.apply(L,r)}}),B.prototype[D]||n(6)(B.prototype,D,B.prototype.valueOf),d(B,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(15)("meta"),a=n(8),i=n(9),o=n(4).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(1)((function(){return l(Object.preventExtensions({}))})),u=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(13),a=n(35),i=n(22);e.exports=function(e){var t=r(e),n=a.f;if(n)for(var o,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,o=s[c++])&&t.push(o);return t}},function(e,t,n){var r=n(19);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(12),a=n(36).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return o.slice()}}(e):a(r(e))}},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(80)})},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){n(82)("match",1,(function(e,t,n){return[function(n){"use strict";var r=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,r):new RegExp(n)[t](String(r))},n]}))},function(e,t,n){"use strict";var r=n(6),a=n(10),i=n(1),o=n(17),s=n(0);e.exports=function(e,t,n){var l=s(e),c=n(o,l,""[e]),u=c[0],d=c[1];i((function(){var t={};return t[l]=function(){return 7},7!=""[e](t)}))&&(a(String.prototype,e,u),r(RegExp.prototype,l,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},function(e,t,n){"use strict";var r=n(2),a=n(39),i=n(16),o=n(1),s=[].sort,l=[1,2,3];r(r.P+r.F*(o((function(){l.sort(void 0)}))||!o((function(){l.sort(null)}))||!n(84)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),a(e))}})},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){var r=n(8),a=n(86).set;e.exports=function(e,t,n){var i,o=t.constructor;return o!==n&&"function"==typeof o&&(i=o.prototype)!==n.prototype&&r(i)&&a&&a(e,i),e}},function(e,t,n){var r=n(8),a=n(7),i=function(e,t){if(a(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(29)(Function.call,n(37).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(2),a=n(17),i=n(1),o=n(88),s="["+o+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(e,t,n){var a={},s=i((function(){return!!o[e]()||"​…"!="​…"[e]()})),l=a[e]=s?t(d):o[e];n&&(a[n]=l),r(r.P+r.F*s,"String",a)},d=u.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(2),a=n(49)(!0);r(r.P,"Array",{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),n(46)("includes")},function(e,t,n){"use strict";var r=n(2),a=n(91);r(r.P+r.F*n(93)("includes"),"String",{includes:function(e){return!!~a(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(92),a=n(17);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(a(e))}},function(e,t,n){var r=n(8),a=n(19),i=n(0)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},function(e,t,n){var r=n(0)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){"use strict";var r=n(25);n.n(r).a},function(e,t,n){(e.exports=n(23)(!1)).push([e.i,'\n.VueCarousel-navigation-button[data-v-453ad8cd] {\n position: absolute;\n top: 50%;\n box-sizing: border-box;\n color: #000;\n text-decoration: none;\n appearance: none;\n border: none;\n background-color: transparent;\n padding: 0;\n cursor: pointer;\n outline: none;\n}\n.VueCarousel-navigation-button[data-v-453ad8cd]:focus {\n outline: 1px solid lightblue;\n}\n.VueCarousel-navigation-next[data-v-453ad8cd] {\n right: 0;\n transform: translateY(-50%) translateX(100%);\n font-family: "system";\n}\n.VueCarousel-navigation-prev[data-v-453ad8cd] {\n left: 0;\n transform: translateY(-50%) translateX(-100%);\n font-family: "system";\n}\n.VueCarousel-navigation--disabled[data-v-453ad8cd] {\n opacity: 0.5;\n cursor: default;\n}\n\n/* Define the "system" font family */\n@font-face {\n font-family: system;\n font-style: normal;\n font-weight: 300;\n src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"),\n local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Symbol"),\n local("Roboto-Light"), local("DroidSans"), local("Tahoma");\n}\n',""])},function(e,t,n){"use strict";var r=n(13),a=n(35),i=n(22),o=n(16),s=n(47),l=Object.assign;e.exports=!l||n(1)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){for(var n=o(e),l=arguments.length,c=1,u=a.f,d=i.f;l>c;)for(var h,f=s(arguments[c++]),p=u?r(f).concat(u(f)):r(f),m=p.length,g=0;m>g;)d.call(f,h=p[g++])&&(n[h]=f[h]);return n}:l},function(e,t,n){"use strict";var r=n(26);n.n(r).a},function(e,t,n){(e.exports=n(23)(!1)).push([e.i,"\n.VueCarousel-pagination[data-v-438fd353] {\n width: 100%;\n text-align: center;\n}\n.VueCarousel-pagination--top-overlay[data-v-438fd353] {\n position: absolute;\n top: 0;\n}\n.VueCarousel-pagination--bottom-overlay[data-v-438fd353] {\n position: absolute;\n bottom: 0;\n}\n.VueCarousel-dot-container[data-v-438fd353] {\n display: inline-block;\n margin: 0 auto;\n padding: 0;\n}\n.VueCarousel-dot[data-v-438fd353] {\n display: inline-block;\n cursor: pointer;\n appearance: none;\n border: none;\n background-clip: content-box;\n box-sizing: content-box;\n padding: 0;\n border-radius: 100%;\n outline: none;\n}\n.VueCarousel-dot[data-v-438fd353]:focus {\n outline: 1px solid lightblue;\n}\n",""])},function(e,t,n){"use strict";var r=n(27);n.n(r).a},function(e,t,n){(e.exports=n(23)(!1)).push([e.i,"\n.VueCarousel-slide {\n flex-basis: inherit;\n flex-grow: 0;\n flex-shrink: 0;\n user-select: none;\n backface-visibility: hidden;\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n outline: none;\n}\n.VueCarousel-slide-adjustableHeight {\n display: table;\n flex-basis: auto;\n width: 100%;\n}\n",""])},function(e,t,n){"use strict";var r=n(28);n.n(r).a},function(e,t,n){(e.exports=n(23)(!1)).push([e.i,"\n.VueCarousel {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n.VueCarousel--reverse {\n flex-direction: column-reverse;\n}\n.VueCarousel-wrapper {\n width: 100%;\n position: relative;\n overflow: hidden;\n}\n.VueCarousel-inner {\n display: flex;\n flex-direction: row;\n backface-visibility: hidden;\n}\n.VueCarousel-inner--center {\n justify-content: center;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"VueCarousel",class:{"VueCarousel--reverse":"top"===e.paginationPosition}},[n("div",{ref:"VueCarousel-wrapper",staticClass:"VueCarousel-wrapper"},[n("div",{ref:"VueCarousel-inner",class:["VueCarousel-inner",{"VueCarousel-inner--center":e.isCenterModeEnabled}],style:{transform:"translate("+e.currentOffset+"px, 0)",transition:e.dragging?"none":e.transitionStyle,"ms-flex-preferred-size":e.slideWidth+"px","webkit-flex-basis":e.slideWidth+"px","flex-basis":e.slideWidth+"px",visibility:e.slideWidth?"visible":"hidden",height:""+e.currentHeight,"padding-left":e.padding+"px","padding-right":e.padding+"px"}},[e._t("default")],2)]),e._v(" "),e.navigationEnabled?e._t("navigation",[e.isNavigationRequired?n("navigation",{attrs:{clickTargetSize:e.navigationClickTargetSize,nextLabel:e.navigationNextLabel,prevLabel:e.navigationPrevLabel},on:{navigationclick:e.handleNavigation}}):e._e()]):e._e(),e._v(" "),e.paginationEnabled?e._t("pagination",[n("pagination",{on:{paginationclick:function(t){e.goToPage(t,"pagination")}}})]):e._e()],2)};r._withStripped=!0,n(54),n(61),n(63),n(45),n(71),n(73),n(74),n(79),n(81),n(83),n(38),n(89),n(90);var a={props:{autoplay:{type:Boolean,default:!1},autoplayTimeout:{type:Number,default:2e3},autoplayHoverPause:{type:Boolean,default:!0},autoplayDirection:{type:String,default:"forward"}},data:function(){return{autoplayInterval:null}},destroyed:function(){this.$isServer||(this.$el.removeEventListener("mouseenter",this.pauseAutoplay),this.$el.removeEventListener("mouseleave",this.startAutoplay))},methods:{pauseAutoplay:function(){this.autoplayInterval&&(this.autoplayInterval=clearInterval(this.autoplayInterval))},startAutoplay:function(){this.autoplay&&(this.autoplayInterval=setInterval(this.autoplayAdvancePage,this.autoplayTimeout))},restartAutoplay:function(){this.pauseAutoplay(),this.startAutoplay()},autoplayAdvancePage:function(){this.advancePage(this.autoplayDirection)}},mounted:function(){!this.$isServer&&this.autoplayHoverPause&&(this.$el.addEventListener("mouseenter",this.pauseAutoplay),this.$el.addEventListener("mouseleave",this.startAutoplay)),this.startAutoplay()}},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"VueCarousel-navigation"},[n("button",{staticClass:"VueCarousel-navigation-button VueCarousel-navigation-prev",class:{"VueCarousel-navigation--disabled":!e.canAdvanceBackward},style:"padding: "+e.clickTargetSize+"px; margin-right: -"+e.clickTargetSize+"px;",attrs:{type:"button","aria-label":"Previous page",tabindex:e.canAdvanceBackward?0:-1},domProps:{innerHTML:e._s(e.prevLabel)},on:{click:function(t){t.preventDefault(),e.triggerPageAdvance("backward")}}}),e._v(" "),n("button",{staticClass:"VueCarousel-navigation-button VueCarousel-navigation-next",class:{"VueCarousel-navigation--disabled":!e.canAdvanceForward},style:"padding: "+e.clickTargetSize+"px; margin-left: -"+e.clickTargetSize+"px;",attrs:{type:"button","aria-label":"Next page",tabindex:e.canAdvanceForward?0:-1},domProps:{innerHTML:e._s(e.nextLabel)},on:{click:function(t){t.preventDefault(),e.triggerPageAdvance("forward")}}})])};i._withStripped=!0;var o={name:"navigation",inject:["carousel"],props:{clickTargetSize:{type:Number,default:8},nextLabel:{type:String,default:"▶"},prevLabel:{type:String,default:"◀"}},computed:{canAdvanceForward:function(){return this.carousel.canAdvanceForward||!1},canAdvanceBackward:function(){return this.carousel.canAdvanceBackward||!1}},methods:{triggerPageAdvance:function(e){this.$emit("navigationclick",e)}}};function s(e,t,n,r,a,i,o,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n(94);var l=s(o,i,[],!1,null,"453ad8cd",null);l.options.__file="src/Navigation.vue";var c=l.exports,u=function(){var e,t=this,n=t.$createElement,r=t._self._c||n;return r("div",{directives:[{name:"show",rawName:"v-show",value:t.carousel.pageCount>1,expression:"carousel.pageCount > 1"}],staticClass:"VueCarousel-pagination",class:(e={},e["VueCarousel-pagination--"+t.paginationPositionModifierName]=t.paginationPositionModifierName,e)},[r("div",{staticClass:"VueCarousel-dot-container",style:t.dotContainerStyle,attrs:{role:"tablist"}},t._l(t.paginationCount,(function(e,n){return r("button",{key:e+"_"+n,staticClass:"VueCarousel-dot",class:{"VueCarousel-dot--active":t.isCurrentDot(n)},style:t.dotStyle(n),attrs:{"aria-hidden":"false",role:"tab",title:t.getDotTitle(n),value:t.getDotTitle(n),"aria-label":t.getDotTitle(n),"aria-selected":t.isCurrentDot(n)?"true":"false"},on:{click:function(e){t.goToPage(n)}}})})))])};u._withStripped=!0,n(52);var d={name:"pagination",inject:["carousel"],computed:{paginationPositionModifierName:function(){var e=this.carousel.paginationPosition;if(!(e.indexOf("overlay")<0))return e},paginationPropertyBasedOnPosition:function(){return this.carousel.paginationPosition.indexOf("top")>=0?"bottom":"top"},paginationCount:function(){return this.carousel&&this.carousel.scrollPerPage?this.carousel.pageCount:this.carousel.slideCount||0},dotContainerStyle:function(){var e=this.carousel;if(-1===e.maxPaginationDotCount)return{"margin-top":"".concat(2*e.paginationPadding,"px")};var t=2*e.paginationPadding,n=e.maxPaginationDotCount*(e.paginationSize+t);return{"margin-top":"".concat(2*e.paginationPadding,"px"),overflow:"hidden",width:"".concat(n,"px"),margin:"0 auto","white-space":"nowrap"}}},methods:{goToPage:function(e){this.$emit("paginationclick",e)},isCurrentDot:function(e){return e===this.carousel.currentPage},getDotTitle:function(e){return this.carousel.$children[e].title?this.carousel.$children[e].title:"Item ".concat(e)},dotStyle:function(e){var t=this.carousel,n={};if(n["margin-".concat(this.paginationPropertyBasedOnPosition)]="".concat(2*t.paginationPadding,"px"),Object.assign(n,{padding:"".concat(t.paginationPadding,"px"),width:"".concat(t.paginationSize,"px"),height:"".concat(t.paginationSize,"px"),"background-color":"".concat(this.isCurrentDot(e)?t.paginationActiveColor:t.paginationColor)}),-1===t.maxPaginationDotCount)return n;var r=t.paginationSize+2*t.paginationPadding,a=t.pageCount-t.maxPaginationDotCount,i=0-r*(t.currentPage>a?a:t.currentPage<=t.maxPaginationDotCount/2?0:t.currentPage-Math.ceil(t.maxPaginationDotCount/2)+1);return Object.assign(n,{"-webkit-transform":"translate3d(".concat(i,"px,0,0)"),transform:"translate3d(".concat(i,"px,0,0)"),"-webkit-transition":"-webkit-transform ".concat(t.speed/1e3,"s"),transition:"transform ".concat(t.speed/1e3,"s")})}}},h=(n(97),s(d,u,[],!1,null,"438fd353",null));h.options.__file="src/Pagination.vue";var f=h.exports,p=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"VueCarousel-slide",class:{"VueCarousel-slide-active":this.isActive,"VueCarousel-slide-center":this.isCenter,"VueCarousel-slide-adjustableHeight":this.isAdjustableHeight},attrs:{tabindex:"-1","aria-hidden":!this.isActive,role:"tabpanel"}},[this._t("default")],2)};p._withStripped=!0;var m={name:"slide",props:["title"],data:function(){return{width:null}},inject:["carousel"],mounted:function(){this.$isServer||this.$el.addEventListener("dragstart",(function(e){return e.preventDefault()})),this.$el.addEventListener(this.carousel.isTouch?"touchend":"mouseup",this.onTouchEnd)},computed:{activeSlides:function(){for(var e=this.carousel,t=e.currentPage,n=e.breakpointSlidesPerPage,r=[],a=e.$children.filter((function(e){return e.$el&&e.$el.className.indexOf("VueCarousel-slide")>=0})).map((function(e){return e._uid})),i=0;i=0},isCenter:function(){var e=this.carousel.breakpointSlidesPerPage;return!(e%2==0||!this.isActive)&&this.activeSlides.indexOf(this._uid)===Math.floor(e/2)},isAdjustableHeight:function(){return this.carousel.adjustableHeight}},methods:{onTouchEnd:function(e){var t=this.carousel.isTouch&&e.changedTouches&&e.changedTouches.length>0?e.changedTouches[0].clientX:e.clientX,n=this.carousel.dragStartX-t;(0===this.carousel.minSwipeDistance||Math.abs(n)t[0]?-1:1})).filter((function(e){return t>=e[0]}));return n[0]&&n[0][1]||this.perPage},canAdvanceForward:function(){return this.loop||this.offset0},currentPerPage:function(){return!this.perPageCustom||this.$isServer?this.perPage:this.breakpointSlidesPerPage},currentOffset:function(){return this.isCenterModeEnabled?0:this.rtl?1*(this.offset-this.dragOffset):-1*(this.offset+this.dragOffset)},isHidden:function(){return this.carouselWidth<=0},maxOffset:function(){return Math.max(this.slideWidth*(this.slideCount-this.currentPerPage)-this.spacePadding*this.spacePaddingMaxOffsetFactor,0)},pageCount:function(){return this.scrollPerPage?Math.ceil(this.slideCount/this.currentPerPage):this.slideCount-this.currentPerPage+1},slideWidth:function(){return(this.carouselWidth-2*this.spacePadding)/this.currentPerPage},isNavigationRequired:function(){return this.slideCount>this.currentPerPage},isCenterModeEnabled:function(){return this.centerMode&&!this.isNavigationRequired},transitionStyle:function(){var e="".concat(this.speed/1e3,"s"),t="".concat(e," ").concat(this.easing," transform");return this.adjustableHeight?"".concat(t,", height ").concat(e," ").concat(this.adjustableHeightEasing||this.easing):t},padding:function(){var e=this.spacePadding;return e>0&&e}},methods:{getNextPage:function(){return this.currentPage0?this.currentPage-1:this.loop?this.pageCount-1:this.currentPage},advancePage:function(e){e&&"backward"===e&&this.canAdvanceBackward?this.goToPage(this.getPreviousPage(),"navigation"):(!e||e&&"backward"!==e)&&this.canAdvanceForward&&this.goToPage(this.getNextPage(),"navigation")},goToLastSlide:function(){var e=this;this.dragging=!0,setTimeout((function(){e.dragging=!1}),this.refreshRate),this.$nextTick((function(){e.goToPage(e.pageCount)}))},attachMutationObserver:function(){var e=this,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(t){var n={attributes:!0,data:!0};if(this.adjustableHeight&&(n=function(e){for(var t=1;t0&&(this.carouselWidth=e[t].clientWidth||0);return this.carouselWidth},getCarouselHeight:function(){var e=this;if(!this.adjustableHeight)return"auto";var t=this.currentPerPage*(this.currentPage+1)-1,n=function(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0&&e<=this.pageCount&&(this.offset=this.scrollPerPage?Math.min(this.slideWidth*this.currentPerPage*e,this.maxOffset):this.slideWidth*e,this.autoplay&&!this.autoplayHoverPause&&this.restartAutoplay(),this.currentPage=e,"pagination"===t&&(this.pauseAutoplay(),this.$emit("pagination-click",e)))},onStart:function(e){2!=e.button&&(document.addEventListener(this.isTouch?"touchend":"mouseup",this.onEnd,!0),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.onDrag,!0),this.startTime=e.timeStamp,this.dragging=!0,this.dragStartX=this.isTouch?e.touches[0].clientX:e.clientX,this.dragStartY=this.isTouch?e.touches[0].clientY:e.clientY)},onEnd:function(e){this.autoplay&&!this.autoplayHoverPause&&this.restartAutoplay(),this.pauseAutoplay();var t=this.isTouch?e.changedTouches[0].clientX:e.clientX,n=this.dragStartX-t;if(this.dragMomentum=n/(e.timeStamp-this.startTime),0!==this.minSwipeDistance&&Math.abs(n)>=this.minSwipeDistance){var r=this.scrollPerPage?this.slideWidth*this.currentPerPage:this.slideWidth;this.dragOffset=this.dragOffset+Math.sign(n)*(r/2)}this.rtl?this.offset-=this.dragOffset:this.offset+=this.dragOffset,this.dragOffset=0,this.dragging=!1,this.render(),document.removeEventListener(this.isTouch?"touchend":"mouseup",this.onEnd,!0),document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.onDrag,!0)},onDrag:function(e){var t=this.isTouch?e.touches[0].clientX:e.clientX,n=this.isTouch?e.touches[0].clientY:e.clientY,r=this.dragStartX-t,a=this.dragStartY-n;if(!(this.isTouch&&Math.abs(r)0?this.dragOffset=Math.sqrt(this.resistanceCoef*this.dragOffset):this.offset==this.maxOffset&&this.dragOffset<0&&(this.dragOffset=-Math.sqrt(-this.resistanceCoef*this.dragOffset)):i<0?this.dragOffset=-Math.sqrt(-this.resistanceCoef*this.dragOffset):i>this.maxOffset&&(this.dragOffset=Math.sqrt(this.resistanceCoef*this.dragOffset))}},onResize:function(){var e=this;this.computeCarouselWidth(),this.computeCarouselHeight(),this.dragging=!0,this.render(),setTimeout((function(){e.dragging=!1}),this.refreshRate)},render:function(){this.rtl?this.offset-=Math.max(1-this.currentPerPage,Math.min(Math.round(this.dragMomentum),this.currentPerPage-1))*this.slideWidth:this.offset+=Math.max(1-this.currentPerPage,Math.min(Math.round(this.dragMomentum),this.currentPerPage-1))*this.slideWidth;var e=this.scrollPerPage?this.slideWidth*this.currentPerPage:this.slideWidth,t=e*Math.floor(this.slideCount/(this.currentPerPage-1)),n=t+this.slideWidth*(this.slideCount%this.currentPerPage);this.offset>(t+n)/2?this.offset=n:this.offset=e*Math.round(this.offset/e),this.offset=Math.max(0,Math.min(this.offset,this.maxOffset)),this.currentPage=this.scrollPerPage?Math.round(this.offset/this.slideWidth/this.currentPerPage):Math.round(this.offset/this.slideWidth)},computeCarouselWidth:function(){this.getSlideCount(),this.getBrowserWidth(),this.getCarouselWidth(),this.setCurrentPageInBounds()},computeCarouselHeight:function(){this.getCarouselHeight()},setCurrentPageInBounds:function(){if(!this.canAdvanceForward&&this.scrollPerPage){var e=this.pageCount-1;this.currentPage=e>=0?e:0,this.offset=Math.max(0,Math.min(this.offset,this.maxOffset))}},handleTransitionStart:function(){this.$emit("transitionStart"),this.$emit("transition-start")},handleTransitionEnd:function(){this.$emit("transitionEnd"),this.$emit("transition-end")}},mounted:function(){window.addEventListener("resize",function(e,t,n){var r;return function(){var a=n&&!r;clearTimeout(r),r=setTimeout((function(){r=null,n||e.apply(void 0)}),t),a&&e.apply(void 0)}}(this.onResize,this.refreshRate)),(this.isTouch&&this.touchDrag||this.mouseDrag)&&this.$refs["VueCarousel-wrapper"].addEventListener(this.isTouch?"touchstart":"mousedown",this.onStart),this.attachMutationObserver(),this.computeCarouselWidth(),this.computeCarouselHeight(),this.transitionstart=I(),this.$refs["VueCarousel-inner"].addEventListener(this.transitionstart,this.handleTransitionStart),this.transitionend=I(),this.$refs["VueCarousel-inner"].addEventListener(this.transitionend,this.handleTransitionEnd),this.$emit("mounted"),"backward"===this.autoplayDirection&&this.goToLastSlide()},beforeDestroy:function(){this.detachMutationObserver(),window.removeEventListener("resize",this.getBrowserWidth),this.$refs["VueCarousel-inner"].removeEventListener(this.transitionstart,this.handleTransitionStart),this.$refs["VueCarousel-inner"].removeEventListener(this.transitionend,this.handleTransitionEnd),this.$refs["VueCarousel-wrapper"].removeEventListener(this.isTouch?"touchstart":"mousedown",this.onStart)}},w=(n(101),s(T,r,[],!1,null,null,null));w.options.__file="src/Carousel.vue";var E=w.exports;n.d(t,"Carousel",(function(){return E})),n.d(t,"Slide",(function(){return v})),t.default={install:function(e){e.component("carousel",E),e.component("slide",v)}}}])},57777:function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,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(e){return"شام"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(95093))},57900:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormRadio:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(1340),o=n(98606),s=(0,i.makePropsConfigurable)(o.props,a.NAME_FORM_RADIO),l=(0,r.extend)({name:a.NAME_FORM_RADIO,mixins:[o.formRadioCheckMixin],inject:{getBvGroup:{from:"getBvRadioGroup",default:function(){return function(){return null}}}},props:s,computed:{bvGroup:function(){return this.getBvGroup()}}})},57938:(e,t,n)=>{"use strict";n.r(t),n.d(t,{cloneDeep:()=>u});var r=n(46710),a=n(91671);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:t;return(0,r.isArray)(t)?t.reduce((function(t,n){return[].concat(l(t),[e(n,n)])}),[]):(0,r.isPlainObject)(t)?(0,a.keys)(t).reduce((function(n,r){return o(o({},n),{},s({},r,e(t[r],t[r])))}),{}):n}},58075:(e,t,n)=>{"use strict";n.r(t),n.d(t,{busyMixin:()=>y,props:()=>v});var r=n(2448),a=n(87013),i=n(80072),o=n(94159),s=n(87057),l=n(46710),c=n(1340),u=n(66374),d=n(83936);var h,f,p,m="busy",g=a.MODEL_EVENT_NAME_PREFIX+m,v=(h={},f=m,p=(0,c.makeProp)(i.PROP_TYPE_BOOLEAN,!1),f in h?Object.defineProperty(h,f,{value:p,enumerable:!0,configurable:!0,writable:!0}):h[f]=p,h),y=(0,r.extend)({props:v,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this[m]||this.localBusy}},watch:{localBusy:function(e,t){e!==t&&this.$emit(g,e)}},methods:{stopIfBusy:function(e){return!!this.computedBusy&&((0,s.stopEvent)(e),!0)},renderBusy:function(){var e=this.tbodyTrClass,t=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot(o.SLOT_NAME_TABLE_BUSY)?n(u.BTr,{staticClass:"b-table-busy-slot",class:[(0,l.isFunction)(e)?e(null,o.SLOT_NAME_TABLE_BUSY):e],attrs:(0,l.isFunction)(t)?t(null,o.SLOT_NAME_TABLE_BUSY):t,key:"table-busy-slot"},[n(d.BTd,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot(o.SLOT_NAME_TABLE_BUSY)])]):null}}})},58076:function(e,t,n){!function(e){"use strict";var t={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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var a=t.words[r];return 1===r.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}};e.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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(95093))},58094:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BootstrapVueIcons:()=>c,IconsPlugin:()=>l,iconNames:()=>s});var r=n(96266),a=n(69756),i=n(80058),o=n(61651),s=["BIconBlank","BIconAlarm","BIconAlarmFill","BIconAlignBottom","BIconAlignCenter","BIconAlignEnd","BIconAlignMiddle","BIconAlignStart","BIconAlignTop","BIconAlt","BIconApp","BIconAppIndicator","BIconArchive","BIconArchiveFill","BIconArrow90degDown","BIconArrow90degLeft","BIconArrow90degRight","BIconArrow90degUp","BIconArrowBarDown","BIconArrowBarLeft","BIconArrowBarRight","BIconArrowBarUp","BIconArrowClockwise","BIconArrowCounterclockwise","BIconArrowDown","BIconArrowDownCircle","BIconArrowDownCircleFill","BIconArrowDownLeft","BIconArrowDownLeftCircle","BIconArrowDownLeftCircleFill","BIconArrowDownLeftSquare","BIconArrowDownLeftSquareFill","BIconArrowDownRight","BIconArrowDownRightCircle","BIconArrowDownRightCircleFill","BIconArrowDownRightSquare","BIconArrowDownRightSquareFill","BIconArrowDownShort","BIconArrowDownSquare","BIconArrowDownSquareFill","BIconArrowDownUp","BIconArrowLeft","BIconArrowLeftCircle","BIconArrowLeftCircleFill","BIconArrowLeftRight","BIconArrowLeftShort","BIconArrowLeftSquare","BIconArrowLeftSquareFill","BIconArrowRepeat","BIconArrowReturnLeft","BIconArrowReturnRight","BIconArrowRight","BIconArrowRightCircle","BIconArrowRightCircleFill","BIconArrowRightShort","BIconArrowRightSquare","BIconArrowRightSquareFill","BIconArrowUp","BIconArrowUpCircle","BIconArrowUpCircleFill","BIconArrowUpLeft","BIconArrowUpLeftCircle","BIconArrowUpLeftCircleFill","BIconArrowUpLeftSquare","BIconArrowUpLeftSquareFill","BIconArrowUpRight","BIconArrowUpRightCircle","BIconArrowUpRightCircleFill","BIconArrowUpRightSquare","BIconArrowUpRightSquareFill","BIconArrowUpShort","BIconArrowUpSquare","BIconArrowUpSquareFill","BIconArrowsAngleContract","BIconArrowsAngleExpand","BIconArrowsCollapse","BIconArrowsExpand","BIconArrowsFullscreen","BIconArrowsMove","BIconAspectRatio","BIconAspectRatioFill","BIconAsterisk","BIconAt","BIconAward","BIconAwardFill","BIconBack","BIconBackspace","BIconBackspaceFill","BIconBackspaceReverse","BIconBackspaceReverseFill","BIconBadge3d","BIconBadge3dFill","BIconBadge4k","BIconBadge4kFill","BIconBadge8k","BIconBadge8kFill","BIconBadgeAd","BIconBadgeAdFill","BIconBadgeAr","BIconBadgeArFill","BIconBadgeCc","BIconBadgeCcFill","BIconBadgeHd","BIconBadgeHdFill","BIconBadgeTm","BIconBadgeTmFill","BIconBadgeVo","BIconBadgeVoFill","BIconBadgeVr","BIconBadgeVrFill","BIconBadgeWc","BIconBadgeWcFill","BIconBag","BIconBagCheck","BIconBagCheckFill","BIconBagDash","BIconBagDashFill","BIconBagFill","BIconBagPlus","BIconBagPlusFill","BIconBagX","BIconBagXFill","BIconBank","BIconBank2","BIconBarChart","BIconBarChartFill","BIconBarChartLine","BIconBarChartLineFill","BIconBarChartSteps","BIconBasket","BIconBasket2","BIconBasket2Fill","BIconBasket3","BIconBasket3Fill","BIconBasketFill","BIconBattery","BIconBatteryCharging","BIconBatteryFull","BIconBatteryHalf","BIconBell","BIconBellFill","BIconBellSlash","BIconBellSlashFill","BIconBezier","BIconBezier2","BIconBicycle","BIconBinoculars","BIconBinocularsFill","BIconBlockquoteLeft","BIconBlockquoteRight","BIconBook","BIconBookFill","BIconBookHalf","BIconBookmark","BIconBookmarkCheck","BIconBookmarkCheckFill","BIconBookmarkDash","BIconBookmarkDashFill","BIconBookmarkFill","BIconBookmarkHeart","BIconBookmarkHeartFill","BIconBookmarkPlus","BIconBookmarkPlusFill","BIconBookmarkStar","BIconBookmarkStarFill","BIconBookmarkX","BIconBookmarkXFill","BIconBookmarks","BIconBookmarksFill","BIconBookshelf","BIconBootstrap","BIconBootstrapFill","BIconBootstrapReboot","BIconBorder","BIconBorderAll","BIconBorderBottom","BIconBorderCenter","BIconBorderInner","BIconBorderLeft","BIconBorderMiddle","BIconBorderOuter","BIconBorderRight","BIconBorderStyle","BIconBorderTop","BIconBorderWidth","BIconBoundingBox","BIconBoundingBoxCircles","BIconBox","BIconBoxArrowDown","BIconBoxArrowDownLeft","BIconBoxArrowDownRight","BIconBoxArrowInDown","BIconBoxArrowInDownLeft","BIconBoxArrowInDownRight","BIconBoxArrowInLeft","BIconBoxArrowInRight","BIconBoxArrowInUp","BIconBoxArrowInUpLeft","BIconBoxArrowInUpRight","BIconBoxArrowLeft","BIconBoxArrowRight","BIconBoxArrowUp","BIconBoxArrowUpLeft","BIconBoxArrowUpRight","BIconBoxSeam","BIconBraces","BIconBricks","BIconBriefcase","BIconBriefcaseFill","BIconBrightnessAltHigh","BIconBrightnessAltHighFill","BIconBrightnessAltLow","BIconBrightnessAltLowFill","BIconBrightnessHigh","BIconBrightnessHighFill","BIconBrightnessLow","BIconBrightnessLowFill","BIconBroadcast","BIconBroadcastPin","BIconBrush","BIconBrushFill","BIconBucket","BIconBucketFill","BIconBug","BIconBugFill","BIconBuilding","BIconBullseye","BIconCalculator","BIconCalculatorFill","BIconCalendar","BIconCalendar2","BIconCalendar2Check","BIconCalendar2CheckFill","BIconCalendar2Date","BIconCalendar2DateFill","BIconCalendar2Day","BIconCalendar2DayFill","BIconCalendar2Event","BIconCalendar2EventFill","BIconCalendar2Fill","BIconCalendar2Minus","BIconCalendar2MinusFill","BIconCalendar2Month","BIconCalendar2MonthFill","BIconCalendar2Plus","BIconCalendar2PlusFill","BIconCalendar2Range","BIconCalendar2RangeFill","BIconCalendar2Week","BIconCalendar2WeekFill","BIconCalendar2X","BIconCalendar2XFill","BIconCalendar3","BIconCalendar3Event","BIconCalendar3EventFill","BIconCalendar3Fill","BIconCalendar3Range","BIconCalendar3RangeFill","BIconCalendar3Week","BIconCalendar3WeekFill","BIconCalendar4","BIconCalendar4Event","BIconCalendar4Range","BIconCalendar4Week","BIconCalendarCheck","BIconCalendarCheckFill","BIconCalendarDate","BIconCalendarDateFill","BIconCalendarDay","BIconCalendarDayFill","BIconCalendarEvent","BIconCalendarEventFill","BIconCalendarFill","BIconCalendarMinus","BIconCalendarMinusFill","BIconCalendarMonth","BIconCalendarMonthFill","BIconCalendarPlus","BIconCalendarPlusFill","BIconCalendarRange","BIconCalendarRangeFill","BIconCalendarWeek","BIconCalendarWeekFill","BIconCalendarX","BIconCalendarXFill","BIconCamera","BIconCamera2","BIconCameraFill","BIconCameraReels","BIconCameraReelsFill","BIconCameraVideo","BIconCameraVideoFill","BIconCameraVideoOff","BIconCameraVideoOffFill","BIconCapslock","BIconCapslockFill","BIconCardChecklist","BIconCardHeading","BIconCardImage","BIconCardList","BIconCardText","BIconCaretDown","BIconCaretDownFill","BIconCaretDownSquare","BIconCaretDownSquareFill","BIconCaretLeft","BIconCaretLeftFill","BIconCaretLeftSquare","BIconCaretLeftSquareFill","BIconCaretRight","BIconCaretRightFill","BIconCaretRightSquare","BIconCaretRightSquareFill","BIconCaretUp","BIconCaretUpFill","BIconCaretUpSquare","BIconCaretUpSquareFill","BIconCart","BIconCart2","BIconCart3","BIconCart4","BIconCartCheck","BIconCartCheckFill","BIconCartDash","BIconCartDashFill","BIconCartFill","BIconCartPlus","BIconCartPlusFill","BIconCartX","BIconCartXFill","BIconCash","BIconCashCoin","BIconCashStack","BIconCast","BIconChat","BIconChatDots","BIconChatDotsFill","BIconChatFill","BIconChatLeft","BIconChatLeftDots","BIconChatLeftDotsFill","BIconChatLeftFill","BIconChatLeftQuote","BIconChatLeftQuoteFill","BIconChatLeftText","BIconChatLeftTextFill","BIconChatQuote","BIconChatQuoteFill","BIconChatRight","BIconChatRightDots","BIconChatRightDotsFill","BIconChatRightFill","BIconChatRightQuote","BIconChatRightQuoteFill","BIconChatRightText","BIconChatRightTextFill","BIconChatSquare","BIconChatSquareDots","BIconChatSquareDotsFill","BIconChatSquareFill","BIconChatSquareQuote","BIconChatSquareQuoteFill","BIconChatSquareText","BIconChatSquareTextFill","BIconChatText","BIconChatTextFill","BIconCheck","BIconCheck2","BIconCheck2All","BIconCheck2Circle","BIconCheck2Square","BIconCheckAll","BIconCheckCircle","BIconCheckCircleFill","BIconCheckLg","BIconCheckSquare","BIconCheckSquareFill","BIconChevronBarContract","BIconChevronBarDown","BIconChevronBarExpand","BIconChevronBarLeft","BIconChevronBarRight","BIconChevronBarUp","BIconChevronCompactDown","BIconChevronCompactLeft","BIconChevronCompactRight","BIconChevronCompactUp","BIconChevronContract","BIconChevronDoubleDown","BIconChevronDoubleLeft","BIconChevronDoubleRight","BIconChevronDoubleUp","BIconChevronDown","BIconChevronExpand","BIconChevronLeft","BIconChevronRight","BIconChevronUp","BIconCircle","BIconCircleFill","BIconCircleHalf","BIconCircleSquare","BIconClipboard","BIconClipboardCheck","BIconClipboardData","BIconClipboardMinus","BIconClipboardPlus","BIconClipboardX","BIconClock","BIconClockFill","BIconClockHistory","BIconCloud","BIconCloudArrowDown","BIconCloudArrowDownFill","BIconCloudArrowUp","BIconCloudArrowUpFill","BIconCloudCheck","BIconCloudCheckFill","BIconCloudDownload","BIconCloudDownloadFill","BIconCloudDrizzle","BIconCloudDrizzleFill","BIconCloudFill","BIconCloudFog","BIconCloudFog2","BIconCloudFog2Fill","BIconCloudFogFill","BIconCloudHail","BIconCloudHailFill","BIconCloudHaze","BIconCloudHaze1","BIconCloudHaze2Fill","BIconCloudHazeFill","BIconCloudLightning","BIconCloudLightningFill","BIconCloudLightningRain","BIconCloudLightningRainFill","BIconCloudMinus","BIconCloudMinusFill","BIconCloudMoon","BIconCloudMoonFill","BIconCloudPlus","BIconCloudPlusFill","BIconCloudRain","BIconCloudRainFill","BIconCloudRainHeavy","BIconCloudRainHeavyFill","BIconCloudSlash","BIconCloudSlashFill","BIconCloudSleet","BIconCloudSleetFill","BIconCloudSnow","BIconCloudSnowFill","BIconCloudSun","BIconCloudSunFill","BIconCloudUpload","BIconCloudUploadFill","BIconClouds","BIconCloudsFill","BIconCloudy","BIconCloudyFill","BIconCode","BIconCodeSlash","BIconCodeSquare","BIconCoin","BIconCollection","BIconCollectionFill","BIconCollectionPlay","BIconCollectionPlayFill","BIconColumns","BIconColumnsGap","BIconCommand","BIconCompass","BIconCompassFill","BIconCone","BIconConeStriped","BIconController","BIconCpu","BIconCpuFill","BIconCreditCard","BIconCreditCard2Back","BIconCreditCard2BackFill","BIconCreditCard2Front","BIconCreditCard2FrontFill","BIconCreditCardFill","BIconCrop","BIconCup","BIconCupFill","BIconCupStraw","BIconCurrencyBitcoin","BIconCurrencyDollar","BIconCurrencyEuro","BIconCurrencyExchange","BIconCurrencyPound","BIconCurrencyYen","BIconCursor","BIconCursorFill","BIconCursorText","BIconDash","BIconDashCircle","BIconDashCircleDotted","BIconDashCircleFill","BIconDashLg","BIconDashSquare","BIconDashSquareDotted","BIconDashSquareFill","BIconDiagram2","BIconDiagram2Fill","BIconDiagram3","BIconDiagram3Fill","BIconDiamond","BIconDiamondFill","BIconDiamondHalf","BIconDice1","BIconDice1Fill","BIconDice2","BIconDice2Fill","BIconDice3","BIconDice3Fill","BIconDice4","BIconDice4Fill","BIconDice5","BIconDice5Fill","BIconDice6","BIconDice6Fill","BIconDisc","BIconDiscFill","BIconDiscord","BIconDisplay","BIconDisplayFill","BIconDistributeHorizontal","BIconDistributeVertical","BIconDoorClosed","BIconDoorClosedFill","BIconDoorOpen","BIconDoorOpenFill","BIconDot","BIconDownload","BIconDroplet","BIconDropletFill","BIconDropletHalf","BIconEarbuds","BIconEasel","BIconEaselFill","BIconEgg","BIconEggFill","BIconEggFried","BIconEject","BIconEjectFill","BIconEmojiAngry","BIconEmojiAngryFill","BIconEmojiDizzy","BIconEmojiDizzyFill","BIconEmojiExpressionless","BIconEmojiExpressionlessFill","BIconEmojiFrown","BIconEmojiFrownFill","BIconEmojiHeartEyes","BIconEmojiHeartEyesFill","BIconEmojiLaughing","BIconEmojiLaughingFill","BIconEmojiNeutral","BIconEmojiNeutralFill","BIconEmojiSmile","BIconEmojiSmileFill","BIconEmojiSmileUpsideDown","BIconEmojiSmileUpsideDownFill","BIconEmojiSunglasses","BIconEmojiSunglassesFill","BIconEmojiWink","BIconEmojiWinkFill","BIconEnvelope","BIconEnvelopeFill","BIconEnvelopeOpen","BIconEnvelopeOpenFill","BIconEraser","BIconEraserFill","BIconExclamation","BIconExclamationCircle","BIconExclamationCircleFill","BIconExclamationDiamond","BIconExclamationDiamondFill","BIconExclamationLg","BIconExclamationOctagon","BIconExclamationOctagonFill","BIconExclamationSquare","BIconExclamationSquareFill","BIconExclamationTriangle","BIconExclamationTriangleFill","BIconExclude","BIconEye","BIconEyeFill","BIconEyeSlash","BIconEyeSlashFill","BIconEyedropper","BIconEyeglasses","BIconFacebook","BIconFile","BIconFileArrowDown","BIconFileArrowDownFill","BIconFileArrowUp","BIconFileArrowUpFill","BIconFileBarGraph","BIconFileBarGraphFill","BIconFileBinary","BIconFileBinaryFill","BIconFileBreak","BIconFileBreakFill","BIconFileCheck","BIconFileCheckFill","BIconFileCode","BIconFileCodeFill","BIconFileDiff","BIconFileDiffFill","BIconFileEarmark","BIconFileEarmarkArrowDown","BIconFileEarmarkArrowDownFill","BIconFileEarmarkArrowUp","BIconFileEarmarkArrowUpFill","BIconFileEarmarkBarGraph","BIconFileEarmarkBarGraphFill","BIconFileEarmarkBinary","BIconFileEarmarkBinaryFill","BIconFileEarmarkBreak","BIconFileEarmarkBreakFill","BIconFileEarmarkCheck","BIconFileEarmarkCheckFill","BIconFileEarmarkCode","BIconFileEarmarkCodeFill","BIconFileEarmarkDiff","BIconFileEarmarkDiffFill","BIconFileEarmarkEasel","BIconFileEarmarkEaselFill","BIconFileEarmarkExcel","BIconFileEarmarkExcelFill","BIconFileEarmarkFill","BIconFileEarmarkFont","BIconFileEarmarkFontFill","BIconFileEarmarkImage","BIconFileEarmarkImageFill","BIconFileEarmarkLock","BIconFileEarmarkLock2","BIconFileEarmarkLock2Fill","BIconFileEarmarkLockFill","BIconFileEarmarkMedical","BIconFileEarmarkMedicalFill","BIconFileEarmarkMinus","BIconFileEarmarkMinusFill","BIconFileEarmarkMusic","BIconFileEarmarkMusicFill","BIconFileEarmarkPdf","BIconFileEarmarkPdfFill","BIconFileEarmarkPerson","BIconFileEarmarkPersonFill","BIconFileEarmarkPlay","BIconFileEarmarkPlayFill","BIconFileEarmarkPlus","BIconFileEarmarkPlusFill","BIconFileEarmarkPost","BIconFileEarmarkPostFill","BIconFileEarmarkPpt","BIconFileEarmarkPptFill","BIconFileEarmarkRichtext","BIconFileEarmarkRichtextFill","BIconFileEarmarkRuled","BIconFileEarmarkRuledFill","BIconFileEarmarkSlides","BIconFileEarmarkSlidesFill","BIconFileEarmarkSpreadsheet","BIconFileEarmarkSpreadsheetFill","BIconFileEarmarkText","BIconFileEarmarkTextFill","BIconFileEarmarkWord","BIconFileEarmarkWordFill","BIconFileEarmarkX","BIconFileEarmarkXFill","BIconFileEarmarkZip","BIconFileEarmarkZipFill","BIconFileEasel","BIconFileEaselFill","BIconFileExcel","BIconFileExcelFill","BIconFileFill","BIconFileFont","BIconFileFontFill","BIconFileImage","BIconFileImageFill","BIconFileLock","BIconFileLock2","BIconFileLock2Fill","BIconFileLockFill","BIconFileMedical","BIconFileMedicalFill","BIconFileMinus","BIconFileMinusFill","BIconFileMusic","BIconFileMusicFill","BIconFilePdf","BIconFilePdfFill","BIconFilePerson","BIconFilePersonFill","BIconFilePlay","BIconFilePlayFill","BIconFilePlus","BIconFilePlusFill","BIconFilePost","BIconFilePostFill","BIconFilePpt","BIconFilePptFill","BIconFileRichtext","BIconFileRichtextFill","BIconFileRuled","BIconFileRuledFill","BIconFileSlides","BIconFileSlidesFill","BIconFileSpreadsheet","BIconFileSpreadsheetFill","BIconFileText","BIconFileTextFill","BIconFileWord","BIconFileWordFill","BIconFileX","BIconFileXFill","BIconFileZip","BIconFileZipFill","BIconFiles","BIconFilesAlt","BIconFilm","BIconFilter","BIconFilterCircle","BIconFilterCircleFill","BIconFilterLeft","BIconFilterRight","BIconFilterSquare","BIconFilterSquareFill","BIconFlag","BIconFlagFill","BIconFlower1","BIconFlower2","BIconFlower3","BIconFolder","BIconFolder2","BIconFolder2Open","BIconFolderCheck","BIconFolderFill","BIconFolderMinus","BIconFolderPlus","BIconFolderSymlink","BIconFolderSymlinkFill","BIconFolderX","BIconFonts","BIconForward","BIconForwardFill","BIconFront","BIconFullscreen","BIconFullscreenExit","BIconFunnel","BIconFunnelFill","BIconGear","BIconGearFill","BIconGearWide","BIconGearWideConnected","BIconGem","BIconGenderAmbiguous","BIconGenderFemale","BIconGenderMale","BIconGenderTrans","BIconGeo","BIconGeoAlt","BIconGeoAltFill","BIconGeoFill","BIconGift","BIconGiftFill","BIconGithub","BIconGlobe","BIconGlobe2","BIconGoogle","BIconGraphDown","BIconGraphUp","BIconGrid","BIconGrid1x2","BIconGrid1x2Fill","BIconGrid3x2","BIconGrid3x2Gap","BIconGrid3x2GapFill","BIconGrid3x3","BIconGrid3x3Gap","BIconGrid3x3GapFill","BIconGridFill","BIconGripHorizontal","BIconGripVertical","BIconHammer","BIconHandIndex","BIconHandIndexFill","BIconHandIndexThumb","BIconHandIndexThumbFill","BIconHandThumbsDown","BIconHandThumbsDownFill","BIconHandThumbsUp","BIconHandThumbsUpFill","BIconHandbag","BIconHandbagFill","BIconHash","BIconHdd","BIconHddFill","BIconHddNetwork","BIconHddNetworkFill","BIconHddRack","BIconHddRackFill","BIconHddStack","BIconHddStackFill","BIconHeadphones","BIconHeadset","BIconHeadsetVr","BIconHeart","BIconHeartFill","BIconHeartHalf","BIconHeptagon","BIconHeptagonFill","BIconHeptagonHalf","BIconHexagon","BIconHexagonFill","BIconHexagonHalf","BIconHourglass","BIconHourglassBottom","BIconHourglassSplit","BIconHourglassTop","BIconHouse","BIconHouseDoor","BIconHouseDoorFill","BIconHouseFill","BIconHr","BIconHurricane","BIconImage","BIconImageAlt","BIconImageFill","BIconImages","BIconInbox","BIconInboxFill","BIconInboxes","BIconInboxesFill","BIconInfo","BIconInfoCircle","BIconInfoCircleFill","BIconInfoLg","BIconInfoSquare","BIconInfoSquareFill","BIconInputCursor","BIconInputCursorText","BIconInstagram","BIconIntersect","BIconJournal","BIconJournalAlbum","BIconJournalArrowDown","BIconJournalArrowUp","BIconJournalBookmark","BIconJournalBookmarkFill","BIconJournalCheck","BIconJournalCode","BIconJournalMedical","BIconJournalMinus","BIconJournalPlus","BIconJournalRichtext","BIconJournalText","BIconJournalX","BIconJournals","BIconJoystick","BIconJustify","BIconJustifyLeft","BIconJustifyRight","BIconKanban","BIconKanbanFill","BIconKey","BIconKeyFill","BIconKeyboard","BIconKeyboardFill","BIconLadder","BIconLamp","BIconLampFill","BIconLaptop","BIconLaptopFill","BIconLayerBackward","BIconLayerForward","BIconLayers","BIconLayersFill","BIconLayersHalf","BIconLayoutSidebar","BIconLayoutSidebarInset","BIconLayoutSidebarInsetReverse","BIconLayoutSidebarReverse","BIconLayoutSplit","BIconLayoutTextSidebar","BIconLayoutTextSidebarReverse","BIconLayoutTextWindow","BIconLayoutTextWindowReverse","BIconLayoutThreeColumns","BIconLayoutWtf","BIconLifePreserver","BIconLightbulb","BIconLightbulbFill","BIconLightbulbOff","BIconLightbulbOffFill","BIconLightning","BIconLightningCharge","BIconLightningChargeFill","BIconLightningFill","BIconLink","BIconLink45deg","BIconLinkedin","BIconList","BIconListCheck","BIconListNested","BIconListOl","BIconListStars","BIconListTask","BIconListUl","BIconLock","BIconLockFill","BIconMailbox","BIconMailbox2","BIconMap","BIconMapFill","BIconMarkdown","BIconMarkdownFill","BIconMask","BIconMastodon","BIconMegaphone","BIconMegaphoneFill","BIconMenuApp","BIconMenuAppFill","BIconMenuButton","BIconMenuButtonFill","BIconMenuButtonWide","BIconMenuButtonWideFill","BIconMenuDown","BIconMenuUp","BIconMessenger","BIconMic","BIconMicFill","BIconMicMute","BIconMicMuteFill","BIconMinecart","BIconMinecartLoaded","BIconMoisture","BIconMoon","BIconMoonFill","BIconMoonStars","BIconMoonStarsFill","BIconMouse","BIconMouse2","BIconMouse2Fill","BIconMouse3","BIconMouse3Fill","BIconMouseFill","BIconMusicNote","BIconMusicNoteBeamed","BIconMusicNoteList","BIconMusicPlayer","BIconMusicPlayerFill","BIconNewspaper","BIconNodeMinus","BIconNodeMinusFill","BIconNodePlus","BIconNodePlusFill","BIconNut","BIconNutFill","BIconOctagon","BIconOctagonFill","BIconOctagonHalf","BIconOption","BIconOutlet","BIconPaintBucket","BIconPalette","BIconPalette2","BIconPaletteFill","BIconPaperclip","BIconParagraph","BIconPatchCheck","BIconPatchCheckFill","BIconPatchExclamation","BIconPatchExclamationFill","BIconPatchMinus","BIconPatchMinusFill","BIconPatchPlus","BIconPatchPlusFill","BIconPatchQuestion","BIconPatchQuestionFill","BIconPause","BIconPauseBtn","BIconPauseBtnFill","BIconPauseCircle","BIconPauseCircleFill","BIconPauseFill","BIconPeace","BIconPeaceFill","BIconPen","BIconPenFill","BIconPencil","BIconPencilFill","BIconPencilSquare","BIconPentagon","BIconPentagonFill","BIconPentagonHalf","BIconPeople","BIconPeopleFill","BIconPercent","BIconPerson","BIconPersonBadge","BIconPersonBadgeFill","BIconPersonBoundingBox","BIconPersonCheck","BIconPersonCheckFill","BIconPersonCircle","BIconPersonDash","BIconPersonDashFill","BIconPersonFill","BIconPersonLinesFill","BIconPersonPlus","BIconPersonPlusFill","BIconPersonSquare","BIconPersonX","BIconPersonXFill","BIconPhone","BIconPhoneFill","BIconPhoneLandscape","BIconPhoneLandscapeFill","BIconPhoneVibrate","BIconPhoneVibrateFill","BIconPieChart","BIconPieChartFill","BIconPiggyBank","BIconPiggyBankFill","BIconPin","BIconPinAngle","BIconPinAngleFill","BIconPinFill","BIconPinMap","BIconPinMapFill","BIconPip","BIconPipFill","BIconPlay","BIconPlayBtn","BIconPlayBtnFill","BIconPlayCircle","BIconPlayCircleFill","BIconPlayFill","BIconPlug","BIconPlugFill","BIconPlus","BIconPlusCircle","BIconPlusCircleDotted","BIconPlusCircleFill","BIconPlusLg","BIconPlusSquare","BIconPlusSquareDotted","BIconPlusSquareFill","BIconPower","BIconPrinter","BIconPrinterFill","BIconPuzzle","BIconPuzzleFill","BIconQuestion","BIconQuestionCircle","BIconQuestionCircleFill","BIconQuestionDiamond","BIconQuestionDiamondFill","BIconQuestionLg","BIconQuestionOctagon","BIconQuestionOctagonFill","BIconQuestionSquare","BIconQuestionSquareFill","BIconRainbow","BIconReceipt","BIconReceiptCutoff","BIconReception0","BIconReception1","BIconReception2","BIconReception3","BIconReception4","BIconRecord","BIconRecord2","BIconRecord2Fill","BIconRecordBtn","BIconRecordBtnFill","BIconRecordCircle","BIconRecordCircleFill","BIconRecordFill","BIconRecycle","BIconReddit","BIconReply","BIconReplyAll","BIconReplyAllFill","BIconReplyFill","BIconRss","BIconRssFill","BIconRulers","BIconSafe","BIconSafe2","BIconSafe2Fill","BIconSafeFill","BIconSave","BIconSave2","BIconSave2Fill","BIconSaveFill","BIconScissors","BIconScrewdriver","BIconSdCard","BIconSdCardFill","BIconSearch","BIconSegmentedNav","BIconServer","BIconShare","BIconShareFill","BIconShield","BIconShieldCheck","BIconShieldExclamation","BIconShieldFill","BIconShieldFillCheck","BIconShieldFillExclamation","BIconShieldFillMinus","BIconShieldFillPlus","BIconShieldFillX","BIconShieldLock","BIconShieldLockFill","BIconShieldMinus","BIconShieldPlus","BIconShieldShaded","BIconShieldSlash","BIconShieldSlashFill","BIconShieldX","BIconShift","BIconShiftFill","BIconShop","BIconShopWindow","BIconShuffle","BIconSignpost","BIconSignpost2","BIconSignpost2Fill","BIconSignpostFill","BIconSignpostSplit","BIconSignpostSplitFill","BIconSim","BIconSimFill","BIconSkipBackward","BIconSkipBackwardBtn","BIconSkipBackwardBtnFill","BIconSkipBackwardCircle","BIconSkipBackwardCircleFill","BIconSkipBackwardFill","BIconSkipEnd","BIconSkipEndBtn","BIconSkipEndBtnFill","BIconSkipEndCircle","BIconSkipEndCircleFill","BIconSkipEndFill","BIconSkipForward","BIconSkipForwardBtn","BIconSkipForwardBtnFill","BIconSkipForwardCircle","BIconSkipForwardCircleFill","BIconSkipForwardFill","BIconSkipStart","BIconSkipStartBtn","BIconSkipStartBtnFill","BIconSkipStartCircle","BIconSkipStartCircleFill","BIconSkipStartFill","BIconSkype","BIconSlack","BIconSlash","BIconSlashCircle","BIconSlashCircleFill","BIconSlashLg","BIconSlashSquare","BIconSlashSquareFill","BIconSliders","BIconSmartwatch","BIconSnow","BIconSnow2","BIconSnow3","BIconSortAlphaDown","BIconSortAlphaDownAlt","BIconSortAlphaUp","BIconSortAlphaUpAlt","BIconSortDown","BIconSortDownAlt","BIconSortNumericDown","BIconSortNumericDownAlt","BIconSortNumericUp","BIconSortNumericUpAlt","BIconSortUp","BIconSortUpAlt","BIconSoundwave","BIconSpeaker","BIconSpeakerFill","BIconSpeedometer","BIconSpeedometer2","BIconSpellcheck","BIconSquare","BIconSquareFill","BIconSquareHalf","BIconStack","BIconStar","BIconStarFill","BIconStarHalf","BIconStars","BIconStickies","BIconStickiesFill","BIconSticky","BIconStickyFill","BIconStop","BIconStopBtn","BIconStopBtnFill","BIconStopCircle","BIconStopCircleFill","BIconStopFill","BIconStoplights","BIconStoplightsFill","BIconStopwatch","BIconStopwatchFill","BIconSubtract","BIconSuitClub","BIconSuitClubFill","BIconSuitDiamond","BIconSuitDiamondFill","BIconSuitHeart","BIconSuitHeartFill","BIconSuitSpade","BIconSuitSpadeFill","BIconSun","BIconSunFill","BIconSunglasses","BIconSunrise","BIconSunriseFill","BIconSunset","BIconSunsetFill","BIconSymmetryHorizontal","BIconSymmetryVertical","BIconTable","BIconTablet","BIconTabletFill","BIconTabletLandscape","BIconTabletLandscapeFill","BIconTag","BIconTagFill","BIconTags","BIconTagsFill","BIconTelegram","BIconTelephone","BIconTelephoneFill","BIconTelephoneForward","BIconTelephoneForwardFill","BIconTelephoneInbound","BIconTelephoneInboundFill","BIconTelephoneMinus","BIconTelephoneMinusFill","BIconTelephoneOutbound","BIconTelephoneOutboundFill","BIconTelephonePlus","BIconTelephonePlusFill","BIconTelephoneX","BIconTelephoneXFill","BIconTerminal","BIconTerminalFill","BIconTextCenter","BIconTextIndentLeft","BIconTextIndentRight","BIconTextLeft","BIconTextParagraph","BIconTextRight","BIconTextarea","BIconTextareaResize","BIconTextareaT","BIconThermometer","BIconThermometerHalf","BIconThermometerHigh","BIconThermometerLow","BIconThermometerSnow","BIconThermometerSun","BIconThreeDots","BIconThreeDotsVertical","BIconToggle2Off","BIconToggle2On","BIconToggleOff","BIconToggleOn","BIconToggles","BIconToggles2","BIconTools","BIconTornado","BIconTranslate","BIconTrash","BIconTrash2","BIconTrash2Fill","BIconTrashFill","BIconTree","BIconTreeFill","BIconTriangle","BIconTriangleFill","BIconTriangleHalf","BIconTrophy","BIconTrophyFill","BIconTropicalStorm","BIconTruck","BIconTruckFlatbed","BIconTsunami","BIconTv","BIconTvFill","BIconTwitch","BIconTwitter","BIconType","BIconTypeBold","BIconTypeH1","BIconTypeH2","BIconTypeH3","BIconTypeItalic","BIconTypeStrikethrough","BIconTypeUnderline","BIconUiChecks","BIconUiChecksGrid","BIconUiRadios","BIconUiRadiosGrid","BIconUmbrella","BIconUmbrellaFill","BIconUnion","BIconUnlock","BIconUnlockFill","BIconUpc","BIconUpcScan","BIconUpload","BIconVectorPen","BIconViewList","BIconViewStacked","BIconVinyl","BIconVinylFill","BIconVoicemail","BIconVolumeDown","BIconVolumeDownFill","BIconVolumeMute","BIconVolumeMuteFill","BIconVolumeOff","BIconVolumeOffFill","BIconVolumeUp","BIconVolumeUpFill","BIconVr","BIconWallet","BIconWallet2","BIconWalletFill","BIconWatch","BIconWater","BIconWhatsapp","BIconWifi","BIconWifi1","BIconWifi2","BIconWifiOff","BIconWind","BIconWindow","BIconWindowDock","BIconWindowSidebar","BIconWrench","BIconX","BIconXCircle","BIconXCircleFill","BIconXDiamond","BIconXDiamondFill","BIconXLg","BIconXOctagon","BIconXOctagonFill","BIconXSquare","BIconXSquareFill","BIconYoutube","BIconZoomIn","BIconZoomOut"],l=(0,r.pluginFactoryNoConfig)({components:{BIcon:a.BIcon,BIconstack:i.BIconstack,BIconBlank:o.BIconBlank,BIconAlarm:o.BIconAlarm,BIconAlarmFill:o.BIconAlarmFill,BIconAlignBottom:o.BIconAlignBottom,BIconAlignCenter:o.BIconAlignCenter,BIconAlignEnd:o.BIconAlignEnd,BIconAlignMiddle:o.BIconAlignMiddle,BIconAlignStart:o.BIconAlignStart,BIconAlignTop:o.BIconAlignTop,BIconAlt:o.BIconAlt,BIconApp:o.BIconApp,BIconAppIndicator:o.BIconAppIndicator,BIconArchive:o.BIconArchive,BIconArchiveFill:o.BIconArchiveFill,BIconArrow90degDown:o.BIconArrow90degDown,BIconArrow90degLeft:o.BIconArrow90degLeft,BIconArrow90degRight:o.BIconArrow90degRight,BIconArrow90degUp:o.BIconArrow90degUp,BIconArrowBarDown:o.BIconArrowBarDown,BIconArrowBarLeft:o.BIconArrowBarLeft,BIconArrowBarRight:o.BIconArrowBarRight,BIconArrowBarUp:o.BIconArrowBarUp,BIconArrowClockwise:o.BIconArrowClockwise,BIconArrowCounterclockwise:o.BIconArrowCounterclockwise,BIconArrowDown:o.BIconArrowDown,BIconArrowDownCircle:o.BIconArrowDownCircle,BIconArrowDownCircleFill:o.BIconArrowDownCircleFill,BIconArrowDownLeft:o.BIconArrowDownLeft,BIconArrowDownLeftCircle:o.BIconArrowDownLeftCircle,BIconArrowDownLeftCircleFill:o.BIconArrowDownLeftCircleFill,BIconArrowDownLeftSquare:o.BIconArrowDownLeftSquare,BIconArrowDownLeftSquareFill:o.BIconArrowDownLeftSquareFill,BIconArrowDownRight:o.BIconArrowDownRight,BIconArrowDownRightCircle:o.BIconArrowDownRightCircle,BIconArrowDownRightCircleFill:o.BIconArrowDownRightCircleFill,BIconArrowDownRightSquare:o.BIconArrowDownRightSquare,BIconArrowDownRightSquareFill:o.BIconArrowDownRightSquareFill,BIconArrowDownShort:o.BIconArrowDownShort,BIconArrowDownSquare:o.BIconArrowDownSquare,BIconArrowDownSquareFill:o.BIconArrowDownSquareFill,BIconArrowDownUp:o.BIconArrowDownUp,BIconArrowLeft:o.BIconArrowLeft,BIconArrowLeftCircle:o.BIconArrowLeftCircle,BIconArrowLeftCircleFill:o.BIconArrowLeftCircleFill,BIconArrowLeftRight:o.BIconArrowLeftRight,BIconArrowLeftShort:o.BIconArrowLeftShort,BIconArrowLeftSquare:o.BIconArrowLeftSquare,BIconArrowLeftSquareFill:o.BIconArrowLeftSquareFill,BIconArrowRepeat:o.BIconArrowRepeat,BIconArrowReturnLeft:o.BIconArrowReturnLeft,BIconArrowReturnRight:o.BIconArrowReturnRight,BIconArrowRight:o.BIconArrowRight,BIconArrowRightCircle:o.BIconArrowRightCircle,BIconArrowRightCircleFill:o.BIconArrowRightCircleFill,BIconArrowRightShort:o.BIconArrowRightShort,BIconArrowRightSquare:o.BIconArrowRightSquare,BIconArrowRightSquareFill:o.BIconArrowRightSquareFill,BIconArrowUp:o.BIconArrowUp,BIconArrowUpCircle:o.BIconArrowUpCircle,BIconArrowUpCircleFill:o.BIconArrowUpCircleFill,BIconArrowUpLeft:o.BIconArrowUpLeft,BIconArrowUpLeftCircle:o.BIconArrowUpLeftCircle,BIconArrowUpLeftCircleFill:o.BIconArrowUpLeftCircleFill,BIconArrowUpLeftSquare:o.BIconArrowUpLeftSquare,BIconArrowUpLeftSquareFill:o.BIconArrowUpLeftSquareFill,BIconArrowUpRight:o.BIconArrowUpRight,BIconArrowUpRightCircle:o.BIconArrowUpRightCircle,BIconArrowUpRightCircleFill:o.BIconArrowUpRightCircleFill,BIconArrowUpRightSquare:o.BIconArrowUpRightSquare,BIconArrowUpRightSquareFill:o.BIconArrowUpRightSquareFill,BIconArrowUpShort:o.BIconArrowUpShort,BIconArrowUpSquare:o.BIconArrowUpSquare,BIconArrowUpSquareFill:o.BIconArrowUpSquareFill,BIconArrowsAngleContract:o.BIconArrowsAngleContract,BIconArrowsAngleExpand:o.BIconArrowsAngleExpand,BIconArrowsCollapse:o.BIconArrowsCollapse,BIconArrowsExpand:o.BIconArrowsExpand,BIconArrowsFullscreen:o.BIconArrowsFullscreen,BIconArrowsMove:o.BIconArrowsMove,BIconAspectRatio:o.BIconAspectRatio,BIconAspectRatioFill:o.BIconAspectRatioFill,BIconAsterisk:o.BIconAsterisk,BIconAt:o.BIconAt,BIconAward:o.BIconAward,BIconAwardFill:o.BIconAwardFill,BIconBack:o.BIconBack,BIconBackspace:o.BIconBackspace,BIconBackspaceFill:o.BIconBackspaceFill,BIconBackspaceReverse:o.BIconBackspaceReverse,BIconBackspaceReverseFill:o.BIconBackspaceReverseFill,BIconBadge3d:o.BIconBadge3d,BIconBadge3dFill:o.BIconBadge3dFill,BIconBadge4k:o.BIconBadge4k,BIconBadge4kFill:o.BIconBadge4kFill,BIconBadge8k:o.BIconBadge8k,BIconBadge8kFill:o.BIconBadge8kFill,BIconBadgeAd:o.BIconBadgeAd,BIconBadgeAdFill:o.BIconBadgeAdFill,BIconBadgeAr:o.BIconBadgeAr,BIconBadgeArFill:o.BIconBadgeArFill,BIconBadgeCc:o.BIconBadgeCc,BIconBadgeCcFill:o.BIconBadgeCcFill,BIconBadgeHd:o.BIconBadgeHd,BIconBadgeHdFill:o.BIconBadgeHdFill,BIconBadgeTm:o.BIconBadgeTm,BIconBadgeTmFill:o.BIconBadgeTmFill,BIconBadgeVo:o.BIconBadgeVo,BIconBadgeVoFill:o.BIconBadgeVoFill,BIconBadgeVr:o.BIconBadgeVr,BIconBadgeVrFill:o.BIconBadgeVrFill,BIconBadgeWc:o.BIconBadgeWc,BIconBadgeWcFill:o.BIconBadgeWcFill,BIconBag:o.BIconBag,BIconBagCheck:o.BIconBagCheck,BIconBagCheckFill:o.BIconBagCheckFill,BIconBagDash:o.BIconBagDash,BIconBagDashFill:o.BIconBagDashFill,BIconBagFill:o.BIconBagFill,BIconBagPlus:o.BIconBagPlus,BIconBagPlusFill:o.BIconBagPlusFill,BIconBagX:o.BIconBagX,BIconBagXFill:o.BIconBagXFill,BIconBank:o.BIconBank,BIconBank2:o.BIconBank2,BIconBarChart:o.BIconBarChart,BIconBarChartFill:o.BIconBarChartFill,BIconBarChartLine:o.BIconBarChartLine,BIconBarChartLineFill:o.BIconBarChartLineFill,BIconBarChartSteps:o.BIconBarChartSteps,BIconBasket:o.BIconBasket,BIconBasket2:o.BIconBasket2,BIconBasket2Fill:o.BIconBasket2Fill,BIconBasket3:o.BIconBasket3,BIconBasket3Fill:o.BIconBasket3Fill,BIconBasketFill:o.BIconBasketFill,BIconBattery:o.BIconBattery,BIconBatteryCharging:o.BIconBatteryCharging,BIconBatteryFull:o.BIconBatteryFull,BIconBatteryHalf:o.BIconBatteryHalf,BIconBell:o.BIconBell,BIconBellFill:o.BIconBellFill,BIconBellSlash:o.BIconBellSlash,BIconBellSlashFill:o.BIconBellSlashFill,BIconBezier:o.BIconBezier,BIconBezier2:o.BIconBezier2,BIconBicycle:o.BIconBicycle,BIconBinoculars:o.BIconBinoculars,BIconBinocularsFill:o.BIconBinocularsFill,BIconBlockquoteLeft:o.BIconBlockquoteLeft,BIconBlockquoteRight:o.BIconBlockquoteRight,BIconBook:o.BIconBook,BIconBookFill:o.BIconBookFill,BIconBookHalf:o.BIconBookHalf,BIconBookmark:o.BIconBookmark,BIconBookmarkCheck:o.BIconBookmarkCheck,BIconBookmarkCheckFill:o.BIconBookmarkCheckFill,BIconBookmarkDash:o.BIconBookmarkDash,BIconBookmarkDashFill:o.BIconBookmarkDashFill,BIconBookmarkFill:o.BIconBookmarkFill,BIconBookmarkHeart:o.BIconBookmarkHeart,BIconBookmarkHeartFill:o.BIconBookmarkHeartFill,BIconBookmarkPlus:o.BIconBookmarkPlus,BIconBookmarkPlusFill:o.BIconBookmarkPlusFill,BIconBookmarkStar:o.BIconBookmarkStar,BIconBookmarkStarFill:o.BIconBookmarkStarFill,BIconBookmarkX:o.BIconBookmarkX,BIconBookmarkXFill:o.BIconBookmarkXFill,BIconBookmarks:o.BIconBookmarks,BIconBookmarksFill:o.BIconBookmarksFill,BIconBookshelf:o.BIconBookshelf,BIconBootstrap:o.BIconBootstrap,BIconBootstrapFill:o.BIconBootstrapFill,BIconBootstrapReboot:o.BIconBootstrapReboot,BIconBorder:o.BIconBorder,BIconBorderAll:o.BIconBorderAll,BIconBorderBottom:o.BIconBorderBottom,BIconBorderCenter:o.BIconBorderCenter,BIconBorderInner:o.BIconBorderInner,BIconBorderLeft:o.BIconBorderLeft,BIconBorderMiddle:o.BIconBorderMiddle,BIconBorderOuter:o.BIconBorderOuter,BIconBorderRight:o.BIconBorderRight,BIconBorderStyle:o.BIconBorderStyle,BIconBorderTop:o.BIconBorderTop,BIconBorderWidth:o.BIconBorderWidth,BIconBoundingBox:o.BIconBoundingBox,BIconBoundingBoxCircles:o.BIconBoundingBoxCircles,BIconBox:o.BIconBox,BIconBoxArrowDown:o.BIconBoxArrowDown,BIconBoxArrowDownLeft:o.BIconBoxArrowDownLeft,BIconBoxArrowDownRight:o.BIconBoxArrowDownRight,BIconBoxArrowInDown:o.BIconBoxArrowInDown,BIconBoxArrowInDownLeft:o.BIconBoxArrowInDownLeft,BIconBoxArrowInDownRight:o.BIconBoxArrowInDownRight,BIconBoxArrowInLeft:o.BIconBoxArrowInLeft,BIconBoxArrowInRight:o.BIconBoxArrowInRight,BIconBoxArrowInUp:o.BIconBoxArrowInUp,BIconBoxArrowInUpLeft:o.BIconBoxArrowInUpLeft,BIconBoxArrowInUpRight:o.BIconBoxArrowInUpRight,BIconBoxArrowLeft:o.BIconBoxArrowLeft,BIconBoxArrowRight:o.BIconBoxArrowRight,BIconBoxArrowUp:o.BIconBoxArrowUp,BIconBoxArrowUpLeft:o.BIconBoxArrowUpLeft,BIconBoxArrowUpRight:o.BIconBoxArrowUpRight,BIconBoxSeam:o.BIconBoxSeam,BIconBraces:o.BIconBraces,BIconBricks:o.BIconBricks,BIconBriefcase:o.BIconBriefcase,BIconBriefcaseFill:o.BIconBriefcaseFill,BIconBrightnessAltHigh:o.BIconBrightnessAltHigh,BIconBrightnessAltHighFill:o.BIconBrightnessAltHighFill,BIconBrightnessAltLow:o.BIconBrightnessAltLow,BIconBrightnessAltLowFill:o.BIconBrightnessAltLowFill,BIconBrightnessHigh:o.BIconBrightnessHigh,BIconBrightnessHighFill:o.BIconBrightnessHighFill,BIconBrightnessLow:o.BIconBrightnessLow,BIconBrightnessLowFill:o.BIconBrightnessLowFill,BIconBroadcast:o.BIconBroadcast,BIconBroadcastPin:o.BIconBroadcastPin,BIconBrush:o.BIconBrush,BIconBrushFill:o.BIconBrushFill,BIconBucket:o.BIconBucket,BIconBucketFill:o.BIconBucketFill,BIconBug:o.BIconBug,BIconBugFill:o.BIconBugFill,BIconBuilding:o.BIconBuilding,BIconBullseye:o.BIconBullseye,BIconCalculator:o.BIconCalculator,BIconCalculatorFill:o.BIconCalculatorFill,BIconCalendar:o.BIconCalendar,BIconCalendar2:o.BIconCalendar2,BIconCalendar2Check:o.BIconCalendar2Check,BIconCalendar2CheckFill:o.BIconCalendar2CheckFill,BIconCalendar2Date:o.BIconCalendar2Date,BIconCalendar2DateFill:o.BIconCalendar2DateFill,BIconCalendar2Day:o.BIconCalendar2Day,BIconCalendar2DayFill:o.BIconCalendar2DayFill,BIconCalendar2Event:o.BIconCalendar2Event,BIconCalendar2EventFill:o.BIconCalendar2EventFill,BIconCalendar2Fill:o.BIconCalendar2Fill,BIconCalendar2Minus:o.BIconCalendar2Minus,BIconCalendar2MinusFill:o.BIconCalendar2MinusFill,BIconCalendar2Month:o.BIconCalendar2Month,BIconCalendar2MonthFill:o.BIconCalendar2MonthFill,BIconCalendar2Plus:o.BIconCalendar2Plus,BIconCalendar2PlusFill:o.BIconCalendar2PlusFill,BIconCalendar2Range:o.BIconCalendar2Range,BIconCalendar2RangeFill:o.BIconCalendar2RangeFill,BIconCalendar2Week:o.BIconCalendar2Week,BIconCalendar2WeekFill:o.BIconCalendar2WeekFill,BIconCalendar2X:o.BIconCalendar2X,BIconCalendar2XFill:o.BIconCalendar2XFill,BIconCalendar3:o.BIconCalendar3,BIconCalendar3Event:o.BIconCalendar3Event,BIconCalendar3EventFill:o.BIconCalendar3EventFill,BIconCalendar3Fill:o.BIconCalendar3Fill,BIconCalendar3Range:o.BIconCalendar3Range,BIconCalendar3RangeFill:o.BIconCalendar3RangeFill,BIconCalendar3Week:o.BIconCalendar3Week,BIconCalendar3WeekFill:o.BIconCalendar3WeekFill,BIconCalendar4:o.BIconCalendar4,BIconCalendar4Event:o.BIconCalendar4Event,BIconCalendar4Range:o.BIconCalendar4Range,BIconCalendar4Week:o.BIconCalendar4Week,BIconCalendarCheck:o.BIconCalendarCheck,BIconCalendarCheckFill:o.BIconCalendarCheckFill,BIconCalendarDate:o.BIconCalendarDate,BIconCalendarDateFill:o.BIconCalendarDateFill,BIconCalendarDay:o.BIconCalendarDay,BIconCalendarDayFill:o.BIconCalendarDayFill,BIconCalendarEvent:o.BIconCalendarEvent,BIconCalendarEventFill:o.BIconCalendarEventFill,BIconCalendarFill:o.BIconCalendarFill,BIconCalendarMinus:o.BIconCalendarMinus,BIconCalendarMinusFill:o.BIconCalendarMinusFill,BIconCalendarMonth:o.BIconCalendarMonth,BIconCalendarMonthFill:o.BIconCalendarMonthFill,BIconCalendarPlus:o.BIconCalendarPlus,BIconCalendarPlusFill:o.BIconCalendarPlusFill,BIconCalendarRange:o.BIconCalendarRange,BIconCalendarRangeFill:o.BIconCalendarRangeFill,BIconCalendarWeek:o.BIconCalendarWeek,BIconCalendarWeekFill:o.BIconCalendarWeekFill,BIconCalendarX:o.BIconCalendarX,BIconCalendarXFill:o.BIconCalendarXFill,BIconCamera:o.BIconCamera,BIconCamera2:o.BIconCamera2,BIconCameraFill:o.BIconCameraFill,BIconCameraReels:o.BIconCameraReels,BIconCameraReelsFill:o.BIconCameraReelsFill,BIconCameraVideo:o.BIconCameraVideo,BIconCameraVideoFill:o.BIconCameraVideoFill,BIconCameraVideoOff:o.BIconCameraVideoOff,BIconCameraVideoOffFill:o.BIconCameraVideoOffFill,BIconCapslock:o.BIconCapslock,BIconCapslockFill:o.BIconCapslockFill,BIconCardChecklist:o.BIconCardChecklist,BIconCardHeading:o.BIconCardHeading,BIconCardImage:o.BIconCardImage,BIconCardList:o.BIconCardList,BIconCardText:o.BIconCardText,BIconCaretDown:o.BIconCaretDown,BIconCaretDownFill:o.BIconCaretDownFill,BIconCaretDownSquare:o.BIconCaretDownSquare,BIconCaretDownSquareFill:o.BIconCaretDownSquareFill,BIconCaretLeft:o.BIconCaretLeft,BIconCaretLeftFill:o.BIconCaretLeftFill,BIconCaretLeftSquare:o.BIconCaretLeftSquare,BIconCaretLeftSquareFill:o.BIconCaretLeftSquareFill,BIconCaretRight:o.BIconCaretRight,BIconCaretRightFill:o.BIconCaretRightFill,BIconCaretRightSquare:o.BIconCaretRightSquare,BIconCaretRightSquareFill:o.BIconCaretRightSquareFill,BIconCaretUp:o.BIconCaretUp,BIconCaretUpFill:o.BIconCaretUpFill,BIconCaretUpSquare:o.BIconCaretUpSquare,BIconCaretUpSquareFill:o.BIconCaretUpSquareFill,BIconCart:o.BIconCart,BIconCart2:o.BIconCart2,BIconCart3:o.BIconCart3,BIconCart4:o.BIconCart4,BIconCartCheck:o.BIconCartCheck,BIconCartCheckFill:o.BIconCartCheckFill,BIconCartDash:o.BIconCartDash,BIconCartDashFill:o.BIconCartDashFill,BIconCartFill:o.BIconCartFill,BIconCartPlus:o.BIconCartPlus,BIconCartPlusFill:o.BIconCartPlusFill,BIconCartX:o.BIconCartX,BIconCartXFill:o.BIconCartXFill,BIconCash:o.BIconCash,BIconCashCoin:o.BIconCashCoin,BIconCashStack:o.BIconCashStack,BIconCast:o.BIconCast,BIconChat:o.BIconChat,BIconChatDots:o.BIconChatDots,BIconChatDotsFill:o.BIconChatDotsFill,BIconChatFill:o.BIconChatFill,BIconChatLeft:o.BIconChatLeft,BIconChatLeftDots:o.BIconChatLeftDots,BIconChatLeftDotsFill:o.BIconChatLeftDotsFill,BIconChatLeftFill:o.BIconChatLeftFill,BIconChatLeftQuote:o.BIconChatLeftQuote,BIconChatLeftQuoteFill:o.BIconChatLeftQuoteFill,BIconChatLeftText:o.BIconChatLeftText,BIconChatLeftTextFill:o.BIconChatLeftTextFill,BIconChatQuote:o.BIconChatQuote,BIconChatQuoteFill:o.BIconChatQuoteFill,BIconChatRight:o.BIconChatRight,BIconChatRightDots:o.BIconChatRightDots,BIconChatRightDotsFill:o.BIconChatRightDotsFill,BIconChatRightFill:o.BIconChatRightFill,BIconChatRightQuote:o.BIconChatRightQuote,BIconChatRightQuoteFill:o.BIconChatRightQuoteFill,BIconChatRightText:o.BIconChatRightText,BIconChatRightTextFill:o.BIconChatRightTextFill,BIconChatSquare:o.BIconChatSquare,BIconChatSquareDots:o.BIconChatSquareDots,BIconChatSquareDotsFill:o.BIconChatSquareDotsFill,BIconChatSquareFill:o.BIconChatSquareFill,BIconChatSquareQuote:o.BIconChatSquareQuote,BIconChatSquareQuoteFill:o.BIconChatSquareQuoteFill,BIconChatSquareText:o.BIconChatSquareText,BIconChatSquareTextFill:o.BIconChatSquareTextFill,BIconChatText:o.BIconChatText,BIconChatTextFill:o.BIconChatTextFill,BIconCheck:o.BIconCheck,BIconCheck2:o.BIconCheck2,BIconCheck2All:o.BIconCheck2All,BIconCheck2Circle:o.BIconCheck2Circle,BIconCheck2Square:o.BIconCheck2Square,BIconCheckAll:o.BIconCheckAll,BIconCheckCircle:o.BIconCheckCircle,BIconCheckCircleFill:o.BIconCheckCircleFill,BIconCheckLg:o.BIconCheckLg,BIconCheckSquare:o.BIconCheckSquare,BIconCheckSquareFill:o.BIconCheckSquareFill,BIconChevronBarContract:o.BIconChevronBarContract,BIconChevronBarDown:o.BIconChevronBarDown,BIconChevronBarExpand:o.BIconChevronBarExpand,BIconChevronBarLeft:o.BIconChevronBarLeft,BIconChevronBarRight:o.BIconChevronBarRight,BIconChevronBarUp:o.BIconChevronBarUp,BIconChevronCompactDown:o.BIconChevronCompactDown,BIconChevronCompactLeft:o.BIconChevronCompactLeft,BIconChevronCompactRight:o.BIconChevronCompactRight,BIconChevronCompactUp:o.BIconChevronCompactUp,BIconChevronContract:o.BIconChevronContract,BIconChevronDoubleDown:o.BIconChevronDoubleDown,BIconChevronDoubleLeft:o.BIconChevronDoubleLeft,BIconChevronDoubleRight:o.BIconChevronDoubleRight,BIconChevronDoubleUp:o.BIconChevronDoubleUp,BIconChevronDown:o.BIconChevronDown,BIconChevronExpand:o.BIconChevronExpand,BIconChevronLeft:o.BIconChevronLeft,BIconChevronRight:o.BIconChevronRight,BIconChevronUp:o.BIconChevronUp,BIconCircle:o.BIconCircle,BIconCircleFill:o.BIconCircleFill,BIconCircleHalf:o.BIconCircleHalf,BIconCircleSquare:o.BIconCircleSquare,BIconClipboard:o.BIconClipboard,BIconClipboardCheck:o.BIconClipboardCheck,BIconClipboardData:o.BIconClipboardData,BIconClipboardMinus:o.BIconClipboardMinus,BIconClipboardPlus:o.BIconClipboardPlus,BIconClipboardX:o.BIconClipboardX,BIconClock:o.BIconClock,BIconClockFill:o.BIconClockFill,BIconClockHistory:o.BIconClockHistory,BIconCloud:o.BIconCloud,BIconCloudArrowDown:o.BIconCloudArrowDown,BIconCloudArrowDownFill:o.BIconCloudArrowDownFill,BIconCloudArrowUp:o.BIconCloudArrowUp,BIconCloudArrowUpFill:o.BIconCloudArrowUpFill,BIconCloudCheck:o.BIconCloudCheck,BIconCloudCheckFill:o.BIconCloudCheckFill,BIconCloudDownload:o.BIconCloudDownload,BIconCloudDownloadFill:o.BIconCloudDownloadFill,BIconCloudDrizzle:o.BIconCloudDrizzle,BIconCloudDrizzleFill:o.BIconCloudDrizzleFill,BIconCloudFill:o.BIconCloudFill,BIconCloudFog:o.BIconCloudFog,BIconCloudFog2:o.BIconCloudFog2,BIconCloudFog2Fill:o.BIconCloudFog2Fill,BIconCloudFogFill:o.BIconCloudFogFill,BIconCloudHail:o.BIconCloudHail,BIconCloudHailFill:o.BIconCloudHailFill,BIconCloudHaze:o.BIconCloudHaze,BIconCloudHaze1:o.BIconCloudHaze1,BIconCloudHaze2Fill:o.BIconCloudHaze2Fill,BIconCloudHazeFill:o.BIconCloudHazeFill,BIconCloudLightning:o.BIconCloudLightning,BIconCloudLightningFill:o.BIconCloudLightningFill,BIconCloudLightningRain:o.BIconCloudLightningRain,BIconCloudLightningRainFill:o.BIconCloudLightningRainFill,BIconCloudMinus:o.BIconCloudMinus,BIconCloudMinusFill:o.BIconCloudMinusFill,BIconCloudMoon:o.BIconCloudMoon,BIconCloudMoonFill:o.BIconCloudMoonFill,BIconCloudPlus:o.BIconCloudPlus,BIconCloudPlusFill:o.BIconCloudPlusFill,BIconCloudRain:o.BIconCloudRain,BIconCloudRainFill:o.BIconCloudRainFill,BIconCloudRainHeavy:o.BIconCloudRainHeavy,BIconCloudRainHeavyFill:o.BIconCloudRainHeavyFill,BIconCloudSlash:o.BIconCloudSlash,BIconCloudSlashFill:o.BIconCloudSlashFill,BIconCloudSleet:o.BIconCloudSleet,BIconCloudSleetFill:o.BIconCloudSleetFill,BIconCloudSnow:o.BIconCloudSnow,BIconCloudSnowFill:o.BIconCloudSnowFill,BIconCloudSun:o.BIconCloudSun,BIconCloudSunFill:o.BIconCloudSunFill,BIconCloudUpload:o.BIconCloudUpload,BIconCloudUploadFill:o.BIconCloudUploadFill,BIconClouds:o.BIconClouds,BIconCloudsFill:o.BIconCloudsFill,BIconCloudy:o.BIconCloudy,BIconCloudyFill:o.BIconCloudyFill,BIconCode:o.BIconCode,BIconCodeSlash:o.BIconCodeSlash,BIconCodeSquare:o.BIconCodeSquare,BIconCoin:o.BIconCoin,BIconCollection:o.BIconCollection,BIconCollectionFill:o.BIconCollectionFill,BIconCollectionPlay:o.BIconCollectionPlay,BIconCollectionPlayFill:o.BIconCollectionPlayFill,BIconColumns:o.BIconColumns,BIconColumnsGap:o.BIconColumnsGap,BIconCommand:o.BIconCommand,BIconCompass:o.BIconCompass,BIconCompassFill:o.BIconCompassFill,BIconCone:o.BIconCone,BIconConeStriped:o.BIconConeStriped,BIconController:o.BIconController,BIconCpu:o.BIconCpu,BIconCpuFill:o.BIconCpuFill,BIconCreditCard:o.BIconCreditCard,BIconCreditCard2Back:o.BIconCreditCard2Back,BIconCreditCard2BackFill:o.BIconCreditCard2BackFill,BIconCreditCard2Front:o.BIconCreditCard2Front,BIconCreditCard2FrontFill:o.BIconCreditCard2FrontFill,BIconCreditCardFill:o.BIconCreditCardFill,BIconCrop:o.BIconCrop,BIconCup:o.BIconCup,BIconCupFill:o.BIconCupFill,BIconCupStraw:o.BIconCupStraw,BIconCurrencyBitcoin:o.BIconCurrencyBitcoin,BIconCurrencyDollar:o.BIconCurrencyDollar,BIconCurrencyEuro:o.BIconCurrencyEuro,BIconCurrencyExchange:o.BIconCurrencyExchange,BIconCurrencyPound:o.BIconCurrencyPound,BIconCurrencyYen:o.BIconCurrencyYen,BIconCursor:o.BIconCursor,BIconCursorFill:o.BIconCursorFill,BIconCursorText:o.BIconCursorText,BIconDash:o.BIconDash,BIconDashCircle:o.BIconDashCircle,BIconDashCircleDotted:o.BIconDashCircleDotted,BIconDashCircleFill:o.BIconDashCircleFill,BIconDashLg:o.BIconDashLg,BIconDashSquare:o.BIconDashSquare,BIconDashSquareDotted:o.BIconDashSquareDotted,BIconDashSquareFill:o.BIconDashSquareFill,BIconDiagram2:o.BIconDiagram2,BIconDiagram2Fill:o.BIconDiagram2Fill,BIconDiagram3:o.BIconDiagram3,BIconDiagram3Fill:o.BIconDiagram3Fill,BIconDiamond:o.BIconDiamond,BIconDiamondFill:o.BIconDiamondFill,BIconDiamondHalf:o.BIconDiamondHalf,BIconDice1:o.BIconDice1,BIconDice1Fill:o.BIconDice1Fill,BIconDice2:o.BIconDice2,BIconDice2Fill:o.BIconDice2Fill,BIconDice3:o.BIconDice3,BIconDice3Fill:o.BIconDice3Fill,BIconDice4:o.BIconDice4,BIconDice4Fill:o.BIconDice4Fill,BIconDice5:o.BIconDice5,BIconDice5Fill:o.BIconDice5Fill,BIconDice6:o.BIconDice6,BIconDice6Fill:o.BIconDice6Fill,BIconDisc:o.BIconDisc,BIconDiscFill:o.BIconDiscFill,BIconDiscord:o.BIconDiscord,BIconDisplay:o.BIconDisplay,BIconDisplayFill:o.BIconDisplayFill,BIconDistributeHorizontal:o.BIconDistributeHorizontal,BIconDistributeVertical:o.BIconDistributeVertical,BIconDoorClosed:o.BIconDoorClosed,BIconDoorClosedFill:o.BIconDoorClosedFill,BIconDoorOpen:o.BIconDoorOpen,BIconDoorOpenFill:o.BIconDoorOpenFill,BIconDot:o.BIconDot,BIconDownload:o.BIconDownload,BIconDroplet:o.BIconDroplet,BIconDropletFill:o.BIconDropletFill,BIconDropletHalf:o.BIconDropletHalf,BIconEarbuds:o.BIconEarbuds,BIconEasel:o.BIconEasel,BIconEaselFill:o.BIconEaselFill,BIconEgg:o.BIconEgg,BIconEggFill:o.BIconEggFill,BIconEggFried:o.BIconEggFried,BIconEject:o.BIconEject,BIconEjectFill:o.BIconEjectFill,BIconEmojiAngry:o.BIconEmojiAngry,BIconEmojiAngryFill:o.BIconEmojiAngryFill,BIconEmojiDizzy:o.BIconEmojiDizzy,BIconEmojiDizzyFill:o.BIconEmojiDizzyFill,BIconEmojiExpressionless:o.BIconEmojiExpressionless,BIconEmojiExpressionlessFill:o.BIconEmojiExpressionlessFill,BIconEmojiFrown:o.BIconEmojiFrown,BIconEmojiFrownFill:o.BIconEmojiFrownFill,BIconEmojiHeartEyes:o.BIconEmojiHeartEyes,BIconEmojiHeartEyesFill:o.BIconEmojiHeartEyesFill,BIconEmojiLaughing:o.BIconEmojiLaughing,BIconEmojiLaughingFill:o.BIconEmojiLaughingFill,BIconEmojiNeutral:o.BIconEmojiNeutral,BIconEmojiNeutralFill:o.BIconEmojiNeutralFill,BIconEmojiSmile:o.BIconEmojiSmile,BIconEmojiSmileFill:o.BIconEmojiSmileFill,BIconEmojiSmileUpsideDown:o.BIconEmojiSmileUpsideDown,BIconEmojiSmileUpsideDownFill:o.BIconEmojiSmileUpsideDownFill,BIconEmojiSunglasses:o.BIconEmojiSunglasses,BIconEmojiSunglassesFill:o.BIconEmojiSunglassesFill,BIconEmojiWink:o.BIconEmojiWink,BIconEmojiWinkFill:o.BIconEmojiWinkFill,BIconEnvelope:o.BIconEnvelope,BIconEnvelopeFill:o.BIconEnvelopeFill,BIconEnvelopeOpen:o.BIconEnvelopeOpen,BIconEnvelopeOpenFill:o.BIconEnvelopeOpenFill,BIconEraser:o.BIconEraser,BIconEraserFill:o.BIconEraserFill,BIconExclamation:o.BIconExclamation,BIconExclamationCircle:o.BIconExclamationCircle,BIconExclamationCircleFill:o.BIconExclamationCircleFill,BIconExclamationDiamond:o.BIconExclamationDiamond,BIconExclamationDiamondFill:o.BIconExclamationDiamondFill,BIconExclamationLg:o.BIconExclamationLg,BIconExclamationOctagon:o.BIconExclamationOctagon,BIconExclamationOctagonFill:o.BIconExclamationOctagonFill,BIconExclamationSquare:o.BIconExclamationSquare,BIconExclamationSquareFill:o.BIconExclamationSquareFill,BIconExclamationTriangle:o.BIconExclamationTriangle,BIconExclamationTriangleFill:o.BIconExclamationTriangleFill,BIconExclude:o.BIconExclude,BIconEye:o.BIconEye,BIconEyeFill:o.BIconEyeFill,BIconEyeSlash:o.BIconEyeSlash,BIconEyeSlashFill:o.BIconEyeSlashFill,BIconEyedropper:o.BIconEyedropper,BIconEyeglasses:o.BIconEyeglasses,BIconFacebook:o.BIconFacebook,BIconFile:o.BIconFile,BIconFileArrowDown:o.BIconFileArrowDown,BIconFileArrowDownFill:o.BIconFileArrowDownFill,BIconFileArrowUp:o.BIconFileArrowUp,BIconFileArrowUpFill:o.BIconFileArrowUpFill,BIconFileBarGraph:o.BIconFileBarGraph,BIconFileBarGraphFill:o.BIconFileBarGraphFill,BIconFileBinary:o.BIconFileBinary,BIconFileBinaryFill:o.BIconFileBinaryFill,BIconFileBreak:o.BIconFileBreak,BIconFileBreakFill:o.BIconFileBreakFill,BIconFileCheck:o.BIconFileCheck,BIconFileCheckFill:o.BIconFileCheckFill,BIconFileCode:o.BIconFileCode,BIconFileCodeFill:o.BIconFileCodeFill,BIconFileDiff:o.BIconFileDiff,BIconFileDiffFill:o.BIconFileDiffFill,BIconFileEarmark:o.BIconFileEarmark,BIconFileEarmarkArrowDown:o.BIconFileEarmarkArrowDown,BIconFileEarmarkArrowDownFill:o.BIconFileEarmarkArrowDownFill,BIconFileEarmarkArrowUp:o.BIconFileEarmarkArrowUp,BIconFileEarmarkArrowUpFill:o.BIconFileEarmarkArrowUpFill,BIconFileEarmarkBarGraph:o.BIconFileEarmarkBarGraph,BIconFileEarmarkBarGraphFill:o.BIconFileEarmarkBarGraphFill,BIconFileEarmarkBinary:o.BIconFileEarmarkBinary,BIconFileEarmarkBinaryFill:o.BIconFileEarmarkBinaryFill,BIconFileEarmarkBreak:o.BIconFileEarmarkBreak,BIconFileEarmarkBreakFill:o.BIconFileEarmarkBreakFill,BIconFileEarmarkCheck:o.BIconFileEarmarkCheck,BIconFileEarmarkCheckFill:o.BIconFileEarmarkCheckFill,BIconFileEarmarkCode:o.BIconFileEarmarkCode,BIconFileEarmarkCodeFill:o.BIconFileEarmarkCodeFill,BIconFileEarmarkDiff:o.BIconFileEarmarkDiff,BIconFileEarmarkDiffFill:o.BIconFileEarmarkDiffFill,BIconFileEarmarkEasel:o.BIconFileEarmarkEasel,BIconFileEarmarkEaselFill:o.BIconFileEarmarkEaselFill,BIconFileEarmarkExcel:o.BIconFileEarmarkExcel,BIconFileEarmarkExcelFill:o.BIconFileEarmarkExcelFill,BIconFileEarmarkFill:o.BIconFileEarmarkFill,BIconFileEarmarkFont:o.BIconFileEarmarkFont,BIconFileEarmarkFontFill:o.BIconFileEarmarkFontFill,BIconFileEarmarkImage:o.BIconFileEarmarkImage,BIconFileEarmarkImageFill:o.BIconFileEarmarkImageFill,BIconFileEarmarkLock:o.BIconFileEarmarkLock,BIconFileEarmarkLock2:o.BIconFileEarmarkLock2,BIconFileEarmarkLock2Fill:o.BIconFileEarmarkLock2Fill,BIconFileEarmarkLockFill:o.BIconFileEarmarkLockFill,BIconFileEarmarkMedical:o.BIconFileEarmarkMedical,BIconFileEarmarkMedicalFill:o.BIconFileEarmarkMedicalFill,BIconFileEarmarkMinus:o.BIconFileEarmarkMinus,BIconFileEarmarkMinusFill:o.BIconFileEarmarkMinusFill,BIconFileEarmarkMusic:o.BIconFileEarmarkMusic,BIconFileEarmarkMusicFill:o.BIconFileEarmarkMusicFill,BIconFileEarmarkPdf:o.BIconFileEarmarkPdf,BIconFileEarmarkPdfFill:o.BIconFileEarmarkPdfFill,BIconFileEarmarkPerson:o.BIconFileEarmarkPerson,BIconFileEarmarkPersonFill:o.BIconFileEarmarkPersonFill,BIconFileEarmarkPlay:o.BIconFileEarmarkPlay,BIconFileEarmarkPlayFill:o.BIconFileEarmarkPlayFill,BIconFileEarmarkPlus:o.BIconFileEarmarkPlus,BIconFileEarmarkPlusFill:o.BIconFileEarmarkPlusFill,BIconFileEarmarkPost:o.BIconFileEarmarkPost,BIconFileEarmarkPostFill:o.BIconFileEarmarkPostFill,BIconFileEarmarkPpt:o.BIconFileEarmarkPpt,BIconFileEarmarkPptFill:o.BIconFileEarmarkPptFill,BIconFileEarmarkRichtext:o.BIconFileEarmarkRichtext,BIconFileEarmarkRichtextFill:o.BIconFileEarmarkRichtextFill,BIconFileEarmarkRuled:o.BIconFileEarmarkRuled,BIconFileEarmarkRuledFill:o.BIconFileEarmarkRuledFill,BIconFileEarmarkSlides:o.BIconFileEarmarkSlides,BIconFileEarmarkSlidesFill:o.BIconFileEarmarkSlidesFill,BIconFileEarmarkSpreadsheet:o.BIconFileEarmarkSpreadsheet,BIconFileEarmarkSpreadsheetFill:o.BIconFileEarmarkSpreadsheetFill,BIconFileEarmarkText:o.BIconFileEarmarkText,BIconFileEarmarkTextFill:o.BIconFileEarmarkTextFill,BIconFileEarmarkWord:o.BIconFileEarmarkWord,BIconFileEarmarkWordFill:o.BIconFileEarmarkWordFill,BIconFileEarmarkX:o.BIconFileEarmarkX,BIconFileEarmarkXFill:o.BIconFileEarmarkXFill,BIconFileEarmarkZip:o.BIconFileEarmarkZip,BIconFileEarmarkZipFill:o.BIconFileEarmarkZipFill,BIconFileEasel:o.BIconFileEasel,BIconFileEaselFill:o.BIconFileEaselFill,BIconFileExcel:o.BIconFileExcel,BIconFileExcelFill:o.BIconFileExcelFill,BIconFileFill:o.BIconFileFill,BIconFileFont:o.BIconFileFont,BIconFileFontFill:o.BIconFileFontFill,BIconFileImage:o.BIconFileImage,BIconFileImageFill:o.BIconFileImageFill,BIconFileLock:o.BIconFileLock,BIconFileLock2:o.BIconFileLock2,BIconFileLock2Fill:o.BIconFileLock2Fill,BIconFileLockFill:o.BIconFileLockFill,BIconFileMedical:o.BIconFileMedical,BIconFileMedicalFill:o.BIconFileMedicalFill,BIconFileMinus:o.BIconFileMinus,BIconFileMinusFill:o.BIconFileMinusFill,BIconFileMusic:o.BIconFileMusic,BIconFileMusicFill:o.BIconFileMusicFill,BIconFilePdf:o.BIconFilePdf,BIconFilePdfFill:o.BIconFilePdfFill,BIconFilePerson:o.BIconFilePerson,BIconFilePersonFill:o.BIconFilePersonFill,BIconFilePlay:o.BIconFilePlay,BIconFilePlayFill:o.BIconFilePlayFill,BIconFilePlus:o.BIconFilePlus,BIconFilePlusFill:o.BIconFilePlusFill,BIconFilePost:o.BIconFilePost,BIconFilePostFill:o.BIconFilePostFill,BIconFilePpt:o.BIconFilePpt,BIconFilePptFill:o.BIconFilePptFill,BIconFileRichtext:o.BIconFileRichtext,BIconFileRichtextFill:o.BIconFileRichtextFill,BIconFileRuled:o.BIconFileRuled,BIconFileRuledFill:o.BIconFileRuledFill,BIconFileSlides:o.BIconFileSlides,BIconFileSlidesFill:o.BIconFileSlidesFill,BIconFileSpreadsheet:o.BIconFileSpreadsheet,BIconFileSpreadsheetFill:o.BIconFileSpreadsheetFill,BIconFileText:o.BIconFileText,BIconFileTextFill:o.BIconFileTextFill,BIconFileWord:o.BIconFileWord,BIconFileWordFill:o.BIconFileWordFill,BIconFileX:o.BIconFileX,BIconFileXFill:o.BIconFileXFill,BIconFileZip:o.BIconFileZip,BIconFileZipFill:o.BIconFileZipFill,BIconFiles:o.BIconFiles,BIconFilesAlt:o.BIconFilesAlt,BIconFilm:o.BIconFilm,BIconFilter:o.BIconFilter,BIconFilterCircle:o.BIconFilterCircle,BIconFilterCircleFill:o.BIconFilterCircleFill,BIconFilterLeft:o.BIconFilterLeft,BIconFilterRight:o.BIconFilterRight,BIconFilterSquare:o.BIconFilterSquare,BIconFilterSquareFill:o.BIconFilterSquareFill,BIconFlag:o.BIconFlag,BIconFlagFill:o.BIconFlagFill,BIconFlower1:o.BIconFlower1,BIconFlower2:o.BIconFlower2,BIconFlower3:o.BIconFlower3,BIconFolder:o.BIconFolder,BIconFolder2:o.BIconFolder2,BIconFolder2Open:o.BIconFolder2Open,BIconFolderCheck:o.BIconFolderCheck,BIconFolderFill:o.BIconFolderFill,BIconFolderMinus:o.BIconFolderMinus,BIconFolderPlus:o.BIconFolderPlus,BIconFolderSymlink:o.BIconFolderSymlink,BIconFolderSymlinkFill:o.BIconFolderSymlinkFill,BIconFolderX:o.BIconFolderX,BIconFonts:o.BIconFonts,BIconForward:o.BIconForward,BIconForwardFill:o.BIconForwardFill,BIconFront:o.BIconFront,BIconFullscreen:o.BIconFullscreen,BIconFullscreenExit:o.BIconFullscreenExit,BIconFunnel:o.BIconFunnel,BIconFunnelFill:o.BIconFunnelFill,BIconGear:o.BIconGear,BIconGearFill:o.BIconGearFill,BIconGearWide:o.BIconGearWide,BIconGearWideConnected:o.BIconGearWideConnected,BIconGem:o.BIconGem,BIconGenderAmbiguous:o.BIconGenderAmbiguous,BIconGenderFemale:o.BIconGenderFemale,BIconGenderMale:o.BIconGenderMale,BIconGenderTrans:o.BIconGenderTrans,BIconGeo:o.BIconGeo,BIconGeoAlt:o.BIconGeoAlt,BIconGeoAltFill:o.BIconGeoAltFill,BIconGeoFill:o.BIconGeoFill,BIconGift:o.BIconGift,BIconGiftFill:o.BIconGiftFill,BIconGithub:o.BIconGithub,BIconGlobe:o.BIconGlobe,BIconGlobe2:o.BIconGlobe2,BIconGoogle:o.BIconGoogle,BIconGraphDown:o.BIconGraphDown,BIconGraphUp:o.BIconGraphUp,BIconGrid:o.BIconGrid,BIconGrid1x2:o.BIconGrid1x2,BIconGrid1x2Fill:o.BIconGrid1x2Fill,BIconGrid3x2:o.BIconGrid3x2,BIconGrid3x2Gap:o.BIconGrid3x2Gap,BIconGrid3x2GapFill:o.BIconGrid3x2GapFill,BIconGrid3x3:o.BIconGrid3x3,BIconGrid3x3Gap:o.BIconGrid3x3Gap,BIconGrid3x3GapFill:o.BIconGrid3x3GapFill,BIconGridFill:o.BIconGridFill,BIconGripHorizontal:o.BIconGripHorizontal,BIconGripVertical:o.BIconGripVertical,BIconHammer:o.BIconHammer,BIconHandIndex:o.BIconHandIndex,BIconHandIndexFill:o.BIconHandIndexFill,BIconHandIndexThumb:o.BIconHandIndexThumb,BIconHandIndexThumbFill:o.BIconHandIndexThumbFill,BIconHandThumbsDown:o.BIconHandThumbsDown,BIconHandThumbsDownFill:o.BIconHandThumbsDownFill,BIconHandThumbsUp:o.BIconHandThumbsUp,BIconHandThumbsUpFill:o.BIconHandThumbsUpFill,BIconHandbag:o.BIconHandbag,BIconHandbagFill:o.BIconHandbagFill,BIconHash:o.BIconHash,BIconHdd:o.BIconHdd,BIconHddFill:o.BIconHddFill,BIconHddNetwork:o.BIconHddNetwork,BIconHddNetworkFill:o.BIconHddNetworkFill,BIconHddRack:o.BIconHddRack,BIconHddRackFill:o.BIconHddRackFill,BIconHddStack:o.BIconHddStack,BIconHddStackFill:o.BIconHddStackFill,BIconHeadphones:o.BIconHeadphones,BIconHeadset:o.BIconHeadset,BIconHeadsetVr:o.BIconHeadsetVr,BIconHeart:o.BIconHeart,BIconHeartFill:o.BIconHeartFill,BIconHeartHalf:o.BIconHeartHalf,BIconHeptagon:o.BIconHeptagon,BIconHeptagonFill:o.BIconHeptagonFill,BIconHeptagonHalf:o.BIconHeptagonHalf,BIconHexagon:o.BIconHexagon,BIconHexagonFill:o.BIconHexagonFill,BIconHexagonHalf:o.BIconHexagonHalf,BIconHourglass:o.BIconHourglass,BIconHourglassBottom:o.BIconHourglassBottom,BIconHourglassSplit:o.BIconHourglassSplit,BIconHourglassTop:o.BIconHourglassTop,BIconHouse:o.BIconHouse,BIconHouseDoor:o.BIconHouseDoor,BIconHouseDoorFill:o.BIconHouseDoorFill,BIconHouseFill:o.BIconHouseFill,BIconHr:o.BIconHr,BIconHurricane:o.BIconHurricane,BIconImage:o.BIconImage,BIconImageAlt:o.BIconImageAlt,BIconImageFill:o.BIconImageFill,BIconImages:o.BIconImages,BIconInbox:o.BIconInbox,BIconInboxFill:o.BIconInboxFill,BIconInboxes:o.BIconInboxes,BIconInboxesFill:o.BIconInboxesFill,BIconInfo:o.BIconInfo,BIconInfoCircle:o.BIconInfoCircle,BIconInfoCircleFill:o.BIconInfoCircleFill,BIconInfoLg:o.BIconInfoLg,BIconInfoSquare:o.BIconInfoSquare,BIconInfoSquareFill:o.BIconInfoSquareFill,BIconInputCursor:o.BIconInputCursor,BIconInputCursorText:o.BIconInputCursorText,BIconInstagram:o.BIconInstagram,BIconIntersect:o.BIconIntersect,BIconJournal:o.BIconJournal,BIconJournalAlbum:o.BIconJournalAlbum,BIconJournalArrowDown:o.BIconJournalArrowDown,BIconJournalArrowUp:o.BIconJournalArrowUp,BIconJournalBookmark:o.BIconJournalBookmark,BIconJournalBookmarkFill:o.BIconJournalBookmarkFill,BIconJournalCheck:o.BIconJournalCheck,BIconJournalCode:o.BIconJournalCode,BIconJournalMedical:o.BIconJournalMedical,BIconJournalMinus:o.BIconJournalMinus,BIconJournalPlus:o.BIconJournalPlus,BIconJournalRichtext:o.BIconJournalRichtext,BIconJournalText:o.BIconJournalText,BIconJournalX:o.BIconJournalX,BIconJournals:o.BIconJournals,BIconJoystick:o.BIconJoystick,BIconJustify:o.BIconJustify,BIconJustifyLeft:o.BIconJustifyLeft,BIconJustifyRight:o.BIconJustifyRight,BIconKanban:o.BIconKanban,BIconKanbanFill:o.BIconKanbanFill,BIconKey:o.BIconKey,BIconKeyFill:o.BIconKeyFill,BIconKeyboard:o.BIconKeyboard,BIconKeyboardFill:o.BIconKeyboardFill,BIconLadder:o.BIconLadder,BIconLamp:o.BIconLamp,BIconLampFill:o.BIconLampFill,BIconLaptop:o.BIconLaptop,BIconLaptopFill:o.BIconLaptopFill,BIconLayerBackward:o.BIconLayerBackward,BIconLayerForward:o.BIconLayerForward,BIconLayers:o.BIconLayers,BIconLayersFill:o.BIconLayersFill,BIconLayersHalf:o.BIconLayersHalf,BIconLayoutSidebar:o.BIconLayoutSidebar,BIconLayoutSidebarInset:o.BIconLayoutSidebarInset,BIconLayoutSidebarInsetReverse:o.BIconLayoutSidebarInsetReverse,BIconLayoutSidebarReverse:o.BIconLayoutSidebarReverse,BIconLayoutSplit:o.BIconLayoutSplit,BIconLayoutTextSidebar:o.BIconLayoutTextSidebar,BIconLayoutTextSidebarReverse:o.BIconLayoutTextSidebarReverse,BIconLayoutTextWindow:o.BIconLayoutTextWindow,BIconLayoutTextWindowReverse:o.BIconLayoutTextWindowReverse,BIconLayoutThreeColumns:o.BIconLayoutThreeColumns,BIconLayoutWtf:o.BIconLayoutWtf,BIconLifePreserver:o.BIconLifePreserver,BIconLightbulb:o.BIconLightbulb,BIconLightbulbFill:o.BIconLightbulbFill,BIconLightbulbOff:o.BIconLightbulbOff,BIconLightbulbOffFill:o.BIconLightbulbOffFill,BIconLightning:o.BIconLightning,BIconLightningCharge:o.BIconLightningCharge,BIconLightningChargeFill:o.BIconLightningChargeFill,BIconLightningFill:o.BIconLightningFill,BIconLink:o.BIconLink,BIconLink45deg:o.BIconLink45deg,BIconLinkedin:o.BIconLinkedin,BIconList:o.BIconList,BIconListCheck:o.BIconListCheck,BIconListNested:o.BIconListNested,BIconListOl:o.BIconListOl,BIconListStars:o.BIconListStars,BIconListTask:o.BIconListTask,BIconListUl:o.BIconListUl,BIconLock:o.BIconLock,BIconLockFill:o.BIconLockFill,BIconMailbox:o.BIconMailbox,BIconMailbox2:o.BIconMailbox2,BIconMap:o.BIconMap,BIconMapFill:o.BIconMapFill,BIconMarkdown:o.BIconMarkdown,BIconMarkdownFill:o.BIconMarkdownFill,BIconMask:o.BIconMask,BIconMastodon:o.BIconMastodon,BIconMegaphone:o.BIconMegaphone,BIconMegaphoneFill:o.BIconMegaphoneFill,BIconMenuApp:o.BIconMenuApp,BIconMenuAppFill:o.BIconMenuAppFill,BIconMenuButton:o.BIconMenuButton,BIconMenuButtonFill:o.BIconMenuButtonFill,BIconMenuButtonWide:o.BIconMenuButtonWide,BIconMenuButtonWideFill:o.BIconMenuButtonWideFill,BIconMenuDown:o.BIconMenuDown,BIconMenuUp:o.BIconMenuUp,BIconMessenger:o.BIconMessenger,BIconMic:o.BIconMic,BIconMicFill:o.BIconMicFill,BIconMicMute:o.BIconMicMute,BIconMicMuteFill:o.BIconMicMuteFill,BIconMinecart:o.BIconMinecart,BIconMinecartLoaded:o.BIconMinecartLoaded,BIconMoisture:o.BIconMoisture,BIconMoon:o.BIconMoon,BIconMoonFill:o.BIconMoonFill,BIconMoonStars:o.BIconMoonStars,BIconMoonStarsFill:o.BIconMoonStarsFill,BIconMouse:o.BIconMouse,BIconMouse2:o.BIconMouse2,BIconMouse2Fill:o.BIconMouse2Fill,BIconMouse3:o.BIconMouse3,BIconMouse3Fill:o.BIconMouse3Fill,BIconMouseFill:o.BIconMouseFill,BIconMusicNote:o.BIconMusicNote,BIconMusicNoteBeamed:o.BIconMusicNoteBeamed,BIconMusicNoteList:o.BIconMusicNoteList,BIconMusicPlayer:o.BIconMusicPlayer,BIconMusicPlayerFill:o.BIconMusicPlayerFill,BIconNewspaper:o.BIconNewspaper,BIconNodeMinus:o.BIconNodeMinus,BIconNodeMinusFill:o.BIconNodeMinusFill,BIconNodePlus:o.BIconNodePlus,BIconNodePlusFill:o.BIconNodePlusFill,BIconNut:o.BIconNut,BIconNutFill:o.BIconNutFill,BIconOctagon:o.BIconOctagon,BIconOctagonFill:o.BIconOctagonFill,BIconOctagonHalf:o.BIconOctagonHalf,BIconOption:o.BIconOption,BIconOutlet:o.BIconOutlet,BIconPaintBucket:o.BIconPaintBucket,BIconPalette:o.BIconPalette,BIconPalette2:o.BIconPalette2,BIconPaletteFill:o.BIconPaletteFill,BIconPaperclip:o.BIconPaperclip,BIconParagraph:o.BIconParagraph,BIconPatchCheck:o.BIconPatchCheck,BIconPatchCheckFill:o.BIconPatchCheckFill,BIconPatchExclamation:o.BIconPatchExclamation,BIconPatchExclamationFill:o.BIconPatchExclamationFill,BIconPatchMinus:o.BIconPatchMinus,BIconPatchMinusFill:o.BIconPatchMinusFill,BIconPatchPlus:o.BIconPatchPlus,BIconPatchPlusFill:o.BIconPatchPlusFill,BIconPatchQuestion:o.BIconPatchQuestion,BIconPatchQuestionFill:o.BIconPatchQuestionFill,BIconPause:o.BIconPause,BIconPauseBtn:o.BIconPauseBtn,BIconPauseBtnFill:o.BIconPauseBtnFill,BIconPauseCircle:o.BIconPauseCircle,BIconPauseCircleFill:o.BIconPauseCircleFill,BIconPauseFill:o.BIconPauseFill,BIconPeace:o.BIconPeace,BIconPeaceFill:o.BIconPeaceFill,BIconPen:o.BIconPen,BIconPenFill:o.BIconPenFill,BIconPencil:o.BIconPencil,BIconPencilFill:o.BIconPencilFill,BIconPencilSquare:o.BIconPencilSquare,BIconPentagon:o.BIconPentagon,BIconPentagonFill:o.BIconPentagonFill,BIconPentagonHalf:o.BIconPentagonHalf,BIconPeople:o.BIconPeople,BIconPeopleFill:o.BIconPeopleFill,BIconPercent:o.BIconPercent,BIconPerson:o.BIconPerson,BIconPersonBadge:o.BIconPersonBadge,BIconPersonBadgeFill:o.BIconPersonBadgeFill,BIconPersonBoundingBox:o.BIconPersonBoundingBox,BIconPersonCheck:o.BIconPersonCheck,BIconPersonCheckFill:o.BIconPersonCheckFill,BIconPersonCircle:o.BIconPersonCircle,BIconPersonDash:o.BIconPersonDash,BIconPersonDashFill:o.BIconPersonDashFill,BIconPersonFill:o.BIconPersonFill,BIconPersonLinesFill:o.BIconPersonLinesFill,BIconPersonPlus:o.BIconPersonPlus,BIconPersonPlusFill:o.BIconPersonPlusFill,BIconPersonSquare:o.BIconPersonSquare,BIconPersonX:o.BIconPersonX,BIconPersonXFill:o.BIconPersonXFill,BIconPhone:o.BIconPhone,BIconPhoneFill:o.BIconPhoneFill,BIconPhoneLandscape:o.BIconPhoneLandscape,BIconPhoneLandscapeFill:o.BIconPhoneLandscapeFill,BIconPhoneVibrate:o.BIconPhoneVibrate,BIconPhoneVibrateFill:o.BIconPhoneVibrateFill,BIconPieChart:o.BIconPieChart,BIconPieChartFill:o.BIconPieChartFill,BIconPiggyBank:o.BIconPiggyBank,BIconPiggyBankFill:o.BIconPiggyBankFill,BIconPin:o.BIconPin,BIconPinAngle:o.BIconPinAngle,BIconPinAngleFill:o.BIconPinAngleFill,BIconPinFill:o.BIconPinFill,BIconPinMap:o.BIconPinMap,BIconPinMapFill:o.BIconPinMapFill,BIconPip:o.BIconPip,BIconPipFill:o.BIconPipFill,BIconPlay:o.BIconPlay,BIconPlayBtn:o.BIconPlayBtn,BIconPlayBtnFill:o.BIconPlayBtnFill,BIconPlayCircle:o.BIconPlayCircle,BIconPlayCircleFill:o.BIconPlayCircleFill,BIconPlayFill:o.BIconPlayFill,BIconPlug:o.BIconPlug,BIconPlugFill:o.BIconPlugFill,BIconPlus:o.BIconPlus,BIconPlusCircle:o.BIconPlusCircle,BIconPlusCircleDotted:o.BIconPlusCircleDotted,BIconPlusCircleFill:o.BIconPlusCircleFill,BIconPlusLg:o.BIconPlusLg,BIconPlusSquare:o.BIconPlusSquare,BIconPlusSquareDotted:o.BIconPlusSquareDotted,BIconPlusSquareFill:o.BIconPlusSquareFill,BIconPower:o.BIconPower,BIconPrinter:o.BIconPrinter,BIconPrinterFill:o.BIconPrinterFill,BIconPuzzle:o.BIconPuzzle,BIconPuzzleFill:o.BIconPuzzleFill,BIconQuestion:o.BIconQuestion,BIconQuestionCircle:o.BIconQuestionCircle,BIconQuestionCircleFill:o.BIconQuestionCircleFill,BIconQuestionDiamond:o.BIconQuestionDiamond,BIconQuestionDiamondFill:o.BIconQuestionDiamondFill,BIconQuestionLg:o.BIconQuestionLg,BIconQuestionOctagon:o.BIconQuestionOctagon,BIconQuestionOctagonFill:o.BIconQuestionOctagonFill,BIconQuestionSquare:o.BIconQuestionSquare,BIconQuestionSquareFill:o.BIconQuestionSquareFill,BIconRainbow:o.BIconRainbow,BIconReceipt:o.BIconReceipt,BIconReceiptCutoff:o.BIconReceiptCutoff,BIconReception0:o.BIconReception0,BIconReception1:o.BIconReception1,BIconReception2:o.BIconReception2,BIconReception3:o.BIconReception3,BIconReception4:o.BIconReception4,BIconRecord:o.BIconRecord,BIconRecord2:o.BIconRecord2,BIconRecord2Fill:o.BIconRecord2Fill,BIconRecordBtn:o.BIconRecordBtn,BIconRecordBtnFill:o.BIconRecordBtnFill,BIconRecordCircle:o.BIconRecordCircle,BIconRecordCircleFill:o.BIconRecordCircleFill,BIconRecordFill:o.BIconRecordFill,BIconRecycle:o.BIconRecycle,BIconReddit:o.BIconReddit,BIconReply:o.BIconReply,BIconReplyAll:o.BIconReplyAll,BIconReplyAllFill:o.BIconReplyAllFill,BIconReplyFill:o.BIconReplyFill,BIconRss:o.BIconRss,BIconRssFill:o.BIconRssFill,BIconRulers:o.BIconRulers,BIconSafe:o.BIconSafe,BIconSafe2:o.BIconSafe2,BIconSafe2Fill:o.BIconSafe2Fill,BIconSafeFill:o.BIconSafeFill,BIconSave:o.BIconSave,BIconSave2:o.BIconSave2,BIconSave2Fill:o.BIconSave2Fill,BIconSaveFill:o.BIconSaveFill,BIconScissors:o.BIconScissors,BIconScrewdriver:o.BIconScrewdriver,BIconSdCard:o.BIconSdCard,BIconSdCardFill:o.BIconSdCardFill,BIconSearch:o.BIconSearch,BIconSegmentedNav:o.BIconSegmentedNav,BIconServer:o.BIconServer,BIconShare:o.BIconShare,BIconShareFill:o.BIconShareFill,BIconShield:o.BIconShield,BIconShieldCheck:o.BIconShieldCheck,BIconShieldExclamation:o.BIconShieldExclamation,BIconShieldFill:o.BIconShieldFill,BIconShieldFillCheck:o.BIconShieldFillCheck,BIconShieldFillExclamation:o.BIconShieldFillExclamation,BIconShieldFillMinus:o.BIconShieldFillMinus,BIconShieldFillPlus:o.BIconShieldFillPlus,BIconShieldFillX:o.BIconShieldFillX,BIconShieldLock:o.BIconShieldLock,BIconShieldLockFill:o.BIconShieldLockFill,BIconShieldMinus:o.BIconShieldMinus,BIconShieldPlus:o.BIconShieldPlus,BIconShieldShaded:o.BIconShieldShaded,BIconShieldSlash:o.BIconShieldSlash,BIconShieldSlashFill:o.BIconShieldSlashFill,BIconShieldX:o.BIconShieldX,BIconShift:o.BIconShift,BIconShiftFill:o.BIconShiftFill,BIconShop:o.BIconShop,BIconShopWindow:o.BIconShopWindow,BIconShuffle:o.BIconShuffle,BIconSignpost:o.BIconSignpost,BIconSignpost2:o.BIconSignpost2,BIconSignpost2Fill:o.BIconSignpost2Fill,BIconSignpostFill:o.BIconSignpostFill,BIconSignpostSplit:o.BIconSignpostSplit,BIconSignpostSplitFill:o.BIconSignpostSplitFill,BIconSim:o.BIconSim,BIconSimFill:o.BIconSimFill,BIconSkipBackward:o.BIconSkipBackward,BIconSkipBackwardBtn:o.BIconSkipBackwardBtn,BIconSkipBackwardBtnFill:o.BIconSkipBackwardBtnFill,BIconSkipBackwardCircle:o.BIconSkipBackwardCircle,BIconSkipBackwardCircleFill:o.BIconSkipBackwardCircleFill,BIconSkipBackwardFill:o.BIconSkipBackwardFill,BIconSkipEnd:o.BIconSkipEnd,BIconSkipEndBtn:o.BIconSkipEndBtn,BIconSkipEndBtnFill:o.BIconSkipEndBtnFill,BIconSkipEndCircle:o.BIconSkipEndCircle,BIconSkipEndCircleFill:o.BIconSkipEndCircleFill,BIconSkipEndFill:o.BIconSkipEndFill,BIconSkipForward:o.BIconSkipForward,BIconSkipForwardBtn:o.BIconSkipForwardBtn,BIconSkipForwardBtnFill:o.BIconSkipForwardBtnFill,BIconSkipForwardCircle:o.BIconSkipForwardCircle,BIconSkipForwardCircleFill:o.BIconSkipForwardCircleFill,BIconSkipForwardFill:o.BIconSkipForwardFill,BIconSkipStart:o.BIconSkipStart,BIconSkipStartBtn:o.BIconSkipStartBtn,BIconSkipStartBtnFill:o.BIconSkipStartBtnFill,BIconSkipStartCircle:o.BIconSkipStartCircle,BIconSkipStartCircleFill:o.BIconSkipStartCircleFill,BIconSkipStartFill:o.BIconSkipStartFill,BIconSkype:o.BIconSkype,BIconSlack:o.BIconSlack,BIconSlash:o.BIconSlash,BIconSlashCircle:o.BIconSlashCircle,BIconSlashCircleFill:o.BIconSlashCircleFill,BIconSlashLg:o.BIconSlashLg,BIconSlashSquare:o.BIconSlashSquare,BIconSlashSquareFill:o.BIconSlashSquareFill,BIconSliders:o.BIconSliders,BIconSmartwatch:o.BIconSmartwatch,BIconSnow:o.BIconSnow,BIconSnow2:o.BIconSnow2,BIconSnow3:o.BIconSnow3,BIconSortAlphaDown:o.BIconSortAlphaDown,BIconSortAlphaDownAlt:o.BIconSortAlphaDownAlt,BIconSortAlphaUp:o.BIconSortAlphaUp,BIconSortAlphaUpAlt:o.BIconSortAlphaUpAlt,BIconSortDown:o.BIconSortDown,BIconSortDownAlt:o.BIconSortDownAlt,BIconSortNumericDown:o.BIconSortNumericDown,BIconSortNumericDownAlt:o.BIconSortNumericDownAlt,BIconSortNumericUp:o.BIconSortNumericUp,BIconSortNumericUpAlt:o.BIconSortNumericUpAlt,BIconSortUp:o.BIconSortUp,BIconSortUpAlt:o.BIconSortUpAlt,BIconSoundwave:o.BIconSoundwave,BIconSpeaker:o.BIconSpeaker,BIconSpeakerFill:o.BIconSpeakerFill,BIconSpeedometer:o.BIconSpeedometer,BIconSpeedometer2:o.BIconSpeedometer2,BIconSpellcheck:o.BIconSpellcheck,BIconSquare:o.BIconSquare,BIconSquareFill:o.BIconSquareFill,BIconSquareHalf:o.BIconSquareHalf,BIconStack:o.BIconStack,BIconStar:o.BIconStar,BIconStarFill:o.BIconStarFill,BIconStarHalf:o.BIconStarHalf,BIconStars:o.BIconStars,BIconStickies:o.BIconStickies,BIconStickiesFill:o.BIconStickiesFill,BIconSticky:o.BIconSticky,BIconStickyFill:o.BIconStickyFill,BIconStop:o.BIconStop,BIconStopBtn:o.BIconStopBtn,BIconStopBtnFill:o.BIconStopBtnFill,BIconStopCircle:o.BIconStopCircle,BIconStopCircleFill:o.BIconStopCircleFill,BIconStopFill:o.BIconStopFill,BIconStoplights:o.BIconStoplights,BIconStoplightsFill:o.BIconStoplightsFill,BIconStopwatch:o.BIconStopwatch,BIconStopwatchFill:o.BIconStopwatchFill,BIconSubtract:o.BIconSubtract,BIconSuitClub:o.BIconSuitClub,BIconSuitClubFill:o.BIconSuitClubFill,BIconSuitDiamond:o.BIconSuitDiamond,BIconSuitDiamondFill:o.BIconSuitDiamondFill,BIconSuitHeart:o.BIconSuitHeart,BIconSuitHeartFill:o.BIconSuitHeartFill,BIconSuitSpade:o.BIconSuitSpade,BIconSuitSpadeFill:o.BIconSuitSpadeFill,BIconSun:o.BIconSun,BIconSunFill:o.BIconSunFill,BIconSunglasses:o.BIconSunglasses,BIconSunrise:o.BIconSunrise,BIconSunriseFill:o.BIconSunriseFill,BIconSunset:o.BIconSunset,BIconSunsetFill:o.BIconSunsetFill,BIconSymmetryHorizontal:o.BIconSymmetryHorizontal,BIconSymmetryVertical:o.BIconSymmetryVertical,BIconTable:o.BIconTable,BIconTablet:o.BIconTablet,BIconTabletFill:o.BIconTabletFill,BIconTabletLandscape:o.BIconTabletLandscape,BIconTabletLandscapeFill:o.BIconTabletLandscapeFill,BIconTag:o.BIconTag,BIconTagFill:o.BIconTagFill,BIconTags:o.BIconTags,BIconTagsFill:o.BIconTagsFill,BIconTelegram:o.BIconTelegram,BIconTelephone:o.BIconTelephone,BIconTelephoneFill:o.BIconTelephoneFill,BIconTelephoneForward:o.BIconTelephoneForward,BIconTelephoneForwardFill:o.BIconTelephoneForwardFill,BIconTelephoneInbound:o.BIconTelephoneInbound,BIconTelephoneInboundFill:o.BIconTelephoneInboundFill,BIconTelephoneMinus:o.BIconTelephoneMinus,BIconTelephoneMinusFill:o.BIconTelephoneMinusFill,BIconTelephoneOutbound:o.BIconTelephoneOutbound,BIconTelephoneOutboundFill:o.BIconTelephoneOutboundFill,BIconTelephonePlus:o.BIconTelephonePlus,BIconTelephonePlusFill:o.BIconTelephonePlusFill,BIconTelephoneX:o.BIconTelephoneX,BIconTelephoneXFill:o.BIconTelephoneXFill,BIconTerminal:o.BIconTerminal,BIconTerminalFill:o.BIconTerminalFill,BIconTextCenter:o.BIconTextCenter,BIconTextIndentLeft:o.BIconTextIndentLeft,BIconTextIndentRight:o.BIconTextIndentRight,BIconTextLeft:o.BIconTextLeft,BIconTextParagraph:o.BIconTextParagraph,BIconTextRight:o.BIconTextRight,BIconTextarea:o.BIconTextarea,BIconTextareaResize:o.BIconTextareaResize,BIconTextareaT:o.BIconTextareaT,BIconThermometer:o.BIconThermometer,BIconThermometerHalf:o.BIconThermometerHalf,BIconThermometerHigh:o.BIconThermometerHigh,BIconThermometerLow:o.BIconThermometerLow,BIconThermometerSnow:o.BIconThermometerSnow,BIconThermometerSun:o.BIconThermometerSun,BIconThreeDots:o.BIconThreeDots,BIconThreeDotsVertical:o.BIconThreeDotsVertical,BIconToggle2Off:o.BIconToggle2Off,BIconToggle2On:o.BIconToggle2On,BIconToggleOff:o.BIconToggleOff,BIconToggleOn:o.BIconToggleOn,BIconToggles:o.BIconToggles,BIconToggles2:o.BIconToggles2,BIconTools:o.BIconTools,BIconTornado:o.BIconTornado,BIconTranslate:o.BIconTranslate,BIconTrash:o.BIconTrash,BIconTrash2:o.BIconTrash2,BIconTrash2Fill:o.BIconTrash2Fill,BIconTrashFill:o.BIconTrashFill,BIconTree:o.BIconTree,BIconTreeFill:o.BIconTreeFill,BIconTriangle:o.BIconTriangle,BIconTriangleFill:o.BIconTriangleFill,BIconTriangleHalf:o.BIconTriangleHalf,BIconTrophy:o.BIconTrophy,BIconTrophyFill:o.BIconTrophyFill,BIconTropicalStorm:o.BIconTropicalStorm,BIconTruck:o.BIconTruck,BIconTruckFlatbed:o.BIconTruckFlatbed,BIconTsunami:o.BIconTsunami,BIconTv:o.BIconTv,BIconTvFill:o.BIconTvFill,BIconTwitch:o.BIconTwitch,BIconTwitter:o.BIconTwitter,BIconType:o.BIconType,BIconTypeBold:o.BIconTypeBold,BIconTypeH1:o.BIconTypeH1,BIconTypeH2:o.BIconTypeH2,BIconTypeH3:o.BIconTypeH3,BIconTypeItalic:o.BIconTypeItalic,BIconTypeStrikethrough:o.BIconTypeStrikethrough,BIconTypeUnderline:o.BIconTypeUnderline,BIconUiChecks:o.BIconUiChecks,BIconUiChecksGrid:o.BIconUiChecksGrid,BIconUiRadios:o.BIconUiRadios,BIconUiRadiosGrid:o.BIconUiRadiosGrid,BIconUmbrella:o.BIconUmbrella,BIconUmbrellaFill:o.BIconUmbrellaFill,BIconUnion:o.BIconUnion,BIconUnlock:o.BIconUnlock,BIconUnlockFill:o.BIconUnlockFill,BIconUpc:o.BIconUpc,BIconUpcScan:o.BIconUpcScan,BIconUpload:o.BIconUpload,BIconVectorPen:o.BIconVectorPen,BIconViewList:o.BIconViewList,BIconViewStacked:o.BIconViewStacked,BIconVinyl:o.BIconVinyl,BIconVinylFill:o.BIconVinylFill,BIconVoicemail:o.BIconVoicemail,BIconVolumeDown:o.BIconVolumeDown,BIconVolumeDownFill:o.BIconVolumeDownFill,BIconVolumeMute:o.BIconVolumeMute,BIconVolumeMuteFill:o.BIconVolumeMuteFill,BIconVolumeOff:o.BIconVolumeOff,BIconVolumeOffFill:o.BIconVolumeOffFill,BIconVolumeUp:o.BIconVolumeUp,BIconVolumeUpFill:o.BIconVolumeUpFill,BIconVr:o.BIconVr,BIconWallet:o.BIconWallet,BIconWallet2:o.BIconWallet2,BIconWalletFill:o.BIconWalletFill,BIconWatch:o.BIconWatch,BIconWater:o.BIconWater,BIconWhatsapp:o.BIconWhatsapp,BIconWifi:o.BIconWifi,BIconWifi1:o.BIconWifi1,BIconWifi2:o.BIconWifi2,BIconWifiOff:o.BIconWifiOff,BIconWind:o.BIconWind,BIconWindow:o.BIconWindow,BIconWindowDock:o.BIconWindowDock,BIconWindowSidebar:o.BIconWindowSidebar,BIconWrench:o.BIconWrench,BIconX:o.BIconX,BIconXCircle:o.BIconXCircle,BIconXCircleFill:o.BIconXCircleFill,BIconXDiamond:o.BIconXDiamond,BIconXDiamondFill:o.BIconXDiamondFill,BIconXLg:o.BIconXLg,BIconXOctagon:o.BIconXOctagon,BIconXOctagonFill:o.BIconXOctagonFill,BIconXSquare:o.BIconXSquare,BIconXSquareFill:o.BIconXSquareFill,BIconYoutube:o.BIconYoutube,BIconZoomIn:o.BIconZoomIn,BIconZoomOut:o.BIconZoomOut}}),c=(0,r.pluginFactoryNoConfig)({plugins:{IconsPlugin:l}},{NAME:"BootstrapVueIcons"})},58285:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BlobReader:()=>l.BlobReader,BlobWriter:()=>l.BlobWriter,Data64URIReader:()=>l.Data64URIReader,Data64URIWriter:()=>l.Data64URIWriter,ERR_BAD_FORMAT:()=>l.ERR_BAD_FORMAT,ERR_CENTRAL_DIRECTORY_NOT_FOUND:()=>l.ERR_CENTRAL_DIRECTORY_NOT_FOUND,ERR_DUPLICATED_NAME:()=>l.ERR_DUPLICATED_NAME,ERR_ENCRYPTED:()=>l.ERR_ENCRYPTED,ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND:()=>l.ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND,ERR_EOCDR_NOT_FOUND:()=>l.ERR_EOCDR_NOT_FOUND,ERR_EXTRAFIELD_ZIP64_NOT_FOUND:()=>l.ERR_EXTRAFIELD_ZIP64_NOT_FOUND,ERR_HTTP_RANGE:()=>l.ERR_HTTP_RANGE,ERR_INVALID_COMMENT:()=>l.ERR_INVALID_COMMENT,ERR_INVALID_ENCRYPTION_STRENGTH:()=>l.ERR_INVALID_ENCRYPTION_STRENGTH,ERR_INVALID_ENTRY_COMMENT:()=>l.ERR_INVALID_ENTRY_COMMENT,ERR_INVALID_ENTRY_NAME:()=>l.ERR_INVALID_ENTRY_NAME,ERR_INVALID_EXTRAFIELD_DATA:()=>l.ERR_INVALID_EXTRAFIELD_DATA,ERR_INVALID_EXTRAFIELD_TYPE:()=>l.ERR_INVALID_EXTRAFIELD_TYPE,ERR_INVALID_PASSWORD:()=>l.ERR_INVALID_PASSWORD,ERR_INVALID_SIGNATURE:()=>l.ERR_INVALID_SIGNATURE,ERR_INVALID_VERSION:()=>l.ERR_INVALID_VERSION,ERR_ITERATOR_COMPLETED_TOO_SOON:()=>l.ERR_ITERATOR_COMPLETED_TOO_SOON,ERR_LOCAL_FILE_HEADER_NOT_FOUND:()=>l.ERR_LOCAL_FILE_HEADER_NOT_FOUND,ERR_SPLIT_ZIP_FILE:()=>l.ERR_SPLIT_ZIP_FILE,ERR_UNDEFINED_UNCOMPRESSED_SIZE:()=>l.ERR_UNDEFINED_UNCOMPRESSED_SIZE,ERR_UNSUPPORTED_COMPRESSION:()=>l.ERR_UNSUPPORTED_COMPRESSION,ERR_UNSUPPORTED_ENCRYPTION:()=>l.ERR_UNSUPPORTED_ENCRYPTION,ERR_UNSUPPORTED_FORMAT:()=>l.ERR_UNSUPPORTED_FORMAT,ERR_WRITER_NOT_INITIALIZED:()=>l.ERR_WRITER_NOT_INITIALIZED,HttpRangeReader:()=>l.HttpRangeReader,HttpReader:()=>l.HttpReader,Reader:()=>l.Reader,SplitDataReader:()=>l.SplitDataReader,SplitDataWriter:()=>l.SplitDataWriter,SplitZipReader:()=>l.SplitZipReader,SplitZipWriter:()=>l.SplitZipWriter,TextReader:()=>l.TextReader,TextWriter:()=>l.TextWriter,Uint8ArrayReader:()=>l.Uint8ArrayReader,Uint8ArrayWriter:()=>l.Uint8ArrayWriter,Writer:()=>l.Writer,ZipReader:()=>l.ZipReader,ZipReaderStream:()=>l.ZipReaderStream,ZipWriter:()=>l.ZipWriter,ZipWriterStream:()=>l.ZipWriterStream,configure:()=>l.configure,fs:()=>l.fs,getMimeType:()=>o.getMimeType,initShimAsyncCodec:()=>l.initShimAsyncCodec,terminateWorkers:()=>s.terminateWorkers});var r=n(70336),a=n(34620),i=n(41535),o=n(17669),s=n(37282),l=n(95048);(0,i.configure)({Deflate:r.Deflate,Inflate:a.Inflate})},58376:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VBTooltip:()=>D});var r=n(49800),a=n(85493),i=n(87013),o=n(17079),s=n(2448),l=n(81586),c=n(19673),u=n(58494),d=n(59313),h=n(46710),f=n(60277),p=n(89821),m=n(91671),g=n(90858),v=n(76873);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{identity:()=>r});var r=function(e){return e}},58526:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(76798),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,'/*!\n * Cropper.js v1.6.2\n * https://fengyuanchen.github.io/cropperjs\n *\n * Copyright 2015-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2024-04-21T07:43:02.731Z\n */.cropper-container{-webkit-touch-callout:none;direction:ltr;font-size:0;line-height:0;position:relative;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}',""]);const i=a},58553:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormInput:()=>r.BFormInput,FormInputPlugin:()=>a});var r=n(11442),a=(0,n(96266).pluginFactory)({components:{BFormInput:r.BFormInput,BInput:r.BFormInput}})},58676:function(e,t,n){!function(e){"use strict";e.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(95093))},58722:(e,t,n)=>{"use strict";n.r(t),n.d(t,{mergeData:()=>s});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{function n(e,t){var r={name:e.name,path:e.path,hash:e.hash,query:e.query,params:e.params,fullPath:e.fullPath,meta:e.meta};return t&&(r.from=n(t)),Object.freeze(r)}t.sync=function(e,t,r){var a=(r||{}).moduleName||"route";e.registerModule(a,{namespaced:!0,state:n(t.currentRoute),mutations:{ROUTE_CHANGED:function(t,r){e.state[a]=n(r.to,r.from)}}});var i,o=!1,s=e.watch((function(e){return e[a]}),(function(e){var n=e.fullPath;n!==i&&(null!=i&&(o=!0,t.push(e)),i=n)}),{sync:!0}),l=t.afterEach((function(t,n){o?o=!1:(i=t.fullPath,e.commit(a+"/ROUTE_CHANGED",{to:t,from:n}))}));return function(){null!=l&&l(),null!=s&&s(),e.unregisterModule(a)}}},58732:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormSelectOptionGroup:()=>v,props:()=>g});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(41897),l=n(91671),c=n(1340),u=n(86582),d=n(48917),h=n(52386);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>s});var r={tag:{type:[String],default:"div"},cols:{type:[Object,Number,String],default:2},gutter:{type:[Object,Number,String],default:0},css:{type:[Boolean],default:!0},columnTag:{type:[String],default:"div"},columnClass:{type:[String,Array,Object],default:function(){return[]}},columnAttr:{type:[Object],default:function(){return{}}}},a=function(e,t){if(parseInt(e)>-1)return e;if("object"!=typeof e)return 0;var n=1/0,r=e.default||0;for(var a in e){var i=parseInt(a),o=e[i],s=parseInt(o);if(!isNaN(i)&&!isNaN(s))t<=i&&i{"use strict";n.r(t),n.d(t,{getInstanceFromDirective:()=>a});var r=n(2448),a=function(e,t){return r.isVue3?t.instance:e.context}},59527:function(e,t,n){!function(e){"use strict";var t={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"};e.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(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,a=e%100-r,i=e>=100?100:null;return e+(t[r]||t[a]||t[i])}},week:{dow:1,doy:7}})}(n(95093))},59809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{escapeRegExp:()=>u,kebabCase:()=>i,lowerCase:()=>m,lowerFirst:()=>l,pascalCase:()=>o,startCase:()=>s,toString:()=>d,trim:()=>p,trimLeft:()=>h,trimRight:()=>f,upperCase:()=>g,upperFirst:()=>c});var r=n(41817),a=n(46710),i=function(e){return e.replace(r.RX_HYPHENATE,"-$1").toLowerCase()},o=function(e){return(e=i(e).replace(r.RX_UN_KEBAB,(function(e,t){return t?t.toUpperCase():""}))).charAt(0).toUpperCase()+e.slice(1)},s=function(e){return e.replace(r.RX_UNDERSCORE," ").replace(r.RX_LOWER_UPPER,(function(e,t,n){return t+" "+n})).replace(r.RX_START_SPACE_WORD,(function(e,t,n){return t+n.toUpperCase()}))},l=function(e){return(e=(0,a.isString)(e)?e.trim():String(e)).charAt(0).toLowerCase()+e.slice(1)},c=function(e){return(e=(0,a.isString)(e)?e.trim():String(e)).charAt(0).toUpperCase()+e.slice(1)},u=function(e){return e.replace(r.RX_REGEXP_REPLACE,"\\$&")},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return(0,a.isUndefinedOrNull)(e)?"":(0,a.isArray)(e)||(0,a.isPlainObject)(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,t):String(e)},h=function(e){return d(e).replace(r.RX_TRIM_LEFT,"")},f=function(e){return d(e).replace(r.RX_TRIM_RIGHT,"")},p=function(e){return d(e).trim()},m=function(e){return d(e).toLowerCase()},g=function(e){return d(e).toUpperCase()}},60213:(e,t,n)=>{"use strict";n.r(t),n.d(t,{listenOnRootMixin:()=>l});var r=n(2448),a=n(17079),i=n(91671),o=n(92952),s="$_rootListeners",l=(0,r.extend)({computed:{bvEventRoot:function(){return(0,o.getEventRoot)(this)}},created:function(){this[s]={}},beforeDestroy:function(){var e=this;(0,i.keys)(this[s]||{}).forEach((function(t){e[s][t].forEach((function(n){e.listenOffRoot(t,n)}))})),this[s]=null},methods:{registerRootListener:function(e,t){this[s]&&(this[s][e]=this[s][e]||[],(0,a.arrayIncludes)(this[s][e],t)||this[s][e].push(t))},unregisterRootListener:function(e,t){this[s]&&this[s][e]&&(this[s][e]=this[s][e].filter((function(e){return e!==t})))},listenOnRoot:function(e,t){this.bvEventRoot&&(this.bvEventRoot.$on(e,t),this.registerRootListener(e,t))},listenOnRootOnce:function(e,t){var n=this;if(this.bvEventRoot){var r=function e(){n.unregisterRootListener(e),t.apply(void 0,arguments)};this.bvEventRoot.$once(e,r),this.registerRootListener(e,r)}},listenOffRoot:function(e,t){this.unregisterRootListener(e,t),this.bvEventRoot&&this.bvEventRoot.$off(e,t)},emitOnRoot:function(e){if(this.bvEventRoot){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{"use strict";n.r(t),n.d(t,{looseEqual:()=>o});var r=n(91671),a=n(46710),i=function(e,t){if(e.length!==t.length)return!1;for(var n=!0,r=0;n&&r{e.exports=function(e){return e instanceof Date}},60466:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VBHover:()=>r.VBHover,VBHoverPlugin:()=>a});var r=n(3272),a=(0,n(96266).pluginFactory)({directives:{VBHover:r.VBHover}})},60708:function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,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(e){return"މފ"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(95093))},60837:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BButtonClose:()=>h,props:()=>d});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(87057),l=n(46710),c=n(1340),u=n(33486);var d=(0,c.makePropsConfigurable)({ariaLabel:(0,c.makeProp)(i.PROP_TYPE_STRING,"Close"),content:(0,c.makeProp)(i.PROP_TYPE_STRING,"×"),disabled:(0,c.makeProp)(i.PROP_TYPE_BOOLEAN,!1),textVariant:(0,c.makeProp)(i.PROP_TYPE_STRING)},a.NAME_BUTTON_CLOSE),h=(0,r.extend)({name:a.NAME_BUTTON_CLOSE,functional:!0,props:d,render:function(e,t){var n,a,i,c=t.props,d=t.data,h=t.slots,f=t.scopedSlots,p=h(),m=f||{},g={staticClass:"close",class:(n={},a="text-".concat(c.textVariant),i=c.textVariant,a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n),attrs:{type:"button",disabled:c.disabled,"aria-label":c.ariaLabel?String(c.ariaLabel):null},on:{click:function(e){c.disabled&&(0,l.isEvent)(e)&&(0,s.stopEvent)(e)}}};return(0,u.hasNormalizedSlot)(o.SLOT_NAME_DEFAULT,m,p)||(g.domProps={innerHTML:c.content}),e("button",(0,r.mergeData)(d,g),(0,u.normalizeSlot)(o.SLOT_NAME_DEFAULT,{},m,p))}})},61127:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BVCollapse:()=>d,props:()=>u});var r=n(2448),a=n(49800),i=n(80072),o=n(71402),s=n(1340),l={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},c={enter:function(e){(0,o.setStyle)(e,"height",0),(0,o.requestAF)((function(){(0,o.reflow)(e),(0,o.setStyle)(e,"height","".concat(e.scrollHeight,"px"))}))},afterEnter:function(e){(0,o.removeStyle)(e,"height")},leave:function(e){(0,o.setStyle)(e,"height","auto"),(0,o.setStyle)(e,"display","block"),(0,o.setStyle)(e,"height","".concat((0,o.getBCR)(e).height,"px")),(0,o.reflow)(e),(0,o.setStyle)(e,"height",0)},afterLeave:function(e){(0,o.removeStyle)(e,"height")}},u={appear:(0,s.makeProp)(i.PROP_TYPE_BOOLEAN,!1)},d=(0,r.extend)({name:a.NAME_COLLAPSE_HELPER,functional:!0,props:u,render:function(e,t){var n=t.props,a=t.data,i=t.children;return e("transition",(0,r.mergeData)(a,{props:l,on:c},{props:n}),i)}})},61202:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BTab:()=>a.BTab,BTabs:()=>r.BTabs,TabsPlugin:()=>i});var r=n(41544),a=n(63405),i=(0,n(96266).pluginFactory)({components:{BTabs:r.BTabs,BTab:a.BTab}})},61290:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.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(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(95093))},61509:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={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(e){return function(t,n,i,o){var s=r(t),l=a[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:o,monthsShort:o,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(e){return"م"===e},meridiem:function(e,t,n){return e<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")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(95093))},61651:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BIconAlarm:()=>i,BIconAlarmFill:()=>o,BIconAlignBottom:()=>s,BIconAlignCenter:()=>l,BIconAlignEnd:()=>c,BIconAlignMiddle:()=>u,BIconAlignStart:()=>d,BIconAlignTop:()=>h,BIconAlt:()=>f,BIconApp:()=>p,BIconAppIndicator:()=>m,BIconArchive:()=>g,BIconArchiveFill:()=>v,BIconArrow90degDown:()=>y,BIconArrow90degLeft:()=>b,BIconArrow90degRight:()=>_,BIconArrow90degUp:()=>I,BIconArrowBarDown:()=>T,BIconArrowBarLeft:()=>w,BIconArrowBarRight:()=>E,BIconArrowBarUp:()=>M,BIconArrowClockwise:()=>k,BIconArrowCounterclockwise:()=>S,BIconArrowDown:()=>P,BIconArrowDownCircle:()=>A,BIconArrowDownCircleFill:()=>x,BIconArrowDownLeft:()=>B,BIconArrowDownLeftCircle:()=>L,BIconArrowDownLeftCircleFill:()=>O,BIconArrowDownLeftSquare:()=>C,BIconArrowDownLeftSquareFill:()=>D,BIconArrowDownRight:()=>R,BIconArrowDownRightCircle:()=>F,BIconArrowDownRightCircleFill:()=>z,BIconArrowDownRightSquare:()=>N,BIconArrowDownRightSquareFill:()=>H,BIconArrowDownShort:()=>V,BIconArrowDownSquare:()=>Y,BIconArrowDownSquareFill:()=>j,BIconArrowDownUp:()=>U,BIconArrowLeft:()=>$,BIconArrowLeftCircle:()=>G,BIconArrowLeftCircleFill:()=>W,BIconArrowLeftRight:()=>q,BIconArrowLeftShort:()=>K,BIconArrowLeftSquare:()=>X,BIconArrowLeftSquareFill:()=>J,BIconArrowRepeat:()=>Z,BIconArrowReturnLeft:()=>Q,BIconArrowReturnRight:()=>ee,BIconArrowRight:()=>te,BIconArrowRightCircle:()=>ne,BIconArrowRightCircleFill:()=>re,BIconArrowRightShort:()=>ae,BIconArrowRightSquare:()=>ie,BIconArrowRightSquareFill:()=>oe,BIconArrowUp:()=>se,BIconArrowUpCircle:()=>le,BIconArrowUpCircleFill:()=>ce,BIconArrowUpLeft:()=>ue,BIconArrowUpLeftCircle:()=>de,BIconArrowUpLeftCircleFill:()=>he,BIconArrowUpLeftSquare:()=>fe,BIconArrowUpLeftSquareFill:()=>pe,BIconArrowUpRight:()=>me,BIconArrowUpRightCircle:()=>ge,BIconArrowUpRightCircleFill:()=>ve,BIconArrowUpRightSquare:()=>ye,BIconArrowUpRightSquareFill:()=>be,BIconArrowUpShort:()=>_e,BIconArrowUpSquare:()=>Ie,BIconArrowUpSquareFill:()=>Te,BIconArrowsAngleContract:()=>we,BIconArrowsAngleExpand:()=>Ee,BIconArrowsCollapse:()=>Me,BIconArrowsExpand:()=>ke,BIconArrowsFullscreen:()=>Se,BIconArrowsMove:()=>Pe,BIconAspectRatio:()=>Ae,BIconAspectRatioFill:()=>xe,BIconAsterisk:()=>Be,BIconAt:()=>Le,BIconAward:()=>Oe,BIconAwardFill:()=>Ce,BIconBack:()=>De,BIconBackspace:()=>Re,BIconBackspaceFill:()=>Fe,BIconBackspaceReverse:()=>ze,BIconBackspaceReverseFill:()=>Ne,BIconBadge3d:()=>He,BIconBadge3dFill:()=>Ve,BIconBadge4k:()=>Ye,BIconBadge4kFill:()=>je,BIconBadge8k:()=>Ue,BIconBadge8kFill:()=>$e,BIconBadgeAd:()=>Ge,BIconBadgeAdFill:()=>We,BIconBadgeAr:()=>qe,BIconBadgeArFill:()=>Ke,BIconBadgeCc:()=>Xe,BIconBadgeCcFill:()=>Je,BIconBadgeHd:()=>Ze,BIconBadgeHdFill:()=>Qe,BIconBadgeTm:()=>et,BIconBadgeTmFill:()=>tt,BIconBadgeVo:()=>nt,BIconBadgeVoFill:()=>rt,BIconBadgeVr:()=>at,BIconBadgeVrFill:()=>it,BIconBadgeWc:()=>ot,BIconBadgeWcFill:()=>st,BIconBag:()=>lt,BIconBagCheck:()=>ct,BIconBagCheckFill:()=>ut,BIconBagDash:()=>dt,BIconBagDashFill:()=>ht,BIconBagFill:()=>ft,BIconBagPlus:()=>pt,BIconBagPlusFill:()=>mt,BIconBagX:()=>gt,BIconBagXFill:()=>vt,BIconBank:()=>yt,BIconBank2:()=>bt,BIconBarChart:()=>_t,BIconBarChartFill:()=>It,BIconBarChartLine:()=>Tt,BIconBarChartLineFill:()=>wt,BIconBarChartSteps:()=>Et,BIconBasket:()=>Mt,BIconBasket2:()=>kt,BIconBasket2Fill:()=>St,BIconBasket3:()=>Pt,BIconBasket3Fill:()=>At,BIconBasketFill:()=>xt,BIconBattery:()=>Bt,BIconBatteryCharging:()=>Lt,BIconBatteryFull:()=>Ot,BIconBatteryHalf:()=>Ct,BIconBell:()=>Dt,BIconBellFill:()=>Rt,BIconBellSlash:()=>Ft,BIconBellSlashFill:()=>zt,BIconBezier:()=>Nt,BIconBezier2:()=>Ht,BIconBicycle:()=>Vt,BIconBinoculars:()=>Yt,BIconBinocularsFill:()=>jt,BIconBlank:()=>a,BIconBlockquoteLeft:()=>Ut,BIconBlockquoteRight:()=>$t,BIconBook:()=>Gt,BIconBookFill:()=>Wt,BIconBookHalf:()=>qt,BIconBookmark:()=>Kt,BIconBookmarkCheck:()=>Xt,BIconBookmarkCheckFill:()=>Jt,BIconBookmarkDash:()=>Zt,BIconBookmarkDashFill:()=>Qt,BIconBookmarkFill:()=>en,BIconBookmarkHeart:()=>tn,BIconBookmarkHeartFill:()=>nn,BIconBookmarkPlus:()=>rn,BIconBookmarkPlusFill:()=>an,BIconBookmarkStar:()=>on,BIconBookmarkStarFill:()=>sn,BIconBookmarkX:()=>ln,BIconBookmarkXFill:()=>cn,BIconBookmarks:()=>un,BIconBookmarksFill:()=>dn,BIconBookshelf:()=>hn,BIconBootstrap:()=>fn,BIconBootstrapFill:()=>pn,BIconBootstrapReboot:()=>mn,BIconBorder:()=>gn,BIconBorderAll:()=>vn,BIconBorderBottom:()=>yn,BIconBorderCenter:()=>bn,BIconBorderInner:()=>_n,BIconBorderLeft:()=>In,BIconBorderMiddle:()=>Tn,BIconBorderOuter:()=>wn,BIconBorderRight:()=>En,BIconBorderStyle:()=>Mn,BIconBorderTop:()=>kn,BIconBorderWidth:()=>Sn,BIconBoundingBox:()=>Pn,BIconBoundingBoxCircles:()=>An,BIconBox:()=>xn,BIconBoxArrowDown:()=>Bn,BIconBoxArrowDownLeft:()=>Ln,BIconBoxArrowDownRight:()=>On,BIconBoxArrowInDown:()=>Cn,BIconBoxArrowInDownLeft:()=>Dn,BIconBoxArrowInDownRight:()=>Rn,BIconBoxArrowInLeft:()=>Fn,BIconBoxArrowInRight:()=>zn,BIconBoxArrowInUp:()=>Nn,BIconBoxArrowInUpLeft:()=>Hn,BIconBoxArrowInUpRight:()=>Vn,BIconBoxArrowLeft:()=>Yn,BIconBoxArrowRight:()=>jn,BIconBoxArrowUp:()=>Un,BIconBoxArrowUpLeft:()=>$n,BIconBoxArrowUpRight:()=>Gn,BIconBoxSeam:()=>Wn,BIconBraces:()=>qn,BIconBricks:()=>Kn,BIconBriefcase:()=>Xn,BIconBriefcaseFill:()=>Jn,BIconBrightnessAltHigh:()=>Zn,BIconBrightnessAltHighFill:()=>Qn,BIconBrightnessAltLow:()=>er,BIconBrightnessAltLowFill:()=>tr,BIconBrightnessHigh:()=>nr,BIconBrightnessHighFill:()=>rr,BIconBrightnessLow:()=>ar,BIconBrightnessLowFill:()=>ir,BIconBroadcast:()=>or,BIconBroadcastPin:()=>sr,BIconBrush:()=>lr,BIconBrushFill:()=>cr,BIconBucket:()=>ur,BIconBucketFill:()=>dr,BIconBug:()=>hr,BIconBugFill:()=>fr,BIconBuilding:()=>pr,BIconBullseye:()=>mr,BIconCalculator:()=>gr,BIconCalculatorFill:()=>vr,BIconCalendar:()=>yr,BIconCalendar2:()=>br,BIconCalendar2Check:()=>_r,BIconCalendar2CheckFill:()=>Ir,BIconCalendar2Date:()=>Tr,BIconCalendar2DateFill:()=>wr,BIconCalendar2Day:()=>Er,BIconCalendar2DayFill:()=>Mr,BIconCalendar2Event:()=>kr,BIconCalendar2EventFill:()=>Sr,BIconCalendar2Fill:()=>Pr,BIconCalendar2Minus:()=>Ar,BIconCalendar2MinusFill:()=>xr,BIconCalendar2Month:()=>Br,BIconCalendar2MonthFill:()=>Lr,BIconCalendar2Plus:()=>Or,BIconCalendar2PlusFill:()=>Cr,BIconCalendar2Range:()=>Dr,BIconCalendar2RangeFill:()=>Rr,BIconCalendar2Week:()=>Fr,BIconCalendar2WeekFill:()=>zr,BIconCalendar2X:()=>Nr,BIconCalendar2XFill:()=>Hr,BIconCalendar3:()=>Vr,BIconCalendar3Event:()=>Yr,BIconCalendar3EventFill:()=>jr,BIconCalendar3Fill:()=>Ur,BIconCalendar3Range:()=>$r,BIconCalendar3RangeFill:()=>Gr,BIconCalendar3Week:()=>Wr,BIconCalendar3WeekFill:()=>qr,BIconCalendar4:()=>Kr,BIconCalendar4Event:()=>Xr,BIconCalendar4Range:()=>Jr,BIconCalendar4Week:()=>Zr,BIconCalendarCheck:()=>Qr,BIconCalendarCheckFill:()=>ea,BIconCalendarDate:()=>ta,BIconCalendarDateFill:()=>na,BIconCalendarDay:()=>ra,BIconCalendarDayFill:()=>aa,BIconCalendarEvent:()=>ia,BIconCalendarEventFill:()=>oa,BIconCalendarFill:()=>sa,BIconCalendarMinus:()=>la,BIconCalendarMinusFill:()=>ca,BIconCalendarMonth:()=>ua,BIconCalendarMonthFill:()=>da,BIconCalendarPlus:()=>ha,BIconCalendarPlusFill:()=>fa,BIconCalendarRange:()=>pa,BIconCalendarRangeFill:()=>ma,BIconCalendarWeek:()=>ga,BIconCalendarWeekFill:()=>va,BIconCalendarX:()=>ya,BIconCalendarXFill:()=>ba,BIconCamera:()=>_a,BIconCamera2:()=>Ia,BIconCameraFill:()=>Ta,BIconCameraReels:()=>wa,BIconCameraReelsFill:()=>Ea,BIconCameraVideo:()=>Ma,BIconCameraVideoFill:()=>ka,BIconCameraVideoOff:()=>Sa,BIconCameraVideoOffFill:()=>Pa,BIconCapslock:()=>Aa,BIconCapslockFill:()=>xa,BIconCardChecklist:()=>Ba,BIconCardHeading:()=>La,BIconCardImage:()=>Oa,BIconCardList:()=>Ca,BIconCardText:()=>Da,BIconCaretDown:()=>Ra,BIconCaretDownFill:()=>Fa,BIconCaretDownSquare:()=>za,BIconCaretDownSquareFill:()=>Na,BIconCaretLeft:()=>Ha,BIconCaretLeftFill:()=>Va,BIconCaretLeftSquare:()=>Ya,BIconCaretLeftSquareFill:()=>ja,BIconCaretRight:()=>Ua,BIconCaretRightFill:()=>$a,BIconCaretRightSquare:()=>Ga,BIconCaretRightSquareFill:()=>Wa,BIconCaretUp:()=>qa,BIconCaretUpFill:()=>Ka,BIconCaretUpSquare:()=>Xa,BIconCaretUpSquareFill:()=>Ja,BIconCart:()=>Za,BIconCart2:()=>Qa,BIconCart3:()=>ei,BIconCart4:()=>ti,BIconCartCheck:()=>ni,BIconCartCheckFill:()=>ri,BIconCartDash:()=>ai,BIconCartDashFill:()=>ii,BIconCartFill:()=>oi,BIconCartPlus:()=>si,BIconCartPlusFill:()=>li,BIconCartX:()=>ci,BIconCartXFill:()=>ui,BIconCash:()=>di,BIconCashCoin:()=>hi,BIconCashStack:()=>fi,BIconCast:()=>pi,BIconChat:()=>mi,BIconChatDots:()=>gi,BIconChatDotsFill:()=>vi,BIconChatFill:()=>yi,BIconChatLeft:()=>bi,BIconChatLeftDots:()=>_i,BIconChatLeftDotsFill:()=>Ii,BIconChatLeftFill:()=>Ti,BIconChatLeftQuote:()=>wi,BIconChatLeftQuoteFill:()=>Ei,BIconChatLeftText:()=>Mi,BIconChatLeftTextFill:()=>ki,BIconChatQuote:()=>Si,BIconChatQuoteFill:()=>Pi,BIconChatRight:()=>Ai,BIconChatRightDots:()=>xi,BIconChatRightDotsFill:()=>Bi,BIconChatRightFill:()=>Li,BIconChatRightQuote:()=>Oi,BIconChatRightQuoteFill:()=>Ci,BIconChatRightText:()=>Di,BIconChatRightTextFill:()=>Ri,BIconChatSquare:()=>Fi,BIconChatSquareDots:()=>zi,BIconChatSquareDotsFill:()=>Ni,BIconChatSquareFill:()=>Hi,BIconChatSquareQuote:()=>Vi,BIconChatSquareQuoteFill:()=>Yi,BIconChatSquareText:()=>ji,BIconChatSquareTextFill:()=>Ui,BIconChatText:()=>$i,BIconChatTextFill:()=>Gi,BIconCheck:()=>Wi,BIconCheck2:()=>qi,BIconCheck2All:()=>Ki,BIconCheck2Circle:()=>Xi,BIconCheck2Square:()=>Ji,BIconCheckAll:()=>Zi,BIconCheckCircle:()=>Qi,BIconCheckCircleFill:()=>eo,BIconCheckLg:()=>to,BIconCheckSquare:()=>no,BIconCheckSquareFill:()=>ro,BIconChevronBarContract:()=>ao,BIconChevronBarDown:()=>io,BIconChevronBarExpand:()=>oo,BIconChevronBarLeft:()=>so,BIconChevronBarRight:()=>lo,BIconChevronBarUp:()=>co,BIconChevronCompactDown:()=>uo,BIconChevronCompactLeft:()=>ho,BIconChevronCompactRight:()=>fo,BIconChevronCompactUp:()=>po,BIconChevronContract:()=>mo,BIconChevronDoubleDown:()=>go,BIconChevronDoubleLeft:()=>vo,BIconChevronDoubleRight:()=>yo,BIconChevronDoubleUp:()=>bo,BIconChevronDown:()=>_o,BIconChevronExpand:()=>Io,BIconChevronLeft:()=>To,BIconChevronRight:()=>wo,BIconChevronUp:()=>Eo,BIconCircle:()=>Mo,BIconCircleFill:()=>ko,BIconCircleHalf:()=>So,BIconCircleSquare:()=>Po,BIconClipboard:()=>Ao,BIconClipboardCheck:()=>xo,BIconClipboardData:()=>Bo,BIconClipboardMinus:()=>Lo,BIconClipboardPlus:()=>Oo,BIconClipboardX:()=>Co,BIconClock:()=>Do,BIconClockFill:()=>Ro,BIconClockHistory:()=>Fo,BIconCloud:()=>zo,BIconCloudArrowDown:()=>No,BIconCloudArrowDownFill:()=>Ho,BIconCloudArrowUp:()=>Vo,BIconCloudArrowUpFill:()=>Yo,BIconCloudCheck:()=>jo,BIconCloudCheckFill:()=>Uo,BIconCloudDownload:()=>$o,BIconCloudDownloadFill:()=>Go,BIconCloudDrizzle:()=>Wo,BIconCloudDrizzleFill:()=>qo,BIconCloudFill:()=>Ko,BIconCloudFog:()=>Xo,BIconCloudFog2:()=>Jo,BIconCloudFog2Fill:()=>Zo,BIconCloudFogFill:()=>Qo,BIconCloudHail:()=>es,BIconCloudHailFill:()=>ts,BIconCloudHaze:()=>ns,BIconCloudHaze1:()=>rs,BIconCloudHaze2Fill:()=>as,BIconCloudHazeFill:()=>is,BIconCloudLightning:()=>os,BIconCloudLightningFill:()=>ss,BIconCloudLightningRain:()=>ls,BIconCloudLightningRainFill:()=>cs,BIconCloudMinus:()=>us,BIconCloudMinusFill:()=>ds,BIconCloudMoon:()=>hs,BIconCloudMoonFill:()=>fs,BIconCloudPlus:()=>ps,BIconCloudPlusFill:()=>ms,BIconCloudRain:()=>gs,BIconCloudRainFill:()=>vs,BIconCloudRainHeavy:()=>ys,BIconCloudRainHeavyFill:()=>bs,BIconCloudSlash:()=>_s,BIconCloudSlashFill:()=>Is,BIconCloudSleet:()=>Ts,BIconCloudSleetFill:()=>ws,BIconCloudSnow:()=>Es,BIconCloudSnowFill:()=>Ms,BIconCloudSun:()=>ks,BIconCloudSunFill:()=>Ss,BIconCloudUpload:()=>Ps,BIconCloudUploadFill:()=>As,BIconClouds:()=>xs,BIconCloudsFill:()=>Bs,BIconCloudy:()=>Ls,BIconCloudyFill:()=>Os,BIconCode:()=>Cs,BIconCodeSlash:()=>Ds,BIconCodeSquare:()=>Rs,BIconCoin:()=>Fs,BIconCollection:()=>zs,BIconCollectionFill:()=>Ns,BIconCollectionPlay:()=>Hs,BIconCollectionPlayFill:()=>Vs,BIconColumns:()=>Ys,BIconColumnsGap:()=>js,BIconCommand:()=>Us,BIconCompass:()=>$s,BIconCompassFill:()=>Gs,BIconCone:()=>Ws,BIconConeStriped:()=>qs,BIconController:()=>Ks,BIconCpu:()=>Xs,BIconCpuFill:()=>Js,BIconCreditCard:()=>Zs,BIconCreditCard2Back:()=>Qs,BIconCreditCard2BackFill:()=>el,BIconCreditCard2Front:()=>tl,BIconCreditCard2FrontFill:()=>nl,BIconCreditCardFill:()=>rl,BIconCrop:()=>al,BIconCup:()=>il,BIconCupFill:()=>ol,BIconCupStraw:()=>sl,BIconCurrencyBitcoin:()=>ll,BIconCurrencyDollar:()=>cl,BIconCurrencyEuro:()=>ul,BIconCurrencyExchange:()=>dl,BIconCurrencyPound:()=>hl,BIconCurrencyYen:()=>fl,BIconCursor:()=>pl,BIconCursorFill:()=>ml,BIconCursorText:()=>gl,BIconDash:()=>vl,BIconDashCircle:()=>yl,BIconDashCircleDotted:()=>bl,BIconDashCircleFill:()=>_l,BIconDashLg:()=>Il,BIconDashSquare:()=>Tl,BIconDashSquareDotted:()=>wl,BIconDashSquareFill:()=>El,BIconDiagram2:()=>Ml,BIconDiagram2Fill:()=>kl,BIconDiagram3:()=>Sl,BIconDiagram3Fill:()=>Pl,BIconDiamond:()=>Al,BIconDiamondFill:()=>xl,BIconDiamondHalf:()=>Bl,BIconDice1:()=>Ll,BIconDice1Fill:()=>Ol,BIconDice2:()=>Cl,BIconDice2Fill:()=>Dl,BIconDice3:()=>Rl,BIconDice3Fill:()=>Fl,BIconDice4:()=>zl,BIconDice4Fill:()=>Nl,BIconDice5:()=>Hl,BIconDice5Fill:()=>Vl,BIconDice6:()=>Yl,BIconDice6Fill:()=>jl,BIconDisc:()=>Ul,BIconDiscFill:()=>$l,BIconDiscord:()=>Gl,BIconDisplay:()=>Wl,BIconDisplayFill:()=>ql,BIconDistributeHorizontal:()=>Kl,BIconDistributeVertical:()=>Xl,BIconDoorClosed:()=>Jl,BIconDoorClosedFill:()=>Zl,BIconDoorOpen:()=>Ql,BIconDoorOpenFill:()=>ec,BIconDot:()=>tc,BIconDownload:()=>nc,BIconDroplet:()=>rc,BIconDropletFill:()=>ac,BIconDropletHalf:()=>ic,BIconEarbuds:()=>oc,BIconEasel:()=>sc,BIconEaselFill:()=>lc,BIconEgg:()=>cc,BIconEggFill:()=>uc,BIconEggFried:()=>dc,BIconEject:()=>hc,BIconEjectFill:()=>fc,BIconEmojiAngry:()=>pc,BIconEmojiAngryFill:()=>mc,BIconEmojiDizzy:()=>gc,BIconEmojiDizzyFill:()=>vc,BIconEmojiExpressionless:()=>yc,BIconEmojiExpressionlessFill:()=>bc,BIconEmojiFrown:()=>_c,BIconEmojiFrownFill:()=>Ic,BIconEmojiHeartEyes:()=>Tc,BIconEmojiHeartEyesFill:()=>wc,BIconEmojiLaughing:()=>Ec,BIconEmojiLaughingFill:()=>Mc,BIconEmojiNeutral:()=>kc,BIconEmojiNeutralFill:()=>Sc,BIconEmojiSmile:()=>Pc,BIconEmojiSmileFill:()=>Ac,BIconEmojiSmileUpsideDown:()=>xc,BIconEmojiSmileUpsideDownFill:()=>Bc,BIconEmojiSunglasses:()=>Lc,BIconEmojiSunglassesFill:()=>Oc,BIconEmojiWink:()=>Cc,BIconEmojiWinkFill:()=>Dc,BIconEnvelope:()=>Rc,BIconEnvelopeFill:()=>Fc,BIconEnvelopeOpen:()=>zc,BIconEnvelopeOpenFill:()=>Nc,BIconEraser:()=>Hc,BIconEraserFill:()=>Vc,BIconExclamation:()=>Yc,BIconExclamationCircle:()=>jc,BIconExclamationCircleFill:()=>Uc,BIconExclamationDiamond:()=>$c,BIconExclamationDiamondFill:()=>Gc,BIconExclamationLg:()=>Wc,BIconExclamationOctagon:()=>qc,BIconExclamationOctagonFill:()=>Kc,BIconExclamationSquare:()=>Xc,BIconExclamationSquareFill:()=>Jc,BIconExclamationTriangle:()=>Zc,BIconExclamationTriangleFill:()=>Qc,BIconExclude:()=>eu,BIconEye:()=>tu,BIconEyeFill:()=>nu,BIconEyeSlash:()=>ru,BIconEyeSlashFill:()=>au,BIconEyedropper:()=>iu,BIconEyeglasses:()=>ou,BIconFacebook:()=>su,BIconFile:()=>lu,BIconFileArrowDown:()=>cu,BIconFileArrowDownFill:()=>uu,BIconFileArrowUp:()=>du,BIconFileArrowUpFill:()=>hu,BIconFileBarGraph:()=>fu,BIconFileBarGraphFill:()=>pu,BIconFileBinary:()=>mu,BIconFileBinaryFill:()=>gu,BIconFileBreak:()=>vu,BIconFileBreakFill:()=>yu,BIconFileCheck:()=>bu,BIconFileCheckFill:()=>_u,BIconFileCode:()=>Iu,BIconFileCodeFill:()=>Tu,BIconFileDiff:()=>wu,BIconFileDiffFill:()=>Eu,BIconFileEarmark:()=>Mu,BIconFileEarmarkArrowDown:()=>ku,BIconFileEarmarkArrowDownFill:()=>Su,BIconFileEarmarkArrowUp:()=>Pu,BIconFileEarmarkArrowUpFill:()=>Au,BIconFileEarmarkBarGraph:()=>xu,BIconFileEarmarkBarGraphFill:()=>Bu,BIconFileEarmarkBinary:()=>Lu,BIconFileEarmarkBinaryFill:()=>Ou,BIconFileEarmarkBreak:()=>Cu,BIconFileEarmarkBreakFill:()=>Du,BIconFileEarmarkCheck:()=>Ru,BIconFileEarmarkCheckFill:()=>Fu,BIconFileEarmarkCode:()=>zu,BIconFileEarmarkCodeFill:()=>Nu,BIconFileEarmarkDiff:()=>Hu,BIconFileEarmarkDiffFill:()=>Vu,BIconFileEarmarkEasel:()=>Yu,BIconFileEarmarkEaselFill:()=>ju,BIconFileEarmarkExcel:()=>Uu,BIconFileEarmarkExcelFill:()=>$u,BIconFileEarmarkFill:()=>Gu,BIconFileEarmarkFont:()=>Wu,BIconFileEarmarkFontFill:()=>qu,BIconFileEarmarkImage:()=>Ku,BIconFileEarmarkImageFill:()=>Xu,BIconFileEarmarkLock:()=>Ju,BIconFileEarmarkLock2:()=>Zu,BIconFileEarmarkLock2Fill:()=>Qu,BIconFileEarmarkLockFill:()=>ed,BIconFileEarmarkMedical:()=>td,BIconFileEarmarkMedicalFill:()=>nd,BIconFileEarmarkMinus:()=>rd,BIconFileEarmarkMinusFill:()=>ad,BIconFileEarmarkMusic:()=>id,BIconFileEarmarkMusicFill:()=>od,BIconFileEarmarkPdf:()=>sd,BIconFileEarmarkPdfFill:()=>ld,BIconFileEarmarkPerson:()=>cd,BIconFileEarmarkPersonFill:()=>ud,BIconFileEarmarkPlay:()=>dd,BIconFileEarmarkPlayFill:()=>hd,BIconFileEarmarkPlus:()=>fd,BIconFileEarmarkPlusFill:()=>pd,BIconFileEarmarkPost:()=>md,BIconFileEarmarkPostFill:()=>gd,BIconFileEarmarkPpt:()=>vd,BIconFileEarmarkPptFill:()=>yd,BIconFileEarmarkRichtext:()=>bd,BIconFileEarmarkRichtextFill:()=>_d,BIconFileEarmarkRuled:()=>Id,BIconFileEarmarkRuledFill:()=>Td,BIconFileEarmarkSlides:()=>wd,BIconFileEarmarkSlidesFill:()=>Ed,BIconFileEarmarkSpreadsheet:()=>Md,BIconFileEarmarkSpreadsheetFill:()=>kd,BIconFileEarmarkText:()=>Sd,BIconFileEarmarkTextFill:()=>Pd,BIconFileEarmarkWord:()=>Ad,BIconFileEarmarkWordFill:()=>xd,BIconFileEarmarkX:()=>Bd,BIconFileEarmarkXFill:()=>Ld,BIconFileEarmarkZip:()=>Od,BIconFileEarmarkZipFill:()=>Cd,BIconFileEasel:()=>Dd,BIconFileEaselFill:()=>Rd,BIconFileExcel:()=>Fd,BIconFileExcelFill:()=>zd,BIconFileFill:()=>Nd,BIconFileFont:()=>Hd,BIconFileFontFill:()=>Vd,BIconFileImage:()=>Yd,BIconFileImageFill:()=>jd,BIconFileLock:()=>Ud,BIconFileLock2:()=>$d,BIconFileLock2Fill:()=>Gd,BIconFileLockFill:()=>Wd,BIconFileMedical:()=>qd,BIconFileMedicalFill:()=>Kd,BIconFileMinus:()=>Xd,BIconFileMinusFill:()=>Jd,BIconFileMusic:()=>Zd,BIconFileMusicFill:()=>Qd,BIconFilePdf:()=>eh,BIconFilePdfFill:()=>th,BIconFilePerson:()=>nh,BIconFilePersonFill:()=>rh,BIconFilePlay:()=>ah,BIconFilePlayFill:()=>ih,BIconFilePlus:()=>oh,BIconFilePlusFill:()=>sh,BIconFilePost:()=>lh,BIconFilePostFill:()=>ch,BIconFilePpt:()=>uh,BIconFilePptFill:()=>dh,BIconFileRichtext:()=>hh,BIconFileRichtextFill:()=>fh,BIconFileRuled:()=>ph,BIconFileRuledFill:()=>mh,BIconFileSlides:()=>gh,BIconFileSlidesFill:()=>vh,BIconFileSpreadsheet:()=>yh,BIconFileSpreadsheetFill:()=>bh,BIconFileText:()=>_h,BIconFileTextFill:()=>Ih,BIconFileWord:()=>Th,BIconFileWordFill:()=>wh,BIconFileX:()=>Eh,BIconFileXFill:()=>Mh,BIconFileZip:()=>kh,BIconFileZipFill:()=>Sh,BIconFiles:()=>Ph,BIconFilesAlt:()=>Ah,BIconFilm:()=>xh,BIconFilter:()=>Bh,BIconFilterCircle:()=>Lh,BIconFilterCircleFill:()=>Oh,BIconFilterLeft:()=>Ch,BIconFilterRight:()=>Dh,BIconFilterSquare:()=>Rh,BIconFilterSquareFill:()=>Fh,BIconFlag:()=>zh,BIconFlagFill:()=>Nh,BIconFlower1:()=>Hh,BIconFlower2:()=>Vh,BIconFlower3:()=>Yh,BIconFolder:()=>jh,BIconFolder2:()=>Uh,BIconFolder2Open:()=>$h,BIconFolderCheck:()=>Gh,BIconFolderFill:()=>Wh,BIconFolderMinus:()=>qh,BIconFolderPlus:()=>Kh,BIconFolderSymlink:()=>Xh,BIconFolderSymlinkFill:()=>Jh,BIconFolderX:()=>Zh,BIconFonts:()=>Qh,BIconForward:()=>ef,BIconForwardFill:()=>tf,BIconFront:()=>nf,BIconFullscreen:()=>rf,BIconFullscreenExit:()=>af,BIconFunnel:()=>of,BIconFunnelFill:()=>sf,BIconGear:()=>lf,BIconGearFill:()=>cf,BIconGearWide:()=>uf,BIconGearWideConnected:()=>df,BIconGem:()=>hf,BIconGenderAmbiguous:()=>ff,BIconGenderFemale:()=>pf,BIconGenderMale:()=>mf,BIconGenderTrans:()=>gf,BIconGeo:()=>vf,BIconGeoAlt:()=>yf,BIconGeoAltFill:()=>bf,BIconGeoFill:()=>_f,BIconGift:()=>If,BIconGiftFill:()=>Tf,BIconGithub:()=>wf,BIconGlobe:()=>Ef,BIconGlobe2:()=>Mf,BIconGoogle:()=>kf,BIconGraphDown:()=>Sf,BIconGraphUp:()=>Pf,BIconGrid:()=>Af,BIconGrid1x2:()=>xf,BIconGrid1x2Fill:()=>Bf,BIconGrid3x2:()=>Lf,BIconGrid3x2Gap:()=>Of,BIconGrid3x2GapFill:()=>Cf,BIconGrid3x3:()=>Df,BIconGrid3x3Gap:()=>Rf,BIconGrid3x3GapFill:()=>Ff,BIconGridFill:()=>zf,BIconGripHorizontal:()=>Nf,BIconGripVertical:()=>Hf,BIconHammer:()=>Vf,BIconHandIndex:()=>Yf,BIconHandIndexFill:()=>jf,BIconHandIndexThumb:()=>Uf,BIconHandIndexThumbFill:()=>$f,BIconHandThumbsDown:()=>Gf,BIconHandThumbsDownFill:()=>Wf,BIconHandThumbsUp:()=>qf,BIconHandThumbsUpFill:()=>Kf,BIconHandbag:()=>Xf,BIconHandbagFill:()=>Jf,BIconHash:()=>Zf,BIconHdd:()=>Qf,BIconHddFill:()=>ep,BIconHddNetwork:()=>tp,BIconHddNetworkFill:()=>np,BIconHddRack:()=>rp,BIconHddRackFill:()=>ap,BIconHddStack:()=>ip,BIconHddStackFill:()=>op,BIconHeadphones:()=>sp,BIconHeadset:()=>lp,BIconHeadsetVr:()=>cp,BIconHeart:()=>up,BIconHeartFill:()=>dp,BIconHeartHalf:()=>hp,BIconHeptagon:()=>fp,BIconHeptagonFill:()=>pp,BIconHeptagonHalf:()=>mp,BIconHexagon:()=>gp,BIconHexagonFill:()=>vp,BIconHexagonHalf:()=>yp,BIconHourglass:()=>bp,BIconHourglassBottom:()=>_p,BIconHourglassSplit:()=>Ip,BIconHourglassTop:()=>Tp,BIconHouse:()=>wp,BIconHouseDoor:()=>Ep,BIconHouseDoorFill:()=>Mp,BIconHouseFill:()=>kp,BIconHr:()=>Sp,BIconHurricane:()=>Pp,BIconImage:()=>Ap,BIconImageAlt:()=>xp,BIconImageFill:()=>Bp,BIconImages:()=>Lp,BIconInbox:()=>Op,BIconInboxFill:()=>Cp,BIconInboxes:()=>Dp,BIconInboxesFill:()=>Rp,BIconInfo:()=>Fp,BIconInfoCircle:()=>zp,BIconInfoCircleFill:()=>Np,BIconInfoLg:()=>Hp,BIconInfoSquare:()=>Vp,BIconInfoSquareFill:()=>Yp,BIconInputCursor:()=>jp,BIconInputCursorText:()=>Up,BIconInstagram:()=>$p,BIconIntersect:()=>Gp,BIconJournal:()=>Wp,BIconJournalAlbum:()=>qp,BIconJournalArrowDown:()=>Kp,BIconJournalArrowUp:()=>Xp,BIconJournalBookmark:()=>Jp,BIconJournalBookmarkFill:()=>Zp,BIconJournalCheck:()=>Qp,BIconJournalCode:()=>em,BIconJournalMedical:()=>tm,BIconJournalMinus:()=>nm,BIconJournalPlus:()=>rm,BIconJournalRichtext:()=>am,BIconJournalText:()=>im,BIconJournalX:()=>om,BIconJournals:()=>sm,BIconJoystick:()=>lm,BIconJustify:()=>cm,BIconJustifyLeft:()=>um,BIconJustifyRight:()=>dm,BIconKanban:()=>hm,BIconKanbanFill:()=>fm,BIconKey:()=>pm,BIconKeyFill:()=>mm,BIconKeyboard:()=>gm,BIconKeyboardFill:()=>vm,BIconLadder:()=>ym,BIconLamp:()=>bm,BIconLampFill:()=>_m,BIconLaptop:()=>Im,BIconLaptopFill:()=>Tm,BIconLayerBackward:()=>wm,BIconLayerForward:()=>Em,BIconLayers:()=>Mm,BIconLayersFill:()=>km,BIconLayersHalf:()=>Sm,BIconLayoutSidebar:()=>Pm,BIconLayoutSidebarInset:()=>Am,BIconLayoutSidebarInsetReverse:()=>xm,BIconLayoutSidebarReverse:()=>Bm,BIconLayoutSplit:()=>Lm,BIconLayoutTextSidebar:()=>Om,BIconLayoutTextSidebarReverse:()=>Cm,BIconLayoutTextWindow:()=>Dm,BIconLayoutTextWindowReverse:()=>Rm,BIconLayoutThreeColumns:()=>Fm,BIconLayoutWtf:()=>zm,BIconLifePreserver:()=>Nm,BIconLightbulb:()=>Hm,BIconLightbulbFill:()=>Vm,BIconLightbulbOff:()=>Ym,BIconLightbulbOffFill:()=>jm,BIconLightning:()=>Um,BIconLightningCharge:()=>$m,BIconLightningChargeFill:()=>Gm,BIconLightningFill:()=>Wm,BIconLink:()=>qm,BIconLink45deg:()=>Km,BIconLinkedin:()=>Xm,BIconList:()=>Jm,BIconListCheck:()=>Zm,BIconListNested:()=>Qm,BIconListOl:()=>eg,BIconListStars:()=>tg,BIconListTask:()=>ng,BIconListUl:()=>rg,BIconLock:()=>ag,BIconLockFill:()=>ig,BIconMailbox:()=>og,BIconMailbox2:()=>sg,BIconMap:()=>lg,BIconMapFill:()=>cg,BIconMarkdown:()=>ug,BIconMarkdownFill:()=>dg,BIconMask:()=>hg,BIconMastodon:()=>fg,BIconMegaphone:()=>pg,BIconMegaphoneFill:()=>mg,BIconMenuApp:()=>gg,BIconMenuAppFill:()=>vg,BIconMenuButton:()=>yg,BIconMenuButtonFill:()=>bg,BIconMenuButtonWide:()=>_g,BIconMenuButtonWideFill:()=>Ig,BIconMenuDown:()=>Tg,BIconMenuUp:()=>wg,BIconMessenger:()=>Eg,BIconMic:()=>Mg,BIconMicFill:()=>kg,BIconMicMute:()=>Sg,BIconMicMuteFill:()=>Pg,BIconMinecart:()=>Ag,BIconMinecartLoaded:()=>xg,BIconMoisture:()=>Bg,BIconMoon:()=>Lg,BIconMoonFill:()=>Og,BIconMoonStars:()=>Cg,BIconMoonStarsFill:()=>Dg,BIconMouse:()=>Rg,BIconMouse2:()=>Fg,BIconMouse2Fill:()=>zg,BIconMouse3:()=>Ng,BIconMouse3Fill:()=>Hg,BIconMouseFill:()=>Vg,BIconMusicNote:()=>Yg,BIconMusicNoteBeamed:()=>jg,BIconMusicNoteList:()=>Ug,BIconMusicPlayer:()=>$g,BIconMusicPlayerFill:()=>Gg,BIconNewspaper:()=>Wg,BIconNodeMinus:()=>qg,BIconNodeMinusFill:()=>Kg,BIconNodePlus:()=>Xg,BIconNodePlusFill:()=>Jg,BIconNut:()=>Zg,BIconNutFill:()=>Qg,BIconOctagon:()=>ev,BIconOctagonFill:()=>tv,BIconOctagonHalf:()=>nv,BIconOption:()=>rv,BIconOutlet:()=>av,BIconPaintBucket:()=>iv,BIconPalette:()=>ov,BIconPalette2:()=>sv,BIconPaletteFill:()=>lv,BIconPaperclip:()=>cv,BIconParagraph:()=>uv,BIconPatchCheck:()=>dv,BIconPatchCheckFill:()=>hv,BIconPatchExclamation:()=>fv,BIconPatchExclamationFill:()=>pv,BIconPatchMinus:()=>mv,BIconPatchMinusFill:()=>gv,BIconPatchPlus:()=>vv,BIconPatchPlusFill:()=>yv,BIconPatchQuestion:()=>bv,BIconPatchQuestionFill:()=>_v,BIconPause:()=>Iv,BIconPauseBtn:()=>Tv,BIconPauseBtnFill:()=>wv,BIconPauseCircle:()=>Ev,BIconPauseCircleFill:()=>Mv,BIconPauseFill:()=>kv,BIconPeace:()=>Sv,BIconPeaceFill:()=>Pv,BIconPen:()=>Av,BIconPenFill:()=>xv,BIconPencil:()=>Bv,BIconPencilFill:()=>Lv,BIconPencilSquare:()=>Ov,BIconPentagon:()=>Cv,BIconPentagonFill:()=>Dv,BIconPentagonHalf:()=>Rv,BIconPeople:()=>Fv,BIconPeopleFill:()=>zv,BIconPercent:()=>Nv,BIconPerson:()=>Hv,BIconPersonBadge:()=>Vv,BIconPersonBadgeFill:()=>Yv,BIconPersonBoundingBox:()=>jv,BIconPersonCheck:()=>Uv,BIconPersonCheckFill:()=>$v,BIconPersonCircle:()=>Gv,BIconPersonDash:()=>Wv,BIconPersonDashFill:()=>qv,BIconPersonFill:()=>Kv,BIconPersonLinesFill:()=>Xv,BIconPersonPlus:()=>Jv,BIconPersonPlusFill:()=>Zv,BIconPersonSquare:()=>Qv,BIconPersonX:()=>ey,BIconPersonXFill:()=>ty,BIconPhone:()=>ny,BIconPhoneFill:()=>ry,BIconPhoneLandscape:()=>ay,BIconPhoneLandscapeFill:()=>iy,BIconPhoneVibrate:()=>oy,BIconPhoneVibrateFill:()=>sy,BIconPieChart:()=>ly,BIconPieChartFill:()=>cy,BIconPiggyBank:()=>uy,BIconPiggyBankFill:()=>dy,BIconPin:()=>hy,BIconPinAngle:()=>fy,BIconPinAngleFill:()=>py,BIconPinFill:()=>my,BIconPinMap:()=>gy,BIconPinMapFill:()=>vy,BIconPip:()=>yy,BIconPipFill:()=>by,BIconPlay:()=>_y,BIconPlayBtn:()=>Iy,BIconPlayBtnFill:()=>Ty,BIconPlayCircle:()=>wy,BIconPlayCircleFill:()=>Ey,BIconPlayFill:()=>My,BIconPlug:()=>ky,BIconPlugFill:()=>Sy,BIconPlus:()=>Py,BIconPlusCircle:()=>Ay,BIconPlusCircleDotted:()=>xy,BIconPlusCircleFill:()=>By,BIconPlusLg:()=>Ly,BIconPlusSquare:()=>Oy,BIconPlusSquareDotted:()=>Cy,BIconPlusSquareFill:()=>Dy,BIconPower:()=>Ry,BIconPrinter:()=>Fy,BIconPrinterFill:()=>zy,BIconPuzzle:()=>Ny,BIconPuzzleFill:()=>Hy,BIconQuestion:()=>Vy,BIconQuestionCircle:()=>Yy,BIconQuestionCircleFill:()=>jy,BIconQuestionDiamond:()=>Uy,BIconQuestionDiamondFill:()=>$y,BIconQuestionLg:()=>Gy,BIconQuestionOctagon:()=>Wy,BIconQuestionOctagonFill:()=>qy,BIconQuestionSquare:()=>Ky,BIconQuestionSquareFill:()=>Xy,BIconRainbow:()=>Jy,BIconReceipt:()=>Zy,BIconReceiptCutoff:()=>Qy,BIconReception0:()=>eb,BIconReception1:()=>tb,BIconReception2:()=>nb,BIconReception3:()=>rb,BIconReception4:()=>ab,BIconRecord:()=>ib,BIconRecord2:()=>ob,BIconRecord2Fill:()=>sb,BIconRecordBtn:()=>lb,BIconRecordBtnFill:()=>cb,BIconRecordCircle:()=>ub,BIconRecordCircleFill:()=>db,BIconRecordFill:()=>hb,BIconRecycle:()=>fb,BIconReddit:()=>pb,BIconReply:()=>mb,BIconReplyAll:()=>gb,BIconReplyAllFill:()=>vb,BIconReplyFill:()=>yb,BIconRss:()=>bb,BIconRssFill:()=>_b,BIconRulers:()=>Ib,BIconSafe:()=>Tb,BIconSafe2:()=>wb,BIconSafe2Fill:()=>Eb,BIconSafeFill:()=>Mb,BIconSave:()=>kb,BIconSave2:()=>Sb,BIconSave2Fill:()=>Pb,BIconSaveFill:()=>Ab,BIconScissors:()=>xb,BIconScrewdriver:()=>Bb,BIconSdCard:()=>Lb,BIconSdCardFill:()=>Ob,BIconSearch:()=>Cb,BIconSegmentedNav:()=>Db,BIconServer:()=>Rb,BIconShare:()=>Fb,BIconShareFill:()=>zb,BIconShield:()=>Nb,BIconShieldCheck:()=>Hb,BIconShieldExclamation:()=>Vb,BIconShieldFill:()=>Yb,BIconShieldFillCheck:()=>jb,BIconShieldFillExclamation:()=>Ub,BIconShieldFillMinus:()=>$b,BIconShieldFillPlus:()=>Gb,BIconShieldFillX:()=>Wb,BIconShieldLock:()=>qb,BIconShieldLockFill:()=>Kb,BIconShieldMinus:()=>Xb,BIconShieldPlus:()=>Jb,BIconShieldShaded:()=>Zb,BIconShieldSlash:()=>Qb,BIconShieldSlashFill:()=>e_,BIconShieldX:()=>t_,BIconShift:()=>n_,BIconShiftFill:()=>r_,BIconShop:()=>a_,BIconShopWindow:()=>i_,BIconShuffle:()=>o_,BIconSignpost:()=>s_,BIconSignpost2:()=>l_,BIconSignpost2Fill:()=>c_,BIconSignpostFill:()=>u_,BIconSignpostSplit:()=>d_,BIconSignpostSplitFill:()=>h_,BIconSim:()=>f_,BIconSimFill:()=>p_,BIconSkipBackward:()=>m_,BIconSkipBackwardBtn:()=>g_,BIconSkipBackwardBtnFill:()=>v_,BIconSkipBackwardCircle:()=>y_,BIconSkipBackwardCircleFill:()=>b_,BIconSkipBackwardFill:()=>__,BIconSkipEnd:()=>I_,BIconSkipEndBtn:()=>T_,BIconSkipEndBtnFill:()=>w_,BIconSkipEndCircle:()=>E_,BIconSkipEndCircleFill:()=>M_,BIconSkipEndFill:()=>k_,BIconSkipForward:()=>S_,BIconSkipForwardBtn:()=>P_,BIconSkipForwardBtnFill:()=>A_,BIconSkipForwardCircle:()=>x_,BIconSkipForwardCircleFill:()=>B_,BIconSkipForwardFill:()=>L_,BIconSkipStart:()=>O_,BIconSkipStartBtn:()=>C_,BIconSkipStartBtnFill:()=>D_,BIconSkipStartCircle:()=>R_,BIconSkipStartCircleFill:()=>F_,BIconSkipStartFill:()=>z_,BIconSkype:()=>N_,BIconSlack:()=>H_,BIconSlash:()=>V_,BIconSlashCircle:()=>Y_,BIconSlashCircleFill:()=>j_,BIconSlashLg:()=>U_,BIconSlashSquare:()=>$_,BIconSlashSquareFill:()=>G_,BIconSliders:()=>W_,BIconSmartwatch:()=>q_,BIconSnow:()=>K_,BIconSnow2:()=>X_,BIconSnow3:()=>J_,BIconSortAlphaDown:()=>Z_,BIconSortAlphaDownAlt:()=>Q_,BIconSortAlphaUp:()=>eI,BIconSortAlphaUpAlt:()=>tI,BIconSortDown:()=>nI,BIconSortDownAlt:()=>rI,BIconSortNumericDown:()=>aI,BIconSortNumericDownAlt:()=>iI,BIconSortNumericUp:()=>oI,BIconSortNumericUpAlt:()=>sI,BIconSortUp:()=>lI,BIconSortUpAlt:()=>cI,BIconSoundwave:()=>uI,BIconSpeaker:()=>dI,BIconSpeakerFill:()=>hI,BIconSpeedometer:()=>fI,BIconSpeedometer2:()=>pI,BIconSpellcheck:()=>mI,BIconSquare:()=>gI,BIconSquareFill:()=>vI,BIconSquareHalf:()=>yI,BIconStack:()=>bI,BIconStar:()=>_I,BIconStarFill:()=>II,BIconStarHalf:()=>TI,BIconStars:()=>wI,BIconStickies:()=>EI,BIconStickiesFill:()=>MI,BIconSticky:()=>kI,BIconStickyFill:()=>SI,BIconStop:()=>PI,BIconStopBtn:()=>AI,BIconStopBtnFill:()=>xI,BIconStopCircle:()=>BI,BIconStopCircleFill:()=>LI,BIconStopFill:()=>OI,BIconStoplights:()=>CI,BIconStoplightsFill:()=>DI,BIconStopwatch:()=>RI,BIconStopwatchFill:()=>FI,BIconSubtract:()=>zI,BIconSuitClub:()=>NI,BIconSuitClubFill:()=>HI,BIconSuitDiamond:()=>VI,BIconSuitDiamondFill:()=>YI,BIconSuitHeart:()=>jI,BIconSuitHeartFill:()=>UI,BIconSuitSpade:()=>$I,BIconSuitSpadeFill:()=>GI,BIconSun:()=>WI,BIconSunFill:()=>qI,BIconSunglasses:()=>KI,BIconSunrise:()=>XI,BIconSunriseFill:()=>JI,BIconSunset:()=>ZI,BIconSunsetFill:()=>QI,BIconSymmetryHorizontal:()=>eT,BIconSymmetryVertical:()=>tT,BIconTable:()=>nT,BIconTablet:()=>rT,BIconTabletFill:()=>aT,BIconTabletLandscape:()=>iT,BIconTabletLandscapeFill:()=>oT,BIconTag:()=>sT,BIconTagFill:()=>lT,BIconTags:()=>cT,BIconTagsFill:()=>uT,BIconTelegram:()=>dT,BIconTelephone:()=>hT,BIconTelephoneFill:()=>fT,BIconTelephoneForward:()=>pT,BIconTelephoneForwardFill:()=>mT,BIconTelephoneInbound:()=>gT,BIconTelephoneInboundFill:()=>vT,BIconTelephoneMinus:()=>yT,BIconTelephoneMinusFill:()=>bT,BIconTelephoneOutbound:()=>_T,BIconTelephoneOutboundFill:()=>IT,BIconTelephonePlus:()=>TT,BIconTelephonePlusFill:()=>wT,BIconTelephoneX:()=>ET,BIconTelephoneXFill:()=>MT,BIconTerminal:()=>kT,BIconTerminalFill:()=>ST,BIconTextCenter:()=>PT,BIconTextIndentLeft:()=>AT,BIconTextIndentRight:()=>xT,BIconTextLeft:()=>BT,BIconTextParagraph:()=>LT,BIconTextRight:()=>OT,BIconTextarea:()=>CT,BIconTextareaResize:()=>DT,BIconTextareaT:()=>RT,BIconThermometer:()=>FT,BIconThermometerHalf:()=>zT,BIconThermometerHigh:()=>NT,BIconThermometerLow:()=>HT,BIconThermometerSnow:()=>VT,BIconThermometerSun:()=>YT,BIconThreeDots:()=>jT,BIconThreeDotsVertical:()=>UT,BIconToggle2Off:()=>$T,BIconToggle2On:()=>GT,BIconToggleOff:()=>WT,BIconToggleOn:()=>qT,BIconToggles:()=>KT,BIconToggles2:()=>XT,BIconTools:()=>JT,BIconTornado:()=>ZT,BIconTranslate:()=>QT,BIconTrash:()=>ew,BIconTrash2:()=>tw,BIconTrash2Fill:()=>nw,BIconTrashFill:()=>rw,BIconTree:()=>aw,BIconTreeFill:()=>iw,BIconTriangle:()=>ow,BIconTriangleFill:()=>sw,BIconTriangleHalf:()=>lw,BIconTrophy:()=>cw,BIconTrophyFill:()=>uw,BIconTropicalStorm:()=>dw,BIconTruck:()=>hw,BIconTruckFlatbed:()=>fw,BIconTsunami:()=>pw,BIconTv:()=>mw,BIconTvFill:()=>gw,BIconTwitch:()=>vw,BIconTwitter:()=>yw,BIconType:()=>bw,BIconTypeBold:()=>_w,BIconTypeH1:()=>Iw,BIconTypeH2:()=>Tw,BIconTypeH3:()=>ww,BIconTypeItalic:()=>Ew,BIconTypeStrikethrough:()=>Mw,BIconTypeUnderline:()=>kw,BIconUiChecks:()=>Sw,BIconUiChecksGrid:()=>Pw,BIconUiRadios:()=>Aw,BIconUiRadiosGrid:()=>xw,BIconUmbrella:()=>Bw,BIconUmbrellaFill:()=>Lw,BIconUnion:()=>Ow,BIconUnlock:()=>Cw,BIconUnlockFill:()=>Dw,BIconUpc:()=>Rw,BIconUpcScan:()=>Fw,BIconUpload:()=>zw,BIconVectorPen:()=>Nw,BIconViewList:()=>Hw,BIconViewStacked:()=>Vw,BIconVinyl:()=>Yw,BIconVinylFill:()=>jw,BIconVoicemail:()=>Uw,BIconVolumeDown:()=>$w,BIconVolumeDownFill:()=>Gw,BIconVolumeMute:()=>Ww,BIconVolumeMuteFill:()=>qw,BIconVolumeOff:()=>Kw,BIconVolumeOffFill:()=>Xw,BIconVolumeUp:()=>Jw,BIconVolumeUpFill:()=>Zw,BIconVr:()=>Qw,BIconWallet:()=>eE,BIconWallet2:()=>tE,BIconWalletFill:()=>nE,BIconWatch:()=>rE,BIconWater:()=>aE,BIconWhatsapp:()=>iE,BIconWifi:()=>oE,BIconWifi1:()=>sE,BIconWifi2:()=>lE,BIconWifiOff:()=>cE,BIconWind:()=>uE,BIconWindow:()=>dE,BIconWindowDock:()=>hE,BIconWindowSidebar:()=>fE,BIconWrench:()=>pE,BIconX:()=>mE,BIconXCircle:()=>gE,BIconXCircleFill:()=>vE,BIconXDiamond:()=>yE,BIconXDiamondFill:()=>bE,BIconXLg:()=>_E,BIconXOctagon:()=>IE,BIconXOctagonFill:()=>TE,BIconXSquare:()=>wE,BIconXSquareFill:()=>EE,BIconYoutube:()=>ME,BIconZoomIn:()=>kE,BIconZoomOut:()=>SE});var r=n(1999),a=(0,r.makeIcon)("Blank",""),i=(0,r.makeIcon)("Alarm",''),o=(0,r.makeIcon)("AlarmFill",''),s=(0,r.makeIcon)("AlignBottom",''),l=(0,r.makeIcon)("AlignCenter",''),c=(0,r.makeIcon)("AlignEnd",''),u=(0,r.makeIcon)("AlignMiddle",''),d=(0,r.makeIcon)("AlignStart",''),h=(0,r.makeIcon)("AlignTop",''),f=(0,r.makeIcon)("Alt",''),p=(0,r.makeIcon)("App",''),m=(0,r.makeIcon)("AppIndicator",''),g=(0,r.makeIcon)("Archive",''),v=(0,r.makeIcon)("ArchiveFill",''),y=(0,r.makeIcon)("Arrow90degDown",''),b=(0,r.makeIcon)("Arrow90degLeft",''),_=(0,r.makeIcon)("Arrow90degRight",''),I=(0,r.makeIcon)("Arrow90degUp",''),T=(0,r.makeIcon)("ArrowBarDown",''),w=(0,r.makeIcon)("ArrowBarLeft",''),E=(0,r.makeIcon)("ArrowBarRight",''),M=(0,r.makeIcon)("ArrowBarUp",''),k=(0,r.makeIcon)("ArrowClockwise",''),S=(0,r.makeIcon)("ArrowCounterclockwise",''),P=(0,r.makeIcon)("ArrowDown",''),A=(0,r.makeIcon)("ArrowDownCircle",''),x=(0,r.makeIcon)("ArrowDownCircleFill",''),B=(0,r.makeIcon)("ArrowDownLeft",''),L=(0,r.makeIcon)("ArrowDownLeftCircle",''),O=(0,r.makeIcon)("ArrowDownLeftCircleFill",''),C=(0,r.makeIcon)("ArrowDownLeftSquare",''),D=(0,r.makeIcon)("ArrowDownLeftSquareFill",''),R=(0,r.makeIcon)("ArrowDownRight",''),F=(0,r.makeIcon)("ArrowDownRightCircle",''),z=(0,r.makeIcon)("ArrowDownRightCircleFill",''),N=(0,r.makeIcon)("ArrowDownRightSquare",''),H=(0,r.makeIcon)("ArrowDownRightSquareFill",''),V=(0,r.makeIcon)("ArrowDownShort",''),Y=(0,r.makeIcon)("ArrowDownSquare",''),j=(0,r.makeIcon)("ArrowDownSquareFill",''),U=(0,r.makeIcon)("ArrowDownUp",''),$=(0,r.makeIcon)("ArrowLeft",''),G=(0,r.makeIcon)("ArrowLeftCircle",''),W=(0,r.makeIcon)("ArrowLeftCircleFill",''),q=(0,r.makeIcon)("ArrowLeftRight",''),K=(0,r.makeIcon)("ArrowLeftShort",''),X=(0,r.makeIcon)("ArrowLeftSquare",''),J=(0,r.makeIcon)("ArrowLeftSquareFill",''),Z=(0,r.makeIcon)("ArrowRepeat",''),Q=(0,r.makeIcon)("ArrowReturnLeft",''),ee=(0,r.makeIcon)("ArrowReturnRight",''),te=(0,r.makeIcon)("ArrowRight",''),ne=(0,r.makeIcon)("ArrowRightCircle",''),re=(0,r.makeIcon)("ArrowRightCircleFill",''),ae=(0,r.makeIcon)("ArrowRightShort",''),ie=(0,r.makeIcon)("ArrowRightSquare",''),oe=(0,r.makeIcon)("ArrowRightSquareFill",''),se=(0,r.makeIcon)("ArrowUp",''),le=(0,r.makeIcon)("ArrowUpCircle",''),ce=(0,r.makeIcon)("ArrowUpCircleFill",''),ue=(0,r.makeIcon)("ArrowUpLeft",''),de=(0,r.makeIcon)("ArrowUpLeftCircle",''),he=(0,r.makeIcon)("ArrowUpLeftCircleFill",''),fe=(0,r.makeIcon)("ArrowUpLeftSquare",''),pe=(0,r.makeIcon)("ArrowUpLeftSquareFill",''),me=(0,r.makeIcon)("ArrowUpRight",''),ge=(0,r.makeIcon)("ArrowUpRightCircle",''),ve=(0,r.makeIcon)("ArrowUpRightCircleFill",''),ye=(0,r.makeIcon)("ArrowUpRightSquare",''),be=(0,r.makeIcon)("ArrowUpRightSquareFill",''),_e=(0,r.makeIcon)("ArrowUpShort",''),Ie=(0,r.makeIcon)("ArrowUpSquare",''),Te=(0,r.makeIcon)("ArrowUpSquareFill",''),we=(0,r.makeIcon)("ArrowsAngleContract",''),Ee=(0,r.makeIcon)("ArrowsAngleExpand",''),Me=(0,r.makeIcon)("ArrowsCollapse",''),ke=(0,r.makeIcon)("ArrowsExpand",''),Se=(0,r.makeIcon)("ArrowsFullscreen",''),Pe=(0,r.makeIcon)("ArrowsMove",''),Ae=(0,r.makeIcon)("AspectRatio",''),xe=(0,r.makeIcon)("AspectRatioFill",''),Be=(0,r.makeIcon)("Asterisk",''),Le=(0,r.makeIcon)("At",''),Oe=(0,r.makeIcon)("Award",''),Ce=(0,r.makeIcon)("AwardFill",''),De=(0,r.makeIcon)("Back",''),Re=(0,r.makeIcon)("Backspace",''),Fe=(0,r.makeIcon)("BackspaceFill",''),ze=(0,r.makeIcon)("BackspaceReverse",''),Ne=(0,r.makeIcon)("BackspaceReverseFill",''),He=(0,r.makeIcon)("Badge3d",''),Ve=(0,r.makeIcon)("Badge3dFill",''),Ye=(0,r.makeIcon)("Badge4k",''),je=(0,r.makeIcon)("Badge4kFill",''),Ue=(0,r.makeIcon)("Badge8k",''),$e=(0,r.makeIcon)("Badge8kFill",''),Ge=(0,r.makeIcon)("BadgeAd",''),We=(0,r.makeIcon)("BadgeAdFill",''),qe=(0,r.makeIcon)("BadgeAr",''),Ke=(0,r.makeIcon)("BadgeArFill",''),Xe=(0,r.makeIcon)("BadgeCc",''),Je=(0,r.makeIcon)("BadgeCcFill",''),Ze=(0,r.makeIcon)("BadgeHd",''),Qe=(0,r.makeIcon)("BadgeHdFill",''),et=(0,r.makeIcon)("BadgeTm",''),tt=(0,r.makeIcon)("BadgeTmFill",''),nt=(0,r.makeIcon)("BadgeVo",''),rt=(0,r.makeIcon)("BadgeVoFill",''),at=(0,r.makeIcon)("BadgeVr",''),it=(0,r.makeIcon)("BadgeVrFill",''),ot=(0,r.makeIcon)("BadgeWc",''),st=(0,r.makeIcon)("BadgeWcFill",''),lt=(0,r.makeIcon)("Bag",''),ct=(0,r.makeIcon)("BagCheck",''),ut=(0,r.makeIcon)("BagCheckFill",''),dt=(0,r.makeIcon)("BagDash",''),ht=(0,r.makeIcon)("BagDashFill",''),ft=(0,r.makeIcon)("BagFill",''),pt=(0,r.makeIcon)("BagPlus",''),mt=(0,r.makeIcon)("BagPlusFill",''),gt=(0,r.makeIcon)("BagX",''),vt=(0,r.makeIcon)("BagXFill",''),yt=(0,r.makeIcon)("Bank",''),bt=(0,r.makeIcon)("Bank2",''),_t=(0,r.makeIcon)("BarChart",''),It=(0,r.makeIcon)("BarChartFill",''),Tt=(0,r.makeIcon)("BarChartLine",''),wt=(0,r.makeIcon)("BarChartLineFill",''),Et=(0,r.makeIcon)("BarChartSteps",''),Mt=(0,r.makeIcon)("Basket",''),kt=(0,r.makeIcon)("Basket2",''),St=(0,r.makeIcon)("Basket2Fill",''),Pt=(0,r.makeIcon)("Basket3",''),At=(0,r.makeIcon)("Basket3Fill",''),xt=(0,r.makeIcon)("BasketFill",''),Bt=(0,r.makeIcon)("Battery",''),Lt=(0,r.makeIcon)("BatteryCharging",''),Ot=(0,r.makeIcon)("BatteryFull",''),Ct=(0,r.makeIcon)("BatteryHalf",''),Dt=(0,r.makeIcon)("Bell",''),Rt=(0,r.makeIcon)("BellFill",''),Ft=(0,r.makeIcon)("BellSlash",''),zt=(0,r.makeIcon)("BellSlashFill",''),Nt=(0,r.makeIcon)("Bezier",''),Ht=(0,r.makeIcon)("Bezier2",''),Vt=(0,r.makeIcon)("Bicycle",''),Yt=(0,r.makeIcon)("Binoculars",''),jt=(0,r.makeIcon)("BinocularsFill",''),Ut=(0,r.makeIcon)("BlockquoteLeft",''),$t=(0,r.makeIcon)("BlockquoteRight",''),Gt=(0,r.makeIcon)("Book",''),Wt=(0,r.makeIcon)("BookFill",''),qt=(0,r.makeIcon)("BookHalf",''),Kt=(0,r.makeIcon)("Bookmark",''),Xt=(0,r.makeIcon)("BookmarkCheck",''),Jt=(0,r.makeIcon)("BookmarkCheckFill",''),Zt=(0,r.makeIcon)("BookmarkDash",''),Qt=(0,r.makeIcon)("BookmarkDashFill",''),en=(0,r.makeIcon)("BookmarkFill",''),tn=(0,r.makeIcon)("BookmarkHeart",''),nn=(0,r.makeIcon)("BookmarkHeartFill",''),rn=(0,r.makeIcon)("BookmarkPlus",''),an=(0,r.makeIcon)("BookmarkPlusFill",''),on=(0,r.makeIcon)("BookmarkStar",''),sn=(0,r.makeIcon)("BookmarkStarFill",''),ln=(0,r.makeIcon)("BookmarkX",''),cn=(0,r.makeIcon)("BookmarkXFill",''),un=(0,r.makeIcon)("Bookmarks",''),dn=(0,r.makeIcon)("BookmarksFill",''),hn=(0,r.makeIcon)("Bookshelf",''),fn=(0,r.makeIcon)("Bootstrap",''),pn=(0,r.makeIcon)("BootstrapFill",''),mn=(0,r.makeIcon)("BootstrapReboot",''),gn=(0,r.makeIcon)("Border",''),vn=(0,r.makeIcon)("BorderAll",''),yn=(0,r.makeIcon)("BorderBottom",''),bn=(0,r.makeIcon)("BorderCenter",''),_n=(0,r.makeIcon)("BorderInner",''),In=(0,r.makeIcon)("BorderLeft",''),Tn=(0,r.makeIcon)("BorderMiddle",''),wn=(0,r.makeIcon)("BorderOuter",''),En=(0,r.makeIcon)("BorderRight",''),Mn=(0,r.makeIcon)("BorderStyle",''),kn=(0,r.makeIcon)("BorderTop",''),Sn=(0,r.makeIcon)("BorderWidth",''),Pn=(0,r.makeIcon)("BoundingBox",''),An=(0,r.makeIcon)("BoundingBoxCircles",''),xn=(0,r.makeIcon)("Box",''),Bn=(0,r.makeIcon)("BoxArrowDown",''),Ln=(0,r.makeIcon)("BoxArrowDownLeft",''),On=(0,r.makeIcon)("BoxArrowDownRight",''),Cn=(0,r.makeIcon)("BoxArrowInDown",''),Dn=(0,r.makeIcon)("BoxArrowInDownLeft",''),Rn=(0,r.makeIcon)("BoxArrowInDownRight",''),Fn=(0,r.makeIcon)("BoxArrowInLeft",''),zn=(0,r.makeIcon)("BoxArrowInRight",''),Nn=(0,r.makeIcon)("BoxArrowInUp",''),Hn=(0,r.makeIcon)("BoxArrowInUpLeft",''),Vn=(0,r.makeIcon)("BoxArrowInUpRight",''),Yn=(0,r.makeIcon)("BoxArrowLeft",''),jn=(0,r.makeIcon)("BoxArrowRight",''),Un=(0,r.makeIcon)("BoxArrowUp",''),$n=(0,r.makeIcon)("BoxArrowUpLeft",''),Gn=(0,r.makeIcon)("BoxArrowUpRight",''),Wn=(0,r.makeIcon)("BoxSeam",''),qn=(0,r.makeIcon)("Braces",''),Kn=(0,r.makeIcon)("Bricks",''),Xn=(0,r.makeIcon)("Briefcase",''),Jn=(0,r.makeIcon)("BriefcaseFill",''),Zn=(0,r.makeIcon)("BrightnessAltHigh",''),Qn=(0,r.makeIcon)("BrightnessAltHighFill",''),er=(0,r.makeIcon)("BrightnessAltLow",''),tr=(0,r.makeIcon)("BrightnessAltLowFill",''),nr=(0,r.makeIcon)("BrightnessHigh",''),rr=(0,r.makeIcon)("BrightnessHighFill",''),ar=(0,r.makeIcon)("BrightnessLow",''),ir=(0,r.makeIcon)("BrightnessLowFill",''),or=(0,r.makeIcon)("Broadcast",''),sr=(0,r.makeIcon)("BroadcastPin",''),lr=(0,r.makeIcon)("Brush",''),cr=(0,r.makeIcon)("BrushFill",''),ur=(0,r.makeIcon)("Bucket",''),dr=(0,r.makeIcon)("BucketFill",''),hr=(0,r.makeIcon)("Bug",''),fr=(0,r.makeIcon)("BugFill",''),pr=(0,r.makeIcon)("Building",''),mr=(0,r.makeIcon)("Bullseye",''),gr=(0,r.makeIcon)("Calculator",''),vr=(0,r.makeIcon)("CalculatorFill",''),yr=(0,r.makeIcon)("Calendar",''),br=(0,r.makeIcon)("Calendar2",''),_r=(0,r.makeIcon)("Calendar2Check",''),Ir=(0,r.makeIcon)("Calendar2CheckFill",''),Tr=(0,r.makeIcon)("Calendar2Date",''),wr=(0,r.makeIcon)("Calendar2DateFill",''),Er=(0,r.makeIcon)("Calendar2Day",''),Mr=(0,r.makeIcon)("Calendar2DayFill",''),kr=(0,r.makeIcon)("Calendar2Event",''),Sr=(0,r.makeIcon)("Calendar2EventFill",''),Pr=(0,r.makeIcon)("Calendar2Fill",''),Ar=(0,r.makeIcon)("Calendar2Minus",''),xr=(0,r.makeIcon)("Calendar2MinusFill",''),Br=(0,r.makeIcon)("Calendar2Month",''),Lr=(0,r.makeIcon)("Calendar2MonthFill",''),Or=(0,r.makeIcon)("Calendar2Plus",''),Cr=(0,r.makeIcon)("Calendar2PlusFill",''),Dr=(0,r.makeIcon)("Calendar2Range",''),Rr=(0,r.makeIcon)("Calendar2RangeFill",''),Fr=(0,r.makeIcon)("Calendar2Week",''),zr=(0,r.makeIcon)("Calendar2WeekFill",''),Nr=(0,r.makeIcon)("Calendar2X",''),Hr=(0,r.makeIcon)("Calendar2XFill",''),Vr=(0,r.makeIcon)("Calendar3",''),Yr=(0,r.makeIcon)("Calendar3Event",''),jr=(0,r.makeIcon)("Calendar3EventFill",''),Ur=(0,r.makeIcon)("Calendar3Fill",''),$r=(0,r.makeIcon)("Calendar3Range",''),Gr=(0,r.makeIcon)("Calendar3RangeFill",''),Wr=(0,r.makeIcon)("Calendar3Week",''),qr=(0,r.makeIcon)("Calendar3WeekFill",''),Kr=(0,r.makeIcon)("Calendar4",''),Xr=(0,r.makeIcon)("Calendar4Event",''),Jr=(0,r.makeIcon)("Calendar4Range",''),Zr=(0,r.makeIcon)("Calendar4Week",''),Qr=(0,r.makeIcon)("CalendarCheck",''),ea=(0,r.makeIcon)("CalendarCheckFill",''),ta=(0,r.makeIcon)("CalendarDate",''),na=(0,r.makeIcon)("CalendarDateFill",''),ra=(0,r.makeIcon)("CalendarDay",''),aa=(0,r.makeIcon)("CalendarDayFill",''),ia=(0,r.makeIcon)("CalendarEvent",''),oa=(0,r.makeIcon)("CalendarEventFill",''),sa=(0,r.makeIcon)("CalendarFill",''),la=(0,r.makeIcon)("CalendarMinus",''),ca=(0,r.makeIcon)("CalendarMinusFill",''),ua=(0,r.makeIcon)("CalendarMonth",''),da=(0,r.makeIcon)("CalendarMonthFill",''),ha=(0,r.makeIcon)("CalendarPlus",''),fa=(0,r.makeIcon)("CalendarPlusFill",''),pa=(0,r.makeIcon)("CalendarRange",''),ma=(0,r.makeIcon)("CalendarRangeFill",''),ga=(0,r.makeIcon)("CalendarWeek",''),va=(0,r.makeIcon)("CalendarWeekFill",''),ya=(0,r.makeIcon)("CalendarX",''),ba=(0,r.makeIcon)("CalendarXFill",''),_a=(0,r.makeIcon)("Camera",''),Ia=(0,r.makeIcon)("Camera2",''),Ta=(0,r.makeIcon)("CameraFill",''),wa=(0,r.makeIcon)("CameraReels",''),Ea=(0,r.makeIcon)("CameraReelsFill",''),Ma=(0,r.makeIcon)("CameraVideo",''),ka=(0,r.makeIcon)("CameraVideoFill",''),Sa=(0,r.makeIcon)("CameraVideoOff",''),Pa=(0,r.makeIcon)("CameraVideoOffFill",''),Aa=(0,r.makeIcon)("Capslock",''),xa=(0,r.makeIcon)("CapslockFill",''),Ba=(0,r.makeIcon)("CardChecklist",''),La=(0,r.makeIcon)("CardHeading",''),Oa=(0,r.makeIcon)("CardImage",''),Ca=(0,r.makeIcon)("CardList",''),Da=(0,r.makeIcon)("CardText",''),Ra=(0,r.makeIcon)("CaretDown",''),Fa=(0,r.makeIcon)("CaretDownFill",''),za=(0,r.makeIcon)("CaretDownSquare",''),Na=(0,r.makeIcon)("CaretDownSquareFill",''),Ha=(0,r.makeIcon)("CaretLeft",''),Va=(0,r.makeIcon)("CaretLeftFill",''),Ya=(0,r.makeIcon)("CaretLeftSquare",''),ja=(0,r.makeIcon)("CaretLeftSquareFill",''),Ua=(0,r.makeIcon)("CaretRight",''),$a=(0,r.makeIcon)("CaretRightFill",''),Ga=(0,r.makeIcon)("CaretRightSquare",''),Wa=(0,r.makeIcon)("CaretRightSquareFill",''),qa=(0,r.makeIcon)("CaretUp",''),Ka=(0,r.makeIcon)("CaretUpFill",''),Xa=(0,r.makeIcon)("CaretUpSquare",''),Ja=(0,r.makeIcon)("CaretUpSquareFill",''),Za=(0,r.makeIcon)("Cart",''),Qa=(0,r.makeIcon)("Cart2",''),ei=(0,r.makeIcon)("Cart3",''),ti=(0,r.makeIcon)("Cart4",''),ni=(0,r.makeIcon)("CartCheck",''),ri=(0,r.makeIcon)("CartCheckFill",''),ai=(0,r.makeIcon)("CartDash",''),ii=(0,r.makeIcon)("CartDashFill",''),oi=(0,r.makeIcon)("CartFill",''),si=(0,r.makeIcon)("CartPlus",''),li=(0,r.makeIcon)("CartPlusFill",''),ci=(0,r.makeIcon)("CartX",''),ui=(0,r.makeIcon)("CartXFill",''),di=(0,r.makeIcon)("Cash",''),hi=(0,r.makeIcon)("CashCoin",''),fi=(0,r.makeIcon)("CashStack",''),pi=(0,r.makeIcon)("Cast",''),mi=(0,r.makeIcon)("Chat",''),gi=(0,r.makeIcon)("ChatDots",''),vi=(0,r.makeIcon)("ChatDotsFill",''),yi=(0,r.makeIcon)("ChatFill",''),bi=(0,r.makeIcon)("ChatLeft",''),_i=(0,r.makeIcon)("ChatLeftDots",''),Ii=(0,r.makeIcon)("ChatLeftDotsFill",''),Ti=(0,r.makeIcon)("ChatLeftFill",''),wi=(0,r.makeIcon)("ChatLeftQuote",''),Ei=(0,r.makeIcon)("ChatLeftQuoteFill",''),Mi=(0,r.makeIcon)("ChatLeftText",''),ki=(0,r.makeIcon)("ChatLeftTextFill",''),Si=(0,r.makeIcon)("ChatQuote",''),Pi=(0,r.makeIcon)("ChatQuoteFill",''),Ai=(0,r.makeIcon)("ChatRight",''),xi=(0,r.makeIcon)("ChatRightDots",''),Bi=(0,r.makeIcon)("ChatRightDotsFill",''),Li=(0,r.makeIcon)("ChatRightFill",''),Oi=(0,r.makeIcon)("ChatRightQuote",''),Ci=(0,r.makeIcon)("ChatRightQuoteFill",''),Di=(0,r.makeIcon)("ChatRightText",''),Ri=(0,r.makeIcon)("ChatRightTextFill",''),Fi=(0,r.makeIcon)("ChatSquare",''),zi=(0,r.makeIcon)("ChatSquareDots",''),Ni=(0,r.makeIcon)("ChatSquareDotsFill",''),Hi=(0,r.makeIcon)("ChatSquareFill",''),Vi=(0,r.makeIcon)("ChatSquareQuote",''),Yi=(0,r.makeIcon)("ChatSquareQuoteFill",''),ji=(0,r.makeIcon)("ChatSquareText",''),Ui=(0,r.makeIcon)("ChatSquareTextFill",''),$i=(0,r.makeIcon)("ChatText",''),Gi=(0,r.makeIcon)("ChatTextFill",''),Wi=(0,r.makeIcon)("Check",''),qi=(0,r.makeIcon)("Check2",''),Ki=(0,r.makeIcon)("Check2All",''),Xi=(0,r.makeIcon)("Check2Circle",''),Ji=(0,r.makeIcon)("Check2Square",''),Zi=(0,r.makeIcon)("CheckAll",''),Qi=(0,r.makeIcon)("CheckCircle",''),eo=(0,r.makeIcon)("CheckCircleFill",''),to=(0,r.makeIcon)("CheckLg",''),no=(0,r.makeIcon)("CheckSquare",''),ro=(0,r.makeIcon)("CheckSquareFill",''),ao=(0,r.makeIcon)("ChevronBarContract",''),io=(0,r.makeIcon)("ChevronBarDown",''),oo=(0,r.makeIcon)("ChevronBarExpand",''),so=(0,r.makeIcon)("ChevronBarLeft",''),lo=(0,r.makeIcon)("ChevronBarRight",''),co=(0,r.makeIcon)("ChevronBarUp",''),uo=(0,r.makeIcon)("ChevronCompactDown",''),ho=(0,r.makeIcon)("ChevronCompactLeft",''),fo=(0,r.makeIcon)("ChevronCompactRight",''),po=(0,r.makeIcon)("ChevronCompactUp",''),mo=(0,r.makeIcon)("ChevronContract",''),go=(0,r.makeIcon)("ChevronDoubleDown",''),vo=(0,r.makeIcon)("ChevronDoubleLeft",''),yo=(0,r.makeIcon)("ChevronDoubleRight",''),bo=(0,r.makeIcon)("ChevronDoubleUp",''),_o=(0,r.makeIcon)("ChevronDown",''),Io=(0,r.makeIcon)("ChevronExpand",''),To=(0,r.makeIcon)("ChevronLeft",''),wo=(0,r.makeIcon)("ChevronRight",''),Eo=(0,r.makeIcon)("ChevronUp",''),Mo=(0,r.makeIcon)("Circle",''),ko=(0,r.makeIcon)("CircleFill",''),So=(0,r.makeIcon)("CircleHalf",''),Po=(0,r.makeIcon)("CircleSquare",''),Ao=(0,r.makeIcon)("Clipboard",''),xo=(0,r.makeIcon)("ClipboardCheck",''),Bo=(0,r.makeIcon)("ClipboardData",''),Lo=(0,r.makeIcon)("ClipboardMinus",''),Oo=(0,r.makeIcon)("ClipboardPlus",''),Co=(0,r.makeIcon)("ClipboardX",''),Do=(0,r.makeIcon)("Clock",''),Ro=(0,r.makeIcon)("ClockFill",''),Fo=(0,r.makeIcon)("ClockHistory",''),zo=(0,r.makeIcon)("Cloud",''),No=(0,r.makeIcon)("CloudArrowDown",''),Ho=(0,r.makeIcon)("CloudArrowDownFill",''),Vo=(0,r.makeIcon)("CloudArrowUp",''),Yo=(0,r.makeIcon)("CloudArrowUpFill",''),jo=(0,r.makeIcon)("CloudCheck",''),Uo=(0,r.makeIcon)("CloudCheckFill",''),$o=(0,r.makeIcon)("CloudDownload",''),Go=(0,r.makeIcon)("CloudDownloadFill",''),Wo=(0,r.makeIcon)("CloudDrizzle",''),qo=(0,r.makeIcon)("CloudDrizzleFill",''),Ko=(0,r.makeIcon)("CloudFill",''),Xo=(0,r.makeIcon)("CloudFog",''),Jo=(0,r.makeIcon)("CloudFog2",''),Zo=(0,r.makeIcon)("CloudFog2Fill",''),Qo=(0,r.makeIcon)("CloudFogFill",''),es=(0,r.makeIcon)("CloudHail",''),ts=(0,r.makeIcon)("CloudHailFill",''),ns=(0,r.makeIcon)("CloudHaze",''),rs=(0,r.makeIcon)("CloudHaze1",''),as=(0,r.makeIcon)("CloudHaze2Fill",''),is=(0,r.makeIcon)("CloudHazeFill",''),os=(0,r.makeIcon)("CloudLightning",''),ss=(0,r.makeIcon)("CloudLightningFill",''),ls=(0,r.makeIcon)("CloudLightningRain",''),cs=(0,r.makeIcon)("CloudLightningRainFill",''),us=(0,r.makeIcon)("CloudMinus",''),ds=(0,r.makeIcon)("CloudMinusFill",''),hs=(0,r.makeIcon)("CloudMoon",''),fs=(0,r.makeIcon)("CloudMoonFill",''),ps=(0,r.makeIcon)("CloudPlus",''),ms=(0,r.makeIcon)("CloudPlusFill",''),gs=(0,r.makeIcon)("CloudRain",''),vs=(0,r.makeIcon)("CloudRainFill",''),ys=(0,r.makeIcon)("CloudRainHeavy",''),bs=(0,r.makeIcon)("CloudRainHeavyFill",''),_s=(0,r.makeIcon)("CloudSlash",''),Is=(0,r.makeIcon)("CloudSlashFill",''),Ts=(0,r.makeIcon)("CloudSleet",''),ws=(0,r.makeIcon)("CloudSleetFill",''),Es=(0,r.makeIcon)("CloudSnow",''),Ms=(0,r.makeIcon)("CloudSnowFill",''),ks=(0,r.makeIcon)("CloudSun",''),Ss=(0,r.makeIcon)("CloudSunFill",''),Ps=(0,r.makeIcon)("CloudUpload",''),As=(0,r.makeIcon)("CloudUploadFill",''),xs=(0,r.makeIcon)("Clouds",''),Bs=(0,r.makeIcon)("CloudsFill",''),Ls=(0,r.makeIcon)("Cloudy",''),Os=(0,r.makeIcon)("CloudyFill",''),Cs=(0,r.makeIcon)("Code",''),Ds=(0,r.makeIcon)("CodeSlash",''),Rs=(0,r.makeIcon)("CodeSquare",''),Fs=(0,r.makeIcon)("Coin",''),zs=(0,r.makeIcon)("Collection",''),Ns=(0,r.makeIcon)("CollectionFill",''),Hs=(0,r.makeIcon)("CollectionPlay",''),Vs=(0,r.makeIcon)("CollectionPlayFill",''),Ys=(0,r.makeIcon)("Columns",''),js=(0,r.makeIcon)("ColumnsGap",''),Us=(0,r.makeIcon)("Command",''),$s=(0,r.makeIcon)("Compass",''),Gs=(0,r.makeIcon)("CompassFill",''),Ws=(0,r.makeIcon)("Cone",''),qs=(0,r.makeIcon)("ConeStriped",''),Ks=(0,r.makeIcon)("Controller",''),Xs=(0,r.makeIcon)("Cpu",''),Js=(0,r.makeIcon)("CpuFill",''),Zs=(0,r.makeIcon)("CreditCard",''),Qs=(0,r.makeIcon)("CreditCard2Back",''),el=(0,r.makeIcon)("CreditCard2BackFill",''),tl=(0,r.makeIcon)("CreditCard2Front",''),nl=(0,r.makeIcon)("CreditCard2FrontFill",''),rl=(0,r.makeIcon)("CreditCardFill",''),al=(0,r.makeIcon)("Crop",''),il=(0,r.makeIcon)("Cup",''),ol=(0,r.makeIcon)("CupFill",''),sl=(0,r.makeIcon)("CupStraw",''),ll=(0,r.makeIcon)("CurrencyBitcoin",''),cl=(0,r.makeIcon)("CurrencyDollar",''),ul=(0,r.makeIcon)("CurrencyEuro",''),dl=(0,r.makeIcon)("CurrencyExchange",''),hl=(0,r.makeIcon)("CurrencyPound",''),fl=(0,r.makeIcon)("CurrencyYen",''),pl=(0,r.makeIcon)("Cursor",''),ml=(0,r.makeIcon)("CursorFill",''),gl=(0,r.makeIcon)("CursorText",''),vl=(0,r.makeIcon)("Dash",''),yl=(0,r.makeIcon)("DashCircle",''),bl=(0,r.makeIcon)("DashCircleDotted",''),_l=(0,r.makeIcon)("DashCircleFill",''),Il=(0,r.makeIcon)("DashLg",''),Tl=(0,r.makeIcon)("DashSquare",''),wl=(0,r.makeIcon)("DashSquareDotted",''),El=(0,r.makeIcon)("DashSquareFill",''),Ml=(0,r.makeIcon)("Diagram2",''),kl=(0,r.makeIcon)("Diagram2Fill",''),Sl=(0,r.makeIcon)("Diagram3",''),Pl=(0,r.makeIcon)("Diagram3Fill",''),Al=(0,r.makeIcon)("Diamond",''),xl=(0,r.makeIcon)("DiamondFill",''),Bl=(0,r.makeIcon)("DiamondHalf",''),Ll=(0,r.makeIcon)("Dice1",''),Ol=(0,r.makeIcon)("Dice1Fill",''),Cl=(0,r.makeIcon)("Dice2",''),Dl=(0,r.makeIcon)("Dice2Fill",''),Rl=(0,r.makeIcon)("Dice3",''),Fl=(0,r.makeIcon)("Dice3Fill",''),zl=(0,r.makeIcon)("Dice4",''),Nl=(0,r.makeIcon)("Dice4Fill",''),Hl=(0,r.makeIcon)("Dice5",''),Vl=(0,r.makeIcon)("Dice5Fill",''),Yl=(0,r.makeIcon)("Dice6",''),jl=(0,r.makeIcon)("Dice6Fill",''),Ul=(0,r.makeIcon)("Disc",''),$l=(0,r.makeIcon)("DiscFill",''),Gl=(0,r.makeIcon)("Discord",''),Wl=(0,r.makeIcon)("Display",''),ql=(0,r.makeIcon)("DisplayFill",''),Kl=(0,r.makeIcon)("DistributeHorizontal",''),Xl=(0,r.makeIcon)("DistributeVertical",''),Jl=(0,r.makeIcon)("DoorClosed",''),Zl=(0,r.makeIcon)("DoorClosedFill",''),Ql=(0,r.makeIcon)("DoorOpen",''),ec=(0,r.makeIcon)("DoorOpenFill",''),tc=(0,r.makeIcon)("Dot",''),nc=(0,r.makeIcon)("Download",''),rc=(0,r.makeIcon)("Droplet",''),ac=(0,r.makeIcon)("DropletFill",''),ic=(0,r.makeIcon)("DropletHalf",''),oc=(0,r.makeIcon)("Earbuds",''),sc=(0,r.makeIcon)("Easel",''),lc=(0,r.makeIcon)("EaselFill",''),cc=(0,r.makeIcon)("Egg",''),uc=(0,r.makeIcon)("EggFill",''),dc=(0,r.makeIcon)("EggFried",''),hc=(0,r.makeIcon)("Eject",''),fc=(0,r.makeIcon)("EjectFill",''),pc=(0,r.makeIcon)("EmojiAngry",''),mc=(0,r.makeIcon)("EmojiAngryFill",''),gc=(0,r.makeIcon)("EmojiDizzy",''),vc=(0,r.makeIcon)("EmojiDizzyFill",''),yc=(0,r.makeIcon)("EmojiExpressionless",''),bc=(0,r.makeIcon)("EmojiExpressionlessFill",''),_c=(0,r.makeIcon)("EmojiFrown",''),Ic=(0,r.makeIcon)("EmojiFrownFill",''),Tc=(0,r.makeIcon)("EmojiHeartEyes",''),wc=(0,r.makeIcon)("EmojiHeartEyesFill",''),Ec=(0,r.makeIcon)("EmojiLaughing",''),Mc=(0,r.makeIcon)("EmojiLaughingFill",''),kc=(0,r.makeIcon)("EmojiNeutral",''),Sc=(0,r.makeIcon)("EmojiNeutralFill",''),Pc=(0,r.makeIcon)("EmojiSmile",''),Ac=(0,r.makeIcon)("EmojiSmileFill",''),xc=(0,r.makeIcon)("EmojiSmileUpsideDown",''),Bc=(0,r.makeIcon)("EmojiSmileUpsideDownFill",''),Lc=(0,r.makeIcon)("EmojiSunglasses",''),Oc=(0,r.makeIcon)("EmojiSunglassesFill",''),Cc=(0,r.makeIcon)("EmojiWink",''),Dc=(0,r.makeIcon)("EmojiWinkFill",''),Rc=(0,r.makeIcon)("Envelope",''),Fc=(0,r.makeIcon)("EnvelopeFill",''),zc=(0,r.makeIcon)("EnvelopeOpen",''),Nc=(0,r.makeIcon)("EnvelopeOpenFill",''),Hc=(0,r.makeIcon)("Eraser",''),Vc=(0,r.makeIcon)("EraserFill",''),Yc=(0,r.makeIcon)("Exclamation",''),jc=(0,r.makeIcon)("ExclamationCircle",''),Uc=(0,r.makeIcon)("ExclamationCircleFill",''),$c=(0,r.makeIcon)("ExclamationDiamond",''),Gc=(0,r.makeIcon)("ExclamationDiamondFill",''),Wc=(0,r.makeIcon)("ExclamationLg",''),qc=(0,r.makeIcon)("ExclamationOctagon",''),Kc=(0,r.makeIcon)("ExclamationOctagonFill",''),Xc=(0,r.makeIcon)("ExclamationSquare",''),Jc=(0,r.makeIcon)("ExclamationSquareFill",''),Zc=(0,r.makeIcon)("ExclamationTriangle",''),Qc=(0,r.makeIcon)("ExclamationTriangleFill",''),eu=(0,r.makeIcon)("Exclude",''),tu=(0,r.makeIcon)("Eye",''),nu=(0,r.makeIcon)("EyeFill",''),ru=(0,r.makeIcon)("EyeSlash",''),au=(0,r.makeIcon)("EyeSlashFill",''),iu=(0,r.makeIcon)("Eyedropper",''),ou=(0,r.makeIcon)("Eyeglasses",''),su=(0,r.makeIcon)("Facebook",''),lu=(0,r.makeIcon)("File",''),cu=(0,r.makeIcon)("FileArrowDown",''),uu=(0,r.makeIcon)("FileArrowDownFill",''),du=(0,r.makeIcon)("FileArrowUp",''),hu=(0,r.makeIcon)("FileArrowUpFill",''),fu=(0,r.makeIcon)("FileBarGraph",''),pu=(0,r.makeIcon)("FileBarGraphFill",''),mu=(0,r.makeIcon)("FileBinary",''),gu=(0,r.makeIcon)("FileBinaryFill",''),vu=(0,r.makeIcon)("FileBreak",''),yu=(0,r.makeIcon)("FileBreakFill",''),bu=(0,r.makeIcon)("FileCheck",''),_u=(0,r.makeIcon)("FileCheckFill",''),Iu=(0,r.makeIcon)("FileCode",''),Tu=(0,r.makeIcon)("FileCodeFill",''),wu=(0,r.makeIcon)("FileDiff",''),Eu=(0,r.makeIcon)("FileDiffFill",''),Mu=(0,r.makeIcon)("FileEarmark",''),ku=(0,r.makeIcon)("FileEarmarkArrowDown",''),Su=(0,r.makeIcon)("FileEarmarkArrowDownFill",''),Pu=(0,r.makeIcon)("FileEarmarkArrowUp",''),Au=(0,r.makeIcon)("FileEarmarkArrowUpFill",''),xu=(0,r.makeIcon)("FileEarmarkBarGraph",''),Bu=(0,r.makeIcon)("FileEarmarkBarGraphFill",''),Lu=(0,r.makeIcon)("FileEarmarkBinary",''),Ou=(0,r.makeIcon)("FileEarmarkBinaryFill",''),Cu=(0,r.makeIcon)("FileEarmarkBreak",''),Du=(0,r.makeIcon)("FileEarmarkBreakFill",''),Ru=(0,r.makeIcon)("FileEarmarkCheck",''),Fu=(0,r.makeIcon)("FileEarmarkCheckFill",''),zu=(0,r.makeIcon)("FileEarmarkCode",''),Nu=(0,r.makeIcon)("FileEarmarkCodeFill",''),Hu=(0,r.makeIcon)("FileEarmarkDiff",''),Vu=(0,r.makeIcon)("FileEarmarkDiffFill",''),Yu=(0,r.makeIcon)("FileEarmarkEasel",''),ju=(0,r.makeIcon)("FileEarmarkEaselFill",''),Uu=(0,r.makeIcon)("FileEarmarkExcel",''),$u=(0,r.makeIcon)("FileEarmarkExcelFill",''),Gu=(0,r.makeIcon)("FileEarmarkFill",''),Wu=(0,r.makeIcon)("FileEarmarkFont",''),qu=(0,r.makeIcon)("FileEarmarkFontFill",''),Ku=(0,r.makeIcon)("FileEarmarkImage",''),Xu=(0,r.makeIcon)("FileEarmarkImageFill",''),Ju=(0,r.makeIcon)("FileEarmarkLock",''),Zu=(0,r.makeIcon)("FileEarmarkLock2",''),Qu=(0,r.makeIcon)("FileEarmarkLock2Fill",''),ed=(0,r.makeIcon)("FileEarmarkLockFill",''),td=(0,r.makeIcon)("FileEarmarkMedical",''),nd=(0,r.makeIcon)("FileEarmarkMedicalFill",''),rd=(0,r.makeIcon)("FileEarmarkMinus",''),ad=(0,r.makeIcon)("FileEarmarkMinusFill",''),id=(0,r.makeIcon)("FileEarmarkMusic",''),od=(0,r.makeIcon)("FileEarmarkMusicFill",''),sd=(0,r.makeIcon)("FileEarmarkPdf",''),ld=(0,r.makeIcon)("FileEarmarkPdfFill",''),cd=(0,r.makeIcon)("FileEarmarkPerson",''),ud=(0,r.makeIcon)("FileEarmarkPersonFill",''),dd=(0,r.makeIcon)("FileEarmarkPlay",''),hd=(0,r.makeIcon)("FileEarmarkPlayFill",''),fd=(0,r.makeIcon)("FileEarmarkPlus",''),pd=(0,r.makeIcon)("FileEarmarkPlusFill",''),md=(0,r.makeIcon)("FileEarmarkPost",''),gd=(0,r.makeIcon)("FileEarmarkPostFill",''),vd=(0,r.makeIcon)("FileEarmarkPpt",''),yd=(0,r.makeIcon)("FileEarmarkPptFill",''),bd=(0,r.makeIcon)("FileEarmarkRichtext",''),_d=(0,r.makeIcon)("FileEarmarkRichtextFill",''),Id=(0,r.makeIcon)("FileEarmarkRuled",''),Td=(0,r.makeIcon)("FileEarmarkRuledFill",''),wd=(0,r.makeIcon)("FileEarmarkSlides",''),Ed=(0,r.makeIcon)("FileEarmarkSlidesFill",''),Md=(0,r.makeIcon)("FileEarmarkSpreadsheet",''),kd=(0,r.makeIcon)("FileEarmarkSpreadsheetFill",''),Sd=(0,r.makeIcon)("FileEarmarkText",''),Pd=(0,r.makeIcon)("FileEarmarkTextFill",''),Ad=(0,r.makeIcon)("FileEarmarkWord",''),xd=(0,r.makeIcon)("FileEarmarkWordFill",''),Bd=(0,r.makeIcon)("FileEarmarkX",''),Ld=(0,r.makeIcon)("FileEarmarkXFill",''),Od=(0,r.makeIcon)("FileEarmarkZip",''),Cd=(0,r.makeIcon)("FileEarmarkZipFill",''),Dd=(0,r.makeIcon)("FileEasel",''),Rd=(0,r.makeIcon)("FileEaselFill",''),Fd=(0,r.makeIcon)("FileExcel",''),zd=(0,r.makeIcon)("FileExcelFill",''),Nd=(0,r.makeIcon)("FileFill",''),Hd=(0,r.makeIcon)("FileFont",''),Vd=(0,r.makeIcon)("FileFontFill",''),Yd=(0,r.makeIcon)("FileImage",''),jd=(0,r.makeIcon)("FileImageFill",''),Ud=(0,r.makeIcon)("FileLock",''),$d=(0,r.makeIcon)("FileLock2",''),Gd=(0,r.makeIcon)("FileLock2Fill",''),Wd=(0,r.makeIcon)("FileLockFill",''),qd=(0,r.makeIcon)("FileMedical",''),Kd=(0,r.makeIcon)("FileMedicalFill",''),Xd=(0,r.makeIcon)("FileMinus",''),Jd=(0,r.makeIcon)("FileMinusFill",''),Zd=(0,r.makeIcon)("FileMusic",''),Qd=(0,r.makeIcon)("FileMusicFill",''),eh=(0,r.makeIcon)("FilePdf",''),th=(0,r.makeIcon)("FilePdfFill",''),nh=(0,r.makeIcon)("FilePerson",''),rh=(0,r.makeIcon)("FilePersonFill",''),ah=(0,r.makeIcon)("FilePlay",''),ih=(0,r.makeIcon)("FilePlayFill",''),oh=(0,r.makeIcon)("FilePlus",''),sh=(0,r.makeIcon)("FilePlusFill",''),lh=(0,r.makeIcon)("FilePost",''),ch=(0,r.makeIcon)("FilePostFill",''),uh=(0,r.makeIcon)("FilePpt",''),dh=(0,r.makeIcon)("FilePptFill",''),hh=(0,r.makeIcon)("FileRichtext",''),fh=(0,r.makeIcon)("FileRichtextFill",''),ph=(0,r.makeIcon)("FileRuled",''),mh=(0,r.makeIcon)("FileRuledFill",''),gh=(0,r.makeIcon)("FileSlides",''),vh=(0,r.makeIcon)("FileSlidesFill",''),yh=(0,r.makeIcon)("FileSpreadsheet",''),bh=(0,r.makeIcon)("FileSpreadsheetFill",''),_h=(0,r.makeIcon)("FileText",''),Ih=(0,r.makeIcon)("FileTextFill",''),Th=(0,r.makeIcon)("FileWord",''),wh=(0,r.makeIcon)("FileWordFill",''),Eh=(0,r.makeIcon)("FileX",''),Mh=(0,r.makeIcon)("FileXFill",''),kh=(0,r.makeIcon)("FileZip",''),Sh=(0,r.makeIcon)("FileZipFill",''),Ph=(0,r.makeIcon)("Files",''),Ah=(0,r.makeIcon)("FilesAlt",''),xh=(0,r.makeIcon)("Film",''),Bh=(0,r.makeIcon)("Filter",''),Lh=(0,r.makeIcon)("FilterCircle",''),Oh=(0,r.makeIcon)("FilterCircleFill",''),Ch=(0,r.makeIcon)("FilterLeft",''),Dh=(0,r.makeIcon)("FilterRight",''),Rh=(0,r.makeIcon)("FilterSquare",''),Fh=(0,r.makeIcon)("FilterSquareFill",''),zh=(0,r.makeIcon)("Flag",''),Nh=(0,r.makeIcon)("FlagFill",''),Hh=(0,r.makeIcon)("Flower1",''),Vh=(0,r.makeIcon)("Flower2",''),Yh=(0,r.makeIcon)("Flower3",''),jh=(0,r.makeIcon)("Folder",''),Uh=(0,r.makeIcon)("Folder2",''),$h=(0,r.makeIcon)("Folder2Open",''),Gh=(0,r.makeIcon)("FolderCheck",''),Wh=(0,r.makeIcon)("FolderFill",''),qh=(0,r.makeIcon)("FolderMinus",''),Kh=(0,r.makeIcon)("FolderPlus",''),Xh=(0,r.makeIcon)("FolderSymlink",''),Jh=(0,r.makeIcon)("FolderSymlinkFill",''),Zh=(0,r.makeIcon)("FolderX",''),Qh=(0,r.makeIcon)("Fonts",''),ef=(0,r.makeIcon)("Forward",''),tf=(0,r.makeIcon)("ForwardFill",''),nf=(0,r.makeIcon)("Front",''),rf=(0,r.makeIcon)("Fullscreen",''),af=(0,r.makeIcon)("FullscreenExit",''),of=(0,r.makeIcon)("Funnel",''),sf=(0,r.makeIcon)("FunnelFill",''),lf=(0,r.makeIcon)("Gear",''),cf=(0,r.makeIcon)("GearFill",''),uf=(0,r.makeIcon)("GearWide",''),df=(0,r.makeIcon)("GearWideConnected",''),hf=(0,r.makeIcon)("Gem",''),ff=(0,r.makeIcon)("GenderAmbiguous",''),pf=(0,r.makeIcon)("GenderFemale",''),mf=(0,r.makeIcon)("GenderMale",''),gf=(0,r.makeIcon)("GenderTrans",''),vf=(0,r.makeIcon)("Geo",''),yf=(0,r.makeIcon)("GeoAlt",''),bf=(0,r.makeIcon)("GeoAltFill",''),_f=(0,r.makeIcon)("GeoFill",''),If=(0,r.makeIcon)("Gift",''),Tf=(0,r.makeIcon)("GiftFill",''),wf=(0,r.makeIcon)("Github",''),Ef=(0,r.makeIcon)("Globe",''),Mf=(0,r.makeIcon)("Globe2",''),kf=(0,r.makeIcon)("Google",''),Sf=(0,r.makeIcon)("GraphDown",''),Pf=(0,r.makeIcon)("GraphUp",''),Af=(0,r.makeIcon)("Grid",''),xf=(0,r.makeIcon)("Grid1x2",''),Bf=(0,r.makeIcon)("Grid1x2Fill",''),Lf=(0,r.makeIcon)("Grid3x2",''),Of=(0,r.makeIcon)("Grid3x2Gap",''),Cf=(0,r.makeIcon)("Grid3x2GapFill",''),Df=(0,r.makeIcon)("Grid3x3",''),Rf=(0,r.makeIcon)("Grid3x3Gap",''),Ff=(0,r.makeIcon)("Grid3x3GapFill",''),zf=(0,r.makeIcon)("GridFill",''),Nf=(0,r.makeIcon)("GripHorizontal",''),Hf=(0,r.makeIcon)("GripVertical",''),Vf=(0,r.makeIcon)("Hammer",''),Yf=(0,r.makeIcon)("HandIndex",''),jf=(0,r.makeIcon)("HandIndexFill",''),Uf=(0,r.makeIcon)("HandIndexThumb",''),$f=(0,r.makeIcon)("HandIndexThumbFill",''),Gf=(0,r.makeIcon)("HandThumbsDown",''),Wf=(0,r.makeIcon)("HandThumbsDownFill",''),qf=(0,r.makeIcon)("HandThumbsUp",''),Kf=(0,r.makeIcon)("HandThumbsUpFill",''),Xf=(0,r.makeIcon)("Handbag",''),Jf=(0,r.makeIcon)("HandbagFill",''),Zf=(0,r.makeIcon)("Hash",''),Qf=(0,r.makeIcon)("Hdd",''),ep=(0,r.makeIcon)("HddFill",''),tp=(0,r.makeIcon)("HddNetwork",''),np=(0,r.makeIcon)("HddNetworkFill",''),rp=(0,r.makeIcon)("HddRack",''),ap=(0,r.makeIcon)("HddRackFill",''),ip=(0,r.makeIcon)("HddStack",''),op=(0,r.makeIcon)("HddStackFill",''),sp=(0,r.makeIcon)("Headphones",''),lp=(0,r.makeIcon)("Headset",''),cp=(0,r.makeIcon)("HeadsetVr",''),up=(0,r.makeIcon)("Heart",''),dp=(0,r.makeIcon)("HeartFill",''),hp=(0,r.makeIcon)("HeartHalf",''),fp=(0,r.makeIcon)("Heptagon",''),pp=(0,r.makeIcon)("HeptagonFill",''),mp=(0,r.makeIcon)("HeptagonHalf",''),gp=(0,r.makeIcon)("Hexagon",''),vp=(0,r.makeIcon)("HexagonFill",''),yp=(0,r.makeIcon)("HexagonHalf",''),bp=(0,r.makeIcon)("Hourglass",''),_p=(0,r.makeIcon)("HourglassBottom",''),Ip=(0,r.makeIcon)("HourglassSplit",''),Tp=(0,r.makeIcon)("HourglassTop",''),wp=(0,r.makeIcon)("House",''),Ep=(0,r.makeIcon)("HouseDoor",''),Mp=(0,r.makeIcon)("HouseDoorFill",''),kp=(0,r.makeIcon)("HouseFill",''),Sp=(0,r.makeIcon)("Hr",''),Pp=(0,r.makeIcon)("Hurricane",''),Ap=(0,r.makeIcon)("Image",''),xp=(0,r.makeIcon)("ImageAlt",''),Bp=(0,r.makeIcon)("ImageFill",''),Lp=(0,r.makeIcon)("Images",''),Op=(0,r.makeIcon)("Inbox",''),Cp=(0,r.makeIcon)("InboxFill",''),Dp=(0,r.makeIcon)("Inboxes",''),Rp=(0,r.makeIcon)("InboxesFill",''),Fp=(0,r.makeIcon)("Info",''),zp=(0,r.makeIcon)("InfoCircle",''),Np=(0,r.makeIcon)("InfoCircleFill",''),Hp=(0,r.makeIcon)("InfoLg",''),Vp=(0,r.makeIcon)("InfoSquare",''),Yp=(0,r.makeIcon)("InfoSquareFill",''),jp=(0,r.makeIcon)("InputCursor",''),Up=(0,r.makeIcon)("InputCursorText",''),$p=(0,r.makeIcon)("Instagram",''),Gp=(0,r.makeIcon)("Intersect",''),Wp=(0,r.makeIcon)("Journal",''),qp=(0,r.makeIcon)("JournalAlbum",''),Kp=(0,r.makeIcon)("JournalArrowDown",''),Xp=(0,r.makeIcon)("JournalArrowUp",''),Jp=(0,r.makeIcon)("JournalBookmark",''),Zp=(0,r.makeIcon)("JournalBookmarkFill",''),Qp=(0,r.makeIcon)("JournalCheck",''),em=(0,r.makeIcon)("JournalCode",''),tm=(0,r.makeIcon)("JournalMedical",''),nm=(0,r.makeIcon)("JournalMinus",''),rm=(0,r.makeIcon)("JournalPlus",''),am=(0,r.makeIcon)("JournalRichtext",''),im=(0,r.makeIcon)("JournalText",''),om=(0,r.makeIcon)("JournalX",''),sm=(0,r.makeIcon)("Journals",''),lm=(0,r.makeIcon)("Joystick",''),cm=(0,r.makeIcon)("Justify",''),um=(0,r.makeIcon)("JustifyLeft",''),dm=(0,r.makeIcon)("JustifyRight",''),hm=(0,r.makeIcon)("Kanban",''),fm=(0,r.makeIcon)("KanbanFill",''),pm=(0,r.makeIcon)("Key",''),mm=(0,r.makeIcon)("KeyFill",''),gm=(0,r.makeIcon)("Keyboard",''),vm=(0,r.makeIcon)("KeyboardFill",''),ym=(0,r.makeIcon)("Ladder",''),bm=(0,r.makeIcon)("Lamp",''),_m=(0,r.makeIcon)("LampFill",''),Im=(0,r.makeIcon)("Laptop",''),Tm=(0,r.makeIcon)("LaptopFill",''),wm=(0,r.makeIcon)("LayerBackward",''),Em=(0,r.makeIcon)("LayerForward",''),Mm=(0,r.makeIcon)("Layers",''),km=(0,r.makeIcon)("LayersFill",''),Sm=(0,r.makeIcon)("LayersHalf",''),Pm=(0,r.makeIcon)("LayoutSidebar",''),Am=(0,r.makeIcon)("LayoutSidebarInset",''),xm=(0,r.makeIcon)("LayoutSidebarInsetReverse",''),Bm=(0,r.makeIcon)("LayoutSidebarReverse",''),Lm=(0,r.makeIcon)("LayoutSplit",''),Om=(0,r.makeIcon)("LayoutTextSidebar",''),Cm=(0,r.makeIcon)("LayoutTextSidebarReverse",''),Dm=(0,r.makeIcon)("LayoutTextWindow",''),Rm=(0,r.makeIcon)("LayoutTextWindowReverse",''),Fm=(0,r.makeIcon)("LayoutThreeColumns",''),zm=(0,r.makeIcon)("LayoutWtf",''),Nm=(0,r.makeIcon)("LifePreserver",''),Hm=(0,r.makeIcon)("Lightbulb",''),Vm=(0,r.makeIcon)("LightbulbFill",''),Ym=(0,r.makeIcon)("LightbulbOff",''),jm=(0,r.makeIcon)("LightbulbOffFill",''),Um=(0,r.makeIcon)("Lightning",''),$m=(0,r.makeIcon)("LightningCharge",''),Gm=(0,r.makeIcon)("LightningChargeFill",''),Wm=(0,r.makeIcon)("LightningFill",''),qm=(0,r.makeIcon)("Link",''),Km=(0,r.makeIcon)("Link45deg",''),Xm=(0,r.makeIcon)("Linkedin",''),Jm=(0,r.makeIcon)("List",''),Zm=(0,r.makeIcon)("ListCheck",''),Qm=(0,r.makeIcon)("ListNested",''),eg=(0,r.makeIcon)("ListOl",''),tg=(0,r.makeIcon)("ListStars",''),ng=(0,r.makeIcon)("ListTask",''),rg=(0,r.makeIcon)("ListUl",''),ag=(0,r.makeIcon)("Lock",''),ig=(0,r.makeIcon)("LockFill",''),og=(0,r.makeIcon)("Mailbox",''),sg=(0,r.makeIcon)("Mailbox2",''),lg=(0,r.makeIcon)("Map",''),cg=(0,r.makeIcon)("MapFill",''),ug=(0,r.makeIcon)("Markdown",''),dg=(0,r.makeIcon)("MarkdownFill",''),hg=(0,r.makeIcon)("Mask",''),fg=(0,r.makeIcon)("Mastodon",''),pg=(0,r.makeIcon)("Megaphone",''),mg=(0,r.makeIcon)("MegaphoneFill",''),gg=(0,r.makeIcon)("MenuApp",''),vg=(0,r.makeIcon)("MenuAppFill",''),yg=(0,r.makeIcon)("MenuButton",''),bg=(0,r.makeIcon)("MenuButtonFill",''),_g=(0,r.makeIcon)("MenuButtonWide",''),Ig=(0,r.makeIcon)("MenuButtonWideFill",''),Tg=(0,r.makeIcon)("MenuDown",''),wg=(0,r.makeIcon)("MenuUp",''),Eg=(0,r.makeIcon)("Messenger",''),Mg=(0,r.makeIcon)("Mic",''),kg=(0,r.makeIcon)("MicFill",''),Sg=(0,r.makeIcon)("MicMute",''),Pg=(0,r.makeIcon)("MicMuteFill",''),Ag=(0,r.makeIcon)("Minecart",''),xg=(0,r.makeIcon)("MinecartLoaded",''),Bg=(0,r.makeIcon)("Moisture",''),Lg=(0,r.makeIcon)("Moon",''),Og=(0,r.makeIcon)("MoonFill",''),Cg=(0,r.makeIcon)("MoonStars",''),Dg=(0,r.makeIcon)("MoonStarsFill",''),Rg=(0,r.makeIcon)("Mouse",''),Fg=(0,r.makeIcon)("Mouse2",''),zg=(0,r.makeIcon)("Mouse2Fill",''),Ng=(0,r.makeIcon)("Mouse3",''),Hg=(0,r.makeIcon)("Mouse3Fill",''),Vg=(0,r.makeIcon)("MouseFill",''),Yg=(0,r.makeIcon)("MusicNote",''),jg=(0,r.makeIcon)("MusicNoteBeamed",''),Ug=(0,r.makeIcon)("MusicNoteList",''),$g=(0,r.makeIcon)("MusicPlayer",''),Gg=(0,r.makeIcon)("MusicPlayerFill",''),Wg=(0,r.makeIcon)("Newspaper",''),qg=(0,r.makeIcon)("NodeMinus",''),Kg=(0,r.makeIcon)("NodeMinusFill",''),Xg=(0,r.makeIcon)("NodePlus",''),Jg=(0,r.makeIcon)("NodePlusFill",''),Zg=(0,r.makeIcon)("Nut",''),Qg=(0,r.makeIcon)("NutFill",''),ev=(0,r.makeIcon)("Octagon",''),tv=(0,r.makeIcon)("OctagonFill",''),nv=(0,r.makeIcon)("OctagonHalf",''),rv=(0,r.makeIcon)("Option",''),av=(0,r.makeIcon)("Outlet",''),iv=(0,r.makeIcon)("PaintBucket",''),ov=(0,r.makeIcon)("Palette",''),sv=(0,r.makeIcon)("Palette2",''),lv=(0,r.makeIcon)("PaletteFill",''),cv=(0,r.makeIcon)("Paperclip",''),uv=(0,r.makeIcon)("Paragraph",''),dv=(0,r.makeIcon)("PatchCheck",''),hv=(0,r.makeIcon)("PatchCheckFill",''),fv=(0,r.makeIcon)("PatchExclamation",''),pv=(0,r.makeIcon)("PatchExclamationFill",''),mv=(0,r.makeIcon)("PatchMinus",''),gv=(0,r.makeIcon)("PatchMinusFill",''),vv=(0,r.makeIcon)("PatchPlus",''),yv=(0,r.makeIcon)("PatchPlusFill",''),bv=(0,r.makeIcon)("PatchQuestion",''),_v=(0,r.makeIcon)("PatchQuestionFill",''),Iv=(0,r.makeIcon)("Pause",''),Tv=(0,r.makeIcon)("PauseBtn",''),wv=(0,r.makeIcon)("PauseBtnFill",''),Ev=(0,r.makeIcon)("PauseCircle",''),Mv=(0,r.makeIcon)("PauseCircleFill",''),kv=(0,r.makeIcon)("PauseFill",''),Sv=(0,r.makeIcon)("Peace",''),Pv=(0,r.makeIcon)("PeaceFill",''),Av=(0,r.makeIcon)("Pen",''),xv=(0,r.makeIcon)("PenFill",''),Bv=(0,r.makeIcon)("Pencil",''),Lv=(0,r.makeIcon)("PencilFill",''),Ov=(0,r.makeIcon)("PencilSquare",''),Cv=(0,r.makeIcon)("Pentagon",''),Dv=(0,r.makeIcon)("PentagonFill",''),Rv=(0,r.makeIcon)("PentagonHalf",''),Fv=(0,r.makeIcon)("People",''),zv=(0,r.makeIcon)("PeopleFill",''),Nv=(0,r.makeIcon)("Percent",''),Hv=(0,r.makeIcon)("Person",''),Vv=(0,r.makeIcon)("PersonBadge",''),Yv=(0,r.makeIcon)("PersonBadgeFill",''),jv=(0,r.makeIcon)("PersonBoundingBox",''),Uv=(0,r.makeIcon)("PersonCheck",''),$v=(0,r.makeIcon)("PersonCheckFill",''),Gv=(0,r.makeIcon)("PersonCircle",''),Wv=(0,r.makeIcon)("PersonDash",''),qv=(0,r.makeIcon)("PersonDashFill",''),Kv=(0,r.makeIcon)("PersonFill",''),Xv=(0,r.makeIcon)("PersonLinesFill",''),Jv=(0,r.makeIcon)("PersonPlus",''),Zv=(0,r.makeIcon)("PersonPlusFill",''),Qv=(0,r.makeIcon)("PersonSquare",''),ey=(0,r.makeIcon)("PersonX",''),ty=(0,r.makeIcon)("PersonXFill",''),ny=(0,r.makeIcon)("Phone",''),ry=(0,r.makeIcon)("PhoneFill",''),ay=(0,r.makeIcon)("PhoneLandscape",''),iy=(0,r.makeIcon)("PhoneLandscapeFill",''),oy=(0,r.makeIcon)("PhoneVibrate",''),sy=(0,r.makeIcon)("PhoneVibrateFill",''),ly=(0,r.makeIcon)("PieChart",''),cy=(0,r.makeIcon)("PieChartFill",''),uy=(0,r.makeIcon)("PiggyBank",''),dy=(0,r.makeIcon)("PiggyBankFill",''),hy=(0,r.makeIcon)("Pin",''),fy=(0,r.makeIcon)("PinAngle",''),py=(0,r.makeIcon)("PinAngleFill",''),my=(0,r.makeIcon)("PinFill",''),gy=(0,r.makeIcon)("PinMap",''),vy=(0,r.makeIcon)("PinMapFill",''),yy=(0,r.makeIcon)("Pip",''),by=(0,r.makeIcon)("PipFill",''),_y=(0,r.makeIcon)("Play",''),Iy=(0,r.makeIcon)("PlayBtn",''),Ty=(0,r.makeIcon)("PlayBtnFill",''),wy=(0,r.makeIcon)("PlayCircle",''),Ey=(0,r.makeIcon)("PlayCircleFill",''),My=(0,r.makeIcon)("PlayFill",''),ky=(0,r.makeIcon)("Plug",''),Sy=(0,r.makeIcon)("PlugFill",''),Py=(0,r.makeIcon)("Plus",''),Ay=(0,r.makeIcon)("PlusCircle",''),xy=(0,r.makeIcon)("PlusCircleDotted",''),By=(0,r.makeIcon)("PlusCircleFill",''),Ly=(0,r.makeIcon)("PlusLg",''),Oy=(0,r.makeIcon)("PlusSquare",''),Cy=(0,r.makeIcon)("PlusSquareDotted",''),Dy=(0,r.makeIcon)("PlusSquareFill",''),Ry=(0,r.makeIcon)("Power",''),Fy=(0,r.makeIcon)("Printer",''),zy=(0,r.makeIcon)("PrinterFill",''),Ny=(0,r.makeIcon)("Puzzle",''),Hy=(0,r.makeIcon)("PuzzleFill",''),Vy=(0,r.makeIcon)("Question",''),Yy=(0,r.makeIcon)("QuestionCircle",''),jy=(0,r.makeIcon)("QuestionCircleFill",''),Uy=(0,r.makeIcon)("QuestionDiamond",''),$y=(0,r.makeIcon)("QuestionDiamondFill",''),Gy=(0,r.makeIcon)("QuestionLg",''),Wy=(0,r.makeIcon)("QuestionOctagon",''),qy=(0,r.makeIcon)("QuestionOctagonFill",''),Ky=(0,r.makeIcon)("QuestionSquare",''),Xy=(0,r.makeIcon)("QuestionSquareFill",''),Jy=(0,r.makeIcon)("Rainbow",''),Zy=(0,r.makeIcon)("Receipt",''),Qy=(0,r.makeIcon)("ReceiptCutoff",''),eb=(0,r.makeIcon)("Reception0",''),tb=(0,r.makeIcon)("Reception1",''),nb=(0,r.makeIcon)("Reception2",''),rb=(0,r.makeIcon)("Reception3",''),ab=(0,r.makeIcon)("Reception4",''),ib=(0,r.makeIcon)("Record",''),ob=(0,r.makeIcon)("Record2",''),sb=(0,r.makeIcon)("Record2Fill",''),lb=(0,r.makeIcon)("RecordBtn",''),cb=(0,r.makeIcon)("RecordBtnFill",''),ub=(0,r.makeIcon)("RecordCircle",''),db=(0,r.makeIcon)("RecordCircleFill",''),hb=(0,r.makeIcon)("RecordFill",''),fb=(0,r.makeIcon)("Recycle",''),pb=(0,r.makeIcon)("Reddit",''),mb=(0,r.makeIcon)("Reply",''),gb=(0,r.makeIcon)("ReplyAll",''),vb=(0,r.makeIcon)("ReplyAllFill",''),yb=(0,r.makeIcon)("ReplyFill",''),bb=(0,r.makeIcon)("Rss",''),_b=(0,r.makeIcon)("RssFill",''),Ib=(0,r.makeIcon)("Rulers",''),Tb=(0,r.makeIcon)("Safe",''),wb=(0,r.makeIcon)("Safe2",''),Eb=(0,r.makeIcon)("Safe2Fill",''),Mb=(0,r.makeIcon)("SafeFill",''),kb=(0,r.makeIcon)("Save",''),Sb=(0,r.makeIcon)("Save2",''),Pb=(0,r.makeIcon)("Save2Fill",''),Ab=(0,r.makeIcon)("SaveFill",''),xb=(0,r.makeIcon)("Scissors",''),Bb=(0,r.makeIcon)("Screwdriver",''),Lb=(0,r.makeIcon)("SdCard",''),Ob=(0,r.makeIcon)("SdCardFill",''),Cb=(0,r.makeIcon)("Search",''),Db=(0,r.makeIcon)("SegmentedNav",''),Rb=(0,r.makeIcon)("Server",''),Fb=(0,r.makeIcon)("Share",''),zb=(0,r.makeIcon)("ShareFill",''),Nb=(0,r.makeIcon)("Shield",''),Hb=(0,r.makeIcon)("ShieldCheck",''),Vb=(0,r.makeIcon)("ShieldExclamation",''),Yb=(0,r.makeIcon)("ShieldFill",''),jb=(0,r.makeIcon)("ShieldFillCheck",''),Ub=(0,r.makeIcon)("ShieldFillExclamation",''),$b=(0,r.makeIcon)("ShieldFillMinus",''),Gb=(0,r.makeIcon)("ShieldFillPlus",''),Wb=(0,r.makeIcon)("ShieldFillX",''),qb=(0,r.makeIcon)("ShieldLock",''),Kb=(0,r.makeIcon)("ShieldLockFill",''),Xb=(0,r.makeIcon)("ShieldMinus",''),Jb=(0,r.makeIcon)("ShieldPlus",''),Zb=(0,r.makeIcon)("ShieldShaded",''),Qb=(0,r.makeIcon)("ShieldSlash",''),e_=(0,r.makeIcon)("ShieldSlashFill",''),t_=(0,r.makeIcon)("ShieldX",''),n_=(0,r.makeIcon)("Shift",''),r_=(0,r.makeIcon)("ShiftFill",''),a_=(0,r.makeIcon)("Shop",''),i_=(0,r.makeIcon)("ShopWindow",''),o_=(0,r.makeIcon)("Shuffle",''),s_=(0,r.makeIcon)("Signpost",''),l_=(0,r.makeIcon)("Signpost2",''),c_=(0,r.makeIcon)("Signpost2Fill",''),u_=(0,r.makeIcon)("SignpostFill",''),d_=(0,r.makeIcon)("SignpostSplit",''),h_=(0,r.makeIcon)("SignpostSplitFill",''),f_=(0,r.makeIcon)("Sim",''),p_=(0,r.makeIcon)("SimFill",''),m_=(0,r.makeIcon)("SkipBackward",''),g_=(0,r.makeIcon)("SkipBackwardBtn",''),v_=(0,r.makeIcon)("SkipBackwardBtnFill",''),y_=(0,r.makeIcon)("SkipBackwardCircle",''),b_=(0,r.makeIcon)("SkipBackwardCircleFill",''),__=(0,r.makeIcon)("SkipBackwardFill",''),I_=(0,r.makeIcon)("SkipEnd",''),T_=(0,r.makeIcon)("SkipEndBtn",''),w_=(0,r.makeIcon)("SkipEndBtnFill",''),E_=(0,r.makeIcon)("SkipEndCircle",''),M_=(0,r.makeIcon)("SkipEndCircleFill",''),k_=(0,r.makeIcon)("SkipEndFill",''),S_=(0,r.makeIcon)("SkipForward",''),P_=(0,r.makeIcon)("SkipForwardBtn",''),A_=(0,r.makeIcon)("SkipForwardBtnFill",''),x_=(0,r.makeIcon)("SkipForwardCircle",''),B_=(0,r.makeIcon)("SkipForwardCircleFill",''),L_=(0,r.makeIcon)("SkipForwardFill",''),O_=(0,r.makeIcon)("SkipStart",''),C_=(0,r.makeIcon)("SkipStartBtn",''),D_=(0,r.makeIcon)("SkipStartBtnFill",''),R_=(0,r.makeIcon)("SkipStartCircle",''),F_=(0,r.makeIcon)("SkipStartCircleFill",''),z_=(0,r.makeIcon)("SkipStartFill",''),N_=(0,r.makeIcon)("Skype",''),H_=(0,r.makeIcon)("Slack",''),V_=(0,r.makeIcon)("Slash",''),Y_=(0,r.makeIcon)("SlashCircle",''),j_=(0,r.makeIcon)("SlashCircleFill",''),U_=(0,r.makeIcon)("SlashLg",''),$_=(0,r.makeIcon)("SlashSquare",''),G_=(0,r.makeIcon)("SlashSquareFill",''),W_=(0,r.makeIcon)("Sliders",''),q_=(0,r.makeIcon)("Smartwatch",''),K_=(0,r.makeIcon)("Snow",''),X_=(0,r.makeIcon)("Snow2",''),J_=(0,r.makeIcon)("Snow3",''),Z_=(0,r.makeIcon)("SortAlphaDown",''),Q_=(0,r.makeIcon)("SortAlphaDownAlt",''),eI=(0,r.makeIcon)("SortAlphaUp",''),tI=(0,r.makeIcon)("SortAlphaUpAlt",''),nI=(0,r.makeIcon)("SortDown",''),rI=(0,r.makeIcon)("SortDownAlt",''),aI=(0,r.makeIcon)("SortNumericDown",''),iI=(0,r.makeIcon)("SortNumericDownAlt",''),oI=(0,r.makeIcon)("SortNumericUp",''),sI=(0,r.makeIcon)("SortNumericUpAlt",''),lI=(0,r.makeIcon)("SortUp",''),cI=(0,r.makeIcon)("SortUpAlt",''),uI=(0,r.makeIcon)("Soundwave",''),dI=(0,r.makeIcon)("Speaker",''),hI=(0,r.makeIcon)("SpeakerFill",''),fI=(0,r.makeIcon)("Speedometer",''),pI=(0,r.makeIcon)("Speedometer2",''),mI=(0,r.makeIcon)("Spellcheck",''),gI=(0,r.makeIcon)("Square",''),vI=(0,r.makeIcon)("SquareFill",''),yI=(0,r.makeIcon)("SquareHalf",''),bI=(0,r.makeIcon)("Stack",''),_I=(0,r.makeIcon)("Star",''),II=(0,r.makeIcon)("StarFill",''),TI=(0,r.makeIcon)("StarHalf",''),wI=(0,r.makeIcon)("Stars",''),EI=(0,r.makeIcon)("Stickies",''),MI=(0,r.makeIcon)("StickiesFill",''),kI=(0,r.makeIcon)("Sticky",''),SI=(0,r.makeIcon)("StickyFill",''),PI=(0,r.makeIcon)("Stop",''),AI=(0,r.makeIcon)("StopBtn",''),xI=(0,r.makeIcon)("StopBtnFill",''),BI=(0,r.makeIcon)("StopCircle",''),LI=(0,r.makeIcon)("StopCircleFill",''),OI=(0,r.makeIcon)("StopFill",''),CI=(0,r.makeIcon)("Stoplights",''),DI=(0,r.makeIcon)("StoplightsFill",''),RI=(0,r.makeIcon)("Stopwatch",''),FI=(0,r.makeIcon)("StopwatchFill",''),zI=(0,r.makeIcon)("Subtract",''),NI=(0,r.makeIcon)("SuitClub",''),HI=(0,r.makeIcon)("SuitClubFill",''),VI=(0,r.makeIcon)("SuitDiamond",''),YI=(0,r.makeIcon)("SuitDiamondFill",''),jI=(0,r.makeIcon)("SuitHeart",''),UI=(0,r.makeIcon)("SuitHeartFill",''),$I=(0,r.makeIcon)("SuitSpade",''),GI=(0,r.makeIcon)("SuitSpadeFill",''),WI=(0,r.makeIcon)("Sun",''),qI=(0,r.makeIcon)("SunFill",''),KI=(0,r.makeIcon)("Sunglasses",''),XI=(0,r.makeIcon)("Sunrise",''),JI=(0,r.makeIcon)("SunriseFill",''),ZI=(0,r.makeIcon)("Sunset",''),QI=(0,r.makeIcon)("SunsetFill",''),eT=(0,r.makeIcon)("SymmetryHorizontal",''),tT=(0,r.makeIcon)("SymmetryVertical",''),nT=(0,r.makeIcon)("Table",''),rT=(0,r.makeIcon)("Tablet",''),aT=(0,r.makeIcon)("TabletFill",''),iT=(0,r.makeIcon)("TabletLandscape",''),oT=(0,r.makeIcon)("TabletLandscapeFill",''),sT=(0,r.makeIcon)("Tag",''),lT=(0,r.makeIcon)("TagFill",''),cT=(0,r.makeIcon)("Tags",''),uT=(0,r.makeIcon)("TagsFill",''),dT=(0,r.makeIcon)("Telegram",''),hT=(0,r.makeIcon)("Telephone",''),fT=(0,r.makeIcon)("TelephoneFill",''),pT=(0,r.makeIcon)("TelephoneForward",''),mT=(0,r.makeIcon)("TelephoneForwardFill",''),gT=(0,r.makeIcon)("TelephoneInbound",''),vT=(0,r.makeIcon)("TelephoneInboundFill",''),yT=(0,r.makeIcon)("TelephoneMinus",''),bT=(0,r.makeIcon)("TelephoneMinusFill",''),_T=(0,r.makeIcon)("TelephoneOutbound",''),IT=(0,r.makeIcon)("TelephoneOutboundFill",''),TT=(0,r.makeIcon)("TelephonePlus",''),wT=(0,r.makeIcon)("TelephonePlusFill",''),ET=(0,r.makeIcon)("TelephoneX",''),MT=(0,r.makeIcon)("TelephoneXFill",''),kT=(0,r.makeIcon)("Terminal",''),ST=(0,r.makeIcon)("TerminalFill",''),PT=(0,r.makeIcon)("TextCenter",''),AT=(0,r.makeIcon)("TextIndentLeft",''),xT=(0,r.makeIcon)("TextIndentRight",''),BT=(0,r.makeIcon)("TextLeft",''),LT=(0,r.makeIcon)("TextParagraph",''),OT=(0,r.makeIcon)("TextRight",''),CT=(0,r.makeIcon)("Textarea",''),DT=(0,r.makeIcon)("TextareaResize",''),RT=(0,r.makeIcon)("TextareaT",''),FT=(0,r.makeIcon)("Thermometer",''),zT=(0,r.makeIcon)("ThermometerHalf",''),NT=(0,r.makeIcon)("ThermometerHigh",''),HT=(0,r.makeIcon)("ThermometerLow",''),VT=(0,r.makeIcon)("ThermometerSnow",''),YT=(0,r.makeIcon)("ThermometerSun",''),jT=(0,r.makeIcon)("ThreeDots",''),UT=(0,r.makeIcon)("ThreeDotsVertical",''),$T=(0,r.makeIcon)("Toggle2Off",''),GT=(0,r.makeIcon)("Toggle2On",''),WT=(0,r.makeIcon)("ToggleOff",''),qT=(0,r.makeIcon)("ToggleOn",''),KT=(0,r.makeIcon)("Toggles",''),XT=(0,r.makeIcon)("Toggles2",''),JT=(0,r.makeIcon)("Tools",''),ZT=(0,r.makeIcon)("Tornado",''),QT=(0,r.makeIcon)("Translate",''),ew=(0,r.makeIcon)("Trash",''),tw=(0,r.makeIcon)("Trash2",''),nw=(0,r.makeIcon)("Trash2Fill",''),rw=(0,r.makeIcon)("TrashFill",''),aw=(0,r.makeIcon)("Tree",''),iw=(0,r.makeIcon)("TreeFill",''),ow=(0,r.makeIcon)("Triangle",''),sw=(0,r.makeIcon)("TriangleFill",''),lw=(0,r.makeIcon)("TriangleHalf",''),cw=(0,r.makeIcon)("Trophy",''),uw=(0,r.makeIcon)("TrophyFill",''),dw=(0,r.makeIcon)("TropicalStorm",''),hw=(0,r.makeIcon)("Truck",''),fw=(0,r.makeIcon)("TruckFlatbed",''),pw=(0,r.makeIcon)("Tsunami",''),mw=(0,r.makeIcon)("Tv",''),gw=(0,r.makeIcon)("TvFill",''),vw=(0,r.makeIcon)("Twitch",''),yw=(0,r.makeIcon)("Twitter",''),bw=(0,r.makeIcon)("Type",''),_w=(0,r.makeIcon)("TypeBold",''),Iw=(0,r.makeIcon)("TypeH1",''),Tw=(0,r.makeIcon)("TypeH2",''),ww=(0,r.makeIcon)("TypeH3",''),Ew=(0,r.makeIcon)("TypeItalic",''),Mw=(0,r.makeIcon)("TypeStrikethrough",''),kw=(0,r.makeIcon)("TypeUnderline",''),Sw=(0,r.makeIcon)("UiChecks",''),Pw=(0,r.makeIcon)("UiChecksGrid",''),Aw=(0,r.makeIcon)("UiRadios",''),xw=(0,r.makeIcon)("UiRadiosGrid",''),Bw=(0,r.makeIcon)("Umbrella",''),Lw=(0,r.makeIcon)("UmbrellaFill",''),Ow=(0,r.makeIcon)("Union",''),Cw=(0,r.makeIcon)("Unlock",''),Dw=(0,r.makeIcon)("UnlockFill",''),Rw=(0,r.makeIcon)("Upc",''),Fw=(0,r.makeIcon)("UpcScan",''),zw=(0,r.makeIcon)("Upload",''),Nw=(0,r.makeIcon)("VectorPen",''),Hw=(0,r.makeIcon)("ViewList",''),Vw=(0,r.makeIcon)("ViewStacked",''),Yw=(0,r.makeIcon)("Vinyl",''),jw=(0,r.makeIcon)("VinylFill",''),Uw=(0,r.makeIcon)("Voicemail",''),$w=(0,r.makeIcon)("VolumeDown",''),Gw=(0,r.makeIcon)("VolumeDownFill",''),Ww=(0,r.makeIcon)("VolumeMute",''),qw=(0,r.makeIcon)("VolumeMuteFill",''),Kw=(0,r.makeIcon)("VolumeOff",''),Xw=(0,r.makeIcon)("VolumeOffFill",''),Jw=(0,r.makeIcon)("VolumeUp",''),Zw=(0,r.makeIcon)("VolumeUpFill",''),Qw=(0,r.makeIcon)("Vr",''),eE=(0,r.makeIcon)("Wallet",''),tE=(0,r.makeIcon)("Wallet2",''),nE=(0,r.makeIcon)("WalletFill",''),rE=(0,r.makeIcon)("Watch",''),aE=(0,r.makeIcon)("Water",''),iE=(0,r.makeIcon)("Whatsapp",''),oE=(0,r.makeIcon)("Wifi",''),sE=(0,r.makeIcon)("Wifi1",''),lE=(0,r.makeIcon)("Wifi2",''),cE=(0,r.makeIcon)("WifiOff",''),uE=(0,r.makeIcon)("Wind",''),dE=(0,r.makeIcon)("Window",''),hE=(0,r.makeIcon)("WindowDock",''),fE=(0,r.makeIcon)("WindowSidebar",''),pE=(0,r.makeIcon)("Wrench",''),mE=(0,r.makeIcon)("X",''),gE=(0,r.makeIcon)("XCircle",''),vE=(0,r.makeIcon)("XCircleFill",''),yE=(0,r.makeIcon)("XDiamond",''),bE=(0,r.makeIcon)("XDiamondFill",''),_E=(0,r.makeIcon)("XLg",''),IE=(0,r.makeIcon)("XOctagon",''),TE=(0,r.makeIcon)("XOctagonFill",''),wE=(0,r.makeIcon)("XSquare",''),EE=(0,r.makeIcon)("XSquareFill",''),ME=(0,r.makeIcon)("Youtube",''),kE=(0,r.makeIcon)("ZoomIn",''),SE=(0,r.makeIcon)("ZoomOut",'')},61698:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BCardFooter:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(41897),s=n(91671),l=n(1340),c=n(53389);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BLink:()=>r.BLink,LinkPlugin:()=>a});var r=n(66344),a=(0,n(96266).pluginFactory)({components:{BLink:r.BLink}})},61965:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BlobReader:()=>b,BlobWriter:()=>_,Data64URIReader:()=>v,Data64URIWriter:()=>y,ERR_HTTP_RANGE:()=>o,ERR_ITERATOR_COMPLETED_TOO_SOON:()=>s,ERR_WRITER_NOT_INITIALIZED:()=>l,HttpRangeReader:()=>F,HttpReader:()=>R,Reader:()=>m,SplitDataReader:()=>H,SplitDataWriter:()=>V,SplitZipReader:()=>G,SplitZipWriter:()=>W,TextReader:()=>I,TextWriter:()=>T,Uint8ArrayReader:()=>z,Uint8ArrayWriter:()=>N,Writer:()=>g,initReader:()=>j,initStream:()=>Y,initWriter:()=>U,readUint8Array:()=>$});var r=n(70048),a=n(41535);const i="HTTP error ",o="HTTP Range not supported",s="Writer iterator completed too soon",l="Writer not initialized",c="Range",u="GET",d="bytes",h=65536,f="writable";class p{constructor(){this.size=0}init(){this.initialized=!0}}class m extends p{get readable(){const e=this,{chunkSize:t=h}=e,n=new ReadableStream({start(){this.chunkOffset=0},async pull(a){const{offset:i=0,size:o,diskNumberStart:s}=n,{chunkOffset:l}=this,c=o===r.UNDEFINED_VALUE?t:Math.min(t,o-l),u=await $(e,i+l,c,s);a.enqueue(u),l+t>o||o===r.UNDEFINED_VALUE&&!u.length&&c?a.close():this.chunkOffset+=t}});return n}}class g extends p{constructor(){super();const e=this,t=new WritableStream({write(t){if(!e.initialized)throw new Error(l);return e.writeUint8Array(t)}});Object.defineProperty(e,f,{get:()=>t})}writeUint8Array(){}}class v extends m{constructor(e){super();let t=e.length;for(;"="==e.charAt(t-1);)t--;const n=e.indexOf(",")+1;Object.assign(this,{dataURI:e,dataStart:n,size:Math.floor(.75*(t-n))})}readUint8Array(e,t){const{dataStart:n,dataURI:r}=this,a=new Uint8Array(t),i=4*Math.floor(e/3),o=atob(r.substring(i+n,4*Math.ceil((e+t)/3)+n)),s=e-3*Math.floor(i/4);for(let e=s;e2?t.data+=btoa(r):t.pending=r}getData(){return this.data+btoa(this.pending)}}class b extends m{constructor(e){super(),Object.assign(this,{blob:e,size:e.size})}async readUint8Array(e,t){const n=this,r=e+t,a=e||rt&&(i=i.slice(e,r)),new Uint8Array(i)}}class _ extends p{constructor(e){super();const t=new TransformStream,n=[];e&&n.push(["Content-Type",e]),Object.defineProperty(this,f,{get:()=>t.writable}),this.blob=new Response(t.readable,{headers:n}).blob()}getData(){return this.blob}}class I extends b{constructor(e){super(new Blob([e],{type:"text/plain"}))}}class T extends _{constructor(e){super(e),Object.assign(this,{encoding:e,utf8:!e||"utf-8"==e.toLowerCase()})}async getData(){const{encoding:e,utf8:t}=this,n=await super.getData();if(n.text&&t)return n.text();{const t=new FileReader;return new Promise(((r,a)=>{Object.assign(t,{onload:({target:e})=>r(e.result),onerror:()=>a(t.error)}),t.readAsText(n,e)}))}}}class w extends m{constructor(e,t){super(),M(this,e,t)}async init(){await k(this,C,x),super.init()}readUint8Array(e,t){return S(this,e,t,C,x)}}class E extends m{constructor(e,t){super(),M(this,e,t)}async init(){await k(this,D,B),super.init()}readUint8Array(e,t){return S(this,e,t,D,B)}}function M(e,t,n){const{preventHeadRequest:r,useRangeHeader:a,forceRangeRequests:i,combineSizeEocd:o}=n;delete(n=Object.assign({},n)).preventHeadRequest,delete n.useRangeHeader,delete n.forceRangeRequests,delete n.combineSizeEocd,delete n.useXHR,Object.assign(e,{url:t,options:n,preventHeadRequest:r,useRangeHeader:a,forceRangeRequests:i,combineSizeEocd:o})}async function k(e,t,n){const{url:i,preventHeadRequest:s,useRangeHeader:l,forceRangeRequests:c,combineSizeEocd:h}=e;if(function(e){const{baseURL:t}=(0,a.getConfiguration)(),{protocol:n}=new URL(e,t);return"http:"==n||"https:"==n}(i)&&(l||c)&&(void 0===s||s)){const a=await t(u,e,P(e,h?-r.END_OF_CENTRAL_DIR_LENGTH:void 0));if(!c&&a.headers.get("Accept-Ranges")!=d)throw new Error(o);{let i;h&&(e.eocdCache=new Uint8Array(await a.arrayBuffer()));const o=a.headers.get("Content-Range");if(o){const e=o.trim().split(/\s*\/\s*/);if(e.length){const t=e[1];t&&"*"!=t&&(i=Number(t))}}i===r.UNDEFINED_VALUE?await O(e,t,n):e.size=i}}else await O(e,t,n)}async function S(e,t,n,a,i){const{useRangeHeader:s,forceRangeRequests:l,eocdCache:c,size:d,options:h}=e;if(s||l){if(c&&t==d-r.END_OF_CENTRAL_DIR_LENGTH&&n==r.END_OF_CENTRAL_DIR_LENGTH)return c;const i=await a(u,e,P(e,t,n));if(206!=i.status)throw new Error(o);return new Uint8Array(await i.arrayBuffer())}{const{data:r}=e;return r||await i(e,h),new Uint8Array(e.data.subarray(t,t+n))}}function P(e,t=0,n=1){return Object.assign({},A(e),{[c]:d+"="+(t<0?t:t+"-"+(t+n-1))})}function A({options:e}){const{headers:t}=e;if(t)return Symbol.iterator in t?Object.fromEntries(t):t}async function x(e){await L(e,C)}async function B(e){await L(e,D)}async function L(e,t){const n=await t(u,e,A(e));e.data=new Uint8Array(await n.arrayBuffer()),e.size||(e.size=e.data.length)}async function O(e,t,n){if(e.preventHeadRequest)await n(e,e.options);else{const r=(await t("HEAD",e,A(e))).headers.get("Content-Length");r?e.size=Number(r):await n(e,e.options)}}async function C(e,{options:t,url:n},r){const a=await fetch(n,Object.assign({},t,{method:e,headers:r}));if(a.status<400)return a;throw 416==a.status?new Error(o):new Error(i+(a.statusText||a.status))}function D(e,{url:t},n){return new Promise(((r,a)=>{const s=new XMLHttpRequest;if(s.addEventListener("load",(()=>{if(s.status<400){const e=[];s.getAllResponseHeaders().trim().split(/[\r\n]+/).forEach((t=>{const n=t.trim().split(/\s*:\s*/);n[0]=n[0].trim().replace(/^[a-z]|-[a-z]/g,(e=>e.toUpperCase())),e.push(n)})),r({status:s.status,arrayBuffer:()=>s.response,headers:new Map(e)})}else a(416==s.status?new Error(o):new Error(i+(s.statusText||s.status)))}),!1),s.addEventListener("error",(e=>a(e.detail?e.detail.error:new Error("Network error"))),!1),s.open(e,t),n)for(const e of Object.entries(n))s.setRequestHeader(e[0],e[1]);s.responseType="arraybuffer",s.send()}))}class R extends m{constructor(e,t={}){super(),Object.assign(this,{url:e,reader:t.useXHR?new E(e,t):new w(e,t)})}set size(e){}get size(){return this.reader.size}async init(){await this.reader.init(),super.init()}readUint8Array(e,t){return this.reader.readUint8Array(e,t)}}class F extends R{constructor(e,t={}){t.useRangeHeader=!0,super(e,t)}}class z extends m{constructor(e){super(),Object.assign(this,{array:e,size:e.length})}readUint8Array(e,t){return this.array.slice(e,e+t)}}class N extends g{init(e=0){Object.assign(this,{offset:0,array:new Uint8Array(e)}),super.init()}writeUint8Array(e){const t=this;if(t.offset+e.length>t.array.length){const n=t.array;t.array=new Uint8Array(n.length+e.length),t.array.set(n)}t.array.set(e,t.offset),t.offset+=e.length}getData(){return this.array}}class H extends m{constructor(e){super(),this.readers=e}async init(){const e=this,{readers:t}=e;e.lastDiskNumber=0,e.lastDiskOffset=0,await Promise.all(t.map((async(n,r)=>{await n.init(),r!=t.length-1&&(e.lastDiskOffset+=n.size),e.size+=n.size}))),super.init()}async readUint8Array(e,t,n=0){const r=this,{readers:a}=this;let i,o=n;-1==o&&(o=a.length-1);let s=e;for(;s>=a[o].size;)s-=a[o].size,o++;const l=a[o],c=l.size;if(s+t<=c)i=await $(l,s,t);else{const a=c-s;i=new Uint8Array(t),i.set(await $(l,s,a)),i.set(await r.readUint8Array(e+a,t-a,n),a)}return r.lastDiskNumber=Math.max(o,r.lastDiskNumber),i}}class V extends p{constructor(e,t=4294967295){super();const n=this;let r,a,i;Object.assign(n,{diskNumber:0,diskOffset:0,size:0,maxSize:t,availableSize:t});const o=new WritableStream({async write(t){const{availableSize:o}=n;if(i)t.length>=o?(await l(t.slice(0,o)),await c(),n.diskOffset+=r.size,n.diskNumber++,i=null,await this.write(t.slice(o))):await l(t);else{const{value:o,done:l}=await e.next();if(l&&!o)throw new Error(s);r=o,r.size=0,r.maxSize&&(n.maxSize=r.maxSize),n.availableSize=n.maxSize,await Y(r),a=o.writable,i=a.getWriter(),await this.write(t)}},async close(){await i.ready,await c()}});async function l(e){const t=e.length;t&&(await i.ready,await i.write(e),r.size+=t,n.size+=t,n.availableSize-=t)}async function c(){a.size=r.size,await i.close()}Object.defineProperty(n,f,{get:()=>o})}}async function Y(e,t){if(!e.init||e.initialized)return Promise.resolve();await e.init(t)}function j(e){return Array.isArray(e)&&(e=new H(e)),e instanceof ReadableStream&&(e={readable:e}),e}function U(e){e.writable===r.UNDEFINED_VALUE&&typeof e.next==r.FUNCTION_TYPE&&(e=new V(e)),e instanceof WritableStream&&(e={writable:e});const{writable:t}=e;return t.size===r.UNDEFINED_VALUE&&(t.size=0),e instanceof V||Object.assign(e,{diskNumber:0,diskOffset:0,availableSize:1/0,maxSize:1/0}),e}function $(e,t,n,r){return e.readUint8Array(t,n,r)}const G=H,W=V},62368:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormInvalidFeedback:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=(0,o.makePropsConfigurable)({ariaLive:(0,o.makeProp)(i.PROP_TYPE_STRING),forceShow:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),id:(0,o.makeProp)(i.PROP_TYPE_STRING),role:(0,o.makeProp)(i.PROP_TYPE_STRING),state:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,null),tag:(0,o.makeProp)(i.PROP_TYPE_STRING,"div"),tooltip:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1)},a.NAME_FORM_INVALID_FEEDBACK),l=(0,r.extend)({name:a.NAME_FORM_INVALID_FEEDBACK,functional:!0,props:s,render:function(e,t){var n=t.props,a=t.data,i=t.children,o=n.tooltip,s=n.ariaLive,l=!0===n.forceShow||!1===n.state;return e(n.tag,(0,r.mergeData)(a,{class:{"d-block":l,"invalid-feedback":!o,"invalid-tooltip":o},attrs:{id:n.id||null,role:n.role||null,"aria-live":s||null,"aria-atomic":s?"true":null}}),i)}})},62477:function(e,t,n){e.exports=function(e){"use strict";function t(e,t){return e(t={exports:{}},t.exports),t.exports}function n(e){return e&&e.default||e}e=e&&e.hasOwnProperty("default")?e.default:e;var r={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},a=t((function(e){var t={};for(var n in r)r.hasOwnProperty(n)&&(t[r[n]]=n);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in a)if(a.hasOwnProperty(i)){if(!("channels"in a[i]))throw new Error("missing channels property: "+i);if(!("labels"in a[i]))throw new Error("missing channel labels property: "+i);if(a[i].labels.length!==a[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=a[i].channels,s=a[i].labels;delete a[i].channels,delete a[i].labels,Object.defineProperty(a[i],"channels",{value:o}),Object.defineProperty(a[i],"labels",{value:s})}function l(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}a.rgb.hsl=function(e){var t,n,r=e[0]/255,a=e[1]/255,i=e[2]/255,o=Math.min(r,a,i),s=Math.max(r,a,i),l=s-o;return s===o?t=0:r===s?t=(a-i)/l:a===s?t=2+(i-r)/l:i===s&&(t=4+(r-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},a.rgb.hsv=function(e){var t,n,r,a,i,o=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(o,s,l),u=c-Math.min(o,s,l),d=function(e){return(c-e)/6/u+.5};return 0===u?a=i=0:(i=u/c,t=d(o),n=d(s),r=d(l),o===c?a=r-n:s===c?a=1/3+t-r:l===c&&(a=2/3+n-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*i,100*c]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,a=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-a)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var n=t[e];if(n)return n;var a,i=1/0;for(var o in r)if(r.hasOwnProperty(o)){var s=l(e,r[o]);s.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,r,a,i,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[i=255*l,i,i];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var c=0;c<3;c++)(r=o+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,a[c]=255*i;return a},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,a=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,a*=i<=1?i:2-i,[t,100*(0===r?2*a/(i+a):2*n/(r+n)),(r+n)/2*100]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i));switch(r*=255,a){case 0:return[r,l,o];case 1:return[s,r,o];case 2:return[o,r,l];case 3:return[o,s,r];case 4:return[l,o,r];case 5:return[r,o,s]}},a.hsv.hsl=function(e){var t,n,r,a=e[0],i=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return r=(2-i)*o,n=i*s,[a,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,a,i,o,s,l=e[0]/360,c=e[1]/100,u=e[2]/100,d=c+u;switch(d>1&&(c/=d,u/=d),r=6*l-(t=Math.floor(6*l)),1&t&&(r=1-r),a=c+r*((n=1-u)-c),t){default:case 6:case 0:i=n,o=a,s=c;break;case 1:i=a,o=n,s=c;break;case 2:i=c,o=n,s=a;break;case 3:i=c,o=a,s=n;break;case 4:i=a,o=c,s=n;break;case 5:i=n,o=c,s=a}return[255*i,255*o,255*s]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a))]},a.xyz.rgb=function(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100;return n=-.9689*a+1.8758*i+.0415*o,r=.0557*a+-.204*i+1.057*o,t=(t=3.2406*a+-1.5372*i+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,a=e[0];t=e[1]/500+(n=(a+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],a=e[2];return(t=360*Math.atan2(a,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+a*a),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,a=e[2]/255,i=Math.max(Math.max(n,r),a),o=Math.min(Math.min(n,r),a),s=i-o;return t=s<=0?0:i===n?(r-a)/s%6:i===r?2+(a-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,a=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(a=(n-.5*r)/(1-r)),[e[0],100*r,100*a]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var a=[0,0,0],i=t%1*6,o=i%1,s=1-o,l=0;switch(Math.floor(i)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return l=(1-n)*r,[255*(n*a[0]+l),255*(n*a[1]+l),255*(n*a[2]+l)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function i(){for(var e={},t=Object.keys(a),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function h(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,a=0;a=0&&t<1?L(Math.round(255*t)):"")}function w(e,t){return t<1||e[3]&&e[3]<1?E(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}function E(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function M(e,t){return t<1||e[3]&&e[3]<1?k(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"}function k(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function S(e,t){return t<1||e[3]&&e[3]<1?P(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"}function P(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function A(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"}function x(e){return O[e.slice(0,3)]}function B(e,t,n){return Math.min(Math.max(t,e),n)}function L(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var O={};for(var C in p)O[p[C]]=C;var D=function(e){return e instanceof D?e:this instanceof D?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=m.getRgba(e))?this.setValues("rgb",t):(t=m.getHsla(e))?this.setValues("hsl",t):(t=m.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new D(e);var t};D.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return m.hexString(this.values.rgb)},rgbString:function(){return m.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return m.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return m.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return m.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return m.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return m.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return m.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,a=void 0===t?.5:t,i=2*a-1,o=n.alpha()-r.alpha(),s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,l=1-s;return this.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue()).alpha(n.alpha()*a+r.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new D,r=this.values,a=n.values;for(var i in r)r.hasOwnProperty(i)&&(e=r[i],"[object Array]"===(t={}.toString.call(e))?a[i]=e.slice(0):"[object Number]"===t?a[i]=e:console.error("unexpected color value:",e));return n}},D.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},D.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},D.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r=0;a--)t.call(n,e[a],a);else for(a=0;a=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-V.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*V.easeInBounce(2*e):.5*V.easeOutBounce(2*e-1)+.5}},Y={effects:V};H.easingEffects=V;var j=Math.PI,U=j/180,$=2*j,G=j/2,W=j/4,q=2*j/3,K={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,a,i){if(i){var o=Math.min(i,a/2,r/2),s=t+o,l=n+o,c=t+r-o,u=n+a-o;e.moveTo(t,l),st.left-n&&e.xt.top-n&&e.y0&&e.requestAnimationFrame()},advance:function(){for(var e,t,n,r,a=this.animations,i=0;i=n?(oe.callback(e.onAnimationComplete,[e],t),t.animating=!1,a.splice(i,1)):++i}},ye=oe.options.resolve,be=["push","pop","shift","splice","unshift"];function _e(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),be.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),a=r.apply(this,t);return oe.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),a}})})))}function Ie(e,t){var n=e._chartjs;if(n){var r=n.listeners,a=r.indexOf(t);-1!==a&&r.splice(a,1),r.length>0||(be.forEach((function(t){delete e[t]})),delete e._chartjs)}}var Te=function(e,t){this.initialize(e,t)};oe.extend(Te.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.chart,r=n.scales,a=e.getDataset(),i=n.options.scales;null!==t.xAxisID&&t.xAxisID in r&&!a.xAxisID||(t.xAxisID=a.xAxisID||i.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in r&&!a.yAxisID||(t.yAxisID=a.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Ie(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,r=n.getMeta(),a=n.getDataset().data||[],i=r.data;for(e=0,t=a.length;er&&e.insertElements(r,a-r)},insertElements:function(e,t){for(var n=0;na?(i=a/t.innerRadius,e.arc(o,s,t.innerRadius-a,r+i,n-i,!0)):e.arc(o,s,a,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function ke(e,t,n,r){var a,i=n.endAngle;for(r&&(n.endAngle=n.startAngle+Ee,Me(e,n),n.endAngle=i,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=Ee,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+Ee,n.startAngle,!0),a=0;as;)a-=Ee;for(;a=o&&a<=s,c=i>=n.innerRadius&&i<=n.outerRadius;return l&&c}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,a={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/Ee)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+Ee,t.beginPath(),t.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),t.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),t.closePath(),e=0;ee.x&&(t=He(t,"left","right")):e.basen?n:r,r:l.right||a<0?0:a>t?t:a,b:l.bottom||i<0?0:i>n?n:i,l:l.left||o<0?0:o>t?t:o}}function je(e){var t=Ne(e),n=t.right-t.left,r=t.bottom-t.top,a=Ye(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+a.l,y:t.top+a.t,w:n-a.l-a.r,h:r-a.t-a.b}}}function Ue(e,t,n){var r=null===t,a=null===n,i=!(!e||r&&a)&&Ne(e);return i&&(r||t>=i.left&&t<=i.right)&&(a||n>=i.top&&n<=i.bottom)}Z._set("global",{elements:{rectangle:{backgroundColor:Fe,borderColor:Fe,borderSkipped:"bottom",borderWidth:0}}});var $e=pe.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=je(t),r=n.outer,a=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(r.x,r.y,r.w,r.h),r.w===a.w&&r.h===a.h||(e.save(),e.beginPath(),e.rect(r.x,r.y,r.w,r.h),e.clip(),e.fillStyle=t.borderColor,e.rect(a.x,a.y,a.w,a.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return Ue(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return ze(n)?Ue(n,e,null):Ue(n,null,t)},inXRange:function(e){return Ue(this._view,e,null)},inYRange:function(e){return Ue(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return ze(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return ze(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),Ge={},We=Pe,qe=Be,Ke=Re,Xe=$e;Ge.Arc=We,Ge.Line=qe,Ge.Point=Ke,Ge.Rectangle=Xe;var Je=oe._deprecated,Ze=oe.valueOrDefault;function Qe(e,t){var n,r,a,i,o=e._length;for(a=1,i=t.length;a0?Math.min(o,Math.abs(r-n)):o,n=r;return o}function et(e,t,n){var r,a,i=n.barThickness,o=t.stackCount,s=t.pixels[e],l=oe.isNullOrUndef(i)?Qe(t.scale,t.pixels):-1;return oe.isNullOrUndef(i)?(r=l*n.categoryPercentage,a=n.barPercentage):(r=i*o,a=1),{chunk:r/o,ratio:a,start:s-r/2}}function tt(e,t,n){var r,a=t.pixels,i=a[e],o=e>0?a[e-1]:null,s=e=0&&g.min>=0?g.min:g.max,I=void 0===g.start?g.end:g.max>=0&&g.min>=0?g.max-g.min:g.min-g.max,T=m.length;if(y||void 0===y&&void 0!==b)for(r=0;r=0&&c.max>=0?c.max:c.min,(g.min<0&&i<0||g.max>=0&&i>0)&&(_+=i));return o=h.getPixelForValue(_),l=(s=h.getPixelForValue(_+I))-o,void 0!==v&&Math.abs(l)=0&&!f||I<0&&f?o-v:o+v),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(e,t,n,r){var a=this,i="flex"===r.barThickness?tt(t,n,r):et(t,n,r),o=a.getStackIndex(e,a.getMeta().stack),s=i.start+i.chunk*o+i.chunk/2,l=Math.min(Ze(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}},draw:function(){var e=this,t=e.chart,n=e._getValueScale(),r=e.getMeta().data,a=e.getDataset(),i=r.length,o=0;for(oe.canvas.clipArea(t.ctx,t.chartArea);o=st?-lt:y<-st?lt:0)+g,_=Math.cos(y),I=Math.sin(y),T=Math.cos(b),w=Math.sin(b),E=y<=0&&b>=0||b>=lt,M=y<=ct&&b>=ct||b>=lt+ct,k=y<=-ct&&b>=-ct||b>=st+ct,S=y===-st||b>=st?-1:Math.min(_,_*m,T,T*m),P=k?-1:Math.min(I,I*m,w,w*m),A=E?1:Math.max(_,_*m,T,T*m),x=M?1:Math.max(I,I*m,w,w*m);c=(A-S)/2,u=(x-P)/2,d=-(A+S)/2,h=-(x+P)/2}for(r=0,a=p.length;r0&&!isNaN(e)?lt*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,a,i,o,s,l,c=this,u=0,d=c.chart;if(!e)for(t=0,n=d.data.datasets.length;t(u=s>u?s:u)?l:u);return u},setHoverStyle:function(e){var t=e._model,n=e._options,r=oe.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=ot(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=ot(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=ot(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n0&&pt(c[e-1]._model,l)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,l.left,l.right),n.controlPointPreviousY=u(n.controlPointPreviousY,l.top,l.bottom)),e0&&(i=e.getDatasetMeta(i[0]._datasetIndex).data),i},"x-axis":function(e,t){return xt(e,t,{intersect:!1})},point:function(e,t){return St(e,Mt(t,e))},nearest:function(e,t,n){var r=Mt(t,e);n.axis=n.axis||"xy";var a=At(n.axis);return Pt(e,r,n.intersect,a)},x:function(e,t,n){var r=Mt(t,e),a=[],i=!1;return kt(e,(function(e){e.inXRange(r.x)&&a.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(a=[]),a},y:function(e,t,n){var r=Mt(t,e),a=[],i=!1;return kt(e,(function(e){e.inYRange(r.y)&&a.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(a=[]),a}}},Lt=oe.extend;function Ot(e,t){return oe.where(e,(function(e){return e.pos===t}))}function Ct(e,t){return e.sort((function(e,n){var r=t?n:e,a=t?e:n;return r.weight===a.weight?r.index-a.index:r.weight-a.weight}))}function Dt(e){var t,n,r,a=[];for(t=0,n=(e||[]).length;t div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n",Wt=n(Object.freeze({__proto__:null,default:Gt})),qt="$chartjs",Kt="chartjs-",Xt=Kt+"size-monitor",Jt=Kt+"render-monitor",Zt=Kt+"render-animation",Qt=["animationstart","webkitAnimationStart"],en={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function tn(e,t){var n=oe.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function nn(e,t){var n=e.style,r=e.getAttribute("height"),a=e.getAttribute("width");if(e[qt]={initial:{height:r,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var i=tn(e,"width");void 0!==i&&(e.width=i)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=tn(e,"height");void 0!==i&&(e.height=o)}return e}var rn=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function an(e,t,n){e.addEventListener(t,n,rn)}function on(e,t,n){e.removeEventListener(t,n,rn)}function sn(e,t,n,r,a){return{type:e,chart:t,native:a||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function ln(e,t){var n=en[e.type]||e.type,r=oe.getRelativePosition(e,t);return sn(n,t,r.x,r.y,e)}function cn(e,t){var n=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),t=t||this,n||(n=!0,oe.requestAnimFrame.call(window,(function(){n=!1,e.apply(t,r)})))}}function un(e){var t=document.createElement("div");return t.className=e||"",t}function dn(e){var t=1e6,n=un(Xt),r=un(Xt+"-expand"),a=un(Xt+"-shrink");r.appendChild(un()),a.appendChild(un()),n.appendChild(r),n.appendChild(a),n._reset=function(){r.scrollLeft=t,r.scrollTop=t,a.scrollLeft=t,a.scrollTop=t};var i=function(){n._reset(),e()};return an(r,"scroll",i.bind(r,"expand")),an(a,"scroll",i.bind(a,"shrink")),n}function hn(e,t){var n=e[qt]||(e[qt]={}),r=n.renderProxy=function(e){e.animationName===Zt&&t()};oe.each(Qt,(function(t){an(e,t,r)})),n.reflow=!!e.offsetParent,e.classList.add(Jt)}function fn(e){var t=e[qt]||{},n=t.renderProxy;n&&(oe.each(Qt,(function(t){on(e,t,n)})),delete t.renderProxy),e.classList.remove(Jt)}function pn(e,t,n){var r=e[qt]||(e[qt]={}),a=r.resizer=dn(cn((function(){if(r.resizer){var a=n.options.maintainAspectRatio&&e.parentNode,i=a?a.clientWidth:0;t(sn("resize",n)),a&&a.clientWidth0){var i=e[0];i.label?n=i.label:i.xLabel?n=i.xLabel:a>0&&i.index-1?e.split("\n"):e}function Sn(e){var t=e._xScale,n=e._yScale||e._scale,r=e._index,a=e._datasetIndex,i=e._chart.getDatasetMeta(a).controller,o=i._getIndexScale(),s=i._getValueScale();return{xLabel:t?t.getLabelForIndex(r,a):"",yLabel:n?n.getLabelForIndex(r,a):"",label:o?""+o.getLabelForIndex(r,a):"",value:s?""+s.getLabelForIndex(r,a):"",index:r,datasetIndex:a,x:e._model.x,y:e._model.y}}function Pn(e){var t=Z.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Tn(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Tn(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Tn(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Tn(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Tn(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Tn(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Tn(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Tn(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Tn(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function An(e,t){var n=e._chart.ctx,r=2*t.yPadding,a=0,i=t.body,o=i.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,c=t.titleFontSize,u=t.bodyFontSize,d=t.footerFontSize;r+=s*c,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=o*u,r+=o?(o-1)*t.bodySpacing:0,r+=l?t.footerMarginTop:0,r+=l*d,r+=l?(l-1)*t.footerSpacing:0;var h=0,f=function(e){a=Math.max(a,n.measureText(e).width+h)};return n.font=oe.fontString(c,t._titleFontStyle,t._titleFontFamily),oe.each(t.title,f),n.font=oe.fontString(u,t._bodyFontStyle,t._bodyFontFamily),oe.each(t.beforeBody.concat(t.afterBody),f),h=t.displayColors?u+2:0,oe.each(i,(function(e){oe.each(e.before,f),oe.each(e.lines,f),oe.each(e.after,f)})),h=0,n.font=oe.fontString(d,t._footerFontStyle,t._footerFontFamily),oe.each(t.footer,f),{width:a+=2*t.xPadding,height:r}}function xn(e,t){var n,r,a,i,o,s=e._model,l=e._chart,c=e._chart.chartArea,u="center",d="center";s.yl.height-t.height&&(d="bottom");var h=(c.left+c.right)/2,f=(c.top+c.bottom)/2;"center"===d?(n=function(e){return e<=h},r=function(e){return e>h}):(n=function(e){return e<=t.width/2},r=function(e){return e>=l.width-t.width/2}),a=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},i=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=f?"top":"bottom"},n(s.x)?(u="left",a(s.x)&&(u="center",d=o(s.y))):r(s.x)&&(u="right",i(s.x)&&(u="center",d=o(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:d}}function Bn(e,t,n,r){var a=e.x,i=e.y,o=e.caretSize,s=e.caretPadding,l=e.cornerRadius,c=n.xAlign,u=n.yAlign,d=o+s,h=l+s;return"right"===c?a-=t.width:"center"===c&&((a-=t.width/2)+t.width>r.width&&(a=r.width-t.width),a<0&&(a=0)),"top"===u?i+=d:i-="bottom"===u?t.height+d:t.height/2,"center"===u?"left"===c?a+=d:"right"===c&&(a-=d):"left"===c?a-=h:"right"===c&&(a+=h),{x:a,y:i}}function Ln(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function On(e){return Mn([],kn(e))}var Cn=pe.extend({initialize:function(){this._model=Pn(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options.callbacks,n=t.beforeTitle.apply(e,arguments),r=t.title.apply(e,arguments),a=t.afterTitle.apply(e,arguments),i=[];return i=Mn(i,kn(n)),i=Mn(i,kn(r)),i=Mn(i,kn(a))},getBeforeBody:function(){return On(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,a=[];return oe.each(e,(function(e){var i={before:[],lines:[],after:[]};Mn(i.before,kn(r.beforeLabel.call(n,e,t))),Mn(i.lines,r.label.call(n,e,t)),Mn(i.after,kn(r.afterLabel.call(n,e,t))),a.push(i)})),a},getAfterBody:function(){return On(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),a=t.afterFooter.apply(e,arguments),i=[];return i=Mn(i,kn(n)),i=Mn(i,kn(r)),i=Mn(i,kn(a))},update:function(e){var t,n,r=this,a=r._options,i=r._model,o=r._model=Pn(a),s=r._active,l=r._data,c={xAlign:i.xAlign,yAlign:i.yAlign},u={x:i.x,y:i.y},d={width:i.width,height:i.height},h={x:i.caretX,y:i.caretY};if(s.length){o.opacity=1;var f=[],p=[];h=En[a.position].call(r,s,r._eventPosition);var m=[];for(t=0,n=s.length;t0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},a=Math.abs(t.opacity<.001)?0:t.opacity,i=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&i&&(e.save(),e.globalAlpha=a,this.drawBackground(r,t,e,n),r.y+=t.yPadding,oe.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),oe.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t=this,n=t._options,r=!1;return t._lastActive=t._lastActive||[],"mouseout"===e.type?t._active=[]:(t._active=t._chart.getElementsAtEventForMode(e,n.mode,n),n.reverse&&t._active.reverse()),(r=!oe.arrayEquals(t._active,t._lastActive))&&(t._lastActive=t._active,(n.enabled||n.custom)&&(t._eventPosition={x:e.x,y:e.y},t.update(!0),t.pivot())),r}}),Dn=En,Rn=Cn;Rn.positioners=Dn;var Fn=oe.valueOrDefault;function zn(){return oe.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var a,i,o,s=n[e].length;for(t[e]||(t[e]=[]),a=0;a=t[e].length&&t[e].push({}),!t[e][a].type||o.type&&o.type!==t[e][a].type?oe.merge(t[e][a],[In.getScaleDefaults(i),o]):oe.merge(t[e][a],o)}else oe._merger(e,t,n,r)}})}function Nn(){return oe.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){var a=t[e]||Object.create(null),i=n[e];"scales"===e?t[e]=zn(a,i):"scale"===e?t[e]=oe.merge(a,[In.getScaleDefaults(i.type),i]):oe._merger(e,t,n,r)}})}function Hn(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Nn(Z.global,Z[e.type],e.options||{}),e}function Vn(e){var t=e.options;oe.each(e.scales,(function(t){Ut.removeBox(e,t)})),t=Nn(Z.global,Z[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Yn(e,t,n){var r,a=function(e){return e.id===r};do{r=t+n++}while(oe.findIndex(e,a)>=0);return r}function jn(e){return"top"===e||"bottom"===e}function Un(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}Z._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var $n=function(e,t){return this.construct(e,t),this};oe.extend($n.prototype,{construct:function(e,t){var n=this;t=Hn(t);var r=bn.acquireContext(e,t),a=r&&r.canvas,i=a&&a.height,o=a&&a.width;n.id=oe.uid(),n.ctx=r,n.canvas=a,n.config=t,n.width=o,n.height=i,n.aspectRatio=i?o/i:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,$n.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),r&&a?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return _n.notify(e,"beforeInit"),oe.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),_n.notify(e,"afterInit"),e},clear:function(){return oe.canvas.clear(this),this},stop:function(){return ve.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,a=n.maintainAspectRatio&&t.aspectRatio||null,i=Math.max(0,Math.floor(oe.getMaximumWidth(r))),o=Math.max(0,Math.floor(a?i/a:oe.getMaximumHeight(r)));if((t.width!==i||t.height!==o)&&(r.width=t.width=i,r.height=t.height=o,r.style.width=i+"px",r.style.height=o+"px",oe.retinaScale(t,n.devicePixelRatio),!e)){var s={width:i,height:o};_n.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;oe.each(t.xAxes,(function(e,n){e.id||(e.id=Yn(t.xAxes,"x-axis-",n))})),oe.each(t.yAxes,(function(e,n){e.id||(e.id=Yn(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},r=[],a=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(r=r.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&r.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),oe.each(r,(function(t){var r=t.options,i=r.id,o=Fn(r.type,t.dtype);jn(r.position)!==jn(t.dposition)&&(r.position=t.dposition),a[i]=!0;var s=null;if(i in n&&n[i].type===o)(s=n[i]).options=r,s.ctx=e.ctx,s.chart=e;else{var l=In.getScaleConstructor(o);if(!l)return;s=new l({id:i,type:o,options:r,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),oe.each(a,(function(e,t){e||delete n[t]})),e.scales=n,In.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,r=[],a=n.data.datasets;for(e=0,t=a.length;e=0;--n)r.drawDataset(t[n],e);_n.notify(r,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this,r={meta:e,index:e.index,easingValue:t};!1!==_n.notify(n,"beforeDatasetDraw",[r])&&(e.controller.draw(t),_n.notify(n,"afterDatasetDraw",[r]))},_drawTooltip:function(e){var t=this,n=t.tooltip,r={tooltip:n,easingValue:e};!1!==_n.notify(t,"beforeTooltipDraw",[r])&&(n.draw(),_n.notify(t,"afterTooltipDraw",[r]))},getElementAtEvent:function(e){return Bt.modes.single(this,e)},getElementsAtEvent:function(e){return Bt.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Bt.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=Bt.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return Bt.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:e}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t=0;r--){var a=e[r];if(t(a))return a}},oe.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},oe.almostEquals=function(e,t,n){return Math.abs(e-t)=e},oe.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},oe.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},oe.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},oe.toRadians=function(e){return e*(Math.PI/180)},oe.toDegrees=function(e){return e*(180/Math.PI)},oe._decimalPlaces=function(e){if(oe.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},oe.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*Math.PI&&(i+=2*Math.PI),{angle:i,distance:a}},oe.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},oe.aliasPixel=function(e){return e%2==0?0:.5},oe._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,a=n/2;return Math.round((t-a)*r)/r+a},oe.splineCurve=function(e,t,n,r){var a=e.skip?t:e,i=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(i.x-a.x,2)+Math.pow(i.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),c=s/(s+l),u=l/(s+l),d=r*(c=isNaN(c)?0:c),h=r*(u=isNaN(u)?0:u);return{previous:{x:i.x-d*(o.x-a.x),y:i.y-d*(o.y-a.y)},next:{x:i.x+h*(o.x-a.x),y:i.y+h*(o.y-a.y)}}},oe.EPSILON=Number.EPSILON||1e-14,oe.splineCurveMonotone=function(e){var t,n,r,a,i,o,s,l,c,u=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),d=u.length;for(t=0;t0?u[t-1]:null,(a=t0?u[t-1]:null,a=t=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},oe.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},oe.niceNum=function(e,t){var n=Math.floor(oe.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},oe.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},oe.getRelativePosition=function(e,t){var n,r,a=e.originalEvent||e,i=e.target||e.srcElement,o=i.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,r=s[0].clientY):(n=a.clientX,r=a.clientY);var l=parseFloat(oe.getStyle(i,"padding-left")),c=parseFloat(oe.getStyle(i,"padding-top")),u=parseFloat(oe.getStyle(i,"padding-right")),d=parseFloat(oe.getStyle(i,"padding-bottom")),h=o.right-o.left-l-u,f=o.bottom-o.top-c-d;return{x:n=Math.round((n-o.left-l)/h*i.width/t.currentDevicePixelRatio),y:r=Math.round((r-o.top-c)/f*i.height/t.currentDevicePixelRatio)}},oe.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},oe.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},oe._calculatePadding=function(e,t,n){return(t=oe.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},oe._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},oe.getMaximumWidth=function(e){var t=oe._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-oe._calculatePadding(t,"padding-left",n)-oe._calculatePadding(t,"padding-right",n),a=oe.getConstraintWidth(e);return isNaN(a)?r:Math.min(r,a)},oe.getMaximumHeight=function(e){var t=oe._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-oe._calculatePadding(t,"padding-top",n)-oe._calculatePadding(t,"padding-bottom",n),a=oe.getConstraintHeight(e);return isNaN(a)?r:Math.min(r,a)},oe.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},oe.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,a=e.height,i=e.width;r.height=a*n,r.width=i*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=a+"px",r.style.width=i+"px")}},oe.fontString=function(e,t,n){return t+" "+e+"px "+n},oe.longestText=function(e,t,n,r){var a=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},i=r.garbageCollect=[],r.font=t),e.font=t;var o,s,l,c,u,d=0,h=n.length;for(o=0;on.length){for(o=0;or&&(r=i),r},oe.numberOfLabelLines=function(e){var t=1;return oe.each(e,(function(e){oe.isArray(e)&&e.length>t&&(t=e.length)})),t},oe.color=R?function(e){return e instanceof CanvasGradient&&(e=Z.global.defaultColor),R(e)}:function(e){return console.error("Color.js not found!"),e},oe.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:oe.color(e).saturate(.5).darken(.1).rgbString()}};function qn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Kn(e){this.options=e||{}}oe.extend(Kn.prototype,{formats:qn,parse:qn,format:qn,add:qn,diff:qn,startOf:qn,endOf:qn,_create:function(e){return e}}),Kn.override=function(e){oe.extend(Kn.prototype,e)};var Xn={_date:Kn},Jn={formatters:{values:function(e){return oe.isArray(e)?e:""+e},linear:function(e,t,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var a=oe.log10(Math.abs(r)),i="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=oe.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(a);s=Math.max(Math.min(s,20),0),i=e.toExponential(s)}else{var l=-1*Math.floor(a);l=Math.max(Math.min(l,20),0),i=e.toFixed(l)}else i="0";return i},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(oe.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},Zn=oe.isArray,Qn=oe.isNullOrUndef,er=oe.valueOrDefault,tr=oe.valueAtIndexOrDefault;function nr(e,t){for(var n=[],r=e.length/t,a=0,i=e.length;al+c)))return o}function ar(e,t){oe.each(e,(function(e){var n,r=e.gc,a=r.length/2;if(a>t){for(n=0;nc)return i;return Math.max(c,1)}function fr(e){var t,n,r=[];for(t=0,n=e.length;t=h||u<=1||!s.isHorizontal()?s.labelRotation=d:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),t+6>(a=l.offset?s.maxWidth/u:r/(u-1))&&(a=r/(u-(l.offset?.5:1)),i=s.maxHeight-or(l.gridLines)-c.padding-sr(l.scaleLabel),o=Math.sqrt(t*t+n*n),f=oe.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/a,1)),Math.asin(Math.min(i/o,1))-Math.asin(n/o))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){oe.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){oe.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,a=r.ticks,i=r.scaleLabel,o=r.gridLines,s=e._isVisible(),l="bottom"===r.position,c=e.isHorizontal();if(c?t.width=e.maxWidth:s&&(t.width=or(o)+sr(i)),c?s&&(t.height=or(o)+sr(i)):t.height=e.maxHeight,a.display&&s){var u=cr(a),d=e._getLabelSizes(),h=d.first,f=d.last,p=d.widest,m=d.highest,g=.4*u.minor.lineHeight,v=a.padding;if(c){var y=0!==e.labelRotation,b=oe.toRadians(e.labelRotation),_=Math.cos(b),I=Math.sin(b),T=I*p.width+_*(m.height-(y?m.offset:0))+(y?0:g);t.height=Math.min(e.maxHeight,t.height+T+v);var w,E,M=e.getPixelForTick(0)-e.left,k=e.right-e.getPixelForTick(e.getTicks().length-1);y?(w=l?_*h.width+I*h.offset:I*(h.height-h.offset),E=l?I*(f.height-f.offset):_*f.width+I*f.offset):(w=h.width/2,E=f.width/2),e.paddingLeft=Math.max((w-M)*e.width/(e.width-M),0)+3,e.paddingRight=Math.max((E-k)*e.width/(e.width-k),0)+3}else{var S=a.mirror?0:p.width+v+g;t.width=Math.min(e.maxWidth,t.width+S),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}}e.handleMargins(),c?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){oe.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Qn(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r,a=this;for(a.ticks=e.map((function(e){return e.value})),a.beforeTickToLabelConversion(),t=a.convertTicksToLabels(e)||a.ticks,a.afterTickToLabelConversion(),n=0,r=e.length;nr-1?null:t.getPixelForDecimal(e*a+(n?a/2:0))},getPixelForDecimal:function(e){var t=this;return t._reversePixels&&(e=1-e),t._startPixel+e*t._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this,t=e.min,n=e.max;return e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0},_autoSkip:function(e){var t,n,r,a,i=this,o=i.options.ticks,s=i._length,l=o.maxTicksLimit||s/i._tickSize()+1,c=o.major.enabled?fr(e):[],u=c.length,d=c[0],h=c[u-1];if(u>l)return pr(e,c,u/l),ur(e);if(r=hr(c,e,s,l),u>0){for(t=0,n=u-1;t1?(h-d)/(u-1):null,mr(e,r,oe.isNullOrUndef(a)?0:d-a,d),mr(e,r,h,oe.isNullOrUndef(a)?e.length:h+a),ur(e)}return mr(e,r),ur(e)},_tickSize:function(){var e=this,t=e.options.ticks,n=oe.toRadians(e.labelRotation),r=Math.abs(Math.cos(n)),a=Math.abs(Math.sin(n)),i=e._getLabelSizes(),o=t.autoSkipPadding||0,s=i?i.widest.width+o:0,l=i?i.highest.height+o:0;return e.isHorizontal()?l*r>s*a?s/r:l/a:l*a=0&&(o=e),void 0!==i&&(e=n.indexOf(i))>=0&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],t.max=n[s]},buildTicks:function(){var e=this,t=e._getLabels(),n=e.minIndex,r=e.maxIndex;e.ticks=0===n&&r===t.length-1?t:t.slice(n,r+1)},getLabelForIndex:function(e,t){var n=this,r=n.chart;return r.getDatasetMeta(t).controller._getValueScaleId()===n.id?n.getRightValue(r.data.datasets[t].data[e]):n._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;vr.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var r,a,i,o=this;return yr(t)||yr(n)||(e=o.chart.data.datasets[n].data[t]),yr(e)||(r=o.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(a=o._getLabels(),e=oe.valueOrDefault(r,e),t=-1!==(i=a.indexOf(e))?i:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=this,n=Math.round(t._startValue+t.getDecimalForPixel(e)*t._valueRange);return Math.min(Math.max(n,0),t.ticks.length-1)},getBasePixel:function(){return this.bottom}}),Ir=br;_r._defaults=Ir;var Tr=oe.noop,wr=oe.isNullOrUndef;function Er(e,t){var n,r,a,i,o=[],s=1e-14,l=e.stepSize,c=l||1,u=e.maxTicks-1,d=e.min,h=e.max,f=e.precision,p=t.min,m=t.max,g=oe.niceNum((m-p)/u/c)*c;if(gu&&(g=oe.niceNum(i*g/u/c)*c),l||wr(f)?n=Math.pow(10,oe._decimalPlaces(g)):(n=Math.pow(10,f),g=Math.ceil(g*n)/n),r=Math.floor(p/g)*g,a=Math.ceil(m/g)*g,l&&(!wr(d)&&oe.almostWhole(d/g,g/1e3)&&(r=d),!wr(h)&&oe.almostWhole(h/g,g/1e3)&&(a=h)),i=(a-r)/g,i=oe.almostEquals(i,Math.round(i),g/1e3)?Math.round(i):Math.ceil(i),r=Math.round(r*n)/n,a=Math.round(a*n)/n,o.push(wr(d)?r:d);for(var v=1;v0&&r>0&&(e.min=0)}var a=void 0!==t.min||void 0!==t.suggestedMin,i=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),a!==i&&e.min>=e.max&&(a?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this,n=t.options.ticks,r=n.stepSize,a=n.maxTicksLimit;return r?e=Math.ceil(t.max/r)-Math.floor(t.min/r)+1:(e=t._computeTickLimit(),a=a||11),a&&(e=Math.min(a,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Tr,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:oe.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=Er(r,e);e.handleDirectionalChanges(),e.max=oe.max(a),e.min=oe.min(a),t.reverse?(a.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),vr.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),r=t.min,a=t.max;vr.prototype._configure.call(t),t.options.offset&&n.length&&(r-=e=(a-r)/Math.max(n.length-1,1)/2,a+=e),t._startValue=r,t._endValue=a,t._valueRange=a-r}}),kr={position:"left",ticks:{callback:Jn.formatters.linear}},Sr=0,Pr=1;function Ar(e,t,n){var r=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[r]&&(e[r]={pos:[],neg:[]}),e[r]}function xr(e,t,n,r){var a,i,o=e.options,s=Ar(t,o.stacked,n),l=s.pos,c=s.neg,u=r.length;for(a=0;at.length-1?null:this.getPixelForValue(t[e])}}),Or=kr;Lr._defaults=Or;var Cr=oe.valueOrDefault,Dr=oe.math.log10;function Rr(e,t){var n,r,a=[],i=Cr(e.min,Math.pow(10,Math.floor(Dr(t.min)))),o=Math.floor(Dr(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===i?(n=Math.floor(Dr(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),a.push(i),i=r*Math.pow(10,n)):(n=Math.floor(Dr(i)),r=Math.floor(i/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(i),10==++r&&(r=1,l=++n>=0?1:l),i=Math.round(r*Math.pow(10,n)*l)/l}while(n=0?e:t}var Nr=vr.extend({determineDataLimits:function(){var e,t,n,r,a,i,o=this,s=o.options,l=o.chart,c=l.data.datasets,u=o.isHorizontal();function d(e){return u?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(e=0;e0){var t=oe.min(e),n=oe.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}}))}else for(e=0;e0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(Dr(e.max))):e.minNotZero=n)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:zr(t.min),max:zr(t.max)},a=e.ticks=Rr(r,e);e.max=oe.max(a),e.min=oe.min(a),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),vr.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(Dr(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;vr.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Cr(e.options.ticks.fontSize,Z.global.defaultFontSize)/e._length),e._startValue=Dr(t),e._valueOffset=n,e._valueRange=(Dr(e.max)-Dr(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(Dr(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),Hr=Fr;Nr._defaults=Hr;var Vr=oe.valueOrDefault,Yr=oe.valueAtIndexOrDefault,jr=oe.options.resolve,Ur={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Jn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function $r(e){var t=e.ticks;return t.display&&e.display?Vr(t.fontSize,Z.global.defaultFontSize)+2*t.backdropPaddingY:0}function Gr(e,t,n){return oe.isArray(n)?{w:oe.longestText(e,e.font,n),h:n.length*t}:{w:e.measureText(n).width,h:t}}function Wr(e,t,n,r,a){return e===r||e===a?{start:t-n/2,end:t+n/2}:ea?{start:t-n,end:t}:{start:t,end:t+n}}function qr(e){var t,n,r,a=oe.options._parseFont(e.options.pointLabels),i={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=a.string,e._pointLabelSizes=[];var s=e.chart.data.labels.length;for(t=0;ti.r&&(i.r=u.end,o.r=l),d.starti.b&&(i.b=d.end,o.b=l)}e.setReductions(e.drawingArea,i,o)}function Kr(e){return 0===e||180===e?"center":e<180?"left":"right"}function Xr(e,t,n,r){var a,i,o=n.y+r/2;if(oe.isArray(t))for(a=0,i=t.length;a270||e<90)&&(n.y-=t.h)}function Zr(e){var t=e.ctx,n=e.options,r=n.pointLabels,a=$r(n),i=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),o=oe.options._parseFont(r);t.save(),t.font=o.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var l=0===s?a/2:0,c=e.getPointPosition(s,i+l+5),u=Yr(r.fontColor,s,Z.global.defaultFontColor);t.fillStyle=u;var d=e.getIndexAngle(s),h=oe.toDegrees(d);t.textAlign=Kr(h),Jr(h,e._pointLabelSizes[s],c),Xr(t,e.pointLabels[s],c,o.lineHeight)}t.restore()}function Qr(e,t,n,r){var a,i=e.ctx,o=t.circular,s=e.chart.data.labels.length,l=Yr(t.color,r-1),c=Yr(t.lineWidth,r-1);if((o||s)&&l&&c){if(i.save(),i.strokeStyle=l,i.lineWidth=c,i.setLineDash&&(i.setLineDash(t.borderDash||[]),i.lineDashOffset=t.borderDashOffset||0),i.beginPath(),o)i.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{a=e.getPointPosition(0,n),i.moveTo(a.x,a.y);for(var u=1;u0&&r>0?n:0)},_drawGrid:function(){var e,t,n,r=this,a=r.ctx,i=r.options,o=i.gridLines,s=i.angleLines,l=Vr(s.lineWidth,o.lineWidth),c=Vr(s.color,o.color);if(i.pointLabels.display&&Zr(r),o.display&&oe.each(r.ticks,(function(e,n){0!==n&&(t=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),Qr(r,o,t,n))})),s.display&&l&&c){for(a.save(),a.lineWidth=l,a.strokeStyle=c,a.setLineDash&&(a.setLineDash(jr([s.borderDash,o.borderDash,[]])),a.lineDashOffset=jr([s.borderDashOffset,o.borderDashOffset,0])),e=r.chart.data.labels.length-1;e>=0;e--)t=r.getDistanceFromCenterForValue(i.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),a.beginPath(),a.moveTo(r.xCenter,r.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var r,a,i=e.getIndexAngle(0),o=oe.options._parseFont(n),s=Vr(n.fontColor,Z.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",oe.each(e.ticks,(function(i,l){(0!==l||n.reverse)&&(r=e.getDistanceFromCenterForValue(e.ticksAsNumbers[l]),n.showLabelBackdrop&&(a=t.measureText(i).width,t.fillStyle=n.backdropColor,t.fillRect(-a/2-n.backdropPaddingX,-r-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(i,0,-r))})),t.restore()}},_drawTitle:oe.noop}),na=Ur;ta._defaults=na;var ra=oe._deprecated,aa=oe.options.resolve,ia=oe.valueOrDefault,oa=Number.MIN_SAFE_INTEGER||-9007199254740991,sa=Number.MAX_SAFE_INTEGER||9007199254740991,la={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ca=Object.keys(la);function ua(e,t){return e-t}function da(e){var t,n,r,a={},i=[];for(t=0,n=e.length;tt&&s=0&&o<=s;){if(a=e[(r=o+s>>1)-1]||null,i=e[r],!a)return{lo:null,hi:i};if(i[t]n))return{lo:a,hi:i};s=r-1}}return{lo:i,hi:null}}function ga(e,t,n,r){var a=ma(e,t,n),i=a.lo?a.hi?a.lo:e[e.length-2]:e[0],o=a.lo?a.hi?a.hi:e[e.length-1]:e[1],s=o[t]-i[t],l=s?(n-i[t])/s:0,c=(o[r]-i[r])*l;return i[r]+c}function va(e,t){var n=e._adapter,r=e.options.time,a=r.parser,i=a||r.format,o=t;return"function"==typeof a&&(o=a(o)),oe.isFinite(o)||(o="string"==typeof i?n.parse(o,i):n.parse(o)),null!==o?+o:(a||"function"!=typeof i||(o=i(t),oe.isFinite(o)||(o=n.parse(o))),o)}function ya(e,t){if(oe.isNullOrUndef(t))return null;var n=e.options.time,r=va(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function ba(e,t,n,r){var a,i,o,s=ca.length;for(a=ca.indexOf(e);a=ca.indexOf(n);i--)if(o=ca[i],la[o].common&&e._adapter.diff(a,r,o)>=t-1)return o;return ca[n?ca.indexOf(n):0]}function Ia(e){for(var t=ca.indexOf(e)+1,n=ca.length;t1e5*c)throw t+" and "+n+" are too far apart with stepSize of "+c+" "+l;for(a=d;a=0&&(t[i].major=!0);return t}function Ma(e,t,n){var r,a,i=[],o={},s=t.length;for(r=0;r1?da(p).sort(ua):p.sort(ua),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),h=ya(s,ha(u))||h,f=ya(s,fa(u))||f,h=h===sa?+c.startOf(Date.now(),d):h,f=f===oa?+c.endOf(Date.now(),d)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:p,datasets:m,labels:g}},buildTicks:function(){var e,t,n,r=this,a=r.min,i=r.max,o=r.options,s=o.ticks,l=o.time,c=r._timestamps,u=[],d=r.getLabelCapacity(a),h=s.source,f=o.distribution;for(c="data"===h||"auto"===h&&"series"===f?c.data:"labels"===h?c.labels:Ta(r,a,i,d),"ticks"===o.bounds&&c.length&&(a=c[0],i=c[c.length-1]),a=ya(r,ha(o))||a,i=ya(r,fa(o))||i,e=0,t=c.length;e=a&&n<=i&&u.push(n);return r.min=a,r.max=i,r._unit=l.unit||(s.autoSkip?ba(l.minUnit,r.min,r.max,d):_a(r,u.length,l.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?Ia(r._unit):void 0,r._table=pa(r._timestamps.data,a,i,f),r._offsets=wa(r._table,u,a,i,o),s.reverse&&u.reverse(),Ma(r,u,r._majorUnit)},getLabelForIndex:function(e,t){var n=this,r=n._adapter,a=n.chart.data,i=n.options.time,o=a.labels&&e=0&&e0?s:1}}),Pa=ka;Sa._defaults=Pa;var Aa={category:_r,linear:Lr,logarithmic:Nr,radialLinear:ta,time:Sa},xa={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Xn._date.override("function"==typeof e?{_id:"moment",formats:function(){return xa},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,r){return e(t).add(n,r).valueOf()},diff:function(t,n,r){return e(t).diff(e(n),r)},startOf:function(t,n,r){return t=e(t),"isoWeek"===n?t.isoWeekday(r).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),Z._set("global",{plugins:{filler:{propagate:!0}}});var Ba={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),a=r&&n.isDatasetVisible(t)&&r.dataset._children||[],i=a.length||0;return i?function(e,t){return t=n)&&r;switch(i){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return i;default:return!1}}function Oa(e){var t,n=e.el._model||{},r=e.el._scale||{},a=e.fill,i=null;if(isFinite(a))return null;if("start"===a?i=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===a?i=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?i=n.scaleZero:r.getBasePixel&&(i=r.getBasePixel()),null!=i){if(void 0!==i.x&&void 0!==i.y)return i;if(oe.isFinite(i))return{x:(t=r.isHorizontal())?i:null,y:t?null:i}}return null}function Ca(e){var t,n,r,a,i,o=e.el._scale,s=o.options,l=o.chart.data.labels.length,c=e.fill,u=[];if(!l)return null;for(t=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,r=o.getPointPositionForValue(0,t),a=0;a0;--i)oe.canvas.lineTo(e,n[i],n[i-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),i=a-1;i>0;--i)e.arc(o,s,l,n[i].angle,n[i-1].angle,!0)}}function Ha(e,t,n,r,a,i){var o,s,l,c,u,d,h,f,p=t.length,m=r.spanGaps,g=[],v=[],y=0,b=0;for(e.beginPath(),o=0,s=p;o=0;--n)(t=l[n].$filler)&&t.visible&&(a=(r=t.el)._view,i=r._children||[],o=t.mapper,s=a.backgroundColor||Z.global.defaultColor,o&&s&&i.length&&(oe.canvas.clipArea(c,e.chartArea),Ha(c,i,o,a,s,r._loop),oe.canvas.unclipArea(c)))}},Ya=oe.rtl.getRtlAdapter,ja=oe.noop,Ua=oe.valueOrDefault;function $a(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}Z._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,a=r.getDatasetMeta(n);a.hidden=null===a.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},r=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var a=n.controller.getStyle(r?0:void 0);return{text:t[n.index].label,fillStyle:a.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,r,a=document.createElement("ul"),i=e.data.datasets;for(a.setAttribute("class",e.id+"-legend"),t=0,n=i.length;tl.width)&&(d+=o+n.padding,u[u.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:r,height:o},u[u.length-1]+=r+n.padding})),l.height+=d}else{var h=n.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=n.padding,g=0,v=0;oe.each(e.legendItems,(function(e,t){var r=$a(n,o)+o/2+a.measureText(e.text).width;t>0&&v+o+2*h>l.height&&(m+=g+n.padding,f.push(g),p.push(v),g=0,v=0),g=Math.max(g,r),v+=o+h,s[t]={left:0,top:0,width:r,height:o}})),m+=g,f.push(g),p.push(v),l.width+=m}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:ja,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,r=Z.global,a=r.defaultColor,i=r.elements.line,o=e.height,s=e.columnHeights,l=e.width,c=e.lineWidths;if(t.display){var u,d=Ya(t.rtl,e.left,e.minSize.width),h=e.ctx,f=Ua(n.fontColor,r.defaultFontColor),p=oe.options._parseFont(n),m=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var g=$a(n,m),v=e.legendHitBoxes,y=function(e,t,r){if(!(isNaN(g)||g<=0)){h.save();var o=Ua(r.lineWidth,i.borderWidth);if(h.fillStyle=Ua(r.fillStyle,a),h.lineCap=Ua(r.lineCap,i.borderCapStyle),h.lineDashOffset=Ua(r.lineDashOffset,i.borderDashOffset),h.lineJoin=Ua(r.lineJoin,i.borderJoinStyle),h.lineWidth=o,h.strokeStyle=Ua(r.strokeStyle,a),h.setLineDash&&h.setLineDash(Ua(r.lineDash,i.borderDash)),n&&n.usePointStyle){var s=g*Math.SQRT2/2,l=d.xPlus(e,g/2),c=t+m/2;oe.canvas.drawPoint(h,r.pointStyle,s,l,c,r.rotation)}else h.fillRect(d.leftForLtr(e,g),t,g,m),0!==o&&h.strokeRect(d.leftForLtr(e,g),t,g,m);h.restore()}},b=function(e,t,n,r){var a=m/2,i=d.xPlus(e,g+a),o=t+a;h.fillText(n.text,i,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(i,o),h.lineTo(d.xPlus(i,r),o),h.stroke())},_=function(e,r){switch(t.align){case"start":return n.padding;case"end":return e-r;default:return(e-r+n.padding)/2}},I=e.isHorizontal();u=I?{x:e.left+_(l,c[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+_(o,s[0]),line:0},oe.rtl.overrideTextDirection(e.ctx,t.textDirection);var T=m+n.padding;oe.each(e.legendItems,(function(t,r){var a=h.measureText(t.text).width,i=g+m/2+a,f=u.x,p=u.y;d.setWidth(e.minSize.width),I?r>0&&f+i+n.padding>e.left+e.minSize.width&&(p=u.y+=T,u.line++,f=u.x=e.left+_(l,c[u.line])):r>0&&p+T>e.top+e.minSize.height&&(f=u.x=f+e.columnWidths[u.line]+n.padding,u.line++,p=u.y=e.top+_(o,s[u.line]));var w=d.x(f);y(w,p,t),v[r].left=d.leftForLtr(w,v[r].width),v[r].top=p,b(w,p,t,a),I?u.x+=i+n.padding:u.y+=T})),oe.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,r,a,i=this;if(e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom)for(a=i.legendHitBoxes,n=0;n=(r=a[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return i.legendItems[n];return null},handleEvent:function(e){var t,n=this,r=n.options,a="mouseup"===e.type?"click":e.type;if("mousemove"===a){if(!r.onHover&&!r.onLeave)return}else{if("click"!==a)return;if(!r.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===a?t&&r.onClick&&r.onClick.call(n,e.native,t):(r.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),r.onHover&&t&&r.onHover.call(n,e.native,t))}});function Wa(e,t){var n=new Ga({ctx:e.ctx,options:t,chart:e});Ut.configure(e,n,t),Ut.addBox(e,n),e.legend=n}var qa={id:"legend",_element:Ga,beforeInit:function(e){var t=e.options.legend;t&&Wa(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(oe.mergeIf(t,Z.global.legend),n?(Ut.configure(e,n,t),n.options=t):Wa(e,t)):n&&(Ut.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},Ka=oe.noop;Z._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Xa=pe.extend({initialize:function(e){var t=this;oe.extend(t,e),t.legendHitBoxes=[]},beforeUpdate:Ka,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Ka,beforeSetDimensions:Ka,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Ka,beforeBuildLabels:Ka,buildLabels:Ka,afterBuildLabels:Ka,beforeFit:Ka,fit:function(){var e,t=this,n=t.options,r=t.minSize={},a=t.isHorizontal();n.display?(e=(oe.isArray(n.text)?n.text.length:1)*oe.options._parseFont(n).lineHeight+2*n.padding,t.width=r.width=a?t.maxWidth:e,t.height=r.height=a?e:t.maxHeight):t.width=r.width=t.height=r.height=0},afterFit:Ka,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var r,a,i,o=oe.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,c=0,u=e.top,d=e.left,h=e.bottom,f=e.right;t.fillStyle=oe.valueOrDefault(n.fontColor,Z.global.defaultFontColor),t.font=o.string,e.isHorizontal()?(a=d+(f-d)/2,i=u+l,r=f-d):(a="left"===n.position?d+l:f-l,i=u+(h-u)/2,r=h-u,c=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(a,i),t.rotate(c),t.textAlign="center",t.textBaseline="middle";var p=n.text;if(oe.isArray(p))for(var m=0,g=0;g{"use strict";n.r(t),n.d(t,{formSizeMixin:()=>s,props:()=>o});var r=n(2448),a=n(80072),i=n(1340),o=(0,i.makePropsConfigurable)({size:(0,i.makeProp)(a.PROP_TYPE_STRING)},"formControls"),s=(0,r.extend)({props:o,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}})},62893:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EffectScope:()=>hn,computed:()=>ft,customRef:()=>at,default:()=>da,defineAsyncComponent:()=>ur,defineComponent:()=>kr,del:()=>ze,effectScope:()=>fn,getCurrentInstance:()=>pe,getCurrentScope:()=>pn,h:()=>Wn,inject:()=>Gn,isProxy:()=>Ge,isReactive:()=>je,isReadonly:()=>$e,isRef:()=>Xe,isShallow:()=>Ue,markRaw:()=>qe,mergeDefaults:()=>tn,nextTick:()=>sr,onActivated:()=>yr,onBeforeMount:()=>hr,onBeforeUnmount:()=>gr,onBeforeUpdate:()=>pr,onDeactivated:()=>br,onErrorCaptured:()=>Er,onMounted:()=>fr,onRenderTracked:()=>Ir,onRenderTriggered:()=>Tr,onScopeDispose:()=>mn,onServerPrefetch:()=>_r,onUnmounted:()=>vr,onUpdated:()=>mr,provide:()=>Un,proxyRefs:()=>nt,reactive:()=>He,readonly:()=>ct,ref:()=>Je,set:()=>Fe,shallowReactive:()=>Ve,shallowReadonly:()=>ht,shallowRef:()=>Ze,toRaw:()=>We,toRef:()=>ot,toRefs:()=>it,triggerRef:()=>et,unref:()=>tt,useAttrs:()=>Zt,useCssModule:()=>lr,useCssVars:()=>cr,useListeners:()=>Qt,useSlots:()=>Jt,version:()=>Mr,watch:()=>Yn,watchEffect:()=>zn,watchPostEffect:()=>Nn,watchSyncEffect:()=>Hn});var r=Object.freeze({}),a=Array.isArray;function i(e){return null==e}function o(e){return null!=e}function s(e){return!0===e}function l(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return"function"==typeof e}function u(e){return null!==e&&"object"==typeof e}var d=Object.prototype.toString;function h(e){return"[object Object]"===d.call(e)}function f(e){return"[object RegExp]"===d.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function g(e){return null==e?"":Array.isArray(e)||h(e)&&e.toString===d?JSON.stringify(e,v,2):String(e)}function v(e,t){return t&&t.__v_isRef?t.value:t}function y(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(r,1)}}var w=Object.prototype.hasOwnProperty;function E(e,t){return w.call(e,t)}function M(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var k=/-(\w)/g,S=M((function(e){return e.replace(k,(function(e,t){return t?t.toUpperCase():""}))})),P=M((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,x=M((function(e){return e.replace(A,"-$1").toLowerCase()}));var B=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function L(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function C(e){for(var t={},n=0;n0,te=Z&&Z.indexOf("edge/")>0;Z&&Z.indexOf("android");var ne=Z&&/iphone|ipad|ipod|ios/.test(Z);Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z);var re,ae=Z&&Z.match(/firefox\/(\d+)/),ie={}.watch,oe=!1;if(J)try{var se={};Object.defineProperty(se,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,se)}catch(e){}var le=function(){return void 0===re&&(re=!J&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),re},ce=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ue(e){return"function"==typeof e&&/native code/.test(e.toString())}var de,he="undefined"!=typeof Symbol&&ue(Symbol)&&"undefined"!=typeof Reflect&&ue(Reflect.ownKeys);de="undefined"!=typeof Set&&ue(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=null;function pe(){return fe&&{proxy:fe}}function me(e){void 0===e&&(e=null),e||fe&&fe._scope.off(),fe=e,e&&e._scope.on()}var ge=function(){function e(e,t,n,r,a,i,o,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=a,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,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=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),ve=function(e){void 0===e&&(e="");var t=new ge;return t.text=e,t.isComment=!0,t};function ye(e){return new ge(void 0,void 0,void 0,String(e))}function be(e){var t=new ge(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}"function"==typeof SuppressedError&&SuppressedError;var _e=0,Ie=[],Te=function(){for(var e=0;e0&&(_t((r=It(r,"".concat(t||"","_").concat(n)))[0])&&_t(u)&&(d[c]=ye(u.text+r[0].text),r.shift()),d.push.apply(d,r)):l(r)?_t(u)?d[c]=ye(u.text+r):""!==r&&d.push(ye(r)):_t(r)&&_t(u)?d[c]=ye(u.text+r.text):(s(e._isVList)&&o(r.tag)&&i(r.key)&&o(t)&&(r.key="__vlist".concat(t,"_").concat(n,"__")),d.push(r)));return d}var Tt=1,wt=2;function Et(e,t,n,r,i,d){return(a(n)||l(n))&&(i=r,r=n,n=void 0),s(d)&&(i=wt),function(e,t,n,r,i){if(o(n)&&o(n.__ob__))return ve();o(n)&&o(n.is)&&(t=n.is);if(!t)return ve();0;a(r)&&c(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);i===wt?r=bt(r):i===Tt&&(r=function(e){for(var t=0;t0,s=t?!!t.$stable:!o,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&a&&a!==r&&l===a.$key&&!o&&!a.$hasNormal)return a;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=$t(e,n,c,t[c]))}else i={};for(var u in n)u in i||(i[u]=Gt(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),q(i,"$stable",s),q(i,"$key",l),q(i,"$hasNormal",o),i}function $t(e,t,n,r){var i=function(){var t=fe;me(e);var n=arguments.length?r.apply(null,arguments):r({}),i=(n=n&&"object"==typeof n&&!a(n)?[n]:bt(n))&&n[0];return me(t),n&&(!i||1===n.length&&i.isComment&&!jt(i))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function Gt(e,t){return function(){return e[t]}}function Wt(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};q(t,"_v_attr_proxy",!0),qt(t,e.$attrs,r,e,"$attrs")}return e._attrsProxy},get listeners(){e._listenersProxy||qt(e._listenersProxy={},e.$listeners,r,e,"$listeners");return e._listenersProxy},get slots(){return function(e){e._slotsProxy||Xt(e._slotsProxy={},e.$scopedSlots);return e._slotsProxy}(e)},emit:B(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach((function(n){return rt(e,t,n)}))}}}function qt(e,t,n,r,a){var i=!1;for(var o in t)o in e?t[o]!==n[o]&&(i=!0):(i=!0,Kt(e,o,r,a));for(var o in e)o in t||(i=!0,delete e[o]);return i}function Kt(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function Xt(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function Jt(){return en().slots}function Zt(){return en().attrs}function Qt(){return en().listeners}function en(){var e=fe;return e._setupContext||(e._setupContext=Wt(e))}function tn(e,t){var n=a(e)?e.reduce((function(e,t){return e[t]={},e}),{}):e;for(var r in t){var i=n[r];i?a(i)||c(i)?n[r]={type:i,default:t[r]}:i.default=t[r]:null===i&&(n[r]={default:t[r]})}return n}var nn,rn,an=null;function on(e,t){return(e.__esModule||he&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function sn(e){if(a(e))for(var t=0;tdocument.createEvent("Event").timeStamp&&(An=function(){return xn.now()})}var Bn=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Ln(){var e,t;for(Pn=An(),kn=!0,Tn.sort(Bn),Sn=0;SnSn&&Tn[n].id>e.id;)n--;Tn.splice(n+1,0,e)}else Tn.push(e);Mn||(Mn=!0,sr(Ln))}}var Cn="watcher",Dn="".concat(Cn," callback"),Rn="".concat(Cn," getter"),Fn="".concat(Cn," cleanup");function zn(e,t){return jn(e,null,t)}function Nn(e,t){return jn(e,null,{flush:"post"})}function Hn(e,t){return jn(e,null,{flush:"sync"})}var Vn={};function Yn(e,t,n){return jn(e,t,n)}function jn(e,t,n){var i=void 0===n?r:n,o=i.immediate,s=i.deep,l=i.flush,u=void 0===l?"pre":l;i.onTrack,i.onTrigger;var d,h,f=fe,p=function(e,t,n){void 0===n&&(n=null);var r=Kn(e,null,n,f,t);return s&&r&&r.__ob__&&r.__ob__.dep.depend(),r},m=!1,g=!1;if(Xe(e)?(d=function(){return e.value},m=Ue(e)):je(e)?(d=function(){return e.__ob__.dep.depend(),e},s=!0):a(e)?(g=!0,m=e.some((function(e){return je(e)||Ue(e)})),d=function(){return e.map((function(e){return Xe(e)?e.value:je(e)?(e.__ob__.dep.depend(),Pr(e)):c(e)?p(e,Rn):void 0}))}):d=c(e)?t?function(){return p(e,Rn)}:function(){if(!f||!f._isDestroyed)return h&&h(),p(e,Cn,[y])}:D,t&&s){var v=d;d=function(){return Pr(v())}}var y=function(e){h=b.onStop=function(){p(e,Fn)}};if(le())return y=D,t?o&&p(t,Dn,[d(),g?[]:void 0,y]):d(),D;var b=new Br(fe,d,D,{lazy:!0});b.noRecurse=!t;var _=g?[]:Vn;return b.run=function(){if(b.active)if(t){var e=b.get();(s||m||(g?e.some((function(e,t){return V(e,_[t])})):V(e,_)))&&(h&&h(),p(t,Dn,[e,_===Vn?void 0:_,y]),_=e)}else b.get()},"sync"===u?b.update=b.run:"post"===u?(b.post=!0,b.update=function(){return On(b)}):b.update=function(){if(f&&f===fe&&!f._isMounted){var e=f._preWatchers||(f._preWatchers=[]);e.indexOf(b)<0&&e.push(b)}else On(b)},t?o?b.run():_=b.get():"post"===u&&f?f.$once("hook:mounted",(function(){return b.get()})):b.get(),function(){b.teardown()}}function Un(e,t){fe&&($n(fe)[e]=t)}function $n(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}function Gn(e,t,n){void 0===n&&(n=!1);var r=fe;if(r){var a=r.$parent&&r.$parent._provided;if(a&&e in a)return a[e];if(arguments.length>1)return n&&c(t)?t.call(r):t}else 0}function Wn(e,t,n){return Et(fe,e,t,n,2,!0)}function qn(e,t,n){Me();try{if(t)for(var r=t;r=r.$parent;){var a=r.$options.errorCaptured;if(a)for(var i=0;i-1)if(i&&!E(a,"default"))o=!1;else if(""===o||o===x(e)){var l=ua(String,a.type);(l<0||s-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function ma(e,t){var n=e.cache,r=e.keys,a=e._vnode,i=e.$vnode;for(var o in n){var s=n[o];if(s){var l=s.name;l&&!t(l)&&ga(n,o,r,a)}}i.componentOptions.children=void 0}function ga(e,t,n,r){var a=e[t];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),e[t]=null,T(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=Vr++,t._isVue=!0,t.__v_skip=!0,t._scope=new hn(!0),t._scope.parent=void 0,t._scope._vm=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var a=r.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=aa(Yr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&dn(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,a=n&&n.context;e.$slots=Vt(t._renderChildren,a),e.$scopedSlots=n?Ut(e.$parent,n.data.scopedSlots,e.$slots):r,e._c=function(t,n,r,a){return Et(e,t,n,r,a,!1)},e.$createElement=function(t,n,r,a){return Et(e,t,n,r,a,!0)};var i=n&&n.data;Re(e,"$attrs",i&&i.attrs||r,null,!0),Re(e,"$listeners",t._parentListeners||r,null,!0)}(t),In(t,"beforeCreate",void 0,!1),function(e){var t=Hr(e.$options.inject,e);t&&(Le(!1),Object.keys(t).forEach((function(n){Re(e,n,t[n])})),Le(!0))}(t),Cr(t),function(e){var t=e.$options.provide;if(t){var n=c(t)?t.call(e):t;if(!u(n))return;for(var r=$n(e),a=he?Reflect.ownKeys(n):Object.keys(n),i=0;i1?L(n):n;for(var r=L(arguments,1),a='event handler for "'.concat(e,'"'),i=0,o=n.length;iparseInt(this.max)&&ga(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)ga(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){ma(e,(function(e){return pa(t,e)}))})),this.$watch("exclude",(function(t){ma(e,(function(e){return!pa(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=sn(e),n=t&&t.componentOptions;if(n){var r=fa(n),a=this.include,i=this.exclude;if(a&&(!r||!pa(a,r))||i&&r&&pa(i,r))return t;var o=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;o[l]?(t.componentInstance=o[l].componentInstance,T(s,l),s.push(l)):(this.vnodeToCache=t,this.keyToCache=l),t.data.keepAlive=!0}return t||e&&e[0]}},ba={KeepAlive:ya};!function(e){var t={get:function(){return $}};Object.defineProperty(e,"config",t),e.util={warn:Jr,extend:O,mergeOptions:aa,defineReactive:Re},e.set=Fe,e.delete=ze,e.nextTick=sr,e.observable=function(e){return De(e),e},e.options=Object.create(null),j.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,ba),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=L(arguments,1);return n.unshift(this),c(e.install)?e.install.apply(e,n):c(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=aa(this.options,e),this}}(e),ha(e),function(e){j.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&h(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&c(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(da),Object.defineProperty(da.prototype,"$isServer",{get:le}),Object.defineProperty(da.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(da,"FunctionalRenderContext",{value:jr}),da.version=Mr;var _a=b("style,class"),Ia=b("input,textarea,option,select,progress"),Ta=function(e,t,n){return"value"===n&&Ia(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},wa=b("contenteditable,draggable,spellcheck"),Ea=b("events,caret,typing,plaintext-only"),Ma=b("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"),ka="http://www.w3.org/1999/xlink",Sa=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Pa=function(e){return Sa(e)?e.slice(6,e.length):""},Aa=function(e){return null==e||!1===e};function xa(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Ba(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Ba(t,n.data));return function(e,t){if(o(e)||o(t))return La(e,Oa(t));return""}(t.staticClass,t.class)}function Ba(e,t){return{staticClass:La(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function La(e,t){return e?t?e+" "+t:e:t||""}function Oa(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,a=e.length;r-1?ii(e,t,n):Ma(t)?Aa(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):wa(t)?e.setAttribute(t,function(e,t){return Aa(t)||"false"===t?"false":"contenteditable"===e&&Ea(t)?t:"true"}(t,n)):Sa(t)?Aa(n)?e.removeAttributeNS(ka,Pa(t)):e.setAttributeNS(ka,t,n):ii(e,t,n)}function ii(e,t,n){if(Aa(n))e.removeAttribute(t);else{if(Q&&!ee&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var oi={create:ri,update:ri};function si(e,t){var n=t.elm,r=t.data,a=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=xa(t),l=n._transitionClasses;o(l)&&(s=La(s,Oa(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var li,ci,ui,di,hi,fi,pi={create:si,update:si},mi=/[\w).+\-_$\]]/;function gi(e){var t,n,r,a,i,o=!1,s=!1,l=!1,c=!1,u=0,d=0,h=0,f=0;for(r=0;r=0&&" "===(m=e.charAt(p));p--);m&&mi.test(m)||(c=!0)}}else void 0===a?(f=r+1,a=e.slice(0,r).trim()):g();function g(){(i||(i=[])).push(e.slice(f,r).trim()),f=r+1}if(void 0===a?a=e.slice(0,r).trim():0!==f&&g(),i)for(r=0;r-1?{exp:e.slice(0,di),key:'"'+e.slice(di+1)+'"'}:{exp:e,key:null};ci=e,di=hi=fi=0;for(;!Oi();)Ci(ui=Li())?Ri(ui):91===ui&&Di(ui);return{exp:e.slice(0,hi),key:e.slice(hi+1,fi)}}(e);return null===n.key?"".concat(e,"=").concat(t):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(t,")")}function Li(){return ci.charCodeAt(++di)}function Oi(){return di>=li}function Ci(e){return 34===e||39===e}function Di(e){var t=1;for(hi=di;!Oi();)if(Ci(e=Li()))Ri(e);else if(91===e&&t++,93===e&&t--,0===t){fi=di;break}}function Ri(e){for(var t=e;!Oi()&&(e=Li())!==t;);}var Fi,zi="__r",Ni="__c";function Hi(e,t,n){var r=Fi;return function a(){null!==t.apply(null,arguments)&&ji(e,a,n,r)}}var Vi=Qn&&!(ae&&Number(ae[1])<=53);function Yi(e,t,n,r){if(Vi){var a=Pn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=a||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}Fi.addEventListener(e,t,oe?{capture:n,passive:r}:n)}function ji(e,t,n,r){(r||Fi).removeEventListener(e,t._wrapper||t,n)}function Ui(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Fi=t.elm||e.elm,function(e){if(o(e[zi])){var t=Q?"change":"input";e[t]=[].concat(e[zi],e[t]||[]),delete e[zi]}o(e[Ni])&&(e.change=[].concat(e[Ni],e.change||[]),delete e[Ni])}(n),gt(n,r,Yi,ji,Hi,t.context),Fi=void 0}}var $i,Gi={create:Ui,update:Ui,destroy:function(e){return Ui(e,Ga)}};function Wi(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,r,a=t.elm,l=e.data.domProps||{},c=t.data.domProps||{};for(n in(o(c.__ob__)||s(c._v_attr_proxy))&&(c=t.data.domProps=O({},c)),l)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===l[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=i(r)?"":String(r);qi(a,u)&&(a.value=u)}else if("innerHTML"===n&&Ra(a.tagName)&&i(a.innerHTML)){($i=$i||document.createElement("div")).innerHTML="".concat(r,"");for(var d=$i.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;d.firstChild;)a.appendChild(d.firstChild)}else if(r!==l[n])try{a[n]=r}catch(e){}}}}function qi(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.number)return y(n)!==y(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Ki={create:Wi,update:Wi},Xi=M((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Ji(e){var t=Zi(e.style);return e.staticStyle?O(e.staticStyle,t):t}function Zi(e){return Array.isArray(e)?C(e):"string"==typeof e?Xi(e):e}var Qi,eo=/^--/,to=/\s*!important$/,no=function(e,t,n){if(eo.test(t))e.style.setProperty(t,n);else if(to.test(n))e.style.setProperty(x(t),n.replace(to,""),"important");else{var r=ao(t);if(Array.isArray(n))for(var a=0,i=n.length;a-1?t.split(so).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function co(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(so).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function uo(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&O(t,ho(e.name||"v")),O(t,e),t}return"string"==typeof e?ho(e):void 0}}var ho=M((function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}})),fo=J&&!ee,po="transition",mo="animation",go="transition",vo="transitionend",yo="animation",bo="animationend";fo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(go="WebkitTransition",vo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(yo="WebkitAnimation",bo="webkitAnimationEnd"));var _o=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Io(e){_o((function(){_o(e)}))}function To(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),lo(e,t))}function wo(e,t){e._transitionClasses&&T(e._transitionClasses,t),co(e,t)}function Eo(e,t,n){var r=ko(e,t),a=r.type,i=r.timeout,o=r.propCount;if(!a)return n();var s=a===po?vo:bo,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=o&&c()};setTimeout((function(){l0&&(n=po,u=o,d=i.length):t===mo?c>0&&(n=mo,u=c,d=l.length):d=(n=(u=Math.max(o,c))>0?o>c?po:mo:null)?n===po?i.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===po&&Mo.test(r[go+"Property"])}}function So(e,t){for(;e.length1}function Oo(e,t){!0!==t.data.show&&Ao(t)}var Co=function(e){var t,n,r={},c=e.modules,u=e.nodeOps;for(t=0;tp?_(e,i(n[v+1])?null:n[v+1].elm,n,f,v,r):f>v&&T(t,d,p)}(d,m,v,n,c):o(v)?(o(e.text)&&u.setTextContent(d,""),_(d,null,v,0,v.length-1,n)):o(m)?T(m,0,m.length-1):o(e.text)&&u.setTextContent(d,""):e.text!==t.text&&u.setTextContent(d,t.text),o(p)&&o(f=p.hook)&&o(f=f.postpatch)&&f(e,t)}}}function k(e,t,n){if(s(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,o.selected!==i&&(o.selected=i);else if(z(No(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));a||(e.selectedIndex=-1)}}function zo(e,t){return t.every((function(t){return!z(t,e)}))}function No(e){return"_value"in e?e._value:e.value}function Ho(e){e.target.composing=!0}function Vo(e){e.target.composing&&(e.target.composing=!1,Yo(e.target,"input"))}function Yo(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function jo(e){return!e.componentInstance||e.data&&e.data.transition?e:jo(e.componentInstance._vnode)}var Uo={bind:function(e,t,n){var r=t.value,a=(n=jo(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&a?(n.data.show=!0,Ao(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=jo(n)).data&&n.data.transition?(n.data.show=!0,r?Ao(n,(function(){e.style.display=e.__vOriginalDisplay})):xo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,a){a||(e.style.display=e.__vOriginalDisplay)}},$o={model:Do,show:Uo},Go={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 Wo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Wo(sn(t.children)):e}function qo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var a=n._parentListeners;for(var r in a)t[S(r)]=a[r];return t}function Ko(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Xo=function(e){return e.tag||jt(e)},Jo=function(e){return"show"===e.name},Zo={name:"transition",props:Go,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Xo)).length){0;var r=this.mode;0;var a=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return a;var i=Wo(a);if(!i)return a;if(this._leaving)return Ko(e,a);var o="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?o+"comment":o+i.tag:l(i.key)?0===String(i.key).indexOf(o)?i.key:o+i.key:i.key;var s=(i.data||(i.data={})).transition=qo(this),c=this._vnode,u=Wo(c);if(i.data.directives&&i.data.directives.some(Jo)&&(i.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(i,u)&&!jt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=O({},s);if("out-in"===r)return this._leaving=!0,vt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Ko(e,a);if("in-out"===r){if(jt(i))return c;var h,f=function(){h()};vt(s,"afterEnter",f),vt(s,"enterCancelled",f),vt(d,"delayLeave",(function(e){h=e}))}}return a}}},Qo=O({tag:String,moveClass:String},Go);delete Qo.mode;var es={props:Qo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var a=vn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],i=this.children=[],o=qo(this),s=0;s-1?Na[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Na[e]=/HTMLUnknownElement/.test(t.toString())},O(da.options.directives,$o),O(da.options.components,as),da.prototype.__patch__=J?Co:D,da.prototype.$mount=function(e,t){return function(e,t,n){var r;e.$el=t,e.$options.render||(e.$options.render=ve),In(e,"beforeMount"),r=function(){e._update(e._render(),n)},new Br(e,r,D,{before:function(){e._isMounted&&!e._isDestroyed&&In(e,"beforeUpdate")}},!0),n=!1;var a=e._preWatchers;if(a)for(var i=0;i\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,gs=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,vs="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(G.source,"]*"),ys="((?:".concat(vs,"\\:)?").concat(vs,")"),bs=new RegExp("^<".concat(ys)),_s=/^\s*(\/?)>/,Is=new RegExp("^<\\/".concat(ys,"[^>]*>")),Ts=/^]+>/i,ws=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Ps=/&(?:lt|gt|quot|amp|#39);/g,As=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,xs=b("pre,textarea",!0),Bs=function(e,t){return e&&xs(e)&&"\n"===t[0]};function Ls(e,t){var n=t?As:Ps;return e.replace(n,(function(e){return Ss[e]}))}function Os(e,t){for(var n,r,a=[],i=t.expectHTML,o=t.isUnaryTag||R,s=t.canBeLeftOpenTag||R,l=0,c=function(){if(n=e,r&&Ms(r)){var c=0,h=r.toLowerCase(),f=ks[h]||(ks[h]=new RegExp("([\\s\\S]*?)(]*>)","i"));T=e.replace(f,(function(e,n,r){return c=r.length,Ms(h)||"noscript"===h||(n=n.replace(//g,"$1").replace(//g,"$1")),Bs(h,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));l+=e.length-T.length,e=T,d(h,l-c,l)}else{var p=e.indexOf("<");if(0===p){if(ws.test(e)){var m=e.indexOf("--\x3e");if(m>=0)return t.shouldKeepComment&&t.comment&&t.comment(e.substring(4,m),l,l+m+3),u(m+3),"continue"}if(Es.test(e)){var g=e.indexOf("]>");if(g>=0)return u(g+2),"continue"}var v=e.match(Ts);if(v)return u(v[0].length),"continue";var y=e.match(Is);if(y){var b=l;return u(y[0].length),d(y[1],b,l),"continue"}var _=function(){var t=e.match(bs);if(t){var n={tagName:t[1],attrs:[],start:l};u(t[0].length);for(var r=void 0,a=void 0;!(r=e.match(_s))&&(a=e.match(gs)||e.match(ms));)a.start=l,u(a[0].length),a.end=l,n.attrs.push(a);if(r)return n.unarySlash=r[1],u(r[0].length),n.end=l,n}}();if(_)return function(e){var n=e.tagName,l=e.unarySlash;i&&("p"===r&&ps(n)&&d(r),s(n)&&r===n&&d(n));for(var c=o(n)||!!l,u=e.attrs.length,h=new Array(u),f=0;f=0){for(T=e.slice(p);!(Is.test(T)||bs.test(T)||ws.test(T)||Es.test(T)||(w=T.indexOf("<",1))<0);)p+=w,T=e.slice(p);I=e.substring(0,p)}p<0&&(I=e),I&&u(I.length),t.chars&&I&&t.chars(I,l-I.length,l)}if(e===n)return t.chars&&t.chars(e),"break"};e;){if("break"===c())break}function u(t){l+=t,e=e.substring(t)}function d(e,n,i){var o,s;if(null==n&&(n=l),null==i&&(i=l),e)for(s=e.toLowerCase(),o=a.length-1;o>=0&&a[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=a.length-1;c>=o;c--)t.end&&t.end(a[c].tag,n,i);a.length=o,r=o&&a[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,i):"p"===s&&(t.start&&t.start(e,[],!1,n,i),t.end&&t.end(e,n,i))}d()}var Cs,Ds,Rs,Fs,zs,Ns,Hs,Vs,Ys=/^@|^v-on:/,js=/^v-|^@|^:|^#/,Us=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$s=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Gs=/^\(|\)$/g,Ws=/^\[.*\]$/,qs=/:(.*)$/,Ks=/^:|^\.|^v-bind:/,Xs=/\.[^.\]]+(?=[^\]]*$)/g,Js=/^v-slot(:|$)|^#/,Zs=/[\r\n]/,Qs=/[ \f\t\r\n]+/g,el=M(ds),tl="_empty_";function nl(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:cl(t),rawAttrsMap:{},parent:n,children:[]}}function rl(e,t){Cs=t.warn||yi,Ns=t.isPreTag||R,Hs=t.mustUseProp||R,Vs=t.getTagNamespace||R;var n=t.isReservedTag||R;Rs=bi(t.modules,"transformNode"),Fs=bi(t.modules,"preTransformNode"),zs=bi(t.modules,"postTransformNode"),Ds=t.delimiters;var r,a,i=[],o=!1!==t.preserveWhitespace,s=t.whitespace,l=!1,c=!1;function u(e){if(d(e),l||e.processed||(e=al(e,t)),i.length||e===r||r.if&&(e.elseif||e.else)&&ol(r,{exp:e.elseif,block:e}),a&&!e.forbidden)if(e.elseif||e.else)o=e,s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(a.children),s&&s.if&&ol(s,{exp:o.elseif,block:o});else{if(e.slotScope){var n=e.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[n]=e}a.children.push(e),e.parent=a}var o,s;e.children=e.children.filter((function(e){return!e.slotScope})),d(e),e.pre&&(l=!1),Ns(e.tag)&&(c=!1);for(var u=0;ul&&(s.push(i=e.slice(l,a)),o.push(JSON.stringify(i)));var c=gi(r[1].trim());o.push("_s(".concat(c,")")),s.push({"@binding":c}),l=a+r[0].length}return l-1")+("true"===i?":(".concat(t,")"):":_q(".concat(t,",").concat(i,")"))),Mi(e,"change","var $$a=".concat(t,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(i,"):(").concat(o,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+a+")":a,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(Bi(t,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(Bi(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(Bi(t,"$$c"),"}"),null,!0)}(e,r,a);else if("input"===i&&"radio"===o)!function(e,t,n){var r=n&&n.number,a=ki(e,"value")||"null";a=r?"_n(".concat(a,")"):a,_i(e,"checked","_q(".concat(t,",").concat(a,")")),Mi(e,"change",Bi(t,a),null,!0)}(e,r,a);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type;0;var a=n||{},i=a.lazy,o=a.number,s=a.trim,l=!i&&"range"!==r,c=i?"change":"range"===r?zi:"input",u="$event.target.value";s&&(u="$event.target.value.trim()");o&&(u="_n(".concat(u,")"));var d=Bi(t,u);l&&(d="if($event.target.composing)return;".concat(d));_i(e,"value","(".concat(t,")")),Mi(e,c,d,null,!0),(s||o)&&Mi(e,"blur","$forceUpdate()")}(e,r,a);else{if(!$.isReservedTag(i))return xi(e,r,a),!1}return!0},text:function(e,t){t.value&&_i(e,"textContent","_s(".concat(t.value,")"),t)},html:function(e,t){t.value&&_i(e,"innerHTML","_s(".concat(t.value,")"),t)}},vl={expectHTML:!0,modules:fl,directives:gl,isPreTag:function(e){return"pre"===e},isUnaryTag:hs,mustUseProp:Ta,canBeLeftOpenTag:fs,isReservedTag:Fa,getTagNamespace:za,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(fl)},yl=M((function(e){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function bl(e,t){e&&(pl=yl(t.staticKeys||""),ml=t.isReservedTag||R,_l(e),Il(e,!1))}function _l(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||_(e.tag)||!ml(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(pl)))}(e),1===e.type){if(!ml(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t|^function(?:\s+[\w$]+)?\s*\(/,wl=/\([^)]*?\);*$/,El=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ml={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},kl={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Sl=function(e){return"if(".concat(e,")return null;")},Pl={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Sl("$event.target !== $event.currentTarget"),ctrl:Sl("!$event.ctrlKey"),shift:Sl("!$event.shiftKey"),alt:Sl("!$event.altKey"),meta:Sl("!$event.metaKey"),left:Sl("'button' in $event && $event.button !== 0"),middle:Sl("'button' in $event && $event.button !== 1"),right:Sl("'button' in $event && $event.button !== 2")};function Al(e,t){var n=t?"nativeOn:":"on:",r="",a="";for(var i in e){var o=xl(e[i]);e[i]&&e[i].dynamic?a+="".concat(i,",").concat(o,","):r+='"'.concat(i,'":').concat(o,",")}return r="{".concat(r.slice(0,-1),"}"),a?n+"_d(".concat(r,",[").concat(a.slice(0,-1),"])"):n+r}function xl(e){if(!e)return"function(){}";if(Array.isArray(e))return"[".concat(e.map((function(e){return xl(e)})).join(","),"]");var t=El.test(e.value),n=Tl.test(e.value),r=El.test(e.value.replace(wl,""));if(e.modifiers){var a="",i="",o=[],s=function(t){if(Pl[t])i+=Pl[t],Ml[t]&&o.push(t);else if("exact"===t){var n=e.modifiers;i+=Sl(["ctrl","shift","alt","meta"].filter((function(e){return!n[e]})).map((function(e){return"$event.".concat(e,"Key")})).join("||"))}else o.push(t)};for(var l in e.modifiers)s(l);o.length&&(a+=function(e){return"if(!$event.type.indexOf('key')&&"+"".concat(e.map(Bl).join("&&"),")return null;")}(o)),i&&(a+=i);var c=t?"return ".concat(e.value,".apply(null, arguments)"):n?"return (".concat(e.value,").apply(null, arguments)"):r?"return ".concat(e.value):e.value;return"function($event){".concat(a).concat(c,"}")}return t||n?e.value:"function($event){".concat(r?"return ".concat(e.value):e.value,"}")}function Bl(e){var t=parseInt(e,10);if(t)return"$event.keyCode!==".concat(t);var n=Ml[e],r=kl[e];return"_k($event.keyCode,"+"".concat(JSON.stringify(e),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var Ll={on:function(e,t){e.wrapListeners=function(e){return"_g(".concat(e,",").concat(t.value,")")}},bind:function(e,t){e.wrapData=function(n){return"_b(".concat(n,",'").concat(e.tag,"',").concat(t.value,",").concat(t.modifiers&&t.modifiers.prop?"true":"false").concat(t.modifiers&&t.modifiers.sync?",true":"",")")}},cloak:D},Ol=function(e){this.options=e,this.warn=e.warn||yi,this.transforms=bi(e.modules,"transformCode"),this.dataGenFns=bi(e.modules,"genData"),this.directives=O(O({},Ll),e.directives);var t=e.isReservedTag||R;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Cl(e,t){var n=new Ol(t),r=e?"script"===e.tag?"null":Dl(e,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function Dl(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Rl(e,t);if(e.once&&!e.onceProcessed)return Fl(e,t);if(e.for&&!e.forProcessed)return Hl(e,t);if(e.if&&!e.ifProcessed)return zl(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Ul(e,t),a="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):""),i=e.attrs||e.dynamicAttrs?Wl((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:S(e.name),value:e.value,dynamic:e.dynamic}}))):null,o=e.attrsMap["v-bind"];!i&&!o||r||(a+=",null");i&&(a+=",".concat(i));o&&(a+="".concat(i?"":",null",",").concat(o));return a+")"}(e,t);var n=void 0;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Ul(t,n,!0);return"_c(".concat(e,",").concat(Vl(t,n)).concat(r?",".concat(r):"",")")}(e.component,e,t);else{var r=void 0,a=t.maybeComponent(e);(!e.plain||e.pre&&a)&&(r=Vl(e,t));var i=void 0,o=t.options.bindings;a&&o&&!1!==o.__isScriptSetup&&(i=function(e,t){var n=S(t),r=P(n),a=function(a){return e[t]===a?t:e[n]===a?n:e[r]===a?r:void 0},i=a("setup-const")||a("setup-reactive-const");if(i)return i;var o=a("setup-let")||a("setup-ref")||a("setup-maybe-ref");if(o)return o}(o,e.tag)),i||(i="'".concat(e.tag,"'"));var s=e.inlineTemplate?null:Ul(e,t,!0);n="_c(".concat(i).concat(r?",".concat(r):"").concat(s?",".concat(s):"",")")}for(var l=0;l>>0}(o)):"",")")}(e,e.scopedSlots,t),",")),e.model&&(n+="model:{value:".concat(e.model.value,",callback:").concat(e.model.callback,",expression:").concat(e.model.expression,"},")),e.inlineTemplate){var i=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Cl(n,t.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map((function(e){return"function(){".concat(e,"}")})).join(","),"]}")}}(e,t);i&&(n+="".concat(i,","))}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b(".concat(n,',"').concat(e.tag,'",').concat(Wl(e.dynamicAttrs),")")),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Yl(e){return 1===e.type&&("slot"===e.tag||e.children.some(Yl))}function jl(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return zl(e,t,jl,"null");if(e.for&&!e.forProcessed)return Hl(e,t,jl);var r=e.slotScope===tl?"":String(e.slotScope),a="function(".concat(r,"){")+"return ".concat("template"===e.tag?e.if&&n?"(".concat(e.if,")?").concat(Ul(e,t)||"undefined",":undefined"):Ul(e,t)||"undefined":Dl(e,t),"}"),i=r?"":",proxy:true";return"{key:".concat(e.slotTarget||'"default"',",fn:").concat(a).concat(i,"}")}function Ul(e,t,n,r,a){var i=e.children;if(i.length){var o=i[0];if(1===i.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?t.maybeComponent(o)?",1":",0":"";return"".concat((r||Dl)(o,t)).concat(s)}var l=n?function(e,t){for(var n=0,r=0;r':'
    ',Zl.innerHTML.indexOf(" ")>0}var nc=!!J&&tc(!1),rc=!!J&&tc(!0),ac=M((function(e){var t=Va(e);return t&&t.innerHTML})),ic=da.prototype.$mount;da.prototype.$mount=function(e,t){if((e=e&&Va(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ac(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var a=ec(r,{outputSourceRange:!1,shouldDecodeNewlines:nc,shouldDecodeNewlinesForHref:rc,delimiters:n.delimiters,comments:n.comments},this),i=a.render,o=a.staticRenderFns;n.render=i,n.staticRenderFns=o}}return ic.call(this,e,t)},da.compile=ec},62962:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormRadio:()=>r.BFormRadio,BFormRadioGroup:()=>a.BFormRadioGroup,FormRadioPlugin:()=>i});var r=n(57900),a=n(14578),i=(0,n(96266).pluginFactory)({components:{BFormRadio:r.BFormRadio,BRadio:r.BFormRadio,BFormRadioGroup:a.BFormRadioGroup,BRadioGroup:a.BFormRadioGroup}})},63164:function(e,t,n){!function(e){"use strict";e.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(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(95093))},63288:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AlertPlugin:()=>p.AlertPlugin,AspectPlugin:()=>g.AspectPlugin,AvatarPlugin:()=>y.AvatarPlugin,BAlert:()=>m.BAlert,BAspect:()=>v.BAspect,BAvatar:()=>b.BAvatar,BAvatarGroup:()=>_.BAvatarGroup,BBadge:()=>T.BBadge,BBreadcrumb:()=>E.BBreadcrumb,BBreadcrumbItem:()=>M.BBreadcrumbItem,BButton:()=>S.BButton,BButtonClose:()=>P.BButtonClose,BButtonGroup:()=>x.BButtonGroup,BButtonToolbar:()=>L.BButtonToolbar,BCalendar:()=>C.BCalendar,BCard:()=>R.BCard,BCardBody:()=>F.BCardBody,BCardFooter:()=>z.BCardFooter,BCardGroup:()=>N.BCardGroup,BCardHeader:()=>H.BCardHeader,BCardImg:()=>V.BCardImg,BCardImgLazy:()=>Y.BCardImgLazy,BCardSubTitle:()=>j.BCardSubTitle,BCardText:()=>U.BCardText,BCardTitle:()=>$.BCardTitle,BCarousel:()=>W.BCarousel,BCarouselSlide:()=>q.BCarouselSlide,BCol:()=>rt.BCol,BCollapse:()=>X.BCollapse,BContainer:()=>tt.BContainer,BDropdown:()=>Z.BDropdown,BDropdownDivider:()=>te.BDropdownDivider,BDropdownForm:()=>ne.BDropdownForm,BDropdownGroup:()=>re.BDropdownGroup,BDropdownHeader:()=>ae.BDropdownHeader,BDropdownItem:()=>Q.BDropdownItem,BDropdownItemButton:()=>ee.BDropdownItemButton,BDropdownText:()=>ie.BDropdownText,BEmbed:()=>se.BEmbed,BForm:()=>ce.BForm,BFormCheckbox:()=>me.BFormCheckbox,BFormCheckboxGroup:()=>ge.BFormCheckboxGroup,BFormDatalist:()=>ue.BFormDatalist,BFormDatepicker:()=>ye.BFormDatepicker,BFormFile:()=>_e.BFormFile,BFormGroup:()=>Te.BFormGroup,BFormInput:()=>Ee.BFormInput,BFormInvalidFeedback:()=>he.BFormInvalidFeedback,BFormRadio:()=>ke.BFormRadio,BFormRadioGroup:()=>Se.BFormRadioGroup,BFormRating:()=>Ae.BFormRating,BFormRow:()=>at.BFormRow,BFormSelect:()=>Ce.BFormSelect,BFormSelectOption:()=>De.BFormSelectOption,BFormSelectOptionGroup:()=>Re.BFormSelectOptionGroup,BFormSpinbutton:()=>ze.BFormSpinbutton,BFormTag:()=>Le.BFormTag,BFormTags:()=>Be.BFormTags,BFormText:()=>de.BFormText,BFormTextarea:()=>He.BFormTextarea,BFormTimepicker:()=>Ye.BFormTimepicker,BFormValidFeedback:()=>fe.BFormValidFeedback,BIcon:()=>u.BIcon,BIconstack:()=>d.BIconstack,BImg:()=>Ue.BImg,BImgLazy:()=>$e.BImgLazy,BInputGroup:()=>We.BInputGroup,BInputGroupAddon:()=>qe.BInputGroupAddon,BInputGroupAppend:()=>Ke.BInputGroupAppend,BInputGroupPrepend:()=>Xe.BInputGroupPrepend,BInputGroupText:()=>Je.BInputGroupText,BJumbotron:()=>Qe.BJumbotron,BLink:()=>ot.BLink,BListGroup:()=>lt.BListGroup,BListGroupItem:()=>ct.BListGroupItem,BMedia:()=>dt.BMedia,BMediaAside:()=>ht.BMediaAside,BMediaBody:()=>ft.BMediaBody,BModal:()=>mt.BModal,BNav:()=>vt.BNav,BNavForm:()=>yt.BNavForm,BNavItem:()=>bt.BNavItem,BNavItemDropdown:()=>_t.BNavItemDropdown,BNavText:()=>It.BNavText,BNavbar:()=>wt.BNavbar,BNavbarBrand:()=>Et.BNavbarBrand,BNavbarNav:()=>Mt.BNavbarNav,BNavbarToggle:()=>kt.BNavbarToggle,BOverlay:()=>Pt.BOverlay,BPagination:()=>xt.BPagination,BPaginationNav:()=>Lt.BPaginationNav,BPopover:()=>Ct.BPopover,BProgress:()=>Rt.BProgress,BProgressBar:()=>Ft.BProgressBar,BRow:()=>nt.BRow,BSidebar:()=>Nt.BSidebar,BSkeleton:()=>Vt.BSkeleton,BSkeletonIcon:()=>Yt.BSkeletonIcon,BSkeletonImg:()=>jt.BSkeletonImg,BSkeletonTable:()=>Ut.BSkeletonTable,BSkeletonWrapper:()=>$t.BSkeletonWrapper,BSpinner:()=>Wt.BSpinner,BTab:()=>sn.BTab,BTable:()=>Kt.BTable,BTableLite:()=>Xt.BTableLite,BTableSimple:()=>Jt.BTableSimple,BTabs:()=>on.BTabs,BTbody:()=>Zt.BTbody,BTd:()=>rn.BTd,BTfoot:()=>en.BTfoot,BTh:()=>nn.BTh,BThead:()=>Qt.BThead,BTime:()=>cn.BTime,BToast:()=>dn.BToast,BToaster:()=>hn.BToaster,BTooltip:()=>pn.BTooltip,BTr:()=>tn.BTr,BVConfig:()=>o.BVConfigPlugin,BVConfigPlugin:()=>o.BVConfigPlugin,BVModalPlugin:()=>s.BVModalPlugin,BVToastPlugin:()=>l.BVToastPlugin,BadgePlugin:()=>I.BadgePlugin,BootstrapVue:()=>Bn,BootstrapVueIcons:()=>c.BootstrapVueIcons,BreadcrumbPlugin:()=>w.BreadcrumbPlugin,ButtonGroupPlugin:()=>A.ButtonGroupPlugin,ButtonPlugin:()=>k.ButtonPlugin,ButtonToolbarPlugin:()=>B.ButtonToolbarPlugin,CalendarPlugin:()=>O.CalendarPlugin,CardPlugin:()=>D.CardPlugin,CarouselPlugin:()=>G.CarouselPlugin,CollapsePlugin:()=>K.CollapsePlugin,DropdownPlugin:()=>J.DropdownPlugin,EmbedPlugin:()=>oe.EmbedPlugin,FormCheckboxPlugin:()=>pe.FormCheckboxPlugin,FormDatepickerPlugin:()=>ve.FormDatepickerPlugin,FormFilePlugin:()=>be.FormFilePlugin,FormGroupPlugin:()=>Ie.FormGroupPlugin,FormInputPlugin:()=>we.FormInputPlugin,FormPlugin:()=>le.FormPlugin,FormRadioPlugin:()=>Me.FormRadioPlugin,FormRatingPlugin:()=>Pe.FormRatingPlugin,FormSelectPlugin:()=>Oe.FormSelectPlugin,FormSpinbuttonPlugin:()=>Fe.FormSpinbuttonPlugin,FormTagsPlugin:()=>xe.FormTagsPlugin,FormTextareaPlugin:()=>Ne.FormTextareaPlugin,FormTimepickerPlugin:()=>Ve.FormTimepickerPlugin,IconsPlugin:()=>c.IconsPlugin,ImagePlugin:()=>je.ImagePlugin,InputGroupPlugin:()=>Ge.InputGroupPlugin,JumbotronPlugin:()=>Ze.JumbotronPlugin,LayoutPlugin:()=>et.LayoutPlugin,LinkPlugin:()=>it.LinkPlugin,ListGroupPlugin:()=>st.ListGroupPlugin,MediaPlugin:()=>ut.MediaPlugin,ModalPlugin:()=>pt.ModalPlugin,NAME:()=>An,NavPlugin:()=>gt.NavPlugin,NavbarPlugin:()=>Tt.NavbarPlugin,OverlayPlugin:()=>St.OverlayPlugin,PaginationNavPlugin:()=>Bt.PaginationNavPlugin,PaginationPlugin:()=>At.PaginationPlugin,PopoverPlugin:()=>Ot.PopoverPlugin,ProgressPlugin:()=>Dt.ProgressPlugin,SidebarPlugin:()=>zt.SidebarPlugin,SkeletonPlugin:()=>Ht.SkeletonPlugin,SpinnerPlugin:()=>Gt.SpinnerPlugin,TableLitePlugin:()=>qt.TableLitePlugin,TablePlugin:()=>qt.TablePlugin,TableSimplePlugin:()=>qt.TableSimplePlugin,TabsPlugin:()=>an.TabsPlugin,TimePlugin:()=>ln.TimePlugin,ToastPlugin:()=>un.ToastPlugin,TooltipPlugin:()=>fn.TooltipPlugin,VBHover:()=>gn.VBHover,VBHoverPlugin:()=>mn.VBHoverPlugin,VBModal:()=>yn.VBModal,VBModalPlugin:()=>vn.VBModalPlugin,VBPopover:()=>_n.VBPopover,VBPopoverPlugin:()=>bn.VBPopoverPlugin,VBScrollspy:()=>Tn.VBScrollspy,VBScrollspyPlugin:()=>In.VBScrollspyPlugin,VBToggle:()=>En.VBToggle,VBTogglePlugin:()=>wn.VBTogglePlugin,VBTooltip:()=>kn.VBTooltip,VBTooltipPlugin:()=>Mn.VBTooltipPlugin,VBVisible:()=>Pn.VBVisible,VBVisiblePlugin:()=>Sn.VBVisiblePlugin,default:()=>Ln,install:()=>xn});var r=n(96266),a=n(12881),i=n(49463),o=n(73629),s=n(42477),l=n(9357),c=n(58094),u=n(69756),d=n(80058),h=n(61651),f={};for(const e in h)["default","install","NAME","BVConfigPlugin","BVConfig","BootstrapVue","BVModalPlugin","BVToastPlugin","IconsPlugin","BootstrapVueIcons","BIcon","BIconstack","AlertPlugin","BAlert","AspectPlugin","BAspect","AvatarPlugin","BAvatar","BAvatarGroup","BadgePlugin","BBadge","BreadcrumbPlugin","BBreadcrumb","BBreadcrumbItem","ButtonPlugin","BButton","BButtonClose","ButtonGroupPlugin","BButtonGroup","ButtonToolbarPlugin","BButtonToolbar","CalendarPlugin","BCalendar","CardPlugin","BCard","BCardBody","BCardFooter","BCardGroup","BCardHeader","BCardImg","BCardImgLazy","BCardSubTitle","BCardText","BCardTitle","CarouselPlugin","BCarousel","BCarouselSlide","CollapsePlugin","BCollapse","DropdownPlugin","BDropdown","BDropdownItem","BDropdownItemButton","BDropdownDivider","BDropdownForm","BDropdownGroup","BDropdownHeader","BDropdownText","EmbedPlugin","BEmbed","FormPlugin","BForm","BFormDatalist","BFormText","BFormInvalidFeedback","BFormValidFeedback","FormCheckboxPlugin","BFormCheckbox","BFormCheckboxGroup","FormDatepickerPlugin","BFormDatepicker","FormFilePlugin","BFormFile","FormGroupPlugin","BFormGroup","FormInputPlugin","BFormInput","FormRadioPlugin","BFormRadio","BFormRadioGroup","FormRatingPlugin","BFormRating","FormTagsPlugin","BFormTags","BFormTag","FormSelectPlugin","BFormSelect","BFormSelectOption","BFormSelectOptionGroup","FormSpinbuttonPlugin","BFormSpinbutton","FormTextareaPlugin","BFormTextarea","FormTimepickerPlugin","BFormTimepicker","ImagePlugin","BImg","BImgLazy","InputGroupPlugin","BInputGroup","BInputGroupAddon","BInputGroupAppend","BInputGroupPrepend","BInputGroupText","JumbotronPlugin","BJumbotron","LayoutPlugin","BContainer","BRow","BCol","BFormRow","LinkPlugin","BLink","ListGroupPlugin","BListGroup","BListGroupItem","MediaPlugin","BMedia","BMediaAside","BMediaBody","ModalPlugin","BModal","NavPlugin","BNav","BNavForm","BNavItem","BNavItemDropdown","BNavText","NavbarPlugin","BNavbar","BNavbarBrand","BNavbarNav","BNavbarToggle","OverlayPlugin","BOverlay","PaginationPlugin","BPagination","PaginationNavPlugin","BPaginationNav","PopoverPlugin","BPopover","ProgressPlugin","BProgress","BProgressBar","SidebarPlugin","BSidebar","SkeletonPlugin","BSkeleton","BSkeletonIcon","BSkeletonImg","BSkeletonTable","BSkeletonWrapper","SpinnerPlugin","BSpinner","TablePlugin","TableLitePlugin","TableSimplePlugin","BTable","BTableLite","BTableSimple","BTbody","BThead","BTfoot","BTr","BTh","BTd","TabsPlugin","BTabs","BTab","TimePlugin","BTime","ToastPlugin","BToast","BToaster","TooltipPlugin","BTooltip","VBHoverPlugin","VBHover","VBModalPlugin","VBModal","VBPopoverPlugin","VBPopover","VBScrollspyPlugin","VBScrollspy","VBTogglePlugin","VBToggle","VBTooltipPlugin","VBTooltip","VBVisiblePlugin","VBVisible"].indexOf(e)<0&&(f[e]=()=>h[e]);n.d(t,f);var p=n(95160),m=n(53962),g=n(43606),v=n(52112),y=n(79407),b=n(53950),_=n(98552),I=n(1169),T=n(90226),w=n(44131),E=n(33146),M=n(25624),k=n(12670),S=n(75532),P=n(60837),A=n(15524),x=n(88776),B=n(28704),L=n(50884),O=n(81924),C=n(27232),D=n(40312),R=n(33052),F=n(87229),z=n(61698),N=n(79202),H=n(43004),V=n(82958),Y=n(69037),j=n(34440),U=n(75918),$=n(80663),G=n(90388),W=n(31484),q=n(23040),K=n(20005),X=n(2010),J=n(23711),Z=n(51130),Q=n(9656),ee=n(2493),te=n(50934),ne=n(16381),re=n(63844),ae=n(25506),ie=n(23488),oe=n(67771),se=n(96750),le=n(36044),ce=n(66704),ue=n(41273),de=n(11722),he=n(62368),fe=n(54287),pe=n(18782),me=n(99426),ge=n(12044),ve=n(8813),ye=n(12642),be=n(83941),_e=n(8986),Ie=n(75910),Te=n(30968),we=n(58553),Ee=n(11442),Me=n(62962),ke=n(57900),Se=n(14578),Pe=n(49598),Ae=n(2134),xe=n(634),Be=n(35950),Le=n(75451),Oe=n(91087),Ce=n(38382),De=n(52386),Re=n(58732),Fe=n(1139),ze=n(10410),Ne=n(14805),He=n(52578),Ve=n(65744),Ye=n(17734),je=n(79307),Ue=n(40188),$e=n(31123),Ge=n(69616),We=n(42006),qe=n(537),Ke=n(16167),Xe=n(63591),Je=n(50596),Ze=n(57414),Qe=n(77394),et=n(32044),tt=n(24499),nt=n(28028),rt=n(99542),at=n(38369),it=n(61782),ot=n(66344),st=n(99960),lt=n(43580),ct=n(55038),ut=n(95038),dt=n(51074),ht=n(34219),ft=n(83367),pt=n(53487),mt=n(3086),gt=n(56015),vt=n(28594),yt=n(87861),bt=n(56496),_t=n(44488),It=n(49448),Tt=n(95668),wt=n(9084),Et=n(45352),Mt=n(71788),kt=n(32649),St=n(95750),Pt=n(79406),At=n(3254),xt=n(24392),Bt=n(64678),Lt=n(1120),Ot=n(99895),Ct=n(66082),Dt=n(94981),Rt=n(32274),Ft=n(34826),zt=n(41050),Nt=n(43502),Ht=n(585),Vt=n(15874),Yt=n(18142),jt=n(28848),Ut=n(15263),$t=n(14452),Gt=n(56967),Wt=n(30282),qt=n(87066),Kt=n(32286),Xt=n(34691),Jt=n(18373),Zt=n(64606),Qt=n(26800),en=n(7914),tn=n(66374),nn=n(20596),rn=n(83936),an=n(61202),on=n(41544),sn=n(63405),ln=n(11063),cn=n(51974),un=n(20309),dn=n(2890),hn=n(79237),fn=n(76689),pn=n(95154),mn=n(60466),gn=n(3272),vn=n(15013),yn=n(39412),bn=n(96801),_n=n(75216),In=n(34285),Tn=n(14356),wn=n(95968),En=n(17062),Mn=n(22331),kn=n(58376),Sn=n(75282),Pn=n(93444),An="BootstrapVue",xn=(0,r.installFactory)({plugins:{componentsPlugin:a.componentsPlugin,directivesPlugin:i.directivesPlugin}}),Bn={install:xn,NAME:An};const Ln=Bn},63405:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BTab:()=>I,props:()=>_});var r,a,i=n(2448),o=n(49800),s=n(87013),l=n(80072),c=n(94159),u=n(91671),d=n(1340),h=n(81074),f=n(48917),p=n(34877);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BInputGroupPrepend:()=>h,props:()=>d});var r=n(2448),a=n(49800),i=n(91671),o=n(1340),s=n(537);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{props:()=>v,selectableMixin:()=>y});var r=n(2448),a=n(87013),i=n(80072),o=n(17079),s=n(58494),l=n(46710),c=n(60277),u=n(28014),d=n(1340),h=n(59809),f=n(19276);function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=["range","multi","single"],g="grid",v={noSelectOnClick:(0,d.makeProp)(i.PROP_TYPE_BOOLEAN,!1),selectMode:(0,d.makeProp)(i.PROP_TYPE_STRING,"multi",(function(e){return(0,o.arrayIncludes)(m,e)})),selectable:(0,d.makeProp)(i.PROP_TYPE_BOOLEAN,!1),selectedVariant:(0,d.makeProp)(i.PROP_TYPE_STRING,"active")},y=(0,r.extend)({props:v,data:function(){return{selectedRows:[],selectedLastRow:-1}},computed:{isSelectable:function(){return this.selectable&&this.selectMode},hasSelectableRowClick:function(){return this.isSelectable&&!this.noSelectOnClick},supportsSelectableRows:function(){return!0},selectableHasSelection:function(){var e=this.selectedRows;return this.isSelectable&&e&&e.length>0&&e.some(s.identity)},selectableIsMultiSelect:function(){return this.isSelectable&&(0,o.arrayIncludes)(["range","multi"],this.selectMode)},selectableTableClasses:function(){var e,t=this.isSelectable;return p(e={"b-table-selectable":t},"b-table-select-".concat(this.selectMode),t),p(e,"b-table-selecting",this.selectableHasSelection),p(e,"b-table-selectable-no-click",t&&!this.hasSelectableRowClick),e},selectableTableAttrs:function(){if(!this.isSelectable)return{};var e=this.bvAttrs.role||g;return{role:e,"aria-multiselectable":e===g?(0,h.toString)(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(e,t){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=(0,l.isArray)(e)&&(0,l.isArray)(t)&&e.length===t.length;for(var r=0;n&&r=0&&e0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?(0,o.createArray)(e,!0):[!0])},isRowSelected:function(e){return!(!(0,l.isNumber)(e)||!this.selectedRows[e])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(e){if(this.isSelectable&&this.isRowSelected(e)){var t=this.selectedVariant;return p({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(t),t)}return{}},selectableRowAttrs:function(e){return{"aria-selected":this.isSelectable?this.isRowSelected(e)?"true":"false":null}},setSelectionHandlers:function(e){var t=e&&!this.noSelectOnClick?"$on":"$off";this[t](a.EVENT_NAME_ROW_CLICKED,this.selectionHandler),this[t](a.EVENT_NAME_FILTERED,this.clearSelected),this[t](a.EVENT_NAME_CONTEXT_CHANGED,this.clearSelected)},selectionHandler:function(e,t,n){if(this.isSelectable&&!this.noSelectOnClick){var r=this.selectMode,a=this.selectedLastRow,i=this.selectedRows.slice(),o=!i[t];if("single"===r)i=[];else if("range"===r)if(a>-1&&n.shiftKey){for(var s=(0,u.mathMin)(a,t);s<=(0,u.mathMax)(a,t);s++)i[s]=!0;o=!0}else n.ctrlKey||n.metaKey||(i=[],o=!0),o&&(this.selectedLastRow=t);i[t]=o,this.selectedRows=i}else this.clearSelected()}}})},63844:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BDropdownGroup:()=>g,props:()=>m});var r=n(2448),a=n(49800),i=n(80072),o=n(94159),s=n(71402),l=n(58494),c=n(33486),u=n(91671),d=n(1340);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t{var r,a,i;a=[n(74692)],void 0===(i="function"==typeof(r=function(e){"use strict";var t="readmore",n={speed:100,collapsedHeight:200,heightMargin:16,moreLink:'Read More',lessLink:'Close',embedCSS:!0,blockCSS:"display: block; width: 100%;",startOpen:!1,blockProcessed:function(){},beforeToggle:function(){},afterToggle:function(){}},r={},a=0;function i(e,t,n){var r;return function(){var a=this,i=arguments,o=function(){r=null,n||e.apply(a,i)},s=n&&!r;clearTimeout(r),r=setTimeout(o,t),s&&e.apply(a,i)}}function o(e){var t=++a;return String(null===e?"rmjs-":e)+t}function s(e){var t=e.clone().css({height:"auto",width:e.width(),maxHeight:"none",overflow:"hidden"}).insertAfter(e),n=t.outerHeight(),r=parseInt(t.css({maxHeight:""}).css("max-height").replace(/[^-\d\.]/g,""),10),a=e.data("defaultHeight");t.remove();var i=r||e.data("collapsedHeight")||a;e.data({expandedHeight:n,maxHeight:r,collapsedHeight:i}).css({maxHeight:"none"})}var l=i((function(){e("[data-readmore]").each((function(){var t=e(this),n="true"===t.attr("aria-expanded");s(t),t.css({height:t.data(n?"expandedHeight":"collapsedHeight")})}))}),100);function c(e){if(!r[e.selector]){var t=" ";e.embedCSS&&""!==e.blockCSS&&(t+=e.selector+" + [data-readmore-toggle], "+e.selector+"[data-readmore]{"+e.blockCSS+"}"),t+=e.selector+"[data-readmore]{transition: height "+e.speed+"ms;overflow: hidden;}",n=document,a=t,(i=n.createElement("style")).type="text/css",i.styleSheet?i.styleSheet.cssText=a:i.appendChild(n.createTextNode(a)),n.getElementsByTagName("head")[0].appendChild(i),r[e.selector]=!0}var n,a,i}function u(r,a){this.element=r,this.options=e.extend({},n,a),c(this.options),this._defaults=n,this._name=t,this.init(),window.addEventListener?(window.addEventListener("load",l),window.addEventListener("resize",l)):(window.attachEvent("load",l),window.attachEvent("resize",l))}u.prototype={init:function(){var t=e(this.element);t.data({defaultHeight:this.options.collapsedHeight,heightMargin:this.options.heightMargin}),s(t);var n=t.data("collapsedHeight"),r=t.data("heightMargin");if(t.outerHeight(!0)<=n+r)return this.options.blockProcessed&&"function"==typeof this.options.blockProcessed&&this.options.blockProcessed(t,!1),!0;var a,i=t.attr("id")||o(),l=this.options.startOpen?this.options.lessLink:this.options.moreLink;t.attr({"data-readmore":"","aria-expanded":this.options.startOpen,id:i}),t.after(e(l).on("click",(a=this,function(e){a.toggle(this,t[0],e)})).attr({"data-readmore-toggle":i,"aria-controls":i})),this.options.startOpen||t.css({height:n}),this.options.blockProcessed&&"function"==typeof this.options.blockProcessed&&this.options.blockProcessed(t,!0)},toggle:function(t,n,r){r&&r.preventDefault(),t||(t=e('[aria-controls="'+this.element.id+'"]')[0]),n||(n=this.element);var a,i=e(n),o="",s="",l=!1,c=i.data("collapsedHeight");i.height()<=c?(o=i.data("expandedHeight")+"px",s="lessLink",l=!0):(o=c,s="moreLink"),this.options.beforeToggle&&"function"==typeof this.options.beforeToggle&&this.options.beforeToggle(t,i,!l),i.css({height:o}),i.on("transitionend",(a=this,function(){a.options.afterToggle&&"function"==typeof a.options.afterToggle&&a.options.afterToggle(t,i,l),e(this).attr({"aria-expanded":l}).off("transitionend")})),e(t).replaceWith(e(this.options[s]).on("click",function(e){return function(t){e.toggle(this,n,t)}}(this)).attr({"data-readmore-toggle":i.attr("id"),"aria-controls":i.attr("id")}))},destroy:function(){e(this.element).each((function(){var t=e(this);t.attr({"data-readmore":null,"aria-expanded":null}).css({maxHeight:"",height:""}).next("[data-readmore-toggle]").remove(),t.removeData()}))}},e.fn.readmore=function(n){var r=arguments,a=this.selector;return"object"==typeof(n=n||{})?this.each((function(){if(e.data(this,"plugin_"+t)){var r=e.data(this,"plugin_"+t);r.destroy.apply(r)}n.selector=a,e.data(this,"plugin_"+t,new u(this,n))})):"string"==typeof n&&"_"!==n[0]&&"init"!==n?this.each((function(){var a=e.data(this,"plugin_"+t);a instanceof u&&"function"==typeof a[n]&&a[n].apply(a,Array.prototype.slice.call(r,1))})):void 0}})?r.apply(t,a):r)||(e.exports=i)},64051:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(95093))},64211:(e,t,n)=>{"use strict";n.r(t),n.d(t,{attrsMixin:()=>c});var r=n(9692),a=n(2448);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=(0,r.makePropCacheMixin)("$attrs","bvAttrs"),l=(0,a.extend)({computed:{bvAttrs:function(){var e=function(e){for(var t=1;t20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(95093))},64392:(e,t,n)=>{"use strict";n.r(t),n.d(t,{decodeCP437:()=>i});const r="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ".split(""),a=256==r.length;function i(e){if(a){let t="";for(let n=0;n{"use strict";n.r(t),n.d(t,{BTbody:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=n(64211),l=n(32878),c=n(48917);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},64678:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BPaginationNav:()=>r.BPaginationNav,PaginationNavPlugin:()=>a});var r=n(1120),a=(0,n(96266).pluginFactory)({components:{BPaginationNav:r.BPaginationNav}})},64765:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>X});var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],a=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function i(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var o=Array.isArray;function s(e){return null!==e&&"object"==typeof e}function l(e){return"string"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){return null==e}function h(e){return"function"==typeof e}function f(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,r=null;return 1===e.length?s(e[0])||o(e[0])?r=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(s(e[1])||o(e[1]))&&(r=e[1])),{locale:n,params:r}}function p(e){return JSON.parse(JSON.stringify(e))}function m(e,t){return!!~e.indexOf(t)}var g=Object.prototype.hasOwnProperty;function v(e,t){return g.call(e,t)}function y(e){for(var t=arguments,n=Object(e),r=1;r0;)t[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[e,r.locale,r._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var a=this.$i18n;return a._tc.apply(a,[e,a.locale,a._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(E),E.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n){if(e.i18n instanceof q){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){t=y(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(e){}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(u(e.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof q?this.$root.$i18n:null;if(n&&(e.i18n.root=this.$root,e.i18n.formatter=n.formatter,e.i18n.fallbackLocale=n.fallbackLocale,e.i18n.formatFallbackMessages=n.formatFallbackMessages,e.i18n.silentTranslationWarn=n.silentTranslationWarn,e.i18n.silentFallbackWarn=n.silentFallbackWarn,e.i18n.pluralizationRules=n.pluralizationRules,e.i18n.preserveDirectiveContent=n.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var r=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){r=y(r,JSON.parse(e))})),e.i18n.messages=r}catch(e){}var a=e.i18n.sharedMessages;a&&u(a)&&(e.i18n.messages=y(e.i18n.messages,a)),this._i18n=new q(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof q?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof q&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof q||u(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof q||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof q)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),E.directive("t",{bind:k,update:S,unbind:P}),E.component(_.name,_),E.component(M.name,M),E.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var O=function(){this._caches=Object.create(null)};O.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,r="";for(;n0)d--,u=4,h[0]();else{if(d=0,void 0===n)return!1;if(!1===(n=N(n)))return!1;h[1]()}};null!==u;)if(c++,"\\"!==(t=e[c])||!f()){if(a=z(t),8===(i=(s=R[u])[a]||s.else||8))return;if(u=i[0],(o=h[i[1]])&&(r=void 0===(r=i[2])?t:r,!1===o()))return;if(7===u)return l}}(e),t&&(this._cache[e]=t)),t||[]},H.prototype.getPathValue=function(e,t){if(!s(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var r=n.length,a=e,i=0;i/,j=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,U=/^@(?:\.([a-zA-Z]+))?:/,$=/[()]/g,G={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},W=new O,q=function(e){var t=this;void 0===e&&(e={}),!E&&"undefined"!=typeof window&&window.Vue&&L(window.Vue);var n=e.locale||"en-US",r=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),a=e.messages||{},i=e.dateTimeFormats||e.datetimeFormats||{},o=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||W,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new H,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,n){var r=Object.getPrototypeOf(t);if(r&&r.getChoiceIndex)return r.getChoiceIndex.call(t,e,n);var a,i;return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):(a=e,i=n,a=Math.abs(a),2===i?a?a>1?1:0:1:a?Math.min(a,2):0)},this._exist=function(e,n){return!(!e||!n)&&(!d(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(a).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,a[e])})),this._initVM({locale:n,fallbackLocale:r,messages:a,dateTimeFormats:i,numberFormats:o})},K={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};q.prototype._checkLocaleMessage=function(e,t,n){var r=function(e,t,n,a){if(u(n))Object.keys(n).forEach((function(i){var o=n[i];u(o)?(a.push(i),a.push("."),r(e,t,o,a),a.pop(),a.pop()):(a.push(i),r(e,t,o,a),a.pop())}));else if(o(n))n.forEach((function(n,i){u(n)?(a.push("["+i+"]"),a.push("."),r(e,t,n,a),a.pop(),a.pop()):(a.push("["+i+"]"),r(e,t,n,a),a.pop())}));else if(l(n)){if(Y.test(n)){var s="Detected HTML in message '"+n+"' of keypath '"+a.join("")+"' at '"+t+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?i(s):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(s)}}};r(t,e,n,[])},q.prototype._initVM=function(e){var t=E.config.silent;E.config.silent=!0,this._vm=new E({data:e,__VUE18N__INSTANCE__:!0}),E.config.silent=t},q.prototype.destroyVM=function(){this._vm.$destroy()},q.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},q.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.delete(t));}(this._dataListeners,e)},q.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t,n,r=(t=e._dataListeners,n=[],t.forEach((function(e){return n.push(e)})),n),a=r.length;a--;)E.nextTick((function(){r[a]&&r[a].$forceUpdate()}))}),{deep:!0})},q.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){r.$set(r,"locale",e),r.$forceUpdate()}),{immediate:!0})},q.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},K.vm.get=function(){return this._vm},K.messages.get=function(){return p(this._getMessages())},K.dateTimeFormats.get=function(){return p(this._getDateTimeFormats())},K.numberFormats.get=function(){return p(this._getNumberFormats())},K.availableLocales.get=function(){return Object.keys(this.messages).sort()},K.locale.get=function(){return this._vm.locale},K.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},K.fallbackLocale.get=function(){return this._vm.fallbackLocale},K.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},K.formatFallbackMessages.get=function(){return this._formatFallbackMessages},K.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},K.missing.get=function(){return this._missing},K.missing.set=function(e){this._missing=e},K.formatter.get=function(){return this._formatter},K.formatter.set=function(e){this._formatter=e},K.silentTranslationWarn.get=function(){return this._silentTranslationWarn},K.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},K.silentFallbackWarn.get=function(){return this._silentFallbackWarn},K.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},K.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},K.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},K.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},K.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var r=this._getMessages();Object.keys(r).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])}))}},K.postTranslation.get=function(){return this._postTranslation},K.postTranslation.set=function(e){this._postTranslation=e},K.sync.get=function(){return this._sync},K.sync.set=function(e){this._sync=e},q.prototype._getMessages=function(){return this._vm.messages},q.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},q.prototype._getNumberFormats=function(){return this._vm.numberFormats},q.prototype._warnDefault=function(e,t,n,r,a,i){if(!d(n))return n;if(this._missing){var o=this._missing.apply(null,[e,t,r,a]);if(l(o))return o}else 0;if(this._formatFallbackMessages){var s=f.apply(void 0,a);return this._render(t,i,s.params,t)}return t},q.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:d(e))&&!d(this._root)&&this._fallbackRoot},q.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},q.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},q.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},q.prototype._interpolate=function(e,t,n,r,a,i,s){if(!t)return null;var c,f=this._path.getPathValue(t,n);if(o(f)||u(f))return f;if(d(f)){if(!u(t))return null;if(!l(c=t[n])&&!h(c))return null}else{if(!l(f)&&!h(f))return null;c=f}return l(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(e,t,c,r,"raw",i,s)),this._render(c,a,i,n)},q.prototype._link=function(e,t,n,r,a,i,s){var l=n,c=l.match(j);for(var u in c)if(c.hasOwnProperty(u)){var d=c[u],h=d.match(U),f=h[0],p=h[1],g=d.replace(f,"").replace($,"");if(m(s,g))return l;s.push(g);var v=this._interpolate(e,t,g,r,"raw"===a?"string":a,"raw"===a?void 0:i,s);if(this._isFallbackRoot(v)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;v=y._translate(y._getMessages(),y.locale,y.fallbackLocale,g,r,a,i)}v=this._warnDefault(e,g,v,r,o(i)?i:[i],a),this._modifiers.hasOwnProperty(p)?v=this._modifiers[p](v):G.hasOwnProperty(p)&&(v=G[p](v)),s.pop(),l=v?l.replace(d,v):l}return l},q.prototype._createMessageContext=function(e,t,n,r){var a=this,i=o(e)?e:[],l=s(e)?e:{},c=this._getMessages(),u=this.locale;return{list:function(e){return i[e]},named:function(e){return l[e]},values:e,formatter:t,path:n,messages:c,locale:u,linked:function(e){return a._interpolate(u,c[u]||{},e,null,r,void 0,[e])}}},q.prototype._render=function(e,t,n,r){if(h(e))return e(this._createMessageContext(n,this._formatter||W,r,t));var a=this._formatter.interpolate(e,n,r);return a||(a=W.interpolate(e,n,r)),"string"!==t||l(a)?a:a.join("")},q.prototype._appendItemToChain=function(e,t,n){var r=!1;return m(e,t)||(r=!0,t&&(r="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(r=n[t]))),r},q.prototype._appendLocaleToChain=function(e,t,n){var r,a=t.split("-");do{var i=a.join("-");r=this._appendItemToChain(e,i,n),a.splice(-1,1)}while(a.length&&!0===r);return r},q.prototype._appendBlockToChain=function(e,t,n){for(var r=!0,a=0;a0;)i[o]=arguments[o+4];if(!e)return"";var s,l=f.apply(void 0,i);this._escapeParameterHtml&&(l.params=(null!=(s=l.params)&&Object.keys(s).forEach((function(e){"string"==typeof s[e]&&(s[e]=s[e].replace(//g,">").replace(/"/g,""").replace(/'/g,"'"))})),s));var c=l.locale||t,u=this._translate(n,c,this.fallbackLocale,e,r,"string",l.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[e].concat(i))}return u=this._warnDefault(c,e,u,r,i,"string"),this._postTranslation&&null!=u&&(u=this._postTranslation(u,e)),u},q.prototype.t=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},q.prototype._i=function(e,t,n,r,a){var i=this._translate(n,t,this.fallbackLocale,e,r,"raw",a);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,a)}return this._warnDefault(t,e,i,r,[a],"raw")},q.prototype.i=function(e,t,n){return e?(l(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},q.prototype._tc=function(e,t,n,r,a){for(var i,o=[],s=arguments.length-5;s-- >0;)o[s]=arguments[s+5];if(!e)return"";void 0===a&&(a=1);var l={count:a,n:a},c=f.apply(void 0,o);return c.params=Object.assign(l,c.params),o=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[e,t,n,r].concat(o)),a)},q.prototype.fetchChoice=function(e,t){if(!e||!l(e))return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},q.prototype.tc=function(e,t){for(var n,r=[],a=arguments.length-2;a-- >0;)r[a]=arguments[a+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(r))},q.prototype._te=function(e,t,n){for(var r=[],a=arguments.length-3;a-- >0;)r[a]=arguments[a+3];var i=f.apply(void 0,r).locale||t;return this._exist(n[i],e)},q.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},q.prototype.getLocaleMessage=function(e){return p(this._vm.messages[e]||{})},q.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},q.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,y(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},q.prototype.getDateTimeFormat=function(e){return p(this._vm.dateTimeFormats[e]||{})},q.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},q.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,y(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},q.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},q.prototype._localizeDateTime=function(e,t,n,r,a,i){for(var o=t,s=r[o],l=this._getLocaleChain(t,n),c=0;c0;)t[n]=arguments[n+1];var r=this.locale,i=null,o=null;return 1===t.length?(l(t[0])?i=t[0]:s(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(i=t[0].key)),o=Object.keys(t[0]).reduce((function(e,n){var r;return m(a,n)?Object.assign({},e,((r={})[n]=t[0][n],r)):e}),null)):2===t.length&&(l(t[0])&&(i=t[0]),l(t[1])&&(r=t[1])),this._d(e,r,i,o)},q.prototype.getNumberFormat=function(e){return p(this._vm.numberFormats[e]||{})},q.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},q.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,y(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},q.prototype._clearNumberFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},q.prototype._getNumberFormatter=function(e,t,n,r,a,i){for(var o=t,s=r[o],l=this._getLocaleChain(t,n),c=0;c0;)t[n]=arguments[n+1];var a=this.locale,i=null,o=null;return 1===t.length?l(t[0])?i=t[0]:s(t[0])&&(t[0].locale&&(a=t[0].locale),t[0].key&&(i=t[0].key),o=Object.keys(t[0]).reduce((function(e,n){var a;return m(r,n)?Object.assign({},e,((a={})[n]=t[0][n],a)):e}),null)):2===t.length&&(l(t[0])&&(i=t[0]),l(t[1])&&(a=t[1])),this._n(e,a,i,o)},q.prototype._ntp=function(e,t,n,r){if(!q.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).formatToParts(e);var a=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),i=a&&a.formatToParts(e);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,r)}return i||[]},Object.defineProperties(q.prototype,K),Object.defineProperty(q,"availabilities",{get:function(){if(!V){var e="undefined"!=typeof Intl;V={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return V}}),q.install=L,q.version="8.28.2";const X=q},64818:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MODEL_EVENT_NAME:()=>s,MODEL_PROP_NAME:()=>o,modelMixin:()=>a,props:()=>i});var r=(0,n(38199).makeModelMixin)("value"),a=r.mixin,i=r.props,o=r.prop,s=r.event},64945:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AbrController:()=>it,AttrList:()=>Xt,AudioStreamController:()=>$a,AudioTrackController:()=>Xa,BasePlaylistController:()=>Ga,BaseSegment:()=>U,BaseStreamController:()=>pr,BufferController:()=>ti,CMCDController:()=>Di,CapLevelController:()=>ai,ChunkMetadata:()=>Ht,ContentSteeringController:()=>Ri,Cues:()=>ss,DateRange:()=>Zt,EMEController:()=>Ni,ErrorActionFlags:()=>vt,ErrorController:()=>yt,ErrorDetails:()=>s,ErrorTypes:()=>o,Events:()=>l,FPSController:()=>Vi,FetchLoader:()=>us,Fragment:()=>G,Hls:()=>Ds,HlsSkip:()=>Ue,HlsUrlParameters:()=>Ge,KeySystemFormats:()=>ln,KeySystems:()=>sn,Level:()=>We,LevelDetails:()=>Qt,LevelKey:()=>In,LoadStats:()=>H,M3U8Parser:()=>Sn,MetadataSchema:()=>$r,NetworkErrorAction:()=>gt,Part:()=>W,PlaylistLevelType:()=>f,SubtitleStreamController:()=>co,SubtitleTrackController:()=>Wi,TimelineController:()=>rs,XhrLoader:()=>ps,default:()=>Ds,fetchSupported:()=>ls,getMediaSource:()=>S,isMSESupported:()=>Ps,isSupported:()=>As,requestMediaKeySystemAccess:()=>vn});const r=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},a=Number.isSafeInteger||function(e){return"number"==typeof e&&Math.abs(e)<=i},i=Number.MAX_SAFE_INTEGER||9007199254740991;let o=function(e){return e.NETWORK_ERROR="networkError",e.MEDIA_ERROR="mediaError",e.KEY_SYSTEM_ERROR="keySystemError",e.MUX_ERROR="muxError",e.OTHER_ERROR="otherError",e}({}),s=function(e){return e.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",e.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",e.KEY_SYSTEM_NO_SESSION="keySystemNoSession",e.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",e.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",e.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",e.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",e.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",e.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",e.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",e.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",e.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",e.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",e.MANIFEST_LOAD_ERROR="manifestLoadError",e.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",e.MANIFEST_PARSING_ERROR="manifestParsingError",e.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",e.LEVEL_EMPTY_ERROR="levelEmptyError",e.LEVEL_LOAD_ERROR="levelLoadError",e.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",e.LEVEL_PARSING_ERROR="levelParsingError",e.LEVEL_SWITCH_ERROR="levelSwitchError",e.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",e.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",e.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",e.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",e.FRAG_LOAD_ERROR="fragLoadError",e.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",e.FRAG_DECRYPT_ERROR="fragDecryptError",e.FRAG_PARSING_ERROR="fragParsingError",e.FRAG_GAP="fragGap",e.REMUX_ALLOC_ERROR="remuxAllocError",e.KEY_LOAD_ERROR="keyLoadError",e.KEY_LOAD_TIMEOUT="keyLoadTimeOut",e.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",e.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",e.BUFFER_APPEND_ERROR="bufferAppendError",e.BUFFER_APPENDING_ERROR="bufferAppendingError",e.BUFFER_STALLED_ERROR="bufferStalledError",e.BUFFER_FULL_ERROR="bufferFullError",e.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",e.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",e.ASSET_LIST_LOAD_ERROR="assetListLoadError",e.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",e.ASSET_LIST_PARSING_ERROR="assetListParsingError",e.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",e.INTERNAL_EXCEPTION="internalException",e.INTERNAL_ABORTED="aborted",e.ATTACH_MEDIA_ERROR="attachMediaError",e.UNKNOWN="unknown",e}({}),l=function(e){return e.MEDIA_ATTACHING="hlsMediaAttaching",e.MEDIA_ATTACHED="hlsMediaAttached",e.MEDIA_DETACHING="hlsMediaDetaching",e.MEDIA_DETACHED="hlsMediaDetached",e.MEDIA_ENDED="hlsMediaEnded",e.STALL_RESOLVED="hlsStallResolved",e.BUFFER_RESET="hlsBufferReset",e.BUFFER_CODECS="hlsBufferCodecs",e.BUFFER_CREATED="hlsBufferCreated",e.BUFFER_APPENDING="hlsBufferAppending",e.BUFFER_APPENDED="hlsBufferAppended",e.BUFFER_EOS="hlsBufferEos",e.BUFFERED_TO_END="hlsBufferedToEnd",e.BUFFER_FLUSHING="hlsBufferFlushing",e.BUFFER_FLUSHED="hlsBufferFlushed",e.MANIFEST_LOADING="hlsManifestLoading",e.MANIFEST_LOADED="hlsManifestLoaded",e.MANIFEST_PARSED="hlsManifestParsed",e.LEVEL_SWITCHING="hlsLevelSwitching",e.LEVEL_SWITCHED="hlsLevelSwitched",e.LEVEL_LOADING="hlsLevelLoading",e.LEVEL_LOADED="hlsLevelLoaded",e.LEVEL_UPDATED="hlsLevelUpdated",e.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",e.LEVELS_UPDATED="hlsLevelsUpdated",e.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",e.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",e.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",e.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",e.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",e.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",e.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",e.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",e.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",e.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",e.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",e.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",e.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",e.CUES_PARSED="hlsCuesParsed",e.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",e.INIT_PTS_FOUND="hlsInitPtsFound",e.FRAG_LOADING="hlsFragLoading",e.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",e.FRAG_LOADED="hlsFragLoaded",e.FRAG_DECRYPTED="hlsFragDecrypted",e.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",e.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",e.FRAG_PARSING_METADATA="hlsFragParsingMetadata",e.FRAG_PARSED="hlsFragParsed",e.FRAG_BUFFERED="hlsFragBuffered",e.FRAG_CHANGED="hlsFragChanged",e.FPS_DROP="hlsFpsDrop",e.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",e.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",e.ERROR="hlsError",e.DESTROYING="hlsDestroying",e.KEY_LOADING="hlsKeyLoading",e.KEY_LOADED="hlsKeyLoaded",e.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",e.BACK_BUFFER_REACHED="hlsBackBufferReached",e.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",e.ASSET_LIST_LOADING="hlsAssetListLoading",e.ASSET_LIST_LOADED="hlsAssetListLoaded",e.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",e.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",e.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",e.INTERSTITIAL_STARTED="hlsInterstitialStarted",e.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",e.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",e.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",e.INTERSTITIAL_ENDED="hlsInterstitialEnded",e.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",e.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",e.EVENT_CUE_ENTER="hlsEventCueEnter",e}({});var c="manifest",u="level",d="audioTrack",h="subtitleTrack",f={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class p{constructor(e,t=0,n=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=e,this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=t,this.totalWeight_=n}sample(e,t){const n=Math.pow(this.alpha_,e);this.estimate_=t*(1-n)+n*this.estimate_,this.totalWeight_+=e}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const e=1-Math.pow(this.alpha_,this.totalWeight_);if(e)return this.estimate_/e}return this.estimate_}}class m{constructor(e,t,n,r=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=n,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new p(e),this.fast_=new p(t),this.defaultTTFB_=r,this.ttfb_=new p(e)}update(e,t){const{slow_:n,fast_:r,ttfb_:a}=this;n.halfLife!==e&&(this.slow_=new p(e,n.getEstimate(),n.getTotalWeight())),r.halfLife!==t&&(this.fast_=new p(t,r.getEstimate(),r.getTotalWeight())),a.halfLife!==e&&(this.ttfb_=new p(e,a.getEstimate(),a.getTotalWeight()))}sample(e,t){const n=(e=Math.max(e,this.minDelayMs_))/1e3,r=8*t/n;this.fast_.sample(n,r),this.slow_.sample(n,r)}sampleTTFB(e){const t=e/1e3,n=Math.sqrt(2)*Math.exp(-Math.pow(t,2)/2);this.ttfb_.sample(n,Math.max(e,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}get defaultEstimate(){return this.defaultEstimate_}destroy(){}}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t`):I}(e,n)}const M=w();const k=M;function S(e=!0){if("undefined"==typeof self)return;return(e||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function P(e,t){const n=Object.keys(e),r=Object.keys(t),a=n.length,i=r.length;return!a||!i||a===i&&!n.some((e=>-1===r.indexOf(e)))}function A(e,t=!1){if("undefined"!=typeof TextDecoder){const n=new TextDecoder("utf-8").decode(e);if(t){const e=n.indexOf("\0");return-1!==e?n.substring(0,e):n}return n.replace(/\0/g,"")}const n=e.length;let r,a,i,o="",s=0;for(;s>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:o+=String.fromCharCode(r);break;case 12:case 13:a=e[s++],o+=String.fromCharCode((31&r)<<6|63&a);break;case 14:a=e[s++],i=e[s++],o+=String.fromCharCode((15&r)<<12|(63&a)<<6|63&i)}}return o}const x=function(e){let t="";for(let n=0;n1||1===t&&this.levelkeys[e[0]].encrypted)return!0}return!1}get programDateTime(){return null===this._programDateTime&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(e){r(e)?this._programDateTime=e:this._programDateTime=this.rawProgramDateTime=null}get ref(){return $(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(e){this.setStart(this.start+e)}setStart(e){this.start=e,this._ref&&(this._ref.start=e)}setDuration(e){this.duration=e,this._ref&&(this._ref.duration=e)}setKeyFormat(e){if(this.levelkeys){const t=this.levelkeys[e];t&&!this._decryptdata&&(this._decryptdata=t.getDecryptData(this.sn))}}abortRequests(){var e,t;null==(e=this.loader)||e.abort(),null==(t=this.keyLoader)||t.abort()}setElementaryStreamInfo(e,t,n,r,a,i=!1){const{elementaryStreams:o}=this,s=o[e];s?(s.startPTS=Math.min(s.startPTS,t),s.endPTS=Math.max(s.endPTS,n),s.startDTS=Math.min(s.startDTS,r),s.endDTS=Math.max(s.endDTS,a)):o[e]={startPTS:t,endPTS:n,startDTS:r,endDTS:a,partial:i}}}class W extends U{constructor(e,t,n,r,a){super(n),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.duration=e.decimalFloatingPoint("DURATION"),this.gap=e.bool("GAP"),this.independent=e.bool("INDEPENDENT"),this.relurl=e.enumeratedString("URI"),this.fragment=t,this.index=r;const i=e.enumeratedString("BYTERANGE");i&&this.setByteRange(i,a),a&&(this.fragOffset=a.fragOffset+a.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:e}=this;return!!(e.audio||e.video||e.audiovideo)}}function q(e,t){const n=Object.getPrototypeOf(e);if(n){const e=Object.getOwnPropertyDescriptor(n,t);return e||q(n,t)}}const K=Math.pow(2,32)-1,X=[].push,J={video:1,audio:2,id3:3,text:4};function Z(e){return String.fromCharCode.apply(null,e)}function Q(e,t){const n=e[t]<<8|e[t+1];return n<0?65536+n:n}function ee(e,t){const n=ne(e,t);return n<0?4294967296+n:n}function te(e,t){let n=ee(e,t);return n*=Math.pow(2,32),n+=ee(e,t+4),n}function ne(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}function re(e,t,n){e[t]=n>>24,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}function ae(e,t){const n=[];if(!t.length)return n;const r=e.byteLength;for(let a=0;a1?a+i:r;if(Z(e.subarray(a+4,a+8))===t[0])if(1===t.length)n.push(e.subarray(a+8,o));else{const r=ae(e.subarray(a+8,o),t.slice(1));r.length&&X.apply(n,r)}a=o}return n}function ie(e){const t=[],n=e[0];let r=8;const a=ee(e,r);r+=4;let i=0,o=0;0===n?(i=ee(e,r),o=ee(e,r+4),r+=8):(i=te(e,r),o=te(e,r+8),r+=16),r+=2;let s=e.length+o;const l=Q(e,r);r+=2;for(let n=0;n>>31)return k.warn("SIDX has hierarchical references (not supported)"),null;const l=ee(e,n);n+=4,t.push({referenceSize:o,subsegmentDuration:l,info:{duration:l/a,start:s,end:s+o-1}}),s+=o,n+=4,r=n}return{earliestPresentationTime:i,timescale:a,version:n,referencesCount:l,references:t}}function oe(e){const t=[],n=ae(e,["moov","trak"]);for(let e=0;e{const n=ee(e,4),r=t[n];r&&(r.default={duration:ee(e,12),flags:ee(e,20)})})),t}function se(e){const t=e.subarray(8),n=t.subarray(86),r=Z(t.subarray(4,8));let a,i=r;const o="enca"===r||"encv"===r;if(o){const e=ae(t,[r])[0];ae(e.subarray("enca"===r?28:78),["sinf"]).forEach((e=>{const t=ae(e,["schm"])[0];if(t){const n=Z(t.subarray(4,8));if("cbcs"===n||"cenc"===n){const t=ae(e,["frma"])[0];t&&(i=Z(t))}}}))}const s=i;switch(i){case"avc1":case"avc2":case"avc3":case"avc4":{const e=ae(n,["avcC"])[0];e&&e.length>3&&(i+="."+ue(e[1])+ue(e[2])+ue(e[3]),a=le("avc1"===s?"dva1":"dvav",n));break}case"mp4a":{const e=ae(t,[r])[0],n=ae(e.subarray(28),["esds"])[0];if(n&&n.length>7){let e=4;if(3!==n[e++])break;e=ce(n,e),e+=2;const t=n[e++];if(128&t&&(e+=2),64&t&&(e+=n[e++]),4!==n[e++])break;e=ce(n,e);const r=n[e++];if(64!==r)break;if(i+="."+ue(r),e+=12,5!==n[e++])break;e=ce(n,e);const a=n[e++];let o=(248&a)>>3;31===o&&(o+=1+((7&a)<<3)+((224&n[e])>>5)),i+="."+o}break}case"hvc1":case"hev1":{const e=ae(n,["hvcC"])[0];if(e&&e.length>12){const t=e[1],n=["","A","B","C"][t>>6],r=31&t,a=ee(e,2),o=(32&t)>>5?"H":"L",s=e[12],l=e.subarray(6,12);i+="."+n+r,i+="."+a.toString(16).toUpperCase(),i+="."+o+s;let c="";for(let e=l.length;e--;){const t=l[e];if(t||c){c="."+t.toString(16).toUpperCase()+c}}i+=c}a=le("hev1"==s?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":i=le(i,n)||i;break;case"vp09":{const e=ae(n,["vpcC"])[0];if(e&&e.length>6){const t=e[4],n=e[5],r=e[6]>>4&15;i+="."+de(t)+"."+de(n)+"."+de(r)}break}case"av01":{const e=ae(n,["av1C"])[0];if(e&&e.length>2){const t=e[1]>>>5,r=31&e[1],o=e[2]>>>7?"H":"M",s=(64&e[2])>>6,l=(32&e[2])>>5,c=2===t&&s?l?12:10:s?10:8,u=(16&e[2])>>4,d=(8&e[2])>>3,h=(4&e[2])>>2,f=3&e[2],p=1,m=1,g=1,v=0;i+="."+t+"."+de(r)+o+"."+de(c)+"."+u+"."+d+h+f+"."+de(p)+"."+de(m)+"."+de(g)+"."+v,a=le("dav1",n)}break}}return{codec:i,encrypted:o,supplemental:a}}function le(e,t){const n=ae(t,["dvvC"]),r=n.length?n[0]:ae(t,["dvcC"])[0];if(r){const t=r[2]>>1&127,n=r[2]<<5&32|r[3]>>3&31;return e+"."+de(t)+"."+de(n)}}function ce(e,t){const n=t+5;for(;128&e[t++]&&t{const l=s.byteOffset-8;ae(s,["traf"]).map((s=>{const c=ae(s,["tfdt"]).map((e=>{const t=e[0];let n=ee(e,4);return 1===t&&(n*=Math.pow(2,32),n+=ee(e,8)),n/a}))[0];return void 0!==c&&(e=c),ae(s,["tfhd"]).map((c=>{const u=ee(c,4),d=16777215&ee(c,0);let h=0;const f=!!(16&d);let p=0;const m=!!(32&d);let g=8;u===i&&(!!(1&d)&&(g+=8),!!(2&d)&&(g+=4),!!(8&d)&&(h=ee(c,g),g+=4),f&&(p=ee(c,g),g+=4),m&&(g+=4),"video"===t.type&&(o=ge(t.codec)),ae(s,["trun"]).map((i=>{const s=i[0],c=16777215&ee(i,0),u=!!(1&c);let d=0;const f=!!(4&c),m=!!(256&c);let g=0;const v=!!(512&c);let y=0;const b=!!(1024&c),_=!!(2048&c);let I=0;const T=ee(i,4);let w=8;u&&(d=ee(i,w),w+=4),f&&(w+=4);let E=d+l;for(let l=0;l>1&63;return 39===e||40===e}return 6===(31&t)}function ye(e,t,n,r){const a=be(e);let i=0;i+=t;let o=0,s=0,l=0;for(;i=a.length)break;l=a[i++],o+=l}while(255===l);s=0;do{if(i>=a.length)break;l=a[i++],s+=l}while(255===l);const e=a.length-i;let t=i;if(se){k.error(`Malformed SEI payload. ${s} is too small, only ${e} bytes left to parse.`);break}if(4===o){if(181===a[t++]){const e=Q(a,t);if(t+=2,49===e){const e=ee(a,t);if(t+=4,1195456820===e){const e=a[t++];if(3===e){const i=a[t++],s=64&i,l=s?2+3*(31&i):0,c=new Uint8Array(l);if(s){c[0]=i;for(let e=1;e16){const e=[];for(let n=0;n<16;n++){const r=a[t++].toString(16);e.push(1==r.length?"0"+r:r),3!==n&&5!==n&&7!==n&&9!==n||e.push("-")}const i=s-16,l=new Uint8Array(i);for(let e=0;e0&&new DataView(o.buffer).setUint32(0,n.byteLength,!1),function(e,...t){const n=t.length;let r=8,a=n;for(;a--;)r+=t[a].byteLength;const i=new Uint8Array(r);for(i[0]=r>>24&255,i[1]=r>>16&255,i[2]=r>>8&255,i[3]=255&r,i.set(e,4),a=0,r=8;a>>24;if(0!==a&&1!==a)return{offset:n,size:t};const i=e.buffer,o=x(new Uint8Array(i,n+12,16)),s=e.getUint32(28);let l=null,c=null;if(0===a){if(t-32/\(Windows.+Firefox\//i.test(navigator.userAgent),we={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,dav1:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function Ee(e,t){const n=we[t];return!!n&&!!n[e.slice(0,4)]}function Me(e,t,n=!0){return!e.split(",").some((e=>!ke(e,t,n)))}function ke(e,t,n=!0){var r;const a=S(n);return null!=(r=null==a?void 0:a.isTypeSupported(Se(e,t)))&&r}function Se(e,t){return`${t}/mp4;codecs=${e}`}function Pe(e){if(e){const t=e.substring(0,4);return we.video[t]}return 2}function Ae(e){const t=Te();return e.split(",").reduce(((e,n)=>{const r=t&&ge(n)?9:we.video[n];return r?(2*r+e)/(e?3:2):(we.audio[n]+e)/(e?2:1)}),0)}const xe={};const Be=/flac|opus|mp4a\.40\.34/i;function Le(e,t=!0){return e.replace(Be,(e=>function(e,t=!0){if(xe[e])return xe[e];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[e];for(let a=0;a4||-1!==["ac-3","ec-3","alac","fLaC","Opus"].indexOf(e)))return e;if(t){const n=t.split(",");if(n.length>1){if(e)for(let t=n.length;t--;)if(n[t].substring(0,4)===e.substring(0,4))return n[t];return n[0]}}return t||e}function Ce(e){if(e.startsWith("av01.")){const t=e.split("."),n=["0","111","01","01","01","0"];for(let e=t.length;e>4&&e<10;e++)t[e]=n[e-4];return t.join(".")}return e}function De(e){const t=S(e)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function Re(e){return e.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const Fe={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function ze(e,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:e}}const Ne={};function He(e,t,n,a,i,o){const s=e.audioCodec?e.audioGroups:null,l=null==o?void 0:o.audioCodec,c=null==o?void 0:o.channels,u=c?parseInt(c):l?1/0:2;let d=null;if(null!=s&&s.length)try{d=1===s.length&&s[0]?t.groups[s[0]].channels:s.reduce(((e,n)=>{if(n){const r=t.groups[n];if(!r)throw new Error(`Audio track group ${n} not found`);Object.keys(r.channels).forEach((t=>{e[t]=(e[t]||0)+r.channels[t]}))}return e}),{2:0})}catch(e){return!0}return void 0!==e.videoCodec&&(e.width>1920&&e.height>1088||e.height>1920&&e.width>1088||e.frameRate>Math.max(a,30)||"SDR"!==e.videoRange&&e.videoRange!==n||e.bitrate>Math.max(i,8e6))||!!d&&r(u)&&Object.keys(d).some((e=>parseInt(e)>u))}function Ve(e,t,n){const a=e.videoCodec,i=e.audioCodec;if(!a&&!i||!n)return Promise.resolve(Fe);const o=[];if(a){const t={width:e.width,height:e.height,bitrate:Math.ceil(Math.max(.9*e.bitrate,e.averageBitrate)),framerate:e.frameRate||30},n=e.videoRange;"SDR"!==n&&(t.transferFunction=n.toLowerCase());const r=a.split(","),i=navigator.userAgent;if(r.some((e=>ge(e)))&&Te())return Promise.resolve(ze(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${i})`),o));o.push.apply(o,r.map((e=>({type:"media-source",video:b(b({},t),{},{contentType:Se(Ce(e),"video")})}))))}return i&&e.audioGroups&&e.audioGroups.forEach((e=>{var n;e&&(null==(n=t.groups[e])||n.tracks.forEach((t=>{if(t.groupId===e){const e=t.channels||"",n=parseFloat(e);r(n)&&n>2&&o.push.apply(o,i.split(",").map((e=>({type:"media-source",audio:{contentType:Se(e,"audio"),channels:""+n}}))))}})))})),Promise.all(o.map((e=>{const t=function(e){const{audio:t,video:n}=e,r=n||t;if(r){const e=Re(r.contentType);if(n)return`r${n.height}x${n.width}f${Math.ceil(n.framerate)}${n.transferFunction||"sd"}_${e}_${Math.ceil(n.bitrate/1e5)}`;if(t)return`c${t.channels}${t.spatialRendering?"s":"n"}_${e}`}return""}(e);return Ne[t]||(Ne[t]=n.decodingInfo(e))}))).then((e=>({supported:!e.some((e=>!e.supported)),configurations:o,decodingInfoResults:e}))).catch((e=>({supported:!1,configurations:o,decodingInfoResults:[],error:e})))}const Ye=["NONE","TYPE-0","TYPE-1",null];const je=["SDR","PQ","HLG"];var Ue={No:"",Yes:"YES",v2:"v2"};function $e(e){const{canSkipUntil:t,canSkipDateRanges:n,age:r}=e;return t&&r!!e)).map((e=>e.substring(0,4))).join(","),"supplemental"in e){var t;this.supplemental=e.supplemental;const n=null==(t=e.supplemental)?void 0:t.videoCodec;n&&n!==e.videoCodec&&(this.codecSet+=`,${n.substring(0,4)}`)}this.addGroupId("audio",e.attrs.AUDIO),this.addGroupId("text",e.attrs.SUBTITLES)}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get averageBitrate(){return this._avgBitrate||this.realBitrate||this.bitrate}get attrs(){return this._attrs[0]}get codecs(){return this.attrs.CODECS||""}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get videoRange(){return this.attrs["VIDEO-RANGE"]||"SDR"}get score(){return this.attrs.optionalFloat("SCORE",0)}get uri(){return this.url[0]||""}hasAudioGroup(e){return qe(this._audioGroups,e)}hasSubtitleGroup(e){return qe(this._subtitleGroups,e)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(e,t){if(t)if("audio"===e){let e=this._audioGroups;e||(e=this._audioGroups=[]),-1===e.indexOf(t)&&e.push(t)}else if("text"===e){let e=this._subtitleGroups;e||(e=this._subtitleGroups=[]),-1===e.indexOf(t)&&e.push(t)}}get urlId(){return 0}set urlId(e){}get audioGroupIds(){return this.audioGroups?[this.audioGroupId]:void 0}get textGroupIds(){return this.subtitleGroups?[this.textGroupId]:void 0}get audioGroupId(){var e;return null==(e=this.audioGroups)?void 0:e[0]}get textGroupId(){var e;return null==(e=this.subtitleGroups)?void 0:e[0]}addFallback(){}}function qe(e,t){return!(!t||!e)&&-1!==e.indexOf(t)}function Ke(e,t){let n=!1,r=[];if(e&&(n="SDR"!==e,r=[e]),t){r=t.allowedVideoRanges||je.slice(0);const e="SDR"!==r.join("")&&!t.videoCodec;n=void 0!==t.preferHDR?t.preferHDR:e&&function(){if("function"==typeof matchMedia){const e=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(e.media!==t.media)return!0===e.matches}return!1}(),n||(r=["SDR"])}return{preferHDR:n,allowedVideoRanges:r}}const Xe=(e,t)=>JSON.stringify(e,(e=>{const t=new WeakSet;return(n,r)=>{if(e&&(r=e(n,r)),"object"==typeof r&&null!==r){if(t.has(r))return;t.add(r)}return r}})(t));function Je(e,t){k.log(`[abr] start candidates with "${e}" ignored because ${t}`)}function Ze(e){return e.reduce(((e,t)=>{let n=e.groups[t.groupId];n||(n=e.groups[t.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),n.tracks.push(t);const r=t.channels||"2";return n.channels[r]=(n.channels[r]||0)+1,n.hasDefault=n.hasDefault||t.default,n.hasAutoSelect=n.hasAutoSelect||t.autoselect,n.hasDefault&&(e.hasDefaultAudio=!0),n.hasAutoSelect&&(e.hasAutoSelectAudio=!0),e}),{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function Qe(e){if(!e)return e;const{lang:t,assocLang:n,characteristics:r,channels:a,audioCodec:i}=e;return{lang:t,assocLang:n,characteristics:r,channels:a,audioCodec:i}}function et(e,t,n){if("attrs"in e){const n=t.indexOf(e);if(-1!==n)return n}for(let r=0;r-1===r.indexOf(e)))}(e.characteristics||"",t.characteristics))&&(void 0===n||n(e,t))}function nt(e,t){const{audioCodec:n,channels:r}=e;return!(void 0!==n&&(t.audioCodec||"").substring(0,4)!==n.substring(0,4)||void 0!==r&&r!==(t.channels||"2"))}function rt(e,t,n){for(let r=t;r>-1;r--)if(n(e[r]))return r;for(let r=t+1;r{var t;const{fragCurrent:n,partCurrent:a,hls:i}=this,{autoLevelEnabled:o,media:s}=i;if(!n||!s)return;const c=performance.now(),u=a?a.stats:n.stats,d=a?a.duration:n.duration,h=c-u.loading.start,f=i.minAutoLevel,p=n.level,m=this._nextAutoLevel;if(u.aborted||u.loaded&&u.loaded===u.total||p<=f)return this.clearTimer(),void(this._nextAutoLevel=-1);if(!o)return;const g=m>-1&&m!==p,v=!!e||g;if(!v&&(s.paused||!s.playbackRate||!s.readyState))return;const y=i.mainForwardBufferInfo;if(!v&&null===y)return;const b=this.bwEstimator.getEstimateTTFB(),_=Math.abs(s.playbackRate);if(h<=Math.max(b,d/(2*_)*1e3))return;const I=y?y.len/_:0,T=u.loading.first?u.loading.first-u.loading.start:-1,w=u.loaded&&T>-1,E=this.getBwEstimate(),M=i.levels,k=M[p],S=Math.max(u.loaded,Math.round(d*(n.bitrate||k.averageBitrate)/8));let P=w?h-T:h;P<1&&w&&(P=Math.min(h,8*u.loaded/E));const A=w?1e3*u.loaded/P:0,x=b/1e3,B=A?(S-u.loaded)/A:8*S/E+x;if(B<=I)return;const L=A?8*A:E,O=!0===(null==(t=(null==e?void 0:e.details)||this.hls.latestLevelDetails)?void 0:t.live),C=this.hls.config.abrBandWidthUpFactor;let D,R=Number.POSITIVE_INFINITY;for(D=p-1;D>f;D--){const e=M[D].maxBitrate,t=!M[D].details||O;if(R=this.getTimeToLoadFrag(x,L,d*e,t),R=B)return;if(R>10*d)return;w?this.bwEstimator.sample(h-Math.min(b,T),u.loaded):this.bwEstimator.sampleTTFB(h);const F=M[D].maxBitrate;this.getBwEstimate()*C>F&&this.resetEstimator(F);const z=this.findBestLevel(F,f,D,0,I,1,1);z>-1&&(D=z),this.warn(`Fragment ${n.sn}${a?" part "+a.index:""} of level ${p} is loading too slowly;\n Fragment duration: ${n.duration.toFixed(3)}\n Time to underbuffer: ${I.toFixed(3)} s\n Estimated load time for current fragment: ${B.toFixed(3)} s\n Estimated load time for down switch fragment: ${R.toFixed(3)} s\n TTFB estimate: ${0|T} ms\n Current BW estimate: ${r(E)?0|E:"Unknown"} bps\n New BW estimate: ${0|this.getBwEstimate()} bps\n Switching to level ${D} @ ${0|F} bps`),i.nextLoadLevel=i.nextAutoLevel=D,this.clearTimer();const N=()=>{if(this.clearTimer(),this.fragCurrent===n&&this.hls.loadLevel===D&&D>0){const e=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${D>0?"and switching down":""}\n Fragment duration: ${n.duration.toFixed(3)} s\n Time to underbuffer: ${e.toFixed(3)} s`),n.abortRequests(),this.fragCurrent=this.partCurrent=null,D>f){let t=this.findBestLevel(this.hls.levels[f].bitrate,f,D,0,e,1,1);-1===t&&(t=f),this.hls.nextLoadLevel=this.hls.nextAutoLevel=t,this.resetEstimator(this.hls.levels[t].bitrate)}}};g||B>2*R?N():this.timer=self.setInterval(N,1e3*R),i.trigger(l.FRAG_LOAD_EMERGENCY_ABORTED,{frag:n,part:a,stats:u})},this.hls=e,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(e){e&&(this.log(`setting initial bwe to ${e}`),this.hls.config.abrEwmaDefaultEstimate=e),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const e=this.hls.config;return new m(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate)}registerListeners(){const{hls:e}=this;e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.FRAG_LOADING,this.onFragLoading,this),e.on(l.FRAG_LOADED,this.onFragLoaded,this),e.on(l.FRAG_BUFFERED,this.onFragBuffered,this),e.on(l.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(l.LEVEL_LOADED,this.onLevelLoaded,this),e.on(l.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(l.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.on(l.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e&&(e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.FRAG_LOADING,this.onFragLoading,this),e.off(l.FRAG_LOADED,this.onFragLoaded,this),e.off(l.FRAG_BUFFERED,this.onFragBuffered,this),e.off(l.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(l.LEVEL_LOADED,this.onLevelLoaded,this),e.off(l.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(l.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.off(l.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(e,t){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(e,t){const n=t.frag;if(!this.ignoreFragment(n)){var r;if(!n.bitrateTest)this.fragCurrent=n,this.partCurrent=null!=(r=t.part)?r:null;this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100)}}onLevelSwitching(e,t){this.clearTimer()}onError(e,t){if(!t.fatal)switch(t.details){case s.BUFFER_ADD_CODEC_ERROR:case s.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case s.FRAG_LOAD_TIMEOUT:{const e=t.frag,{fragCurrent:n,partCurrent:r}=this;if(e&&n&&e.sn===n.sn&&e.level===n.level){const t=performance.now(),n=r?r.stats:e.stats,a=t-n.loading.start,i=n.loading.first?n.loading.first-n.loading.start:-1;if(n.loaded&&i>-1){const e=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(a-Math.min(e,i),n.loaded)}else this.bwEstimator.sampleTTFB(a)}break}}}getTimeToLoadFrag(e,t,n,r){return e+n/t+(r?e+this.lastLevelLoadSec:0)}onLevelLoaded(e,t){const n=this.hls.config,{loading:a}=t.stats,i=a.end-a.first;r(i)&&(this.lastLevelLoadSec=i/1e3),t.details.live?this.bwEstimator.update(n.abrEwmaSlowLive,n.abrEwmaFastLive):this.bwEstimator.update(n.abrEwmaSlowVoD,n.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(t.levelInfo)}onFragLoaded(e,{frag:t,part:n}){const r=n?n.stats:t.stats;if(t.type===f.MAIN&&this.bwEstimator.sampleTTFB(r.loading.first-r.loading.start),!this.ignoreFragment(t)){if(this.clearTimer(),t.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const e=n?n.duration:t.duration,a=this.hls.levels[t.level],i=(a.loaded?a.loaded.bytes:0)+r.loaded,o=(a.loaded?a.loaded.duration:0)+e;a.loaded={bytes:i,duration:o},a.realBitrate=Math.round(8*i/o)}if(t.bitrateTest){const e={stats:r,frag:t,part:n,id:t.type};this.onFragBuffered(l.FRAG_BUFFERED,e),t.bitrateTest=!1}else this.lastLoadedFragLevel=t.level}}onFragBuffered(e,t){const{frag:n,part:r}=t,a=null!=r&&r.stats.loaded?r.stats:n.stats;if(a.aborted)return;if(this.ignoreFragment(n))return;const i=a.parsing.end-a.loading.start-Math.min(a.loading.first-a.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(i,a.loaded),a.bwEstimate=this.getBwEstimate(),n.bitrateTest?this.bitrateTestDelay=i/1e3:this.bitrateTestDelay=0}ignoreFragment(e){return e.type!==f.MAIN||"initSegment"===e.sn}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:e,minAutoLevel:t}=this.hls,n=this.getBwEstimate(),r=this.hls.config.maxStarvationDelay,a=this.findBestLevel(n,t,e,0,r,1,1);if(a>-1)return a;const i=this.hls.firstLevel,o=Math.min(Math.max(i,t),e);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${i} clamped to ${o}`),o}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const e=this.forcedAutoLevel,t=this.bwEstimator.canEstimate(),n=this.lastLoadedFragLevel>-1;if(!(-1===e||t&&n&&this.nextAutoLevelKey!==this.getAutoLevelKey()))return e;const r=t&&n?this.getNextABRAutoLevel():this.firstAutoLevel;if(-1!==e){const t=this.hls.levels;if(t.length>Math.max(e,r)&&t[e].loadError<=t[r].loadError)return e}return this._nextAutoLevel=r,this.nextAutoLevelKey=this.getAutoLevelKey(),r}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:e,partCurrent:t,hls:n}=this;if(n.levels.length<=1)return n.loadLevel;const{maxAutoLevel:r,config:a,minAutoLevel:i}=n,o=t?t.duration:e?e.duration:0,s=this.getBwEstimate(),l=this.getStarvationDelay();let c=a.abrBandWidthFactor,u=a.abrBandWidthUpFactor;if(l){const e=this.findBestLevel(s,i,r,l,0,c,u);if(e>=0)return this.rebufferNotice=-1,e}let d=o?Math.min(o,a.maxStarvationDelay):a.maxStarvationDelay;if(!l){const e=this.bitrateTestDelay;if(e){d=(o?Math.min(o,a.maxLoadingDelay):a.maxLoadingDelay)-e,this.info(`bitrate test took ${Math.round(1e3*e)}ms, set first fragment max fetchDuration to ${Math.round(1e3*d)} ms`),c=u=1}}const h=this.findBestLevel(s,i,r,l,d,c,u);if(this.rebufferNotice!==h&&(this.rebufferNotice=h,this.info(`${l?"rebuffering expected":"buffer is empty"}, optimal quality level ${h}`)),h>-1)return h;const f=n.levels[i],p=n.loadLevelObj;return p&&(null==f?void 0:f.bitrate){if(!n.codecSet)return e;const a=n.audioGroups;let i=e[n.codecSet];i||(e[n.codecSet]=i={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:r,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!a,fragmentError:0}),i.minBitrate=Math.min(i.minBitrate,n.bitrate);const o=Math.min(n.height,n.width);return i.minHeight=Math.min(i.minHeight,o),i.minFramerate=Math.min(i.minFramerate,n.frameRate),i.minIndex=Math.min(i.minIndex,r),i.maxScore=Math.max(i.maxScore,n.score),i.fragmentError+=n.fragmentError,i.videoRanges[n.videoRange]=(i.videoRanges[n.videoRange]||0)+1,a&&a.forEach((e=>{if(!e)return;const n=t.groups[e];n&&(i.hasDefaultAudio=i.hasDefaultAudio||t.hasDefaultAudio?n.hasDefault:n.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(n.channels).forEach((e=>{i.channels[e]=(i.channels[e]||0)+n.channels[e]})))})),e}),{})}(p,k,t,n)),i=function(e,t,n,a,i){const o=Object.keys(e),s=null==a?void 0:a.channels,l=null==a?void 0:a.audioCodec,c=null==i?void 0:i.videoCodec,u=s&&2===parseInt(s);let d=!1,h=!1,f=1/0,p=1/0,m=1/0,g=1/0,v=0,y=[];const{preferHDR:b,allowedVideoRanges:_}=Ke(t,i);for(let t=o.length;t--;){const n=e[o[t]];d||(d=n.channels[2]>0),f=Math.min(f,n.minHeight),p=Math.min(p,n.minFramerate),m=Math.min(m,n.minBitrate),_.filter((e=>n.videoRanges[e]>0)).length>0&&(h=!0)}f=r(f)?f:0,p=r(p)?p:0;const I=Math.max(1080,f),T=Math.max(30,p);m=r(m)?m:n,n=Math.max(m,n),h||(t=void 0);const w=o.length>1;return{codecSet:o.reduce(((t,r)=>{const a=e[r];if(r===t)return t;if(y=h?_.filter((e=>a.videoRanges[e]>0)):[],w){if(a.minBitrate>n)return Je(r,`min bitrate of ${a.minBitrate} > current estimate of ${n}`),t;if(!a.hasDefaultAudio)return Je(r,"no renditions with default or auto-select sound found"),t;if(l&&r.indexOf(l.substring(0,4))%5!=0)return Je(r,`audio codec preference "${l}" not found`),t;if(s&&!u){if(!a.channels[s])return Je(r,`no renditions with ${s} channel sound found (channels options: ${Object.keys(a.channels)})`),t}else if((!l||u)&&d&&0===a.channels[2])return Je(r,"no renditions with stereo sound found"),t;if(a.minHeight>I)return Je(r,`min resolution of ${a.minHeight} > maximum of ${I}`),t;if(a.minFramerate>T)return Je(r,`min framerate of ${a.minFramerate} > maximum of ${T}`),t;if(!y.some((e=>a.videoRanges[e]>0)))return Je(r,`no variants with VIDEO-RANGE of ${Xe(y)} found`),t;if(c&&r.indexOf(c.substring(0,4))%5!=0)return Je(r,`video codec preference "${c}" not found`),t;if(a.maxScore=Ae(t)||a.fragmentError>e[t].fragmentError)?t:(g=a.minIndex,v=a.maxScore,r)}),void 0),videoRanges:y,preferHDR:b,minFramerate:p,minBitrate:m,minIndex:g}}(a,T,e,E,M),{codecSet:o,videoRanges:s,minFramerate:l,minBitrate:c,minIndex:u,preferHDR:d}=i;S=u,I=o,T=d?s[s.length-1]:s[0],w=l,e=Math.max(e,c),this.log(`picked start tier ${Xe(i)}`)}else I=null==y?void 0:y.codecSet,T=null==y?void 0:y.videoRange;const P=f?f.duration:h?h.duration:0,A=this.bwEstimator.getEstimateTTFB()/1e3,x=[];for(let l=n;l>=t;l--){var B;const t=p[l],h=l>d;if(!t)continue;if(v.useMediaCapabilities&&!t.supportedResult&&!t.supportedPromise){const n=navigator.mediaCapabilities;"function"==typeof(null==n?void 0:n.decodingInfo)&&(He(t,k,T,w,e,E)||ge(t.videoCodec))?(t.supportedPromise=Ve(t,k,n),t.supportedPromise.then((e=>{if(!this.hls)return;t.supportedResult=e;const n=this.hls.levels,r=n.indexOf(t);e.error?this.warn(`MediaCapabilities decodingInfo error: "${e.error}" for level ${r} ${Xe(e)}`):e.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${r} ${Xe(e)}`),r>-1&&n.length>1&&(this.log(`Removing unsupported level ${r}`),this.hls.removeLevel(r),-1===this.hls.loadLevel&&(this.hls.nextLoadLevel=0)))}))):t.supportedResult=Fe}if((I&&t.codecSet!==I||T&&t.videoRange!==T||h&&w>t.frameRate||!h&&w>0&&w=2*P&&0===i?t.averageBitrate:t.maxBitrate,O=this.getTimeToLoadFrag(A,M,L*y,void 0===m);if(M>=L&&(l===u||0===t.loadError&&0===t.fragmentError)&&(O<=A||!r(O)||b&&!this.bitrateTestDelay||O${l} adjustedbw(${Math.round(M)})-bitrate=${Math.round(M-L)} ttfb:${A.toFixed(1)} avgDuration:${y.toFixed(1)} maxFetchDuration:${c.toFixed(1)} fetchDuration:${O.toFixed(1)} firstSelection:${_} codecSet:${t.codecSet} videoRange:${t.videoRange} hls.loadLevel:${g}`)),_&&(this.firstSelection=l),l}}return-1}set nextAutoLevel(e){const t=this.deriveNextAutoLevel(e);this._nextAutoLevel!==t&&(this.nextAutoLevelKey="",this._nextAutoLevel=t)}deriveNextAutoLevel(e){const{maxAutoLevel:t,minAutoLevel:n}=this.hls;return Math.min(Math.max(e,n),t)}}const ot=function(e,t){let n=0,r=e.length-1,a=null,i=null;for(;n<=r;){a=(n+r)/2|0,i=e[a];const o=t(i);if(o>0)n=a+1;else{if(!(o<0))return i;r=a-1}}return null};function st(e,t,n=0,r=0,a=.005){let i=null;if(e){i=t[1+e.sn-t[0].sn]||null;const r=e.endDTS-n;r>0&&r<15e-7&&(n+=15e-7),i&&e.level!==i.level&&i.end<=e.end&&(i=t[2+e.sn-t[0].sn]||null)}else 0===n&&0===t[0].start&&(i=t[0]);if(i&&((!e||e.level===i.level)&&0===lt(n,r,i)||function(e,t,n){if(t&&0===t.start&&t.level0){const r=t.tagList.reduce(((e,t)=>("INF"===t[0]&&(e+=parseFloat(t[1])),e)),n);return e.start<=r}return!1}(i,e,Math.min(a,r))))return i;const o=ot(t,lt.bind(null,n,r));return!o||o===e&&i?i:o}function lt(e=0,t=0,n){if(n.start<=e&&n.start+n.duration>e)return 0;const r=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-r<=e?1:n.start-r>e&&n.start?-1:0}function ct(e,t,n){const r=1e3*Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return(n.endProgramDateTime||0)-r>e}function ut(e,t){return ot(e,(e=>e.cct?-1:0))}function dt(e){switch(e.details){case s.FRAG_LOAD_TIMEOUT:case s.KEY_LOAD_TIMEOUT:case s.LEVEL_LOAD_TIMEOUT:case s.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function ht(e,t){const n=dt(t);return e.default[(n?"timeout":"error")+"Retry"]}function ft(e,t){const n="linear"===e.backoff?1:Math.pow(2,t);return Math.min(n*e.retryDelayMs,e.maxRetryDelayMs)}function pt(e){return b(b({},e),{errorRetry:null,timeoutRetry:null})}function mt(e,t,n,r){if(!e)return!1;const a=null==r?void 0:r.code,i=t499)}(a)||!!n);return e.shouldRetry?e.shouldRetry(e,t,n,r,i):i}var gt={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},vt={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class yt extends _{constructor(e){super("error-controller",e.logger),this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.hls=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(l.ERROR,this.onError,this),e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(l.ERROR,this.onError,this),e.off(l.ERROR,this.onErrorOut,this),e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(e){}stopLoad(){this.playlistError=0}getVariantLevelIndex(e){return(null==e?void 0:e.type)===f.MAIN?e.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(e,t){var n;if(t.fatal)return;const r=this.hls,a=t.context;switch(t.details){case s.FRAG_LOAD_ERROR:case s.FRAG_LOAD_TIMEOUT:case s.KEY_LOAD_ERROR:case s.KEY_LOAD_TIMEOUT:return void(t.errorAction=this.getFragRetryOrSwitchAction(t));case s.FRAG_PARSING_ERROR:if(null!=(n=t.frag)&&n.gap)return void(t.errorAction=bt());case s.FRAG_GAP:case s.FRAG_DECRYPT_ERROR:return t.errorAction=this.getFragRetryOrSwitchAction(t),void(t.errorAction.action=gt.SendAlternateToPenaltyBox);case s.LEVEL_EMPTY_ERROR:case s.LEVEL_PARSING_ERROR:{var i,l;const e=t.parent===f.MAIN?t.level:r.loadLevel;t.details===s.LEVEL_EMPTY_ERROR&&null!=(i=t.context)&&null!=(l=i.levelDetails)&&l.live?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,e):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,e))}return;case s.LEVEL_LOAD_ERROR:case s.LEVEL_LOAD_TIMEOUT:return void("number"==typeof(null==a?void 0:a.level)&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,a.level)));case s.AUDIO_TRACK_LOAD_ERROR:case s.AUDIO_TRACK_LOAD_TIMEOUT:case s.SUBTITLE_LOAD_ERROR:case s.SUBTITLE_TRACK_LOAD_TIMEOUT:if(a){const e=r.loadLevelObj;if(e&&(a.type===d&&e.hasAudioGroup(a.groupId)||a.type===h&&e.hasSubtitleGroup(a.groupId)))return t.errorAction=this.getPlaylistRetryOrSwitchAction(t,r.loadLevel),t.errorAction.action=gt.SendAlternateToPenaltyBox,void(t.errorAction.flags=vt.MoveAllAlternatesMatchingHost)}return;case s.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const e=r.loadLevelObj,n=null==e?void 0:e.attrs["HDCP-LEVEL"];n?t.errorAction={action:gt.SendAlternateToPenaltyBox,flags:vt.MoveAllAlternatesMatchingHDCP,hdcpLevel:n}:this.keySystemError(t)}return;case s.BUFFER_ADD_CODEC_ERROR:case s.REMUX_ALLOC_ERROR:case s.BUFFER_APPEND_ERROR:var c;if(!t.errorAction)t.errorAction=this.getLevelSwitchAction(t,null!=(c=t.level)?c:r.loadLevel);return;case s.INTERNAL_EXCEPTION:case s.BUFFER_APPENDING_ERROR:case s.BUFFER_FULL_ERROR:case s.LEVEL_SWITCH_ERROR:case s.BUFFER_STALLED_ERROR:case s.BUFFER_SEEK_OVER_HOLE:case s.BUFFER_NUDGE_ON_STALL:return void(t.errorAction=bt())}t.type===o.KEY_SYSTEM_ERROR&&this.keySystemError(t)}keySystemError(e){const t=this.getVariantLevelIndex(e.frag);e.levelRetry=!1,e.errorAction=this.getLevelSwitchAction(e,t)}getPlaylistRetryOrSwitchAction(e,t){const n=ht(this.hls.config.playlistLoadPolicy,e),r=this.playlistError++;if(mt(n,r,dt(e),e.response))return{action:gt.RetryRequest,flags:vt.None,retryConfig:n,retryCount:r};const a=this.getLevelSwitchAction(e,t);return n&&(a.retryConfig=n,a.retryCount=r),a}getFragRetryOrSwitchAction(e){const t=this.hls,n=this.getVariantLevelIndex(e.frag),r=t.levels[n],{fragLoadPolicy:a,keyLoadPolicy:i}=t.config,o=ht(e.details.startsWith("key")?i:a,e),l=t.levels.reduce(((e,t)=>e+t.fragmentError),0);if(r){e.details!==s.FRAG_GAP&&r.fragmentError++;if(mt(o,l,dt(e),e.response))return{action:gt.RetryRequest,flags:vt.None,retryConfig:o,retryCount:l}}const c=this.getLevelSwitchAction(e,n);return o&&(c.retryConfig=o,c.retryCount=l),c}getLevelSwitchAction(e,t){const n=this.hls;null==t&&(t=n.loadLevel);const r=this.hls.levels[t];if(r){var a,i;const t=e.details;r.loadError++,t===s.BUFFER_APPEND_ERROR&&r.fragmentError++;let c=-1;const{levels:u,loadLevel:p,minAutoLevel:m,maxAutoLevel:g}=n;n.autoLevelEnabled||(n.loadLevel=-1);const v=null==(a=e.frag)?void 0:a.type,y=(v===f.AUDIO&&t===s.FRAG_PARSING_ERROR||"audio"===e.sourceBufferName&&(t===s.BUFFER_ADD_CODEC_ERROR||t===s.BUFFER_APPEND_ERROR))&&u.some((({audioCodec:e})=>r.audioCodec!==e)),b="video"===e.sourceBufferName&&(t===s.BUFFER_ADD_CODEC_ERROR||t===s.BUFFER_APPEND_ERROR)&&u.some((({codecSet:e,audioCodec:t})=>r.codecSet!==e&&r.audioCodec===t)),{type:_,groupId:I}=null!=(i=e.context)?i:{};for(let n=u.length;n--;){const a=(n+p)%u.length;if(a!==p&&a>=m&&a<=g&&0===u[a].loadError){var o,l;const n=u[a];if(t===s.FRAG_GAP&&v===f.MAIN&&e.frag){const t=u[a].details;if(t){const n=st(e.frag,t.fragments,e.frag.start);if(null!=n&&n.gap)continue}}else{if(_===d&&n.hasAudioGroup(I)||_===h&&n.hasSubtitleGroup(I))continue;if(v===f.AUDIO&&null!=(o=r.audioGroups)&&o.some((e=>n.hasAudioGroup(e)))||v===f.SUBTITLE&&null!=(l=r.subtitleGroups)&&l.some((e=>n.hasSubtitleGroup(e)))||y&&r.audioCodec===n.audioCodec||!y&&r.audioCodec!==n.audioCodec||b&&r.codecSet===n.codecSet)continue}c=a;break}}if(c>-1&&n.loadLevel!==c)return e.levelRetry=!0,this.playlistError=0,{action:gt.SendAlternateToPenaltyBox,flags:vt.None,nextAutoLevel:c}}return{action:gt.SendAlternateToPenaltyBox,flags:vt.MoveAllAlternatesMatchingHost}}onErrorOut(e,t){var n;switch(null==(n=t.errorAction)?void 0:n.action){case gt.DoNothing:break;case gt.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(t),t.errorAction.resolved||t.details===s.FRAG_GAP?/MediaSource readyState: ended/.test(t.error.message)&&(this.warn(`MediaSource ended after "${t.sourceBufferName}" sourceBuffer append error. Attempting to recover from media error.`),this.hls.recoverMediaError()):t.fatal=!0;case gt.RetryRequest:}t.fatal&&this.hls.stopLoad()}sendAlternateToPenaltyBox(e){const t=this.hls,n=e.errorAction;if(!n)return;const{flags:r,hdcpLevel:a,nextAutoLevel:i}=n;switch(r){case vt.None:this.switchLevel(e,i);break;case vt.MoveAllAlternatesMatchingHDCP:a&&(t.maxHdcpLevel=Ye[Ye.indexOf(a)-1],n.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`)}n.resolved||this.switchLevel(e,i)}switchLevel(e,t){if(void 0!==t&&e.errorAction&&(this.warn(`switching to level ${t} after ${e.details}`),this.hls.nextAutoLevel=t,e.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel,e.details===s.BUFFER_ADD_CODEC_ERROR&&e.mimeType&&"audiovideo"!==e.sourceBufferName)){const t=Re(e.mimeType),n=this.hls.levels;for(let r=n.length;r--;)n[r][`${e.sourceBufferName}Codec`]===t&&this.hls.removeLevel(r)}}}function bt(e){const t={action:gt.DoNothing,flags:vt.None};return e&&(t.resolved=!0),t}var _t="NOT_LOADED",It="APPENDING",Tt="PARTIAL",wt="OK";class Et{constructor(e){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=e,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.BUFFER_APPENDED,this.onBufferAppended,this),e.on(l.FRAG_BUFFERED,this.onFragBuffered,this),e.on(l.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:e}=this;e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.BUFFER_APPENDED,this.onBufferAppended,this),e.off(l.FRAG_BUFFERED,this.onFragBuffered,this),e.off(l.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(e,t){const n=this.activePartLists[t];if(n)for(let t=n.length;t--;){const r=n[t];if(!r)break;const a=r.end;if(r.start<=e&&null!==a&&e<=a)return r}return this.getBufferedFrag(e,t)}getBufferedFrag(e,t){return this.getFragAtPos(e,t,!0)}getFragAtPos(e,t,n){const{fragments:r}=this,a=Object.keys(r);for(let i=a.length;i--;){const o=r[a[i]];if((null==o?void 0:o.body.type)===t&&(!n||o.buffered)){const t=o.body;if(t.start<=e&&e<=t.end)return t}}return null}detectEvictedFragments(e,t,n,r,a){this.timeRanges&&(this.timeRanges[e]=t);const i=(null==r?void 0:r.fragment.sn)||-1;Object.keys(this.fragments).forEach((r=>{const o=this.fragments[r];if(!o)return;if(i>=o.body.sn)return;if(!o.buffered&&(!o.loaded||a))return void(o.body.type===n&&this.removeFragment(o.body));const s=o.range[e];s&&(0!==s.time.length?s.time.some((e=>{const n=!this.isTimeBuffered(e.startPTS,e.endPTS,t);return n&&this.removeFragment(o.body),n})):this.removeFragment(o.body))}))}detectPartialFragments(e){const t=this.timeRanges;if(!t||"initSegment"===e.frag.sn)return;const n=e.frag,r=kt(n),a=this.fragments[r];if(!a||a.buffered&&n.gap)return;const i=!n.relurl;if(Object.keys(t).forEach((r=>{const o=n.elementaryStreams[r];if(!o)return;const s=t[r],l=i||!0===o.partial;a.range[r]=this.getBufferedTimes(n,e.part,l,s)})),a.loaded=null,Object.keys(a.range).length){a.buffered=!0;(a.body.endList=n.endList||a.body.endList)&&(this.endListFragments[a.body.type]=a),Mt(a)||this.removeParts(n.sn-1,n.type)}else this.removeFragment(a.body)}removeParts(e,t){const n=this.activePartLists[t];n&&(this.activePartLists[t]=St(n,(t=>t.fragment.sn>=e)))}fragBuffered(e,t){const n=kt(e);let r=this.fragments[n];!r&&t&&(r=this.fragments[n]={body:e,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},e.gap&&(this.hasGaps=!0)),r&&(r.loaded=null,r.buffered=!0)}getBufferedTimes(e,t,n,r){const a={time:[],partial:n},i=e.start,o=e.end,s=e.minEndPTS||o,l=e.maxStartPTS||i;for(let e=0;e=t&&s<=n){a.time.push({startPTS:Math.max(i,r.start(e)),endPTS:Math.min(o,r.end(e))});break}if(it){const t=Math.max(i,r.start(e)),n=Math.min(o,r.end(e));n>t&&(a.partial=!0,a.time.push({startPTS:t,endPTS:n}))}else if(o<=t)break}return a}getPartialFragment(e){let t,n,r,a=null,i=0;const{bufferPadding:o,fragments:s}=this;return Object.keys(s).forEach((l=>{const c=s[l];c&&Mt(c)&&(n=c.body.start-o,r=c.body.end+o,e>=n&&e<=r&&(t=Math.min(e-n,r-e),i<=t&&(a=c.body,i=t)))})),a}isEndListAppended(e){const t=this.endListFragments[e];return void 0!==t&&(t.buffered||Mt(t))}getState(e){const t=kt(e),n=this.fragments[t];return n?n.buffered?Mt(n)?Tt:wt:It:_t}isTimeBuffered(e,t,n){let r,a;for(let i=0;i=r&&t<=a)return!0;if(t<=r)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(e,t){if("initSegment"===t.frag.sn||t.frag.bitrateTest)return;const n=t.frag,r=t.part?null:t,a=kt(n);this.fragments[a]={body:n,appendedPTS:null,loaded:r,buffered:!1,range:Object.create(null)}}onBufferAppended(e,t){const{frag:n,part:r,timeRanges:a,type:i}=t;if("initSegment"===n.sn)return;const o=n.type;if(r){let e=this.activePartLists[o];e||(this.activePartLists[o]=e=[]),e.push(r)}this.timeRanges=a;const s=a[i];this.detectEvictedFragments(i,s,o,r)}onFragBuffered(e,t){this.detectPartialFragments(t)}hasFragment(e){const t=kt(e);return!!this.fragments[t]}hasFragments(e){const{fragments:t}=this,n=Object.keys(t);if(!e)return n.length>0;for(let r=n.length;r--;){const a=t[n[r]];if((null==a?void 0:a.body.type)===e)return!0}return!1}hasParts(e){var t;return!(null==(t=this.activePartLists[e])||!t.length)}removeFragmentsInRange(e,t,n,r,a){r&&!this.hasGaps||Object.keys(this.fragments).forEach((i=>{const o=this.fragments[i];if(!o)return;const s=o.body;s.type!==n||r&&!s.gap||s.starte&&(o.buffered||a)&&this.removeFragment(s)}))}removeFragment(e){const t=kt(e);e.clearElementaryStreamInfo();const n=this.activePartLists[e.type];if(n){const t=e.sn;this.activePartLists[e.type]=St(n,(e=>e.fragment.sn!==t))}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){var e,t;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const n=null==(e=this.hls)||null==(t=e.latestLevelDetails)?void 0:t.partList;n&&n.forEach((e=>e.clearElementaryStreamInfo()))}}function Mt(e){var t,n,r;return e.buffered&&(e.body.gap||(null==(t=e.range.video)?void 0:t.partial)||(null==(n=e.range.audio)?void 0:n.partial)||(null==(r=e.range.audiovideo)?void 0:r.partial))}function kt(e){return`${e.type}_${e.level}_${e.sn}`}function St(e,t){return e.filter((e=>{const n=t(e);return n||e.clearElementaryStreamInfo(),n}))}var Pt=0,At=1;class xt{constructor(e,t,n){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=e,this.aesIV=t,this.aesMode=n}decrypt(e,t){switch(this.aesMode){case Pt:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e);case At:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},t,e);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}class Bt{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(e){const t=new DataView(e),n=new Uint32Array(4);for(let e=0;e<4;e++)n[e]=t.getUint32(4*e);return n}initTable(){const e=this.sBox,t=this.invSBox,n=this.subMix,r=n[0],a=n[1],i=n[2],o=n[3],s=this.invSubMix,l=s[0],c=s[1],u=s[2],d=s[3],h=new Uint32Array(256);let f=0,p=0,m=0;for(m=0;m<256;m++)h[m]=m<128?m<<1:m<<1^283;for(m=0;m<256;m++){let n=p^p<<1^p<<2^p<<3^p<<4;n=n>>>8^255&n^99,e[f]=n,t[n]=f;const s=h[f],m=h[s],g=h[m];let v=257*h[n]^16843008*n;r[f]=v<<24|v>>>8,a[f]=v<<16|v>>>16,i[f]=v<<8|v>>>24,o[f]=v,v=16843009*g^65537*m^257*s^16843008*f,l[n]=v<<24|v>>>8,c[n]=v<<16|v>>>16,u[n]=v<<8|v>>>24,d[n]=v,f?(f=s^h[h[h[g^s]]],p^=h[h[p]]):f=p=1}}expandKey(e){const t=this.uint8ArrayToUint32Array_(e);let n=!0,r=0;for(;r{const o=ArrayBuffer.isView(e)?e:new Uint8Array(e);this.softwareDecrypt(o,t,n,r);const s=this.flush();s?a(s.buffer):i(new Error("[softwareDecrypt] Failed to decrypt data"))})):this.webCryptoDecrypt(new Uint8Array(e),t,n,r)}softwareDecrypt(e,t,n,r){const{currentIV:a,currentResult:i,remainderData:o}=this;if(r!==Pt||16!==t.byteLength)return k.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),o&&(e=pe(o,e),this.remainderData=null);const s=this.getValidChunk(e);if(!s.length)return null;a&&(n=a);let l=this.softwareDecrypter;l||(l=this.softwareDecrypter=new Bt),l.expandKey(t);const c=i;return this.currentResult=l.decrypt(s.buffer,0,n),this.currentIV=s.slice(-16).buffer,c||null}webCryptoDecrypt(e,t,n,r){if(this.key!==t||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(e,t,n,r));this.key=t,this.fastAesKey=new Lt(this.subtle,t,r)}return this.fastAesKey.expandKey().then((t=>{if(!this.subtle)return Promise.reject(new Error("web crypto not initialized"));this.logOnce("WebCrypto AES decrypt");return new xt(this.subtle,new Uint8Array(n),r).decrypt(e.buffer,t)})).catch((a=>(k.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${a.name}: ${a.message}`),this.onWebCryptoError(e,t,n,r))))}onWebCryptoError(e,t,n,r){const a=this.enableSoftwareAES;if(a){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(e,t,n,r);const a=this.flush();if(a)return a.buffer}throw new Error("WebCrypto"+(a?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(e){let t=e;const n=e.length-e.length%16;return n!==e.length&&(t=e.slice(0,n),this.remainderData=e.slice(n)),t}logOnce(e){this.logEnabled&&(k.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const Ct=Math.pow(2,17);class Dt{constructor(e){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=e}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(e,t){const n=e.url;if(!n)return Promise.reject(new zt({type:o.NETWORK_ERROR,details:s.FRAG_LOAD_ERROR,fatal:!1,frag:e,error:new Error("Fragment does not have a "+(n?"part list":"url")),networkDetails:null}));this.abort();const r=this.config,a=r.fLoader,i=r.loader;return new Promise(((l,c)=>{if(this.loader&&this.loader.destroy(),e.gap){if(e.tagList.some((e=>"GAP"===e[0])))return void c(Ft(e));e.gap=!1}const u=this.loader=a?new a(r):new i(r),d=Rt(e);e.loader=u;const h=pt(r.fragLoadPolicy.default),f={loadPolicy:h,timeout:h.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:"initSegment"===e.sn?1/0:Ct};e.stats=u.stats;const p={onSuccess:(t,n,r,a)=>{this.resetLoader(e,u);let i=t.data;r.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(i.slice(0,16)),i=i.slice(16)),l({frag:e,part:null,payload:i,networkDetails:a})},onError:(t,r,a,i)=>{this.resetLoader(e,u),c(new zt({type:o.NETWORK_ERROR,details:s.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:b({url:n,data:void 0},t),error:new Error(`HTTP Error ${t.code} ${t.text}`),networkDetails:a,stats:i}))},onAbort:(t,n,r)=>{this.resetLoader(e,u),c(new zt({type:o.NETWORK_ERROR,details:s.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:r,stats:t}))},onTimeout:(t,n,r)=>{this.resetLoader(e,u),c(new zt({type:o.NETWORK_ERROR,details:s.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${f.timeout}ms`),networkDetails:r,stats:t}))}};t&&(p.onProgress=(n,r,a,i)=>t({frag:e,part:null,payload:a,networkDetails:i})),u.load(d,f,p)}))}loadPart(e,t,n){this.abort();const r=this.config,a=r.fLoader,i=r.loader;return new Promise(((l,c)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap)return void c(Ft(e,t));const u=this.loader=a?new a(r):new i(r),d=Rt(e,t);e.loader=u;const h=pt(r.fragLoadPolicy.default),f={loadPolicy:h,timeout:h.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Ct};t.stats=u.stats,u.load(d,f,{onSuccess:(r,a,i,o)=>{this.resetLoader(e,u),this.updateStatsFromPart(e,t);const s={frag:e,part:t,payload:r.data,networkDetails:o};n(s),l(s)},onError:(n,r,a,i)=>{this.resetLoader(e,u),c(new zt({type:o.NETWORK_ERROR,details:s.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:b({url:d.url,data:void 0},n),error:new Error(`HTTP Error ${n.code} ${n.text}`),networkDetails:a,stats:i}))},onAbort:(n,r,a)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,u),c(new zt({type:o.NETWORK_ERROR,details:s.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:a,stats:n}))},onTimeout:(n,r,a)=>{this.resetLoader(e,u),c(new zt({type:o.NETWORK_ERROR,details:s.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${f.timeout}ms`),networkDetails:a,stats:n}))}})}))}updateStatsFromPart(e,t){const n=e.stats,r=t.stats,a=r.total;if(n.loaded+=r.loaded,a){const r=Math.round(e.duration/t.duration),i=Math.min(Math.round(n.loaded/a),r),o=(r-i)*Math.round(n.loaded/i);n.total=n.loaded+o}else n.total=Math.max(n.loaded,n.total);const i=n.loading,o=r.loading;i.start?i.first+=o.first-o.start:(i.start=o.start,i.first=o.first),i.end=o.end}resetLoader(e,t){e.loader=null,this.loader===t&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),t.destroy()}}function Rt(e,t=null){const n=t||e,a={frag:e,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},i=n.byteRangeStartOffset,o=n.byteRangeEndOffset;if(r(i)&&r(o)){var s;let t=i,n=o;if("initSegment"===e.sn&&("AES-128"===(l=null==(s=e.decryptdata)?void 0:s.method)||"AES-256"===l)){const e=o-i;e%16&&(n=o+(16-e%16)),0!==i&&(a.resetIV=!0,t=i-16)}a.rangeStart=t,a.rangeEnd=n}var l;return a}function Ft(e,t){const n=new Error(`GAP ${e.gap?"tag":"attribute"} found`),r={type:o.MEDIA_ERROR,details:s.FRAG_GAP,fatal:!1,frag:e,error:n,networkDetails:null};return t&&(r.part=t),(t||e).stats.aborted=!0,new zt(r)}class zt extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class Nt extends _{constructor(e,t){super(e,t),this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}destroy(){this.onHandlerDestroying(),this.onHandlerDestroyed()}onHandlerDestroying(){this.clearNextTick(),this.clearInterval()}onHandlerDestroyed(){}hasInterval(){return!!this._tickInterval}hasNextTick(){return!!this._tickTimer}setInterval(e){return!this._tickInterval&&(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,e),!0)}clearInterval(){return!!this._tickInterval&&(self.clearInterval(this._tickInterval),this._tickInterval=null,!0)}clearNextTick(){return!!this._tickTimer&&(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0)}tick(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)}tickImmediate(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)}doTick(){}}class Ht{constructor(e,t,n,r=0,a=-1,i=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing={start:0,executeStart:0,executeEnd:0,end:0},this.buffering={audio:{start:0,executeStart:0,executeEnd:0,end:0},video:{start:0,executeStart:0,executeEnd:0,end:0},audiovideo:{start:0,executeStart:0,executeEnd:0,end:0}},this.level=e,this.sn=t,this.id=n,this.size=r,this.part=a,this.partial=i}}const Vt={length:0,start:()=>0,end:()=>0};class Yt{static isBuffered(e,t){if(e){const n=Yt.getBuffered(e);for(let e=n.length;e--;)if(t>=n.start(e)&&t<=n.end(e))return!0}return!1}static bufferedRanges(e){if(e){const t=Yt.getBuffered(e);return Yt.timeRangesToArray(t)}return[]}static timeRangesToArray(e){const t=[];for(let n=0;n1&&e.sort(((e,t)=>e.start-t.start||t.end-e.end));let r=-1,a=[];if(n)for(let i=0;i=e[i].start&&t<=e[i].end&&(r=i);const o=a.length;if(o){const t=a[o-1].end;e[i].start-tt&&(a[o-1].end=e[i].end):a.push(e[i])}else a.push(e[i])}else a=e;let i,o=0,s=t,l=t;for(let e=0;e=c&&t<=u&&(r=e),t+n>=c&&t{const r=t.substring(2,t.length-1),a=null==n?void 0:n[r];return void 0===a?(e.playlistParsingError||(e.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${r}"`)),t):a}))}return t}function Gt(e,t,n){let r,a,i=e.variableList;if(i||(e.variableList=i={}),"QUERYPARAM"in t){r=t.QUERYPARAM;try{const e=new self.URL(n).searchParams;if(!e.has(r))throw new Error(`"${r}" does not match any query parameter in URI: "${n}"`);a=e.get(r)}catch(t){e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${t.message}`))}}else r=t.NAME,a=t.VALUE;r in i?e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${r}"`)):i[r]=a||""}function Wt(e,t,n){const r=t.IMPORT;if(n&&r in n){let t=e.variableList;t||(e.variableList=t={}),t[r]=n[r]}else e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${r}"`))}const qt=/^(\d+)x(\d+)$/,Kt=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Xt{constructor(e,t){"string"==typeof e&&(e=Xt.parseAttrList(e,t)),v(this,e)}get clientAttrs(){return Object.keys(this).filter((e=>"X-"===e.substring(0,2)))}decimalInteger(e){const t=parseInt(this[e],10);return t>Number.MAX_SAFE_INTEGER?1/0:t}hexadecimalInteger(e){if(this[e]){let t=(this[e]||"0x").slice(2);t=(1&t.length?"0":"")+t;const n=new Uint8Array(t.length/2);for(let e=0;eNumber.MAX_SAFE_INTEGER?1/0:t}decimalFloatingPoint(e){return parseFloat(this[e])}optionalFloat(e,t){const n=this[e];return n?parseFloat(n):t}enumeratedString(e){return this[e]}enumeratedStringList(e,t){const n=this[e];return(n?n.split(/[ ,]+/):[]).reduce(((e,t)=>(e[t.toLowerCase()]=!0,e)),t)}bool(e){return"YES"===this[e]}decimalResolution(e){const t=qt.exec(this[e]);if(null!==t)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}static parseAttrList(e,t){let n;const r={};for(Kt.lastIndex=0;null!==(n=Kt.exec(e));){const a=n[1].trim();let i=n[2];const o=0===i.indexOf('"')&&i.lastIndexOf('"')===i.length-1;let s=!1;if(o)i=i.slice(1,-1);else switch(a){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":s=!0}if(t&&(o||s))i=$t(t,i);else if(!s&&!o)switch(a){case"CLOSED-CAPTIONS":if("NONE"===i)break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":k.warn(`${e}: attribute ${a} is missing quotes`)}r[a]=i}return r}}function Jt(e){return"SCTE35-OUT"===e||"SCTE35-IN"===e||"SCTE35-CMD"===e}class Zt{constructor(e,t,n=0){var a;if(this.attr=void 0,this.tagAnchor=void 0,this.tagOrder=void 0,this._startDate=void 0,this._endDate=void 0,this._dateAtEnd=void 0,this._cue=void 0,this._badValueForSameId=void 0,this.tagAnchor=(null==t?void 0:t.tagAnchor)||null,this.tagOrder=null!=(a=null==t?void 0:t.tagOrder)?a:n,t){const n=t.attr;for(const t in n)if(Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==n[t]){k.warn(`DATERANGE tag attribute: "${t}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=t;break}e=v(new Xt({}),n,e)}if(this.attr=e,t?(this._startDate=t._startDate,this._cue=t._cue,this._endDate=t._endDate,this._dateAtEnd=t._dateAtEnd):this._startDate=new Date(e["START-DATE"]),"END-DATE"in this.attr){const e=(null==t?void 0:t.endDate)||new Date(this.attr["END-DATE"]);r(e.getTime())&&(this._endDate=e)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const e=this._cue;return void 0===e?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):e}get startTime(){const{tagAnchor:e}=this;return null===e||null===e.programDateTime?(k.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${e}`),NaN):e.start+(this.startDate.getTime()-e.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const e=this._endDate||this._dateAtEnd;if(e)return e;const t=this.duration;return null!==t?this._dateAtEnd=new Date(this._startDate.getTime()+1e3*t):null}get duration(){if("DURATION"in this.attr){const e=this.attr.decimalFloatingPoint("DURATION");if(r(e))return e}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return"com.apple.hls.interstitial"===this.class}get isValid(){return!!this.id&&!this._badValueForSameId&&r(this.startDate.getTime())&&(null===this.duration||this.duration>=0)&&(!this.endOnNext||!!this.class)&&(!this.attr.CUE||!this.cue.pre&&!this.cue.post||this.cue.pre!==this.cue.post)&&(!this.isInterstitial||"X-ASSET-URI"in this.attr||"X-ASSET-LIST"in this.attr)}}class Qt{constructor(e){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.dateRangeTagCount=0,this.live=!0,this.requestScheduled=-1,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.appliedTimelineOffset=void 0,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=e}reloaded(e){if(!e)return this.advanced=!0,void(this.updated=!0);const t=this.lastPartSn-e.lastPartSn,n=this.lastPartIndex-e.lastPartIndex;this.updated=this.endSN!==e.endSN||!!n||!!t||!this.live,this.advanced=this.endSN>e.endSN||t>0||0===t&&n>0,this.updated||this.advanced?this.misses=Math.floor(.6*e.misses):this.misses=e.misses+1}get hasProgramDateTime(){return!!this.fragments.length&&r(this.fragments[this.fragments.length-1].programDateTime)}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||10}get drift(){const e=this.driftEndTime-this.driftStartTime;if(e>0){return 1e3*(this.driftEnd-this.driftStart)/e}return 1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var e;return null!=(e=this.fragments)&&e.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){var e;return null!=(e=this.fragments)&&e.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const e=this.partList;if(e){const t=this.lastPartIndex;if(-1!==t){for(let n=e.length;n--;)if(e[n].index>t)return e[n].index;return t}}return 0}get lastPartSn(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const e=this.partEnd-this.fragmentStart;return this.age>Math.max(e,this.totalduration)+this.levelTargetDuration}return!1}}function en(e){return"AES-128"===e||"AES-256"===e||"AES-256-CTR"===e}function tn(e){switch(e){case"AES-128":case"AES-256":return Pt;case"AES-256-CTR":return At;default:throw new Error(`invalid full segment method ${e}`)}}function nn(e){return Uint8Array.from(atob(e),(e=>e.charCodeAt(0)))}function rn(e){return Uint8Array.from(unescape(encodeURIComponent(e)),(e=>e.charCodeAt(0)))}function an(e){const t=e.split(":");let n=null;if("data"===t[0]&&2===t.length){const e=t[1].split(";"),r=e[e.length-1].split(",");if(2===r.length){const t="base64"===r[0],a=r[1];t?(e.splice(-1,1),n=nn(a)):n=function(e){const t=rn(e).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}(a)}}return n}const on="undefined"!=typeof self?self:void 0;var sn={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},ln={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function cn(e){switch(e){case ln.FAIRPLAY:return sn.FAIRPLAY;case ln.PLAYREADY:return sn.PLAYREADY;case ln.WIDEVINE:return sn.WIDEVINE;case ln.CLEARKEY:return sn.CLEARKEY}}var un="1077efecc0b24d02ace33c1e52e2fb4b",dn="e2719d58a985b3c9781ab030af78d30e",hn="9a04f07998404286ab92e65be0885f95",fn="edef8ba979d64acea3c827dcd51d21ed";function pn(e){return e===fn?sn.WIDEVINE:e===hn?sn.PLAYREADY:e===un||e===dn?sn.CLEARKEY:void 0}function mn(e){switch(e){case sn.FAIRPLAY:return ln.FAIRPLAY;case sn.PLAYREADY:return ln.PLAYREADY;case sn.WIDEVINE:return ln.WIDEVINE;case sn.CLEARKEY:return ln.CLEARKEY}}function gn(e){const{drmSystems:t,widevineLicenseUrl:n}=e,r=t?[sn.FAIRPLAY,sn.WIDEVINE,sn.PLAYREADY,sn.CLEARKEY].filter((e=>!!t[e])):[];return!r[sn.WIDEVINE]&&n&&r.push(sn.WIDEVINE),r}const vn=null!=on&&null!=(yn=on.navigator)&&yn.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null;var yn;function bn(e){const t=new Uint16Array(e.buffer,e.byteOffset,e.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),r=n.substring(n.indexOf("<"),n.length),a=(new DOMParser).parseFromString(r,"text/xml").getElementsByTagName("KID")[0];if(a){const e=a.childNodes[0]?a.childNodes[0].nodeValue:a.getAttribute("VALUE");if(e){const t=nn(e).subarray(0,16);return function(e){const t=function(e,t,n){const r=e[t];e[t]=e[n],e[n]=r};t(e,0,3),t(e,1,2),t(e,4,5),t(e,6,7)}(t),t}}return null}let _n={};class In{static clearKeyUriToKeyIdMap(){_n={}}constructor(e,t,n,r=[1],a=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=e,this.uri=t,this.keyFormat=n,this.keyFormatVersions=r,this.iv=a,this.encrypted=!!e&&"NONE"!==e,this.isCommonEncryption=this.encrypted&&!en(e)}isSupported(){if(this.method){if(en(this.method)||"NONE"===this.method)return!0;if("identity"===this.keyFormat)return"SAMPLE-AES"===this.method;switch(this.keyFormat){case ln.FAIRPLAY:case ln.WIDEVINE:case ln.PLAYREADY:case ln.CLEARKEY:return-1!==["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)}}return!1}getDecryptData(e){if(!this.encrypted||!this.uri)return null;if(en(this.method)&&this.uri&&!this.iv){"number"!=typeof e&&(k.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0);const t=function(e){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=e>>8*(15-n)&255;return t}(e);return new In(this.method,this.uri,"identity",this.keyFormatVersions,t)}const t=an(this.uri);if(t)switch(this.keyFormat){case ln.WIDEVINE:this.pssh=t,t.length>=22&&(this.keyId=t.subarray(t.length-22,t.length-6));break;case ln.PLAYREADY:{const e=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=_e(e,0,t),this.keyId=bn(t);break}default:{let e=t.subarray(0,16);if(16!==e.length){const t=new Uint8Array(16);t.set(e,16-e.length),e=t}this.keyId=e;break}}if(!this.keyId||16!==this.keyId.byteLength){let e=_n[this.uri];if(!e){const t=Object.keys(_n).length%Number.MAX_SAFE_INTEGER;e=new Uint8Array(16);new DataView(e.buffer,12,4).setUint32(0,t),_n[this.uri]=e}this.keyId=e}return this}}const Tn=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,wn=/#EXT-X-MEDIA:(.*)/g,En=/^#EXT(?:INF|-X-TARGETDURATION):/m,Mn=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),kn=new RegExp([/#EXT-X-(PROGRAM-DATE-TIME|BYTERANGE|DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class Sn{static findGroup(e,t){for(let n=0;n0&&r.length({id:e.attrs.AUDIO,audioCodec:e.audioCodec}))),SUBTITLES:i.map((e=>({id:e.attrs.SUBTITLES,textCodec:e.textCodec}))),"CLOSED-CAPTIONS":[]};let s=0;for(wn.lastIndex=0;null!==(r=wn.exec(e));){const e=new Xt(r[1],n),i=e.TYPE;if(i){const n=o[i],r=a[i]||[];a[i]=r;const l=e.LANGUAGE,c=e["ASSOC-LANGUAGE"],u=e.CHANNELS,d=e.CHARACTERISTICS,h=e["INSTREAM-ID"],f={attrs:e,bitrate:0,id:s++,groupId:e["GROUP-ID"]||"",name:e.NAME||l||"",type:i,default:e.bool("DEFAULT"),autoselect:e.bool("AUTOSELECT"),forced:e.bool("FORCED"),lang:l,url:e.URI?Sn.resolve(e.URI,t):""};if(c&&(f.assocLang=c),u&&(f.channels=u),d&&(f.characteristics=d),h&&(f.instreamId=h),null!=n&&n.length){const e=Sn.findGroup(n,f.groupId)||n[0];On(f,e,"audioCodec"),On(f,e,"textCodec")}r.push(f)}}return a}static parseLevelPlaylist(e,t,n,a,i,o){var s;const l={url:t},c=new Qt(t),u=c.fragments,d=[];let h,f,p,m,g=null,y=0,b=0,_=0,I=0,T=0,w=null,E=new G(a,l),M=-1,S=!1,P=null;if(Mn.lastIndex=0,c.m3u8=e,c.hasVariableRefs=Ut(e),"#EXTM3U"!==(null==(s=Mn.exec(e))?void 0:s[0]))return c.playlistParsingError=new Error("Missing format identifier #EXTM3U"),c;for(;null!==(h=Mn.exec(e));){S&&(S=!1,E=new G(a,l),E.playlistOffset=_,E.start=_,E.sn=y,E.cc=I,T&&(E.bitrate=T),E.level=n,g&&(E.initSegment=g,g.rawProgramDateTime&&(E.rawProgramDateTime=g.rawProgramDateTime,g.rawProgramDateTime=null),P&&(E.setByteRange(P),P=null)));const e=h[1];if(e){E.duration=parseFloat(e);const t=(" "+h[2]).slice(1);E.title=t||null,E.tagList.push(t?["INF",e,t]:["INF",e])}else if(h[3]){if(r(E.duration)){E.playlistOffset=_,E.start=_,p&&Rn(E,p,c),E.sn=y,E.level=n,E.cc=I,u.push(E);const e=(" "+h[3]).slice(1);E.relurl=$t(c,e),Cn(E,w,d),w=E,_+=E.duration,y++,b=0,S=!0}}else{if(h=h[0].match(kn),!h){k.warn("No matches on slow regex match for level playlist!");continue}for(f=1;f0&&zn(c,e,h),y=c.startSN=parseInt(i);break;case"SKIP":{c.skippedSegments&&Fn(c,e,h);const t=new Xt(i,c),n=t.decimalInteger("SKIPPED-SEGMENTS");if(r(n)){c.skippedSegments+=n;for(let e=n;e--;)u.push(null);y+=n}const a=t.enumeratedString("RECENTLY-REMOVED-DATERANGES");a&&(c.recentlyRemovedDateranges=(c.recentlyRemovedDateranges||[]).concat(a.split("\t")));break}case"TARGETDURATION":0!==c.targetduration&&Fn(c,e,h),c.targetduration=Math.max(parseInt(i),1);break;case"VERSION":null!==c.version&&Fn(c,e,h),c.version=parseInt(i);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":c.live||Fn(c,e,h),c.live=!1;break;case"#":(i||s)&&E.tagList.push(s?[i,s]:[i]);break;case"DISCONTINUITY":I++,E.tagList.push(["DIS"]);break;case"GAP":E.gap=!0,E.tagList.push([e]);break;case"BITRATE":E.tagList.push([e,i]),T=1e3*parseInt(i),r(T)?E.bitrate=T:T=0;break;case"DATERANGE":{const e=new Xt(i,c),t=new Zt(e,c.dateRanges[e.ID],c.dateRangeTagCount);c.dateRangeTagCount++,t.isValid||c.skippedSegments?c.dateRanges[t.id]=t:k.warn(`Ignoring invalid DATERANGE tag: "${i}"`),E.tagList.push(["EXT-X-DATERANGE",i]);break}case"DEFINE":{const e=new Xt(i,c);"IMPORT"in e?Wt(c,e,o):Gt(c,e,t)}break;case"DISCONTINUITY-SEQUENCE":0!==c.startCC?Fn(c,e,h):u.length>0&&zn(c,e,h),c.startCC=I=parseInt(i);break;case"KEY":{const e=xn(i,t,c);if(e.isSupported()){if("NONE"===e.method){p=void 0;break}p||(p={}),p[e.keyFormat]&&(p=v({},p)),p[e.keyFormat]=e}else k.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${i}"`);break}case"START":c.startTimeOffset=Bn(i);break;case"MAP":{const e=new Xt(i,c);if(E.duration){const t=new G(a,l);Dn(t,e,n,p),g=t,E.initSegment=g,g.rawProgramDateTime&&!E.rawProgramDateTime&&(E.rawProgramDateTime=g.rawProgramDateTime)}else{const t=E.byteRangeEndOffset;if(t){const e=E.byteRangeStartOffset;P=`${t-e}@${e}`}else P=null;Dn(E,e,n,p),g=E,S=!0}g.cc=I;break}case"SERVER-CONTROL":m&&Fn(c,e,h),m=new Xt(i),c.canBlockReload=m.bool("CAN-BLOCK-RELOAD"),c.canSkipUntil=m.optionalFloat("CAN-SKIP-UNTIL",0),c.canSkipDateRanges=c.canSkipUntil>0&&m.bool("CAN-SKIP-DATERANGES"),c.partHoldBack=m.optionalFloat("PART-HOLD-BACK",0),c.holdBack=m.optionalFloat("HOLD-BACK",0);break;case"PART-INF":{c.partTarget&&Fn(c,e,h);const t=new Xt(i);c.partTarget=t.decimalFloatingPoint("PART-TARGET");break}case"PART":{let e=c.partList;e||(e=c.partList=[]);const t=b>0?e[e.length-1]:void 0,n=b++,r=new Xt(i,c),a=new W(r,E,l,n,t);e.push(a),E.duration+=a.duration;break}case"PRELOAD-HINT":{const e=new Xt(i,c);c.preloadHint=e;break}case"RENDITION-REPORT":{const e=new Xt(i,c);c.renditionReports=c.renditionReports||[],c.renditionReports.push(e);break}default:k.warn(`line parsed but not handled: ${h}`)}}}w&&!w.relurl?(u.pop(),_-=w.duration,c.partList&&(c.fragmentHint=w)):c.partList&&(Cn(E,w,d),E.cc=I,c.fragmentHint=E,p&&Rn(E,p,c)),c.targetduration||(c.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const A=u.length,x=u[0],B=u[A-1];if(_+=c.skippedSegments*c.targetduration,_>0&&A&&B){c.averagetargetduration=_/A;const e=B.sn;c.endSN="initSegment"!==e?e:0,c.live||(B.endList=!0),x&&void 0===c.startCC&&(c.startCC=x.cc),M>0&&(!function(e,t){let n=e[t];for(let r=t;r--;){const t=e[r];if(!t)return;t.programDateTime=n.programDateTime-1e3*t.duration,n=t}}(u,M),x&&d.unshift(x))}else c.endSN=0,c.startCC=0;return c.fragmentHint&&(_+=c.fragmentHint.duration),c.totalduration=_,d.length&&c.dateRangeTagCount&&x&&Pn(d,c),c.endCC=I,c}}function Pn(e,t){const n=e.length,r=e[n-1],a=t.live?1/0:t.totalduration,i=Object.keys(t.dateRanges);for(let o=i.length;o--;){const s=t.dateRanges[i[o]],l=s.startDate.getTime();s.tagAnchor=r.ref;for(let r=n;r--;){const n=An(t,l,e,r,a);if(-1!==n){s.tagAnchor=t.fragments[n].ref;break}}}}function An(e,t,n,r,a){const i=n[r];if(i){const s=i.programDateTime;if(t>=s||0===r){var o;if(t<=s+1e3*(((null==(o=n[r+1])?void 0:o.start)||a)-i.start)){const a=n[r].sn-e.startSN,i=e.fragments;if(i.length>n.length){for(let o=(n[r+1]||i[i.length-1]).sn-e.startSN;o>a;o--){const e=i[o].programDateTime;if(t>=e&&te));["video","audio","text"].forEach((e=>{const r=n.filter((t=>Ee(t,e)));r.length&&(t[`${e}Codec`]=r.map((e=>e.split("/")[0])).join(","),n=n.filter((e=>-1===r.indexOf(e))))})),t.unknownCodecs=n}function On(e,t,n){const r=t[n];r&&(e[n]=r)}function Cn(e,t,n){e.rawProgramDateTime?n.push(e):null!=t&&t.programDateTime&&(e.programDateTime=t.endProgramDateTime)}function Dn(e,t,n,r){e.relurl=t.URI,t.BYTERANGE&&e.setByteRange(t.BYTERANGE),e.level=n,e.sn="initSegment",r&&(e.levelkeys=r),e.initSegment=null}function Rn(e,t,n){e.levelkeys=t;const{encryptedFragments:r}=n;r.length&&r[r.length-1].levelkeys===t||!Object.keys(t).some((e=>t[e].isCommonEncryption))||r.push(e)}function Fn(e,t,n){e.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function zn(e,t,n){e.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function Nn(e,t){const n=t.startPTS;if(r(n)){let r,a=0;t.sn>e.sn?(a=n-e.start,r=e):(a=e.start-n,r=t),r.duration!==a&&r.setDuration(a)}else if(t.sn>e.sn){e.cc===t.cc&&e.minEndPTS?t.setStart(e.start+(e.minEndPTS-e.start)):t.setStart(e.start+e.duration)}else t.setStart(Math.max(e.start-t.duration,0))}function Hn(e,t,n,a,i,o){a-n<=0&&(k.warn("Fragment should have a positive duration",t),a=n+t.duration,o=i+t.duration);let s=n,l=a;const c=t.startPTS,u=t.endPTS;if(r(c)){const e=Math.abs(c-n);r(t.deltaPTS)?t.deltaPTS=Math.max(e,t.deltaPTS):t.deltaPTS=e,s=Math.max(n,c),n=Math.min(n,c),i=Math.min(i,t.startDTS),l=Math.min(a,u),a=Math.max(a,u),o=Math.max(o,t.endDTS)}const d=n-t.start;0!==t.start&&t.setStart(n),t.setDuration(a-t.start),t.startPTS=n,t.maxStartPTS=s,t.startDTS=i,t.endPTS=a,t.minEndPTS=l,t.endDTS=o;const h=t.sn;if(!e||he.endSN)return 0;let f;const p=h-e.startSN,m=e.fragments;for(m[p]=t,f=p;f>0;f--)Nn(m[f],m[f-1]);for(f=p;f=0;e--){const t=a[e].initSegment;if(t){n=t;break}}let i;e.fragmentHint&&delete e.fragmentHint.endPTS,function(e,t,n){const r=t.skippedSegments,a=Math.max(e.startSN,t.startSN)-t.startSN,i=(e.fragmentHint?1:0)+(r?t.endSN:Math.min(e.endSN,t.endSN))-t.startSN,o=t.startSN-e.startSN,s=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,l=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments;for(let c=a;c<=i;c++){const a=l[o+c];let i=s[c];if(r&&!i&&a&&(i=t.fragments[c]=a),a&&i){if(n(a,i,c,s),a.url&&a.url!==i.url)return void(t.playlistParsingError=Yn(`media sequence mismatch ${i.sn}:`,e,t,a,i));if(a.cc!==i.cc)return void(t.playlistParsingError=Yn(`discontinuity sequence mismatch (${a.cc}!=${i.cc})`,e,t,a,i))}}}(e,t,((a,o,s,l)=>{if(!t.startCC&&o.cc!==a.cc){var c,u;const n=a.cc-o.cc;for(let e=s;e{var t;!e||e.initSegment&&e.initSegment.relurl!==(null==(t=n)?void 0:t.relurl)||(e.initSegment=n)})),t.skippedSegments)if(t.deltaUpdateFailed=o.some((e=>!e)),t.deltaUpdateFailed){k.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let e=t.skippedSegments;e--;)o.shift();t.startSN=o[0].sn}else{t.endCC=o[o.length-1].cc,t.canSkipDateRanges&&(t.dateRanges=function(e,t){const{dateRanges:n,recentlyRemovedDateranges:r}=t,a=v({},e);r&&r.forEach((e=>{delete a[e]}));const i=Object.keys(a).length;i&&Object.keys(n).forEach((e=>{const t=a[e],r=new Zt(n[e].attr,t);r.isValid?(a[e]=r,t||(r.tagOrder+=i)):k.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${Xe(n[e].attr)}"`)}));return a}(e.dateRanges,t));const n=e.fragments.filter((e=>e.rawProgramDateTime));if(e.hasProgramDateTime&&!t.hasProgramDateTime)for(let e=1;e{t.elementaryStreams=e.elementaryStreams,t.stats=e.stats})),i?Hn(t,i,i.startPTS,i.endPTS,i.startDTS,i.endDTS):jn(e,t),o.length&&(t.totalduration=t.edge-o[0].start),t.driftStartTime=e.driftStartTime,t.driftStart=e.driftStart;const l=t.advancedDateTime;if(t.advanced&&l){const e=t.edge;t.driftStart||(t.driftStartTime=l,t.driftStart=e),t.driftEndTime=l,t.driftEnd=e}else t.driftEndTime=e.driftEndTime,t.driftEnd=e.driftEnd,t.advancedDateTime=e.advancedDateTime;-1===t.requestScheduled&&(t.requestScheduled=e.requestScheduled)}function Yn(e,t,n,r,a){return new Error(`${e} ${a.url}\nPlaylist starting @${t.startSN}\n${t.m3u8}\n\nPlaylist starting @${n.startSN}\n${n.m3u8}`)}function jn(e,t,n=!0){const r=t.startSN+t.skippedSegments-e.startSN,a=e.fragments,i=r>=0;let o=0;if(i&&rt){const e=1e3*r[r.length-1].duration;e{var n;null==(n=e.details)||n.fragments.forEach((e=>{e.level=t,e.initSegment&&(e.initSegment.level=t)}))}))}function Xn(e,t){for(let r=0,a=e.length;re.startCC)}(t,e))return;const n=Math.min(t.endCC,e.endCC),r=Xn(t.fragments,n),a=Xn(e.fragments,n);if(!r||!a)return;k.log(`Aligning playlist at start of dicontinuity sequence ${n}`);Zn(r.start-a.start,e)}function er(e,t){if(!e.hasProgramDateTime||!t.hasProgramDateTime)return;const n=e.fragments,r=t.fragments;if(!n.length||!r.length)return;let a,i;const o=Math.min(t.endCC,e.endCC);t.startCC{const{config:e,fragCurrent:t,media:n,mediaBuffer:a,state:i}=this,o=n?n.currentTime:0,s=Yt.bufferInfo(a||n,o,e.maxBufferHole);if(this.log(`media seeking to ${r(o)?o.toFixed(3):o}, state: ${i}`),this.state===ur)this.resetLoadingState();else if(t){const n=e.maxFragLookUpTolerance,r=t.start-n,a=t.start+t.duration+n;if(!s.len||as.end){const e=o>a;(othis.lastCurrentTime&&(this.lastCurrentTime=o),!this.loadingParts){const e=Math.max(s.end,o),t=this.shouldLoadParts(this.getLevelDetails(),e);t&&(this.log(`LL-Part loading ON after seeking to ${o.toFixed(2)} with buffer @${e.toFixed(2)}`),this.loadingParts=t)}}this.hls.hasEnoughToStart||s.len||(this.log(`setting startPosition to ${o} because of seek before start`),this.nextLoadPosition=this.startPosition=o),this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=i,this.hls=e,this.fragmentLoader=new Dt(e.config),this.keyLoader=n,this.fragmentTracker=t,this.config=e.config,this.decrypter=new Ot(e.config)}registerListeners(){const{hls:e}=this;e.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(l.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(l.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){if(this.state===nr)return;this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const e=this.fragCurrent;null!=e&&e.loader&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=nr}get startPositionValue(){const{nextLoadPosition:e,startPosition:t}=this;return-1===t&&e?e:t}get bufferingEnabled(){return this.buffering}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}get inFlightFrag(){return{frag:this.fragCurrent,state:this.state}}_streamEnded(e,t){if(t.live||!this.media)return!1;const n=e.end||0,r=this.config.timelineOffset||0;if(n<=r)return!1;const a=e.nextStart;if(a&&a>r&&a{const t=e.frag;if(this.fragContextChanged(t))return this.warn(`${t.type} sn: ${t.sn}${e.part?" part: "+e.part.index:""} of ${this.fragInfo(t,!1,e.part)}) was dropped during download.`),void this.fragmentTracker.removeFragment(t);t.stats.chunkCount++,this._handleFragmentLoadProgress(e)})).then((e=>{if(!e)return;const t=this.state,n=e.frag;this.fragContextChanged(n)?(t===ir||!this.fragCurrent&&t===lr)&&(this.fragmentTracker.removeFragment(n),this.state=rr):("payload"in e&&(this.log(`Loaded ${n.type} sn: ${n.sn} of ${this.playlistLabel()} ${n.level}`),this.hls.trigger(l.FRAG_LOADED,e)),this._handleFragmentLoadComplete(e))})).catch((t=>{this.state!==nr&&this.state!==dr&&(this.warn(`Frag error: ${(null==t?void 0:t.message)||t}`),this.resetFragmentLoading(e))}))}clearTrackerIfNeeded(e){var t;const{fragmentTracker:n}=this;if(n.getState(e)===It){const t=e.type,r=this.getFwdBufferInfo(this.mediaBuffer,t),a=Math.max(e.duration,r?r.len:this.config.maxBufferLength),i=this.backtrackFragment;(1===(i?e.sn-i.sn:0)||this.reduceMaxBufferLength(a,e.duration))&&n.removeFragment(e)}else 0===(null==(t=this.mediaBuffer)?void 0:t.buffered.length)?n.removeAllFragments():n.hasParts(e.type)&&(n.detectPartialFragments({frag:e,part:null,stats:e.stats,id:e.type}),n.getState(e)===Tt&&n.removeFragment(e))}checkLiveUpdate(e){if(e.updated&&!e.live){const t=e.fragments[e.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type})}e.fragments[0]||(e.deltaUpdateFailed=!0)}waitForLive(e){const t=e.details;return(null==t?void 0:t.live)&&"EVENT"!==t.type&&(this.levelLastLoaded!==e||t.expired)}flushMainBuffer(e,t,n=null){if(!(e-t))return;const r={startOffset:e,endOffset:t,type:n};this.hls.trigger(l.BUFFER_FLUSHING,r)}_loadInitSegment(e,t){this._doFragLoad(e,t).then((e=>{const t=null==e?void 0:e.frag;if(!t||this.fragContextChanged(t)||!this.levels)throw new Error("init load aborted");return e})).then((e=>{const{hls:t}=this,{frag:n,payload:r}=e,a=n.decryptdata;if(r&&r.byteLength>0&&null!=a&&a.key&&a.iv&&en(a.method)){const i=self.performance.now();return this.decrypter.decrypt(new Uint8Array(r),a.key.buffer,a.iv.buffer,tn(a.method)).catch((e=>{throw t.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.FRAG_DECRYPT_ERROR,fatal:!1,error:e,reason:e.message,frag:n}),e})).then((r=>{const a=self.performance.now();return t.trigger(l.FRAG_DECRYPTED,{frag:n,payload:r,stats:{tstart:i,tdecrypt:a}}),e.payload=r,this.completeInitSegmentLoad(e)}))}return this.completeInitSegmentLoad(e)})).catch((t=>{this.state!==nr&&this.state!==dr&&(this.warn(t),this.resetFragmentLoading(e))}))}completeInitSegmentLoad(e){const{levels:t}=this;if(!t)throw new Error("init load aborted, missing levels");const n=e.frag.stats;this.state!==nr&&(this.state=rr),e.frag.data=new Uint8Array(e.payload),n.parsing.start=n.buffering.start=self.performance.now(),n.parsing.end=n.buffering.end=self.performance.now(),this.tick()}fragContextChanged(e){const{fragCurrent:t}=this;return!e||!t||e.sn!==t.sn||e.level!==t.level}fragBufferedComplete(e,t){const n=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)} > buffer:${n?tr(Yt.getBuffered(n)):"(detached)"})`),$(e)){var r;if(e.type!==f.SUBTITLE){const t=e.elementaryStreams;if(!Object.keys(t).some((e=>!!t[e])))return void(this.state=rr)}const t=null==(r=this.levels)?void 0:r[e.level];null!=t&&t.fragmentError&&(this.log(`Resetting level fragment error count of ${t.fragmentError} on frag buffered`),t.fragmentError=0)}this.state=rr}_handleFragmentLoadComplete(e){const{transmuxer:t}=this;if(!t)return;const{frag:n,part:r,partsLoaded:a}=e,i=!a||0===a.length||a.some((e=>!e)),o=new Ht(n.level,n.sn,n.stats.chunkCount+1,0,r?r.index:-1,!i);t.flush(o)}_handleFragmentLoadProgress(e){}_doFragLoad(e,t,n=null,a){var i;this.fragCurrent=e;const o=null==t?void 0:t.details;if(!this.levels||!o)throw new Error(`frag load aborted, missing level${o?"":" detail"}s`);let s=null;!e.encrypted||null!=(i=e.decryptdata)&&i.key?!e.encrypted&&o.encryptedFragments.length&&this.keyLoader.loadClear(e,o.encryptedFragments):(this.log(`Loading key for ${e.sn} of [${o.startSN}-${o.endSN}], ${this.playlistLabel()} ${e.level}`),this.state=ar,this.fragCurrent=e,s=this.keyLoader.load(e).then((e=>{if(!this.fragContextChanged(e.frag))return this.hls.trigger(l.KEY_LOADED,e),this.state===ar&&(this.state=rr),e})),this.hls.trigger(l.KEY_LOADING,{frag:e}),null===this.fragCurrent&&(s=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING"))));const c=this.fragPrevious;if($(e)&&(!c||e.sn!==c.sn)){const n=this.shouldLoadParts(t.details,e.end);n!==this.loadingParts&&(this.log(`LL-Part loading ${n?"ON":"OFF"} loading sn ${null==c?void 0:c.sn}->${e.sn}`),this.loadingParts=n)}if(n=Math.max(e.start,n||0),this.loadingParts&&$(e)){const r=o.partList;if(r&&a){n>e.end&&o.fragmentHint&&(e=o.fragmentHint);const i=this.getNextPart(r,e,n);if(i>-1){const c=r[i];let u;return e=this.fragCurrent=c.fragment,this.log(`Loading ${e.type} sn: ${e.sn} part: ${c.index} (${i}/${r.length-1}) of ${this.fragInfo(e,!1,c)}) cc: ${e.cc} [${o.startSN}-${o.endSN}], target: ${parseFloat(n.toFixed(3))}`),this.nextLoadPosition=c.start+c.duration,this.state=ir,u=s?s.then((n=>!n||this.fragContextChanged(n.frag)?null:this.doFragPartsLoad(e,c,t,a))).catch((e=>this.handleFragLoadError(e))):this.doFragPartsLoad(e,c,t,a).catch((e=>this.handleFragLoadError(e))),this.hls.trigger(l.FRAG_LOADING,{frag:e,part:c,targetBufferTime:n}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):u}if(!e.url||this.loadedEndOfParts(r,n))return Promise.resolve(null)}}if($(e)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${n.toFixed(2)}`),this.loadingParts=!1;else if(!e.url)return Promise.resolve(null);this.log(`Loading ${e.type} sn: ${e.sn} of ${this.fragInfo(e,!1)}) cc: ${e.cc} ${o?"["+o.startSN+"-"+o.endSN+"]":""}, target: ${parseFloat(n.toFixed(3))}`),r(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=ir;const u=this.config.progressive;let d;return d=u&&s?s.then((t=>!t||this.fragContextChanged(null==t?void 0:t.frag)?null:this.fragmentLoader.load(e,a))).catch((e=>this.handleFragLoadError(e))):Promise.all([this.fragmentLoader.load(e,u?a:void 0),s]).then((([e])=>(!u&&e&&a&&a(e),e))).catch((e=>this.handleFragLoadError(e))),this.hls.trigger(l.FRAG_LOADING,{frag:e,targetBufferTime:n}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):d}doFragPartsLoad(e,t,n,r){return new Promise(((a,i)=>{var o;const s=[],c=null==(o=n.details)?void 0:o.partList,u=t=>{this.fragmentLoader.loadPart(e,t,r).then((r=>{s[t.index]=r;const i=r.part;this.hls.trigger(l.FRAG_LOADED,r);const o=Wn(n.details,e.sn,t.index+1)||qn(c,e.sn,t.index+1);if(!o)return a({frag:e,part:i,partsLoaded:s});u(o)})).catch(i)};u(t)}))}handleFragLoadError(e){if("data"in e){const t=e.data;e.data&&t.details===s.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):this.hls.trigger(l.ERROR,t)}else this.hls.trigger(l.ERROR,{type:o.OTHER_ERROR,details:s.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==lr)return void(this.fragCurrent||this.state===nr||this.state===dr||(this.state=rr));const{frag:n,part:r,level:a}=t,i=self.performance.now();n.stats.parsing.end=i,r&&(r.stats.parsing.end=i);const o=this.getLevelDetails(),s=o&&n.sn>o.endSN||this.shouldLoadParts(o,n.end);s!==this.loadingParts&&(this.log(`LL-Part loading ${s?"ON":"OFF"} after parsing segment ending @${n.end.toFixed(2)}`),this.loadingParts=s),this.updateLevelTiming(n,r,a,e.partial)}shouldLoadParts(e,t){if(this.config.lowLatencyMode){if(!e)return this.loadingParts;if(null!=e&&e.partList){var n;const a=e.partList[0];if(t>=a.end+((null==(n=e.fragmentHint)?void 0:n.duration)||0)){var r;if((this.hls.hasEnoughToStart?(null==(r=this.media)?void 0:r.currentTime)||this.lastCurrentTime:this.getLoadPosition())>a.start-a.fragment.duration)return!0}}}return!1}getCurrentContext(e){const{levels:t,fragCurrent:n}=this,{level:r,sn:a,part:i}=e;if(null==t||!t[r])return this.warn(`Levels object was unset while buffering fragment ${a} of ${this.playlistLabel()} ${r}. The current chunk will not be buffered.`),null;const o=t[r],s=o.details,l=i>-1?Wn(s,a,i):null,c=l?l.fragment:Gn(s,a,n);return c?(n&&n!==c&&(c.stats=n.stats),{frag:c,part:l,level:o}):null}bufferFragmentData(e,t,n,r,a){var i;if(!e||this.state!==lr)return;const{data1:o,data2:s}=e;let c=o;if(o&&s&&(c=pe(o,s)),null==(i=c)||!i.length)return;const u={type:e.type,frag:t,part:n,chunkMeta:r,parent:t.type,data:c};if(this.hls.trigger(l.BUFFER_APPENDING,u),e.dropped&&e.independent&&!n){if(a)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!Yt.isBuffered(t,t.currentTime))return void this.flushMainBuffer(0,e.start);const n=t.currentTime,r=Yt.bufferInfo(t,n,0),a=e.duration,i=Math.min(2*this.config.maxFragLookUpTolerance,.25*a),o=Math.max(Math.min(e.start-i,r.end-i),n+i);e.start-o>i&&this.flushMainBuffer(o,e.start)}getFwdBufferInfo(e,t){var n;const a=this.getLoadPosition();if(!r(a))return null;const i=this.lastCurrentTime>a||null!=(n=this.media)&&n.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(e,a,t,i)}getFwdBufferInfoAtPos(e,t,n,r){const a=Yt.bufferInfo(e,t,r);if(0===a.len&&void 0!==a.nextStart){const i=this.fragmentTracker.getBufferedFrag(t,n);if(i&&(a.nextStart<=i.end||i.gap)){const n=Math.max(Math.min(a.nextStart,i.end)-t,r);return Yt.bufferInfo(e,t,n)}}return a}getMaxBufferLength(e){const{config:t}=this;let n;return n=e?Math.max(8*t.maxBufferSize/e,t.maxBufferLength):t.maxBufferLength,Math.min(n,t.maxMaxBufferLength)}reduceMaxBufferLength(e,t){const n=this.config,r=Math.max(Math.min(e-t,n.maxBufferLength),t),a=Math.max(e-3*t,n.maxMaxBufferLength/2,r);return a>=r&&(n.maxMaxBufferLength=a,this.warn(`Reduce max buffer length to ${a}s`),!0)}getAppendedFrag(e,t=f.MAIN){var n;const r=null==(n=this.fragmentTracker)?void 0:n.getAppendedFrag(e,t);return r&&"fragment"in r?r.fragment:r}getNextFragment(e,t){const n=t.fragments,r=n.length;if(!r)return null;const{config:a}=this,i=n[0].start,o=a.lowLatencyMode&&!!t.partList;let s=null;if(t.live){const c=a.initialLiveManifestSize;if(r=i?r:a)||s.start:e;this.log(`Setting startPosition to ${c} to match start frag at live edge. mainStart: ${r} liveSyncPosition: ${a} frag.start: ${null==(l=s)?void 0:l.start}`),this.startPosition=this.nextLoadPosition=c}}else e<=i&&(s=n[0]);if(!s){const n=this.loadingParts?t.partEnd:t.fragmentEnd;s=this.getFragmentAtPosition(e,n,t)}let c=this.filterReplacedPrimary(s,t);if(!c&&s){const e=s.sn-t.startSN;c=this.filterReplacedPrimary(n[e+1]||null,t)}return this.mapToInitFragWhenRequired(c)}isLoopLoading(e,t){const n=this.fragmentTracker.getState(e);return(n===wt||n===Tt&&!!e.gap)&&this.nextLoadPosition>t}getNextFragmentLoopLoading(e,t,n,r,a){let i=null;if(e.gap&&(i=this.getNextFragment(this.nextLoadPosition,t),i&&!i.gap&&n.nextStart)){const e=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,n.nextStart,r,0);if(null!==e&&n.len+e.len>=a){const e=i.sn;return this.loopSn!==e&&(this.log(`buffer full after gaps in "${r}" playlist starting at sn: ${e}`),this.loopSn=e),null}}return this.loopSn=void 0,i}get primaryPrefetch(){if(mr(this.hls.config)){var e,t;if(null==(e=this.hls.interstitialsManager)||null==(t=e.playingItem)?void 0:t.event)return!0}return!1}filterReplacedPrimary(e,t){if(!e)return e;if(mr(this.hls.config)&&e.type!==f.SUBTITLE){const n=this.hls.interstitialsManager,r=null==n?void 0:n.bufferingItem;if(r){const n=r.event;if(n){if(n.appendInPlace||Math.abs(e.start-r.start)>1||0===r.start)return null}else{if(e.end<=r.start&&!1===(null==t?void 0:t.live))return null;if(e.start>r.end&&r.nextEvent&&(r.nextEvent.appendInPlace||e.start-r.end>1))return null}}const a=null==n?void 0:n.playerQueue;if(a)for(let t=a.length;t--;){const n=a[t].interstitial;if(n.appendInPlace&&e.start>=n.startTime&&e.end<=n.resumeTime)return null}}return e}mapToInitFragWhenRequired(e){return null==e||!e.initSegment||null!=e&&e.initSegment.data||this.bitrateTest?e:e.initSegment}getNextPart(e,t,n){let r=-1,a=!1,i=!0;for(let o=0,s=e.length;o-1&&nn.start&&n.loaded}getInitialLiveFragment(e,t){const n=this.fragPrevious;let a=null;if(n){if(e.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${n.programDateTime}`),a=function(e,t,n){if(null===t||!Array.isArray(e)||!e.length||!r(t))return null;if(t<(e[0].programDateTime||0))return null;if(t>=(e[e.length-1].endProgramDateTime||0))return null;n=n||0;for(let r=0;r=e.startSN&&r<=e.endSN){const i=t[r-e.startSN];n.cc===i.cc&&(a=i,this.log(`Live playlist, switching playlist, load frag with next SN: ${a.sn}`))}a||(a=ut(t,n.cc),a&&this.log(`Live playlist, switching playlist, load frag with same CC: ${a.sn}`))}}else{const t=this.hls.liveSyncPosition;null!==t&&(a=this.getFragmentAtPosition(t,this.bitrateTest?e.fragmentEnd:e.edge,e))}return a}getFragmentAtPosition(e,t,n){const{config:r}=this;let{fragPrevious:a}=this,{fragments:i,endSN:o}=n;const{fragmentHint:s}=n,{maxFragLookUpTolerance:l}=r,c=n.partList,u=!!(this.loadingParts&&null!=c&&c.length&&s);let d;if(u&&s&&!this.bitrateTest&&c[c.length-1].fragment.sn===s.sn&&(i=i.concat(s),o=s.sn),et-l||null!=(h=this.media)&&h.paused||!this.startFragRequested?0:l)}else d=i[i.length-1];if(d){const e=d.sn-n.startSN,t=this.fragmentTracker.getState(d);if((t===wt||t===Tt&&d.gap)&&(a=d),a&&d.sn===a.sn&&(!u||c[0].fragment.sn>d.sn||!n.live&&!u)){if(a&&d.level===a.level){const t=i[e+1];d=d.sn${e.startSN} fragments: ${a}`),r}return i}waitForCdnTuneIn(e){return e.live&&e.canBlockReload&&e.partTarget&&e.tuneInGoal>Math.max(e.partHoldBack,3*e.partTarget)}setStartPosition(e,t){let n=this.startPosition;n=0&&(n=this.nextLoadPosition),n}handleFragLoadAborted(e,t){this.transmuxer&&e.type===this.playlistType&&$(e)&&e.stats.aborted&&(this.warn(`Fragment ${e.sn}${t?" part "+t.index:""} of ${this.playlistLabel()} ${e.level} was aborted`),this.resetFragmentLoading(e))}resetFragmentLoading(e){this.fragCurrent&&(this.fragContextChanged(e)||this.state===or)||(this.state=rr)}onFragmentOrKeyLoadError(e,t){if(t.chunkMeta&&!t.frag){const e=this.getCurrentContext(t.chunkMeta);e&&(t.frag=e.frag)}const n=t.frag;if(!n||n.type!==e||!this.levels)return;var r;if(this.fragContextChanged(n))return void this.warn(`Frag load error must match current frag to retry ${n.url} > ${null==(r=this.fragCurrent)?void 0:r.url}`);const a=t.details===s.FRAG_GAP;a&&this.fragmentTracker.fragBuffered(n,!0);const i=t.errorAction,{action:o,flags:l,retryCount:c=0,retryConfig:u}=i||{},d=!!i&&!!u,h=d&&o===gt.RetryRequest,f=d&&!i.resolved&&l===vt.MoveAllAlternatesMatchingHost;if(!h&&f&&$(n)&&!n.endList)this.resetFragmentErrors(e),this.treatAsGap(n),i.resolved=!0;else if((h||f)&&c.5;a&&this.reduceMaxBufferLength(r.len,(null==t?void 0:t.duration)||10);const i=!a;return i&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${n} buffer`),t&&(this.fragmentTracker.removeFragment(t),this.nextLoadPosition=t.start),this.resetLoadingState(),i}return!1}resetFragmentErrors(e){e===f.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==nr&&(this.state=rr)}afterBufferFlushed(e,t,n){if(!e)return;const r=Yt.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===ur&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==nr&&(this.state=rr)}resetStartWhenNotLoaded(e){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const t=e?e.details:null;null!=t&&t.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(t,t.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(e){this.warn(`The loading context changed while buffering fragment ${e.sn} of ${this.playlistLabel()} ${e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(e=0){this.fragmentTracker.removeFragmentsInRange(e,1/0,this.playlistType,!1,!0)}updateLevelTiming(e,t,n,r){const a=n.details;if(!a)return void this.warn("level.details undefined");var i;if(!Object.keys(e.elementaryStreams).reduce(((t,i)=>{const o=e.elementaryStreams[i];if(o){const s=o.endPTS-o.startPTS;if(s<=0)return this.warn(`Could not parse fragment ${e.sn} ${i} duration reliably (${s})`),t||!1;const c=r?0:Hn(a,e,o.startPTS,o.endPTS,o.startDTS,o.endDTS);return this.hls.trigger(l.LEVEL_PTS_UPDATED,{details:a,level:n,drift:c,type:i,frag:e,start:o.startPTS,end:o.endPTS}),!0}return t}),!1)&&(0===n.fragmentError&&this.treatAsGap(e,n),null===(null==(i=this.transmuxer)?void 0:i.error))){const t=new Error(`Found no media in fragment ${e.sn} of ${this.playlistLabel()} ${e.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(t.message),this.hls.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.FRAG_PARSING_ERROR,fatal:!1,error:t,frag:e,reason:`Found no media in msn ${e.sn} of ${this.playlistLabel()} "${n.url}"`}),!this.hls)return;this.resetTransmuxer()}this.state=cr,this.log(`Parsed ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)})`),this.hls.trigger(l.FRAG_PARSED,{frag:e,part:t})}playlistLabel(){return this.playlistType===f.MAIN?"level":"track"}fragInfo(e,t=!0,n){var r,a;return`${this.playlistLabel()} ${e.level} (${n?"part":"frag"}:[${(null!=(r=t&&!n?e.startPTS:(n||e).start)?r:NaN).toFixed(3)}-${(null!=(a=t&&!n?e.endPTS:(n||e).end)?a:NaN).toFixed(3)}]${n&&"main"===e.type?"INDEPENDENT="+(n.independent?"YES":"NO"):""}`}treatAsGap(e,t){t&&t.fragmentError++,e.gap=!0,this.fragmentTracker.removeFragment(e),this.fragmentTracker.fragBuffered(e,!0)}resetTransmuxer(){var e;null==(e=this.transmuxer)||e.reset()}recoverWorkerError(e){"demuxerWorker"===e.event&&(this.fragmentTracker.removeAllFragments(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}function mr(e){return!!e.interstitialsController&&!1!==e.enableInterstitialPlayback}class gr{constructor(){this.chunks=[],this.dataLength=0}push(e){this.chunks.push(e),this.dataLength+=e.length}flush(){const{chunks:e,dataLength:t}=this;let n;return e.length?(n=1===e.length?e[0]:function(e,t){const n=new Uint8Array(t);let r=0;for(let t=0;t0)return e.subarray(n,n+r)}function Sr(e,t){return 255===e[t]&&240==(246&e[t+1])}function Pr(e,t){return 1&e[t+1]?7:9}function Ar(e,t){return(3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5}function xr(e,t){return t+1=e.length)return!1;const r=Ar(e,t);if(r<=n)return!1;const a=t+r;return a===e.length||xr(e,a)}return!1}function Lr(e,t,n,r,a){if(!e.samplerate){const i=function(e,t,n,r){const a=t[n+2],i=a>>2&15;if(i>12){const t=new Error(`invalid ADTS sampling index:${i}`);return void e.emit(l.ERROR,l.ERROR,{type:o.MEDIA_ERROR,details:s.FRAG_PARSING_ERROR,fatal:!0,error:t,reason:t.message})}const c=1+(a>>6&3),u=t[n+3]>>6&3|(1&a)<<2,d="mp4a.40."+c,h=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350][i];let f=i;5!==c&&29!==c||(f-=3);const p=[c<<3|(14&f)>>1,(1&f)<<7|u<<3];return k.log(`manifest codec:${r}, parsed codec:${d}, channels:${u}, rate:${h} (ADTS object type:${c} sampling index:${i})`),{config:p,samplerate:h,channelCount:u,codec:d,parsedCodec:d,manifestCodec:r}}(t,n,r,a);if(!i)return;v(e,i)}}function Or(e){return 9216e4/e}function Cr(e,t,n,r,a){const i=r+a*Or(e.samplerate),o=function(e,t){const n=Pr(e,t);if(t+n<=e.length){const r=Ar(e,t)-n;if(r>0)return{headerLength:n,frameLength:r}}}(t,n);let s;if(o){const{frameLength:r,headerLength:a}=o,l=a+r,c=Math.max(0,n+l-t.length);c?(s=new Uint8Array(l-a),s.set(t.subarray(n+a,t.length),0)):s=t.subarray(n+a,n+l);const u={unit:s,pts:i};return c||e.samples.push(u),{sample:u,length:l,missing:c}}const l=t.length-n;s=new Uint8Array(l),s.set(t.subarray(n,t.length),0);return{sample:{unit:s,pts:i},length:l,missing:-1}}function Dr(e,t){return Er(e,t)&&Mr(e,t+6)+10<=e.length-t}function Rr(e,t){if(e<0)return-Rr(-e,t);const n=Math.pow(10,t);if(Math.abs(e*n%1-.5)>6&1&&(t+=10),t+=10;const a=t+r;for(;t+100&&s.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:a,type:$r.audioId3,duration:Number.POSITIVE_INFINITY});i{if(r(e))return 90*e;return 9e4*t+(n?9e4*n.baseTime/n.timescale:0)};let Kr=null;const Xr=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],Jr=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Zr=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Qr=[0,1,1,4];function ea(e,t,n,r,a){if(n+24>t.length)return;const i=ta(t,n);if(i&&n+i.frameLength<=t.length){const o=r+a*(9e4*i.samplesPerFrame/i.sampleRate),s={unit:t.subarray(n,n+i.frameLength),pts:o,dts:o};return e.config=[],e.channelCount=i.channelCount,e.samplerate=i.sampleRate,e.samples.push(s),{sample:s,length:i.frameLength,missing:0}}}function ta(e,t){const n=e[t+1]>>3&3,r=e[t+1]>>1&3,a=e[t+2]>>4&15,i=e[t+2]>>2&3;if(1!==n&&0!==a&&15!==a&&3!==i){const o=e[t+2]>>1&1,s=e[t+3]>>6,l=1e3*Xr[14*(3===n?3-r:3===r?3:4)+a-1],c=Jr[3*(3===n?0:2===n?1:2)+i],u=3===s?1:2,d=Zr[n][r],h=Qr[r],f=8*d*h,p=Math.floor(d*l/c+o)*h;if(null===Kr){const e=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Kr=e?parseInt(e[1]):0}return!!Kr&&Kr<=87&&2===r&&l>=224e3&&0===s&&(e[t+3]=128|e[t+3]),{sampleRate:c,channelCount:u,frameLength:p,samplesPerFrame:f}}}function na(e,t){return!(255!==e[t]||224&~e[t+1]||!(6&e[t+1]))}function ra(e,t){return t+1{let n=0,r=5;t+=r;const a=new Uint32Array(1),i=new Uint32Array(1),o=new Uint8Array(1);for(;r>0;){o[0]=e[t];const s=Math.min(r,8),l=8-s;i[0]=4278190080>>>24+l<>l,n=n?n<t.length)return-1;if(11!==t[n]||119!==t[n+1])return-1;const i=t[n+4]>>6;if(i>=3)return-1;const o=[48e3,44100,32e3][i],s=63&t[n+4],l=2*[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][3*s+i];if(n+l>t.length)return-1;const c=t[n+6]>>5;let u=0;2===c?u+=2:(1&c&&1!==c&&(u+=2),4&c&&(u+=2));const d=(t[n+6]<<8|t[n+7])>>12-u&1,h=[2,1,2,3,3,4,4,5][c]+d,f=t[n+5]>>3,p=7&t[n+5],m=new Uint8Array([i<<6|f<<1|p>>2,(3&p)<<6|c<<3|d<<2|s>>4,s<<4&224]),g=r+a*(1536/o*9e4),v=t.subarray(n,n+l);return e.config=m,e.channelCount=h,e.samplerate=o,e.samples.push({unit:v,pts:g}),l}const la=/\/emsg[-/]ID3/i;function ca(e,t){return r(e.presentationTime)?e.presentationTime/e.timeScale:t+e.presentationTimeDelta/e.timeScale}class ua{constructor(e,t,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new Ot(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer,Pt)}decryptAacSample(e,t,n){const r=e[t].unit;if(r.length<=16)return;const a=r.subarray(16,r.length-r.length%16),i=a.buffer.slice(a.byteOffset,a.byteOffset+a.length);this.decryptBuffer(i).then((a=>{const i=new Uint8Array(a);r.set(i,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,n)}))}decryptAacSamples(e,t,n){for(;;t++){if(t>=e.length)return void n();if(!(e[t].unit.length<32)&&(this.decryptAacSample(e,t,n),!this.decrypter.isSync()))return}}getAvcEncryptedData(e){const t=16*Math.floor((e.length-48)/160)+16,n=new Int8Array(t);let r=0;for(let t=32;t{a.data=this.getAvcDecryptedUnit(i,o),this.decrypter.isSync()||this.decryptAvcSamples(e,t,n+1,r)}))}decryptAvcSamples(e,t,n,r){if(e instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;t++,n=0){if(t>=e.length)return void r();const a=e[t].units;for(;!(n>=a.length);n++){const i=a[n];if(!(i.data.length<=48||1!==i.type&&5!==i.type||(this.decryptAvcSample(e,t,n,r,i),this.decrypter.isSync())))return}}}}class da{constructor(){this.VideoSample=null}createVideoSample(e,t,n){return{key:e,frame:!1,pts:t,dts:n,units:[],length:0}}getLastNalUnit(e){var t;let n,r=this.VideoSample;if(r&&0!==r.units.length||(r=e[e.length-1]),null!=(t=r)&&t.units){const e=r.units;n=e[e.length-1]}return n}pushAccessUnit(e,t){if(e.units.length&&e.frame){if(void 0===e.pts){const n=t.samples,r=n.length;if(!r)return void t.dropped++;{const t=n[r-1];e.pts=t.pts,e.dts=t.dts}}t.samples.push(e)}}parseNALu(e,t,n){const r=t.byteLength;let a=e.naluState||0;const i=a,o=[];let s,l,c,u=0,d=-1,h=0;for(-1===a&&(d=0,h=this.getNALuType(t,0),a=0,u=1);u=0){const e={data:t.subarray(d,l),type:h};o.push(e)}else{const n=this.getLastNalUnit(e.samples);n&&(i&&u<=4-i&&n.state&&(n.data=n.data.subarray(0,n.data.byteLength-i)),l>0&&(n.data=pe(n.data,t.subarray(0,l)),n.state=0))}u=0&&a>=0){const e={data:t.subarray(d,r),type:h,state:a};o.push(e)}if(0===o.length){const n=this.getLastNalUnit(e.samples);n&&(n.data=pe(n.data,t))}return e.naluState=a,o}}class ha{constructor(e){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const e=this.data,t=this.bytesAvailable,n=e.byteLength-t,r=new Uint8Array(4),a=Math.min(4,t);if(0===a)throw new Error("no bytes available");r.set(e.subarray(n,n+a)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=8*a,this.bytesAvailable-=a}skipBits(e){let t;e=Math.min(e,8*this.bytesAvailable+this.bitsAvailable),this.bitsAvailable>e?(this.word<<=e,this.bitsAvailable-=e):(t=(e-=this.bitsAvailable)>>3,e-=t<<3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)}readBits(e){let t=Math.min(this.bitsAvailable,e);const n=this.word>>>32-t;if(e>32&&k.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0)this.word<<=t;else{if(!(this.bytesAvailable>0))throw new Error("no bits available");this.loadWord()}return t=e-t,t>0&&this.bitsAvailable?n<>>e)return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const e=this.skipLZ();return this.readBits(e+1)-1}readEG(){const e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)}readBoolean(){return 1===this.readBits(1)}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class fa extends da{parsePES(e,t,n,r){const a=this.parseNALu(e,n.data,r);let i,o=this.VideoSample,s=!1;n.data=null,o&&a.length&&!e.audFound&&(this.pushAccessUnit(o,e),o=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),a.forEach((r=>{var a,l;switch(r.type){case 1:{let t=!1;i=!0;const a=r.data;if(s&&a.length>4){const e=this.readSliceType(a);2!==e&&4!==e&&7!==e&&9!==e||(t=!0)}var c;if(t)null!=(c=o)&&c.frame&&!o.key&&(this.pushAccessUnit(o,e),o=this.VideoSample=null);o||(o=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),o.frame=!0,o.key=t;break}case 5:i=!0,null!=(a=o)&&a.frame&&!o.key&&(this.pushAccessUnit(o,e),o=this.VideoSample=null),o||(o=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),o.key=!0,o.frame=!0;break;case 6:i=!0,ye(r.data,1,n.pts,t.samples);break;case 7:{var u,d;i=!0,s=!0;const t=r.data,n=this.readSPS(t);if(!e.sps||e.width!==n.width||e.height!==n.height||(null==(u=e.pixelRatio)?void 0:u[0])!==n.pixelRatio[0]||(null==(d=e.pixelRatio)?void 0:d[1])!==n.pixelRatio[1]){e.width=n.width,e.height=n.height,e.pixelRatio=n.pixelRatio,e.sps=[t];const r=t.subarray(1,4);let a="avc1.";for(let e=0;e<3;e++){let t=r[e].toString(16);t.length<2&&(t="0"+t),a+=t}e.codec=a}break}case 8:i=!0,e.pps=[r.data];break;case 9:i=!0,e.audFound=!0,null!=(l=o)&&l.frame&&(this.pushAccessUnit(o,e),o=null),o||(o=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;case 12:i=!0;break;default:i=!1}if(o&&i){o.units.push(r)}})),r&&o&&(this.pushAccessUnit(o,e),this.VideoSample=null)}getNALuType(e,t){return 31&e[t]}readSliceType(e){const t=new ha(e);return t.readUByte(),t.readUEG(),t.readUEG()}skipScalingList(e,t){let n,r=8,a=8;for(let i=0;i{var a,l;switch(r.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:o||(o=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),o.frame=!0,i=!0;break;case 16:case 17:case 18:case 21:var c;if(i=!0,s)null!=(c=o)&&c.frame&&!o.key&&(this.pushAccessUnit(o,e),o=this.VideoSample=null);o||(o=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),o.key=!0,o.frame=!0;break;case 19:case 20:i=!0,null!=(a=o)&&a.frame&&!o.key&&(this.pushAccessUnit(o,e),o=this.VideoSample=null),o||(o=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),o.key=!0,o.frame=!0;break;case 39:i=!0,ye(r.data,2,n.pts,t.samples);break;case 32:i=!0,e.vps||("object"!=typeof e.params&&(e.params={}),e.params=v(e.params,this.readVPS(r.data)),this.initVPS=r.data),e.vps=[r.data];break;case 33:if(i=!0,s=!0,void 0===e.vps||e.vps[0]===this.initVPS||void 0===e.sps||this.matchSPS(e.sps[0],r.data)||(this.initVPS=e.vps[0],e.sps=e.pps=void 0),!e.sps){const t=this.readSPS(r.data);e.width=t.width,e.height=t.height,e.pixelRatio=t.pixelRatio,e.codec=t.codecString,e.sps=[],"object"!=typeof e.params&&(e.params={});for(const n in t.params)e.params[n]=t.params[n]}this.pushParameterSet(e.sps,r.data,e.vps),o||(o=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),o.key=!0;break;case 34:if(i=!0,"object"==typeof e.params){if(!e.pps){e.pps=[];const t=this.readPPS(r.data);for(const n in t)e.params[n]=t[n]}this.pushParameterSet(e.pps,r.data,e.vps)}break;case 35:i=!0,e.audFound=!0,null!=(l=o)&&l.frame&&(this.pushAccessUnit(o,e),o=null),o||(o=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;default:i=!1}if(o&&i){o.units.push(r)}})),r&&o&&(this.pushAccessUnit(o,e),this.VideoSample=null)}pushParameterSet(e,t,n){(n&&n[0]===this.initVPS||!n&&!e.length)&&e.push(t)}getNALuType(e,t){return(126&e[t])>>>1}ebsp2rbsp(e){const t=new Uint8Array(e.byteLength);let n=0;for(let r=0;r=2&&3===e[r]&&0===e[r-1]&&0===e[r-2]||(t[n]=e[r],n++);return new Uint8Array(t.buffer,0,n)}pushAccessUnit(e,t){super.pushAccessUnit(e,t),this.initVPS&&(this.initVPS=null)}readVPS(e){const t=new ha(e);t.readUByte(),t.readUByte(),t.readBits(4),t.skipBits(2),t.readBits(6);return{numTemporalLayers:t.readBits(3)+1,temporalIdNested:t.readBoolean()}}readSPS(e){const t=new ha(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.readBits(4);const n=t.readBits(3);t.readBoolean();const r=t.readBits(2),a=t.readBoolean(),i=t.readBits(5),o=t.readUByte(),s=t.readUByte(),l=t.readUByte(),c=t.readUByte(),u=t.readUByte(),d=t.readUByte(),h=t.readUByte(),f=t.readUByte(),p=t.readUByte(),m=t.readUByte(),g=t.readUByte(),v=[],y=[];for(let e=0;e0)for(let e=n;e<8;e++)t.readBits(2);for(let e=0;e1&&t.readEG();for(let e=0;e0&&e<16?(O=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][e-1],C=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][e-1]):255===e&&(O=t.readBits(16),C=t.readBits(16))}t.readBoolean()&&t.readBoolean();if(t.readBoolean()){t.readBits(3),t.readBoolean();t.readBoolean()&&(t.readUByte(),t.readUByte(),t.readUByte())}t.readBoolean()&&(t.readUEG(),t.readUEG()),t.readBoolean(),t.readBoolean(),t.readBoolean(),z=t.readBoolean(),z&&(w+=t.readUEG(),E+=t.readUEG(),M+=t.readUEG(),k+=t.readUEG());if(t.readBoolean()){R=t.readBits(32),F=t.readBits(32);t.readBoolean()&&t.readUEG();if(t.readBoolean()){const e=t.readBoolean(),r=t.readBoolean();let a=!1;(e||r)&&(a=t.readBoolean(),a&&(t.readUByte(),t.readBits(5),t.readBoolean(),t.readBits(5)),t.readBits(4),t.readBits(4),a&&t.readBits(4),t.readBits(5),t.readBits(5),t.readBits(5));for(let i=0;i<=n;i++){D=t.readBoolean();let n=!1;D||t.readBoolean()?t.readEG():n=t.readBoolean();const i=n?1:t.readUEG()+1;if(e)for(let e=0;e>e&1)<<31-e)>>>0;let U=j.toString(16);1===i&&"2"===U&&(U="6");return{codecString:`hvc1.${V}${i}.${U}.${a?"H":"L"}${g}.B0`,params:{general_tier_flag:a,general_profile_idc:i,general_profile_space:r,general_profile_compatibility_flags:[o,s,l,c],general_constraint_indicator_flags:[u,d,h,f,p,m],general_level_idc:g,bit_depth:S+8,bit_depth_luma_minus8:S,bit_depth_chroma_minus8:P,min_spatial_segmentation_idc:L,chroma_format_idc:b,frame_rate:{fixed:D,fps:F/R}},width:N,height:H,pixelRatio:[O,C]}}readPPS(e){const t=new ha(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.skipUEG(),t.skipUEG(),t.skipBits(2),t.skipBits(3),t.skipBits(2),t.skipUEG(),t.skipUEG(),t.skipEG(),t.skipBits(2);t.readBoolean()&&t.skipUEG(),t.skipEG(),t.skipEG(),t.skipBits(4);const n=t.readBoolean(),r=t.readBoolean();let a=1;return r&&n?a=0:r?a=3:n&&(a=2),{parallelismType:a}}matchSPS(e,t){return String.fromCharCode.apply(null,e).substr(3)===String.fromCharCode.apply(null,t).substr(3)}}const ma=188;class ga{constructor(e,t,n,r){this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._pmtId=-1,this._videoTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.remainderData=null,this.videoParser=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.logger=r,this.videoParser=null}static probe(e,t){const n=ga.syncOffset(e);return n>0&&t.warn(`MPEG2-TS detected but first sync word found @ offset ${n}`),-1!==n}static syncOffset(e){const t=e.length;let n=Math.min(940,t-ma)+1,r=0;for(;r1&&(0===i&&o>2||s+ma>n))return i}r++}return-1}static createTrack(e,t){return{container:"video"===e||"audio"===e?"video/mp2t":void 0,type:e,id:J[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:"audio"===e?t:void 0}}resetInitSegment(e,t,n,r){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=ga.createTrack("video"),this._videoTrack.duration=r,this._audioTrack=ga.createTrack("audio",r),this._id3Track=ga.createTrack("id3"),this._txtTrack=ga.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=t,this.videoCodec=n}resetTimeStamp(){}resetContiguity(){const{_audioTrack:e,_videoTrack:t,_id3Track:n}=this;e&&(e.pesData=null),t&&(t.pesData=null),n&&(n.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(e,t,n=!1,r=!1){let a;n||(this.sampleAes=null);const i=this._videoTrack,o=this._audioTrack,s=this._id3Track,l=this._txtTrack;let c=i.pid,u=i.pesData,d=o.pid,h=s.pid,f=o.pesData,p=s.pesData,m=null,g=this.pmtParsed,v=this._pmtId,y=e.length;if(this.remainderData&&(y=(e=pe(this.remainderData,e)).length,this.remainderData=null),y>4>1){if(_=t+5+e[t+4],_===t+ma)continue}else _=t+4;switch(y){case c:if(r){if(u&&(a=Ta(u,this.logger))){if(null===this.videoParser)switch(i.segmentCodec){case"avc":this.videoParser=new fa;break;case"hevc":this.videoParser=new pa}null!==this.videoParser&&this.videoParser.parsePES(i,l,a,!1)}u={data:[],size:0}}u&&(u.data.push(e.subarray(_,t+ma)),u.size+=t+ma-_);break;case d:if(r){if(f&&(a=Ta(f,this.logger)))switch(o.segmentCodec){case"aac":this.parseAACPES(o,a);break;case"mp3":this.parseMPEGPES(o,a);break;case"ac3":this.parseAC3PES(o,a)}f={data:[],size:0}}f&&(f.data.push(e.subarray(_,t+ma)),f.size+=t+ma-_);break;case h:r&&(p&&(a=Ta(p,this.logger))&&this.parseID3PES(s,a),p={data:[],size:0}),p&&(p.data.push(e.subarray(_,t+ma)),p.size+=t+ma-_);break;case 0:r&&(_+=e[_]+1),v=this._pmtId=ya(e,_);break;case v:{r&&(_+=e[_]+1);const a=ba(e,_,this.typeSupported,n,this.observer,this.logger);c=a.videoPid,c>0&&(i.pid=c,i.segmentCodec=a.segmentVideoCodec),d=a.audioPid,d>0&&(o.pid=d,o.segmentCodec=a.segmentAudioCodec),h=a.id3Pid,h>0&&(s.pid=h),null===m||g||(this.logger.warn(`MPEG-TS PMT found at ${t} after unknown PID '${m}'. Backtracking to sync byte @${b} to parse all TS packets.`),m=null,t=b-188),g=this.pmtParsed=!0;break}case 17:case 8191:break;default:m=y}}else _++;_>0&&_a(this.observer,new Error(`Found ${_} TS packet/s that do not start with 0x47`),void 0,this.logger),i.pesData=u,o.pesData=f,s.pesData=p;const I={audioTrack:o,videoTrack:i,id3Track:s,textTrack:l};return r&&this.extractRemainingSamples(I),I}flush(){const{remainderData:e}=this;let t;return this.remainderData=null,t=e?this.demux(e,-1,!1,!0):{videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t}extractRemainingSamples(e){const{audioTrack:t,videoTrack:n,id3Track:r,textTrack:a}=e,i=n.pesData,o=t.pesData,s=r.pesData;let l;if(i&&(l=Ta(i,this.logger))){if(null===this.videoParser)switch(n.segmentCodec){case"avc":this.videoParser=new fa;break;case"hevc":this.videoParser=new pa}null!==this.videoParser&&(this.videoParser.parsePES(n,a,l,!0),n.pesData=null)}else n.pesData=i;if(o&&(l=Ta(o,this.logger))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,l);break;case"mp3":this.parseMPEGPES(t,l);break;case"ac3":this.parseAC3PES(t,l)}t.pesData=null}else null!=o&&o.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=o;s&&(l=Ta(s,this.logger))?(this.parseID3PES(r,l),r.pesData=null):r.pesData=s}demuxSampleAes(e,t,n){const r=this.demux(e,n,!0,!this.config.progressive),a=this.sampleAes=new ua(this.observer,this.config,t);return this.decrypt(r,a)}decrypt(e,t){return new Promise((n=>{const{audioTrack:r,videoTrack:a}=e;r.samples&&"aac"===r.segmentCodec?t.decryptAacSamples(r.samples,0,(()=>{a.samples?t.decryptAvcSamples(a.samples,0,0,(()=>{n(e)})):n(e)})):a.samples&&t.decryptAvcSamples(a.samples,0,0,(()=>{n(e)}))}))}destroy(){this.observer&&this.observer.removeAllListeners(),this.config=this.logger=this.observer=null,this.aacOverFlow=this.videoParser=this.remainderData=this.sampleAes=null,this._videoTrack=this._audioTrack=this._id3Track=this._txtTrack=void 0}parseAACPES(e,t){let n=0;const r=this.aacOverFlow;let a,i,o,s=t.data;if(r){this.aacOverFlow=null;const t=r.missing,a=r.sample.unit.byteLength;if(-1===t)s=pe(r.sample.unit,s);else{const i=a-t;r.sample.unit.set(s.subarray(0,t),i),e.samples.push(r.sample),n=r.missing}}for(a=n,i=s.length;a0;)s+=i}}parseID3PES(e,t){if(void 0===t.pts)return void this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");const n=v({},t,{type:this._videoTrack?$r.emsg:$r.audioId3,duration:Number.POSITIVE_INFINITY});e.samples.push(n)}}function va(e,t){return((31&e[t+1])<<8)+e[t+2]}function ya(e,t){return(31&e[t+10])<<8|e[t+11]}function ba(e,t,n,r,a,i){const o={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},s=t+3+((15&e[t+1])<<8|e[t+2])-4;for(t+=12+((15&e[t+10])<<8|e[t+11]);t0){let r=t+5,a=l;for(;a>2;){if(106===e[r])!0!==n.ac3?i.log("AC-3 audio found, not supported in this browser for now"):(o.audioPid=s,o.segmentAudioCodec="ac3");const t=e[r+1]+2;r+=t,a-=t}}break;case 194:case 135:return _a(a,new Error("Unsupported EC-3 in M2TS found"),void 0,i),o;case 36:-1===o.videoPid&&(o.videoPid=s,o.segmentVideoCodec="hevc",i.log("HEVC in M2TS found"))}t+=l+5}return o}function _a(e,t,n,r){r.warn(`parsing error: ${t.message}`),e.emit(l.ERROR,l.ERROR,{type:o.MEDIA_ERROR,details:s.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function Ia(e,t){t.log(`${e} with AES-128-CBC encryption found in unencrypted stream`)}function Ta(e,t){let n,r,a,i,o,s=0;const l=e.data;if(!e||0===e.size)return null;for(;l[0].length<19&&l.length>1;)l[0]=pe(l[0],l[1]),l.splice(1,1);n=l[0];if(1===(n[0]<<16)+(n[1]<<8)+n[2]){if(r=(n[4]<<8)+n[5],r&&r>e.size-6)return null;const c=n[7];192&c&&(i=536870912*(14&n[9])+4194304*(255&n[10])+16384*(254&n[11])+128*(255&n[12])+(254&n[13])/2,64&c?(o=536870912*(14&n[14])+4194304*(255&n[15])+16384*(254&n[16])+128*(255&n[17])+(254&n[18])/2,i-o>54e5&&(t.warn(`${Math.round((i-o)/9e4)}s delta between PTS and DTS, align them`),i=o)):o=i),a=n[8];let u=a+9;if(e.size<=u)return null;e.size-=u;const d=new Uint8Array(e.size);for(let e=0,t=l.length;et){u-=t;continue}n=n.subarray(u),t-=u,u=0}d.set(n,s),s+=t}return r&&(r-=a+3),{data:d,pts:i,dts:o,len:r}}return null}class wa{static getSilentFrame(e,t){if("mp4a.40.2"===e){if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===t)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}}}const Ea=Math.pow(2,32)-1;class Ma{static init(){let e;for(e in Ma.types={avc1:[],avcC:[],hvc1:[],hvcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],dac3:[],"ac-3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]},Ma.types)Ma.types.hasOwnProperty(e)&&(Ma.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);const t=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),n=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);Ma.HDLR_TYPES={video:t,audio:n};const r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),a=new Uint8Array([0,0,0,0,0,0,0,0]);Ma.STTS=Ma.STSC=Ma.STCO=a,Ma.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Ma.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Ma.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Ma.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const i=new Uint8Array([105,115,111,109]),o=new Uint8Array([97,118,99,49]),s=new Uint8Array([0,0,0,1]);Ma.FTYP=Ma.box(Ma.types.ftyp,i,s,i,o),Ma.DINF=Ma.box(Ma.types.dinf,Ma.box(Ma.types.dref,r))}static box(e,...t){let n=8,r=t.length;const a=r;for(;r--;)n+=t[r].byteLength;const i=new Uint8Array(n);for(i[0]=n>>24&255,i[1]=n>>16&255,i[2]=n>>8&255,i[3]=255&n,i.set(e,4),r=0,n=8;r>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,r>>24,r>>16&255,r>>8&255,255&r,85,196,0,0]))}static mdia(e){return Ma.box(Ma.types.mdia,Ma.mdhd(e.timescale||0,e.duration||0),Ma.hdlr(e.type),Ma.minf(e))}static mfhd(e){return Ma.box(Ma.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))}static minf(e){return"audio"===e.type?Ma.box(Ma.types.minf,Ma.box(Ma.types.smhd,Ma.SMHD),Ma.DINF,Ma.stbl(e)):Ma.box(Ma.types.minf,Ma.box(Ma.types.vmhd,Ma.VMHD),Ma.DINF,Ma.stbl(e))}static moof(e,t,n){return Ma.box(Ma.types.moof,Ma.mfhd(e),Ma.traf(n,t))}static moov(e){let t=e.length;const n=[];for(;t--;)n[t]=Ma.trak(e[t]);return Ma.box.apply(null,[Ma.types.moov,Ma.mvhd(e[0].timescale||0,e[0].duration||0)].concat(n).concat(Ma.mvex(e)))}static mvex(e){let t=e.length;const n=[];for(;t--;)n[t]=Ma.trex(e[t]);return Ma.box.apply(null,[Ma.types.mvex,...n])}static mvhd(e,t){t*=e;const n=Math.floor(t/(Ea+1)),r=Math.floor(t%(Ea+1)),a=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,r>>24,r>>16&255,r>>8&255,255&r,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return Ma.box(Ma.types.mvhd,a)}static sdtp(e){const t=e.samples||[],n=new Uint8Array(4+t.length);let r,a;for(r=0;r>>8&255),a.push(255&r),a=a.concat(Array.prototype.slice.call(n));for(t=0;t>>8&255),i.push(255&r),i=i.concat(Array.prototype.slice.call(n));const o=Ma.box(Ma.types.avcC,new Uint8Array([1,a[3],a[4],a[5],255,224|e.sps.length].concat(a).concat([e.pps.length]).concat(i))),s=e.width,l=e.height,c=e.pixelRatio[0],u=e.pixelRatio[1];return Ma.box(Ma.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,s>>8&255,255&s,l>>8&255,255&l,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),o,Ma.box(Ma.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Ma.box(Ma.types.pasp,new Uint8Array([c>>24,c>>16&255,c>>8&255,255&c,u>>24,u>>16&255,u>>8&255,255&u])))}static esds(e){const t=e.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...t,6,1,2])}static audioStsd(e){const t=e.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount||0,0,16,0,0,0,0,t>>8&255,255&t,0,0])}static mp4a(e){return Ma.box(Ma.types.mp4a,Ma.audioStsd(e),Ma.box(Ma.types.esds,Ma.esds(e)))}static mp3(e){return Ma.box(Ma.types[".mp3"],Ma.audioStsd(e))}static ac3(e){return Ma.box(Ma.types["ac-3"],Ma.audioStsd(e),Ma.box(Ma.types.dac3,e.config))}static stsd(e){const{segmentCodec:t}=e;if("audio"===e.type){if("aac"===t)return Ma.box(Ma.types.stsd,Ma.STSD,Ma.mp4a(e));if("ac3"===t&&e.config)return Ma.box(Ma.types.stsd,Ma.STSD,Ma.ac3(e));if("mp3"===t&&"mp3"===e.codec)return Ma.box(Ma.types.stsd,Ma.STSD,Ma.mp3(e))}else{if(!e.pps||!e.sps)throw new Error("video track missing pps or sps");if("avc"===t)return Ma.box(Ma.types.stsd,Ma.STSD,Ma.avc1(e));if("hevc"===t&&e.vps)return Ma.box(Ma.types.stsd,Ma.STSD,Ma.hvc1(e))}throw new Error(`unsupported ${e.type} segment codec (${t}/${e.codec})`)}static tkhd(e){const t=e.id,n=(e.duration||0)*(e.timescale||0),r=e.width||0,a=e.height||0,i=Math.floor(n/(Ea+1)),o=Math.floor(n%(Ea+1));return Ma.box(Ma.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,0,0,0,0,i>>24,i>>16&255,i>>8&255,255&i,o>>24,o>>16&255,o>>8&255,255&o,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,r>>8&255,255&r,0,0,a>>8&255,255&a,0,0]))}static traf(e,t){const n=Ma.sdtp(e),r=e.id,a=Math.floor(t/(Ea+1)),i=Math.floor(t%(Ea+1));return Ma.box(Ma.types.traf,Ma.box(Ma.types.tfhd,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,255&r])),Ma.box(Ma.types.tfdt,new Uint8Array([1,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,i>>24,i>>16&255,i>>8&255,255&i])),Ma.trun(e,n.length+16+20+8+16+8+8),n)}static trak(e){return e.duration=e.duration||4294967295,Ma.box(Ma.types.trak,Ma.tkhd(e),Ma.mdia(e))}static trex(e){const t=e.id;return Ma.box(Ma.types.trex,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(e,t){const n=e.samples||[],r=n.length,a=12+16*r,i=new Uint8Array(a);let o,s,l,c,u,d;for(t+=8+a,i.set(["video"===e.type?1:0,0,15,1,r>>>24&255,r>>>16&255,r>>>8&255,255&r,t>>>24&255,t>>>16&255,t>>>8&255,255&t],0),o=0;o>>24&255,l>>>16&255,l>>>8&255,255&l,c>>>24&255,c>>>16&255,c>>>8&255,255&c,u.isLeading<<2|u.dependsOn,u.isDependedOn<<6|u.hasRedundancy<<4|u.paddingValue<<1|u.isNonSync,61440&u.degradPrio,15&u.degradPrio,d>>>24&255,d>>>16&255,d>>>8&255,255&d],12+16*o);return Ma.box(Ma.types.trun,i)}static initSegment(e){Ma.types||Ma.init();const t=Ma.moov(e);return pe(Ma.FTYP,t)}static hvc1(e){const t=e.params,n=[e.vps,e.sps,e.pps],r=new Uint8Array([1,t.general_profile_space<<6|(t.general_tier_flag?32:0)|t.general_profile_idc,t.general_profile_compatibility_flags[0],t.general_profile_compatibility_flags[1],t.general_profile_compatibility_flags[2],t.general_profile_compatibility_flags[3],t.general_constraint_indicator_flags[0],t.general_constraint_indicator_flags[1],t.general_constraint_indicator_flags[2],t.general_constraint_indicator_flags[3],t.general_constraint_indicator_flags[4],t.general_constraint_indicator_flags[5],t.general_level_idc,240|t.min_spatial_segmentation_idc>>8,255&t.min_spatial_segmentation_idc,252|t.parallelismType,252|t.chroma_format_idc,248|t.bit_depth_luma_minus8,248|t.bit_depth_chroma_minus8,0,parseInt(t.frame_rate.fps),3|t.temporal_id_nested<<2|t.num_temporal_layers<<3|(t.frame_rate.fixed?64:0),n.length]);let a=r.length;for(let e=0;e>8,255&n[e][t].length]),a),a+=2,i.set(n[e][t],a),a+=n[e][t].length}const s=Ma.box(Ma.types.hvcC,i),l=e.width,c=e.height,u=e.pixelRatio[0],d=e.pixelRatio[1];return Ma.box(Ma.types.hvc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,c>>8&255,255&c,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),s,Ma.box(Ma.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Ma.box(Ma.types.pasp,new Uint8Array([u>>24,u>>16&255,u>>8&255,255&u,d>>24,d>>16&255,d>>8&255,255&d])))}}Ma.types=void 0,Ma.HDLR_TYPES=void 0,Ma.STTS=void 0,Ma.STSC=void 0,Ma.STCO=void 0,Ma.STSZ=void 0,Ma.VMHD=void 0,Ma.SMHD=void 0,Ma.STSD=void 0,Ma.FTYP=void 0,Ma.DINF=void 0;function ka(e,t,n=1,r=!1){const a=e*t*n;return r?Math.round(a):a}function Sa(e,t=!1){return ka(e,1e3,1/9e4,t)}let Pa,Aa=null,xa=null;function Ba(e,t,n,r){return{duration:t,size:n,cts:r,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:e?2:1,isNonSync:e?0:1}}}class La{constructor(e,t,n,r){if(this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.logger=r,this.ISGenerated=!1,null===Aa){const e=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Aa=e?parseInt(e[1]):0}if(null===xa){const e=navigator.userAgent.match(/Safari\/(\d+)/i);xa=e?parseInt(e[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(e){this.logger.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=e}resetNextTimestamp(){this.logger.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.logger.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(e){let t=!1;const n=e[0].pts,r=e.reduce(((e,r)=>{let a=r.pts,i=a-e;return i<-4294967296&&(t=!0,a=Oa(a,n),i=a-e),i>0?e:a}),n);return t&&this.logger.debug("PTS rollover detected"),r}remux(e,t,n,r,a,i,o,s){let l,c,u,d,h,p,m=a,g=a;const v=e.pid>-1,y=t.pid>-1,b=t.samples.length,_=e.samples.length>0,I=o&&b>0||b>1;if((!v||_)&&(!y||I)||this.ISGenerated||o){if(this.ISGenerated){var T,w,E,M;const e=this.videoTrackConfig;(e&&(t.width!==e.width||t.height!==e.height||(null==(T=t.pixelRatio)?void 0:T[0])!==(null==(w=e.pixelRatio)?void 0:w[0])||(null==(E=t.pixelRatio)?void 0:E[1])!==(null==(M=e.pixelRatio)?void 0:M[1]))||!e&&I||null===this.nextAudioPts&&_)&&this.resetInitSegment()}this.ISGenerated||(u=this.generateIS(e,t,a,i));const n=this.isVideoContiguous;let r,o=-1;if(I&&(o=function(e){for(let t=0;t0){this.logger.warn(`[mp4-remuxer]: Dropped ${o} out of ${b} video samples due to a missing keyframe`);const e=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(o),t.dropped+=o,g+=(t.samples[0].pts-e)/t.inputTimeScale,r=g}else-1===o&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${b} video samples`),p=!1);if(this.ISGenerated){if(_&&I){const n=this.getVideoStartPts(t.samples),r=(Oa(e.samples[0].pts,n)-n)/t.inputTimeScale;m+=Math.max(0,r),g+=Math.max(0,-r)}if(_){if(e.samplerate||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),u=this.generateIS(e,t,a,i)),c=this.remuxAudio(e,m,this.isAudioContiguous,i,y||I||s===f.AUDIO?g:void 0),I){const r=c?c.endPTS-c.startPTS:0;t.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),u=this.generateIS(e,t,a,i)),l=this.remuxVideo(t,g,n,r)}}else I&&(l=this.remuxVideo(t,g,n,0));l&&(l.firstKeyFrame=o,l.independent=-1!==o,l.firstKeyFramePTS=r)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(h=Ca(n,a,this._initPTS,this._initDTS)),r.samples.length&&(d=Da(r,a,this._initPTS))),{audio:c,video:l,initSegment:u,independent:p,text:d,id3:h}}generateIS(e,t,n,r){const a=e.samples,i=t.samples,o=this.typeSupported,s={},l=this._initPTS;let c,u,d,h=!l||r,f="audio/mp4";if(h&&(c=u=1/0),e.config&&a.length){switch(e.timescale=e.samplerate,e.segmentCodec){case"mp3":o.mpeg?(f="audio/mpeg",e.codec=""):o.mp3&&(e.codec="mp3");break;case"ac3":e.codec="ac-3"}s.audio={id:"audio",container:f,codec:e.codec,initSegment:"mp3"===e.segmentCodec&&o.mpeg?new Uint8Array(0):Ma.initSegment([e]),metadata:{channelCount:e.channelCount}},h&&(d=e.inputTimeScale,l&&d===l.timescale?h=!1:c=u=a[0].pts-Math.round(d*n))}if(t.sps&&t.pps&&i.length){if(t.timescale=t.inputTimeScale,s.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:Ma.initSegment([t]),metadata:{width:t.width,height:t.height}},h)if(d=t.inputTimeScale,l&&d===l.timescale)h=!1;else{const e=this.getVideoStartPts(i),t=Math.round(d*n);u=Math.min(u,Oa(i[0].dts,e)-t),c=Math.min(c,e-t)}this.videoTrackConfig={width:t.width,height:t.height,pixelRatio:t.pixelRatio}}if(Object.keys(s).length)return this.ISGenerated=!0,h?(this._initPTS={baseTime:c,timescale:d},this._initDTS={baseTime:u,timescale:d}):c=d=void 0,{tracks:s,initPTS:c,timescale:d}}remuxVideo(e,t,n,r){const a=e.inputTimeScale,i=e.samples,c=[],u=i.length,d=this._initPTS;let h,f,p=this.nextAvcDts,m=8,g=this.videoSampleDuration,y=Number.POSITIVE_INFINITY,b=Number.NEGATIVE_INFINITY,_=!1;if(!n||null===p){const e=t*a,r=i[0].pts-Oa(i[0].dts,i[0].pts);Aa&&null!==p&&Math.abs(e-r-p)<15e3?n=!0:p=e-r}const I=d.baseTime*a/d.timescale;for(let e=0;e0?e-1:e].dts&&(_=!0)}_&&i.sort((function(e,t){const n=e.dts-t.dts,r=e.pts-t.pts;return n||r})),h=i[0].dts,f=i[i.length-1].dts;const T=f-h,w=T?Math.round(T/(u-1)):g||e.inputTimeScale/30;if(n){const n=h-p,r=n>w,a=n<-1;if((r||a)&&(r?this.logger.warn(`${(e.segmentCodec||"").toUpperCase()}: ${Sa(n,!0)} ms (${n}dts) hole between fragments detected at ${t.toFixed(3)}`):this.logger.warn(`${(e.segmentCodec||"").toUpperCase()}: ${Sa(-n,!0)} ms (${n}dts) overlapping between fragments detected at ${t.toFixed(3)}`),!a||p>=i[0].pts||Aa)){h=p;const e=i[0].pts-n;if(r)i[0].dts=h,i[0].pts=e;else{let t=!0;for(let r=0;re&&t);r++){const e=i[r].pts;if(i[r].dts-=n,i[r].pts-=n,r0?t.dts-i[e-1].dts:w;if(o=e>0?t.pts-i[e-1].pts:w,n.stretchShortVideoTrack&&null!==this.nextAudioPts){const e=Math.floor(n.maxBufferHole*a),i=(r?y+r*a:this.nextAudioPts)-t.pts;i>e?(g=i-s,g<0?g=s:x=!0,this.logger.log(`[mp4-remuxer]: It is approximately ${i/90} ms to the next segment; using duration ${g/90} ms for the last video frame.`)):g=s}else g=s}const l=Math.round(t.pts-t.dts);B=Math.min(B,g),O=Math.max(O,g),L=Math.min(L,o),C=Math.max(C,o),c.push(Ba(t.key,g,s,l))}if(c.length)if(Aa){if(Aa<70){const e=c[0].flags;e.dependsOn=2,e.isNonSync=0}}else if(xa&&C-L0&&(r&&Math.abs(_-b)<9e3||Math.abs(Oa(g[0].pts-I,_)-b)<20*d),g.forEach((function(e){e.pts=Oa(e.pts-I,_)})),!n||b<0){if(g=g.filter((e=>e.pts>=0)),!g.length)return;b=0===a?0:r&&!m?Math.max(0,_):g[0].pts}if("aac"===e.segmentCodec){const t=this.config.maxAudioFramesDrift;for(let n=0,r=b;n=t*d&&l<1e4&&m){let t=Math.round(s/d);r=o-t*d,r<0&&(t--,r+=d),0===n&&(this.nextAudioPts=b=r),this.logger.warn(`[mp4-remuxer]: Injecting ${t} audio frame @ ${(r/i).toFixed(3)}s due to ${Math.round(1e3*s/i)} ms gap.`);for(let i=0;i0))return;M+=y;try{T=new Uint8Array(M)}catch(e){return void this.observer.emit(l.ERROR,l.ERROR,{type:o.MUX_ERROR,details:s.REMUX_ALLOC_ERROR,fatal:!1,error:e,bytes:M,reason:`fail allocating audio mdat ${M}`})}if(!f){new DataView(T.buffer).setUint32(0,M),T.set(Ma.types.mdat,4)}}T.set(a,y);const d=a.byteLength;y+=d,p.push(Ba(!0,u,d,0)),E=i}const S=p.length;if(!S)return;const P=p[p.length-1];this.nextAudioPts=b=E+c*P.duration;const A=f?new Uint8Array(0):Ma.moof(e.sequenceNumber++,w/c,v({},e,{samples:p}));e.samples=[];const x=w/i,B=b/i,L={data1:A,data2:T,startPTS:x,endPTS:B,startDTS:x,endDTS:B,type:"audio",hasAudio:!0,hasVideo:!1,nb:S};return this.isAudioContiguous=!0,L}}function Oa(e,t){let n;if(null===t)return e;for(n=t4294967296;)e+=n;return e}function Ca(e,t,n,r){const a=e.samples.length;if(!a)return;const i=e.inputTimeScale;for(let o=0;oe.pts-t.pts));const i=e.samples;return e.samples=[],{samples:i}}function Ra(e,t){const n=null==e?void 0:e.codec;if(n&&n.length>4)return n;if(t===V){if("ec-3"===n||"ac-3"===n||"alac"===n)return n;if("fLaC"===n||"Opus"===n){return Le(n,!1)}return k.warn(`Unhandled audio codec "${n}" in mp4 MAP`),n||"mp4a"}return k.warn(`Unhandled video codec "${n}" in mp4 MAP`),n||"avc1"}try{Pa=self.performance.now.bind(self.performance)}catch(e){Pa=Date.now}const Fa=[{demux:class{constructor(e,t){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=t}resetTimeStamp(){}resetInitSegment(e,t,n,r){const a=this.videoTrack=Gr("video",1),i=this.audioTrack=Gr("audio",1),o=this.txtTrack=Gr("text",1);if(this.id3Track=Gr("id3",1),this.timeOffset=0,null==e||!e.byteLength)return;const s=oe(e);if(s.video){const{id:e,timescale:t,codec:n,supplemental:r}=s.video;a.id=e,a.timescale=o.timescale=t,a.codec=n,a.supplemental=r}if(s.audio){const{id:e,timescale:t,codec:n}=s.audio;i.id=e,i.timescale=t,i.codec=n}o.id=J.text,a.sampleDuration=0,a.duration=i.duration=r}resetContiguity(){this.remainderData=null}static probe(e){return function(e){const t=e.byteLength;for(let n=0;n8&&109===e[n+4]&&111===e[n+5]&&111===e[n+6]&&102===e[n+7])return!0;n=r>1?n+r:t}return!1}(e)}demux(e,t){this.timeOffset=t;let n=e;const r=this.videoTrack,a=this.txtTrack;if(this.config.progressive){this.remainderData&&(n=pe(this.remainderData,e));const t=function(e){const t={valid:null,remainder:null},n=ae(e,["moof"]);if(n.length<2)return t.remainder=e,t;const r=n[n.length-1];return t.valid=e.slice(0,r.byteOffset-8),t.remainder=e.slice(r.byteOffset-8),t}(n);this.remainderData=t.remainder,r.samples=t.valid||new Uint8Array}else r.samples=n;const i=this.extractID3Track(r,t);return a.samples=me(t,r),{videoTrack:r,audioTrack:this.audioTrack,id3Track:i,textTrack:this.txtTrack}}flush(){const e=this.timeOffset,t=this.videoTrack,n=this.txtTrack;t.samples=this.remainderData||new Uint8Array,this.remainderData=null;const r=this.extractID3Track(t,this.timeOffset);return n.samples=me(e,t),{videoTrack:t,audioTrack:Gr(),id3Track:r,textTrack:Gr()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=ae(e.samples,["emsg"]);r&&r.forEach((e=>{const r=function(e){const t=e[0];let n="",r="",i=0,o=0,s=0,l=0,c=0,u=0;if(0===t){for(;"\0"!==Z(e.subarray(u,u+1));)n+=Z(e.subarray(u,u+1)),u+=1;for(n+=Z(e.subarray(u,u+1)),u+=1;"\0"!==Z(e.subarray(u,u+1));)r+=Z(e.subarray(u,u+1)),u+=1;r+=Z(e.subarray(u,u+1)),u+=1,i=ee(e,12),o=ee(e,16),l=ee(e,20),c=ee(e,24),u=28}else if(1===t){u+=4,i=ee(e,u),u+=4;const t=ee(e,u);u+=4;const o=ee(e,u);for(u+=4,s=2**32*t+o,a(s)||(s=Number.MAX_SAFE_INTEGER,k.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),l=ee(e,u),u+=4,c=ee(e,u),u+=4;"\0"!==Z(e.subarray(u,u+1));)n+=Z(e.subarray(u,u+1)),u+=1;for(n+=Z(e.subarray(u,u+1)),u+=1;"\0"!==Z(e.subarray(u,u+1));)r+=Z(e.subarray(u,u+1)),u+=1;r+=Z(e.subarray(u,u+1)),u+=1}return{schemeIdUri:n,value:r,timeScale:i,presentationTime:s,presentationTimeDelta:o,eventDuration:l,id:c,payload:e.subarray(u,e.byteLength)}}(e);if(la.test(r.schemeIdUri)){const e=ca(r,t);let a=4294967295===r.eventDuration?Number.POSITIVE_INFINITY:r.eventDuration/r.timeScale;a<=.001&&(a=Number.POSITIVE_INFINITY);const i=r.payload;n.samples.push({data:i,len:i.byteLength,dts:e,pts:e,type:$r.emsg,duration:a})}else if(this.config.enableEmsgKLVMetadata&&r.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const e=ca(r,t);n.samples.push({data:r.payload,len:r.payload.byteLength,dts:e,pts:e,type:$r.misbklv,duration:Number.POSITIVE_INFINITY})}}))}return n}demuxSampleAes(e,t,n){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){this.config=null,this.remainderData=null,this.videoTrack=this.audioTrack=this.id3Track=this.txtTrack=void 0}},remux:class{constructor(e,t,n,r){this.logger=void 0,this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.logger=r}destroy(){}resetTimeStamp(e){this.initPTS=e,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(e,t,n,r){this.audioCodec=t,this.videoCodec=n,this.generateInitSegment(function(e,t){if(!e||!t)return e;const n=t.keyId;n&&t.isCommonEncryption&&ae(e,["moov","trak"]).forEach((e=>{const t=ae(e,["mdia","minf","stbl","stsd"])[0].subarray(8);let r=ae(t,["enca"]);const a=r.length>0;a||(r=ae(t,["encv"])),r.forEach((e=>{ae(a?e.subarray(28):e.subarray(78),["sinf"]).forEach((e=>{const t=he(e);if(t){const e=t.subarray(8,24);e.some((e=>0!==e))||(k.log(`[eme] Patching keyId in 'enc${a?"a":"v"}>sinf>>tenc' box: ${x(e)} -> ${x(n)}`),t.set(n,8))}}))}))}));return e}(e,r)),this.emitInitSegment=!0}generateInitSegment(e){let{audioCodec:t,videoCodec:n}=this;if(null==e||!e.byteLength)return this.initTracks=void 0,void(this.initData=void 0);const r=this.initData=oe(e);r.audio&&(t=Ra(r.audio,V)),r.video&&(n=Ra(r.video,Y));const a={};r.audio&&r.video?a.audiovideo={container:"video/mp4",codec:t+","+n,supplemental:r.video.supplemental,initSegment:e,id:"main"}:r.audio?a.audio={container:"audio/mp4",codec:t,initSegment:e,id:"audio"}:r.video?a.video={container:"video/mp4",codec:n,supplemental:r.video.supplemental,initSegment:e,id:"main"}:this.logger.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=a}remux(e,t,n,a,i,o){var s,l;let{initPTS:c,lastEndTime:u}=this;const d={audio:void 0,video:void 0,text:a,id3:n,initSegment:void 0};r(u)||(u=this.lastEndTime=i||0);const h=t.samples;if(null==h||!h.length)return d;const f={initPTS:void 0,timescale:1};let p=this.initData;if(null!=(s=p)&&s.length||(this.generateInitSegment(h),p=this.initData),null==(l=p)||!l.length)return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),d;this.emitInitSegment&&(f.tracks=this.initTracks,this.emitInitSegment=!1);const m=function(e,t){let n=0,a=0,i=0;const o=ae(e,["moof","traf"]);for(let e=0;ee+t.info.duration||0),0);n=Math.max(n,e+r.earliestPresentationTime/r.timescale),a=n-t}}if(a&&r(a))return a}return a||i}(h,p),g=function(e,t){return ae(t,["moof","traf"]).reduce(((t,n)=>{const a=ae(n,["tfdt"])[0],i=a[0],o=ae(n,["tfhd"]).reduce(((t,n)=>{const o=ee(n,4),s=e[o];if(s){let e=ee(a,4);if(1===i){if(e===K)return k.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),t;e*=K+1,e+=ee(a,8)}const n=e/(s.timescale||9e4);if(r(n)&&(null===t||na}(c,v,i,m)&&f.timescale===c.timescale||(f.initPTS=v-i,c&&1===c.timescale&&this.logger.warn(`Adjusting initPTS @${i} from ${c.baseTime/c.timescale} to ${f.initPTS}`),this.initPTS=c={baseTime:f.initPTS,timescale:1});const y=e?v-c.baseTime/c.timescale:u,b=y+m;!function(e,t,n){ae(t,["moof","traf"]).forEach((t=>{ae(t,["tfhd"]).forEach((r=>{const a=ee(r,4),i=e[a];if(!i)return;const o=i.timescale||9e4;ae(t,["tfdt"]).forEach((e=>{const t=e[0],r=n*o;if(r){let n=ee(e,4);if(0===t)n-=r,n=Math.max(n,0),re(e,4,n);else{n*=Math.pow(2,32),n+=ee(e,8),n-=r,n=Math.max(n,0);const t=Math.floor(n/(K+1)),a=Math.floor(n%(K+1));re(e,4,t),re(e,8,a)}}}))}))}))}(p,h,c.baseTime/c.timescale),m>0?this.lastEndTime=b:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const _=!!p.audio,I=!!p.video;let T="";_&&(T+="audio"),I&&(T+="video");const w={data1:h,startPTS:y,startDTS:y,endPTS:b,endDTS:b,type:T,hasAudio:_,hasVideo:I,nb:1,dropped:0};return d.audio="audio"===w.type?w:void 0,d.video="audio"!==w.type?w:void 0,d.initSegment=f,d.id3=Ca(n,i,c,c),a.samples.length&&(d.text=Da(a,i,c)),d}}},{demux:ga,remux:La},{demux:class extends Wr{constructor(e,t){super(),this.observer=void 0,this.config=void 0,this.observer=e,this.config=t}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e,t){if(!e)return!1;const n=kr(e,0);let r=(null==n?void 0:n.length)||0;if(aa(e,r))return!1;for(let n=e.length;r0&&null!=(null==t?void 0:t.key)&&null!==t.iv&&null!=t.method&&(n=t);return n}(i,t);if(T&&en(T.method)){const e=this.getDecrypter(),t=tn(T.method);if(!e.isSync())return this.asyncResult=!0,this.decryptionPromise=e.webCryptoDecrypt(i,T.key.buffer,T.iv.buffer,t).then((e=>{const t=this.push(e,null,n);return this.decryptionPromise=null,t})),this.decryptionPromise;{let r=e.softwareDecrypt(i,T.key.buffer,T.iv.buffer,t);if(n.part>-1){const t=e.flush();r=t?t.buffer:t}if(!r)return a.executeEnd=Pa(),Na(n);i=new Uint8Array(r)}}const w=this.needsProbing(h,f);if(w){const e=this.configureTransmuxer(i);if(e)return this.logger.warn(`[transmuxer] ${e.message}`),this.observer.emit(l.ERROR,l.ERROR,{type:o.MEDIA_ERROR,details:s.FRAG_PARSING_ERROR,fatal:!1,error:e,reason:e.message}),a.executeEnd=Pa(),Na(n)}(h||f||g||w)&&this.resetInitSegment(I,v,y,_,t),(h||g||w)&&this.resetInitialTimestamp(b),d||this.resetContiguity();const E=this.transmux(i,T,m,p,n);this.asyncResult=Ha(E);const M=this.currentTransmuxState;return M.contiguous=!0,M.discontinuity=!1,M.trackSwitch=!1,a.executeEnd=Pa(),E}flush(e){const t=e.transmuxing;t.executeStart=Pa();const{decrypter:n,currentTransmuxState:r,decryptionPromise:a}=this;if(a)return this.asyncResult=!0,a.then((()=>this.flush(e)));const i=[],{timeOffset:o}=r;if(n){const t=n.flush();t&&i.push(this.push(t.buffer,null,e))}const{demuxer:s,remuxer:l}=this;if(!s||!l){t.executeEnd=Pa();const n=[Na(e)];return this.asyncResult?Promise.resolve(n):n}const c=s.flush(o);return Ha(c)?(this.asyncResult=!0,c.then((t=>(this.flushRemux(i,t,e),i)))):(this.flushRemux(i,c,e),this.asyncResult?Promise.resolve(i):i)}flushRemux(e,t,n){const{audioTrack:r,videoTrack:a,id3Track:i,textTrack:o}=t,{accurateTimeOffset:s,timeOffset:l}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${n.sn}${n.part>-1?" part: "+n.part:""} of ${this.id===f.MAIN?"level":"track"} ${n.level}`);const c=this.remuxer.remux(r,a,i,o,l,s,!0,this.id);e.push({remuxResult:c,chunkMeta:n}),n.transmuxing.executeEnd=Pa()}resetInitialTimestamp(e){const{demuxer:t,remuxer:n}=this;t&&n&&(t.resetTimeStamp(e),n.resetTimeStamp(e))}resetContiguity(){const{demuxer:e,remuxer:t}=this;e&&t&&(e.resetContiguity(),t.resetNextTimestamp())}resetInitSegment(e,t,n,r,a){const{demuxer:i,remuxer:o}=this;i&&o&&(i.resetInitSegment(e,t,n,r),o.resetInitSegment(e,t,n,a))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(e,t,n,r,a){let i;return i=t&&"SAMPLE-AES"===t.method?this.transmuxSampleAes(e,t,n,r,a):this.transmuxUnencrypted(e,n,r,a),i}transmuxUnencrypted(e,t,n,r){const{audioTrack:a,videoTrack:i,id3Track:o,textTrack:s}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(a,i,o,s,t,n,!1,this.id),chunkMeta:r}}transmuxSampleAes(e,t,n,r,a){return this.demuxer.demuxSampleAes(e,t,n).then((e=>({remuxResult:this.remuxer.remux(e.audioTrack,e.videoTrack,e.id3Track,e.textTrack,n,r,!1,this.id),chunkMeta:a})))}configureTransmuxer(e){const{config:t,observer:n,typeSupported:r}=this;let a;for(let t=0,n=Fa.length;t({remuxResult:{},chunkMeta:e});function Ha(e){return"then"in e&&e.then instanceof Function}class Va{constructor(e,t,n,r,a){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=e,this.videoCodec=t,this.initSegmentData=n,this.duration=r,this.defaultInitPts=a||null}}class Ya{constructor(e,t,n,r,a,i){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=e,this.contiguous=t,this.accurateTimeOffset=n,this.trackSwitch=r,this.timeOffset=a,this.initSegmentChange=i}}let ja=0;class Ua{constructor(e,t,n,r){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=ja++,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.onWorkerMessage=e=>{const t=e.data,n=this.hls;if(n&&null!=t&&t.event&&t.instanceNo===this.instanceNo)switch(t.event){case"init":{var r;const e=null==(r=this.workerContext)?void 0:r.objectURL;e&&self.URL.revokeObjectURL(e);break}case"transmuxComplete":this.handleTransmuxComplete(t.data);break;case"flush":this.onFlush(t.data);break;case"workerLog":n.logger[t.data.logType]&&n.logger[t.data.logType](t.data.message);break;default:t.data=t.data||{},t.data.frag=this.frag,t.data.part=this.part,t.data.id=this.id,n.trigger(t.event,t.data)}},this.onWorkerError=e=>{if(!this.hls)return;const t=new Error(`${e.message} (${e.filename}:${e.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(l.ERROR,{type:o.OTHER_ERROR,details:s.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:t})};const a=e.config;this.hls=e,this.id=t,this.useWorker=!!a.enableWorker,this.onTransmuxComplete=n,this.onFlush=r;const i=(e,t)=>{(t=t||{}).frag=this.frag||void 0,e===l.ERROR&&(t.parent=this.id,t.part=this.part,this.error=t.error),this.hls.trigger(e,t)};this.observer=new _r,this.observer.on(l.FRAG_DECRYPTED,i),this.observer.on(l.ERROR,i);const c=De(a.preferManagedMediaSource);if(this.useWorker&&"undefined"!=typeof Worker){const n=this.hls.logger;if(a.workerPath||"function"==typeof __HLS_WORKER_BUNDLE__){try{a.workerPath?(n.log(`loading Web Worker ${a.workerPath} for "${t}"`),this.workerContext=function(e){const t=Tr[e];if(t)return t.clientCount++,t;const n=new self.URL(e,self.location.href).href,r={worker:new self.Worker(n),scriptURL:n,clientCount:1};return Tr[e]=r,r}(a.workerPath)):(n.log(`injecting Web Worker for "${t}"`),this.workerContext=function(){const e=Tr[Ir];if(e)return e.clientCount++,e;const t=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),n=self.URL.createObjectURL(t),r={worker:new self.Worker(n),objectURL:n,clientCount:1};return Tr[Ir]=r,r}());const{worker:e}=this.workerContext;e.addEventListener("message",this.onWorkerMessage),e.addEventListener("error",this.onWorkerError),e.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:c,id:t,config:Xe(a)})}catch(r){n.warn(`Error setting up "${t}" Web Worker, fallback to inline`,r),this.terminateWorker(),this.error=null,this.transmuxer=new za(this.observer,c,a,"",t,e.logger)}return}}this.transmuxer=new za(this.observer,c,a,"",t,e.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const e=this.instanceNo;this.instanceNo=ja++;const t=this.hls.config,n=De(t.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:e,typeSupported:n,id:this.id,config:Xe(t)})}}terminateWorker(){if(this.workerContext){const{worker:e}=this.workerContext;this.workerContext=null,e.removeEventListener("message",this.onWorkerMessage),e.removeEventListener("error",this.onWorkerError),function(e){const t=Tr[e||Ir];if(t&&1==t.clientCount--){const{worker:n,objectURL:r}=t;delete Tr[e||Ir],r&&self.URL.revokeObjectURL(r),n.terminate()}}(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const e=this.transmuxer;e&&(e.destroy(),this.transmuxer=null)}const e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(e,t,n,r,a,i,o,s,l,c){var u,d;l.transmuxing.start=self.performance.now();const{instanceNo:h,transmuxer:p}=this,m=i?i.start:a.start,g=a.decryptdata,v=this.frag,y=!(v&&a.cc===v.cc),b=!(v&&l.level===v.level),_=v?l.sn-v.sn:-1,I=this.part?l.part-this.part.index:-1,T=0===_&&l.id>1&&l.id===(null==v?void 0:v.stats.chunkCount),w=!b&&(1===_||0===_&&(1===I||T&&I<=0)),E=self.performance.now();(b||_||0===a.stats.parsing.start)&&(a.stats.parsing.start=E),!i||!I&&w||(i.stats.parsing.start=E);const M=!(v&&(null==(u=a.initSegment)?void 0:u.url)===(null==(d=v.initSegment)?void 0:d.url)),k=new Ya(y,w,s,b,m,M);if(!w||y||M){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${a.type} sn: ${l.sn}${l.part>-1?" part: "+l.part:""} ${this.id===f.MAIN?"level":"track"}: ${l.level} id: ${l.id}\n discontinuity: ${y}\n trackSwitch: ${b}\n contiguous: ${w}\n accurateTimeOffset: ${s}\n timeOffset: ${m}\n initSegmentChange: ${M}`);const e=new Va(n,r,t,o,c);this.configureTransmuxer(e)}if(this.frag=a,this.part=i,this.workerContext)this.workerContext.worker.postMessage({instanceNo:h,cmd:"demux",data:e,decryptdata:g,chunkMeta:l,state:k},e instanceof ArrayBuffer?[e]:[]);else if(p){const t=p.push(e,g,l,k);Ha(t)?t.then((e=>{this.handleTransmuxComplete(e)})).catch((e=>{this.transmuxerError(e,l,"transmuxer-interface push error")})):this.handleTransmuxComplete(t)}}flush(e){e.transmuxing.start=self.performance.now();const{instanceNo:t,transmuxer:n}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:t,cmd:"flush",chunkMeta:e});else if(n){const t=n.flush(e);Ha(t)?t.then((t=>{this.handleFlushResult(t,e)})).catch((t=>{this.transmuxerError(t,e,"transmuxer-interface flush error")})):this.handleFlushResult(t,e)}}transmuxerError(e,t,n){this.hls&&(this.error=e,this.hls.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.FRAG_PARSING_ERROR,chunkMeta:t,frag:this.frag||void 0,part:this.part||void 0,fatal:!1,error:e,err:e,reason:n}))}handleFlushResult(e,t){e.forEach((e=>{this.handleTransmuxComplete(e)})),this.onFlush(t)}configureTransmuxer(e){const{instanceNo:t,transmuxer:n}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:t,cmd:"configure",config:e}):n&&n.configure(e)}handleTransmuxComplete(e){e.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(e)}}class $a extends pr{constructor(e,t,n){super(e,t,n,"audio-stream-controller",f.AUDIO),this.mainAnchor=null,this.mainFragLoading=null,this.audioOnly=!1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.resetItem()}resetItem(){this.mainDetails=this.mainAnchor=this.mainFragLoading=this.bufferedTrack=this.switchingTrack=this.waitingData=this.cachedTrackLoadedData=null}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(l.LEVEL_LOADED,this.onLevelLoaded,this),e.on(l.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(l.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(l.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(l.BUFFER_RESET,this.onBufferReset,this),e.on(l.BUFFER_CREATED,this.onBufferCreated,this),e.on(l.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(l.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(l.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(l.FRAG_LOADING,this.onFragLoading,this),e.on(l.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:e}=this;e&&(super.unregisterListeners(),e.off(l.LEVEL_LOADED,this.onLevelLoaded,this),e.off(l.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(l.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(l.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(l.BUFFER_RESET,this.onBufferReset,this),e.off(l.BUFFER_CREATED,this.onBufferCreated,this),e.off(l.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(l.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(l.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(l.FRAG_LOADING,this.onFragLoading,this),e.off(l.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:a}){if(n===f.MAIN){const e=t.cc,n=this.fragCurrent;if(this.initPTS[e]={baseTime:r,timescale:a},this.log(`InitPTS for cc: ${e} found from main: ${r}/${a}`),this.mainAnchor=t,this.state===hr){const n=this.waitingData;(!n&&!this.loadingParts||n&&n.frag.cc!==e)&&(this.nextLoadPosition=this.findSyncFrag(t).start),this.tick()}else!this.hls.hasEnoughToStart&&n&&n.cc!==e?(this.startFragRequested=!1,this.nextLoadPosition=this.findSyncFrag(t).start,n.abortRequests(),this.resetLoadingState()):this.state===rr&&this.tick()}}findSyncFrag(e){const t=this.getLevelDetails(),n=e.cc;return function(e,t,n){if(e&&e.startCC<=t&&e.endCC>=t){const r=n.start,a=n.end;let i=e.fragments;if(!n.relurl){const{fragmentHint:t}=e;t&&(i=i.concat(t))}return ot(i,(e=>e.cct||e.start>=a?-1:0))}return null}(t,n,e)||t&&ut(t.fragments,n)||e}startLoad(e,t){if(!this.levels)return this.startPosition=e,void(this.state=nr);const n=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),n>0&&-1===e?(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n,this.state=rr):this.state=sr,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}doTick(){switch(this.state){case rr:this.doTickIdle();break;case sr:{const{levels:e,trackId:t}=this,n=null==e?void 0:e[t],r=null==n?void 0:n.details;if(r&&!this.waitForLive(n)){if(this.waitForCdnTuneIn(r))break;this.state=hr}break}case or:{var e;const t=performance.now(),n=this.retryDate;if(!n||t>=n||null!=(e=this.media)&&e.seeking){const{levels:e,trackId:t}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((null==e?void 0:e[t])||null),this.state=rr}break}case hr:{const e=this.waitingData;if(e){const{frag:t,part:n,cache:r,complete:a}=e,i=this.mainAnchor;if(void 0!==this.initPTS[t.cc]){this.waitingData=null,this.state=ir;const e={frag:t,part:n,payload:r.flush().buffer,networkDetails:null};this._handleFragmentLoadProgress(e),a&&super._handleFragmentLoadComplete(e)}else i&&i.cc!==e.frag.cc&&(this.log(`Waiting fragment cc (${t.cc}) cancelled because video is at cc ${i.cc}`),this.nextLoadPosition=this.findSyncFrag(i).start,this.clearWaitingFragment())}else this.state=rr}}this.onTickEnd()}clearWaitingFragment(){const e=this.waitingData;e&&(this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.fragmentTracker.removeFragment(e.frag),this.waitingData=null,this.state!==nr&&(this.state=rr))}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:e}=this;null!=e&&e.readyState&&(this.lastCurrentTime=e.currentTime)}doTickIdle(){var e;const{hls:t,levels:n,media:r,trackId:a}=this,i=t.config;if(!this.buffering||!r&&!this.primaryPrefetch&&(this.startFragRequested||!i.startFragPrefetch)||null==n||!n[a])return;const o=n[a],s=o.details;if(!s||this.waitForLive(o)||this.waitForCdnTuneIn(s))return this.state=sr,void(this.startFragRequested=!1);const c=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&c&&(this.bufferFlushed=!1,this.afterBufferFlushed(c,V,f.AUDIO));const u=this.getFwdBufferInfo(c,f.AUDIO);if(null===u)return;if(!this.switchingTrack&&this._streamEnded(u,s))return t.trigger(l.BUFFER_EOS,{type:"audio"}),void(this.state=ur);const d=u.len,h=t.maxBufferLength,p=s.fragments,m=p[0].start,g=this.getLoadPosition(),v=this.flushing?g:u.end;if(this.switchingTrack&&r){const e=g;s.PTSKnown&&em||u.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),r.currentTime=m+.05)}if(d>=h&&!this.switchingTrack&&vb.end){const e=this.fragmentTracker.getFragAtPos(v,f.MAIN);e&&e.end>b.end&&(b=e,this.mainFragLoading={frag:e,targetBufferTime:null})}if(y.start>b.end)return}this.loadFragment(y,o,v)}onMediaDetaching(e,t){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(e,t)}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map((e=>new We(e)))}onAudioTrackSwitching(e,t){const n=!!t.url;this.trackId=t.id;const{fragCurrent:r}=this;r&&(r.abortRequests(),this.removeUnbufferedFrags(r.start)),this.resetLoadingState(),n?(this.switchingTrack=t,this.flushAudioIfNeeded(t),this.state!==nr&&(this.setInterval(100),this.state=rr,this.tick())):(this.resetTransmuxer(),this.switchingTrack=null,this.bufferedTrack=t,this.clearInterval())}onManifestLoading(){super.onManifestLoading(),this.bufferFlushed=this.flushing=this.audioOnly=!1,this.resetItem(),this.trackId=-1}onLevelLoaded(e,t){this.mainDetails=t.details;const n=this.cachedTrackLoadedData;n&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(l.AUDIO_TRACK_LOADED,n))}onAudioTrackLoaded(e,t){var n;const{levels:r}=this,{details:a,id:i,groupId:o,track:s}=t;if(!r)return void this.warn(`Audio tracks reset while loading track ${i} "${s.name}" of "${o}"`);const c=this.mainDetails;if(!c||a.endCC>c.endCC||c.expired)return this.cachedTrackLoadedData=t,void(this.state!==nr&&(this.state=sr));this.cachedTrackLoadedData=null,this.log(`Audio track ${i} "${s.name}" of "${o}" loaded [${a.startSN},${a.endSN}]${a.lastPartSn?`[part-${a.lastPartSn}-${a.lastPartIndex}]`:""},duration:${a.totalduration}`);const u=r[i];let d=0;if(a.live||null!=(n=u.details)&&n.live){if(this.checkLiveUpdate(a),a.deltaUpdateFailed)return;var h;if(u.details)d=this.alignPlaylists(a,u.details,null==(h=this.levelLastLoaded)?void 0:h.details);a.alignedSliding||(Qn(a,c),a.alignedSliding||er(a,c),d=a.fragmentStart)}u.details=a,this.levelLastLoaded=u,this.startFragRequested||this.setStartPosition(c,d),this.hls.trigger(l.AUDIO_TRACK_UPDATED,{details:a,id:i,groupId:t.groupId}),this.state!==sr||this.waitForCdnTuneIn(a)||(this.state=rr),this.tick()}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:a}=e,{config:i,trackId:o,levels:s}=this;if(!s)return void this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);const l=s[o];if(!l)return void this.warn("Audio track is undefined on fragment load progress");const c=l.details;if(!c)return this.warn("Audio track details undefined on fragment load progress"),void this.removeUnbufferedFrags(n.start);const u=i.defaultAudioCodec||l.audioCodec||"mp4a.40.2";let d=this.transmuxer;d||(d=this.transmuxer=new Ua(this.hls,f.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const h=this.initPTS[n.cc],p=null==(t=n.initSegment)?void 0:t.data;if(void 0!==h){const e=!1,t=r?r.index:-1,i=-1!==t,o=new Ht(n.level,n.sn,n.stats.chunkCount,a.byteLength,t,i);d.push(a,p,u,"",n,r,c.totalduration,e,o,h)}else{this.log(`Unknown video PTS for cc ${n.cc}, waiting for video PTS before demuxing audio frag ${n.sn} of [${c.startSN} ,${c.endSN}],track ${o}`);const{cache:e}=this.waitingData=this.waitingData||{frag:n,part:r,cache:new gr,complete:!1};e.push(new Uint8Array(a)),this.state!==nr&&(this.state=hr)}}_handleFragmentLoadComplete(e){this.waitingData?this.waitingData.complete=!0:super._handleFragmentLoadComplete(e)}onBufferReset(){this.mediaBuffer=null}onBufferCreated(e,t){this.bufferFlushed=this.flushing=!1;const n=t.tracks.audio;n&&(this.mediaBuffer=n.buffer||null)}onFragLoading(e,t){!this.audioOnly&&t.frag.type===f.MAIN&&$(t.frag)&&(this.mainFragLoading=t,this.state===rr&&this.tick())}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n.type===f.AUDIO)if(this.fragContextChanged(n))this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);else{if($(n)){this.fragPrevious=n;const e=this.switchingTrack;e&&(this.bufferedTrack=e,this.switchingTrack=null,this.hls.trigger(l.AUDIO_TRACK_SWITCHED,b({},e)))}this.fragBufferedComplete(n,r),this.media&&this.tick()}else this.audioOnly||n.type!==f.MAIN||n.elementaryStreams.video||n.elementaryStreams.audiovideo||(this.audioOnly=!0,this.mainFragLoading=null)}onError(e,t){var n;if(t.fatal)this.state=dr;else switch(t.details){case s.FRAG_GAP:case s.FRAG_PARSING_ERROR:case s.FRAG_DECRYPT_ERROR:case s.FRAG_LOAD_ERROR:case s.FRAG_LOAD_TIMEOUT:case s.KEY_LOAD_ERROR:case s.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(f.AUDIO,t);break;case s.AUDIO_TRACK_LOAD_ERROR:case s.AUDIO_TRACK_LOAD_TIMEOUT:case s.LEVEL_PARSING_ERROR:t.levelRetry||this.state!==sr||(null==(n=t.context)?void 0:n.type)!==d||(this.state=rr);break;case s.BUFFER_ADD_CODEC_ERROR:case s.BUFFER_APPEND_ERROR:if("audio"!==t.parent)return;this.resetLoadingState();break;case s.BUFFER_FULL_ERROR:if("audio"!==t.parent)return;this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case s.INTERNAL_EXCEPTION:this.recoverWorkerError(t)}}onBufferFlushing(e,{type:t}){t!==Y&&(this.flushing=!0)}onBufferFlushed(e,{type:t}){if(t!==Y){this.flushing=!1,this.bufferFlushed=!0,this.state===ur&&(this.state=rr);const e=this.mediaBuffer||this.media;e&&(this.afterBufferFlushed(e,t,f.AUDIO),this.tick())}}_handleTransmuxComplete(e){var t;const n="audio",{hls:r}=this,{remuxResult:a,chunkMeta:i}=e,o=this.getCurrentContext(i);if(!o)return void this.resetWhenMissingContext(i);const{frag:s,part:c,level:u}=o,{details:d}=u,{audio:h,text:f,id3:p,initSegment:m}=a;if(!this.fragContextChanged(s)&&d){if(this.state=lr,this.switchingTrack&&h&&this.completeAudioSwitch(this.switchingTrack),null!=m&&m.tracks){const e=s.initSegment||s;this._bufferInitSegment(u,m.tracks,e,i),r.trigger(l.FRAG_PARSING_INIT_SEGMENT,{frag:e,id:n,tracks:m.tracks})}if(h){const{startPTS:e,endPTS:t,startDTS:n,endDTS:r}=h;c&&(c.elementaryStreams[V]={startPTS:e,endPTS:t,startDTS:n,endDTS:r}),s.setElementaryStreamInfo(V,e,t,n,r),this.bufferFragmentData(h,s,c,i)}if(null!=p&&null!=(t=p.samples)&&t.length){const e=v({id:n,frag:s,details:d},p);r.trigger(l.FRAG_PARSING_METADATA,e)}if(f){const e=v({id:n,frag:s,details:d},f);r.trigger(l.FRAG_PARSING_USERDATA,e)}}else this.fragmentTracker.removeFragment(s)}_bufferInitSegment(e,t,n,r){if(this.state!==lr)return;if(t.video&&delete t.video,t.audiovideo&&delete t.audiovideo,!t.audio)return;const a=t.audio;a.id=f.AUDIO;const i=e.audioCodec;this.log(`Init audio buffer, container:${a.container}, codecs[level/parsed]=[${i}/${a.codec}]`),i&&1===i.split(",").length&&(a.levelCodec=i),this.hls.trigger(l.BUFFER_CODECS,t);const o=a.initSegment;if(null!=o&&o.byteLength){const e={type:"audio",frag:n,part:null,chunkMeta:r,parent:n.type,data:o};this.hls.trigger(l.BUFFER_APPENDING,e)}this.tickImmediate()}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);var a;if(this.switchingTrack||r===_t||r===Tt)if($(e))if(null!=(a=t.details)&&a.live&&!this.initPTS[e.cc]){this.log(`Waiting for video PTS in continuity counter ${e.cc} of live stream before loading audio fragment ${e.sn} of level ${this.trackId}`),this.state=hr;const n=this.mainDetails;n&&n.fragmentStart!==t.details.fragmentStart&&er(t.details,n)}else super.loadFragment(e,t,n);else this._loadInitSegment(e,t);else this.clearTrackerIfNeeded(e)}flushAudioIfNeeded(e){if(this.media&&this.bufferedTrack){const{name:t,lang:n,assocLang:r,characteristics:a,audioCodec:i,channels:o}=this.bufferedTrack;tt({name:t,lang:n,assocLang:r,characteristics:a,audioCodec:i,channels:o},e,nt)||(at(e.url,this.hls)?(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null):this.bufferedTrack=e)}}completeAudioSwitch(e){const{hls:t}=this;this.flushAudioIfNeeded(e),this.bufferedTrack=e,this.switchingTrack=null,t.trigger(l.AUDIO_TRACK_SWITCHED,b({},e))}}class Ga extends _{constructor(e,t){super(t,e.logger),this.hls=void 0,this.canLoad=!1,this.timer=-1,this.hls=e}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){-1!==this.timer&&(self.clearTimeout(this.timer),this.timer=-1)}startLoad(){this.canLoad=!0,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(e,t,n){const r=null==t?void 0:t.renditionReports;if(r){let a=-1;for(let n=0;n=0&&e>t.partTarget&&(o+=1)}const s=n&&$e(n);return new Ge(i,o>=0?o:void 0,s)}}}loadPlaylist(e){this.clearTimer()}loadingPlaylist(e,t){this.clearTimer()}shouldLoadPlaylist(e){return this.canLoad&&!!e&&!!e.url&&(!e.details||e.details.live)}getUrlWithDirectives(e,t){if(t)try{return t.addDirectives(e)}catch(e){this.warn(`Could not construct new URL with HLS Delivery Directives: ${e}`)}return e}playlistLoaded(e,t,n){const{details:r,stats:a}=t,i=self.performance.now(),c=a.loading.first?Math.max(0,i-a.loading.first):0;r.advancedDateTime=Date.now()-c;const u=this.hls.config.timelineOffset;if(u!==r.appliedTimelineOffset){const e=Math.max(u||0,0);r.appliedTimelineOffset=e,r.fragments.forEach((t=>{t.start=t.playlistOffset+e}))}if(r.live||null!=n&&n.live){const u="levelInfo"in t?t.levelInfo:t.track;if(r.reloaded(n),n&&r.fragments.length>0){Vn(n,r);const e=r.playlistParsingError;if(e){this.warn(e);const n=this.hls;if(!n.config.ignorePlaylistParsingErrors){var d;const{networkDetails:i}=t;return void n.trigger(l.ERROR,{type:o.NETWORK_ERROR,details:s.LEVEL_PARSING_ERROR,fatal:!1,url:r.url,error:e,reason:e.message,level:t.level||void 0,parent:null==(d=r.fragments[0])?void 0:d.type,networkDetails:i,stats:a})}r.playlistParsingError=null}}-1===r.requestScheduled&&(r.requestScheduled=a.loading.start);const h=this.hls.mainForwardBufferInfo,f=h?h.end-h.len:0,p=$n(r,1e3*(r.edge-f));if(r.requestScheduled+p0){if(d>3*r.targetduration)this.log(`Playlist last advanced ${c.toFixed(2)}s ago. Omitting segment and part directives.`),g=void 0,v=void 0;else if(null!=n&&n.tuneInGoal&&d-r.partTarget>n.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${n.tuneInGoal} to: ${h} with playlist age: ${r.age}`),h=0;else{const e=Math.floor(h/r.targetduration);if(g+=e,void 0!==v){v+=Math.round(h%r.targetduration/r.partTarget)}this.log(`CDN Tune-in age: ${r.ageHeader}s last advanced ${c.toFixed(2)}s goal: ${h} skip sn ${e} to part ${v}`)}r.tuneInGoal=h}if(m=this.getDeliveryDirectives(r,t.deliveryDirectives,g,v),e||!l)return r.requestScheduled=i,void this.loadingPlaylist(u,m)}else(r.canBlockReload||r.canSkipUntil)&&(m=this.getDeliveryDirectives(r,t.deliveryDirectives,g,v));m&&void 0!==g&&r.canBlockReload&&(r.requestScheduled=a.loading.first+Math.max(p-2*c,p/2)),this.scheduleLoading(u,m,r)}else this.clearTimer()}scheduleLoading(e,t,n){const r=n||e.details;if(!r)return void this.loadingPlaylist(e,t);const a=self.performance.now(),i=r.requestScheduled;if(a>=i)return void this.loadingPlaylist(e,t);const o=i-a;this.log(`reload live playlist ${e.name||e.bitrate+"bps"} in ${Math.round(o)} ms`),this.clearTimer(),this.timer=self.setTimeout((()=>this.loadingPlaylist(e,t)),o)}getDeliveryDirectives(e,t,n,r){let a=$e(e);return null!=t&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,a=Ue.No),new Ge(n,r,a)}checkRetry(e){const t=e.details,n=dt(e),r=e.errorAction,{action:a,retryCount:i=0,retryConfig:o}=r||{},s=!!r&&!!o&&(a===gt.RetryRequest||!r.resolved&&a===gt.SendAlternateToPenaltyBox);if(s){var l;if(i>=o.maxNumRetry)return!1;if(n&&null!=(l=e.context)&&l.deliveryDirectives)this.warn(`Retrying playlist loading ${i+1}/${o.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const e=ft(o,i);this.clearTimer(),this.timer=self.setTimeout((()=>this.loadPlaylist()),e),this.warn(`Retrying playlist loading ${i+1}/${o.maxNumRetry} after "${t}" in ${e}ms`)}e.levelRetry=!0,r.resolved=!0}return s}}function Wa(e,t){if(e.length!==t.length)return!1;for(let n=0;ne[n]!==t[n]))}function Ka(e,t){return t.label.toLowerCase()===e.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(e.lang||"").toLowerCase())}class Xa extends Ga{constructor(e){super(e,"audio-track-controller"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:e}=this;e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.MANIFEST_PARSED,this.onManifestParsed,this),e.on(l.LEVEL_LOADING,this.onLevelLoading,this),e.on(l.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(l.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(l.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.MANIFEST_PARSED,this.onManifestParsed,this),e.off(l.LEVEL_LOADING,this.onLevelLoading,this),e.off(l.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(l.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(l.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.audioTracks||[]}onAudioTrackLoaded(e,t){const{id:n,groupId:r,details:a}=t,i=this.tracksInGroup[n];if(!i||i.groupId!==r)return void this.warn(`Audio track with id:${n} and group:${r} not found in active group ${null==i?void 0:i.groupId}`);const o=i.details;i.details=t.details,this.log(`Audio track ${n} "${i.name}" lang:${i.lang} group:${r} loaded [${a.startSN}-${a.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,o)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.audioGroups||null,r=this.groupIds;let a=this.currentTrack;if(!n||(null==r?void 0:r.length)!==(null==n?void 0:n.length)||null!=n&&n.some((e=>-1===(null==r?void 0:r.indexOf(e))))){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const e=this.tracks.filter((e=>!n||-1!==n.indexOf(e.groupId)));if(e.length)this.selectDefaultTrack&&!e.some((e=>e.default))&&(this.selectDefaultTrack=!1),e.forEach(((e,t)=>{e.id=t}));else if(!a&&!this.tracksInGroup.length)return;this.tracksInGroup=e;const t=this.hls.config.audioPreference;if(!a&&t){const n=et(t,e,nt);if(n>-1)a=e[n];else{const e=et(t,this.tracks);a=this.tracks[e]}}let r=this.findTrackId(a);-1===r&&a&&(r=this.findTrackId(null));const c={audioTracks:e};this.log(`Updating audio tracks, ${e.length} track(s) found in group(s): ${null==n?void 0:n.join(",")}`),this.hls.trigger(l.AUDIO_TRACKS_UPDATED,c);const u=this.trackId;if(-1!==r&&-1===u)this.setAudioTrack(r);else if(e.length&&-1===u){var i;const t=new Error(`No audio track selected for current audio group-ID(s): ${null==(i=this.groupIds)?void 0:i.join(",")} track count: ${e.length}`);this.warn(t.message),this.hls.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:t})}}}onError(e,t){!t.fatal&&t.context&&(t.context.type!==d||t.context.id!==this.trackId||this.groupIds&&-1===this.groupIds.indexOf(t.context.groupId)||this.checkRetry(t))}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(e){this.selectDefaultTrack=!1,this.setAudioTrack(e)}setAudioOption(e){const t=this.hls;if(t.config.audioPreference=e,e){const n=this.allAudioTracks;if(this.selectDefaultTrack=!1,n.length){const r=this.currentTrack;if(r&&tt(e,r,nt))return r;const a=et(e,this.tracksInGroup,nt);if(a>-1){const e=this.tracksInGroup[a];return this.setAudioTrack(a),e}if(r){let r=t.loadLevel;-1===r&&(r=t.firstAutoLevel);const a=function(e,t,n,r,a){const i=t[r],o=t.reduce(((e,t,n)=>{const r=t.uri;return(e[r]||(e[r]=[])).push(n),e}),{})[i.uri];o.length>1&&(r=Math.max.apply(Math,o));const s=i.videoRange,l=i.frameRate,c=i.codecSet.substring(0,4),u=rt(t,r,(t=>{if(t.videoRange!==s||t.frameRate!==l||t.codecSet.substring(0,4)!==c)return!1;const r=t.audioGroups,i=n.filter((e=>!r||-1!==r.indexOf(e.groupId)));return et(e,i,a)>-1}));return u>-1?u:rt(t,r,(t=>{const r=t.audioGroups,i=n.filter((e=>!r||-1!==r.indexOf(e.groupId)));return et(e,i,a)>-1}))}(e,t.levels,n,r,nt);if(-1===a)return null;t.nextLoadLevel=a}if(e.channels||e.audioCodec){const t=et(e,n);if(t>-1)return n[t]}}}return null}setAudioTrack(e){const t=this.tracksInGroup;if(e<0||e>=t.length)return void this.warn(`Invalid audio track id: ${e}`);this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e],a=r.details&&!r.details.live;if(e===this.trackId&&r===n&&a)return;if(this.log(`Switching to audio-track ${e} "${r.name}" lang:${r.lang} group:${r.groupId} channels:${r.channels}`),this.trackId=e,this.currentTrack=r,this.hls.trigger(l.AUDIO_TRACK_SWITCHING,b({},r)),a)return;const i=this.switchParams(r.url,null==n?void 0:n.details,r.details);this.loadPlaylist(i)}findTrackId(e){const t=this.tracksInGroup;for(let n=0;n{const n={label:"async-blocker",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(n,e)}))}prependBlocker(e){return new Promise((t=>{if(this.queues){const n={label:"async-blocker-prepend",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[e].unshift(n)}}))}removeBlockers(){null!==this.queues&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach((e=>{var t;const n=null==(t=e[0])?void 0:t.label;"async-blocker"!==n&&"async-blocker-prepend"!==n||(e[0].execute(),e.splice(0,1))}))}unblockAudio(e){if(null===this.queues)return;this.queues.audio[0]===e&&this.shiftAndExecuteNext("audio")}executeNext(e){if(null===this.queues||null===this.tracks)return;const t=this.queues[e];if(t.length){const r=t[0];try{r.execute()}catch(t){var n;if(r.onError(t),null===this.queues||null===this.tracks)return;const a=null==(n=this.tracks[e])?void 0:n.buffer;null!=a&&a.updating||this.shiftAndExecuteNext(e)}}}shiftAndExecuteNext(e){null!==this.queues&&(this.queues[e].shift(),this.executeNext(e))}current(e){var t;return(null==(t=this.queues)?void 0:t[e][0])||null}toString(){const{queues:e,tracks:t}=this;return null===e||null===t?"":`\n${this.list("video")}\n${this.list("audio")}\n${this.list("audiovideo")}}`}list(e){var t,n;return null!=(t=this.queues)&&t[e]||null!=(n=this.tracks)&&n[e]?`${e}: (${this.listSbInfo(e)}) ${this.listOps(e)}`:""}listSbInfo(e){var t;const n=null==(t=this.tracks)?void 0:t[e],r=null==n?void 0:n.buffer;return r?`SourceBuffer${r.updating?" updating":""}${n.ended?" ended":""}${n.ending?" ending":""}`:"none"}listOps(e){var t;return(null==(t=this.queues)?void 0:t[e].map((e=>e.label)).join(", "))||""}}const Za=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,Qa="HlsJsTrackRemovedError";class ei extends Error{constructor(e){super(e),this.name=Qa}}class ti extends _{constructor(e,t){var n;super("buffer-controller",e.logger),this.hls=void 0,this.fragmentTracker=void 0,this.details=null,this._objectUrl=null,this.operationQueue=null,this.bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.blockedAudioAppend=null,this.lastVideoAppendEnd=0,this.appendSource=void 0,this.transferData=void 0,this.overrides=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.sourceBuffers=[[null,null],[null,null]],this._onEndStreaming=e=>{var t;this.hls&&"open"===(null==(t=this.mediaSource)?void 0:t.readyState)&&this.hls.pauseBuffering()},this._onStartStreaming=e=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=e=>{const{media:t,mediaSource:n}=this;e&&this.log("Media source opened"),t&&n&&(n.removeEventListener("sourceopen",this._onMediaSourceOpen),t.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(l.MEDIA_ATTACHED,{media:t,mediaSource:n}),null!==this.mediaSource&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:e,_objectUrl:t}=this;e!==t&&this.error(`Media element src was set while attaching MediaSource (${t} > ${e})`)},this.hls=e,this.fragmentTracker=t,this.appendSource=(n=S(e.config.preferManagedMediaSource),"undefined"!=typeof self&&n===self.ManagedMediaSource),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:e}=this;e.on(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.MANIFEST_PARSED,this.onManifestParsed,this),e.on(l.BUFFER_RESET,this.onBufferReset,this),e.on(l.BUFFER_APPENDING,this.onBufferAppending,this),e.on(l.BUFFER_CODECS,this.onBufferCodecs,this),e.on(l.BUFFER_EOS,this.onBufferEos,this),e.on(l.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(l.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(l.FRAG_PARSED,this.onFragParsed,this),e.on(l.FRAG_CHANGED,this.onFragChanged,this),e.on(l.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.MANIFEST_PARSED,this.onManifestParsed,this),e.off(l.BUFFER_RESET,this.onBufferReset,this),e.off(l.BUFFER_APPENDING,this.onBufferAppending,this),e.off(l.BUFFER_CODECS,this.onBufferCodecs,this),e.off(l.BUFFER_EOS,this.onBufferEos,this),e.off(l.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(l.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(l.FRAG_PARSED,this.onFragParsed,this),e.off(l.FRAG_CHANGED,this.onFragChanged,this),e.off(l.ERROR,this.onError,this)}transferMedia(){const{media:e,mediaSource:t}=this;if(!e)return null;const n={};if(this.operationQueue){const e=this.isUpdating();e||this.operationQueue.removeBlockers();const t=this.isQueued();(e||t)&&this.warn(`Transfering MediaSource with${t?" operations in queue":""}${e?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const r=this.transferData;return!this.sourceBufferCount&&r&&r.mediaSource===t?v(n,r.tracks):this.sourceBuffers.forEach((e=>{const[t]=e;t&&(n[t]=v({},this.tracks[t]),this.removeBuffer(t)),e[0]=e[1]=null})),{media:e,mediaSource:t,tracks:n}}initTracks(){this.sourceBuffers=[[null,null],[null,null]],this.tracks={},this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(e,t){var n;let r=2;(t.audio&&!t.video||!t.altAudio)&&(r=1),this.bufferCodecEventsTotal=r,this.log(`${r} bufferCodec event(s) expected.`),null!=(n=this.transferData)&&n.mediaSource&&this.sourceBufferCount&&r&&this.bufferCreated()}onMediaAttaching(e,t){const n=this.media=t.media,r=S(this.appendSource);if(this.transferData=this.overrides=void 0,n&&r){const e=!!t.mediaSource;(e||t.overrides)&&(this.transferData=t,this.overrides=t.overrides);const a=this.mediaSource=t.mediaSource||new r;if(this.assignMediaSource(a),e)this._objectUrl=n.src,this.attachTransferred();else{const e=this._objectUrl=self.URL.createObjectURL(a);if(this.appendSource)try{n.removeAttribute("src");const t=self.ManagedMediaSource;n.disableRemotePlayback=n.disableRemotePlayback||t&&a instanceof t,ni(n),function(e,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,e.appendChild(n)}(n,e),n.load()}catch(t){n.src=e}else n.src=e}n.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(e){var t,n;this.log(`${(null==(t=this.transferData)?void 0:t.mediaSource)===e?"transferred":"created"} media source: ${null==(n=e.constructor)?void 0:n.name}`),e.addEventListener("sourceopen",this._onMediaSourceOpen),e.addEventListener("sourceended",this._onMediaSourceEnded),e.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(e.addEventListener("startstreaming",this._onStartStreaming),e.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const e=this.media,t=this.transferData;if(!t||!e)return;const n=this.tracks,r=t.tracks,a=r?Object.keys(r):null,i=a?a.length:0,o=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(r&&a&&i){if(!this.tracksReady)return this.hls.config.startFragPrefetch=!0,void this.log("attachTransferred: waiting for SourceBuffer track info");if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})\nrequired tracks: ${Xe(n,((e,t)=>"initSegment"===e?void 0:t))};\ntransfer tracks: ${Xe(r,((e,t)=>"initSegment"===e?void 0:t))}}`),!P(r,n)){t.mediaSource=null,t.tracks=void 0;const a=e.currentTime,i=this.details,o=Math.max(a,(null==i?void 0:i.fragments[0].start)||0);return o-a>1?void this.log(`attachTransferred: waiting for playback to reach new tracks start time ${a} -> ${o}`):(this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(r)}"->"${Object.keys(n)}") start time: ${o} currentTime: ${a}`),this.onMediaDetaching(l.MEDIA_DETACHING,{}),this.onMediaAttaching(l.MEDIA_ATTACHING,t),void(e.currentTime=o))}this.transferData=void 0,a.forEach((e=>{const t=e,n=r[t];if(n){const e=n.buffer;if(e){const r=this.fragmentTracker,a=n.id;if(r.hasFragments(a)||r.hasParts(a)){const n=Yt.getBuffered(e);r.detectEvictedFragments(t,n,a,null,!0)}const i=ri(t),o=[t,e];this.sourceBuffers[i]=o,e.updating&&this.operationQueue&&this.operationQueue.prependBlocker(t),this.trackSourceBuffer(t,n)}}})),o(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),o()}get mediaSourceOpenOrEnded(){var e;const t=null==(e=this.mediaSource)?void 0:e.readyState;return"open"===t||"ended"===t}onMediaDetaching(e,t){const n=!!t.transferMedia;this.transferData=this.overrides=void 0;const{media:r,mediaSource:a,_objectUrl:i}=this;if(a){if(this.log("media source "+(n?"transferring":"detaching")),n)this.sourceBuffers.forEach((([e])=>{e&&this.removeBuffer(e)})),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const e="open"===a.readyState;try{const t=a.sourceBuffers;for(let n=t.length;n--;)e&&t[n].abort(),a.removeSourceBuffer(t[n]);e&&a.endOfStream()}catch(e){this.warn(`onMediaDetaching: ${e.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}a.removeEventListener("sourceopen",this._onMediaSourceOpen),a.removeEventListener("sourceended",this._onMediaSourceEnded),a.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(a.removeEventListener("startstreaming",this._onStartStreaming),a.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}r&&(r.removeEventListener("emptied",this._onMediaEmptied),n||(i&&self.URL.revokeObjectURL(i),this.mediaSrc===i?(r.removeAttribute("src"),this.appendSource&&ni(r),r.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(l.MEDIA_DETACHED,t)}onBufferReset(){this.sourceBuffers.forEach((([e])=>{e&&this.resetBuffer(e)})),this.initTracks()}resetBuffer(e){var t;const n=null==(t=this.tracks[e])?void 0:t.buffer;if(this.removeBuffer(e),n)try{var r;null!=(r=this.mediaSource)&&r.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(n)}catch(t){this.warn(`onBufferReset ${e}`,t)}delete this.tracks[e]}removeBuffer(e){this.removeBufferListeners(e),this.sourceBuffers[ri(e)]=[null,null];const t=this.tracks[e];t&&(t.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new Ja(this.tracks)}onBufferCodecs(e,t){const n=this.tracks,r=Object.keys(t);this.log(`BUFFER_CODECS: "${r}" (current SB count ${this.sourceBufferCount})`);const a="audiovideo"in t&&(n.audio||n.video)||n.audiovideo&&("audio"in t||"video"in t),i=!a&&this.sourceBufferCount&&this.media&&r.some((e=>!n[e]));a||i?this.warn(`Unsupported transition between "${Object.keys(n)}" and "${r}" SourceBuffers`):(r.forEach((e=>{var r,a,i;const o=t[e],{id:s,codec:l,levelCodec:c,container:u,metadata:d,supplemental:h}=o;let f=n[e];const p=null==(r=this.transferData)||null==(a=r.tracks)?void 0:a[e],m=null!=p&&p.buffer?p:f,g=(null==m?void 0:m.pendingCodec)||(null==m?void 0:m.codec),v=null==m?void 0:m.levelCodec;f||(f=n[e]={buffer:void 0,listeners:[],codec:l,supplemental:h,container:u,levelCodec:c,metadata:d,id:s});const y=Oe(g,v),b=null==y?void 0:y.replace(Za,"$1");let _=Oe(l,c);const I=null==(i=_)?void 0:i.replace(Za,"$1");_&&y&&b!==I&&("audio"===e.slice(0,5)&&(_=Le(_,this.appendSource)),this.log(`switching codec ${g} to ${_}`),_!==(f.pendingCodec||f.codec)&&(f.pendingCodec=_),f.container=u,this.appendChangeType(e,u,_))})),(this.tracksReady||this.sourceBufferCount)&&(t.tracks=this.sourceBufferTracks),this.sourceBufferCount||this.mediaSourceOpenOrEnded&&this.checkPendingTracks())}get sourceBufferTracks(){return Object.keys(this.tracks).reduce(((e,t)=>{const n=this.tracks[t];return e[t]={id:n.id,container:n.container,codec:n.codec,levelCodec:n.levelCodec},e}),{})}appendChangeType(e,t,n){const r=`${t};codecs=${n}`,a={label:`change-type=${r}`,execute:()=>{const a=this.tracks[e];if(a){const i=a.buffer;null!=i&&i.changeType&&(this.log(`changing ${e} sourceBuffer type to ${r}`),i.changeType(r),a.codec=n,a.container=t)}this.shiftAndExecuteNext(e)},onStart:()=>{},onComplete:()=>{},onError:t=>{this.warn(`Failed to change ${e} SourceBuffer type`,t)}};this.append(a,e,this.isPending(this.tracks[e]))}blockAudio(e){var t;const n=e.start,r=n+.05*e.duration;if(!0===(null==(t=this.fragmentTracker.getAppendedFrag(n,f.MAIN))?void 0:t.gap))return;const a={label:"block-audio",execute:()=>{var e;const t=this.tracks.video;(this.lastVideoAppendEnd>r||null!=t&&t.buffer&&Yt.isBuffered(t.buffer,r)||!0===(null==(e=this.fragmentTracker.getAppendedFrag(r,f.MAIN))?void 0:e.gap))&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:e=>{this.warn("Error executing block-audio operation",e)}};this.blockedAudioAppend={op:a,frag:e},this.append(a,"audio",!0)}unblockAudio(){const{blockedAudioAppend:e,operationQueue:t}=this;e&&t&&(this.blockedAudioAppend=null,t.unblockAudio(e.op))}onBufferAppending(e,t){const{tracks:n}=this,{data:r,type:a,parent:i,frag:c,part:u,chunkMeta:d}=t,h=d.buffering[a],f=c.sn,p=self.performance.now();h.start=p;const m=c.stats.buffering,g=u?u.stats.buffering:null;0===m.start&&(m.start=p),g&&0===g.start&&(g.start=p);const v=n.audio;let y=!1;"audio"===a&&"audio/mpeg"===(null==v?void 0:v.container)&&(y=!this.lastMpegAudioChunk||1===d.id||this.lastMpegAudioChunk.sn!==d.sn,this.lastMpegAudioChunk=d);const b=this.tracks.video,_=null==b?void 0:b.buffer;if(_&&"initSegment"!==f){const e=u||c,t=this.blockedAudioAppend;if("audio"!==a||"main"===i||this.blockedAudioAppend){if("video"===a){const n=e.end;if(t){const e=t.frag.start;(n>e||n{if(h.executeStart=self.performance.now(),y){const e=this.tracks[a];if(e){const t=e.buffer;if(t){const e=I-t.timestampOffset;Math.abs(e)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${I} (delta: ${e}) sn: ${f})`),t.timestampOffset=I)}}}this.appendExecutor(r,a)},onStart:()=>{},onComplete:()=>{const e=self.performance.now();h.executeEnd=h.end=e,0===m.first&&(m.first=e),g&&0===g.first&&(g.first=e);const t={};this.sourceBuffers.forEach((([e,n])=>{e&&(t[e]=Yt.getBuffered(n))})),this.appendErrors[a]=0,"audio"===a||"video"===a?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(l.BUFFER_APPENDED,{type:a,frag:c,part:u,chunkMeta:d,parent:c.type,timeRanges:t})},onError:e=>{var t;const n={type:o.MEDIA_ERROR,parent:c.type,details:s.BUFFER_APPEND_ERROR,sourceBufferName:a,frag:c,part:u,chunkMeta:d,error:e,err:e,fatal:!1},r=null==(t=this.media)?void 0:t.error;if(e.code===DOMException.QUOTA_EXCEEDED_ERR)n.details=s.BUFFER_FULL_ERROR;else if(e.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!r)n.errorAction=bt(!0);else if(e.name===Qa&&0===this.sourceBufferCount)n.errorAction=bt(!0);else{const e=++this.appendErrors[a];this.warn(`Failed ${e}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${a}" sourceBuffer (${r||"no media error"})`),(e>=this.hls.config.appendErrorMaxRetry||r)&&(n.fatal=!0)}this.hls.trigger(l.ERROR,n)}};this.append(T,a,this.isPending(this.tracks[a]))}getFlushOp(e,t,n){return this.log(`queuing "${e}" remove ${t}-${n}`),{label:"remove",execute:()=>{this.removeExecutor(e,t,n)},onStart:()=>{},onComplete:()=>{this.hls.trigger(l.BUFFER_FLUSHED,{type:e})},onError:r=>{this.warn(`Failed to remove ${t}-${n} from "${e}" SourceBuffer`,r)}}}onBufferFlushing(e,t){const{type:n,startOffset:r,endOffset:a}=t;n?this.append(this.getFlushOp(n,r,a),n):this.sourceBuffers.forEach((([e])=>{e&&this.append(this.getFlushOp(e,r,a),e)}))}onFragParsed(e,t){const{frag:n,part:r}=t,a=[],i=r?r.elementaryStreams:n.elementaryStreams;i[j]?a.push("audiovideo"):(i[V]&&a.push("audio"),i[Y]&&a.push("video"));0===a.length&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${n.type} level: ${n.level} sn: ${n.sn}`),this.blockBuffers((()=>{const e=self.performance.now();n.stats.buffering.end=e,r&&(r.stats.buffering.end=e);const t=r?r.stats:n.stats;this.hls.trigger(l.FRAG_BUFFERED,{frag:n,part:r,stats:t,id:n.type})}),a).catch((e=>{this.warn(`Fragment buffered callback ${e}`),this.stepOperationQueue(this.sourceBufferTypes)}))}onFragChanged(e,t){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some((([e])=>{var t,n;return e&&(!(null!=(t=this.tracks[e])&&t.ended)||(null==(n=this.tracks[e])?void 0:n.ending))}))}onBufferEos(e,t){var n;this.sourceBuffers.forEach((([e])=>{if(e){const n=this.tracks[e];t.type&&t.type!==e||(n.ending=!0,n.ended||(n.ended=!0,this.log(`${e} buffer reached EOS`)))}}));const r=!1!==(null==(n=this.overrides)?void 0:n.endOfStream);this.sourceBufferCount>0&&!this.sourceBuffers.some((([e])=>{var t;return e&&!(null!=(t=this.tracks[e])&&t.ended)}))&&(r?(this.log("Queueing EOS"),this.blockUntilOpen((()=>{this.tracksEnded();const{mediaSource:e}=this;e&&"open"===e.readyState?(this.log("Calling mediaSource.endOfStream()"),e.endOfStream(),this.hls.trigger(l.BUFFERED_TO_END,void 0)):e&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${e.readyState}`)}))):(this.tracksEnded(),this.hls.trigger(l.BUFFERED_TO_END,void 0)))}tracksEnded(){this.sourceBuffers.forEach((([e])=>{if(null!==e){const t=this.tracks[e];t&&(t.ending=!1)}}))}onLevelUpdated(e,{details:t}){t.fragments.length&&(this.details=t,this.updateDuration())}updateDuration(){const e=this.getDurationAndRange();e&&this.blockUntilOpen((()=>this.updateMediaSource(e)))}onError(e,t){if(t.details===s.BUFFER_APPEND_ERROR&&t.frag){var n;const e=null==(n=t.errorAction)?void 0:n.nextAutoLevel;r(e)&&e!==t.frag.level&&this.resetAppendErrors()}}resetAppendErrors(){this.appendErrors={audio:0,video:0,audiovideo:0}}trimBuffers(){const{hls:e,details:t,media:n}=this;if(!n||null===t)return;if(!this.sourceBufferCount)return;const a=e.config,i=n.currentTime,o=t.levelTargetDuration,s=t.live&&null!==a.liveBackBufferLength?a.liveBackBufferLength:a.backBufferLength;if(r(s)&&s>=0){const e=Math.max(s,o),t=Math.floor(i/o)*o-e;this.flushBackBuffer(i,o,t)}if(r(a.frontBufferFlushThreshold)&&a.frontBufferFlushThreshold>0){const e=Math.max(a.maxBufferLength,a.frontBufferFlushThreshold),t=Math.max(e,o),n=Math.floor(i/o)*o+t;this.flushFrontBuffer(i,o,n)}}flushBackBuffer(e,t,n){this.sourceBuffers.forEach((([e,t])=>{if(t){const a=Yt.getBuffered(t);if(a.length>0&&n>a.start(0)){var r;this.hls.trigger(l.BACK_BUFFER_REACHED,{bufferEnd:n});const t=this.tracks[e];if(null!=(r=this.details)&&r.live)this.hls.trigger(l.LIVE_BACK_BUFFER_REACHED,{bufferEnd:n});else if(null!=t&&t.ended)return void this.log(`Cannot flush ${e} back buffer while SourceBuffer is in ended state`);this.hls.trigger(l.BUFFER_FLUSHING,{startOffset:0,endOffset:n,type:e})}}}))}flushFrontBuffer(e,t,n){this.sourceBuffers.forEach((([t,r])=>{if(r){const a=Yt.getBuffered(r),i=a.length;if(i<2)return;const o=a.start(i-1),s=a.end(i-1);if(n>o||e>=o&&e<=s)return;this.hls.trigger(l.BUFFER_FLUSHING,{startOffset:o,endOffset:1/0,type:t})}}))}getDurationAndRange(){var e;const{details:t,mediaSource:n}=this;if(!t||!this.media||"open"!==(null==n?void 0:n.readyState))return null;const a=t.edge;if(t.live&&this.hls.config.liveDurationInfinity){if(t.fragments.length&&t.live&&n.setLiveSeekableRange){const e=Math.max(0,t.fragmentStart);return{duration:1/0,start:e,end:Math.max(e,a)}}return{duration:1/0}}const i=null==(e=this.overrides)?void 0:e.duration;if(i)return r(i)?{duration:i}:null;const o=this.media.duration;return a>(r(n.duration)?n.duration:0)&&a>o||!r(o)?{duration:a}:null}updateMediaSource({duration:e,start:t,end:n}){const a=this.mediaSource;this.media&&a&&"open"===a.readyState&&(a.duration!==e&&(r(e)&&this.log(`Updating MediaSource duration to ${e.toFixed(3)}`),a.duration=e),void 0!==t&&void 0!==n&&(this.log(`MediaSource duration is set to ${a.duration}. Setting seekable range to ${t}-${n}.`),a.setLiveSeekableRange(t,n)))}get tracksReady(){const e=this.pendingTrackCount;return e>0&&(e>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:e,pendingTrackCount:t,tracks:n}=this;if(this.log(`checkPendingTracks (pending: ${t} codec events expected: ${e}) ${Xe(n)}`),this.tracksReady){var r;const e=null==(r=this.transferData)?void 0:r.tracks;e&&Object.keys(e).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const e={};this.sourceBuffers.forEach((([t,n])=>{if(t){const r=this.tracks[t];e[t]={buffer:n,container:r.container,codec:r.codec,supplemental:r.supplemental,levelCodec:r.levelCodec,id:r.id,metadata:r.metadata}}})),this.hls.trigger(l.BUFFER_CREATED,{tracks:e}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach((([e])=>{this.executeNext(e)}))}else{const e=new Error("could not create source buffer for media codec(s)");this.hls.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:e,reason:e.message})}}createSourceBuffers(){const{tracks:e,sourceBuffers:t,mediaSource:n}=this;if(!n)throw new Error("createSourceBuffers called when mediaSource was null");for(const a in e){const i=a,c=e[i];if(this.isPending(c)){const e=this.getTrackCodec(c,i),a=`${c.container};codecs=${e}`;c.codec=e,this.log(`creating sourceBuffer(${a})${this.currentOp(i)?" Queued":""} ${Xe(c)}`);try{const e=n.addSourceBuffer(a),r=ri(i),o=[i,e];t[r]=o,c.buffer=e}catch(e){var r;return this.error(`error while trying to add sourceBuffer: ${e.message}`),this.shiftAndExecuteNext(i),null==(r=this.operationQueue)||r.removeBlockers(),delete this.tracks[i],void this.hls.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:e,sourceBufferName:i,mimeType:a,parent:c.id})}this.trackSourceBuffer(i,c)}}this.bufferCreated()}getTrackCodec(e,t){const n=e.supplemental;let r=e.codec;n&&("video"===t||"audiovideo"===t)&&Me(n,"video")&&(r=function(e,t){const n=[];if(e){const t=e.split(",");for(let e=0;e{const n=t.removedRanges;null!=n&&n.length&&this.hls.trigger(l.BUFFER_FLUSHED,{type:e})}))}get mediaSrc(){var e,t;const n=(null==(e=this.media)||null==(t=e.querySelector)?void 0:t.call(e,"source"))||this.media;return null==n?void 0:n.src}onSBUpdateStart(e){const t=this.currentOp(e);t&&t.onStart()}onSBUpdateEnd(e){var t;if("closed"===(null==(t=this.mediaSource)?void 0:t.readyState))return void this.resetBuffer(e);const n=this.currentOp(e);n&&(n.onComplete(),this.shiftAndExecuteNext(e))}onSBUpdateError(e,t){var n;const r=new Error(`${e} SourceBuffer error. MediaSource readyState: ${null==(n=this.mediaSource)?void 0:n.readyState}`);this.error(`${r}`,t),this.hls.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.BUFFER_APPENDING_ERROR,sourceBufferName:e,error:r,fatal:!1});const a=this.currentOp(e);a&&a.onError(r)}removeExecutor(e,t,n){const{media:a,mediaSource:i}=this,o=this.tracks[e],s=null==o?void 0:o.buffer;if(!a||!i||!s)return this.warn(`Attempting to remove from the ${e} SourceBuffer, but it does not exist`),void this.shiftAndExecuteNext(e);const l=r(a.duration)?a.duration:1/0,c=r(i.duration)?i.duration:1/0,u=Math.max(0,t),d=Math.min(n,l,c);d>u&&(!o.ending||o.ended)?(o.ended=!1,this.log(`Removing [${u},${d}] from the ${e} SourceBuffer`),s.remove(u,d)):this.shiftAndExecuteNext(e)}appendExecutor(e,t){const n=this.tracks[t],r=null==n?void 0:n.buffer;if(!r)throw new ei(`Attempting to append to the ${t} SourceBuffer, but it does not exist`);n.ending=!1,n.ended=!1,r.appendBuffer(e)}blockUntilOpen(e){if(this.isUpdating()||this.isQueued())this.blockBuffers(e).catch((e=>{this.warn(`SourceBuffer blocked callback ${e}`),this.stepOperationQueue(this.sourceBufferTypes)}));else try{e()}catch(e){this.warn(`Callback run without blocking ${this.operationQueue} ${e}`)}}isUpdating(){return this.sourceBuffers.some((([e,t])=>e&&t.updating))}isQueued(){return this.sourceBuffers.some((([e])=>e&&!!this.currentOp(e)))}isPending(e){return!!e&&!e.buffer}blockBuffers(e,t=this.sourceBufferTypes){if(!t.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(e);const{operationQueue:n}=this,r=t.map((e=>this.appendBlocker(e)));return t.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(r).then((t=>{n===this.operationQueue&&(e(),this.stepOperationQueue(this.sourceBufferTypes))}))}stepOperationQueue(e){e.forEach((e=>{var t;const n=null==(t=this.tracks[e])?void 0:t.buffer;n&&!n.updating&&this.shiftAndExecuteNext(e)}))}append(e,t,n){this.operationQueue&&this.operationQueue.append(e,t,n)}appendBlocker(e){if(this.operationQueue)return this.operationQueue.appendBlocker(e)}currentOp(e){return this.operationQueue?this.operationQueue.current(e):null}executeNext(e){e&&this.operationQueue&&this.operationQueue.executeNext(e)}shiftAndExecuteNext(e){this.operationQueue&&this.operationQueue.shiftAndExecuteNext(e)}get pendingTrackCount(){return Object.keys(this.tracks).reduce(((e,t)=>e+(this.isPending(this.tracks[t])?1:0)),0)}get sourceBufferCount(){return this.sourceBuffers.reduce(((e,[t])=>e+(t?1:0)),0)}get sourceBufferTypes(){return this.sourceBuffers.map((([e])=>e)).filter((e=>!!e))}addBufferListener(e,t,n){const r=this.tracks[e];if(!r)return;const a=r.buffer;if(!a)return;const i=n.bind(this,e);r.listeners.push({event:t,listener:i}),a.addEventListener(t,i)}removeBufferListeners(e){const t=this.tracks[e];if(!t)return;const n=t.buffer;n&&(t.listeners.forEach((e=>{n.removeEventListener(e.event,e.listener)})),t.listeners.length=0)}}function ni(e){const t=e.querySelectorAll("source");[].slice.call(t).forEach((t=>{e.removeChild(t)}))}function ri(e){return"audio"===e?1:0}class ai{constructor(e){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=e,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(e){this.streamController=e}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:e}=this;e.on(l.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(l.MANIFEST_PARSED,this.onManifestParsed,this),e.on(l.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(l.BUFFER_CODECS,this.onBufferCodecs,this),e.on(l.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(l.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(l.MANIFEST_PARSED,this.onManifestParsed,this),e.off(l.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(l.BUFFER_CODECS,this.onBufferCodecs,this),e.off(l.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(e,t){const n=this.hls.levels[t.droppedLevel];this.isLevelAllowed(n)&&this.restrictedLevels.push({bitrate:n.bitrate,height:n.height,width:n.width})}onMediaAttaching(e,t){this.media=t.media instanceof HTMLVideoElement?t.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(e,t){const n=this.hls;this.restrictedLevels=[],this.firstLevel=t.firstLevel,n.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onLevelsUpdated(e,t){this.timer&&r(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(e,t){this.hls.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onMediaDetaching(){this.stopCapping(),this.media=null}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0)return void(this.clientRect=null);const e=this.hls.levels;if(e.length){const t=this.hls,n=this.getMaxLevel(e.length-1);n!==this.autoLevelCapping&&t.logger.log(`Setting autoLevelCapping to ${n}: ${e[n].height}p@${e[n].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),t.autoLevelCapping=n,t.autoLevelEnabled&&t.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}}getMaxLevel(e){const t=this.hls.levels;if(!t.length)return-1;const n=t.filter(((t,n)=>this.isLevelAllowed(t)&&n<=e));return this.clientRect=null,ai.getMaxLevelByMediaSize(n,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const e=this.media,t={width:0,height:0};if(e){const n=e.getBoundingClientRect();t.width=n.width,t.height=n.height,t.width||t.height||(t.width=n.right-n.left||e.width||0,t.height=n.bottom-n.top||e.height||0)}return this.clientRect=t,t}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let e=1;if(!this.hls.config.ignoreDevicePixelRatio)try{e=self.devicePixelRatio}catch(e){}return Math.min(e,this.hls.config.maxDevicePixelRatio)}isLevelAllowed(e){return!this.restrictedLevels.some((t=>e.bitrate===t.bitrate&&e.width===t.width&&e.height===t.height))}static getMaxLevelByMediaSize(e,t,n){if(null==e||!e.length)return-1;let r=e.length-1;const a=Math.max(t,n);for(let t=0;t=a||n.height>=a)&&(i=n,!(o=e[t+1])||i.width!==o.width||i.height!==o.height)){r=t;break}}var i,o;return r}}const ii={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},oi={HLS:"h"},si="CMCD-Object",li="CMCD-Request",ci="CMCD-Session",ui="CMCD-Status",di={[si]:["br","d","ot","tb"],[li]:["bl","dl","mtp","nor","nrr","su"],[ci]:["cid","pr","sf","sid","st","v"],[ui]:["bs","rtp"]};class hi{constructor(e,t){Array.isArray(e)&&(e=e.map((e=>e instanceof hi?e:new hi(e)))),this.value=e,this.params=t}}function fi(e,t,n,r){return new Error(`failed to ${e} "${a=t,Array.isArray(a)?JSON.stringify(a):a instanceof Map?"Map{}":a instanceof Set?"Set{}":"object"==typeof a?JSON.stringify(a):String(a)}" as ${n}`,{cause:r});var a}function pi(e,t,n){return fi("serialize",e,t,n)}class mi{constructor(e){this.description=e}}const gi="Bare Item";function vi(e){if(!1===ArrayBuffer.isView(e))throw pi(e,"Byte Sequence");return`:${t=e,btoa(String.fromCharCode(...t))}:`;var t}function yi(e){if(function(e){return e<-999999999999999||99999999999999912)throw pi(e,"Decimal");const n=t.toString();return n.includes(".")?n:`${n}.0`}const _i=/[\x00-\x1f\x7f]+/;function Ii(e){const t=(n=e).description||n.toString().slice(7,-1);var n;if(!1===/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t))throw pi(t,"Token");return t}function Ti(e){switch(typeof e){case"number":if(!r(e))throw pi(e,gi);return Number.isInteger(e)?yi(e):bi(e);case"string":return function(e){if(_i.test(e))throw pi(e,"String");return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}(e);case"symbol":return Ii(e);case"boolean":return function(e){if("boolean"!=typeof e)throw pi(e,"Boolean");return e?"?1":"?0"}(e);case"object":if(e instanceof Date)return function(e){return`@${yi(e.getTime()/1e3)}`}(e);if(e instanceof Uint8Array)return vi(e);if(e instanceof mi)return Ii(e);default:throw pi(e,gi)}}function wi(e){if(!1===/^[a-z*][a-z0-9\-_.*]*$/.test(e))throw pi(e,"Key");return e}function Ei(e){return null==e?"":Object.entries(e).map((([e,t])=>!0===t?`;${wi(e)}`:`;${wi(e)}=${Ti(t)}`)).join("")}function Mi(e){return e instanceof hi?`${Ti(e.value)}${Ei(e.params)}`:Ti(e)}function ki(e,t={whitespace:!0}){if("object"!=typeof e)throw pi(e,"Dict");const n=e instanceof Map?e.entries():Object.entries(e),r=(null==t?void 0:t.whitespace)?" ":"";return Array.from(n).map((([e,t])=>{t instanceof hi==!1&&(t=new hi(t));let n=wi(e);var r;return!0===t.value?n+=Ei(t.params):(n+="=",Array.isArray(t.value)?n+=`(${(r=t).value.map(Mi).join(" ")})${Ei(r.params)}`:n+=Mi(t)),n})).join(`,${r}`)}const Si=e=>Math.round(e),Pi=e=>100*Si(e/100),Ai={br:Si,d:Si,bl:Pi,dl:Pi,mtp:Pi,nor:(e,t)=>((null==t?void 0:t.baseUrl)&&(e=function(e,t){const n=new URL(e),r=new URL(t);if(n.origin!==r.origin)return e;const a=n.pathname.split("/").slice(1),i=r.pathname.split("/").slice(1,-1);for(;a[0]===i[0];)a.shift(),i.shift();for(;i.length;)i.shift(),a.unshift("..");return a.join("/")}(e,t.baseUrl)),encodeURIComponent(e)),rtp:Pi,tb:Si};function xi(e,t){const n={};if(null==e||"object"!=typeof e)return n;const a=Object.keys(e).sort(),i=v({},Ai,null==t?void 0:t.formatters),o=null==t?void 0:t.filter;return a.forEach((a=>{if(null==o?void 0:o(a))return;let s=e[a];const l=i[a];l&&(s=l(s,t)),"v"===a&&1===s||"pr"==a&&1===s||function(e){return"number"==typeof e?r(e):null!=e&&""!==e&&!1!==e}(s)&&(function(e){return"ot"===e||"sf"===e||"st"===e}(a)&&"string"==typeof s&&(s=new mi(s)),n[a]=s)})),n}function Bi(e,t={}){return e?function(e,t){return ki(e,t)}(xi(e,t),v({whitespace:!1},t)):""}function Li(e,t,n){return v(e,function(e,t={}){const n={};if(!e)return n;const r=Object.entries(e),a=Object.entries(di).concat(Object.entries((null==t?void 0:t.customHeaderMap)||{})),i=r.reduce(((e,t)=>{var n,r;const[i,o]=t,s=(null===(n=a.find((e=>e[1].includes(i))))||void 0===n?void 0:n[0])||li;return null!==(r=e[s])&&void 0!==r||(e[s]={}),e[s][i]=o,e}),{});return Object.entries(i).reduce(((e,[n,r])=>(e[n]=Bi(r,t),e)),n)}(t,n))}const Oi=/CMCD=[^&#]+/;function Ci(e,t,n){const r=function(e,t={}){if(!e)return"";const n=Bi(e,t);return`CMCD=${encodeURIComponent(n)}`}(t,n);if(!r)return e;if(Oi.test(e))return e.replace(Oi,r);const a=e.includes("?")?"&":"?";return`${e}${a}${r}`}class Di{constructor(e){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=e=>{try{this.apply(e,{ot:ii.MANIFEST,su:!this.initialized})}catch(e){this.hls.logger.warn("Could not generate manifest CMCD data.",e)}},this.applyFragmentData=e=>{try{const{frag:t,part:n}=e,r=this.hls.levels[t.level],a=this.getObjectType(t),i={d:1e3*(n||t).duration,ot:a};a!==ii.VIDEO&&a!==ii.AUDIO&&a!=ii.MUXED||(i.br=r.bitrate/1e3,i.tb=this.getTopBandwidth(a)/1e3,i.bl=this.getBufferLength(a));const o=n?this.getNextPart(n):this.getNextFrag(t);null!=o&&o.url&&o.url!==t.url&&(i.nor=o.url),this.apply(e,i)}catch(e){this.hls.logger.warn("Could not generate segment CMCD data.",e)}},this.hls=e;const t=this.config=e.config,{cmcd:n}=t;null!=n&&(t.pLoader=this.createPlaylistLoader(),t.fLoader=this.createFragmentLoader(),this.sid=n.sessionId||e.sessionId,this.cid=n.contentId,this.useHeaders=!0===n.useHeaders,this.includeKeys=n.includeKeys,this.registerListeners())}registerListeners(){const e=this.hls;e.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(l.MEDIA_DETACHED,this.onMediaDetached,this),e.on(l.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;e.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(l.MEDIA_DETACHED,this.onMediaDetached,this),e.off(l.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=this.media=null}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(e,t){var n,r;this.audioBuffer=null==(n=t.tracks.audio)?void 0:n.buffer,this.videoBuffer=null==(r=t.tracks.video)?void 0:r.buffer}createData(){var e;return{v:1,sf:oi.HLS,sid:this.sid,cid:this.cid,pr:null==(e=this.media)?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){v(t,this.createData());const n=t.ot===ii.INIT||t.ot===ii.VIDEO||t.ot===ii.MUXED;this.starved&&n&&(t.bs=!0,t.su=!0,this.starved=!1),null==t.su&&(t.su=this.buffering);const{includeKeys:r}=this;r&&(t=Object.keys(t).reduce(((e,n)=>(r.includes(n)&&(e[n]=t[n]),e)),{}));const a={baseUrl:e.url};this.useHeaders?(e.headers||(e.headers={}),Li(e.headers,t,a)):e.url=Ci(e.url,t,a)}getNextFrag(e){var t;const n=null==(t=this.hls.levels[e.level])?void 0:t.details;if(n){const t=e.sn-n.startSN;return n.fragments[t+1]}}getNextPart(e){var t,n;const{index:r,fragment:a}=e,i=null==(t=this.hls.levels[a.level])||null==(n=t.details)?void 0:n.partList;if(i){const{sn:e}=a;for(let t=i.length-1;t>=0;t--){const n=i[t];if(n.index===r&&n.fragment.sn===e)return i[t+1]}}}getObjectType(e){const{type:t}=e;return"subtitle"===t?ii.TIMED_TEXT:"initSegment"===e.sn?ii.INIT:"audio"===t?ii.AUDIO:"main"===t?this.hls.audioTracks.length?ii.VIDEO:ii.MUXED:void 0}getTopBandwidth(e){let t,n=0;const r=this.hls;if(e===ii.AUDIO)t=r.audioTracks;else{const e=r.maxAutoLevel,n=e>-1?e+1:r.levels.length;t=r.levels.slice(0,n)}for(const e of t)e.bitrate>n&&(n=e.bitrate);return n>0?n:NaN}getBufferLength(e){const t=this.media,n=e===ii.AUDIO?this.audioBuffer:this.videoBuffer;if(!n||!t)return NaN;return 1e3*Yt.bufferInfo(n,t.currentTime,this.config.maxBufferHole).len}createPlaylistLoader(){const{pLoader:e}=this.config,t=this.applyPlaylistData,n=e||this.config.loader;return class{constructor(e){this.loader=void 0,this.loader=new n(e)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(e,n,r){t(e),this.loader.load(e,n,r)}}}createFragmentLoader(){const{fLoader:e}=this.config,t=this.applyFragmentData,n=e||this.config.loader;return class{constructor(e){this.loader=void 0,this.loader=new n(e)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(e,n,r){t(e),this.loader.load(e,n,r)}}}}class Ri extends _{constructor(e){super("content-steering",e.logger),this.hls=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this._pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(l.MANIFEST_PARSED,this.onManifestParsed,this),e.on(l.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(l.MANIFEST_PARSED,this.onManifestParsed,this),e.off(l.ERROR,this.onError,this))}pathways(){return(this.levels||[]).reduce(((e,t)=>(-1===e.indexOf(t.pathwayId)&&e.push(t.pathwayId),e)),[])}get pathwayPriority(){return this._pathwayPriority}set pathwayPriority(e){this.updatePathwayPriority(e)}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const e=1e3*this.timeToLoad-(performance.now()-this.updated);if(e>0)return void this.scheduleRefresh(this.uri,e)}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){-1!==this.reloadTimer&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(e){const t=this.levels;t&&(this.levels=t.filter((t=>t!==e)))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(e,t){const{contentSteering:n}=t;null!==n&&(this.pathwayId=n.pathwayId,this.uri=n.uri,this.started&&this.startLoad())}onManifestParsed(e,t){this.audioTracks=t.audioTracks,this.subtitleTracks=t.subtitleTracks}onError(e,t){const{errorAction:n}=t;if((null==n?void 0:n.action)===gt.SendAlternateToPenaltyBox&&n.flags===vt.MoveAllAlternatesMatchingHost){const e=this.levels;let r=this._pathwayPriority,a=this.pathwayId;if(t.context){const{groupId:n,pathwayId:r,type:i}=t.context;n&&e?a=this.getPathwayForGroupId(n,i,a):r&&(a=r)}a in this.penalizedPathways||(this.penalizedPathways[a]=performance.now()),!r&&e&&(r=this.pathways()),r&&r.length>1&&(this.updatePathwayPriority(r),n.resolved=this.pathwayId!==a),n.resolved||this.warn(`Could not resolve ${t.details} ("${t.error.message}") with content-steering for Pathway: ${a} levels: ${e?e.length:e} priorities: ${Xe(r)} penalized: ${Xe(this.penalizedPathways)}`)}}filterParsedLevels(e){this.levels=e;let t=this.getLevelsForPathway(this.pathwayId);if(0===t.length){const n=e[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${n}"`),t=this.getLevelsForPathway(n),this.pathwayId=n}return t.length!==e.length&&this.log(`Found ${t.length}/${e.length} levels in Pathway "${this.pathwayId}"`),t}getLevelsForPathway(e){return null===this.levels?[]:this.levels.filter((t=>e===t.pathwayId))}updatePathwayPriority(e){let t;this._pathwayPriority=e;const n=this.penalizedPathways,r=performance.now();Object.keys(n).forEach((e=>{r-n[e]>3e5&&delete n[e]}));for(let r=0;r0){this.log(`Setting Pathway to "${a}"`),this.pathwayId=a,Kn(t),this.hls.trigger(l.LEVELS_UPDATED,{levels:t});const e=this.hls.levels[i];o&&e&&this.levels&&(e.attrs["STABLE-VARIANT-ID"]!==o.attrs["STABLE-VARIANT-ID"]&&e.bitrate!==o.bitrate&&this.log(`Unstable Pathways change from bitrate ${o.bitrate} to ${e.bitrate}`),this.hls.nextLoadLevel=i);break}}}getPathwayForGroupId(e,t,n){const r=this.getLevelsForPathway(n).concat(this.levels||[]);for(let n=0;n{const{ID:a,"BASE-ID":i,"URI-REPLACEMENT":o}=e;if(t.some((e=>e.pathwayId===a)))return;const s=this.getLevelsForPathway(i).map((e=>{const t=new Xt(e.attrs);t["PATHWAY-ID"]=a;const i=t.AUDIO&&`${t.AUDIO}_clone_${a}`,s=t.SUBTITLES&&`${t.SUBTITLES}_clone_${a}`;i&&(n[t.AUDIO]=i,t.AUDIO=i),s&&(r[t.SUBTITLES]=s,t.SUBTITLES=s);const l=zi(e.uri,t["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",o),c=new We({attrs:t,audioCodec:e.audioCodec,bitrate:e.bitrate,height:e.height,name:e.name,url:l,videoCodec:e.videoCodec,width:e.width});if(e.audioGroups)for(let t=1;t{this.log(`Loaded steering manifest: "${r}"`);const i=e.data;if(1!==(null==i?void 0:i.VERSION))return void this.log(`Steering VERSION ${i.VERSION} not supported!`);this.updated=performance.now(),this.timeToLoad=i.TTL;const{"RELOAD-URI":o,"PATHWAY-CLONES":s,"PATHWAY-PRIORITY":c}=i;if(o)try{this.uri=new self.URL(o,r).href}catch(e){return this.enabled=!1,void this.log(`Failed to parse Steering Manifest RELOAD-URI: ${o}`)}this.scheduleRefresh(this.uri||n.url),s&&this.clonePathways(s);const u={steeringManifest:i,url:r.toString()};this.hls.trigger(l.STEERING_MANIFEST_LOADED,u),c&&this.updatePathwayPriority(c)},onError:(e,t,n,r)=>{if(this.log(`Error loading steering manifest: ${e.code} ${e.text} (${t.url})`),this.stopLoad(),410===e.code)return this.enabled=!1,void this.log(`Steering manifest ${t.url} no longer available`);let a=1e3*this.timeToLoad;if(429!==e.code)this.scheduleRefresh(this.uri||t.url,a);else{const e=this.loader;if("function"==typeof(null==e?void 0:e.getResponseHeader)){const t=e.getResponseHeader("Retry-After");t&&(a=1e3*parseFloat(t))}this.log(`Steering manifest ${t.url} rate limited`)}},onTimeout:(e,t,n)=>{this.log(`Timeout loading steering manifest (${t.url})`),this.scheduleRefresh(this.uri||t.url)}};this.log(`Requesting steering manifest: ${r}`),this.loader.load(a,s,c)}scheduleRefresh(e,t=1e3*this.timeToLoad){this.clearTimeout(),this.reloadTimer=self.setTimeout((()=>{var t;const n=null==(t=this.hls)?void 0:t.media;!n||n.ended?this.scheduleRefresh(e,1e3*this.timeToLoad):this.loadSteeringManifest(e)}),t)}}function Fi(e,t,n,r){e&&Object.keys(t).forEach((a=>{const i=e.filter((e=>e.groupId===a)).map((e=>{const i=v({},e);return i.details=void 0,i.attrs=new Xt(i.attrs),i.url=i.attrs.URI=zi(e.url,e.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),i.groupId=i.attrs["GROUP-ID"]=t[a],i.attrs["PATHWAY-ID"]=r,i}));e.push(...i)}))}function zi(e,t,n,r){const{HOST:a,PARAMS:i,[n]:o}=r;let s;t&&(s=null==o?void 0:o[t],s&&(e=s));const l=new self.URL(e);return a&&!s&&(l.host=a),i&&Object.keys(i).sort().forEach((e=>{e&&l.searchParams.set(e,i[e])})),l.href}class Ni extends _{constructor(e){super("eme",e.logger),this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=Ni.CDMCleanupPromise?[Ni.CDMCleanupPromise]:[],this.onMediaEncrypted=e=>{const{initDataType:t,initData:n}=e,r=`"${e.type}" event: init data type: "${t}"`;if(this.debug(r),null!==n){if(!this.keyFormatPromise){let e=Object.keys(this.keySystemAccessPromises);e.length||(e=gn(this.config));const t=e.map(mn).filter((e=>!!e));this.keyFormatPromise=this.getKeyFormatPromise(t)}this.keyFormatPromise.then((a=>{const i=cn(a);let o,s;if("sinf"===t){if(i!==sn.FAIRPLAY)return void this.warn(`Ignoring unexpected "${e.type}" event with init data type: "${t}" for selected key-system ${i}`);const a=Z(new Uint8Array(n));try{const e=he(nn(JSON.parse(a).sinf));if(!e)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");o=new Uint8Array(e.subarray(8,24)),s=sn.FAIRPLAY}catch(e){return void this.warn(`${r} Failed to parse sinf: ${e}`)}}else{if(i!==sn.WIDEVINE&&i!==sn.PLAYREADY)return void this.warn(`Ignoring unexpected "${e.type}" event with init data type: "${t}" for selected key-system ${i}`);const a=function(e){const t=[];if(e instanceof ArrayBuffer){const n=e.byteLength;let r=0;for(;r+32!!e.systemId&&pn(e.systemId)===i));l.length>1&&this.warn(`${r} Using first of ${l.length} pssh found for selected key-system ${i}`);const c=l[0];if(!c)return void(0===a.length||a.some((e=>!e.systemId))?this.warn(`${r} contains incomplete or invalid pssh data`):this.log(`ignoring ${r} for ${a.map((e=>pn(e.systemId))).join(",")} pssh data in favor of playlist keys`));if(s=pn(c.systemId),0===c.version&&c.data)if(s===sn.WIDEVINE){const e=c.data.length-22;o=new Uint8Array(c.data.subarray(e,e+16))}else s===sn.PLAYREADY&&(o=bn(c.data))}if(!s||!o)return;const l=x(o),{keyIdToKeySessionPromise:c,mediaKeySessions:u}=this;let d=c[l];for(let e=0;ethis.generateRequestWithPreferredKeySession(r,t,n,"encrypted-event-key-match"))),d.catch((e=>this.handleError(e)));break}}if(!d){if(s!==i)return void this.log(`Ignoring "${e.type}" event with ${s} init data for selected key-system ${i}`);d=c[l]=this.getKeySystemSelectionPromise([s]).then((({keySystem:e,mediaKeys:r})=>{var a;this.throwIfDestroyed();const i=new In("ISO-23001-7",l,null!=(a=mn(e))?a:"");return i.pssh=new Uint8Array(n),i.keyId=o,this.attemptSetMediaKeys(e,r).then((()=>{this.throwIfDestroyed();const a=this.createMediaKeySessionContext({decryptdata:i,keySystem:e,mediaKeys:r});return this.generateRequestWithPreferredKeySession(a,t,n,"encrypted-event-no-match")}))})),d.catch((e=>this.handleError(e)))}}))}},this.onWaitingForKey=e=>{this.log(`"${e.type}" event`)},this.hls=e,this.config=e.config,this.registerListeners()}destroy(){const e=this.media;this.unregisterListeners(),this.onMediaDetached(),this._clear(e);const t=this.config;t.requestMediaKeySystemAccessFunc=null,t.licenseXhrSetup=t.licenseResponseCallback=void 0,t.drmSystems=t.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(l.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(l.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(l.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(l.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(l.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(l.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:n}=this.config,r=t[e];return r?r.licenseUrl:e===sn.WIDEVINE&&n?n:void 0}getLicenseServerUrlOrThrow(e){const t=this.getLicenseServerUrl(e);if(void 0===t)throw new Error(`no license server URL configured for key-system "${e}"`);return t}getServerCertificateUrl(e){const{drmSystems:t}=this.config,n=t[e];if(n)return n.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${e}"]`)}attemptKeySystemAccess(e){const t=this.hls.levels,n=(e,t,n)=>!!e&&n.indexOf(e)===t,r=t.map((e=>e.audioCodec)).filter(n),a=t.map((e=>e.videoCodec)).filter(n);return r.length+a.length===0&&a.push("avc1.42e01e"),new Promise(((t,n)=>{const i=e=>{const l=e.shift();this.getMediaKeysPromise(l,r,a).then((e=>t({keySystem:l,mediaKeys:e}))).catch((t=>{e.length?i(e):n(t instanceof Hi?t:new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_NO_ACCESS,error:t,fatal:!0},t.message))}))};i(e)}))}requestMediaKeySystemAccess(e,t){const{requestMediaKeySystemAccessFunc:n}=this.config;if("function"!=typeof n){let e=`Configured requestMediaKeySystemAccess is not a function ${n}`;return null===vn&&"http:"===self.location.protocol&&(e=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(e))}return n(e,t)}getMediaKeysPromise(e,t,n){const r=function(e,t,n,r){let a;switch(e){case sn.FAIRPLAY:a=["cenc","sinf"];break;case sn.WIDEVINE:case sn.PLAYREADY:a=["cenc"];break;case sn.CLEARKEY:a=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${e}`)}return function(e,t,n,r){return[{initDataTypes:e,persistentState:r.persistentState||"optional",distinctiveIdentifier:r.distinctiveIdentifier||"optional",sessionTypes:r.sessionTypes||[r.sessionType||"temporary"],audioCapabilities:t.map((e=>({contentType:`audio/mp4; codecs=${e}`,robustness:r.audioRobustness||"",encryptionScheme:r.audioEncryptionScheme||null}))),videoCapabilities:n.map((e=>({contentType:`video/mp4; codecs=${e}`,robustness:r.videoRobustness||"",encryptionScheme:r.videoEncryptionScheme||null})))}]}(a,t,n,r)}(e,t,n,this.config.drmSystemOptions),a=this.keySystemAccessPromises[e];let i=null==a?void 0:a.keySystemAccess;if(!i){this.log(`Requesting encrypted media "${e}" key-system access with config: ${Xe(r)}`),i=this.requestMediaKeySystemAccess(e,r);const t=this.keySystemAccessPromises[e]={keySystemAccess:i};return i.catch((t=>{this.log(`Failed to obtain access to key-system "${e}": ${t}`)})),i.then((n=>{this.log(`Access for key-system "${n.keySystem}" obtained`);const r=this.fetchServerCertificate(e);return this.log(`Create media-keys for "${e}"`),t.mediaKeys=n.createMediaKeys().then((t=>(this.log(`Media-keys created for "${e}"`),r.then((n=>n?this.setMediaKeysServerCertificate(t,e,n):t))))),t.mediaKeys.catch((t=>{this.error(`Failed to create media-keys for "${e}"}: ${t}`)})),t.mediaKeys}))}return i.then((()=>a.mediaKeys))}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:n}){this.log(`Creating key-system session "${t}" keyId: ${x(e.keyId||[])}`);const r=n.createSession(),a={decryptdata:e,keySystem:t,mediaKeys:n,mediaKeysSession:r,keyStatus:"status-pending"};return this.mediaKeySessions.push(a),a}renewKeySession(e){const t=e.decryptdata;if(t.pssh){const n=this.createMediaKeySessionContext(e),r=this.getKeyIdString(t),a="cenc";this.keyIdToKeySessionPromise[r]=this.generateRequestWithPreferredKeySession(n,a,t.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(e)}getKeyIdString(e){if(!e)throw new Error("Could not read keyId of undefined decryptdata");if(null===e.keyId)throw new Error("keyId is null");return x(e.keyId)}updateKeySession(e,t){var n;const r=e.mediaKeysSession;return this.log(`Updating key-session "${r.sessionId}" for keyID ${x((null==(n=e.decryptdata)?void 0:n.keyId)||[])}\n } (data length: ${t?t.byteLength:t})`),r.update(t)}selectKeySystemFormat(e){const t=Object.keys(e.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${e.sn} ${e.type}: ${e.level}) key formats ${t.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(t)),this.keyFormatPromise}getKeyFormatPromise(e){return new Promise(((t,n)=>{const r=gn(this.config),a=e.map(cn).filter((e=>!!e&&-1!==r.indexOf(e)));return this.getKeySystemSelectionPromise(a).then((({keySystem:e})=>{const r=mn(e);r?t(r):n(new Error(`Unable to find format for key-system "${e}"`))})).catch(n)}))}loadKey(e){const t=e.keyInfo.decryptdata,n=this.getKeyIdString(t),r=`(keyId: ${n} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${r}`);let a=this.keyIdToKeySessionPromise[n];if(!a){a=this.getKeySystemForKeyPromise(t).then((({keySystem:n,mediaKeys:a})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${r}`),this.attemptSetMediaKeys(n,a).then((()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:n,mediaKeys:a,decryptdata:t})))))));(this.keyIdToKeySessionPromise[n]=a.then((e=>{const n=t.pssh?t.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(e,"cenc",n,"playlist-key")}))).catch((e=>this.handleError(e)))}return a}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e){this.hls&&(this.error(e.message),e instanceof Hi?this.hls.trigger(l.ERROR,e.data):this.hls.trigger(l.ERROR,{type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0}))}getKeySystemForKeyPromise(e){const t=this.getKeyIdString(e),n=this.keyIdToKeySessionPromise[t];if(!n){const t=cn(e.keyFormat),n=t?[t]:gn(this.config);return this.attemptKeySystemAccess(n)}return n}getKeySystemSelectionPromise(e){if(e.length||(e=gn(this.config)),0===e.length)throw new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${Xe({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}attemptSetMediaKeys(e,t){const n=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const r=Promise.all(n).then((()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(t)}));return this.setMediaKeysQueue.push(r),r.then((()=>{this.log(`Media-keys set for "${e}"`),n.push(r),this.setMediaKeysQueue=this.setMediaKeysQueue.filter((e=>-1===n.indexOf(e)))}))}generateRequestWithPreferredKeySession(e,t,n,r){var a,i;const l=null==(a=this.config.drmSystems)||null==(i=a[e.keySystem])?void 0:i.generateRequest;if(l)try{const r=l.call(this.hls,t,n,e);if(!r)throw new Error("Invalid response from configured generateRequest filter");t=r.initDataType,n=r.initData?r.initData:null,e.decryptdata.pssh=n?new Uint8Array(n):null}catch(e){var c;if(this.warn(e.message),null!=(c=this.hls)&&c.config.debug)throw e}if(null===n)return this.log(`Skipping key-session request for "${r}" (no initData)`),Promise.resolve(e);const u=this.getKeyIdString(e.decryptdata);this.log(`Generating key-session request for "${r}": ${u} (init data type: ${t} length: ${n?n.byteLength:null})`);const d=new _r,h=e._onmessage=t=>{const n=e.mediaKeysSession;if(!n)return void d.emit("error",new Error("invalid state"));const{messageType:r,message:a}=t;this.log(`"${r}" message event for session "${n.sessionId}" message size: ${a.byteLength}`),"license-request"===r||"license-renewal"===r?this.renewLicense(e,a).catch((e=>{d.eventNames().length?d.emit("error",e):this.handleError(e)})):"license-release"===r?e.keySystem===sn.FAIRPLAY&&(this.updateKeySession(e,rn("acknowledged")),this.removeSession(e)):this.warn(`unhandled media key message type "${r}"`)},f=e._onkeystatuseschange=t=>{if(!e.mediaKeysSession)return void d.emit("error",new Error("invalid state"));this.onKeyStatusChange(e);const n=e.keyStatus;d.emit("keyStatus",n),"expired"===n&&(this.warn(`${e.keySystem} expired for key ${u}`),this.renewKeySession(e))};e.mediaKeysSession.addEventListener("message",h),e.mediaKeysSession.addEventListener("keystatuseschange",f);const p=new Promise(((e,t)=>{d.on("error",t),d.on("keyStatus",(n=>{n.startsWith("usable")?e():"output-restricted"===n?t(new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):"internal-error"===n?t(new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${n}"`)):"expired"===n?t(new Error("key expired while generating request")):this.warn(`unhandled key status change "${n}"`)}))}));return e.mediaKeysSession.generateRequest(t,n).then((()=>{var t;this.log(`Request generated for key-session "${null==(t=e.mediaKeysSession)?void 0:t.sessionId}" keyId: ${u}`)})).catch((e=>{throw new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_NO_SESSION,error:e,fatal:!1},`Error generating key-session request: ${e}`)})).then((()=>p)).catch((t=>{throw d.removeAllListeners(),this.removeSession(e),t})).then((()=>(d.removeAllListeners(),e)))}onKeyStatusChange(e){e.mediaKeysSession.keyStatuses.forEach(((t,n)=>{if("string"==typeof n&&"object"==typeof t){const e=n;n=t,t=e}this.log(`key status change "${t}" for keyStatuses keyId: ${x("buffer"in n?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):new Uint8Array(n))} session keyId: ${x(new Uint8Array(e.decryptdata.keyId||[]))} uri: ${e.decryptdata.uri}`),e.keyStatus=t}))}fetchServerCertificate(e){const t=this.config,n=new(0,t.loader)(t),r=this.getServerCertificateUrl(e);return r?(this.log(`Fetching server certificate for "${e}"`),new Promise(((a,i)=>{const l={responseType:"arraybuffer",url:r},c=t.certLoadPolicy.default,u={loadPolicy:c,timeout:c.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},d={onSuccess:(e,t,n,r)=>{a(e.data)},onError:(t,n,a,c)=>{i(new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:a,response:b({url:l.url,data:void 0},t)},`"${e}" certificate request failed (${r}). Status: ${t.code} (${t.text})`))},onTimeout:(t,n,a)=>{i(new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:a,response:{url:l.url,data:void 0}},`"${e}" certificate request timed out (${r})`))},onAbort:(e,t,n)=>{i(new Error("aborted"))}};n.load(l,u,d)}))):Promise.resolve()}setMediaKeysServerCertificate(e,t,n){return new Promise(((r,a)=>{e.setServerCertificate(n).then((a=>{this.log(`setServerCertificate ${a?"success":"not supported by CDM"} (${null==n?void 0:n.byteLength}) on "${t}"`),r(e)})).catch((e=>{a(new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:e,fatal:!0},e.message))}))}))}renewLicense(e,t){return this.requestLicense(e,new Uint8Array(t)).then((t=>this.updateKeySession(e,new Uint8Array(t)).catch((e=>{throw new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:e,fatal:!0},e.message)}))))}unpackPlayReadyKeyMessage(e,t){const n=String.fromCharCode.apply(null,new Uint16Array(t.buffer));if(!n.includes("PlayReadyKeyMessage"))return e.setRequestHeader("Content-Type","text/xml; charset=utf-8"),t;const r=(new DOMParser).parseFromString(n,"application/xml"),a=r.querySelectorAll("HttpHeader");if(a.length>0){let t;for(let n=0,r=a.length;n in key message");return rn(atob(l))}setupLicenseXHR(e,t,n,r){const a=this.config.licenseXhrSetup;return a?Promise.resolve().then((()=>{if(!n.decryptdata)throw new Error("Key removed");return a.call(this.hls,e,t,n,r)})).catch((i=>{if(!n.decryptdata)throw i;return e.open("POST",t,!0),a.call(this.hls,e,t,n,r)})).then((n=>{e.readyState||e.open("POST",t,!0);return{xhr:e,licenseChallenge:n||r}})):(e.open("POST",t,!0),Promise.resolve({xhr:e,licenseChallenge:r}))}requestLicense(e,t){const n=this.config.keyLoadPolicy.default;return new Promise(((r,a)=>{const i=this.getLicenseServerUrlOrThrow(e.keySystem);this.log(`Sending license request to URL: ${i}`);const l=new XMLHttpRequest;l.responseType="arraybuffer",l.onreadystatechange=()=>{if(!this.hls||!e.mediaKeysSession)return a(new Error("invalid state"));if(4===l.readyState)if(200===l.status){this._requestLicenseFailureCount=0;let t=l.response;this.log(`License received ${t instanceof ArrayBuffer?t.byteLength:t}`);const n=this.config.licenseResponseCallback;if(n)try{t=n.call(this.hls,l,i,e)}catch(e){this.error(e)}r(t)}else{const c=n.errorRetry,u=c?c.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>u||l.status>=400&&l.status<500)a(new Hi({type:o.KEY_SYSTEM_ERROR,details:s.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:l,response:{url:i,data:void 0,code:l.status,text:l.statusText}},`License Request XHR failed (${i}). Status: ${l.status} (${l.statusText})`));else{const n=u-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${n} attempts left`),this.requestLicense(e,t).then(r,a)}}},e.licenseXhr&&e.licenseXhr.readyState!==XMLHttpRequest.DONE&&e.licenseXhr.abort(),e.licenseXhr=l,this.setupLicenseXHR(l,i,e,t).then((({xhr:t,licenseChallenge:n})=>{e.keySystem==sn.PLAYREADY&&(n=this.unpackPlayReadyKeyMessage(t,n)),t.send(n)}))}))}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const n=t.media;this.media=n,n.removeEventListener("encrypted",this.onMediaEncrypted),n.removeEventListener("waitingforkey",this.onWaitingForKey),n.addEventListener("encrypted",this.onMediaEncrypted),n.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const e=this.media;e&&(e.removeEventListener("encrypted",this.onMediaEncrypted),e.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null)}_clear(e){var t;const n=this.mediaKeySessions;this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},In.clearKeyUriToKeyIdMap();const r=n.length;Ni.CDMCleanupPromise=Promise.all(n.map((e=>this.removeSession(e))).concat(null==e||null==(t=e.setMediaKeys(null))?void 0:t.catch((e=>{var t;this.log(`Could not clear media keys: ${e}`),null==(t=this.hls)||t.trigger(l.ERROR,{type:o.OTHER_ERROR,details:s.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${e}`)})})))).then((()=>{r&&(this.log("finished closing key sessions and clearing media keys"),n.length=0)})).catch((e=>{var t;this.log(`Could not close sessions and clear media keys: ${e}`),null==(t=this.hls)||t.trigger(l.ERROR,{type:o.OTHER_ERROR,details:s.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${e}`)})}))}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(e,{sessionKeys:t}){if(t&&this.config.emeEnabled&&!this.keyFormatPromise){const e=t.reduce(((e,t)=>(-1===e.indexOf(t.keyFormat)&&e.push(t.keyFormat),e)),[]);this.log(`Selecting key-system from session-keys ${e.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(e)}}removeSession(e){const{mediaKeysSession:t,licenseXhr:n}=e;if(t){this.log(`Remove licenses and keys and close session ${t.sessionId}`),e._onmessage&&(t.removeEventListener("message",e._onmessage),e._onmessage=void 0),e._onkeystatuseschange&&(t.removeEventListener("keystatuseschange",e._onkeystatuseschange),e._onkeystatuseschange=void 0),n&&n.readyState!==XMLHttpRequest.DONE&&n.abort(),e.mediaKeysSession=e.decryptdata=e.licenseXhr=void 0;const r=this.mediaKeySessions.indexOf(e);r>-1&&this.mediaKeySessions.splice(r,1);const{drmSystemOptions:a}=this.config,i=function(e){var t;return"persistent-license"===e.sessionType||!(null==(t=e.sessionTypes)||!t.some((e=>"persistent-license"===e)))}(a)?new Promise(((e,n)=>{self.setTimeout((()=>n(new Error("MediaKeySession.remove() timeout"))),8e3),t.remove().then(e)})):Promise.resolve();return i.catch((e=>{var t;this.log(`Could not remove session: ${e}`),null==(t=this.hls)||t.trigger(l.ERROR,{type:o.OTHER_ERROR,details:s.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${e}`)})})).then((()=>t.close())).catch((e=>{var t;this.log(`Could not close session: ${e}`),null==(t=this.hls)||t.trigger(l.ERROR,{type:o.OTHER_ERROR,details:s.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${e}`)})}))}}}Ni.CDMCleanupPromise=void 0;class Hi extends Error{constructor(e,t){super(t),this.data=void 0,e.error||(e.error=new Error(t)),this.data=e,e.err=e.error}}class Vi{constructor(e){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=e,this.registerListeners()}setStreamController(e){this.streamController=e}registerListeners(){this.hls.on(l.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(l.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(l.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(l.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(e,t){const n=this.hls.config;if(n.capLevelOnFPSDrop){const e=t.media instanceof self.HTMLVideoElement?t.media:null;this.media=e,e&&"function"==typeof e.getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),n.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(e,t,n){const r=performance.now();if(t){if(this.lastTime){const e=r-this.lastTime,a=n-this.lastDroppedFrames,i=t-this.lastDecodedFrames,o=1e3*a/e,s=this.hls;if(s.trigger(l.FPS_DROP,{currentDropped:a,currentDecoded:i,totalDroppedFrames:n}),o>0&&a>s.config.fpsDroppedMonitoringThreshold*i){let e=s.currentLevel;s.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+e),e>0&&(-1===s.autoLevelCapping||s.autoLevelCapping>=e)&&(e-=1,s.trigger(l.FPS_DROP_LEVEL_CAPPING,{level:e,droppedLevel:s.currentLevel}),s.autoLevelCapping=e,this.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=t}}checkFPSInterval(){const e=this.media;if(e)if(this.isVideoPlaybackQualityAvailable){const t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)}}function Yi(e,t){let n;try{n=new Event("addtrack")}catch(e){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=e,t.dispatchEvent(n)}function ji(e,t){const n=e.mode;if("disabled"===n&&(e.mode="hidden"),e.cues&&!e.cues.getCueById(t.id))try{if(e.addCue(t),!e.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(n){k.debug(`[texttrack-utils]: ${n}`);try{const n=new self.TextTrackCue(t.startTime,t.endTime,t.text);n.id=t.id,e.addCue(n)}catch(e){k.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${e}`)}}"disabled"===n&&(e.mode=n)}function Ui(e,t){const n=e.mode;if("disabled"===n&&(e.mode="hidden"),e.cues)for(let n=e.cues.length;n--;)t&&e.cues[n].removeEventListener("enter",t),e.removeCue(e.cues[n]);"disabled"===n&&(e.mode=n)}function $i(e,t,n,r){const a=e.mode;if("disabled"===a&&(e.mode="hidden"),e.cues&&e.cues.length>0){const a=function(e,t,n){const r=[],a=function(e,t){if(t<=e[0].startTime)return 0;const n=e.length-1;if(t>e[n].endTime)return-1;let r,a=0,i=n;for(;a<=i;)if(r=Math.floor((i+a)/2),te[r].startTime&&a-1)for(let i=a,o=e.length;i=t&&a.endTime<=n)r.push(a);else if(a.startTime>n)return r}return r}(e.cues,t,n);for(let t=0;tthis.pollTrackChange(0),this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let e=null;const t=Gi(this.media.textTracks);for(let n=0;n-1&&this.toggleTrackModes()}registerListeners(){const{hls:e}=this;e.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.MANIFEST_PARSED,this.onManifestParsed,this),e.on(l.LEVEL_LOADING,this.onLevelLoading,this),e.on(l.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(l.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(l.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.MANIFEST_PARSED,this.onManifestParsed,this),e.off(l.LEVEL_LOADING,this.onLevelLoading,this),e.off(l.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(l.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(l.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(e){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,e)}onMediaDetaching(e,t){const n=this.media;if(!n)return;const r=!!t.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||n.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,r)return;Gi(n.textTracks).forEach((e=>{Ui(e)}))}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.subtitleTracks}onSubtitleTrackLoaded(e,t){const{id:n,groupId:r,details:a}=t,i=this.tracksInGroup[n];if(!i||i.groupId!==r)return void this.warn(`Subtitle track with id:${n} and group:${r} not found in active group ${null==i?void 0:i.groupId}`);const o=i.details;i.details=t.details,this.log(`Subtitle track ${n} "${i.name}" lang:${i.lang} group:${r} loaded [${a.startSN}-${a.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,o)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.subtitleGroups||null,r=this.groupIds;let a=this.currentTrack;if(!n||(null==r?void 0:r.length)!==(null==n?void 0:n.length)||null!=n&&n.some((e=>-1===(null==r?void 0:r.indexOf(e))))){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const e=this.tracks.filter((e=>!n||-1!==n.indexOf(e.groupId)));if(e.length)this.selectDefaultTrack&&!e.some((e=>e.default))&&(this.selectDefaultTrack=!1),e.forEach(((e,t)=>{e.id=t}));else if(!a&&!this.tracksInGroup.length)return;this.tracksInGroup=e;const t=this.hls.config.subtitlePreference;if(!a&&t){this.selectDefaultTrack=!1;const n=et(t,e);if(n>-1)a=e[n];else{const e=et(t,this.tracks);a=this.tracks[e]}}let r=this.findTrackId(a);-1===r&&a&&(r=this.findTrackId(null));const i={subtitleTracks:e};this.log(`Updating subtitle tracks, ${e.length} track(s) found in "${null==n?void 0:n.join(",")}" group-id`),this.hls.trigger(l.SUBTITLE_TRACKS_UPDATED,i),-1!==r&&-1===this.trackId&&this.setSubtitleTrack(r)}}findTrackId(e){const t=this.tracksInGroup,n=this.selectDefaultTrack;for(let r=0;r-1){const e=this.tracksInGroup[r];return this.setSubtitleTrack(r),e}if(n)return null;{const n=et(e,t);if(n>-1)return t[n]}}}return null}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=e.id,r=e.groupId,a=this.getUrlWithDirectives(e.url,t),i=e.details,o=null==i?void 0:i.age;this.log(`Loading subtitle ${n} "${e.name}" lang:${e.lang} group:${r}${void 0!==(null==t?void 0:t.msn)?" at sn "+t.msn+" part "+t.part:""}${o&&i.live?" age "+o.toFixed(1)+(i.type?" "+i.type||0:""):""} ${a}`),this.hls.trigger(l.SUBTITLE_TRACK_LOADING,{url:a,id:n,groupId:r,deliveryDirectives:t||null,track:e})}toggleTrackModes(){const{media:e}=this;if(!e)return;const t=Gi(e.textTracks),n=this.currentTrack;let r;if(n&&(r=t.filter((e=>Ka(n,e)))[0],r||this.warn(`Unable to find subtitle TextTrack with name "${n.name}" and language "${n.lang}"`)),[].slice.call(t).forEach((e=>{"disabled"!==e.mode&&e!==r&&(e.mode="disabled")})),r){const e=this.subtitleDisplay?"showing":"hidden";r.mode!==e&&(r.mode=e)}}setSubtitleTrack(e){const t=this.tracksInGroup;if(!this.media)return void(this.queuedDefaultTrack=e);if(e<-1||e>=t.length||!r(e))return void this.warn(`Invalid subtitle track id: ${e}`);this.selectDefaultTrack=!1;const n=this.currentTrack,a=t[e]||null;if(this.trackId=e,this.currentTrack=a,this.toggleTrackModes(),!a)return void this.hls.trigger(l.SUBTITLE_TRACK_SWITCH,{id:e});const i=!!a.details&&!a.details.live;if(e===this.trackId&&a===n&&i)return;this.log(`Switching to subtitle-track ${e}`+(a?` "${a.name}" lang:${a.lang} group:${a.groupId}`:""));const{id:o,groupId:s="",name:c,type:u,url:d}=a;this.hls.trigger(l.SUBTITLE_TRACK_SWITCH,{id:o,groupId:s,name:c,type:u,url:d});const h=this.switchParams(a.url,null==n?void 0:n.details,a.details);this.loadPlaylist(h)}}function qi(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0).toString()}const Ki=.025;let Xi=function(e){return e[e.Point=0]="Point",e[e.Range=1]="Range",e}({});function Ji(e,t,n){return`${e.identifier}-${n+1}-${qi(t)}`}class Zi{constructor(e,t){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=t,this.dateRange=e,this.setDateRange(e)}setDateRange(e){this.dateRange=e,this.resumeOffset=e.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=e.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=e.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=e.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var e;this.appendInPlaceStarted=!1,null==(e=this.assetListLoader)||e.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(e){if(e>=this.assetList.length)return!0;const t=this.playoutLimit;if(e<=0||isNaN(t))return!1;return this.assetList[e].startOffset>t}findAssetIndex(e){return this.assetList.indexOf(e)}get identifier(){return this.dateRange.id}get startDate(){return this.dateRange.startDate}get startTime(){const e=this.dateRange.startTime;if(this.snapOptions.out){const t=this.dateRange.tagAnchor;if(t)return Qi(e,t)}return e}get startOffset(){return this.cue.pre?0:this.startTime}get startIsAligned(){if(0===this.startTime||this.snapOptions.out)return!0;const e=this.dateRange.tagAnchor;if(e){const t=this.dateRange.startTime;return t-Qi(t,e)<.1}return!1}get resumptionOffset(){const e=this.resumeOffset,t=r(e)?e:this.duration;return this.cumulativeDuration+t}get resumeTime(){const e=this.startOffset+this.resumptionOffset;if(this.snapOptions.in){const t=this.resumeAnchor;if(t)return Qi(e,t)}return e}get appendInPlace(){return!!this.appendInPlaceStarted||!this.appendInPlaceDisabled&&!(this.cue.once||this.cue.pre||!this.startIsAligned||!(isNaN(this.playoutLimit)&&isNaN(this.resumeOffset)||this.resumeOffset&&this.duration&&Math.abs(this.resumeOffset-this.duration)0||null!==this.assetListResponse}toString(){return`["${(e=this).identifier}" ${e.cue.pre?"
    ":e.cue.post?"":""}${e.timelineStart.toFixed(2)}-${e.resumeTime.toFixed(2)}]`;var e}}function Qi(e,t){return e-t.start{const e=this.interstitial.playoutLimit,t=this.currentTime;this.startOffset+t>=e&&this.hls.trigger(l.PLAYOUT_LIMIT_REACHED,{})};const a=this.hls=new e(t);this.interstitial=n,this.assetItem=r;let i=r.uri;try{i=eo(i,a.sessionId).href}catch(e){}a.loadSource(i);const o=()=>{this.hasDetails=!0};a.once(l.LEVEL_LOADED,o),a.once(l.AUDIO_TRACK_LOADED,o),a.once(l.SUBTITLE_TRACK_LOADED,o),a.on(l.MEDIA_ATTACHING,((e,{media:t})=>{this.removeMediaListeners(),this.mediaAttached=t;this.interstitial.playoutLimit&&t.addEventListener("timeupdate",this.checkPlayout)}))}bufferedInPlaceToEnd(e){var t;if(!this.interstitial.appendInPlace)return!1;if(null!=(t=this.hls)&&t.bufferedToEnd)return!0;if(!e||!this._bufferedEosTime)return!1;const n=this.timelineOffset,r=Yt.bufferInfo(e,n,0);return this.getAssetTime(r.end)>=this._bufferedEosTime-.02}get destroyed(){var e;return!(null!=(e=this.hls)&&e.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var e;return(null==(e=this.hls)?void 0:e.media)||null}get bufferedEnd(){const e=this.media||this.mediaAttached;if(!e)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const t=Yt.bufferInfo(e,e.currentTime,.001);return this.getAssetTime(t.end)}get currentTime(){const e=this.media||this.mediaAttached;return e?this.getAssetTime(e.currentTime):this._currentTime||0}get duration(){const e=this.assetItem.duration;return e||0}get remaining(){const e=this.duration;return e?Math.max(0,e-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var e;return(null==(e=this.hls)?void 0:e.config.timelineOffset)||0}set timelineOffset(e){const t=this.timelineOffset;if(e!==t){const n=e-t;if(Math.abs(n)>1/9e4){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=e}}}getAssetTime(e){const t=this.timelineOffset,n=this.duration;return Math.min(Math.max(0,e-t),n)}removeMediaListeners(){const e=this.mediaAttached;e&&(this._currentTime=e.currentTime,this.bufferSnapShot(),e.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){var e;this.mediaAttached&&(null!=(e=this.hls)&&e.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd))}destroy(){this.removeMediaListeners(),this.hls.destroy(),this.hls=this.interstitial=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(e){this.hls.attachMedia(e)}detachMedia(){this.removeMediaListeners(),this.mediaAttached=null,this.hls.detachMedia()}resumeBuffering(){this.hls.resumeBuffering()}pauseBuffering(){this.hls.pauseBuffering()}transferMedia(){return this.bufferSnapShot(),this.hls.transferMedia()}on(e,t,n){this.hls.on(e,t)}once(e,t,n){this.hls.once(e,t)}off(e,t,n){this.hls.off(e,t)}toString(){var e,t;return`HlsAssetPlayer: ${to(this.assetItem)} ${null==(e=this.hls)?void 0:e.sessionId} ${null!=(t=this.interstitial)&&t.appendInPlace?"append-in-place":""}`}}class ro extends _{constructor(e,t){super("interstitials-sched",t),this.onScheduleUpdate=void 0,this.eventMap={},this.events=null,this.items=null,this.durations={primary:0,playout:0,integrated:0},this.onScheduleUpdate=e}destroy(){this.reset(),this.onScheduleUpdate=null}reset(){this.eventMap={},this.setDurations(0,0,0),this.events&&this.events.forEach((e=>e.reset())),this.events=this.items=null}resetErrorsInRange(e,t){return this.events?this.events.reduce(((n,r)=>e<=r.startOffset&&t>r.startOffset?(delete r.error,n+1):n),0):0}get duration(){const e=this.items;return e?e[e.length-1].end:0}get length(){return this.items?this.items.length:0}getEvent(e){return e&&this.eventMap[e]||null}hasEvent(e){return e in this.eventMap}findItemIndex(e,t){if(e.event)return this.findEventIndex(e.event.identifier);let n=-1;e.nextEvent?n=this.findEventIndex(e.nextEvent.identifier)-1:e.previousEvent&&(n=this.findEventIndex(e.previousEvent.identifier)+1);const r=this.items;if(r)for(r[n]||(void 0===t&&(t=e.start),n=this.findItemIndexAtTime(t));n>=0&&null!=(a=r[n])&&a.event;){var a;n--}return n}findItemIndexAtTime(e,t){const n=this.items;if(n)for(let r=0;ra.start&&e1)for(let e=0;en&&t!o.includes(e.identifier))):[];i.length&&i.sort(((e,t)=>{const n=e.cue.pre,r=e.cue.post,a=t.cue.pre,i=t.cue.post;if(n&&!a)return-1;if(a&&!n)return 1;if(r&&!i)return 1;if(i&&!r)return-1;if(!(n||a||r||i)){const n=e.startTime,r=t.startTime;if(n!==r)return n-r}return e.dateRange.tagOrder-t.dateRange.tagOrder})),this.events=i,s.forEach((e=>{this.removeEvent(e)})),this.updateSchedule(e,s)}updateSchedule(e,t=[]){const n=this.events||[];if(n.length||t.length||this.length<2){const r=this.items,a=this.parseSchedule(n,e);(t.length||(null==r?void 0:r.length)!==a.length||a.some(((e,t)=>Math.abs(e.playout.start-r[t].playout.start)>.005||Math.abs(e.playout.end-r[t].playout.end)>.005)))&&(this.items=a,this.onScheduleUpdate(t,r))}}parseDateRanges(e,t,n){const r=[],a=Object.keys(e);for(let i=0;i!(e.error||e.cue.once&&e.hasPlayed)))).length){this.resolveOffsets(e,t);let r=0,s=0;if(e.forEach(((t,o)=>{const l=t.cue.pre,c=t.cue.post,u=e[o-1]||null,d=t.appendInPlace,h=c?a:t.startOffset,f=t.duration,p=t.timelineOccupancy===Xi.Range?f:0,m=t.resumptionOffset,g=(null==u?void 0:u.startTime)===h,v=h+t.cumulativeDuration;let y=d?v+f:h+m;if(l||!c&&h<=0){const e=s;s+=p,t.timelineStart=v;const r=i;i+=f,n.push({event:t,start:v,end:y,playout:{start:r,end:i},integrated:{start:e,end:s}})}else{if(!(h<=a))return;{if(!g){const a=h-r;if(a>.033){const l=r,c=s;s+=a;const u=i;i+=a;const d={previousEvent:e[o-1]||null,nextEvent:t,start:l,end:l+a,playout:{start:u,end:i},integrated:{start:c,end:s}};n.push(d)}else a>0&&u&&(u.cumulativeDuration+=a,n[n.length-1].end=h)}c&&(y=v),t.timelineStart=v;const a=s;s+=p;const l=i;i+=f,n.push({event:t,start:v,end:y,playout:{start:l,end:i},integrated:{start:a,end:s}})}}const b=t.resumeTime;r=c||b>a?a:b})),r{const c=s.cue.pre,u=s.cue.post,d=c?0:u?a:s.startTime;this.updateAssetDurations(s);if(o===d?s.cumulativeDuration=i:(i=0,o=d),!u&&s.snapOptions.in&&(s.resumeAnchor=st(null,n.fragments,s.startOffset+s.resumptionOffset,0,0)||void 0),s.appendInPlace&&!s.appendInPlaceStarted){this.primaryCanResumeInPlaceAt(s,t)||(s.appendInPlace=!1)}if(!s.appendInPlace&&l+1Ki)return this.log(`"${e.identifier}" resumption ${n} not aligned with estimated timeline end ${r}`),!1;if(!t)return this.log(`"${e.identifier}" resumption ${n} can not be aligned with media (none selected)`),!1;return!Object.keys(t).some((r=>{const a=t[r].details,i=a.edge;if(n>=i)return this.log(`"${e.identifier}" resumption ${n} past ${r} playlist end ${i}`),!1;const o=st(null,a.fragments,n);if(!o)return this.log(`"${e.identifier}" resumption ${n} does not align with any fragments in ${r} playlist (${a.fragStart}-${a.fragmentEnd})`),!0;const s="audio"===r?.175:0;return!(Math.abs(o.start-n){const o=t+n;e.startOffset=n,e.timelineStart=o,r||(r=null===e.duration),a||(a=!!e.error);const s=e.error?0:e.duration||0;n+=s})),e.duration=r&&!a?Math.max(n,e.duration):n}removeEvent(e){e.reset(),delete this.eventMap[e.identifier]}}function ao(e){return`[${e.event?'"'+e.event.identifier+'"':"primary"}: ${e.start.toFixed(2)}-${e.end.toFixed(2)}]`}class io{constructor(e){this.hls=void 0,this.hls=e}destroy(){this.hls=null}loadAssetList(e,t){const n=e.assetListUrl;let r;try{r=eo(n,this.hls.sessionId,e.baseUrl)}catch(t){const r=this.assignAssetListError(e,s.ASSET_LIST_LOAD_ERROR,t,n);return void this.hls.trigger(l.ERROR,r)}t&&"data:"!==r.protocol&&r.searchParams.set("_HLS_start_offset",""+t);const a=this.hls.config,i=new(0,a.loader)(a),o={responseType:"json",url:r.href},c=a.interstitialAssetListLoadPolicy.default,u={loadPolicy:c,timeout:c.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},d={onSuccess:(t,n,r,a)=>{const i=t.data,o=null==i?void 0:i.ASSETS;if(Array.isArray(o))e.assetListResponse=i,this.hls.trigger(l.ASSET_LIST_LOADED,{event:e,assetListResponse:i,networkDetails:a});else{const t=this.assignAssetListError(e,s.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),r.url,n,a);this.hls.trigger(l.ERROR,t)}},onError:(t,n,r,a)=>{const i=this.assignAssetListError(e,s.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${t.code} ${t.text} (${n.url})`),n.url,a,r);this.hls.trigger(l.ERROR,i)},onTimeout:(t,n,r)=>{const a=this.assignAssetListError(e,s.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${n.url})`),n.url,t,r);this.hls.trigger(l.ERROR,a)}};return i.load(o,u,d),this.hls.trigger(l.ASSET_LIST_LOADING,{event:e}),i}assignAssetListError(e,t,n,r,a,i){return e.error=n,{type:o.NETWORK_ERROR,details:t,fatal:!1,interstitial:e,url:r,error:n,networkDetails:i,stats:a}}}function oo(e,t,n){so(e,t,n),e.addEventListener(t,n)}function so(e,t,n){e.removeEventListener(t,n)}function lo(e){null==e||e.play().catch((()=>{}))}class co extends pr{constructor(e,t,n){super(e,t,n,"subtitle-stream-controller",f.SUBTITLE),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(l.LEVEL_LOADED,this.onLevelLoaded,this),e.on(l.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(l.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(l.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(l.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(l.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(l.LEVEL_LOADED,this.onLevelLoaded,this),e.off(l.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(l.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(l.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(l.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(l.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(e,t){this.stopLoad(),this.state=rr,this.setInterval(500),this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}onManifestLoading(){super.onManifestLoading(),this.mainDetails=null}onMediaDetaching(e,t){this.tracksBuffered=[],super.onMediaDetaching(e,t)}onLevelLoaded(e,t){this.mainDetails=t.details}onSubtitleFragProcessed(e,t){const{frag:n,success:r}=t;if($(n)&&(this.fragPrevious=n),this.state=rr,!r)return;const a=this.tracksBuffered[this.currentTrackId];if(!a)return;let i;const o=n.start;for(let e=0;e=a[e].start&&o<=a[e].end){i=a[e];break}const s=n.start+n.duration;i?i.end=s:(i={start:o,end:s},a.push(i)),this.fragmentTracker.fragBuffered(n),this.fragBufferedComplete(n,null),this.media&&this.tick()}onBufferFlushing(e,t){const{startOffset:n,endOffset:r}=t;if(0===n&&r!==Number.POSITIVE_INFINITY){const e=r-1;if(e<=0)return;t.endOffsetSubtitles=Math.max(0,e),this.tracksBuffered.forEach((t=>{for(let n=0;nnew We(e))):(this.tracksBuffered=[],this.levels=t.map((e=>{const t=new We(e);return this.tracksBuffered[t.id]=[],t})),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,f.SUBTITLE),this.fragPrevious=null,this.mediaBuffer=null)}onSubtitleTrackSwitch(e,t){var n;if(this.currentTrackId=t.id,null==(n=this.levels)||!n.length||-1===this.currentTrackId)return void this.clearInterval();const r=this.levels[this.currentTrackId];null!=r&&r.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,r&&this.state!==nr&&this.setInterval(500)}onSubtitleTrackLoaded(e,t){var n;const{currentTrackId:r,levels:a}=this,{details:i,id:o}=t;if(!a)return void this.warn(`Subtitle tracks were reset while loading level ${o}`);const s=a[o];if(o>=a.length||!s)return;this.log(`Subtitle track ${o} loaded [${i.startSN},${i.endSN}]${i.lastPartSn?`[part-${i.lastPartSn}-${i.lastPartIndex}]`:""},duration:${i.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let c=0;if(i.live||null!=(n=s.details)&&n.live){const e=this.mainDetails;if(i.deltaUpdateFailed||!e)return;const t=e.fragments[0];var u;if(s.details)c=this.alignPlaylists(i,s.details,null==(u=this.levelLastLoaded)?void 0:u.details),0===c&&t&&(c=t.start,Un(i,c));else i.hasProgramDateTime&&e.hasProgramDateTime?(er(i,e),c=i.fragmentStart):t&&(c=t.start,Un(i,c))}if(s.details=i,this.levelLastLoaded=s,o===r&&(this.hls.trigger(l.SUBTITLE_TRACK_UPDATED,{details:i,id:o,groupId:t.groupId}),this.tick(),i.live&&!this.fragCurrent&&this.media&&this.state===rr)){st(null,i.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),s.details=void 0)}}_handleFragmentLoadComplete(e){const{frag:t,payload:n}=e,r=t.decryptdata,a=this.hls;if(!this.fragContextChanged(t)&&n&&n.byteLength>0&&null!=r&&r.key&&r.iv&&en(r.method)){const e=performance.now();this.decrypter.decrypt(new Uint8Array(n),r.key.buffer,r.iv.buffer,tn(r.method)).catch((e=>{throw a.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.FRAG_DECRYPT_ERROR,fatal:!1,error:e,reason:e.message,frag:t}),e})).then((n=>{const r=performance.now();a.trigger(l.FRAG_DECRYPTED,{frag:t,payload:n,stats:{tstart:e,tdecrypt:r}})})).catch((e=>{this.warn(`${e.name}: ${e.message}`),this.state=rr}))}}doTick(){if(this.media){if(this.state===rr){const{currentTrackId:e,levels:t}=this,n=null==t?void 0:t[e];if(!n||!t.length||!n.details)return;if(this.waitForLive(n))return;const{config:r}=this,a=this.getLoadPosition(),i=Yt.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],a,r.maxBufferHole),{end:o,len:s}=i,l=n.details;if(s>this.hls.maxBufferLength+l.levelTargetDuration)return;const c=l.fragments,u=c.length,d=l.edge;let h=null;const f=this.fragPrevious;if(od-e?0:e;h=st(f,c,Math.max(c[0].start,o),t),!h&&f&&f.start{if((n>>>=0)>r-1)throw new DOMException(`Failed to execute '${t}' on 'TimeRanges': The index provided (${n}) is greater than the maximum bound (${r})`);return e[n][t]};this.buffered={get length(){return e.length},end:n=>t("end",n,e.length),start:n=>t("start",n,e.length)}}}const ho={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},fo=e=>String.fromCharCode(ho[e]||e),po=15,mo=100,go={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},vo={17:2,18:4,21:6,22:8,23:10,19:13,20:15},yo={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},bo={25:2,26:4,29:6,30:8,31:10,27:13,28:15},_o=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Io{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const n="function"==typeof t?t():t;k.log(`${this.time} [${e}] ${n}`)}}}const To=function(e){const t=[];for(let n=0;nmo&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=mo)}moveCursor(e){const t=this.pos+e;if(e>1)for(let e=this.pos+1;e=144&&this.backSpace();const t=fo(e);this.pos>=mo?this.logger.log(0,(()=>"Cannot insert "+e.toString(16)+" ("+t+") at position "+this.pos+". Skipping it!")):(this.chars[this.pos].setChar(t,this.currPenState),this.moveCursor(1))}clearFromPos(e){let t;for(t=e;t"pacData = "+Xe(e)));let t=e.row-1;if(this.nrRollUpRows&&t"bkgData = "+Xe(e))),this.backSpace(),this.setPen(e),this.insertChar(32)}setRollUpRows(e){this.nrRollUpRows=e}rollUp(){if(null===this.nrRollUpRows)return void this.logger.log(3,"roll_up but nrRollUpRows not set yet");this.logger.log(1,(()=>this.getDisplayText()));const e=this.currRow+1-this.nrRollUpRows,t=this.rows.splice(e,1)[0];t.clear(),this.rows.splice(this.currRow,0,t),this.logger.log(2,"Rolling up")}getDisplayText(e){e=e||!1;const t=[];let n="",r=-1;for(let n=0;n0&&(n=e?"["+t.join(" | ")+"]":t.join("\n")),n}getTextAndFormat(){return this.rows}}class So{constructor(e,t,n){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=e,this.outputFilter=t,this.mode=null,this.verbose=0,this.displayedMemory=new ko(n),this.nonDisplayedMemory=new ko(n),this.lastOutputScreen=new ko(n),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=n}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(e){this.outputFilter=e}setPAC(e){this.writeScreen.setPAC(e)}setBkgData(e){this.writeScreen.setBkgData(e)}setMode(e){e!==this.mode&&(this.mode=e,this.logger.log(2,(()=>"MODE="+e)),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=e)}insertChars(e){for(let t=0;tt+": "+this.writeScreen.getDisplayText(!0))),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(this.logger.log(1,(()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0))),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(e){this.logger.log(2,"RU("+e+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(e)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),"MODE_POP-ON"===this.mode){const e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,(()=>"DISP: "+this.displayedMemory.getDisplayText()))}this.outputDataUpdate(!0)}ccTO(e){this.logger.log(2,"TO("+e+") - Tab Offset"),this.writeScreen.moveCursor(e)}ccMIDROW(e){const t={flash:!1};if(t.underline=e%2==1,t.italics=e>=46,t.italics)t.foreground="white";else{const n=Math.floor(e/2)-16,r=["white","green","blue","cyan","red","yellow","magenta"];t.foreground=r[n]}this.logger.log(2,"MIDROW: "+Xe(t)),this.writeScreen.setPen(t)}outputDataUpdate(e=!1){const t=this.logger.time;null!==t&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),e&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:t):this.cueStartTime=t,this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(e){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,e,this.displayedMemory),this.cueStartTime=e))}}class Po{constructor(e,t,n){this.channels=void 0,this.currentChannel=0,this.cmdHistory={a:null,b:null},this.logger=void 0;const r=this.logger=new Io;this.channels=[null,new So(e,t,r),new So(e+1,n,r)]}getHandler(e){return this.channels[e].getHandler()}setHandler(e,t){this.channels[e].setHandler(t)}addData(e,t){this.logger.time=e;for(let e=0;e"["+To([t[e],t[e+1]])+"] -> ("+To([n,r])+")"));const o=this.cmdHistory;if(n>=16&&n<=31){if(xo(n,r,o)){Ao(null,null,o),this.logger.log(3,(()=>"Repeated command ("+To([n,r])+") is dropped"));continue}Ao(n,r,this.cmdHistory),a=this.parseCmd(n,r),a||(a=this.parseMidrow(n,r)),a||(a=this.parsePAC(n,r)),a||(a=this.parseBackgroundAttributes(n,r))}else Ao(null,null,o);if(!a&&(i=this.parseChars(n,r),i)){const e=this.currentChannel;if(e&&e>0){this.channels[e].insertChars(i)}else this.logger.log(2,"No channel found yet. TEXT-MODE?")}a||i||this.logger.log(2,(()=>"Couldn't parse cleaned data "+To([n,r])+" orig: "+To([t[e],t[e+1]])))}}parseCmd(e,t){if(!((20===e||28===e||21===e||29===e)&&t>=32&&t<=47)&&!((23===e||31===e)&&t>=33&&t<=35))return!1;const n=20===e||21===e||23===e?1:2,r=this.channels[n];return 20===e||21===e||28===e||29===e?32===t?r.ccRCL():33===t?r.ccBS():34===t?r.ccAOF():35===t?r.ccAON():36===t?r.ccDER():37===t?r.ccRU(2):38===t?r.ccRU(3):39===t?r.ccRU(4):40===t?r.ccFON():41===t?r.ccRDC():42===t?r.ccTR():43===t?r.ccRTD():44===t?r.ccEDM():45===t?r.ccCR():46===t?r.ccENM():47===t&&r.ccEOC():r.ccTO(t-32),this.currentChannel=n,!0}parseMidrow(e,t){let n=0;if((17===e||25===e)&&t>=32&&t<=47){if(n=17===e?1:2,n!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const r=this.channels[n];return!!r&&(r.ccMIDROW(t),this.logger.log(3,(()=>"MIDROW ("+To([e,t])+")")),!0)}return!1}parsePAC(e,t){let n;if(!((e>=17&&e<=23||e>=25&&e<=31)&&t>=64&&t<=127)&&!((16===e||24===e)&&t>=64&&t<=95))return!1;const r=e<=23?1:2;n=t>=64&&t<=95?1===r?go[e]:yo[e]:1===r?vo[e]:bo[e];const a=this.channels[r];return!!a&&(a.setPAC(this.interpretPAC(n,t)),this.currentChannel=r,!0)}interpretPAC(e,t){let n;const r={color:null,italics:!1,indent:null,underline:!1,row:e};return n=t>95?t-96:t-64,r.underline=!(1&~n),n<=13?r.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(n/2)]:n<=15?(r.italics=!0,r.color="white"):r.indent=4*Math.floor((n-16)/2),r}parseChars(e,t){let n,r=null,a=null;if(e>=25?(n=2,a=e-8):(n=1,a=e),a>=17&&a<=19){let e;e=17===a?t+80:18===a?t+112:t+144,this.logger.log(2,(()=>"Special char '"+fo(e)+"' in channel "+n)),r=[e]}else e>=32&&e<=127&&(r=0===t?[e]:[e,t]);return r&&this.logger.log(3,(()=>"Char codes =  "+To(r).join(","))),r}parseBackgroundAttributes(e,t){if(!((16===e||24===e)&&t>=32&&t<=47)&&!((23===e||31===e)&&t>=45&&t<=47))return!1;let n;const r={};16===e||24===e?(n=Math.floor((t-32)/2),r.background=_o[n],t%2==1&&(r.background=r.background+"_semi")):45===t?r.background="transparent":(r.foreground="black",47===t&&(r.underline=!0));const a=e<=23?1:2;return this.channels[a].setBkgData(r),!0}reset(){for(let e=0;e100)throw new Error("Position must be between 0 and 100.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",a({},l,{get:function(){return _},set:function(e){const t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",a({},l,{get:function(){return I},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");I=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",a({},l,{get:function(){return T},set:function(e){const t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");T=t,this.hasBeenReset=!0}})),s.displayState=void 0}return i.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},i}();class Lo{decode(e,t){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function Oo(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+parseFloat(r||0)}const n=e.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class Co{constructor(){this.values=Object.create(null)}set(e,t){this.get(e)||""===t||(this.values[e]=t)}get(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t}has(e){return e in this.values}alt(e,t,n){for(let r=0;r=0&&n<=100)return this.set(e,n),!0}return!1}}function Do(e,t,n,r){const a=r?e.split(r):[e];for(const e in a){if("string"!=typeof a[e])continue;const r=a[e].split(n);if(2!==r.length)continue;t(r[0],r[1])}}const Ro=new Bo(0,0,""),Fo="middle"===Ro.align?"middle":"center";function zo(e,t,n){const r=e;function a(){const t=Oo(e);if(null===t)throw new Error("Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function i(){e=e.replace(/^\s+/,"")}if(i(),t.startTime=a(),i(),"--\x3e"!==e.slice(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.slice(3),i(),t.endTime=a(),i(),function(e,t){const r=new Co;Do(e,(function(e,t){let a;switch(e){case"region":for(let a=n.length-1;a>=0;a--)if(n[a].id===t){r.set(e,n[a].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":a=t.split(","),r.integer(e,a[0]),r.percent(e,a[0])&&r.set("snapToLines",!1),r.alt(e,a[0],["auto"]),2===a.length&&r.alt("lineAlign",a[1],["start",Fo,"end"]);break;case"position":a=t.split(","),r.percent(e,a[0]),2===a.length&&r.alt("positionAlign",a[1],["start",Fo,"end","line-left","line-right","auto"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start",Fo,"end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");let a=r.get("line","auto");"auto"===a&&-1===Ro.line&&(a=-1),t.line=a,t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100),t.align=r.get("align",Fo);let i=r.get("position","auto");"auto"===i&&50===Ro.position&&(i="start"===t.align||"left"===t.align?0:"end"===t.align||"right"===t.align?100:50),t.position=i}(e,t)}function No(e){return e.replace(//gi,"\n")}class Ho{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new Lo,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(e){const t=this;function n(){let e=t.buffer,n=0;for(e=No(e);n0&&u.push(e)},l.onparsingerror=function(e){h=e},l.onflush=function(){h?s(h):o(u)},c.forEach((e=>{if(g){if(Yo(e,"X-TIMESTAMP-MAP=")){g=!1,e.slice(16).split(",").forEach((e=>{Yo(e,"LOCAL:")?f=e.slice(6):Yo(e,"MPEGTS:")&&(p=parseInt(e.slice(7)))}));try{m=function(e){let t=parseInt(e.slice(-3));const n=parseInt(e.slice(-6,-4)),a=parseInt(e.slice(-9,-7)),i=e.length>9?parseInt(e.substring(0,e.indexOf(":"))):0;if(!(r(t)&&r(n)&&r(a)&&r(i)))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*n,t+=6e4*a,t+=36e5*i,t}(f)/1e3}catch(e){h=e}return}""===e&&(g=!1)}l.parse(e+"\n")})),l.flush()}const $o="stpp.ttml.im1t",Go=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Wo=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,qo={left:"start",center:"center",right:"end",start:"start",end:"end"};function Ko(e,t,n,r){const a=ae(new Uint8Array(e),["mdat"]);if(0===a.length)return void r(new Error("Could not parse IMSC1 mdat"));const i=a.map((e=>A(e))),o=function(e,t,n=1,r=!1){return ka(e,t,1/n,r)}(t.baseTime,1,t.timescale);try{i.forEach((e=>n(function(e,t){const n=(new DOMParser).parseFromString(e,"text/xml"),r=n.getElementsByTagName("tt")[0];if(!r)throw new Error("Invalid ttml");const a={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},i=Object.keys(a).reduce(((e,t)=>(e[t]=r.getAttribute(`ttp:${t}`)||a[t],e)),{}),o="preserve"!==r.getAttribute("xml:space"),s=Jo(Xo(r,"styling","style")),l=Jo(Xo(r,"layout","region")),c=Xo(r,"body","[begin]");return[].map.call(c,(e=>{const n=Zo(e,o);if(!n||!e.hasAttribute("begin"))return null;const r=ts(e.getAttribute("begin"),i),a=ts(e.getAttribute("dur"),i);let c=ts(e.getAttribute("end"),i);if(null===r)throw es(e);if(null===c){if(null===a)throw es(e);c=r+a}const u=new Bo(r-t,c-t,n);u.id=jo(u.startTime,u.endTime,u.text);const d=function(e,t,n){const r="http://www.w3.org/ns/ttml#styling";let a=null;const i=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],o=null!=e&&e.hasAttribute("style")?e.getAttribute("style"):null;o&&n.hasOwnProperty(o)&&(a=n[o]);return i.reduce(((n,i)=>{const o=Qo(t,r,i)||Qo(e,r,i)||Qo(a,r,i);return o&&(n[i]=o),n}),{})}(l[e.getAttribute("region")],s[e.getAttribute("style")],s),{textAlign:h}=d;if(h){const e=qo[h];e&&(u.lineAlign=e),u.align=h}return v(u,d),u})).filter((e=>null!==e))}(e,o))))}catch(e){r(e)}}function Xo(e,t,n){const r=e.getElementsByTagName(t)[0];return r?[].slice.call(r.querySelectorAll(n)):[]}function Jo(e){return e.reduce(((e,t)=>{const n=t.getAttribute("xml:id");return n&&(e[n]=t),e}),{})}function Zo(e,t){return[].slice.call(e.childNodes).reduce(((e,n,r)=>{var a;return"br"===n.nodeName&&r?e+"\n":null!=(a=n.childNodes)&&a.length?Zo(n,t):t?e+n.textContent.trim().replace(/\s+/g," "):e+n.textContent}),"")}function Qo(e,t,n){return e&&e.hasAttributeNS(t,n)?e.getAttributeNS(t,n):null}function es(e){return new Error(`Could not parse ttml timestamp ${e}`)}function ts(e,t){if(!e)return null;let n=Oo(e);return null===n&&(Go.test(e)?n=function(e,t){const n=Go.exec(e),r=(0|n[4])+(0|n[5])/t.subFrameRate;return 3600*(0|n[1])+60*(0|n[2])+(0|n[3])+r/t.frameRate}(e,t):Wo.test(e)&&(n=function(e,t){const n=Wo.exec(e),r=Number(n[1]);switch(n[2]){case"h":return 3600*r;case"m":return 60*r;case"ms":return 1e3*r;case"f":return r/t.frameRate;case"t":return r/t.tickRate}return r}(e,t))),n}class ns{constructor(e,t){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=e,this.trackName=t}dispatchCue(){null!==this.startTime&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(e,t,n){(null===this.startTime||this.startTime>e)&&(this.startTime=e),this.endTime=t,this.screen=n,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class rs{constructor(e){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this.captionsProperties=void 0,this.hls=e,this.config=e.config,this.Cues=e.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},e.on(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(l.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(l.FRAG_LOADING,this.onFragLoading,this),e.on(l.FRAG_LOADED,this.onFragLoaded,this),e.on(l.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(l.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(l.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(l.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(l.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(l.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(l.FRAG_LOADING,this.onFragLoading,this),e.off(l.FRAG_LOADED,this.onFragLoaded,this),e.off(l.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(l.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(l.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(l.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(l.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const e=new ns(this,"textTrack1"),t=new ns(this,"textTrack2"),n=new ns(this,"textTrack3"),r=new ns(this,"textTrack4");this.cea608Parser1=new Po(1,e,t),this.cea608Parser2=new Po(3,n,r)}addCues(e,t,n,r,a){let i=!1;for(let e=a.length;e--;){const r=a[e],l=(o=r[0],s=r[1],c=t,u=n,Math.min(s,u)-Math.max(o,c));if(l>=0&&(r[0]=Math.min(r[0],t),r[1]=Math.max(r[1],n),i=!0,l/(n-t)>.5))return}var o,s,c,u;if(i||a.push([t,n]),this.config.renderTextTracksNatively){const a=this.captionsTracks[e];this.Cues.newCue(a,t,n,r)}else{const a=this.Cues.newCue(null,t,n,r);this.hls.trigger(l.CUES_PARSED,{type:"captions",cues:a,track:e})}}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:a}){const{unparsedVttFrags:i}=this;n===f.MAIN&&(this.initPTS[t.cc]={baseTime:r,timescale:a}),i.length&&(this.unparsedVttFrags=[],i.forEach((e=>{this.onFragLoaded(l.FRAG_LOADED,e)})))}getExistingTrack(e,t){const{media:n}=this;if(n)for(let r=0;r{Ui(r[e]),delete r[e]})),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:e}=this;if(!e)return;const t=e.textTracks;if(t)for(let e=0;ee.textCodec===$o));if(this.config.enableWebVTT||r&&this.config.enableIMSC1){if(Wa(this.tracks,n))return void(this.tracks=n);if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const e=this.media,t=e?Gi(e.textTracks):null;if(this.tracks.forEach(((e,n)=>{let r;if(t){let n=null;for(let r=0;rnull!==e)).map((e=>e.label));e.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${e.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const e=this.tracks.map((e=>({label:e.name,kind:e.type.toLowerCase(),default:e.default,subtitleTrack:e})));this.hls.trigger(l.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:e})}}}onManifestLoaded(e,t){this.config.enableCEA708Captions&&t.captions&&t.captions.forEach((e=>{const t=/(?:CC|SERVICE)([1-4])/.exec(e.instreamId);if(!t)return;const n=`textTrack${t[1]}`,r=this.captionsProperties[n];r&&(r.label=e.name,e.lang&&(r.languageCode=e.lang),r.media=e)}))}closedCaptionsForLevel(e){const t=this.hls.levels[e.level];return null==t?void 0:t.attrs["CLOSED-CAPTIONS"]}onFragLoading(e,t){if(this.enabled&&t.frag.type===f.MAIN){var n,r;const{cea608Parser1:e,cea608Parser2:a,lastSn:i}=this,{cc:o,sn:s}=t.frag,l=null!=(n=null==(r=t.part)?void 0:r.index)?n:-1;e&&a&&(s!==i+1||s===i&&l!==this.lastPartIndex+1||o!==this.lastCc)&&(e.reset(),a.reset()),this.lastCc=o,this.lastSn=s,this.lastPartIndex=l}}onFragLoaded(e,t){const{frag:n,payload:r}=t;if(n.type===f.SUBTITLE)if(r.byteLength){const e=n.decryptdata,a="stats"in t;if(null==e||!e.encrypted||a){const e=this.tracks[n.level],a=this.vttCCs;a[n.cc]||(a[n.cc]={start:n.start,prevCC:this.prevCC,new:!0},this.prevCC=n.cc),e&&e.textCodec===$o?this._parseIMSC1(n,r):this._parseVTTs(t)}}else this.hls.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const n=this.hls;Ko(t,this.initPTS[e.cc],(t=>{this._appendCues(t,e.level),n.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})}),(t=>{n.logger.log(`Failed to parse IMSC1: ${t}`),n.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e,error:t})}))}_parseVTTs(e){var t;const{frag:n,payload:r}=e,{initPTS:a,unparsedVttFrags:i}=this,o=a.length-1;if(!a[n.cc]&&-1===o)return void i.push(e);const s=this.hls;Uo(null!=(t=n.initSegment)&&t.data?pe(n.initSegment.data,new Uint8Array(r)).buffer:r,this.initPTS[n.cc],this.vttCCs,n.cc,n.start,(e=>{this._appendCues(e,n.level),s.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:n})}),(t=>{const a="Missing initPTS for VTT MPEGTS"===t.message;a?i.push(e):this._fallbackToIMSC1(n,r),s.logger.log(`Failed to parse VTT cue: ${t}`),a&&o>n.cc||s.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:t})}))}_fallbackToIMSC1(e,t){const n=this.tracks[e.level];n.textCodec||Ko(t,this.initPTS[e.cc],(()=>{n.textCodec=$o,this._parseIMSC1(e,t)}),(()=>{n.textCodec="wvtt"}))}_appendCues(e,t){const n=this.hls;if(this.config.renderTextTracksNatively){const n=this.textTracks[t];if(!n||"disabled"===n.mode)return;e.forEach((e=>ji(n,e)))}else{const r=this.tracks[t];if(!r)return;const a=r.default?"default":"subtitles"+t;n.trigger(l.CUES_PARSED,{type:"subtitles",cues:e,track:a})}}onFragDecrypted(e,t){const{frag:n}=t;n.type===f.SUBTITLE&&this.onFragLoaded(l.FRAG_LOADED,t)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(e,t){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:n,samples:r}=t;if(n.type!==f.MAIN||"NONE"!==this.closedCaptionsForLevel(n))for(let e=0;e$i(e[r],t,n)))}if(this.config.renderTextTracksNatively&&0===t&&void 0!==r){const{textTracks:e}=this;Object.keys(e).forEach((n=>$i(e[n],t,r)))}}}extractCea608Data(e){const t=[[],[]],n=31&e[0];let r=2;for(let a=0;a=16?l--:l++;const r=No(c.trim()),f=jo(t,n,r);null!=e&&null!=(d=e.cues)&&d.getCueById(f)||(o=new u(t,n,r),o.id=f,o.line=h+1,o.align="left",o.position=10+Math.min(80,10*Math.floor(8*l/32)),a.push(o))}return e&&a.length&&(a.sort(((e,t)=>"auto"===e.line||"auto"===t.line?0:e.line>8&&t.line>8?t.line-e.line:e.line-t.line)),a.forEach((t=>ji(e,t)))),a}};function ls(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(e){}return!1}const cs=/(\d+)-(\d+)\/(\d+)/;class us{constructor(e){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=e.fetchSetup||ds,this.controller=new self.AbortController,this.stats=new H}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var e;this.abortInternal(),null!=(e=this.callbacks)&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(e,t,n){const a=this.stats;if(a.loading.start)throw new Error("Loader can only be used once.");a.loading.start=self.performance.now();const i=function(e,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(v({},e.headers))};e.rangeEnd&&n.headers.set("Range","bytes="+e.rangeStart+"-"+String(e.rangeEnd-1));return n}(e,this.controller.signal),o="arraybuffer"===e.responseType,s=o?"byteLength":"length",{maxTimeToFirstByteMs:l,maxLoadTimeMs:c}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=n,this.request=this.fetchSetup(e,i),self.clearTimeout(this.requestTimeout),t.timeout=l&&r(l)?l:c,this.requestTimeout=self.setTimeout((()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(a,e,this.response))}),t.timeout);(Ha(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then((n=>{var i;this.response=this.loader=n;const s=Math.max(self.performance.now(),a.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=c,this.requestTimeout=self.setTimeout((()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(a,e,this.response))}),c-(s-a.loading.start)),!n.ok){const{status:e,statusText:t}=n;throw new hs(t||"fetch, bad network response",e,n)}a.loading.first=s,a.total=function(e){const t=e.get("Content-Range");if(t){const e=function(e){const t=cs.exec(e);if(t)return parseInt(t[2])-parseInt(t[1])+1}(t);if(r(e))return e}const n=e.get("Content-Length");if(n)return parseInt(n)}(n.headers)||a.total;const l=null==(i=this.callbacks)?void 0:i.onProgress;return l&&r(t.highWaterMark)?this.loadProgressively(n,a,e,t.highWaterMark,l):o?n.arrayBuffer():"json"===e.responseType?n.json():n.text()})).then((n=>{var i,o;const l=this.response;if(!l)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),a.loading.end=Math.max(self.performance.now(),a.loading.first);const c=n[s];c&&(a.loaded=a.total=c);const u={url:l.url,data:n,code:l.status},d=null==(i=this.callbacks)?void 0:i.onProgress;d&&!r(t.highWaterMark)&&d(a,e,n,l),null==(o=this.callbacks)||o.onSuccess(u,a,e,l)})).catch((t=>{var n;if(self.clearTimeout(this.requestTimeout),a.aborted)return;const r=t&&t.code||0,i=t?t.message:null;null==(n=this.callbacks)||n.onError({code:r,text:i},e,t?t.details:null,a)}))}getCacheAge(){let e=null;if(this.response){const t=this.response.headers.get("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.response?this.response.headers.get(e):null}loadProgressively(e,t,n,r=0,a){const i=new gr,o=e.body.getReader(),s=()=>o.read().then((o=>{if(o.done)return i.dataLength&&a(t,n,i.flush().buffer,e),Promise.resolve(new ArrayBuffer(0));const l=o.value,c=l.length;return t.loaded+=c,c=r&&a(t,n,i.flush().buffer,e)):a(t,n,l.buffer,e),s()})).catch((()=>Promise.reject()));return s()}}function ds(e,t){return new self.Request(e.url,t)}class hs extends Error{constructor(e,t,n){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=n}}const fs=/^age:\s*[\d.]+\s*$/im;class ps{constructor(e){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=e&&e.xhrSetup||null,this.stats=new H,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const e=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),e&&(e.onreadystatechange=null,e.onprogress=null,4!==e.readyState&&(this.stats.aborted=!0,e.abort()))}abort(){var e;this.abortInternal(),null!=(e=this.callbacks)&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(e,t,n){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=e,this.config=t,this.callbacks=n,this.loadInternal()}loadInternal(){const{config:e,context:t}=this;if(!e||!t)return;const n=this.loader=new self.XMLHttpRequest,r=this.stats;r.loading.first=0,r.loaded=0,r.aborted=!1;const a=this.xhrSetup;a?Promise.resolve().then((()=>{if(this.loader===n&&!this.stats.aborted)return a(n,t.url)})).catch((e=>{if(this.loader===n&&!this.stats.aborted)return n.open("GET",t.url,!0),a(n,t.url)})).then((()=>{this.loader!==n||this.stats.aborted||this.openAndSendXhr(n,t,e)})).catch((e=>{var a;null==(a=this.callbacks)||a.onError({code:n.status,text:e.message},t,n,r)})):this.openAndSendXhr(n,t,e)}openAndSendXhr(e,t,n){e.readyState||e.open("GET",t.url,!0);const a=t.headers,{maxTimeToFirstByteMs:i,maxLoadTimeMs:o}=n.loadPolicy;if(a)for(const t in a)e.setRequestHeader(t,a[t]);t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,self.clearTimeout(this.requestTimeout),n.timeout=i&&r(i)?i:o,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),n.timeout),e.send()}readystatechange(){const{context:e,loader:t,stats:n}=this;if(!e||!t)return;const r=t.readyState,a=this.config;if(!n.aborted&&r>=2&&(0===n.loading.first&&(n.loading.first=Math.max(self.performance.now(),n.loading.start),a.timeout!==a.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),a.timeout=a.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),a.loadPolicy.maxLoadTimeMs-(n.loading.first-n.loading.start)))),4===r)){self.clearTimeout(this.requestTimeout),t.onreadystatechange=null,t.onprogress=null;const r=t.status,l="text"===t.responseType?t.responseText:null;if(r>=200&&r<300){const a=null!=l?l:t.response;if(null!=a){var i,o;n.loading.end=Math.max(self.performance.now(),n.loading.first);const s="arraybuffer"===t.responseType?a.byteLength:a.length;n.loaded=n.total=s,n.bwEstimate=8e3*n.total/(n.loading.end-n.loading.first);const l=null==(i=this.callbacks)?void 0:i.onProgress;l&&l(n,e,a,t);const c={url:t.responseURL,data:a,code:r};return void(null==(o=this.callbacks)||o.onSuccess(c,n,e,t))}}const c=a.loadPolicy.errorRetry;var s;if(mt(c,n.retry,!1,{url:e.url,data:void 0,code:r}))this.retry(c);else k.error(`${r} while loading ${e.url}`),null==(s=this.callbacks)||s.onError({code:r,text:t.statusText},e,t,n)}}loadtimeout(){if(!this.config)return;const e=this.config.loadPolicy.timeoutRetry;if(mt(e,this.stats.retry,!0))this.retry(e);else{var t;k.warn(`timeout while loading ${null==(t=this.context)?void 0:t.url}`);const e=this.callbacks;e&&(this.abortInternal(),e.onTimeout(this.stats,this.context,this.loader))}}retry(e){const{context:t,stats:n}=this;this.retryDelay=ft(e,n.retry),n.retry++,k.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${null==t?void 0:t.url}, retrying ${n.retry}/${e.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(e){const t=this.stats;t.loaded=e.loaded,e.lengthComputable&&(t.total=e.total)}getCacheAge(){let e=null;if(this.loader&&fs.test(this.loader.getAllResponseHeaders())){const t=this.loader.getResponseHeader("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.loader&&new RegExp(`^${e}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(e):null}}const ms=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:6e7,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:ps,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:it,bufferController:ti,capLevelController:ai,errorController:yt,fpsController:Vi,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:vn,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null}},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},{cueHandler:ss,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}),{},{subtitleStreamController:co,subtitleTrackController:Wi,timelineController:rs,audioStreamController:$a,audioTrackController:Xa,emeController:Ni,cmcdController:Di,contentSteeringController:Ri,interstitialsController:class extends _{constructor(e,t){super("interstitials",e.logger),this.HlsPlayerClass=void 0,this.hls=void 0,this.assetListLoader=void 0,this.mediaSelection=null,this.altSelection=null,this.media=null,this.detachedData=null,this.requiredTracks=null,this.manager=null,this.playerQueue=[],this.bufferedPos=-1,this.timelinePos=-1,this.schedule=void 0,this.playingItem=null,this.bufferingItem=null,this.waitingItem=null,this.endedItem=null,this.playingAsset=null,this.endedAsset=null,this.bufferingAsset=null,this.shouldPlay=!1,this.onPlay=()=>{this.shouldPlay=!0},this.onPause=()=>{this.shouldPlay=!1},this.onSeeking=()=>{const e=this.currentTime;if(void 0===e||this.playbackDisabled)return;const t=e-this.timelinePos;if(Math.abs(t)<1/7056e5)return;const n=t<=-.01;this.timelinePos=e,this.bufferedPos=e;const r=this.playingItem;if(!r)return void this.checkBuffer();if(n){this.schedule.resetErrorsInRange(e,e-t)&&this.updateSchedule()}if(this.checkBuffer(),n&&e=r.end){var a;const e=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(r)&&null!=(a=this.media)&&a.paused&&(this.shouldPlay=!1),!n){const t=this.findItemIndex(r);if(e>t){const n=this.schedule.findJumpRestrictedIndex(t+1,e);if(n>t)return void this.setSchedulePosition(n)}}return void this.setSchedulePosition(e)}const i=this.playingAsset;if(!i){if(this.playingLastItem&&this.isInterstitial(r)){const t=r.event.assetList[0];t&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(e,t))}return}const o=i.timelineStart,s=i.duration||0;(n&&e=o+s)&&this.setScheduleToAssetAtTime(e,i)},this.onTimeupdate=()=>{const e=this.currentTime;if(void 0===e||this.playbackDisabled)return;if(!(e>this.timelinePos))return;this.timelinePos=e,e>this.bufferedPos&&this.checkBuffer();const t=this.playingItem;if(!t||this.playingLastItem)return;if(e>=t.end){this.timelinePos=t.end;const e=this.findItemIndex(t);this.setSchedulePosition(e+1)}const n=this.playingAsset;if(!n)return;e>=n.timelineStart+(n.duration||0)&&this.setScheduleToAssetAtTime(e,n)},this.onScheduleUpdate=(e,t)=>{const n=this.schedule,r=this.playingItem,a=n.events||[],i=n.items||[],o=n.durations,s=e.map((e=>e.identifier)),c=!(!a.length&&!s.length);if(c&&this.log(`INTERSTITIALS_UPDATED (${a.length}): ${a}\nSchedule: ${i.map((e=>ao(e)))}`),s.length&&this.log(`Removed events ${s}`),this.playerQueue.forEach((e=>{if(e.interstitial.appendInPlace){const t=e.assetItem.timelineStart,n=e.timelineOffset-t;if(n)try{e.timelineOffset=t}catch(r){Math.abs(n)>Ki&&this.warn(`${r} ("${e.assetId}" ${e.timelineOffset}->${t})`)}}})),r){const e=this.updateItem(r,this.timelinePos);this.itemsMatch(r,e)&&(this.playingItem=e,this.waitingItem=this.endedItem=null)}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const u=this.bufferingItem;if(u){const e=this.updateItem(u,this.bufferedPos);this.itemsMatch(u,e)?this.bufferingItem=e:u.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(u.event,null))}if(e.forEach((e=>{e.assetList.forEach((e=>{this.clearAssetPlayer(e.identifier,null)}))})),c||t){if(this.hls.trigger(l.INTERSTITIALS_UPDATED,{events:a.slice(0),schedule:i.slice(0),durations:o,removedIds:s}),this.isInterstitial(r)&&s.includes(r.event.identifier))return this.warn(`Interstitial "${r.event.identifier}" removed while playing`),void this.primaryFallback(r.event);this.checkBuffer()}},this.hls=e,this.HlsPlayerClass=t,this.assetListLoader=new io(e),this.schedule=new ro(this.onScheduleUpdate,e.logger),this.registerListeners()}registerListeners(){const e=this.hls;e.on(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(l.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(l.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.on(l.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(l.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.on(l.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.on(l.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.on(l.BUFFER_APPENDED,this.onBufferAppended,this),e.on(l.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(l.BUFFERED_TO_END,this.onBufferedToEnd,this),e.on(l.MEDIA_ENDED,this.onMediaEnded,this),e.on(l.ERROR,this.onError,this),e.on(l.DESTROYING,this.onDestroying,this)}unregisterListeners(){const e=this.hls;e&&(e.off(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(l.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(l.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.off(l.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(l.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.off(l.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.off(l.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.off(l.BUFFER_CODECS,this.onBufferCodecs,this),e.off(l.BUFFER_APPENDED,this.onBufferAppended,this),e.off(l.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(l.BUFFERED_TO_END,this.onBufferedToEnd,this),e.off(l.MEDIA_ENDED,this.onMediaEnded,this),e.off(l.ERROR,this.onError,this),e.off(l.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var e;null==(e=this.getBufferingPlayer())||e.resumeBuffering()}pauseBuffering(){var e;null==(e=this.getBufferingPlayer())||e.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.manager=null,this.hls=this.HlsPlayerClass=this.schedule=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const e=this.primaryMedia||this.media;e&&this.removeMediaListeners(e)}removeMediaListeners(e){so(e,"play",this.onPlay),so(e,"pause",this.onPause),so(e,"seeking",this.onSeeking),so(e,"timeupdate",this.onTimeupdate)}onMediaAttaching(e,t){const n=this.media=t.media;oo(n,"seeking",this.onSeeking),oo(n,"timeupdate",this.onTimeupdate),oo(n,"play",this.onPlay),oo(n,"pause",this.onPause)}onMediaAttached(e,t){const n=this.effectivePlayingItem,r=this.detachedData;if(this.detachedData=null,null===n)this.checkStart();else if(!r){this.clearScheduleState();const e=this.findItemIndex(n);this.setSchedulePosition(e)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(e,t){const n=!!t.transferMedia,r=this.media;if(this.media=null,!n&&(r&&this.removeMediaListeners(r),this.detachedData)){const e=this.getBufferingPlayer();e&&(this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,e.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.manager){if(!this.hls)return null;const e=this,t=()=>e.bufferingItem||e.waitingItem,n=t=>t?e.getAssetPlayer(t.identifier):t,r=(t,r,a,o,s)=>{if(t){let l=t[r].start;const c=t.event;if(c){if("playout"===r||c.timelineOccupancy!==Xi.Point){const e=n(a);(null==e?void 0:e.interstitial)===c&&(l+=e.assetItem.startOffset+e[s])}}else{l+=("bufferedPos"===o?i():e[o])-t.start}return l}return 0},a=(t,n)=>{if(0!==t&&"primary"!==n&&e.schedule.length){var r;const a=e.schedule.findItemIndexAtTime(t),i=null==(r=e.schedule.items)?void 0:r[a];if(i){return t+(i[n].start-i.start)}}return t},i=()=>{const t=e.bufferedPos;return t===Number.MAX_VALUE?o("primary"):Math.max(t,0)},o=t=>{var n;return null!=(n=e.primaryDetails)&&n.live?e.primaryDetails.edge:e.schedule.durations[t]},s=(t,a)=>{var i,o;const s=e.effectivePlayingItem;if(null!=s&&null!=(i=s.event)&&i.restrictions.skip)return;e.log(`seek to ${t} "${a}"`);const l=e.effectivePlayingItem,c=e.schedule.findItemIndexAtTime(t,a),u=null==(o=e.schedule.items)?void 0:o[c],d=e.getBufferingPlayer(),h=null==d?void 0:d.interstitial,f=null==h?void 0:h.appendInPlace,p=l&&e.itemsMatch(l,u);if(l&&(f||p)){const i=n(e.playingAsset),o=(null==i?void 0:i.media)||e.primaryMedia;if(o){const n="primary"===a?o.currentTime:r(l,a,e.playingAsset,"timelinePos","currentTime"),s=t-n,c=(f?n:o.currentTime)+s;if(c>=0&&(!i||f||c<=i.duration))return void(o.currentTime=c)}}if(u){let n=t;if("primary"!==a){const e=t-u[a].start;n=u.start+e}const r=!e.isInterstitial(u);if(e.isInterstitial(l)&&!l.event.appendInPlace||!r&&!u.event.appendInPlace){if(l){const i=e.findItemIndex(l);if(c>i){const t=e.schedule.findJumpRestrictedIndex(i+1,c);if(t>i)return void e.setSchedulePosition(t)}let o=0;if(r)e.timelinePos=n,e.checkBuffer();else{var m;const e=null==u||null==(m=u.event)?void 0:m.assetList;if(e){const n=t-(u[a]||u).start;for(let t=e.length;t--;){const r=e[t];if(r.duration&&n>=r.startOffset&&n{const n=e.effectivePlayingItem;if(e.isInterstitial(n))return n;const r=t();return e.isInterstitial(r)?r:null},c={get currentTime(){const t=l(),n=e.effectivePlayingItem;return n&&n===t?r(n,"playout",e.effectivePlayingAsset,"timelinePos","currentTime")-n.playout.start:0},set currentTime(t){const n=l(),r=e.effectivePlayingItem;r&&r===n&&s(t+r.playout.start,"playout")},get duration(){const e=l();return e?e.playout.end-e.playout.start:0},get assetPlayers(){var t;const n=null==(t=l())?void 0:t.event.assetList;return n?n.map((t=>e.getAssetPlayer(t.identifier))):[]},get playingIndex(){var t;const n=null==(t=l())?void 0:t.event;return n&&e.effectivePlayingAsset?n.findAssetIndex(e.effectivePlayingAsset):-1},get scheduleItem(){return l()}};this.manager={get events(){var t,n;return(null==(t=e.schedule)||null==(n=t.events)?void 0:n.slice(0))||[]},get schedule(){var t,n;return(null==(t=e.schedule)||null==(n=t.items)?void 0:n.slice(0))||[]},get interstitialPlayer(){return l()?c:null},get playerQueue(){return e.playerQueue.slice(0)},get bufferingAsset(){return e.bufferingAsset},get bufferingItem(){return t()},get bufferingIndex(){const n=t();return e.findItemIndex(n)},get playingAsset(){return e.effectivePlayingAsset},get playingItem(){return e.effectivePlayingItem},get playingIndex(){const t=e.effectivePlayingItem;return e.findItemIndex(t)},primary:{get bufferedEnd(){return i()},get currentTime(){const t=e.timelinePos;return t>0?t:0},set currentTime(e){s(e,"primary")},get duration(){return o("primary")},get seekableStart(){var t;return(null==(t=e.primaryDetails)?void 0:t.fragmentStart)||0}},integrated:{get bufferedEnd(){return r(t(),"integrated",e.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return r(e.effectivePlayingItem,"integrated",e.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(e){s(e,"integrated")},get duration(){return o("integrated")},get seekableStart(){var t;return a((null==(t=e.primaryDetails)?void 0:t.fragmentStart)||0,"integrated")}},skip:()=>{const t=e.effectivePlayingItem,n=null==t?void 0:t.event;if(n&&!n.restrictions.skip){const r=e.findItemIndex(t);if(n.appendInPlace){const e=t.playout.start+t.event.duration;s(e+.001,"playout")}else e.advanceAfterAssetEnded(n,r,1/0)}}}}return this.manager}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var e;const t=this.playingItem,n=null==(e=this.schedule)?void 0:e.items;return!!(this.playbackStarted&&t&&n)&&this.findItemIndex(t)===n.length-1}get playbackStarted(){return null!==this.effectivePlayingItem}get currentTime(){var e,t,n;if(null===this.mediaSelection)return;const a=this.waitingItem||this.playingItem;if(this.isInterstitial(a)&&!a.event.appendInPlace)return;let i=this.media;!i&&null!=(e=this.bufferingItem)&&null!=(t=e.event)&&t.appendInPlace&&(i=this.primaryMedia);const o=null==(n=i)?void 0:n.currentTime;return void 0!==o&&r(o)?o:void 0}get primaryMedia(){var e;return this.media||(null==(e=this.detachedData)?void 0:e.media)||null}isInterstitial(e){return!(null==e||!e.event)}retreiveMediaSource(e,t){const n=this.getAssetPlayer(e);n&&this.transferMediaFromPlayer(n,t)}transferMediaFromPlayer(e,t){const n=e.interstitial.appendInPlace,r=e.media;if(n&&r===this.primaryMedia){if(this.bufferingAsset=null,(!t||this.isInterstitial(t)&&!t.event.appendInPlace)&&t&&r)return void(this.detachedData={media:r});const n=e.transferMedia();this.log(`transfer MediaSource from ${e} ${Xe(n)}`),this.detachedData=n}else t&&r&&(this.shouldPlay||(this.shouldPlay=!r.paused))}transferMediaTo(e,t){var n,r;if(e.media===t)return;let a=null;const i=this.hls,o=e!==i,s=o&&e.interstitial.appendInPlace,l=null==(n=this.detachedData)?void 0:n.mediaSource;let c;if(i.media)s&&(a=i.transferMedia(),this.detachedData=a),c="Primary";else if(l){const e=this.getBufferingPlayer();e?(a=e.transferMedia(),c=`${e}`):c="detached MediaSource"}else c="detached media";if(!a)if(l)a=this.detachedData,this.log(`using detachedData: MediaSource ${Xe(a)}`);else if(!this.detachedData||i.media===t){const e=this.playerQueue;e.length>1&&e.forEach((e=>{if(o&&e.interstitial.appendInPlace!==s){const t=e.interstitial;this.clearInterstitial(e.interstitial,null),t.appendInPlace=!1,t.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${t}`)}})),this.hls.detachMedia(),this.detachedData={media:t}}const u=a&&"mediaSource"in a&&"closed"!==(null==(r=a.mediaSource)?void 0:r.readyState),d=u&&a?a:t;if(this.log(`${u?"transfering MediaSource":"attaching media"} to ${o?e:"Primary"} from ${c}`),d===a){const t=o&&e.assetId===this.schedule.assetIdAtEnd;d.overrides={duration:this.schedule.duration,endOfStream:!o||t,cueRemoval:!o}}e.attachMedia(d)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const e=this.schedule,t=e.events;if(!t||this.playbackDisabled||!this.media)return;-1===this.bufferedPos&&(this.bufferedPos=0);const n=this.timelinePos,r=this.effectivePlayingItem;if(-1===n){const n=this.hls.startPosition;if(this.timelinePos=n,t.length&&t[0].cue.pre){const n=e.findEventIndex(t[0].identifier);this.setSchedulePosition(n)}else if(n>=0||!this.primaryLive){const t=this.timelinePos=n>0?n:0,r=e.findItemIndexAtTime(t);this.setSchedulePosition(r)}}else if(r&&!this.playingItem){const t=e.findItemIndex(r);this.setSchedulePosition(t)}}advanceAfterAssetEnded(e,t,n){const r=n+1;if(e.isAssetPastPlayoutLimit(r)||e.assetList[r].error){const n=this.schedule.items;if(n){const r=t+1;if(r>=n.length)return void this.setSchedulePosition(-1);const a=e.resumeTime;this.timelinePos=0?n[e]:null,a=this.playingItem,i=this.playingLastItem;if(this.isInterstitial(a)){var o;const c=a.event,u=this.playingAsset,d=null==u?void 0:u.identifier,h=d?this.getAssetPlayer(d):null;if(h&&d&&(!this.eventItemsMatch(a,r)||void 0!==t&&d!==(null==(o=c.assetList)?void 0:o[t].identifier))){var s;const t=c.findAssetIndex(u);this.log(`INTERSTITIAL_ASSET_ENDED ${t+1}/${c.assetList.length} ${to(u)}`),this.endedAsset=u,this.playingAsset=null,this.hls.trigger(l.INTERSTITIAL_ASSET_ENDED,{asset:u,assetListIndex:t,event:c,schedule:n.slice(0),scheduleIndex:e,player:h}),this.retreiveMediaSource(d,r),!h.media||null!=(s=this.detachedData)&&s.mediaSource||h.detachMedia()}if(!this.eventItemsMatch(a,r)&&(this.endedItem=a,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${c} ${ao(a)}`),c.hasPlayed=!0,this.hls.trigger(l.INTERSTITIAL_ENDED,{event:c,schedule:n.slice(0),scheduleIndex:e}),c.cue.once)){this.updateSchedule();const e=this.schedule.items;if(r&&e){const n=this.schedule.findItemIndex(r);this.advanceSchedule(n,e,t,a,i)}return}}this.advanceSchedule(e,n,t,a,i)}advanceSchedule(e,t,n,r,a){const i=e>=0?t[e]:null,o=this.primaryMedia,s=this.playerQueue;if(s.length&&s.forEach((t=>{const n=t.interstitial,r=this.schedule.findEventIndex(n.identifier);(re+1)&&this.clearInterstitial(n,i)})),this.isInterstitial(i)){this.timelinePos=Math.min(Math.max(this.timelinePos,i.start),i.end);const a=i.event;void 0===n&&(n=this.schedule.findAssetIndex(a,this.timelinePos));const s=this.waitingItem;this.assetsBuffered(i,o)||this.setBufferingItem(i);let c=this.preloadAssets(a,n);if(this.eventItemsMatch(i,s||r)||(this.waitingItem=i,this.log(`INTERSTITIAL_STARTED ${ao(i)} ${a.appendInPlace?"append in place":""}`),this.hls.trigger(l.INTERSTITIAL_STARTED,{event:a,schedule:t.slice(0),scheduleIndex:e})),!a.assetListLoaded)return void this.log(`Waiting for ASSET-LIST to complete loading ${a}`);if(a.assetListLoader&&(a.assetListLoader.destroy(),a.assetListLoader=void 0),!o)return void this.log(`Waiting for attachMedia to start Interstitial ${a}`);this.waitingItem=this.endedItem=null,this.playingItem=i;const u=a.assetList[n];if(!u){const r=t[e+1],i=this.media;return r&&i&&!this.isInterstitial(r)&&i.currentTime=e.end)&&(n=this.getPrimaryResumption(e,t),this.timelinePos=n),this.attachPrimary(n,e)}if(!n)return;const a=this.schedule.items;a&&(this.log(`resumed ${ao(e)}`),this.hls.trigger(l.INTERSTITIALS_PRIMARY_RESUMED,{schedule:a.slice(0),scheduleIndex:t}),this.checkBuffer())}getPrimaryResumption(e,t){const n=e.start;if(this.primaryLive){const e=this.primaryDetails;if(0===t)return this.hls.startPosition;if(e&&(ne.edge))return this.hls.liveSyncPosition||-1}return n}isAssetBuffered(e){const t=this.getAssetPlayer(e.identifier);if(null!=t&&t.hls)return t.hls.bufferedToEnd;return Yt.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=e.timelineStart+(e.duration||0)}attachPrimary(e,t,n){t?this.setBufferingItem(t):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const r=this.primaryMedia;if(!r)return;const a=this.hls;a.media?this.checkBuffer():(this.transferMediaTo(a,r),n&&this.startLoadingPrimaryAt(e,n)),n||(this.timelinePos=e,this.startLoadingPrimaryAt(e,n))}startLoadingPrimaryAt(e,t){var n;const r=this.hls;!r.loadingEnabled||!r.media||Math.abs(((null==(n=r.mainForwardBufferInfo)?void 0:n.start)||r.media.currentTime)-e)>.5?r.startLoad(e,t):r.bufferingEnabled||r.resumeBuffering()}onManifestLoading(){this.stopLoad(),this.schedule.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(l.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(l.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(e,t){if(-1===t.level)return;const n=this.hls.levels[t.level],r=b(b({},this.mediaSelection||this.altSelection),{},{main:n});this.mediaSelection=r,this.schedule.parseInterstitialDateRanges(r,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(e,t){const n=this.hls.audioTracks[t.id],r=this.mediaSelection;if(!r)return void(this.altSelection=b(b({},this.altSelection),{},{audio:n}));const a=b(b({},r),{},{audio:n});this.mediaSelection=a}onSubtitleTrackUpdated(e,t){const n=this.hls.subtitleTracks[t.id],r=this.mediaSelection;if(!r)return void(this.altSelection=b(b({},this.altSelection),{},{subtitles:n}));const a=b(b({},r),{},{subtitles:n});this.mediaSelection=a}onAudioTrackSwitching(e,t){const n=Qe(t);this.playerQueue.forEach((e=>e.hls.setAudioOption(t)||e.hls.setAudioOption(n)))}onSubtitleTrackSwitch(e,t){const n=Qe(t);this.playerQueue.forEach((e=>e.hls.setSubtitleOption(t)||-1!==t.id&&e.hls.setSubtitleOption(n)))}onBufferCodecs(e,t){const n=t.tracks;n&&(this.requiredTracks=n)}onBufferAppended(e,t){this.checkBuffer()}onBufferFlushed(e,t){const n=this.playingItem;if(n&&!this.itemsMatch(n,this.bufferingItem)&&!this.isInterstitial(n)){const e=this.timelinePos;this.bufferedPos=e,this.checkBuffer()}}onBufferedToEnd(e){const t=this.schedule.events;if(this.bufferedPose)return;if(1===t.length&&this.itemsMatch(t[0],a))return void(this.bufferedPos=e);const i=this.playingItem,o=this.findItemIndex(i);let s=r.findItemIndexAtTime(e);if(this.bufferedPos=a.end||null!=(l=i.event)&&l.appendInPlace&&e+.01>=i.start)&&(s=r),r-o>1&&!1===(null==a||null==(c=a.event)?void 0:c.appendInPlace))return;if(this.bufferedPos=e,s>n&&s>o)this.bufferedToItem(i);else{const t=this.primaryDetails;this.primaryLive&&t&&e>t.edge-t.targetduration&&i.start{const n=this.getAssetPlayer(e.identifier);return!(null!=n&&n.bufferedInPlaceToEnd(t))}))}setBufferingItem(e){const t=this.bufferingItem,n=this.schedule;if(this.itemsMatch(e,t))this.bufferingItem!==e&&(this.bufferingItem=e);else{const{items:r,events:a}=n;if(!r||!a)return t;const i=this.isInterstitial(e),o=this.getBufferingPlayer();if(this.bufferingItem=e,this.bufferedPos=Math.max(e.start,Math.min(e.end,this.timelinePos)),!this.playbackDisabled){const n=o?o.remaining:t?t.end-this.timelinePos:0;this.log(`buffered to boundary ${ao(e)}`+(t?` (${n.toFixed(2)} remaining)`:"")),i?e.event.assetList.forEach((e=>{const t=this.getAssetPlayer(e.identifier);t&&t.resumeBuffering()})):(this.hls.resumeBuffering(),this.playerQueue.forEach((e=>e.pauseBuffering())))}this.hls.trigger(l.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:a.slice(0),schedule:r.slice(0),bufferingIndex:this.findItemIndex(e),playingIndex:this.findItemIndex(this.playingItem)})}return t}bufferedToItem(e,t=0){const n=this.setBufferingItem(e);if(!this.playbackDisabled)if(this.isInterstitial(e))this.bufferedToEvent(e,t);else if(null!==n){this.bufferingAsset=null;const t=this.detachedData;if(t)if(t.mediaSource){const t=!0;this.attachPrimary(e.start,e,t)}else this.preloadPrimary(e);else this.preloadPrimary(e)}}preloadPrimary(e){const t=this.findItemIndex(e),n=this.getPrimaryResumption(e,t);this.startLoadingPrimaryAt(n)}bufferedToEvent(e,t){const n=e.event,r=0===n.assetList.length&&!n.assetListLoader,a=n.cue.once;if(r||!a){const e=this.preloadAssets(n,t);if(null!=e&&e.interstitial.appendInPlace){const r=n.assetList[t],a=this.primaryMedia;r&&a&&this.bufferAssetPlayer(e,a)}}}preloadAssets(e,t){const n=e.assetUrl,r=e.assetList.length,a=0===r&&!e.assetListLoader,i=e.cue.once;if(a){const a=e.timelineStart;if(e.appendInPlace){var o;const t=this.playingItem;this.isInterstitial(t)||(null==t||null==(o=t.nextEvent)?void 0:o.identifier)!==e.identifier||this.flushFrontBuffer(a+.25)}let i,s=0;if(!this.playingItem&&this.primaryLive&&(s=this.hls.startPosition,-1===s&&(s=this.hls.liveSyncPosition||0)),s&&!e.cue.pre&&!e.cue.post){const e=s-a;e>0&&(i=Math.round(1e3*e)/1e3)}if(this.log(`Load interstitial asset ${t+1}/${n?1:r} ${e}${i?` live-start: ${s} start-offset: ${i}`:""}`),n)return this.createAsset(e,0,0,a,e.duration,n);const l=this.assetListLoader.loadAssetList(e,i);l&&(e.assetListLoader=l)}else if(!i&&r){for(let n=t;n{this.hls.trigger(l.BUFFER_FLUSHING,{startOffset:e,endOffset:1/0,type:t})}))}getAssetPlayerQueueIndex(e){const t=this.playerQueue;for(let n=0;n1){const n=t.duration;n&&e{if(r.live){const t=new Error(`Interstitials MUST be VOD assets ${e}`),r={fatal:!0,type:o.OTHER_ERROR,details:s.INTERSTITIAL_ASSET_ITEM_ERROR,error:t};return void this.handleAssetItemError(r,e,this.schedule.findEventIndex(e.identifier),n,t.message)}const a=r.edge-r.fragmentStart,i=t.duration;(null===i||a>i)&&(this.log(`Interstitial asset "${f}" duration change ${i} > ${a}`),t.duration=a,this.updateSchedule())};g.on(l.LEVEL_UPDATED,((e,{details:t})=>y(t))),g.on(l.LEVEL_PTS_UPDATED,((e,{details:t})=>y(t)));const _=(e,t)=>{const n=this.getAssetPlayer(f);if(n&&t.tracks){n.off(l.BUFFER_CODECS,_),n.tracks=t.tracks;const e=this.primaryMedia;this.bufferingAsset===n.assetItem&&e&&!n.media&&this.bufferAssetPlayer(n,e)}};g.on(l.BUFFER_CODECS,_);const I=()=>{var n;const r=this.getAssetPlayer(f);if(this.log(`buffered to end of asset ${r}`),!r)return;const a=this.schedule.findEventIndex(e.identifier),i=e.findAssetIndex(t),o=i+1,s=null==(n=this.schedule.items)?void 0:n[a];if(this.isInterstitial(s))if(-1===i||e.isAssetPastPlayoutLimit(o)||e.assetList[o].error){var l;const e=null==(l=this.schedule.items)?void 0:l[a+1];e&&this.bufferedToItem(e)}else this.bufferedToItem(s,o)};g.on(l.BUFFERED_TO_END,I);const T=t=>()=>{if(!this.getAssetPlayer(f))return;this.shouldPlay=!0;const n=this.schedule.findEventIndex(e.identifier);this.advanceAfterAssetEnded(e,n,t)};return g.once(l.MEDIA_ENDED,T(n)),g.once(l.PLAYOUT_LIMIT_REACHED,T(1/0)),g.on(l.ERROR,((t,r)=>{const a=this.getAssetPlayer(f);if(r.details!==s.BUFFER_STALLED_ERROR)this.handleAssetItemError(r,e,this.schedule.findEventIndex(e.identifier),n,`Asset player error ${r.error} ${e}`);else if(null!=a&&a.media){const t=a.currentTime,n=a.duration-t;t&&e.appendInPlace&&n/a.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${f} ${e} at ${a.media.currentTime}`),I()):(this.warn(`Stalled at ${t} of ${t+n} in asset ${f} ${e}`),this.onTimeupdate(),this.checkBuffer(!0))}})),g.on(l.DESTROYING,(()=>{if(!this.getAssetPlayer(f))return;const t=new Error(`Asset player destroyed unexpectedly ${f}`),r={fatal:!0,type:o.OTHER_ERROR,details:s.INTERSTITIAL_ASSET_ITEM_ERROR,error:t};this.handleAssetItemError(r,e,this.schedule.findEventIndex(e.identifier),n,t.message)})),this.hls.trigger(l.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:t,assetListIndex:n,event:e,player:g}),g}clearInterstitial(e,t){e.assetList.forEach((e=>{this.clearAssetPlayer(e.identifier,t)})),e.reset()}clearAssetPlayer(e,t){const n=this.getAssetPlayerQueueIndex(e);if(-1!==n){this.log(`clearAssetPlayer "${e}" toSegment: ${t?ao(t):t}`);const r=this.playerQueue[n];this.transferMediaFromPlayer(r,t),this.playerQueue.splice(n,1),r.destroy()}}emptyPlayerQueue(){let e;for(;e=this.playerQueue.pop();)e.destroy();this.playerQueue=[]}startAssetPlayer(e,t,n,r,a){const{interstitial:i,assetItem:o,assetId:s}=e,c=i.assetList.length,u=this.playingAsset;this.endedAsset=null,this.playingAsset=o,u&&u.identifier===s||(u&&(this.clearAssetPlayer(u.identifier,n[r]),delete u.error),this.log(`INTERSTITIAL_ASSET_STARTED ${t+1}/${c} ${e}`),this.hls.trigger(l.INTERSTITIAL_ASSET_STARTED,{asset:o,assetListIndex:t,event:i,schedule:n.slice(0),scheduleIndex:r,player:e})),this.bufferAssetPlayer(e,a)}bufferAssetPlayer(e,t){var n,r;const{interstitial:a,assetItem:i,assetId:l}=e,c=this.schedule.findEventIndex(a.identifier),u=null==(n=this.schedule.items)?void 0:n[c];if(!u)return;this.setBufferingItem(u),this.bufferingAsset=i;const d=this.getBufferingPlayer();if(d===e)return;const h=a.appendInPlace;if(h&&!1===(null==d?void 0:d.interstitial.appendInPlace))return;const f=(null==d?void 0:d.tracks)||(null==(r=this.detachedData)?void 0:r.tracks)||this.requiredTracks;if(h&&i!==this.playingAsset){if(!e.tracks)return;if(f&&!P(f,e.tracks)){const t=new Error(`Asset "${l}" SourceBuffer tracks ('${Object.keys(e.tracks)}') are not compatible with primary content tracks ('${Object.keys(f)}')`),n={fatal:!0,type:o.OTHER_ERROR,details:s.INTERSTITIAL_ASSET_ITEM_ERROR,error:t},r=a.findAssetIndex(i);return void this.handleAssetItemError(n,a,c,r,t.message)}}this.transferMediaTo(e,t)}handleAssetItemError(e,t,n,r,a){if(e.details===s.BUFFER_STALLED_ERROR)return;const i=t.assetList[r]||null;let o=null;if(i){const e=this.getAssetPlayerQueueIndex(i.identifier);o=this.playerQueue[e]||null}const c=this.schedule.items,u=v({},e,{fatal:!1,errorAction:bt(!0),asset:i,assetListIndex:r,event:t,schedule:c,scheduleIndex:n,player:o});if(this.warn(`Asset item error: ${e.error}`),this.hls.trigger(l.INTERSTITIAL_ASSET_ERROR,u),!e.fatal)return;const d=new Error(a);i&&(this.playingAsset!==i&&this.clearAssetPlayer(i.identifier,null),i.error=d),t.assetList.some((e=>!e.error))?t.appendInPlace&&(t.error=d):t.error=d,this.primaryFallback(t)}primaryFallback(e){const t=e.timelineStart,n=this.effectivePlayingItem;if(this.updateSchedule(),n){this.log(`Fallback to primary from event "${e.identifier}" start: ${t} pos: ${this.timelinePos} playing: ${n?ao(n):""} error: ${e.error}`),e.appendInPlace&&(this.attachPrimary(t,null),this.flushFrontBuffer(t));let r=this.timelinePos;-1===r&&(r=this.hls.startPosition);const a=this.updateItem(n,r);if(this.itemsMatch(n,a))this.clearInterstitial(e,null);else{const e=this.schedule.findItemIndexAtTime(r);this.setSchedulePosition(e)}}else this.checkStart()}onAssetListLoaded(e,t){var n;const r=t.event,a=r.identifier,i=t.assetListResponse.ASSETS;if(!this.schedule.hasEvent(a))return;const o=r.timelineStart,s=r.duration;let l=0;i.forEach(((e,t)=>{const n=parseFloat(e.DURATION);this.createAsset(r,t,l,o+l,n,e.URI),l+=n})),r.duration=l,this.log(`Loaded asset-list with duration: ${l} (was: ${s}) ${r}`);const c=this.waitingItem,u=(null==c?void 0:c.event.identifier)===a;this.updateSchedule();const d=null==(n=this.bufferingItem)?void 0:n.event;if(u){var h;const e=this.schedule.findEventIndex(a),t=null==(h=this.schedule.items)?void 0:h[e];if(t){if(!this.playingItem&&this.timelinePos>t.end){if(this.schedule.findItemIndexAtTime(this.timelinePos)!==e)return r.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${r}`),void this.primaryFallback(r)}this.setBufferingItem(t)}this.setSchedulePosition(e)}else if((null==d?void 0:d.identifier)===a&&d.appendInPlace){const e=r.assetList[0],t=this.getAssetPlayer(e.identifier),n=this.primaryMedia;e&&t&&n&&this.bufferAssetPlayer(t,n)}}onError(e,t){switch(t.details){case s.ASSET_LIST_PARSING_ERROR:case s.ASSET_LIST_LOAD_ERROR:case s.ASSET_LIST_LOAD_TIMEOUT:{const e=t.interstitial;e&&this.primaryFallback(e);break}case s.BUFFER_STALLED_ERROR:this.onTimeupdate(),this.checkBuffer(!0)}}}});function gs(e){return e&&"object"==typeof e?Array.isArray(e)?e.map(gs):Object.keys(e).reduce(((t,n)=>(t[n]=gs(e[n]),t)),{}):e}class vs extends Nt{constructor(e,t){super("gap-controller",e.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var e;null!=(e=this.media)&&e.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{var e;this.hls&&(this.ended=(null==(e=this.media)?void 0:e.currentTime)||1,this.hls.trigger(l.MEDIA_ENDED,{stalled:!1}))},this.hls=e,this.fragmentTracker=t,this.registerListeners()}registerListeners(){const{hls:e}=this;e&&(e.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(l.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(l.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(e,t){this.setInterval(100),this.mediaSource=t.mediaSource;const n=this.media=t.media;oo(n,"playing",this.onMediaPlaying),oo(n,"waiting",this.onMediaWaiting),oo(n,"ended",this.onMediaEnded)}onMediaDetaching(e,t){this.clearInterval();const{media:n}=this;n&&(so(n,"playing",this.onMediaPlaying),so(n,"waiting",this.onMediaWaiting),so(n,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(e,t){this.buffered=t.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var e;if(null==(e=this.media)||!e.readyState||!this.hasBuffered)return;const t=this.media.currentTime;this.poll(t,this.lastCurrentTime),this.lastCurrentTime=t}poll(e,t){var n,r;const a=null==(n=this.hls)?void 0:n.config;if(!a)return;const{media:i,stalled:o}=this;if(!i)return;const{seeking:s}=i,c=this.seeking&&!s,u=!this.seeking&&s,d=i.paused&&!s||i.ended||0===i.playbackRate;if(this.seeking=s,e!==t)return t&&(this.ended=0),this.moved=!0,s||(this.nudgeRetry=0,a.nudgeOnVideoHole&&!d&&e>t&&this.nudgeOnVideoHole(e,t)),void(0===this.waiting&&this.stallResolved(e));if(u||c)return void(c&&this.stallResolved(e));if(d)return this.nudgeRetry=0,this.stallResolved(e),void(!this.ended&&i.ended&&this.hls&&(this.ended=e||1,this.hls.trigger(l.MEDIA_ENDED,{stalled:!1})));if(!Yt.getBuffered(i).length)return void(this.nudgeRetry=0);const h=Yt.bufferInfo(i,e,0),f=h.nextStart||0,p=this.fragmentTracker;if(s&&p&&this.hls){const t=ys(this.hls.inFlightFragments,e),n=h.len>2,r=!f||t||f-e>2&&!p.getPartialFragment(e);if(n||r)return;this.moved=!1}const m=null==(r=this.hls)?void 0:r.latestLevelDetails;if(!this.moved&&null!==this.stalled&&p){if(!(h.len>0)&&!f)return;const t=Math.max(f,h.start||0)-e,n=!(null==m||!m.live)?2*m.targetduration:2,r=p.getPartialFragment(e);if(t>0&&(t<=n||r))return void(i.paused||this._trySkipBufferHole(r))}const g=a.detectStallWithCurrentTimeMs,v=self.performance.now(),y=this.waiting;if(null===o)return void(this.stalled=y>0&&v-y=g||y)&&this.hls){var _;if("ended"===(null==(_=this.mediaSource)?void 0:_.readyState)&&(null==m||!m.live)&&Math.abs(e-((null==m?void 0:m.edge)||0))<1){if(this.ended)return;return this.ended=e||1,void this.hls.trigger(l.MEDIA_ENDED,{stalled:!0})}if(this._reportStall(h),!this.media||!this.hls)return}const I=Yt.bufferInfo(i,e,a.maxBufferHole);this._tryFixBufferStall(I,b)}stallResolved(e){const t=this.stalled;if(t&&this.hls&&(this.stalled=null,this.stallReported)){const n=self.performance.now()-t;this.log(`playback not stuck anymore @${e}, after ${Math.round(n)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(l.STALL_RESOLVED,{})}}nudgeOnVideoHole(e,t){var n;const r=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&null!=(n=this.buffered.audio)&&n.length&&r&&r.length>1&&e>r.end(0)){const n=Yt.bufferedInfo(Yt.timeRangesToArray(this.buffered.audio),e,0);if(n.len>1&&t>=n.start){const n=Yt.timeRangesToArray(r),a=Yt.bufferedInfo(n,t,0).bufferedIndex;if(a>-1&&aa)&&i-r<1&&e-r<2){const n=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${e} hole: ${r} -> ${i} buffered index: ${t}`);this.warn(n.message),this.media.currentTime+=1e-6;const a=this.fragmentTracker.getPartialFragment(e)||void 0,c=Yt.bufferInfo(this.media,e,0);this.hls.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:n,reason:n.message,frag:a,buffer:c.len,bufferInfo:c})}}}}}_tryFixBufferStall(e,t){var n,r;const{fragmentTracker:a,media:i}=this,o=null==(n=this.hls)?void 0:n.config;if(!i||!a||!o)return;const s=i.currentTime,l=null==(r=this.hls)?void 0:r.latestLevelDetails,c=a.getPartialFragment(s);if(c||null!=l&&l.live&&s1&&e.len>o.maxBufferHole||e.nextStart&&e.nextStart-s1e3*o.highBufferWatchdogPeriod||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(e))}_reportStall(e){const{hls:t,media:n,stallReported:r,stalled:a}=this;if(!r&&null!==a&&n&&t){this.stallReported=!0;const r=new Error(`Playback stalling at @${n.currentTime} due to low buffer (${Xe(e)})`);this.warn(r.message),t.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.BUFFER_STALLED_ERROR,fatal:!1,error:r,buffer:e.len,bufferInfo:e,stalled:{start:a}})}}_trySkipBufferHole(e){var t;const{fragmentTracker:n,media:r}=this,a=null==(t=this.hls)?void 0:t.config;if(!r||!n||!a)return 0;const i=r.currentTime,c=Yt.bufferInfo(r,i,0),u=i0&&c.len<1&&r.readyState<3,p=u-i;if(p>0&&(t||h)){if(p>a.maxBufferHole){let t=!1;if(0===i){const e=n.getAppendedFrag(0,f.MAIN);e&&u{const e=_s();try{e&&new e(0,Number.POSITIVE_INFINITY,"")}catch(e){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class ws{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(l.EVENT_CUE_ENTER,{})},this.hls=e,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:e}=this;e.on(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(l.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(l.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(l.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:e}=this;e.off(l.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(l.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(l.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(l.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(e,t){var n;this.media=t.media,!1===(null==(n=t.overrides)?void 0:n.cueRemoval)&&(this.removeCues=!1)}onMediaAttached(){const e=this.hls.latestLevelDetails;e&&this.updateDateRangeCues(e)}onMediaDetaching(e,t){this.media=null;!!t.transferMedia||(this.id3Track&&(this.removeCues&&Ui(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(e){const t=this.getID3Track(e.textTracks);return t.mode="hidden",t}getID3Track(e){if(this.media){for(let t=0;tTs&&(r=Ts);r-n<=0&&(r=n+.25);for(let e=0;ee.type===$r.audioId3&&s:"video"===r?e=>e.type===$r.emsg&&o:e=>e.type===$r.audioId3&&s||e.type===$r.emsg&&o,$i(a,t,n,e)}}onLevelUpdated(e,{details:t}){this.updateDateRangeCues(t,!0)}onLevelPtsUpdated(e,t){Math.abs(t.drift)>.01&&this.updateDateRangeCues(t.details)}updateDateRangeCues(e,t){if(!this.media||!e.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:n}=this,{dateRanges:a}=e,i=Object.keys(a);let o=this.dateRangeCuesAppended;var s;if(n&&t)if(null!=(s=n.cues)&&s.length){const e=Object.keys(o).filter((e=>!i.includes(e)));for(let t=e.length;t--;){const r=e[t],a=o[r].cues;delete o[r],Object.keys(a).forEach((e=>{try{const t=a[e];t.removeEventListener("enter",this.onEventCueEnter),n.removeCue(t)}catch(e){}}))}}else o=this.dateRangeCuesAppended={};const l=e.fragments[e.fragments.length-1];if(0===i.length||!r(null==l?void 0:l.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const c=_s();for(let e=0;e{if(t!==n.id){const r=a[t];if(r.class===n.class&&r.startDate>n.startDate&&(!e||n.startDate.01&&(i.startTime=r,i.endTime=f);else if(c){let e=n.attr[a];Jt(a)&&(u=e,e=Uint8Array.from(u.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer);const i=Is(c,r,f,{key:a,data:e},$r.dateRange);i&&(i.id=t,this.id3Track.addCue(i),l[a]=i,this.hls.config.interstitialsController&&("X-ASSET-LIST"!==a&&"X-ASSET-URL"!==a||i.addEventListener("enter",this.onEventCueEnter)))}}o[t]={cues:l,dateRange:n,durationKnown:h}}var u,d}}class Es{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:e}=this,t=this.levelDetails;if(!e||!t)return;this.currentTime=e.currentTime;const n=this.computeLatency();if(null===n)return;this._latency=n;const{lowLatencyMode:r,maxLiveSyncPlaybackRate:a}=this.config;if(!r||1===a||!t.live)return;const i=this.targetLatency;if(null===i)return;const o=n-i;if(o.05&&this.forwardBufferLength>1){const t=Math.min(2,Math.max(1,a)),n=Math.round(2/(1+Math.exp(-.75*o-this.edgeStalled))*20)/20,r=Math.min(t,Math.max(1,n));this.changeMediaPlaybackRate(e,r)}else 1!==e.playbackRate&&0!==e.playbackRate&&this.changeMediaPlaybackRate(e,1)},this.hls=e,this.config=e.config,this.registerListeners()}get levelDetails(){var e;return(null==(e=this.hls)?void 0:e.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:e}=this;if(void 0!==e.liveMaxLatencyDuration)return e.liveMaxLatencyDuration;const t=this.levelDetails;return t?e.liveMaxLatencyDurationCount*t.targetduration:0}get targetLatency(){const e=this.levelDetails;if(null===e||null===this.hls)return null;const{holdBack:t,partHoldBack:n,targetduration:r}=e,{liveSyncDuration:a,liveSyncDurationCount:i,lowLatencyMode:o}=this.config,s=this.hls.userConfig;let l=o&&n||t;(this._targetLatencyUpdated||s.liveSyncDuration||s.liveSyncDurationCount||0===l)&&(l=void 0!==a?a:i*r);const c=r;return l+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,c)}set targetLatency(e){this.stallCount=0,this.config.liveSyncDuration=e,this._targetLatencyUpdated=!0}get liveSyncPosition(){const e=this.estimateLiveEdge(),t=this.targetLatency;if(null===e||null===t)return null;const n=this.levelDetails;if(null===n)return null;const r=n.edge,a=e-t-this.edgeStalled,i=r-n.totalduration,o=r-(this.config.lowLatencyMode&&n.partTarget||n.targetduration);return Math.min(Math.max(i,a),o)}get drift(){const e=this.levelDetails;return null===e?1:e.drift}get edgeStalled(){const e=this.levelDetails;if(null===e)return 0;const t=3*(this.config.lowLatencyMode&&e.partTarget||e.targetduration);return Math.max(e.age-t,0)}get forwardBufferLength(){const{media:e}=this,t=this.levelDetails;if(!e||!t)return 0;const n=e.buffered.length;return(n?e.buffered.end(n-1):t.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:e}=this;e&&(e.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(l.ERROR,this.onError,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(l.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(l.ERROR,this.onError,this))}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(e,{details:t}){t.advanced&&this.onTimeupdate(),!t.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(e,t){var n;t.details===s.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&null!=(n=this.levelDetails)&&n.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(e,t){var n,r;e.playbackRate!==t&&(null==(n=this.hls)||n.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${null==(r=this.targetLatency)?void 0:r.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${e.playbackRate} to ${t}`),e.playbackRate=t)}estimateLiveEdge(){const e=this.levelDetails;return null===e?null:e.edge+e.age}computeLatency(){const e=this.estimateLiveEdge();return null===e?null:e-this.currentTime}}class Ms extends Ga{constructor(e,t){super(e,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=t,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(l.LEVEL_LOADED,this.onLevelLoaded,this),e.on(l.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(l.FRAG_BUFFERED,this.onFragBuffered,this),e.on(l.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(l.LEVEL_LOADED,this.onLevelLoaded,this),e.off(l.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(l.FRAG_BUFFERED,this.onFragBuffered,this),e.off(l.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach((e=>{e.loadError=0,e.fragmentError=0})),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(e,t){this.resetLevels()}onManifestLoaded(e,t){const n=this.hls.config.preferManagedMediaSource,r=[],a={},i={};let o=!1,s=!1,l=!1;t.levels.forEach((e=>{var t;const c=e.attrs;let{audioCodec:u,videoCodec:d}=e;u&&(e.audioCodec=u=Le(u,n)||void 0),0===(null==(t=d)?void 0:t.indexOf("avc1"))&&(d=e.videoCodec=function(e){const t=e.split(",");for(let e=0;e2){let r=n.shift()+".";r+=parseInt(n.shift()).toString(16),r+=("000"+parseInt(n.shift()).toString(16)).slice(-4),t[e]=r}}return t.join(",")}(d));const{width:h,height:f,unknownCodecs:p}=e;let m=p?p.length:0;if(p)for(let t=m;t--;){const n=p[t];this.isAudioSupported(n)?(e.audioCodec=u=u?`${u},${n}`:n,m--,we.audio[u.substring(0,4)]=2):this.isVideoSupported(n)&&(e.videoCodec=d=d?`${d},${n}`:n,m--,we.video[d.substring(0,4)]=2)}if(o||(o=!(!h||!f)),s||(s=!!d),l||(l=!!u),m||u&&!this.isAudioSupported(u)||d&&!this.isVideoSupported(d))return void this.log(`Some or all CODECS not supported "${c.CODECS}"`);const{CODECS:g,"FRAME-RATE":v,"HDCP-LEVEL":y,"PATHWAY-ID":b,RESOLUTION:_,"VIDEO-RANGE":I}=c,T=`${`${b||"."}-`}${e.bitrate}-${_}-${v}-${g}-${I}-${y}`;if(a[T])if(a[T].uri===e.url||e.attrs["PATHWAY-ID"])a[T].addGroupId("audio",c.AUDIO),a[T].addGroupId("text",c.SUBTITLES);else{const t=i[T]+=1;e.attrs["PATHWAY-ID"]=new Array(t+1).join(".");const n=this.createLevel(e);a[T]=n,r.push(n)}else{const t=this.createLevel(e);a[T]=t,i[T]=1,r.push(t)}})),this.filterAndSortMediaOptions(r,t,o,s,l)}createLevel(e){const t=new We(e),n=e.supplemental;if(null!=n&&n.videoCodec&&!this.isVideoSupported(n.videoCodec)){const e=new Error(`SUPPLEMENTAL-CODECS not supported "${n.videoCodec}"`);this.log(e.message),t.supportedResult=ze(e,[])}return t}isAudioSupported(e){return Me(e,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(e){return Me(e,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(e,t,n,r,a){let i=[],c=[],u=e;if((n||r)&&a&&(u=u.filter((({videoCodec:e,videoRange:t,width:n,height:r})=>{return(!!e||!(!n||!r))&&(!!(a=t)&&je.indexOf(a)>-1);var a}))),0===u.length)return void Promise.resolve().then((()=>{if(this.hls){let e="no level with compatible codecs found in manifest",n=e;t.levels.length&&(n=`one or more CODECS in variant not supported: ${Xe(t.levels.map((e=>e.attrs.CODECS)).filter(((e,t,n)=>n.indexOf(e)===t)))}`,this.warn(n),e+=` (${n})`);const r=new Error(e);this.hls.trigger(l.ERROR,{type:o.MEDIA_ERROR,details:s.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:r,reason:n})}}));t.audioTracks&&(i=t.audioTracks.filter((e=>!e.audioCodec||this.isAudioSupported(e.audioCodec))),ks(i)),t.subtitles&&(c=t.subtitles,ks(c));const d=u.slice(0);u.sort(((e,t)=>{if(e.attrs["HDCP-LEVEL"]!==t.attrs["HDCP-LEVEL"])return(e.attrs["HDCP-LEVEL"]||"")>(t.attrs["HDCP-LEVEL"]||"")?1:-1;if(n&&e.height!==t.height)return e.height-t.height;if(e.frameRate!==t.frameRate)return e.frameRate-t.frameRate;if(e.videoRange!==t.videoRange)return je.indexOf(e.videoRange)-je.indexOf(t.videoRange);if(e.videoCodec!==t.videoCodec){const n=Pe(e.videoCodec),r=Pe(t.videoCodec);if(n!==r)return r-n}if(e.uri===t.uri&&e.codecSet!==t.codecSet){const n=Ae(e.codecSet),r=Ae(t.codecSet);if(n!==r)return r-n}return e.averageBitrate!==t.averageBitrate?e.averageBitrate-t.averageBitrate:0}));let h=d[0];if(this.steering&&(u=this.steering.filterParsedLevels(u),u.length!==d.length))for(let e=0;en&&n===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=e)}break}const p=a&&!r,m=this.hls.config,g=!(!m.audioStreamController||!m.audioTrackController),v={levels:u,audioTracks:i,subtitleTracks:c,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:a,video:r,altAudio:g&&!p&&i.some((e=>!!e.url))};this.hls.trigger(l.MANIFEST_PARSED,v)}get levels(){return 0===this._levels.length?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(0===t.length)return;if(e<0||e>=t.length){const n=new Error("invalid level idx"),r=e<0;if(this.hls.trigger(l.ERROR,{type:o.OTHER_ERROR,details:s.LEVEL_SWITCH_ERROR,level:e,fatal:r,error:n,reason:n.message}),r)return;e=Math.min(e,t.length-1)}const n=this.currentLevelIndex,r=this.currentLevel,a=r?r.attrs["PATHWAY-ID"]:void 0,i=t[e],c=i.attrs["PATHWAY-ID"];if(this.currentLevelIndex=e,this.currentLevel=i,n===e&&r&&a===c)return;this.log(`Switching to level ${e} (${i.height?i.height+"p ":""}${i.videoRange?i.videoRange+" ":""}${i.codecSet?i.codecSet+" ":""}@${i.bitrate})${c?" with Pathway "+c:""} from level ${n}${a?" with Pathway "+a:""}`);const u={level:e,attrs:i.attrs,details:i.details,bitrate:i.bitrate,averageBitrate:i.averageBitrate,maxBitrate:i.maxBitrate,realBitrate:i.realBitrate,width:i.width,height:i.height,codecSet:i.codecSet,audioCodec:i.audioCodec,videoCodec:i.videoCodec,audioGroups:i.audioGroups,subtitleGroups:i.subtitleGroups,loaded:i.loaded,loadError:i.loadError,fragmentError:i.fragmentError,name:i.name,id:i.id,uri:i.uri,url:i.url,urlId:0,audioGroupIds:i.audioGroupIds,textGroupIds:i.textGroupIds};this.hls.trigger(l.LEVEL_SWITCHING,u);const d=i.details;if(!d||d.live){const e=this.switchParams(i.uri,null==r?void 0:r.details,d);this.loadPlaylist(e)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(e){this.manualLevelIndex=e,void 0===this._startLevel&&(this._startLevel=e),-1!==e&&(this.level=e)}get firstLevel(){return this._firstLevel}set firstLevel(e){this._firstLevel=e}get startLevel(){if(void 0===this._startLevel){const e=this.hls.config.startLevel;return void 0!==e?e:this.hls.firstAutoLevel}return this._startLevel}set startLevel(e){this._startLevel=e}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(e){if(this.steering){const t=this.steering.pathways(),n=e.filter((e=>-1!==t.indexOf(e)));if(e.length<1)return void this.warn(`pathwayPriority ${e} should contain at least one pathway from list: ${t}`);this.steering.pathwayPriority=n}}onError(e,t){!t.fatal&&t.context&&t.context.type===u&&t.context.level===this.level&&this.checkRetry(t)}onFragBuffered(e,{frag:t}){if(void 0!==t&&t.type===f.MAIN){const e=t.elementaryStreams;if(!Object.keys(e).some((t=>!!e[t])))return;const n=this._levels[t.level];null!=n&&n.loadError&&(this.log(`Resetting level error count of ${n.loadError} on frag buffered`),n.loadError=0)}}onLevelLoaded(e,t){var n;const{level:r,details:a}=t,i=t.levelInfo;var o;if(!i)return this.warn(`Invalid level index ${r}`),void(null!=(o=t.deliveryDirectives)&&o.skip&&(a.deltaUpdateFailed=!0));if(i===this.currentLevel||t.withoutMultiVariant){0===i.fragmentError&&(i.loadError=0);let e=i.details;e===t.details&&e.advanced&&(e=void 0),this.playlistLoaded(r,t,e)}else null!=(n=t.deliveryDirectives)&&n.skip&&(a.deltaUpdateFailed=!0)}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=this.getUrlWithDirectives(e.uri,t),r=this.currentLevelIndex,a=e.attrs["PATHWAY-ID"],i=e.details,o=null==i?void 0:i.age;this.log(`Loading level index ${r}${void 0!==(null==t?void 0:t.msn)?" at sn "+t.msn+" part "+t.part:""}${a?" Pathway "+a:""}${o&&i.live?" age "+o.toFixed(1)+(i.type?" "+i.type||0:""):""} ${n}`),this.hls.trigger(l.LEVEL_LOADING,{url:n,level:r,levelInfo:e,pathwayId:e.attrs["PATHWAY-ID"],id:0,deliveryDirectives:t||null})}get nextLoadLevel(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(e){this.level=e,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=e)}removeLevel(e){var t;if(1===this._levels.length)return;const n=this._levels.filter(((t,n)=>n!==e||(this.steering&&this.steering.removeLevel(t),t===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,t.details&&t.details.fragments.forEach((e=>e.level=-1))),!1)));Kn(n),this._levels=n,this.currentLevelIndex>-1&&null!=(t=this.currentLevel)&&t.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const r=n.length-1;this._firstLevel=Math.min(this._firstLevel,r),this._startLevel&&(this._startLevel=Math.min(this._startLevel,r)),this.hls.trigger(l.LEVELS_UPDATED,{levels:n})}onLevelsUpdated(e,{levels:t}){this._levels=t}checkMaxAutoUpdated(){const{autoLevelCapping:e,maxAutoLevel:t,maxHdcpLevel:n}=this.hls;this._maxAutoLevel!==t&&(this._maxAutoLevel=t,this.hls.trigger(l.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:t,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:n}))}}function ks(e){const t={};e.forEach((e=>{const n=e.groupId||"";e.id=t[n]=t[n]||0,t[n]++}))}function Ss(){return self.SourceBuffer||self.WebKitSourceBuffer}function Ps(){if(!S())return!1;const e=Ss();return!e||e.prototype&&"function"==typeof e.prototype.appendBuffer&&"function"==typeof e.prototype.remove}function As(){if(!Ps())return!1;const e=S();return"function"==typeof(null==e?void 0:e.isTypeSupported)&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some((t=>e.isTypeSupported(Se(t,"video"))))||["mp4a.40.2","fLaC"].some((t=>e.isTypeSupported(Se(t,"audio")))))}class xs extends pr{constructor(e,t,n){super(e,t,n,"stream-controller",f.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const e=this.media,t=e?e.currentTime:null;if(null===t||!r(t))return;if(this.log(`Media seeked to ${t.toFixed(3)}`),!this.getBufferedFrag(t))return;const n=this.getFwdBufferInfoAtPos(e,t,f.MAIN,0);null!==n&&0!==n.len?this.tick():this.warn(`Main forward buffer length at ${t} on "seeked" event ${n?n.len:"empty"})`)},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(l.MANIFEST_PARSED,this.onManifestParsed,this),e.on(l.LEVEL_LOADING,this.onLevelLoading,this),e.on(l.LEVEL_LOADED,this.onLevelLoaded,this),e.on(l.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(l.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(l.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(l.BUFFER_CREATED,this.onBufferCreated,this),e.on(l.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(l.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(l.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(l.MANIFEST_PARSED,this.onManifestParsed,this),e.off(l.LEVEL_LOADED,this.onLevelLoaded,this),e.off(l.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(l.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(l.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(l.BUFFER_CREATED,this.onBufferCreated,this),e.off(l.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(l.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(l.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(e,t){if(this.levels){const{lastCurrentTime:n,hls:r}=this;if(this.stopLoad(),this.setInterval(100),this.level=-1,!this.startFragRequested){let e=r.startLevel;-1===e&&(r.config.testBandwidth&&this.levels.length>1?(e=0,this.bitrateTest=!0):e=r.firstAutoLevel),r.nextLoadLevel=e,this.level=r.loadLevel,this._hasEnoughToStart=!!t}n>0&&-1===e&&!t&&(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n),this.state=rr,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}else this._forceStartLoad=!0,this.state=nr}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case fr:{const{levels:e,level:t}=this,n=null==e?void 0:e[t],r=null==n?void 0:n.details;if(r&&(!r.live||this.levelLastLoaded===n&&!this.waitForLive(n))){if(this.waitForCdnTuneIn(r))break;this.state=rr;break}if(this.hls.nextLoadLevel!==this.level){this.state=rr;break}break}case or:{var e;const t=self.performance.now(),n=this.retryDate;if(!n||t>=n||null!=(e=this.media)&&e.seeking){const{levels:e,level:t}=this,n=null==e?void 0:e[t];this.resetStartWhenNotLoaded(n||null),this.state=rr}}}this.state===rr&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var e;super.onTickEnd(),null!=(e=this.media)&&e.readyState&&!1===this.media.seeking&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:e,levelLastLoaded:t,levels:n,media:r}=this;if(null===t||!r&&!this.primaryPrefetch&&(this.startFragRequested||!e.config.startFragPrefetch))return;if(this.altAudio&&this.audioOnly)return;const a=this.buffering?e.nextLoadLevel:e.loadLevel;if(null==n||!n[a])return;const i=n[a],o=this.getMainFwdBufferInfo();if(null===o)return;const s=this.getLevelDetails();if(s&&this._streamEnded(o,s)){const e={};return 2===this.altAudio&&(e.type="video"),this.hls.trigger(l.BUFFER_EOS,e),void(this.state=ur)}if(!this.buffering)return;e.loadLevel!==a&&-1===e.manualLevel&&this.log(`Adapting to level ${a} from level ${this.level}`),this.level=e.nextLoadLevel=a;const c=i.details;if(!c||this.state===fr||this.waitForLive(i))return this.level=a,this.state=fr,void(this.startFragRequested=!1);const u=o.len,d=this.getMaxBufferLength(i.maxBitrate);if(u>=d)return;this.backtrackFragment&&this.backtrackFragment.start>o.end&&(this.backtrackFragment=null);const h=this.backtrackFragment?this.backtrackFragment.start:o.end;let p=this.getNextFragment(h,c);if(this.couldBacktrack&&!this.fragPrevious&&p&&$(p)&&this.fragmentTracker.getState(p)!==wt){var m;const e=(null!=(m=this.backtrackFragment)?m:p).sn-c.startSN,t=c.fragments[e-1];t&&p.cc===t.cc&&(p=t,this.fragmentTracker.removeFragment(t))}else this.backtrackFragment&&o.len&&(this.backtrackFragment=null);if(p&&this.isLoopLoading(p,h)){if(!p.gap){const e=this.audioOnly&&!this.altAudio?V:Y,t=(e===Y?this.videoBuffer:this.mediaBuffer)||this.media;t&&this.afterBufferFlushed(t,e,f.MAIN)}p=this.getNextFragmentLoopLoading(p,c,o,f.MAIN,d)}p&&(!p.initSegment||p.initSegment.data||this.bitrateTest||(p=p.initSegment),this.loadFragment(p,i,h))}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);r===_t||r===Tt?$(e)?this.bitrateTest?(this.log(`Fragment ${e.sn} of level ${e.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(e,t)):super.loadFragment(e,t,n):this._loadInitSegment(e,t):this.clearTrackerIfNeeded(e)}getBufferedFrag(e){return this.fragmentTracker.getBufferedFrag(e,f.MAIN)}followingBufferedFrag(e){return e?this.getBufferedFrag(e.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:e,media:t}=this;if(null!=t&&t.readyState){let n;const r=this.getAppendedFrag(t.currentTime);r&&r.start>1&&this.flushMainBuffer(0,r.start-1);const a=this.getLevelDetails();if(null!=a&&a.live){const e=this.getMainFwdBufferInfo();if(!e||e.len<2*a.targetduration)return}if(!t.paused&&e){const t=e[this.hls.nextLoadLevel],r=this.fragLastKbps;n=r&&this.fragCurrent?this.fragCurrent.duration*t.maxBitrate/(1e3*r)+1:0}else n=0;const i=this.getBufferedFrag(t.currentTime+n);if(i){const e=this.followingBufferedFrag(i);if(e){this.abortCurrentFrag();const t=e.maxStartPTS?e.maxStartPTS:e.start,n=e.duration,r=Math.max(i.end,t+Math.min(Math.max(n-this.config.maxFragLookUpTolerance,n*(this.couldBacktrack?.5:.125)),n*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(r,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const e=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,e&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.state){case ar:case ir:case or:case lr:case cr:this.state=rr}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(e,t){super.flushMainBuffer(e,t,2===this.altAudio?"video":null)}onMediaAttached(e,t){super.onMediaAttached(e,t);const n=t.media;oo(n,"playing",this.onMediaPlaying),oo(n,"seeked",this.onMediaSeeked)}onMediaDetaching(e,t){const{media:n}=this;n&&(so(n,"playing",this.onMediaPlaying),so(n,"seeked",this.onMediaSeeked)),this.videoBuffer=null,this.fragPlaying=null,super.onMediaDetaching(e,t);!!t.transferMedia||(this._hasEnoughToStart=!1)}onManifestLoading(){super.onManifestLoading(),this.log("Trigger BUFFER_RESET"),this.hls.trigger(l.BUFFER_RESET,void 0),this.couldBacktrack=!1,this.fragLastKbps=0,this.fragPlaying=this.backtrackFragment=null,this.altAudio=0,this.audioOnly=!1}onManifestParsed(e,t){let n=!1,r=!1;t.levels.forEach((e=>{const t=e.audioCodec;t&&(n=n||-1!==t.indexOf("mp4a.40.2"),r=r||-1!==t.indexOf("mp4a.40.5"))})),this.audioCodecSwitch=n&&r&&!function(){var e;const t=Ss();return"function"==typeof(null==t||null==(e=t.prototype)?void 0:e.changeType)}(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1}onLevelLoading(e,t){const{levels:n}=this;if(!n||this.state!==rr)return;const r=t.levelInfo;(!r.details||r.details.live&&(this.levelLastLoaded!==r||r.details.expired)||this.waitForCdnTuneIn(r.details))&&(this.state=fr)}onLevelLoaded(e,t){var n;const{levels:r,startFragRequested:a}=this,i=t.level,o=t.details,s=o.totalduration;if(!r)return void this.warn(`Levels were reset while loading level ${i}`);this.log(`Level ${i} loaded [${o.startSN},${o.endSN}]${o.lastPartSn?`[part-${o.lastPartSn}-${o.lastPartIndex}]`:""}, cc [${o.startCC}, ${o.endCC}] duration:${s}`);const c=t.levelInfo,u=this.fragCurrent;!u||this.state!==ir&&this.state!==or||u.level!==t.level&&u.loader&&this.abortCurrentFrag();let d=0;if(o.live||null!=(n=c.details)&&n.live){var h;if(this.checkLiveUpdate(o),o.deltaUpdateFailed)return;d=this.alignPlaylists(o,c.details,null==(h=this.levelLastLoaded)?void 0:h.details)}if(c.details=o,this.levelLastLoaded=c,a||this.setStartPosition(o,d),this.hls.trigger(l.LEVEL_UPDATED,{details:o,level:i}),this.state===fr){if(this.waitForCdnTuneIn(o))return;this.state=rr}a&&o.live&&this.synchronizeToLiveEdge(o),this.tick()}synchronizeToLiveEdge(e){const{config:t,media:n}=this;if(!n)return;const r=this.hls.liveSyncPosition,a=this.getLoadPosition(),i=e.fragmentStart,o=e.edge,s=a>=i-t.maxFragLookUpTolerance&&a<=o;if(null!==r&&n.duration>r&&(a{var e;null==(e=this.hls)||e.trigger(l.AUDIO_TRACK_SWITCHED,t)})),void n.trigger(l.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});n.trigger(l.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const n=at(t.url,this.hls);if(n){const e=this.videoBuffer;e&&this.mediaBuffer!==e&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=e)}this.altAudio=n?2:0,this.tick()}onBufferCreated(e,t){const n=t.tracks;let r,a,i=!1;for(const e in n){const t=n[e];if("main"===t.id){if(a=e,r=t,"video"===e){const t=n[e];t&&(this.videoBuffer=t.buffer)}}else i=!0}i&&r?(this.log(`Alternate track found, use ${a}.buffered to schedule main fragment loading`),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media}onFragBuffered(e,t){const{frag:n,part:r}=t,a=n.type===f.MAIN;if(a){if(this.fragContextChanged(n))return this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}`),void(this.state===cr&&(this.state=rr));const e=r?r.stats:n.stats;this.fragLastKbps=Math.round(8*e.total/(e.buffering.end-e.loading.first)),$(n)&&(this.fragPrevious=n),this.fragBufferedComplete(n,r)}const i=this.media;i&&(!this._hasEnoughToStart&&Yt.getBuffered(i).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),a&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(e,t){var n;if(t.fatal)this.state=dr;else switch(t.details){case s.FRAG_GAP:case s.FRAG_PARSING_ERROR:case s.FRAG_DECRYPT_ERROR:case s.FRAG_LOAD_ERROR:case s.FRAG_LOAD_TIMEOUT:case s.KEY_LOAD_ERROR:case s.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(f.MAIN,t);break;case s.LEVEL_LOAD_ERROR:case s.LEVEL_LOAD_TIMEOUT:case s.LEVEL_PARSING_ERROR:t.levelRetry||this.state!==fr||(null==(n=t.context)?void 0:n.type)!==u||(this.state=rr);break;case s.BUFFER_ADD_CODEC_ERROR:case s.BUFFER_APPEND_ERROR:if("main"!==t.parent)return;this.resetLoadingState();break;case s.BUFFER_FULL_ERROR:if("main"!==t.parent)return;this.reduceLengthAndFlushBuffer(t)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case s.INTERNAL_EXCEPTION:this.recoverWorkerError(t)}}onFragLoadEmergencyAborted(){this.state=rr,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==V||!this.altAudio){const e=(t===Y?this.videoBuffer:this.mediaBuffer)||this.media;e&&(this.afterBufferFlushed(e,t,f.MAIN),this.tick())}}onLevelsUpdated(e,t){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,-1===this.level&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=t.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:e}=this;if(!e)return;const t=e.currentTime;let n=this.startPosition;if(n>=0&&t0&&(s{const{hls:n}=this,r=null==e?void 0:e.frag;if(!r||this.fragContextChanged(r))return;t.fragmentError=0,this.state=rr,this.startFragRequested=!1,this.bitrateTest=!1;const a=r.stats;a.parsing.start=a.parsing.end=a.buffering.start=a.buffering.end=self.performance.now(),n.trigger(l.FRAG_LOADED,e),r.bitrateTest=!1}))}_handleTransmuxComplete(e){var t;const n=this.playlistType,{hls:a}=this,{remuxResult:i,chunkMeta:o}=e,s=this.getCurrentContext(o);if(!s)return void this.resetWhenMissingContext(o);const{frag:c,part:u,level:d}=s,{video:h,text:f,id3:p,initSegment:m}=i,{details:g}=d,v=this.altAudio?void 0:i.audio;if(this.fragContextChanged(c))this.fragmentTracker.removeFragment(c);else{if(this.state=lr,m){if(null!=m&&m.tracks){const e=c.initSegment||c;this._bufferInitSegment(d,m.tracks,e,o),a.trigger(l.FRAG_PARSING_INIT_SEGMENT,{frag:e,id:n,tracks:m.tracks})}const e=m.initPTS,t=m.timescale;r(e)&&(this.initPTS[c.cc]={baseTime:e,timescale:t},a.trigger(l.INIT_PTS_FOUND,{frag:c,id:n,initPTS:e,timescale:t}))}if(h&&g){v&&"audiovideo"===h.type&&this.logMuxedErr(c);const e=g.fragments[c.sn-1-g.startSN],t=c.sn===g.startSN,n=!e||c.cc>e.cc;if(!1!==i.independent){const{startPTS:e,endPTS:r,startDTS:a,endDTS:i}=h;if(u)u.elementaryStreams[h.type]={startPTS:e,endPTS:r,startDTS:a,endDTS:i};else if(h.firstKeyFrame&&h.independent&&1===o.id&&!n&&(this.couldBacktrack=!0),h.dropped&&h.independent){const a=this.getMainFwdBufferInfo(),o=(a?a.end:this.getLoadPosition())+this.config.maxBufferHole,s=h.firstKeyFramePTS?h.firstKeyFramePTS:e;if(!t&&o2&&(c.gap=!0);c.setElementaryStreamInfo(h.type,e,r,a,i),this.backtrackFragment&&(this.backtrackFragment=c),this.bufferFragmentData(h,c,u,o,t||n)}else{if(!t&&!n)return void this.backtrack(c);c.gap=!0}}if(v){const{startPTS:e,endPTS:t,startDTS:n,endDTS:r}=v;u&&(u.elementaryStreams[V]={startPTS:e,endPTS:t,startDTS:n,endDTS:r}),c.setElementaryStreamInfo(V,e,t,n,r),this.bufferFragmentData(v,c,u,o)}if(g&&null!=p&&null!=(t=p.samples)&&t.length){const e={id:n,frag:c,details:g,samples:p.samples};a.trigger(l.FRAG_PARSING_METADATA,e)}if(g&&f){const e={id:n,frag:c,details:g,samples:f.samples};a.trigger(l.FRAG_PARSING_USERDATA,e)}}}logMuxedErr(e){this.warn(`${$(e)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${e.url}`)}_bufferInitSegment(e,t,n,r){if(this.state!==lr)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&(delete t.audio,t.audiovideo&&this.logMuxedErr(n));const{audio:a,video:i,audiovideo:o}=t;if(a){let n=Oe(a.codec,e.audioCodec);"mp4a"===n&&(n="mp4a.40.5");const r=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){n&&(n=-1!==n.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5");const e=a.metadata;e&&"channelCount"in e&&1!==(e.channelCount||1)&&-1===r.indexOf("firefox")&&(n="mp4a.40.5")}n&&-1!==n.indexOf("mp4a.40.5")&&-1!==r.indexOf("android")&&"audio/mpeg"!==a.container&&(n="mp4a.40.2",this.log(`Android: force audio codec to ${n}`)),e.audioCodec&&e.audioCodec!==n&&this.log(`Swapping manifest audio codec "${e.audioCodec}" for "${n}"`),a.levelCodec=n,a.id=f.MAIN,this.log(`Init audio buffer, container:${a.container}, codecs[selected/level/parsed]=[${n||""}/${e.audioCodec||""}/${a.codec}]`),delete t.audiovideo}if(i){i.levelCodec=e.videoCodec,i.id=f.MAIN;const n=i.codec;if(4===(null==n?void 0:n.length))switch(n){case"hvc1":case"hev1":i.codec="hvc1.1.6.L120.90";break;case"av01":i.codec="av01.0.04M.08";break;case"avc1":i.codec="avc1.42e01e"}this.log(`Init video buffer, container:${i.container}, codecs[level/parsed]=[${e.videoCodec||""}/${n}]${i.codec!==n?" parsed-corrected="+i.codec:""}${i.supplemental?" supplemental="+i.supplemental:""}`),delete t.audiovideo}o&&(this.log(`Init audiovideo buffer, container:${o.container}, codecs[level/parsed]=[${e.codecs}/${o.codec}]`),delete t.video,delete t.audio);const s=Object.keys(t);if(s.length){if(this.hls.trigger(l.BUFFER_CODECS,t),!this.hls)return;s.forEach((e=>{const a=t[e].initSegment;null!=a&&a.byteLength&&this.hls.trigger(l.BUFFER_APPENDING,{type:e,data:a,frag:n,part:null,chunkMeta:r,parent:n.type})}))}this.tickImmediate()}getMainFwdBufferInfo(){const e=this.mediaBuffer&&2===this.altAudio?this.mediaBuffer:this.media;return this.getFwdBufferInfo(e,f.MAIN)}get maxBufferLength(){const{levels:e,level:t}=this,n=null==e?void 0:e[t];return n?this.getMaxBufferLength(n.maxBitrate):this.config.maxBufferLength}backtrack(e){this.couldBacktrack=!0,this.backtrackFragment=e,this.resetTransmuxer(),this.flushBufferGap(e),this.fragmentTracker.removeFragment(e),this.fragPrevious=null,this.nextLoadPosition=e.start,this.state=rr}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&!1===e.seeking){const n=e.currentTime;if(Yt.isBuffered(e,n)?t=this.getAppendedFrag(n):Yt.isBuffered(e,n+.1)&&(t=this.getAppendedFrag(n+.1)),t){this.backtrackFragment=null;const e=this.fragPlaying,n=t.level;e&&t.sn===e.sn&&e.level===n||(this.fragPlaying=t,this.hls.trigger(l.FRAG_CHANGED,{frag:t}),e&&e.level===n||this.hls.trigger(l.LEVEL_SWITCHED,{level:n}))}}}get nextLevel(){const e=this.nextBufferedFrag;return e?e.level:-1}get currentFrag(){var e;if(this.fragPlaying)return this.fragPlaying;const t=(null==(e=this.media)?void 0:e.currentTime)||this.lastCurrentTime;return r(t)?this.getAppendedFrag(t):null}get currentProgramDateTime(){var e;const t=(null==(e=this.media)?void 0:e.currentTime)||this.lastCurrentTime;if(r(t)){const e=this.getLevelDetails(),n=this.currentFrag||(e?st(null,e.fragments,t):null);if(n){const e=n.programDateTime;if(null!==e){const r=e+1e3*(t-n.start);return new Date(r)}}}return null}get currentLevel(){const e=this.currentFrag;return e?e.level:-1}get nextBufferedFrag(){const e=this.currentFrag;return e?this.followingBufferedFrag(e):null}get forceStartLoad(){return this._forceStartLoad}}class Bs{constructor(e){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const n in this.keyUriToKeyInfo){const r=this.keyUriToKeyInfo[n].loader;if(r){var t;if(e&&e!==(null==(t=r.context)?void 0:t.frag.type))return;r.abort()}}}detach(){for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e].loader;t&&t.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(e,t=s.KEY_LOAD_ERROR,n,r,a){return new zt({type:o.NETWORK_ERROR,details:t,fatal:!1,frag:e,response:a,error:n,networkDetails:r})}loadClear(e,t){if(this.emeController&&this.config.emeEnabled){const{sn:n,cc:r}=e;for(let e=0;e{a.setKeyFormat(e)}));break}}}}load(e){return!e.decryptdata&&e.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(e).then((t=>this.loadInternal(e,t))):this.loadInternal(e)}loadInternal(e,t){var n,r;t&&e.setKeyFormat(t);const a=e.decryptdata;if(!a){const n=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(e,s.KEY_LOAD_ERROR,n))}const i=a.uri;if(!i)return Promise.reject(this.createKeyLoadError(e,s.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${i}"`)));let o=this.keyUriToKeyInfo[i];if(null!=(n=o)&&n.decryptdata.key)return a.key=o.decryptdata.key,Promise.resolve({frag:e,keyInfo:o});var l;if(null!=(r=o)&&r.keyLoadPromise)switch(null==(l=o.mediaKeySessionContext)?void 0:l.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return o.keyLoadPromise.then((t=>(a.key=t.keyInfo.decryptdata.key,{frag:e,keyInfo:o})))}switch(o=this.keyUriToKeyInfo[i]={decryptdata:a,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},a.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return"identity"===a.keyFormat?this.loadKeyHTTP(o,e):this.loadKeyEME(o,e);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(o,e);default:return Promise.reject(this.createKeyLoadError(e,s.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${a.method}"`)))}}loadKeyEME(e,t){const n={frag:t,keyInfo:e};if(this.emeController&&this.config.emeEnabled){const t=this.emeController.loadKey(n);if(t)return(e.keyLoadPromise=t.then((t=>(e.mediaKeySessionContext=t,n)))).catch((t=>{throw e.keyLoadPromise=null,t}))}return Promise.resolve(n)}loadKeyHTTP(e,t){const n=this.config,r=new(0,n.loader)(n);return t.keyLoader=e.loader=r,e.keyLoadPromise=new Promise(((a,i)=>{const o={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},l=n.keyLoadPolicy.default,c={loadPolicy:l,timeout:l.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},u={onSuccess:(e,t,n,r)=>{const{frag:o,keyInfo:l,url:c}=n;if(!o.decryptdata||l!==this.keyUriToKeyInfo[c])return i(this.createKeyLoadError(o,s.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),r));l.decryptdata.key=o.decryptdata.key=new Uint8Array(e.data),o.keyLoader=null,l.loader=null,a({frag:o,keyInfo:l})},onError:(e,n,r,a)=>{this.resetLoader(n),i(this.createKeyLoadError(t,s.KEY_LOAD_ERROR,new Error(`HTTP Error ${e.code} loading key ${e.text}`),r,b({url:o.url,data:void 0},e)))},onTimeout:(e,n,r)=>{this.resetLoader(n),i(this.createKeyLoadError(t,s.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),r))},onAbort:(e,n,r)=>{this.resetLoader(n),i(this.createKeyLoadError(t,s.INTERNAL_ABORTED,new Error("key loading aborted"),r))}};r.load(o,c,u)}))}resetLoader(e){const{frag:t,keyInfo:n,url:r}=e,a=n.loader;t.keyLoader===a&&(t.keyLoader=null,n.loader=null),delete this.keyUriToKeyInfo[r],a&&a.destroy()}}function Ls(e){const{type:t}=e;switch(t){case d:return f.AUDIO;case h:return f.SUBTITLE;default:return f.MAIN}}function Os(e,t){let n=e.url;return void 0!==n&&0!==n.indexOf("data:")||(n=t.url),n}class Cs{constructor(e){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=e,this.registerListeners()}startLoad(e){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:e}=this;e.on(l.MANIFEST_LOADING,this.onManifestLoading,this),e.on(l.LEVEL_LOADING,this.onLevelLoading,this),e.on(l.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(l.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.on(l.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:e}=this;e.off(l.MANIFEST_LOADING,this.onManifestLoading,this),e.off(l.LEVEL_LOADING,this.onLevelLoading,this),e.off(l.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(l.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.off(l.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(e){const t=this.hls.config,n=t.pLoader,r=t.loader,a=new(n||r)(t);return this.loaders[e.type]=a,a}getInternalLoader(e){return this.loaders[e.type]}resetInternalLoader(e){this.loaders[e]&&delete this.loaders[e]}destroyInternalLoaders(){for(const e in this.loaders){const t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(e,t){const{url:n}=t;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:c,url:n,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(e,t){const{id:n,level:r,pathwayId:a,url:i,deliveryDirectives:o,levelInfo:s}=t;this.load({id:n,level:r,pathwayId:a,responseType:"text",type:u,url:i,deliveryDirectives:o,levelOrTrack:s})}onAudioTrackLoading(e,t){const{id:n,groupId:r,url:a,deliveryDirectives:i,track:o}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:d,url:a,deliveryDirectives:i,levelOrTrack:o})}onSubtitleTrackLoading(e,t){const{id:n,groupId:r,url:a,deliveryDirectives:i,track:o}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:h,url:a,deliveryDirectives:i,levelOrTrack:o})}onLevelsUpdated(e,t){const n=this.loaders[u];if(n){const e=n.context;e&&!t.levels.some((t=>t===e.levelOrTrack))&&(n.abort(),delete this.loaders[u])}}load(e){var t;const n=this.hls.config;let a,i=this.getInternalLoader(e);if(i){const t=this.hls.logger,n=i.context;if(n&&n.levelOrTrack===e.levelOrTrack&&(n.url===e.url||n.deliveryDirectives&&!e.deliveryDirectives))return void(n.url===e.url?t.log(`[playlist-loader]: ignore ${e.url} ongoing request`):t.log(`[playlist-loader]: ignore ${e.url} in favor of ${n.url}`));t.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),i.abort()}if(a=e.type===c?n.manifestLoadPolicy.default:v({},n.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),i=this.createInternalLoader(e),r(null==(t=e.deliveryDirectives)?void 0:t.part)){let t;if(e.type===u&&null!==e.level?t=this.hls.levels[e.level].details:e.type===d&&null!==e.id?t=this.hls.audioTracks[e.id].details:e.type===h&&null!==e.id&&(t=this.hls.subtitleTracks[e.id].details),t){const e=t.partTarget,n=t.targetduration;if(e&&n){const t=1e3*Math.max(3*e,.8*n);a=v({},a,{maxTimeToFirstByteMs:Math.min(t,a.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(t,a.maxTimeToFirstByteMs)})}}}const o=a.errorRetry||a.timeoutRetry||{},s={loadPolicy:a,timeout:a.maxLoadTimeMs,maxRetry:o.maxNumRetry||0,retryDelay:o.retryDelayMs||0,maxRetryDelay:o.maxRetryDelayMs||0},l={onSuccess:(e,t,n,r)=>{const a=this.getInternalLoader(n);this.resetInternalLoader(n.type);const i=e.data;0===i.indexOf("#EXTM3U")?(t.parsing.start=performance.now(),Sn.isMediaPlaylist(i)||n.type!==c?this.handleTrackOrLevelPlaylist(e,t,n,r||null,a):this.handleMasterPlaylist(e,t,n,r)):this.handleManifestParsingError(e,n,new Error("no EXTM3U delimiter"),r||null,t)},onError:(e,t,n,r)=>{this.handleNetworkError(t,n,!1,e,r)},onTimeout:(e,t,n)=>{this.handleNetworkError(t,n,!0,void 0,e)}};i.load(e,s,l)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:e,startPosition:t},forceStartLoad:n}=this.hls;(e||n)&&(this.hls.logger.log(`${e?"auto":"force"} startLoad with configured startPosition ${t}`),this.hls.startLoad(t))}handleMasterPlaylist(e,t,n,r){const a=this.hls,i=e.data,o=Os(e,n),s=Sn.parseMasterPlaylist(i,o);if(s.playlistParsingError)return void this.handleManifestParsingError(e,n,s.playlistParsingError,r,t);const{contentSteering:c,levels:u,sessionData:d,sessionKeys:h,startTimeOffset:f,variableList:p}=s;this.variableList=p;const{AUDIO:m=[],SUBTITLES:g,"CLOSED-CAPTIONS":v}=Sn.parseMasterPlaylistMedia(i,o,s);if(m.length){m.some((e=>!e.url))||!u[0].audioCodec||u[0].attrs.AUDIO||(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),m.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Xt({}),bitrate:0,url:""}))}a.trigger(l.MANIFEST_LOADED,{levels:u,audioTracks:m,subtitles:g,captions:v,contentSteering:c,url:o,stats:t,networkDetails:r,sessionData:d,sessionKeys:h,startTimeOffset:f,variableList:p})}handleTrackOrLevelPlaylist(e,t,n,a,i){const o=this.hls,{id:s,level:u,type:d}=n,h=Os(e,n),f=r(u)?u:r(s)?s:0,p=Ls(n),m=Sn.parseLevelPlaylist(e.data,h,f,p,0,this.variableList);if(d===c){const e={attrs:new Xt({}),bitrate:0,details:m,name:"",url:h};m.requestScheduled=t.loading.start+$n(m,0),o.trigger(l.MANIFEST_LOADED,{levels:[e],audioTracks:[],url:h,stats:t,networkDetails:a,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),n.levelDetails=m,this.handlePlaylistLoaded(m,e,t,n,a,i)}handleManifestParsingError(e,t,n,r,a){this.hls.trigger(l.ERROR,{type:o.NETWORK_ERROR,details:s.MANIFEST_PARSING_ERROR,fatal:t.type===c,url:e.url,err:n,error:n,reason:n.message,response:e,context:t,networkDetails:r,stats:a})}handleNetworkError(e,t,n=!1,r,a){let i=`A network ${n?"timeout":"error"+(r?" (status "+r.code+")":"")} occurred while loading ${e.type}`;e.type===u?i+=`: ${e.level} id: ${e.id}`:e.type!==d&&e.type!==h||(i+=` id: ${e.id} group-id: "${e.groupId}"`);const f=new Error(i);this.hls.logger.warn(`[playlist-loader]: ${i}`);let p=s.UNKNOWN,m=!1;const g=this.getInternalLoader(e);switch(e.type){case c:p=n?s.MANIFEST_LOAD_TIMEOUT:s.MANIFEST_LOAD_ERROR,m=!0;break;case u:p=n?s.LEVEL_LOAD_TIMEOUT:s.LEVEL_LOAD_ERROR,m=!1;break;case d:p=n?s.AUDIO_TRACK_LOAD_TIMEOUT:s.AUDIO_TRACK_LOAD_ERROR,m=!1;break;case h:p=n?s.SUBTITLE_TRACK_LOAD_TIMEOUT:s.SUBTITLE_LOAD_ERROR,m=!1}g&&this.resetInternalLoader(e.type);const v={type:o.NETWORK_ERROR,details:p,fatal:m,url:e.url,loader:g,context:e,error:f,networkDetails:t,stats:a};if(r){const n=(null==t?void 0:t.url)||e.url;v.response=b({url:n,data:void 0},r)}this.hls.trigger(l.ERROR,v)}handlePlaylistLoaded(e,t,n,r,a,i){const p=this.hls,{type:m,level:g,id:v,groupId:y,deliveryDirectives:b}=r,_=Os(t,r),I=Ls(r),T="number"==typeof r.level&&I===f.MAIN?g:void 0;if(!e.fragments.length){const i=e.playlistParsingError=new Error("No Segments found in Playlist");return void p.trigger(l.ERROR,{type:o.NETWORK_ERROR,details:s.LEVEL_EMPTY_ERROR,fatal:!1,url:_,error:i,reason:i.message,response:t,context:r,level:T,parent:I,networkDetails:a,stats:n})}e.targetduration||(e.playlistParsingError=new Error("Missing Target Duration"));const w=e.playlistParsingError;if(w){if(this.hls.logger.warn(w),!p.config.ignorePlaylistParsingErrors)return void p.trigger(l.ERROR,{type:o.NETWORK_ERROR,details:s.LEVEL_PARSING_ERROR,fatal:!1,url:_,error:w,reason:w.message,response:t,context:r,level:T,parent:I,networkDetails:a,stats:n});e.playlistParsingError=null}switch(e.live&&i&&(i.getCacheAge&&(e.ageHeader=i.getCacheAge()||0),i.getCacheAge&&!isNaN(e.ageHeader)||(e.ageHeader=0)),m){case c:case u:p.trigger(l.LEVEL_LOADED,{details:e,levelInfo:r.levelOrTrack||p.levels[0],level:T||0,id:v||0,stats:n,networkDetails:a,deliveryDirectives:b,withoutMultiVariant:m===c});break;case d:p.trigger(l.AUDIO_TRACK_LOADED,{details:e,track:r.levelOrTrack,id:v||0,groupId:y||"",stats:n,networkDetails:a,deliveryDirectives:b});break;case h:p.trigger(l.SUBTITLE_TRACK_LOADED,{details:e,track:r.levelOrTrack,id:v||0,groupId:y||"",stats:n,networkDetails:a,deliveryDirectives:b})}}}class Ds{static get version(){return Ir}static isMSESupported(){return Ps()}static isSupported(){return As()}static getMediaSource(){return S()}static get Events(){return l}static get MetadataSchema(){return $r}static get ErrorTypes(){return o}static get ErrorDetails(){return s}static get DefaultConfig(){return Ds.defaultConfig?Ds.defaultConfig:ms}static set DefaultConfig(e){Ds.defaultConfig=e}constructor(e={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new _r,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const t=this.logger=function(e,t,n){const r=w();if("object"==typeof console&&!0===e||"object"==typeof e){const a=["debug","log","info","warn","error"];a.forEach((t=>{r[t]=E(t,e,n)}));try{r.log(`Debug logs enabled for "${t}" in hls.js version 1.6.2`)}catch(e){return w()}a.forEach((t=>{M[t]=E(t,e)}))}else v(M,r);return r}(e.debug||!1,"Hls instance",e.assetPlayerId),n=this.config=function(e,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(void 0!==t.liveMaxLatencyDurationCount&&(void 0===t.liveSyncDurationCount||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(void 0!==t.liveMaxLatencyDuration&&(void 0===t.liveSyncDuration||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const r=gs(e),a=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return["manifest","level","frag"].forEach((e=>{const i=`${"level"===e?"playlist":e}LoadPolicy`,o=void 0===t[i],s=[];a.forEach((n=>{const a=`${e}Loading${n}`,l=t[a];if(void 0!==l&&o){s.push(a);const e=r[i].default;switch(t[i]={default:e},n){case"TimeOut":e.maxLoadTimeMs=l,e.maxTimeToFirstByteMs=l;break;case"MaxRetry":e.errorRetry.maxNumRetry=l,e.timeoutRetry.maxNumRetry=l;break;case"RetryDelay":e.errorRetry.retryDelayMs=l,e.timeoutRetry.retryDelayMs=l;break;case"MaxRetryTimeout":e.errorRetry.maxRetryDelayMs=l,e.timeoutRetry.maxRetryDelayMs=l}}})),s.length&&n.warn(`hls.js config: "${s.join('", "')}" setting(s) are deprecated, use "${i}": ${Xe(t[i])}`)})),b(b({},r),t)}(Ds.DefaultConfig,e,t);this.userConfig=e,n.progressive&&function(e,t){const n=e.loader;n!==us&&n!==ps?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),e.progressive=!1):ls()&&(e.loader=us,e.progressive=!0,e.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}(n,t);const{abrController:r,bufferController:a,capLevelController:i,errorController:o,fpsController:s}=n,c=new o(this),u=this.abrController=new r(this),d=new Et(this),h=n.interstitialsController,f=h?this.interstitialsController=new h(this,Ds):null,p=this.bufferController=new a(this,d),m=this.capLevelController=new i(this),g=new s(this),y=new Cs(this),_=n.contentSteeringController,I=_?new _(this):null,T=this.levelController=new Ms(this,I),k=new ws(this),S=new Bs(this.config),P=this.streamController=new xs(this,d,S),A=this.gapController=new vs(this,d);m.setStreamController(P),g.setStreamController(P);const x=[y,T,P];f&&x.splice(1,0,f),I&&x.splice(1,0,I),this.networkControllers=x;const B=[u,p,A,m,g,k,d];this.audioTrackController=this.createController(n.audioTrackController,x);const L=n.audioStreamController;L&&x.push(this.audioStreamController=new L(this,d,S)),this.subtitleTrackController=this.createController(n.subtitleTrackController,x);const O=n.subtitleStreamController;O&&x.push(this.subtititleStreamController=new O(this,d,S)),this.createController(n.timelineController,B),S.emeController=this.emeController=this.createController(n.emeController,B),this.cmcdController=this.createController(n.cmcdController,B),this.latencyController=this.createController(Es,B),this.coreComponents=B,x.push(c);const C=c.onErrorOut;"function"==typeof C&&this.on(l.ERROR,C,c),this.on(l.MANIFEST_LOADED,y.onManifestLoaded,y)}createController(e,t){if(e){const n=new e(this);return t&&t.push(n),n}return null}on(e,t,n=this){this._emitter.on(e,t,n)}once(e,t,n=this){this._emitter.once(e,t,n)}removeAllListeners(e){this._emitter.removeAllListeners(e)}off(e,t,n=this,r){this._emitter.off(e,t,n,r)}listeners(e){return this._emitter.listeners(e)}emit(e,t,n){return this._emitter.emit(e,t,n)}trigger(e,t){if(this.config.debug)return this.emit(e,e,t);try{return this.emit(e,e,t)}catch(t){if(this.logger.error("An internal error happened while handling event "+e+'. Error message: "'+t.message+'". Here is a stacktrace:',t),!this.triggeringException){this.triggeringException=!0;const n=e===l.ERROR;this.trigger(l.ERROR,{type:o.OTHER_ERROR,details:s.INTERNAL_EXCEPTION,fatal:n,event:e,error:t}),this.triggeringException=!1}}return!1}listenerCount(e){return this._emitter.listenerCount(e)}destroy(){this.logger.log("destroy"),this.trigger(l.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach((e=>e.destroy())),this.networkControllers.length=0,this.coreComponents.forEach((e=>e.destroy())),this.coreComponents.length=0;const e=this.config;e.xhrSetup=e.fetchSetup=void 0,this.userConfig=null}attachMedia(e){if(!e||"media"in e&&!e.media){const t=new Error(`attachMedia failed: invalid argument (${e})`);return void this.trigger(l.ERROR,{type:o.OTHER_ERROR,details:s.ATTACH_MEDIA_ERROR,fatal:!0,error:t})}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const t="media"in e,n=t?e.media:e,r=t?e:{media:n};this._media=n,this.trigger(l.MEDIA_ATTACHING,r)}detachMedia(){this.logger.log("detachMedia"),this.trigger(l.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const e=this.bufferController.transferMedia();return this.trigger(l.MEDIA_DETACHING,{transferMedia:e}),e}loadSource(e){this.stopLoad();const t=this.media,n=this._url,r=this._url=N.buildAbsoluteURL(self.location.href,e,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${r}`),t&&n&&(n!==r||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(t)),this.trigger(l.MANIFEST_LOADING,{url:e})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(e=-1,t){this.logger.log(`startLoad(${e+(t?", ":"")})`),this.started=!0,this.resumeBuffering();for(let n=0;n{e.resumeBuffering&&e.resumeBuffering()})))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach((e=>{e.pauseBuffering&&e.pauseBuffering()})))}get inFlightFragments(){const e={[f.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(e[f.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(e[f.SUBTITLE]=this.subtititleStreamController.inFlightFrag),e}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const e=this._media,t=null==e?void 0:e.currentTime;this.detachMedia(),e&&(this.attachMedia(e),t&&this.startLoad(t))}removeLevel(e){this.levelController.removeLevel(e)}get sessionId(){let e=this._sessionId;return e||(e=this._sessionId=function(){try{return crypto.randomUUID()}catch(e){try{const e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.slice(t.lastIndexOf("/")+1)}catch(e){let t=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?n:3&n|8).toString(16)}))}}}()),e}get levels(){const e=this.levelController.levels;return e||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(e){this.logger.log(`set currentLevel:${e}`),this.levelController.manualLevel=e,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(e){this.logger.log(`set nextLevel:${e}`),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(e){this.logger.log(`set loadLevel:${e}`),this.levelController.manualLevel=e}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(e){this.levelController.nextLoadLevel=e}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(e){this.logger.log(`set firstLevel:${e}`),this.levelController.firstLevel=e}get startLevel(){const e=this.levelController.startLevel;return-1===e&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:e}set startLevel(e){this.logger.log(`set startLevel:${e}`),-1!==e&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(e){const t=!!e;t!==this.config.capLevelToPlayerSize&&(t?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=t)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimate():NaN}set bandwidthEstimate(e){this.abrController.resetEstimator(e)}get abrEwmaDefaultEstimate(){const{bwEstimator:e}=this.abrController;return e?e.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimateTTFB():NaN}set autoLevelCapping(e){this._autoLevelCapping!==e&&(this.logger.log(`set autoLevelCapping:${e}`),this._autoLevelCapping=e,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(e){(function(e){return Ye.indexOf(e)>-1})(e)&&this._maxHdcpLevel!==e&&(this._maxHdcpLevel=e,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return-1===this.levelController.manualLevel}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:e,config:{minAutoBitrate:t}}=this;if(!e)return 0;const n=e.length;for(let r=0;r=t)return r;return 0}get maxAutoLevel(){const{levels:e,autoLevelCapping:t,maxHdcpLevel:n}=this;let r;if(r=-1===t&&null!=e&&e.length?e.length-1:t,n)for(let t=r;t--;){const r=e[t].attrs["HDCP-LEVEL"];if(r&&r<=n)return t}return r}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(e){this.abrController.nextAutoLevel=e}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(e){var t;return(null==(t=this.audioTrackController)?void 0:t.setAudioOption(e))||null}setSubtitleOption(e){var t;return(null==(t=this.subtitleTrackController)?void 0:t.setSubtitleOption(e))||null}get allAudioTracks(){const e=this.audioTrackController;return e?e.allAudioTracks:[]}get audioTracks(){const e=this.audioTrackController;return e?e.audioTracks:[]}get audioTrack(){const e=this.audioTrackController;return e?e.audioTrack:-1}set audioTrack(e){const t=this.audioTrackController;t&&(t.audioTrack=e)}get allSubtitleTracks(){const e=this.subtitleTrackController;return e?e.allSubtitleTracks:[]}get subtitleTracks(){const e=this.subtitleTrackController;return e?e.subtitleTracks:[]}get subtitleTrack(){const e=this.subtitleTrackController;return e?e.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(e){const t=this.subtitleTrackController;t&&(t.subtitleTrack=e)}get subtitleDisplay(){const e=this.subtitleTrackController;return!!e&&e.subtitleDisplay}set subtitleDisplay(e){const t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(e){this.config.lowLatencyMode=e}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(e){this.latencyController.targetLatency=e}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(e){this.levelController.pathwayPriority=e}get bufferedToEnd(){var e;return!(null==(e=this.bufferController)||!e.bufferedToEnd)}get interstitialsManager(){var e;return(null==(e=this.interstitialsController)?void 0:e.interstitialsManager)||null}getMediaDecodingInfo(e,t=this.allAudioTracks){return Ve(e,Ze(t),navigator.mediaCapabilities)}}Ds.defaultConfig=void 0},65005:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EffectScope:()=>r.E,Fragment:()=>a.Fragment,computed:()=>r.b,createEffectScope:()=>r.c,effect:()=>r.e,getCurrentScope:()=>r.g,h:()=>a.h,isFunction:()=>r.a,isRef:()=>r.i,jsx:()=>a.h,jsxs:()=>a.h,onScopeDispose:()=>r.o,ref:()=>r.r,render:()=>a.render,toKebabCase:()=>a.toKebabCase,toRef:()=>r.d,toValue:()=>r.t,unref:()=>r.u,watch:()=>r.w});var r=n(15424),a=n(54745)},65044:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Crc32:()=>a});const r=[];for(let e=0;e<256;e++){let t=e;for(let e=0;e<8;e++)1&t?t=t>>>1^3988292384:t>>>=1;r[e]=t}class a{constructor(e){this.crc=e||-1}append(e){let t=0|this.crc;for(let n=0,a=0|e.length;n>>8^r[255&(t^e[n])];this.crc=t}get(){return~this.crc}}},65201:function(e){var t;t=()=>(()=>{"use strict";var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{default:()=>u});const n="undefined"!=typeof window?window.HTMLElement:Object,r={mounted(){this.enforceFocus&&document.addEventListener("focusin",this.focusIn)},methods:{focusIn(e){if(!this.isActive)return;if(e.target===this.$el||this.$el.contains(e.target))return;let t=this.container?this.container:this.isFullPage?null:this.$el.parentElement;(this.isFullPage||t&&t.contains(e.target))&&(e.preventDefault(),this.$el.focus())}},beforeDestroy(){document.removeEventListener("focusin",this.focusIn)}};function a(e,t,n,r,a,i,o,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}const i={Spinner:a({name:"spinner",props:{color:{type:String,default:"#000"},height:{type:Number,default:64},width:{type:Number,default:64}}},(function(){var e=this,t=e._self._c;return t("svg",{attrs:{viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,stroke:e.color}},[t("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[t("g",{attrs:{transform:"translate(1 1)","stroke-width":"2"}},[t("circle",{attrs:{"stroke-opacity":".25",cx:"18",cy:"18",r:"18"}}),t("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"}})],1)])])])}),[],!1,null,null,null).exports,Dots:a({name:"dots",props:{color:{type:String,default:"#000"},height:{type:Number,default:240},width:{type:Number,default:60}}},(function(){var e=this,t=e._self._c;return t("svg",{attrs:{viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:e.color,width:e.width,height:e.height}},[t("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":"0.3"}},[t("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports,Bars:a({name:"bars",props:{color:{type:String,default:"#000"},height:{type:Number,default:40},width:{type:Number,default:40}}},(function(){var e=this,t=e._self._c;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",height:e.height,width:e.width,fill:e.color}},[t("rect",{attrs:{x:"0",y:"13",width:"4",height:"5"}},[t("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"10",y:"13",width:"4",height:"5"}},[t("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"20",y:"13",width:"4",height:"5"}},[t("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports},o={name:"vue-loading",mixins:[r],props:{active:Boolean,programmatic:Boolean,container:[Object,Function,n],isFullPage:{type:Boolean,default:!0},enforceFocus:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!1},transition:{type:String,default:"fade"},canCancel:Boolean,onCancel:{type:Function,default:()=>{}},color:String,backgroundColor:String,blur:{type:String,default:"2px"},opacity:Number,width:Number,height:Number,zIndex:Number,loader:{type:String,default:"spinner"}},data(){return{isActive:this.active}},components:i,beforeMount(){this.programmatic&&(this.container?(this.isFullPage=!1,this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted(){this.programmatic&&(this.isActive=!0),document.addEventListener("keyup",this.keyPress)},methods:{cancel(){this.canCancel&&this.isActive&&(this.hide(),this.onCancel.apply(null,arguments))},hide(){this.$emit("hide"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout((()=>{var e;this.$destroy(),void 0!==(e=this.$el).remove?e.remove():e.parentNode.removeChild(e)}),150))},disableScroll(){this.isFullPage&&this.lockScroll&&document.body.classList.add("vld-shown")},enableScroll(){this.isFullPage&&this.lockScroll&&document.body.classList.remove("vld-shown")},keyPress(e){27===e.keyCode&&this.cancel()}},watch:{active(e){this.isActive=e},isActive(e){e?this.disableScroll():this.enableScroll()}},computed:{bgStyle(){return{background:this.backgroundColor,opacity:this.opacity,backdropFilter:`blur(${this.blur})`}}},beforeDestroy(){document.removeEventListener("keyup",this.keyPress)}};var s=a(o,(function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:e.transition}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"vld-overlay is-active",class:{"is-full-page":e.isFullPage},style:{zIndex:e.zIndex},attrs:{tabindex:"0","aria-busy":e.isActive,"aria-label":"Loading"}},[t("div",{staticClass:"vld-background",style:e.bgStyle,on:{click:function(t){return t.preventDefault(),e.cancel.apply(null,arguments)}}}),t("div",{staticClass:"vld-icon"},[e._t("before"),e._t("default",(function(){return[t(e.loader,{tag:"component",attrs:{color:e.color,width:e.width,height:e.height}})]})),e._t("after")],2)])])}),[],!1,null,null,null);const l=s.exports,c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{show(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;const i=Object.assign({},t,r,{programmatic:!0}),o=new(e.extend(l))({el:document.createElement("div"),propsData:i}),s=Object.assign({},n,a);return Object.keys(s).map((e=>{o.$slots[e]=s[e]})),o}}};l.install=function(e){let t=c(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});e.$loading=t,e.prototype.$loading=t};const u=l;return t=t.default})(),e.exports=t()},65543:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(95093))},65606:e=>{var t,n,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&h())}function h(){if(!c){var e=o(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u1)for(var n=1;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n
    ',pe=Number.isNaN||g.isNaN;function me(e){return"number"==typeof e&&!pe(e)}var ge=function(e){return e>0&&e<1/0};function ve(e){return void 0===e}function ye(e){return"object"===a(e)&&null!==e}var be=Object.prototype.hasOwnProperty;function _e(e){if(!ye(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&be.call(n,"isPrototypeOf")}catch(e){return!1}}function Ie(e){return"function"==typeof e}var Te=Array.prototype.slice;function we(e){return Array.from?Array.from(e):Te.call(e)}function Ee(e,t){return e&&Ie(t)&&(Array.isArray(e)||me(e.length)?we(e).forEach((function(n,r){t.call(e,n,r,e)})):ye(e)&&Object.keys(e).forEach((function(n){t.call(e,e[n],n,e)}))),e}var Me=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&n.forEach((function(t){ye(t)&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e},ke=/\.\d*(?:0|9){12}\d*$/;function Se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return ke.test(e)?Math.round(e*t)/t:e}var Pe=/^width|height|left|top|marginLeft|marginTop$/;function Ae(e,t){var n=e.style;Ee(t,(function(e,t){Pe.test(t)&&me(e)&&(e="".concat(e,"px")),n[t]=e}))}function xe(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function Be(e,t){if(t)if(me(e.length))Ee(e,(function(e){Be(e,t)}));else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Le(e,t){t&&(me(e.length)?Ee(e,(function(e){Le(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function Oe(e,t,n){t&&(me(e.length)?Ee(e,(function(e){Oe(e,t,n)})):n?Be(e,t):Le(e,t))}var Ce=/([a-z\d])([A-Z])/g;function De(e){return e.replace(Ce,"$1-$2").toLowerCase()}function Re(e,t){return ye(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(De(t)))}function Fe(e,t,n){ye(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(De(t)),n)}function ze(e,t){if(ye(e[t]))try{delete e[t]}catch(n){e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch(n){e.dataset[t]=void 0}else e.removeAttribute("data-".concat(De(t)))}var Ne=/\s\s*/,He=function(){var e=!1;if(m){var t=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});g.addEventListener("test",n,r),g.removeEventListener("test",n,r)}return e}();function Ve(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n;t.trim().split(Ne).forEach((function(t){if(!He){var i=e.listeners;i&&i[t]&&i[t][n]&&(a=i[t][n],delete i[t][n],0===Object.keys(i[t]).length&&delete i[t],0===Object.keys(i).length&&delete e.listeners)}e.removeEventListener(t,a,r)}))}function Ye(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n;t.trim().split(Ne).forEach((function(t){if(r.once&&!He){var i=e.listeners,o=void 0===i?{}:i;a=function(){delete o[t][n],e.removeEventListener(t,a,r);for(var i=arguments.length,s=new Array(i),l=0;lMath.abs(r)&&(r=l)}))})),r}function Je(e,n){var r=e.pageX,a=e.pageY,i={endX:r,endY:a};return n?i:t({startX:r,startY:a},i)}function Ze(e){var t=0,n=0,r=0;return Ee(e,(function(e){var a=e.startX,i=e.startY;t+=a,n+=i,r+=1})),{pageX:t/=r,pageY:n/=r}}function Qe(e){var t=e.aspectRatio,n=e.height,r=e.width,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",i=ge(r),o=ge(n);if(i&&o){var s=n*t;"contain"===a&&s>r||"cover"===a&&s90?{width:l,height:s}:{width:s,height:l}}function tt(e,t,n,r){var a=t.aspectRatio,i=t.naturalWidth,o=t.naturalHeight,s=t.rotate,l=void 0===s?0:s,u=t.scaleX,d=void 0===u?1:u,h=t.scaleY,f=void 0===h?1:h,p=n.aspectRatio,m=n.naturalWidth,g=n.naturalHeight,v=r.fillColor,y=void 0===v?"transparent":v,b=r.imageSmoothingEnabled,_=void 0===b||b,I=r.imageSmoothingQuality,T=void 0===I?"low":I,w=r.maxWidth,E=void 0===w?1/0:w,M=r.maxHeight,k=void 0===M?1/0:M,S=r.minWidth,P=void 0===S?0:S,A=r.minHeight,x=void 0===A?0:A,B=document.createElement("canvas"),L=B.getContext("2d"),O=Qe({aspectRatio:p,width:E,height:k}),C=Qe({aspectRatio:p,width:P,height:x},"cover"),D=Math.min(O.width,Math.max(C.width,m)),R=Math.min(O.height,Math.max(C.height,g)),F=Qe({aspectRatio:a,width:E,height:k}),z=Qe({aspectRatio:a,width:P,height:x},"cover"),N=Math.min(F.width,Math.max(z.width,i)),H=Math.min(F.height,Math.max(z.height,o)),V=[-N/2,-H/2,N,H];return B.width=Se(D),B.height=Se(R),L.fillStyle=y,L.fillRect(0,0,D,R),L.save(),L.translate(D/2,R/2),L.rotate(l*Math.PI/180),L.scale(d,f),L.imageSmoothingEnabled=_,L.imageSmoothingQuality=T,L.drawImage.apply(L,[e].concat(c(V.map((function(e){return Math.floor(Se(e))}))))),L.restore(),B}var nt=String.fromCharCode;function rt(e,t,n){var r="";n+=t;for(var a=t;a0;)n.push(nt.apply(null,we(a.subarray(0,r)))),a=a.subarray(r);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}function st(e){var t,n=new DataView(e);try{var r,a,i;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var o=n.byteLength,s=2;s+1=8&&(i=l+u)}}}if(i){var d,h,f=n.getUint16(i,r);for(h=0;h=0?a:ue),height:Math.max(n.offsetHeight,i>=0?i:de)};this.containerData=o,Ae(r,{width:o.width,height:o.height}),Be(e,C),Le(r,C)},initCanvas:function(){var e=this.containerData,t=this.imageData,n=this.options.viewMode,r=Math.abs(t.rotate)%180==90,a=r?t.naturalHeight:t.naturalWidth,i=r?t.naturalWidth:t.naturalHeight,o=a/i,s=e.width,l=e.height;e.height*o>e.width?3===n?s=e.height*o:l=e.width/o:3===n?l=e.width/o:s=e.height*o;var c={aspectRatio:o,naturalWidth:a,naturalHeight:i,width:s,height:l};this.canvasData=c,this.limited=1===n||2===n,this.limitCanvas(!0,!0),c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth),c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight),c.left=(e.width-c.width)/2,c.top=(e.height-c.height)/2,c.oldLeft=c.left,c.oldTop=c.top,this.initialCanvasData=Me({},c)},limitCanvas:function(e,t){var n=this.options,r=this.containerData,a=this.canvasData,i=this.cropBoxData,o=n.viewMode,s=a.aspectRatio,l=this.cropped&&i;if(e){var c=Number(n.minCanvasWidth)||0,u=Number(n.minCanvasHeight)||0;o>1?(c=Math.max(c,r.width),u=Math.max(u,r.height),3===o&&(u*s>c?c=u*s:u=c/s)):o>0&&(c?c=Math.max(c,l?i.width:0):u?u=Math.max(u,l?i.height:0):l&&(c=i.width,(u=i.height)*s>c?c=u*s:u=c/s));var d=Qe({aspectRatio:s,width:c,height:u});c=d.width,u=d.height,a.minWidth=c,a.minHeight=u,a.maxWidth=1/0,a.maxHeight=1/0}if(t)if(o>(l?0:1)){var h=r.width-a.width,f=r.height-a.height;a.minLeft=Math.min(0,h),a.minTop=Math.min(0,f),a.maxLeft=Math.max(0,h),a.maxTop=Math.max(0,f),l&&this.limited&&(a.minLeft=Math.min(i.left,i.left+(i.width-a.width)),a.minTop=Math.min(i.top,i.top+(i.height-a.height)),a.maxLeft=i.left,a.maxTop=i.top,2===o&&(a.width>=r.width&&(a.minLeft=Math.min(0,h),a.maxLeft=Math.max(0,h)),a.height>=r.height&&(a.minTop=Math.min(0,f),a.maxTop=Math.max(0,f))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=r.width,a.maxTop=r.height},renderCanvas:function(e,t){var n=this.canvasData,r=this.imageData;if(t){var a=et({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),i=a.width,o=a.height,s=n.width*(i/n.naturalWidth),l=n.height*(o/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(l-n.height)/2,n.width=s,n.height=l,n.aspectRatio=i/o,n.naturalWidth=i,n.naturalHeight=o,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.widthn.maxHeight||n.heightt.width?a.height=a.width/n:a.width=a.height*n),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*r),a.height=Math.max(a.minHeight,a.height*r),a.left=t.left+(t.width-a.width)/2,a.top=t.top+(t.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=Me({},a)},limitCropBox:function(e,t){var n=this.options,r=this.containerData,a=this.canvasData,i=this.cropBoxData,o=this.limited,s=n.aspectRatio;if(e){var l=Number(n.minCropBoxWidth)||0,c=Number(n.minCropBoxHeight)||0,u=o?Math.min(r.width,a.width,a.width+a.left,r.width-a.left):r.width,d=o?Math.min(r.height,a.height,a.height+a.top,r.height-a.top):r.height;l=Math.min(l,r.width),c=Math.min(c,r.height),s&&(l&&c?c*s>l?c=l/s:l=c*s:l?c=l/s:c&&(l=c*s),d*s>u?d=u/s:u=d*s),i.minWidth=Math.min(l,u),i.minHeight=Math.min(c,d),i.maxWidth=u,i.maxHeight=d}t&&(o?(i.minLeft=Math.max(0,a.left),i.minTop=Math.max(0,a.top),i.maxLeft=Math.min(r.width,a.left+a.width)-i.width,i.maxTop=Math.min(r.height,a.top+a.height)-i.height):(i.minLeft=0,i.minTop=0,i.maxLeft=r.width-i.width,i.maxTop=r.height-i.height))},renderCropBox:function(){var e=this.options,t=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.widthn.maxHeight||n.height=t.width&&n.height>=t.height?T:_),Ae(this.cropBox,Me({width:n.width,height:n.height},Ke({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),je(this.element,U,this.getData())}},ut={initPreview:function(){var e=this.element,t=this.crossOrigin,n=this.options.preview,r=t?this.crossOriginUrl:this.url,a=e.alt||"The image to preview",i=document.createElement("img");if(t&&(i.crossOrigin=t),i.src=r,i.alt=a,this.viewBox.appendChild(i),this.viewBoxImage=i,n){var o=n;"string"==typeof n?o=e.ownerDocument.querySelectorAll(n):n.querySelector&&(o=[n]),this.previews=o,Ee(o,(function(e){var n=document.createElement("img");Fe(e,H,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(n.crossOrigin=t),n.src=r,n.alt=a,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(n)}))}},resetPreview:function(){Ee(this.previews,(function(e){var t=Re(e,H);Ae(e,{width:t.width,height:t.height}),e.innerHTML=t.html,ze(e,H)}))},preview:function(){var e=this.imageData,t=this.canvasData,n=this.cropBoxData,r=n.width,a=n.height,i=e.width,o=e.height,s=n.left-t.left-e.left,l=n.top-t.top-e.top;this.cropped&&!this.disabled&&(Ae(this.viewBoxImage,Me({width:i,height:o},Ke(Me({translateX:-s,translateY:-l},e)))),Ee(this.previews,(function(t){var n=Re(t,H),c=n.width,u=n.height,d=c,h=u,f=1;r&&(h=a*(f=c/r)),a&&h>u&&(d=r*(f=u/a),h=u),Ae(t,{width:d,height:h}),Ae(t.getElementsByTagName("img")[0],Me({width:i*f,height:o*f},Ke(Me({translateX:-s*f,translateY:-l*f},e))))})))}},dt={bind:function(){var e=this.element,t=this.options,n=this.cropper;Ie(t.cropstart)&&Ye(e,W,t.cropstart),Ie(t.cropmove)&&Ye(e,G,t.cropmove),Ie(t.cropend)&&Ye(e,$,t.cropend),Ie(t.crop)&&Ye(e,U,t.crop),Ie(t.zoom)&&Ye(e,ae,t.zoom),Ye(n,Z,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&Ye(n,re,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Ye(n,q,this.onDblclick=this.dblclick.bind(this)),Ye(e.ownerDocument,Q,this.onCropMove=this.cropMove.bind(this)),Ye(e.ownerDocument,ee,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&Ye(window,ne,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,n=this.cropper;Ie(t.cropstart)&&Ve(e,W,t.cropstart),Ie(t.cropmove)&&Ve(e,G,t.cropmove),Ie(t.cropend)&&Ve(e,$,t.cropend),Ie(t.crop)&&Ve(e,U,t.crop),Ie(t.zoom)&&Ve(e,ae,t.zoom),Ve(n,Z,this.onCropStart),t.zoomable&&t.zoomOnWheel&&Ve(n,re,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Ve(n,q,this.onDblclick),Ve(e.ownerDocument,Q,this.onCropMove),Ve(e.ownerDocument,ee,this.onCropEnd),t.responsive&&Ve(window,ne,this.onResize)}},ht={resize:function(){if(!this.disabled){var e,t,n=this.options,r=this.container,a=this.containerData,i=r.offsetWidth/a.width,o=r.offsetHeight/a.height,s=Math.abs(i-1)>Math.abs(o-1)?i:o;1!==s&&(n.restore&&(e=this.getCanvasData(),t=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(Ee(e,(function(t,n){e[n]=t*s}))),this.setCropBoxData(Ee(t,(function(e,n){t[n]=e*s})))))}},dblclick:function(){this.disabled||this.options.dragMode===j||this.setDragMode(xe(this.dragBox,L)?Y:V)},wheel:function(e){var t=this,n=Number(this.options.wheelZoomRatio)||.1,r=1;this.disabled||(e.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50),e.deltaY?r=e.deltaY>0?1:-1:e.wheelDelta?r=-e.wheelDelta/120:e.detail&&(r=e.detail>0?1:-1),this.zoom(-r*n,e)))},cropStart:function(e){var t=e.buttons,n=e.button;if(!(this.disabled||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(me(t)&&1!==t||me(n)&&0!==n||e.ctrlKey))){var r,a=this.options,i=this.pointers;e.changedTouches?Ee(e.changedTouches,(function(e){i[e.identifier]=Je(e)})):i[e.pointerId||0]=Je(e),r=Object.keys(i).length>1&&a.zoomable&&a.zoomOnTouch?w:Re(e.target,N),oe.test(r)&&!1!==je(this.element,W,{originalEvent:e,action:r})&&(e.preventDefault(),this.action=r,this.cropping=!1,r===I&&(this.cropping=!0,Be(this.dragBox,F)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var n=this.pointers;e.preventDefault(),!1!==je(this.element,G,{originalEvent:e,action:t})&&(e.changedTouches?Ee(e.changedTouches,(function(e){Me(n[e.identifier]||{},Je(e,!0))})):Me(n[e.pointerId||0]||{},Je(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,n=this.pointers;e.changedTouches?Ee(e.changedTouches,(function(e){delete n[e.identifier]})):delete n[e.pointerId||0],t&&(e.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,Oe(this.dragBox,F,this.cropped&&this.options.modal)),je(this.element,$,{originalEvent:e,action:t}))}}},ft={change:function(e){var t,n=this.options,r=this.canvasData,a=this.containerData,i=this.cropBoxData,o=this.pointers,s=this.action,l=n.aspectRatio,c=i.left,u=i.top,d=i.width,h=i.height,f=c+d,p=u+h,m=0,g=0,v=a.width,y=a.height,b=!0;!l&&e.shiftKey&&(l=d&&h?d/h:1),this.limited&&(m=i.minLeft,g=i.minTop,v=m+Math.min(a.width,r.width,r.left+r.width),y=g+Math.min(a.height,r.height,r.top+r.height));var L=o[Object.keys(o)[0]],O={x:L.endX-L.startX,y:L.endY-L.startY},D=function(e){switch(e){case E:f+O.x>v&&(O.x=v-f);break;case M:c+O.xy&&(O.y=y-p)}};switch(s){case _:c+=O.x,u+=O.y;break;case E:if(O.x>=0&&(f>=v||l&&(u<=g||p>=y))){b=!1;break}D(E),(d+=O.x)<0&&(s=M,c-=d=-d),l&&(h=d/l,u+=(i.height-h)/2);break;case S:if(O.y<=0&&(u<=g||l&&(c<=m||f>=v))){b=!1;break}D(S),h-=O.y,u+=O.y,h<0&&(s=k,u-=h=-h),l&&(d=h*l,c+=(i.width-d)/2);break;case M:if(O.x<=0&&(c<=m||l&&(u<=g||p>=y))){b=!1;break}D(M),d-=O.x,c+=O.x,d<0&&(s=E,c-=d=-d),l&&(h=d/l,u+=(i.height-h)/2);break;case k:if(O.y>=0&&(p>=y||l&&(c<=m||f>=v))){b=!1;break}D(k),(h+=O.y)<0&&(s=S,u-=h=-h),l&&(d=h*l,c+=(i.width-d)/2);break;case P:if(l){if(O.y<=0&&(u<=g||f>=v)){b=!1;break}D(S),h-=O.y,u+=O.y,d=h*l}else D(S),D(E),O.x>=0?fg&&(h-=O.y,u+=O.y):(h-=O.y,u+=O.y);d<0&&h<0?(s=B,u-=h=-h,c-=d=-d):d<0?(s=A,c-=d=-d):h<0&&(s=x,u-=h=-h);break;case A:if(l){if(O.y<=0&&(u<=g||c<=m)){b=!1;break}D(S),h-=O.y,u+=O.y,d=h*l,c+=i.width-d}else D(S),D(M),O.x<=0?c>m?(d-=O.x,c+=O.x):O.y<=0&&u<=g&&(b=!1):(d-=O.x,c+=O.x),O.y<=0?u>g&&(h-=O.y,u+=O.y):(h-=O.y,u+=O.y);d<0&&h<0?(s=x,u-=h=-h,c-=d=-d):d<0?(s=P,c-=d=-d):h<0&&(s=B,u-=h=-h);break;case B:if(l){if(O.x<=0&&(c<=m||p>=y)){b=!1;break}D(M),d-=O.x,c+=O.x,h=d/l}else D(k),D(M),O.x<=0?c>m?(d-=O.x,c+=O.x):O.y>=0&&p>=y&&(b=!1):(d-=O.x,c+=O.x),O.y>=0?p=0&&(f>=v||p>=y)){b=!1;break}D(E),h=(d+=O.x)/l}else D(k),D(E),O.x>=0?f=0&&p>=y&&(b=!1):d+=O.x,O.y>=0?p0?s=O.y>0?x:P:O.x<0&&(c-=d,s=O.y>0?B:A),O.y<0&&(u-=h),this.cropped||(Le(this.cropBox,C),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}b&&(i.width=d,i.height=h,i.left=c,i.top=u,this.action=s,this.renderCropBox()),Ee(o,(function(e){e.startX=e.endX,e.startY=e.endY}))}},pt={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Be(this.dragBox,F),Le(this.cropBox,C),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Me({},this.initialImageData),this.canvasData=Me({},this.initialCanvasData),this.cropBoxData=Me({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Me(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Le(this.dragBox,F),Be(this.cropBox,C)),this},replace:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,Ee(this.previews,(function(t){t.getElementsByTagName("img")[0].src=e})))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Le(this.cropper,O)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Be(this.cropper,O)),this},destroy:function(){var e=this.element;return e[b]?(e[b]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,r=n.left,a=n.top;return this.moveTo(ve(e)?e:r+Number(e),ve(t)?t:a+Number(t))},moveTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(me(e)&&(n.left=e,r=!0),me(t)&&(n.top=t,r=!0),r&&this.renderCanvas(!0)),this},zoom:function(e,t){var n=this.canvasData;return e=(e=Number(e))<0?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,null,t)},zoomTo:function(e,t,n){var r=this.options,a=this.canvasData,i=a.width,o=a.height,s=a.naturalWidth,l=a.naturalHeight;if((e=Number(e))>=0&&this.ready&&!this.disabled&&r.zoomable){var c=s*e,u=l*e;if(!1===je(this.element,ae,{ratio:e,oldRatio:i/s,originalEvent:n}))return this;if(n){var d=this.pointers,h=Ue(this.cropper),f=d&&Object.keys(d).length?Ze(d):{pageX:n.pageX,pageY:n.pageY};a.left-=(c-i)*((f.pageX-h.left-a.left)/i),a.top-=(u-o)*((f.pageY-h.top-a.top)/o)}else _e(t)&&me(t.x)&&me(t.y)?(a.left-=(c-i)*((t.x-a.left)/i),a.top-=(u-o)*((t.y-a.top)/o)):(a.left-=(c-i)/2,a.top-=(u-o)/2);a.width=c,a.height=u,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return me(e=Number(e))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,me(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(me(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData,r=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(me(e)&&(n.scaleX=e,r=!0),me(t)&&(n.scaleY=t,r=!0),r&&this.renderCanvas(!0,!0)),this},getData:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,r=this.imageData,a=this.canvasData,i=this.cropBoxData;if(this.ready&&this.cropped){e={x:i.left-a.left,y:i.top-a.top,width:i.width,height:i.height};var o=r.width/r.naturalWidth;if(Ee(e,(function(t,n){e[n]=t/o})),t){var s=Math.round(e.y+e.height),l=Math.round(e.x+e.width);e.x=Math.round(e.x),e.y=Math.round(e.y),e.width=l-e.x,e.height=s-e.y}}else e={x:0,y:0,width:0,height:0};return n.rotatable&&(e.rotate=r.rotate||0),n.scalable&&(e.scaleX=r.scaleX||1,e.scaleY=r.scaleY||1),e},setData:function(e){var t=this.options,n=this.imageData,r=this.canvasData,a={};if(this.ready&&!this.disabled&&_e(e)){var i=!1;t.rotatable&&me(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,i=!0),t.scalable&&(me(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,i=!0),me(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,i=!0)),i&&this.renderCanvas(!0,!0);var o=n.width/n.naturalWidth;me(e.x)&&(a.left=e.x*o+r.left),me(e.y)&&(a.top=e.y*o+r.top),me(e.width)&&(a.width=e.width*o),me(e.height)&&(a.height=e.height*o),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?Me({},this.containerData):{}},getImageData:function(){return this.sized?Me({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&Ee(["left","top","width","height","naturalWidth","naturalHeight"],(function(n){t[n]=e[n]})),t},setCanvasData:function(e){var t=this.canvasData,n=t.aspectRatio;return this.ready&&!this.disabled&&_e(e)&&(me(e.left)&&(t.left=e.left),me(e.top)&&(t.top=e.top),me(e.width)?(t.width=e.width,t.height=e.width/n):me(e.height)&&(t.height=e.height,t.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e,t=this.cropBoxData;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(e){var t,n,r=this.cropBoxData,a=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&_e(e)&&(me(e.left)&&(r.left=e.left),me(e.top)&&(r.top=e.top),me(e.width)&&e.width!==r.width&&(t=!0,r.width=e.width),me(e.height)&&e.height!==r.height&&(n=!0,r.height=e.height),a&&(t?r.height=r.width/a:n&&(r.width=r.height*a)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,n=tt(this.image,this.imageData,t,e);if(!this.cropped)return n;var r=this.getData(e.rounded),a=r.x,i=r.y,o=r.width,s=r.height,l=n.width/Math.floor(t.naturalWidth);1!==l&&(a*=l,i*=l,o*=l,s*=l);var u=o/s,d=Qe({aspectRatio:u,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),h=Qe({aspectRatio:u,width:e.minWidth||0,height:e.minHeight||0},"cover"),f=Qe({aspectRatio:u,width:e.width||(1!==l?n.width:o),height:e.height||(1!==l?n.height:s)}),p=f.width,m=f.height;p=Math.min(d.width,Math.max(h.width,p)),m=Math.min(d.height,Math.max(h.height,m));var g=document.createElement("canvas"),v=g.getContext("2d");g.width=Se(p),g.height=Se(m),v.fillStyle=e.fillColor||"transparent",v.fillRect(0,0,p,m);var y=e.imageSmoothingEnabled,b=void 0===y||y,_=e.imageSmoothingQuality;v.imageSmoothingEnabled=b,_&&(v.imageSmoothingQuality=_);var I,T,w,E,M,k,S=n.width,P=n.height,A=a,x=i;A<=-o||A>S?(A=0,I=0,w=0,M=0):A<=0?(w=-A,A=0,M=I=Math.min(S,o+A)):A<=S&&(w=0,M=I=Math.min(o,S-A)),I<=0||x<=-s||x>P?(x=0,T=0,E=0,k=0):x<=0?(E=-x,x=0,k=T=Math.min(P,s+x)):x<=P&&(E=0,k=T=Math.min(s,P-x));var B=[A,x,I,T];if(M>0&&k>0){var L=p/o;B.push(w*L,E*L,M*L,k*L)}return v.drawImage.apply(v,[n].concat(c(B.map((function(e){return Math.floor(Se(e))}))))),g},setAspectRatio:function(e){var t=this.options;return this.disabled||ve(e)||(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,n=this.dragBox,r=this.face;if(this.ready&&!this.disabled){var a=e===V,i=t.movable&&e===Y;e=a||i?e:j,t.dragMode=e,Fe(n,N,e),Oe(n,L,a),Oe(n,z,i),t.cropBoxMovable||(Fe(r,N,e),Oe(r,L,a),Oe(r,z,i))}return this}},mt=g.Cropper,gt=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,e),!t||!ce.test(t.tagName))throw new Error("The first argument is required and must be an or element.");this.element=t,this.options=Me({},he,_e(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return s(e,[{key:"init",value:function(){var e,t=this.element,n=t.tagName.toLowerCase();if(!t[b]){if(t[b]=this,"img"===n){if(this.isImg=!0,e=t.getAttribute("src")||"",this.originalUrl=e,!e)return;e=t.src}else"canvas"===n&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(e){var t=this;if(e){this.url=e,this.imageData={};var n=this.element,r=this.options;if(r.rotatable||r.scalable||(r.checkOrientation=!1),r.checkOrientation&&window.ArrayBuffer)if(se.test(e))le.test(e)?this.read(it(e)):this.clone();else{var a=new XMLHttpRequest,i=this.clone.bind(this);this.reloading=!0,this.xhr=a,a.onabort=i,a.onerror=i,a.ontimeout=i,a.onprogress=function(){a.getResponseHeader("content-type")!==ie&&a.abort()},a.onload=function(){t.read(a.response)},a.onloadend=function(){t.reloading=!1,t.xhr=null},r.checkCrossOrigin&&We(e)&&n.crossOrigin&&(e=qe(e)),a.open("GET",e,!0),a.responseType="arraybuffer",a.withCredentials="use-credentials"===n.crossOrigin,a.send()}else this.clone()}}},{key:"read",value:function(e){var t=this.options,n=this.imageData,r=st(e),a=0,i=1,o=1;if(r>1){this.url=ot(e,ie);var s=lt(r);a=s.rotate,i=s.scaleX,o=s.scaleY}t.rotatable&&(n.rotate=a),t.scalable&&(n.scaleX=i,n.scaleY=o),this.clone()}},{key:"clone",value:function(){var e=this.element,t=this.url,n=e.crossOrigin,r=t;this.options.checkCrossOrigin&&We(t)&&(n||(n="anonymous"),r=qe(t)),this.crossOrigin=n,this.crossOriginUrl=r;var a=document.createElement("img");n&&(a.crossOrigin=n),a.src=r||t,a.alt=e.alt||"The image to crop",this.image=a,a.onload=this.start.bind(this),a.onerror=this.stop.bind(this),Be(a,D),e.parentNode.insertBefore(a,e.nextSibling)}},{key:"start",value:function(){var e=this,t=this.image;t.onload=null,t.onerror=null,this.sizing=!0;var n=g.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(g.navigator.userAgent),r=function(t,n){Me(e.imageData,{naturalWidth:t,naturalHeight:n,aspectRatio:t/n}),e.initialImageData=Me({},e.imageData),e.sizing=!1,e.sized=!0,e.build()};if(!t.naturalWidth||n){var a=document.createElement("img"),i=document.body||document.documentElement;this.sizingImage=a,a.onload=function(){r(a.width,a.height),n||i.removeChild(a)},a.src=t.src,n||(a.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",i.appendChild(a))}else r(t.naturalWidth,t.naturalHeight)}},{key:"stop",value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,n=this.image,r=e.parentNode,a=document.createElement("div");a.innerHTML=fe;var i=a.querySelector(".".concat(b,"-container")),o=i.querySelector(".".concat(b,"-canvas")),s=i.querySelector(".".concat(b,"-drag-box")),l=i.querySelector(".".concat(b,"-crop-box")),c=l.querySelector(".".concat(b,"-face"));this.container=r,this.cropper=i,this.canvas=o,this.dragBox=s,this.cropBox=l,this.viewBox=i.querySelector(".".concat(b,"-view-box")),this.face=c,o.appendChild(n),Be(e,C),r.insertBefore(i,e.nextSibling),Le(n,D),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,Be(l,C),t.guides||Be(l.getElementsByClassName("".concat(b,"-dashed")),C),t.center||Be(l.getElementsByClassName("".concat(b,"-center")),C),t.background&&Be(i,"".concat(b,"-bg")),t.highlight||Be(c,R),t.cropBoxMovable&&(Be(c,z),Fe(c,N,_)),t.cropBoxResizable||(Be(l.getElementsByClassName("".concat(b,"-line")),C),Be(l.getElementsByClassName("".concat(b,"-point")),C)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),Ie(t.ready)&&Ye(e,te,t.ready,{once:!0}),je(e,te)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var e=this.cropper.parentNode;e&&e.removeChild(this.cropper),Le(this.element,C)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=mt,e}},{key:"setDefaults",value:function(e){Me(he,_e(e)&&e)}}])}();return Me(gt.prototype,ct,ut,dt,ht,ft,pt),gt}()},65744:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BFormTimepicker:()=>r.BFormTimepicker,FormTimepickerPlugin:()=>a});var r=n(17734),a=(0,n(96266).pluginFactory)({components:{BFormTimepicker:r.BFormTimepicker,BTimepicker:r.BFormTimepicker}})},66082:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BPopover:()=>g,props:()=>m});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(94159),l=n(1340),c=n(95154),u=n(97369),d=n(91671);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BLink:()=>S,nuxtLinkProps:()=>M,props:()=>k,routerLinkProps:()=>E});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(17079),l=n(71402),c=n(87057),u=n(46710),d=n(91671),h=n(1340),f=n(37097),p=n(64211),m=n(60213),g=n(32878),v=n(48917);function y(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.r(t),n.d(t,{BTr:()=>m,props:()=>p});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=n(64211),l=n(32878),c=n(48917);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h="light",f="dark",p=(0,o.makePropsConfigurable)({variant:(0,o.makeProp)(i.PROP_TYPE_STRING)},a.NAME_TR),m=(0,r.extend)({name:a.NAME_TR,mixins:[s.attrsMixin,l.listenersMixin,c.normalizeSlotMixin],provide:function(){var e=this;return{getBvTableTr:function(){return e}}},inject:{getBvTableRowGroup:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:p,computed:{bvTableRowGroup:function(){return this.getBvTableRowGroup()},inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return this.headVariant!==h&&this.footVariant!==h&&(this.headVariant===f||this.footVariant===f||this.isDark)},trClasses:function(){var e=this.variant;return[e?"".concat(this.isRowDark?"bg":"table","-").concat(e):null]},trAttrs:function(){return function(e){for(var t=1;t{var r,a,i;a=[n(74692)],void 0===(i="function"==typeof(r=function(e){"use strict";var t={space:32,pageup:33,pagedown:34,end:35,home:36,up:38,down:40},n=function(t,n){var r,a=n.scrollTop(),i=n.prop("scrollHeight"),o=n.prop("clientHeight"),s=t.originalEvent.wheelDelta||-1*t.originalEvent.detail||-1*t.originalEvent.deltaY,l=0;if("wheel"===t.type){var c=n.height()/e(window).height();l=t.originalEvent.deltaY*c}else this.options.touch&&"touchmove"===t.type&&(s=t.originalEvent.changedTouches[0].clientY-this.startClientY);return{prevent:(r=s>0&&a+l<=0)||s<0&&a+l>=i-o,top:r,scrollTop:a,deltaY:l}},r=function(e,n){var r=n.scrollTop(),a={top:!1,bottom:!1};if(a.top=0===r&&(e.keyCode===t.pageup||e.keyCode===t.home||e.keyCode===t.up),!a.top){var i=n.prop("scrollHeight"),o=n.prop("clientHeight");a.bottom=i===r+o&&(e.keyCode===t.space||e.keyCode===t.pagedown||e.keyCode===t.end||e.keyCode===t.down)}return a},a=function(t,n){this.$element=t,this.options=e.extend({},a.DEFAULTS,this.$element.data(),n),this.enabled=!0,this.startClientY=0,this.options.unblock&&this.$element.on(a.CORE.wheelEventName+a.NAMESPACE,this.options.unblock,e.proxy(a.CORE.unblockHandler,this)),this.$element.on(a.CORE.wheelEventName+a.NAMESPACE,this.options.selector,e.proxy(a.CORE.handler,this)),this.options.touch&&(this.$element.on("touchstart"+a.NAMESPACE,this.options.selector,e.proxy(a.CORE.touchHandler,this)),this.$element.on("touchmove"+a.NAMESPACE,this.options.selector,e.proxy(a.CORE.handler,this)),this.options.unblock&&this.$element.on("touchmove"+a.NAMESPACE,this.options.unblock,e.proxy(a.CORE.unblockHandler,this))),this.options.keyboard&&(this.$element.attr("tabindex",this.options.keyboard.tabindex||0),this.$element.on("keydown"+a.NAMESPACE,this.options.selector,e.proxy(a.CORE.keyboardHandler,this)),this.options.unblock&&this.$element.on("keydown"+a.NAMESPACE,this.options.unblock,e.proxy(a.CORE.unblockHandler,this)))};a.NAME="ScrollLock",a.VERSION="3.1.2",a.NAMESPACE=".scrollLock",a.ANIMATION_NAMESPACE=a.NAMESPACE+".effect",a.DEFAULTS={strict:!1,strictFn:function(e){return e.prop("scrollHeight")>e.prop("clientHeight")},selector:!1,animation:!1,touch:"ontouchstart"in window,keyboard:!1,unblock:!1},a.CORE={wheelEventName:"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",animationEventName:["webkitAnimationEnd","mozAnimationEnd","MSAnimationEnd","oanimationend","animationend"].join(a.ANIMATION_NAMESPACE+" ")+a.ANIMATION_NAMESPACE,unblockHandler:function(e){e.__currentTarget=e.currentTarget},handler:function(t){if(this.enabled&&!t.ctrlKey){var r=e(t.currentTarget);if(!0!==this.options.strict||this.options.strictFn(r)){t.stopPropagation();var i=e.proxy(n,this)(t,r);if(t.__currentTarget&&(i.prevent&=e.proxy(n,this)(t,e(t.__currentTarget)).prevent),i.prevent){t.preventDefault(),i.deltaY&&r.scrollTop(i.scrollTop+i.deltaY);var o=i.top?"top":"bottom";this.options.animation&&setTimeout(a.CORE.animationHandler.bind(this,r,o),0),r.trigger(e.Event(o+a.NAMESPACE))}}}},touchHandler:function(e){this.startClientY=e.originalEvent.touches[0].clientY},animationHandler:function(e,t){var n=this.options.animation[t],r=this.options.animation.top+" "+this.options.animation.bottom;e.off(a.ANIMATION_NAMESPACE).removeClass(r).addClass(n).one(a.CORE.animationEventName,(function(){e.removeClass(n)}))},keyboardHandler:function(t){var n=e(t.currentTarget),i=(n.scrollTop(),r(t,n));if(t.__currentTarget){var o=r(t,e(t.__currentTarget));i.top&=o.top,i.bottom&=o.bottom}return i.top?(n.trigger(e.Event("top"+a.NAMESPACE)),this.options.animation&&setTimeout(a.CORE.animationHandler.bind(this,n,"top"),0),!1):i.bottom?(n.trigger(e.Event("bottom"+a.NAMESPACE)),this.options.animation&&setTimeout(a.CORE.animationHandler.bind(this,n,"bottom"),0),!1):void 0}},a.prototype.toggleStrict=function(){this.options.strict=!this.options.strict},a.prototype.enable=function(){this.enabled=!0},a.prototype.disable=function(){this.enabled=!1},a.prototype.destroy=function(){this.disable(),this.$element.off(a.NAMESPACE),this.$element=null,this.options=null};var i=e.fn.scrollLock;e.fn.scrollLock=function(t){return this.each((function(){var n=e(this),r="object"==typeof t&&t,i=n.data(a.NAME);(i||"destroy"!==t)&&(i||n.data(a.NAME,i=new a(n,r)),"string"==typeof t&&i[t]())}))},e.fn.scrollLock.defaults=a.DEFAULTS,e.fn.scrollLock.noConflict=function(){return e.fn.scrollLock=i,this}})?r.apply(t,a):r)||(e.exports=i)},66584:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(95093))},66704:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BForm:()=>l,props:()=>s});var r=n(2448),a=n(49800),i=n(80072),o=n(1340),s=(0,o.makePropsConfigurable)({id:(0,o.makeProp)(i.PROP_TYPE_STRING),inline:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),novalidate:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1),validated:(0,o.makeProp)(i.PROP_TYPE_BOOLEAN,!1)},a.NAME_FORM),l=(0,r.extend)({name:a.NAME_FORM,functional:!0,props:s,render:function(e,t){var n=t.props,a=t.data,i=t.children;return e("form",(0,r.mergeData)(a,{class:{"form-inline":n.inline,"was-validated":n.validated},attrs:{id:n.id,novalidate:n.novalidate}}),i)}})},67034:(e,t,n)=>{var r=n(91551);e.exports=function(e,t){return r(Date.now(),e,t)}},67385:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MODEL_EVENT_NAME:()=>I,MODEL_PROP_NAME:()=>_,formTextMixin:()=>w,props:()=>T});var r=n(2448),a=n(87013),i=n(80072),o=n(71402),s=n(87057),l=n(28014),c=n(38199),u=n(89821),d=n(91671),h=n(1340),f=n(59809);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2];return e=(0,f.toString)(e),!this.hasFormatter||this.lazyFormatter&&!n||(e=this.formatter(e,t)),e},modifyValue:function(e){return e=(0,f.toString)(e),this.trim&&(e=e.trim()),this.number&&(e=(0,u.toFloat)(e,e)),e},updateValue:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.lazy;if(!r||n){this.clearDebounce();var a=function(){if((e=t.modifyValue(e))!==t.vModelValue)t.vModelValue=e,t.$emit(I,e);else if(t.hasFormatter){var n=t.$refs.input;n&&e!==n.value&&(n.value=e)}},i=this.computedDebounce;i>0&&!r&&!n?this.$_inputDebounceTimer=setTimeout(a,i):a()}},onInput:function(e){if(!e.target.composing){var t=e.target.value,n=this.formatValue(t,e);!1===n||e.defaultPrevented?(0,s.stopEvent)(e,{propagation:!1}):(this.localValue=n,this.updateValue(n),this.$emit(a.EVENT_NAME_INPUT,n))}},onChange:function(e){var t=e.target.value,n=this.formatValue(t,e);!1===n||e.defaultPrevented?(0,s.stopEvent)(e,{propagation:!1}):(this.localValue=n,this.updateValue(n,!0),this.$emit(a.EVENT_NAME_CHANGE,n))},onBlur:function(e){var t=e.target.value,n=this.formatValue(t,e,!0);!1!==n&&(this.localValue=(0,f.toString)(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit(a.EVENT_NAME_BLUR,e)},focus:function(){this.disabled||(0,o.attemptFocus)(this.$el)},blur:function(){this.disabled||(0,o.attemptBlur)(this.$el)}}})},67526:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=s(e),o=i[0],l=i[1],c=new a(function(e,t,n){return 3*(t+n)/4-n}(0,o,l)),u=0,d=l>0?o-4:o;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,a=r%3,i=[],o=16383,s=0,c=r-a;sc?c:s+o));1===a?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===a&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)n[o]=i[o],r[i.charCodeAt(o)]=o;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var a,i,o=[],s=t;s>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},67684:(e,t,n)=>{"use strict";n.r(t),n.d(t,{add:()=>W,adjoint:()=>h,clone:()=>i,copy:()=>o,create:()=>a,determinant:()=>f,equals:()=>Z,exactEquals:()=>J,frob:()=>G,fromQuat:()=>C,fromQuat2:()=>P,fromRotation:()=>w,fromRotationTranslation:()=>S,fromRotationTranslationScale:()=>L,fromRotationTranslationScaleOrigin:()=>O,fromScaling:()=>T,fromTranslation:()=>I,fromValues:()=>s,fromXRotation:()=>E,fromYRotation:()=>M,fromZRotation:()=>k,frustum:()=>D,getRotation:()=>B,getScaling:()=>x,getTranslation:()=>A,identity:()=>c,invert:()=>d,lookAt:()=>j,mul:()=>Q,multiply:()=>p,multiplyScalar:()=>K,multiplyScalarAndAdd:()=>X,ortho:()=>V,orthoNO:()=>H,orthoZO:()=>Y,perspective:()=>F,perspectiveFromFieldOfView:()=>N,perspectiveNO:()=>R,perspectiveZO:()=>z,rotate:()=>v,rotateX:()=>y,rotateY:()=>b,rotateZ:()=>_,scale:()=>g,set:()=>l,str:()=>$,sub:()=>ee,subtract:()=>q,targetTo:()=>U,translate:()=>m,transpose:()=>u});var r=n(17823);function a(){var e=new r.ARRAY_TYPE(16);return r.ARRAY_TYPE!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function i(e){var t=new r.ARRAY_TYPE(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function s(e,t,n,a,i,o,s,l,c,u,d,h,f,p,m,g){var v=new r.ARRAY_TYPE(16);return v[0]=e,v[1]=t,v[2]=n,v[3]=a,v[4]=i,v[5]=o,v[6]=s,v[7]=l,v[8]=c,v[9]=u,v[10]=d,v[11]=h,v[12]=f,v[13]=p,v[14]=m,v[15]=g,v}function l(e,t,n,r,a,i,o,s,l,c,u,d,h,f,p,m,g){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e[4]=i,e[5]=o,e[6]=s,e[7]=l,e[8]=c,e[9]=u,e[10]=d,e[11]=h,e[12]=f,e[13]=p,e[14]=m,e[15]=g,e}function c(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function u(e,t){if(e===t){var n=t[1],r=t[2],a=t[3],i=t[6],o=t[7],s=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=r,e[9]=i,e[11]=t[14],e[12]=a,e[13]=o,e[14]=s}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}function d(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=t[4],s=t[5],l=t[6],c=t[7],u=t[8],d=t[9],h=t[10],f=t[11],p=t[12],m=t[13],g=t[14],v=t[15],y=n*s-r*o,b=n*l-a*o,_=n*c-i*o,I=r*l-a*s,T=r*c-i*s,w=a*c-i*l,E=u*m-d*p,M=u*g-h*p,k=u*v-f*p,S=d*g-h*m,P=d*v-f*m,A=h*v-f*g,x=y*A-b*P+_*S+I*k-T*M+w*E;return x?(x=1/x,e[0]=(s*A-l*P+c*S)*x,e[1]=(a*P-r*A-i*S)*x,e[2]=(m*w-g*T+v*I)*x,e[3]=(h*T-d*w-f*I)*x,e[4]=(l*k-o*A-c*M)*x,e[5]=(n*A-a*k+i*M)*x,e[6]=(g*_-p*w-v*b)*x,e[7]=(u*w-h*_+f*b)*x,e[8]=(o*P-s*k+c*E)*x,e[9]=(r*k-n*P-i*E)*x,e[10]=(p*T-m*_+v*y)*x,e[11]=(d*_-u*T-f*y)*x,e[12]=(s*M-o*S-l*E)*x,e[13]=(n*S-r*M+a*E)*x,e[14]=(m*b-p*I-g*y)*x,e[15]=(u*I-d*b+h*y)*x,e):null}function h(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=t[4],s=t[5],l=t[6],c=t[7],u=t[8],d=t[9],h=t[10],f=t[11],p=t[12],m=t[13],g=t[14],v=t[15];return e[0]=s*(h*v-f*g)-d*(l*v-c*g)+m*(l*f-c*h),e[1]=-(r*(h*v-f*g)-d*(a*v-i*g)+m*(a*f-i*h)),e[2]=r*(l*v-c*g)-s*(a*v-i*g)+m*(a*c-i*l),e[3]=-(r*(l*f-c*h)-s*(a*f-i*h)+d*(a*c-i*l)),e[4]=-(o*(h*v-f*g)-u*(l*v-c*g)+p*(l*f-c*h)),e[5]=n*(h*v-f*g)-u*(a*v-i*g)+p*(a*f-i*h),e[6]=-(n*(l*v-c*g)-o*(a*v-i*g)+p*(a*c-i*l)),e[7]=n*(l*f-c*h)-o*(a*f-i*h)+u*(a*c-i*l),e[8]=o*(d*v-f*m)-u*(s*v-c*m)+p*(s*f-c*d),e[9]=-(n*(d*v-f*m)-u*(r*v-i*m)+p*(r*f-i*d)),e[10]=n*(s*v-c*m)-o*(r*v-i*m)+p*(r*c-i*s),e[11]=-(n*(s*f-c*d)-o*(r*f-i*d)+u*(r*c-i*s)),e[12]=-(o*(d*g-h*m)-u*(s*g-l*m)+p*(s*h-l*d)),e[13]=n*(d*g-h*m)-u*(r*g-a*m)+p*(r*h-a*d),e[14]=-(n*(s*g-l*m)-o*(r*g-a*m)+p*(r*l-a*s)),e[15]=n*(s*h-l*d)-o*(r*h-a*d)+u*(r*l-a*s),e}function f(e){var t=e[0],n=e[1],r=e[2],a=e[3],i=e[4],o=e[5],s=e[6],l=e[7],c=e[8],u=e[9],d=e[10],h=e[11],f=e[12],p=e[13],m=e[14],g=e[15];return(t*o-n*i)*(d*g-h*m)-(t*s-r*i)*(u*g-h*p)+(t*l-a*i)*(u*m-d*p)+(n*s-r*o)*(c*g-h*f)-(n*l-a*o)*(c*m-d*f)+(r*l-a*s)*(c*p-u*f)}function p(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],h=t[9],f=t[10],p=t[11],m=t[12],g=t[13],v=t[14],y=t[15],b=n[0],_=n[1],I=n[2],T=n[3];return e[0]=b*r+_*s+I*d+T*m,e[1]=b*a+_*l+I*h+T*g,e[2]=b*i+_*c+I*f+T*v,e[3]=b*o+_*u+I*p+T*y,b=n[4],_=n[5],I=n[6],T=n[7],e[4]=b*r+_*s+I*d+T*m,e[5]=b*a+_*l+I*h+T*g,e[6]=b*i+_*c+I*f+T*v,e[7]=b*o+_*u+I*p+T*y,b=n[8],_=n[9],I=n[10],T=n[11],e[8]=b*r+_*s+I*d+T*m,e[9]=b*a+_*l+I*h+T*g,e[10]=b*i+_*c+I*f+T*v,e[11]=b*o+_*u+I*p+T*y,b=n[12],_=n[13],I=n[14],T=n[15],e[12]=b*r+_*s+I*d+T*m,e[13]=b*a+_*l+I*h+T*g,e[14]=b*i+_*c+I*f+T*v,e[15]=b*o+_*u+I*p+T*y,e}function m(e,t,n){var r,a,i,o,s,l,c,u,d,h,f,p,m=n[0],g=n[1],v=n[2];return t===e?(e[12]=t[0]*m+t[4]*g+t[8]*v+t[12],e[13]=t[1]*m+t[5]*g+t[9]*v+t[13],e[14]=t[2]*m+t[6]*g+t[10]*v+t[14],e[15]=t[3]*m+t[7]*g+t[11]*v+t[15]):(r=t[0],a=t[1],i=t[2],o=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],h=t[9],f=t[10],p=t[11],e[0]=r,e[1]=a,e[2]=i,e[3]=o,e[4]=s,e[5]=l,e[6]=c,e[7]=u,e[8]=d,e[9]=h,e[10]=f,e[11]=p,e[12]=r*m+s*g+d*v+t[12],e[13]=a*m+l*g+h*v+t[13],e[14]=i*m+c*g+f*v+t[14],e[15]=o*m+u*g+p*v+t[15]),e}function g(e,t,n){var r=n[0],a=n[1],i=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*a,e[5]=t[5]*a,e[6]=t[6]*a,e[7]=t[7]*a,e[8]=t[8]*i,e[9]=t[9]*i,e[10]=t[10]*i,e[11]=t[11]*i,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function v(e,t,n,a){var i,o,s,l,c,u,d,h,f,p,m,g,v,y,b,_,I,T,w,E,M,k,S,P,A=a[0],x=a[1],B=a[2],L=Math.hypot(A,x,B);return L0?(n[0]=2*(l*s+d*a+c*o-u*i)/h,n[1]=2*(c*s+d*i+u*a-l*o)/h,n[2]=2*(u*s+d*o+l*i-c*a)/h):(n[0]=2*(l*s+d*a+c*o-u*i),n[1]=2*(c*s+d*i+u*a-l*o),n[2]=2*(u*s+d*o+l*i-c*a)),S(e,t,n),e}function A(e,t){return e[0]=t[12],e[1]=t[13],e[2]=t[14],e}function x(e,t){var n=t[0],r=t[1],a=t[2],i=t[4],o=t[5],s=t[6],l=t[8],c=t[9],u=t[10];return e[0]=Math.hypot(n,r,a),e[1]=Math.hypot(i,o,s),e[2]=Math.hypot(l,c,u),e}function B(e,t){var n=new r.ARRAY_TYPE(3);x(n,t);var a=1/n[0],i=1/n[1],o=1/n[2],s=t[0]*a,l=t[1]*i,c=t[2]*o,u=t[4]*a,d=t[5]*i,h=t[6]*o,f=t[8]*a,p=t[9]*i,m=t[10]*o,g=s+d+m,v=0;return g>0?(v=2*Math.sqrt(g+1),e[3]=.25*v,e[0]=(h-p)/v,e[1]=(f-c)/v,e[2]=(l-u)/v):s>d&&s>m?(v=2*Math.sqrt(1+s-d-m),e[3]=(h-p)/v,e[0]=.25*v,e[1]=(l+u)/v,e[2]=(f+c)/v):d>m?(v=2*Math.sqrt(1+d-s-m),e[3]=(f-c)/v,e[0]=(l+u)/v,e[1]=.25*v,e[2]=(h+p)/v):(v=2*Math.sqrt(1+m-s-d),e[3]=(l-u)/v,e[0]=(f+c)/v,e[1]=(h+p)/v,e[2]=.25*v),e}function L(e,t,n,r){var a=t[0],i=t[1],o=t[2],s=t[3],l=a+a,c=i+i,u=o+o,d=a*l,h=a*c,f=a*u,p=i*c,m=i*u,g=o*u,v=s*l,y=s*c,b=s*u,_=r[0],I=r[1],T=r[2];return e[0]=(1-(p+g))*_,e[1]=(h+b)*_,e[2]=(f-y)*_,e[3]=0,e[4]=(h-b)*I,e[5]=(1-(d+g))*I,e[6]=(m+v)*I,e[7]=0,e[8]=(f+y)*T,e[9]=(m-v)*T,e[10]=(1-(d+p))*T,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function O(e,t,n,r,a){var i=t[0],o=t[1],s=t[2],l=t[3],c=i+i,u=o+o,d=s+s,h=i*c,f=i*u,p=i*d,m=o*u,g=o*d,v=s*d,y=l*c,b=l*u,_=l*d,I=r[0],T=r[1],w=r[2],E=a[0],M=a[1],k=a[2],S=(1-(m+v))*I,P=(f+_)*I,A=(p-b)*I,x=(f-_)*T,B=(1-(h+v))*T,L=(g+y)*T,O=(p+b)*w,C=(g-y)*w,D=(1-(h+m))*w;return e[0]=S,e[1]=P,e[2]=A,e[3]=0,e[4]=x,e[5]=B,e[6]=L,e[7]=0,e[8]=O,e[9]=C,e[10]=D,e[11]=0,e[12]=n[0]+E-(S*E+x*M+O*k),e[13]=n[1]+M-(P*E+B*M+C*k),e[14]=n[2]+k-(A*E+L*M+D*k),e[15]=1,e}function C(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=n+n,s=r+r,l=a+a,c=n*o,u=r*o,d=r*s,h=a*o,f=a*s,p=a*l,m=i*o,g=i*s,v=i*l;return e[0]=1-d-p,e[1]=u+v,e[2]=h-g,e[3]=0,e[4]=u-v,e[5]=1-c-p,e[6]=f+m,e[7]=0,e[8]=h+g,e[9]=f-m,e[10]=1-c-d,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function D(e,t,n,r,a,i,o){var s=1/(n-t),l=1/(a-r),c=1/(i-o);return e[0]=2*i*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*i*l,e[6]=0,e[7]=0,e[8]=(n+t)*s,e[9]=(a+r)*l,e[10]=(o+i)*c,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*i*2*c,e[15]=0,e}function R(e,t,n,r,a){var i,o=1/Math.tan(t/2);return e[0]=o/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=a&&a!==1/0?(i=1/(r-a),e[10]=(a+r)*i,e[14]=2*a*r*i):(e[10]=-1,e[14]=-2*r),e}var F=R;function z(e,t,n,r,a){var i,o=1/Math.tan(t/2);return e[0]=o/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=a&&a!==1/0?(i=1/(r-a),e[10]=a*i,e[14]=a*r*i):(e[10]=-1,e[14]=-r),e}function N(e,t,n,r){var a=Math.tan(t.upDegrees*Math.PI/180),i=Math.tan(t.downDegrees*Math.PI/180),o=Math.tan(t.leftDegrees*Math.PI/180),s=Math.tan(t.rightDegrees*Math.PI/180),l=2/(o+s),c=2/(a+i);return e[0]=l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=c,e[6]=0,e[7]=0,e[8]=-(o-s)*l*.5,e[9]=(a-i)*c*.5,e[10]=r/(n-r),e[11]=-1,e[12]=0,e[13]=0,e[14]=r*n/(n-r),e[15]=0,e}function H(e,t,n,r,a,i,o){var s=1/(t-n),l=1/(r-a),c=1/(i-o);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*c,e[11]=0,e[12]=(t+n)*s,e[13]=(a+r)*l,e[14]=(o+i)*c,e[15]=1,e}var V=H;function Y(e,t,n,r,a,i,o){var s=1/(t-n),l=1/(r-a),c=1/(i-o);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=c,e[11]=0,e[12]=(t+n)*s,e[13]=(a+r)*l,e[14]=i*c,e[15]=1,e}function j(e,t,n,a){var i,o,s,l,u,d,h,f,p,m,g=t[0],v=t[1],y=t[2],b=a[0],_=a[1],I=a[2],T=n[0],w=n[1],E=n[2];return Math.abs(g-T)0&&(u*=f=1/Math.sqrt(f),d*=f,h*=f);var p=l*h-c*d,m=c*u-s*h,g=s*d-l*u;return(f=p*p+m*m+g*g)>0&&(p*=f=1/Math.sqrt(f),m*=f,g*=f),e[0]=p,e[1]=m,e[2]=g,e[3]=0,e[4]=d*g-h*m,e[5]=h*p-u*g,e[6]=u*m-d*p,e[7]=0,e[8]=u,e[9]=d,e[10]=h,e[11]=0,e[12]=a,e[13]=i,e[14]=o,e[15]=1,e}function $(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}function G(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function W(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e[9]=t[9]+n[9],e[10]=t[10]+n[10],e[11]=t[11]+n[11],e[12]=t[12]+n[12],e[13]=t[13]+n[13],e[14]=t[14]+n[14],e[15]=t[15]+n[15],e}function q(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e[9]=t[9]-n[9],e[10]=t[10]-n[10],e[11]=t[11]-n[11],e[12]=t[12]-n[12],e[13]=t[13]-n[13],e[14]=t[14]-n[14],e[15]=t[15]-n[15],e}function K(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e[9]=t[9]*n,e[10]=t[10]*n,e[11]=t[11]*n,e[12]=t[12]*n,e[13]=t[13]*n,e[14]=t[14]*n,e[15]=t[15]*n,e}function X(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e[9]=t[9]+n[9]*r,e[10]=t[10]+n[10]*r,e[11]=t[11]+n[11]*r,e[12]=t[12]+n[12]*r,e[13]=t[13]+n[13]*r,e[14]=t[14]+n[14]*r,e[15]=t[15]+n[15]*r,e}function J(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]&&e[9]===t[9]&&e[10]===t[10]&&e[11]===t[11]&&e[12]===t[12]&&e[13]===t[13]&&e[14]===t[14]&&e[15]===t[15]}function Z(e,t){var n=e[0],a=e[1],i=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],d=e[8],h=e[9],f=e[10],p=e[11],m=e[12],g=e[13],v=e[14],y=e[15],b=t[0],_=t[1],I=t[2],T=t[3],w=t[4],E=t[5],M=t[6],k=t[7],S=t[8],P=t[9],A=t[10],x=t[11],B=t[12],L=t[13],O=t[14],C=t[15];return Math.abs(n-b)<=r.EPSILON*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(a-_)<=r.EPSILON*Math.max(1,Math.abs(a),Math.abs(_))&&Math.abs(i-I)<=r.EPSILON*Math.max(1,Math.abs(i),Math.abs(I))&&Math.abs(o-T)<=r.EPSILON*Math.max(1,Math.abs(o),Math.abs(T))&&Math.abs(s-w)<=r.EPSILON*Math.max(1,Math.abs(s),Math.abs(w))&&Math.abs(l-E)<=r.EPSILON*Math.max(1,Math.abs(l),Math.abs(E))&&Math.abs(c-M)<=r.EPSILON*Math.max(1,Math.abs(c),Math.abs(M))&&Math.abs(u-k)<=r.EPSILON*Math.max(1,Math.abs(u),Math.abs(k))&&Math.abs(d-S)<=r.EPSILON*Math.max(1,Math.abs(d),Math.abs(S))&&Math.abs(h-P)<=r.EPSILON*Math.max(1,Math.abs(h),Math.abs(P))&&Math.abs(f-A)<=r.EPSILON*Math.max(1,Math.abs(f),Math.abs(A))&&Math.abs(p-x)<=r.EPSILON*Math.max(1,Math.abs(p),Math.abs(x))&&Math.abs(m-B)<=r.EPSILON*Math.max(1,Math.abs(m),Math.abs(B))&&Math.abs(g-L)<=r.EPSILON*Math.max(1,Math.abs(g),Math.abs(L))&&Math.abs(v-O)<=r.EPSILON*Math.max(1,Math.abs(v),Math.abs(O))&&Math.abs(y-C)<=r.EPSILON*Math.max(1,Math.abs(y),Math.abs(C))}var Q=p,ee=q},67771:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BEmbed:()=>r.BEmbed,EmbedPlugin:()=>a});var r=n(96750),a=(0,n(96266).pluginFactory)({components:{BEmbed:r.BEmbed}})},68453:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Renderer:()=>B});var r=n(70964),a=n(76017),i=n(65005),o=(n(73700),n(57297));const s="undefined"!=typeof window?window:globalThis,l=(0,i.ref)(!1);{const e=s.matchMedia("(hover: hover)");l.value=e.matches,e.addEventListener("change",(()=>l.value=e.matches))}const{userAgent:c=""}=s.navigator??{},u=/Version\/(\d+)/.exec(c)?.[1],d=c.includes("Chrome/")||c.includes("Chromium/");c.includes("Mac OS");const h=c.includes("AppleWebKit/")&&c.includes("Safari/")&&!d&&"16"===u;c.includes("Gecko/");const f="undefined"!=typeof OffscreenCanvas&&null!=OffscreenCanvas,p=!h&&f,m=(e,t,n)=>{if(null==e){if(p){const r=(e=new OffscreenCanvas(1,1)).getContext(t,n);if(null!=r)return r}e="undefined"==typeof document?void 0:document.createElement("canvas")}const r=e?.getContext(t,n);if(!r)throw new Error(`[miru] Couldn't create ${t} context`);return r},g=(e,t)=>m(e,"webgl2",t),v=e=>f&&e instanceof OffscreenCanvas,y=32856,b=32879,_=35052,I=5121,T=6408,w=9729,E=3553,M=33071,k=36160,S={target:E,flipY:0,wrap:M,min:w,mag:w,auto:!1},P={target:b,flipY:0,wrap:M,min:w,mag:w,colorspaceConversion:0,auto:!1};var A="#version 300 es\nprecision mediump float;layout(location=0)in vec4 a_position;layout(location=1)in vec4 a_texCoord;uniform int u_flipY;uniform vec2 u_resolution;uniform vec2 u_size;uniform mat4 u_matrix;uniform mat4 u_textureMatrix;out vec2 v_unitPosition;out vec2 v_texCoord;void main(){v_texCoord=(u_textureMatrix*vec4(a_texCoord . x,u_flipY==1 ? 1.0-a_texCoord . y : a_texCoord . y,a_texCoord . z,a_texCoord . w)). xy;v_unitPosition=a_position . xy;gl_Position=u_matrix*a_position;}";const x=(e,t,n)=>{a.setTextureParameters(e,t,n),e.pixelStorei(37443,n.colorspaceConversion??!1),e.pixelStorei(37441,n.premultiplyAlpha??!1),e.pixelStorei(37440,n.flipY??!1)};class B{#e;#t;#n={u_flipY:!0,u_resolution:[1,1],u_image:null,u_size:[1,1],u_intensity:1,u_matrix:r.mat4.create(),u_textureMatrix:r.mat4.create()};#a=[];emptyTexture;emptyTexture3D;isDisposed=!1;effectOps=[];#r;#i=new Map;get canvas(){return this.#e.canvas}scratchPad2d=(()=>m(void 0,"2d",{willReadFrequently:!0}))();constructor({gl:e=g()}={}){this.#e=e,this.#t=a.createProgramInfo(e,[A,o.p]);const t=new Float32Array([1,1,0,1,1,0,1,0,0,1,0,0]);[t,t].forEach(((t,n)=>{const r=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,r),e.bufferData(e.ARRAY_BUFFER,t,e.STATIC_DRAW),e.vertexAttribPointer(n,2,e.FLOAT,!1,0,0),e.enableVertexAttribArray(n),this.#a.push(r)})),this.emptyTexture=this.createTexture(),this.emptyTexture3D=this.createTexture(P);const n=()=>a.createFramebufferInfo(e,[{format:T,type:I,min:w,wrap:M}]);this.#r=[n(),n()]}createTexture(e=S){const t=this.#e,{target:n=E,internalFormat:r=y,format:i=T,type:o=I}=e,s=t.createTexture();if(null==s)throw new Error("[miru] gl.createTexture() failed");a.setTextureParameters(t,s,e);const l=new ImageData(new Uint8ClampedArray(4),1);return n===E?t.texImage2D(n,0,r,1,1,0,i,o,l):t.texImage3D(n,0,r,1,1,1,0,i,o,l),s}loadImage(e,t,n=S){const r=this.#e,{internalFormat:a=T,format:i=T,type:o=I}=n;x(r,e,n),this.#e.texImage2D(E,0,a,i,o,t),!0===n.auto&&this.#e.generateMipmap(E)}setSourceTexture(e,t,n,a,i=!1,o){a??={x:0,y:0,width:n.width,height:n.height,rotate:0},this.#n.u_flipY=i,this.#n.u_image=e,this.#n.u_size=[a.width,a.height],this.#n.u_resolution=[t.width,t.height];{const{width:e,height:t}=n,{u_matrix:i}=this.#n;r.mat4.ortho(i,0,e,t,0,-1,1),o&&r.mat4.multiply(i,o,i),r.mat4.scale(i,i,[e,t,1]);const{u_textureMatrix:s}=this.#n;r.mat4.fromScaling(s,[1/e,1/t,1]),r.mat4.translate(s,s,[a.x,a.y,0]),r.mat4.scale(s,s,[a.width,a.height,1])}const s=this.#e,{canvas:l}=s;{const{width:e,height:n}=t;this.#r.forEach((t=>{s.bindTexture(E,t.attachments[0]),s.texImage2D(E,0,T,e,n,0,T,I,null)})),l.width=e,l.height=n}}loadLut(e,t,n){const r="hald-lut"===n;this.#s(e,t,r)}#s(e,t,n){const r=this.#e;if(null==t)return;const a=T,i=I,{width:o,height:s}=t,l=Math.cbrt(o*s),c=o/l;if(x(r,e,P),n||1===o||1===s)return void r.texImage3D(b,0,a,l,l,l,0,a,i,t.data);r.pixelStorei(3317,4),r.pixelStorei(3314,o),r.pixelStorei(32878,s),r.texStorage3D(b,1,y,l,l,l);const u=r.createBuffer();r.bindBuffer(_,u),r.bufferData(_,t.data,35040);for(let e=0;e{const i=r%2,c=r===l?e:this.#r[(i+1)%2].framebuffer;t.useProgram(n.programInfo.program),t.bindFramebuffer(k,c),a.setUniforms(n.programInfo,{...n.uniforms,...this.#n,u_flipY:!0,u_matrix:o,u_textureMatrix:s,u_image:this.#r[i].attachments[0],u_intensity:this.#n.u_intensity*n.intensity}),t.drawArrays(4,0,6)}))}if(!e){const e=t.fenceSync(37143,0);if(t.flush(),null==e)return;37145!==t.getSyncParameter(e,37140)&&t.clientWaitSync(e,0,0),t.deleteSync(e)}}async drawAndTransfer(e){this.draw();const{canvas:t}=e;var n,r;if(n=t,r=this.#e.canvas,n.width=r.width,n.height=r.height,e instanceof ImageBitmapRenderingContext){const t=this.toImageBitmap();e.transferFromImageBitmap("then"in t?await t:t)}else e.drawImage(this.#e.canvas,0,0)}toImageBitmap(){const{canvas:e}=this.#e;return v(e)?e.transferToImageBitmap():createImageBitmap(e)}toBlob(e){return(async(e,t)=>v(e)?e.convertToBlob(t):new Promise(((n,r)=>{e.toBlob((e=>{null!=e?n(e):r(new Error("[miru] Couldn't get Blob from canvas"))}),t?.type,t?.quality)})))(this.#e.canvas,e)}deleteTexture(e){this.#e.deleteTexture(e)}dispose(){const e=this.#e,t=this.#t;this.#a.forEach((t=>e.deleteBuffer(t))),this.#a.length=0,e.bindBuffer(34962,null),e.bindBuffer(34963,null),e.bindRenderbuffer(36161,null),e.bindFramebuffer(k,null),Object.assign(this,{emptyTexture:void 0,emptyTexture3D:void 0}),this.#r.forEach((t=>{e.deleteTexture(t.attachments[0]),e.deleteFramebuffer(t.framebuffer)})),this.effectOps.length=0;for(const e in this.#n)this.#n[e]=null;e.deleteProgram(t.program),this.#i.forEach((({programInfo:t})=>e.deleteProgram(t.program))),this.#i.clear(),e.getExtension("WEBGL_lose_context")?.loseContext(),this.#e=this.#t=void 0,this.isDisposed=!0}}},68956:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BVTooltipTemplate:()=>m,props:()=>p});var r=n(2448),a=n(49800),i=n(87013),o=n(80072),s=n(46710),l=n(1340),c=n(31931),u=n(11850);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BCardImgLazy:()=>p,props:()=>f});var r=n(2448),a=n(49800),i=n(91671),o=n(1340),s=n(40188),l=n(31123),c=n(82958);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{BInputGroup:()=>r.BInputGroup,BInputGroupAddon:()=>a.BInputGroupAddon,BInputGroupAppend:()=>o.BInputGroupAppend,BInputGroupPrepend:()=>i.BInputGroupPrepend,BInputGroupText:()=>s.BInputGroupText,InputGroupPlugin:()=>l});var r=n(42006),a=n(537),i=n(63591),o=n(16167),s=n(50596),l=(0,n(96266).pluginFactory)({components:{BInputGroup:r.BInputGroup,BInputGroupAddon:a.BInputGroupAddon,BInputGroupPrepend:i.BInputGroupPrepend,BInputGroupAppend:o.BInputGroupAppend,BInputGroupText:s.BInputGroupText}})},69756:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BIcon:()=>y,props:()=>v});var r=n(2448),a=n(49800),i=n(80072),o=n(41817),s=n(91671),l=n(1340),c=n(59809),u=n(61651),d=n(33058);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{formStateMixin:()=>c,props:()=>l});var r=n(2448),a=n(80072),i=n(46710),o=n(1340),s=n(42714),l=(0,o.makePropsConfigurable)({state:(0,o.makeProp)(a.PROP_TYPE_BOOLEAN,null)},"formState"),c=(0,r.extend)({props:l,computed:{computedState:function(){return(0,i.isBoolean)(this.state)?this.state:null},stateClass:function(){var e=this.computedState;return!0===e?"is-valid":!1===e?"is-invalid":null},computedAriaInvalid:function(){var e=(0,s.safeVueInstance)(this).ariaInvalid;return!0===e||"true"===e||""===e||!1===this.computedState?"true":e}}})},70048:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BITFLAG_DATA_DESCRIPTOR:()=>A,BITFLAG_ENCRYPTED:()=>S,BITFLAG_LANG_ENCODING_FLAG:()=>x,BITFLAG_LEVEL:()=>P,CENTRAL_FILE_HEADER_SIGNATURE:()=>d,COMPRESSION_METHOD_AES:()=>s,COMPRESSION_METHOD_DEFLATE:()=>i,COMPRESSION_METHOD_STORE:()=>o,DATA_DESCRIPTOR_RECORD_SIGNATURE:()=>u,DIRECTORY_SIGNATURE:()=>z,END_OF_CENTRAL_DIR_LENGTH:()=>m,END_OF_CENTRAL_DIR_SIGNATURE:()=>h,EXTRAFIELD_TYPE_AES:()=>_,EXTRAFIELD_TYPE_EXTENDED_TIMESTAMP:()=>w,EXTRAFIELD_TYPE_NTFS:()=>I,EXTRAFIELD_TYPE_NTFS_TAG1:()=>T,EXTRAFIELD_TYPE_UNICODE_COMMENT:()=>M,EXTRAFIELD_TYPE_UNICODE_PATH:()=>E,EXTRAFIELD_TYPE_USDZ:()=>k,EXTRAFIELD_TYPE_ZIP64:()=>b,FILE_ATTR_MSDOS_DIR_MASK:()=>B,FILE_ATTR_UNIX_DEFAULT_MASK:()=>C,FILE_ATTR_UNIX_DIR_MASK:()=>L,FILE_ATTR_UNIX_EXECUTABLE_MASK:()=>O,FUNCTION_TYPE:()=>j,LOCAL_FILE_HEADER_SIGNATURE:()=>l,MAX_16_BITS:()=>a,MAX_32_BITS:()=>r,MAX_DATE:()=>N,MIN_DATE:()=>H,SPLIT_ZIP_FILE_SIGNATURE:()=>c,UNDEFINED_TYPE:()=>Y,UNDEFINED_VALUE:()=>V,VERSION_AES:()=>F,VERSION_DEFLATE:()=>D,VERSION_ZIP64:()=>R,ZIP64_END_OF_CENTRAL_DIR_LENGTH:()=>v,ZIP64_END_OF_CENTRAL_DIR_LOCATOR_LENGTH:()=>g,ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIGNATURE:()=>p,ZIP64_END_OF_CENTRAL_DIR_SIGNATURE:()=>f,ZIP64_END_OF_CENTRAL_DIR_TOTAL_LENGTH:()=>y});const r=4294967295,a=65535,i=8,o=0,s=99,l=67324752,c=134695760,u=c,d=33639248,h=101010256,f=101075792,p=117853008,m=22,g=20,v=56,y=m+g+v,b=1,_=39169,I=10,T=1,w=21589,E=28789,M=25461,k=6534,S=1,P=6,A=8,x=2048,B=16,L=16384,O=73,C=420,D=20,R=45,F=51,z="/",N=new Date(2107,11,31),H=new Date(1980,0,1),V=void 0,Y="undefined",j="function"},70217:function(e,t,n){!function(e){"use strict";var t=["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"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],a=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],i=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:a,weekdaysMin:i,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(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(95093))},70336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Deflate:()=>A});const r=256,a=256,i=-1,o=0,s=4,l=0,c=1,u=-2,d=-5;function h(e){return f(e.map((([e,t])=>new Array(e).fill(t,0,e))))}function f(e){return e.reduce(((e,t)=>e.concat(Array.isArray(t)?f(t):t)),[])}const p=[0,1,2,3].concat(...h([[2,4],[2,5],[4,6],[4,7],[8,8],[8,9],[16,10],[16,11],[32,12],[32,13],[64,14],[64,15],[2,0],[1,16],[1,17],[2,18],[2,19],[4,20],[4,21],[8,22],[8,23],[16,24],[16,25],[32,26],[32,27],[64,28],[64,29]]));function m(){const e=this;function t(e,t){let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}e.build_tree=function(n){const r=e.dyn_tree,a=e.stat_desc.static_tree,i=e.stat_desc.elems;let o,s,l,c=-1;for(n.heap_len=0,n.heap_max=573,o=0;o=1;o--)n.pqdownheap(r,o);l=i;do{o=n.heap[1],n.heap[1]=n.heap[n.heap_len--],n.pqdownheap(r,1),s=n.heap[1],n.heap[--n.heap_max]=o,n.heap[--n.heap_max]=s,r[2*l]=r[2*o]+r[2*s],n.depth[l]=Math.max(n.depth[o],n.depth[s])+1,r[2*o+1]=r[2*s+1]=l,n.heap[1]=l++,n.pqdownheap(r,1)}while(n.heap_len>=2);n.heap[--n.heap_max]=n.heap[1],function(t){const n=e.dyn_tree,r=e.stat_desc.static_tree,a=e.stat_desc.extra_bits,i=e.stat_desc.extra_base,o=e.stat_desc.max_length;let s,l,c,u,d,h,f=0;for(u=0;u<=15;u++)t.bl_count[u]=0;for(n[2*t.heap[t.heap_max]+1]=0,s=t.heap_max+1;s<573;s++)l=t.heap[s],u=n[2*n[2*l+1]+1]+1,u>o&&(u=o,f++),n[2*l+1]=u,l>e.max_code||(t.bl_count[u]++,d=0,l>=i&&(d=a[l-i]),h=n[2*l],t.opt_len+=h*(u+d),r&&(t.static_len+=h*(r[2*l+1]+d)));if(0!==f){do{for(u=o-1;0===t.bl_count[u];)u--;t.bl_count[u]--,t.bl_count[u+1]+=2,t.bl_count[o]--,f-=2}while(f>0);for(u=o;0!==u;u--)for(l=t.bl_count[u];0!==l;)c=t.heap[--s],c>e.max_code||(n[2*c+1]!=u&&(t.opt_len+=(u-n[2*c+1])*n[2*c],n[2*c+1]=u),l--)}}(n),function(e,n,r){const a=[];let i,o,s,l=0;for(i=1;i<=15;i++)a[i]=l=l+r[i-1]<<1;for(o=0;o<=n;o++)s=e[2*o+1],0!==s&&(e[2*o]=t(a[s]++,s))}(r,e.max_code,n.bl_count)}}function g(e,t,n,r,a){const i=this;i.static_tree=e,i.extra_bits=t,i.extra_base=n,i.elems=r,i.max_length=a}m._length_code=[0,1,2,3,4,5,6,7].concat(...h([[2,8],[2,9],[2,10],[2,11],[4,12],[4,13],[4,14],[4,15],[8,16],[8,17],[8,18],[8,19],[16,20],[16,21],[16,22],[16,23],[32,24],[32,25],[32,26],[31,27],[1,28]])),m.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],m.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],m.d_code=function(e){return e<256?p[e]:p[256+(e>>>7)]},m.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],m.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],m.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],m.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];const v=h([[144,8],[112,9],[24,7],[8,8]]);g.static_ltree=f([12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254,1,129,65,193,33,161,97,225,17,145,81,209,49,177,113,241,9,137,73,201,41,169,105,233,25,153,89,217,57,185,121,249,5,133,69,197,37,165,101,229,21,149,85,213,53,181,117,245,13,141,77,205,45,173,109,237,29,157,93,221,61,189,125,253,19,275,147,403,83,339,211,467,51,307,179,435,115,371,243,499,11,267,139,395,75,331,203,459,43,299,171,427,107,363,235,491,27,283,155,411,91,347,219,475,59,315,187,443,123,379,251,507,7,263,135,391,71,327,199,455,39,295,167,423,103,359,231,487,23,279,151,407,87,343,215,471,55,311,183,439,119,375,247,503,15,271,143,399,79,335,207,463,47,303,175,431,111,367,239,495,31,287,159,415,95,351,223,479,63,319,191,447,127,383,255,511,0,64,32,96,16,80,48,112,8,72,40,104,24,88,56,120,4,68,36,100,20,84,52,116,3,131,67,195,35,163,99,227].map(((e,t)=>[e,v[t]])));const y=h([[30,5]]);g.static_dtree=f([0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,30,1,17,9,25,5,21,13,29,3,19,11,27,7,23].map(((e,t)=>[e,y[t]]))),g.static_l_desc=new g(g.static_ltree,m.extra_lbits,257,286,15),g.static_d_desc=new g(g.static_dtree,m.extra_dbits,0,30,15),g.static_bl_desc=new g(null,m.extra_blbits,0,19,7);function b(e,t,n,r,a){const i=this;i.good_length=e,i.max_lazy=t,i.nice_length=n,i.max_chain=r,i.func=a}const _=[new b(0,0,0,0,0),new b(4,4,8,4,1),new b(4,5,16,8,1),new b(4,6,32,32,1),new b(4,4,16,16,2),new b(8,16,32,32,2),new b(8,16,128,128,2),new b(8,32,128,256,2),new b(32,128,258,1024,2),new b(32,258,258,4096,2)],I=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],T=113,w=666,E=258,M=262;function k(e,t,n,r){const a=e[2*t],i=e[2*n];return a>>8&255)}function de(e,t){let n;const r=t;oe>16-r?(n=e,ie|=n<>>16-oe,oe+=r-16):(ie|=e<=8&&(ce(255&ie),ie>>>=8,oe-=8)}function me(t,n){let a,i,o;if(e.dist_buf[ne]=t,e.lc_buf[ne]=255&n,ne++,0===t?K[2*n]++:(re++,t--,K[2*(m._length_code[n]+r+1)]++,X[2*m.d_code(t)]++),!(8191&ne)&&$>2){for(a=8*ne,i=N-D,o=0;o<30;o++)a+=X[2*o]*(5+m.extra_dbits[o]);if(a>>>=3,re8?ue(ie):oe>0&&ce(255&ie),ie=0,oe=0}function ye(t,n,r){de(0+(r?1:0),3),function(t,n,r){ve(),ae=8,r&&(ue(n),ue(~n)),e.pending_buf.set(b.subarray(t,t+n),e.pending),e.pending+=n}(t,n,!0)}function be(t,n,r){let a,i,o=0;$>0?(Z.build_tree(e),Q.build_tree(e),o=function(){let t;for(le(K,Z.max_code),le(X,Q.max_code),ee.build_tree(e),t=18;t>=3&&0===J[2*m.bl_order[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(),a=e.opt_len+3+7>>>3,i=e.static_len+3+7>>>3,i<=a&&(a=i)):a=i=n+5,n+4<=a&&-1!=t?ye(t,n,r):i==a?(de(2+(r?1:0),3),ge(g.static_ltree,g.static_dtree)):(de(4+(r?1:0),3),function(e,t,n){let r;for(de(e-257,5),de(t-1,5),de(n-4,4),r=0;r=0?D:-1,N-D,e),D=N,t.flush_pending()}function Ie(){let e,n,r,a;do{if(a=S-V-N,0===a&&0===N&&0===V)a=p;else if(-1==a)a--;else if(N>=p+p-M){b.set(b.subarray(p,p+p),0),H-=p,N-=p,D-=p,e=B,r=e;do{n=65535&A[--r],A[r]=n>=p?n-p:0}while(0!=--e);e=p,r=e;do{n=65535&P[--r],P[r]=n>=p?n-p:0}while(0!=--e);a+=p}if(0===t.avail_in)return;e=t.read_buf(b,N+V,a),V+=e,V>=3&&(x=255&b[N],x=(x<p-M?N-(p-M):0;let s=q;const l=y,c=N+E;let u=b[a+i-1],d=b[a+i];Y>=W&&(r>>=2),s>V&&(s=V);do{if(t=e,b[t+i]==d&&b[t+i-1]==u&&b[t]==b[a]&&b[++t]==b[a+1]){a+=2,t++;do{}while(b[++a]==b[++t]&&b[++a]==b[++t]&&b[++a]==b[++t]&&b[++a]==b[++t]&&b[++a]==b[++t]&&b[++a]==b[++t]&&b[++a]==b[++t]&&b[++a]==b[++t]&&ai){if(H=e,i=n,n>=s)break;u=b[a+i-1],d=b[a+i]}}}while((e=65535&P[e&l])>o&&0!=--r);return i<=V?i:V}function we(t){return t.total_in=t.total_out=0,t.msg=null,e.pending=0,e.pending_out=0,n=T,f=o,Z.dyn_tree=K,Z.stat_desc=g.static_l_desc,Q.dyn_tree=X,Q.stat_desc=g.static_d_desc,ee.dyn_tree=J,ee.stat_desc=g.static_bl_desc,ie=0,oe=0,ae=8,se(),function(){S=2*p,A[B-1]=0;for(let e=0;e9||8!=a||r<9||r>15||n<0||n>9||s<0||s>2?u:(t.dstate=e,v=r,p=1<9||n<0||n>2?u:(_[$].func!=_[t].func&&0!==e.total_in&&(r=e.deflate(1)),$!=t&&($=t,U=_[$].max_lazy,W=_[$].good_length,q=_[$].nice_length,j=_[$].max_chain),G=n,r)},e.deflateSetDictionary=function(e,t,r){let a,i=r,o=0;if(!t||42!=n)return u;if(i<3)return l;for(i>p-M&&(i=p-M,o=r-i),b.set(t.subarray(o,o+i),0),N=i,D=i,x=255&b[0],x=(x<s||i<0)return u;if(!r.next_out||!r.next_in&&0!==r.avail_in||n==w&&i!=s)return r.msg=I[4],u;if(0===r.avail_out)return r.msg=I[7],d;var j;if(t=r,S=f,f=i,42==n&&(E=8+(v-8<<4)<<8,k=($-1&255)>>1,k>3&&(k=3),E|=k<<6,0!==N&&(E|=32),E+=31-E%31,n=T,ce((j=E)>>8&255),ce(255&j)),0!==e.pending){if(t.flush_pending(),0===t.avail_out)return f=-1,l}else if(0===t.avail_in&&i<=S&&i!=s)return t.msg=I[7],d;if(n==w&&0!==t.avail_in)return r.msg=I[7],d;if(0!==t.avail_in||0!==V||i!=o&&n!=w){switch(L=-1,_[$].func){case 0:L=function(e){let n,r=65535;for(r>h-5&&(r=h-5);;){if(V<=1){if(Ie(),0===V&&e==o)return 0;if(0===V)break}if(N+=V,V=0,n=D+r,(0===N||N>=n)&&(V=N-n,N=n,_e(!1),0===t.avail_out))return 0;if(N-D>=p-M&&(_e(!1),0===t.avail_out))return 0}return _e(e==s),0===t.avail_out?e==s?2:0:e==s?3:1}(i);break;case 1:L=function(e){let n,r=0;for(;;){if(V=3&&(x=(x<=3)if(n=me(N-H,R-3),V-=R,R<=U&&V>=3){R--;do{N++,x=(x<=3&&(x=(x<4096)&&(R=2)),Y>=3&&R<=Y){r=N+V-3,n=me(N-1-F,Y-3),V-=Y-1,Y-=2;do{++N<=r&&(x=(x<0&&t.next_in_index!=s&&(r(t.next_in_index),s=t.next_in_index)}while(t.avail_in>0||0===t.avail_out);return h.length>1?(o=new Uint8Array(d),h.forEach((function(e){o.set(e,c),c+=e.length}))):o=h[0]?new Uint8Array(h[0]):new Uint8Array,o}},this.flush=function(){let e,r,a=0,i=0;const o=[];do{if(t.next_out_index=0,t.avail_out=n,e=t.deflate(s),e!=c&&e!=l)throw new Error("deflating: "+t.msg);n-t.avail_out>0&&o.push(u.slice(0,t.next_out_index)),i+=t.next_out_index}while(t.avail_in>0||0===t.avail_out);return t.deflateEnd(),r=new Uint8Array(i),o.forEach((function(e){r.set(e,a),a+=e.length})),r}}P.prototype={deflateInit(e,t){const n=this;return n.dstate=new S,t||(t=15),n.dstate.deflateInit(n,e,t)},deflate(e){const t=this;return t.dstate?t.dstate.deflate(t,e):u},deflateEnd(){const e=this;if(!e.dstate)return u;const t=e.dstate.deflateEnd();return e.dstate=null,t},deflateParams(e,t){const n=this;return n.dstate?n.dstate.deflateParams(n,e,t):u},deflateSetDictionary(e,t){const n=this;return n.dstate?n.dstate.deflateSetDictionary(n,e,t):u},read_buf(e,t,n){const r=this;let a=r.avail_in;return a>n&&(a=n),0===a?0:(r.avail_in-=a,e.set(r.next_in.subarray(r.next_in_index,r.next_in_index+a),t),r.next_in_index+=a,r.total_in+=a,a)},flush_pending(){const e=this;let t=e.dstate.pending;t>e.avail_out&&(t=e.avail_out),0!==t&&(e.next_out.set(e.dstate.pending_buf.subarray(e.dstate.pending_out,e.dstate.pending_out+t),e.next_out_index),e.next_out_index+=t,e.dstate.pending_out+=t,e.total_out+=t,e.avail_out-=t,e.dstate.pending-=t,0===e.dstate.pending&&(e.dstate.pending_out=0))}}},70922:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CODEC_DEFLATE:()=>u,CODEC_INFLATE:()=>d,ChunkStream:()=>f,CodecStream:()=>h,ERR_ABORT_CHECK_PASSWORD:()=>r.ERR_ABORT_CHECK_PASSWORD,ERR_INVALID_PASSWORD:()=>r.ERR_INVALID_PASSWORD,ERR_INVALID_SIGNATURE:()=>r.ERR_INVALID_SIGNATURE,MESSAGE_ACK_DATA:()=>l,MESSAGE_CLOSE:()=>c,MESSAGE_DATA:()=>s,MESSAGE_EVENT_TYPE:()=>a,MESSAGE_PULL:()=>o,MESSAGE_START:()=>i});var r=n(94566);const a="message",i="start",o="pull",s="data",l="ack",c="close",u="deflate",d="inflate";class h extends TransformStream{constructor(e,t){super({});const n=this,{codecType:a}=e;let i;a.startsWith(u)?i=r.DeflateStream:a.startsWith(d)&&(i=r.InflateStream);let o=0,s=0;const l=new i(e,t),c=super.readable,h=new TransformStream({transform(e,t){e&&e.length&&(s+=e.length,t.enqueue(e))},flush(){Object.assign(n,{inputSize:s})}}),f=new TransformStream({transform(e,t){e&&e.length&&(o+=e.length,t.enqueue(e))},flush(){const{signature:e}=l;Object.assign(n,{signature:e,outputSize:o,inputSize:s})}});Object.defineProperty(n,"readable",{get:()=>c.pipeThrough(h).pipeThrough(l).pipeThrough(f)})}}class f extends TransformStream{constructor(e){let t;super({transform:function n(r,a){if(t){const e=new Uint8Array(t.length+r.length);e.set(t),e.set(r,t.length),r=e,t=null}r.length>e?(a.enqueue(r.slice(0,e)),n(r.slice(e),a)):t=r},flush(e){t&&t.length&&e.enqueue(t)}})}}},70964:(e,t,n)=>{"use strict";n.r(t),n.d(t,{glMatrix:()=>r,mat2:()=>a,mat2d:()=>i,mat3:()=>o,mat4:()=>s,quat:()=>l,quat2:()=>c,vec2:()=>u,vec3:()=>d,vec4:()=>h});var r=n(17823),a=n(23522),i=n(52964),o=n(91409),s=n(67684),l=n(12221),c=n(42991),u=n(40842),d=n(30329),h=n(94796)},71402:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MutationObs:()=>p,addClass:()=>A,attemptBlur:()=>G,attemptFocus:()=>$,closest:()=>k,closestEl:()=>h,contains:()=>S,getActiveElement:()=>v,getAttr:()=>C,getBCR:()=>N,getById:()=>P,getCS:()=>H,getSel:()=>V,getStyle:()=>z,getTabables:()=>U,hasAttr:()=>D,hasClass:()=>B,isActiveElement:()=>b,isDisabled:()=>I,isElement:()=>g,isTag:()=>y,isVisible:()=>_,matches:()=>M,matchesEl:()=>d,offset:()=>Y,position:()=>j,reflow:()=>T,removeAttr:()=>O,removeClass:()=>x,removeNode:()=>m,removeStyle:()=>F,requestAF:()=>f,select:()=>E,selectAll:()=>w,setAttr:()=>L,setStyle:()=>R});var r=n(85493),a=n(48789),i=n(17079),o=n(46710),s=n(89821),l=n(59809),c=a.Element.prototype,u=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map((function(e){return"".concat(e,":not(:disabled):not([disabled])")})).join(", "),d=c.matches||c.msMatchesSelector||c.webkitMatchesSelector,h=c.closest||function(e){var t=this;do{if(M(t,e))return t;t=t.parentElement||t.parentNode}while(!(0,o.isNull)(t)&&t.nodeType===Node.ELEMENT_NODE);return null},f=(r.WINDOW.requestAnimationFrame||r.WINDOW.webkitRequestAnimationFrame||r.WINDOW.mozRequestAnimationFrame||r.WINDOW.msRequestAnimationFrame||r.WINDOW.oRequestAnimationFrame||function(e){return setTimeout(e,16)}).bind(r.WINDOW),p=r.WINDOW.MutationObserver||r.WINDOW.WebKitMutationObserver||r.WINDOW.MozMutationObserver||null,m=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},g=function(e){return!(!e||e.nodeType!==Node.ELEMENT_NODE)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=r.DOCUMENT.activeElement;return t&&!e.some((function(e){return e===t}))?t:null},y=function(e,t){return(0,l.toString)(e).toLowerCase()===(0,l.toString)(t).toLowerCase()},b=function(e){return g(e)&&e===v()},_=function(e){if(!g(e)||!e.parentNode||!S(r.DOCUMENT.body,e))return!1;if("none"===z(e,"display"))return!1;var t=N(e);return!!(t&&t.height>0&&t.width>0)},I=function(e){return!g(e)||e.disabled||D(e,"disabled")||B(e,"disabled")},T=function(e){return g(e)&&e.offsetHeight},w=function(e,t){return(0,i.from)((g(t)?t:r.DOCUMENT).querySelectorAll(e))},E=function(e,t){return(g(t)?t:r.DOCUMENT).querySelector(e)||null},M=function(e,t){return!!g(e)&&d.call(e,t)},k=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!g(t))return null;var r=h.call(t,e);return n?r:r===t?null:r},S=function(e,t){return!(!e||!(0,o.isFunction)(e.contains))&&e.contains(t)},P=function(e){return r.DOCUMENT.getElementById(/^#/.test(e)?e.slice(1):e)||null},A=function(e,t){t&&g(e)&&e.classList&&e.classList.add(t)},x=function(e,t){t&&g(e)&&e.classList&&e.classList.remove(t)},B=function(e,t){return!!(t&&g(e)&&e.classList)&&e.classList.contains(t)},L=function(e,t,n){t&&g(e)&&e.setAttribute(t,n)},O=function(e,t){t&&g(e)&&e.removeAttribute(t)},C=function(e,t){return t&&g(e)?e.getAttribute(t):null},D=function(e,t){return t&&g(e)?e.hasAttribute(t):null},R=function(e,t,n){t&&g(e)&&(e.style[t]=n)},F=function(e,t){t&&g(e)&&(e.style[t]="")},z=function(e,t){return t&&g(e)&&e.style[t]||null},N=function(e){return g(e)?e.getBoundingClientRect():null},H=function(e){var t=r.WINDOW.getComputedStyle;return t&&g(e)?t(e):{}},V=function(){return r.WINDOW.getSelection?r.WINDOW.getSelection():null},Y=function(e){var t={top:0,left:0};if(!g(e)||0===e.getClientRects().length)return t;var n=N(e);if(n){var r=e.ownerDocument.defaultView;t.top=n.top+r.pageYOffset,t.left=n.left+r.pageXOffset}return t},j=function(e){var t={top:0,left:0};if(!g(e))return t;var n={top:0,left:0},r=H(e);if("fixed"===r.position)t=N(e)||t;else{t=Y(e);for(var a=e.ownerDocument,i=e.offsetParent||a.documentElement;i&&(i===a.body||i===a.documentElement)&&"static"===H(i).position;)i=i.parentNode;if(i&&i!==e&&i.nodeType===Node.ELEMENT_NODE){n=Y(i);var o=H(i);n.top+=(0,s.toFloat)(o.borderTopWidth,0),n.left+=(0,s.toFloat)(o.borderLeftWidth,0)}}return{top:t.top-n.top-(0,s.toFloat)(r.marginTop,0),left:t.left-n.left-(0,s.toFloat)(r.marginLeft,0)}},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return w(u,e).filter(_).filter((function(e){return e.tabIndex>-1&&!e.disabled}))},$=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{e.focus(t)}catch(e){}return b(e)},G=function(e){try{e.blur()}catch(e){}return!b(e)}},71788:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BNavbarNav:()=>u,props:()=>c});var r=n(2448),a=n(49800),i=n(91671),o=n(1340),s=n(28594);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=(0,o.makePropsConfigurable)((0,i.pick)(s.props,["tag","fill","justified","align","small"]),a.NAME_NAVBAR_NAV),u=(0,r.extend)({name:a.NAME_NAVBAR_NAV,functional:!0,props:c,render:function(e,t){var n,a,i=t.props,o=t.data,s=t.children,c=i.align;return e(i.tag,(0,r.mergeData)(o,{staticClass:"navbar-nav",class:(n={"nav-fill":i.fill,"nav-justified":i.justified},l(n,(a=c,"justify-content-".concat(a="left"===a?"start":"right"===a?"end":a)),c),l(n,"small",i.small),n)}),s)}})},72264:function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.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(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(95093))},72339:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BvEvent:()=>i});var r=n(91671);function a(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));(0,r.assign)(this,e.Defaults,this.constructor.Defaults,n,{type:t}),(0,r.defineProperties)(this,{type:(0,r.readonlyDescriptor)(),cancelable:(0,r.readonlyDescriptor)(),nativeEvent:(0,r.readonlyDescriptor)(),target:(0,r.readonlyDescriptor)(),relatedTarget:(0,r.readonlyDescriptor)(),vueTarget:(0,r.readonlyDescriptor)(),componentId:(0,r.readonlyDescriptor)()});var a=!1;this.preventDefault=function(){this.cancelable&&(a=!0)},(0,r.defineProperty)(this,"defaultPrevented",{enumerable:!0,get:function(){return a}})}var t,n,i;return t=e,i=[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}],(n=null)&&a(t.prototype,n),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}()},72475:function(e,t,n){!function(e){"use strict";e.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(95093))},73386:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<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(95093))},73629:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BVConfigPlugin:()=>r});var r=(0,n(96266).pluginFactory)()},73635:function(e,t,n){!function(e){"use strict";e.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(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},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(95093))},73700:(e,t,n)=>{"use strict";function r(e,t,n){var r,a=n||{},i=a.noTrailing,o=void 0!==i&&i,s=a.noLeading,l=void 0!==s&&s,c=a.debounceMode,u=void 0===c?void 0:c,d=!1,h=0;function f(){r&&clearTimeout(r)}function p(){for(var n=arguments.length,a=new Array(n),i=0;ie?l?(h=Date.now(),o||(r=setTimeout(u?m:p,e))):p():!0!==o&&(r=setTimeout(u?m:p,void 0===u?e-c:e)))}return p.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;f(),d=!n},p}function a(e,t,n){var a=(n||{}).atBegin;return r(e,t,{debounceMode:!1!==(void 0!==a&&a)})}n.r(t),n.d(t,{debounce:()=>a,throttle:()=>r})},73718:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(85072),a=n.n(r),i=n(12673),o={insert:"head",singleton:!1};a()(i.default,o);const s=i.default.locals||{}},73739:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(95093))},73886:(e,t,n)=>{"use strict";n.r(t),n.d(t,{modalManager:()=>l});var r=n(2448),a=n(85493),i=n(71402),o=n(46710),s=n(89821),l=new((0,r.extend)({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(e,t){a.IS_BROWSER&&(this.getScrollbarWidth(),e>0&&0===t?(this.checkScrollbar(),this.setScrollbar(),(0,i.addClass)(document.body,"modal-open")):0===e&&t>0&&(this.resetScrollbar(),(0,i.removeClass)(document.body,"modal-open")),(0,i.setAttr)(document.body,"data-modal-open-count",String(e)))},modals:function(e){var t=this;this.checkScrollbar(),(0,i.requestAF)((function(){t.updateModals(e||[])}))}},methods:{registerModal:function(e){e&&-1===this.modals.indexOf(e)&&this.modals.push(e)},unregisterModal:function(e){var t=this.modals.indexOf(e);t>-1&&(this.modals.splice(t,1),e._isBeingDestroyed||e._isDestroyed||this.resetModal(e))},getBaseZIndex:function(){if(a.IS_BROWSER&&(0,o.isNull)(this.baseZIndex)){var e=document.createElement("div");(0,i.addClass)(e,"modal-backdrop"),(0,i.addClass)(e,"d-none"),(0,i.setStyle)(e,"display","none"),document.body.appendChild(e),this.baseZIndex=(0,s.toInteger)((0,i.getCS)(e).zIndex,1040),document.body.removeChild(e)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(a.IS_BROWSER&&(0,o.isNull)(this.scrollbarWidth)){var e=document.createElement("div");(0,i.addClass)(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=(0,i.getBCR)(e).width-e.clientWidth,document.body.removeChild(e)}return this.scrollbarWidth||0},updateModals:function(e){var t=this,n=this.getBaseZIndex(),r=this.getScrollbarWidth();e.forEach((function(e,a){e.zIndex=n+a,e.scrollbarWidth=r,e.isTop=a===t.modals.length-1,e.isBodyOverflowing=t.isBodyOverflowing}))},resetModal:function(e){e&&(e.zIndex=this.getBaseZIndex(),e.isTop=!0,e.isBodyOverflowing=!1)},checkScrollbar:function(){var e=(0,i.getBCR)(document.body),t=e.left,n=e.right;this.isBodyOverflowing=t+n=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<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(95093))},74557:(e,t,n)=>{"use strict";n.r(t),n.d(t,{listenOnWindowMixin:()=>u});var r=n(2448),a=n(85493),i=n(87013),o=n(17079),s=n(87057),l=n(91671),c="$_windowListeners",u=(0,r.extend)({created:function(){this[c]={}},beforeDestroy:function(){var e=this;(0,l.keys)(this[c]||{}).forEach((function(t){e[c][t].forEach((function(n){e.listenOffWindow(t,n)}))})),this[c]=null},methods:{registerWindowListener:function(e,t){this[c]&&(this[c][e]=this[c][e]||[],(0,o.arrayIncludes)(this[c][e],t)||this[c][e].push(t))},unregisterWindowListener:function(e,t){this[c]&&this[c][e]&&(this[c][e]=this[c][e].filter((function(e){return e!==t})))},listenWindow:function(e,t,n){e?this.listenOnWindow(t,n):this.listenOffWindow(t,n)},listenOnWindow:function(e,t){a.IS_BROWSER&&((0,s.eventOn)(window,e,t,i.EVENT_OPTIONS_NO_CAPTURE),this.registerWindowListener(e,t))},listenOffWindow:function(e,t){a.IS_BROWSER&&(0,s.eventOff)(window,e,t,i.EVENT_OPTIONS_NO_CAPTURE),this.unregisterWindowListener(e,t)}}})},74692:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,a){"use strict";var i=[],o=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,d={},h=d.toString,f=d.hasOwnProperty,p=f.toString,m=p.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function I(e,t,n){var r,a,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in _)(a=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,a);n.head.appendChild(i).parentNode.removeChild(i)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[h.call(e)]||"object":typeof e}var w="3.7.1",E=/HTML$/i,M=function(e,t){return new M.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}M.fn=M.prototype={jquery:w,constructor:M,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=M.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return M.each(this,e)},map:function(e){return this.pushStack(M.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(M.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(M.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+B+")"+B+"*"),V=new RegExp(B+"|>"),Y=new RegExp(F),j=new RegExp("^"+O+"$"),U={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+C),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+k+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},$=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,W=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,q=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+B+"?|\\\\([^\\r\\n\\f])","g"),X=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},J=function(){le()},Z=he((function(e){return!0===e.disabled&&S(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(i=s.call(D.childNodes),D.childNodes),i[D.childNodes.length].nodeType}catch(e){m={apply:function(e,t){R.apply(e,s.call(t))},call:function(e){R.apply(e,s.call(arguments,1))}}}function Q(e,t,n,r){var a,i,o,s,c,u,f,p=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(le(t),t=t||l,d)){if(11!==y&&(c=W.exec(e)))if(a=c[1]){if(9===y){if(!(o=t.getElementById(a)))return n;if(o.id===a)return m.call(n,o),n}else if(p&&(o=p.getElementById(a))&&Q.contains(t,o)&&o.id===a)return m.call(n,o),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((a=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(a)),n}if(!(w[e+" "]||h&&h.test(e))){if(f=e,p=t,1===y&&(V.test(e)||H.test(e))){for((p=q.test(e)&&se(t.parentNode)||t)==t&&g.scope||((s=t.getAttribute("id"))?s=M.escapeSelector(s):t.setAttribute("id",s=v)),i=(u=ue(e)).length;i--;)u[i]=(s?"#"+s:":scope")+" "+de(u[i]);f=u.join(",")}try{return m.apply(n,p.querySelectorAll(f)),n}catch(t){w(e,!0)}finally{s===v&&t.removeAttribute("id")}}}return ye(e.replace(L,"$1"),t,n,r)}function ee(){var e=[];return function n(r,a){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=a}}function te(e){return e[v]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return S(t,"input")&&t.type===e}}function ae(e){return function(t){return(S(t,"input")||S(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Z(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function oe(e){return te((function(t){return t=+t,te((function(n,r){for(var a,i=e([],n.length,t),o=i.length;o--;)n[a=i[o]]&&(n[a]=!(r[a]=n[a]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:D;return r!=l&&9===r.nodeType&&r.documentElement?(c=(l=r).documentElement,d=!M.isXMLDoc(l),p=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&D!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",J),g.getById=ne((function(e){return c.appendChild(e).id=M.expando,!l.getElementsByName||!l.getElementsByName(M.expando).length})),g.disconnectedMatch=ne((function(e){return p.call(e,"*")})),g.scope=ne((function(){return l.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(K,X);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(K,X);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,r,a,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(a=t.getElementsByName(e),r=0;i=a[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},h=[],ne((function(e){var t;c.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||h.push("\\["+B+"*(?:value|"+k+")"),e.querySelectorAll("[id~="+v+"-]").length||h.push("~="),e.querySelectorAll("a#"+v+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+B+"*name"+B+"*="+B+"*(?:''|\"\")")})),g.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),E=function(e,t){if(e===t)return o=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==D&&Q.contains(D,e)?-1:t===l||t.ownerDocument==D&&Q.contains(D,t)?1:a?u.call(a,e)-u.call(a,t):0:4&n?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),d&&!w[t+" "]&&(!h||!h.test(t)))try{var n=p.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){w(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),M.contains(e,t)},Q.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],a=r&&f.call(t.attrHandle,n.toLowerCase())?r(e,n,!d):void 0;return void 0!==a?a:e.getAttribute(n)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},M.uniqueSort=function(e){var t,n=[],r=0,i=0;if(o=!g.sortStable,a=!g.sortStable&&s.call(e,0),A.call(e,E),o){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)x.call(e,n[r],1)}return a=null,e},M.fn.uniqueSort=function(){return this.pushStack(M.uniqueSort(s.apply(this)))},t=M.expr={cacheLength:50,createPseudo:te,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(K,X),e[3]=(e[3]||e[4]||e[5]||"").replace(K,X),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return U.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(K,X).toLowerCase();return"*"===e?function(){return!0}:function(e){return S(e,t)}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&_(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=Q.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(z," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var i="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,f,p=i!==o?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),b=!l&&!s,_=!1;if(m){if(i){for(;p;){for(d=t;d=d[p];)if(s?S(d,g):1===d.nodeType)return!1;f=p="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&b){for(_=(h=(c=(u=m[v]||(m[v]={}))[e]||[])[0]===y&&c[1])&&c[2],d=h&&m.childNodes[h];d=++h&&d&&d[p]||(_=h=0)||f.pop();)if(1===d.nodeType&&++_&&d===t){u[e]=[y,h,_];break}}else if(b&&(_=h=(c=(u=t[v]||(t[v]={}))[e]||[])[0]===y&&c[1]),!1===_)for(;(d=++h&&d&&d[p]||(_=h=0)||f.pop())&&(!(s?S(d,g):1===d.nodeType)||!++_||(b&&((u=d[v]||(d[v]={}))[e]=[y,_]),d!==t)););return(_-=a)===r||_%r==0&&_/r>=0}}},PSEUDO:function(e,n){var r,a=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return a[v]?a(n):a.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,i=a(e,n),o=i.length;o--;)e[r=u.call(e,i[o])]=!(t[r]=i[o])})):function(e){return a(e,0,r)}):a}},pseudos:{not:te((function(e){var t=[],n=[],r=ve(e.replace(L,"$1"));return r[v]?te((function(e,t,n,a){for(var i,o=r(e,null,a,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))})):function(e,a,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Q(e,t).length>0}})),contains:te((function(e){return e=e.replace(K,X),function(t){return(t.textContent||M.text(t)).indexOf(e)>-1}})),lang:te((function(e){return j.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(K,X).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return S(e,"input")&&!!e.checked||S(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){return S(e,"input")&&"button"===e.type||S(e,"button")},text:function(e){var t;return S(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:oe((function(){return[0]})),last:oe((function(e,t){return[t-1]})),eq:oe((function(e,t,n){return[n<0?n+t:n]})),even:oe((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:oe((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function pe(e,t,n,r,a){for(var i,o=[],s=0,l=e.length,c=null!=t;s-1&&(i[c]=!(o[c]=h))}}else f=pe(f===o?f.splice(v,f.length):f),a?a(null,o,f,l):m.apply(o,f)}))}function ge(e){for(var r,a,i,o=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,d=he((function(e){return e===r}),l,!0),h=he((function(e){return u.call(r,e)>-1}),l,!0),f=[function(e,t,a){var i=!s&&(a||t!=n)||((r=t).nodeType?d(e,t,a):h(e,t,a));return r=null,i}];c1&&fe(f),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(L,"$1"),a,c0,i=e.length>0,o=function(o,s,c,u,h){var f,p,g,v=0,b="0",_=o&&[],I=[],T=n,w=o||i&&t.find.TAG("*",h),E=y+=null==T?1:Math.random()||.1,k=w.length;for(h&&(n=s==l||s||h);b!==k&&null!=(f=w[b]);b++){if(i&&f){for(p=0,s||f.ownerDocument==l||(le(f),c=!d);g=e[p++];)if(g(f,s||l,c)){m.call(u,f);break}h&&(y=E)}a&&((f=!g&&f)&&v--,o&&_.push(f))}if(v+=b,a&&b!==v){for(p=0;g=r[p++];)g(_,I,s,c);if(o){if(v>0)for(;b--;)_[b]||I[b]||(I[b]=P.call(u));I=pe(I)}m.apply(u,I),h&&!o&&I.length>0&&v+r.length>1&&M.uniqueSort(u)}return h&&(y=E,n=T),_};return a?te(o):o}(o,i)),s.selector=e}return s}function ye(e,n,r,a){var i,o,s,l,c,u="function"==typeof e&&e,h=!a&&ue(e=u.selector||e);if(r=r||[],1===h.length){if((o=h[0]=h[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&9===n.nodeType&&d&&t.relative[o[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(K,X),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(o.shift().value.length)}for(i=U.needsContext.test(e)?0:o.length;i--&&(s=o[i],!t.relative[l=s.type]);)if((c=t.find[l])&&(a=c(s.matches[0].replace(K,X),q.test(o[0].type)&&se(n.parentNode)||n))){if(o.splice(i,1),!(e=a.length&&de(o)))return m.apply(r,a),r;break}}return(u||ve(e,h))(a,n,!d,r,!n||q.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,g.sortStable=v.split("").sort(E).join("")===v,le(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),M.find=Q,M.expr[":"]=M.expr.pseudos,M.unique=M.uniqueSort,Q.compile=ve,Q.select=ye,Q.setDocument=le,Q.tokenize=ue,Q.escape=M.escapeSelector,Q.getText=M.text,Q.isXML=M.isXMLDoc,Q.selectors=M.expr,Q.support=M.support,Q.uniqueSort=M.uniqueSort}();var F=function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&M(e).is(n))break;r.push(e)}return r},z=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=M.expr.match.needsContext,H=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(e,t,n){return v(t)?M.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?M.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?M.grep(e,(function(e){return u.call(t,e)>-1!==n})):M.filter(t,e,n)}M.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?M.find.matchesSelector(r,e)?[r]:[]:M.find.matches(e,M.grep(t,(function(e){return 1===e.nodeType})))},M.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!=typeof e)return this.pushStack(M(e).filter((function(){for(t=0;t1?M.uniqueSort(n):n},filter:function(e){return this.pushStack(V(this,e||[],!1))},not:function(e){return this.pushStack(V(this,e||[],!0))},is:function(e){return!!V(this,"string"==typeof e&&N.test(e)?M(e):e||[],!1).length}});var Y,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(M.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||Y,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:j.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof M?t[0]:t,M.merge(this,M.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),H.test(r[1])&&M.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=b.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(M):M.makeArray(e,this)}).prototype=M.fn,Y=M(b);var U=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}M.fn.extend({has:function(e){var t=M(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&M.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?M.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(M(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(M.uniqueSort(M.merge(this.get(),M(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),M.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return F(e,"parentNode")},parentsUntil:function(e,t,n){return F(e,"parentNode",n)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return F(e,"nextSibling")},prevAll:function(e){return F(e,"previousSibling")},nextUntil:function(e,t,n){return F(e,"nextSibling",n)},prevUntil:function(e,t,n){return F(e,"previousSibling",n)},siblings:function(e){return z((e.parentNode||{}).firstChild,e)},children:function(e){return z(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),M.merge([],e.childNodes))}},(function(e,t){M.fn[e]=function(n,r){var a=M.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=M.filter(r,a)),this.length>1&&($[e]||M.uniqueSort(a),U.test(e)&&a.reverse()),this.pushStack(a)}}));var W=/[^\x20\t\r\n\f]+/g;function q(e){return e}function K(e){throw e}function X(e,t,n,r){var a;try{e&&v(a=e.promise)?a.call(e).done(t).fail(n):e&&v(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}M.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return M.each(e.match(W)||[],(function(e,n){t[n]=!0})),t}(e):M.extend({},e);var t,n,r,a,i=[],o=[],s=-1,l=function(){for(a=a||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?M.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return a=o=[],i=n="",this},disabled:function(){return!i},lock:function(){return a=o=[],n||t||(i=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},M.extend({Deferred:function(e){var t=[["notify","progress",M.Callbacks("memory"),M.Callbacks("memory"),2],["resolve","done",M.Callbacks("once memory"),M.Callbacks("once memory"),0,"resolved"],["reject","fail",M.Callbacks("once memory"),M.Callbacks("once memory"),1,"rejected"]],n="pending",a={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return M.Deferred((function(n){M.each(t,(function(t,r){var a=v(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=a&&a.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,a){var i=0;function o(e,t,n,a){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e=i&&(n!==K&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(M.Deferred.getErrorHook?u.error=M.Deferred.getErrorHook():M.Deferred.getStackHook&&(u.error=M.Deferred.getStackHook()),r.setTimeout(u))}}return M.Deferred((function(r){t[0][3].add(o(0,r,v(a)?a:q,r.notifyWith)),t[1][3].add(o(0,r,v(e)?e:q)),t[2][3].add(o(0,r,v(n)?n:K))})).promise()},promise:function(e){return null!=e?M.extend(e,a):a}},i={};return M.each(t,(function(e,r){var o=r[2],s=r[5];a[r[1]]=o.add,s&&o.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=o.fireWith})),a.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),a=s.call(arguments),i=M.Deferred(),o=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,a)}};if(t<=1&&(X(e,i.done(o(n)).resolve,i.reject,!t),"pending"===i.state()||v(a[n]&&a[n].then)))return i.then();for(;n--;)X(a[n],o(n),i.reject);return i.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;M.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&J.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},M.readyException=function(e){r.setTimeout((function(){throw e}))};var Z=M.Deferred();function Q(){b.removeEventListener("DOMContentLoaded",Q),r.removeEventListener("load",Q),M.ready()}M.fn.ready=function(e){return Z.then(e).catch((function(e){M.readyException(e)})),this},M.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--M.readyWait:M.isReady)||(M.isReady=!0,!0!==e&&--M.readyWait>0||Z.resolveWith(b,[M]))}}),M.ready.then=Z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(M.ready):(b.addEventListener("DOMContentLoaded",Q),r.addEventListener("load",Q));var ee=function(e,t,n,r,a,i,o){var s=0,l=e.length,c=null==n;if("object"===T(n))for(s in a=!0,n)ee(e,t,s,n[s],!0,i,o);else if(void 0!==r&&(a=!0,v(r)||(o=!0),c&&(o?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(M(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),M.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,M.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=M.queue(e,t),r=n.length,a=n.shift(),i=M._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete i.stop,a.call(e,(function(){M.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:M.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),M.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,Se=/^$|^module$|\/(?:java|ecma)script/i;we=b.createDocumentFragment().appendChild(b.createElement("div")),(Ee=b.createElement("input")).setAttribute("type","radio"),Ee.setAttribute("checked","checked"),Ee.setAttribute("name","t"),we.appendChild(Ee),g.checkClone=we.cloneNode(!0).cloneNode(!0).lastChild.checked,we.innerHTML="",g.noCloneChecked=!!we.cloneNode(!0).lastChild.defaultValue,we.innerHTML="",g.option=!!we.lastChild;var Pe={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function Ae(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?M.merge([e],n):n}function xe(e,t){for(var n=0,r=e.length;n",""]);var Be=/<|&#?\w+;/;function Le(e,t,n,r,a){for(var i,o,s,l,c,u,d=t.createDocumentFragment(),h=[],f=0,p=e.length;f-1)a&&a.push(i);else if(c=ge(i),o=Ae(d.appendChild(i),"script"),c&&xe(o),n)for(u=0;i=o[u++];)Se.test(i.type||"")&&n.push(i);return d}var Oe=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function De(){return!1}function Re(e,t,n,r,a,i){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Re(e,s,n,r,t[s],i);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"==typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=De;else if(!a)return e;return 1===i&&(o=a,a=function(e){return M().off(e),o.apply(this,arguments)},a.guid=o.guid||(o.guid=M.guid++)),e.each((function(){M.event.add(this,t,a,r,n)}))}function Fe(e,t,n){n?(se.set(e,t,!1),M.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(M.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,M.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ce)}})):void 0===se.get(e,t)&&M.event.add(e,t,Ce)}M.event={global:{},add:function(e,t,n,r,a){var i,o,s,l,c,u,d,h,f,p,m,g=se.get(e);if(ie(e))for(n.handler&&(n=(i=n).handler,a=i.selector),a&&M.find.matchesSelector(me,a),n.guid||(n.guid=M.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==M&&M.event.triggered!==t.type?M.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(W)||[""]).length;c--;)f=m=(s=Oe.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),f&&(d=M.event.special[f]||{},f=(a?d.delegateType:d.bindType)||f,d=M.event.special[f]||{},u=M.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&M.expr.match.needsContext.test(a),namespace:p.join(".")},i),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,p,o)||e.addEventListener&&e.addEventListener(f,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),a?h.splice(h.delegateCount++,0,u):h.push(u),M.event.global[f]=!0)},remove:function(e,t,n,r,a){var i,o,s,l,c,u,d,h,f,p,m,g=se.hasData(e)&&se.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(W)||[""]).length;c--;)if(f=m=(s=Oe.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),f){for(d=M.event.special[f]||{},h=l[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=i=h.length;i--;)u=h[i],!a&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(h.splice(i,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||M.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)M.event.remove(e,f+t[c],n,r,!0);M.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,i,o,s=new Array(arguments.length),l=M.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=M.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],o={},n=0;n-1:M.find(a,this,null,[c]).length),o[a]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l\s*$/g;function Ve(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&M(e).children("tbody")[0]||e}function Ye(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ue(e,t){var n,r,a,i,o,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(a in se.remove(t,"handle events"),s)for(n=0,r=s[a].length;n1&&"string"==typeof p&&!g.checkClone&&Ne.test(p))return e.each((function(a){var i=e.eq(a);m&&(t[0]=p.call(this,a,i.html())),Ge(i,t,n,r)}));if(h&&(i=(a=Le(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=i),i||r)){for(s=(o=M.map(Ae(a,"script"),Ye)).length;d0&&xe(o,!l&&Ae(e,"script")),s},cleanData:function(e){for(var t,n,r,a=M.event.special,i=0;void 0!==(n=e[i]);i++)if(ie(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)a[r]?M.event.remove(n,r):M.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),M.fn.extend({detach:function(e){return We(this,e,!0)},remove:function(e){return We(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?M.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ge(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ve(this,e).appendChild(e)}))},prepend:function(){return Ge(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ve(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(M.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return M.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ze.test(e)&&!Pe[(ke.exec(e)||["",""])[1].toLowerCase()]){e=M.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l+c}function ut(e,t,n){var r=Xe(e),a=(!g.boxSizingReliable()||n)&&"border-box"===M.css(e,"boxSizing",!1,r),i=a,o=Qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(o)){if(!n)return o;o="auto"}return(!g.boxSizingReliable()&&a||!g.reliableTrDimensions()&&S(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===M.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===M.css(e,"boxSizing",!1,r),(i=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+ct(e,t,n||(a?"border":"content"),i,r,o)+"px"}function dt(e,t,n,r,a){return new dt.prototype.init(e,t,n,r,a)}M.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,i,o,s=ae(t),l=Ke.test(t),c=e.style;if(l||(t=at(s)),o=M.cssHooks[t]||M.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(a=o.get(e,!1,r))?a:c[t];"string"===(i=typeof n)&&(a=fe.exec(n))&&a[1]&&(n=be(e,t,a),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=a&&a[3]||(M.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var a,i,o,s=ae(t);return Ke.test(t)||(t=at(s)),(o=M.cssHooks[t]||M.cssHooks[s])&&"get"in o&&(a=o.get(e,!0,n)),void 0===a&&(a=Qe(e,t,r)),"normal"===a&&t in st&&(a=st[t]),""===n||n?(i=parseFloat(a),!0===n||isFinite(i)?i||0:a):a}}),M.each(["height","width"],(function(e,t){M.cssHooks[t]={get:function(e,n,r){if(n)return!it.test(M.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Je(e,ot,(function(){return ut(e,t,r)}))},set:function(e,n,r){var a,i=Xe(e),o=!g.scrollboxSize()&&"absolute"===i.position,s=(o||r)&&"border-box"===M.css(e,"boxSizing",!1,i),l=r?ct(e,t,r,s,i):0;return s&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ct(e,t,"border",!1,i)-.5)),l&&(a=fe.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=M.css(e,t)),lt(0,n,l)}}})),M.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),M.each({margin:"",padding:"",border:"Width"},(function(e,t){M.cssHooks[e+t]={expand:function(n){for(var r=0,a={},i="string"==typeof n?n.split(" "):[n];r<4;r++)a[e+pe[r]+t]=i[r]||i[r-2]||i[0];return a}},"margin"!==e&&(M.cssHooks[e+t].set=lt)})),M.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,a,i={},o=0;if(Array.isArray(t)){for(r=Xe(e),a=t.length;o1)}}),M.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,a,i){this.elem=e,this.prop=n,this.easing=a||M.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(M.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=M.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=M.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){M.fx.step[e.prop]?M.fx.step[e.prop](e):1!==e.elem.nodeType||!M.cssHooks[e.prop]&&null==e.elem.style[at(e.prop)]?e.elem[e.prop]=e.now:M.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},M.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},M.fx=dt.prototype.init,M.fx.step={};var ht,ft,pt=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){ft&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(gt):r.setTimeout(gt,M.fx.interval),M.fx.tick())}function vt(){return r.setTimeout((function(){ht=void 0})),ht=Date.now()}function yt(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=pe[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function bt(e,t,n){for(var r,a=(_t.tweeners[t]||[]).concat(_t.tweeners["*"]),i=0,o=a.length;i1)},removeAttr:function(e){return this.each((function(){M.removeAttr(this,e)}))}}),M.extend({attr:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?M.prop(e,t,n):(1===i&&M.isXMLDoc(e)||(a=M.attrHooks[t.toLowerCase()]||(M.expr.match.bool.test(t)?It:void 0)),void 0!==n?null===n?void M.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=M.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(W);if(a&&1===e.nodeType)for(;n=a[r++];)e.removeAttribute(n)}}),It={set:function(e,t,n){return!1===t?M.removeAttr(e,n):e.setAttribute(n,n),n}},M.each(M.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Tt[t]||M.find.attr;Tt[t]=function(e,t,r){var a,i,o=t.toLowerCase();return r||(i=Tt[o],Tt[o]=a,a=null!=n(e,t,r)?o:null,Tt[o]=i),a}}));var wt=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;function Mt(e){return(e.match(W)||[]).join(" ")}function kt(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(W)||[]}M.fn.extend({prop:function(e,t){return ee(this,M.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[M.propFix[e]||e]}))}}),M.extend({prop:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&M.isXMLDoc(e)||(t=M.propFix[t]||t,a=M.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=M.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(M.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),M.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){M.propFix[this.toLowerCase()]=this})),M.fn.extend({addClass:function(e){var t,n,r,a,i,o;return v(e)?this.each((function(t){M(this).addClass(e.call(this,t,kt(this)))})):(t=St(e)).length?this.each((function(){if(r=kt(this),n=1===this.nodeType&&" "+Mt(r)+" "){for(i=0;i-1;)n=n.replace(" "+a+" "," ");o=Mt(n),r!==o&&this.setAttribute("class",o)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,a,i,o=typeof e,s="string"===o||Array.isArray(e);return v(e)?this.each((function(n){M(this).toggleClass(e.call(this,n,kt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=St(e),this.each((function(){if(s)for(i=M(this),a=0;a-1)return!0;return!1}});var Pt=/\r/g;M.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=v(e),this.each((function(n){var a;1===this.nodeType&&(null==(a=r?e.call(this,n,M(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=M.map(a,(function(e){return null==e?"":e+""}))),(t=M.valHooks[this.type]||M.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=M.valHooks[a.type]||M.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(Pt,""):null==n?"":n:void 0}}),M.extend({valHooks:{option:{get:function(e){var t=M.find.attr(e,"value");return null!=t?t:Mt(M.text(e))}},select:{get:function(e){var t,n,r,a=e.options,i=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?i+1:a.length;for(r=i<0?l:o?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),M.each(["radio","checkbox"],(function(){M.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=M.inArray(M(e).val(),t)>-1}},g.checkOn||(M.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var At=r.location,xt={guid:Date.now()},Bt=/\?/;M.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||M.error("Invalid XML: "+(n?M.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Lt=/^(?:focusinfocus|focusoutblur)$/,Ot=function(e){e.stopPropagation()};M.extend(M.event,{trigger:function(e,t,n,a){var i,o,s,l,c,u,d,h,p=[n||b],m=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(o=h=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Lt.test(m+M.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[M.expando]?e:new M.Event(m,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:M.makeArray(t,[e]),d=M.event.special[m]||{},a||!d.trigger||!1!==d.trigger.apply(n,t))){if(!a&&!d.noBubble&&!y(n)){for(l=d.delegateType||m,Lt.test(l+m)||(o=o.parentNode);o;o=o.parentNode)p.push(o),s=o;s===(n.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||r)}for(i=0;(o=p[i++])&&!e.isPropagationStopped();)h=o,e.type=i>1?l:d.bindType||m,(u=(se.get(o,"events")||Object.create(null))[e.type]&&se.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&ie(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,a||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!ie(n)||c&&v(n[m])&&!y(n)&&((s=n[c])&&(n[c]=null),M.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,Ot),n[m](),e.isPropagationStopped()&&h.removeEventListener(m,Ot),M.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=M.extend(new M.Event,n,{type:e,isSimulated:!0});M.event.trigger(r,null,t)}}),M.fn.extend({trigger:function(e,t){return this.each((function(){M.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return M.event.trigger(e,t,n,!0)}});var Ct=/\[\]$/,Dt=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;function zt(e,t,n,r){var a;if(Array.isArray(t))M.each(t,(function(t,a){n||Ct.test(e)?r(e,a):zt(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==T(t))r(e,t);else for(a in t)zt(e+"["+a+"]",t[a],n,r)}M.param=function(e,t){var n,r=[],a=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!M.isPlainObject(e))M.each(e,(function(){a(this.name,this.value)}));else for(n in e)zt(n,e[n],t,a);return r.join("&")},M.fn.extend({serialize:function(){return M.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=M.prop(this,"elements");return e?M.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!M(this).is(":disabled")&&Ft.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!Me.test(e))})).map((function(e,t){var n=M(this).val();return null==n?null:Array.isArray(n)?M.map(n,(function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}})):{name:t.name,value:n.replace(Dt,"\r\n")}})).get()}});var Nt=/%20/g,Ht=/#.*$/,Vt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,jt=/^(?:GET|HEAD)$/,Ut=/^\/\//,$t={},Gt={},Wt="*/".concat("*"),qt=b.createElement("a");function Kt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,a=0,i=t.toLowerCase().match(W)||[];if(v(n))for(;r=i[a++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Xt(e,t,n,r){var a={},i=e===Gt;function o(s){var l;return a[s]=!0,M.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||a[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!a["*"]&&o("*")}function Jt(e,t){var n,r,a=M.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&M.extend(!0,e,r),e}qt.href=At.href,M.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":M.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,M.ajaxSettings),t):Jt(M.ajaxSettings,e)},ajaxPrefilter:Kt($t),ajaxTransport:Kt(Gt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,a,i,o,s,l,c,u,d,h,f=M.ajaxSetup({},t),p=f.context||f,m=f.context&&(p.nodeType||p.jquery)?M(p):M.event,g=M.Deferred(),v=M.Callbacks("once memory"),y=f.statusCode||{},_={},I={},T="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=Yt.exec(i);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=I[e.toLowerCase()]=I[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)w.always(e[w.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||T;return n&&n.abort(t),E(0,t),this}};if(g.promise(w),f.url=((e||f.url||At.href)+"").replace(Ut,At.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(W)||[""],null==f.crossDomain){l=b.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=qt.protocol+"//"+qt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=M.param(f.data,f.traditional)),Xt($t,f,t,w),c)return w;for(d in(u=M.event&&f.global)&&0==M.active++&&M.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!jt.test(f.type),a=f.url.replace(Ht,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Nt,"+")):(h=f.url.slice(a.length),f.data&&(f.processData||"string"==typeof f.data)&&(a+=(Bt.test(a)?"&":"?")+f.data,delete f.data),!1===f.cache&&(a=a.replace(Vt,"$1"),h=(Bt.test(a)?"&":"?")+"_="+xt.guid+++h),f.url=a+h),f.ifModified&&(M.lastModified[a]&&w.setRequestHeader("If-Modified-Since",M.lastModified[a]),M.etag[a]&&w.setRequestHeader("If-None-Match",M.etag[a])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Wt+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(p,w,f)||c))return w.abort();if(T="abort",v.add(f.complete),w.done(f.success),w.fail(f.error),n=Xt(Gt,f,t,w)){if(w.readyState=1,u&&m.trigger("ajaxSend",[w,f]),c)return w;f.async&&f.timeout>0&&(s=r.setTimeout((function(){w.abort("timeout")}),f.timeout));try{c=!1,n.send(_,E)}catch(e){if(c)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,o,l){var d,h,b,_,I,T=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",w.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(_=function(e,t,n){for(var r,a,i,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)i=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){i=a;break}o||(o=a)}i=i||o}if(i)return i!==l[0]&&l.unshift(i),n[i]}(f,w,o)),!d&&M.inArray("script",f.dataTypes)>-1&&M.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),_=function(e,t,n,r){var a,i,o,s,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(o=c[l+" "+i]||c["* "+i]))for(a in c)if((s=a.split(" "))[1]===i&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[a]:!0!==c[a]&&(i=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(f,_,w,d),d?(f.ifModified&&((I=w.getResponseHeader("Last-Modified"))&&(M.lastModified[a]=I),(I=w.getResponseHeader("etag"))&&(M.etag[a]=I)),204===e||"HEAD"===f.type?T="nocontent":304===e?T="notmodified":(T=_.state,h=_.data,d=!(b=_.error))):(b=T,!e&&T||(T="error",e<0&&(e=0))),w.status=e,w.statusText=(t||T)+"",d?g.resolveWith(p,[h,T,w]):g.rejectWith(p,[w,T,b]),w.statusCode(y),y=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[w,f,d?h:b]),v.fireWith(p,[w,T]),u&&(m.trigger("ajaxComplete",[w,f]),--M.active||M.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return M.get(e,t,n,"json")},getScript:function(e,t){return M.get(e,void 0,t,"script")}}),M.each(["get","post"],(function(e,t){M[t]=function(e,n,r,a){return v(n)&&(a=a||r,r=n,n=void 0),M.ajax(M.extend({url:e,type:t,dataType:a,data:n,success:r},M.isPlainObject(e)&&e))}})),M.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),M._evalUrl=function(e,t,n){return M.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){M.globalEval(e,t,n)}})},M.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=M(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){M(this).wrapInner(e.call(this,t))})):this.each((function(){var t=M(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){M(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){M(this).replaceWith(this.childNodes)})),this}}),M.expr.pseudos.hidden=function(e){return!M.expr.pseudos.visible(e)},M.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},M.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Qt=M.ajaxSettings.xhr();g.cors=!!Qt&&"withCredentials"in Qt,g.ajax=Qt=!!Qt,M.ajaxTransport((function(e){var t,n;if(g.cors||Qt&&!e.crossDomain)return{send:function(a,i){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(o,a[o]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),M.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),M.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return M.globalEval(e),e}}}),M.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),M.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=M("