(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40],{61883:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i,a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var s={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return function(t,n){var i;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,r=null!=n&&n.width?String(n.width):a;i=e.formattingValues[r]||e.formattingValues[a]}else{var s=e.defaultWidth,o=null!=n&&n.width?String(n.width):e.defaultWidth;i=e.values[o]||e.values[s]}return i[e.argumentCallback?e.argumentCallback(t):t]}}function c(e){return function(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],s=t.match(r);if(!s)return null;var o=s[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(l,function(e){return e.test(o)}):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(l,function(e){return e.test(o)});return n=e.valueCallback?e.valueCallback(c):c,{value:n=i.valueCallback?i.valueCallback(n):n,rest:t.slice(o.length)}}}var u={code:"en-US",formatDistance:function(e,t,n){var i,r=a[e];return(i="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},formatLong:s,formatRelative:function(e,t,n,i){return o[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(i={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(i.matchPattern);if(!n)return null;var a=n[0],r=e.match(i.parsePattern);if(!r)return null;var s=i.valueCallback?i.valueCallback(r[0]):r[0];return{value:s=t.valueCallback?t.valueCallback(s):s,rest:e.slice(a.length)}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},47108:function(e,t,n){"use strict";n.d(t,{j:function(){return a}});var i={};function a(){return i}},41245:function(e,t){"use strict";var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},i=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.Z={p:i,P:function(e,t){var a,r=e.match(/(P+)(p+)?/)||[],s=r[1],o=r[2];if(!o)return n(e,t);switch(s){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",n(s,t)).replace("{{time}}",i(o,t))}}},25558:function(e,t,n){"use strict";function i(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{Z:function(){return i}})},24789:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(99735),a=n(45196),r=n(65790),s=n(7656);function o(e){(0,s.Z)(1,arguments);var t=(0,i.Z)(e);return Math.round(((0,a.Z)(t).getTime()-(function(e){(0,s.Z)(1,arguments);var t=(0,r.Z)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,a.Z)(n)})(t).getTime())/6048e5)+1}},65790:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(99735),a=n(7656),r=n(45196);function s(e){(0,a.Z)(1,arguments);var t=(0,i.Z)(e),n=t.getUTCFullYear(),s=new Date(0);s.setUTCFullYear(n+1,0,4),s.setUTCHours(0,0,0,0);var o=(0,r.Z)(s),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=(0,r.Z)(l);return t.getTime()>=o.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},15876:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(99735),a=n(1700),r=n(86158),s=n(7656),o=n(47869),l=n(47108);function c(e,t){(0,s.Z)(1,arguments);var n=(0,i.Z)(e);return Math.round(((0,a.Z)(n,t).getTime()-(function(e,t){(0,s.Z)(1,arguments);var n,i,c,u,p,h,d,f,m=(0,l.j)(),v=(0,o.Z)(null!==(n=null!==(i=null!==(c=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t?void 0:null===(p=t.locale)||void 0===p?void 0:null===(h=p.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==i?i:null===(d=m.locale)||void 0===d?void 0:null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1),g=(0,r.Z)(e,t),x=new Date(0);return x.setUTCFullYear(g,0,v),x.setUTCHours(0,0,0,0),(0,a.Z)(x,t)})(n,t).getTime())/6048e5)+1}},86158:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(99735),a=n(7656),r=n(1700),s=n(47869),o=n(47108);function l(e,t){(0,a.Z)(1,arguments);var n,l,c,u,p,h,d,f,m=(0,i.Z)(e),v=m.getUTCFullYear(),g=(0,o.j)(),x=(0,s.Z)(null!==(n=null!==(l=null!==(c=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t?void 0:null===(p=t.locale)||void 0===p?void 0:null===(h=p.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:g.firstWeekContainsDate)&&void 0!==l?l:null===(d=g.locale)||void 0===d?void 0:null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1);if(!(x>=1&&x<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(v+1,0,x),b.setUTCHours(0,0,0,0);var y=(0,r.Z)(b,t),w=new Date(0);w.setUTCFullYear(v,0,x),w.setUTCHours(0,0,0,0);var _=(0,r.Z)(w,t);return m.getTime()>=y.getTime()?v+1:m.getTime()>=_.getTime()?v:v-1}},70004:function(e,t,n){"use strict";n.d(t,{Do:function(){return s},Iu:function(){return r},qp:function(){return o}});var i=["D","DD"],a=["YY","YYYY"];function r(e){return -1!==i.indexOf(e)}function s(e){return -1!==a.indexOf(e)}function o(e,t,n){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},45196:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(99735),a=n(7656);function r(e){(0,a.Z)(1,arguments);var t=(0,i.Z)(e),n=t.getUTCDay();return t.setUTCDate(t.getUTCDate()-((n<1?7:0)+n-1)),t.setUTCHours(0,0,0,0),t}},1700:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(99735),a=n(7656),r=n(47869),s=n(47108);function o(e,t){(0,a.Z)(1,arguments);var n,o,l,c,u,p,h,d,f=(0,s.j)(),m=(0,r.Z)(null!==(n=null!==(o=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==l?l:f.weekStartsOn)&&void 0!==o?o:null===(h=f.locale)||void 0===h?void 0:null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,i.Z)(e),g=v.getUTCDay();return v.setUTCDate(v.getUTCDate()-((g<m?7:0)+g-m)),v.setUTCHours(0,0,0,0),v}},67603:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var i=n(31755),a=n(17599),r=n(99735),s=n(7656),o=n(24789),l=n(65790),c=n(15876),u=n(86158);function p(e,t){for(var n=Math.abs(e).toString();n.length<t;)n="0"+n;return(e<0?"-":"")+n}var h={y:function(e,t){var n=e.getUTCFullYear(),i=n>0?n:1-n;return p("yy"===t?i%100:i,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):p(n+1,2)},d:function(e,t){return p(e.getUTCDate(),t.length)},h:function(e,t){return p(e.getUTCHours()%12||12,t.length)},H:function(e,t){return p(e.getUTCHours(),t.length)},m:function(e,t){return p(e.getUTCMinutes(),t.length)},s:function(e,t){return p(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length;return p(Math.floor(e.getUTCMilliseconds()*Math.pow(10,n-3)),t.length)}},d={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function f(e,t){var n=e>0?"-":"+",i=Math.abs(e),a=Math.floor(i/60),r=i%60;return 0===r?n+String(a):n+String(a)+(t||"")+p(r,2)}function m(e,t){return e%60==0?(e>0?"-":"+")+p(Math.abs(e)/60,2):v(e,t)}function v(e,t){var n=Math.abs(e);return(e>0?"-":"+")+p(Math.floor(n/60),2)+(t||"")+p(n%60,2)}var g={G:function(e,t,n){var i=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var i=e.getUTCFullYear();return n.ordinalNumber(i>0?i:1-i,{unit:"year"})}return h.y(e,t)},Y:function(e,t,n,i){var a=(0,u.Z)(e,i),r=a>0?a:1-a;return"YY"===t?p(r%100,2):"Yo"===t?n.ordinalNumber(r,{unit:"year"}):p(r,t.length)},R:function(e,t){return p((0,l.Z)(e),t.length)},u:function(e,t){return p(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return p(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return p(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){var i=e.getUTCMonth();switch(t){case"M":case"MM":return h.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return p(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){var a=(0,c.Z)(e,i);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):p(a,t.length)},I:function(e,t,n){var i=(0,o.Z)(e);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):p(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):h.d(e,t)},D:function(e,t,n){var i=function(e){(0,s.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((n-t.getTime())/864e5)+1}(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):p(i,t.length)},E:function(e,t,n){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){var a=e.getUTCDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return p(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){var a=e.getUTCDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return p(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){var i=e.getUTCDay(),a=0===i?7:i;switch(t){case"i":return String(a);case"ii":return p(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){var i=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var i,a=e.getUTCHours();switch(i=12===a?d.noon:0===a?d.midnight:a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){var i,a=e.getUTCHours();switch(i=a>=17?d.evening:a>=12?d.afternoon:a>=4?d.morning:d.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var i=e.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return h.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):h.H(e,t)},K:function(e,t,n){var i=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):p(i,t.length)},k:function(e,t,n){var i=e.getUTCHours();return(0===i&&(i=24),"ko"===t)?n.ordinalNumber(i,{unit:"hour"}):p(i,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):h.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):h.s(e,t)},S:function(e,t){return h.S(e,t)},X:function(e,t,n,i){var a=(i._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return m(a);case"XXXX":case"XX":return v(a);default:return v(a,":")}},x:function(e,t,n,i){var a=(i._originalDate||e).getTimezoneOffset();switch(t){case"x":return m(a);case"xxxx":case"xx":return v(a);default:return v(a,":")}},O:function(e,t,n,i){var a=(i._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+f(a,":");default:return"GMT"+v(a,":")}},z:function(e,t,n,i){var a=(i._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+f(a,":");default:return"GMT"+v(a,":")}},t:function(e,t,n,i){return p(Math.floor((i._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,n,i){return p((i._originalDate||e).getTime(),t.length)}},x=n(41245),b=n(25558),y=n(70004),w=n(47869),_=n(47108),k=n(61883),C=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,E=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j=/^'([^]*?)'?$/,M=/''/g,S=/[a-zA-Z]/;function T(e,t,n){(0,s.Z)(2,arguments);var o,l,c,u,p,h,d,f,m,v,T,A,O,N,R,F,D,I,L=String(t),P=(0,_.j)(),z=null!==(o=null!==(l=null==n?void 0:n.locale)&&void 0!==l?l:P.locale)&&void 0!==o?o:k.Z,Z=(0,w.Z)(null!==(c=null!==(u=null!==(p=null!==(h=null==n?void 0:n.firstWeekContainsDate)&&void 0!==h?h:null==n?void 0:null===(d=n.locale)||void 0===d?void 0:null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==p?p:P.firstWeekContainsDate)&&void 0!==u?u:null===(m=P.locale)||void 0===m?void 0:null===(v=m.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==c?c:1);if(!(Z>=1&&Z<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var B=(0,w.Z)(null!==(T=null!==(A=null!==(O=null!==(N=null==n?void 0:n.weekStartsOn)&&void 0!==N?N:null==n?void 0:null===(R=n.locale)||void 0===R?void 0:null===(F=R.options)||void 0===F?void 0:F.weekStartsOn)&&void 0!==O?O:P.weekStartsOn)&&void 0!==A?A:null===(D=P.locale)||void 0===D?void 0:null===(I=D.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==T?T:0);if(!(B>=0&&B<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!z.localize)throw RangeError("locale must contain localize property");if(!z.formatLong)throw RangeError("locale must contain formatLong property");var $=(0,r.Z)(e);if(!(0,i.Z)($))throw RangeError("Invalid time value");var V=(0,b.Z)($),U=(0,a.Z)($,V),q={firstWeekContainsDate:Z,weekStartsOn:B,locale:z,_originalDate:$};return L.match(E).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,x.Z[t])(e,z.formatLong):e}).join("").match(C).map(function(i){if("''"===i)return"'";var a,r=i[0];if("'"===r)return(a=i.match(j))?a[1].replace(M,"'"):i;var s=g[r];if(s)return!(null!=n&&n.useAdditionalWeekYearTokens)&&(0,y.Do)(i)&&(0,y.qp)(i,t,String(e)),!(null!=n&&n.useAdditionalDayOfYearTokens)&&(0,y.Iu)(i)&&(0,y.qp)(i,t,String(e)),s(U,i,z.localize,q);if(r.match(S))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return i}).join("")}},85226:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(66237),a=n(31755),r=n(7656);function s(e,t,n){return(0,r.Z)(2,arguments),(0,a.Z)((0,i.Z)(e,t,new Date,n))}},31755:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(41154),a=n(7656),r=n(99735);function s(e){return(0,a.Z)(1,arguments),(!!function(e){return(0,a.Z)(1,arguments),e instanceof Date||"object"===(0,i.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)||"number"==typeof e)&&!isNaN(Number((0,r.Z)(e)))}},66237:function(e,t,n){"use strict";n.d(t,{Z:function(){return eF}});var i=n(41154);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw s}}}}var s=n(61883),o=n(17599),l=n(99735),c=n(41245),u=n(25558),p=n(70004),h=n(47869),d=n(7656);function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(x=function(){return!!e})()}function b(e){var t=x();return function(){var n,a=g(e);return n=t?Reflect.construct(a,arguments,g(this).constructor):a.apply(this,arguments),function(e,t){if(t&&("object"==(0,i.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return f(e)}(this,n)}}function y(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function w(e){var t=function(e,t){if("object"!=(0,i.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,i.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,i.Z)(t)?t:t+""}function _(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,w(i.key),i)}}function k(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function C(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(){function e(){y(this,e),C(this,"priority",void 0),C(this,"subPriority",0)}return k(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),j=function(e){v(n,e);var t=b(n);function n(e,i,a,r,s){var o;return y(this,n),(o=t.call(this)).value=e,o.validateValue=i,o.setValue=a,o.priority=r,s&&(o.subPriority=s),o}return k(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(E),M=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",10),C(f(e),"subPriority",-1),e}return k(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(E),S=function(){function e(){y(this,e),C(this,"incompatibleTokens",void 0),C(this,"priority",void 0),C(this,"subPriority",void 0)}return k(e,[{key:"run",value:function(e,t,n,i){var a=this.parse(e,t,n,i);return a?{setter:new j(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}]),e}(),T=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",140),C(f(e),"incompatibleTokens",["R","u","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,n){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),A=n(68845),O={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},N={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function R(e,t){return e?{value:t(e.value),rest:e.rest}:e}function F(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function D(e,t){var n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};var i="+"===n[1]?1:-1,a=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(a*A.vh+r*A.yJ+s*A.qk),rest:t.slice(n[0].length)}}function I(e){return F(O.anyDigitsSigned,e)}function L(e,t){switch(e){case 1:return F(O.singleDigit,t);case 2:return F(O.twoDigits,t);case 3:return F(O.threeDigits,t);case 4:return F(O.fourDigits,t);default:return F(RegExp("^\\d{1,"+e+"}"),t)}}function P(e,t){switch(e){case 1:return F(O.singleDigitSigned,t);case 2:return F(O.twoDigitsSigned,t);case 3:return F(O.threeDigitsSigned,t);case 4:return F(O.fourDigitsSigned,t);default:return F(RegExp("^-?\\d{1,"+e+"}"),t)}}function z(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Z(e,t){var n,i=t>0,a=i?t:1-t;if(a<=50)n=e||100;else{var r=a+50;n=e+100*Math.floor(r/100)-(e>=r%100?100:0)}return i?n:1-n}function B(e){return e%400==0||e%4==0&&e%100!=0}var $=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",130),C(f(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return R(L(4,e),i);case"yo":return R(n.ordinalNumber(e,{unit:"year"}),i);default:return R(L(t.length,e),i)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n){var i=e.getUTCFullYear();if(n.isTwoDigitYear){var a=Z(n.year,i);return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}var r="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),V=n(86158),U=n(1700),q=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",130),C(f(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return R(L(4,e),i);case"Yo":return R(n.ordinalNumber(e,{unit:"year"}),i);default:return R(L(t.length,e),i)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n,i){var a=(0,V.Z)(e,i);if(n.isTwoDigitYear){var r=Z(n.year,a);return e.setUTCFullYear(r,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,U.Z)(e,i)}var s="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(s,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,U.Z)(e,i)}}]),n}(S),W=n(45196),H=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",130),C(f(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t){return"R"===t?P(4,e):P(t.length,e)}},{key:"set",value:function(e,t,n){var i=new Date(0);return i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0),(0,W.Z)(i)}}]),n}(S),Y=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",130),C(f(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t){return"u"===t?P(4,e):P(t.length,e)}},{key:"set",value:function(e,t,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),G=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",120),C(f(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return L(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),K=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",120),C(f(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return L(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),Q=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),C(f(e),"priority",110),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return e-1};switch(t){case"M":return R(F(O.month,e),i);case"MM":return R(L(2,e),i);case"Mo":return R(n.ordinalNumber(e,{unit:"month"}),i);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),X=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",110),C(f(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return e-1};switch(t){case"L":return R(F(O.month,e),i);case"LL":return R(L(2,e),i);case"Lo":return R(n.ordinalNumber(e,{unit:"month"}),i);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(S),J=n(15876),ee=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",100),C(f(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"w":return F(O.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,i){return(0,U.Z)(function(e,t,n){(0,d.Z)(2,arguments);var i=(0,l.Z)(e),a=(0,h.Z)(t),r=(0,J.Z)(i,n)-a;return i.setUTCDate(i.getUTCDate()-7*r),i}(e,n,i),i)}}]),n}(S),et=n(24789),en=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",100),C(f(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"I":return F(O.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,W.Z)(function(e,t){(0,d.Z)(2,arguments);var n=(0,l.Z)(e),i=(0,h.Z)(t),a=(0,et.Z)(n)-i;return n.setUTCDate(n.getUTCDate()-7*a),n}(e,n))}}]),n}(S),ei=[31,28,31,30,31,30,31,31,30,31,30,31],ea=[31,29,31,30,31,30,31,31,30,31,30,31],er=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",90),C(f(e),"subPriority",1),C(f(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"d":return F(O.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){var n=B(e.getUTCFullYear()),i=e.getUTCMonth();return n?t>=1&&t<=ea[i]:t>=1&&t<=ei[i]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(S),es=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",90),C(f(e),"subpriority",1),C(f(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return F(O.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){return B(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(S),eo=n(47108);function el(e,t,n){(0,d.Z)(2,arguments);var i,a,r,s,o,c,u,p,f=(0,eo.j)(),m=(0,h.Z)(null!==(i=null!==(a=null!==(r=null!==(s=null==n?void 0:n.weekStartsOn)&&void 0!==s?s:null==n?void 0:null===(o=n.locale)||void 0===o?void 0:null===(c=o.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==r?r:f.weekStartsOn)&&void 0!==a?a:null===(u=f.locale)||void 0===u?void 0:null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==i?i:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,l.Z)(e),g=(0,h.Z)(t),x=v.getUTCDay();return v.setUTCDate(v.getUTCDate()+(((g%7+7)%7<m?7:0)+g-x)),v}var ec=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",90),C(f(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,i){return(e=el(e,n,i)).setUTCHours(0,0,0,0),e}}]),n}(S),eu=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",90),C(f(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n,i){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return R(L(t.length,e),a);case"eo":return R(n.ordinalNumber(e,{unit:"day"}),a);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,i){return(e=el(e,n,i)).setUTCHours(0,0,0,0),e}}]),n}(S),ep=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",90),C(f(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n,i){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return R(L(t.length,e),a);case"co":return R(n.ordinalNumber(e,{unit:"day"}),a);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,i){return(e=el(e,n,i)).setUTCHours(0,0,0,0),e}}]),n}(S),eh=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",90),C(f(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return L(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return R(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return R(n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return R(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);default:return R(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,n){return(e=function(e,t){(0,d.Z)(2,arguments);var n=(0,h.Z)(t);n%7==0&&(n-=7);var i=(0,l.Z)(e),a=((n%7+7)%7<1?7:0)+n-i.getUTCDay();return i.setUTCDate(i.getUTCDate()+a),i}(e,n)).setUTCHours(0,0,0,0),e}}]),n}(S),ed=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",80),C(f(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(z(n),0,0,0),e}}]),n}(S),ef=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",80),C(f(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(z(n),0,0,0),e}}]),n}(S),em=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",80),C(f(e),"incompatibleTokens",["a","b","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(z(n),0,0,0),e}}]),n}(S),ev=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",70),C(f(e),"incompatibleTokens",["H","K","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"h":return F(O.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,n){var i=e.getUTCHours()>=12;return i&&n<12?e.setUTCHours(n+12,0,0,0):i||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(S),eg=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",70),C(f(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"H":return F(O.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(S),ex=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",70),C(f(e),"incompatibleTokens",["h","H","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"K":return F(O.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(S),eb=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",70),C(f(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"k":return F(O.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,n){return e.setUTCHours(n<=24?n%24:n,0,0,0),e}}]),n}(S),ey=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",60),C(f(e),"incompatibleTokens",["t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"m":return F(O.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(S),ew=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",50),C(f(e),"incompatibleTokens",["t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"s":return F(O.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return L(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(S),e_=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",30),C(f(e),"incompatibleTokens",["t","T"]),e}return k(n,[{key:"parse",value:function(e,t){return R(L(t.length,e),function(e){return Math.floor(e*Math.pow(10,-t.length+3))})}},{key:"set",value:function(e,t,n){return e.setUTCMilliseconds(n),e}}]),n}(S),ek=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",10),C(f(e),"incompatibleTokens",["t","T","x"]),e}return k(n,[{key:"parse",value:function(e,t){switch(t){case"X":return D(N.basicOptionalMinutes,e);case"XX":return D(N.basic,e);case"XXXX":return D(N.basicOptionalSeconds,e);case"XXXXX":return D(N.extendedOptionalSeconds,e);default:return D(N.extended,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(S),eC=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",10),C(f(e),"incompatibleTokens",["t","T","X"]),e}return k(n,[{key:"parse",value:function(e,t){switch(t){case"x":return D(N.basicOptionalMinutes,e);case"xx":return D(N.basic,e);case"xxxx":return D(N.basicOptionalSeconds,e);case"xxxxx":return D(N.extendedOptionalSeconds,e);default:return D(N.extended,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(S),eE=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",40),C(f(e),"incompatibleTokens","*"),e}return k(n,[{key:"parse",value:function(e){return I(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(S),ej=function(e){v(n,e);var t=b(n);function n(){var e;y(this,n);for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];return C(f(e=t.call.apply(t,[this].concat(a))),"priority",20),C(f(e),"incompatibleTokens","*"),e}return k(n,[{key:"parse",value:function(e){return I(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(S),eM={G:new T,y:new $,Y:new q,R:new H,u:new Y,Q:new G,q:new K,M:new Q,L:new X,w:new ee,I:new en,d:new er,D:new es,E:new ec,e:new eu,c:new ep,i:new eh,a:new ed,b:new ef,B:new em,h:new ev,H:new eg,K:new ex,k:new eb,m:new ey,s:new ew,S:new e_,X:new ek,x:new eC,t:new eE,T:new ej},eS=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eT=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eA=/^'([^]*?)'?$/,eO=/''/g,eN=/\S/,eR=/[a-zA-Z]/;function eF(e,t,n,a){(0,d.Z)(3,arguments);var f=String(e),m=String(t),v=(0,eo.j)(),g=null!==(y=null!==(w=null==a?void 0:a.locale)&&void 0!==w?w:v.locale)&&void 0!==y?y:s.Z;if(!g.match)throw RangeError("locale must contain match property");var x=(0,h.Z)(null!==(_=null!==(k=null!==(C=null!==(E=null==a?void 0:a.firstWeekContainsDate)&&void 0!==E?E:null==a?void 0:null===(j=a.locale)||void 0===j?void 0:null===(S=j.options)||void 0===S?void 0:S.firstWeekContainsDate)&&void 0!==C?C:v.firstWeekContainsDate)&&void 0!==k?k:null===(T=v.locale)||void 0===T?void 0:null===(A=T.options)||void 0===A?void 0:A.firstWeekContainsDate)&&void 0!==_?_:1);if(!(x>=1&&x<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=(0,h.Z)(null!==(O=null!==(N=null!==(R=null!==(F=null==a?void 0:a.weekStartsOn)&&void 0!==F?F:null==a?void 0:null===(D=a.locale)||void 0===D?void 0:null===(I=D.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==R?R:v.weekStartsOn)&&void 0!==N?N:null===(L=v.locale)||void 0===L?void 0:null===(P=L.options)||void 0===P?void 0:P.weekStartsOn)&&void 0!==O?O:0);if(!(b>=0&&b<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===m)return""===f?(0,l.Z)(n):new Date(NaN);var y,w,_,k,C,E,j,S,T,A,O,N,R,F,D,I,L,P,z,Z={firstWeekContainsDate:x,weekStartsOn:b,locale:g},B=[new M],$=m.match(eT).map(function(e){var t=e[0];return t in c.Z?(0,c.Z[t])(e,g.formatLong):e}).join("").match(eS),V=[],U=r($);try{for(U.s();!(z=U.n()).done;){var q=function(){var t=z.value;!(null!=a&&a.useAdditionalWeekYearTokens)&&(0,p.Do)(t)&&(0,p.qp)(t,m,e),!(null!=a&&a.useAdditionalDayOfYearTokens)&&(0,p.Iu)(t)&&(0,p.qp)(t,m,e);var n=t[0],i=eM[n];if(i){var r=i.incompatibleTokens;if(Array.isArray(r)){var s=V.find(function(e){return r.includes(e.token)||e.token===n});if(s)throw RangeError("The format string mustn't contain `".concat(s.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===i.incompatibleTokens&&V.length>0)throw RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));V.push({token:n,fullToken:t});var o=i.run(f,t,g.match,Z);if(!o)return{v:new Date(NaN)};B.push(o.setter),f=o.rest}else{if(n.match(eR))throw RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(eA)[1].replace(eO,"'")),0!==f.indexOf(t))return{v:new Date(NaN)};f=f.slice(t.length)}}();if("object"===(0,i.Z)(q))return q.v}}catch(e){U.e(e)}finally{U.f()}if(f.length>0&&eN.test(f))return new Date(NaN);var W=B.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(e){return B.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),H=(0,l.Z)(n);if(isNaN(H.getTime()))return new Date(NaN);var Y,G=(0,o.Z)(H,(0,u.Z)(H)),K={},Q=r(W);try{for(Q.s();!(Y=Q.n()).done;){var X=Y.value;if(!X.validate(G,Z))return new Date(NaN);var J=X.set(G,K,Z);Array.isArray(J)?(G=J[0],function(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}(K,J[1])):G=J}}catch(e){Q.e(e)}finally{Q.f()}return G}},17599:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(47869),a=n(99735),r=n(7656);function s(e,t){return(0,r.Z)(2,arguments),function(e,t){return(0,r.Z)(2,arguments),new Date((0,a.Z)(e).getTime()+(0,i.Z)(t))}(e,-(0,i.Z)(t))}},77314:function(e,t,n){"use strict";n.d(t,{TA:function(){return nn}});var i,a,r,s=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==o},o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u(Array.isArray(e)?[]:{},e,t):e}function c(e,t,n){return e.concat(t).map(function(e){return l(e,n)})}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||c,n.isMergeableObject=n.isMergeableObject||s;var i,a,r=Array.isArray(t);return r!==Array.isArray(e)?l(t,n):r?n.arrayMerge(e,t,n):(a={},(i=n).isMergeableObject(e)&&Object.keys(e).forEach(function(t){a[t]=l(e[t],i)}),Object.keys(t).forEach(function(n){i.isMergeableObject(t[n])&&e[n]?a[n]=u(e[n],t[n],i):a[n]=l(t[n],i)}),a)}u.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return u(e,n,t)},{})};var p=u,h="object"==typeof global&&global&&global.Object===Object&&global,d="object"==typeof self&&self&&self.Object===Object&&self,f=h||d||Function("return this")(),m=f.Symbol,v=Object.prototype,g=v.hasOwnProperty,x=v.toString,b=m?m.toStringTag:void 0,y=function(e){var t=g.call(e,b),n=e[b];try{e[b]=void 0;var i=!0}catch(e){}var a=x.call(e);return i&&(t?e[b]=n:delete e[b]),a},w=Object.prototype.toString,_=m?m.toStringTag:void 0,k=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":_&&_ in Object(e)?y(e):w.call(e)},C=function(e,t){return function(n){return e(t(n))}},E=C(Object.getPrototypeOf,Object),j=function(e){return null!=e&&"object"==typeof e},M=Object.prototype,S=Function.prototype.toString,T=M.hasOwnProperty,A=S.call(Object),O=function(e){if(!j(e)||"[object Object]"!=k(e))return!1;var t=E(e);if(null===t)return!0;var n=T.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&S.call(n)==A},N=function(e,t){return e===t||e!=e&&t!=t},R=function(e,t){for(var n=e.length;n--;)if(N(e[n][0],t))return n;return -1},F=Array.prototype.splice;function D(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}D.prototype.clear=function(){this.__data__=[],this.size=0},D.prototype.delete=function(e){var t=this.__data__,n=R(t,e);return!(n<0)&&(n==t.length-1?t.pop():F.call(t,n,1),--this.size,!0)},D.prototype.get=function(e){var t=this.__data__,n=R(t,e);return n<0?void 0:t[n][1]},D.prototype.has=function(e){return R(this.__data__,e)>-1},D.prototype.set=function(e,t){var n=this.__data__,i=R(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};var I=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},L=function(e){if(!I(e))return!1;var t=k(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},P=f["__core-js_shared__"],z=(i=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",Z=Function.prototype.toString,B=function(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""},$=/^\[object .+?Constructor\]$/,V=Object.prototype,U=Function.prototype.toString,q=V.hasOwnProperty,W=RegExp("^"+U.call(q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=function(e,t){var n,i=null==e?void 0:e[t];return I(n=i)&&(!z||!(z in n))&&(L(n)?W:$).test(B(n))?i:void 0},Y=H(f,"Map"),G=H(Object,"create"),K=Object.prototype.hasOwnProperty,Q=Object.prototype.hasOwnProperty;function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}X.prototype.clear=function(){this.__data__=G?G(null):{},this.size=0},X.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},X.prototype.get=function(e){var t=this.__data__;if(G){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return K.call(t,e)?t[e]:void 0},X.prototype.has=function(e){var t=this.__data__;return G?void 0!==t[e]:Q.call(t,e)},X.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=G&&void 0===t?"__lodash_hash_undefined__":t,this};var J=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},ee=function(e,t){var n=e.__data__;return J(t)?n["string"==typeof t?"string":"hash"]:n.map};function et(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function en(e){var t=this.__data__=new D(e);this.size=t.size}et.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(Y||D),string:new X}},et.prototype.delete=function(e){var t=ee(this,e).delete(e);return this.size-=t?1:0,t},et.prototype.get=function(e){return ee(this,e).get(e)},et.prototype.has=function(e){return ee(this,e).has(e)},et.prototype.set=function(e,t){var n=ee(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},en.prototype.clear=function(){this.__data__=new D,this.size=0},en.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},en.prototype.get=function(e){return this.__data__.get(e)},en.prototype.has=function(e){return this.__data__.has(e)},en.prototype.set=function(e,t){var n=this.__data__;if(n instanceof D){var i=n.__data__;if(!Y||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new et(i)}return n.set(e,t),this.size=n.size,this};var ei=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e},ea=function(){try{var e=H(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),er=function(e,t,n){"__proto__"==t&&ea?ea(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},es=Object.prototype.hasOwnProperty,eo=function(e,t,n){var i=e[t];es.call(e,t)&&N(i,n)&&(void 0!==n||t in e)||er(e,t,n)},el=function(e,t,n,i){var a=!n;n||(n={});for(var r=-1,s=t.length;++r<s;){var o=t[r],l=i?i(n[o],e[o],o,n,e):void 0;void 0===l&&(l=e[o]),a?er(n,o,l):eo(n,o,l)}return n},ec=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i},eu=function(e){return j(e)&&"[object Arguments]"==k(e)},ep=Object.prototype,eh=ep.hasOwnProperty,ed=ep.propertyIsEnumerable,ef=eu(function(){return arguments}())?eu:function(e){return j(e)&&eh.call(e,"callee")&&!ed.call(e,"callee")},em=Array.isArray,ev="object"==typeof exports&&exports&&!exports.nodeType&&exports,eg=ev&&"object"==typeof module&&module&&!module.nodeType&&module,ex=eg&&eg.exports===ev?f.Buffer:void 0,eb=(ex?ex.isBuffer:void 0)||function(){return!1},ey=/^(?:0|[1-9]\d*)$/,ew=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ey.test(e))&&e>-1&&e%1==0&&e<t},e_=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},ek={};ek["[object Float32Array]"]=ek["[object Float64Array]"]=ek["[object Int8Array]"]=ek["[object Int16Array]"]=ek["[object Int32Array]"]=ek["[object Uint8Array]"]=ek["[object Uint8ClampedArray]"]=ek["[object Uint16Array]"]=ek["[object Uint32Array]"]=!0,ek["[object Arguments]"]=ek["[object Array]"]=ek["[object ArrayBuffer]"]=ek["[object Boolean]"]=ek["[object DataView]"]=ek["[object Date]"]=ek["[object Error]"]=ek["[object Function]"]=ek["[object Map]"]=ek["[object Number]"]=ek["[object Object]"]=ek["[object RegExp]"]=ek["[object Set]"]=ek["[object String]"]=ek["[object WeakMap]"]=!1;var eC=function(e){return function(t){return e(t)}},eE="object"==typeof exports&&exports&&!exports.nodeType&&exports,ej=eE&&"object"==typeof module&&module&&!module.nodeType&&module,eM=ej&&ej.exports===eE&&h.process,eS=function(){try{var e=ej&&ej.require&&ej.require("util").types;if(e)return e;return eM&&eM.binding&&eM.binding("util")}catch(e){}}(),eT=eS&&eS.isTypedArray,eA=eT?eC(eT):function(e){return j(e)&&e_(e.length)&&!!ek[k(e)]},eO=Object.prototype.hasOwnProperty,eN=function(e,t){var n=em(e),i=!n&&ef(e),a=!n&&!i&&eb(e),r=!n&&!i&&!a&&eA(e),s=n||i||a||r,o=s?ec(e.length,String):[],l=o.length;for(var c in e)(t||eO.call(e,c))&&!(s&&("length"==c||a&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ew(c,l)))&&o.push(c);return o},eR=Object.prototype,eF=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||eR)},eD=C(Object.keys,Object),eI=Object.prototype.hasOwnProperty,eL=function(e){if(!eF(e))return eD(e);var t=[];for(var n in Object(e))eI.call(e,n)&&"constructor"!=n&&t.push(n);return t},eP=function(e){return null!=e&&e_(e.length)&&!L(e)},ez=function(e){return eP(e)?eN(e):eL(e)},eZ=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},eB=Object.prototype.hasOwnProperty,e$=function(e){if(!I(e))return eZ(e);var t=eF(e),n=[];for(var i in e)"constructor"==i&&(t||!eB.call(e,i))||n.push(i);return n},eV=function(e){return eP(e)?eN(e,!0):e$(e)},eU="object"==typeof exports&&exports&&!exports.nodeType&&exports,eq=eU&&"object"==typeof module&&module&&!module.nodeType&&module,eW=eq&&eq.exports===eU?f.Buffer:void 0,eH=eW?eW.allocUnsafe:void 0,eY=function(e,t){if(t)return e.slice();var n=e.length,i=eH?eH(n):new e.constructor(n);return e.copy(i),i},eG=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},eK=function(e,t){for(var n=-1,i=null==e?0:e.length,a=0,r=[];++n<i;){var s=e[n];t(s,n,e)&&(r[a++]=s)}return r},eQ=function(){return[]},eX=Object.prototype.propertyIsEnumerable,eJ=Object.getOwnPropertySymbols,e0=eJ?function(e){return null==e?[]:eK(eJ(e=Object(e)),function(t){return eX.call(e,t)})}:eQ,e1=function(e,t){for(var n=-1,i=t.length,a=e.length;++n<i;)e[a+n]=t[n];return e},e2=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)e1(t,e0(e)),e=E(e);return t}:eQ,e3=function(e,t,n){var i=t(e);return em(e)?i:e1(i,n(e))},e4=function(e){return e3(e,ez,e0)},e5=function(e){return e3(e,eV,e2)},e7=H(f,"DataView"),e6=H(f,"Promise"),e8=H(f,"Set"),e9=H(f,"WeakMap"),te="[object Map]",tt="[object Promise]",tn="[object Set]",ti="[object WeakMap]",ta="[object DataView]",tr=B(e7),ts=B(Y),to=B(e6),tl=B(e8),tc=B(e9),tu=k;(e7&&tu(new e7(new ArrayBuffer(1)))!=ta||Y&&tu(new Y)!=te||e6&&tu(e6.resolve())!=tt||e8&&tu(new e8)!=tn||e9&&tu(new e9)!=ti)&&(tu=function(e){var t=k(e),n="[object Object]"==t?e.constructor:void 0,i=n?B(n):"";if(i)switch(i){case tr:return ta;case ts:return te;case to:return tt;case tl:return tn;case tc:return ti}return t});var tp=tu,th=Object.prototype.hasOwnProperty,td=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&th.call(e,"index")&&(n.index=e.index,n.input=e.input),n},tf=f.Uint8Array,tm=function(e){var t=new e.constructor(e.byteLength);return new tf(t).set(new tf(e)),t},tv=function(e,t){var n=t?tm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},tg=/\w*$/,tx=function(e){var t=new e.constructor(e.source,tg.exec(e));return t.lastIndex=e.lastIndex,t},tb=m?m.prototype:void 0,ty=tb?tb.valueOf:void 0,tw=function(e,t){var n=t?tm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},t_=function(e,t,n){var i=e.constructor;switch(t){case"[object ArrayBuffer]":return tm(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return tv(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return tw(e,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return tx(e);case"[object Symbol]":return ty?Object(ty.call(e)):{}}},tk=Object.create,tC=function(){function e(){}return function(t){if(!I(t))return{};if(tk)return tk(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),tE=eS&&eS.isMap,tj=tE?eC(tE):function(e){return j(e)&&"[object Map]"==tp(e)},tM=eS&&eS.isSet,tS=tM?eC(tM):function(e){return j(e)&&"[object Set]"==tp(e)},tT="[object Arguments]",tA="[object Function]",tO="[object Object]",tN={};tN[tT]=tN["[object Array]"]=tN["[object ArrayBuffer]"]=tN["[object DataView]"]=tN["[object Boolean]"]=tN["[object Date]"]=tN["[object Float32Array]"]=tN["[object Float64Array]"]=tN["[object Int8Array]"]=tN["[object Int16Array]"]=tN["[object Int32Array]"]=tN["[object Map]"]=tN["[object Number]"]=tN[tO]=tN["[object RegExp]"]=tN["[object Set]"]=tN["[object String]"]=tN["[object Symbol]"]=tN["[object Uint8Array]"]=tN["[object Uint8ClampedArray]"]=tN["[object Uint16Array]"]=tN["[object Uint32Array]"]=!0,tN["[object Error]"]=tN[tA]=tN["[object WeakMap]"]=!1;var tR=function e(t,n,i,a,r,s){var o,l=1&n,c=2&n,u=4&n;if(i&&(o=r?i(t,a,r,s):i(t)),void 0!==o)return o;if(!I(t))return t;var p=em(t);if(p){if(o=td(t),!l)return eG(t,o)}else{var h,d,f,m,v=tp(t),g=v==tA||"[object GeneratorFunction]"==v;if(eb(t))return eY(t,l);if(v==tO||v==tT||g&&!r){if(o=c||g?{}:"function"!=typeof t.constructor||eF(t)?{}:tC(E(t)),!l)return c?(d=(h=o)&&el(t,eV(t),h),el(t,e2(t),d)):(m=(f=o)&&el(t,ez(t),f),el(t,e0(t),m))}else{if(!tN[v])return r?t:{};o=t_(t,v,l)}}s||(s=new en);var x=s.get(t);if(x)return x;s.set(t,o),tS(t)?t.forEach(function(a){o.add(e(a,n,i,a,t,s))}):tj(t)&&t.forEach(function(a,r){o.set(r,e(a,n,i,r,t,s))});var b=u?c?e5:e4:c?eV:ez,y=p?void 0:b(t);return ei(y||t,function(a,r){y&&(a=t[r=a]),eo(o,r,e(a,n,i,r,t,s))}),o},tF=function(e){return tR(e,5)},tD=n(2265),tI=n(8727),tL=n.n(tI),tP=function(e,t){},tz=function(e){return tR(e,4)},tZ=function(e,t){for(var n=-1,i=null==e?0:e.length,a=Array(i);++n<i;)a[n]=t(e[n],n,e);return a},tB=function(e){return"symbol"==typeof e||j(e)&&"[object Symbol]"==k(e)};function t$(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var i=arguments,a=t?t.apply(this,i):i[0],r=n.cache;if(r.has(a))return r.get(a);var s=e.apply(this,i);return n.cache=r.set(a,s)||r,s};return n.cache=new(t$.Cache||et),n}t$.Cache=et;var tV=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tU=/\\(\\)?/g,tq=(r=(a=t$(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(tV,function(e,n,i,a){t.push(i?a.replace(tU,"$1"):n||e)}),t},function(e){return 500===r.size&&r.clear(),e})).cache,a),tW=1/0,tH=function(e){if("string"==typeof e||tB(e))return e;var t=e+"";return"0"==t&&1/e==-tW?"-0":t},tY=1/0,tG=m?m.prototype:void 0,tK=tG?tG.toString:void 0,tQ=function e(t){if("string"==typeof t)return t;if(em(t))return tZ(t,e)+"";if(tB(t))return tK?tK.call(t):"";var n=t+"";return"0"==n&&1/t==-tY?"-0":n},tX=function(e){return em(e)?tZ(e,tH):tB(e)?[e]:eG(tq(null==e?"":tQ(e)))};function tJ(){return(tJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function t0(e,t){if(null==e)return{};var n,i,a={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}function t1(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n(63285);var t2=(0,tD.createContext)(void 0);t2.displayName="FormikContext",t2.Provider,t2.Consumer;var t3=function(e){return Array.isArray(e)&&0===e.length},t4=function(e){return"function"==typeof e},t5=function(e){return null!==e&&"object"==typeof e},t7=function(e){return"[object String]"===Object.prototype.toString.call(e)},t6=function(e){return t5(e)&&t4(e.then)};function t8(e,t,n,i){void 0===i&&(i=0);for(var a=tX(t);e&&i<a.length;)e=e[a[i++]];return i===a.length||e?void 0===e?n:e:n}function t9(e,t,n){for(var i=tz(e),a=i,r=0,s=tX(t);r<s.length-1;r++){var o=s[r],l=t8(e,s.slice(0,r+1));if(l&&(t5(l)||Array.isArray(l)))a=a[o]=tz(l);else{var c=s[r+1];a=a[o]=String(Math.floor(Number(c)))===c&&Number(c)>=0?[]:{}}}return(0===r?e:a)[s[r]]===n?e:(void 0===n?delete a[s[r]]:a[s[r]]=n,0===r&&void 0===n&&delete i[s[r]],i)}var ne={},nt={};function nn(e){var t=e.validateOnChange,n=void 0===t||t,i=e.validateOnBlur,a=void 0===i||i,r=e.validateOnMount,s=void 0!==r&&r,o=e.isInitialValid,l=e.enableReinitialize,c=void 0!==l&&l,u=e.onSubmit,h=t0(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),d=tJ({validateOnChange:n,validateOnBlur:a,validateOnMount:s,onSubmit:u},h),f=(0,tD.useRef)(d.initialValues),m=(0,tD.useRef)(d.initialErrors||ne),v=(0,tD.useRef)(d.initialTouched||nt),g=(0,tD.useRef)(d.initialStatus),x=(0,tD.useRef)(!1),b=(0,tD.useRef)({});(0,tD.useEffect)(function(){return x.current=!0,function(){x.current=!1}},[]);var y=(0,tD.useState)(0)[1],w=(0,tD.useRef)({values:tF(d.initialValues),errors:tF(d.initialErrors)||ne,touched:tF(d.initialTouched)||nt,status:tF(d.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),_=w.current,k=(0,tD.useCallback)(function(e){var t=w.current;w.current=function(e,t){switch(t.type){case"SET_VALUES":return tJ({},e,{values:t.payload});case"SET_TOUCHED":return tJ({},e,{touched:t.payload});case"SET_ERRORS":if(tL()(e.errors,t.payload))return e;return tJ({},e,{errors:t.payload});case"SET_STATUS":return tJ({},e,{status:t.payload});case"SET_ISSUBMITTING":return tJ({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return tJ({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return tJ({},e,{values:t9(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return tJ({},e,{touched:t9(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return tJ({},e,{errors:t9(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return tJ({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return tJ({},e,{touched:function e(t,n,i,a){void 0===i&&(i=new WeakMap),void 0===a&&(a={});for(var r=0,s=Object.keys(t);r<s.length;r++){var o=s[r],l=t[o];t5(l)?i.get(l)||(i.set(l,!0),a[o]=Array.isArray(l)?[]:{},e(l,n,i,a[o])):a[o]=n}return a}(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return tJ({},e,{isSubmitting:!1});default:return e}}(t,e),t!==w.current&&y(function(e){return e+1})},[]),C=(0,tD.useCallback)(function(e,t){return new Promise(function(n,i){var a=d.validate(e,t);null==a?n(ne):t6(a)?a.then(function(e){n(e||ne)},function(e){i(e)}):n(a)})},[d.validate]),E=(0,tD.useCallback)(function(e,t){var n,i,a=d.validationSchema,r=t4(a)?a(t):a,s=t&&r.validateAt?r.validateAt(t,e):(void 0===n&&(n=!1),i=function e(t){var n=Array.isArray(t)?[]:{};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=String(i);!0===Array.isArray(t[a])?n[a]=t[a].map(function(t){return!0===Array.isArray(t)||O(t)?e(t):""!==t?t:void 0}):O(t[a])?n[a]=e(t[a]):n[a]=""!==t[a]?t[a]:void 0}return n}(e),r[n?"validateSync":"validate"](i,{abortEarly:!1,context:i}));return new Promise(function(e,t){s.then(function(){e(ne)},function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return t9(t,e.path,e.message);for(var n=e.inner,i=Array.isArray(n),a=0,n=i?n:n[Symbol.iterator]();;){if(i){if(a>=n.length)break;r=n[a++]}else{if((a=n.next()).done)break;r=a.value}var r,s=r;t8(t,s.path)||(t=t9(t,s.path,s.message))}}return t}(n)):t(n)})})},[d.validationSchema]),j=(0,tD.useCallback)(function(e,t){return new Promise(function(n){return n(b.current[e].validate(t))})},[]),M=(0,tD.useCallback)(function(e){var t=Object.keys(b.current).filter(function(e){return t4(b.current[e].validate)});return Promise.all(t.length>0?t.map(function(t){return j(t,t8(e,t))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")]).then(function(e){return e.reduce(function(e,n,i){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=t9(e,t[i],n)),e},{})})},[j]),S=(0,tD.useCallback)(function(e){return Promise.all([M(e),d.validationSchema?E(e):{},d.validate?C(e):{}]).then(function(e){var t=e[0],n=e[1],i=e[2];return p.all([t,n,i],{arrayMerge:ni})})},[d.validate,d.validationSchema,M,C,E]),T=nr(function(e){return void 0===e&&(e=_.values),k({type:"SET_ISVALIDATING",payload:!0}),S(e).then(function(e){return x.current&&(k({type:"SET_ISVALIDATING",payload:!1}),k({type:"SET_ERRORS",payload:e})),e})});(0,tD.useEffect)(function(){s&&!0===x.current&&tL()(f.current,d.initialValues)&&T(f.current)},[s,T]);var A=(0,tD.useCallback)(function(e){var t=e&&e.values?e.values:f.current,n=e&&e.errors?e.errors:m.current?m.current:d.initialErrors||{},i=e&&e.touched?e.touched:v.current?v.current:d.initialTouched||{},a=e&&e.status?e.status:g.current?g.current:d.initialStatus;f.current=t,m.current=n,v.current=i,g.current=a;var r=function(){k({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:i,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(d.onReset){var s=d.onReset(_.values,K);t6(s)?s.then(r):r()}else r()},[d.initialErrors,d.initialStatus,d.initialTouched,d.onReset]);(0,tD.useEffect)(function(){!0===x.current&&!tL()(f.current,d.initialValues)&&c&&(f.current=d.initialValues,A(),s&&T(f.current))},[c,d.initialValues,A,s,T]),(0,tD.useEffect)(function(){c&&!0===x.current&&!tL()(m.current,d.initialErrors)&&(m.current=d.initialErrors||ne,k({type:"SET_ERRORS",payload:d.initialErrors||ne}))},[c,d.initialErrors]),(0,tD.useEffect)(function(){c&&!0===x.current&&!tL()(v.current,d.initialTouched)&&(v.current=d.initialTouched||nt,k({type:"SET_TOUCHED",payload:d.initialTouched||nt}))},[c,d.initialTouched]),(0,tD.useEffect)(function(){c&&!0===x.current&&!tL()(g.current,d.initialStatus)&&(g.current=d.initialStatus,k({type:"SET_STATUS",payload:d.initialStatus}))},[c,d.initialStatus,d.initialTouched]);var N=nr(function(e){if(b.current[e]&&t4(b.current[e].validate)){var t=t8(_.values,e),n=b.current[e].validate(t);return t6(n)?(k({type:"SET_ISVALIDATING",payload:!0}),n.then(function(e){return e}).then(function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),k({type:"SET_ISVALIDATING",payload:!1})})):(k({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return d.validationSchema?(k({type:"SET_ISVALIDATING",payload:!0}),E(_.values,e).then(function(e){return e}).then(function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t8(t,e)}}),k({type:"SET_ISVALIDATING",payload:!1})})):Promise.resolve()}),R=(0,tD.useCallback)(function(e,t){var n=t.validate;b.current[e]={validate:n}},[]),F=(0,tD.useCallback)(function(e){delete b.current[e]},[]),D=nr(function(e,t){return k({type:"SET_TOUCHED",payload:e}),(void 0===t?a:t)?T(_.values):Promise.resolve()}),I=(0,tD.useCallback)(function(e){k({type:"SET_ERRORS",payload:e})},[]),L=nr(function(e,t){var i=t4(e)?e(_.values):e;return k({type:"SET_VALUES",payload:i}),(void 0===t?n:t)?T(i):Promise.resolve()}),P=(0,tD.useCallback)(function(e,t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})},[]),z=nr(function(e,t,i){return k({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===i?n:i)?T(t9(_.values,e,t)):Promise.resolve()}),Z=(0,tD.useCallback)(function(e,t){var n,i=t,a=e;if(!t7(e)){e.persist&&e.persist();var r=e.target?e.target:e.currentTarget,s=r.type,o=r.name,l=r.id,c=r.value,u=r.checked,p=(r.outerHTML,r.options),h=r.multiple;i=t||o||l,a=/number|range/.test(s)?isNaN(n=parseFloat(c))?"":n:/checkbox/.test(s)?function(e,t,n){if("boolean"==typeof e)return!!t;var i=[],a=!1,r=-1;if(Array.isArray(e))i=e,a=(r=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return!!t;return t&&n&&!a?i.concat(n):a?i.slice(0,r).concat(i.slice(r+1)):i}(t8(_.values,i),u,c):p&&h?Array.from(p).filter(function(e){return e.selected}).map(function(e){return e.value}):c}i&&z(i,a)},[z,_.values]),B=nr(function(e){if(t7(e))return function(t){return Z(t,e)};Z(e)}),$=nr(function(e,t,n){return void 0===t&&(t=!0),k({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?a:n)?T(_.values):Promise.resolve()}),V=(0,tD.useCallback)(function(e,t){e.persist&&e.persist();var n=e.target,i=n.name,a=n.id;n.outerHTML,$(t||i||a,!0)},[$]),U=nr(function(e){if(t7(e))return function(t){return V(t,e)};V(e)}),q=(0,tD.useCallback)(function(e){t4(e)?k({type:"SET_FORMIK_STATE",payload:e}):k({type:"SET_FORMIK_STATE",payload:function(){return e}})},[]),W=(0,tD.useCallback)(function(e){k({type:"SET_STATUS",payload:e})},[]),H=(0,tD.useCallback)(function(e){k({type:"SET_ISSUBMITTING",payload:e})},[]),Y=nr(function(){return k({type:"SUBMIT_ATTEMPT"}),T().then(function(e){var t,n=e instanceof Error;if(!n&&0===Object.keys(e).length){try{if(t=Q(),void 0===t)return}catch(e){throw e}return Promise.resolve(t).then(function(e){return x.current&&k({type:"SUBMIT_SUCCESS"}),e}).catch(function(e){if(x.current)throw k({type:"SUBMIT_FAILURE"}),e})}if(x.current&&(k({type:"SUBMIT_FAILURE"}),n))throw e})}),G=nr(function(e){e&&e.preventDefault&&t4(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&t4(e.stopPropagation)&&e.stopPropagation(),Y().catch(function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)})}),K={resetForm:A,validateForm:T,validateField:N,setErrors:I,setFieldError:P,setFieldTouched:$,setFieldValue:z,setStatus:W,setSubmitting:H,setTouched:D,setValues:L,setFormikState:q,submitForm:Y},Q=nr(function(){return u(_.values,K)}),X=nr(function(e){e&&e.preventDefault&&t4(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&t4(e.stopPropagation)&&e.stopPropagation(),A()}),J=(0,tD.useCallback)(function(e){return{value:t8(_.values,e),error:t8(_.errors,e),touched:!!t8(_.touched,e),initialValue:t8(f.current,e),initialTouched:!!t8(v.current,e),initialError:t8(m.current,e)}},[_.errors,_.touched,_.values]),ee=(0,tD.useCallback)(function(e){return{setValue:function(t,n){return z(e,t,n)},setTouched:function(t,n){return $(e,t,n)},setError:function(t){return P(e,t)}}},[z,$,P]),et=(0,tD.useCallback)(function(e){var t=t5(e),n=t?e.name:e,i=t8(_.values,n),a={name:n,value:i,onChange:B,onBlur:U};if(t){var r=e.type,s=e.value,o=e.as,l=e.multiple;"checkbox"===r?void 0===s?a.checked=!!i:(a.checked=!!(Array.isArray(i)&&~i.indexOf(s)),a.value=s):"radio"===r?(a.checked=i===s,a.value=s):"select"===o&&l&&(a.value=a.value||[],a.multiple=!0)}return a},[U,B,_.values]),en=(0,tD.useMemo)(function(){return!tL()(f.current,_.values)},[f.current,_.values]),ei=(0,tD.useMemo)(function(){return void 0!==o?en?_.errors&&0===Object.keys(_.errors).length:!1!==o&&t4(o)?o(d):o:_.errors&&0===Object.keys(_.errors).length},[o,en,_.errors,d]);return tJ({},_,{initialValues:f.current,initialErrors:m.current,initialTouched:v.current,initialStatus:g.current,handleBlur:U,handleChange:B,handleReset:X,handleSubmit:G,resetForm:A,setErrors:I,setFormikState:q,setFieldTouched:$,setFieldValue:z,setFieldError:P,setStatus:W,setSubmitting:H,setTouched:D,setValues:L,submitForm:Y,validateForm:T,validateField:N,isValid:ei,dirty:en,unregisterField:F,registerField:R,getFieldProps:et,getFieldMeta:J,getFieldHelpers:ee,validateOnBlur:a,validateOnChange:n,validateOnMount:s})}function ni(e,t,n){var i=e.slice();return t.forEach(function(t,a){if(void 0===i[a]){var r=!1!==n.clone&&n.isMergeableObject(t);i[a]=r?p(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?i[a]=p(e[a],t,n):-1===e.indexOf(t)&&i.push(t)}),i}var na="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?tD.useLayoutEffect:tD.useEffect;function nr(e){var t=(0,tD.useRef)(e);return na(function(){t.current=e}),(0,tD.useCallback)(function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.current.apply(void 0,n)},[])}(0,tD.forwardRef)(function(e,t){var n,i=e.action,a=t0(e,["action"]),r=((n=(0,tD.useContext)(t2))||tP(!1),n),s=r.handleReset,o=r.handleSubmit;return(0,tD.createElement)("form",tJ({onSubmit:o,ref:t,onReset:s,action:null!=i?i:"#"},a))}).displayName="Form";var ns=function(e,t,n){var i=nu(e),a=i[t];return i.splice(t,1),i.splice(n,0,a),i},no=function(e,t,n){var i=nu(e),a=i[t];return i[t]=i[n],i[n]=a,i},nl=function(e,t,n){var i=nu(e);return i.splice(t,0,n),i},nc=function(e,t,n){var i=nu(e);return i[t]=n,i},nu=function(e){if(!e)return[];if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map(function(e){return parseInt(e)}).reduce(function(e,t){return t>e?t:e},0);return Array.from(tJ({},e,{length:t+1}))},np=function(e,t){var n="function"==typeof e?e:t;return function(e){return Array.isArray(e)||t5(e)?n(nu(e)):e}};(function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,i){var a=n.props,r=a.name;(0,a.formik.setFormikState)(function(n){var a=np(i,e),s=np(t,e),o=t9(n.values,r,e(t8(n.values,r))),l=i?a(t8(n.errors,r)):void 0,c=t?s(t8(n.touched,r)):void 0;return t3(l)&&(l=void 0),t3(c)&&(c=void 0),tJ({},n,{values:o,errors:i?t9(n.errors,r,l):n.errors,touched:t?t9(n.touched,r,c):n.touched})})},n.push=function(e){return n.updateArrayField(function(t){return[].concat(nu(t),[tF(e)])},!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField(function(n){return no(n,e,t)},!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField(function(n){return ns(n,e,t)},!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField(function(n){return nl(n,e,t)},function(t){return nl(t,e,null)},function(t){return nl(t,e,null)})},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField(function(n){return nc(n,e,t)},!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField(function(n){var i=n?[e].concat(n):[e];return t=i.length,i},function(e){return e?[null].concat(e):[null]},function(e){return e?[null].concat(e):[null]}),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(t1(n)),n.pop=n.pop.bind(t1(n)),n}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e;var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!tL()(t8(e.formik.values,e.name),t8(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField(function(n){var i=n?nu(n):[];return t||(t=i[e]),t4(i.splice)&&i.splice(e,1),t4(i.every)&&i.every(function(e){return void 0===e})?[]:i},!0,!0),t},n.pop=function(){var e;return this.updateArrayField(function(t){var n=t.slice();return e||(e=n&&n.pop&&n.pop()),n},!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,i=t.render,a=t.children,r=t.name,s=t0(t.formik,["validate","validationSchema"]),o=tJ({},e,{form:s,name:r});return n?(0,tD.createElement)(n,o):i?i(o):a?"function"==typeof a?a(o):0===tD.Children.count(a)?null:tD.Children.only(a):null},t})(tD.Component).defaultProps={validateOnChange:!0}},63285:function(e,t,n){"use strict";var i=n(84851),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function l(e){return i.isMemo(e)?s:o[e.$$typeof]||a}o[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[i.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(f){var a=d(n);a&&a!==f&&e(t,a,i)}var s=u(n);p&&(s=s.concat(p(n)));for(var o=l(t),m=l(n),v=0;v<s.length;++v){var g=s[v];if(!r[g]&&!(i&&i[g])&&!(m&&m[g])&&!(o&&o[g])){var x=h(n,g);try{c(t,g,x)}catch(e){}}}}return t}},91978:function(){"use strict";var e,t={allowDownsampling:!0},n=function(){function e(e,t){var n=this;this._resolutionMediaQueryList=null,this._resolutionListener=function(e){return n._onResolutionChanged()},this._canvasConfiguredListeners=[],this.canvas=e,this._canvasSize={width:this.canvas.clientWidth,height:this.canvas.clientHeight},this._options=t,this._configureCanvas(),this._installResolutionListener()}return e.prototype.destroy=function(){this._canvasConfiguredListeners.length=0,this._uninstallResolutionListener(),this.canvas=null},Object.defineProperty(e.prototype,"canvasSize",{get:function(){return{width:this._canvasSize.width,height:this._canvasSize.height}},enumerable:!0,configurable:!0}),e.prototype.resizeCanvas=function(e){this._canvasSize={width:e.width,height:e.height},this._configureCanvas()},Object.defineProperty(e.prototype,"pixelRatio",{get:function(){var e=this.canvas.ownerDocument.defaultView;if(null==e)throw Error("No window is associated with the canvas");return e.devicePixelRatio>1||this._options.allowDownsampling?e.devicePixelRatio:1},enumerable:!0,configurable:!0}),e.prototype.subscribeCanvasConfigured=function(e){this._canvasConfiguredListeners.push(e)},e.prototype.unsubscribeCanvasConfigured=function(e){this._canvasConfiguredListeners=this._canvasConfiguredListeners.filter(function(t){return t!=e})},e.prototype._configureCanvas=function(){var e=this.pixelRatio;this.canvas.style.width=this._canvasSize.width+"px",this.canvas.style.height=this._canvasSize.height+"px",this.canvas.width=this._canvasSize.width*e,this.canvas.height=this._canvasSize.height*e,this._emitCanvasConfigured()},e.prototype._emitCanvasConfigured=function(){var e=this;this._canvasConfiguredListeners.forEach(function(t){return t.call(e)})},e.prototype._installResolutionListener=function(){if(null!==this._resolutionMediaQueryList)throw Error("Resolution listener is already installed");var e=this.canvas.ownerDocument.defaultView;if(null==e)throw Error("No window is associated with the canvas");var t=e.devicePixelRatio;this._resolutionMediaQueryList=e.matchMedia("all and (resolution: "+t+"dppx)"),this._resolutionMediaQueryList.addListener(this._resolutionListener)},e.prototype._uninstallResolutionListener=function(){null!==this._resolutionMediaQueryList&&(this._resolutionMediaQueryList.removeListener(this._resolutionListener),this._resolutionMediaQueryList=null)},e.prototype._reinstallResolutionListener=function(){this._uninstallResolutionListener(),this._installResolutionListener()},e.prototype._onResolutionChanged=function(){this._configureCanvas(),this._reinstallResolutionListener()},e}();function i(e,t){var n,i=((n={})[0]=[],n[1]=[e.lineWidth,e.lineWidth],n[2]=[2*e.lineWidth,2*e.lineWidth],n[3]=[6*e.lineWidth,6*e.lineWidth],n[4]=[e.lineWidth,4*e.lineWidth],n)[t];e.setLineDash(i)}function a(e,t,n,i){e.beginPath();var a=e.lineWidth%2?.5:0;e.moveTo(n,t+a),e.lineTo(i,t+a),e.stroke()}(B=V||(V={}))[B.Simple=0]="Simple",B[B.WithSteps=1]="WithSteps",($=U||(U={}))[$.Solid=0]="Solid",$[$.Dotted=1]="Dotted",$[$.Dashed=2]="Dashed",$[$.LargeDashed=3]="LargeDashed",$[$.SparseDotted=4]="SparseDotted";var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function l(e,t,n){if(n||2==arguments.length)for(var i,a=0,r=t.length;a<r;a++)!i&&a in t||(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}function c(e,t){if(!e)throw Error("Assertion failed"+(t?": "+t:""))}function u(e){if(void 0===e)throw Error("Value is undefined");return e}function p(e){if(null===e)throw Error("Value is null");return e}function h(e){return p(u(e))}function d(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=0;i<t.length;i++){var a=t[i];for(var r in a)void 0!==a[r]&&("object"!=typeof a[r]||void 0===e[r]?e[r]=a[r]:d(e[r],a[r]))}return e}function f(e){return"number"==typeof e&&isFinite(e)}function m(e){return"number"==typeof e&&e%1==0}function v(e){return"string"==typeof e}function g(e){return"boolean"==typeof e}function x(e){var t,n,i;if(!e||"object"!=typeof e)return e;for(n in t=Array.isArray(e)?[]:{},e)e.hasOwnProperty(n)&&(i=e[n],t[n]=i&&"object"==typeof i?x(i):i);return t}function b(e){return null!==e}function y(e){return null===e?void 0:e}var w=function(){function e(){this.t=[]}return e.prototype.i=function(e){this.t=e},e.prototype.h=function(e,t,n,i){this.t.forEach(function(a){e.save(),a.h(e,t,n,i),e.restore()})},e}(),_=function(){function e(){}return e.prototype.h=function(e,t,n,i){e.save(),e.scale(t,t),this.u(e,n,i),e.restore()},e.prototype.o=function(e,t,n,i){e.save(),e.scale(t,t),this.l(e,n,i),e.restore()},e.prototype.l=function(e,t,n){},e}(),k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.v=null,t}return s(t,e),t.prototype._=function(e){this.v=e},t.prototype.u=function(e){if(null!==this.v&&null!==this.v.M){var t=this.v.M,n=this.v,i=function(i){e.beginPath();for(var a=t.to-1;a>=t.from;--a){var r=n.m[a];e.moveTo(r.p,r.g),e.arc(r.p,r.g,i,0,2*Math.PI)}e.fill()};e.fillStyle=n.k,i(n.C+2),e.fillStyle=n.N,i(n.C)}},t}(_);function C(){return{m:[{p:0,g:0,S:0,D:0}],N:"",k:"",C:0,M:null}}var E={from:0,to:1},j=function(){function e(e,t){this.A=new w,this.T=[],this.B=[],this.L=!0,this.F=e,this.V=t,this.A.i(this.T)}return e.prototype.O=function(e){var t=this.F.W();t.length!==this.T.length&&(this.B=t.map(C),this.T=this.B.map(function(e){var t=new k;return t._(e),t}),this.A.i(this.T)),this.L=!0},e.prototype.P=function(e,t,n){return this.L&&(this.R(e),this.L=!1),this.A},e.prototype.R=function(e){var t=this,n=this.F.W(),i=this.V.I(),a=this.F.j();n.forEach(function(n,r){var s,o=t.B[r],l=n.q(i);if(null!==l&&n.U()){var c=p(n.H());o.N=l.Y,o.C=l.C,o.m[0].D=l.D,o.m[0].g=n.$().K(l.D,c.X),o.k=null!==(s=l.Z)&&void 0!==s?s:t.F.J(o.m[0].g/e),o.m[0].S=i,o.m[0].p=a.G(i),o.M=E}else o.M=null})},e}(),M=function(){function e(e){this.tt=e}return e.prototype.h=function(e,t,n,r){if(null!==this.tt){var s=this.tt.it.U,o=this.tt.nt.U;if(s||o){e.save();var l=Math.round(this.tt.p*t),c=Math.round(this.tt.g*t),u=Math.ceil(this.tt.st*t),p=Math.ceil(this.tt.ht*t);e.lineCap="butt",s&&l>=0&&(e.lineWidth=Math.floor(this.tt.it.rt*t),e.strokeStyle=this.tt.it.et,e.fillStyle=this.tt.it.et,i(e,this.tt.it.ut),function(e,t,n,i){e.beginPath();var a=e.lineWidth%2?.5:0;e.moveTo(t+a,0),e.lineTo(t+a,i),e.stroke()}(e,l,0,p)),o&&c>=0&&(e.lineWidth=Math.floor(this.tt.nt.rt*t),e.strokeStyle=this.tt.nt.et,e.fillStyle=this.tt.nt.et,i(e,this.tt.nt.ut),a(e,c,0,u)),e.restore()}}},e}(),S=function(){function e(e){this.L=!0,this.at={it:{rt:1,ut:0,et:"",U:!1},nt:{rt:1,ut:0,et:"",U:!1},st:0,ht:0,p:0,g:0},this.ot=new M(this.at),this.lt=e}return e.prototype.O=function(){this.L=!0},e.prototype.P=function(e,t){return this.L&&(this.R(),this.L=!1),this.ot},e.prototype.R=function(){var e=this.lt.U(),t=p(this.lt.ft()),n=t.vt().ct().crosshair,i=this.at;i.nt.U=e&&this.lt._t(t),i.it.U=e&&this.lt.dt(),i.nt.rt=n.horzLine.width,i.nt.ut=n.horzLine.style,i.nt.et=n.horzLine.color,i.it.rt=n.vertLine.width,i.it.ut=n.vertLine.style,i.it.et=n.vertLine.color,i.st=t.wt(),i.ht=t.Mt(),i.p=this.lt.bt(),i.g=this.lt.gt()},e}(),T={khaki:"#f0e68c",azure:"#f0ffff",aliceblue:"#f0f8ff",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",gray:"#808080",green:"#008000",honeydew:"#f0fff0",floralwhite:"#fffaf0",lightblue:"#add8e6",lightcoral:"#f08080",lemonchiffon:"#fffacd",hotpink:"#ff69b4",lightyellow:"#ffffe0",greenyellow:"#adff2f",lightgoldenrodyellow:"#fafad2",limegreen:"#32cd32",linen:"#faf0e6",lightcyan:"#e0ffff",magenta:"#f0f",maroon:"#800000",olive:"#808000",orange:"#ffa500",oldlace:"#fdf5e6",mediumblue:"#0000cd",transparent:"#0000",lime:"#0f0",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",midnightblue:"#191970",orchid:"#da70d6",mediumorchid:"#ba55d3",mediumturquoise:"#48d1cc",orangered:"#ff4500",royalblue:"#4169e1",powderblue:"#b0e0e6",red:"#f00",coral:"#ff7f50",turquoise:"#40e0d0",white:"#fff",whitesmoke:"#f5f5f5",wheat:"#f5deb3",teal:"#008080",steelblue:"#4682b4",bisque:"#ffe4c4",aquamarine:"#7fffd4",aqua:"#0ff",sienna:"#a0522d",silver:"#c0c0c0",springgreen:"#00ff7f",antiquewhite:"#faebd7",burlywood:"#deb887",brown:"#a52a2a",beige:"#f5f5dc",chocolate:"#d2691e",chartreuse:"#7fff00",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cadetblue:"#5f9ea0",tomato:"#ff6347",fuchsia:"#f0f",blue:"#00f",salmon:"#fa8072",blanchedalmond:"#ffebcd",slateblue:"#6a5acd",slategray:"#708090",thistle:"#d8bfd8",tan:"#d2b48c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",blueviolet:"#8a2be2",black:"#000",darkmagenta:"#8b008b",darkslateblue:"#483d8b",darkkhaki:"#bdb76b",darkorchid:"#9932cc",darkorange:"#ff8c00",darkgreen:"#006400",darkred:"#8b0000",dodgerblue:"#1e90ff",darkslategray:"#2f4f4f",dimgray:"#696969",deepskyblue:"#00bfff",firebrick:"#b22222",forestgreen:"#228b22",indigo:"#4b0082",ivory:"#fffff0",lavenderblush:"#fff0f5",feldspar:"#d19275",indianred:"#cd5c5c",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightskyblue:"#87cefa",lightslategray:"#789",lightslateblue:"#8470ff",snow:"#fffafa",lightseagreen:"#20b2aa",lightsalmon:"#ffa07a",darksalmon:"#e9967a",darkviolet:"#9400d3",mediumpurple:"#9370d8",mediumaquamarine:"#66cdaa",skyblue:"#87ceeb",lavender:"#e6e6fa",lightsteelblue:"#b0c4de",mediumvioletred:"#c71585",mintcream:"#f5fffa",navajowhite:"#ffdead",navy:"#000080",olivedrab:"#6b8e23",palevioletred:"#d87093",violetred:"#d02090",yellow:"#ff0",yellowgreen:"#9acd32",lawngreen:"#7cfc00",pink:"#ffc0cb",paleturquoise:"#afeeee",palegoldenrod:"#eee8aa",darkolivegreen:"#556b2f",darkseagreen:"#8fbc8f",darkturquoise:"#00ced1",peachpuff:"#ffdab9",deeppink:"#ff1493",violet:"#ee82ee",palegreen:"#98fb98",mediumseagreen:"#3cb371",peru:"#cd853f",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",purple:"#800080",seagreen:"#2e8b57",seashell:"#fff5ee",papayawhip:"#ffefd5",mediumslateblue:"#7b68ee",plum:"#dda0dd",mediumspringgreen:"#00fa9a"};function A(e){return e<0?0:e>255?255:Math.round(e)||0}function O(e){return e<=0||e>0?e<0?0:e>1?1:Math.round(1e4*e)/1e4:0}var N=/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,R=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i,F=/^rgb\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*\)$/,D=/^rgba\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?[\d]{0,10}(?:\.\d+)?)\s*\)$/;function I(e){var t;if((e=e.toLowerCase())in T&&(e=T[e]),t=D.exec(e)||F.exec(e))return[A(parseInt(t[1],10)),A(parseInt(t[2],10)),A(parseInt(t[3],10)),O(t.length<5?1:parseFloat(t[4]))];if(t=R.exec(e))return[A(parseInt(t[1],16)),A(parseInt(t[2],16)),A(parseInt(t[3],16)),1];if(t=N.exec(e))return[A(17*parseInt(t[1],16)),A(17*parseInt(t[2],16)),A(17*parseInt(t[3],16)),1];throw Error("Cannot parse color: "+e)}function L(e){var t=I(e);return{yt:"rgb("+t[0]+", "+t[1]+", "+t[2]+")",kt:.199*t[0]+.687*t[1]+.114*t[2]>160?"black":"white"}}function P(e,t,n){e.save(),e.scale(t,t),n(),e.restore()}function z(e,t,n,i,a,r){e.save(),e.globalCompositeOperation="copy",e.fillStyle=r,e.fillRect(t,n,i,a),e.restore()}function Z(e,t,n,i,a,r,s){e.save(),e.globalCompositeOperation="copy";var o=e.createLinearGradient(0,0,0,a);o.addColorStop(0,r),o.addColorStop(1,s),e.fillStyle=o,e.fillRect(t,n,i,a),e.restore()}var B,$,V,U,q,W=function(){function e(e,t){this._(e,t)}return e.prototype._=function(e,t){this.tt=e,this.Ct=t},e.prototype.h=function(e,t,n,i,a,r){if(this.tt.U){e.font=t.Nt;var s=this.tt.xt||!this.tt.St?t.Dt:0,o=t.At,l=t.Tt,c=t.Bt,u=t.Lt,p=t.Ft,h=this.tt.Et,d=Math.ceil(n.Vt(e,h)),f=t.Ot,m=t.Wt+l+c,v=Math.ceil(.5*m),g=o+d+u+p+s,x=this.Ct.zt;this.Ct.Pt&&(x=this.Ct.Pt);var b,y,w=(x=Math.round(x))-v,_=w+m,k="right"===a,C=k?i:0,E=Math.ceil(i*r),j=C;if(e.fillStyle=this.Ct.yt,e.lineWidth=1,e.lineCap="butt",h){k?(b=C-s,y=(j=C-g)+p):(j=C+g,b=C+s,y=C+o+s+u);var M=Math.max(1,Math.floor(r)),S=Math.max(1,Math.floor(o*r)),T=k?E:0,A=Math.round(w*r),O=Math.round(j*r),N=Math.round(x*r)-Math.floor(.5*r),R=N+M+(N-A),F=Math.round(b*r);e.save(),e.beginPath(),e.moveTo(T,A),e.lineTo(O,A),e.lineTo(O,R),e.lineTo(T,R),e.fill(),e.fillStyle=this.tt.Z,e.fillRect(k?E-S:0,A,S,R-A),this.tt.xt&&(e.fillStyle=this.Ct.et,e.fillRect(T,N,F-T,M)),e.textAlign="left",e.fillStyle=this.Ct.et,P(e,r,function(){e.fillText(h,y,_-c-f)}),e.restore()}}},e.prototype.Mt=function(e,t){return this.tt.U?e.Wt+e.Tt+e.Bt:0},e}(),H=function(){function e(e){this.Rt={zt:0,et:"#FFF",yt:"#000"},this.It={Et:"",U:!1,xt:!0,St:!1,Z:""},this.jt={Et:"",U:!1,xt:!1,St:!0,Z:""},this.L=!0,this.qt=new(e||W)(this.It,this.Rt),this.Ut=new(e||W)(this.jt,this.Rt)}return e.prototype.Et=function(){return this.It.Et},e.prototype.zt=function(){return this.Ht(),this.Rt.zt},e.prototype.O=function(){this.L=!0},e.prototype.Mt=function(e,t){return void 0===t&&(t=!1),Math.max(this.qt.Mt(e,t),this.Ut.Mt(e,t))},e.prototype.Yt=function(){return this.Rt.Pt||0},e.prototype.Kt=function(e){this.Rt.Pt=e},e.prototype.$t=function(){return this.Ht(),this.It.U||this.jt.U},e.prototype.Xt=function(){return this.Ht(),this.It.U},e.prototype.P=function(e){return this.Ht(),this.It.xt=this.It.xt&&e.ct().drawTicks,this.jt.xt=this.jt.xt&&e.ct().drawTicks,this.qt._(this.It,this.Rt),this.Ut._(this.jt,this.Rt),this.qt},e.prototype.Zt=function(){return this.Ht(),this.qt._(this.It,this.Rt),this.Ut._(this.jt,this.Rt),this.Ut},e.prototype.Ht=function(){this.L&&(this.It.xt=!0,this.jt.xt=!1,this.Jt(this.It,this.jt,this.Rt))},e}(),Y=function(e){function t(t,n,i){var a=e.call(this)||this;return a.lt=t,a.Gt=n,a.Qt=i,a}return s(t,e),t.prototype.Jt=function(e,t,n){e.U=!1;var i=this.lt.ct().horzLine;if(i.labelVisible){var a=this.Gt.H();if(this.lt.U()&&!this.Gt.ti()&&null!==a){var r=L(i.labelBackgroundColor);n.yt=r.yt,n.et=r.kt;var s=this.Qt(this.Gt);n.zt=s.zt,e.Et=this.Gt.ii(s.D,a),e.U=!0}}},t}(H),G=/[1-9]/g,K=function(){function e(){this.tt=null}return e.prototype._=function(e){this.tt=e},e.prototype.h=function(e,t,n){var i=this;if(null!==this.tt&&!1!==this.tt.U&&0!==this.tt.Et.length){e.font=t.Nt;var a=Math.round(t.ni.Vt(e,this.tt.Et,G));if(!(a<=0)){e.save();var r=t.si,s=a+2*r,o=s/2,l=this.tt.wt,c=this.tt.zt,u=Math.floor(c-o)+.5;u<0?(c+=Math.abs(0-u),u=Math.floor(c-o)+.5):u+s>l&&(c-=Math.abs(l-(u+s)),u=Math.floor(c-o)+.5);var h=u+s,d=0+t.At+t.Tt+t.Wt+t.Bt;e.fillStyle=this.tt.yt;var f=Math.round(u*n),m=Math.round(0*n),v=Math.round(h*n),g=Math.round(d*n);e.fillRect(f,m,v-f,g-m);var x=Math.round(this.tt.zt*n),b=Math.round((m+t.At+t.Dt)*n);e.fillStyle=this.tt.et;var y=Math.max(1,Math.floor(n)),w=Math.floor(.5*n);e.fillRect(x-w,m,y,b-m);var _=d-t.Ot-t.Bt;e.textAlign="left",e.fillStyle=this.tt.et,P(e,n,function(){e.fillText(p(i.tt).Et,u+r,_)}),e.restore()}}},e}(),Q=function(){function e(e,t,n){this.L=!0,this.ot=new K,this.at={U:!1,yt:"#4c525e",et:"white",Et:"",wt:0,zt:NaN},this.V=e,this.hi=t,this.Qt=n}return e.prototype.O=function(){this.L=!0},e.prototype.P=function(){return this.L&&(this.R(),this.L=!1),this.ot._(this.at),this.ot},e.prototype.R=function(){var e=this.at;e.U=!1;var t=this.V.ct().vertLine;if(t.labelVisible){var n=this.hi.j();if(!n.ti()){var i=n.ri(this.V.I());e.wt=n.wt();var a=this.Qt();if(a.S){e.zt=a.zt,e.Et=n.ei(p(i)),e.U=!0;var r=L(t.labelBackgroundColor);e.yt=r.yt,e.et=r.kt}}}},e}(),X=function(){function e(){this.ui=null,this.ai=0}return e.prototype.oi=function(){return this.ai},e.prototype.li=function(e){this.ai=e},e.prototype.$=function(){return this.ui},e.prototype.fi=function(e){this.ui=e},e.prototype.ci=function(){return[]},e.prototype.U=function(){return!0},e}();(ef=q||(q={}))[ef.Normal=0]="Normal",ef[ef.Magnet=1]="Magnet";var J=function(e){function t(t,n){var i,a,r,s,o=e.call(this)||this;o.vi=null,o._i=NaN,o.di=0,o.wi=!0,o.Mi=new Map,o.bi=!1,o.mi=NaN,o.pi=NaN,o.gi=NaN,o.yi=NaN,o.hi=t,o.ki=n,o.Ci=new j(t,o),o.Ni=(r=function(){return o._i},s=function(){return o.pi},function(e){var t=s(),n=r();if(e===p(o.vi).xi())return{D:n,zt:t};var i=p(e.H());return{D:e.Si(t,i),zt:t}});var l=(i=function(){return o.di},a=function(){return o.bt()},function(){return{S:o.hi.j().ri(i()),zt:a()}});return o.Di=new Q(o,t,l),o.Ai=new S(o),o}return s(t,e),t.prototype.ct=function(){return this.ki},t.prototype.Ti=function(e,t){this.gi=e,this.yi=t},t.prototype.Bi=function(){this.gi=NaN,this.yi=NaN},t.prototype.Li=function(){return this.gi},t.prototype.Fi=function(){return this.yi},t.prototype.Ei=function(e,t,n){this.bi||(this.bi=!0),this.wi=!0,this.Vi(e,t,n)},t.prototype.I=function(){return this.di},t.prototype.bt=function(){return this.mi},t.prototype.gt=function(){return this.pi},t.prototype.U=function(){return this.wi},t.prototype.Oi=function(){this.wi=!1,this.Wi(),this._i=NaN,this.mi=NaN,this.pi=NaN,this.vi=null,this.Bi()},t.prototype.zi=function(e){return null!==this.vi?[this.Ai,this.Ci]:[]},t.prototype._t=function(e){return e===this.vi&&this.ki.horzLine.visible},t.prototype.dt=function(){return this.ki.vertLine.visible},t.prototype.Pi=function(e,t){this.wi&&this.vi===e||this.Mi.clear();var n=[];return this.vi===e&&n.push(this.Ri(this.Mi,t,this.Ni)),n},t.prototype.ci=function(){return this.wi?[this.Di]:[]},t.prototype.ft=function(){return this.vi},t.prototype.Ii=function(){this.Ai.O(),this.Mi.forEach(function(e){return e.O()}),this.Di.O(),this.Ci.O()},t.prototype.ji=function(e){return e&&!e.xi().ti()?e.xi():null},t.prototype.Vi=function(e,t,n){this.qi(e,t,n)&&this.Ii()},t.prototype.qi=function(e,t,n){var i=this.mi,a=this.pi,r=this._i,s=this.di,o=this.vi,l=this.ji(n);this.di=e,this.mi=isNaN(e)?NaN:this.hi.j().G(e),this.vi=n;var c=null!==l?l.H():null;return null!==l&&null!==c?(this._i=t,this.pi=l.K(t,c)):(this._i=NaN,this.pi=NaN),i!==this.mi||a!==this.pi||s!==this.di||r!==this._i||o!==this.vi},t.prototype.Wi=function(){var e=this.hi.W().map(function(e){return e.Hi().Ui()}).filter(b),t=0===e.length?null:Math.max.apply(Math,e);this.di=null!==t?t:NaN},t.prototype.Ri=function(e,t,n){var i=e.get(t);return void 0===i&&(i=new Y(this,t,n),e.set(t,i)),i},t}(X);function ee(e,t){if(!f(e))return"n/a";if(!m(t)||t<0||t>16)throw TypeError("invalid length");return 0===t?e.toString():("0000000000000000"+e.toString()).slice(-t)}var et=function(){function e(e,t){if(t||(t=1),f(e)&&m(e)||(e=100),e<0)throw TypeError("invalid base");this.Gt=e,this.Yi=t,this.Ki()}return e.prototype.format=function(e){var t=e<0?"−":"";return e=Math.abs(e),t+this.$i(e)},e.prototype.Ki=function(){if(this.Xi=0,this.Gt>0&&this.Yi>0)for(var e=this.Gt;e>1;)e/=10,this.Xi++},e.prototype.$i=function(e){var t=this.Gt/this.Yi,n=Math.floor(e),i="",a=void 0!==this.Xi?this.Xi:NaN;if(t>1){var r=+(Math.round(e*t)-n*t).toFixed(this.Xi);r>=t&&(r-=t,n+=1),i="."+ee(+r.toFixed(this.Xi)*this.Yi,a)}else n=Math.round(n*t)/t,a>0&&(i="."+ee(0,a));return n.toFixed(0)+i},e}(),en=function(e){function t(t){return void 0===t&&(t=100),e.call(this,t)||this}return s(t,e),t.prototype.format=function(t){return e.prototype.format.call(this,t)+"%"},t}(et),ei=function(){function e(){this.Zi=[]}return e.prototype.Ji=function(e,t,n){this.Zi.push({Gi:e,Qi:t,tn:!0===n})},e.prototype.nn=function(e){var t=this.Zi.findIndex(function(t){return e===t.Gi});t>-1&&this.Zi.splice(t,1)},e.prototype.sn=function(e){this.Zi=this.Zi.filter(function(t){return t.Qi===e})},e.prototype.hn=function(e,t){var n=l([],this.Zi,!0);this.Zi=this.Zi.filter(function(e){return!e.tn}),n.forEach(function(n){return n.Gi(e,t)})},e.prototype.rn=function(){return this.Zi.length>0},e.prototype.en=function(){this.Zi=[]},e}(),ea=function(){function e(e,t){this.un=e,this.an=t}return e.prototype.on=function(e){return null!==e&&this.un===e.un&&this.an===e.an},e.prototype.ln=function(){return new e(this.un,this.an)},e.prototype.fn=function(){return this.un},e.prototype.cn=function(){return this.an},e.prototype.vn=function(){return this.an-this.un},e.prototype.ti=function(){return this.an===this.un||Number.isNaN(this.an)||Number.isNaN(this.un)},e.prototype._n=function(t){return null===t?this:new e(Math.min(this.fn(),t.fn()),Math.max(this.cn(),t.cn()))},e.prototype.dn=function(e){if(f(e)&&0!=this.an-this.un){var t=.5*(this.an+this.un),n=this.an-t,i=this.un-t;n*=e,i*=e,this.an=t+n,this.un=t+i}},e.prototype.wn=function(e){f(e)&&(this.an+=e,this.un+=e)},e.prototype.Mn=function(){return{minValue:this.un,maxValue:this.an}},e.bn=function(t){return null===t?null:new e(t.minValue,t.maxValue)},e}();function er(e,t,n){return Math.min(Math.max(e,t),n)}function es(e){return e<=0?NaN:Math.log(e)/Math.log(10)}function eo(e){var t=Math.ceil(e);return t%2!=0?t-1:t}function el(e){var t=Math.ceil(e);return t%2==0?t-1:t}function ec(e,t){var n=100*(e-t)/t;return t<0?-n:n}function eu(e,t){var n=100*(e-t)/t+100;return t<0?-n:n}function ep(e){var t=Math.abs(e);if(t<1e-8)return 0;var n=es(t+1e-4)+4;return e<0?-n:n}function eh(e){var t=Math.abs(e);if(t<1e-8)return 0;var n=Math.pow(10,t-4)-1e-4;return e<0?-n:n}function ed(e){return null===e?null:new ea(ep(e.fn()),ep(e.cn()))}var ef,em,ev=function(){function e(e,t){if(this.mn=e,this.pn=t,function(e){if(e<0)return!1;for(var t=e;t>1;t/=10)if(t%10!=0)return!1;return!0}(this.mn))this.gn=[2,2.5,2];else{this.gn=[];for(var n=this.mn;1!==n;){if(n%2==0)this.gn.push(2),n/=2;else{if(n%5!=0)throw Error("unexpected base");this.gn.push(2,2.5),n/=5}if(this.gn.length>100)throw Error("something wrong with base")}}}return e.prototype.yn=function(e,t,n){for(var i=0===this.mn?0:1/this.mn,a=Math.pow(10,Math.max(0,Math.ceil(es(e-t)))),r=0,s=this.pn[0];;){var o=i-a<=1e-14&&a>i+1e-14,l=n*s-a<=1e-14,c=1-a<=1e-14;if(!(o&&l&&c))break;a/=s,s=this.pn[++r%this.pn.length]}if(a<=i+1e-14&&(a=i),a=Math.max(1,a),this.gn.length>0&&1e-14>Math.abs(a-1))for(r=0,s=this.gn[0];n*s-a<=1e-14&&a>i+1e-14;)a/=s,s=this.gn[++r%this.gn.length];return a},e}(),eg=function(){function e(e,t,n,i){this.kn=[],this.Gt=e,this.mn=t,this.Cn=n,this.Nn=i}return e.prototype.yn=function(e,t){if(e<t)throw Error("high < low");var n=this.Gt.Mt(),i=(e-t)*this.xn()/n,a=new ev(this.mn,[2,2.5,2]),r=new ev(this.mn,[2,2,2.5]),s=new ev(this.mn,[2.5,2,2]),o=[];return o.push(a.yn(e,t,i),r.yn(e,t,i),s.yn(e,t,i)),function(e){if(e.length<1)throw Error("array is empty");for(var t=e[0],n=1;n<e.length;++n)e[n]<t&&(t=e[n]);return t}(o)},e.prototype.Sn=function(){var e=this.Gt,t=e.H();if(null!==t){var n=e.Mt(),i=this.Cn(n-1,t),a=this.Cn(0,t),r=this.Gt.ct().entireTextOnly?this.Dn()/2:0,s=n-1-r,o=Math.max(i,a),l=Math.min(i,a);if(o!==l){for(var c=this.yn(o,l),u=o%c,p=o>=l?1:-1,h=null,d=0,f=o-(u+=u<0?c:0);f>l;f-=c){var m=this.Nn(f,t,!0);null!==h&&Math.abs(m-h)<this.xn()||m<r||m>s||(d<this.kn.length?(this.kn[d].An=m,this.kn[d].Tn=e.Bn(f)):this.kn.push({An:m,Tn:e.Bn(f)}),d++,h=m,e.Ln()&&(c=this.yn(f*p,l)))}this.kn.length=d}else this.kn=[]}else this.kn=[]},e.prototype.Fn=function(){return this.kn},e.prototype.Dn=function(){return this.Gt.Wt()},e.prototype.xn=function(){return Math.ceil(2.5*this.Dn())},e}();function ex(e){return e.slice().sort(function(e,t){return p(e.oi())-p(t.oi())})}(eb=em||(em={}))[eb.Normal=0]="Normal",eb[eb.Logarithmic=1]="Logarithmic",eb[eb.Percentage=2]="Percentage",eb[eb.IndexedTo100=3]="IndexedTo100";var eb,ey,ew,e_=new en,ek=new et(100,1),eC=function(){function e(e,t,n,i){this.En=0,this.Vn=null,this.On=null,this.Wn=null,this.zn={Pn:!1,Rn:null},this.In=0,this.jn=0,this.qn=new ei,this.Un=new ei,this.Hn=[],this.Yn=null,this.Kn=null,this.$n=null,this.Xn=null,this.Zn=ek,this.Jn=e,this.ki=t,this.Gn=n,this.Qn=i,this.ts=new eg(this,100,this.ns.bind(this),this.ss.bind(this))}return e.prototype.hs=function(){return this.Jn},e.prototype.ct=function(){return this.ki},e.prototype.rs=function(e){if(d(this.ki,e),this.es(),void 0!==e.mode&&this.us({os:e.mode}),void 0!==e.scaleMargins){var t=u(e.scaleMargins.top),n=u(e.scaleMargins.bottom);if(t<0||t>1)throw Error("Invalid top margin - expect value between 0 and 1, given="+t);if(n<0||n>1||t+n>1)throw Error("Invalid bottom margin - expect value between 0 and 1, given="+n);if(t+n>1)throw Error("Invalid margins - sum of margins must be less than 1, given="+(t+n));this.ls(),this.Kn=null}},e.prototype.fs=function(){return this.ki.autoScale},e.prototype.Ln=function(){return 1===this.ki.mode},e.prototype.cs=function(){return 2===this.ki.mode},e.prototype.vs=function(){return 3===this.ki.mode},e.prototype.os=function(){return{_s:this.ki.autoScale,ds:this.ki.invertScale,os:this.ki.mode}},e.prototype.us=function(e){var t,n=this.os(),i=null;void 0!==e._s&&(this.ki.autoScale=e._s),void 0!==e.os&&(this.ki.mode=e.os,2!==e.os&&3!==e.os||(this.ki.autoScale=!0),this.zn.Pn=!1),1===n.os&&e.os!==n.os&&(function(e){if(null===e)return!1;var t=eh(e.fn()),n=eh(e.cn());return isFinite(t)&&isFinite(n)}(this.On)?null!==(i=null===(t=this.On)?null:new ea(eh(t.fn()),eh(t.cn())))&&this.ws(i):this.ki.autoScale=!0),1===e.os&&e.os!==n.os&&null!==(i=ed(this.On))&&this.ws(i);var a=n.os!==this.ki.mode;a&&(2===n.os||this.cs())&&this.es(),a&&(3===n.os||this.vs())&&this.es(),void 0!==e.ds&&n.ds!==e.ds&&(this.ki.invertScale=e.ds,this.Ms()),this.Un.hn(n,this.os())},e.prototype.bs=function(){return this.Un},e.prototype.Wt=function(){return this.Gn.fontSize},e.prototype.Mt=function(){return this.En},e.prototype.ps=function(e){this.En!==e&&(this.En=e,this.ls(),this.Kn=null)},e.prototype.gs=function(){if(this.Vn)return this.Vn;var e=this.Mt()-this.ys()-this.ks();return this.Vn=e,e},e.prototype.Cs=function(){return this.Ns(),this.On},e.prototype.ws=function(e,t){var n=this.On;(t||null===n&&null!==e||null!==n&&!n.on(e))&&(this.Kn=null,this.On=e)},e.prototype.ti=function(){return this.Ns(),0===this.En||!this.On||this.On.ti()},e.prototype.xs=function(e){return this.ds()?e:this.Mt()-1-e},e.prototype.K=function(e,t){return this.cs()?e=ec(e,t):this.vs()&&(e=eu(e,t)),this.ss(e,t)},e.prototype.Ss=function(e,t,n){this.Ns();for(var i=this.ks(),a=p(this.Cs()),r=a.fn(),s=a.cn(),o=this.gs()-1,l=this.ds(),c=o/(s-r),u=void 0===n?0:n.from,h=void 0===n?e.length:n.to,d=this.Ds(),f=u;f<h;f++){var m=e[f],v=m.D;if(!isNaN(v)){var g=v;null!==d&&(g=d(m.D,t));var x=i+c*(g-r),b=l?x:this.En-1-x;m.g=b}}},e.prototype.As=function(e,t,n){this.Ns();for(var i=this.ks(),a=p(this.Cs()),r=a.fn(),s=a.cn(),o=this.gs()-1,l=this.ds(),c=o/(s-r),u=void 0===n?0:n.from,h=void 0===n?e.length:n.to,d=this.Ds(),f=u;f<h;f++){var m=e[f],v=m.open,g=m.high,x=m.low,b=m.close;null!==d&&(v=d(m.open,t),g=d(m.high,t),x=d(m.low,t),b=d(m.close,t));var y=i+c*(v-r),w=l?y:this.En-1-y;m.Ts=w,y=i+c*(g-r),w=l?y:this.En-1-y,m.Bs=w,y=i+c*(x-r),w=l?y:this.En-1-y,m.Ls=w,y=i+c*(b-r),w=l?y:this.En-1-y,m.Fs=w}},e.prototype.Si=function(e,t){var n=this.ns(e,t);return this.Es(n,t)},e.prototype.Es=function(e,t){var n,i,a=e;return this.cs()?(n=a,t<0&&(n=-n),a=n/100*t+t):this.vs()&&(i=a-100,t<0&&(i=-i),a=i/100*t+t),a},e.prototype.Vs=function(){return this.Hn},e.prototype.Os=function(){if(this.Yn)return this.Yn;for(var e=[],t=0;t<this.Hn.length;t++){var n=this.Hn[t];null===n.oi()&&n.li(t+1),e.push(n)}return e=ex(e),this.Yn=e,this.Yn},e.prototype.Ws=function(e){-1===this.Hn.indexOf(e)&&(this.Hn.push(e),this.es(),this.zs())},e.prototype.Ps=function(e){var t=this.Hn.indexOf(e);if(-1===t)throw Error("source is not attached to scale");this.Hn.splice(t,1),0===this.Hn.length&&(this.us({_s:!0}),this.ws(null)),this.es(),this.zs()},e.prototype.H=function(){for(var e=null,t=0,n=this.Hn;t<n.length;t++){var i=n[t].H();null!==i&&(null===e||i.Rs<e.Rs)&&(e=i)}return null===e?null:e.X},e.prototype.ds=function(){return this.ki.invertScale},e.prototype.Fn=function(){return this.Kn||(this.ts.Sn(),this.Kn=this.ts.Fn(),this.qn.hn()),this.Kn},e.prototype.Is=function(){return this.qn},e.prototype.js=function(e){this.cs()||this.vs()||null===this.$n&&null===this.Wn&&(this.ti()||(this.$n=this.En-e,this.Wn=p(this.Cs()).ln()))},e.prototype.qs=function(e){if(!this.cs()&&!this.vs()&&null!==this.$n){this.us({_s:!1}),(e=this.En-e)<0&&(e=0);var t=(this.$n+.2*(this.En-1))/(e+.2*(this.En-1)),n=p(this.Wn).ln();t=Math.max(t,.1),n.dn(t),this.ws(n)}},e.prototype.Us=function(){this.cs()||this.vs()||(this.$n=null,this.Wn=null)},e.prototype.Hs=function(e){this.fs()||null===this.Xn&&null===this.Wn&&(this.ti()||(this.Xn=e,this.Wn=p(this.Cs()).ln()))},e.prototype.Ys=function(e){if(!this.fs()&&null!==this.Xn){var t=p(this.Cs()).vn()/(this.gs()-1),n=e-this.Xn;this.ds()&&(n*=-1);var i=n*t,a=p(this.Wn).ln();a.wn(i),this.ws(a,!0),this.Kn=null}},e.prototype.Ks=function(){this.fs()||null!==this.Xn&&(this.Xn=null,this.Wn=null)},e.prototype.$s=function(){return this.Zn||this.es(),this.Zn},e.prototype.ii=function(e,t){switch(this.ki.mode){case 2:return this.$s().format(ec(e,t));case 3:return this.$s().format(eu(e,t));default:return this.Xs(e)}},e.prototype.Bn=function(e){switch(this.ki.mode){case 2:case 3:return this.$s().format(e);default:return this.Xs(e)}},e.prototype.Zs=function(e){return this.Xs(e,p(this.Js()).$s())},e.prototype.Gs=function(e,t){return e=ec(e,t),e_.format(e)},e.prototype.Qs=function(){return this.Hn},e.prototype.th=function(e){this.zn={Rn:e,Pn:!1}},e.prototype.Ii=function(){this.Hn.forEach(function(e){return e.Ii()})},e.prototype.es=function(){this.Kn=null;var e=this.Js(),t=100;null!==e&&(t=Math.round(1/e.ih())),this.Zn=ek,this.cs()?(this.Zn=e_,t=100):this.vs()?(this.Zn=new et(100,1),t=100):null!==e&&(this.Zn=e.$s()),this.ts=new eg(this,t,this.ns.bind(this),this.ss.bind(this)),this.ts.Sn()},e.prototype.zs=function(){this.Yn=null},e.prototype.Js=function(){return this.Hn[0]||null},e.prototype.ys=function(){return this.ds()?this.ki.scaleMargins.bottom*this.Mt()+this.jn:this.ki.scaleMargins.top*this.Mt()+this.In},e.prototype.ks=function(){return this.ds()?this.ki.scaleMargins.top*this.Mt()+this.In:this.ki.scaleMargins.bottom*this.Mt()+this.jn},e.prototype.Ns=function(){this.zn.Pn||(this.zn.Pn=!0,this.nh())},e.prototype.ls=function(){this.Vn=null},e.prototype.ss=function(e,t){if(this.Ns(),this.ti())return 0;e=this.Ln()&&e?ep(e):e;var n=p(this.Cs()),i=this.ks()+(this.gs()-1)*(e-n.fn())/n.vn();return this.xs(i)},e.prototype.ns=function(e,t){if(this.Ns(),this.ti())return 0;var n=this.xs(e),i=p(this.Cs()),a=i.fn()+i.vn()*((n-this.ks())/(this.gs()-1));return this.Ln()?eh(a):a},e.prototype.Ms=function(){this.Kn=null,this.ts.Sn()},e.prototype.nh=function(){var e=this.zn.Rn;if(null!==e){for(var t=null,n=0,i=0,a=0,r=this.Qs();a<r.length;a++){var s=r[a];if(s.U()){var o=s.H();if(null!==o){var l=s.sh(e.hh(),e.rh()),c=l&&l.Cs();if(null!==c){switch(this.ki.mode){case 1:c=ed(c);break;case 2:u=c,h=o.X,c=new ea(ec(u.fn(),h),ec(u.cn(),h));break;case 3:d=c,f=o.X,c=new ea(eu(d.fn(),f),eu(d.cn(),f))}if(t=null===t?c:t._n(p(c)),null!==l){var u,h,d,f,m=l.eh();null!==m&&(i=Math.max(n=Math.max(n,m.above),m.below))}}}}}if(n===this.In&&i===this.jn||(this.In=n,this.jn=i,this.Kn=null,this.ls()),null!==t){if(t.fn()===t.cn()){var v=this.Js(),g=5*(null===v||this.cs()||this.vs()?1:v.ih());t=new ea(t.fn()-g,t.cn()+g)}this.ws(t)}else null===this.On&&this.ws(new ea(-.5,.5));this.zn.Pn=!0}},e.prototype.Ds=function(){return this.cs()?ec:this.vs()?eu:this.Ln()?ep:null},e.prototype.Xs=function(e,t){return void 0===this.Qn.priceFormatter?(void 0===t&&(t=this.$s()),t.format(e)):this.Qn.priceFormatter(e)},e}();function eE(e){void 0!==e.borderColor&&(e.borderUpColor=e.borderColor,e.borderDownColor=e.borderColor),void 0!==e.wickColor&&(e.wickUpColor=e.wickColor,e.wickDownColor=e.wickColor)}(eI=ey||(ey={}))[eI.Disabled=0]="Disabled",eI[eI.Continuous=1]="Continuous",eI[eI.OnDataUpdate=2]="OnDataUpdate",(eL=ew||(ew={}))[eL.LastBar=0]="LastBar",eL[eL.LastVisible=1]="LastVisible";var ej=function(e){return e.getUTCFullYear()},eM=function(){function e(e,t){void 0===e&&(e="yyyy-MM-dd"),void 0===t&&(t="default"),this.uh=e,this.ah=t}return e.prototype.oh=function(e){var t,n,i;return t=e,n=this.uh,i=this.ah,n.replace(/yyyy/g,ee(ej(t),4)).replace(/yy/g,ee(ej(t)%100,2)).replace(/MMMM/g,new Date(t.getUTCFullYear(),t.getUTCMonth(),1).toLocaleString(i,{month:"long"})).replace(/MMM/g,new Date(t.getUTCFullYear(),t.getUTCMonth(),1).toLocaleString(i,{month:"short"})).replace(/MM/g,ee(t.getUTCMonth()+1,2)).replace(/dd/g,ee(t.getUTCDate(),2))},e}(),eS=function(){function e(e){this.lh=e||"%h:%m:%s"}return e.prototype.oh=function(e){return this.lh.replace("%h",ee(e.getUTCHours(),2)).replace("%m",ee(e.getUTCMinutes(),2)).replace("%s",ee(e.getUTCSeconds(),2))},e}(),eT={fh:"yyyy-MM-dd",_h:"%h:%m:%s",dh:" ",wh:"default"},eA=function(){function e(e){void 0===e&&(e={});var t=o(o({},eT),e);this.Mh=new eM(t.fh,t.wh),this.bh=new eS(t._h),this.mh=t.dh}return e.prototype.oh=function(e){return""+this.Mh.oh(e)+this.mh+this.bh.oh(e)},e}();function eO(e,t,n,i,a){void 0===i&&(i=0),void 0===a&&(a=e.length);for(var r=a-i;0<r;){var s=r>>1,o=i+s;n(e[o],t)?(i=o+1,r-=s+1):r=s}return i}function eN(e,t,n,i,a){void 0===i&&(i=0),void 0===a&&(a=e.length);for(var r=a-i;0<r;){var s=r>>1,o=i+s;n(t,e[o])?r=s:(i=o+1,r-=s+1)}return i}var eR=function(){function e(e,t){void 0===t&&(t=50),this.ph=0,this.gh=1,this.yh=1,this.kh=new Map,this.Ch=new Map,this.Nh=e,this.xh=t}return e.prototype.oh=function(e){var t=void 0===e.Sh?new Date(1e3*e.Dh).getTime():new Date(Date.UTC(e.Sh.year,e.Sh.month-1,e.Sh.day)).getTime(),n=this.kh.get(t);if(void 0!==n)return n.Ah;if(this.ph===this.xh){var i=this.Ch.get(this.yh);this.Ch.delete(this.yh),this.kh.delete(u(i)),this.yh++,this.ph--}var a=this.Nh(e);return this.kh.set(t,{Ah:a,Th:this.gh}),this.Ch.set(this.gh,t),this.ph++,this.gh++,a},e}(),eF=function(){function e(e,t){c(e<=t,"right should be >= left"),this.Bh=e,this.Lh=t}return e.prototype.hh=function(){return this.Bh},e.prototype.rh=function(){return this.Lh},e.prototype.Fh=function(){return this.Lh-this.Bh+1},e.prototype.Eh=function(e){return this.Bh<=e&&e<=this.Lh},e.prototype.on=function(e){return this.Bh===e.hh()&&this.Lh===e.rh()},e}();function eD(e,t){return null===e||null===t?e===t:e.on(t)}var eI,eL,eP,ez=function(){function e(){this.Vh=new Map,this.kh=null}return e.prototype.Oh=function(e,t){this.Wh(t),this.kh=null;for(var n=t;n<e.length;++n){var i=e[n],a=this.Vh.get(i.zh);void 0===a&&(a=[],this.Vh.set(i.zh,a)),a.push({Ph:n,S:i.S,Rh:i.zh})}},e.prototype.Ih=function(e,t){var n=Math.ceil(t/e);return null!==this.kh&&this.kh.jh===n||(this.kh={Fn:this.qh(n),jh:n}),this.kh.Fn},e.prototype.Wh=function(e){if(0!==e){var t=[];this.Vh.forEach(function(n,i){e<=n[0].Ph?t.push(i):n.splice(eO(n,e,function(t){return t.Ph<e}),1/0)});for(var n=0;n<t.length;n++){var i=t[n];this.Vh.delete(i)}}else this.Vh.clear()},e.prototype.qh=function(e){for(var t=[],n=0,i=Array.from(this.Vh.keys()).sort(function(e,t){return t-e});n<i.length;n++){var a=i[n];if(this.Vh.get(a)){var r=t;t=[];for(var s=r.length,o=0,l=u(this.Vh.get(a)),c=l.length,p=1/0,h=-1/0,d=0;d<c;d++){for(var f=l[d],m=f.Ph;o<s;){var v=r[o],g=v.Ph;if(!(g<m)){p=g;break}o++,t.push(v),h=g,p=1/0}p-m>=e&&m-h>=e&&(t.push(f),h=m)}for(;o<s;o++)t.push(r[o])}}return t},e}(),eZ=function(){function e(e){this.Uh=e}return e.prototype.Hh=function(){return null===this.Uh?null:new eF(Math.floor(this.Uh.hh()),Math.ceil(this.Uh.rh()))},e.prototype.Yh=function(){return this.Uh},e.Kh=function(){return new e(null)},e}();(eB=eP||(eP={}))[eB.Year=0]="Year",eB[eB.Month=1]="Month",eB[eB.DayOfMonth=2]="DayOfMonth",eB[eB.Time=3]="Time",eB[eB.TimeWithSeconds=4]="TimeWithSeconds";var eB,e$,eV=function(){function e(e,t,n){this.$h=0,this.Xh=null,this.Zh=[],this.Xn=null,this.$n=null,this.Jh=new ez,this.Gh=new Map,this.Qh=eZ.Kh(),this.tr=!0,this.ir=new ei,this.nr=new ei,this.sr=new ei,this.hr=null,this.rr=null,this.er=[],this.ki=t,this.Qn=n,this.ur=t.rightOffset,this.ar=t.barSpacing,this.hi=e,this.lr()}return e.prototype.ct=function(){return this.ki},e.prototype.cr=function(e){d(this.Qn,e),this.vr(),this.lr()},e.prototype.rs=function(e,t){var n;d(this.ki,e),this.ki.fixLeftEdge&&this._r(),this.ki.fixRightEdge&&this.dr(),void 0!==e.barSpacing&&this.hi.wr(e.barSpacing),void 0!==e.rightOffset&&this.hi.Mr(e.rightOffset),void 0!==e.minBarSpacing&&this.hi.wr(null!==(n=e.barSpacing)&&void 0!==n?n:this.ar),this.vr(),this.lr(),this.sr.hn()},e.prototype.ri=function(e){var t;return(null===(t=this.Zh[e])||void 0===t?void 0:t.S)||null},e.prototype.br=function(e,t){if(this.Zh.length<1)return null;if(e.Dh>this.Zh[this.Zh.length-1].S.Dh)return t?this.Zh.length-1:null;var n=eO(this.Zh,e.Dh,function(e,t){return e.S.Dh<t});return e.Dh<this.Zh[n].S.Dh?t?n:null:n},e.prototype.ti=function(){return 0===this.$h||0===this.Zh.length},e.prototype.mr=function(){return this.pr(),this.Qh.Hh()},e.prototype.gr=function(){return this.pr(),this.Qh.Yh()},e.prototype.yr=function(){var e=this.mr();if(null===e)return null;var t={from:e.hh(),to:e.rh()};return this.kr(t)},e.prototype.kr=function(e){var t=Math.round(e.from),n=Math.round(e.to),i=p(this.Cr()),a=p(this.Nr());return{from:p(this.ri(Math.max(i,t))),to:p(this.ri(Math.min(a,n)))}},e.prototype.Sr=function(e){return{from:p(this.br(e.from,!0)),to:p(this.br(e.to,!0))}},e.prototype.wt=function(){return this.$h},e.prototype.Dr=function(e){if(isFinite(e)&&!(e<=0)&&this.$h!==e){if(this.ki.lockVisibleTimeRangeOnResize&&this.$h){var t=this.ar*e/this.$h;this.ar=t}if(this.ki.fixLeftEdge){var n=this.mr();if(null!==n&&0>=n.hh()){var i=this.$h-e;this.ur-=Math.round(i/this.ar)+1}}this.$h=e,this.tr=!0,this.Ar(),this.Tr()}},e.prototype.G=function(e){if(this.ti()||!m(e))return 0;var t=this.Br()+this.ur-e;return this.$h-(t+.5)*this.ar-1},e.prototype.Lr=function(e,t){for(var n=this.Br(),i=void 0===t?0:t.from,a=void 0===t?e.length:t.to,r=i;r<a;r++){var s=e[r].S,o=n+this.ur-s,l=this.$h-(o+.5)*this.ar-1;e[r].p=l}},e.prototype.Fr=function(e){return Math.ceil(this.Er(e))},e.prototype.Mr=function(e){this.tr=!0,this.ur=e,this.Tr(),this.hi.Vr(),this.hi.Or()},e.prototype.Wr=function(){return this.ar},e.prototype.wr=function(e){this.zr(e),this.Tr(),this.hi.Vr(),this.hi.Or()},e.prototype.Pr=function(){return this.ur},e.prototype.Fn=function(){if(this.ti())return null;if(null!==this.rr)return this.rr;for(var e=this.ar,t=5*(this.hi.ct().layout.fontSize+4),n=Math.round(t/e),i=p(this.mr()),a=Math.max(i.hh(),i.hh()-n),r=Math.max(i.rh(),i.rh()-n),s=this.Jh.Ih(e,t),o=this.Cr()+n,l=this.Nr()-n,c=0,u=0;u<s.length;u++){var h=s[u];if(a<=h.Ph&&h.Ph<=r){var d=void 0;c<this.er.length?((d=this.er[c]).An=this.G(h.Ph),d.Tn=this.Rr(h.S,h.Rh),d.Rh=h.Rh):(d={Ir:!1,An:this.G(h.Ph),Tn:this.Rr(h.S,h.Rh),Rh:h.Rh},this.er.push(d)),this.ar>t/2?d.Ir=!1:d.Ir=this.ki.fixLeftEdge&&h.Ph<=o||this.ki.fixRightEdge&&h.Ph>=l,c++}}return this.er.length=c,this.rr=this.er,this.er},e.prototype.jr=function(){this.tr=!0,this.wr(this.ki.barSpacing),this.Mr(this.ki.rightOffset)},e.prototype.qr=function(e){this.tr=!0,this.Xh=e,this.Tr(),this._r()},e.prototype.Ur=function(e,t){var n=this.Er(e),i=this.Wr();this.wr(i+i/10*t),this.ki.rightBarStaysOnScroll||this.Mr(this.Pr()+(n-this.Er(e)))},e.prototype.js=function(e){this.Xn&&this.Ks(),null===this.$n&&null===this.hr&&(this.ti()||(this.$n=e,this.Hr()))},e.prototype.qs=function(e){if(null!==this.hr){var t=er(this.$h-e,0,this.$h),n=er(this.$h-p(this.$n),0,this.$h);0!==t&&0!==n&&this.wr(this.hr.Wr*t/n)}},e.prototype.Us=function(){null!==this.$n&&(this.$n=null,this.Yr())},e.prototype.Hs=function(e){null===this.Xn&&null===this.hr&&(this.ti()||(this.Xn=e,this.Hr()))},e.prototype.Ys=function(e){if(null!==this.Xn){var t=(this.Xn-e)/this.Wr();this.ur=p(this.hr).Pr+t,this.tr=!0,this.Tr()}},e.prototype.Ks=function(){null!==this.Xn&&(this.Xn=null,this.Yr())},e.prototype.Kr=function(){this.$r(this.ki.rightOffset)},e.prototype.$r=function(e,t){var n=this;if(void 0===t&&(t=400),!isFinite(e))throw RangeError("offset is required and must be finite number");if(!isFinite(t)||t<=0)throw RangeError("animationDuration (optional) must be finite positive number");var i=this.ur,a=performance.now(),r=function(){var s=(performance.now()-a)/t,o=s>=1;n.Mr(o?e:i+(e-i)*s),o||setTimeout(r,20)};r()},e.prototype.O=function(e,t){this.tr=!0,this.Zh=e,this.Jh.Oh(e,t),this.Tr()},e.prototype.Xr=function(){return this.ir},e.prototype.Zr=function(){return this.nr},e.prototype.Jr=function(){return this.sr},e.prototype.Br=function(){return this.Xh||0},e.prototype.Gr=function(e){var t=e.Fh();this.zr(this.$h/t),this.ur=e.rh()-this.Br(),this.Tr(),this.tr=!0,this.hi.Vr(),this.hi.Or()},e.prototype.Qr=function(){var e=this.Cr(),t=this.Nr();null!==e&&null!==t&&this.Gr(new eF(e,t+this.ki.rightOffset))},e.prototype.te=function(e){var t=new eF(e.from,e.to);this.Gr(t)},e.prototype.ei=function(e){return void 0!==this.Qn.timeFormatter?this.Qn.timeFormatter(e.Sh||e.Dh):this.ie.oh(new Date(1e3*e.Dh))},e.prototype.Cr=function(){return 0===this.Zh.length?null:0},e.prototype.Nr=function(){return 0===this.Zh.length?null:this.Zh.length-1},e.prototype.ne=function(e){return(this.$h-1-e)/this.ar},e.prototype.Er=function(e){var t=this.ne(e);return Math.round(1e6*(this.Br()+this.ur-t))/1e6},e.prototype.zr=function(e){var t=this.ar;this.ar=e,this.Ar(),t!==this.ar&&(this.tr=!0,this.se())},e.prototype.pr=function(){if(this.tr){if(this.tr=!1,this.ti())this.he(eZ.Kh());else{var e=this.Br(),t=this.$h/this.ar,n=this.ur+e,i=new eF(n-t+1,n);this.he(new eZ(i))}}},e.prototype.Ar=function(){var e=this.re();if(this.ar<e&&(this.ar=e,this.tr=!0),0!==this.$h){var t=.5*this.$h;this.ar>t&&(this.ar=t,this.tr=!0)}},e.prototype.re=function(){return this.ki.fixLeftEdge&&this.ki.fixRightEdge&&0!==this.Zh.length?this.$h/this.Zh.length:this.ki.minBarSpacing},e.prototype.Tr=function(){var e=this.ee();this.ur>e&&(this.ur=e,this.tr=!0);var t=this.ue();null!==t&&this.ur<t&&(this.ur=t,this.tr=!0)},e.prototype.ue=function(){var e=this.Cr(),t=this.Xh;return null===e||null===t?null:e-t-1+(this.ki.fixLeftEdge?this.$h/this.ar:Math.min(2,this.Zh.length))},e.prototype.ee=function(){return this.ki.fixRightEdge?0:this.$h/this.ar-Math.min(2,this.Zh.length)},e.prototype.Hr=function(){this.hr={Wr:this.Wr(),Pr:this.Pr()}},e.prototype.Yr=function(){this.hr=null},e.prototype.Rr=function(e,t){var n=this,i=this.Gh.get(t);return void 0===i&&(i=new eR(function(e){return n.ae(e,t)}),this.Gh.set(t,i)),i.oh(e)},e.prototype.ae=function(e,t){var n,i=function(e,t,n){switch(e){case 0:case 10:return t?n?4:3:2;case 20:case 21:case 22:case 30:case 31:case 32:case 33:return t?3:2;case 50:return 2;case 60:return 1;case 70:return 0}}(t,this.ki.timeVisible,this.ki.secondsVisible);return void 0!==this.ki.tickMarkFormatter?this.ki.tickMarkFormatter(null!==(n=e.Sh)&&void 0!==n?n:e.Dh,i,this.Qn.locale):function(e,t,n){var i={};switch(t){case 0:i.year="numeric";break;case 1:i.month="short";break;case 2:i.day="numeric";break;case 3:i.hour12=!1,i.hour="2-digit",i.minute="2-digit";break;case 4:i.hour12=!1,i.hour="2-digit",i.minute="2-digit",i.second="2-digit"}var a=new Date(void 0===e.Sh?1e3*e.Dh:Date.UTC(e.Sh.year,e.Sh.month-1,e.Sh.day));return new Date(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()).toLocaleString(n,i)}(e,i,this.Qn.locale)},e.prototype.he=function(e){var t=this.Qh;this.Qh=e,eD(t.Hh(),this.Qh.Hh())||this.ir.hn(),eD(t.Yh(),this.Qh.Yh())||this.nr.hn(),this.se()},e.prototype.se=function(){this.rr=null},e.prototype.vr=function(){this.se(),this.Gh.clear()},e.prototype.lr=function(){var e=this.Qn.dateFormat;this.ki.timeVisible?this.ie=new eA({fh:e,_h:this.ki.secondsVisible?"%h:%m:%s":"%h:%m",dh:"   ",wh:this.Qn.locale}):this.ie=new eM(e,this.Qn.locale)},e.prototype._r=function(){if(this.ki.fixLeftEdge){var e=this.Cr();if(null!==e){var t=this.mr();if(null!==t){var n=t.hh()-e;if(n<0){var i=this.ur-n-1;this.Mr(i)}this.Ar()}}}},e.prototype.dr=function(){this.Tr(),this.Ar()},e}();function eU(e){return!f(e)&&!v(e)}(e=e$||(e$={})).Solid="solid",e.VerticalGradient="gradient";var eq="'Trebuchet MS', Roboto, Ubuntu, sans-serif";function eW(e,t,n){return void 0!==n?n+=" ":n="",void 0===t&&(t=eq),""+n+e+"px "+t}var eH=function(){function e(e){this.oe={At:1,Dt:4,Wt:NaN,Nt:"",le:"",et:"",Bt:0,Lt:0,Ft:0,Tt:0,Ot:0},this.F=e}return e.prototype.ct=function(){var e=this.oe,t=this.fe(),n=this.ce();return e.Wt===t&&e.le===n||(e.Wt=t,e.le=n,e.Nt=eW(t,n),e.Tt=Math.floor(t/3.5),e.Bt=e.Tt,e.Lt=Math.max(Math.ceil(t/2-e.Dt/2),0),e.Ft=Math.ceil(t/2+e.Dt/2),e.Ot=Math.round(t/10)),e.et=this.ve(),this.oe},e.prototype.ve=function(){return this.F.ct().layout.textColor},e.prototype.fe=function(){return this.F.ct().layout.fontSize},e.prototype.ce=function(){return this.F.ct().layout.fontFamily},e}();function eY(e){return"left"===e||"right"===e}var eG=function(){function e(e){this._e=new Map,this.de=!1,this.we=[],this.Me=e}return e.prototype.be=function(e,t){var n,i=void 0===(n=this._e.get(e))?t:{me:Math.max(n.me,t.me),_s:n._s||t._s};this._e.set(e,i)},e.prototype.pe=function(){return this.Me},e.prototype.ge=function(e){var t=this._e.get(e);return void 0===t?{me:this.Me}:{me:Math.max(this.Me,t.me),_s:t._s}},e.prototype.ye=function(){this.we=[{ke:0}]},e.prototype.Ce=function(e){this.we=[{ke:1,X:e}]},e.prototype.Ne=function(){this.we=[{ke:4}]},e.prototype.wr=function(e){this.we.push({ke:2,X:e})},e.prototype.Mr=function(e){this.we.push({ke:3,X:e})},e.prototype.xe=function(){return this.we},e.prototype._n=function(e){var t=this;this.de=this.de||e.de,this.we=this.we.concat(e.we);for(var n=0,i=e.we;n<i.length;n++){var a=i[n];this.Se(a)}this.Me=Math.max(this.Me,e.Me),e._e.forEach(function(e,n){t.be(n,e)})},e.prototype.Se=function(e){switch(e.ke){case 0:this.ye();break;case 1:this.Ce(e.X);break;case 2:this.wr(e.X);break;case 3:this.Mr(e.X);break;case 4:this.Ne()}},e}(),eK=function(){function e(e){this.De=e}return e.prototype.format=function(e){var t="";return e<0&&(t="-",e=-e),e<995?t+this.Ae(e):e<999995?t+this.Ae(e/1e3)+"K":e<999999995?(e=1e3*Math.round(e/1e3),t+this.Ae(e/1e6)+"M"):(e=1e6*Math.round(e/1e6),t+this.Ae(e/1e9)+"B")},e.prototype.Ae=function(e){var t=Math.pow(10,this.De);return((e=Math.round(e*t)/t)>=1e-15&&e<1?e.toFixed(this.De).replace(/\.?0+$/,""):String(e)).replace(/(\.[1-9]*)0+$/,function(e,t){return t})},e}();function eQ(e,t,n,i){if(0!==t.length){var a=t[i.from].p,r=t[i.from].g;e.moveTo(a,r);for(var s=i.from+1;s<i.to;++s){var o=t[s];if(1===n){var l=t[s-1].g,c=o.p;e.lineTo(c,l)}e.lineTo(o.p,o.g)}}}var eX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.v=null,t}return s(t,e),t.prototype._=function(e){this.v=e},t.prototype.u=function(e){if(null!==this.v&&0!==this.v.m.length&&null!==this.v.M){if(e.lineCap="butt",e.lineJoin="round",e.lineWidth=this.v.rt,i(e,this.v.ut),e.lineWidth=1,e.beginPath(),1===this.v.m.length){var t=this.v.m[0],n=this.v.Te/2;e.moveTo(t.p-n,this.v.Be),e.lineTo(t.p-n,t.g),e.lineTo(t.p+n,t.g),e.lineTo(t.p+n,this.v.Be)}else e.moveTo(this.v.m[this.v.M.from].p,this.v.Be),e.lineTo(this.v.m[this.v.M.from].p,this.v.m[this.v.M.from].g),eQ(e,this.v.m,this.v.Le,this.v.M),this.v.M.to>this.v.M.from&&(e.lineTo(this.v.m[this.v.M.to-1].p,this.v.Be),e.lineTo(this.v.m[this.v.M.from].p,this.v.Be));e.closePath(),e.fillStyle=this.Fe(e),e.fill()}},t}(_),eJ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.Fe=function(e){var t=this.v,n=e.createLinearGradient(0,0,0,t.Ee);return n.addColorStop(0,t.Ve),n.addColorStop(1,t.Oe),n},t}(eX),e0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.v=null,t}return s(t,e),t.prototype._=function(e){this.v=e},t.prototype.u=function(e){if(null!==this.v&&0!==this.v.m.length&&null!==this.v.M){if(e.lineCap="butt",e.lineWidth=this.v.rt,i(e,this.v.ut),e.strokeStyle=this.We(e),e.lineJoin="round",e.beginPath(),1===this.v.m.length){var t=this.v.m[0];e.moveTo(t.p-this.v.Te/2,t.g),e.lineTo(t.p+this.v.Te/2,t.g)}else eQ(e,this.v.m,this.v.Le,this.v.M);e.stroke()}},t}(_),e1=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.We=function(){return this.v.N},t}(e0);function e2(e,t){return e.S<t}function e3(e,t){return e<t.S}function e4(e,t,n){var i=t.hh(),a=t.rh(),r=eO(e,i,e2),s=eN(e,a,e3);if(!n)return{from:r,to:s};var o=r,l=s;return r>0&&r<e.length&&e[r].S>=i&&(o=r-1),s>0&&s<e.length&&e[s-1].S<=a&&(l=s+1),{from:o,to:l}}var e5=function(){function e(e,t,n){this.ze=!0,this.Pe=!0,this.Re=!0,this.Ie=[],this.je=null,this.qe=e,this.Ue=t,this.He=n}return e.prototype.O=function(e){this.ze=!0,"data"===e&&(this.Pe=!0),"options"===e&&(this.Re=!0)},e.prototype.Ye=function(){this.Pe&&(this.Ke(),this.Pe=!1),this.ze&&(this.$e(),this.ze=!1),this.Re&&(this.Xe(),this.Re=!1)},e.prototype.Ze=function(){this.je=null},e.prototype.$e=function(){var e=this.qe.$(),t=this.Ue.j();if(this.Ze(),!t.ti()&&!e.ti()){var n=t.mr();if(null!==n&&0!==this.qe.Hi().Je()){var i=this.qe.H();null!==i&&(this.je=e4(this.Ie,n,this.He),this.Ge(e,t,i.X))}}},e}(),e7=function(e){function t(t,n){return e.call(this,t,n,!0)||this}return s(t,e),t.prototype.Ge=function(e,t,n){t.Lr(this.Ie,y(this.je)),e.Ss(this.Ie,n,y(this.je))},t.prototype.Qe=function(e,t){return{S:e,D:t,p:NaN,g:NaN}},t.prototype.Xe=function(){},t.prototype.Ke=function(){var e=this,t=this.qe.tu();this.Ie=this.qe.Hi().iu().map(function(n){var i=n.X[3];return e.nu(n.Ph,i,t)})},t}(e5),e6=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.ot=new w,i.su=new eJ,i.hu=new e1,i.ot.i([i.su,i.hu]),i}return s(t,e),t.prototype.P=function(e,t){if(!this.qe.U())return null;var n=this.qe.ct();return this.Ye(),this.su._({Le:n.lineType,m:this.Ie,ut:n.lineStyle,rt:n.lineWidth,Ve:n.topColor,Oe:n.bottomColor,Be:e,Ee:e,M:this.je,Te:this.Ue.j().Wr()}),this.hu._({Le:n.lineType,m:this.Ie,N:n.lineColor,ut:n.lineStyle,rt:n.lineWidth,M:this.je,Te:this.Ue.j().Wr()}),this.ot},t.prototype.nu=function(e,t){return this.Qe(e,t)},t}(e7),e8=function(){function e(){this.tt=null,this.ru=0,this.eu=0}return e.prototype._=function(e){this.tt=e},e.prototype.h=function(e,t,n,i){if(null!==this.tt&&0!==this.tt.Hi.length&&null!==this.tt.M){this.ru=this.uu(t),this.ru>=2&&Math.max(1,Math.floor(t))%2!=this.ru%2&&this.ru--,this.eu=this.tt.au?Math.min(this.ru,Math.floor(t)):this.ru;for(var a=null,r=this.eu<=this.ru&&this.tt.Wr>=Math.floor(1.5*t),s=this.tt.M.from;s<this.tt.M.to;++s){var o=this.tt.Hi[s];a!==o.et&&(e.fillStyle=o.et,a=o.et);var l=Math.floor(.5*this.eu),c=Math.round(o.p*t),u=c-l,p=this.eu,h=u+p-1,d=Math.min(o.Bs,o.Ls),f=Math.max(o.Bs,o.Ls),m=Math.round(d*t)-l,v=Math.max(Math.round(f*t)+l-m,this.eu);e.fillRect(u,m,p,v);var g=Math.ceil(1.5*this.ru);if(r){if(this.tt.ou){var x=c-g,b=Math.max(m,Math.round(o.Ts*t)-l),y=b+p-1;y>m+v-1&&(b=(y=m+v-1)-p+1),e.fillRect(x,b,u-x,y-b+1)}var w=c+g,_=Math.max(m,Math.round(o.Fs*t)-l),k=_+p-1;k>m+v-1&&(_=(k=m+v-1)-p+1),e.fillRect(h+1,_,w-h,k-_+1)}}}},e.prototype.uu=function(e){return Math.max(Math.floor(e),Math.floor(Math.floor(.3*p(this.tt).Wr*e)))},e}(),e9=function(e){function t(t,n){return e.call(this,t,n,!1)||this}return s(t,e),t.prototype.Ge=function(e,t,n){t.Lr(this.Ie,y(this.je)),e.As(this.Ie,n,y(this.je))},t.prototype.lu=function(e,t,n){return{S:e,open:t.X[0],high:t.X[1],low:t.X[2],close:t.X[3],p:NaN,Ts:NaN,Bs:NaN,Ls:NaN,Fs:NaN}},t.prototype.Ke=function(){var e=this,t=this.qe.tu();this.Ie=this.qe.Hi().iu().map(function(n){return e.nu(n.Ph,n,t)})},t}(e5),te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ot=new e8,t}return s(t,e),t.prototype.P=function(e,t){if(!this.qe.U())return null;var n=this.qe.ct();this.Ye();var i={Hi:this.Ie,Wr:this.Ue.j().Wr(),ou:n.openVisible,au:n.thinBars,M:this.je};return this.ot._(i),this.ot},t.prototype.Xe=function(){var e=this;this.Ie.forEach(function(t){t.et=e.qe.tu().cu(t.S).fu})},t.prototype.nu=function(e,t,n){return o(o({},this.lu(e,t,n)),{et:n.cu(e).fu})},t}(e9),tt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.Fe=function(e){var t=this.v,n=e.createLinearGradient(0,0,0,t.Ee),i=er(t.Be/t.Ee,0,1);return n.addColorStop(0,t.vu),n.addColorStop(i,t._u),n.addColorStop(i,t.du),n.addColorStop(1,t.wu),n},t}(eX),tn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.We=function(e){var t=this.v,n=e.createLinearGradient(0,0,0,t.Ee),i=er(t.Be/t.Ee,0,1);return n.addColorStop(0,t.Ve),n.addColorStop(i,t.Ve),n.addColorStop(i,t.Oe),n.addColorStop(1,t.Oe),n},t}(e0),ti=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.Mu=new tt,i.bu=new tn,i.A=new w,i.A.i([i.Mu,i.bu]),i}return s(t,e),t.prototype.P=function(e,t){if(!this.qe.U())return null;var n=this.qe.H();if(null===n)return null;var i=this.qe.ct();this.Ye();var a=this.qe.$().K(i.baseValue.price,n.X),r=this.Ue.j().Wr();return this.Mu._({m:this.Ie,vu:i.topFillColor1,_u:i.topFillColor2,du:i.bottomFillColor1,wu:i.bottomFillColor2,rt:i.lineWidth,ut:i.lineStyle,Le:0,Be:a,Ee:e,M:this.je,Te:r}),this.bu._({m:this.Ie,Ve:i.topLineColor,Oe:i.bottomLineColor,rt:i.lineWidth,ut:i.lineStyle,Le:0,Be:a,Ee:e,M:this.je,Te:r}),this.A},t.prototype.nu=function(e,t){return this.Qe(e,t)},t}(e7),ta=function(){function e(){this.tt=null,this.ru=0}return e.prototype._=function(e){this.tt=e},e.prototype.h=function(e,t,n,i){if(null!==this.tt&&0!==this.tt.Hi.length&&null!==this.tt.M){this.ru=function(e,t){if(e>=2.5&&e<=4)return Math.floor(3*t);var n=1-.2*Math.atan(Math.max(4,e)-4)/(.5*Math.PI),i=Math.min(Math.floor(e*n*t),Math.floor(e*t));return Math.max(Math.floor(t),i)}(this.tt.Wr,t),this.ru>=2&&Math.floor(t)%2!=this.ru%2&&this.ru--;var a=this.tt.Hi;this.tt.mu&&this.pu(e,a,this.tt.M,t),this.tt.gu&&this.yu(e,a,this.tt.M,this.tt.Wr,t);var r=this.ku(t);(!this.tt.gu||this.ru>2*r)&&this.Cu(e,a,this.tt.M,t)}},e.prototype.pu=function(e,t,n,i){if(null!==this.tt){var a="",r=Math.min(Math.floor(i),Math.floor(this.tt.Wr*i));r=Math.max(Math.floor(i),Math.min(r,this.ru));for(var s=Math.floor(.5*r),o=null,l=n.from;l<n.to;l++){var c=t[l];c.Nu!==a&&(e.fillStyle=c.Nu,a=c.Nu);var u=Math.round(Math.min(c.Ts,c.Fs)*i),p=Math.round(Math.max(c.Ts,c.Fs)*i),h=Math.round(c.Bs*i),d=Math.round(c.Ls*i),f=Math.round(i*c.p)-s,m=f+r-1;null!==o&&(f=Math.min(f=Math.max(o+1,f),m));var v=m-f+1;e.fillRect(f,h,v,u-h),e.fillRect(f,p+1,v,d-p),o=m}}},e.prototype.ku=function(e){var t=Math.floor(1*e);this.ru<=2*t&&(t=Math.floor(.5*(this.ru-1)));var n=Math.max(Math.floor(e),t);return this.ru<=2*n?Math.max(Math.floor(e),Math.floor(1*e)):n},e.prototype.yu=function(e,t,n,i,a){if(null!==this.tt)for(var r="",s=this.ku(a),o=null,l=n.from;l<n.to;l++){var c,u,p,h=t[l];h.Z!==r&&(e.fillStyle=h.Z,r=h.Z);var d=Math.round(h.p*a)-Math.floor(.5*this.ru),f=d+this.ru-1,m=Math.round(Math.min(h.Ts,h.Fs)*a),v=Math.round(Math.max(h.Ts,h.Fs)*a);if(null!==o&&(d=Math.min(d=Math.max(o+1,d),f)),this.tt.Wr*a>2*s)c=d,u=f-d+1,p=v-m+1,e.fillRect(c+s,m,u-2*s,s),e.fillRect(c+s,m+p-s,u-2*s,s),e.fillRect(c,m,s,p),e.fillRect(c+u-s,m,s,p);else{var g=f-d+1;e.fillRect(d,m,g,v-m+1)}o=f}},e.prototype.Cu=function(e,t,n,i){if(null!==this.tt)for(var a="",r=this.ku(i),s=n.from;s<n.to;s++){var o=t[s],l=Math.round(Math.min(o.Ts,o.Fs)*i),c=Math.round(Math.max(o.Ts,o.Fs)*i),u=Math.round(o.p*i)-Math.floor(.5*this.ru),p=u+this.ru-1;if(o.et!==a){var h=o.et;e.fillStyle=h,a=h}this.tt.gu&&(u+=r,l+=r,p-=r,c-=r),l>c||e.fillRect(u,l,p-u+1,c-l+1)}},e}(),tr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ot=new ta,t}return s(t,e),t.prototype.P=function(e,t){if(!this.qe.U())return null;var n=this.qe.ct();this.Ye();var i={Hi:this.Ie,Wr:this.Ue.j().Wr(),mu:n.wickVisible,gu:n.borderVisible,M:this.je};return this.ot._(i),this.ot},t.prototype.Xe=function(){var e=this;this.Ie.forEach(function(t){var n=e.qe.tu().cu(t.S);t.et=n.fu,t.Nu=n.xu,t.Z=n.Su})},t.prototype.nu=function(e,t,n){var i=n.cu(e);return o(o({},this.lu(e,t,n)),{et:i.fu,Nu:i.xu,Z:i.Su})},t}(e9),ts=function(){function e(){this.tt=null,this.Du=[]}return e.prototype._=function(e){this.tt=e,this.Du=[]},e.prototype.h=function(e,t,n,i){if(null!==this.tt&&0!==this.tt.m.length&&null!==this.tt.M){this.Du.length||this.Au(t);for(var a=Math.max(1,Math.floor(t)),r=Math.round(this.tt.Tu*t)-Math.floor(a/2),s=r+a,o=this.tt.M.from;o<this.tt.M.to;o++){var l=this.tt.m[o],c=this.Du[o-this.tt.M.from],u=Math.round(l.g*t);e.fillStyle=l.et;var p=void 0,h=void 0;u<=r?(p=u,h=s):(p=r,h=u-Math.floor(a/2)+a),e.fillRect(c.hh,p,c.rh-c.hh+1,h-p)}}},e.prototype.Au=function(e){if(null!==this.tt&&0!==this.tt.m.length&&null!==this.tt.M){var t=1>=Math.ceil(this.tt.Wr*e)?0:Math.max(1,Math.floor(e)),n=Math.round(this.tt.Wr*e)-t;this.Du=Array(this.tt.M.to-this.tt.M.from);for(var i=this.tt.M.from;i<this.tt.M.to;i++){var a,r=this.tt.m[i],s=Math.round(r.p*e),o=void 0,l=void 0;n%2?(o=s-(a=(n-1)/2),l=s+a):(o=s-(a=n/2),l=s+a-1),this.Du[i-this.tt.M.from]={hh:o,rh:l,Bu:s,Lu:r.p*e,S:r.S}}for(i=this.tt.M.from+1;i<this.tt.M.to;i++){var c=this.Du[i-this.tt.M.from],u=this.Du[i-this.tt.M.from-1];c.S===u.S+1&&c.hh-u.rh!==t+1&&(u.Bu>u.Lu?u.rh=c.hh-t-1:c.hh=u.rh+t+1)}var p=Math.ceil(this.tt.Wr*e);for(i=this.tt.M.from;i<this.tt.M.to;i++){(c=this.Du[i-this.tt.M.from]).rh<c.hh&&(c.rh=c.hh);var h=c.rh-c.hh+1;p=Math.min(h,p)}if(t>0&&p<4)for(i=this.tt.M.from;i<this.tt.M.to;i++)(h=(c=this.Du[i-this.tt.M.from]).rh-c.hh+1)>p&&(c.Bu>c.Lu?c.rh-=1:c.hh+=1)}else this.Du=[]},e}();function to(e){return{m:[],Wr:e,Tu:NaN,M:null}}var tl=function(e){function t(t,n){var i=e.call(this,t,n,!1)||this;return i.A=new w,i.Fu=to(0),i.ot=new ts,i}return s(t,e),t.prototype.P=function(e,t){return this.qe.U()?(this.Ye(),this.A):null},t.prototype.Ke=function(){var e=this.Ue.j().Wr();this.Fu=to(e);for(var t=0,n=0,i=this.qe.ct().color,a=0,r=this.qe.Hi().iu();a<r.length;a++){var s=r[a],o=s.X[3],l=void 0!==s.et?s.et:i,c={S:s.Ph,D:o,p:NaN,g:NaN,et:l};++t<this.Fu.m.length?this.Fu.m[t]=c:this.Fu.m.push(c),this.Ie[n++]={S:s.Ph,p:0}}this.ot._(this.Fu),this.A.i([this.ot])},t.prototype.Xe=function(){},t.prototype.Ze=function(){e.prototype.Ze.call(this),this.Fu.M=null},t.prototype.Ge=function(e,t,n){if(null!==this.je){var i=t.Wr(),a=p(t.mr()),r=e.K(this.qe.ct().base,n);t.Lr(this.Fu.m),e.Ss(this.Fu.m,n),this.Fu.Tu=r,this.Fu.M=e4(this.Fu.m,a,!1),this.Fu.Wr=i,this.ot._(this.Fu)}},t}(e5),tc=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.hu=new e1,i}return s(t,e),t.prototype.P=function(e,t){if(!this.qe.U())return null;var n=this.qe.ct();this.Ye();var i={m:this.Ie,N:n.color,ut:n.lineStyle,Le:n.lineType,rt:n.lineWidth,M:this.je,Te:this.Ue.j().Wr()};return this.hu._(i),this.hu},t.prototype.nu=function(e,t){return this.Qe(e,t)},t}(e7),tu=/[2-9]/g,tp=function(){function e(e){void 0===e&&(e=50),this.kh=new Map,this.Eu=0,this.Vu=Array.from(Array(e))}return e.prototype.Ou=function(){this.kh.clear(),this.Vu.fill(void 0)},e.prototype.Vt=function(e,t,n){var i=String(t).replace(n||tu,"0"),a=this.kh.get(i);if(void 0===a){if(0===(a=e.measureText(i).width)&&0!==t.length)return 0;var r=this.Vu[this.Eu];void 0!==r&&this.kh.delete(r),this.Vu[this.Eu]=i,this.Eu=(this.Eu+1)%this.Vu.length,this.kh.set(i,a)}return a},e}(),th=function(){function e(e){this.Wu=null,this.oe=null,this.zu="right",this.$h=0,this.Pu=e}return e.prototype.Ru=function(e,t,n,i){this.Wu=e,this.oe=t,this.$h=n,this.zu=i},e.prototype.h=function(e,t){null!==this.oe&&null!==this.Wu&&this.Wu.h(e,this.oe,this.Pu,this.$h,this.zu,t)},e}(),td=function(){function e(e,t,n){this.Iu=e,this.Pu=new tp(50),this.ju=t,this.F=n,this.fe=-1,this.ot=new th(this.Pu)}return e.prototype.P=function(e,t){var n=this.F.qu(this.ju);if(null===n)return null;var i=n.Uu(this.ju)?n.xi():this.ju.$();if(null===i)return null;var a=n.Hu(i);if("overlay"===a)return null;var r=this.F.Yu();return r.Wt!==this.fe&&(this.fe=r.Wt,this.Pu.Ou()),this.ot.Ru(this.Iu.Zt(),r,t,a),this.ot},e}(),tf=function(){function e(){this.tt=null}return e.prototype._=function(e){this.tt=e},e.prototype.h=function(e,t,n,r){if(null!==this.tt&&!1!==this.tt.U){var s=Math.round(this.tt.g*t);if(!(s<0||s>Math.ceil(this.tt.Mt*t))){var o=Math.ceil(this.tt.wt*t);e.lineCap="butt",e.strokeStyle=this.tt.et,e.lineWidth=Math.floor(this.tt.rt*t),i(e,this.tt.ut),a(e,s,0,o)}}},e}(),tm=function(){function e(e){this.Ku={wt:0,Mt:0,g:0,et:"rgba(0, 0, 0, 0)",rt:1,ut:0,U:!1},this.$u=new tf,this.L=!0,this.qe=e,this.Ue=e.vt(),this.$u._(this.Ku)}return e.prototype.O=function(){this.L=!0},e.prototype.P=function(e,t){return this.qe.U()?(this.L&&(this.Xu(e,t),this.L=!1),this.$u):null},e}(),tv=function(e){function t(t){return e.call(this,t)||this}return s(t,e),t.prototype.Xu=function(e,t){this.Ku.U=!1;var n=this.qe.$(),i=n.os().os;if(2===i||3===i){var a=this.qe.ct();if(a.baseLineVisible&&this.qe.U()){var r=this.qe.H();null!==r&&(this.Ku.U=!0,this.Ku.g=n.K(r.X,r.X),this.Ku.wt=t,this.Ku.Mt=e,this.Ku.et=a.baseLineColor,this.Ku.rt=a.baseLineWidth,this.Ku.ut=a.baseLineStyle)}}},t}(tm),tg=function(){function e(){this.tt=null}return e.prototype._=function(e){this.tt=e},e.prototype.Zu=function(){return this.tt},e.prototype.h=function(e,t,n,i){var a=this.tt;if(null!==a){e.save();var r=Math.max(1,Math.floor(t)),s=r%2/2,o=Math.round(a.Lu.x*t)+s,l=a.Lu.y*t;e.fillStyle=a.Ju,e.beginPath();var c=Math.max(2,1.5*a.Gu)*t;e.arc(o,l,c,0,2*Math.PI,!1),e.fill(),e.fillStyle=a.Qu,e.beginPath(),e.arc(o,l,a.C*t,0,2*Math.PI,!1),e.fill(),e.lineWidth=r,e.strokeStyle=a.ta,e.beginPath(),e.arc(o,l,a.C*t+r/2,0,2*Math.PI,!1),e.stroke(),e.restore()}},e}(),tx=[{ia:0,na:.25,sa:4,ha:10,ra:.25,ea:0,ua:.4,aa:.8},{ia:.25,na:.525,sa:10,ha:14,ra:0,ea:0,ua:.8,aa:0},{ia:.525,na:1,sa:14,ha:14,ra:0,ea:0,ua:0,aa:0}];function tb(e,t,n,i){return function(e,t){if("transparent"===e)return e;var n=I(e),i=n[3];return"rgba("+n[0]+", "+n[1]+", "+n[2]+", "+t*i+")"}(e,n+(i-n)*t)}function ty(e,t){for(var n,i=e%2600/2600,a=0;a<tx.length;a++){var r=tx[a];if(i>=r.ia&&i<=r.na){n=r;break}}c(void 0!==n,"Last price animation internal logic error");var s,o=(i-n.ia)/(n.na-n.ia);return{Qu:tb(t,o,n.ra,n.ea),ta:tb(t,o,n.ua,n.aa),C:(s=n.sa)+(n.ha-s)*o}}var tw=function(){function e(e){this.ot=new tg,this.L=!0,this.oa=!0,this.la=performance.now(),this.fa=this.la-1,this.ca=e}return e.prototype.O=function(e){if(this.L=!0,"data"===e&&2===this.ca.ct().lastPriceAnimation){var t=performance.now(),n=this.fa-t;if(n>0)return void(n<650&&(this.fa+=2600));this.la=t,this.fa=t+2600}},e.prototype.va=function(){this.oa=!0},e.prototype.U=function(){return 0!==this.ca.ct().lastPriceAnimation},e.prototype._a=function(){switch(this.ca.ct().lastPriceAnimation){case 0:return!1;case 1:return!0;case 2:return performance.now()<=this.fa}},e.prototype.P=function(e,t){return this.L?(this.R(e,t),this.L=!1,this.oa=!1):this.oa&&(this.da(),this.oa=!1),this.ot},e.prototype.R=function(e,t){this.ot._(null);var n=this.ca.vt().j(),i=n.mr(),a=this.ca.H();if(null!==i&&null!==a){var r=this.ca.wa(!0);if(!r.Ma&&i.Eh(r.Ph)){var s={x:n.G(r.Ph),y:this.ca.$().K(r.D,a.X)},o=r.et,l=this.ca.ct().lineWidth,c=ty(this.ba(),o);this.ot._({Ju:o,Gu:l,Qu:c.Qu,ta:c.ta,C:c.C,Lu:s})}}},e.prototype.da=function(){var e=this.ot.Zu();if(null!==e){var t=ty(this.ba(),e.Ju);e.Qu=t.Qu,e.ta=t.ta,e.C=t.C}},e.prototype.ba=function(){return this._a()?performance.now()-this.la:2599},e}();function t_(e,t){return el(Math.min(Math.max(e,12),30)*t)}function tk(e,t){switch(e){case"arrowDown":case"arrowUp":return t_(t,1);case"circle":return t_(t,.8);case"square":return t_(t,.7)}}function tC(e){return Math.max(t_(e,.1),3)}function tE(e,t,n,i,a){var r=tk("square",n),s=(r-1)/2,o=e-s,l=t-s;return i>=o&&i<=o+r&&a>=l&&a<=l+r}function tj(e,t,n,i,a){var r=(tk("arrowUp",a)-1)/2,s=(el(a/2)-1)/2;t.beginPath(),e?(t.moveTo(n-r,i),t.lineTo(n,i-r),t.lineTo(n+r,i),t.lineTo(n+s,i),t.lineTo(n+s,i+r),t.lineTo(n-s,i+r)):(t.moveTo(n-r,i),t.lineTo(n,i+r),t.lineTo(n+r,i),t.lineTo(n+s,i),t.lineTo(n+s,i-r),t.lineTo(n-s,i-r)),t.lineTo(n-s,i),t.fill()}var tM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.tt=null,t.Pu=new tp,t.fe=-1,t.ce="",t.ma="",t}return s(t,e),t.prototype._=function(e){this.tt=e},t.prototype.Ru=function(e,t){this.fe===e&&this.ce===t||(this.fe=e,this.ce=t,this.ma=eW(e,t),this.Pu.Ou())},t.prototype.pa=function(e,t){if(null===this.tt||null===this.tt.M)return null;for(var n=this.tt.M.from;n<this.tt.M.to;n++){var i=this.tt.m[n];if(function(e,t,n){var i,a,r,s;return!(void 0===e.Et||(i=e.p,a=e.Et.g,r=e.Et.wt,s=e.Et.Mt/2,!(t>=i)||!(t<=i+r)||!(n>=a-s)||!(n<=a+s)))||function(e,t,n){var i,a,r,s,o,l;if(0===e.Je)return!1;switch(e.Na){case"arrowDown":case"arrowUp":return i=e.p,tE(i,e.g,e.Je,t,n);case"circle":return a=e.p,r=e.g,s=2+tk("circle",e.Je)/2,Math.sqrt((o=a-t)*o+(l=r-n)*l)<=s;case"square":return tE(e.p,e.g,e.Je,t,n)}}(e,t,n)}(i,e,t))return{ga:i.ya,ka:i.ka}}return null},t.prototype.u=function(e,t,n){if(null!==this.tt&&null!==this.tt.M){e.textBaseline="middle",e.font=this.ma;for(var i=this.tt.M.from;i<this.tt.M.to;i++){var a=this.tt.m[i];void 0!==a.Et&&(a.Et.wt=this.Pu.Vt(e,a.Et.Ca),a.Et.Mt=this.fe),e.fillStyle=a.et,void 0!==a.Et&&function(e,t,n,i){e.fillText(t,n,i)}(e,a.Et.Ca,a.p-a.Et.wt/2,a.Et.g),function(e,t){if(0!==e.Je){switch(e.Na){case"arrowDown":return void tj(!1,t,e.p,e.g,e.Je);case"arrowUp":return void tj(!0,t,e.p,e.g,e.Je);case"circle":var n,i,a;return void(n=e.p,i=e.g,a=(tk("circle",e.Je)-1)/2,t.beginPath(),t.arc(n,i,a,0,2*Math.PI,!1),t.fill());case"square":return void function(e,t,n,i){var a=tk("square",i),r=(a-1)/2;e.fillRect(t-r,n-r,a,a)}(t,e.p,e.g,e.Je)}e.Na}}(a,e)}}},t}(_),tS=function(){function e(e,t){this.L=!0,this.Da=!0,this.Aa=!0,this.Ta=null,this.ot=new tM,this.ca=e,this.hi=t,this.tt={m:[],M:null}}return e.prototype.O=function(e){this.L=!0,this.Aa=!0,"data"===e&&(this.Da=!0)},e.prototype.P=function(e,t,n){if(!this.ca.U())return null;this.L&&this.Ye();var i=this.hi.ct().layout;return this.ot.Ru(i.fontSize,i.fontFamily),this.ot._(this.tt),this.ot},e.prototype.Ba=function(){if(this.Aa){if(this.ca.La().length>0){var e=this.hi.j().Wr(),t=tC(e),n=1.5*eo(t_(e,1))+2*t;this.Ta={above:n,below:n}}else this.Ta=null;this.Aa=!1}return this.Ta},e.prototype.Ye=function(){var e=this.ca.$(),t=this.hi.j(),n=this.ca.La();this.Da&&(this.tt.m=n.map(function(e){return{S:e.time,p:0,g:0,Je:0,Na:e.shape,et:e.color,ya:e.ya,ka:e.id,Et:void 0}}),this.Da=!1);var i=this.hi.ct().layout;this.tt.M=null;var a=t.mr();if(null!==a){var r=this.ca.H();if(null!==r&&0!==this.tt.m.length){var s=NaN,o=tC(t.Wr()),l={xa:o,Sa:o};this.tt.M=e4(this.tt.m,a,!0);for(var c=this.tt.M.from;c<this.tt.M.to;c++){var u=n[c];u.time!==s&&(l.xa=o,l.Sa=o,s=u.time);var p=this.tt.m[c];p.p=t.G(u.time),void 0!==u.text&&u.text.length>0&&(p.Et={Ca:u.text,g:0,wt:0,Mt:0});var h=this.ca.Fa(u.time);null!==h&&function(e,t,n,i,a,r,s,o,l){var c=f(n)?n:n.close,u=f(n)?n:n.high,p=f(n)?n:n.low,h=f(t.size)?Math.max(t.size,0):1,d=eo(t_(o.Wr(),1))*h,m=d/2;switch(e.Je=d,t.position){case"inBar":return e.g=s.K(c,l),void(void 0!==e.Et&&(e.Et.g=e.g+m+r+.6*a));case"aboveBar":return e.g=s.K(u,l)-m-i.xa,void 0!==e.Et&&(e.Et.g=e.g-m-.6*a,i.xa+=1.2*a),void(i.xa+=d+r);case"belowBar":return e.g=s.K(p,l)+m+i.Sa,void 0!==e.Et&&(e.Et.g=e.g+m+r+.6*a,i.Sa+=1.2*a),void(i.Sa+=d+r)}t.position}(p,u,h,l,i.fontSize,o,e,t,r.X)}this.L=!1}}},e}(),tT=function(e){function t(t){return e.call(this,t)||this}return s(t,e),t.prototype.Xu=function(e,t){var n=this.Ku;n.U=!1;var i=this.qe.ct();if(i.priceLineVisible&&this.qe.U()){var a=this.qe.wa(0===i.priceLineSource);a.Ma||(n.U=!0,n.g=a.zt,n.et=this.qe.Ea(a.et),n.wt=t,n.Mt=e,n.rt=i.priceLineWidth,n.ut=i.priceLineStyle)}},t}(tm),tA=function(e){function t(t){var n=e.call(this)||this;return n.lt=t,n}return s(t,e),t.prototype.Jt=function(e,t,n){e.U=!1,t.U=!1;var i=this.lt;if(i.U()){var a=i.ct(),r=a.lastValueVisible,s=""!==i.Va(),o=0===a.seriesLastValueMode,l=i.wa(!1);if(!l.Ma){r&&(e.Et=this.Oa(l,r,o),e.U=0!==e.Et.length),(s||o)&&(t.Et=this.Wa(l,r,s,o),t.U=t.Et.length>0);var c=i.Ea(l.et),u=L(c);n.yt=u.yt,n.et=u.kt,n.zt=l.zt,t.Z=i.vt().J(l.zt/i.$().Mt()),e.Z=c}}},t.prototype.Wa=function(e,t,n,i){var a="",r=this.lt.Va();return n&&0!==r.length&&(a+=r+" "),t&&i&&(a+=this.lt.$().cs()?e.za:e.Pa),a.trim()},t.prototype.Oa=function(e,t,n){return t?n?this.lt.$().cs()?e.Pa:e.za:e.Et:""},t}(H),tO=function(){function e(e,t){this.On=e,this.Ra=t||null}return e.prototype.Cs=function(){return this.On},e.prototype.eh=function(){return this.Ra},e.prototype.Mn=function(){return null===this.On?null:{priceRange:this.On.Mn(),margins:this.Ra||void 0}},e.bn=function(t){return null===t?null:new e(ea.bn(t.priceRange),t.margins)},e}(),tN=function(e){function t(t,n){var i=e.call(this,t)||this;return i.Ia=n,i}return s(t,e),t.prototype.Xu=function(e,t){var n=this.Ku;if(n.U=!1,this.qe.U()){var i=this.Ia.ja();if(null!==i){var a=this.Ia.ct();n.U=!0,n.g=i,n.et=a.color,n.wt=t,n.Mt=e,n.rt=a.lineWidth,n.ut=a.lineStyle}}},t}(tm),tR=function(e){function t(t,n){var i=e.call(this)||this;return i.ca=t,i.Ia=n,i}return s(t,e),t.prototype.Jt=function(e,t,n){e.U=!1,t.U=!1;var i=this.Ia.ct(),a=i.axisLabelVisible,r=""!==i.title,s=this.ca;if(a&&s.U()){var o=this.Ia.ja();if(null!==o){r&&(t.Et=i.title,t.U=!0),t.Z=s.vt().J(o/s.$().Mt()),e.Et=s.$().Zs(i.price),e.U=!0;var l=L(i.color);n.yt=l.yt,n.et=l.kt,n.zt=o}}},t}(H),tF=function(){function e(e,t){this.ca=e,this.ki=t,this.qa=new tN(e,this),this.Iu=new tR(e,this),this.Ua=new td(this.Iu,e,e.vt())}return e.prototype.rs=function(e){d(this.ki,e),this.O(),this.ca.vt().Or()},e.prototype.ct=function(){return this.ki},e.prototype.zi=function(){return[this.qa,this.Ua]},e.prototype.Ha=function(){return this.Iu},e.prototype.O=function(){this.qa.O(),this.Iu.O()},e.prototype.ja=function(){var e=this.ca,t=e.$();if(e.vt().j().ti()||t.ti())return null;var n=e.H();return null===n?null:t.K(this.ki.price,n.X)},e}(),tD=function(e){function t(t){var n=e.call(this)||this;return n.hi=t,n}return s(t,e),t.prototype.vt=function(){return this.hi},t}(X),tI={fu:"",Su:"",xu:""},tL=function(){function e(e){this.ca=e}return e.prototype.cu=function(e,t){var n=this.ca.Ya(),i=this.ca.ct();switch(n){case"Line":return this.Ka(i);case"Area":return this.$a(i);case"Baseline":return this.Xa(i,e,t);case"Bar":return this.Za(i,e,t);case"Candlestick":return this.Ja(i,e,t);case"Histogram":return this.Ga(i,e,t)}throw Error("Unknown chart style")},e.prototype.Za=function(e,t,n){var i=o({},tI),a=e.upColor,r=e.downColor,s=p(this.Qa(t,n)),l=h(s.X[0])<=h(s.X[3]);return i.fu=l?a:r,i.Su=l?a:r,i},e.prototype.Ja=function(e,t,n){var i=o({},tI),a=e.upColor,r=e.downColor,s=e.borderUpColor,l=e.borderDownColor,c=e.wickUpColor,u=e.wickDownColor,d=p(this.Qa(t,n)),f=h(d.X[0])<=h(d.X[3]);return i.fu=f?a:r,i.Su=f?s:l,i.xu=f?c:u,i},e.prototype.$a=function(e){return o(o({},tI),{fu:e.lineColor})},e.prototype.Xa=function(e,t,n){var i=p(this.Qa(t,n)).X[3]>=e.baseValue.price;return o(o({},tI),{fu:i?e.topLineColor:e.bottomLineColor})},e.prototype.Ka=function(e){return o(o({},tI),{fu:e.color})},e.prototype.Ga=function(e,t,n){var i=o({},tI),a=p(this.Qa(t,n));return i.fu=void 0!==a.et?a.et:e.color,i},e.prototype.Qa=function(e,t){return void 0!==t?t.X:this.ca.Hi().io(e)},e}(),tP=function(){function e(){this.no=[],this.so=new Map,this.ho=new Map}return e.prototype.ro=function(){return this.Je()>0?this.no[this.no.length-1]:null},e.prototype.eo=function(){return this.Je()>0?this.uo(0):null},e.prototype.Ui=function(){return this.Je()>0?this.uo(this.no.length-1):null},e.prototype.Je=function(){return this.no.length},e.prototype.ti=function(){return 0===this.Je()},e.prototype.Eh=function(e){return null!==this.ao(e,0)},e.prototype.io=function(e){return this.oo(e)},e.prototype.oo=function(e,t){void 0===t&&(t=0);var n=this.ao(e,t);return null===n?null:o(o({},this.lo(n)),{Ph:this.uo(n)})},e.prototype.iu=function(){return this.no},e.prototype.fo=function(e,t,n){if(this.ti())return null;for(var i=null,a=0;a<n.length;a++){var r=n[a];i=tz(i,this.co(e,t,r))}return i},e.prototype._=function(e){this.ho.clear(),this.so.clear(),this.no=e},e.prototype.uo=function(e){return this.no[e].Ph},e.prototype.lo=function(e){return this.no[e]},e.prototype.ao=function(e,t){var n=this.vo(e);if(null===n&&0!==t)switch(t){case -1:return this._o(e);case 1:return this.do(e);default:throw TypeError("Unknown search mode")}return n},e.prototype._o=function(e){var t=this.wo(e);return t>0&&(t-=1),t!==this.no.length&&this.uo(t)<e?t:null},e.prototype.do=function(e){var t=this.Mo(e);return t!==this.no.length&&e<this.uo(t)?t:null},e.prototype.vo=function(e){var t=this.wo(e);return t===this.no.length||e<this.no[t].Ph?null:t},e.prototype.wo=function(e){return eO(this.no,e,function(e,t){return e.Ph<t})},e.prototype.Mo=function(e){return eN(this.no,e,function(e,t){return t.Ph>e})},e.prototype.bo=function(e,t,n){for(var i=null,a=e;a<t;a++){var r=this.no[a].X[n];Number.isNaN(r)||(null===i?i={mo:r,po:r}:(r<i.mo&&(i.mo=r),r>i.po&&(i.po=r)))}return i},e.prototype.co=function(e,t,n){if(this.ti())return null;var i=null,a=p(this.eo()),r=p(this.Ui()),s=Math.max(e,a),o=Math.min(t,r),l=30*Math.ceil(s/30),c=Math.max(l,30*Math.floor(o/30)),u=this.wo(s),h=this.Mo(Math.min(o,l,t));i=tz(i,this.bo(u,h,n));var d=this.so.get(n);void 0===d&&(d=new Map,this.so.set(n,d));for(var f=Math.max(l+1,s);f<c;f+=30){var m=Math.floor(f/30),v=d.get(m);if(void 0===v){var g=this.wo(30*m),x=this.Mo(30*(m+1)-1);v=this.bo(g,x,n),d.set(m,v)}i=tz(i,v)}return u=this.wo(c),h=this.Mo(o),tz(i,this.bo(u,h,n))},e}();function tz(e,t){return null===e?t:null===t?e:{mo:Math.min(e.mo,t.mo),po:Math.max(e.po,t.po)}}var tZ=function(e){function t(t,n,i){var a=e.call(this,t)||this;a.tt=new tP,a.qa=new tT(a),a.yo=[],a.ko=new tv(a),a.Co=null,a.No=null,a.xo=[],a.So=[],a.Do=null,a.ki=n,a.Ao=i;var r=new tA(a);return a.Mi=[r],a.Ua=new td(r,a,t),"Area"!==i&&"Line"!==i&&"Baseline"!==i||(a.Co=new tw(a)),a.To(),a.Bo(),a}return s(t,e),t.prototype.en=function(){null!==this.Do&&clearTimeout(this.Do)},t.prototype.Ea=function(e){return this.ki.priceLineColor||e},t.prototype.wa=function(e){var t={Ma:!0},n=this.$();if(this.vt().j().ti()||n.ti()||this.tt.ti())return t;var i,a,r=this.vt().j().mr(),s=this.H();if(null===r||null===s)return t;if(e){var o=this.tt.ro();if(null===o)return t;i=o,a=o.Ph}else{var l=this.tt.oo(r.rh(),-1);if(null===l||null===(i=this.tt.io(l.Ph)))return t;a=l.Ph}var c=i.X[3],u=this.tu().cu(a,{X:i}),p=n.K(c,s.X);return{Ma:!1,D:c,Et:n.ii(c,s.X),za:n.Zs(c),Pa:n.Gs(c,s.X),et:u.fu,zt:p,Ph:a}},t.prototype.tu=function(){return null!==this.No||(this.No=new tL(this)),this.No},t.prototype.ct=function(){return this.ki},t.prototype.rs=function(e){var t=e.priceScaleId;void 0!==t&&t!==this.ki.priceScaleId&&this.vt().Lo(this,t),d(this.ki,e),null!==this.ui&&void 0!==e.scaleMargins&&this.ui.rs({scaleMargins:e.scaleMargins}),void 0!==e.priceFormat&&this.To(),this.vt().Fo(this),this.vt().Eo(),this.Ai.O("options")},t.prototype._=function(e){this.tt._(e),this.Vo(),this.Ai.O("data"),this.Ci.O("data"),null===(t=this.Co)||void 0===t||t.O("data");var t,n=this.vt().qu(this);this.vt().Oo(n),this.vt().Fo(this),this.vt().Eo(),this.vt().Or()},t.prototype.Wo=function(e){this.xo=e.map(function(e){return o({},e)}),this.Vo();var t=this.vt().qu(this);this.Ci.O("data"),this.vt().Oo(t),this.vt().Fo(this),this.vt().Eo(),this.vt().Or()},t.prototype.La=function(){return this.So},t.prototype.zo=function(e){var t=new tF(this,e);return this.yo.push(t),this.vt().Fo(this),t},t.prototype.Po=function(e){var t=this.yo.indexOf(e);-1!==t&&this.yo.splice(t,1),this.vt().Fo(this)},t.prototype.Ya=function(){return this.Ao},t.prototype.H=function(){var e=this.Ro();return null===e?null:{X:e.X[3],Rs:e.S}},t.prototype.Ro=function(){var e=this.vt().j().mr();if(null===e)return null;var t=e.hh();return this.tt.oo(t,1)},t.prototype.Hi=function(){return this.tt},t.prototype.Fa=function(e){var t=this.tt.io(e);return null===t?null:"Bar"===this.Ao||"Candlestick"===this.Ao?{open:t.X[0],high:t.X[1],low:t.X[2],close:t.X[3]}:t.X[3]},t.prototype.Io=function(e){var t=this,n=this.Co;return null!==n&&n.U()?(null===this.Do&&n._a()&&(this.Do=setTimeout(function(){t.Do=null,t.vt().jo()},0)),n.va(),[n]):[]},t.prototype.zi=function(){var e=[];this.qo()||e.push(this.ko);for(var t=0,n=this.yo;t<n.length;t++){var i=n[t];e.push.apply(e,i.zi())}return e.push(this.Ai,this.qa,this.Ua,this.Ci),e},t.prototype.Pi=function(e,t){if(t!==this.ui&&!this.qo())return[];for(var n=l([],this.Mi,!0),i=0,a=this.yo;i<a.length;i++){var r=a[i];n.push(r.Ha())}return n},t.prototype.sh=function(e,t){var n=this;if(void 0!==this.ki.autoscaleInfoProvider){var i=this.ki.autoscaleInfoProvider(function(){var i=n.Uo(e,t);return null===i?null:i.Mn()});return tO.bn(i)}return this.Uo(e,t)},t.prototype.ih=function(){return this.ki.priceFormat.minMove},t.prototype.$s=function(){return this.Zn},t.prototype.Ii=function(){var e;this.Ai.O(),this.Ci.O();for(var t=0,n=this.Mi;t<n.length;t++)n[t].O();for(var i=0,a=this.yo;i<a.length;i++)a[i].O();this.qa.O(),this.ko.O(),null===(e=this.Co)||void 0===e||e.O()},t.prototype.$=function(){return p(e.prototype.$.call(this))},t.prototype.q=function(e){if(!(("Line"===this.Ao||"Area"===this.Ao||"Baseline"===this.Ao)&&this.ki.crosshairMarkerVisible))return null;var t=this.tt.io(e);return null===t?null:{D:t.X[3],C:this.Ho(),Z:this.Yo(),Y:this.Ko(e)}},t.prototype.Va=function(){return this.ki.title},t.prototype.U=function(){return this.ki.visible},t.prototype.qo=function(){return!eY(this.$().hs())},t.prototype.Uo=function(e,t){if(!m(e)||!m(t)||this.tt.ti())return null;var n="Line"===this.Ao||"Area"===this.Ao||"Baseline"===this.Ao||"Histogram"===this.Ao?[3]:[2,1],i=this.tt.fo(e,t,n),a=null!==i?new ea(i.mo,i.po):null;if("Histogram"===this.Ya()){var r=this.ki.base,s=new ea(r,r);a=null!==a?a._n(s):s}return new tO(a,this.Ci.Ba())},t.prototype.Ho=function(){switch(this.Ao){case"Line":case"Area":case"Baseline":return this.ki.crosshairMarkerRadius}return 0},t.prototype.Yo=function(){switch(this.Ao){case"Line":case"Area":case"Baseline":var e=this.ki.crosshairMarkerBorderColor;if(0!==e.length)return e}return null},t.prototype.Ko=function(e){switch(this.Ao){case"Line":case"Area":case"Baseline":var t=this.ki.crosshairMarkerBackgroundColor;if(0!==t.length)return t}return this.tu().cu(e).fu},t.prototype.To=function(){switch(this.ki.priceFormat.type){case"custom":this.Zn={format:this.ki.priceFormat.formatter};break;case"volume":this.Zn=new eK(this.ki.priceFormat.precision);break;case"percent":this.Zn=new en(this.ki.priceFormat.precision);break;default:var e=Math.pow(10,this.ki.priceFormat.precision);this.Zn=new et(e,this.ki.priceFormat.minMove*e)}null!==this.ui&&this.ui.es()},t.prototype.Vo=function(){var e=this,t=this.vt().j();if(t.ti()||0===this.tt.Je())this.So=[];else{var n=p(this.tt.eo());this.So=this.xo.map(function(i,a){var r=p(t.br(i.time,!0));return{time:p(e.tt.oo(r,r<n?1:-1)).Ph,position:i.position,shape:i.shape,color:i.color,id:i.id,ya:a,text:i.text,size:i.size}})}},t.prototype.Bo=function(){switch(this.Ci=new tS(this,this.vt()),this.Ao){case"Bar":this.Ai=new te(this,this.vt());break;case"Candlestick":this.Ai=new tr(this,this.vt());break;case"Line":this.Ai=new tc(this,this.vt());break;case"Area":this.Ai=new e6(this,this.vt());break;case"Baseline":this.Ai=new ti(this,this.vt());break;case"Histogram":this.Ai=new tl(this,this.vt());break;default:throw Error("Unknown chart style assigned: "+this.Ao)}},t}(tD),tB=function(){function e(e){this.ki=e}return e.prototype.$o=function(e,t,n){if(0===this.ki.mode)return e;var i=n.xi(),a=i.H();if(null===a)return e;var r=i.K(e,a),s=n.Vs().filter(function(e){return e instanceof tZ}).reduce(function(e,i){if(n.Uu(i)||!i.U())return e;var a=i.$(),r=i.Hi();if(a.ti()||!r.Eh(t))return e;var s=r.io(t);if(null===s)return e;var o=h(i.H());return e.concat([a.K(s.X[3],o.X)])},[]);if(0===s.length)return e;s.sort(function(e,t){return Math.abs(e-r)-Math.abs(t-r)});var o=s[0];return i.Si(o,a)},e}(),t$=function(){function e(){this.tt=null}return e.prototype._=function(e){this.tt=e},e.prototype.h=function(e,t,n,a){var r=this;if(null!==this.tt){var s,o=Math.max(1,Math.floor(t));e.lineWidth=o;var l=Math.ceil(this.tt.ht*t),c=Math.ceil(this.tt.st*t);s=function(){var n=p(r.tt);if(n.Xo){e.strokeStyle=n.Zo,i(e,n.Jo),e.beginPath();for(var a=0,s=n.Go;a<s.length;a++){var u=Math.round(s[a].An*t);e.moveTo(u,-o),e.lineTo(u,l+o)}e.stroke()}if(n.Qo){e.strokeStyle=n.tl,i(e,n.il),e.beginPath();for(var h=0,d=n.nl;h<d.length;h++){var f=Math.round(d[h].An*t);e.moveTo(-o,f),e.lineTo(c+o,f)}e.stroke()}},e.save(),e.lineWidth%2&&e.translate(.5,.5),s(),e.restore()}},e}(),tV=function(){function e(e){this.ot=new t$,this.L=!0,this.vi=e}return e.prototype.O=function(){this.L=!0},e.prototype.P=function(e,t){if(this.L){var n=this.vi.vt().ct().grid,i={ht:e,st:t,Qo:n.horzLines.visible,Xo:n.vertLines.visible,tl:n.horzLines.color,Zo:n.vertLines.color,il:n.horzLines.style,Jo:n.vertLines.style,nl:this.vi.xi().Fn(),Go:this.vi.vt().j().Fn()||[]};this.ot._(i),this.L=!1}return this.ot},e}(),tU=function(){function e(e){this.Ai=new tV(e)}return e.prototype.sl=function(){return this.Ai},e}(),tq=function(){function e(e,t){this.Hn=[],this.hl=new Map,this.En=0,this.$h=0,this.rl=1e3,this.Yn=null,this.el=new ei,this.ul=e,this.hi=t,this.al=new tU(this);var n=t.ct();this.ol=this.ll("left",n.leftPriceScale),this.fl=this.ll("right",n.rightPriceScale),this.ol.bs().Ji(this.cl.bind(this,this.ol),this),this.fl.bs().Ji(this.cl.bind(this,this.ol),this),this.vl(n)}return e.prototype.vl=function(e){if(e.leftPriceScale&&this.ol.rs(e.leftPriceScale),e.rightPriceScale&&this.fl.rs(e.rightPriceScale),e.localization&&(this.ol.es(),this.fl.es()),e.overlayPriceScales)for(var t=0,n=Array.from(this.hl.values());t<n.length;t++){var i=p(n[t][0].$());i.rs(e.overlayPriceScales),e.localization&&i.es()}},e.prototype._l=function(e){switch(e){case"left":return this.ol;case"right":return this.fl}return this.hl.has(e)?u(this.hl.get(e))[0].$():null},e.prototype.en=function(){this.vt().dl().sn(this),this.ol.bs().sn(this),this.fl.bs().sn(this),this.Hn.forEach(function(e){e.en&&e.en()}),this.el.hn()},e.prototype.wl=function(){return this.rl},e.prototype.Ml=function(e){this.rl=e},e.prototype.vt=function(){return this.hi},e.prototype.wt=function(){return this.$h},e.prototype.Mt=function(){return this.En},e.prototype.Dr=function(e){this.$h=e,this.bl()},e.prototype.ps=function(e){var t=this;this.En=e,this.ol.ps(e),this.fl.ps(e),this.Hn.forEach(function(n){if(t.Uu(n)){var i=n.$();null!==i&&i.ps(e)}}),this.bl()},e.prototype.Vs=function(){return this.Hn},e.prototype.Uu=function(e){var t=e.$();return null===t||this.ol!==t&&this.fl!==t},e.prototype.Ws=function(e,t,n){var i=void 0!==n?n:this.pl().ml+1;this.gl(e,t,i)},e.prototype.Ps=function(e){var t=this.Hn.indexOf(e);c(-1!==t,"removeDataSource: invalid data source"),this.Hn.splice(t,1);var n=p(e.$()).hs();if(this.hl.has(n)){var i=u(this.hl.get(n)),a=i.indexOf(e);-1!==a&&(i.splice(a,1),0===i.length&&this.hl.delete(n))}var r=e.$();r&&r.Vs().indexOf(e)>=0&&r.Ps(e),null!==r&&(r.zs(),this.yl(r)),this.Yn=null},e.prototype.Hu=function(e){return e===this.ol?"left":e===this.fl?"right":"overlay"},e.prototype.kl=function(){return this.ol},e.prototype.Cl=function(){return this.fl},e.prototype.Nl=function(e,t){e.js(t)},e.prototype.xl=function(e,t){e.qs(t),this.bl()},e.prototype.Sl=function(e){e.Us()},e.prototype.Dl=function(e,t){e.Hs(t)},e.prototype.Al=function(e,t){e.Ys(t),this.bl()},e.prototype.Tl=function(e){e.Ks()},e.prototype.bl=function(){this.Hn.forEach(function(e){e.Ii()})},e.prototype.xi=function(){var e=null;return this.hi.ct().rightPriceScale.visible&&0!==this.fl.Vs().length?e=this.fl:this.hi.ct().leftPriceScale.visible&&0!==this.ol.Vs().length?e=this.ol:0!==this.Hn.length&&(e=this.Hn[0].$()),null===e&&(e=this.fl),e},e.prototype.yl=function(e){null!==e&&e.fs()&&this.Bl(e)},e.prototype.Ll=function(e){var t=this.ul.mr();e.us({_s:!0}),null!==t&&e.th(t),this.bl()},e.prototype.Fl=function(){this.Bl(this.ol),this.Bl(this.fl)},e.prototype.El=function(){var e=this;this.yl(this.ol),this.yl(this.fl),this.Hn.forEach(function(t){e.Uu(t)&&e.yl(t.$())}),this.bl(),this.hi.Or()},e.prototype.Os=function(){return null===this.Yn&&(this.Yn=ex(this.Hn)),this.Yn},e.prototype.Vl=function(){return this.el},e.prototype.Ol=function(){return this.al},e.prototype.Bl=function(e){var t=e.Qs();if(t&&t.length>0&&!this.ul.ti()){var n=this.ul.mr();null!==n&&e.th(n)}e.Ii()},e.prototype.pl=function(){var e=this.Os();if(0===e.length)return{Wl:0,ml:0};for(var t=0,n=0,i=0;i<e.length;i++){var a=e[i].oi();null!==a&&(a<t&&(t=a),a>n&&(n=a))}return{Wl:t,ml:n}},e.prototype.gl=function(e,t,n){var i=this._l(t);if(null===i&&(i=this.ll(t,this.hi.ct().overlayPriceScales)),this.Hn.push(e),!eY(t)){var a=this.hl.get(t)||[];a.push(e),this.hl.set(t,a)}i.Ws(e),e.fi(i),e.li(n),this.yl(i),this.Yn=null},e.prototype.cl=function(e,t,n){t.os!==n.os&&this.Bl(e)},e.prototype.ll=function(e,t){var n=new eC(e,o({visible:!0,autoScale:!0},x(t)),this.hi.ct().layout,this.hi.ct().localization);return n.ps(this.Mt()),n},e}(),tW=function(e){function t(t){var n=e.call(this)||this;return n.zl=new Map,n.tt=t,n}return s(t,e),t.prototype.u=function(e){},t.prototype.l=function(e){if(this.tt.U){e.save();for(var t=0,n=0,i=this.tt.Pl;n<i.length;n++)if(0!==(l=i[n]).Et.length){e.font=l.Nt;var a=this.Rl(e,l.Et);a>this.tt.wt?l.Ur=this.tt.wt/a:l.Ur=1,t+=l.Il*l.Ur}var r=0;switch(this.tt.jl){case"top":r=0;break;case"center":r=Math.max((this.tt.Mt-t)/2,0);break;case"bottom":r=Math.max(this.tt.Mt-t,0)}e.fillStyle=this.tt.et;for(var s=0,o=this.tt.Pl;s<o.length;s++){var l=o[s];e.save();var c=0;switch(this.tt.ql){case"left":e.textAlign="left",c=l.Il/2;break;case"center":e.textAlign="center",c=this.tt.wt/2;break;case"right":e.textAlign="right",c=this.tt.wt-1-l.Il/2}e.translate(c,r),e.textBaseline="top",e.font=l.Nt,e.scale(l.Ur,l.Ur),e.fillText(l.Et,0,l.Ul),e.restore(),r+=l.Il*l.Ur}e.restore()}},t.prototype.Rl=function(e,t){var n=this.Hl(e.font),i=n.get(t);return void 0===i&&(i=e.measureText(t).width,n.set(t,i)),i},t.prototype.Hl=function(e){var t=this.zl.get(e);return void 0===t&&(t=new Map,this.zl.set(e,t)),t},t}(_),tH=function(){function e(e){this.L=!0,this.at={U:!1,et:"",Mt:0,wt:0,Pl:[],jl:"center",ql:"center"},this.ot=new tW(this.at),this.lt=e}return e.prototype.O=function(){this.L=!0},e.prototype.P=function(e,t){return this.L&&(this.R(e,t),this.L=!1),this.ot},e.prototype.R=function(e,t){var n=this.lt.ct(),i=this.at;i.U=n.visible,i.U&&(i.et=n.color,i.wt=t,i.Mt=e,i.ql=n.horzAlign,i.jl=n.vertAlign,i.Pl=[{Et:n.text,Nt:eW(n.fontSize,n.fontFamily,n.fontStyle),Il:1.2*n.fontSize,Ul:0,Ur:0}])},e}(),tY=function(e){function t(t,n){var i=e.call(this)||this;return i.ki=n,i.Ai=new tH(i),i}return s(t,e),t.prototype.Pi=function(){return[]},t.prototype.zi=function(){return[this.Ai]},t.prototype.ct=function(){return this.ki},t.prototype.Ii=function(){this.Ai.O()},t}(X),tG=function(){function e(e,t){this.Yl=[],this.Kl=[],this.$h=0,this.$l=null,this.Xl=null,this.Zl=new ei,this.Jl=new ei,this.Gl=null,this.Ql=e,this.ki=t,this.tf=new eH(this),this.ul=new eV(this,t.timeScale,this.ki.localization),this.V=new J(this,t.crosshair),this.if=new tB(t.crosshair),this.nf=new tY(this,t.watermark),this.sf(),this.Yl[0].Ml(2e3),this.hf=this.rf(0),this.ef=this.rf(1)}return e.prototype.uf=function(){this.af(new eG(3))},e.prototype.Or=function(){this.af(new eG(2))},e.prototype.jo=function(){this.af(new eG(1))},e.prototype.Fo=function(e){var t=this.lf(e);this.af(t)},e.prototype.ff=function(){return this.Xl},e.prototype.cf=function(e){var t=this.Xl;this.Xl=e,null!==t&&this.Fo(t.vf),null!==e&&this.Fo(e.vf)},e.prototype.ct=function(){return this.ki},e.prototype.rs=function(e){d(this.ki,e),this.Yl.forEach(function(t){return t.vl(e)}),void 0!==e.timeScale&&this.ul.rs(e.timeScale),void 0!==e.localization&&this.ul.cr(e.localization),(e.leftPriceScale||e.rightPriceScale)&&this.Zl.hn(),this.hf=this.rf(0),this.ef=this.rf(1),this.uf()},e.prototype._f=function(e,t){var n=this.df(e);null!==n&&(n.$.rs(t),this.Zl.hn())},e.prototype.df=function(e){for(var t=0,n=this.Yl;t<n.length;t++){var i=n[t],a=i._l(e);if(null!==a)return{ft:i,$:a}}return null},e.prototype.j=function(){return this.ul},e.prototype.wf=function(){return this.Yl},e.prototype.Mf=function(){return this.nf},e.prototype.bf=function(){return this.V},e.prototype.mf=function(){return this.Jl},e.prototype.pf=function(e,t){e.ps(t),this.Vr()},e.prototype.Dr=function(e){this.$h=e,this.ul.Dr(this.$h),this.Yl.forEach(function(t){return t.Dr(e)}),this.Vr()},e.prototype.sf=function(e){var t=new tq(this.ul,this);void 0!==e?this.Yl.splice(e,0,t):this.Yl.push(t);var n=void 0===e?this.Yl.length-1:e,i=new eG(3);return i.be(n,{me:0,_s:!0}),this.af(i),t},e.prototype.Nl=function(e,t,n){e.Nl(t,n)},e.prototype.xl=function(e,t,n){e.xl(t,n),this.Eo(),this.af(this.gf(e,2))},e.prototype.Sl=function(e,t){e.Sl(t),this.af(this.gf(e,2))},e.prototype.Dl=function(e,t,n){t.fs()||e.Dl(t,n)},e.prototype.Al=function(e,t,n){t.fs()||(e.Al(t,n),this.Eo(),this.af(this.gf(e,2)))},e.prototype.Tl=function(e,t){t.fs()||(e.Tl(t),this.af(this.gf(e,2)))},e.prototype.Ll=function(e,t){e.Ll(t),this.af(this.gf(e,2))},e.prototype.yf=function(e){this.ul.js(e)},e.prototype.kf=function(e,t){var n=this.j();n.ti()||0===t||(e=Math.max(1,Math.min(e,n.wt())),n.Ur(e,t),this.Vr())},e.prototype.Cf=function(e){this.Nf(0),this.xf(e),this.Sf()},e.prototype.Df=function(e){this.ul.qs(e),this.Vr()},e.prototype.Af=function(){this.ul.Us(),this.Or()},e.prototype.Nf=function(e){this.$l=e,this.ul.Hs(e)},e.prototype.xf=function(e){var t=!1;return null!==this.$l&&Math.abs(e-this.$l)>20&&(this.$l=null,t=!0),this.ul.Ys(e),this.Vr(),t},e.prototype.Sf=function(){this.ul.Ks(),this.Or(),this.$l=null},e.prototype.W=function(){return this.Kl},e.prototype.Tf=function(e,t,n){this.V.Ti(e,t);var i=NaN,a=this.ul.Fr(e),r=this.ul.mr();null!==r&&(a=Math.min(Math.max(r.hh(),a),r.rh()));var s=n.xi(),o=s.H();null!==o&&(i=s.Si(t,o)),i=this.if.$o(i,a,n),this.V.Ei(a,i,n),this.jo(),this.Jl.hn(this.V.I(),{x:e,y:t})},e.prototype.Bf=function(){this.bf().Oi(),this.jo(),this.Jl.hn(null,null)},e.prototype.Eo=function(){var e=this.V.ft();if(null!==e){var t=this.V.Li(),n=this.V.Fi();this.Tf(t,n,e)}this.V.Ii()},e.prototype.Lf=function(e,t,n){var i=this.ul.ri(0);void 0!==t&&void 0!==n&&this.ul.O(t,n);var a=this.ul.ri(0),r=this.ul.Br(),s=this.ul.mr();if(null!==s&&null!==i&&null!==a){var o=s.Eh(r),l=i.Dh>a.Dh,c=null!==e&&e>r&&!l,u=o&&this.ul.ct().shiftVisibleRangeOnNewBar;if(c&&!u){var p=e-r;this.ul.Mr(this.ul.Pr()-p)}}this.ul.qr(e)},e.prototype.Oo=function(e){null!==e&&e.El()},e.prototype.qu=function(e){var t=this.Yl.find(function(t){return t.Os().includes(e)});return void 0===t?null:t},e.prototype.Vr=function(){this.nf.Ii(),this.Yl.forEach(function(e){return e.El()}),this.Eo()},e.prototype.en=function(){this.Yl.forEach(function(e){return e.en()}),this.Yl.length=0,this.ki.localization.priceFormatter=void 0,this.ki.localization.timeFormatter=void 0},e.prototype.Ff=function(){return this.tf},e.prototype.Yu=function(){return this.tf.ct()},e.prototype.dl=function(){return this.Zl},e.prototype.Ef=function(e,t){var n=this.Yl[0],i=this.Vf(t,e,n);return this.Kl.push(i),1===this.Kl.length?this.uf():this.Or(),i},e.prototype.Of=function(e){var t=this.qu(e),n=this.Kl.indexOf(e);c(-1!==n,"Series not found"),this.Kl.splice(n,1),p(t).Ps(e),e.en&&e.en()},e.prototype.Lo=function(e,t){var n=p(this.qu(e));n.Ps(e);var i=this.df(t);if(null===i){var a=e.oi();n.Ws(e,t,a)}else a=i.ft===n?e.oi():void 0,i.ft.Ws(e,t,a)},e.prototype.Qr=function(){var e=new eG(2);e.ye(),this.af(e)},e.prototype.Wf=function(e){var t=new eG(2);t.Ce(e),this.af(t)},e.prototype.Ne=function(){var e=new eG(2);e.Ne(),this.af(e)},e.prototype.wr=function(e){var t=new eG(2);t.wr(e),this.af(t)},e.prototype.Mr=function(e){var t=new eG(2);t.Mr(e),this.af(t)},e.prototype.zf=function(){return this.ki.rightPriceScale.visible?"right":"left"},e.prototype.Pf=function(){return this.ef},e.prototype.Rf=function(){return this.hf},e.prototype.J=function(e){var t,n,i,a,r,s,o,l,c,u,p,h,d=this.ef,f=this.hf;if(d===f)return d;if(e=Math.max(0,Math.min(100,Math.round(100*e))),null===this.Gl||this.Gl.Ve!==f||this.Gl.Oe!==d)this.Gl={Ve:f,Oe:d,If:new Map};else{var m=this.Gl.If.get(e);if(void 0!==m)return m}var v=(t=e/100,i=(n=I(f))[0],a=n[1],r=n[2],s=n[3],l=(o=I(d))[0],c=o[1],u=o[2],p=o[3],"rgba("+(h=[A(i+t*(l-i)),A(a+t*(c-a)),A(r+t*(u-r)),O(s+t*(p-s))])[0]+", "+h[1]+", "+h[2]+", "+h[3]+")");return this.Gl.If.set(e,v),v},e.prototype.gf=function(e,t){var n=new eG(t);if(null!==e){var i=this.Yl.indexOf(e);n.be(i,{me:t})}return n},e.prototype.lf=function(e,t){return void 0===t&&(t=2),this.gf(this.qu(e),t)},e.prototype.af=function(e){this.Ql&&this.Ql(e),this.Yl.forEach(function(e){return e.Ol().sl().O()})},e.prototype.Vf=function(e,t,n){var i=new tZ(this,e,t),a=void 0!==e.priceScaleId?e.priceScaleId:this.zf();return n.Ws(i,a),eY(a)||i.rs(e),i},e.prototype.rf=function(e){var t=this.ki.layout;return"gradient"===t.background.type?0===e?t.background.topColor:t.background.bottomColor:t.background.color},e}(),tK=function(){function e(e,t){this.st=e,this.ht=t}return e.prototype.on=function(e){return this.st===e.st&&this.ht===e.ht},e}();function tQ(e){return e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.devicePixelRatio||1}function tX(e){var t=p(e.getContext("2d"));return t.setTransform(1,0,0,1,0,0),t}function tJ(e,t){var n=e.createElement("canvas"),i=tQ(n);return n.style.width=t.st+"px",n.style.height=t.ht+"px",n.width=t.st*i,n.height=t.ht*i,n}function t0(e,i){var a,r=p(e.ownerDocument).createElement("canvas");e.appendChild(r);var s=(void 0===a&&(a=t),new n(r,a));return s.resizeCanvas({width:i.st,height:i.ht}),s}function t1(e,t,n){var i=(e.jf-t.jf)/(e.S-t.S);return Math.sign(i)*Math.min(Math.abs(i),n)}var t2=function(){function e(e,t,n,i){this.qf=null,this.Uf=null,this.Hf=null,this.Yf=null,this.Kf=null,this.$f=0,this.Xf=0,this.Zf=!1,this.Jf=e,this.Gf=t,this.Qf=n,this.Yi=i}return e.prototype.tc=function(e,t){if(null!==this.qf){if(this.qf.S===t)return void(this.qf.jf=e);if(Math.abs(this.qf.jf-e)<this.Yi)return}this.Yf=this.Hf,this.Hf=this.Uf,this.Uf=this.qf,this.qf={S:t,jf:e}},e.prototype.ia=function(e,t){if(null!==this.qf&&null!==this.Uf&&!(t-this.qf.S>50)){var n=0,i=t1(this.qf,this.Uf,this.Gf),a=(u=this.qf,p=this.Uf,u.jf-p.jf),r=[i],s=[a];if(n+=a,null!==this.Hf){var o=t1(this.Uf,this.Hf,this.Gf);if(Math.sign(o)===Math.sign(i)){var l=(h=this.Uf,d=this.Hf,h.jf-d.jf);if(r.push(o),s.push(l),n+=l,null!==this.Yf){var c=t1(this.Hf,this.Yf,this.Gf);if(Math.sign(c)===Math.sign(i)){var u,p,h,d,f,m,v=(f=this.Hf,m=this.Yf,f.jf-m.jf);r.push(c),s.push(v),n+=v}}}}for(var g,x,b=0,y=0;y<r.length;++y)b+=s[y]/n*r[y];Math.abs(b)<this.Jf||(this.Kf={jf:e,S:t},this.Xf=b,this.$f=(g=Math.abs(b),Math.log(-(1*(x=Math.log(this.Qf))/g))/x))}},e.prototype.ic=function(e){var t=p(this.Kf),n=e-t.S;return t.jf+this.Xf*(Math.pow(this.Qf,n)-1)/Math.log(this.Qf)},e.prototype.nc=function(e){return null===this.Kf||this.sc(e)===this.$f},e.prototype.hc=function(){return this.Zf},e.prototype.rc=function(){this.Zf=!0},e.prototype.sc=function(e){return Math.min(e-p(this.Kf).S,this.$f)},e}(),t3="undefined"!=typeof window,t4=function(){if(!t3)return!1;var e=!!navigator.maxTouchPoints||!!navigator.msMaxTouchPoints||!!t3&&("ontouchstart"in window||!!(window.DocumentTouch&&document instanceof window.DocumentTouch));return"onorientationchange"in window&&e}(),t5=function(){if(!t3)return!1;var e=/Android/i.test(navigator.userAgent),t=/iPhone|iPad|iPod|AppleWebKit.+Mobile/i.test(navigator.userAgent);return e||t}(),t7=function(){function e(e,t,n){this.ec=0,this.uc=null,this.ac=null,this.oc=!1,this.lc=null,this.fc=!1,this.cc=!1,this.vc=null,this._c=null,this.dc=null,this.wc=null,this.Mc=0,this.bc=!1,this.mc=!1,this.gc=!1,this.yc=e,this.kc=t,this.ki=n,this.Cc()}return e.prototype.en=function(){null!==this.vc&&(this.vc(),this.vc=null),null!==this._c&&(this._c(),this._c=null),null!==this.dc&&(this.dc(),this.dc=null),this.Nc(),this.xc()},e.prototype.Sc=function(e){var t=this;this._c&&this._c();var n=this.Dc.bind(this);this._c=function(){t.yc.removeEventListener("mousemove",n)},this.yc.addEventListener("mousemove",n),t9(e)&&this.Dc(e);var i=this.Ac(e);this.Tc(i,this.kc.Bc)},e.prototype.xc=function(){null!==this.uc&&clearTimeout(this.uc),this.ec=0,this.uc=null},e.prototype.Dc=function(e){if(!this.gc||t9(e)){var t=this.Ac(e);this.Tc(t,this.kc.Lc)}},e.prototype.Fc=function(e){if((!("button"in e)||0===e.button)&&null===this.wc){var t=t9(e);if(!this.mc||!t){this.bc=!0;var n=this.Ac(e),i=h(this.lc),a=Math.abs(i.p-n.Ec),r=Math.abs(i.g-n.Vc),s=a+r>5;if(s||!t){if(s&&!this.fc&&t){var o=.5*a,l=r>=o&&!this.ki.Oc,c=o>r&&!this.ki.Wc;l||c||(this.mc=!0)}s&&(this.fc=!0,this.cc=!0,t&&this.Nc()),this.mc||(this.Tc(n,this.kc.zc),t&&ne(e))}}}},e.prototype.Pc=function(e){if(!("button"in e)||0===e.button){var t=this.Ac(e);this.Nc(),this.lc=null,this.gc=!1,this.dc&&(this.dc(),this.dc=null),t9(e)&&this.Rc(e),this.Tc(t,this.kc.Ic),++this.ec,this.uc&&this.ec>1?(this.Tc(t,this.kc.jc),this.xc()):this.cc||this.Tc(t,this.kc.qc),t9(e)&&(ne(e),this.Rc(e),0===e.touches.length&&(this.oc=!1))}},e.prototype.Nc=function(){null!==this.ac&&(clearTimeout(this.ac),this.ac=null)},e.prototype.Uc=function(e){if(!("button"in e)||0===e.button){var t=this.Ac(e);this.cc=!1,this.fc=!1,this.mc=!1,t9(e)&&this.Sc(e),this.lc={p:t.Ec,g:t.Vc},this.dc&&(this.dc(),this.dc=null);var n=this.Fc.bind(this),i=this.Pc.bind(this),a=this.yc.ownerDocument.documentElement;this.dc=function(){a.removeEventListener("touchmove",n),a.removeEventListener("touchend",i),a.removeEventListener("mousemove",n),a.removeEventListener("mouseup",i)},a.addEventListener("touchmove",n,{passive:!1}),a.addEventListener("touchend",i,{passive:!1}),this.Nc(),t9(e)&&1===e.touches.length?this.ac=setTimeout(this.Hc.bind(this,e),240):(a.addEventListener("mousemove",n),a.addEventListener("mouseup",i)),this.gc=!0,this.Tc(t,this.kc.Yc),this.uc||(this.ec=0,this.uc=setTimeout(this.xc.bind(this),500))}},e.prototype.Cc=function(){var e=this;this.yc.addEventListener("mouseenter",this.Sc.bind(this)),this.yc.addEventListener("touchcancel",this.Nc.bind(this));var t=this.yc.ownerDocument,n=function(t){e.kc.Kc&&(t.composed&&e.yc.contains(t.composedPath()[0])||t.target&&e.yc.contains(t.target)||e.kc.Kc())};this.vc=function(){t.removeEventListener("mousedown",n),t.removeEventListener("touchstart",n)},t.addEventListener("mousedown",n),t.addEventListener("touchstart",n,{passive:!0}),this.yc.addEventListener("mouseleave",this.Rc.bind(this)),this.yc.addEventListener("touchstart",this.Uc.bind(this),{passive:!0}),t4||this.yc.addEventListener("mousedown",this.Uc.bind(this)),this.$c(),this.yc.addEventListener("touchmove",function(){},{passive:!1})},e.prototype.$c=function(){var e=this;void 0===this.kc.Xc&&void 0===this.kc.Zc&&void 0===this.kc.Jc||(this.yc.addEventListener("touchstart",function(t){return e.Gc(t.touches)},{passive:!0}),this.yc.addEventListener("touchmove",function(t){if(2===t.touches.length&&null!==e.wc&&void 0!==e.kc.Zc){var n=t8(t.touches[0],t.touches[1])/e.Mc;e.kc.Zc(e.wc,n),ne(t)}},{passive:!1}),this.yc.addEventListener("touchend",function(t){e.Gc(t.touches)}))},e.prototype.Gc=function(e){1===e.length&&(this.bc=!1),2!==e.length||this.bc||this.oc?this.Qc():this.tv(e)},e.prototype.tv=function(e){var t=t6(this.yc);this.wc={p:(e[0].clientX-t.left+(e[1].clientX-t.left))/2,g:(e[0].clientY-t.top+(e[1].clientY-t.top))/2},this.Mc=t8(e[0],e[1]),void 0!==this.kc.Xc&&this.kc.Xc(),this.Nc()},e.prototype.Qc=function(){null!==this.wc&&(this.wc=null,void 0!==this.kc.Jc&&this.kc.Jc())},e.prototype.Rc=function(e){this._c&&this._c();var t=this.Ac(e);this.Tc(t,this.kc.iv)},e.prototype.Hc=function(e){var t=this.Ac(e);this.Tc(t,this.kc.nv),this.cc=!0,this.oc=!0},e.prototype.Tc=function(e,t){t&&t.call(this.kc,e)},e.prototype.Ac=function(e){t="touches"in e&&e.touches.length?e.touches[0]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0]:e;var t,n=t6(this.yc);return{sv:t.clientX,hv:t.clientY,Ec:t.pageX,Vc:t.pageY,rv:t.screenX,ev:t.screenY,uv:t.clientX-n.left,av:t.clientY-n.top,ov:e.ctrlKey,lv:e.altKey,fv:e.shiftKey,cv:e.metaKey,ke:e.type.startsWith("mouse")?"mouse":"touch",vv:e.view}},e}();function t6(e){return e.getBoundingClientRect()||{left:0,top:0}}function t8(e,t){var n=e.clientX-t.clientX,i=e.clientY-t.clientY;return Math.sqrt(n*n+i*i)}function t9(e){return!!e.touches}function ne(e){e.cancelable&&e.preventDefault()}var nt=function(){function e(e,t,n,i){this.Pu=new tp(200),this.fe=0,this._v="",this.ma="",this.Vu=[],this.dv=new Map,this.fe=e,this._v=t,this.ma=eW(e,n,i)}return e.prototype.en=function(){this.Pu.Ou(),this.Vu=[],this.dv.clear()},e.prototype.wv=function(e,t,n,i,a){var r=this.Mv(e,t);if("left"!==a){var s=tQ(e.canvas);n-=Math.floor(r.bv*s)}i-=Math.floor(r.Mt/2),e.drawImage(r.mv,n,i,r.wt,r.Mt)},e.prototype.Mv=function(e,t){var n,i=this;if(this.dv.has(t))n=u(this.dv.get(t));else{if(this.Vu.length>=200){var a=u(this.Vu.shift());this.dv.delete(a)}var r=tQ(e.canvas),s=Math.ceil(this.fe/4.5),o=Math.round(this.fe/10),l=Math.ceil(this.Pu.Vt(e,t)),c=eo(Math.round(l+2*s)),p=eo(this.fe+2*s),h=tJ(document,new tK(c,p));n={Et:t,bv:Math.round(Math.max(1,l)),wt:Math.ceil(c*r),Mt:Math.ceil(p*r),mv:h},0!==l&&(this.Vu.push(n.Et),this.dv.set(n.Et,n)),P(e=tX(n.mv),r,function(){e.font=i.ma,e.fillStyle=i._v,e.fillText(t,0,p-s-o)})}return n},e}(),nn=function(){function e(e,t,n,i){var a=this;this.Gt=null,this.pv=null,this.gv=null,this.yv=!1,this.kv=new tp(50),this.Cv=new nt(11,"#000"),this._v=null,this.ma=null,this.Nv=0,this.xv=function(){a.Sv(a.tf.ct()),a.vi.Dv().vt().Or()},this.Av=function(){a.vi.Dv().vt().Or()},this.vi=e,this.ki=t,this.tf=n,this.Tv="left"===i,this.Bv=document.createElement("div"),this.Bv.style.height="100%",this.Bv.style.overflow="hidden",this.Bv.style.width="25px",this.Bv.style.left="0",this.Bv.style.position="relative",this.Lv=t0(this.Bv,new tK(16,16)),this.Lv.subscribeCanvasConfigured(this.xv);var r=this.Lv.canvas;r.style.position="absolute",r.style.zIndex="1",r.style.left="0",r.style.top="0",this.Fv=t0(this.Bv,new tK(16,16)),this.Fv.subscribeCanvasConfigured(this.Av);var s=this.Fv.canvas;s.style.position="absolute",s.style.zIndex="2",s.style.left="0",s.style.top="0";var o={Yc:this.Ev.bind(this),zc:this.Vv.bind(this),Kc:this.Ov.bind(this),Ic:this.Wv.bind(this),jc:this.zv.bind(this),Bc:this.Pv.bind(this),iv:this.Rv.bind(this)};this.Iv=new t7(this.Fv.canvas,o,{Oc:!1,Wc:!0})}return e.prototype.en=function(){this.Iv.en(),this.Fv.unsubscribeCanvasConfigured(this.Av),this.Fv.destroy(),this.Lv.unsubscribeCanvasConfigured(this.xv),this.Lv.destroy(),null!==this.Gt&&this.Gt.Is().sn(this),this.Gt=null,null!==this.gv&&(clearTimeout(this.gv),this.gv=null),this.Cv.en()},e.prototype.jv=function(){return this.Bv},e.prototype.N=function(){return p(this.Gt).ct().borderColor},e.prototype.qv=function(){return this.ki.textColor},e.prototype.Wt=function(){return this.ki.fontSize},e.prototype.Uv=function(){return eW(this.Wt(),this.ki.fontFamily)},e.prototype.Hv=function(){var e=this.tf.ct(),t=this._v!==e.et,n=this.ma!==e.Nt;return(t||n)&&(this.Sv(e),this._v=e.et),n&&(this.kv.Ou(),this.ma=e.Nt),e},e.prototype.Yv=function(){if(null===this.Gt)return 0;var e=34,t=this.Hv(),n=tX(this.Lv.canvas),i=this.Gt.Fn();n.font=this.Uv(),i.length>0&&(e=Math.max(this.kv.Vt(n,i[0].Tn),this.kv.Vt(n,i[i.length-1].Tn)));for(var a=this.Kv(),r=a.length;r--;){var s=this.kv.Vt(n,a[r].Et());s>e&&(e=s)}var o=this.Gt.H();if(null!==o&&null!==this.pv){var l=this.Gt.Si(1,o),c=this.Gt.Si(this.pv.ht-2,o);e=Math.max(e,this.kv.Vt(n,this.Gt.ii(Math.floor(Math.min(l,c))+.11111111111111,o)),this.kv.Vt(n,this.Gt.ii(Math.ceil(Math.max(l,c))-.11111111111111,o)))}var u=Math.ceil(t.At+t.Dt+t.Lt+t.Ft+e);return u+u%2},e.prototype.$v=function(e){if(e.st<0||e.ht<0)throw Error("Try to set invalid size to PriceAxisWidget "+JSON.stringify(e));null!==this.pv&&this.pv.on(e)||(this.pv=e,this.Lv.resizeCanvas({width:e.st,height:e.ht}),this.Fv.resizeCanvas({width:e.st,height:e.ht}),this.Bv.style.width=e.st+"px",this.Bv.style.height=e.ht+"px",this.Bv.style.minWidth=e.st+"px")},e.prototype.Xv=function(){return p(this.pv).st},e.prototype.fi=function(e){this.Gt!==e&&(null!==this.Gt&&this.Gt.Is().sn(this),this.Gt=e,e.Is().Ji(this.qn.bind(this),this))},e.prototype.$=function(){return this.Gt},e.prototype.Ou=function(){var e=this.vi.Zv();this.vi.Dv().vt().Ll(e,p(this.$()))},e.prototype.Jv=function(e){if(null!==this.pv){if(1!==e){var t=tX(this.Lv.canvas);this.Gv(),this.Qv(t,this.Lv.pixelRatio),this.yu(t,this.Lv.pixelRatio),this.t_(t,this.Lv.pixelRatio),this.i_(t,this.Lv.pixelRatio)}var n=tX(this.Fv.canvas),i=this.pv.st,a=this.pv.ht;P(n,this.Fv.pixelRatio,function(){n.clearRect(0,0,i,a)}),this.n_(n,this.Fv.pixelRatio)}},e.prototype.s_=function(){return this.Lv.canvas},e.prototype.Ev=function(e){if(null!==this.Gt&&!this.Gt.ti()&&this.vi.Dv().ct().handleScale.axisPressedMouseMove.price){var t=this.vi.Dv().vt(),n=this.vi.Zv();this.yv=!0,t.Nl(n,this.Gt,e.av)}},e.prototype.Vv=function(e){if(null!==this.Gt&&this.vi.Dv().ct().handleScale.axisPressedMouseMove.price){var t=this.vi.Dv().vt(),n=this.vi.Zv(),i=this.Gt;t.xl(n,i,e.av)}},e.prototype.Ov=function(){if(null!==this.Gt&&this.vi.Dv().ct().handleScale.axisPressedMouseMove.price){var e=this.vi.Dv().vt(),t=this.vi.Zv(),n=this.Gt;this.yv&&(this.yv=!1,e.Sl(t,n))}},e.prototype.Wv=function(e){if(null!==this.Gt&&this.vi.Dv().ct().handleScale.axisPressedMouseMove.price){var t=this.vi.Dv().vt(),n=this.vi.Zv();this.yv=!1,t.Sl(n,this.Gt)}},e.prototype.zv=function(e){this.vi.Dv().ct().handleScale.axisDoubleClickReset&&this.Ou()},e.prototype.Pv=function(e){null!==this.Gt&&(!this.vi.Dv().vt().ct().handleScale.axisPressedMouseMove.price||this.Gt.cs()||this.Gt.vs()||this.h_(1))},e.prototype.Rv=function(e){this.h_(0)},e.prototype.Kv=function(){var e=this,t=[],n=null===this.Gt?void 0:this.Gt;return function(i){for(var a=0;a<i.length;++a)for(var r=i[a].Pi(e.vi.Zv(),n),s=0;s<r.length;s++)t.push(r[s])}(this.vi.Zv().Os()),t},e.prototype.Qv=function(e,t){var n=this;if(null!==this.pv){var i=this.pv.st,a=this.pv.ht;P(e,t,function(){var t=n.vi.Zv().vt(),r=t.Rf(),s=t.Pf();r===s?z(e,0,0,i,a,r):Z(e,0,0,i,a,r,s)})}},e.prototype.yu=function(e,t){if(null!==this.pv&&null!==this.Gt&&this.Gt.ct().borderVisible){e.save(),e.fillStyle=this.N();var n,i=Math.max(1,Math.floor(this.Hv().At*t));n=this.Tv?Math.floor(this.pv.st*t)-i:0,e.fillRect(n,0,i,Math.ceil(this.pv.ht*t)),e.restore()}},e.prototype.t_=function(e,t){if(null!==this.pv&&null!==this.Gt){var n=this.Gt.Fn();e.save(),e.strokeStyle=this.N(),e.font=this.Uv(),e.fillStyle=this.N();var i=this.Hv(),a=this.Gt.ct().borderVisible&&this.Gt.ct().drawTicks,r=this.Tv?Math.floor((this.pv.st-i.Dt)*t-i.At*t):Math.floor(i.At*t),s=this.Tv?Math.round(r-i.Lt*t):Math.round(r+i.Dt*t+i.Lt*t),o=this.Tv?"right":"left",l=Math.max(1,Math.floor(t)),c=Math.floor(.5*t);if(a){var u=Math.round(i.Dt*t);e.beginPath();for(var p=0;p<n.length;p++){var h=n[p];e.rect(r,Math.round(h.An*t)-c,u,l)}e.fill()}e.fillStyle=this.qv();for(var d=0;d<n.length;d++)h=n[d],this.Cv.wv(e,h.Tn,s,Math.round(h.An*t),o);e.restore()}},e.prototype.Gv=function(){if(null!==this.pv&&null!==this.Gt){var e=this.pv.ht/2,t=[],n=this.Gt.Os().slice(),i=this.vi.Zv(),a=this.Hv();this.Gt===i.xi()&&this.vi.Zv().Os().forEach(function(e){i.Uu(e)&&n.push(e)});var r=this.Gt.Vs()[0],s=this.Gt;n.forEach(function(n){var a=n.Pi(i,s);a.forEach(function(e){e.Kt(null),e.$t()&&t.push(e)}),r===n&&a.length>0&&(e=a[0].zt())});var o=t.filter(function(t){return t.zt()<=e}),l=t.filter(function(t){return t.zt()>e});if(o.sort(function(e,t){return t.zt()-e.zt()}),o.length&&l.length&&l.push(o[0]),l.sort(function(e,t){return e.zt()-t.zt()}),t.forEach(function(e){return e.Kt(e.zt())}),this.Gt.ct().alignLabels){for(var c,u,p=1;p<o.length;p++){var h=o[p],d=(c=o[p-1]).Mt(a,!1);h.zt()>(u=c.Yt())-d&&h.Kt(u-d)}for(var f=1;f<l.length;f++)h=l[f],d=(c=l[f-1]).Mt(a,!0),h.zt()<(u=c.Yt())+d&&h.Kt(u+d)}}},e.prototype.i_=function(e,t){var n=this;if(null!==this.pv){e.save();var i=this.pv,a=this.Kv(),r=this.Hv(),s=this.Tv?"right":"left";a.forEach(function(a){if(a.Xt()){var o=a.P(p(n.Gt));e.save(),o.h(e,r,n.kv,i.st,s,t),e.restore()}}),e.restore()}},e.prototype.n_=function(e,t){var n=this;if(null!==this.pv&&null!==this.Gt){e.save();var i=this.pv,a=this.vi.Dv().vt(),r=[],s=this.vi.Zv(),o=a.bf().Pi(s,this.Gt);o.length&&r.push(o);var l=this.Hv(),c=this.Tv?"right":"left";r.forEach(function(a){a.forEach(function(a){e.save(),a.P(p(n.Gt)).h(e,l,n.kv,i.st,c,t),e.restore()})}),e.restore()}},e.prototype.h_=function(e){this.Bv.style.cursor=1===e?"ns-resize":"default"},e.prototype.qn=function(){var e=this,t=this.Yv();if(this.Nv<t){var n=this.vi.Dv();null===this.gv&&(this.gv=setTimeout(function(){n&&n.vt().uf(),e.gv=null},100))}this.Nv=t},e.prototype.Sv=function(e){this.Cv.en(),this.Cv=new nt(e.Wt,e.et,e.le)},e}();function ni(e,t,n,i,a){e.o&&e.o(t,n,i,a)}function na(e,t,n,i,a){e.h(t,n,i,a)}function nr(e,t){return e.zi(t)}function ns(e,t){return void 0!==e.Io?e.Io(t):[]}var no=function(){function e(e,t){var n=this;this.pv=new tK(0,0),this.r_=null,this.e_=null,this.u_=null,this.a_=!1,this.o_=new ei,this.l_=0,this.f_=!1,this.c_=null,this.v_=!1,this.__=null,this.d_=null,this.xv=function(){return n.w_&&n.hi().Or()},this.Av=function(){return n.w_&&n.hi().Or()},this.M_=e,this.w_=t,this.w_.Vl().Ji(this.b_.bind(this),this,!0),this.m_=document.createElement("td"),this.m_.style.padding="0",this.m_.style.position="relative";var i=document.createElement("div");i.style.width="100%",i.style.height="100%",i.style.position="relative",i.style.overflow="hidden",this.p_=document.createElement("td"),this.p_.style.padding="0",this.g_=document.createElement("td"),this.g_.style.padding="0",this.m_.appendChild(i),this.Lv=t0(i,new tK(16,16)),this.Lv.subscribeCanvasConfigured(this.xv);var a=this.Lv.canvas;a.style.position="absolute",a.style.zIndex="1",a.style.left="0",a.style.top="0",this.Fv=t0(i,new tK(16,16)),this.Fv.subscribeCanvasConfigured(this.Av);var r=this.Fv.canvas;r.style.position="absolute",r.style.zIndex="2",r.style.left="0",r.style.top="0",this.y_=document.createElement("tr"),this.y_.appendChild(this.p_),this.y_.appendChild(this.m_),this.y_.appendChild(this.g_),this.k_();var s=this.Dv().ct().handleScroll;this.Iv=new t7(this.Fv.canvas,this,{Oc:!s.vertTouchDrag,Wc:!s.horzTouchDrag})}return e.prototype.en=function(){null!==this.r_&&this.r_.en(),null!==this.e_&&this.e_.en(),this.Fv.unsubscribeCanvasConfigured(this.Av),this.Fv.destroy(),this.Lv.unsubscribeCanvasConfigured(this.xv),this.Lv.destroy(),null!==this.w_&&this.w_.Vl().sn(this),this.Iv.en()},e.prototype.Zv=function(){return p(this.w_)},e.prototype.C_=function(t){null!==this.w_&&this.w_.Vl().sn(this),this.w_=t,null!==this.w_&&this.w_.Vl().Ji(e.prototype.b_.bind(this),this,!0),this.k_()},e.prototype.Dv=function(){return this.M_},e.prototype.jv=function(){return this.y_},e.prototype.k_=function(){if(null!==this.w_&&(this.N_(),0!==this.hi().W().length)){if(null!==this.r_){var e=this.w_.kl();this.r_.fi(p(e))}if(null!==this.e_){var t=this.w_.Cl();this.e_.fi(p(t))}}},e.prototype.wl=function(){return null!==this.w_?this.w_.wl():0},e.prototype.Ml=function(e){this.w_&&this.w_.Ml(e)},e.prototype.Bc=function(e){if(this.w_){var t=e.uv,n=e.av;t4||this.x_(t,n)}},e.prototype.Yc=function(e){if(this.f_=!1,this.v_=null!==this.c_,this.w_){if(this.S_(),document.activeElement!==document.body&&document.activeElement!==document.documentElement)p(document.activeElement).blur();else{var t=document.getSelection();null!==t&&t.removeAllRanges()}var n=this.hi();if(!this.w_.xi().ti()&&!n.j().ti()){if(null!==this.c_){var i=n.bf();this.__={x:i.bt(),y:i.gt()},this.c_={x:e.uv,y:e.av}}t4||this.x_(e.uv,e.av)}}},e.prototype.Lc=function(e){if(this.w_){var t=e.uv,n=e.av;if(this.D_()&&this.A_(),!t4){this.x_(t,n);var i=this.pa(t,n);this.hi().cf(i&&{vf:i.vf,T_:i.T_})}}},e.prototype.qc=function(e){if(null!==this.w_){var t=e.uv,n=e.av;if(this.o_.rn()){var i=this.hi().bf().I();this.o_.hn(i,{x:t,y:n})}this.B_()}},e.prototype.zc=function(e){if(null!==this.w_){var t=this.hi(),n=e.uv,i=e.av;if(null!==this.c_){this.v_=!1;var a=p(this.__),r=a.x+(n-this.c_.x),s=a.y+(i-this.c_.y);this.x_(r,s)}else this.D_()||this.x_(n,i);if(!t.j().ti()){var o=this.M_.ct(),l=o.handleScroll,c=o.kineticScroll;if(l.pressedMouseMove&&"touch"!==e.ke||(l.horzTouchDrag||l.vertTouchDrag)&&"mouse"!==e.ke){var u=this.w_.xi(),h=performance.now();null!==this.u_||this.L_()||(this.u_={x:e.sv,y:e.hv,Dh:h,uv:e.uv,av:e.av}),null!==this.d_&&this.d_.tc(e.uv,h),null===this.u_||this.a_||this.u_.x===e.sv&&this.u_.y===e.hv||(null===this.d_&&("touch"===e.ke&&c.touch||"mouse"===e.ke&&c.mouse)&&(this.d_=new t2(.2,7,.997,15),this.d_.tc(this.u_.uv,this.u_.Dh),this.d_.tc(e.uv,h)),u.ti()||t.Dl(this.w_,u,e.av),t.Nf(e.uv),this.a_=!0),this.a_&&(u.ti()||t.Al(this.w_,u,e.av),t.xf(e.uv))}}}},e.prototype.Ic=function(e){null!==this.w_&&(this.f_=!1,this.F_(e))},e.prototype.nv=function(e){if(this.f_=!0,null===this.c_&&t5){var t={x:e.uv,y:e.av};this.E_(t,t)}},e.prototype.iv=function(e){null!==this.w_&&(this.w_.vt().cf(null),t5||this.A_())},e.prototype.V_=function(){return this.o_},e.prototype.Xc=function(){this.l_=1,this.S_()},e.prototype.Zc=function(e,t){if(this.M_.ct().handleScale.pinch){var n=5*(t-this.l_);this.l_=t,this.hi().kf(e.p,n)}},e.prototype.pa=function(e,t){var n=this.w_;if(null===n)return null;for(var i=0,a=n.Os();i<a.length;i++){var r=a[i],s=this.O_(r.zi(n),e,t);if(null!==s)return{vf:r,vv:s.vv,T_:s.T_}}return null},e.prototype.W_=function(e,t){p("left"===t?this.r_:this.e_).$v(new tK(e,this.pv.ht))},e.prototype.z_=function(){return this.pv},e.prototype.$v=function(e){if(e.st<0||e.ht<0)throw Error("Try to set invalid size to PaneWidget "+JSON.stringify(e));this.pv.on(e)||(this.pv=e,this.Lv.resizeCanvas({width:e.st,height:e.ht}),this.Fv.resizeCanvas({width:e.st,height:e.ht}),this.m_.style.width=e.st+"px",this.m_.style.height=e.ht+"px")},e.prototype.P_=function(){var e=p(this.w_);e.yl(e.kl()),e.yl(e.Cl());for(var t=0,n=e.Vs();t<n.length;t++){var i=n[t];if(e.Uu(i)){var a=i.$();null!==a&&e.yl(a),i.Ii()}}},e.prototype.s_=function(){return this.Lv.canvas},e.prototype.Jv=function(e){if(0!==e&&null!==this.w_){if(e>1&&this.P_(),null!==this.r_&&this.r_.Jv(e),null!==this.e_&&this.e_.Jv(e),1!==e){var t=tX(this.Lv.canvas);t.save(),this.Qv(t,this.Lv.pixelRatio),this.w_&&(this.R_(t,this.Lv.pixelRatio),this.I_(t,this.Lv.pixelRatio),this.j_(t,this.Lv.pixelRatio,nr)),t.restore()}var n=tX(this.Fv.canvas);n.clearRect(0,0,Math.ceil(this.pv.st*this.Fv.pixelRatio),Math.ceil(this.pv.ht*this.Fv.pixelRatio)),this.j_(n,this.Lv.pixelRatio,ns),this.q_(n,this.Fv.pixelRatio)}},e.prototype.U_=function(){return this.r_},e.prototype.H_=function(){return this.e_},e.prototype.b_=function(){null!==this.w_&&this.w_.Vl().sn(this),this.w_=null},e.prototype.Qv=function(e,t){var n=this;P(e,t,function(){var t=n.hi(),i=t.Rf(),a=t.Pf();i===a?z(e,0,0,n.pv.st,n.pv.ht,a):Z(e,0,0,n.pv.st,n.pv.ht,i,a)})},e.prototype.R_=function(e,t){var n=p(this.w_),i=n.Ol().sl().P(n.Mt(),n.wt());null!==i&&(e.save(),i.h(e,t,!1),e.restore())},e.prototype.I_=function(e,t){var n=this.hi().Mf();this.Y_(e,t,nr,ni,n),this.Y_(e,t,nr,na,n)},e.prototype.q_=function(e,t){this.Y_(e,t,nr,na,this.hi().bf())},e.prototype.j_=function(e,t,n){for(var i=p(this.w_).Os(),a=0;a<i.length;a++){var r=i[a];this.Y_(e,t,n,ni,r)}for(var s=0;s<i.length;s++)r=i[s],this.Y_(e,t,n,na,r)},e.prototype.Y_=function(e,t,n,i,a){for(var r=p(this.w_),s=n(a,r),o=r.Mt(),l=r.wt(),c=r.vt().ff(),u=null!==c&&c.vf===a,h=null!==c&&u&&void 0!==c.T_?c.T_.ga:void 0,d=0;d<s.length;d++){var f=s[d].P(o,l);null!==f&&(e.save(),i(f,e,t,u,h),e.restore())}},e.prototype.O_=function(e,t,n){for(var i=0;i<e.length;i++){var a=e[i],r=a.P(this.pv.ht,this.pv.st);if(null!==r&&r.pa){var s=r.pa(t,n);if(null!==s)return{vv:a,T_:s}}}return null},e.prototype.N_=function(){if(null!==this.w_){var e=this.M_,t=this.w_.kl().ct().visible,n=this.w_.Cl().ct().visible;t||null===this.r_||(this.p_.removeChild(this.r_.jv()),this.r_.en(),this.r_=null),n||null===this.e_||(this.g_.removeChild(this.e_.jv()),this.e_.en(),this.e_=null);var i=e.vt().Ff();t&&null===this.r_&&(this.r_=new nn(this,e.ct().layout,i,"left"),this.p_.appendChild(this.r_.jv())),n&&null===this.e_&&(this.e_=new nn(this,e.ct().layout,i,"right"),this.g_.appendChild(this.e_.jv()))}},e.prototype.D_=function(){return t5&&null===this.c_},e.prototype.L_=function(){return t5&&this.f_||null!==this.c_},e.prototype.K_=function(e){return Math.max(0,Math.min(e,this.pv.st-1))},e.prototype.X_=function(e){return Math.max(0,Math.min(e,this.pv.ht-1))},e.prototype.x_=function(e,t){this.hi().Tf(this.K_(e),this.X_(t),p(this.w_))},e.prototype.A_=function(){this.hi().Bf()},e.prototype.B_=function(){this.v_&&(this.c_=null,this.A_())},e.prototype.E_=function(e,t){this.c_=e,this.v_=!1,this.x_(t.x,t.y);var n=this.hi().bf();this.__={x:n.bt(),y:n.gt()}},e.prototype.hi=function(){return this.M_.vt()},e.prototype.Z_=function(){var e=this.hi(),t=this.Zv(),n=t.xi();e.Tl(t,n),e.Sf(),this.u_=null,this.a_=!1},e.prototype.F_=function(e){var t=this;if(this.a_){var n=performance.now();if(null!==this.d_&&this.d_.ia(e.uv,n),null===this.d_||this.d_.nc(n))this.Z_();else{var i=this.hi(),a=i.j(),r=this.d_,s=function(){if(!r.hc()){var e=performance.now(),n=r.nc(e);if(!r.hc()){var o=a.Pr();i.xf(r.ic(e)),o===a.Pr()&&(n=!0,t.d_=null)}n?t.Z_():requestAnimationFrame(s)}};requestAnimationFrame(s)}}},e.prototype.S_=function(){var e=performance.now(),t=null===this.d_||this.d_.nc(e);null!==this.d_&&(t||this.Z_()),null!==this.d_&&(this.d_.rc(),this.d_=null)},e}(),nl=function(){function e(e,t,n,i,a){var r=this;this.L=!0,this.pv=new tK(0,0),this.xv=function(){return r.Jv(3)},this.Tv="left"===e,this.tf=n.Ff,this.ki=t,this.J_=i,this.G_=a,this.Bv=document.createElement("div"),this.Bv.style.width="25px",this.Bv.style.height="100%",this.Bv.style.overflow="hidden",this.Lv=t0(this.Bv,new tK(16,16)),this.Lv.subscribeCanvasConfigured(this.xv)}return e.prototype.en=function(){this.Lv.unsubscribeCanvasConfigured(this.xv),this.Lv.destroy()},e.prototype.jv=function(){return this.Bv},e.prototype.z_=function(){return this.pv},e.prototype.$v=function(e){if(e.st<0||e.ht<0)throw Error("Try to set invalid size to PriceAxisStub "+JSON.stringify(e));this.pv.on(e)||(this.pv=e,this.Lv.resizeCanvas({width:e.st,height:e.ht}),this.Bv.style.width=e.st+"px",this.Bv.style.minWidth=e.st+"px",this.Bv.style.height=e.ht+"px",this.L=!0)},e.prototype.Jv=function(e){if((!(e<3)||this.L)&&0!==this.pv.st&&0!==this.pv.ht){this.L=!1;var t=tX(this.Lv.canvas);this.Qv(t,this.Lv.pixelRatio),this.yu(t,this.Lv.pixelRatio)}},e.prototype.s_=function(){return this.Lv.canvas},e.prototype.yu=function(e,t){if(this.J_()){var n=this.pv.st;e.save(),e.fillStyle=this.ki.timeScale.borderColor;var i=Math.floor(this.tf.ct().At*t),a=this.Tv?Math.round(n*t)-i:0;e.fillRect(a,0,i,i),e.restore()}},e.prototype.Qv=function(e,t){var n=this;P(e,t,function(){z(e,0,0,n.pv.st,n.pv.ht,n.G_())})},e}();function nc(e,t){return e.Rh>t.Rh?e:t}var nu=function(){function e(e){var t=this;this.Q_=null,this.td=null,this.oe=null,this.nd=!1,this.pv=new tK(0,0),this.sd=new ei,this.kv=new tp(5),this.xv=function(){return t.M_.vt().Or()},this.Av=function(){return t.M_.vt().Or()},this.M_=e,this.ki=e.ct().layout,this.hd=document.createElement("tr"),this.rd=document.createElement("td"),this.rd.style.padding="0",this.ed=document.createElement("td"),this.ed.style.padding="0",this.Bv=document.createElement("td"),this.Bv.style.height="25px",this.Bv.style.padding="0",this.ud=document.createElement("div"),this.ud.style.width="100%",this.ud.style.height="100%",this.ud.style.position="relative",this.ud.style.overflow="hidden",this.Bv.appendChild(this.ud),this.Lv=t0(this.ud,new tK(16,16)),this.Lv.subscribeCanvasConfigured(this.xv);var n=this.Lv.canvas;n.style.position="absolute",n.style.zIndex="1",n.style.left="0",n.style.top="0",this.Fv=t0(this.ud,new tK(16,16)),this.Fv.subscribeCanvasConfigured(this.Av);var i=this.Fv.canvas;i.style.position="absolute",i.style.zIndex="2",i.style.left="0",i.style.top="0",this.hd.appendChild(this.rd),this.hd.appendChild(this.Bv),this.hd.appendChild(this.ed),this.ad(),this.M_.vt().dl().Ji(this.ad.bind(this),this),this.Iv=new t7(this.Fv.canvas,this,{Oc:!0,Wc:!1})}return e.prototype.en=function(){this.Iv.en(),null!==this.Q_&&this.Q_.en(),null!==this.td&&this.td.en(),this.Fv.unsubscribeCanvasConfigured(this.Av),this.Fv.destroy(),this.Lv.unsubscribeCanvasConfigured(this.xv),this.Lv.destroy()},e.prototype.jv=function(){return this.hd},e.prototype.od=function(){return this.Q_},e.prototype.ld=function(){return this.td},e.prototype.Yc=function(e){if(!this.nd){this.nd=!0;var t=this.M_.vt();!t.j().ti()&&this.M_.ct().handleScale.axisPressedMouseMove.time&&t.yf(e.uv)}},e.prototype.Kc=function(){var e=this.M_.vt();!e.j().ti()&&this.nd&&(this.nd=!1,this.M_.ct().handleScale.axisPressedMouseMove.time&&e.Af())},e.prototype.zc=function(e){var t=this.M_.vt();!t.j().ti()&&this.M_.ct().handleScale.axisPressedMouseMove.time&&t.Df(e.uv)},e.prototype.Ic=function(e){this.nd=!1;var t=this.M_.vt();t.j().ti()&&!this.M_.ct().handleScale.axisPressedMouseMove.time||t.Af()},e.prototype.jc=function(){this.M_.ct().handleScale.axisDoubleClickReset&&this.M_.vt().Ne()},e.prototype.Bc=function(e){this.M_.vt().ct().handleScale.axisPressedMouseMove.time&&this.h_(1)},e.prototype.iv=function(e){this.h_(0)},e.prototype.z_=function(){return this.pv},e.prototype.fd=function(){return this.sd},e.prototype.vd=function(e,t,n){this.pv&&this.pv.on(e)||(this.pv=e,this.Lv.resizeCanvas({width:e.st,height:e.ht}),this.Fv.resizeCanvas({width:e.st,height:e.ht}),this.Bv.style.width=e.st+"px",this.Bv.style.height=e.ht+"px",this.sd.hn(e)),null!==this.Q_&&this.Q_.$v(new tK(t,e.ht)),null!==this.td&&this.td.$v(new tK(n,e.ht))},e.prototype._d=function(){var e=this.dd();return Math.ceil(e.At+e.Dt+e.Wt+e.Tt+e.Bt)},e.prototype.O=function(){this.M_.vt().j().Fn()},e.prototype.s_=function(){return this.Lv.canvas},e.prototype.Jv=function(e){if(0!==e){if(1!==e){var t=tX(this.Lv.canvas);this.Qv(t,this.Lv.pixelRatio),this.yu(t,this.Lv.pixelRatio),this.t_(t,this.Lv.pixelRatio),null!==this.Q_&&this.Q_.Jv(e),null!==this.td&&this.td.Jv(e)}var n=tX(this.Fv.canvas),i=this.Fv.pixelRatio;n.clearRect(0,0,Math.ceil(this.pv.st*i),Math.ceil(this.pv.ht*i)),this.wd([this.M_.vt().bf()],n,i)}},e.prototype.Qv=function(e,t){var n=this;P(e,t,function(){z(e,0,0,n.pv.st,n.pv.ht,n.M_.vt().Pf())})},e.prototype.yu=function(e,t){if(this.M_.ct().timeScale.borderVisible){e.save(),e.fillStyle=this.Md();var n=Math.max(1,Math.floor(this.dd().At*t));e.fillRect(0,0,Math.ceil(this.pv.st*t),n),e.restore()}},e.prototype.t_=function(e,t){var n=this,i=this.M_.vt().j().Fn();if(i&&0!==i.length){var a=i.reduce(nc,i[0]).Rh;a>30&&a<50&&(a=30),e.save(),e.strokeStyle=this.Md();var r=this.dd(),s=r.At+r.Dt+r.Tt+r.Wt-r.Ot;e.textAlign="center",e.fillStyle=this.Md();var o=Math.floor(this.dd().At*t),l=Math.max(1,Math.floor(t)),c=Math.floor(.5*t);if(this.M_.vt().j().ct().borderVisible){e.beginPath();for(var u=Math.round(r.Dt*t),p=i.length;p--;){var h=Math.round(i[p].An*t);e.rect(h-c,o,l,u)}e.fill()}e.fillStyle=this.ve(),P(e,t,function(){e.font=n.bd();for(var t,r=0;r<i.length;r++)if((t=i[r]).Rh<a){var o=t.Ir?n.md(e,t.An,t.Tn):t.An;e.fillText(t.Tn,o,s)}e.font=n.pd();for(var l=0;l<i.length;l++)(t=i[l]).Rh>=a&&(o=t.Ir?n.md(e,t.An,t.Tn):t.An,e.fillText(t.Tn,o,s))})}},e.prototype.md=function(e,t,n){var i=this.kv.Vt(e,n),a=Math.floor(t-i/2)+.5;return a<0?t+=Math.abs(0-a):a+i>this.pv.st&&(t-=Math.abs(this.pv.st-(a+i))),t},e.prototype.wd=function(e,t,n){for(var i=this.dd(),a=0;a<e.length;a++)for(var r=0,s=e[a].ci();r<s.length;r++){var o=s[r];t.save(),o.P().h(t,i,n),t.restore()}},e.prototype.Md=function(){return this.M_.ct().timeScale.borderColor},e.prototype.ve=function(){return this.ki.textColor},e.prototype.fe=function(){return this.ki.fontSize},e.prototype.bd=function(){return eW(this.fe(),this.ki.fontFamily)},e.prototype.pd=function(){return eW(this.fe(),this.ki.fontFamily,"bold")},e.prototype.dd=function(){null===this.oe&&(this.oe={At:1,Ot:NaN,Tt:NaN,Bt:NaN,si:NaN,Dt:3,Wt:NaN,Nt:"",ni:new tp});var e=this.oe,t=this.bd();if(e.Nt!==t){var n=this.fe();e.Wt=n,e.Nt=t,e.Tt=Math.ceil(n/2.5),e.Bt=e.Tt,e.si=Math.ceil(n/2),e.Ot=Math.round(this.fe()/5),e.ni.Ou()}return this.oe},e.prototype.h_=function(e){this.Bv.style.cursor=1===e?"ew-resize":"default"},e.prototype.ad=function(){var e=this.M_.vt(),t=e.ct();t.leftPriceScale.visible||null===this.Q_||(this.rd.removeChild(this.Q_.jv()),this.Q_.en(),this.Q_=null),t.rightPriceScale.visible||null===this.td||(this.ed.removeChild(this.td.jv()),this.td.en(),this.td=null);var n={Ff:this.M_.vt().Ff()},i=function(){return t.leftPriceScale.borderVisible&&e.j().ct().borderVisible},a=function(){return e.Pf()};t.leftPriceScale.visible&&null===this.Q_&&(this.Q_=new nl("left",t,n,i,a),this.rd.appendChild(this.Q_.jv())),t.rightPriceScale.visible&&null===this.td&&(this.td=new nl("right",t,n,i,a),this.ed.appendChild(this.td.jv()))},e}(),np=function(){function e(e,t){this.gd=[],this.yd=0,this.En=0,this.$h=0,this.kd=0,this.Cd=0,this.Nd=null,this.xd=!1,this.o_=new ei,this.Jl=new ei,this.ki=t,this.hd=document.createElement("div"),this.hd.classList.add("tv-lightweight-charts"),this.hd.style.overflow="hidden",this.hd.style.width="100%",this.hd.style.height="100%",(n=this.hd).style.userSelect="none",n.style.webkitUserSelect="none",n.style.msUserSelect="none",n.style.MozUserSelect="none",n.style.webkitTapHighlightColor="transparent",this.Sd=document.createElement("table"),this.Sd.setAttribute("cellspacing","0"),this.hd.appendChild(this.Sd),this.Dd=this.Ad.bind(this),this.hd.addEventListener("wheel",this.Dd,{passive:!1}),this.hi=new tG(this.Ql.bind(this),this.ki),this.vt().mf().Ji(this.Td.bind(this),this),this.Bd=new nu(this),this.Sd.appendChild(this.Bd.jv());var n,i=this.ki.width,a=this.ki.height;if(0===i||0===a){var r=e.getBoundingClientRect();0===i&&(i=Math.floor(r.width),i-=i%2),0===a&&(a=Math.floor(r.height),a-=a%2)}this.Ld(i,a),this.Fd(),e.appendChild(this.hd),this.Ed(),this.hi.j().Jr().Ji(this.hi.uf.bind(this.hi),this),this.hi.dl().Ji(this.hi.uf.bind(this.hi),this)}return e.prototype.vt=function(){return this.hi},e.prototype.ct=function(){return this.ki},e.prototype.Vd=function(){return this.gd},e.prototype.Od=function(){return this.Bd},e.prototype.en=function(){this.hd.removeEventListener("wheel",this.Dd),0!==this.yd&&window.cancelAnimationFrame(this.yd),this.hi.mf().sn(this),this.hi.j().Jr().sn(this),this.hi.dl().sn(this),this.hi.en();for(var e=0,t=this.gd;e<t.length;e++){var n=t[e];this.Sd.removeChild(n.jv()),n.V_().sn(this),n.en()}this.gd=[],p(this.Bd).en(),null!==this.hd.parentElement&&this.hd.parentElement.removeChild(this.hd),this.Jl.en(),this.o_.en()},e.prototype.Ld=function(e,t,n){if(void 0===n&&(n=!1),this.En!==t||this.$h!==e){this.En=t,this.$h=e;var i=t+"px",a=e+"px";p(this.hd).style.height=i,p(this.hd).style.width=a,this.Sd.style.height=i,this.Sd.style.width=a,n?this.Wd(new eG(3)):this.hi.uf()}},e.prototype.Jv=function(e){void 0===e&&(e=new eG(3));for(var t=0;t<this.gd.length;t++)this.gd[t].Jv(e.ge(t).me);this.ki.timeScale.visible&&this.Bd.Jv(e.pe())},e.prototype.rs=function(e){this.hi.rs(e),this.Ed();var t=e.width||this.$h,n=e.height||this.En;this.Ld(t,n)},e.prototype.V_=function(){return this.o_},e.prototype.mf=function(){return this.Jl},e.prototype.zd=function(){var e=this;null!==this.Nd&&(this.Wd(this.Nd),this.Nd=null);var t=this.gd[0],n=tJ(document,new tK(this.$h,this.En)),i=tX(n);return P(i,tQ(n),function(){var n=0,a=0,r=function(t){for(var r=0;r<e.gd.length;r++){var s=e.gd[r],o=s.z_().ht,l=p("left"===t?s.U_():s.H_()),c=l.s_();i.drawImage(c,n,a,l.Xv(),o),a+=o}};e.Pd()&&(r("left"),n=p(t.U_()).Xv()),a=0;for(var s=0;s<e.gd.length;s++){var o=e.gd[s],l=o.z_(),c=o.s_();i.drawImage(c,n,a,l.st,l.ht),a+=l.ht}n+=t.z_().st,e.Rd()&&(a=0,r("right"));var u=function(t){var r=p("left"===t?e.Bd.od():e.Bd.ld()),s=r.z_(),o=r.s_();i.drawImage(o,n,a,s.st,s.ht)};if(e.ki.timeScale.visible){n=0,e.Pd()&&(u("left"),n=p(t.U_()).Xv());var h=e.Bd.z_();c=e.Bd.s_(),i.drawImage(c,n,a,h.st,h.ht),e.Rd()&&(n+=t.z_().st,u("right"),i.restore())}}),n},e.prototype.Id=function(e){return"none"===e?0:("left"!==e||this.Pd())&&("right"!==e||this.Rd())?0===this.gd.length?0:p("left"===e?this.gd[0].U_():this.gd[0].H_()).Xv():0},e.prototype.jd=function(){for(var e=0,t=0,n=0,i=0,a=this.gd;i<a.length;i++){var r=a[i];this.Pd()&&(t=Math.max(t,p(r.U_()).Yv())),this.Rd()&&(n=Math.max(n,p(r.H_()).Yv())),e+=r.wl()}var s=this.$h,o=this.En,l=Math.max(s-t-n,0),c=this.ki.timeScale.visible,u=c?this.Bd._d():0;u%2&&(u+=1);for(var h=0+u,d=o<h?0:o-h,f=d/e,m=0,v=0;v<this.gd.length;++v){(r=this.gd[v]).C_(this.hi.wf()[v]);var g,x=0;x=v===this.gd.length-1?d-m:Math.round(r.wl()*f),m+=g=Math.max(x,2),r.$v(new tK(l,g)),this.Pd()&&r.W_(t,"left"),this.Rd()&&r.W_(n,"right"),r.Zv()&&this.hi.pf(r.Zv(),g)}this.Bd.vd(new tK(c?l:0,u),c?t:0,c?n:0),this.hi.Dr(l),this.kd!==t&&(this.kd=t),this.Cd!==n&&(this.Cd=n)},e.prototype.Ad=function(e){var t=e.deltaX/100,n=-e.deltaY/100;if(0!==t&&this.ki.handleScroll.mouseWheel||0!==n&&this.ki.handleScale.mouseWheel){switch(e.cancelable&&e.preventDefault(),e.deltaMode){case e.DOM_DELTA_PAGE:t*=120,n*=120;break;case e.DOM_DELTA_LINE:t*=32,n*=32}if(0!==n&&this.ki.handleScale.mouseWheel){var i=Math.sign(n)*Math.min(1,Math.abs(n)),a=e.clientX-this.hd.getBoundingClientRect().left;this.vt().kf(a,i)}0!==t&&this.ki.handleScroll.mouseWheel&&this.vt().Cf(-80*t)}},e.prototype.Wd=function(e){var t=e.pe();if(3===t&&this.qd(),3===t||2===t){for(var n=this.hi.wf(),i=0;i<n.length;i++)e.ge(i)._s&&n[i].Fl();for(var a=e.xe(),r=0;r<a.length;r++){var s=a[r];this.Se(s)}a.length>0&&(this.hi.Vr(),this.hi.Eo(),this.hi.Or()),this.Bd.O()}this.Jv(e)},e.prototype.Se=function(e){var t=this.hi.j();switch(e.ke){case 0:t.Qr();break;case 1:t.te(e.X);break;case 2:t.wr(e.X);break;case 3:t.Mr(e.X);break;case 4:t.jr()}},e.prototype.Ql=function(e){var t=this;null!==this.Nd?this.Nd._n(e):this.Nd=e,this.xd||(this.xd=!0,this.yd=window.requestAnimationFrame(function(){t.xd=!1,t.yd=0,null!==t.Nd&&(t.Wd(t.Nd),t.Nd=null)}))},e.prototype.qd=function(){this.Fd()},e.prototype.Fd=function(){for(var e=this.hi.wf(),t=e.length,n=this.gd.length,i=t;i<n;i++){var a=u(this.gd.pop());this.Sd.removeChild(a.jv()),a.V_().sn(this),a.en()}for(i=n;i<t;i++)(a=new no(this,e[i])).V_().Ji(this.Ud.bind(this),this),this.gd.push(a),this.Sd.insertBefore(a.jv(),this.Bd.jv());for(i=0;i<t;i++){var r=e[i];(a=this.gd[i]).Zv()!==r?a.C_(r):a.k_()}this.Ed(),this.jd()},e.prototype.Hd=function(e,t){var n,i=new Map;if(null!==e&&this.hi.W().forEach(function(t){var n=t.Fa(e);null!==n&&i.set(t,n)}),null!==e){var a=this.hi.j().ri(e);null!==a&&(n=a)}var r=this.vt().ff();return{S:n,Yd:t||void 0,Kd:null!==r&&r.vf instanceof tZ?r.vf:void 0,$d:i,Xd:null!==r&&void 0!==r.T_?r.T_.ka:void 0}},e.prototype.Ud=function(e,t){var n=this;this.o_.hn(function(){return n.Hd(e,t)})},e.prototype.Td=function(e,t){var n=this;this.Jl.hn(function(){return n.Hd(e,t)})},e.prototype.Ed=function(){var e=this.ki.timeScale.visible?"":"none";this.Bd.jv().style.display=e},e.prototype.Pd=function(){return this.gd[0].Zv().kl().ct().visible},e.prototype.Rd=function(){return this.gd[0].Zv().Cl().ct().visible},e}();function nh(e,t,n){var i=n.value,a={Ph:t,S:e,X:[i,i,i,i]};return"color"in n&&void 0!==n.color&&(a.et=n.color),a}function nd(e,t,n){return{Ph:t,S:e,X:[n.open,n.high,n.low,n.close]}}function nf(e){return void 0!==e.X}function nm(e){return function(t,n,i){return void 0===i.open&&void 0===i.value?{S:t,Ph:n}:e(t,n,i)}}var nv={Candlestick:nm(nd),Bar:nm(nd),Area:nm(nh),Baseline:nm(nh),Histogram:nm(nh),Line:nm(nh)};function ng(e){return 60*e*6e4}function nx(e){return 60*e*1e3}var nb=[{Zd:1e3,Rh:10},{Zd:nx(1),Rh:20},{Zd:nx(5),Rh:21},{Zd:nx(30),Rh:22},{Zd:ng(1),Rh:30},{Zd:ng(3),Rh:31},{Zd:ng(6),Rh:32},{Zd:ng(12),Rh:33}];function ny(e,t){if(e.getUTCFullYear()!==t.getUTCFullYear())return 70;if(e.getUTCMonth()!==t.getUTCMonth())return 60;if(e.getUTCDate()!==t.getUTCDate())return 50;for(var n=nb.length-1;n>=0;--n)if(Math.floor(t.getTime()/nb[n].Zd)!==Math.floor(e.getTime()/nb[n].Zd))return nb[n].Rh;return 0}function nw(e,t){if(void 0===t&&(t=0),0!==e.length){for(var n=0===t?null:e[t-1].S.Dh,i=null!==n?new Date(1e3*n):null,a=0,r=t;r<e.length;++r){var s=e[r],o=new Date(1e3*s.S.Dh);null!==i&&(s.zh=ny(o,i)),a+=s.S.Dh-(n||s.S.Dh),n=s.S.Dh,i=o}if(0===t&&e.length>1){var l=Math.ceil(a/(e.length-1)),c=new Date(1e3*(e[0].S.Dh-l));e[0].zh=ny(new Date(1e3*e[0].S.Dh),c)}}}function n_(e){if(!eU(e))throw Error("time must be of type BusinessDay");return{Dh:Math.round(new Date(Date.UTC(e.year,e.month-1,e.day,0,0,0,0)).getTime()/1e3),Sh:e}}function nk(e){if(!f(e))throw Error("time must be of type isUTCTimestamp");return{Dh:e}}function nC(e){return 0===e.length?null:eU(e[0].time)?n_:nk}function nE(e){return f(e)?nk(e):eU(e)?n_(e):n_(nj(e))}function nj(e){var t=new Date(e);if(isNaN(t.getTime()))throw Error("Invalid date string="+e+", expected format=yyyy-mm-dd");return{day:t.getUTCDate(),month:t.getUTCMonth()+1,year:t.getUTCFullYear()}}function nM(e){v(e.time)&&(e.time=nj(e.time))}function nS(e){return{Ph:0,Jd:new Map,Rs:e}}var nT=function(){function e(){this.Gd=new Map,this.Qd=new Map,this.tw=new Map,this.iw=[]}return e.prototype.en=function(){this.Gd.clear(),this.Qd.clear(),this.tw.clear(),this.iw=[]},e.prototype.nw=function(e,t){var n=this,i=0!==this.Gd.size,a=!1;if(this.Qd.has(e)){if(1===this.Qd.size)i=!1,a=!0,this.Gd.clear();else for(var r=0,s=this.iw;r<s.length;r++)s[r].pointData.Jd.delete(e)&&(a=!0)}var o=[];if(0!==t.length){!function(e){e.forEach(nM)}(t);var l=p(nC(t)),c=nv[e.Ya()];o=t.map(function(t){var i=l(t.time),r=n.Gd.get(i.Dh);void 0===r&&(r=nS(i),n.Gd.set(i.Dh,r),a=!0);var s=c(i,r.Ph,t);return r.Jd.set(e,s),s})}i&&this.sw(),this.hw(e,o);var u=-1;if(a){var h=[];this.Gd.forEach(function(e){h.push({zh:0,S:e.Rs,pointData:e})}),h.sort(function(e,t){return e.S.Dh-t.S.Dh}),u=this.rw(h)}return this.ew(e,u)},e.prototype.Of=function(e){return this.nw(e,[])},e.prototype.uw=function(e,t){nM(t);var n=p(nC([t]))(t.time),i=this.tw.get(e);if(void 0!==i&&n.Dh<i.Dh)throw Error("Cannot update oldest data, last time="+i.Dh+", new time="+n.Dh);var a=this.Gd.get(n.Dh),r=void 0===a;void 0===a&&(a=nS(n),this.Gd.set(n.Dh,a));var s=nv[e.Ya()](n,a.Ph,t);if(a.Jd.set(e,s),this.aw(e,s),!r)return this.ew(e,-1);var o={zh:0,S:a.Rs,pointData:a},l=eO(this.iw,o.S.Dh,function(e,t){return e.S.Dh<t});this.iw.splice(l,0,o);for(var c=l;c<this.iw.length;++c)nA(this.iw[c].pointData,c);return nw(this.iw,l),this.ew(e,l)},e.prototype.aw=function(e,t){var n=this.Qd.get(e);void 0===n&&(n=[],this.Qd.set(e,n));var i=0!==n.length?n[n.length-1]:null;null===i||t.S.Dh>i.S.Dh?nf(t)&&n.push(t):nf(t)?n[n.length-1]=t:n.splice(-1,1),this.tw.set(e,t.S)},e.prototype.hw=function(e,t){0!==t.length?(this.Qd.set(e,t.filter(nf)),this.tw.set(e,t[t.length-1].S)):(this.Qd.delete(e),this.tw.delete(e))},e.prototype.sw=function(){for(var e=0,t=this.iw;e<t.length;e++){var n=t[e];0===n.pointData.Jd.size&&this.Gd.delete(n.S.Dh)}},e.prototype.rw=function(e){for(var t=-1,n=0;n<this.iw.length&&n<e.length;++n){var i=this.iw[n],a=e[n];if(i.S.Dh!==a.S.Dh){t=n;break}a.zh=i.zh,nA(a.pointData,n)}if(-1===t&&this.iw.length!==e.length&&(t=Math.min(this.iw.length,e.length)),-1===t)return -1;for(n=t;n<e.length;++n)nA(e[n].pointData,n);return nw(e,t),this.iw=e,t},e.prototype.ow=function(){if(0===this.Qd.size)return null;var e=0;return this.Qd.forEach(function(t){0!==t.length&&(e=Math.max(e,t[t.length-1].Ph))}),e},e.prototype.ew=function(e,t){var n={lw:new Map,j:{Br:this.ow()}};if(-1!==t)this.Qd.forEach(function(e,t){n.lw.set(t,{Zu:e})}),this.Qd.has(e)||n.lw.set(e,{Zu:[]}),n.j.fw=this.iw,n.j.cw=t;else{var i=this.Qd.get(e);n.lw.set(e,{Zu:i||[]})}return n},e}();function nA(e,t){e.Ph=t,e.Jd.forEach(function(e){e.Ph=t})}var nO={color:"#FF0000",price:0,lineStyle:2,lineWidth:1,axisLabelVisible:!0,title:""},nN=function(){function e(e){this.Ia=e}return e.prototype.applyOptions=function(e){this.Ia.rs(e)},e.prototype.options=function(){return this.Ia.ct()},e.prototype._w=function(){return this.Ia},e}();function nR(e){var t=e.overlay,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(e);a<i.length;a++)0>t.indexOf(i[a])&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]])}return n}(e,["overlay"]);return t&&(n.priceScaleId=""),n}var nF=function(){function e(e,t,n){this.qe=e,this.dw=t,this.ww=n}return e.prototype.priceFormatter=function(){return this.qe.$s()},e.prototype.priceToCoordinate=function(e){var t=this.qe.H();return null===t?null:this.qe.$().K(e,t.X)},e.prototype.coordinateToPrice=function(e){var t=this.qe.H();return null===t?null:this.qe.$().Si(e,t.X)},e.prototype.barsInLogicalRange=function(e){if(null===e)return null;var t=new eZ(new eF(e.from,e.to)).Hh(),n=this.qe.Hi();if(n.ti())return null;var i=n.oo(t.hh(),1),a=n.oo(t.rh(),-1),r=p(n.eo()),s=p(n.Ui());if(null!==i&&null!==a&&i.Ph>a.Ph)return{barsBefore:e.from-r,barsAfter:s-e.to};var o={barsBefore:null===i||i.Ph===r?e.from-r:i.Ph-r,barsAfter:null===a||a.Ph===s?s-e.to:s-a.Ph};return null!==i&&null!==a&&(o.from=i.S.Sh||i.S.Dh,o.to=a.S.Sh||a.S.Dh),o},e.prototype.setData=function(e){this.qe.Ya(),this.dw.Mw(this.qe,e)},e.prototype.update=function(e){this.qe.Ya(),this.dw.bw(this.qe,e)},e.prototype.setMarkers=function(e){var t=e.map(function(e){return o(o({},e),{time:nE(e.time)})});this.qe.Wo(t)},e.prototype.applyOptions=function(e){var t=nR(e);this.qe.rs(t)},e.prototype.options=function(){return x(this.qe.ct())},e.prototype.priceScale=function(){return this.ww.priceScale(this.qe.$().hs())},e.prototype.createPriceLine=function(e){var t=d(x(nO),e);return new nN(this.qe.zo(t))},e.prototype.removePriceLine=function(e){this.qe.Po(e._w())},e.prototype.seriesType=function(){return this.qe.Ya()},e}(),nD=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.applyOptions=function(t){eE(t),e.prototype.applyOptions.call(this,t)},t}(nF),nI={autoScale:!0,mode:0,invertScale:!1,alignLabels:!0,borderVisible:!0,borderColor:"#2B2B43",entireTextOnly:!1,visible:!1,drawTicks:!0,scaleMargins:{bottom:.1,top:.2}},nL={width:0,height:0,layout:{background:{type:"solid",color:"#FFFFFF"},textColor:"#191919",fontSize:11,fontFamily:eq},crosshair:{vertLine:{color:"#758696",width:1,style:3,visible:!0,labelVisible:!0,labelBackgroundColor:"#4c525e"},horzLine:{color:"#758696",width:1,style:3,visible:!0,labelVisible:!0,labelBackgroundColor:"#4c525e"},mode:1},grid:{vertLines:{color:"#D6DCDE",style:0,visible:!0},horzLines:{color:"#D6DCDE",style:0,visible:!0}},overlayPriceScales:o({},nI),leftPriceScale:o(o({},nI),{visible:!1}),rightPriceScale:o(o({},nI),{visible:!0}),timeScale:{rightOffset:0,barSpacing:6,minBarSpacing:.5,fixLeftEdge:!1,fixRightEdge:!1,lockVisibleTimeRangeOnResize:!1,rightBarStaysOnScroll:!1,borderVisible:!0,borderColor:"#2B2B43",visible:!0,timeVisible:!1,secondsVisible:!0,shiftVisibleRangeOnNewBar:!0},watermark:{color:"rgba(0, 0, 0, 0)",visible:!1,fontSize:48,fontFamily:eq,fontStyle:"",text:"",horzAlign:"center",vertAlign:"center"},localization:{locale:t3?navigator.language:"",dateFormat:"dd MMM 'yy"},handleScroll:{mouseWheel:!0,pressedMouseMove:!0,horzTouchDrag:!0,vertTouchDrag:!0},handleScale:{axisPressedMouseMove:{time:!0,price:!0},axisDoubleClickReset:!0,mouseWheel:!0,pinch:!0},kineticScroll:{mouse:!1,touch:!0}},nP={upColor:"#26a69a",downColor:"#ef5350",wickVisible:!0,borderVisible:!0,borderColor:"#378658",borderUpColor:"#26a69a",borderDownColor:"#ef5350",wickColor:"#737375",wickUpColor:"#26a69a",wickDownColor:"#ef5350"},nz={upColor:"#26a69a",downColor:"#ef5350",openVisible:!0,thinBars:!0},nZ={color:"#2196f3",lineStyle:0,lineWidth:3,lineType:0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBackgroundColor:"",lastPriceAnimation:0},nB={topColor:"rgba( 46, 220, 135, 0.4)",bottomColor:"rgba( 40, 221, 100, 0)",lineColor:"#33D778",lineStyle:0,lineWidth:3,lineType:0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBackgroundColor:"",lastPriceAnimation:0},n$={baseValue:{type:"price",price:0},topFillColor1:"rgba(38, 166, 154, 0.28)",topFillColor2:"rgba(38, 166, 154, 0.05)",topLineColor:"rgba(38, 166, 154, 1)",bottomFillColor1:"rgba(239, 83, 80, 0.05)",bottomFillColor2:"rgba(239, 83, 80, 0.28)",bottomLineColor:"rgba(239, 83, 80, 1)",lineWidth:3,lineStyle:0,crosshairMarkerVisible:!0,crosshairMarkerRadius:4,crosshairMarkerBorderColor:"",crosshairMarkerBackgroundColor:"",lastPriceAnimation:0},nV={color:"#26a69a",base:0},nU={title:"",visible:!0,lastValueVisible:!0,priceLineVisible:!0,priceLineSource:0,priceLineWidth:1,priceLineColor:"",priceLineStyle:2,baseLineVisible:!0,baseLineWidth:1,baseLineColor:"#B2B5BE",baseLineStyle:0,priceFormat:{type:"price",precision:2,minMove:.01}},nq=function(){function e(e,t){this.mw=e,this.pw=t}return e.prototype.applyOptions=function(e){this.mw.vt()._f(this.pw,e)},e.prototype.options=function(){return this.Gt().ct()},e.prototype.width=function(){return eY(this.pw)?this.mw.Id("left"===this.pw?"left":"right"):0},e.prototype.Gt=function(){return p(this.mw.vt().df(this.pw)).$},e}(),nW=function(){function e(e,t){this.gw=new ei,this.nr=new ei,this.sd=new ei,this.hi=e,this.ul=e.j(),this.Bd=t,this.ul.Xr().Ji(this.yw.bind(this)),this.ul.Zr().Ji(this.kw.bind(this)),this.Bd.fd().Ji(this.Cw.bind(this))}return e.prototype.en=function(){this.ul.Xr().sn(this),this.ul.Zr().sn(this),this.Bd.fd().sn(this),this.gw.en(),this.nr.en(),this.sd.en()},e.prototype.scrollPosition=function(){return this.ul.Pr()},e.prototype.scrollToPosition=function(e,t){t?this.ul.$r(e,1e3):this.hi.Mr(e)},e.prototype.scrollToRealTime=function(){this.ul.Kr()},e.prototype.getVisibleRange=function(){var e,t,n=this.ul.yr();return null===n?null:{from:null!==(e=n.from.Sh)&&void 0!==e?e:n.from.Dh,to:null!==(t=n.to.Sh)&&void 0!==t?t:n.to.Dh}},e.prototype.setVisibleRange=function(e){var t={from:nE(e.from),to:nE(e.to)},n=this.ul.Sr(t);this.hi.Wf(n)},e.prototype.getVisibleLogicalRange=function(){var e=this.ul.gr();return null===e?null:{from:e.hh(),to:e.rh()}},e.prototype.setVisibleLogicalRange=function(e){c(e.from<=e.to,"The from index cannot be after the to index."),this.hi.Wf(e)},e.prototype.resetTimeScale=function(){this.hi.Ne()},e.prototype.fitContent=function(){this.hi.Qr()},e.prototype.logicalToCoordinate=function(e){var t=this.hi.j();return t.ti()?null:t.G(e)},e.prototype.coordinateToLogical=function(e){return this.ul.ti()?null:this.ul.Fr(e)},e.prototype.timeToCoordinate=function(e){var t=nE(e),n=this.ul.br(t,!1);return null===n?null:this.ul.G(n)},e.prototype.coordinateToTime=function(e){var t,n=this.hi.j(),i=n.Fr(e),a=n.ri(i);return null===a?null:null!==(t=a.Sh)&&void 0!==t?t:a.Dh},e.prototype.width=function(){return this.Bd.z_().st},e.prototype.height=function(){return this.Bd.z_().ht},e.prototype.subscribeVisibleTimeRangeChange=function(e){this.gw.Ji(e)},e.prototype.unsubscribeVisibleTimeRangeChange=function(e){this.gw.nn(e)},e.prototype.subscribeVisibleLogicalRangeChange=function(e){this.nr.Ji(e)},e.prototype.unsubscribeVisibleLogicalRangeChange=function(e){this.nr.nn(e)},e.prototype.subscribeSizeChange=function(e){this.sd.Ji(e)},e.prototype.unsubscribeSizeChange=function(e){this.sd.nn(e)},e.prototype.applyOptions=function(e){this.ul.rs(e)},e.prototype.options=function(){return x(this.ul.ct())},e.prototype.yw=function(){this.gw.rn()&&this.gw.hn(this.getVisibleRange())},e.prototype.kw=function(){this.nr.rn()&&this.nr.hn(this.getVisibleLogicalRange())},e.prototype.Cw=function(e){this.sd.hn(e.st,e.ht)},e}();function nH(e){void 0!==e&&"custom"!==e.type&&void 0!==e.minMove&&void 0===e.precision&&(e.precision=function(e){if(e>=1)return 0;for(var t=0;t<8&&!(1e-8>Math.abs(Math.round(e)-e));t++)e*=10;return t}(e.minMove))}function nY(e){return function(e){if(g(e.handleScale)){var t=e.handleScale;e.handleScale={axisDoubleClickReset:t,axisPressedMouseMove:{time:t,price:t},mouseWheel:t,pinch:t}}else if(void 0!==e.handleScale&&g(e.handleScale.axisPressedMouseMove)){var n=e.handleScale.axisPressedMouseMove;e.handleScale.axisPressedMouseMove={time:n,price:n}}var i=e.handleScroll;g(i)&&(e.handleScroll={horzTouchDrag:i,vertTouchDrag:i,mouseWheel:i,pressedMouseMove:i})}(e),function(e){if(e.priceScale){e.leftPriceScale=e.leftPriceScale||{},e.rightPriceScale=e.rightPriceScale||{};var t=e.priceScale.position;delete e.priceScale.position,e.leftPriceScale=d(e.leftPriceScale,e.priceScale),e.rightPriceScale=d(e.rightPriceScale,e.priceScale),"left"===t&&(e.leftPriceScale.visible=!0,e.rightPriceScale.visible=!1),"right"===t&&(e.leftPriceScale.visible=!1,e.rightPriceScale.visible=!0),"none"===t&&(e.leftPriceScale.visible=!1,e.rightPriceScale.visible=!1),e.overlayPriceScales=e.overlayPriceScales||{},void 0!==e.priceScale.invertScale&&(e.overlayPriceScales.invertScale=e.priceScale.invertScale),void 0!==e.priceScale.scaleMargins&&(e.overlayPriceScales.scaleMargins=e.priceScale.scaleMargins)}}(e),e.layout&&e.layout.backgroundColor&&!e.layout.background&&(e.layout.background={type:"solid",color:e.layout.backgroundColor}),e}!function(){function e(e,t){var n=this;this.Nw=new nT,this.xw=new Map,this.Sw=new Map,this.Dw=new ei,this.Aw=new ei;var i=void 0===t?x(nL):d(x(nL),nY(t));this.mw=new np(e,i),this.mw.V_().Ji(function(e){n.Dw.rn()&&n.Dw.hn(n.Tw(e()))},this),this.mw.mf().Ji(function(e){n.Aw.rn()&&n.Aw.hn(n.Tw(e()))},this);var a=this.mw.vt();this.Bw=new nW(a,this.mw.Od())}e.prototype.remove=function(){this.mw.V_().sn(this),this.mw.mf().sn(this),this.Bw.en(),this.mw.en(),this.xw.clear(),this.Sw.clear(),this.Dw.en(),this.Aw.en(),this.Nw.en()},e.prototype.resize=function(e,t,n){this.mw.Ld(e,t,n)},e.prototype.addAreaSeries=function(e){void 0===e&&(e={}),nH((e=nR(e)).priceFormat);var t=d(x(nU),nB,e),n=this.mw.vt().Ef("Area",t),i=new nF(n,this,this);return this.xw.set(i,n),this.Sw.set(n,i),i},e.prototype.addBaselineSeries=function(e){void 0===e&&(e={}),nH((e=nR(e)).priceFormat);var t=d(x(nU),n$,e),n=this.mw.vt().Ef("Baseline",t),i=new nF(n,this,this);return this.xw.set(i,n),this.Sw.set(n,i),i},e.prototype.addBarSeries=function(e){void 0===e&&(e={}),nH((e=nR(e)).priceFormat);var t=d(x(nU),nz,e),n=this.mw.vt().Ef("Bar",t),i=new nF(n,this,this);return this.xw.set(i,n),this.Sw.set(n,i),i},e.prototype.addCandlestickSeries=function(e){void 0===e&&(e={}),eE(e=nR(e)),nH(e.priceFormat);var t=d(x(nU),nP,e),n=this.mw.vt().Ef("Candlestick",t),i=new nD(n,this,this);return this.xw.set(i,n),this.Sw.set(n,i),i},e.prototype.addHistogramSeries=function(e){void 0===e&&(e={}),nH((e=nR(e)).priceFormat);var t=d(x(nU),nV,e),n=this.mw.vt().Ef("Histogram",t),i=new nF(n,this,this);return this.xw.set(i,n),this.Sw.set(n,i),i},e.prototype.addLineSeries=function(e){void 0===e&&(e={}),nH((e=nR(e)).priceFormat);var t=d(x(nU),nZ,e),n=this.mw.vt().Ef("Line",t),i=new nF(n,this,this);return this.xw.set(i,n),this.Sw.set(n,i),i},e.prototype.removeSeries=function(e){var t=u(this.xw.get(e)),n=this.Nw.Of(t);this.mw.vt().Of(t),this.Lw(n),this.xw.delete(e),this.Sw.delete(t)},e.prototype.Mw=function(e,t){this.Lw(this.Nw.nw(e,t))},e.prototype.bw=function(e,t){this.Lw(this.Nw.uw(e,t))},e.prototype.subscribeClick=function(e){this.Dw.Ji(e)},e.prototype.unsubscribeClick=function(e){this.Dw.nn(e)},e.prototype.subscribeCrosshairMove=function(e){this.Aw.Ji(e)},e.prototype.unsubscribeCrosshairMove=function(e){this.Aw.nn(e)},e.prototype.priceScale=function(e){return void 0===e&&(e=this.mw.vt().zf()),new nq(this.mw,e)},e.prototype.timeScale=function(){return this.Bw},e.prototype.applyOptions=function(e){this.mw.rs(nY(e))},e.prototype.options=function(){return this.mw.ct()},e.prototype.takeScreenshot=function(){return this.mw.zd()},e.prototype.Lw=function(e){var t=this.mw.vt();t.Lf(e.j.Br,e.j.fw,e.j.cw),e.lw.forEach(function(e,t){return t._(e.Zu)}),t.Vr()},e.prototype.Fw=function(e){return u(this.Sw.get(e))},e.prototype.Tw=function(e){var t=this,n=new Map;e.$d.forEach(function(e,i){n.set(t.Fw(i),e)});var i=void 0===e.Kd?void 0:this.Fw(e.Kd);return{time:e.S&&(e.S.Sh||e.S.Dh),point:e.Yd,hoveredSeries:i,hoveredMarkerId:e.Xd,seriesPrices:n}}}()},94975:function(e,t,n){var i=n(39866)(n(74288),"DataView");e.exports=i},9855:function(e,t,n){var i=n(43596),a=n(35907),r=n(35355),s=n(39870),o=n(73372);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=a,l.prototype.get=r,l.prototype.has=s,l.prototype.set=o,e.exports=l},99078:function(e,t,n){var i=n(62285),a=n(28706),r=n(63717),s=n(78410),o=n(13368);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=a,l.prototype.get=r,l.prototype.has=s,l.prototype.set=o,e.exports=l},88675:function(e,t,n){var i=n(39866)(n(74288),"Map");e.exports=i},76219:function(e,t,n){var i=n(38764),a=n(78615),r=n(83391),s=n(53483),o=n(74724);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=a,l.prototype.get=r,l.prototype.has=s,l.prototype.set=o,e.exports=l},69308:function(e,t,n){var i=n(39866)(n(74288),"Promise");e.exports=i},41497:function(e,t,n){var i=n(39866)(n(74288),"Set");e.exports=i},11549:function(e,t,n){var i=n(76219),a=n(54351),r=n(16096);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=a,s.prototype.has=r,e.exports=s},85885:function(e,t,n){var i=n(99078),a=n(84092),r=n(31663),s=n(69135),o=n(39552),l=n(63960);function c(e){var t=this.__data__=new i(e);this.size=t.size}c.prototype.clear=a,c.prototype.delete=r,c.prototype.get=s,c.prototype.has=o,c.prototype.set=l,e.exports=c},80098:function(e,t,n){var i=n(74288).Uint8Array;e.exports=i},10880:function(e,t,n){var i=n(39866)(n(74288),"WeakMap");e.exports=i},42774:function(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,a=0,r=[];++n<i;){var s=e[n];t(s,n,e)&&(r[a++]=s)}return r}},28579:function(e,t,n){var i=n(89772),a=n(56569),r=n(25614),s=n(98051),o=n(84257),l=n(9792),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=r(e),u=!n&&a(e),p=!n&&!u&&s(e),h=!n&&!u&&!p&&l(e),d=n||u||p||h,f=d?i(e.length,String):[],m=f.length;for(var v in e)(t||c.call(e,v))&&!(d&&("length"==v||p&&("offset"==v||"parent"==v)||h&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||o(v,m)))&&f.push(v);return f}},73819:function(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,a=Array(i);++n<i;)a[n]=t(e[n],n,e);return a}},73817:function(e){e.exports=function(e,t){for(var n=-1,i=t.length,a=e.length;++n<i;)e[a+n]=t[n];return e}},76378:function(e){e.exports=function(e,t,n,i){var a=-1,r=null==e?0:e.length;for(i&&r&&(n=e[++a]);++a<r;)n=t(n,e[a],a,e);return n}},25253:function(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},59652:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},83295:function(e,t,n){var i=n(83023),a=n(37560),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];r.call(e,t)&&a(s,n)&&(void 0!==n||t in e)||i(e,t,n)}},24457:function(e,t,n){var i=n(37560);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return -1}},83023:function(e,t,n){var i=n(4521);e.exports=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},92167:function(e,t,n){var i=n(67906),a=n(70235);e.exports=function(e,t){t=i(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[a(t[n++])];return n&&n==r?e:void 0}},36452:function(e,t,n){var i=n(73817),a=n(25614);e.exports=function(e,t,n){var r=t(e);return a(e)?r:i(r,n(e))}},93012:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},90370:function(e,t,n){var i=n(54506),a=n(10303);e.exports=function(e){return a(e)&&"[object Arguments]"==i(e)}},56318:function(e,t,n){var i=n(6791),a=n(10303);e.exports=function e(t,n,r,s,o){return t===n||(null!=t&&null!=n&&(a(t)||a(n))?i(t,n,r,s,e,o):t!=t&&n!=n)}},6791:function(e,t,n){var i=n(85885),a=n(97638),r=n(88030),s=n(64974),o=n(81690),l=n(25614),c=n(98051),u=n(9792),p="[object Arguments]",h="[object Array]",d="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var x=l(e),b=l(t),y=x?h:o(e),w=b?h:o(t);y=y==p?d:y,w=w==p?d:w;var _=y==d,k=w==d,C=y==w;if(C&&c(e)){if(!c(t))return!1;x=!0,_=!1}if(C&&!_)return g||(g=new i),x||u(e)?a(e,t,n,m,v,g):r(e,t,y,n,m,v,g);if(!(1&n)){var E=_&&f.call(e,"__wrapped__"),j=k&&f.call(t,"__wrapped__");if(E||j){var M=E?e.value():e,S=j?t.value():t;return g||(g=new i),v(M,S,n,m,g)}}return!!C&&(g||(g=new i),s(e,t,n,m,v,g))}},62538:function(e,t,n){var i=n(85885),a=n(56318);e.exports=function(e,t,n,r){var s=n.length,o=s,l=!r;if(null==e)return!o;for(e=Object(e);s--;){var c=n[s];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++s<o;){var u=(c=n[s])[0],p=e[u],h=c[1];if(l&&c[2]){if(void 0===p&&!(u in e))return!1}else{var d=new i;if(r)var f=r(p,h,u,e,t,d);if(!(void 0===f?a(h,p,3,r,d):f))return!1}}return!0}},57595:function(e,t,n){var i=n(86757),a=n(79551),r=n(28302),s=n(1292),o=/^\[object .+?Constructor\]$/,l=Object.prototype,c=Function.prototype.toString,u=l.hasOwnProperty,p=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||a(e))&&(i(e)?p:o).test(s(e))}},59332:function(e,t,n){var i=n(54506),a=n(13973),r=n(10303),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&a(e.length)&&!!s[i(e)]}},88157:function(e,t,n){var i=n(25569),a=n(51501),r=n(79586),s=n(25614),o=n(22350);e.exports=function(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?s(e)?a(e[0],e[1]):i(e):o(e)}},4578:function(e,t,n){var i=n(35365),a=n(77184),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return a(e);var t=[];for(var n in Object(e))r.call(e,n)&&"constructor"!=n&&t.push(n);return t}},22476:function(e,t,n){var i=n(28302),a=n(35365),r=n(92147),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=a(e),n=[];for(var o in e)"constructor"==o&&(t||!s.call(e,o))||n.push(o);return n}},25569:function(e,t,n){var i=n(62538),a=n(58424),r=n(47073);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?r(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}},51501:function(e,t,n){var i=n(56318),a=n(13735),r=n(17764),s=n(67352),o=n(45669),l=n(47073),c=n(70235);e.exports=function(e,t){return s(e)&&o(t)?l(c(e),t):function(n){var s=a(n,e);return void 0===s&&s===t?r(n,e):i(t,s,3)}}},20702:function(e,t,n){var i=n(92167),a=n(87325),r=n(67906);e.exports=function(e,t,n){for(var s=-1,o=t.length,l={};++s<o;){var c=t[s],u=i(e,c);n(u,c)&&a(l,r(c,e),u)}return l}},18155:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},73584:function(e,t,n){var i=n(92167);e.exports=function(e){return function(t){return i(t,e)}}},98880:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},87325:function(e,t,n){var i=n(83295),a=n(67906),r=n(84257),s=n(28302),o=n(70235);e.exports=function(e,t,n,l){if(!s(e))return e;t=a(t,e);for(var c=-1,u=t.length,p=u-1,h=e;null!=h&&++c<u;){var d=o(t[c]),f=n;if("__proto__"===d||"constructor"===d||"prototype"===d)break;if(c!=p){var m=h[d];void 0===(f=l?l(m,d,h):void 0)&&(f=s(m)?m:r(t[c+1])?[]:{})}i(h,d,f),h=h[d]}return e}},89772:function(e){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},65020:function(e,t,n){var i=n(23910),a=n(73819),r=n(25614),s=n(78371),o=1/0,l=i?i.prototype:void 0,c=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return a(t,e)+"";if(s(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-o?"-0":n}},23305:function(e){e.exports=function(e){return function(t){return e(t)}}},65734:function(e){e.exports=function(e,t){return e.has(t)}},67906:function(e,t,n){var i=n(25614),a=n(67352),r=n(39365),s=n(3641);e.exports=function(e,t){return i(e)?e:a(e,t)?[e]:r(s(e))}},92077:function(e,t,n){var i=n(74288)["__core-js_shared__"];e.exports=i},82638:function(e,t,n){var i=n(76378),a=n(42143),r=n(67512),s=RegExp("['’]","g");e.exports=function(e){return function(t){return i(r(a(t).replace(s,"")),e,"")}}},62167:function(e,t,n){var i=n(98880)({À:"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",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"});e.exports=i},4521:function(e,t,n){var i=n(39866),a=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},97638:function(e,t,n){var i=n(11549),a=n(25253),r=n(65734);e.exports=function(e,t,n,s,o,l){var c=1&n,u=e.length,p=t.length;if(u!=p&&!(c&&p>u))return!1;var h=l.get(e),d=l.get(t);if(h&&d)return h==t&&d==e;var f=-1,m=!0,v=2&n?new i:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var g=e[f],x=t[f];if(s)var b=c?s(x,g,f,t,e,l):s(g,x,f,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!a(t,function(e,t){if(!r(v,t)&&(g===e||o(g,e,n,s,l)))return v.push(t)})){m=!1;break}}else if(!(g===x||o(g,x,n,s,l))){m=!1;break}}return l.delete(e),l.delete(t),m}},88030:function(e,t,n){var i=n(23910),a=n(80098),r=n(37560),s=n(97638),o=n(22523),l=n(27794),c=i?i.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,i,c,p,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!p(new a(e),new a(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=o;case"[object Set]":var f=1&i;if(d||(d=l),e.size!=t.size&&!f)break;var m=h.get(e);if(m)return m==t;i|=2,h.set(e,t);var v=s(d(e),d(t),i,c,p,h);return h.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},64974:function(e,t,n){var i=n(28529),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,s,o){var l=1&n,c=i(e),u=c.length;if(u!=i(t).length&&!l)return!1;for(var p=u;p--;){var h=c[p];if(!(l?h in t:a.call(t,h)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var m=!0;o.set(e,t),o.set(t,e);for(var v=l;++p<u;){var g=e[h=c[p]],x=t[h];if(r)var b=l?r(x,g,h,t,e,o):r(g,x,h,e,t,o);if(!(void 0===b?g===x||s(g,x,n,r,o):b)){m=!1;break}v||(v="constructor"==h)}if(m&&!v){var y=e.constructor,w=t.constructor;y!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w)&&(m=!1)}return o.delete(e),o.delete(t),m}},28529:function(e,t,n){var i=n(36452),a=n(80466),r=n(43228);e.exports=function(e){return i(e,r,a)}},75474:function(e,t,n){var i=n(36452),a=n(28868),r=n(18587);e.exports=function(e){return i(e,r,a)}},1507:function(e,t,n){var i=n(7545);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},58424:function(e,t,n){var i=n(45669),a=n(43228);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var r=t[n],s=e[r];t[n]=[r,s,i(s)]}return t}},39866:function(e,t,n){var i=n(57595),a=n(3138);e.exports=function(e,t){var n=a(e,t);return i(n)?n:void 0}},62602:function(e,t,n){var i=n(45070)(Object.getPrototypeOf,Object);e.exports=i},80466:function(e,t,n){var i=n(42774),a=n(55716),r=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,o=s?function(e){return null==e?[]:i(s(e=Object(e)),function(t){return r.call(e,t)})}:a;e.exports=o},28868:function(e,t,n){var i=n(73817),a=n(62602),r=n(80466),s=n(55716),o=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)i(t,r(e)),e=a(e);return t}:s;e.exports=o},81690:function(e,t,n){var i=n(94975),a=n(88675),r=n(69308),s=n(41497),o=n(10880),l=n(54506),c=n(1292),u="[object Map]",p="[object Promise]",h="[object Set]",d="[object WeakMap]",f="[object DataView]",m=c(i),v=c(a),g=c(r),x=c(s),b=c(o),y=l;(i&&y(new i(new ArrayBuffer(1)))!=f||a&&y(new a)!=u||r&&y(r.resolve())!=p||s&&y(new s)!=h||o&&y(new o)!=d)&&(y=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,i=n?c(n):"";if(i)switch(i){case m:return f;case v:return u;case g:return p;case x:return h;case b:return d}return t}),e.exports=y},3138:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},59592:function(e,t,n){var i=n(67906),a=n(56569),r=n(25614),s=n(84257),o=n(13973),l=n(70235);e.exports=function(e,t,n){t=i(t,e);for(var c=-1,u=t.length,p=!1;++c<u;){var h=l(t[c]);if(!(p=null!=e&&n(e,h)))break;e=e[h]}return p||++c!=u?p:!!(u=null==e?0:e.length)&&o(u)&&s(h,u)&&(r(e)||a(e))}},27926:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},43596:function(e,t,n){var i=n(20453);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},35907:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},35355:function(e,t,n){var i=n(20453),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},39870:function(e,t,n){var i=n(20453),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:a.call(t,e)}},73372:function(e,t,n){var i=n(20453);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},84257:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<n}},67352:function(e,t,n){var i=n(25614),a=n(78371),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||a(e))||s.test(e)||!r.test(e)||null!=t&&e in Object(t)}},7545:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},79551:function(e,t,n){var i,a=n(92077),r=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!r&&r in e}},35365:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},45669:function(e,t,n){var i=n(28302);e.exports=function(e){return e==e&&!i(e)}},62285:function(e){e.exports=function(){this.__data__=[],this.size=0}},28706:function(e,t,n){var i=n(24457),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},63717:function(e,t,n){var i=n(24457);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},78410:function(e,t,n){var i=n(24457);e.exports=function(e){return i(this.__data__,e)>-1}},13368:function(e,t,n){var i=n(24457);e.exports=function(e,t){var n=this.__data__,a=i(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},38764:function(e,t,n){var i=n(9855),a=n(99078),r=n(88675);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(r||a),string:new i}}},78615:function(e,t,n){var i=n(1507);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},83391:function(e,t,n){var i=n(1507);e.exports=function(e){return i(this,e).get(e)}},53483:function(e,t,n){var i=n(1507);e.exports=function(e){return i(this,e).has(e)}},74724:function(e,t,n){var i=n(1507);e.exports=function(e,t){var n=i(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},22523:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}},47073:function(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},23787:function(e,t,n){var i=n(50967);e.exports=function(e){var t=i(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},20453:function(e,t,n){var i=n(39866)(Object,"create");e.exports=i},77184:function(e,t,n){var i=n(45070)(Object.keys,Object);e.exports=i},92147:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},39931:function(e,t,n){e=n.nmd(e);var i=n(17071),a=t&&!t.nodeType&&t,r=a&&e&&!e.nodeType&&e,s=r&&r.exports===a&&i.process,o=function(){try{var e=r&&r.require&&r.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=o},45070:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},54351:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},16096:function(e){e.exports=function(e){return this.__data__.has(e)}},27794:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},84092:function(e,t,n){var i=n(99078);e.exports=function(){this.__data__=new i,this.size=0}},31663:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},69135:function(e){e.exports=function(e){return this.__data__.get(e)}},39552:function(e){e.exports=function(e){return this.__data__.has(e)}},63960:function(e,t,n){var i=n(99078),a=n(88675),r=n(76219);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!a||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new r(s)}return n.set(e,t),this.size=n.size,this}},39365:function(e,t,n){var i=n(23787),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,s=i(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,function(e,n,i,a){t.push(i?a.replace(r,"$1"):n||e)}),t});e.exports=s},70235:function(e,t,n){var i=n(78371),a=1/0;e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}},1292:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},79269:function(e){var t="\ud800-\udfff",n="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",a="A-Z\\xc0-\\xd6\\xd8-\\xde",r="\\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",s="['’]",o="["+r+"]",l="["+i+"]",c="[^"+t+r+"\\d+"+n+i+a+"]",u="(?:\ud83c[\udde6-\uddff]){2}",p="[\ud800-\udbff][\udc00-\udfff]",h="["+a+"]",d="(?:"+l+"|"+c+")",f="(?:"+s+"(?:d|ll|m|re|s|t|ve))?",m="(?:"+s+"(?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",g="[\\ufe0e\\ufe0f]?",x="(?:\\u200d(?:"+["[^"+t+"]",u,p].join("|")+")"+g+v+")*",b="(?:"+["["+n+"]",u,p].join("|")+")"+(g+v+x),y=RegExp([h+"?"+l+"+"+f+"(?="+[o,h,"$"].join("|")+")","(?:"+h+"|"+c+")+"+m+"(?="+[o,h+d,"$"].join("|")+")",h+"?"+d+"+"+f,h+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",b].join("|"),"g");e.exports=function(e){return e.match(y)||[]}},42143:function(e,t,n){var i=n(62167),a=n(3641),r=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=a(e))&&e.replace(r,i).replace(s,"")}},37560:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},13735:function(e,t,n){var i=n(92167);e.exports=function(e,t,n){var a=null==e?void 0:i(e,t);return void 0===a?n:a}},17764:function(e,t,n){var i=n(93012),a=n(59592);e.exports=function(e,t){return null!=e&&a(e,t,i)}},79586:function(e){e.exports=function(e){return e}},56569:function(e,t,n){var i=n(90370),a=n(10303),r=Object.prototype,s=r.hasOwnProperty,o=r.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return a(e)&&s.call(e,"callee")&&!o.call(e,"callee")};e.exports=l},25614:function(e){var t=Array.isArray;e.exports=t},5629:function(e,t,n){var i=n(86757),a=n(13973);e.exports=function(e){return null!=e&&a(e.length)&&!i(e)}},98051:function(e,t,n){e=n.nmd(e);var i=n(74288),a=n(7406),r=t&&!t.nodeType&&t,s=r&&e&&!e.nodeType&&e,o=s&&s.exports===r?i.Buffer:void 0,l=o?o.isBuffer:void 0;e.exports=l||a},86757:function(e,t,n){var i=n(54506),a=n(28302);e.exports=function(e){if(!a(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},13973:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9792:function(e,t,n){var i=n(59332),a=n(23305),r=n(39931),s=r&&r.isTypedArray,o=s?a(s):i;e.exports=o},42798:function(e,t,n){var i=n(82638)(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});e.exports=i},43228:function(e,t,n){var i=n(28579),a=n(4578),r=n(5629);e.exports=function(e){return r(e)?i(e):a(e)}},18587:function(e,t,n){var i=n(28579),a=n(22476),r=n(5629);e.exports=function(e){return r(e)?i(e,!0):a(e)}},50967:function(e,t,n){var i=n(76219);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var i=arguments,a=t?t.apply(this,i):i[0],r=n.cache;if(r.has(a))return r.get(a);var s=e.apply(this,i);return n.cache=r.set(a,s)||r,s};return n.cache=new(a.Cache||i),n}a.Cache=i,e.exports=a},94686:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError("Expected a function");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)}}},15302:function(e,t,n){var i=n(88157),a=n(94686),r=n(74539);e.exports=function(e,t){return r(e,a(i(t)))}},74539:function(e,t,n){var i=n(73819),a=n(88157),r=n(20702),s=n(75474);e.exports=function(e,t){if(null==e)return{};var n=i(s(e),function(e){return[e]});return t=a(t),r(e,n,function(e,n){return t(e,n[0])})}},22350:function(e,t,n){var i=n(18155),a=n(73584),r=n(67352),s=n(70235);e.exports=function(e){return r(e)?i(s(e)):a(e)}},55716:function(e){e.exports=function(){return[]}},7406:function(e){e.exports=function(){return!1}},3641:function(e,t,n){var i=n(65020);e.exports=function(e){return null==e?"":i(e)}},67512:function(e,t,n){var i=n(59652),a=n(27926),r=n(3641),s=n(79269);e.exports=function(e,t,n){return(e=r(e),void 0===(t=n?void 0:t))?a(e)?s(e):i(e):e.match(t)||[]}},43517:function(e,t,n){e.exports=n(5954)},87215:function(e,t,n){"use strict";var i,a,r,s=n(43517),o=n(90776).extname,l=/^\s*([^;\s]*)(?:;|\s|$)/,c=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=l.exec(e),n=t&&s[t[1].toLowerCase()];return n&&n.charset?n.charset:!!(t&&c.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var i=t.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=l.exec(e),i=n&&t.extensions[n[1].toLowerCase()];return!!i&&!!i.length&&i[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=o("x."+e).toLowerCase().substr(1);return!!n&&(t.types[n]||!1)},t.types=Object.create(null),i=t.extensions,a=t.types,r=["nginx","apache",void 0,"iana"],Object.keys(s).forEach(function(e){var t=s[e],n=t.extensions;if(n&&n.length){i[e]=n;for(var o=0;o<n.length;o++){var l=n[o];if(a[l]){var c=r.indexOf(s[a[l]].source),u=r.indexOf(t.source);if("application/octet-stream"!==a[l]&&(c>u||c===u&&"application/"===a[l].substr(0,12)))continue}a[l]=e}}})},52680:function(e,t){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.extends=n},42586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(23345),a=n(12579),r=n(73559),s=n(2791);t.useFormatter=i.useFormatter,t.useTranslations=i.useTranslations,t.useLocale=a.default,t.NextIntlClientProvider=r.default,Object.keys(s).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})})},23345:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2791);function a(e,t){return function(){try{return t(...arguments)}catch(e){throw Error(void 0)}}}let r=a(0,i.useTranslations),s=a(0,i.useFormatter);t.useFormatter=s,t.useTranslations=r,Object.keys(i).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})},12579:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(99376),a=n(63513),r=n(42132);t.default=function(){let e;let t=i.useParams();try{e=a.useLocale()}catch(n){if("string"!=typeof(null==t?void 0:t[r.LOCALE_SEGMENT_NAME]))throw n;e=t[r.LOCALE_SEGMENT_NAME]}return e}},73559:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(52680),a=n(2265),r=n(54909),s=a&&a.__esModule?a:{default:a};t.default=function(e){let{locale:t,...n}=e;if(!t)throw Error(void 0);return s.default.createElement(r.IntlProvider,i.extends({locale:t},n))}},42132:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COOKIE_LOCALE_NAME="NEXT_LOCALE",t.COOKIE_MAX_AGE=31536e3,t.COOKIE_SAME_SITE="lax",t.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",t.LOCALE_SEGMENT_NAME="locale"},33145:function(e,t,n){"use strict";n.d(t,{default:function(){return a.a}});var i=n(48461),a=n.n(i)},99376:function(e,t,n){"use strict";n.r(t);var i=n(35475),a={};for(var r in i)"default"!==r&&(a[r]=(function(e){return i[e]}).bind(0,r));n.d(t,a)},90776:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,i="",a=0,r=-1,s=0,o=0;o<=e.length;++o){if(o<e.length)n=e.charCodeAt(o);else if(47===n)break;else n=47;if(47===n){if(r===o-1||1===s);else if(r!==o-1&&2===s){if(i.length<2||2!==a||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",a=0):a=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),r=o,s=0;continue}}else if(2===i.length||1===i.length){i="",a=0,r=o,s=0;continue}}t&&(i.length>0?i+="/..":i="..",a=2)}else i.length>0?i+="/"+e.slice(r+1,o):i=e.slice(r+1,o),a=o-r-1;r=o,s=0}else 46===n&&-1!==s?++s:s=-1}return i}var i={resolve:function(){for(var e,i,a="",r=!1,s=arguments.length-1;s>=-1&&!r;s--)s>=0?i=arguments[s]:(void 0===e&&(e=""),i=e),t(i),0!==i.length&&(a=i+"/"+a,r=47===i.charCodeAt(0));return(a=n(a,!r),r)?a.length>0?"/"+a:"/":a.length>0?a:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),a=47===e.charCodeAt(e.length-1);return(0!==(e=n(e,!i)).length||i||(e="."),e.length>0&&a&&(e+="/"),i)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var a=arguments[n];t(a),a.length>0&&(void 0===e?e=a:e+="/"+a)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=i.resolve(e))===(n=i.resolve(n)))return"";for(var a=1;a<e.length&&47===e.charCodeAt(a);++a);for(var r=e.length,s=r-a,o=1;o<n.length&&47===n.charCodeAt(o);++o);for(var l=n.length-o,c=s<l?s:l,u=-1,p=0;p<=c;++p){if(p===c){if(l>c){if(47===n.charCodeAt(o+p))return n.slice(o+p+1);if(0===p)return n.slice(o+p)}else s>c&&(47===e.charCodeAt(a+p)?u=p:0===p&&(u=0));break}var h=e.charCodeAt(a+p);if(h!==n.charCodeAt(o+p))break;47===h&&(u=p)}var d="";for(p=a+u+1;p<=r;++p)(p===r||47===e.charCodeAt(p))&&(0===d.length?d+="..":d+="/..");return d.length>0?d+n.slice(o+u):(o+=u,47===n.charCodeAt(o)&&++o,n.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),i=47===n,a=-1,r=!0,s=e.length-1;s>=1;--s)if(47===(n=e.charCodeAt(s))){if(!r){a=s;break}}else r=!1;return -1===a?i?"/":".":i&&1===a?"//":e.slice(0,a)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var i,a=0,r=-1,s=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var o=n.length-1,l=-1;for(i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47===c){if(!s){a=i+1;break}}else -1===l&&(s=!1,l=i+1),o>=0&&(c===n.charCodeAt(o)?-1==--o&&(r=i):(o=-1,r=l))}return a===r?r=l:-1===r&&(r=e.length),e.slice(a,r)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){a=i+1;break}}else -1===r&&(s=!1,r=i+1);return -1===r?"":e.slice(a,r)},extname:function(e){t(e);for(var n=-1,i=0,a=-1,r=!0,s=0,o=e.length-1;o>=0;--o){var l=e.charCodeAt(o);if(47===l){if(!r){i=o+1;break}continue}-1===a&&(r=!1,a=o+1),46===l?-1===n?n=o:1!==s&&(s=1):-1!==n&&(s=-1)}return -1===n||-1===a||0===s||1===s&&n===a-1&&n===i+1?"":e.slice(n,a)},format:function(e){var t,n;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+n:t+"/"+n:n},parse:function(e){t(e);var n,i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;var a=e.charCodeAt(0),r=47===a;r?(i.root="/",n=1):n=0;for(var s=-1,o=0,l=-1,c=!0,u=e.length-1,p=0;u>=n;--u){if(47===(a=e.charCodeAt(u))){if(!c){o=u+1;break}continue}-1===l&&(c=!1,l=u+1),46===a?-1===s?s=u:1!==p&&(p=1):-1!==s&&(p=-1)}return -1===s||-1===l||0===p||1===p&&s===l-1&&s===o+1?-1!==l&&(0===o&&r?i.base=i.name=e.slice(1,l):i.base=i.name=e.slice(o,l)):(0===o&&r?(i.name=e.slice(1,s),i.base=e.slice(1,l)):(i.name=e.slice(o,s),i.base=e.slice(o,l)),i.ext=e.slice(s,l)),o>0?i.dir=e.slice(0,o-1):r&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}},n={};function i(e){var a=n[e];if(void 0!==a)return a.exports;var r=n[e]={exports:{}},s=!0;try{t[e](r,r.exports,i),s=!1}finally{s&&delete n[e]}return r.exports}i.ab="//";var a=i(114);e.exports=a}()},48461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return o}});let i=n(47043),a=n(55346),r=n(65878),s=i._(n(5084));function o(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/invest/pds/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=r.Image},48049:function(e,t,n){"use strict";var i=n(14397);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,s){if(s!==i){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},40718:function(e,t,n){e.exports=n(48049)()},14397:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8727:function(e){"use strict";var t=Array.isArray,n=Object.keys,i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;e.exports=function(e,r){try{return function e(r,s){if(r===s)return!0;if(r&&s&&"object"==typeof r&&"object"==typeof s){var o,l,c,u=t(r),p=t(s);if(u&&p){if((l=r.length)!=s.length)return!1;for(o=l;0!=o--;)if(!e(r[o],s[o]))return!1;return!0}if(u!=p)return!1;var h=r instanceof Date,d=s instanceof Date;if(h!=d)return!1;if(h&&d)return r.getTime()==s.getTime();var f=r instanceof RegExp,m=s instanceof RegExp;if(f!=m)return!1;if(f&&m)return r.toString()==s.toString();var v=n(r);if((l=v.length)!==n(s).length)return!1;for(o=l;0!=o--;)if(!i.call(s,v[o]))return!1;if(a&&r instanceof Element&&s instanceof Element)return r===s;for(o=l;0!=o--;)if(("_owner"!==(c=v[o])||!r.$$typeof)&&!e(r[c],s[c]))return!1;return!0}return r!=r&&s!=s}(e,r)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},13126:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,o=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,x=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case u:case p:case r:case o:case s:case d:return e;default:switch(e=e&&e.$$typeof){case c:case h:case v:case m:case l:return e;default:return t}}case a:return t}}}function _(e){return w(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=i,t.ForwardRef=h,t.Fragment=r,t.Lazy=v,t.Memo=m,t.Portal=a,t.Profiler=o,t.StrictMode=s,t.Suspense=d,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return w(e)===h},t.isFragment=function(e){return w(e)===r},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===o},t.isStrictMode=function(e){return w(e)===s},t.isSuspense=function(e){return w(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===p||e===o||e===s||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===x||e.$$typeof===b||e.$$typeof===y||e.$$typeof===g)},t.typeOf=w},84851:function(e,t,n){"use strict";e.exports=n(13126)},54909:function(e,t,n){"use strict";e.exports=n(69362)},63513:function(e,t,n){"use strict";e.exports=n(526)},2791:function(e,t,n){"use strict";e.exports=n(13350)},76357:function(e,t,n){"use strict";var i=n(2265),a=n(23442);function r(){let e=i.useContext(a.IntlContext);if(!e)throw Error(void 0);return e}t.useIntlContext=r,t.useLocale=function(){return r().locale}},526:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(76357);n(2265),n(23442),t.useLocale=i.useLocale},14907:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(29303),a=n(47781);n(2265),n(63981),n(1360),t.IntlError=i.IntlError,t.IntlErrorCode=i.IntlErrorCode,t.createFormatter=i.createFormatter,t._createFormatters=a.createFormatters,t.initializeConfig=a.initializeConfig,t.createTranslator=function(e){let{_formatters:t=a.createFormatters(),getMessageFallback:n=a.defaultGetMessageFallback,messages:r,namespace:s,onError:o=a.defaultOnError,...l}=e;return function(e,t){let{messages:n,namespace:a,...r}=e;return n=n["!"],a=i.resolveNamespace(a,"!"),i.createBaseTranslator({...r,messages:n,namespace:a})}({...l,onError:o,formatters:t,getMessageFallback:n,messages:{"!":r},namespace:s?"!.".concat(s):"!"},0)}},29303:function(e,t,n){"use strict";var i,a=n(2265),r=n(63981),s=n(47781),o=r&&r.__esModule?r:{default:r};function l(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:i+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let c=((i={}).MISSING_MESSAGE="MISSING_MESSAGE",i.MISSING_FORMAT="MISSING_FORMAT",i.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",i.INSUFFICIENT_PATH="INSUFFICIENT_PATH",i.INVALID_MESSAGE="INVALID_MESSAGE",i.INVALID_KEY="INVALID_KEY",i.FORMATTING_ERROR="FORMATTING_ERROR",i);class u extends Error{constructor(e,t){let n=e;t&&(n+=": "+t),super(n),l(this,"code",void 0),l(this,"originalMessage",void 0),this.code=e,t&&(this.originalMessage=t)}}function p(e,t){return e?Object.keys(e).reduce((n,i)=>(n[i]={timeZone:t,...e[i]},n),{}):e}function h(e,t,n,i){let a=s.joinPath(i,n);if(!t)throw Error(a);let r=t;return n.split(".").forEach(t=>{let n=r[t];if(null==t||null==n)throw Error(a+" (".concat(e,")"));r=n}),r}let d=365/12*86400,f={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:365/12*86400,months:365/12*86400,quarter:365/12*259200,quarters:365/12*259200,year:31536e3,years:31536e3};t.IntlError=u,t.IntlErrorCode=c,t.createBaseTranslator=function(e){let t=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.defaultOnError;try{if(!t)throw Error(void 0);let i=n?h(e,t,n):t;if(!i)throw Error(n);return i}catch(t){let e=new u(c.MISSING_MESSAGE,t.message);return i(e),e}}(e.locale,e.messages,e.namespace,e.onError);return function(e){let{defaultTranslationValues:t,formats:n,formatters:i,getMessageFallback:r=s.defaultGetMessageFallback,locale:l,messagesOrError:d,namespace:f,onError:m,timeZone:v}=e;function g(e,t,n){let i=new u(t,n);return m(i),r({error:i,key:e,namespace:f})}function x(e,s,m){let x,b;if(d instanceof u)return r({error:d,key:e,namespace:f});try{x=h(l,d,e,f)}catch(t){return g(e,c.MISSING_MESSAGE,t.message)}if("object"==typeof x){let t;return g(e,Array.isArray(x)?c.INVALID_MESSAGE:c.INSUFFICIENT_PATH,t)}let y=function(e,t){if(t)return;let n=e.replace(/'([{}])/gi,"$1");return/<|{/.test(n)?void 0:n}(x,s);if(y)return y;try{b=i.getMessageFormat(x,l,function(e,t){let n=t?{...e,dateTime:p(e.dateTime,t)}:e,i=o.default.formats.date,a=t?p(i,t):i,r=o.default.formats.time,s=t?p(r,t):r;return{...n,date:{...a,...null==n?void 0:n.dateTime},time:{...s,...null==n?void 0:n.dateTime}}}({...n,...m},v),{formatters:{...i,getDateTimeFormat:(e,t)=>i.getDateTimeFormat(e,{timeZone:v,...t})}})}catch(t){return g(e,c.INVALID_MESSAGE,t.message)}try{let e=b.format(function(e){if(0===Object.keys(e).length)return;let t={};return Object.keys(e).forEach(n=>{let i,r=0,s=e[n];i="function"==typeof s?e=>{let t=s(e);return a.isValidElement(t)?a.cloneElement(t,{key:n+r++}):t}:s,t[n]=i}),t}({...t,...s}));if(null==e)throw Error(void 0);return a.isValidElement(e)||Array.isArray(e)||"string"==typeof e?e:String(e)}catch(t){return g(e,c.FORMATTING_ERROR,t.message)}}function b(e,t,n){let i=x(e,t,n);return"string"!=typeof i?g(e,c.INVALID_MESSAGE,void 0):i}return b.rich=x,b.markup=(e,t,n)=>{let i=x(e,t,n);if("string"!=typeof i){let t=new u(c.FORMATTING_ERROR,void 0);return m(t),r({error:t,key:e,namespace:f})}return i},b.raw=e=>{if(d instanceof u)return r({error:d,key:e,namespace:f});try{return h(l,d,e,f)}catch(t){return g(e,c.MISSING_MESSAGE,t.message)}},b}({...e,messagesOrError:t})},t.createFormatter=function(e){let{_formatters:t=s.createFormatters(),formats:n,locale:i,now:a,onError:r=s.defaultOnError,timeZone:o}=e;function l(e){var t;return null!==(t=e)&&void 0!==t&&t.timeZone||(o?e={...e,timeZone:o}:r(new u(c.ENVIRONMENT_FALLBACK,void 0))),e}function p(e,t,n,i){let a;try{a=function(e,t){let n;if("string"==typeof t){if(!(n=null==e?void 0:e[t])){let e=new u(c.MISSING_FORMAT,void 0);throw r(e),e}}else n=t;return n}(t,e)}catch(e){return i()}try{return n(a)}catch(e){return r(new u(c.FORMATTING_ERROR,e.message)),i()}}function h(e,a){return p(a,null==n?void 0:n.dateTime,n=>(n=l(n),t.getDateTimeFormat(i,n).format(e)),()=>String(e))}function m(){return a||(r(new u(c.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:h,number:function(e,a){return p(a,null==n?void 0:n.number,n=>t.getNumberFormat(i,n).format(e),()=>String(e))},relativeTime:function(e,n){try{var a;let r,s;let o={};n instanceof Date||"number"==typeof n?r=new Date(n):n&&(r=null!=n.now?new Date(n.now):m(),s=n.unit,o.style=n.style,o.numberingSystem=n.numberingSystem),r||(r=m());let l=(new Date(e).getTime()-r.getTime())/1e3;s||(s=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<d?"week":t<31536e3?"month":"year"}(l)),o.numeric="second"===s?"auto":"always";let c=(a=s,Math.round(l/f[a]));return t.getRelativeTimeFormat(i,o).format(c,s)}catch(t){return r(new u(c.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,a){let r=[],s=new Map,o=0;for(let t of e){let e;"object"==typeof t?(e=String(o),s.set(e,t)):e=String(t),r.push(e),o++}return p(a,null==n?void 0:n.list,e=>{let n=t.getListFormat(i,e).formatToParts(r).map(e=>"literal"===e.type?e.value:s.get(e.value)||e.value);return s.size>0?n:n.join("")},()=>String(e))},dateTimeRange:function(e,a,r){return p(r,null==n?void 0:n.dateTime,n=>(n=l(n),t.getDateTimeFormat(i,n).formatRange(e,a)),()=>[h(e),h(a)].join(" – "))}}},t.resolveNamespace=function(e,t){return e===t?void 0:e.slice((t+".").length)}},13350:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(29303),a=n(14907),r=n(47781),s=n(69362),o=n(38780),l=n(76357);n(2265),n(63981),n(1360),n(23442),t.IntlError=i.IntlError,t.IntlErrorCode=i.IntlErrorCode,t.createFormatter=i.createFormatter,t.createTranslator=a.createTranslator,t._createFormatters=r.createFormatters,t.initializeConfig=r.initializeConfig,t.IntlProvider=s.IntlProvider,t.useFormatter=o.useFormatter,t.useMessages=o.useMessages,t.useNow=o.useNow,t.useTimeZone=o.useTimeZone,t.useTranslations=o.useTranslations,t.useLocale=l.useLocale},38780:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(69362),a=n(76357),r=n(2265),s=n(29303);n(47781),n(1360),n(63981),n(23442);let o=!1,l="undefined"==typeof window;t.IntlProvider=i.IntlProvider,t.useLocale=a.useLocale,t.useFormatter=function(){let{formats:e,formatters:t,locale:n,now:i,onError:o,timeZone:l}=a.useIntlContext();return r.useMemo(()=>s.createFormatter({formats:e,locale:n,now:i,onError:o,timeZone:l,_formatters:t}),[e,t,i,n,o,l])},t.useMessages=function(){let e=a.useIntlContext();if(!e.messages)throw Error(void 0);return e.messages},t.useNow=function(e){let t=null==e?void 0:e.updateInterval,{now:n}=a.useIntlContext(),[i,s]=r.useState(n||new Date);return r.useEffect(()=>{if(!t)return;let e=setInterval(()=>{s(new Date)},t);return()=>{clearInterval(e)}},[n,t]),null==t&&n?n:i},t.useTimeZone=function(){return a.useIntlContext().timeZone},t.useTranslations=function(e){return function(e,t,n){let{defaultTranslationValues:i,formats:c,formatters:u,getMessageFallback:p,locale:h,onError:d,timeZone:f}=a.useIntlContext();return e=e["!"],t=s.resolveNamespace(t,"!"),f||o||!l||(o=!0,d(new s.IntlError(s.IntlErrorCode.ENVIRONMENT_FALLBACK,void 0))),r.useMemo(()=>s.createBaseTranslator({formatters:u,getMessageFallback:p,messages:e,defaultTranslationValues:i,namespace:t,onError:d,formats:c,locale:h,timeZone:f}),[u,p,e,i,t,d,c,h,f])}({"!":a.useIntlContext().messages},e?"!.".concat(e):"!",0)}},24369:function(e,t,n){"use strict";var i=n(2265),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=i.useState,s=i.useEffect,o=i.useLayoutEffect,l=i.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),i=r({inst:{value:n,getSnapshot:t}}),a=i[0].inst,u=i[1];return o(function(){a.value=n,a.getSnapshot=t,c(a)&&u({inst:a})},[e,n,t]),s(function(){return c(a)&&u({inst:a}),e(function(){c(a)&&u({inst:a})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:u},82558:function(e,t,n){"use strict";e.exports=n(24369)},24894:function(e,t){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),a=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(a,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function o(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(s,o)}l((i=i.apply(e,t||[])).next())})},r=this&&this.__generator||function(e,t){var n,i,a,r,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return r={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(r){return function(o){return function(r){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(a=2&r[0]?i.return:r[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,r[1])).done)return a;switch(i=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(a=(a=s.trys).length>0&&a[a.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){s.label=r[1];break}if(6===r[0]&&s.label<a[1]){s.label=a[1],a=r;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(r);break}a[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,o])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.toFormikValidate=t.toFormikValidationSchema=t.ValidationError=void 0;var s=function(e){function t(t){var n=e.call(this,t)||this;return n.name="ValidationError",n.inner=[],n}return i(t,e),t}(Error);t.ValidationError=s,t.toFormikValidationSchema=function(e,t){return{validate:function(n){return a(this,void 0,void 0,function(){return r(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,e.parseAsync(n,t)];case 1:return i.sent(),[3,3];case 2:var a,r;throw(r=new s((a=i.sent()).message)).inner=a.errors.map(function(e){return{message:e.message,path:e.path.join(".")}}),r;case 3:return[2]}})})}}},t.toFormikValidate=function(e,t){var n=this;return function(i){return a(n,void 0,void 0,function(){var n;return r(this,function(a){switch(a.label){case 0:return[4,e.safeParseAsync(i,t)];case 1:if(!(n=a.sent()).success)return[2,function(e){for(var t={},n=0,i=e.errors;n<i.length;n++){var a=i[n];t[a.path.filter(Boolean).join(".")]=a.message}return t}(n.error)];return[2]}})})}}},83140:function(){},89361:function(){},47874:function(){},60625:function(){},40261:function(){},90882:function(){},31444:function(){},73923:function(){},11712:function(){},17046:function(){},50230:function(){},69061:function(){},83002:function(){},25546:function(){},62371:function(){},44364:function(){},85379:function(){},50336:function(){},88591:function(){},90542:function(){},17710:function(){},48917:function(){},64851:function(){},28526:function(){},79325:function(){},32905:function(){},17350:function(){},84074:function(){},44732:function(){},95987:function(){},94250:function(){},3054:function(){},38018:function(){},57390:function(){},87538:function(){},91823:function(){},57705:function(){},4026:function(){},9894:function(){},69433:function(){},59065:function(){},71007:function(e,t,n){"use strict";function i(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}n.d(t,{u:function(){return i}})},8696:function(e,t,n){"use strict";n.d(t,{M:function(){return r},t:function(){return a}});var i=n(2265);let a=i.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function r(){return i.useContext(a)}},98728:function(e,t,n){"use strict";n.d(t,{e:function(){return a},u:function(){return r}});var i=n(80553);function a(e,t,n,a){let r=!1,s=!1,o=a??i.Nu;return{reason:e,event:t??new Event("base-ui"),cancel(){r=!0},allowPropagation(){s=!0},get isCanceled(){return r},get isPropagationAllowed(){return s},trigger:n,...o}}function r(e,t,n){let a=n??i.Nu;return{reason:e,event:t??new Event("base-ui"),...a}}},57762:function(e,t,n){"use strict";n.d(t,{g:function(){return r}});var i=n(2265);let a=i.createContext(void 0);function r(){var e;let t=i.useContext(a);return null!==(e=null==t?void 0:t.direction)&&void 0!==e?e:"ltr"}},8493:function(e,t,n){"use strict";n.d(t,{Jx:function(){return a},Wd:function(){return i},Wl:function(){return r}});let i={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},a={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},r={valid:e=>null===e?null:e?{"data-valid":""}:{"data-invalid":""}}},63127:function(e,t,n){"use strict";n.d(t,{T5:function(){return c}});var i=n(61882),a=n(2265),r=n(80553),s=n(8493);let o={invalid:void 0,name:void 0,validityData:{state:s.Wd,errors:[],error:"",value:"",initialValue:null},setValidityData:r.dG,disabled:void 0,setTouched:r.dG,setDirty:r.dG,setFilled:r.dG,setFocused:r.dG,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:s.Jx,registerFieldControl:r.dG,validation:{getValidationProps:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Nu;return t},inputRef:{current:null},registeredInputs:new Map,registerInput:r.dG,getInputControl:()=>null,commit:async()=>{},change:r.dG}},l=a.createContext(o);function c(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=a.useContext(l);if(t.setValidityData===r.dG&&!e)throw Error((0,i.Z)(28));return t}},90646:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var i=n(2265),a=n(80553);let r=i.createContext({controlId:void 0,registerControlId:a.dG,labelId:void 0,setLabelId:a.dG,messageIds:[],setMessageIds:a.dG,getDescriptionProps:e=>e});function s(){return i.useContext(r)}},368:function(e,t,n){"use strict";n.d(t,{Tx:function(){return a},Y9:function(){return r},YP:function(){return i},dG:function(){return s},oh:function(){return o}});let i="none",a="track-press",r="input-change",s="keyboard",o="drag"},33854:function(e,t,n){"use strict";n.d(t,{AW:function(){return a},U9:function(){return s},r3:function(){return r}});var i=n(94046);function a(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function r(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&(0,i.Zq)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function s(e){return"composedPath"in e?e.composedPath()[0]:e.target}},52599:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var i=n(2265),a=n(13170);let r=0,s=a.w.useId;function o(e){return function(e,t){if(void 0!==s){let n=s();return null!=e?e:t?"".concat(t,"-").concat(n):n}return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mui",[n,a]=i.useState(e),s=e||n;return i.useEffect(()=>{null==n&&(r+=1,a("".concat(t,"-").concat(r)))},[n,t]),s}(e,t)}(e,"base-ui")}},59015:function(e,t,n){"use strict";n.d(t,{E:function(){return p}});var i=n(61882),a=n(2265),r=n(55736);let s=parseInt(a.version,10);function o(e){if(!a.isValidElement(e))return null;let t=e.props;return(s>=19?t?.ref:e.ref)??null}var l=n(72874),c=n(80553),u=n(21041);function p(e,t,n={}){let s=t.render,p=function(e,t={}){let{className:n,style:i,render:a}=e,{state:s=c.Nu,ref:p,props:h,stateAttributesMapping:d,enabled:f=!0}=t,m=f?"function"==typeof n?n(s):n:void 0,v=f?"function"==typeof i?i(s):i:void 0,g=f?function(e,t){let n={};for(let i in e){let a=e[i];if(t?.hasOwnProperty(i)){let e=t[i](a);null!=e&&Object.assign(n,e);continue}!0===a?n[`data-${i.toLowerCase()}`]="":a&&(n[`data-${i.toLowerCase()}`]=a.toString())}return n}(s,d):c.Nu,x=f&&h?Array.isArray(h)?(0,u.wu)(h):(0,u.dG)(void 0,h):void 0,b=f?(0,l.P)(g,x)??{}:c.Nu;return("undefined"!=typeof document&&(f?Array.isArray(p)?b.ref=(0,r.j)([b.ref,o(a),...p]):b.ref=(0,r.r)(b.ref,o(a),p):(0,r.r)(null,null)),f)?(void 0!==m&&(b.className=(0,u.Ez)(b.className,m)),void 0!==v&&(b.style=(0,l.P)(b.style,v)),b):c.Nu}(t,n);return!1===n.enabled?null:function(e,t,n,r){if(t){if("function"==typeof t)return t(n,r);let e=(0,u.dG)(n,t.props);e.ref=n.ref;let i=t;return i?.$$typeof===h&&(i=a.Children.toArray(t)[0]),a.cloneElement(i,e)}if(e&&"string"==typeof e)return"button"===e?(0,a.createElement)("button",{type:"button",...n,key:n.key}):"img"===e?(0,a.createElement)("img",{alt:"",...n,key:n.key}):a.createElement(e,n);throw Error((0,i.Z)(8))}(e,s,p,n.state??c.Nu)}let h=Symbol.for("react.lazy")},21041:function(e,t,n){"use strict";n.d(t,{Ez:function(){return f},dG:function(){return r},wu:function(){return s}});var i=n(72874);let a={};function r(e,t,n,i,a){if(!n&&!i&&!a&&!e)return o(t);let r=o(e);return t&&(r=l(r,t)),n&&(r=l(r,n)),i&&(r=l(r,i)),a&&(r=l(r,a)),r}function s(e){if(0===e.length)return a;if(1===e.length)return o(e[0]);let t=o(e[0]);for(let n=1;n<e.length;n+=1)t=l(t,e[n]);return t}function o(e){return u(e)?{...p(e,a)}:function(e){let t={...e};for(let e in t){let n=t[e];c(e,n)&&(t[e]=h(n))}return t}(e)}function l(e,t){return u(t)?p(t,e):function(e,t){if(!t)return e;for(let n in t){let a=t[n];switch(n){case"style":e[n]=(0,i.P)(e.style,a);break;case"className":e[n]=f(e.className,a);break;default:c(n,a)?e[n]=function(e,t){return t?e?(...n)=>{let i=n[0];if(m(i)){d(i);let a=t(...n);return i.baseUIHandlerPrevented||e?.(...n),a}let a=t(...n);return e?.(...n),a}:h(t):e}(e[n],a):e[n]=a}}return e}(e,t)}function c(e,t){let n=e.charCodeAt(0),i=e.charCodeAt(1),a=e.charCodeAt(2);return 111===n&&110===i&&a>=65&&a<=90&&("function"==typeof t||void 0===t)}function u(e){return"function"==typeof e}function p(e,t){return u(e)?e(t):e??a}function h(e){return e?(...t)=>{let n=t[0];return m(n)&&d(n),e(...t)}:e}function d(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function f(e,t){return t?e?t+" "+e:t:e}function m(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}},94322:function(e,t,n){"use strict";n.d(t,{z:function(){return j}});var i=n(2265),a=n(94046),r=n(39602),s=n(15508),o=n(80553);class l{request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}constructor(){this.callbacks=[],this.callbacksCount=0,this.nextId=1,this.startId=1,this.isScheduled=!1,this.tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1){var i;null===(i=t[n])||void 0===i||i.call(t,e)}}}}let c=new l;class u{static create(){return new u}static request(e){return c.request(e)}static cancel(e){return c.cancel(e)}request(e){this.cancel(),this.currentId=c.request(()=>{this.currentId=null,e()})}constructor(){this.currentId=null,this.cancel=()=>{null!==this.currentId&&(c.cancel(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.cancel}}var p=n(49031),h=n(27365);function d(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var f=n(33854),m=n(71007),v=n(98728),g=n(368),x=n(59015),b=n(57762),y=n(35826),w=n(12463),_=n(97626),k=n(86084),C=n(3453);function E(e,t,n,i,a,r,s,o){let l=e.slice(),c=r*s,u=l.length-1,p=o??e;l[t]=(0,m.u)(n,i+t*c,a-(u-t)*c);for(let e=t+1;e<=u;e+=1){let t=l[e-1]+c,n=a-(u-e)*c,i=p[e],r=Math.max(l[e],t);i<r&&(r=Math.max(i,t)),l[e]=(0,m.u)(r,t,n)}for(let e=t-1;e>=0;e-=1){let t=l[e+1]-c,n=i+e*c,a=p[e],r=Math.min(l[e],t);a>r&&(r=Math.min(a,t)),l[e]=(0,m.u)(r,n,t)}for(let e=0;e<=u;e+=1)l[e]=Number(l[e].toFixed(12));return l}let j=i.forwardRef(function(e,t){let{render:n,className:l,style:c,...j}=e,{disabled:M,dragging:S,inset:T,lastChangeReasonRef:A,max:O,min:N,minStepsBetweenValues:R,onValueCommitted:F,orientation:D,pressedThumbCenterOffsetRef:I,pressedThumbIndexRef:L,pressedValuesRef:P,registerFieldControlRef:z,renderBeforeHydration:Z,setActive:B,setDragging:$,setValue:V,state:U,step:q,thumbCollisionBehavior:W,thumbRefs:H,values:Y}=(0,y.J)(),G=(0,b.g)(),K=Y.length>1,Q="vertical"===D,X=i.useRef(null),J=i.useRef(null),ee=(0,p.R)(e=>{e&&null==J.current&&(J.current=(0,a.Jj)(e).getComputedStyle(e))}),et=i.useRef(null),en=i.useRef(0),ei=i.useRef(0),ea=i.useRef(null),er=function(e){let t=(0,s.B)(d,e).current;return t.next=e,(0,h.W)(t.effect),t}(Y);function es(e){return null==e?void 0:e.querySelector('input[type="range"]')}function eo(e){L.current=e,H.current[e]||(I.current=null)}function el(){L.current=-1,I.current=null}function ec(e){return!!(0,a.kK)(e)&&H.current.some(t=>{var n;return!!((0,a.kK)(t)&&(0,f.r3)(t,e))&&(null===(n=es(t))||void 0===n?void 0:n.disabled)===!0})}function eu(e){var t;let n=X.current,i=L.current;if(!n||i<0||i>=Y.length)return i>=Y.length&&(ea.current=null),null;let{width:a,height:r,bottom:s,left:o,right:l}=n.getBoundingClientRect(),c=function(e,t){if(!e)return{start:0,end:0};function n(e){let t=null!=e?parseFloat(e):0;return Number.isNaN(t)?0:t}let i=t?"Top":"InlineStart",a=t?"Bottom":"InlineEnd";return{start:n(e["border".concat(i,"Width")])+n(e["padding".concat(i)]),end:n(e["border".concat(a,"Width")])+n(e["padding".concat(a)])}}(J.current,Q),u=ei.current,p=(Q?r:a)-c.start-c.end-2*u,h=null!==(t=I.current)&&void 0!==t?t:0,d=e.x-h,f=e.y-h,v=Q?s-f-c.end:("rtl"===G?l-d:d-o)-c.start,g=(O-N)*(0,m.u)((v-u)/p,0,1)+N;return(g=(0,k.W)(g,q,N),g=(0,m.u)(g,N,O),K)?function(e,t,n,i,a,r,s,o,l,c){let u=n??t,p=i??t;if(!(u.length>1))return{value:r,thumbIndex:0,didSwap:!1};let h=l*c;if("push"===e)return{value:E(u,a,r,s,o,l,c),thumbIndex:a,didSwap:!1};let d=u.slice(),f=d[a-1],v=d[a+1],g=null!=f?f+h:s,x=null!=v?v-h:o,b=Number((0,m.u)(r,g,x).toFixed(12));if(d[a]=b,"swap"===e){let e=u[a],t=r>e,n=r<e,i=t&&null!=v&&r>=v-1e-7,g=n&&null!=f&&r<=f+1e-7;if(!i&&!g)return{value:d,thumbIndex:a,didSwap:!1};let x=i?a+1:a-1,y=d.map((e,t)=>{if(t===a)return b;let n=p[t];return null!=n?n:u[t]}),w=r;w=i?Math.max(r,d[x]):Math.min(r,d[x]);let _=E(d,x,w,s,o,l,c,y),k=i?x-1:x+1,C=_[k-1],j=_[k+1],M=null!=C?C+h:s;M=Math.max(M,s+k*h);let S=null!=j?j-h:o;S=Math.min(S,o-(_.length-1-k)*h);let T=(0,m.u)(b,M,S);return _[k]=Number(T.toFixed(12)),{value:_,thumbIndex:x,didSwap:!0}}return{value:d,thumbIndex:a,didSwap:!1}}(W,Y,er.current,P.current,i,g,N,O,q,R):{value:g,thumbIndex:i,didSwap:!1}}function ep(e){P.current=K?Y.slice():null,ea.current=null,er.current=Y;let t=L.current,n=t;if(t>-1&&t<Y.length){if(Y[t]===O){let e=t;for(;e>0&&Y[e-1]===O;)e-=1;n=e}}else{let t;let r=Q?"y":"x";n=-1;for(let s=0;s<H.current.length;s+=1){var i;let o=H.current[s];if((0,a.kK)(o)&&!(null===(i=es(o))||void 0===i?void 0:i.disabled)){let i=(0,_.G)(o,Q),a=Math.abs(e[r]-i);(void 0===t||a<=t)&&(n=s,t=a)}}}if(n>-1&&n!==t&&eo(n),T){let e=H.current[n];if((0,a.kK)(e)){let t=e.getBoundingClientRect(),n=Q?"height":"width";ei.current=t[n]/2}}}function eh(e){var t;let n=es(null===(t=H.current)||void 0===t?void 0:t[e]);n&&n.focus({preventScroll:!0,focusVisible:!1})}function ed(e,t,n){let i=V(e.value,(0,v.e)(t,n,void 0,{activeThumbIndex:e.thumbIndex}));return i&&(ea.current=e.value,er.current=Array.isArray(e.value)?e.value:[e.value],e.didSwap&&(eo(e.thumbIndex),eh(e.thumbIndex))),i}let ef=(0,p.R)(e=>{let t=function(e,t){if(null!=t.current&&e.changedTouches){for(let n=0;n<e.changedTouches.length;n+=1){let i=e.changedTouches[n];if(i.identifier===t.current)return{x:i.clientX,y:i.clientY}}return null}return{x:e.clientX,y:e.clientY}}(e,et);if(null==t)return;if(en.current+=1,"pointermove"===e.type&&0===e.buttons){em(e);return}let n=eu(t);null!=n&&(0,C.L)(n.value,q,R)&&(!S&&en.current>2&&$(!0),ed(n,g.oh,e))}),em=(0,p.R)(e=>{var t,n;B(-1),$(!1),I.current=null;let i=ea.current;if(Array.isArray(i)&&i.length!==Y.length&&(ea.current=null),null!=ea.current){let t=A.current;F(ea.current,(0,v.u)(t,e))}"pointerType"in e&&(null===(t=X.current)||void 0===t?void 0:t.hasPointerCapture(e.pointerId))&&(null===(n=X.current)||void 0===n||n.releasePointerCapture(e.pointerId)),L.current=-1,et.current=null,eg()}),ev=(0,p.R)(e=>{if(M)return;if(ec((0,f.U9)(e))){el();return}let t=e.changedTouches[0];if(null==t)return;et.current=t.identifier;let n={x:t.clientX,y:t.clientY};ep(n);let i=eu(n);if(null==i)return;eh(i.thumbIndex),ed(i,g.Tx,e),en.current=0;let a=(0,r.P)(X.current);a.addEventListener("touchmove",ef,{passive:!0}),a.addEventListener("touchend",em,{passive:!0})}),eg=(0,p.R)(()=>{let e=(0,r.P)(X.current);e.removeEventListener("pointermove",ef),e.removeEventListener("pointerup",em),e.removeEventListener("touchmove",ef),e.removeEventListener("touchend",em),P.current=null,ea.current=null}),ex=function(){var e;let t=(0,s.B)(u.create).current;return e=t.disposeEffect,i.useEffect(e,o.LZ),t}();return i.useEffect(()=>{var e,t;let n=X.current;if(!n)return()=>eg();let i=(e="touchstart",t={passive:!0},n.addEventListener(e,ev,t),()=>{n.removeEventListener(e,ev,t)});return()=>{i(),ex.cancel(),eg()}},[eg,ev,X,ex]),i.useEffect(()=>{M&&eg()},[M,eg]),(0,x.E)("div",e,{state:U,ref:[t,z,X,ee],props:[{"data-base-ui-slider-control":Z?"":void 0,onPointerDown(e){let t=X.current,n=(0,f.U9)(e.nativeEvent);if(!t||M||e.defaultPrevented||!(0,a.kK)(n)||0!==e.button)return;if(ec(n)){el();return}let i={x:e.clientX,y:e.clientY};ep(i);let s=eu(i);if(null==s)return;(0,f.r3)(H.current[s.thumbIndex],(0,f.AW)((0,r.P)(t)))?e.preventDefault():ex.request(()=>{eh(s.thumbIndex)}),$(!0),null!=I.current||ed(s,g.Tx,e.nativeEvent),e.nativeEvent.pointerId&&t.setPointerCapture(e.nativeEvent.pointerId),en.current=0;let o=(0,r.P)(t);o.addEventListener("pointermove",ef,{passive:!0}),o.addEventListener("pointerup",em,{once:!0})}},j],stateAttributesMapping:w.n})})},36482:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var i=n(2265),a=n(50432),r=n(5195),s=n(59015),o=n(35826),l=n(12463);let c=i.forwardRef(function(e,t){let{render:n,className:i,style:c,...u}=e,{indicatorPosition:p,inset:h,max:d,min:f,orientation:m,renderBeforeHydration:v,state:g,values:x}=(0,o.J)(),b=(0,r._)(),y=function(e,t,n,i,a,r){let s={visibility:r||n&&(void 0===i||t&&void 0===a)?"hidden":void 0,position:e?"absolute":"relative",[e?"width":"height"]:"inherit"},o="".concat(null!=i?i:0,"%"),l="".concat((null!=a?a:0)-(null!=i?i:0),"%");return n&&(s["--start-position"]=o,o="var(--start-position)",t&&(s["--relative-size"]=l,l="var(--relative-size)")),s[e?"bottom":"insetInlineStart"]=t?o:0,s[e?"height":"width"]=t?l:o,s}("vertical"===m,x.length>1,h,h?p[0]:(0,a.R)(x[0],f,d),h?p[1]:(0,a.R)(x[x.length-1],f,d),h&&v&&b);return(0,s.E)("div",e,{state:g,ref:t,props:[{"data-base-ui-slider-indicator":v?"":void 0,style:y,suppressHydrationWarning:v||void 0},u],stateAttributesMapping:l.n})})},4847:function(e,t,n){"use strict";n.d(t,{l:function(){return A}});var i=n(2265),a=n(39602),r=n(49031),s=n(27365),o=n(98728),l=n(52599),c=n(59015),u=n(71007);function p(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every((e,i)=>n(e,t[i]))}var h=n(33854),d=n(15508),f=n(8696),m=n(57437);function v(e){let{children:t,elementsRef:n,labelsRef:a,onMapChange:o}=e,l=(0,r.R)(o),[,c]=i.useState(!1),u=(0,d.B)(x).current,p=(0,d.B)(g).current,h=i.useRef(0),v=i.useRef(!0),y=i.useRef([]),w=i.useRef(null),_=(0,r.R)(()=>{v.current||(v.current=!0,c(e=>!e))}),k=(0,r.R)((e,t)=>{p.set(e,t),_()}),C=(0,r.R)(e=>{p.delete(e),_()}),E=(0,r.R)(e=>{let t=new Map;return n.current.length=0,a&&(a.current.length=0),e.forEach(e=>{var i,r,s,o;t.set(e.element,{...null!==(i=e.registration.metadata)&&void 0!==i?i:{},index:e.index}),n.current[e.index]=e.element,a&&(a.current[e.index]=void 0!==e.registration.label?e.registration.label:null!==(o=null===(s=e.registration.textRef)||void 0===s?void 0:null===(r=s.current)||void 0===r?void 0:r.textContent)&&void 0!==o?o:e.element.textContent)}),h.current=n.current.length,t}),j=(0,r.R)(()=>{let[e,t]=function(e){let t=new Set,n=[],i=[];e.forEach((e,a)=>{if(!a.isConnected)return;let r=e.index,s={index:null!=r?r:-1,element:a,registration:e};null===r?i.push(s):r>=0&&(t.add(r),n.push(s))});let a=0;return i.sort((e,t)=>b(e.element,t.element)),i.forEach(e=>{for(;t.has(a);)a+=1;e.index=a,n.push(e),a+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,i.map(e=>e.element)]}(p),n=E(e);!function(e){var t;if(null===(t=w.current)||void 0===t||t.disconnect(),w.current=null,"function"!=typeof MutationObserver||e.length<2)return;let n=new MutationObserver(t=>{if(!function(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}(t))return;let i=null;for(let t of e)if(t.isConnected){if(i&&b(i,t)>0){n.disconnect(),_();return}i=t}});w.current=n;let i=new Set;for(let t=1;t<e.length;t+=1){let n=function(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}(e[t-1],e[t]);n&&i.add(n)}i.forEach(e=>n.observe(e,{childList:!0}))}(t),y.current=e,v.current=!1,u.forEach(e=>e(n)),l(n)});(0,s.W)(()=>(v.current||E(y.current),()=>{n.current=[],a&&(a.current=[])}),[n,a,E]),(0,s.W)(()=>{v.current&&j()}),(0,s.W)(()=>()=>{var e;null===(e=w.current)||void 0===e||e.disconnect(),v.current=!0},[]);let M=(0,r.R)(e=>(u.add(e),()=>{u.delete(e)})),S=i.useMemo(()=>({register:k,unregister:C,subscribeMapChange:M,nextIndexRef:h}),[k,C,M,h]);return(0,m.jsx)(f.t.Provider,{value:S,children:t})}function g(){return new Map}function x(){return new Set}function b(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}var y=n(63127),w=n(80553);let _=i.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:w.dG,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});var k=n(90646),C=n(59111),E=n(65768),j=n(3453),M=n(12463),S=n(35826),T=n(368);let A=i.forwardRef(function(e,t){let{"aria-labelledby":n,className:f,defaultValue:g,disabled:x=!1,id:b,format:w,largeStep:A=10,locale:O,render:N,max:R=100,min:F=0,minStepsBetweenValues:D=0,form:I,name:L,onValueChange:P,onValueCommitted:z,orientation:Z="horizontal",step:B=1,thumbCollisionBehavior:$="push",thumbAlignment:V="center",value:U,style:q,...W}=e,H=(0,l.L)(b),Y=null==H?void 0:"".concat(H,"-label"),G=(0,r.R)(P),K=(0,r.R)(z),{clearErrors:Q}=i.useContext(_),{state:X,disabled:J,name:ee,setTouched:et,setDirty:en,validityData:ei,validation:ea}=(0,y.T5)(),{labelId:er}=(0,k.Q)(),[es,eo]=i.useState(),el=null!=n?n:null!=er?er:es,ec=J||x,eu=null!=ee?ee:L,[ep,eh]=function(e){let{controlled:t,default:n,name:a,state:r="value"}=e,{current:s}=i.useRef(void 0!==t),[o,l]=i.useState(n),c=i.useCallback(e=>{s||l(e)},[]);return[s?t:o,c]}({controlled:U,default:null!=g?g:F,name:"Slider"}),ed=i.useRef(null),ef=i.useRef(null),em=i.useRef([]),ev=i.useRef(null),eg=i.useRef(-1),ex=i.useRef(null),eb=i.useRef(T.YP),[ey,ew]=i.useState(-1),[e_,ek]=i.useState(-1),[eC,eE]=i.useState(!1),[ej,eM]=i.useState(()=>new Map),[eS,eT]=i.useState([void 0,void 0]),eA=(0,r.R)(e=>{ew(e),-1!==e&&ek(e)}),eO=(0,r.R)(e=>{e&&(ef.current=e)}),eN=Array.isArray(ep),eR=i.useMemo(()=>eN?ep.map(e=>(0,u.u)(e,F,R)).sort(C.d):[(0,u.u)(ep,F,R)],[R,F,eN,ep]),eF=eN?eR:eR[0];!function(e,t,n,i){let a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],r=arguments.length>5?arguments[5]:void 0,{registerFieldControl:o}=(0,y.T5)(),l=(0,d.B)(()=>Symbol());(0,s.W)(()=>{let s=l.current;if(!a){o(s,void 0);return}o(s,{controlRef:e,getValue:i,id:t,name:r,value:n})},[e,a,i,t,r,o,l,n]),(0,s.W)(()=>{let e=l.current;return()=>{o(e,void 0)}},[o,l])}(ea.inputRef,H,eF,void 0,!ec,L),function(e,t){let n=i.useRef(e),a=(0,r.R)(t);(0,s.W)(()=>{n.current!==e&&a(n.current),n.current=e},[e,a])}(eF,()=>{Q(eu),ea.change(eF);let e=ei.initialValue;en(Array.isArray(eF)&&Array.isArray(e)?!p(eF,e):eF!==e)});let eD=(0,r.R)((e,t)=>{var n,i;if(Number.isNaN(e)||(n=e)===(i=ep)||Array.isArray(n)&&Array.isArray(i)&&p(n,i))return!1;let a=t.event,r=new a.constructor(a.type,a);return Object.defineProperty(r,"target",{writable:!0,value:{value:e,name:eu}}),t.event=r,G(e,t),!t.isCanceled&&(eb.current=t.reason,eh(e),!0)}),eI=(0,r.R)((e,t,n)=>{let i=(0,E.m)(e,t,F,R,eN,eR);if((0,j.L)(i,B,D)){let e="key"in n?T.dG:T.Y9,a=eD(i,(0,o.e)(e,n.nativeEvent,void 0,{activeThumbIndex:t}));et(!0),a&&K(i,(0,o.u)(e,n.nativeEvent))}});(0,s.W)(()=>{if(!ec)return;let e=(0,h.AW)((0,a.P)(ed.current));(0,h.r3)(ed.current,e)&&e.blur(),-1!==ey&&eA(-1)},[ey,ec,eA]);let eL=i.useMemo(()=>({...X,activeThumbIndex:ey,disabled:ec,dragging:eC,orientation:Z,max:R,min:F,minStepsBetweenValues:D,step:B,values:eR}),[X,ey,ec,eC,R,F,D,Z,B,eR]),eP=i.useMemo(()=>({active:ey,controlRef:ef,disabled:ec,dragging:eC,validation:ea,format:w,handleInputChange:eI,indicatorPosition:eS,inset:"center"!==V,labelId:el,rootLabelId:Y,largeStep:A,lastUsedThumbIndex:e_,lastChangeReasonRef:eb,form:I,locale:O,max:R,min:F,minStepsBetweenValues:D,name:eu,onValueCommitted:K,orientation:Z,pressedThumbCenterOffsetRef:ev,pressedThumbIndexRef:eg,pressedValuesRef:ex,registerFieldControlRef:eO,renderBeforeHydration:"edge"===V,setActive:eA,setDragging:eE,setIndicatorPosition:eT,setLabelId:eo,setValue:eD,state:eL,step:B,thumbCollisionBehavior:$,thumbMap:ej,thumbRefs:em,values:eR}),[ey,el,Y,ec,eC,ea,w,eI,eS,A,e_,I,O,R,F,D,eu,K,Z,eO,eA,eD,eL,B,$,V,ej,eR]),ez=(0,c.E)("div",e,{state:eL,ref:[t,ed],props:[{"aria-labelledby":el,id:H,role:"group"},W,e=>ea.getValidationProps(ec,e)],stateAttributesMapping:M.n});return(0,m.jsx)(S.x.Provider,{value:eP,children:(0,m.jsx)(v,{elementsRef:em,onMapChange:eM,children:ez})})})},35826:function(e,t,n){"use strict";n.d(t,{J:function(){return s},x:function(){return r}});var i=n(61882),a=n(2265);let r=a.createContext(void 0);function s(){let e=a.useContext(r);if(void 0===e)throw Error((0,i.Z)(62));return e}},12463:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});var i=n(8493);let a=()=>null,r={activeThumbIndex:a,max:a,min:a,minStepsBetweenValues:a,step:a,values:a,...i.Wl}},85376:function(e,t,n){"use strict";n.d(t,{g:function(){return G}});var i,a=n(2265),r=n(49031),s=n(27365),o=n(55736);let l={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},c={...l,position:"fixed",top:0,left:0};({...l});var u=n(94046),p=n(71007);let h=new Map;function d(e,t,n){return null==e?"":(function(e,t){let n=JSON.stringify({locale:function e(t){return Array.isArray(t)?t.map(t=>e(t)).join(","):null==t?"":String(t)}(e),options:t}),i=h.get(n);if(i)return i;let a=new Intl.NumberFormat(e,t);return h.set(n,a),a})(t,n).format(e)}var f=n(21041),m=n(52599),v=n(5195),g=n(59015),x=n(50432);let b="ArrowUp",y="ArrowDown",w="ArrowLeft",_="ArrowRight",k="Home",C="PageUp",E="PageDown",j=new Set([b,y,w,_,k,"End"]);var M=n(8696),S=n(57762);let T=a.createContext(void 0),A={disableStyleElements:!1};var O=n(57437);function N(e){var t;let{script:n}=e,{nonce:i}=null!==(t=a.useContext(T))&&void 0!==t?t:A;return(0,v._)()?(0,O.jsx)("script",{nonce:i,dangerouslySetInnerHTML:{__html:n},suppressHydrationWarning:!0}):null}var R=n(63127),F=n(33854);let{userAgent:D,platform:I,maxTouchPoints:L}="undefined"==typeof navigator?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0},P=D.toLowerCase();I.toLowerCase();let z=/jsdom|happydom/.test(P);var Z=n(15508),B=n(80553),$=n(90646),V=n(97626),U=n(65768),q=n(86084),W=n(35826),H=n(12463);let Y=new Set([...j,C,E]),G=a.forwardRef(function(e,t){let n,l,h;let{render:T,children:A,className:D,"aria-describedby":I,"aria-label":L,"aria-labelledby":P,"aria-valuetext":G,disabled:K=!1,getAriaLabel:Q,getAriaValueText:X,id:J,index:ee,inputRef:et,onBlur:en,onFocus:ei,onKeyDown:ea,tabIndex:er,style:es,...eo}=e,el=(0,m.L)(J),{active:ec,lastUsedThumbIndex:eu,controlRef:ep,disabled:eh,validation:ed,format:ef,handleInputChange:em,inset:ev,labelId:eg,largeStep:ex,locale:eb,max:ey,min:ew,minStepsBetweenValues:e_,form:ek,name:eC,orientation:eE,pressedThumbCenterOffsetRef:ej,pressedThumbIndexRef:eM,renderBeforeHydration:eS,setActive:eT,setIndicatorPosition:eA,state:eO,step:eN,thumbRefs:eR,values:eF}=(0,W.J)(),eD=(0,S.g)(),eI=K||eh,eL=eF.length>1,eP="vertical"===eE,ez="rtl"===eD,{setTouched:eZ,setFocused:eB,validationMode:e$}=(0,R.T5)(),eV=a.useRef(null),eU=a.useRef(null),eq=a.useRef(!1),eW=(0,r.R)(e=>{eq.current||null==ei||ei(e)}),eH=(0,r.R)(e=>{eq.current||null==en||en(e)}),eY=(0,m.L)(),eG=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{id:t,implicit:n=!1,controlRef:i}=e,{controlId:o,registerControlId:l}=(0,$.Q)(),c=(0,m.L)(t),p=n?o:void 0,h=(0,Z.B)(()=>Symbol()),d=a.useRef(!1),f=a.useRef(null!=t),v=(0,r.R)(()=>{d.current&&l!==B.dG&&(d.current=!1,l(h.current,void 0))});return(0,s.W)(()=>{let e;if(l!==B.dG){if(n){let n=null==i?void 0:i.current;e=(0,u.kK)(n)&&null!=n.closest("label")?null!=t?t:null:null!=p?p:c}else if(null!=t)f.current=!0,e=t;else if(f.current)e=c;else{v();return}if(void 0===e){v();return}d.current=!0,l(h.current,e)}},[t,i,p,l,n,c,h,v]),a.useEffect(()=>v,[v]),null!=o?o:c}(),eK=eL?eY:eG,{ref:eQ,index:eX}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{guess:t,label:n,metadata:i,textRef:r,index:o}=e,{register:l,unregister:c,subscribeMapChange:u,nextIndexRef:p}=(0,M.M)(),h=a.useRef(-1),[d,f]=a.useState(null==o&&t?()=>{if(-1===h.current){let e=p.current;p.current+=1,h.current=e}return h.current}:-1),m=null!=o?o:d,v=a.useRef(null),g=a.useCallback(e=>{let t=v.current;t&&c(t),v.current=e,e&&l(e,{metadata:null!=i?i:null,index:null!=o?o:null,label:n,textRef:r})},[o,l,c,i,n,r]);return(0,s.W)(()=>{if(null==o)return u(e=>{var t;let n=v.current?null===(t=e.get(v.current))||void 0===t?void 0:t.index:null;null!=n&&f(n)})},[o,u]),{ref:g,index:m}}({metadata:a.useMemo(()=>({inputId:eK}),[eK])}),eJ=eL?null!=ee?ee:eX:0,e0=eJ===eF.length-1,e1=eF[eJ],e2=(0,x.R)(e1,ew,ey),[e3,e4]=a.useState(),e5=(0,v._)(),e7=eu>=0&&eu<eF.length?eu:-1,e6=(0,r.R)(()=>{let e=ep.current,t=eV.current;if(!e||!t)return;let n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),a=eP?"height":"width",r=i[a]-n[a],s=(n[a]/2+r*e2/100)/i[a]*100,o=Number.isFinite(s)?s:void 0;e4(o),0===eJ?eA(e=>[o,e[1]]):e0&&eA(e=>[e[0],o])});(0,s.W)(()=>{ev&&queueMicrotask(e6)},[e6,ev]),(0,s.W)(()=>{ev&&e6()},[e6,ev,e2]),(0,s.W)(()=>{if(!ev)return;let e=ep.current,t=eV.current;if(!e||!t)return;let n=(0,u.Jj)(e).ResizeObserver;if("function"!=typeof n)return;let i=new n(e6);return i.observe(e),i.observe(t),()=>{i.disconnect()}},[ep,e6,ev]);let e8=eP?"bottom":"insetInlineStart",e9=eP?"left":"top";eL?ec===eJ?n=2:e7===eJ&&(n=1):ec===eJ&&(n=1),l=ev||Number.isFinite(e2)?{position:"absolute",[e8]:ev?"var(--position)":"".concat(e2,"%"),[e9]:"50%",translate:"".concat((eP||!ez?-1:1)*50,"% ").concat((eP?1:-1)*50,"%"),zIndex:n,...ev&&{"--position":"".concat(null!=e3?e3:0,"%"),visibility:eS&&e5||void 0===e3?"hidden":void 0}}:c,eP&&(h=ez?"vertical-rl":"vertical-lr");let te="function"==typeof Q?Q(eJ):L,tt=(0,f.dG)({"aria-label":te,"aria-labelledby":null!=P?P:null==te?eg:void 0,"aria-describedby":I,"aria-orientation":eE,"aria-valuenow":e1,"aria-valuetext":"function"==typeof X?X(d(e1,eb,ef),e1,eJ):null!=G?G:eJ<0?void 0:2===eF.length?"".concat(d(eF[eJ],eb,ef)," ").concat(0===eJ?"start":"end"," range"):ef?d(eF[eJ],eb,ef):void 0,disabled:eI,form:ek,id:eK,max:ey,min:ew,name:eC,onChange(e){em(e.currentTarget.valueAsNumber,eJ,e)},onFocus(e){let t=eq.current;eq.current=!1,eT(eJ),eB(!0),t&&e.stopPropagation()},onBlur(e){if(eq.current){e.stopPropagation();return}eT(-1),eR.current.some(t=>(0,F.r3)(t,e.relatedTarget))||(eZ(!0),eB(!1),"onBlur"===e$&&ed.commit((0,U.m)(e1,eJ,ew,ey,eL,eF)))},onKeyDown(e){if(e.defaultPrevented||!Y.has(e.key))return;j.has(e.key)&&e.stopPropagation();let t=null,n=0,i=e.shiftKey?ex:eN,a=(0,q.W)(e1,eN,ew);switch(e.key){case b:n=1;break;case _:n=ez?-1:1;break;case y:n=-1;break;case w:n=ez?1:-1;break;case C:i=ex,n=1;break;case E:i=ex,n=-1;break;case"End":t=eL&&Number.isFinite(eF[eJ+1])?eF[eJ+1]-eN*e_:ey;break;case k:t=eL&&Number.isFinite(eF[eJ-1])?eF[eJ-1]+eN*e_:ew}if(0!==n&&(t=function(e,t,n,i,a){let r=Number((e+t*n).toFixed(Math.max((0,q.b)(e),(0,q.b)(t),(0,q.b)(i))));return(0,p.u)(r,i,a)}(a,i,n,ew,ey)),null!==t){let n=e.currentTarget;!function(e){if(!e||z)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}(n)&&(eq.current=!0,n.blur(),n.focus({preventScroll:!0,focusVisible:!0})),em(t,eJ,e),e.preventDefault()}},step:eN,style:{...c,width:"100%",height:"100%",writingMode:h},tabIndex:er,type:"range",value:null!=e1?e1:""},e=>ed.getValidationProps(eI,e),{onFocus:eW,onBlur:eH,onKeyDown:ea}),tn=(0,o.r)(eU,ed.inputRef,et);return(0,g.E)("div",e,{state:eO,ref:[t,eQ,eV],props:[{"data-index":eJ,children:(0,O.jsxs)(a.Fragment,{children:[A,(0,O.jsx)("input",{ref:tn,...tt,suppressHydrationWarning:!0}),ev&&e0&&eS&&(i||(i=(0,O.jsx)(N,{script:""})))]}),id:el,onPointerDown(e){if(eI)return;eM.current=eJ;let t=(0,V.G)(e.currentTarget,eP);ej.current=(eP?e.clientY:e.clientX)-t},style:l,suppressHydrationWarning:eS||void 0},eo],stateAttributesMapping:H.n})})},8928:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var i=n(2265),a=n(59015),r=n(35826),s=n(12463);let o=i.forwardRef(function(e,t){let{render:n,className:i,style:o,...l}=e,{state:c}=(0,r.J)();return(0,a.E)("div",e,{state:c,ref:t,props:[{style:{position:"relative"}},l],stateAttributesMapping:s.n})})},59111:function(e,t,n){"use strict";function i(e,t){return e-t}n.d(t,{d:function(){return i}})},97626:function(e,t,n){"use strict";function i(e,t){let n=e.getBoundingClientRect();return t?(n.top+n.bottom)/2:(n.left+n.right)/2}n.d(t,{G:function(){return i}})},65768:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var i=n(71007),a=n(59111);function r(e,t,n,r,s,o){let l=(0,i.u)(e,n,r);if(!s)return l;let c=o.slice();return c[t]=(0,i.u)(l,o[t-1]??-1/0,o[t+1]??1/0),c.sort(a.d)}},86084:function(e,t,n){"use strict";function i(e){if(0===e)return 0;if(1>Math.abs(e)){let t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}let t=e.toString().split(".")[1];return t?t.length:0}function a(e,t,n){return Number((Math.round((e-n)/t)*t+n).toFixed(Math.max(i(t),i(n))))}n.d(t,{W:function(){return a},b:function(){return i}})},3453:function(e,t,n){"use strict";function i(e,t,n){if(!Array.isArray(e))return!0;let i=t*n;for(let t=0;t<e.length-1;t+=1)if(!(Math.abs(e[t]-e[t+1])>=i))return!1;return!0}n.d(t,{L:function(){return i}})},5195:function(e,t,n){"use strict";n.d(t,{_:function(){return l}});var i=n(82558),a=n(80553);function r(){return a.dG}function s(){return!1}function o(){return!0}function l(){return(0,i.useSyncExternalStore)(r,s,o)}},50432:function(e,t,n){"use strict";function i(e,t,n){return(e-t)*100/(n-t)}n.d(t,{R:function(){return i}})},80553:function(e,t,n){"use strict";function i(){}n.d(t,{LZ:function(){return a},Nu:function(){return r},dG:function(){return i}});let a=Object.freeze([]),r=Object.freeze({})},61882:function(e,t,n){"use strict";var i;let a=(i="https://base-ui.com/production-error",function(e,...t){let n=new URL(i);return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${n} for the full message.`});t.Z=a},72874:function(e,t,n){"use strict";function i(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}n.d(t,{P:function(){return i}})},39602:function(e,t,n){"use strict";function i(e){return e?.ownerDocument||document}n.d(t,{P:function(){return i}})},13170:function(e,t,n){"use strict";n.d(t,{w:function(){return r}});var i,a=n(2265);let r={...i||(i=n.t(a,2))}},27365:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var i=n(2265);let a="undefined"!=typeof document?i.useLayoutEffect:()=>{}},55736:function(e,t,n){"use strict";n.d(t,{j:function(){return r},r:function(){return a}});var i=n(15508);function a(e,t,n,a){let r=(0,i.B)(s).current;return(r.refs[0]!==e||r.refs[1]!==t||r.refs[2]!==n||r.refs[3]!==a)&&o(r,[e,t,n,a]),r.callback}function r(e){let t=(0,i.B)(s).current;return(t.refs.length!==e.length||t.refs.some((t,n)=>t!==e[n]))&&o(t,e),t.callback}function s(){return{callback:null,cleanup:null,refs:[]}}function o(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){let i=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let a=t[e];if(null!=a)switch(typeof a){case"function":{let t=a(n);"function"==typeof t&&(i[e]=t);break}case"object":a.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(null!=n)switch(typeof n){case"function":{let t=i[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}},15508:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var i=n(2265);let a={};function r(e,t){let n=i.useRef(a);return n.current===a&&(n.current=e(t)),n}},49031:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var i=n(13170),a=n(15508);let r=i.w.useInsertionEffect,s=r&&r!==i.w.useLayoutEffect?r:e=>e();function o(e){let t=(0,a.B)(l).current;return t.next=e,s(t.effect),t.trampoline}function l(){let e={next:void 0,callback:c,trampoline:function(){for(var t,n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return null===(t=e.callback)||void 0===t?void 0:t.call(e,...i)},effect:()=>{e.callback=e.next}};return e}function c(){}},67356:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var i=n(32464);let a=async(e,t="common",n="v1")=>{try{let a=await fetch((0,i.xn)(e,`api/${n}/login-widget`,t));return a.ok?await a.json():(console.error(`Ошибка ${a.status} при загрузке конфига для ${t}`),{})}catch(e){return console.error(`Сетевая ошибка при загрузке конфига для ${t}`,e),{}}}},20034:function(e,t,n){"use strict";let i;n.d(t,{U:function(){return aG}});var a,r,s,o,l=n(57437),c=n(2265),u=n(98160),p=n(60885),h=n(33054),d=n(61896),f=n(64242),m=n(97859),v=n(18550),g=n(45823),x=n(90388);let b=(0,x.g)("tooltip"),y=Object.freeze({tooltip:b,text:"".concat(b,"__text"),wrapper:"".concat(b,"__wrapper"),inverted:"".concat(b,"--inverted")}),w="M8 10C6 12.58 3.43 16 0 16L16 16C12.58 16 10 12.58 8 10Z";n(59065);let _=e=>{let{children:t,moveToBody:n}=e;return n?(0,l.jsx)(d.ll,{id:"finkit-tooltips",children:t}):(0,l.jsx)(l.Fragment,{children:t})},k=(0,c.forwardRef)((e,t)=>{let{position:n="top",text:i,zIndex:a=1,inverted:r,withoutTail:s,children:o,boundingOffset:u=12,boundaryPadding:p,moveToBody:h=!1,hideWhenOutOfBounds:x=!1,style:b,className:k,dataQa:C,dataId:E,...j}=e,[M,S]=(0,c.useState)(!1),T=(0,c.useRef)(null),{refs:A,floatingStyles:O,context:N,middlewareData:R}=(0,d.YF)({open:M,onOpenChange:S,placement:n,whileElementsMounted:f.Me,middleware:[(0,m.cv)({mainAxis:u}),(0,m.RR)({fallbackAxisSideDirection:"start",crossAxis:!1,...void 0!==p&&{padding:p}}),(0,m.uY)({...void 0!==p&&{padding:p}}),(0,m.x7)({element:T,padding:8}),...x?[(0,m.Cp)({strategy:"escaped",padding:-24})]:[]]}),F=(0,d.XI)(N,{delay:300}),{getReferenceProps:D,getFloatingProps:I}=(0,d.NI)([F]),L=(0,d.Y_)(N,{duration:300});return(0,c.useImperativeHandle)(t,()=>({getActivatorElement:A.reference,getTooltipElement:A.floating})),(0,c.useEffect)(()=>{var e;(null==(e=R.hide)?void 0:e.escaped)&&S(!1)},[R.hide]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{"data-qa":(0,g.g)("".concat(C,"-activator"),!!C),ref:A.setReference,...D,className:y.wrapper,children:o}),L.isMounted&&(0,l.jsx)(_,{moveToBody:h,children:(0,l.jsxs)("div",{role:"tooltip",ref:A.setFloating,style:{...O,...L.styles,...b,zIndex:a},className:(0,v.Z)(y.tooltip,k,{[y.inverted]:r}),...I,...j,"data-qa":C,"data-id":E,children:[(0,l.jsx)("span",{className:(0,v.Z)(y.text,{[y.inverted]:r}),children:i}),!s&&(0,l.jsx)(d.Y$,{ref:T,context:N,width:16,d:w,fill:r?"var(--color-white)":"var(--color-black-500)"})]})})]})});k.displayName="Tooltip";var C=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,i,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(i=e(t[n]))&&(a&&(a+=" "),a+=i);else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(i&&(i+=" "),i+=t);return i},E=n(32464),j=n(77046),M=n(4569);let S=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),T=Object.freeze(Object.keys(S));function A(){return"undefined"==typeof window}Object.freeze(T.filter(e=>"xs"!==e)),Object.freeze(T.filter(e=>"3xl"!==e));let O=A()?c.useLayoutEffect:c.useEffect;function N(e,t=!1){return A()?t:window.matchMedia(e).matches}var R=n(73354),F=n(95512),D=n(26675),I=n(97339);n(83140);let L=(0,x.g)("accordion"),P=(0,x.g)("accordion-item"),z=Object.freeze({accordionItem:P,accordionItemInner:"".concat(P,"__inner"),body:"".concat(P,"__body"),header:"".concat(P,"__header"),content:"".concat(P,"__content"),contentInner:"".concat(P,"__content-inner"),controlIcon:"".concat(P,"__control-icon"),titleWrapper:"".concat(P,"__title-wrapper"),title:"".concat(P,"__title"),icon:"".concat(P,"__icon"),toggleIcon:"".concat(P,"__toggle-icon"),subTitle:"".concat(P,"__subtitle"),caption:"".concat(P,"__caption"),states:{disabled:"".concat(P,"--disabled"),active:"".concat(P,"--active"),focused:"".concat(P,"--focused"),withControl:"".concat(P,"--with-control"),withIcon:"".concat(P,"--with-icon")}}),Z=Object.freeze({accordion:L,withoutOutline:"".concat(L,"--without-outline"),variants:{primary:"".concat(L,"--primary"),secondary:"".concat(L,"--secondary")}});function B(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"m17.03 11.28-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06L12 14.19l3.97-3.97a.75.75 0 1 1 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}(0,c.forwardRef)((e,t)=>{let{multiple:n=!1,children:i,activeIndex:a,defaultActiveIndex:r=[],className:s,variant:o="primary",withoutOutline:u=!1,style:p,dataQa:h,dataId:d,onTabToggle:f,...m}=e,[g,x]=(0,c.useState)(r),b=(0,F.i)(a),y=b?a:g,w=(e,t)=>{if(b){let i=_(y,e,n);null==f||f(i,t)}else x(t=>_(t,e,n))},_=(e,t,n)=>n?e.includes(t)?e.filter(e=>e!==t):[...e,t]:e.includes(t)?[]:[t];return(0,l.jsx)("div",{ref:t,className:(0,v.Z)(s,Z.accordion,Z.variants[o],{[Z.withoutOutline]:u}),style:p,...m,"data-id":d,"data-qa":h,children:c.Children.map(i,e=>(0,c.isValidElement)(e)?(0,c.cloneElement)(e,{isActive:y.includes(e.props.id),onToggle:t=>{w(e.props.id,t)}}):e)})}).displayName="Accordion";let $=e=>{let t=Array.from(document.querySelectorAll("[data-accordion-index]"));if(0===t.length)return;let n=t.findIndex(e=>e===document.activeElement),i=n;switch(e){case"next":i=(n+1)%t.length;break;case"previous":i=(n-1+t.length)%t.length}let a=0;for(;a++<t.length;){let n=t[i];if("true"!==n.getAttribute("data-disabled")){n.focus();return}i=(i+("next"===e?1:-1)+t.length)%t.length}};function V(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M7.22 7.22a.743.743 0 0 1 1.06 0L12 10.94l3.72-3.72a.743.743 0 0 1 1.06 0 .742.742 0 0 1 0 1.06L13.061 12l3.72 3.72a.743.743 0 0 1 0 1.06.743.743 0 0 1-1.061 0L12 13.06l-3.72 3.72a.743.743 0 0 1-1.06 0 .743.743 0 0 1 0-1.06L10.94 12 7.22 8.28a.743.743 0 0 1 0-1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}(0,c.forwardRef)((e,t)=>{let{id:n,title:i,tagTitle:a="span",subTitle:r,disabled:s=!1,isActive:o=!1,icon:u,controlIcon:p,errorMessage:h,children:d,className:f,style:m,dataQa:g,dataId:x,onControlClick:b,onToggle:y,...w}=e,_=(0,c.useRef)(null),k=(0,c.useRef)(null),C=(0,c.useRef)(null);(0,c.useEffect)(()=>{let e=_.current,t=k.current;if(!e||!t)return;e.style.minHeight=o?t.scrollHeight+"px":"0",e.style.height=o?t.scrollHeight+"px":"0";let n=new ResizeObserver(()=>{o&&(e.style.minHeight=t.scrollHeight+"px",e.style.height=t.scrollHeight+"px")});return n.observe(t),()=>n.disconnect()},[o]);let E=!p&&!!u;return(0,l.jsxs)("div",{ref:t,className:(0,v.Z)(f,z.accordionItem),style:m,...w,"data-id":x,"data-qa":g,children:[(0,l.jsx)("div",{className:(0,v.Z)(z.accordionItemInner),children:(0,l.jsxs)("div",{className:(0,v.Z)(z.body,[{[z.states.disabled]:s}]),children:[(0,l.jsxs)("button",{type:"button","aria-expanded":o,"aria-disabled":s,"data-disabled":s,"data-accordion-index":n,className:(0,v.Z)(z.header,[{[z.states.active]:o}]),tabIndex:s?-1:0,onClick:s?void 0:y,ref:C,disabled:s,onKeyDown:e=>{if(!s)switch(e.key){case"Enter":case" ":e.preventDefault(),null==y||y(e);break;case"ArrowDown":e.preventDefault(),$("next");break;case"ArrowUp":e.preventDefault(),$("previous")}},children:[(0,l.jsxs)("div",{className:(0,v.Z)(z.titleWrapper),children:[E&&(0,l.jsx)("span",{className:z.icon,children:u}),(0,l.jsx)(a,{className:(0,v.Z)(z.title,{[z.states.withControl]:p}),children:i}),(0,l.jsx)(I.P,{className:(0,v.Z)(z.toggleIcon,[{[z.states.active]:o},{[z.states.withControl]:p}]),children:(0,l.jsx)(B,{})}),p&&(0,l.jsx)(I.P,{className:z.controlIcon,onClick:e=>{var t;p&&e.stopPropagation(),null==(t=C.current)||t.blur(),null==b||b(e)},children:p})]}),r&&(0,l.jsx)("span",{className:(0,v.Z)(z.subTitle,[{[z.states.withIcon]:E}]),children:r})]}),(0,l.jsx)("div",{className:(0,v.Z)(z.content),style:{overflow:"hidden"},"aria-hidden":!o,ref:_,children:(0,l.jsx)("div",{className:z.contentInner,ref:k,children:d})})]})}),h&&(0,l.jsx)(D.C,{withoutIcon:!0,state:"error",text:h})]})}).displayName="AccordionItem",n(5795),n(29832);var U=n(54428);function q(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M10.25 5.75c0 .414.336.75.75.75h5.44L5.22 17.72a.75.75 0 1 0 1.06 1.06L17.5 7.56V13a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-.75-.75H11a.75.75 0 0 0-.75.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(20746),n(95925),n(96777),n(52475),n(79325);let W=(0,x.g)("link"),H=Object.freeze({link:W,states:{inverted:"".concat(W,"--inverted"),disabled:"".concat(W,"--disabled")},content:"".concat(W,"__content"),icon:"".concat(W,"__icon"),size:{s:"".concat(W,"--s"),m:"".concat(W,"--m")}});function Y(e){let{as:t,size:n="m",withIcon:i=!1,children:a,disabled:r,text:s,inverted:o,onClick:c,className:u,style:p,dataQa:h,dataId:d,...f}=e,m=(0,v.Z)(H.link,{[H.states.inverted]:o,[H.states.disabled]:r},H.size[n],u),g=s||a;return(0,l.jsx)(t||"a",{className:m,disabled:r,style:p,onClick:c,"aria-disabled":r,tabIndex:r?-1:0,...f,"data-id":d,"data-qa":h,children:i?(0,l.jsxs)("span",{className:H.content,children:[g,(0,l.jsx)(I.P,{className:H.icon,children:(0,l.jsx)(q,{})})]}):g})}function G(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"a"},c.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),c.createElement("g",{clipPath:"url(#a)"},c.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-2.72L13.06 12l2.72 2.72a.743.743 0 0 1 0 1.06.742.742 0 0 1-1.06 0L12 13.06l-2.72 2.72a.743.743 0 0 1-1.06 0 .743.743 0 0 1 0-1.06L10.94 12 8.22 9.28a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L12 10.94l2.72-2.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function K(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10a9.971 9.971 0 0 0 7.071-2.929A9.97 9.97 0 0 0 22 12c0-5.523-4.477-10-10-10ZM3.5 12a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0ZM12 7.5a1 1 0 1 0 .002 2 1 1 0 0 0-.003-2Zm-1.5 4.25a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 .75.75v4.5a.75.75 0 1 1-1.5 0V12.5h-.25a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}Y.displayName="Link",n(89361);let Q=(0,x.g)("alert"),X=Object.freeze({alert:Q,closeIcon:"".concat(Q,"__close-icon"),icon:"".concat(Q,"__icon"),label:"".concat(Q,"__label"),content:"".concat(Q,"__content"),textBlock:"".concat(Q,"__text-block"),caption:"".concat(Q,"__caption"),link:"".concat(Q,"__link"),button:"".concat(Q,"__button"),state:{default:"".concat(Q,"--default"),success:"".concat(Q,"--success"),warning:"".concat(Q,"--warning"),error:"".concat(Q,"--error"),info:"".concat(Q,"--info")},size:{s:"".concat(Q,"--s"),m:"".concat(Q,"--m")},variant:{primary:"".concat(Q,"--primary"),secondary:"".concat(Q,"--secondary"),green:"".concat(Q,"--green"),verdant:"".concat(Q,"--verdant"),avocado:"".concat(Q,"--avocado"),yellow:"".concat(Q,"--yellow"),orange:"".concat(Q,"--orange"),blue:"".concat(Q,"--blue"),purple:"".concat(Q,"--purple")},fill:"".concat(Q,"--fill")}),J=(0,c.forwardRef)((e,t)=>{let{label:n,state:i="default",variant:a="primary",size:r="m",outline:s=!0,caption:o,linkText:c,linkHref:u,onLinkClick:p,withLinkIcon:h=!1,icon:d,withIcon:f=!1,withClose:m=!1,buttonText:x,buttonVariant:b="primary",className:y,style:w,onClose:_,onButtonClick:k,dataQa:C,dataId:E,...j}=e,S={default:(0,l.jsx)(K,{}),success:(0,l.jsx)(D.a,{}),warning:(0,l.jsx)(D.S,{}),error:(0,l.jsx)(G,{}),info:(0,l.jsx)(K,{})};return(0,l.jsxs)("div",{ref:t,className:(0,v.Z)(X.alert,X.variant[a],X.size[r],{[X.state[i]]:s},y),style:w,...j,"data-id":E,"data-qa":C,children:[(0,l.jsxs)("div",{className:X.content,children:[f&&(0,l.jsx)(I.P,{className:(0,v.Z)(X.icon,{[X.state[i]]:!d}),children:d||S[i]}),(0,l.jsxs)("div",{className:X.textBlock,children:[n&&(0,l.jsx)("span",{"data-qa":(0,g.g)("".concat(C,"-label"),!!C),className:X.label,children:n}),o&&(0,l.jsx)(D.C,{dataQa:(0,g.g)("".concat(C,"-caption"),!!C),text:o,lineClamp:3,size:r,className:X.caption}),c&&(0,l.jsx)(Y,{dataQa:(0,g.g)("".concat(C,"-link"),!!C),href:u,className:X.link,onClick:p,withIcon:h,children:c})]}),m&&(0,l.jsx)("button",{"data-qa":(0,g.g)("".concat(C,"-close"),!!C),type:"button",className:X.closeIcon,onClick:_,children:(0,l.jsx)(I.P,{children:(0,l.jsx)(V,{})})})]}),x&&(0,l.jsx)(M.B,{dataQa:(0,g.g)("".concat(C,"-button"),!!C),label:x,variant:b,size:"xs",className:X.button,onClick:k})]})});J.displayName="Alert";var ee=n(16372),et=n(3385);n(47874);let en=(0,x.g)("breadcrumbs"),ei={breadcrumbs:en,breadcrumbsEllipsis:"".concat(en,"--ellipsis"),displayOne:"".concat(en,"--display-one"),list:"".concat(en,"__list"),mobileList:"".concat(en,"__list--mobile"),desktopList:"".concat(en,"__list--desktop"),item:"".concat(en,"__item"),customItem:"".concat(en,"__item--custom"),link:"".concat(en,"__link"),linkLabel:"".concat(en,"__link-label"),text:"".concat(en,"__text"),separator:"".concat(en,"__separator"),backIcon:"".concat(en,"__back-icon"),iconMobile:"".concat(en,"__icon--mobile"),iconDesktop:"".concat(en,"__icon--desktop")},ea=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return n||i?{label:n||"Назад",href:"object"!=typeof i?i||"#":void 0,customLink:"object"==typeof i?i:void 0}:t.length&&t.length>1?(null==(e=t[t.length-1])?void 0:e.href)?t[t.length-1]:t[t.length-2]:{label:t[0].label||"Назад",href:t[0].href||"#",customLink:t[0].customLink}};function er(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M8.22 12.53a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 1 1 1.06 1.06L9.81 12l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function es(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"m11.28 17.03 4.5-4.5a.75.75 0 0 0 0-1.06l-4.5-4.5a.75.75 0 1 0-1.06 1.06L14.19 12l-3.97 3.97a.75.75 0 1 0 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let eo=e=>{let{item:t,isBackward:n=!1,isLast:i,dataQa:a,onClick:r}=e;return(0,l.jsx)(l.Fragment,{children:t.href||t.customLink?(0,l.jsxs)(l.Fragment,{children:[t.customLink?(0,l.jsx)(l.Fragment,{children:t.customLink}):(0,l.jsxs)("a",{href:t.href,"data-qa":a,className:ei.link,title:t.label,onClick:r?e=>r(e,t.href):void 0,children:[n&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(I.P,{className:(0,v.Z)(ei.backIcon,ei.iconDesktop),children:(0,l.jsx)(ee.S,{})}),(0,l.jsx)(I.P,{className:(0,v.Z)(ei.backIcon,ei.iconMobile),children:(0,l.jsx)(er,{})})]}),(0,l.jsx)("span",{className:ei.linkLabel,children:t.label})]}),!n&&!i&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(I.P,{className:(0,v.Z)(ei.separator,ei.iconDesktop),children:(0,l.jsx)(et.S,{})}),(0,l.jsx)(I.P,{className:(0,v.Z)(ei.separator,ei.iconMobile),children:(0,l.jsx)(es,{})})]})]}):(0,l.jsx)("span",{"aria-current":"page","data-qa":a,className:ei.text,title:t.label,children:t.label})})};eo.displayName="BreadcrumbsLink";let el=e=>{let{items:t=[],dataQa:n,backwardHref:i,backwardLabel:a,onClick:r}=e,s=(0,c.useRef)(null),o=(0,c.useCallback)(e=>{var t;let n=s.current;if(!n)return;let i=(null==e?void 0:e.target).closest("a");if(!i)return;let a=n.getBoundingClientRect(),r=i.getBoundingClientRect();n.scrollTo({left:r.left-a.left-8+(null!==(t=n.scrollLeft)&&void 0!==t?t:0),behavior:"smooth"})},[]),u=ea(t,a,i),p=(e,t)=>{o(e),null==r||r(e,t)};return(0,l.jsx)("ul",{ref:s,className:(0,v.Z)(ei.list,ei.desktopList),"data-qa":(0,g.g)("".concat(n,"-desktop-list"),!!n),children:1===t.length||i||a?(0,l.jsx)("li",{className:(0,v.Z)(ei.item),children:(0,l.jsx)(eo,{isBackward:!0,dataQa:(0,g.g)("".concat(n,"-link"),!!n),item:u,onClick:p})}):(0,l.jsx)(l.Fragment,{children:t.map((e,i)=>(0,l.jsx)("li",{className:(0,v.Z)(ei.item,{[ei.customItem]:e.customLink}),children:(0,l.jsx)(eo,{item:e,dataQa:(0,g.g)("".concat(n,"-link-").concat(++i),!!n),isLast:i===t.length,onClick:p})},"".concat(e.label,"--").concat(i)))})})};el.displayName="DesktopBreadcrumbs";let ec=e=>{let{items:t=[],backwardLabel:n,backwardHref:i,dataQa:a,onClick:r}=e,s=ea(t,n,i);return(0,l.jsx)("ul",{className:(0,v.Z)(ei.list,ei.mobileList),"data-qa":(0,g.g)("".concat(a,"-mobile-list"),!!a),children:(0,l.jsx)("li",{className:(0,v.Z)(ei.item),children:(0,l.jsx)(eo,{isBackward:!0,dataQa:(0,g.g)("".concat(a,"-link"),!!a),item:s,onClick:r})})})};ec.displayName="MobileBreadcrumbs",(0,c.forwardRef)((e,t)=>{let{items:n=[],isMobile:i,onClick:a,backwardLabel:r,backwardHref:s,style:o,className:c,ellipsis:u=!1,isFullView:p=!1,dataQa:h,dataId:d,...f}=e,m=n.length||r||s;return(0,l.jsx)(l.Fragment,{children:m&&(0,l.jsxs)("nav",{ref:t,"aria-label":"breadcrumbs",className:(0,v.Z)(ei.breadcrumbs,{[ei.displayOne]:void 0===i&&!p,[ei.breadcrumbsEllipsis]:u},c),style:o,...f,"data-id":d,"data-qa":h,children:[!0!==i&&(0,l.jsx)(el,{items:n,dataQa:h,backwardLabel:r,backwardHref:s,onClick:a||void 0}),!1!==i&&!p&&(0,l.jsx)(ec,{items:n,dataQa:h,backwardLabel:r,backwardHref:s,onClick:a||void 0})]})})}).displayName="Breadcrumbs";var eu=n(9645);n(40261);let ep=(0,x.g)("calendar"),eh=Object.freeze({calendar:ep,header:"".concat(ep,"__header"),headerText:"".concat(ep,"__header-text"),headerButton:"".concat(ep,"__header-button"),headerButtonPrev:"".concat(ep,"__header-button--prev"),headerButtonNext:"".concat(ep,"__header-button--next"),headerButtonDisabled:"".concat(ep,"__header-button--disabled"),weekDays:"".concat(ep,"__week-days"),weekDay:"".concat(ep,"__week-day"),weekDayOff:"".concat(ep,"__week-day--off"),content:"".concat(ep,"__content"),days:"".concat(ep,"__days"),day:"".concat(ep,"__day"),currentDay:"".concat(ep,"__day--current"),otherDay:"".concat(ep,"__day--other"),selectedDay:"".concat(ep,"__day--selected"),previewDay:"".concat(ep,"__day--preview"),rangeDay:"".concat(ep,"__day--range"),startRangeDay:"".concat(ep,"__day--start-range"),endRangeDay:"".concat(ep,"__day--end-range"),disabledDay:"".concat(ep,"__day--disabled"),emptyDay:"".concat(ep,"__day--empty"),events:"".concat(ep,"__day-events"),event:"".concat(ep,"__day-event"),months:"".concat(ep,"__months"),month:"".concat(ep,"__month"),disabledMonth:"".concat(ep,"__month--disabled"),currentMonth:"".concat(ep,"__month--current"),selectedMonth:"".concat(ep,"__month--selected"),years:"".concat(ep,"__years"),year:"".concat(ep,"__year"),disabledYear:"".concat(ep,"__year--disabled"),currentYear:"".concat(ep,"__year--current"),selectedYear:"".concat(ep,"__year--selected")}),ed=Object.freeze({days:"days",months:"months",years:"years"}),ef=["пн","вт","ср","чт","пт","сб","вс"],em=["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"],ev=e=>{if(e instanceof Date&&!isNaN(e.getTime()))return new Date(e.getFullYear(),e.getMonth(),1);if(Array.isArray(e)&&e.length>0){let t=new Date(e[0]);if(!isNaN(t.getTime()))return new Date(t.getFullYear(),t.getMonth(),1)}return new Date},eg=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),ex=e=>{let t=String(e.getDate()).padStart(2,"0"),n=String(e.getMonth()+1).padStart(2,"0"),i=e.getFullYear();return"".concat(t,".").concat(n,".").concat(i)},eb=e=>{let t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(i)},ey=(e,t)=>{if(0===e.length)return"";if(t){if(1===e.length)return ex(e[0]);let t=[...e].sort((e,t)=>e.getTime()-t.getTime());return"".concat(ex(t[0])," - ").concat(ex(t[1]))}return e.length>0?ex(e[0]):""},ew=(e,t,n)=>{if(t.length<2)return!1;let i=n(e),a=n(t[0]),r=n(t[1]);return i>=a&&i<=r},e_=(e,t,n,i)=>{if(1!==t.length||!n)return!1;let a=i(e),r=i(t[0]),s=i(n);return a>=(r<s?r:s)&&a<=(r<s?s:r)},ek=e=>{let{events:t=[]}=e,n=t.slice(0,6);return(0,l.jsx)("span",{className:eh.events,children:n.map(e=>(0,l.jsx)("span",{className:(0,v.Z)(eh.event,"".concat(eh.event,"--").concat(e))},"calendar--".concat(e)))})},eC=()=>(0,l.jsx)("div",{className:eh.weekDays,children:ef.map((e,t)=>(0,l.jsx)(h.T,{className:(0,v.Z)(eh.weekDay,{[eh.weekDayOff]:5===t||6===t}),size:"14",children:e},"week-day--".concat(e)))}),eE=e=>{let{currentDate:t,today:n,selectedDates:i,hoveredDate:a,minAllowedDate:r,maxAllowedDate:s,multiple:o,showCurrentDay:c,showOutsideDays:u,events:p,onDateSelect:h,onDateHover:d}=e,f=t.getFullYear(),m=t.getMonth(),g=new Date(f,m,1),x=new Date(f,m+1,0),b=g.getDay();b=0===b?6:--b;let y=x.getDate(),w=[];if(u){let e=new Date(f,m,0).getDate();for(let t=0;t<b;t++)w.push(new Date(f,m-1,e-t));w.reverse()}else for(let e=0;e<b;e++)w.push(null);let _=Array.from({length:y},(e,t)=>new Date(f,m,t+1));w.push(..._);let k=42-w.length;if(u)for(let e=1;e<=k;e++)w.push(new Date(f,m+1,e));else for(let e=0;e<k;e++)w.push(null);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eC,{}),(0,l.jsx)("div",{className:(0,v.Z)(eh.days,[]),children:w.map(e=>{if(!e)return(0,l.jsx)("div",{className:eh.emptyDay},"calendar-empty-".concat((0,eu.g)()));let t=eg(e),g=eg(r),x=eg(s),b=u&&(e.getMonth()!==m||e.getFullYear()!==f),y=t<g||t>x,w=i.some(e=>eg(e).getTime()===t.getTime()),_=o&&ew(e,i,eg),k=o&&e_(e,i,a,eg),C=c&&t.getTime()===eg(n).getTime(),E=o&&i.length>=1&&eg(i[0]).getTime()===t.getTime(),j=o&&2===i.length&&eg(i[1]).getTime()===t.getTime(),M=eb(e);return(0,l.jsxs)("button",{type:"button",disabled:y,className:(0,v.Z)(eh.day,{[eh.otherDay]:b,[eh.selectedDay]:w,[eh.currentDay]:C,[eh.rangeDay]:_,[eh.previewDay]:k,[eh.startRangeDay]:E,[eh.endRangeDay]:j,[eh.disabledDay]:y}),onClick:()=>!y&&h(e),onMouseEnter:()=>!y&&d(e),onMouseLeave:()=>d(null),children:[e.getDate(),p[M]&&(0,l.jsx)(ek,{events:p[M]})]},"calendar--day--".concat(e.getTime()))})})]})},ej=e=>{let{view:t,currentDate:n,canNavigatePrev:i,canNavigateNext:a,onNavigate:r,onViewChange:s}=e;return(0,l.jsxs)("div",{className:eh.header,children:[(0,l.jsx)("button",{className:(0,v.Z)(eh.headerButton,eh.headerButtonPrev,{[eh.headerButtonDisabled]:!i}),type:"button",disabled:!i,onClick:()=>r("prev"),children:(0,l.jsx)(I.P,{style:{fontSize:24},children:(0,l.jsx)(ee.S,{})})}),(0,l.jsx)("button",{type:"button",className:(0,v.Z)(eh.headerButton,eh.headerText),onClick:s,children:(()=>{switch(t){case ed.days:return n.toLocaleDateString("ru-RU",{month:"long",year:"numeric"});case ed.months:return n.getFullYear().toString();case ed.years:return"".concat(n.getFullYear()-14," - ").concat(n.getFullYear()+5);default:return""}})()}),(0,l.jsx)("button",{className:(0,v.Z)(eh.headerButton,eh.headerButtonNext,{[eh.headerButtonDisabled]:!a}),type:"button",disabled:!a,onClick:()=>r("next"),children:(0,l.jsx)(I.P,{style:{fontSize:24},children:(0,l.jsx)(et.S,{})})})]})},eM=e=>{let{today:t,currentDate:n,selectedDates:i,minAllowedDate:a,maxAllowedDate:r,showCurrentMonth:s,onMonthSelect:o}=e,c=Array.from({length:12},(e,t)=>new Date(n.getFullYear(),t,1)),u=a.getFullYear(),p=r.getFullYear();return(0,l.jsx)("div",{className:eh.months,children:c.map((e,n)=>{let c=eg(a),h=eg(r),d=new Date(e.getFullYear(),e.getMonth(),1),f=new Date(e.getFullYear(),e.getMonth()+1,0)<c||d>h||e.getFullYear()<u||e.getFullYear()>p,m=s&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),g=i.some(t=>t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear());return(0,l.jsx)("button",{type:"button",disabled:f,className:(0,v.Z)(eh.month,{[eh.currentMonth]:m,[eh.selectedMonth]:g,[eh.disabledMonth]:f}),onClick:()=>{f||o(e)},children:em[n]},"calendar--month--".concat(e.getTime()))})})},eS=e=>{let{currentDate:t,today:n,selectedDates:i,minAllowedDate:a,maxAllowedDate:r,showCurrentYear:s,onYearSelect:o}=e,c=t.getFullYear()-14,u=Array.from({length:20},(e,t)=>c+t),p=a.getFullYear(),h=r.getFullYear(),d=i.map(e=>e.getFullYear());return(0,l.jsx)("div",{className:eh.years,children:u.map(e=>{let t=new Date(e,0,1),i=new Date(e,11,31),c=eg(a),u=eg(r),f=i<c||t>u||e<p||e>h,m=s&&e===n.getFullYear(),g=d.includes(e);return(0,l.jsx)("button",{type:"button",disabled:f,className:(0,v.Z)(eh.year,{[eh.currentYear]:m,[eh.selectedYear]:g,[eh.disabledYear]:f}),onClick:()=>{f||o(e)},children:e},"calendar--".concat(e))})})};(0,c.forwardRef)((e,t)=>{let{value:n=null,minAllowedDate:i,maxAllowedDate:a,multiple:r=!1,showCurrentDay:s=!0,showCurrentMonth:o=!0,showCurrentYear:u=!0,showOutsideDays:p=!1,events:h={},className:d,style:f,dataId:m,dataQa:g,onChange:x,...b}=e,[y]=(0,c.useState)(()=>{let e=new Date;return new Date(e.getFullYear(),e.getMonth(),e.getDate())}),[w,_]=(0,c.useState)("days"),[k,C]=(0,c.useState)(()=>ev(n)),[E,j]=(0,c.useState)([]),[M,S]=(0,c.useState)(null),T=(0,c.useMemo)(()=>eg(i instanceof Date&&!isNaN(i.getTime())?i:new Date(1900,0,1)),[i]),A=(0,c.useMemo)(()=>eg(a instanceof Date&&!isNaN(a.getTime())?a:new Date(new Date().setFullYear(new Date().getFullYear()+100))),[a]),O=(0,c.useRef)(!1);(0,c.useEffect)(()=>{if(null===n){j([]);return}if(void 0===n)return;j(Array.isArray(n)?n.map(e=>new Date(e)):[new Date(n)]);let e=null;Array.isArray(n)?n.length>0&&(e=new Date(n[0])):e=new Date(n),e&&!isNaN(e.getTime())&&C(new Date(e.getFullYear(),e.getMonth(),1))},[n]);let N=(0,c.useCallback)(e=>{let t=eg(e);if(t<T||t>A)return;let n=[];if(r){if(0===E.length)n=[t];else if(1===E.length){let e=E[0];n=e.getTime()===t.getTime()?[]:[e,t].sort((e,t)=>e.getTime()-t.getTime())}else n=[t];S(null)}else n=E.some(e=>eg(e).getTime()===t.getTime())?[]:[t];j(n);let i=null,a="";r?(i=n.length>0?[...n]:null,a=ey(n,r)):(i=n.length>0?n[0]:null,a=n.length>0?ex(n[0]):""),O.current&&(null==x||x(i,a))},[r,T,A,E,x]),R=(0,c.useCallback)(e=>{r&&1===E.length&&S(e)},[r,E.length]);(0,c.useEffect)(()=>(O.current=!0,()=>{O.current=!1}),[]);let F=(0,c.useCallback)(e=>{let t=k.getFullYear(),n=k.getMonth();if(w===ed.days){let t=new Date(k);t.setDate(1),"prev"===e?t.setMonth(n-1):t.setMonth(n+1);let i=eg(new Date(t.getFullYear(),t.getMonth(),1)),a=eg(new Date(t.getFullYear(),t.getMonth()+1,0));return i<=A&&a>=T}if(w===ed.months){let n=t+("prev"===e?-1:1);return n>=T.getFullYear()&&n<=A.getFullYear()}if(w===ed.years){let n=t-t%10+("prev"===e?-10:10);return n<=A.getFullYear()&&n+9>=T.getFullYear()}return!1},[w,k,T,A]),D=(0,c.useCallback)(e=>{C(e),_(ed.days)},[]),I=(0,c.useCallback)(e=>{C(new Date(e,0,1)),_(ed.months)},[]),L=(0,c.useCallback)(()=>{w===ed.days?_(ed.months):w===ed.months?_(ed.years):_(ed.days)},[w]);return(0,l.jsxs)("div",{ref:t,className:(0,v.Z)(d,eh.calendar),style:f,...b,"data-qa":g,"data-id":m,children:[(0,l.jsx)(ej,{view:w,currentDate:k,canNavigatePrev:F("prev"),canNavigateNext:F("next"),onNavigate:e=>{let t=new Date(k);switch(w){case ed.days:t.setDate(1),t.setMonth(t.getMonth()+("prev"===e?-1:1));break;case ed.months:t.setFullYear(t.getFullYear()+("prev"===e?-1:1));break;case ed.years:t.setFullYear(t.getFullYear()+("prev"===e?-12:12))}C(t)},onViewChange:L}),(0,l.jsxs)("div",{className:eh.content,children:[w===ed.days&&(0,l.jsx)(eE,{today:y,currentDate:k,selectedDates:E,hoveredDate:M,minAllowedDate:T,maxAllowedDate:A,multiple:r,showCurrentDay:s,showOutsideDays:p,events:h,onDateSelect:N,onDateHover:R}),w===ed.months&&(0,l.jsx)(eM,{currentDate:k,today:y,selectedDates:E,minAllowedDate:T,maxAllowedDate:A,showCurrentMonth:o,onMonthSelect:D}),w===ed.years&&(0,l.jsx)(eS,{today:y,currentDate:k,selectedDates:E,minAllowedDate:T,maxAllowedDate:A,showCurrentYear:u,onYearSelect:I})]})]})}).displayName="Calendar";var eT=n(98825);n(11712);let eA=(0,x.g)("chips"),eO=Object.freeze({chips:eA,chip:"".concat(eA,"__item"),icon:"".concat(eA,"__icon"),iconLeft:"".concat(eA,"__icon-left"),iconRight:"".concat(eA,"__icon-right"),label:"".concat(eA,"__label"),variants:{primary:"".concat(eA,"--primary"),secondary:"".concat(eA,"--secondary")},activeVariants:{primary:"".concat(eA,"--active-primary"),secondary:"".concat(eA,"--active-secondary")},sizes:{s:"".concat(eA,"--s"),m:"".concat(eA,"--m"),l:"".concat(eA,"--l")},selected:"".concat(eA,"--selected"),indicator:"".concat(eA,"__indicator"),indicatorVariant:{red:"".concat(eA,"__indicator--red"),orange:"".concat(eA,"__indicator--orange"),green:"".concat(eA,"__indicator--green"),purple:"".concat(eA,"__indicator--purple"),purpleSecondary:"".concat(eA,"__indicator--purple-secondary"),blue:"".concat(eA,"__indicator--blue"),pink:"".concat(eA,"__indicator--pink")}});(0,c.forwardRef)((e,t)=>{let{chips:n,value:i,variant:a="primary",activeVariant:r="primary",multiple:s,clearable:o,size:u="m",className:p,style:h,dataQa:d,dataId:f,onChipClick:m,...x}=e,[b,y]=(0,c.useState)(s?[]:void 0),w=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,()=>({getRoot:()=>w.current,getSelectedChips:()=>b})),(0,c.useEffect)(()=>{s?y(Array.isArray(i)?i:[]):y(i)},[i,s]);let _=s||o,k=e=>s&&Array.isArray(b)?b.includes(e):b===e,C=(e,t,n)=>{y(n),null==m||m(e,t,n)},E=(e,t)=>{if(s&&Array.isArray(b)){if(k(e)){let n=b.filter(t=>t!==e);C(e,t,n)}else C(e,t,[...b,e])}else{let n=o&&k(e)?void 0:e;C(e,t,n)}},j=(e,t)=>{let{id:n,label:i,iconLeft:s,iconRight:o,indicator:c}=e,p=k(n);return(0,l.jsxs)("div",{className:(0,v.Z)(eO.chip,eO.sizes[u],eO.activeVariants[r],eO.variants[a],[{[eO.selected]:p}]),role:_?"checkbox":"radio","aria-checked":p,"aria-label":i,tabIndex:0,"data-qa":(0,g.g)("".concat(d,"-item-").concat(++t),!!d),onClick:e=>{E(n,e)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),E(n,e))},children:[s&&(0,l.jsx)("span",{className:(0,v.Z)(eO.icon,eO.iconLeft),"aria-hidden":"true",children:s}),(0,l.jsx)("span",{className:(0,v.Z)(eO.label),children:i}),c&&(0,l.jsx)("div",{className:(0,v.Z)(eO.indicator,eO.indicatorVariant[c])}),o&&(0,l.jsx)("span",{className:(0,v.Z)(eO.icon,eO.iconRight),"aria-hidden":"true",children:o})]},n)};return(0,l.jsx)("div",{ref:w,className:(0,v.Z)(p,eO.chips),style:h,...x,"data-id":f,"data-qa":d,children:n.map((e,t)=>j(e,t))})}).displayName="Chips";var eN=n(93869),eR=n(87215);function eF(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M18.499 3.75a.75.75 0 0 1 1.5 0v4a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5h2.84a7.5 7.5 0 1 0 1.907 4.773.75.75 0 0 1 1.5-.045 9 9 0 1 1-2.497-5.954V3.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(62371);let eD=(0,x.g)("file-item"),eI=Object.freeze({root:eD,file:"".concat(eD,"__file"),preview:"".concat(eD,"__preview"),previewImage:"".concat(eD,"__preview-image"),previewIcon:"".concat(eD,"__preview-icon"),fileInfo:"".concat(eD,"__file-info"),fileName:"".concat(eD,"__file-name"),fileStatus:"".concat(eD,"__file-status"),fileSize:"".concat(eD,"__file-size"),progress:"".concat(eD,"__progress"),controls:"".concat(eD,"__controls"),close:"".concat(eD,"__close"),repeat:"".concat(eD,"__repeat"),error:"".concat(eD,"__error"),states:{success:"".concat(eD,"--success"),error:"".concat(eD,"--error"),pending:"".concat(eD,"--pending"),uploading:"".concat(eD,"--uploading"),primary:"".concat(eD,"--primary"),secondary:"".concat(eD,"--secondary"),s:"".concat(eD,"--s"),m:"".concat(eD,"--m"),disabled:"".concat(eD,"--disabled")}}),eL=["B","KB","MB","GB"],eP=[{label:"svg",color:"#F79601",type:"image/svg+xml"},{label:"pdf",color:"#FF0508",type:"application/pdf"},{label:"jpg",color:"#525BBB",type:"image/jpeg"},{label:"zip",color:"#B0864B",type:"application/zip"},{label:"mp4",color:"#000000",type:"video/mp4"},{label:"xls",color:"#117C41",type:"application/vnd.ms-excel"},{label:"docx",color:"#165BBE",type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}],ez="#189EF4",eZ=e=>{if(!e)return{label:"file",color:ez};let t=eP.find(t=>t.type===e);if(t)return{label:t.label,color:t.color};let n=eR.extension(e);return n?{label:n,color:ez}:{label:"file",color:ez}},eB=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(0===e)return"0 ".concat("B");let n=Math.floor(Math.log(e)/Math.log(1024)),i=parseFloat((e/Math.pow(1024,n)).toFixed(t));return"".concat(i," ").concat(eL[n])},e$=(0,c.forwardRef)((e,t)=>{let{file:n,state:i="success",name:a,type:r,fileSize:s,error:o,progress:c=0,size:u="m",variant:p="primary",previewImageUrl:h,className:d,style:f,fileId:m,dataQa:g,dataId:x,onClick:b,onDelete:y,onRepeat:w,..._}=e,k="s"===u,C=(0,F.i)(c)&&"uploading"===i,E=o&&"error"===i,j=r&&/^image\//.test(r),M=eZ(r),S=(j&&h?(0,l.jsx)("img",{role:"presentation",className:eI.previewImage,src:h,width:40,alt:a}):null)||(0,l.jsx)("div",{className:eI.previewIcon,style:{backgroundColor:M.color},children:M.label}),T=C&&"primary"===p?"linear-gradient(90deg, var(--color-gray-400) ".concat(c,"%, var(--color-white) ").concat(c,"%"):"linear-gradient(90deg, var(--color-white) ".concat(c,"%, var(--color-gray-400) ").concat(c,"%"),A=(0,v.Z)(d,eI.root,eI.states[p],eI.states[i],eI.states[u]),O=C?{background:T,...f}:f;return(0,l.jsxs)("div",{ref:t,className:A,style:O,onClick:e=>{"success"===i&&(null==b||b(e,m,n))},..._,"data-id":x,"data-qa":g,children:[(0,l.jsxs)("div",{className:eI.file,children:[!k&&(0,l.jsx)("div",{className:eI.preview,children:S}),(0,l.jsxs)("div",{className:eI.fileInfo,children:[(0,l.jsx)("div",{className:eI.fileName,children:a}),!k&&s&&(0,l.jsxs)("div",{className:eI.fileStatus,children:[(0,l.jsx)("div",{className:eI.fileSize,children:"".concat(eB(s))}),C&&(0,l.jsx)("div",{className:eI.progress,children:"Загружено ".concat(c,"%")})]})]}),(0,l.jsxs)("div",{className:eI.controls,children:[k&&C&&(0,l.jsx)("div",{className:eI.progress,children:"".concat(c,"%")}),E&&(0,l.jsx)(I.P,{className:eI.repeat,tabIndex:0,role:"button","aria-label":"Повторить загрузку файла ".concat(a),onClick:e=>{e.preventDefault(),e.stopPropagation(),null==w||w(e,m,n)},children:(0,l.jsx)(eF,{})}),(0,l.jsx)(I.P,{className:eI.close,tabIndex:0,role:"button","aria-label":"Удалить файл ".concat(a),onClick:e=>{e.preventDefault(),e.stopPropagation(),null==y||y(e,m,n)},children:(0,l.jsx)(V,{})})]})]}),E&&(0,l.jsx)("div",{className:eI.error,children:o})]})});e$.displayName="File",n(44364);let eV=Object.freeze({root:(0,x.g)("file-list")}),eU=e=>{let t=new Set;for(let n of e){if(t.has(n))return!0;t.add(n)}return!1};(0,c.forwardRef)((e,t)=>{let{files:n,size:i="m",variant:a="primary",className:r,role:s="list",style:o,dataId:u,dataQa:p,onClick:h,onDelete:d,onRepeat:f,...m}=e;return((0,c.useEffect)(()=>{eU(n.map(e=>e.fileId))&&console.warn("Имеются файлы с одинаковым fileId")},[n]),0===n.length)?null:(0,l.jsx)("div",{ref:t,role:s,"aria-label":"Загруженные файлы",className:(0,v.Z)(r,eV.root),style:o,...m,"data-id":u,"data-qa":p,children:n.map(e=>{var t;return(0,c.createElement)(e$,{...e,role:"listitem","aria-labelledby":"Имя файла - ".concat(e.name,", Размер файла - ").concat(eB(null!==(t=e.fileSize)&&void 0!==t?t:0)),size:i,variant:a,onClick:h,onRepeat:f,onDelete:d,key:e.fileId})})})}).displayName="FileList";let eq=(e=!1)=>{let[t,n]=(0,c.useState)(e);return{value:t,show:(0,c.useCallback)(()=>n(!0),[]),hide:(0,c.useCallback)(()=>n(!1),[]),toggle:(0,c.useCallback)(()=>n(e=>!e),[])}};n(88591);let eW=e=>{let t=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let n=n=>{var i;(null==(i=t.current)?void 0:i.contains(n.target))||e()};return window.addEventListener("click",n),()=>window.removeEventListener("click",n)},[]),t},eH=(e,t,n,i)=>{(0,c.useEffect)(()=>(e.addEventListener(t,n),()=>e.removeEventListener(t,n)),[...i,t,e,n])},eY=(0,x.g)("hint"),eG=Object.freeze({hint:eY,hintDialog:"".concat(eY,"__dialog"),activator:"".concat(eY,"__activator"),footer:"".concat(eY,"__footer"),text:"".concat(eY,"__text"),close:"".concat(eY,"__close"),icon:"".concat(eY,"__icon"),inverted:"".concat(eY,"--inverted")});(0,c.forwardRef)((e,t)=>{let{className:n,style:i,isVisible:a,position:r="top",heading:s,footer:o,children:u,text:h,withoutTail:x,inverted:b,dataQa:y,dataId:_,role:k="dialog",...C}=e,E=(0,c.useRef)(null),{refs:j,floatingStyles:M,context:S}=(0,d.YF)({placement:r,middleware:[(0,f.cv)(12),(0,f.RR)({fallbackAxisSideDirection:"start",crossAxis:!1}),(0,f.uY)(),(0,m.x7)({element:E,padding:8})]}),{value:T,show:A,hide:O,toggle:N}=eq(a),R=eW(O);if((0,c.useImperativeHandle)(t,()=>null==R?void 0:R.current),"undefined"!=typeof window){var F;let e;eH(window,"resize",(F=()=>S.update(),e=!1,function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];e||(F(...n),e=!0,setTimeout(()=>{e=!1},300))}),[]),eH(window,"keyup",e=>{"Escape"===e.key&&O()},[O])}return(0,l.jsxs)("div",{ref:R,className:(0,v.Z)(eG.hint,n),style:i,children:[(0,l.jsx)("button",{type:"button",className:eG.activator,ref:j.setReference,tabIndex:0,onClick:N,children:"function"==typeof u?u({show:A,hide:O,toggle:N,visible:T}):u}),T&&(0,l.jsxs)("div",{role:k,className:(0,v.Z)(eG.hintDialog,{[eG.inverted]:b}),ref:j.setFloating,style:M,...C,"data-id":_,"data-qa":y,children:[s&&(0,l.jsx)(p.H,{dataQa:(0,g.g)("".concat(y,"-heading"),!!y),className:"mb-3",as:"h6",type:"h6",children:s}),(0,l.jsx)("p",{"data-qa":(0,g.g)("".concat(y,"-text"),!!y),className:(0,v.Z)(eG.text),children:h}),o&&(0,l.jsx)("div",{"data-qa":(0,g.g)("".concat(y,"-footer"),!!y),className:(0,v.Z)(eG.footer),children:o}),(0,l.jsx)("button",{type:"button",tabIndex:-1,className:eG.close,onClick:O,children:(0,l.jsx)(I.P,{"aria-hidden":"true",className:eG.icon,style:{display:"inline-flex",fontSize:16},children:(0,l.jsx)(V,{})})}),!x&&(0,l.jsx)(d.Y$,{width:16,ref:E,d:w,context:S,fill:b?"var(--color-white)":"var(--color-black-500)"})]})]})}).displayName="Hint",n(90542);let eK=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];t.forEach(e=>{null==e||e(...n)})}},eQ=(0,x.g)("input-base"),eX={wrapper:eQ,input:"".concat(eQ,"__input"),container:"".concat(eQ,"__container"),label:"".concat(eQ,"__label"),field:"".concat(eQ,"__field"),rightLabel:"".concat(eQ,"__right-label"),caption:"".concat(eQ,"__caption"),placeholder:{visible:"".concat(eQ,"__placeholder"),hidden:"".concat(eQ,"__hidden")},states:{primary:"".concat(eQ,"--primary"),secondary:"".concat(eQ,"--secondary"),error:"".concat(eQ,"--error"),success:"".concat(eQ,"--success"),s:"".concat(eQ,"--s"),m:"".concat(eQ,"--m"),l:"".concat(eQ,"--l"),focused:"".concat(eQ,"--focused"),disabled:"".concat(eQ,"--disabled"),active:"".concat(eQ,"--active"),hasLabel:"".concat(eQ,"--has-label"),accent:"".concat(eQ,"--accent")}},eJ=(0,c.forwardRef)((e,t)=>{let{icon:n,rightLabel:i,disabled:a,state:r,size:s="m",variant:o="primary",label:u,value:p,placeholder:h,maskPlaceholder:f,autoFocus:m=!1,maskPlaceholderVariant:x="default",caption:b,type:y="text",inputMode:w="text",hasCaption:_,className:k,style:C,dataQa:E,dataId:j,inputRef:M,onChange:S,onFocus:T,onBlur:A,onKeyDown:O,...N}=e,R=(0,c.useId)(),{value:F,show:I,hide:L}=eq(),P=(0,c.useRef)(null),z=(0,d.qq)([M,P]),Z=(0,c.useMemo)(()=>F||!!p||!!h,[p,F,h]),B=(0,c.useCallback)(()=>{var e;null==(e=P.current)||e.focus()},[]),$=(0,c.useMemo)(()=>{var e;if(!f)return null;let t={hidden:null!=p?p:"",visible:f.substring(null!==(e=null==p?void 0:p.length)&&void 0!==e?e:0)};return f.length===(null==p?void 0:p.length)?null:t},[f,p]);return(0,c.useEffect)(()=>{var e,t,n,i;if(!m)return;let a=null!==(i=null==(e=P.current)?void 0:e.value.length)&&void 0!==i?i:0;null==(t=P.current)||t.focus(),null==(n=P.current)||n.setSelectionRange(a,a)},[m]),(0,l.jsxs)("div",{className:(0,v.Z)(k,eX.wrapper),style:C,"data-qa":E,"data-id":j,children:[(0,l.jsxs)("div",{className:(0,v.Z)(eX.input,eX.states[o],eX.states[s],{[eX.states.focused]:F,[eX.states.error]:"error"===r,[eX.states.success]:"success"===r,[eX.states.disabled]:!!a,[eX.states.hasLabel]:u}),onClick:B,ref:t,children:[(0,l.jsxs)("label",{htmlFor:R,className:eX.container,children:[u&&(0,l.jsx)("span",{className:(0,v.Z)(eX.label,{[eX.states.active]:Z,[eX.states.s]:"s"===s,[eX.states.disabled]:a,[eX.states.error]:"error"===r,[eX.states.success]:"success"===r}),children:u}),$&&!!p&&(0,l.jsxs)("div",{className:(0,v.Z)(eX.placeholder.visible,{[eX.states.accent]:"accent"===x}),children:[$.hidden&&(0,l.jsx)("span",{className:eX.placeholder.hidden,children:$.hidden}),$.visible]}),(0,l.jsx)("input",{...N,id:R,ref:z,className:(0,v.Z)(eX.field,{[eX.states.s]:"s"===s,[eX.states.hasLabel]:u,[eX.states.disabled]:a}),type:y,inputMode:w,autoComplete:"off",placeholder:h,value:p,disabled:a,onChange:e=>{null==S||S(e.target.value,e)},onFocus:eK(I,T),onBlur:eK(L,A),onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),null==S||S("",{target:{value:""}})),null==O||O(e)}})]}),i&&(0,l.jsx)("div",{className:(0,v.Z)(eX.rightLabel,{[eX.states.disabled]:a}),children:i}),n]}),(_||b)&&(0,l.jsx)(D.C,{dataQa:(0,g.g)("".concat(E,"-caption"),!!E),className:(0,v.Z)(eX.caption,{[eX.states.disabled]:a}),state:r,withoutIcon:!0,children:b})]})});eJ.displayName="InputBase";var e0=n(55773),e1=n(66237),e2=n(31755),e3=n(67603),e4=n(85226);function e5(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M4.75 3a.75.75 0 0 0 0 1.5h14.5a.75.75 0 0 0 0-1.5H4.75Zm7.78 3.218a.75.75 0 0 0-1.06 0l-4.25 4.25a.75.75 0 0 0 1.06 1.06l2.97-2.97v11.69a.75.75 0 0 0 1.5 0V8.558l2.97 2.97a.75.75 0 1 0 1.06-1.06l-4.25-4.25Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(17710);let e7=(0,x.g)("input-file"),e6={inputFile:e7,input:"".concat(e7,"__input"),uploadArea:"".concat(e7,"__upload-area"),uploadIcon:"".concat(e7,"__upload-icon"),uploadLabel:{default:"".concat(e7,"__upload-label"),purple:"".concat(e7,"__upload-label--purple")},uploadDragged:"".concat(e7,"__upload-dragged"),uploadCaption:"".concat(e7,"__upload-caption"),uploadButton:"".concat(e7,"__upload-button"),uploadWrapper:"".concat(e7,"__upload-wrapper"),selectButton:"".concat(e7,"__select-button"),states:{error:"".concat(e7,"--error"),s:"".concat(e7,"--s"),dragged:"".concat(e7,"--dragged"),disabled:"".concat(e7,"--disabled")}},e8=(e,t)=>{if(e&&t){let n=Array.isArray(t)?t:t.split(","),i=e.name||"",a=e.type||"",r=a.replace(/\/.*$/,"");return n.some(e=>{let t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){let e=i.toLowerCase(),n=t.toLowerCase(),a=[n];return(".jpg"===n||".jpeg"===n)&&(a=[".jpg",".jpeg"]),a.some(t=>e.endsWith(t))}return/\/\*$/.test(t)?r===t.replace(/\/.*$/,""):a===t||!!/^\w+$/.test(t)&&(console.error(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0};(0,c.forwardRef)((e,t)=>{let{accept:n,maxFileSize:i,disabled:a=!1,multiple:r=!1,capture:s=!1,mode:o="select",size:u="m",style:p,className:d,name:f,dataId:m,dataQa:g,onChange:x,...b}=e,y=(0,c.useId)(),[w,_]=(0,c.useState)(!1),[k,C]=(0,c.useState)(!1),E=(0,c.useRef)(null),j=(0,c.useRef)(null),S=e=>{if(!e)return!0;let t=T(e),n=A(e);return t&&n},T=e=>{if(!i)return!0;for(let t=0;t<e.length;t++)if(e[t].size>1048576*i)return!1;return!0},A=e=>{if(!n)return!0;for(let t=0;t<e.length;t++)if(!e8(e[t],n))return!1;return!0},O=e=>{let t=Object.hasOwn(e,"dataTransfer")?e.dataTransfer.files:e.target.files;if(t){if(!S(t)){_(!0);return}_(!1),null==x||x(t,e)}},N=()=>{var e;null==(e=E.current)||e.click()},R=e=>{a||(e.stopPropagation(),e.preventDefault())},F=e=>{a||(e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy",C(!0))},D=e=>{a||(e.stopPropagation(),e.preventDefault(),C(!1))},L=e=>{if(a)return;e.stopPropagation(),e.preventDefault();let{files:t}=e.dataTransfer;(r||t&&1===t.length)&&O(e),C(!1),e.dataTransfer.clearData()};(0,c.useImperativeHandle)(t,()=>({getInput:()=>E.current,getUploadArea:()=>j.current}));let P=()=>{let e=Array.isArray(n)?n.join(", "):null==n?void 0:n.split(",").join(", ");return(e?"Доступные форматы ".concat(e,". "):"")+(i?"Размер файла не должен превышать ".concat(i," MB."):"")},z=()=>{let e=Array.isArray(n)?n.join(","):n,t={ref:E,type:"file",className:e6.input,multiple:r,accept:e,capture:s,disabled:a,id:y,name:f,onChange:O};return(0,l.jsx)("input",{...t})},Z=()=>{let e={ref:j,className:(0,v.Z)(e6.uploadArea,{[e6.states.error]:w,[e6.states.s]:"s"===u,[e6.states.dragged]:k,[e6.states.disabled]:a}),onDragEnter:R,onDragOver:F,onDragLeave:D,onDrop:L,onClick:N,role:"button",tabIndex:0},t=(0,l.jsx)(I.P,{"aria-hidden":"true",className:(0,v.Z)(e6.uploadIcon,{[e6.states.disabled]:a}),children:(0,l.jsx)(e5,{})}),n=(0,l.jsx)(h.T,{size:"16",weight:"regular",className:(0,v.Z)(e6.uploadDragged,{[e6.states.disabled]:a,[e6.states.dragged]:k,[e6.states.s]:"s"===u}),children:"Перетащите файлы сюда"});if("s"===u){let i=(0,l.jsxs)(h.T,{size:"16",weight:"regular",className:(0,v.Z)(e6.uploadLabel.default,{[e6.states.disabled]:a}),children:[(0,l.jsxs)("span",{className:(0,v.Z)(e6.uploadLabel.purple,{[e6.states.disabled]:a}),children:["Выберите файлы"," "]}),"или перетащите их сюда"]});return(0,l.jsx)(U.F,{caption:P(),hasCaption:!0,children:(0,l.jsxs)("div",{...e,children:[(0,l.jsxs)("div",{className:(0,v.Z)(e6.uploadWrapper,{[e6.states.dragged]:k}),children:[t,i]}),n]})})}let i=(0,l.jsx)(h.T,{size:"16",weight:"regular",className:(0,v.Z)(e6.uploadLabel.default,{[e6.states.disabled]:a}),children:"Выберите файлы или перетащите их сюда"}),r=(0,l.jsx)(h.T,{size:"14",weight:"regular",className:(0,v.Z)(e6.uploadCaption,{[e6.states.disabled]:a}),children:P()}),s=(0,l.jsx)(h.T,{size:"16",weight:"regular",className:(0,v.Z)(e6.uploadButton,{[e6.states.disabled]:a}),children:"Выбрать"});return(0,l.jsxs)("div",{...e,children:[(0,l.jsxs)("div",{className:(0,v.Z)(e6.uploadWrapper,{[e6.states.dragged]:k}),children:[t,i,r,s]}),n]})};return(0,l.jsx)("div",{className:(0,v.Z)(d,e6.inputFile),style:p,...b,"data-id":m,"data-qa":g,children:"select"===o?(()=>{let e=z(),t=P(),n=(0,l.jsx)(M.B,{onClick:N,label:"Выберите файлы",size:"s",stretch:!0,className:(0,v.Z)(e6.selectButton,{disabled:a}),disabled:a});return(0,l.jsxs)(U.F,{caption:t,hasCaption:!0,captionState:w?"error":"default",children:[e,n]})})():(()=>{let e=z(),t=Z();return(0,l.jsxs)(l.Fragment,{children:[t,e]})})()})}).displayName="InputFile",n(48917);let e9=(e,t,n,i)=>{let a=[t,n,i];return a[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]||a[0]},te=e=>null==e;function tt(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M5 12a.75.75 0 0 1 .75-.75h12.5a.75.75 0 0 1 0 1.5H5.75A.75.75 0 0 1 5 12Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function tn(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.75 5.75a.75.75 0 0 0-1.5 0v5.5h-5.5a.75.75 0 0 0 0 1.5h5.5v5.5a.75.75 0 0 0 1.5 0v-5.5h5.5a.75.75 0 0 0 0-1.5h-5.5v-5.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let ti=e=>{let{value:t,decimals:n="auto",decimalsCount:i=2}=e;switch(n){case"always":return new Intl.NumberFormat("ru",{minimumFractionDigits:i,useGrouping:"min2"}).format(t);case"never":return new Intl.NumberFormat("ru",{maximumFractionDigits:0,useGrouping:"min2"}).format(t);default:return new Intl.NumberFormat("ru",{useGrouping:"min2"}).format(t)}},ta=e=>RegExp("^-?(?!0{2,})[(\\d\\s?]*[,.]?\\d*$").test(e),tr=(e,t,n)=>(0,F.i)(t)&&e<t?t:(0,F.i)(n)&&e>n?n:e,ts=[",","."],to=(0,x.g)("input-number"),tl={controls:"".concat(to,"__controls"),icon:"".concat(to,"__controls-icon"),divider:"".concat(to,"__controls-divider"),states:{disabled:"".concat(to,"--disabled")}},tc=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),tu=(e,t)=>{let n=tc(t.join("")),i=RegExp("[^\\d".concat(n,"]"),"gi");return e.replace(i,"")},tp=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"\xa0",n=RegExp(tc(t),"g");return e.replace(n,"")},th=(e,t)=>{let n=RegExp("((^|\\D)-\\d)|^(-)").test(e),i=tu(tp(e,"\xa0"),ts).replace(",","."),a=n?"-":"";if(i.includes(".")){let[e,n]=i.split(".");if(n){let i=".".concat(n.slice(0,t));return"".concat(a).concat(e).concat(i)}}return"".concat(a).concat(i)},td=(e,t)=>{let n=String(e),[i,a]=n.split("."),r=new Intl.NumberFormat("ru",{maximumFractionDigits:0,roundingMode:"trunc",useGrouping:"min2"}).format(parseFloat(n)),s=n.includes(".")||n.includes(",");return"never"===t?r:"".concat(r).concat(s?",":"").concat(null!=a?a:"")},tf=(e,t,n)=>{if(!e||!t)return"";if(Array.isArray(t)){let n=th(e,2),i=Number((n.startsWith("-")?n.slice(1):n).split(".")[0]),[a,r,s]=t;return e9(i,a,r,s)}return t},tm=e=>{let{selectionStart:t,value:n,lastKeyStroke:i,stateValue:a}=e,r=t,s=n;if(a&&r&&"\xa0"===a[r]&&("Backspace"===i||"Delete"===i)){let e=n.split("");return"Backspace"===i&&(e.splice(r-1,1),r-=1),"Delete"===i&&(e.splice(r,1),r+=1),{modifiedValue:s=e.join(""),cursorPosition:r}}return{modifiedValue:s,cursorPosition:t}},tv=(0,c.forwardRef)((e,t)=>{let{decimals:n="auto",decimalsCount:i=2,value:a,unit:r,step:s=1,min:o,max:u,size:p="m",withoutControls:h,disabled:d,icon:f,shouldRoundOnChange:m=!1,className:g,style:x,dataQa:b,dataId:y,autoFocus:w=!1,onChange:_,onFocus:k,onBlur:C,onKeyDown:E,onIncrement:j,onDecrement:M,...S}=e,T=(0,c.useMemo)(()=>i<10?i:10,[i]),[A,O]=(0,c.useState)((0,F.i)(a)?ti({value:tr(parseFloat(td(th(String(a),T),n)),o,u),decimals:n,decimalsCount:T}):""),[N,R]=(0,c.useState)(!1),[D,L]=(0,c.useState)(0),[P,z]=(0,c.useState)(null),Z=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,()=>Z.current),(0,c.useEffect)(()=>{N&&"-"!==A&&Z.current&&document.activeElement===Z.current&&Z.current.setSelectionRange(D,D)},[A,D,Z,N]);let B=(0,c.useCallback)((e,t)=>{if(R(!0),!ta(e))return{float:A?parseFloat(th(A,T)):void 0,formatted:A};if(""===e)return{float:void 0,formatted:e};if("-"===e)return L(1),{float:void 0,formatted:e};if("."===e||","===e)return L(2),{float:0,formatted:"never"===n?"0":"0,"};if("-."===e||"-,"===e)return L(3),{float:0,formatted:"never"===n?"-0":"-0,"};let{modifiedValue:i,cursorPosition:a}=tm({selectionStart:t,value:e,lastKeyStroke:P,stateValue:A}),r=th(i,T),s="never"===n?parseInt(r):parseFloat(r),l=td(r,n),c=m?tr(s,o,u):s;if(c>Number.MAX_SAFE_INTEGER||c<Number.MIN_SAFE_INTEGER)return{float:parseFloat(th(A,T)),formatted:A};if(!te(a)){let t=a+(l.length-e.length);L(t=t<=0?0:t)}return{float:c,formatted:l}},[n,T,P,u,o,m,A]),$=(0,c.useCallback)((e,t)=>{if(!t)return;let{target:{value:n,selectionStart:i}}=t,a=B(n,i);O(a.formatted),null==_||_(a.float,{...a,event:t})},[B,_]),V=(0,c.useCallback)(e=>{null==k||k(e)},[k]),U=(0,c.useCallback)(e=>{let{target:{value:t}}=e,i=th(t,T);if(!i||"-"===i){O(""),null==C||C(e);return}let a=parseFloat(i),r=m?a:tr(a,o,u),s=ti({value:r,decimals:n,decimalsCount:T});O(s),m||a===r||null==_||_(r,{float:r,formatted:s}),null==C||C(e)},[n,T,u,o,C,_,m]),q=(0,c.useCallback)(e=>{L(A.length);let t=parseFloat(te(a)?th(A,T):String(a).replace(",","."))||0,i=tr("increase"===e?Number((t+s).toFixed(T)):Number((t-s).toFixed(T)),o,u),r=ti({value:i,decimals:n,decimalsCount:T});O(r),null==_||_(i,{float:i,formatted:r})},[A,a,T,s,o,u,n,_]),W=(0,c.useCallback)(e=>{let{code:t}=e;z(t),("ArrowUp"===t||"ArrowDown"===t)&&(e.preventDefault(),q("ArrowUp"===t?"increase":"decrease")),null==E||E(e)},[q,E]),H=(0,c.useCallback)(e=>{e.preventDefault(),q("decrease"),null==M||M(e)},[q,M]),Y=(0,c.useCallback)(e=>{e.preventDefault(),q("increase"),null==j||j(e)},[q,j]),G=(0,c.useCallback)(e=>{let{code:t}=e;z(t),["Space","Enter"].includes(t)&&(e.preventDefault(),q("decrease"),null==M||M(e))},[q,M]),K=(0,c.useCallback)(e=>{let{code:t}=e;z(t),["Space","Enter"].includes(t)&&(e.preventDefault(),q("increase"),null==j||j(e))},[q,j]),Q=(0,c.useMemo)(()=>{let e=parseFloat(th(A,T));return te(a)||""===String(a)?"":Number(a)===e?A:"-"!==A&&","!==A&&ta(String(a))?td(th(String(tr(a,o,u)),T),n):A},[n,T,A,a]),X=(0,c.useMemo)(()=>{let[e,t]=Q.split(","),n=Q.includes(","),i=tf(Q,r);if(n){let n=Array(T-t.length).fill(0).join("");return"".concat(e).concat(",").concat(t).concat(n).concat("\xa0").concat(i)}return"".concat(e).concat("\xa0").concat(i)},[Q,r,T]),J={...S,value:Q,maskPlaceholder:X,maskPlaceholderVariant:"accent",size:p,icon:h?f:(0,l.jsxs)("div",{className:(0,v.Z)(tl.controls),children:[(0,l.jsx)(I.P,{onClick:d?void 0:H,onKeyDown:d?void 0:G,className:(0,v.Z)(tl.icon,{[tl.states.disabled]:!!d}),role:"button",tabIndex:d?-1:0,children:(0,l.jsx)(tt,{})}),(0,l.jsx)("div",{className:tl.divider}),(0,l.jsx)(I.P,{onClick:d?void 0:Y,onKeyDown:d?void 0:K,className:(0,v.Z)(tl.icon,{[tl.states.disabled]:!!d}),role:"button",tabIndex:d?-1:0,children:(0,l.jsx)(tn,{})})]}),disabled:d,onChange:$,onBlur:U,onFocus:V,onKeyDown:W};return(0,l.jsx)(eJ,{...J,autoFocus:w,inputMode:"decimal",inputRef:Z,dataQa:b,dataId:y,className:g,style:x})});function tg(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 3C7.069 3 3.702 6.75 2.006 9.226a4.876 4.876 0 0 0 0 5.548C3.702 17.25 7.069 21 12 21s8.297-3.75 9.994-6.226a4.875 4.875 0 0 0 0-5.548C20.297 6.75 16.931 3 12 3Zm-8.757 7.074C4.888 7.673 7.863 4.5 12 4.5s7.112 3.173 8.757 5.574a3.376 3.376 0 0 1 0 3.852C19.112 16.327 16.137 19.5 12 19.5s-7.112-3.173-8.757-5.574a3.376 3.376 0 0 1 0-3.852ZM12 8.004a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-2.5 4a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function tx(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M21.78 3.28a.75.75 0 0 0-1.06-1.06l-2.773 2.773C16.33 3.849 14.34 3 12 3 7.069 3 3.703 6.75 2.006 9.226a4.878 4.878 0 0 0 0 5.55c.697 1.015 1.654 2.217 2.866 3.291L2.22 20.72a.75.75 0 1 0 1.06 1.06l6.95-6.95h.001l4.595-4.595.001-.001L21.78 3.28ZM12 4.5c1.862 0 3.486.639 4.869 1.57l-2.623 2.624A4 4 0 0 0 8.69 14.25l-2.755 2.754c-1.125-.983-2.026-2.106-2.691-3.077a3.378 3.378 0 0 1-.001-3.853C4.888 7.673 7.863 4.5 12 4.5Zm8.379 2.673a.75.75 0 1 0-1.111 1.008 17.849 17.849 0 0 1 1.488 1.892 3.378 3.378 0 0 1 .001 3.853C19.112 16.327 16.137 19.5 12 19.5c-1.3 0-2.481-.311-3.544-.814a.75.75 0 0 0-.641 1.357A9.716 9.716 0 0 0 12 21c4.931 0 8.297-3.75 9.994-6.226a4.878 4.878 0 0 0 0-5.55 19.338 19.338 0 0 0-1.615-2.05ZM12 9.503c.416 0 .809.102 1.154.282l-3.372 3.373A2.5 2.5 0 0 1 12 9.504Zm3.988 2.815a.75.75 0 0 0-1.496-.116 2.5 2.5 0 0 1-2.294 2.294.75.75 0 0 0 .117 1.495 4 4 0 0 0 3.673-3.673Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}tv.displayName="InputNumber",n(64851);let tb=(0,x.g)("input-password"),ty={icon:"".concat(tb,"__icon"),states:{disabled:"".concat(tb,"--disabled")}};function tw(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M10.5 2a8.5 8.5 0 1 0 5.456 15.018l4.763 4.762a.75.75 0 0 0 1.06-1.06l-4.762-4.763A8.5 8.5 0 0 0 10.5 2Zm-7 8.5a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}(0,c.forwardRef)((e,t)=>{let{disabled:n,autoFocus:i=!1,...a}=e,[r,s]=(0,c.useState)(!1);return(0,l.jsx)(eJ,{...a,autoFocus:i,ref:t,disabled:n,type:r?"text":"password",icon:(0,l.jsx)(I.P,{onMouseDown:n?void 0:e=>{e.preventDefault(),e.stopPropagation(),s(e=>!e)},onKeyDown:n?void 0:e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),s(e=>!e))},className:(0,v.Z)(ty.icon,{[ty.states.disabled]:!!n}),role:"button",tabIndex:n?-1:0,children:r?(0,l.jsx)(tx,{}):(0,l.jsx)(tg,{})})})}).displayName="InputPassword",n(28526);let t_=(0,x.g)("input-search"),tk={iconSearch:"".concat(t_,"__icon-search"),iconClear:"".concat(t_,"__icon-clear"),states:{disabled:"".concat(t_,"--disabled")}};(0,c.forwardRef)((e,t)=>{let{value:n,disabled:i,onChange:a,...r}=e,[s,o]=(0,c.useState)(n||"");(0,c.useEffect)(()=>{o(n||"")},[n]);let u=(0,c.useCallback)((e,t)=>{o(e||""),null==a||a(e||"",t)},[]);return(0,l.jsx)(eJ,{...r,value:s,ref:t,disabled:i,icon:s?(0,l.jsx)(I.P,{onMouseDown:i?void 0:e=>{e.preventDefault(),e.stopPropagation(),u()},onKeyDown:i?void 0:e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),u())},className:(0,v.Z)(tk.iconClear,{[tk.states.disabled]:i}),role:"button",tabIndex:i?-1:0,children:(0,l.jsx)(V,{})}):(0,l.jsx)(I.P,{className:(0,v.Z)(tk.iconSearch,{[tk.states.disabled]:i}),children:(0,l.jsx)(tw,{})}),onChange:(e,t)=>{u(e,t)}})}).displayName="InputSearch",n(41566);var tC=n(30462);n(95987);let tE=(0,x.g)("radio"),tj=Object.freeze({radio:tE,input:"".concat(tE,"__input"),marker:"".concat(tE,"__marker"),wrapper:"".concat(tE,"__wrapper"),label:"".concat(tE,"__label"),caption:"".concat(tE,"__caption"),icon:"".concat(tE,"__icon"),iconButton:"".concat(tE,"__icon-button"),states:{error:"".concat(tE,"--error"),disabled:"".concat(tE,"--disabled"),inverted:"".concat(tE,"--inverted")},sizes:{xs:"".concat(tE,"--xs"),s:"".concat(tE,"--s"),m:"".concat(tE,"--m")},variants:{primary:"".concat(tE,"--primary"),secondary:"".concat(tE,"--secondary")}});(0,c.forwardRef)((e,t)=>{let{value:n,variant:i="primary",checked:a=!1,state:r="default",label:s,disabled:o=!1,caption:u,className:p,style:h,icon:d,withIcon:f=!1,size:m="m",inverted:g=!1,children:x,inputRef:b,onChange:y,onIconClick:w,dataQa:_,dataId:k,...C}=e,E=(0,c.useId)(),j=x||s;return(0,l.jsxs)("label",{ref:t,htmlFor:E,"data-marker-label":"",className:(0,v.Z)(p,tj.radio,{[tj.states.disabled]:o,[tj.states.inverted]:g,[tj.states.error]:"error"===r,[tj.sizes[m]]:!0,[tj.variants[i]]:!0}),style:h,"data-id":k,"data-qa":_,children:[(0,l.jsx)("input",{id:E,value:n,checked:a,className:tj.input,type:"radio",disabled:o,onChange:e=>{null==y||y(e.target.value,e)},ref:b,...C}),(0,l.jsx)("span",{className:tj.marker,children:(0,l.jsx)(eN.C,{type:"radio",checked:a,inverted:g,state:r,disabled:o})}),j&&(0,l.jsxs)("span",{className:tj.wrapper,children:[(0,l.jsx)("span",{className:tj.label,children:j}),u&&(0,l.jsx)(D.C,{className:tj.caption,withoutIcon:!0,children:u})]}),f&&(0,l.jsx)("button",{type:"button",className:(0,v.Z)(tj.iconButton),onClick:o?void 0:w,children:(0,l.jsx)(I.P,{className:(0,v.Z)(tj.icon),children:d?(0,l.jsx)(l.Fragment,{children:d}):(0,l.jsx)(tC.S,{})})})]})}).displayName="Radio",n(3054);let tM=(0,x.g)("segmented-control"),tS=Object.freeze({segmentedControl:tM,secondary:"".concat(tM,"--secondary"),tab:"".concat(tM,"__tab"),label:"".concat(tM,"__label"),icon:"".concat(tM,"__icon"),slot:"".concat(tM,"__slot"),states:{stretch:"".concat(tM,"--stretch"),rounded:"".concat(tM,"--rounded"),small:"".concat(tM,"--s"),medium:"".concat(tM,"--m"),weightVariant:"".concat(tM,"--wight-medium"),left:"".concat(tM,"__tab--left"),right:"".concat(tM,"__tab--right"),active:"".concat(tM,"__tab--active"),iconOnly:"".concat(tM,"__tab--icon-only"),disabled:"".concat(tM,"__tab--disabled")}}),tT=Object.freeze({labelKey:"label",disabledKey:"disabled",slotLeftKey:"slotLeft",slotRightKey:"slotRight",iconLeftKey:"iconLeft",iconRightKey:"iconRight"});(0,c.forwardRef)((e,t)=>{var n;let{activeTabId:i,tabs:a,onTabChange:r,variant:s="primary",className:o,style:u,stretch:p=!1,rounded:h=!1,tabSettings:d,weightVariant:f="regular",size:m="m",onTabKeyDown:x,dataQa:b,dataId:y,...w}=e,_=(0,c.useRef)(null),k=(0,c.useMemo)(()=>{let e={...tT,...d};return a.map(t=>{var n;return{sourceTab:t,id:t.id,label:t[e.labelKey],disabled:null!==(n=t[e.disabledKey])&&void 0!==n&&n,slotLeft:t[e.slotLeftKey],slotRight:t[e.slotRightKey],iconLeft:t[e.iconLeftKey],iconRight:t[e.iconRightKey]}})},[d,a]),[C,E]=(0,c.useState)(null!=i?i:null==(n=k[0])?void 0:n.id),j=(0,c.useCallback)(e=>{var t;let n=_.current,i=(null==e?void 0:e.target).closest(".".concat(tS.tab)),a=n.getBoundingClientRect(),r=i.getBoundingClientRect();n.scrollTo({left:r.left-a.left-4+(null!==(t=n.scrollLeft)&&void 0!==t?t:0),behavior:"smooth"})},[]),M=(e,t)=>{E(e),j(t),r(e,t)},S=(e,t)=>{((null==t?void 0:t.key)===" "||(null==t?void 0:t.key)==="Enter")&&(E(e),j(t),null==x||x(e,t))};return(0,c.useEffect)(()=>{null!=i&&E(i)},[i]),(0,c.useImperativeHandle)(t,()=>_),(0,l.jsx)("div",{ref:_,role:"tablist",className:(0,v.Z)(tS.segmentedControl,{[tS.secondary]:"secondary"===s,[tS.states.small]:"s"===m,[tS.states.medium]:"m"===m,[tS.states.weightVariant]:"medium"===f,[tS.states.stretch]:p,[tS.states.rounded]:h},o),style:u,...w,"data-id":y,"data-qa":b,children:k.map((e,t)=>(0,l.jsxs)("button",{type:"button",role:"tab","data-qa":(0,g.g)("".concat(b,"-tab-").concat(++t),!!b),"aria-selected":e.id===C,"aria-disabled":e.disabled?e.disabled:void 0,tabIndex:(null==e?void 0:e.disabled)?-1:0,className:(0,v.Z)(tS.tab,{[tS.states.active]:e.id===C,[tS.states.disabled]:e.disabled,[tS.states.iconOnly]:!e.label&&(e.iconLeft||e.slotLeft),[tS.states.left]:e.label&&(e.iconLeft||e.slotLeft),[tS.states.right]:e.label&&(e.iconRight||e.slotRight)}),onClick:e.disabled?void 0:t=>M(e.id,t),onKeyDown:e.disabled?void 0:t=>S(e.id,t),children:[e.iconLeft&&(0,l.jsx)("span",{className:tS.icon,children:e.iconLeft}),e.slotLeft&&e.label&&(0,l.jsx)("span",{className:tS.slot,children:e.slotLeft}),e.label&&(0,l.jsx)("span",{className:tS.label,children:e.label}),e.label&&(0,l.jsxs)(l.Fragment,{children:[e.slotRight&&(0,l.jsx)("span",{className:tS.slot,children:e.slotRight}),e.iconRight&&(0,l.jsx)("span",{className:tS.icon,children:e.iconRight})]})]},e.id))})}).displayName="SegmentedControl",n(98713),n(87538);let tA=(0,x.g)("snackbar"),tO=Object.freeze({snackbar:tA,item:"".concat(tA,"__item"),itemOut:"".concat(tA,"__item--out"),position:{topLeft:"".concat(tA,"--top-left"),topRight:"".concat(tA,"--top-right"),bottomLeft:"".concat(tA,"--bottom-left"),bottomRight:"".concat(tA,"--bottom-right")},alertFill:X.fill}),tN={status:"status",alert:"alert"},tR=(e,t,n)=>e<=t?t:e>=n?n:e,tF=new Map,tD=null;(0,c.forwardRef)((e,t)=>{let{quantity:n=3,position:i="topRight",closeAll:a,style:r,className:s,dataQa:o,dataId:u,...p}=e,[h,f]=(0,c.useState)(!1),[m,g]=(0,c.useState)([]),x=(0,c.useRef)(new Map),b=(0,c.useCallback)(e=>{h||e.forEach(e=>{if(e.withoutTimer||x.current.has(e.id))return;let t=setTimeout(()=>{_(e,()=>{var t;w(e.id),null==(t=e.closeByTimer)||t.call(e)})},e.timer?1e3*tR(e.timer,4,10):4e3);x.current.set(e.id,t)})},[h]),y=(0,c.useCallback)(()=>{x.current.forEach(e=>clearTimeout(e)),x.current.clear()},[]);(0,c.useEffect)(()=>(tD=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t){let t=[];tF.forEach(e=>{t.push(new Promise(t=>_(e,t)))}),Promise.all(t).then(()=>{null==a||a(),y(),tF.clear(),g(e.slice(0,tR(n,1,5)))})}else g(e.slice(0,tR(n,1,5)))},()=>{tD=null}),[a,y,n]),(0,c.useEffect)(()=>{b(m)},[m,b]);let w=e=>{tF.delete(e),x.current.has(e)&&(clearTimeout(x.current.get(e)),x.current.delete(e)),tD&&tD([...Array.from(tF.values())])},_=(e,t)=>{tF.set(e.id,{...e,isExiting:!0}),tD&&tD([...Array.from(tF.values())]),setTimeout(()=>{t()},250)},k=()=>{f(!1),b(m)},C=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];k(),_(t,()=>{var i,a;w(t.id),n?null==(i=t.onButtonClick)||i.call(t,e):null==(a=t.onClose)||a.call(t,e)})};return(0,l.jsx)(l.Fragment,{children:!!m.length&&(0,l.jsx)(d.ll,{id:"finkit-snackbars",children:(0,l.jsx)("ul",{ref:t,role:"region",className:(0,v.Z)(tO.snackbar,tO.position[i],s),style:r,onMouseEnter:()=>{f(!0),y()},onMouseLeave:k,...p,"data-qa":o,"data-id":u,children:m.map(e=>(0,l.jsx)("li",{id:e.id,className:(0,v.Z)(tO.item,{[tO.itemOut]:e.isExiting}),children:(0,l.jsx)(J,{role:"error"===e.state?tN.alert:tN.status,label:e.label,state:e.state,caption:e.caption,withClose:e.withClose||e.withoutTimer&&!e.buttonText,onClose:t=>{C(t,e)},buttonText:e.buttonText,onButtonClick:t=>{C(t,e,!0)},className:tO.alertFill,dataQa:e.dataQa,dataId:e.dataId,buttonVariant:"white",withIcon:!0})},e.id))})})})}).displayName="Snackbar",n(48971),n(57705);let tI=(0,x.g)("tabs"),tL=Object.freeze({tabs:tI,tabWrapper:"".concat(tI,"__tab-wrapper"),tab:"".concat(tI,"__tab"),active:"".concat(tI,"__tab--active"),activeLine:"".concat(tI,"__activeLine")});(0,c.forwardRef)((e,t)=>{var n;let{activeTabId:i,tabs:a,onTabChange:r,style:s,className:o,dataQa:u,dataId:p,...h}=e,[d,f]=(0,c.useState)(null!=i?i:null==(n=a[0])?void 0:n.id),[m,x]=(0,c.useState)(null),[b,y]=(0,c.useState)({width:0,left:0}),w=(0,c.useRef)(null);(0,c.useEffect)(()=>{m&&y({left:m.offsetLeft-2,width:m.offsetWidth+4})},[m]);let _=(0,c.useCallback)(e=>{var t;let n=w.current,i=(null==e?void 0:e.target).closest(".".concat(tL.tab)),a=n.getBoundingClientRect(),r=i.getBoundingClientRect();n.scrollTo({left:r.left-a.left-4+(null!==(t=n.scrollLeft)&&void 0!==t?t:0),behavior:"smooth"})},[]),k=(e,t)=>{_(t),f(e),r(e,t)};return(0,c.useImperativeHandle)(t,()=>w),(0,l.jsxs)("ul",{role:"tablist",ref:w,className:(0,v.Z)(tL.tabs,o),style:s,...h,"data-id":p,"data-qa":u,children:[a.map((e,t)=>{let n=e.id===d;return!e.disabled&&(0,l.jsx)("li",{role:"tab","aria-selected":e.id===d,"data-qa":(0,g.g)("".concat(u,"-tab-").concat(++t),!!u),className:tL.tabWrapper,children:(0,l.jsx)("button",{type:"button",ref:n?x:null,className:(0,v.Z)(tL.tab,{[tL.active]:n}),onClick:t=>k(e.id,t),children:e.label})},e.id)}),(0,l.jsx)("div",{className:(0,v.Z)(tL.activeLine),style:{left:b.left,width:b.width}})]})}).displayName="Tabs";var tP=n(78665);n(9894);let tz=(e,t,n)=>{(0,c.useEffect)(()=>{e&&(n&&t?(e.style.height="auto",e.style.height=e.scrollHeight+"px"):e.style.height="")},[n,e,t])},tZ=(0,x.g)("textarea"),tB={root:tZ,container:"".concat(tZ,"__container"),field:"".concat(tZ,"__field"),labelWrapper:"".concat(tZ,"__label-wrapper"),label:"".concat(tZ,"__label"),captionWrapper:"".concat(tZ,"__caption-wrapper"),caption:"".concat(tZ,"__caption"),counter:"".concat(tZ,"__counter"),states:{primary:"".concat(tZ,"--primary"),secondary:"".concat(tZ,"--secondary"),error:"".concat(tZ,"--error"),success:"".concat(tZ,"--success"),s:"".concat(tZ,"--s"),m:"".concat(tZ,"--m"),l:"".concat(tZ,"--l"),focused:"".concat(tZ,"--focused"),active:"".concat(tZ,"--active"),disabled:"".concat(tZ,"--disabled"),hasLabel:"".concat(tZ,"--has-label"),hasCaption:"".concat(tZ,"--has-caption")}};(0,c.forwardRef)((e,t)=>{let{disabled:n,state:i,size:a="m",variant:r="primary",label:s,className:o,style:u,value:p="",rows:h=1,maxLength:d,caption:f,counter:m,placeholder:g,autoResize:x=!1,hasCaption:b=!1,dataQa:y,dataId:w,onChange:_,onFocus:k,onBlur:C,...E}=e,{value:j,show:M,hide:S}=eq(),T=(0,c.useRef)(null),A="s"!==a;tz(T.current,p,x);let O=(0,c.useMemo)(()=>!j||p||"s"!==a||g?j?g:"s"===a?s:g:s,[g,p,a,j,s]),N=(0,c.useMemo)(()=>h<1?1:h>5?5:h,[h]),R=(0,c.useMemo)(()=>d&&d>0?d:void 0,[d]),F=(0,c.useMemo)(()=>m&&!!R&&R>0&&"".concat(p.length,"/").concat(R),[m,R,p.length]);return(0,l.jsxs)("div",{className:(0,v.Z)(o,tB.root),style:u,ref:t,"data-qa":y,"data-id":w,children:[(0,l.jsx)("div",{className:(0,v.Z)(tB.container,tB.states[r],tB.states[a],{[tB.states.focused]:j,[tB.states.error]:"error"===i,[tB.states.success]:"success"===i,[tB.states.disabled]:!!n}),children:(0,l.jsxs)("label",{className:tB.labelWrapper,children:[A&&(0,l.jsx)("span",{className:(0,v.Z)(tB.label,{[tB.states.active]:j||!!p||!!g}),children:s}),(0,l.jsx)("textarea",{...E,"aria-disabled":n?"true":void 0,"aria-invalid":"error"===i?"true":void 0,className:(0,v.Z)(tB.field,{[tB.states.hasLabel]:A}),rows:N,maxLength:R,ref:T,value:p,placeholder:O,disabled:n,onFocus:e=>{M(),null==k||k(e)},onBlur:e=>{S(),null==C||C(e)},onChange:e=>{null==_||_(e.target.value||"",e)}})]})}),(b||f||F)&&(0,l.jsxs)("div",{className:tB.captionWrapper,children:[(b||f)&&(0,l.jsx)("div",{className:(0,v.Z)(tB.caption,{[tB.states.error]:"error"===i,[tB.states.success]:"success"===i,[tB.states.disabled]:!!n}),children:f}),F&&(0,l.jsx)("div",{className:tB.counter,children:F})]})]})}).displayName="Textarea",n(37418);var t$=n(27590);function tV(){return"undefined"==typeof window}n(25546);let tU=tV()?c.useLayoutEffect:c.useEffect;function tq(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return tV()?t:window.matchMedia(e).matches}function tW(e){let{minWidth:t}=R.a[e];return function(e){let{defaultValue:t=!1,initializeWithValue:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[i,a]=(0,c.useState)(()=>n?tq(e,t):null!=t&&t);function r(){a(tq(e))}return tU(()=>{let t=window.matchMedia(e);return r(),"function"==typeof t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{"function"==typeof t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},[e]),i}("screen and (min-width: ".concat(t,"px)"))}Object.freeze({divider:(0,x.g)("dropdown-divider")});let tH=(0,x.g)("dropdown-group");Object.freeze({group:tH,title:"".concat(tH,"__title"),content:"".concat(tH,"__content")});let tY=(0,x.g)("dropdown-option"),tG=Object.freeze({option:tY,slot:"".concat(tY,"__slot"),iconSlot:"".concat(tY,"__slot--icon"),wrapper:"".concat(tY,"__wrapper"),label:"".concat(tY,"__label"),caption:"".concat(tY,"__caption"),states:{danger:"".concat(tY,"--danger"),success:"".concat(tY,"--success"),focused:"".concat(tY,"--focused"),disabled:"".concat(tY,"--disabled")}});function tK(e){let{as:t,label:n,caption:i,iconLeft:a,iconRight:r,prepend:s,append:o,variant:u="default",disabled:p=!1,focused:h=!1,className:d,onClick:f,...m}=e,g=(0,v.Z)(d,tG.option,{[tG.states.focused]:h,[tG.states.success]:"success"===u,[tG.states.danger]:"danger"===u,[tG.states.disabled]:!!p}),x=(0,c.useCallback)(e=>{e.preventDefault(),p||null==f||f(e)},[p,f]);return(0,l.jsxs)(t||"div",{...m,className:g,"aria-disabled":p,onClick:x,children:[s&&(0,l.jsx)("span",{className:tG.slot,children:s}),a&&(0,l.jsx)("span",{className:(0,v.Z)(tG.slot,tG.iconSlot),children:a}),(0,l.jsxs)("div",{className:tG.wrapper,children:[(0,l.jsx)("span",{className:tG.label,children:n}),i&&(0,l.jsx)("span",{className:tG.caption,children:i})]}),r&&(0,l.jsx)("span",{className:(0,v.Z)(tG.slot,tG.iconSlot),children:r}),o&&(0,l.jsx)("span",{className:tG.slot,children:o})]})}let tQ=(e,t,n)=>e?"object"!=typeof e?n:"function"==typeof t?t(e):e[t]:void 0,tX=(0,x.g)("input-autocomplete"),tJ={input:tX,pending:"".concat(tX,"__pending"),pendingIcon:"".concat(tX,"__pending-icon"),empty:"".concat(tX,"__empty"),emptyText:"".concat(tX,"__empty-text"),emptyDescription:"".concat(tX,"__empty-description"),options:"".concat(tX,"__options"),optionIcon:"".concat(tX,"__option-icon"),button:"".concat(tX,"__button"),states:{selected:"".concat(tX,"--selected")}};function t0(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"a"},c.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),c.createElement("g",{clipPath:"url(#a)"},c.createElement("path",{d:"m10.53 16.53 8.25-8.25a.743.743 0 0 0 0-1.06.743.743 0 0 0-1.06 0L10 14.94l-3.72-3.72a.743.743 0 0 0-1.06 0 .743.743 0 0 0 0 1.06l4.25 4.25c.146.147.323.22.53.22a.722.722 0 0 0 .53-.22Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}let t1=e=>{let{items:t,itemSize:n,renderItem:i,overscan:a=2,outerRef:r,itemsContainerClassname:s}=e,[o,u]=(0,c.useState)({start:0,end:0}),p=(0,c.useCallback)(()=>{if(!r.current)return;let e=r.current.clientHeight,i=r.current.scrollTop;u({start:Math.max(0,Math.floor(i/n)-a),end:Math.min(t.length,Math.ceil((i+e)/n)+a)})},[n,t.length,r,a]);(0,c.useLayoutEffect)(()=>{p()},[p]),(0,c.useEffect)(()=>{let e=r.current;if(!e)return;let t=()=>p();e.addEventListener("scroll",t);let n=new ResizeObserver(()=>p());return n.observe(e),()=>{e.removeEventListener("scroll",t),n.disconnect()}},[p,r]);let h=t.length*n+16,d=t.slice(o.start,o.end),f={position:"absolute",top:0,height:d.length*n,transform:"translateY(".concat(o.start*n,"px)"),width:"100%",margin:0};return(0,l.jsx)("div",{style:{position:"relative",height:h,width:"auto",margin:"-8px"},children:(0,l.jsx)("ul",{className:s,style:f,role:"listbox",children:d.map((e,t)=>i(e,o.start+t))},"options")})};function t2(e){let{inputValue:t,mappedOptions:n,pending:i=!1,optionsEmptyText:a="Нет результатов",optionsEmptyDescription:r,contentInnerRef:s,withVirtualize:o=!1,handleOptionClick:u}=e,p=(0,c.useId)();if(i)return(0,l.jsx)("div",{className:tJ.pending,children:(0,l.jsx)(I.P,{className:tJ.pendingIcon,children:(0,l.jsx)(M.S,{})})});if((null==t?void 0:t.length)&&!n.length)return(0,l.jsxs)("div",{className:tJ.empty,children:[(0,l.jsx)("div",{className:tJ.emptyText,children:a}),r&&(0,l.jsx)("div",{className:tJ.emptyDescription,children:r})]});let h=e=>(0,l.jsx)(tK,{role:"option","aria-selected":e.selected,as:"li",disabled:e.disabled,label:e.label,caption:e.caption,focused:e.active,onClick:()=>u(e),append:(0,l.jsx)(I.P,{className:(0,v.Z)(tJ.optionIcon,{[tJ.states.selected]:e.selected}),style:{fontSize:24},children:(0,l.jsx)(t0,{})})},JSON.stringify(e.value));return o?(0,l.jsx)(t1,{outerRef:s,items:n,itemSize:40,renderItem:h,itemsContainerClassname:tJ.options}):(0,l.jsx)("ul",{className:tJ.options,id:p,role:"listbox",children:n.map(h)},"options")}(0,c.forwardRef)((e,t)=>{let{value:n,selectedValue:i,label:a,options:r=[],state:s,icon:o,rightLabel:u,desktopMaxHeight:p,pending:h=!1,buttonLabel:d="Выбрать",optionValue:f="value",optionLabel:m="label",optionCaption:v="caption",optionDisabled:x="disabled",variant:b="primary",size:y="m",disabled:w=!1,caption:_,hasCaption:k=!1,keepFocus:C=!1,optionsEmptyText:E="Нет результатов",optionsEmptyDescription:j,withVirtualize:S,onChange:T,onSelect:A,onFocus:O,onBlur:N,onKeydown:R,dataQa:F,dataId:D,className:I,style:L,...P}=e,[z,Z]=(0,c.useState)(!1),[B,$]=(0,c.useState)(""),V=(0,c.useRef)(null),U=(0,c.useRef)(null),q=(0,c.useRef)(null),W=(0,c.useRef)(null),H=tW("m");(0,c.useImperativeHandle)(t,()=>U.current);let Y=(0,c.useMemo)(()=>H?z&&(r.length>0||!!B||h):z,[B,H,z,r.length,h]),G=(0,c.useMemo)(()=>r.map((e,t)=>{let n=tQ(e,f,e),a=tQ(i,f,i);return{index:t,value:n,label:tQ(e,m,e),caption:tQ(e,v),disabled:tQ(e,x),selected:a===n,original:e}}),[v,x,m,f,r,i]),K=(0,c.useMemo)(()=>G.find(e=>{let{selected:t}=e;return t}),[G]);(0,c.useEffect)(()=>{if(!n&&!i){$("");return}n&&$(n)},[n]),(0,c.useEffect)(()=>{i&&$(tQ(i,m,i))},[]),(0,c.useEffect)(()=>{z||(K?Q(K.label):X())},[z]);let Q=e=>{$(e),null==T||T(e)},X=e=>{null==A||A(e)},J=()=>{Z(!0)},ee=()=>{Z(!1)},et=e=>{null==N||N(e)};return(0,l.jsx)("div",{ref:t,className:tJ.input,"data-id":D,"data-qa":F,children:(0,l.jsxs)(nI,{opened:Y,onToggle:Z,width:"inherit",placement:"bottom",mobileFullHeight:!0,desktopMaxHeight:p,footer:H||!i?void 0:(0,l.jsx)(M.B,{label:d,disabled:!i,className:tJ.button,onClick:()=>{ee()}}),heading:H?void 0:(0,l.jsx)(eJ,{inputRef:q,className:I,style:L,value:B,label:a,rightLabel:u,icon:o,state:s,caption:_,hasCaption:k,onChange:Q,onBlur:et,...P}),dataQa:(0,g.g)("".concat(F,"-dropdown"),!!F),children:[(0,l.jsx)(nU,{asChild:!0,children:(0,l.jsx)(eJ,{value:B,label:a,rightLabel:u,icon:o,size:y,variant:b,state:s,disabled:w,caption:_,hasCaption:k,onClick:void 0,onChange:Q,onFocus:e=>{J(),H||(e.preventDefault(),setTimeout(()=>{var e;null==(e=q.current)||e.focus()},100)),null==O||O(e)},onBlur:et,onKeyDown:e=>{"Tab"===e.key&&ee(),null==R||R(e)},ref:V,inputRef:U,...P,dataQa:(0,g.g)("".concat(F,"-dropdown-input"),!!F)})}),(0,l.jsx)(nz,{contentInnerRef:W,children:(0,l.jsx)(t2,{inputValue:B,mappedOptions:G,pending:h,optionsEmptyText:E,optionsEmptyDescription:j,handleOptionClick:e=>{var t;if(Q(e.label),X(e.original),H){if(C){null==(t=U.current)||t.focus();return}ee()}},contentInnerRef:W,withVirtualize:S})})]})})}).displayName="InputAutocomplete";let t3="dd.MM.yyyy",t4=(e,t)=>((e<1||e>12)&&console.warn("Месяц должен быть в диапазоне от 1 до 12"),new Date(t,e,0).getDate()),t5=e=>{let[t,n,i]=e.split(".").map(Number),a=t4(n,i||1900);return[(t>a?a:t).toString().padStart(2,"0"),n.toString().padStart(2,"0"),i.toString().padStart(4,"0").substring(0,4)].join(".")};(0,c.forwardRef)((e,t)=>{let{value:n=null,autoFocus:i=!1,onChange:a,onKeyDown:r,...s}=e,[o,u]=(0,c.useState)(""),{ref:p,setValue:h}=(0,e0.Cj)({mask:Date,autofix:!0,pattern:"d.`m.`Y",validate:()=>{},placeholderChar:" ",prepare:e=>!e||e.length<10||e.includes(" ")?e:t5(e),overwrite:!1,blocks:{d:{mask:e0.LV.MaskedRange,from:1,to:31,maxLength:2},m:{mask:e0.LV.MaskedRange,from:1,to:12,maxLength:2},Y:{mask:e0.LV.MaskedRange,from:1900,to:2099,maxLength:4}}},{onAccept:e=>{if(e.length<10||e.includes(" "))null!==n&&(null==a||a(null,""));else{let t=t5(e),n=(0,e1.Z)(t,t3,new Date);if((0,e2.Z)(n)){null==a||a(n,t),u(t);return}}u(e)}});return(0,c.useEffect)(()=>{if(n instanceof Date&&(0,e2.Z)(n)){let e=(0,e3.Z)(n,t3);h(e),u(e)}else"string"==typeof n&&(0,e4.Z)(n,"dd.mm.yyyy")&&(h(n),u(n))},[n,h]),(0,c.useImperativeHandle)(t,()=>p.current),(0,l.jsx)(eJ,{...s,autoFocus:i,inputRef:p,value:o,inputMode:"numeric",onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),u(""),h(""),null==a||a(null,"")),null==r||r(e)},maskPlaceholder:"дд.мм.гггг"})}).displayName="InputDate";let t7=(0,c.forwardRef)((e,t)=>{let{maskOpts:n,value:i="",autoFocus:a=!1,onChange:r,onKeyDown:s,...o}=e,[u,p]=(0,c.useState)(""),{ref:h,setValue:d,unmaskedValue:f}=(0,e0.Cj)(n,{onAccept:(e,t)=>{p(e),null==r||r(t.unmaskedValue,e)}});return(0,c.useEffect)(()=>{i!==f&&(d(i),p(i))},[i,d,f]),(0,c.useImperativeHandle)(t,()=>h.current),(0,l.jsx)(eJ,{...o,autoFocus:a,inputRef:h,value:u,onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),d(""),p(""),null==r||r("","")),null==s||s(e)}})});t7.displayName="InputMasked";let t6=e=>{let[t,n]=(0,c.useState)(e),i=(0,c.useRef)([]),a=(0,c.useRef)(t),r=(0,c.useCallback)((e,t)=>{t&&i.current.unshift(t),n(t=>{let n={...t,...e};return a.current=n,n})},[]),s=(0,c.useCallback)(()=>a.current,[]);return(0,c.useEffect)(()=>{i.current[0]&&(i.current[0](t),i.current.shift())},[t]),[t,r,s]},t8=e=>{let t=(0,c.useRef)();return(0,c.useEffect)(()=>{t.current=JSON.parse(JSON.stringify(e))},[e]),t.current},t9=e=>{let t=e.toString().split(".")[1];return t?t.length:0},ne=e=>e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length,nt=(e,t,n)=>{let i=Number(((t-e)/n).toFixed(8));return parseInt(i.toString(),10)===i},nn=(e,t,n,i,a,r,s)=>{if(e=Math.round(1e11*e)/1e11,!r){let n=s[t-1],i=s[t+1];if(n&&n>e)return n;if(i&&i<e)return i}if(e>i)return i;if(e<n)return n;let o=Math.floor(1e11*e-1e11*n)%Math.floor(1e11*a),l=Math.floor(1e11*e-Math.abs(o)),c=0===o?e:l/1e11,u=Math.abs(o/1e11)<a/2?c:c+a,p=t9(a);return parseFloat(u.toFixed(p))},ni=(e,t,n)=>(e-t)/(n-t),na=e=>e===nM.Up,nr=(e,t,n)=>{if(t>=n)throw RangeError("min (".concat(t,") is equal/bigger than max (").concat(n,")"));if(e<t)throw RangeError("value (".concat(e,") is smaller than min (").concat(t,")"));if(e>n)throw RangeError("value (".concat(e,") is bigger than max (").concat(n,")"))},ns=e=>{if(!(e.length<2)&&!e.slice(1).every((t,n)=>e[n]<=t))throw RangeError("values={[".concat(e,"]} needs to be sorted when allowOverlap={false}"))},no=e=>{let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10),bottom:parseInt(t.marginBottom,10),left:parseInt(t.marginLeft,10),right:parseInt(t.marginRight,10)}},nl=e=>{let t=window.getComputedStyle(e);return{top:parseInt(t.paddingTop,10)+parseInt(t.borderTopWidth,10),bottom:parseInt(t.paddingBottom,10)+parseInt(t.borderBottomWidth,10),left:parseInt(t.paddingLeft,10)+parseInt(t.borderLeftWidth,10),right:parseInt(t.paddingRight,10)+parseInt(t.borderRightWidth,10)}},nc=(e,t,n)=>{let i=n?-1:1;e.forEach((e,n)=>np(e,i*t[n].x,t[n].y))},nu=(e,t,n,i)=>{let a=0,r=ng(e[0],t,n,i);for(let s=1;s<e.length;s++){let o=ng(e[s],t,n,i);o<r&&(r=o,a=s)}return a},np=(e,t,n)=>{e.style.transform="translate(".concat(t,"px, ").concat(n,"px)")},nh=e=>{let t;let n=null;return function(){for(var i=arguments.length,a=Array(i),r=0;r<i;r++)a[r]=arguments[r];t=a,n||(n=requestAnimationFrame(()=>{n=null,e(...t)}))}},nd=(e,t,n)=>{let i=e.slice(0);return i[t]=n,i},nf=e=>{let{values:t,colors:n,min:i,max:a,direction:r=nM.Right}=e,s=t.slice(0).sort((e,t)=>e-t).map(e=>(e-i)/(a-i)*100).reduce((e,t,i)=>"".concat(e,", ").concat(n[i]," ").concat(t,"%, ").concat(n[i+1]," ").concat(t,"%"),"");return"linear-gradient(".concat(r,", ").concat(n[0]," 0%").concat(s,", ").concat(n[n.length-1]," 100%)")},nm=()=>null,nv=()=>{throw Error("Did not expect to get here")},ng=(e,t,n,i)=>{let{left:a,top:r,width:s,height:o}=e.getBoundingClientRect();return na(i)?Math.abs(n-(r+o/2)):Math.abs(t-(a+s/2))},nx=(e,t,n)=>{let i=["#C2C2C6",...Array(e-1||1).fill(n?"#A5A7AB":"#525BBB"),"#C2C2C6"];return 1===e&&(t?i.pop():i.shift()),i},nb=(0,x.g)("range-slider"),ny=Object.freeze({range:nb,vertical:"".concat(nb,"--vertical"),disabled:"".concat(nb,"--disabled"),track:"".concat(nb,"__track"),thumb:"".concat(nb,"__thumb"),thumbDrag:"".concat(nb,"__thumb--drag"),label:"".concat(nb,"__label"),mark:"".concat(nb,"__mark"),legend:"".concat(nb,"__legend"),legendItem:"".concat(nb,"__legend-item")}),nw=["ArrowRight","ArrowUp","k","PageUp"],n_=["ArrowLeft","ArrowDown","j","PageDown"],nk=e=>{let{props:t,children:n,propValues:i,disabled:a}=e;return(0,l.jsx)("div",{className:(0,v.Z)(ny.range,{[ny.vertical]:i.direction===nM.Up,[ny.disabled]:a},t.className),onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:{...t.style},"data-id":t.dataId,"data-qa":t.dataQa,children:(0,l.jsx)("div",{ref:t.ref,className:(0,v.Z)(ny.track),style:{background:nf({values:i.values,colors:nx(i.values.length,!!i.rtl,a),min:i.min||0,max:i.max||100,direction:i.direction||nM.Right,rtl:!!i.rtl})},children:n})})},nC=e=>{let{props:t,isDragged:n,formattedValue:i}=e,{key:a,...r}=t;return(0,l.jsxs)("div",{...r,style:t.style,className:(0,v.Z)(ny.thumb,t.className,{[ny.thumbDrag]:n}),children:[(0,l.jsx)("label",{className:(0,v.Z)(ny.label),children:i}),(0,l.jsx)("span",{})]},a)},nE=e=>{let{props:t,index:n,propValues:i}=e,a={width:"2px",height:n%2?"12px":"16px",backgroundColor:n*(i.step||1)+(i.min||0)<i.values[0]?"#525BBB":"#D2D3D5"},r={width:n%2?"12px":"16px",height:"2px",backgroundColor:n*(i.step||1)>(i.max||100)-i.values[0]?"#525BBB":"#D2D3D5"},s=i.direction===nM.Right?a:r,{key:o,...c}=t;return 1===i.values.length&&(0,l.jsx)("div",{...c,className:(0,v.Z)(t.className),style:{...t.style,...s}},o)},nj=(0,c.forwardRef)((e,t)=>{let{step:n=1,direction:i=nM.Right,rtl:a=!1,disabled:r=!1,allowOverlap:s=!1,draggableTrack:o=!1,min:u=0,max:p=100,legend:h=[],onChange:d=()=>null,renderTrack:f=nk,renderThumb:m=nC,renderMark:g=nE,showMarks:x=!1,onFinalChange:b,formatValue:y=e=>String(e),className:w,dataQa:_,dataId:k,...C}=e,E=(0,c.useMemo)(()=>({...C,step:n,direction:i,rtl:a,disabled:r,allowOverlap:s,draggableTrack:o,min:u,max:p,legend:h}),[C,n,i,a,r,s,o,u,p,h]),j=(0,c.useRef)(E);(0,c.useEffect)(()=>{j.current=E},[E]);let M=(0,c.useRef)(null),S=(0,c.useRef)(Array(C.values.length).fill(null)),T=(0,c.useRef)(),A=(0,c.useRef)([]),O=(0,c.useRef)(),N=(0,c.useRef)(),R=nh(e=>{if(e.preventDefault(),!(1&e.buttons))return D(e);et(e.clientX,e.clientY)}),F=nh(e=>{e.preventDefault(),et(e.touches[0].clientX,e.touches[0].clientY)}),D=e=>{let{draggedThumbIndex:t,draggedTrackPos:n}=z();if(e.preventDefault(),document.removeEventListener("mousemove",R),document.removeEventListener("touchmove",F),document.removeEventListener("mouseup",I),document.removeEventListener("touchend",I),document.removeEventListener("touchcancel",I),-1===t&&-1===n[0]&&-1===n[1])return null;P({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},()=>{en()})},I=nh(D),[L,P,z]=t6({draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:Array(C.values.length).fill(0).map((e,t)=>t),isChanged:!1,markOffsets:[],legendOffsets:[]}),Z=e=>{if(!x){O.current=void 0,T.current=void 0;return}O.current=(e.max-e.min)/e.step,T.current=[]},B=e=>{if(!e.legend||!e.legend.length)return},$=()=>{nc(U(),q(),j.current.rtl),W(),H()},V=e=>{if(j.current.disabled)return;let t=ne(e);if(!t&&0!==e.button)return;let n=K(e);if(-1===n)return;t?Q():X();let{thumbZIndexes:i}=z();P({draggedThumbIndex:n,thumbZIndexes:i.map((e,t)=>t===n?Math.max(...i):e<=i[n]?e:e-1)})},U=()=>M.current?Array.from(M.current.children).filter(e=>e.hasAttribute("aria-valuenow")):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[]),q=()=>{let e=j.current.values,t=M.current;if(!t)return[];let n=t.getBoundingClientRect(),i=nl(t);return U().map((t,a)=>{let r={x:0,y:0},s=t.getBoundingClientRect(),o=no(t);switch(j.current.direction){case nM.Right:return r.x=-((o.left+i.left)*1),r.y=-(((s.height-n.height)/2+i.top)*1),r.x+=n.width*ni(e[a],j.current.min,j.current.max)-s.width/2,r;case nM.Up:return r.x=-(((s.width-n.width)/2+o.left+i.left)*1),r.y=-i.left,r.y+=n.height-n.height*ni(e[a],j.current.min,j.current.max)-s.height/2,r;default:return nv()}})};t&&"function"!=typeof t&&(t.current=M.current),t&&"function"!=typeof t&&t.current&&(t.current.getThumbs=U,t.current.getOffsets=q);let W=()=>{if(!x||!M.current||!O.current||!T.current||null===M.current)return;let e=window.getComputedStyle(M.current),t=parseInt(e.width,10),n=parseInt(e.height,10),i=parseInt(e.paddingLeft,10),a=parseInt(e.paddingTop,10),r=[];for(let e=0;e<O.current+1;e++){let s=9999,o=9999;if(T.current[e]){let t=T.current[e].getBoundingClientRect();s=t.height,o=t.width}j.current.direction===nM.Right?r.push([Math.round(t/O.current*e+i-o/2),-Math.round((s-n)/2)]):r.push([Math.round(n/O.current*e+a-s/2),-Math.round((o-t)/2)])}P({markOffsets:r})},H=()=>{var e;if(!j.current.legend||!j.current.legend.length||!M.current||!A.current||j.current.rtl||i!==nM.Right)return;let t=window.getComputedStyle(M.current),n=parseInt(t.width,10),a=parseInt(t.paddingLeft,10),r=n/((j.current.max-j.current.min)/j.current.step),s=[];for(let t=0;t<j.current.legend.length;t++){let i=9999,o=9999;if(A.current[t]){let n=null==(e=A.current[t])?void 0:e.getBoundingClientRect();i=(null==n?void 0:n.height)||i,o=(null==n?void 0:n.width)||o}let l=j.current.legend[t],c=Math.round(((nS(l)?l.value:l)-j.current.min)/j.current.step*r+a-o/2);s.push([Math.min(Math.max(c,0),n-o),Math.round(i/5)])}P({legendOffsets:s})};(0,c.useEffect)(()=>{var e;Z(j.current),B(j.current),N.current=window.ResizeObserver?new window.ResizeObserver($):{observe:()=>window.addEventListener("resize",$),unobserve:()=>window.removeEventListener("resize",$)},document.addEventListener("touchstart",V,{passive:!1}),document.addEventListener("mousedown",V,{passive:!1}),s||ns(C.values),C.values.forEach(e=>nr(e,u,p));let t=M.current;return t&&(null==(e=N.current)||e.observe(t)),nc(U(),q(),a),W(),H(),C.values.forEach(e=>{nt(u,e,n)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}),()=>{var e;document.removeEventListener("mousedown",V,{passive:!1}),document.removeEventListener("mousemove",R),document.removeEventListener("touchmove",F),document.removeEventListener("touchstart",V),document.removeEventListener("mouseup",I),document.removeEventListener("touchend",I),t&&(null==(e=N.current)||e.unobserve(t))}},[E.min,E.max]);let Y=t8(E),G=t8(L);(0,c.useEffect)(()=>{((null==Y?void 0:Y.max)!==p||(null==Y?void 0:Y.min)!==u||(null==Y?void 0:Y.step)!==n||JSON.stringify(null==Y?void 0:Y.legend)!==JSON.stringify(h))&&(Z(j.current),B(j.current)),nc(U(),q(),a),((null==Y?void 0:Y.max)!==p||(null==Y?void 0:Y.min)!==u||(null==Y?void 0:Y.step)!==n||JSON.stringify(null==Y?void 0:Y.legend)!==JSON.stringify(h)||(null==G?void 0:G.markOffsets.length)!==L.markOffsets.length||(null==G?void 0:G.legendOffsets.length)!==L.legendOffsets.length)&&(W(),H(),C.values.forEach(e=>{nt(u,e,n)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},[E,L]);let K=e=>U().findIndex(t=>t===e.target||t.contains(e.target)),Q=()=>{document.addEventListener("touchmove",F,{passive:!1}),document.addEventListener("touchend",I,{passive:!1}),document.addEventListener("touchcancel",I,{passive:!1})},X=()=>{document.addEventListener("mousemove",R),document.addEventListener("mouseup",I)},J=(e,t)=>nn(e,t,j.current.min,j.current.max,j.current.step,j.current.allowOverlap,j.current.values),ee=e=>{JSON.stringify(e)!==JSON.stringify(j.current.values)&&(j.current.values=e,d(e))},et=(e,t)=>{let{draggedThumbIndex:n,draggedTrackPos:i}=z(),a=j.current.values;if(-1===n&&-1===i[0]&&-1===i[1])return null;let r=M.current;if(!r)return null;let s=r.getBoundingClientRect(),o=na(j.current.direction)?s.height:s.width;if(-1!==i[0]&&-1!==i[1]){let n=e-i[0],r=t-i[1],s=0;switch(j.current.direction){case nM.Right:s=n/o*(j.current.max-j.current.min);break;case nM.Up:s=r/o*(j.current.max-j.current.min);break;default:nv()}if(j.current.rtl&&(s*=-1),Math.abs(s)>=j.current.step/2){for(let e=0;e<S.current.length;e++){if(a[e]===j.current.max&&1===Math.sign(s)||a[e]===j.current.min&&-1===Math.sign(s))return;let t=a[e]+s;t>j.current.max?s=j.current.max-a[e]:t<j.current.min&&(s=j.current.min-a[e])}let n=a.slice(0);for(let e=0;e<S.current.length;e++)n=nd(n,e,J(a[e]+s,e));P({draggedTrackPos:[e,t]}),ee(n)}}else{let i=0;switch(j.current.direction){case nM.Right:i=(e-s.left)/o*(j.current.max-j.current.min)+j.current.min;break;case nM.Up:i=(o-(t-s.top))/o*(j.current.max-j.current.min)+j.current.min;break;default:nv()}j.current.rtl&&(i=j.current.max+j.current.min-i),Math.abs(a[n]-i)>=j.current.step/2&&ee(nd(a,n,J(i,n)))}},en=()=>{P({isChanged:!1});let e=j.current.values;b&&b(e)},ei=e=>{let t=j.current.values,{isChanged:n}=z(),i=K(e.nativeEvent),a=j.current.rtl?-1:1;-1!==i&&(nw.includes(e.key)?(e.preventDefault(),P({draggedThumbIndex:i,isChanged:!0}),ee(nd(t,i,J(t[i]+a*("PageUp"===e.key?10*j.current.step:j.current.step),i)))):n_.includes(e.key)?(e.preventDefault(),P({draggedThumbIndex:i,isChanged:!0}),ee(nd(t,i,J(t[i]-a*("PageDown"===e.key?10*j.current.step:j.current.step),i)))):"Tab"===e.key?P({draggedThumbIndex:-1},()=>{n&&en()}):n&&en())},ea=()=>{let{isChanged:e}=z();P({draggedThumbIndex:-1},()=>{e&&en()})},er=e=>{let{values:t}=j.current,n=t.reduce((n,i,a)=>{let r=Math.abs(t[n]-e);return Math.abs(i-e)<=r?a:n},0);ee(t.map((t,i)=>i===n?e:t))};return(0,l.jsxs)(l.Fragment,{children:[f({props:{style:{cursor:L.draggedThumbIndex>-1?"grabbing":o?na(i)?"ns-resize":"ew-resize":1!==C.values.length||r?"inherit":"pointer"},onMouseDown:r?nm:e=>{var t;if(0!==e.button)return;let n=j.current.values;if(e.persist(),e.preventDefault(),X(),n.length>1&&j.current.draggableTrack){if(S.current.some(t=>null==t?void 0:t.contains(e.target)))return;P({draggedTrackPos:[e.clientX,e.clientY]},()=>et(e.clientX,e.clientY))}else{let n=nu(S.current.map(e=>e),e.clientX,e.clientY,j.current.direction);null==(t=S.current[n])||t.focus(),P({draggedThumbIndex:n},()=>et(e.clientX,e.clientY))}},onTouchStart:r?nm:e=>{var t;let n=j.current.values;if(e.persist(),Q(),n.length>1&&j.current.draggableTrack){if(S.current.some(t=>null==t?void 0:t.contains(e.target)))return;P({draggedTrackPos:[e.touches[0].clientX,e.touches[0].clientY]},()=>et(e.touches[0].clientX,e.touches[0].clientY))}else{let n=nu(S.current.map(e=>e),e.touches[0].clientX,e.touches[0].clientY,j.current.direction);null==(t=S.current[n])||t.focus(),P({draggedThumbIndex:n},()=>et(e.touches[0].clientX,e.touches[0].clientY))}},ref:e=>{M.current=e},className:(0,v.Z)(w),dataQa:_,dataId:k},isDragged:L.draggedThumbIndex>-1,disabled:r,children:[...L.markOffsets.map((e,t)=>{let n={left:"".concat(e[0],"px"),marginTop:"".concat(e[1],"px")},a={top:"".concat(e[0],"px"),marginLeft:"".concat(e[1],"px")};return g({props:{style:i===nM.Right?n:a,key:"mark".concat(t),ref:e=>{e&&T.current&&(T.current[t]=e)},className:ny.mark},index:t,propValues:E})}),...C.values.map((e,t)=>{let n=L.draggedThumbIndex===t;return m({index:t,value:e,formattedValue:y(e),isDragged:n,props:{style:{zIndex:L.thumbZIndexes[t],cursor:r?"inherit":n?"grabbing":"grab"},key:t,tabIndex:r?void 0:0,"aria-valuemax":s?p:C.values[t+1]||p,"aria-valuemin":s?u:C.values[t-1]||u,"aria-valuenow":e,draggable:!1,ref:e=>{e&&(S.current[t]=e)},role:"slider",onKeyDown:r?nm:ei,onKeyUp:r?nm:ea,className:ny.thumb}})})],propValues:E}),E.direction===nM.Right&&(0,l.jsx)("div",{className:ny.legend,children:h.map((e,t)=>{var n,i;let a;return a=nS(e)?e.value:e,(0,l.jsx)("button",{type:"button",ref:e=>{Array.isArray(A.current)&&(A.current[t]=e)},className:(0,v.Z)(ny.legendItem),style:{left:"".concat(null==(n=L.legendOffsets[t])?void 0:n[0],"px"),marginTop:"".concat(null==(i=L.legendOffsets[t])?void 0:i[1],"px")},tabIndex:r?-1:0,onClick:r?void 0:()=>er(a),children:nS(e)?e.label:y(a)},"legend".concat(t))})})]})});nj.displayName="RangeSlider";var nM=((a=nM||{}).Right="to right",a.Up="to top",a);let nS=e=>"object"==typeof e,nT=(0,x.g)("input-range"),nA={inputRange:nT,input:"".concat(nT,"__input"),slider:"".concat(nT,"__slider")};(0,c.forwardRef)((e,t)=>{let{value:n,step:i=1,min:a=0,max:r=100,disabled:s,ticks:o=[],className:u,inputClassname:p,sliderClassname:h,size:d="m",decimals:f="auto",decimalsCount:m=2,tooltip:g=e=>e,dataId:x,dataQa:b,autoFocus:y=!1,style:w,onChange:_,onBlur:k,...C}=e,E=(0,c.useMemo)(()=>"number"!=typeof n||n<a?a:n>r?r:n,[n,a,r]),[j,M]=(0,t$.u)(E||a,n),[S,T]=(0,c.useState)(E?[E]:[a]),A=(0,c.useRef)(null),O=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,()=>({inputRef:A.current,sliderRef:O.current}),[O,A]);let N=(0,c.useCallback)(e=>{if(M(e),!e||e<a){T([a]);return}if(e>r){T([r]);return}T([e]),null==_||_(e)},[r,a,_,M]);(0,c.useEffect)(()=>{"number"==typeof n&&N(n)},[n]);let R=(0,c.useCallback)(e=>{j||(T([a]),M(a),null==_||_(a)),null==k||k(e)},[j,a,k,M,_]),F=(0,c.useCallback)(e=>{var t;M(e[0]),T(e),null==(t=null==A?void 0:A.current)||t.focus(),null==_||_(e[0])},[_,M]),D=(0,c.useCallback)(()=>{var e;null==(e=null==A?void 0:A.current)||e.blur()},[]);return(0,l.jsxs)("div",{className:(0,v.Z)(u,nA.inputRange),style:w,"data-qa":b,"data-id":x,children:[(0,l.jsx)(tv,{...C,autoFocus:y,value:j,withoutControls:!0,min:a,max:r,disabled:s,step:i,ref:A,className:(0,v.Z)(p,nA.input),size:d,decimals:f,decimalsCount:m,onChange:N,onBlur:R}),(0,l.jsx)(nj,{values:S,min:a,max:r,legend:o,step:Math.abs(i),disabled:s,ref:O,className:(0,v.Z)(h,nA.slider),formatValue:g,onChange:F,onFinalChange:D})]})}).displayName="InputRange",(0,c.forwardRef)((e,t)=>{let{value:n="",autoFocus:i=!1,onChange:a,onKeyDown:r,dataQa:s,dataId:o,...u}=e,[p,h]=(0,c.useState)(""),{ref:d,unmaskedValue:f,setValue:m}=(0,e0.Cj)({mask:"+{7} (000) 000-00-00"},{onAccept:(e,t)=>{h(e),null==a||a(t.unmaskedValue,e)}});return(0,c.useEffect)(()=>{n!==f&&m(n)},[n,m,f]),(0,c.useImperativeHandle)(t,()=>d.current),(0,l.jsx)(eJ,{...u,autoFocus:i,dataQa:s,dataId:o,inputRef:d,value:p,maskPlaceholder:"+7 (000) 000-00-00",onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),m(""),h(""),null==a||a("","")),null==r||r(e)}})}).displayName="InputTel";let nO=(0,x.g)("modal"),nN=Object.freeze({modal:nO,overlay:"".concat(nO,"__overlay"),withoutFooter:"".concat(nO,"--without-footer"),noContent:"".concat(nO,"--no-content"),open:"".concat(nO,"--open"),overlayOpen:"".concat(nO,"__overlay--open"),height:{medium:"".concat(nO,"--height-medium"),full:"".concat(nO,"--height-full")},size:{s:"".concat(nO,"--s"),m:"".concat(nO,"--m"),l:"".concat(nO,"--l"),xl:"".concat(nO,"--xl")},header:"".concat(nO,"__header"),headerText:"".concat(nO,"__header-text"),headerTitle:"".concat(nO,"__header-title"),headerSubtitle:"".concat(nO,"__header-subtitle"),closeIcon:"".concat(nO,"__close-icon"),backButton:"".concat(nO,"__back-button"),backButtonText:"".concat(nO,"__back-button-text"),headerStates:{centered:"".concat(nO,"__header--centered"),withLongBtn:"".concat(nO,"__header--with-long-btn"),defaultHeight:"".concat(nO,"__header--default-height")},content:"".concat(nO,"__content"),withoutPadding:"".concat(nO,"__content--without-padding"),withScroll:"".concat(nO,"__content--with-scroll"),footer:"".concat(nO,"__footer"),footerContainer:"".concat(nO,"__footer-container"),footerBtn:"".concat(nO,"__footer-btn"),footerDescription:"".concat(nO,"__footer-description"),divider:"".concat(nO,"__divider"),dividerTop:"".concat(nO,"__divider--top"),dividerBottom:"".concat(nO,"__divider--bottom")}),nR=e=>{let{primaryBtnText:t,onPrimary:n,secondaryBtnText:i,onSecondary:a,thirdBtnText:r,onThird:s,description:o,children:c,noContent:u,dataQa:p}=e;return(0,l.jsxs)("div",{"data-qa":(0,g.g)("".concat(p,"-footer"),!!p),className:(0,v.Z)(nN.footer,{[nN.noContent]:u}),children:[!u&&(0,l.jsx)("div",{className:(0,v.Z)(nN.divider,nN.dividerTop)}),c||(0,l.jsxs)("div",{className:nN.footerContainer,children:[r&&(0,l.jsx)(M.B,{dataQa:(0,g.g)("".concat(p,"-footer-third-btn"),!!p),label:r,variant:"secondary",size:"s",className:nN.footerBtn,onClick:s}),i&&(0,l.jsx)(M.B,{dataQa:(0,g.g)("".concat(p,"-footer-secondary-btn"),!!p),label:i,variant:"secondary",size:"s",className:nN.footerBtn,onClick:a}),t&&(0,l.jsx)(M.B,{dataQa:(0,g.g)("".concat(p,"-footer-primary-btn"),!!p),label:t,size:"s",className:nN.footerBtn,onClick:n})]}),o&&(0,l.jsx)("span",{"data-qa":(0,g.g)("".concat(p,"-footer-description"),!!p),className:nN.footerDescription,children:o})]})},nF=e=>{let{text:t,title:n,subtitle:i,align:a="left",backBtnVariant:r,onBack:s,onClose:o,noContent:c,dataQa:u,withoutCloseBtn:p=!1}=e;return(0,l.jsxs)("div",{"data-qa":(0,g.g)("".concat(u,"-header"),!!u),className:(0,v.Z)(nN.header,{[nN.headerStates.centered]:"center"===a||!!r,[nN.headerStates.withLongBtn]:"long"===r,[nN.headerStates.defaultHeight]:!t&&!n&&!i}),children:[t&&(0,l.jsx)("span",{"data-qa":(0,g.g)("".concat(u,"-header-text"),!!u),className:nN.headerText,children:t}),n&&(0,l.jsx)("span",{"data-qa":(0,g.g)("".concat(u,"-header-title"),!!u),className:nN.headerTitle,children:n}),i&&(0,l.jsx)("span",{"data-qa":(0,g.g)("".concat(u,"-header-subtitle"),!!u),className:nN.headerSubtitle,children:i}),!p&&(0,l.jsx)("button",{"data-qa":(0,g.g)("".concat(u,"-header-close"),!!u),type:"button",className:nN.closeIcon,onClick:o,children:(0,l.jsx)(I.P,{children:(0,l.jsx)(V,{})})}),r&&(0,l.jsxs)("button",{"data-qa":(0,g.g)("".concat(u,"-header-back"),!!u),type:"button",className:nN.backButton,onClick:s,children:[(0,l.jsx)(I.P,{children:(0,l.jsx)(ee.S,{})}),"long"===r&&(0,l.jsx)("span",{className:nN.backButtonText,children:"Назад"})]}),!c&&(0,l.jsx)("div",{className:(0,v.Z)(nN.divider,nN.dividerBottom)})]})},nD=(0,c.forwardRef)((e,t)=>{let{header:n,footer:i,open:a=!1,size:r="m",noPadding:s=!1,height:o="full",onClose:u,children:p,className:h,style:f,dataQa:m,dataId:x,dismissDisabled:b=!1,...y}=e,[w,_]=(0,c.useState)(!1),[k,C]=(0,c.useState)(!1),E=(0,c.useRef)(null);(0,c.useEffect)(()=>()=>{E.current&&cancelAnimationFrame(E.current)},[]),(0,c.useEffect)(()=>{if(E.current&&cancelAnimationFrame(E.current),a)return _(!0),E.current=requestAnimationFrame(()=>{requestAnimationFrame(()=>{C(!0)})}),()=>{E.current&&cancelAnimationFrame(E.current)};{C(!1);let e=setTimeout(()=>{_(!1)},300);return()=>{clearTimeout(e),E.current&&cancelAnimationFrame(E.current)}}},[a]);let j=()=>{C(!1);let e=setTimeout(()=>{null==u||u(),_(!1)},300);return()=>clearTimeout(e)},{context:M}=(0,d.YF)({open:w,onOpenChange:e=>{e||j()}}),S=(0,d.bQ)(M,{outsidePressEvent:"mousedown",outsidePress:!b,escapeKey:!b}),T=(0,d.qs)(M,{role:"dialog"}),{getFloatingProps:A}=(0,d.NI)([S,T]),[O,N]=(0,c.useState)(!1),R=(0,c.useCallback)(e=>{e&&new ResizeObserver(()=>{N(e.scrollHeight>e.clientHeight)}).observe(e)},[]);return w?(0,l.jsx)(d.ll,{id:"finkit-modals",children:(0,l.jsx)(d.y0,{lockScroll:!0,className:(0,v.Z)(nN.overlay,{[nN.overlayOpen]:k}),children:(0,l.jsx)(d.wD,{context:M,children:(0,l.jsxs)("div",{ref:t,className:(0,v.Z)(nN.modal,nN.size[r],nN.height[o],{[nN.withoutFooter]:!(null==i?void 0:i.primaryBtnText)&&!(null==i?void 0:i.children),[nN.open]:k},h),style:f,...A(),...y,"data-id":x,"data-qa":m,children:[(0,l.jsx)(nF,{...n,dataQa:m,noContent:!p,onClose:j}),p&&(0,l.jsx)("div",{"data-qa":(0,g.g)("".concat(m,"-content"),!!m),ref:R,className:(0,v.Z)(nN.content,{[nN.withoutFooter]:!(null==i?void 0:i.primaryBtnText)&&!(null==i?void 0:i.children),[nN.withoutPadding]:s,[nN.withScroll]:O}),children:p}),((null==i?void 0:i.primaryBtnText)||(null==i?void 0:i.children))&&(0,l.jsx)(nR,{...i,dataQa:m,noContent:!p})]})})})}):null});nD.displayName="Modal",(0,x.g)("select");let nI=e=>{let{children:t,...n}=e,i=function(){let{placement:e="bottom",width:t="auto",desktopMaxHeight:n,mobileFullHeight:i=!1,title:a,description:r,opened:s,onToggle:o,heading:l,footer:u,dataQa:p,dataId:h}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[v,g]=(0,c.useState)(!1),x=null!=s?s:v,b=null!=o?o:g,y=(0,d.YF)({open:x,onOpenChange:b,placement:e,whileElementsMounted:f.Me,middleware:[(0,m.cv)(8),(0,m.RR)({fallbackAxisSideDirection:"none"}),(0,m.uY)({crossAxis:!1,padding:8})]});return(0,c.useMemo)(()=>({open:x,setOpen:b,...y,width:t,desktopMaxHeight:n,title:a,description:r,heading:l,footer:u,mobileFullHeight:i,dataQa:p,dataId:h}),[x,b,y,t,n,a,r,l,u,i,p,h])}(n);return(0,l.jsx)(nZ.Provider,{value:i,children:t})};nI.displayName="Dropdown";let nL=(0,x.g)("dropdown"),nP=Object.freeze({dropdown:nL,overlay:"".concat(nL,"__overlay"),mobileHeading:"".concat(nL,"__mobile-heading"),heading:"".concat(nL,"__heading"),title:"".concat(nL,"__title"),description:"".concat(nL,"__description"),content:"".concat(nL,"__content"),contentInner:"".concat(nL,"__content-inner"),footer:"".concat(nL,"__footer"),close:"".concat(nL,"__close"),closeIcon:"".concat(nL,"__close-icon"),states:{auto:"".concat(nL,"--auto"),fullHeight:"".concat(nL,"--full-height")}}),nz=(0,c.forwardRef)((e,t)=>{var n,i;let{style:a,contentInnerRef:r,...s}=e,{open:o,context:u,width:p,floatingStyles:h,refs:f,heading:m,title:x,description:b,footer:y,desktopMaxHeight:w,mobileFullHeight:_,dataQa:k,dataId:C,setOpen:E}=nB(),j=(0,d.qq)([f.setFloating,t]),M=(0,c.useRef)(null),S=tW("s"),{isMounted:T,styles:A}=(0,d.Y_)(u,{initial:{opacity:.2,transform:S?"translate(0, 0)":"translate(0, 100%)"},open:{opacity:1,transform:"translate(0, 0)"},duration:{open:300,close:100}});if((0,c.useEffect)(()=>{let e=e=>{let{target:t}=e;!o||[M.current,f.reference.current].some(e=>e===t||e&&e.contains(t))||E(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[o,f.reference,E]),!T)return null;let O=(0,l.jsxs)("div",{ref:M,className:(0,v.Z)(nP.dropdown,{[nP.states.fullHeight]:_}),role:S?"popup":"dialog","aria-modal":!S,"data-id":C,"data-qa":k,style:A,children:[(0,l.jsx)(nV,{title:x,description:b,heading:m,isDesktop:S,setOpen:E,"data-qa":(0,g.g)("".concat(k,"-header"),!!k)}),(0,l.jsx)("div",{...s,className:nP.content,"data-qa":(0,g.g)("".concat(k,"-content"),!!k),children:(0,l.jsx)("div",{className:nP.contentInner,style:{maxHeight:S?w:void 0},ref:r,children:s.children})}),(0,l.jsx)(n$,{"data-qa":(0,g.g)("".concat(k,"-header"),!!k),footer:y})]});if(S){let e;return"inherit"===p?e=null==(i=null==(n=null==f?void 0:f.reference)?void 0:n.current)?void 0:i.clientWidth:"auto"===p?e=void 0:"number"==typeof p&&(e=p),(0,l.jsx)("div",{className:(0,v.Z)(nP.overlay,{[nP.states.auto]:"auto"===p}),style:{...a,...h,...void 0!==e&&{width:e}},ref:j,children:O})}return(0,l.jsx)(d.ll,{id:"finkit-dropdown",children:(0,l.jsx)(d.y0,{lockScroll:!0,className:(0,v.Z)(nP.overlay,{[nP.states.auto]:"auto"===p}),style:a,ref:j,children:O})})});nz.displayName="DropdownContent";let nZ=(0,c.createContext)(null),nB=()=>{let e=(0,c.useContext)(nZ);if(null===e)throw Error("Dropdown components must be wrapped in <Dropdown />");return e},n$=e=>{let{footer:t,...n}=e;return t?(0,l.jsx)("div",{...n,className:nP.footer,children:t}):null};n$.displayName="DropdownFooter";let nV=e=>{let{title:t,description:n,heading:i,isDesktop:a,setOpen:r,...s}=e,o=(0,c.useMemo)(()=>i||(a&&(t||n)?(0,l.jsxs)(l.Fragment,{children:[t&&(0,l.jsx)("div",{className:nP.title,children:t}),n&&(0,l.jsx)("div",{className:nP.description,children:n})]}):null),[n,i,a,t]);return(0,l.jsxs)(l.Fragment,{children:[!a&&(0,l.jsxs)("div",{...s,className:nP.mobileHeading,children:[t&&(0,l.jsx)("div",{className:nP.title,children:t}),n&&(0,l.jsx)("div",{className:nP.description,children:n}),(0,l.jsx)("button",{className:nP.close,type:"button",tabIndex:-1,"aria-label":"Закрыть окно",onClick:()=>r(!1),children:(0,l.jsx)(I.P,{"aria-hidden":"true",className:nP.closeIcon,style:{display:"inline-flex"},children:(0,l.jsx)(V,{})})})]}),o&&(0,l.jsx)("div",{...s,className:nP.heading,children:o})]})};nV.displayName="DropdownHeader";let nU=(0,c.forwardRef)(function(e,t){let{children:n,asChild:i=!1,disabled:a,...r}=e,{refs:s,open:o,setOpen:u}=nB(),p=n.ref,h=(0,d.qq)([s.setReference,t,p]),f=(0,c.useCallback)(()=>{a||u(!o)},[a,o,u]);return i&&(0,c.isValidElement)(n)?(0,c.cloneElement)(n,{ref:h,disabled:a,onClick:f,...r,...n.props}):(0,l.jsx)("button",{ref:h,onClick:f,disabled:a,...r,type:"button",children:n})});function nq(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}nU.displayName="DropdownTrigger";let nW=nq(),nH=/[&<>"']/,nY=RegExp(nH.source,"g"),nG=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,nK=RegExp(nG.source,"g"),nQ={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},nX=e=>nQ[e];function nJ(e,t){if(t){if(nH.test(e))return e.replace(nY,nX)}else if(nG.test(e))return e.replace(nK,nX);return e}let n0=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,n1=/(^|[^\[])\^/g;function n2(e,t){let n="string"==typeof e?e:e.source;t=t||"";let i={replace:(e,t)=>{let a="string"==typeof t?t:t.source;return a=a.replace(n1,"$1"),n=n.replace(e,a),i},getRegex:()=>new RegExp(n,t)};return i}function n3(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}let n4={exec:()=>null};function n5(e,t){let n=e.replace(/\|/g,(e,t,n)=>{let i=!1,a=t;for(;--a>=0&&"\\"===n[a];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("")}for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n}function n7(e,t,n){let i=e.length;if(0===i)return"";let a=0;for(;a<i;){let r=e.charAt(i-a-1);if(r!==t||n){if(r!==t&&n)a++;else break}else a++}return e.slice(0,i-a)}function n6(e,t,n,i){let a=t.href,r=t.title?nJ(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;let e={type:"link",raw:n,href:a,title:r,text:s,tokens:i.inlineTokens(s)};return i.state.inLink=!1,e}return{type:"image",raw:n,href:a,title:r,text:nJ(s)}}class n8{options;rules;lexer;constructor(e){this.options=e||nW}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:n7(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t){let n=e.match(/^(\s+)(?:```)/);if(null===n)return t;let i=n[1];return t.split("\n").map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[n]=t;return n.length>=i.length?e.slice(i.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=n7(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=t[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n    $1");e=n7(e.replace(/^ *>[ \t]?/gm,""),"\n");let n=this.lexer.state.top;this.lexer.state.top=!0;let i=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:i,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),i=n.length>1,a={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");let r=RegExp(`^( {0,3}${n})((?:[	 ][^\\n]*)?(?:\\n|$))`),s="",o="",l=!1;for(;e;){let n,i=!1;if(!(t=r.exec(e))||this.rules.block.hr.test(e))break;s=t[0],e=e.substring(s.length);let c=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),u=e.split("\n",1)[0],p=0;this.options.pedantic?(p=2,o=c.trimStart()):(p=(p=t[2].search(/[^ ]/))>4?1:p,o=c.slice(p),p+=t[1].length);let h=!1;if(!c&&/^ *$/.test(u)&&(s+=u+"\n",e=e.substring(u.length+1),i=!0),!i){let t=RegExp(`^ {0,${Math.min(3,p-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),n=RegExp(`^ {0,${Math.min(3,p-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=RegExp(`^ {0,${Math.min(3,p-1)}}(?:\`\`\`|~~~)`),a=RegExp(`^ {0,${Math.min(3,p-1)}}#`);for(;e;){let r=e.split("\n",1)[0];if(u=r,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),i.test(u)||a.test(u)||t.test(u)||n.test(e))break;if(u.search(/[^ ]/)>=p||!u.trim())o+="\n"+u.slice(p);else{if(h||c.search(/[^ ]/)>=4||i.test(c)||a.test(c)||n.test(c))break;o+="\n"+u}h||u.trim()||(h=!0),s+=r+"\n",e=e.substring(r.length+1),c=u.slice(p)}}!a.loose&&(l?a.loose=!0:/\n *\n *$/.test(s)&&(l=!0));let d=null;this.options.gfm&&(d=/^\[[ xX]\] /.exec(o))&&(n="[ ] "!==d[0],o=o.replace(/^\[[ xX]\] +/,"")),a.items.push({type:"list_item",raw:s,task:!!d,checked:n,loose:!1,text:o,tokens:[]}),a.raw+=s}a.items[a.items.length-1].raw=s.trimEnd(),a.items[a.items.length-1].text=o.trimEnd(),a.raw=a.raw.trimEnd();for(let e=0;e<a.items.length;e++)if(this.lexer.state.top=!1,a.items[e].tokens=this.lexer.blockTokens(a.items[e].text,[]),!a.loose){let t=a.items[e].tokens.filter(e=>"space"===e.type),n=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw));a.loose=n}if(a.loose)for(let e=0;e<a.items.length;e++)a.items[e].loose=!0;return a}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:i}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;let n=n5(t[1]),i=t[2].replace(/^\||\| *$/g,"").split("|"),a=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],r={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===i.length){for(let e of i)/^ *-+: *$/.test(e)?r.align.push("right"):/^ *:-+: *$/.test(e)?r.align.push("center"):/^ *:-+ *$/.test(e)?r.align.push("left"):r.align.push(null);for(let e of n)r.header.push({text:e,tokens:this.lexer.inline(e)});for(let e of a)r.rows.push(n5(e,r.header.length).map(e=>({text:e,tokens:this.lexer.inline(e)})));return r}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:nJ(t[1])}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;let t=n7(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let n=0;for(let t=0;t<e.length;t++)if("\\"===e[t])t++;else if("("===e[t])n++;else if(")"===e[t]&&--n<0)return t;return -1}(t[2],"()");if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],i="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],i=e[3])}else i=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),n6(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return n6(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!(!i||i[3]&&n.match(/[\p{L}\p{N}]/u))&&(!(i[1]||i[2])||!n||this.rules.inline.punctuation.exec(n))){let n=[...i[0]].length-1,a,r,s=n,o=0,l="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(i=l.exec(t));){if(!(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6]))continue;if(r=[...a].length,i[3]||i[4]){s+=r;continue}if((i[5]||i[6])&&n%3&&!((n+r)%3)){o+=r;continue}if((s-=r)>0)continue;r=Math.min(r,r+s+o);let t=[...i[0]][0].length,l=e.slice(0,n+i.index+t+r);if(Math.min(n,r)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),n=/[^ ]/.test(e),i=/^ /.test(e)&&/ $/.test(e);return n&&i&&(e=e.substring(1,e.length-1)),e=nJ(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return n="@"===t[2]?"mailto:"+(e=nJ(t[1])):e=nJ(t[1]),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])n="mailto:"+(e=nJ(t[0]));else{let i;do i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(i!==t[0]);e=nJ(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:nJ(t[0]),{type:"text",raw:t[0],text:e}}}}let n9=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ie=/(?:[*+-]|\d{1,9}[.)])/,it=n2(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,ie).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),ii=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ia=/(?!\s*\])(?:\\.|[^\[\]\\])+/,ir=n2(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",ia).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),is=n2(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ie).getRegex(),io="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",il=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ic=n2("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",il).replace("tag",io).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),iu=n2(ii).replace("hr",n9).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",io).getRegex(),ip={blockquote:n2(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",iu).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:ir,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:n9,html:ic,lheading:it,list:is,newline:/^(?: *(?:\n|$))+/,paragraph:iu,table:n4,text:/^[^\n]+/},ih=n2("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",n9).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",io).getRegex(),id={...ip,table:ih,paragraph:n2(ii).replace("hr",n9).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ih).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",io).getRegex()},im={...ip,html:n2("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",il).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:n4,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:n2(ii).replace("hr",n9).replace("heading"," *#{1,6} *[^\n]").replace("lheading",it).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},iv=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ig=/^( {2,}|\\)\n(?!\s*$)/,ix="\\p{P}\\p{S}",ib=n2(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,ix).getRegex(),iy=n2(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,ix).getRegex(),iw=n2("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,ix).getRegex(),i_=n2("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,ix).getRegex(),ik=n2(/\\([punct])/,"gu").replace(/punct/g,ix).getRegex(),iC=n2(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),iE=n2(il).replace("(?:-->|$)","-->").getRegex(),ij=n2("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",iE).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),iM=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,iS=n2(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",iM).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),iT=n2(/^!?\[(label)\]\[(ref)\]/).replace("label",iM).replace("ref",ia).getRegex(),iA=n2(/^!?\[(ref)\](?:\[\])?/).replace("ref",ia).getRegex(),iO=n2("reflink|nolink(?!\\()","g").replace("reflink",iT).replace("nolink",iA).getRegex(),iN={_backpedal:n4,anyPunctuation:ik,autolink:iC,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:ig,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:n4,emStrongLDelim:iy,emStrongRDelimAst:iw,emStrongRDelimUnd:i_,escape:iv,link:iS,nolink:iA,punctuation:ib,reflink:iT,reflinkSearch:iO,tag:ij,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:n4},iR={...iN,link:n2(/^!?\[(label)\]\((.*?)\)/).replace("label",iM).getRegex(),reflink:n2(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",iM).getRegex()},iF={...iN,escape:n2(iv).replace("])","~|])").getRegex(),url:n2(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},iD={...iF,br:n2(ig).replace("{2,}","*").getRegex(),text:n2(iF.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},iI={normal:ip,gfm:id,pedantic:im},iL={normal:iN,gfm:iF,breaks:iD,pedantic:iR};class iP{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||nW,this.options.tokenizer=this.options.tokenizer||new n8,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={block:iI.normal,inline:iL.normal};this.options.pedantic?(t.block=iI.pedantic,t.inline=iL.pedantic):this.options.gfm&&(t.block=iI.gfm,this.options.breaks?t.inline=iL.breaks:t.inline=iL.gfm),this.tokenizer.rules=t}static get rules(){return{block:iI,inline:iL}}static lex(e,t){return new iP(t).lex(e)}static lexInline(e,t){return new iP(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[]){let n,i,a,r;for(e=this.options.pedantic?e.replace(/\t/g,"    ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(e,t,n)=>t+"    ".repeat(n.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),(i=t[t.length-1])&&("paragraph"===i.type||"text"===i.type)?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);continue}if((n=this.tokenizer.fences(e))||(n=this.tokenizer.heading(e))||(n=this.tokenizer.hr(e))||(n=this.tokenizer.blockquote(e))||(n=this.tokenizer.list(e))||(n=this.tokenizer.html(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),(i=t[t.length-1])&&("paragraph"===i.type||"text"===i.type)?(i.raw+="\n"+n.raw,i.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if((n=this.tokenizer.table(e))||(n=this.tokenizer.lheading(e))){e=e.substring(n.raw.length),t.push(n);continue}if(a=e,this.options.extensions&&this.options.extensions.startBlock){let t,n=1/0,i=e.slice(1);this.options.extensions.startBlock.forEach(e=>{"number"==typeof(t=e.call({lexer:this},i))&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(a=e.substring(0,n+1))}if(this.state.top&&(n=this.tokenizer.paragraph(a))){i=t[t.length-1],r&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n),r=a.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,i,a,r,s,o;let l=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,r.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(s||(o=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if((n=this.tokenizer.emStrong(e,l,o))||(n=this.tokenizer.codespan(e))||(n=this.tokenizer.br(e))||(n=this.tokenizer.del(e))||(n=this.tokenizer.autolink(e))||!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}if(a=e,this.options.extensions&&this.options.extensions.startInline){let t,n=1/0,i=e.slice(1);this.options.extensions.startInline.forEach(e=>{"number"==typeof(t=e.call({lexer:this},i))&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(a=e.substring(0,n+1))}if(n=this.tokenizer.inlineText(a)){e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(o=n.raw.slice(-1)),s=!0,(i=t[t.length-1])&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class iz{options;constructor(e){this.options=e||nW}code(e,t,n){let i=(t||"").match(/^\S*/)?.[0];return(e=e.replace(/\n$/,"")+"\n",i)?'<pre><code class="language-'+nJ(i)+'">'+(n?e:nJ(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:nJ(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>
${e}</blockquote>
`}html(e,t){return e}heading(e,t,n){return`<h${t}>${e}</h${t}>
`}hr(){return"<hr>\n"}list(e,t,n){let i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"}listitem(e,t,n){return`<li>${e}</li>
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>
`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>
${e}</tr>
`}tablecell(e,t){let n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>
`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){let i=n3(e);if(null===i)return n;let a='<a href="'+(e=i)+'"';return t&&(a+=' title="'+t+'"'),a+=">"+n+"</a>"}image(e,t,n){let i=n3(e);if(null===i)return n;e=i;let a=`<img src="${e}" alt="${n}"`;return t&&(a+=` title="${t}"`),a+=">"}text(e){return e}}class iZ{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class iB{options;renderer;textRenderer;constructor(e){this.options=e||nW,this.options.renderer=this.options.renderer||new iz,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new iZ}static parse(e,t){return new iB(t).parse(e)}static parseInline(e,t){return new iB(t).parseInline(e)}parse(e,t=!0){let n="";for(let i=0;i<e.length;i++){let a=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){let e=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){n+=e||"";continue}}switch(a.type){case"space":continue;case"hr":n+=this.renderer.hr();continue;case"heading":n+=this.renderer.heading(this.parseInline(a.tokens),a.depth,this.parseInline(a.tokens,this.textRenderer).replace(n0,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""));continue;case"code":n+=this.renderer.code(a.text,a.lang,!!a.escaped);continue;case"table":{let e="",t="";for(let e=0;e<a.header.length;e++)t+=this.renderer.tablecell(this.parseInline(a.header[e].tokens),{header:!0,align:a.align[e]});e+=this.renderer.tablerow(t);let i="";for(let e=0;e<a.rows.length;e++){let n=a.rows[e];t="";for(let e=0;e<n.length;e++)t+=this.renderer.tablecell(this.parseInline(n[e].tokens),{header:!1,align:a.align[e]});i+=this.renderer.tablerow(t)}n+=this.renderer.table(e,i);continue}case"blockquote":{let e=this.parse(a.tokens);n+=this.renderer.blockquote(e);continue}case"list":{let e=a.ordered,t=a.start,i=a.loose,r="";for(let e=0;e<a.items.length;e++){let t=a.items[e],n=t.checked,s=t.task,o="";if(t.task){let e=this.renderer.checkbox(!!n);i?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=e+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=e+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",text:e+" "}):o+=e+" "}o+=this.parse(t.tokens,i),r+=this.renderer.listitem(o,s,!!n)}n+=this.renderer.list(r,e,t);continue}case"html":n+=this.renderer.html(a.text,a.block);continue;case"paragraph":n+=this.renderer.paragraph(this.parseInline(a.tokens));continue;case"text":{let r=a,s=r.tokens?this.parseInline(r.tokens):r.text;for(;i+1<e.length&&"text"===e[i+1].type;)s+="\n"+((r=e[++i]).tokens?this.parseInline(r.tokens):r.text);n+=t?this.renderer.paragraph(s):s;continue}default:{let e='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let i=0;i<e.length;i++){let a=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){let e=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){n+=e||"";continue}}switch(a.type){case"escape":case"text":n+=t.text(a.text);break;case"html":n+=t.html(a.text);break;case"link":n+=t.link(a.href,a.title,this.parseInline(a.tokens,t));break;case"image":n+=t.image(a.href,a.title,a.text);break;case"strong":n+=t.strong(this.parseInline(a.tokens,t));break;case"em":n+=t.em(this.parseInline(a.tokens,t));break;case"codespan":n+=t.codespan(a.text);break;case"br":n+=t.br();break;case"del":n+=t.del(this.parseInline(a.tokens,t));break;default:{let e='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}}class i${options;constructor(e){this.options=e||nW}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}class iV{defaults=nq();options=this.setOptions;parse=this.#e(iP.lex,iB.parse);parseInline=this.#e(iP.lexInline,iB.parseInline);Parser=iB;Renderer=iz;TextRenderer=iZ;Lexer=iP;Tokenizer=n8;Hooks=i$;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let i of e)switch(n=n.concat(t.call(this,i)),i.type){case"table":for(let e of i.header)n=n.concat(this.walkTokens(e.tokens,t));for(let e of i.rows)for(let i of e)n=n.concat(this.walkTokens(i.tokens,t));break;case"list":n=n.concat(this.walkTokens(i.items,t));break;default:{let e=i;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(i=>{let a=e[i].flat(1/0);n=n.concat(this.walkTokens(a,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let i=e.renderer.apply(this,t);return!1===i&&(i=n.apply(this,t)),i}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new iz(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if("options"===n)continue;let i=e.renderer[n],a=t[n];t[n]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=a.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new n8(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let i=e.tokenizer[n],a=t[n];t[n]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new i$;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if("options"===n)continue;let i=e.hooks[n],a=t[n];i$.passThroughHooks.has(n)?t[n]=e=>{if(this.defaults.async)return Promise.resolve(i.call(t,e)).then(e=>a.call(t,e));let n=i.call(t,e);return a.call(t,n)}:t[n]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,i=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(i.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return iP.lex(e,t??this.defaults)}parser(e,t){return iB.parse(e,t??this.defaults)}#e(e,t){return(n,i)=>{let a={...i},r={...this.defaults,...a};!0===this.defaults.async&&!1===a.async&&(r.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),r.async=!0);let s=this.#t(!!r.silent,!!r.async);if(null==n)return s(Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return s(Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(r.hooks&&(r.hooks.options=r),r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(n):n).then(t=>e(t,r)).then(e=>r.hooks?r.hooks.processAllTokens(e):e).then(e=>r.walkTokens?Promise.all(this.walkTokens(e,r.walkTokens)).then(()=>e):e).then(e=>t(e,r)).then(e=>r.hooks?r.hooks.postprocess(e):e).catch(s);try{r.hooks&&(n=r.hooks.preprocess(n));let i=e(n,r);r.hooks&&(i=r.hooks.processAllTokens(i)),r.walkTokens&&this.walkTokens(i,r.walkTokens);let a=t(i,r);return r.hooks&&(a=r.hooks.postprocess(a)),a}catch(e){return s(e)}}}#t(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+nJ(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}}let iU=new iV;function iq(e,t){return iU.parse(e,t)}iq.options=iq.setOptions=function(e){return iU.setOptions(e),iq.defaults=iU.defaults,nW=iq.defaults,iq},iq.getDefaults=nq,iq.defaults=nW,iq.use=function(...e){return iU.use(...e),iq.defaults=iU.defaults,nW=iq.defaults,iq},iq.walkTokens=function(e,t){return iU.walkTokens(e,t)},iq.parseInline=iU.parseInline,iq.Parser=iB,iq.parser=iB.parse,iq.Renderer=iz,iq.TextRenderer=iZ,iq.Lexer=iP,iq.lexer=iP.lex,iq.Tokenizer=n8,iq.Hooks=i$,iq.parse=iq,iq.options,iq.setOptions,iq.use,iq.walkTokens,iq.parseInline,iB.parse,iP.lex,n(96434).Buffer,Object.freeze({643:"RUB",840:"USD",978:"EUR",36:"AUD",944:"AZN",826:"GBP",51:"AMD",933:"BYN",975:"BGN",986:"BRL",348:"HUF",704:"VND",344:"HKD",981:"GEL",208:"DKK",784:"AED",818:"EGP",356:"INR",360:"IDR",398:"KZT",124:"CAD",634:"QAR",417:"KGS",156:"CNY",498:"MDL",554:"NZD",578:"NOK",985:"PLN",946:"RON",960:"XDR",702:"SGD",972:"TJS",764:"THB",949:"TRY",934:"TMT",860:"UZS",980:"UAH",203:"CZK",752:"SEK",756:"CHF",941:"RSD",710:"ZAR",410:"KRW",392:"JPY"});let iW=Object.freeze({RUB:"₽",USD:"$",EUR:"€",AUD:"AU$",AZN:"₼",GBP:"\xa3",AMD:"֏",BYN:"Br",BGN:"лв",BRL:"R$",HUF:"Ft",VND:"₫",HKD:"HK$",GEL:"₾",DKK:"kr",AED:"د.إ.",EGP:"E\xa3",INR:"₹",IDR:"Rp",KZT:"₸",CAD:"CA$",QAR:"ر.ق.",KGS:"с",CNY:"CN\xa5",MDL:"L",NZD:"NZ$",NOK:"kr",PLN:"zł",RON:"L",XDR:"XDR",SGD:"S$",TJS:"SM",THB:"฿",TRY:"₺",TMT:"T",UZS:"сум",UAH:"₴",CZK:"Kč",SEK:"kr",CHF:"₣",RSD:"дин",ZAR:"R",KRW:"₩",JPY:"\xa5"});(r=s||(s={})).Pending="pending",r.Success="success";let iH={decimalCount:2,decimalSeparator:",",thousandsSeparator:"\xa0",decimalIsWithoutZeros:!0,preventLargeNumbers:!1};(o||(o={})).PERSISTENT_STATE="persistentState";let iY=Object.freeze(Object.keys(Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})})));function iG(e){return`finkit-${e}`}Object.freeze(iY.filter(e=>"xs"!==e)),Object.freeze(iY.filter(e=>"3xl"!==e));let iK=Object.freeze({privateIcon:iG("private-icon")}),iQ={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"},iX=iG("caption");Object.freeze({caption:iX,captionWithIcon:`${iX}--with-icon`,content:`${iX}__content`,icon:`${iX}__icon`,text:`${iX}__text`,size:{s:`${iX}--s`,m:`${iX}--m`},states:{success:`${iX}--success`,error:`${iX}--error`,warning:`${iX}--warning`}}),iG("card");let iJ=iG("col");Object.freeze({col:iJ,state:{size:(e,t)=>!0===t?`${iJ}--${e}`:`${iJ}--${e}-${t}`,offsetLeft:(e,t)=>`${iJ}--${e}-offset-left-${t}`,offsetRight:(e,t)=>`${iJ}--${e}-offset-right-${t}`}});let i0=iG("container");Object.freeze({container:i0,states:{narrow:`${i0}--narrow`}});let i1=iG("divider");Object.freeze({divider:i1,content:`${i1}__content`});let i2=iG("form-field");Object.freeze({formField:i2,labelWrapper:`${i2}__label-wrapper`,label:`${i2}__label`,description:`${i2}__description`});let i3=iG("heading");Object.freeze({heading:i3,states:Object.freeze({display:`${i3}--display`,hero:`${i3}--hero`,h1:`${i3}--h1`,h2:`${i3}--h2`,h3:`${i3}--h3`,h4:`${i3}--h4`,h5:`${i3}--h5`,h6:`${i3}--h6`})});let i4=iG("loader");Object.freeze({loader:i4,variant:{primary:`${i4}--primary`,purple:`${i4}--purple`,accent:`${i4}--accent`,white:`${i4}--white`},size:{s:`${i4}--s`,m:`${i4}--m`,l:`${i4}--l`}});let i5=iG("progress-bar");Object.freeze({progressBar:i5,rounded:`${i5}-rounded`,indicator:`${i5}__indicator`,text:`${i5}__text`,animationCircle:`${i5}__animation-circle`});let i7=iG("row"),i6=(e,t,n)=>`${i7}--gutter-${e}-${t}-${n}`;Object.freeze({row:i7,state:{reverse:`${i7}--reverse`,gutter:(e,t="xs")=>Array.isArray(e)?[i6(t,e[0],"h"),i6(t,e[1],"v")].join(" "):i6(t,e,"h")}});let i8=iG("skeleton");Object.freeze({skeleton:i8,states:{inline:`${i8}--inline`,rounded:`${i8}--rounded`,inverted:`${i8}--inverted`,suspend:`${i8}--suspend`}});let i9=Object.freeze({text:iG("text")});function ae({as:e,className:t,style:n,children:i,size:a,weight:r,fontFamily:s,lineClamp:o,dataQa:c,dataId:u,...p}){return(0,l.jsx)(e||"span",{className:(0,v.Z)(i9.text,t),style:{...a&&{fontSize:`var(--font-size-${a})`,lineHeight:`var(--font-line-height-${a})`},...r&&{fontWeight:`var(--font-weight-${r})`},...o&&{WebkitLineClamp:o,lineClamp:o,...iQ},...s&&{fontFamily:`var(--font-family-${s})`},...n},...p,"data-id":u,"data-qa":c,children:i})}ae.displayName="Text","function"==typeof TextDecoder&&new TextDecoder("utf-8",{ignoreBOM:!0});let at="function"==typeof TextEncoder?new TextEncoder:void 0,an=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),ai=(i={},an.forEach((e,t)=>i[e]=t),i),aa=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,ar=String.fromCharCode.bind(String),as="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),ao=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),al=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),ac="function"==typeof btoa?e=>btoa(e):e=>{let t,n,i,a,r="",s=e.length%3;for(let s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255||(a=e.charCodeAt(s++))>255)throw TypeError("invalid character found");r+=an[(t=n<<16|i<<8|a)>>18&63]+an[t>>12&63]+an[t>>6&63]+an[63&t]}return s?r.slice(0,s-3)+"===".substring(s):r},au="function"==typeof Uint8Array.prototype.toBase64?e=>e.toBase64():e=>{let t=[];for(let n=0,i=e.length;n<i;n+=4096)t.push(ar.apply(null,e.subarray(n,n+4096)));return ac(t.join(""))},ap=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?ar(192|t>>>6)+ar(128|63&t):ar(224|t>>>12&15)+ar(128|t>>>6&63)+ar(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return ar(240|t>>>18&7)+ar(128|t>>>12&63)+ar(128|t>>>6&63)+ar(128|63&t)},ah=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ad=e=>e.replace(ah,ap),af=at?e=>au(at.encode(e)):e=>ac(ad(e)),am=(e,t=!1)=>t?ao(af(e)):af(e),av=e=>am(e,!0),ag="function"==typeof atob?e=>atob(al(e)):e=>{let t,n,i;if(e=e.replace(/\s+/g,""),!aa.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let a=[];for(let r=0;r<e.length;)t=ai[e.charAt(r++)]<<18|ai[e.charAt(r++)]<<12|(n=ai[e.charAt(r++)])<<6|(i=ai[e.charAt(r++)]),64===n?a.push(ar(t>>16&255)):64===i?a.push(ar(t>>16&255,t>>8&255)):a.push(ar(t>>16&255,t>>8&255,255&t));return a.join("")};"function"==typeof Uint8Array.fromBase64||(e=>as(ag(e).split("").map(e=>e.charCodeAt(0))));var ax=n(67356);let ab={logo:"_logo_1cju4_61",mainLogo:"_mainLogo_1cju4_68",brandmarkLogo:"_brandmarkLogo_1cju4_72",divider:"_divider_1cju4_76"},ay=({s3AssetsUrl:e,className:t,withLogo:n=!1,isNewYearLogo:i=!1,dataQa:a,brandmarkCode:r})=>{if(!e)return null;let s=i?(0,E.xn)(e,"logo/finuslugi/lk-regular-new-year.svg"):(0,E.xn)(e,"logo/finuslugi/lk-regular.svg"),o=(0,E.xn)(e,`/images/logo-brandmark-bank-${r}.svg`);return(0,l.jsx)(l.Fragment,{children:n&&(0,l.jsxs)("div",{className:C(ab.logo,t),"data-qa":a,children:[(0,l.jsx)("img",{className:ab.mainLogo,src:s,alt:"Логотип"}),r&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:ab.divider}),(0,l.jsx)("img",{className:ab.brandmarkLogo,src:o,alt:"Логотип партнера"})]})]})})};ay.displayName="Logo";let aw={privateIcon:"_privateIcon_xcp32_1",autoWidth:"_autoWidth_xcp32_14"},a_=({children:e,className:t,style:n,autoWidth:i,...a})=>(0,l.jsx)("span",{className:C(t,aw.privateIcon,i&&aw.autoWidth),style:n,...a,children:e});a_.displayName="PrivateIcon";let ak={buttons:"_buttons_sr6nb_61","--disabled":"_--disabled_sr6nb_68",buttonIcons:"_buttonIcons_sr6nb_72",divider:"_divider_sr6nb_77",gridView:"_gridView_sr6nb_81",gridViewDivider:"_gridViewDivider_sr6nb_91",formView:"_formView_sr6nb_95",modalInner:"_modalInner_sr6nb_101"},aC=({buttonsData:e,disabled:t=!1,primaryTextOverride:n,additionalTextOverride:i,extraTextOverride:a,overrideLoginAction:r,onAnalyticsEvent:s,onOpen:o,linkTarget:u})=>{let{buttons:p,type:h}=e,d={primary:n,additional:i,extra:a};return p.length?(0,l.jsxs)(l.Fragment,{children:[1===p.length&&(0,l.jsx)(M.B,{dataQa:`login-widget-${h}-button`,as:r?"button":"a",...r?{}:{target:u,href:t?"#login-widget-consents":p[0].href},stretch:!0,variant:"primary"===h?"primary":"secondary",disabled:t,label:d[h]??p[0].label,iconLeft:d[h]?void 0:p[0].icon,onClick:()=>{null==s||s({eventCategory:"login-widget",eventAction:"click_button_login",eventLabel:p[0].type}),null==r||r(p[0].type)}},`button-${h}`),p.length>1&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(M.B,{dataQa:`login-widget-${h}-button`,stretch:!0,variant:"primary"===h?"primary":"secondary",disabled:t,label:d[h]?(0,l.jsx)("span",{children:d[h]}):function(e){let{maxWidth:t}=S.xs;return function(e,{defaultValue:t=!1,initializeWithValue:n=!0}={}){let[i,a]=(0,c.useState)(()=>n?N(e,t):t??!1);function r(){a(N(e))}return O(()=>{let t=window.matchMedia(e);return r(),"function"==typeof t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{"function"==typeof t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},[e]),i}(`screen and (max-width: ${t}px)`)}(0)&&p.length>5?(0,l.jsx)("span",{children:"Войти по ID"}):(0,l.jsx)("span",{className:ak.buttonIcons,children:p.map(e=>e.icon?(0,l.jsx)(a_,{style:{lineHeight:0},children:e.icon},e.type):void 0)}),onClick:()=>null==o?void 0:o(h)},`button-${h}`)})]}):null};aC.displayName="ButtonsGroup";let aE=({buttonsList:e=[],isOpen:t=!1,buttonsType:n="",overrideLoginAction:i,onAnalyticsEvent:a,onClose:r,linkTarget:s})=>{var o,u;let p=(0,c.useCallback)(e=>{null==a||a({eventCategory:"login-widget",eventAction:"click_button_login",eventLabel:e}),null==i||i(e),setTimeout(()=>null==r?void 0:r())},[]);return(0,l.jsx)(nD,{header:{title:"Выберите способ входа"},open:t,onClose:r,dataQa:"login-widget-buttons-modal",children:(0,l.jsx)("div",{className:ak.modalInner,children:null==(u=null==(o=e.find(e=>e.type===n))?void 0:o.buttons)?void 0:u.map(({type:e,href:t,caption:n,icon:a,secondaryIcon:r})=>(0,l.jsx)(M.B,{dataQa:`login-widget-buttons-modal-button-${null==e?void 0:e.toLowerCase()}`,as:i?"button":"a",...i?{}:{target:s,href:t},stretch:!0,variant:"secondary",label:n,iconLeft:r??a,onClick:()=>p(e)},`modal-button-${e}`))})})};aE.displayName="ButtonsModal";let aj=({buttonsList:e=[],disabled:t=!1,primaryTextOverride:n,additionalTextOverride:i,extraTextOverride:a,overrideLoginAction:r,onAnalyticsEvent:s,linkTarget:o})=>{let[u,p]=(0,c.useState)(!1),[h,d]=(0,c.useState)(),{primaryGroup:f,remainingGroup:m,isRemainingGroupVisible:v}=(0,c.useMemo)(()=>{let[t,...n]=e,i=n.some(({buttons:e})=>e.length);return{primaryGroup:t,remainingGroup:n,isRemainingGroupVisible:i}},[e]),g=(0,c.useCallback)(e=>{p(!0),d(e),null==s||s({eventCategory:"login-widget",eventAction:"click_popup_open",eventLabel:"popup_select_login_provider"})},[]),x=(0,c.useCallback)(()=>{p(!1),d(""),null==s||s({eventCategory:"login-widget",eventAction:"click_popup_close",eventLabel:"popup_select_login_provider"})},[]);return e.length?(0,l.jsxs)("div",{className:C(ak.buttons,{[ak["--disabled"]]:t}),"data-qa":"login-widget-buttons",children:[(0,l.jsx)(aC,{buttonsData:f,disabled:t,primaryTextOverride:n,overrideLoginAction:r,onAnalyticsEvent:s,onOpen:g,linkTarget:o}),v&&(0,l.jsxs)(l.Fragment,{children:[!!f.buttons.length&&(0,l.jsx)(j.D,{className:ak.divider,content:"или",dataQa:"login-widget-buttons-divider"}),m.map(e=>(0,l.jsx)(aC,{buttonsData:e,additionalTextOverride:i,extraTextOverride:a,disabled:t,overrideLoginAction:r,onAnalyticsEvent:s,onOpen:g,linkTarget:o},`group-${e.type}`))]}),(0,l.jsx)(aE,{buttonsList:e,buttonsType:h,isOpen:u,overrideLoginAction:r,onAnalyticsEvent:s,onClose:x,linkTarget:o})]}):null};aj.displayName="Buttons";let aM=({buttonsList:e=[],disabled:t=!1,primaryTextOverride:n,overrideLoginAction:i,onAnalyticsEvent:a,linkTarget:r})=>{let s=(0,c.useCallback)(e=>{null==a||a({eventCategory:"login-widget",eventAction:"click_button_login",eventLabel:e}),null==i||i(e)},[]),{primaryGroup:o,remainingGroup:u,isRemainingGroupVisible:p}=(0,c.useMemo)(()=>{let[t,...n]=e;return{primaryGroup:t,remainingGroup:n.reduce((e,{buttons:t})=>[...e,...t],[]),isRemainingGroupVisible:n.some(({buttons:e})=>e.length)}},[e]);return e.length?(0,l.jsxs)("div",{className:C(ak.buttons,{[ak["--disabled"]]:t}),"data-qa":"login-widget-buttons",children:[(0,l.jsx)(aC,{buttonsData:o,disabled:t,primaryTextOverride:n,overrideLoginAction:i,onAnalyticsEvent:a,linkTarget:r}),p&&(0,l.jsxs)(l.Fragment,{children:[!!o.buttons.length&&(0,l.jsx)(j.D,{className:ak.gridViewDivider,content:"или",dataQa:"login-widget-buttons-divider"}),(0,l.jsx)("div",{className:C(ak.gridView,{[ak["--disabled"]]:t}),"data-qa":"login-widget-buttons",children:u.map(e=>(0,l.jsx)(M.B,{appearance:"outline",stretch:!0,variant:"secondary",dataQa:`login-widget-${e.type}-button`,as:i?"button":"a",...i?{}:{target:r,href:e.href},disabled:t,label:(0,l.jsx)(a_,{className:ak.buttonIcons,autoWidth:!0,children:e.icon},e.type),onClick:()=>s(e.type)},`button-${e.type}`))})]})]}):null};aM.displayName="ButtonsGrid";let aS=({phone:e,onPhoneChange:t,buttonsList:n,disabled:i,primaryTextOverride:a,overrideLoginAction:r,onAnalyticsEvent:s,linkTarget:o})=>(0,l.jsxs)("div",{className:C(ak.formView),children:[(0,l.jsx)(t7,{label:"Номер телефона",maskOpts:{mask:"+{7} (000) 000-00-00"},maskPlaceholder:"+7 (900) 777-77-77",maskPlaceholderVariant:"default",onChange:t,size:"m",value:e,variant:"primary"}),(0,l.jsx)(aM,{buttonsList:n,disabled:i,primaryTextOverride:a,overrideLoginAction:r,onAnalyticsEvent:s,linkTarget:o})]});aS.displayName="PhoneViewButtons";let aT=({template:e,onLinkClick:t})=>{if(!Object.keys(e).length||!e.links)return null;let{text:n,links:i}=e,a=n.split(/(\$\d+)/);return(0,l.jsx)(l.Fragment,{children:a.map(e=>{if(e.startsWith("$")){let n=i[parseInt(e.slice(1))-1];return(0,l.jsx)("a",{href:n.href,target:"_blank",rel:"noreferrer",onClick:()=>null==t?void 0:t(n.href),children:n.text},`link--${n.text}`)}return(0,l.jsx)("span",{children:e},`text--${e}`)})})};aT.displayName="TemplateText";let aA={consents:"_consents_15mth_61",list:"_list_15mth_61",checkbox:"_checkbox_15mth_66",error:"_error_15mth_76"},aO=({consents:e=[],onAgree:t,onError:n,onAnalyticsEvent:i})=>{let[a,r]=(0,c.useState)(()=>Object.fromEntries(e.map(e=>[e.key,e.value]))),s=e.filter(e=>!e.hidden),o=s.filter(e=>e.required).some(e=>!a[e.key]);(0,c.useEffect)(()=>{t(a)},[a]),(0,c.useEffect)(()=>{n(o)},[o]);let u=(e,t)=>{r(n=>({...n,[e]:t})),null==i||i({eventCategory:"login-widget",eventAction:"click_checkbox_consent",eventLabel:`${e}_${t?"tick":"untick"}`})},p=e=>{null==i||i({eventCategory:"login-widget",eventAction:"click_link_consent",eventLabel:e})};return e.length?(0,l.jsx)("div",{id:"login-widget-consents",className:aA.consents,"data-qa":"login-widget-consents",children:(0,l.jsx)("div",{className:aA.list,"data-qa":"login-widget-consents-list",children:s.map(({key:e,title:t,required:n})=>{var i;return(0,l.jsx)(eT.C,{dataQa:`login-widget-consents-checkbox-${e}`,className:C(aA.checkbox,{[aA.error]:!a[e]&&o}),state:n&&!a[e]?"error":"default",value:a[e],onChange:t=>u(e,t),children:null!=(i=t.links)&&i.length?(0,l.jsx)(aT,{template:t,onLinkClick:p}):t.text},e)})})}):null};aO.displayName="Consents";let aN={list:"_list_1n3xe_69",item:"_item_1n3xe_77",icon:"_icon_1n3xe_91"},aR={check:(0,l.jsx)(e=>c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"a"},c.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),c.createElement("g",{clipPath:"url(#a)"},c.createElement("path",{d:"m10.53 16.53 8.25-8.25a.743.743 0 0 0 0-1.06.743.743 0 0 0-1.06 0L10 14.94l-3.72-3.72a.743.743 0 0 0-1.06 0 .743.743 0 0 0 0 1.06l4.25 4.25c.146.147.323.22.53.22a.722.722 0 0 0 .53-.22Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))),{}),cup:(0,l.jsx)(e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"a"},c.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),c.createElement("g",{clipPath:"url(#a)"},c.createElement("path",{d:"M16.619 3.039A1.748 1.748 0 0 0 16.25 3h-8.5a1.733 1.733 0 0 0-.968.292 1.757 1.757 0 0 0-.743 1.09c-.026.12-.039.242-.039.368V5H4.361c-.147 0-.256.006-.328.019-.13.023-.25.063-.36.12a1.243 1.243 0 0 0-.307.227 1.242 1.242 0 0 0-.347.667A2.058 2.058 0 0 0 3 6.361V8.75a3.249 3.249 0 0 0 .537 1.79 3.254 3.254 0 0 0 1.448 1.204 3.256 3.256 0 0 0 1.096.252 5.996 5.996 0 0 0 .39 1.34 6.009 6.009 0 0 0 1.286 1.907 6.003 6.003 0 0 0 2.94 1.616c.182.04.367.072.553.095V19.5h-4.5c-.42 0-.75.33-.75.75s.33.75.75.75h10.5c.42 0 .75-.33.75-.75s-.33-.75-.75-.75h-4.5v-2.546a5.838 5.838 0 0 0 1.586-.426 5.976 5.976 0 0 0 2.678-2.229 5.998 5.998 0 0 0 .905-2.303 3.217 3.217 0 0 0 1.622-.533 3.245 3.245 0 0 0 .922-.922A3.246 3.246 0 0 0 21 8.75V6.361c0-.147-.006-.256-.019-.328a1.241 1.241 0 0 0-1.014-1.014A2.058 2.058 0 0 0 19.639 5H18v-.25a1.746 1.746 0 0 0-.291-.967 1.743 1.743 0 0 0-.778-.645 1.738 1.738 0 0 0-.312-.1ZM7.75 4.5h8.5c.03.012.152.049.177.073.012.03.073.143.073.177V11a4.504 4.504 0 0 1-.353 1.752 4.487 4.487 0 0 1-1.686 2.017 4.496 4.496 0 0 1-4.212.378 4.472 4.472 0 0 1-1.431-.965 4.512 4.512 0 0 1-.965-1.43A4.469 4.469 0 0 1 7.5 11V4.75c.012-.03.049-.152.073-.177.025-.024.148-.06.177-.073Zm-3.25 2H6v3.983a1.73 1.73 0 0 1-.15-.029h-.001a1.744 1.744 0 0 1-1.068-.752A1.734 1.734 0 0 1 4.5 8.75V6.5Zm13.65 3.955c-.05.011-.1.02-.15.028V6.5h1.5v2.25a1.752 1.752 0 0 1-.281.952 1.76 1.76 0 0 1-1.07.753Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))),{}),shield:(0,l.jsx)(e=>c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M11.855 2c-.67 0-1.331.142-1.942.416L4.625 4.789A2.752 2.752 0 0 0 3 7.301v3.71c0 4.11 1.819 6.78 3.814 8.445a13.032 13.032 0 0 0 4.788 2.492c.261.07.533.069.792.002.68-.177 2.8-.81 4.766-2.309 1.986-1.513 3.84-3.935 3.84-7.63v-4.71a2.752 2.752 0 0 0-1.625-2.512l-5.287-2.373A4.747 4.747 0 0 0 12.145 2h-.29Zm-1.329 1.787a3.245 3.245 0 0 1 1.33-.285h.289c.458 0 .91.097 1.329.285L18.76 6.16c.45.201.739.648.739 1.14v4.712c0 3.108-1.53 5.125-3.248 6.434-1.738 1.324-3.639 1.895-4.234 2.05a.058.058 0 0 1-.031 0c-.587-.156-2.48-.745-4.212-2.192C6.065 16.875 4.5 14.608 4.5 11.01V7.3c0-.493.289-.94.739-1.141l5.287-2.373Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})),{}),"coat-of-arms":(0,l.jsx)(e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"a"},c.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),c.createElement("g",{clipPath:"url(#a)"},c.createElement("path",{d:"M10.22 3.28a.747.747 0 0 1-.165-.242A.745.745 0 0 1 10 2.75q0-.375.188-.563Q10.374 2 10.75 2h2.5c.104 0 .2.018.288.055.088.037.17.091.242.165.177.176.266.353.266.53 0 .177-.089.354-.266.53l-1.25 1.25q-.265.265-.53.265c-.177 0-.354-.088-.53-.265l-1.25-1.25ZM12 7.19l3.22-3.22a.722.722 0 0 1 .53-.22c.207 0 .384.073.53.22l1.25 1.25a.741.741 0 0 1 .22.53q0 .155-.055.288-.055.132-.165.242-.11.11-.242.165-.133.055-.288.055h-.849l-2.036 3.054.122.123c.171.17.3.36.385.566.085.206.128.43.128.671l1 .086c.083 0 .146-.02.188-.063.041-.041.062-.104.062-.187v-.25a.743.743 0 0 1 .186-.494l3.5-4a.744.744 0 0 1 .564-.256c.104 0 .2.018.288.055.088.037.17.091.242.165a.747.747 0 0 1 .165.242A.745.745 0 0 1 21 6.5v4.256c0 .69-.127 1.325-.38 1.905a4.716 4.716 0 0 1-1.138 1.575L17.26 16.3a.737.737 0 0 1-.361.185.736.736 0 0 1-.405-.03l-1.145-.416 1.712 1.711H18c.42 0 .75.33.75.75s-.33.75-.75.75h-1.25a.746.746 0 0 1-.288-.055.744.744 0 0 1-.242-.165l-2.077-2.076c-.115.08-.248.145-.396.193l2.14 3.458c.037.06.065.123.084.19q.015.05.022.102.007.05.007.103a.722.722 0 0 1-.22.53.722.722 0 0 1-.53.22h-6.5a.75.75 0 0 1-.395-.112.723.723 0 0 1-.335-.466.746.746 0 0 1-.013-.293.744.744 0 0 1 .105-.274l2.141-3.458a1.474 1.474 0 0 1-.396-.193L7.78 19.03q-.11.11-.242.165a.746.746 0 0 1-.288.055H6c-.42 0-.75-.33-.75-.75s.33-.75.75-.75h.94l1.71-1.711-1.144.416a.736.736 0 0 1-.405.03.737.737 0 0 1-.361-.185l-2.222-2.064a4.716 4.716 0 0 1-1.139-1.575Q3 11.791 3 10.756V6.5a.753.753 0 0 1 .256-.564.723.723 0 0 1 .544-.184.722.722 0 0 1 .514.254l3.5 4a.743.743 0 0 1 .174.36Q8 10.432 8 10.5v.25c0 .083.02.146.063.188.041.041.104.062.187.062h1c0-.242.043-.551.128-.758q.128-.309.385-.565l.122-.123L7.849 6.5H7a.749.749 0 0 1-.75-.75c0-.104.018-.2.055-.288a.745.745 0 0 1 .165-.242l1.25-1.25a.722.722 0 0 1 .53-.22c.207 0 .384.073.53.22L12 7.19Zm-1.425.696.899 1.348a.746.746 0 0 1-.094.946l-.557.557c-.012.03-.073.143-.073.177v.836a.722.722 0 0 1-.22.53.722.722 0 0 1-.53.22H8.25c-.583 0-1.02-.146-1.313-.438-.286-.286-.432-.713-.437-1.28l-2-2.286v2.26q0 .708.26 1.303c.173.398.432.757.779 1.078l1.885 1.752 2.32-.844a.722.722 0 0 1 .573.025.722.722 0 0 1 .388.424.744.744 0 0 1 .034.126l.008.064q.003.033.003.066v.75c0 .083.02.146.063.188.041.041.104.062.187.062h.536c.177 0 .331.053.464.16.06-.036.192-.112.259-.131a.746.746 0 0 1 .205-.029H13c.083 0 .146-.02.188-.063.041-.041.062-.104.062-.187v-.75c0-.207.073-.384.22-.53a.722.722 0 0 1 .66-.209.744.744 0 0 1 .126.034l2.32.844 1.885-1.752c.347-.321.606-.68.78-1.077.172-.397.259-.832.259-1.304v-2.26l-2 2.286c-.005.567-.151.994-.438 1.28-.291.292-.729.438-1.312.438H14a.722.722 0 0 1-.53-.22.722.722 0 0 1-.22-.53v-.836c-.012-.03-.049-.152-.073-.177l-.557-.557a.729.729 0 0 1-.216-.456.745.745 0 0 1 .122-.49l.899-1.348-.895.894A.722.722 0 0 1 12 9a.722.722 0 0 1-.53-.22l-.895-.894ZM12 17.175l-1.904 3.075h3.808L12 17.175Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))),{}),"octostar-check":(0,l.jsx)(e=>c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M10.005 2.865a2.73 2.73 0 0 1 3.99 0l.854.914c.245.262.59.405.949.393l1.25-.042a2.73 2.73 0 0 1 2.821 2.821l-.042 1.25c-.012.358.131.704.393.949l.914.854a2.73 2.73 0 0 1 0 3.99l-.914.854c-.262.245-.405.59-.393.949l.042 1.25a2.73 2.73 0 0 1-2.821 2.821l-1.25-.042a1.242 1.242 0 0 0-.949.393l-.854.914a2.73 2.73 0 0 1-3.99 0l-.854-.914a1.242 1.242 0 0 0-.949-.393l-1.25.042a2.73 2.73 0 0 1-2.821-2.821l.042-1.25a1.241 1.241 0 0 0-.393-.949l-.914-.854a2.73 2.73 0 0 1 0-3.99l.914-.854c.262-.245.405-.59.393-.949l-.042-1.25A2.73 2.73 0 0 1 6.952 4.13l1.25.042c.358.012.704-.131.949-.393l.854-.914Zm2.902 1.017a1.241 1.241 0 0 0-1.814 0l-.854.914a2.73 2.73 0 0 1-2.087.865l-1.25-.043a1.241 1.241 0 0 0-1.283 1.283l.043 1.25a2.73 2.73 0 0 1-.865 2.087l-.914.854a1.241 1.241 0 0 0 0 1.814l.914.854c.576.538.891 1.3.865 2.087l-.043 1.25a1.241 1.241 0 0 0 1.283 1.283l1.25-.043a2.731 2.731 0 0 1 2.087.865l.854.914c.49.525 1.323.525 1.814 0l.854-.914a2.731 2.731 0 0 1 2.087-.865l1.25.043a1.241 1.241 0 0 0 1.283-1.283l-.043-1.25a2.73 2.73 0 0 1 .865-2.087l.914-.854a1.241 1.241 0 0 0 0-1.814l-.914-.854a2.73 2.73 0 0 1-.865-2.087l.043-1.25a1.241 1.241 0 0 0-1.283-1.283l-1.25.043a2.73 2.73 0 0 1-2.087-.865l-.854-.914ZM15.03 9.97a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 0 1-1.06 0l-1.5-1.5a.75.75 0 1 1 1.06-1.06l.97.97 2.47-2.47a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})),{}),"shield-check":(0,l.jsx)(e=>c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M9.913 2.416A4.747 4.747 0 0 1 11.855 2h.29c.67 0 1.331.142 1.943.416l5.287 2.373A2.752 2.752 0 0 1 21 7.3v4.712c0 3.694-1.854 6.116-3.84 7.63-1.965 1.497-4.086 2.131-4.766 2.308a1.558 1.558 0 0 1-.792-.002 13.032 13.032 0 0 1-4.788-2.492C4.819 17.79 3 15.121 3 11.011V7.3c0-1.086.637-2.068 1.625-2.512l5.288-2.373Zm1.942 1.086c-.458 0-.91.097-1.329.285L5.24 6.16A1.25 1.25 0 0 0 4.5 7.3v3.71c0 3.598 1.566 5.866 3.275 7.293 1.732 1.448 3.625 2.037 4.212 2.193a.058.058 0 0 0 .03 0c.596-.155 2.497-.726 4.235-2.05 1.717-1.309 3.248-3.326 3.248-6.434V7.3a1.25 1.25 0 0 0-.739-1.14l-5.287-2.373a3.245 3.245 0 0 0-1.33-.285h-.289ZM15.78 9.22a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06 0l-2-2a.75.75 0 1 1 1.06-1.06l1.47 1.47 3.47-3.47a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})),{})},aF=({highlights:e})=>{if(!e||!e.items.length)return null;let t=e=>aR[e]||aR.check,{items:n,heading:i}=e;return(0,l.jsxs)(u.C,{variant:"secondary",dataQa:"login-widget-highlights",children:[i&&(0,l.jsx)(p.H,{as:"h5",type:"h5",className:"mb-2",dataQa:"login-widget-highlights-heading",children:i}),(0,l.jsx)("ul",{className:aN.list,"data-qa":"login-widget-highlights-list",children:(0,l.jsx)(l.Fragment,{children:n.map(({text:e,icon:n})=>(0,l.jsxs)("li",{className:aN.item,"data-qa":"login-widget-highlights-list-item",children:[(0,l.jsx)("div",{className:aN.icon,"data-qa":"login-widget-highlights-list-icon",children:t(n)}),(0,l.jsx)(h.T,{as:"p",dataQa:"login-widget-highlights-list-text",children:e})]},`${e}--${n}`))})})]})};aF.displayName="Highlights";let aD={legalInfo:"_legalInfo_1o9mv_61"},aI=({legalInfo:e,onAnalyticsEvent:t})=>{if(!e||Object.values(e).every(e=>!e))return null;let{plain:n,html:i,md:a}=e,r=a?iq.parse(a):i??"";return(0,l.jsx)("div",{className:aD.legalInfo,"data-qa":"login-widget-legal-info",children:n?(0,l.jsx)(aT,{template:n,onLinkClick:e=>{null==t||t({eventCategory:"login-widget",eventAction:"click_link_legal_info",eventLabel:e})}}):(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:r},onClick:e=>{let{href:n}=e.target;n&&(null==t||t({eventCategory:"login-widget",eventAction:"click_link_legal_info",eventLabel:n}))}})})};aI.displayName="LegalInfo";let aL={DAY:["день","дня","дней"],MONTH:["мес.","мес.","мес."],YEAR:["год","года","лет"],TERMLESS:["бессрочный","бессрочный","бессрочный"]},aP={deposit:"Вклад",credit:"Кредит",bond:"Облигация",account:"Счет","banking-account":"Банковский счет"},az=e=>{if(!(e instanceof Date))return null;let t=String(e.getDate()).padStart(2,"0"),n=String(e.getMonth()+1).padStart(2,"0"),i=e.getFullYear();return`${t}.${n}.${i}`},aZ={productCard:"_productCard_1kl4e_61","--credits":"_--credits_1kl4e_64",detailRate:"_detailRate_1kl4e_64","--bond":"_--bond_1kl4e_67",headingWrap:"_headingWrap_1kl4e_71",wrapper:"_wrapper_1kl4e_79",info:"_info_1kl4e_85",logo:"_logo_1kl4e_91",textWrapper:"_textWrapper_1kl4e_100",text:"_text_1kl4e_100",label:"_label_1kl4e_124",details:"_details_1kl4e_140",detail:"_detail_1kl4e_64",detailTitle:"_detailTitle_1kl4e_152",detailValue:"_detailValue_1kl4e_158"},aB=({title:e,value:t,className:n,...i})=>(0,l.jsxs)("div",{className:aZ.detail,...i,children:[(0,l.jsx)(ae,{dataQa:"login-widget-product-card-detail-title",className:aZ.detailTitle,children:e}),(0,l.jsx)(ae,{dataQa:"login-widget-product-card-detail-value",className:(C(aZ.detailValue),n),children:t})]});aB.displayName="ProductDetail";let a$=({params:e})=>{if(!e)return null;let{amount:t,rate:n}=e??{},i=az(e.endDate),a=e.term,r=[{id:"params-rate",title:"Ставка",value:`${n}%`},{id:"params-amount",title:"Сумма",value:`${function(e,t){try{let n;let{hasCurrencySymbol:i=!0,currencyCode:a,decimalCount:r=iH.decimalCount,decimalSeparator:s=iH.decimalSeparator,thousandsSeparator:o=iH.thousandsSeparator,decimalIsWithoutZeros:l=iH.decimalIsWithoutZeros,preventLargeNumbers:c=iH.preventLargeNumbers}=t||{},u=e;if("string"==typeof u&&(u=u.replace(/\s+/g,"").replace(",",".")),u=Number(u)||0,c&&(n=function(e,t){if(e>=1e9){let n=(Math.floor(e/1e9*1e3)/1e3).toString();return n.includes(".")?n.replace(".",",").replace(/0+$/,"")+t+"млрд":n+t+"млрд"}if(e>=1e6){let n=(Math.floor(e/1e6*1e3)/1e3).toString();return n.includes(".")?n.replace(".",",").replace(/0+$/,"")+t+"млн":n+t+"млн"}return e>=1e4&&e<=99999?Math.trunc(e):e}(u,o)),!c||c&&"number"==typeof n){let e=Number(null!=n?n:u),t=c&&e>1e3?0:function(e){let t=Math.abs(Number(e));return Number.isNaN(t)?iH.decimalCount:t}(r),i=Math.abs(e).toFixed(t),a=parseInt(i,10);n=function({money:e,moneyInt:t,thousandsSeparator:n}){let i=t.toString(),a=RegExp(i.length>4?"(\\d{3})(?=\\d)":"(\\d{4})(?=\\d)","g"),r=i.length>4?i.length%3:0,s=r?i.substr(0,r)+n:"";return(e<0?"-":"")+s+i.substr(r).replace(a,`$1${n}`)}({money:e,moneyInt:a,thousandsSeparator:o})+function({money:e,moneyInt:t,decimalCount:n,decimalSeparator:i,decimalIsWithoutZeros:a}){let r=Math.abs(e-t).toFixed(n),s=a?r.slice(2).replace(/0+$/,""):r.slice(2);return!n||0===(Number(e)||0)||a&&0===parseFloat(r)||""===s?"":i+s}({money:Number(i),moneyInt:a,decimalCount:t,decimalSeparator:s,decimalIsWithoutZeros:l})}return n+(i?`\xa0${iW[a]||iW.RUB}`:"")}catch(e){return console.log(e),""}}(null==t?void 0:t.value,{preventLargeNumbers:!0,currencyCode:(null==t?void 0:t.currency)??"RUB"})}`},{id:a?"params-term":i?"params-end-date":"",title:a?"Срок":i?"Погашение":"",value:a?`${function(e,t,n=!1){if(!Array.isArray(t))throw Error("Plurals must be type of Array<String>");let[i,a,r]=t,s=Math.abs(+e);return(s%=100)>=5&&s<=20?n?r:`${e} ${r}`:1==(s%=10)?n?i:`${e} ${i}`:s>=2&&s<=4?n?a:`${e} ${a}`:n?r:`${e} ${r}`}(a.value,aL[a.type??"DAY"])}`:i||""}];return(0,l.jsx)("div",{className:aZ.details,"data-qa":"login-widget-product-card-details",children:r.map(({id:e,title:t,value:n})=>(0,l.jsx)(aB,{"data-qa":`login-widget-product-card-detail-${e}`,title:t,value:n,className:C({[aZ.detailRate]:"params-rate"===e})},e))})};a$.displayName="ProductDetails";let aV=({productInfo:e,s3AssetsUrl:t,className:n,onAnalyticsEvent:i})=>{let a=(0,c.useRef)(null),r=!e||!Object.keys(e).length,s=!a.current||!Object.keys(a.current).length;if((0,c.useEffect)(()=>{var t;r&&!s?null==i||i({eventCategory:"login-widget",eventAction:"view_product_delete",eventLabel:(null==(t=a.current)?void 0:t.type)??void 0}):!r&&s?null==i||i({eventCategory:"login-widget",eventAction:"view_product_add",eventLabel:e.type??void 0}):r||s||null==i||i({eventCategory:"login-widget",eventAction:"view_product_update",eventLabel:e.type??void 0}),a.current=e},[e]),r)return null;let{title:o,label:d,type:f,params:m,provider:v}=e,g=(0,E.xn)(t,`/images/logo-brandmark-bank-${null==v?void 0:v.code}.svg`),x=null==v?void 0:v.code,b=f?aP[f]:"";return(0,l.jsxs)(u.C,{variant:"secondary",className:C(aZ.productCard,{[aZ[`--${f}`]??""]:!0},n),dataQa:"login-widget-product-card",children:[(0,l.jsxs)("div",{className:C("mb-3",aZ.headingWrap),children:[(0,l.jsx)(p.H,{as:"h5",type:"h5",dataQa:"login-widget-product-card-heading",children:"Выбранный продукт"}),d&&(0,l.jsx)(tP.T,{label:d,rounded:!0,size:"s",variant:"red",dataQa:"login-widget-product-card-label"})]}),(0,l.jsxs)("div",{className:aZ.wrapper,children:[(0,l.jsxs)("div",{className:aZ.info,"data-qa":"login-widget-product-card-info",children:[x&&(0,l.jsx)("img",{className:aZ.logo,loading:"lazy",width:"100%",height:"36px",src:g,alt:"Логотип продукта","data-qa":"login-widget-product-card-logo"}),(0,l.jsxs)("div",{className:aZ.textWrapper,children:[b&&(0,l.jsx)(h.T,{as:"p",dataQa:"login-widget-product-card-title",className:aZ.text,children:b}),o&&(0,l.jsx)(h.T,{as:"p",dataQa:"login-widget-product-card-text",className:aZ.text,children:o})]})]}),(0,l.jsx)(a$,{params:m})]})]})};aV.displayName="ProductCard";let aU=Object.freeze({ESIA:{label:"Войти через Госуслуги",caption:"Госуслуги",icon:e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M10.8103 12.2093H8.5558C8.5328 12.2093 8.52129 12.2206 8.50979 12.2432C8.45228 13.2503 8.25673 14.3252 7.98067 15.2078C7.98067 15.2192 7.98067 15.2305 7.99217 15.2418C8.00368 15.2531 8.01518 15.2531 8.02668 15.2531H8.79736C8.82036 15.2531 8.83187 15.2418 8.83187 15.2305C9.05041 14.5516 9.22295 13.6689 9.29197 12.9221H10.0281V15.2192C10.0281 15.2418 10.0511 15.2644 10.0741 15.2644H10.8103C10.8333 15.2644 10.8563 15.2418 10.8563 15.2192V12.2432C10.8563 12.2206 10.8333 12.2093 10.8103 12.2093V12.2093ZM20.346 12.2093H19.6098C19.5868 12.2093 19.5638 12.2319 19.5638 12.2545V14.5516C19.4028 14.5968 19.2417 14.6194 19.0577 14.6194C18.5746 14.6194 18.4595 14.4723 18.4595 13.8387V12.2545C18.4595 12.2319 18.4365 12.2093 18.4135 12.2093H17.6889C17.6659 12.2093 17.6429 12.2319 17.6429 12.2545V13.9179C17.6429 14.9589 17.9994 15.3549 18.9081 15.3549C19.4258 15.3549 20.0124 15.2192 20.3575 15.0947C20.369 15.0834 20.3805 15.0721 20.3805 15.0607V12.2545C20.392 12.2206 20.369 12.2093 20.346 12.2093V12.2093ZM4.74844 12.2093H4.00077C3.97777 12.2093 3.96626 12.2206 3.96626 12.2432C3.85124 12.6958 3.60968 13.4653 3.28761 14.2687L2.53994 12.2432C2.52844 12.2319 2.51693 12.2206 2.50543 12.2206H1.74626C1.73476 12.2206 1.72325 12.2319 1.71175 12.2432C1.70025 12.2545 1.70025 12.2658 1.71175 12.2772L2.83901 15.3097C2.72398 15.5473 2.62046 15.7397 2.51693 15.9207C2.43642 16.0565 2.3674 16.1923 2.29838 16.3281C2.28688 16.3394 2.28688 16.3507 2.29838 16.362C2.30989 16.3733 2.32139 16.3846 2.33289 16.3846H3.14958C3.16108 16.3846 3.18409 16.3733 3.18409 16.362C3.32212 16.1018 3.49466 15.7397 3.65569 15.3663C4.1388 14.2574 4.51839 13.2163 4.80595 12.2658C4.80595 12.2545 4.80595 12.2432 4.79445 12.2319C4.77145 12.2093 4.75994 12.2093 4.74844 12.2093V12.2093ZM7.42855 14.5516C7.42855 14.5402 7.41704 14.5289 7.40554 14.5289H7.37103C7.18699 14.5968 6.85342 14.6421 6.62336 14.6421C6.10575 14.6421 5.86419 14.5063 5.86419 13.7368C5.86419 13.1145 5.94471 12.8316 6.62336 12.8316C6.81891 12.8316 6.99145 12.8542 7.2215 12.9221C7.24451 12.9221 7.25601 12.9221 7.26751 12.8995C7.34803 12.7411 7.45155 12.5487 7.56658 12.3111V12.2772C7.56658 12.2658 7.55508 12.2545 7.54357 12.2545C7.24451 12.164 6.88792 12.1074 6.56585 12.1074C5.49611 12.1074 5.013 12.6053 5.013 13.7255C5.013 14.8571 5.49611 15.3663 6.56585 15.3663C6.83041 15.3663 7.37103 15.3097 7.62409 15.2078C7.6471 15.1965 7.6586 15.1739 7.6471 15.1513L7.42855 14.5516V14.5516ZM14.4336 12.2093H13.686C13.663 12.2093 13.6515 12.2206 13.6515 12.2432C13.5364 12.7071 13.2949 13.4653 12.9728 14.2687L12.2251 12.2432C12.2136 12.2319 12.2021 12.2206 12.1906 12.2206H11.4315C11.42 12.2206 11.4084 12.2319 11.3969 12.2432C11.3854 12.2545 11.3854 12.2658 11.3969 12.2772L12.5242 15.3097C12.4092 15.5473 12.3057 15.7397 12.2021 15.9207C12.1216 16.0565 12.0526 16.1923 11.9836 16.3394C11.9721 16.3507 11.9721 16.362 11.9836 16.3733C11.9951 16.3846 12.0066 16.396 12.0181 16.396H12.8348C12.8463 16.396 12.8693 16.3846 12.8693 16.3733C13.0073 16.1131 13.1799 15.751 13.3409 15.3776C13.8125 14.2687 14.2036 13.2276 14.4911 12.2772C14.4911 12.2658 14.4911 12.2545 14.4796 12.2432C14.4566 12.2093 14.4451 12.2093 14.4336 12.2093V12.2093ZM17.1943 12.2093H15.0203C14.9973 12.2093 14.9743 12.2319 14.9743 12.2545V15.2305C14.9743 15.2531 14.9973 15.2757 15.0203 15.2757H15.7564C15.7794 15.2757 15.8024 15.2531 15.8024 15.2305V12.9334H16.9412C16.9527 12.9334 16.9757 12.9221 16.9757 12.9108C17.0677 12.7071 17.1483 12.4921 17.2403 12.2772V12.2432C17.2173 12.2093 17.2058 12.2093 17.1943 12.2093",fill:"currentColor"}),c.createElement("path",{d:"M5.62258 7.63786C4.56434 7.63786 4.15025 8.09048 4.15025 9.23334C4.15025 10.3988 4.56434 10.8514 5.62258 10.8514C6.69233 10.8514 7.10642 10.3988 7.10642 9.23334C7.10642 8.07917 6.69233 7.63786 5.62258 7.63786ZM5.62258 10.1838C5.13947 10.1838 4.98994 10.0594 4.98994 9.24465C4.98994 8.38468 5.15098 8.30547 5.62258 8.30547C6.10569 8.30547 6.26673 8.38468 6.26673 9.24465C6.26673 10.0594 6.1172 10.1838 5.62258 10.1838ZM10.0511 10.0594C10.0511 10.048 10.0396 10.0367 10.0281 10.0367H9.99357C9.80953 10.1046 9.47596 10.1499 9.24591 10.1499C8.72829 10.1499 8.48673 10.0141 8.48673 9.24465C8.48673 8.62231 8.56725 8.33942 9.24591 8.33942C9.44145 8.33942 9.61399 8.36205 9.84404 8.42994C9.86705 8.42994 9.87855 8.42994 9.89005 8.40731C9.97057 8.2489 10.0741 8.05654 10.1891 7.81891V7.78497C10.1891 7.77365 10.1776 7.76233 10.1661 7.76233C9.86705 7.67181 9.51047 7.61523 9.18839 7.61523C8.11865 7.61523 7.63554 8.11311 7.63554 9.23334C7.63554 10.3649 8.11865 10.8741 9.18839 10.8741C9.45295 10.8741 9.99358 10.8175 10.2466 10.7157C10.2696 10.7043 10.2811 10.6817 10.2696 10.6591L10.0511 10.0594V10.0594ZM3.9202 7.71707H1.74621C1.7232 7.71707 1.7002 7.7397 1.7002 7.76233V10.7383C1.7002 10.7609 1.7232 10.7836 1.74621 10.7836H2.48237C2.50538 10.7836 2.52838 10.7609 2.52838 10.7383V8.42994H3.65564C3.66714 8.42994 3.69015 8.41863 3.69015 8.40731C3.78217 8.20364 3.86269 7.98864 3.95471 7.77365V7.7397C3.9432 7.72839 3.9317 7.71707 3.9202 7.71707Z",fill:"currentColor"}),c.createElement("path",{d:"M23.7851 14.9477V14.9024C23.7851 14.8798 23.7851 14.8458 23.7966 14.8232C23.8312 14.4045 23.8542 13.8953 23.8772 13.3069V13.2617C23.8887 12.8656 23.9002 12.4356 23.9002 11.9943C23.9002 11.553 23.8887 11.1231 23.8772 10.727V10.6818C23.8542 10.1047 23.8312 9.58416 23.7966 9.16549C23.7966 9.14286 23.7966 9.10891 23.7851 9.08628V9.04102C23.7851 8.99576 23.7736 8.96181 23.7736 8.91655V8.87129C23.7391 8.42999 23.7161 8.15842 23.7046 8.13578C23.7046 8.09052 23.6931 8.04526 23.6931 8.01132V7.97737C23.6816 7.89816 23.6701 7.83027 23.6471 7.75106C23.6471 7.73974 23.6471 7.72843 23.6356 7.71711C23.4401 6.80056 22.9224 5.79349 22.2783 5.03536C22.0252 4.74116 21.7607 4.4809 21.4846 4.27723C21.4616 4.2546 21.1395 4.02829 20.6334 3.67751C20.0468 3.28147 19.2071 2.72702 18.2524 2.18388C16.55 1.19943 15.0432 0.509194 14.8361 0.429986C14.8246 0.429986 14.8246 0.41867 14.8246 0.41867C14.376 0.226308 13.8354 0.0905233 13.2488 0.0339463C13.1337 0.0226308 13.0187 0.0113154 12.9037 0.0113154C12.7887 0 12.6851 0 12.5816 0H12.4206C11.6384 0.0226308 10.9137 0.158416 10.3386 0.41867C10.2581 0.452617 8.72824 1.14286 6.99135 2.14993L6.92233 2.18388C5.13943 3.21358 3.74762 4.23197 3.6901 4.27723C3.253 4.59406 2.86192 5.00141 2.50534 5.52192C2.42482 5.63508 2.42482 5.92928 2.76989 5.92928H3.6556C4.03518 5.92928 4.1272 5.70297 4.5528 5.39745C5.0244 5.05799 5.95611 4.37907 7.6585 3.38331C8.88928 2.67044 10.0395 2.10467 10.6032 1.84441C10.6147 1.84441 10.6262 1.8331 10.6377 1.8331C10.6377 1.8331 10.6492 1.8331 10.6492 1.82178C10.6492 1.82178 10.6607 1.82178 10.6607 1.81047C10.6722 1.81047 10.6837 1.79915 10.6837 1.79915C10.6952 1.79915 10.7067 1.78784 10.7182 1.78784C10.8562 1.71994 10.9482 1.686 10.9482 1.686C11.3393 1.51627 11.8915 1.40311 12.4781 1.3918H12.7081C12.8807 1.3918 13.0532 1.40311 13.2143 1.42574C13.5708 1.471 13.8929 1.5389 14.1575 1.65205C14.1805 1.66337 14.215 1.67468 14.238 1.686C14.238 1.686 14.2495 1.69731 14.284 1.70863C14.5486 1.82178 15.9749 2.48939 17.5277 3.38331C18.4479 3.91513 19.2646 4.44696 19.8282 4.83168C20.3229 5.17115 20.6219 5.38614 20.6334 5.39745C20.852 5.55587 21.0705 5.78218 21.2776 6.03112C21.7952 6.68741 22.2208 7.58133 22.2898 8.27157C22.2898 8.28288 22.3243 8.55445 22.3588 9.01839C22.3588 9.05233 22.3588 9.07496 22.3703 9.10891V9.1768C22.3703 9.22206 22.3818 9.25601 22.3818 9.30127V9.34653C22.3818 9.36916 22.3818 9.40311 22.3933 9.42574C22.3933 9.48232 22.4048 9.5389 22.4048 9.59547C22.4048 9.62942 22.4048 9.66337 22.4163 9.69731V9.71994C22.4163 9.7652 22.4163 9.79915 22.4278 9.84441V9.93494C22.4623 10.5233 22.4853 11.2249 22.4853 11.9604C22.4853 12.6959 22.4623 13.3975 22.4278 13.9859V14.0764C22.4278 14.1216 22.4278 14.1556 22.4163 14.2008V14.2235C22.4163 14.2574 22.4163 14.2914 22.4048 14.3253C22.4048 14.3819 22.3933 14.4385 22.3933 14.495C22.3933 14.529 22.3933 14.5516 22.3818 14.5743V14.6195C22.3818 14.6648 22.3703 14.6987 22.3703 14.744V14.8119C22.3703 14.8458 22.3703 14.8798 22.3588 14.9024C22.3243 15.3663 22.2898 15.6492 22.2898 15.6492C22.2208 16.3395 21.7952 17.2334 21.2776 17.8897C21.0705 18.1499 20.852 18.3649 20.6334 18.5233C20.6219 18.5233 20.3229 18.7496 19.8282 19.0891C19.2646 19.4738 18.4364 20.0057 17.5277 20.5375C15.9749 21.4427 14.5371 22.099 14.284 22.2122L14.238 22.2348C14.215 22.2461 14.1805 22.2574 14.1575 22.2687C13.8929 22.3706 13.5708 22.4498 13.2143 22.495C13.0532 22.5177 12.8807 22.529 12.7081 22.529H12.4781C11.8915 22.5177 11.3393 22.4158 10.9482 22.2348C10.9482 22.2348 10.8677 22.2008 10.7182 22.133C10.7067 22.1216 10.6837 22.1216 10.6722 22.1103C10.6607 22.099 10.6492 22.099 10.6377 22.0877C10.6262 22.0877 10.6262 22.0764 10.6147 22.0764C10.6032 22.0764 10.5917 22.0651 10.5802 22.0651C10.5687 22.0537 10.5572 22.0537 10.5341 22.0424H10.5226C9.93601 21.8161 8.83176 21.273 7.6585 20.5941C5.94461 19.6096 5.0244 18.9194 4.5528 18.5799C4.1272 18.2744 4.03518 18.0481 3.6556 18.0481H2.76989C2.42482 18.0481 2.42482 18.3423 2.50534 18.4554C2.86192 18.976 3.253 19.3833 3.6901 19.7001C3.74762 19.7454 5.15093 20.7638 6.92233 21.7935C7.01435 21.8501 7.10637 21.9066 7.2099 21.9519C8.85477 22.8798 10.2696 23.5134 10.3501 23.5587C10.9137 23.8076 11.6499 23.9547 12.4321 23.9774H12.5931C12.6966 23.9774 12.8002 23.9774 12.9037 23.9661C13.0187 23.9661 13.1337 23.9547 13.2488 23.9434C13.8354 23.8868 14.3875 23.7511 14.8246 23.5587C14.8246 23.5587 14.8361 23.5587 14.8361 23.5474C15.0317 23.4569 16.55 22.7666 18.2409 21.7935C19.1956 21.239 20.0353 20.6959 20.6219 20.2999C21.128 19.9491 21.4501 19.7228 21.4731 19.7001C21.7492 19.4965 22.0137 19.2362 22.2668 18.942C22.9109 18.1839 23.4286 17.1768 23.6241 16.2603C23.6241 16.2489 23.6241 16.2376 23.6356 16.2263C23.6471 16.1471 23.6701 16.0679 23.6816 16V15.9661C23.6931 15.9208 23.6931 15.8755 23.6931 15.8416C23.6931 15.819 23.7276 15.5474 23.7621 15.1061V15.0608C23.7851 15.0269 23.7851 14.9929 23.7851 14.9477",fill:"currentColor"})),secondaryIcon:e=>c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("defs",null,c.createElement("linearGradient",{x1:12.343,y1:1,x2:12.343,y2:22.951,id:"esia-colored",gradientUnits:"userSpaceOnUse"},c.createElement("stop",{offset:.329,stopColor:"#0F67B1"}),c.createElement("stop",{offset:.636,stopColor:"#EF3E58"}))),c.createElement("path",{d:"M22.24 14.656v.042c0 .03 0 .072-.021.082v.042c-.031.404-.063.653-.063.674 0 .03 0 .072-.01.114v.031c-.01.062-.031.135-.041.207-.01.01-.01.021-.01.031-.177.84-.643 1.763-1.223 2.458-.229.27-.467.508-.716.695l-.766.55c-.7.48-1.416.936-2.146 1.368-1.523.892-2.89 1.524-3.067 1.607 0 .01-.01.01-.01.01-.394.177-.891.301-1.42.353-.104.01-.207.02-.31.02-.094.011-.187.011-.28.011h-.146c-.704-.02-1.368-.155-1.875-.383-.073-.042-1.347-.623-2.83-1.473a2.051 2.051 0 0 1-.258-.145 36.043 36.043 0 0 1-2.912-1.918 4.527 4.527 0 0 1-1.068-1.141c-.072-.103-.072-.373.239-.373h.787c.342 0 .425.207.809.487.424.311 1.253.944 2.797 1.846.84.493 1.701.95 2.58 1.369h.011c.021.01.031.01.042.02.01 0 .02.01.03.01.01 0 .01.011.021.011.01.01.021.01.031.02.01.011.032.011.042.021.135.063.207.094.207.094.353.166.85.26 1.378.27h.207c.156 0 .311-.01.457-.032a3.65 3.65 0 0 0 .85-.207c.02-.01.051-.02.072-.031l.041-.02a33.402 33.402 0 0 0 4.995-2.863c.446-.31.715-.518.726-.518.196-.145.393-.342.58-.58.466-.602.85-1.421.912-2.054 0 0 .031-.26.062-.684.01-.02.01-.052.01-.083v-.063c0-.041.01-.072.01-.114v-.04c.011-.022.011-.042.011-.074 0-.051.01-.103.01-.155.01-.031.01-.062.01-.093v-.021c.011-.042.011-.073.011-.114v-.083c.07-1.237.07-2.476 0-3.712v-.083c-.01-.042-.01-.073-.01-.114v-.021c-.01-.031-.01-.062-.01-.093 0-.052-.01-.104-.01-.156-.011-.02-.011-.052-.011-.072v-.042c0-.041-.01-.073-.01-.114v-.062c-.011-.031-.011-.052-.011-.083-.031-.425-.062-.674-.062-.685-.062-.632-.446-1.451-.912-2.053a3.411 3.411 0 0 0-.58-.58 33.42 33.42 0 0 0-5.762-3.401c-.02-.01-.052-.021-.073-.031a3.19 3.19 0 0 0-.85-.208c-.145-.02-.3-.03-.456-.03h-.207c-.528.01-1.025.113-1.378.269 0 0-.083.03-.207.093-.01 0-.02.01-.031.01 0 0-.01.01-.02.01 0 .011-.011.011-.011.011 0 .01-.01.01-.01.01-.011 0-.021.01-.032.01-.497.24-1.533.748-2.642 1.4-1.534.913-2.373 1.535-2.798 1.846-.383.28-.466.488-.808.488h-.798c-.311 0-.311-.27-.239-.384.322-.477.674-.85 1.068-1.14a37.769 37.769 0 0 1 2.912-1.93l.062-.03a34.228 34.228 0 0 1 3.026-1.576c.518-.239 1.17-.373 1.886-.384h.145c.093 0 .186.01.28.01.103 0 .207.01.31.021a4.745 4.745 0 0 1 1.42.353s0 .01.01.01c.177.083 1.545.705 3.068 1.607a33.005 33.005 0 0 1 2.912 1.918c.248.187.487.426.715.695.58.695 1.047 1.618 1.223 2.458.01.01.01.02.01.03.019.069.033.138.041.208v.031c0 .031.01.073.01.114.011.021.032.27.063.674v.042c0 .041.01.072.01.114v.041c.01.021.01.052.01.073l.073 1.39v.04c.01.364.021.758.021 1.162l-.02 1.162v.04c-.021.54-.042 1.007-.073 1.39-.01.021-.01.052-.01.073ZM9.865 10.218a.022.022 0 0 0-.02-.02h-.032a2.295 2.295 0 0 1-.673.103c-.466 0-.684-.124-.684-.83 0-.57.062-.83.684-.83.176 0 .332.022.539.084.02 0 .03 0 .041-.02l.27-.54v-.031a.022.022 0 0 0-.02-.02 3.125 3.125 0 0 0-.882-.136c-.964 0-1.399.456-1.399 1.483 0 1.037.435 1.504 1.399 1.504.238 0 .725-.052.954-.146.02-.01.03-.03.02-.052l-.197-.549Zm-3.99-2.23c-.953 0-1.326.415-1.326 1.463 0 1.068.373 1.483 1.327 1.483.963 0 1.336-.415 1.336-1.483 0-1.048-.373-1.462-1.336-1.462Zm-3.492.084a.044.044 0 0 0-.041.041v2.727c0 .021.02.042.041.042h.664c.02 0 .041-.021.041-.042V8.725h1.026c.01 0 .031-.01.031-.02.083-.187.156-.385.238-.581v-.032c-.01-.01-.02-.02-.03-.02h-1.97Zm3.493 2.26c-.435 0-.57-.114-.57-.86 0-.788.145-.861.57-.861.435 0 .58.072.58.86 0 .737-.135.861-.58.861Zm1.627 3.992a.022.022 0 0 0-.02-.02h-.032a2.295 2.295 0 0 1-.674.103c-.466 0-.684-.124-.684-.83 0-.57.073-.829.684-.829.176 0 .332.02.54.083.02 0 .03 0 .04-.02l.27-.54v-.03a.022.022 0 0 0-.007-.015 3.126 3.126 0 0 0-.895-.141c-.963 0-1.399.456-1.399 1.482 0 1.037.436 1.504 1.4 1.504.238 0 .725-.052.953-.145.02-.01.03-.032.02-.052l-.196-.55Zm3.046-2.146H8.52c-.02 0-.031.01-.041.031A11.895 11.895 0 0 1 8 14.926c0 .01 0 .02.01.03.01.011.021.011.031.011h.695c.02 0 .03-.01.03-.02.198-.623.353-1.432.415-2.116h.664v2.105c0 .02.02.041.041.041h.663c.021 0 .042-.02.042-.041v-2.727c0-.01-.021-.031-.042-.031Zm5.752 0h-1.959a.044.044 0 0 0-.041.041v2.727c0 .021.02.042.041.042h.663c.02 0 .042-.02.042-.042v-2.115h1.025c.01 0 .032-.01.032-.02.083-.187.155-.384.238-.581v-.032c-.02-.01-.031-.02-.041-.02Zm2.839 0h-.663a.045.045 0 0 0-.042.041v2.105c-.145.042-.29.062-.456.062-.435 0-.539-.134-.539-.715v-1.452a.045.045 0 0 0-.041-.041h-.663a.045.045 0 0 0-.041.041v1.525c0 .953.32 1.316 1.14 1.316.466 0 .994-.124 1.305-.238.01-.01.02-.02.02-.031v-2.572c.021-.02 0-.04-.02-.04v-.001Zm-14.052.01h-.674c-.02 0-.03.01-.03.031-.104.415-.322 1.12-.612 1.856L3.1 12.21c-.011-.01-.021-.02-.032-.02h-.684c-.01 0-.02.01-.03.02-.011.01-.011.02 0 .031l1.015 2.779c-.09.19-.187.377-.29.56a4.458 4.458 0 0 0-.197.383c-.01.011-.01.021 0 .032.01.01.02.02.031.02h.736c.01 0 .03-.01.03-.02.154-.3.295-.603.426-.913.435-1.016.777-1.97 1.036-2.84 0-.011 0-.022-.01-.032-.021-.02-.031-.02-.042-.02Zm8.726 0h-.674c-.02 0-.031.01-.031.031-.104.425-.321 1.12-.612 1.856l-.673-1.866c-.01-.01-.02-.02-.031-.02h-.684c-.01 0-.02.01-.031.02-.01.01-.01.02 0 .031l1.015 2.779c-.09.19-.187.377-.29.56a4.444 4.444 0 0 0-.197.383c-.01.011-.01.021 0 .032.01.01.02.02.031.02h.736c.01 0 .031-.01.031-.02.153-.3.295-.603.425-.913a28.78 28.78 0 0 0 1.036-2.84c0-.011 0-.022-.01-.032-.02-.02-.031-.02-.041-.02Z",clipRule:"evenodd",fill:"url(#esia-colored)",fillRule:"evenodd"}))},PHONE:{label:"По номеру телефона",caption:"Номер телефона",icon:e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"a"},c.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),c.createElement("g",{clipPath:"url(#a)"},c.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.045 3.68a10.239 10.239 0 0 0 .738 2.993 1.323 1.323 0 0 1-.643 1.696l-.866.41a.225.225 0 0 0-.123.133.158.158 0 0 0 .011.135 12.756 12.756 0 0 0 3.321 3.815c.466.358.957.683 1.473.976a.156.156 0 0 0 .134.011.225.225 0 0 0 .133-.122l.408-.863a1.293 1.293 0 0 1 .732-.666 1.322 1.322 0 0 1 .967.022c1.094.453 2.215.708 3.401.766a1.302 1.302 0 0 1 1.173.805c.066.16.1.327.1.5v4.459a2.712 2.712 0 0 1-.816 1.944 2.494 2.494 0 0 1-1.37.68c-.21.031-.425.035-.644.01a18.77 18.77 0 0 1-9.782-4.113l-.002-.001a18.711 18.711 0 0 1-3.727-4.103 18.728 18.728 0 0 1-2.549-5.666 18.72 18.72 0 0 1-.495-2.672 2.494 2.494 0 0 1 .127-1.11 2.512 2.512 0 0 1 .894-1.194 2.68 2.68 0 0 1 1.001-.457c.2-.046.403-.068.612-.068h4a1.747 1.747 0 0 1 1.234.505 1.804 1.804 0 0 1 .381.532 1.897 1.897 0 0 1 .177.644Zm10.485.85-4 4c-.177.177-.354.265-.53.265-.177 0-.354-.088-.53-.265l-2-2a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L17 6.94l3.47-3.47a.743.743 0 0 1 1.06 0 .742.742 0 0 1 0 1.06ZM9.552 3.816a.38.38 0 0 0-.044-.149c-.056-.054-.185-.167-.255-.167h-4a1.247 1.247 0 0 0-.485.098 1.174 1.174 0 0 0-.38.26 1.022 1.022 0 0 0-.23.365.976.976 0 0 0-.048.44 17.25 17.25 0 0 0 1.909 6.18 17.291 17.291 0 0 0 4.324 5.268 17.171 17.171 0 0 0 4.308 2.576c.733.303 1.48.555 2.24.753h.001c.801.21 1.617.36 2.448.454a.976.976 0 0 0 .806-.279 1.15 1.15 0 0 0 .26-.38 1.23 1.23 0 0 0 .097-.485v-4.274a11.7 11.7 0 0 1-3.593-.808l-.331.7a1.73 1.73 0 0 1-1 .9 1.648 1.648 0 0 1-1.363-.125 14.257 14.257 0 0 1-4.312-3.77l-.001-.001c-.382-.503-.73-1.03-1.045-1.584a1.642 1.642 0 0 1-.125-1.364 1.726 1.726 0 0 1 .898-1l.703-.333a11.71 11.71 0 0 1-.782-3.275Z",clipRule:"evenodd"}))),secondaryIcon:void 0},ALFA:{label:void 0,caption:"Альфа ID",icon:e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"clip146_396"},c.createElement("rect",{id:"Logo",width:24,height:24,fill:"white",fillOpacity:0})),c.createElement("clipPath",{id:"clip129_3008"},c.createElement("rect",{id:"Button",rx:12,width:24,height:24,fill:"white",fillOpacity:0}))),c.createElement("rect",{id:"Button",rx:12,width:24,height:24,fill:"#EF3124",fillOpacity:1}),c.createElement("g",{clipPath:"url(#clip129_3008)"},c.createElement("g",{clipPath:"url(#clip146_396)"},c.createElement("path",{id:"Union",d:"M12.0784 4.99939C13.0987 4.99939 13.3867 5.60126 13.6481 6.36017L16.3427 14.2609L14.3805 14.2609L13.7791 12.3771L10.2207 12.3771L9.56677 14.2609L7.70911 14.2609L10.4826 6.36017C10.7441 5.57532 11.058 4.99939 12.0784 4.99939ZM11.9999 7.04004L10.7181 10.8074L13.2297 10.8074L12.0524 7.04004L11.9999 7.04004ZM16.5 16.8002L7.49997 16.8002L7.49997 18.6578L16.5 18.6578L16.5 16.8002Z",clipRule:"evenodd",fill:"#FFFFFF",fillOpacity:1,fillRule:"evenodd"})))),secondaryIcon:void 0},SBER:{label:void 0,caption:"Сбер ID",icon:e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"clip146_362"},c.createElement("rect",{id:"Logo",width:20,height:20,transform:"translate(2.000000 2.000000)",fill:"white",fillOpacity:0})),c.createElement("clipPath",{id:"clip129_3001"},c.createElement("rect",{id:"Button",rx:12,width:24,height:24,fill:"white",fillOpacity:0}))),c.createElement("rect",{id:"Button",rx:12,width:24,height:24,fill:"#21A038",fillOpacity:1}),c.createElement("g",{clipPath:"url(#clip129_3001)"},c.createElement("g",{clipPath:"url(#clip146_362)"},c.createElement("path",{id:"Vector",d:"M12 4.5C13.8 4.5 15.45 5.13 16.74 6.19L15.45 7.22C14.48 6.52 13.29 6.1 11.99 6.1C8.74 6.1 6.1 8.74 6.1 12C6.1 15.25 8.74 17.89 11.99 17.89C15.25 17.89 17.89 15.25 17.89 12C17.89 11.92 17.89 11.85 17.88 11.77L19.38 10.69C19.46 11.11 19.49 11.55 19.49 12C19.49 16.14 16.14 19.5 11.99 19.5C7.85 19.5 4.5 16.14 4.5 12C4.5 7.85 7.85 4.5 12 4.5Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"evenodd"}),c.createElement("path",{id:"Vector",d:"M9.17 10.17L12 12L18.08 7.53L18.99 9L12 14.11L9.17 12.35L9.17 10.17Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"evenodd"})))),secondaryIcon:void 0},VTB:{label:void 0,caption:"ВТБ ID",icon:e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},c.createElement("defs",null,c.createElement("linearGradient",{id:"c",x1:0,x2:24,y1:12,y2:12,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{stopColor:"#0037FF"}),c.createElement("stop",{offset:.75,stopColor:"#0085FF"})),c.createElement("clipPath",{id:"b"},c.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),c.createElement("mask",{id:"a",width:24,height:24,x:0,y:0,"mask-type":"alpha",maskUnits:"userSpaceOnUse"},c.createElement("circle",{cx:12,cy:12,r:12,fill:"#F7F8FA"})),c.createElement("g",{mask:"url(#a)"},c.createElement("path",{fill:"#F7F8FA",d:"M0 0h24v24H0z"})),c.createElement("g",{clipPath:"url(#b)",mask:"url(#a)"},c.createElement("path",{fill:"url(#c)",d:"M0 0h24v24H0z"}),c.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M19.5 7.5H7.7l-.85 2.25h11.79l.86-2.25Zm-1.18 3.37H6.52l-.85 2.25h11.8l.85-2.25ZM5.33 14.25h11.52l-.83 2.25H4.5l.83-2.25Z"}))),secondaryIcon:void 0},MTS:{label:void 0,caption:"МТС ID",icon:e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},c.createElement("defs",null),c.createElement("rect",{id:"Button",width:24,height:24,fill:"#FFFFFF",fillOpacity:0}),c.createElement("mask",{id:"mask129_2994","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:24,height:24},c.createElement("rect",{id:"rect",width:24,height:24,fill:"#000000",fillOpacity:1})),c.createElement("g",{mask:"url(#mask129_2994)"},c.createElement("rect",{id:"rect",width:24,height:24,fill:"#FF0032",fillOpacity:1}),c.createElement("path",{id:"path",d:"M15.98 1.82L15.98 2.94L18.4 2.94L18.4 7.32L19.75 7.4L19.75 2.94L22.16 2.94L22.16 1.82L15.98 1.82Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}),c.createElement("path",{id:"path",d:"M7.3 1.84L5.53 5.5L3.77 1.84L1.84 1.84L1.84 7.38L3.19 7.38L3.19 3.42L4.92 6.76L6.15 6.76L7.87 3.42L7.87 7.38L9.22 7.38L9.22 1.84L7.3 1.84Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}),c.createElement("path",{id:"path",d:"M20.81 20.3C20.78 20.51 20.69 20.7 20.54 20.84C20.39 20.98 20.2 21.07 20 21.11C19.71 21.17 19.41 21.2 19.11 21.2C18.79 21.2 18.47 21.15 18.17 21.06C17.92 20.98 17.7 20.81 17.55 20.6C17.41 20.38 17.33 20.06 17.33 19.66L17.33 19.1C17.33 18.69 17.41 18.38 17.55 18.16C17.7 17.94 17.92 17.78 18.16 17.7C18.47 17.6 18.79 17.56 19.11 17.56C19.41 17.56 19.7 17.59 20 17.64C20.2 17.68 20.39 17.78 20.54 17.92C20.69 18.06 20.78 18.25 20.8 18.46L22.16 18.46C22.13 18.03 21.97 17.62 21.69 17.3C21.42 17 21.07 16.78 20.68 16.68C20.17 16.54 19.64 16.48 19.11 16.49C18.46 16.49 17.9 16.58 17.44 16.77C16.98 16.94 16.6 17.27 16.36 17.69C16.12 18.1 15.99 18.65 15.99 19.31L15.99 19.44C15.99 20.11 16.12 20.65 16.36 21.06C16.6 21.49 16.98 21.81 17.44 21.99C17.9 22.17 18.46 22.26 19.11 22.26C19.64 22.27 20.17 22.21 20.68 22.08C21.07 21.97 21.42 21.76 21.69 21.46C21.97 21.13 22.13 20.72 22.16 20.3L20.81 20.3Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}))),secondaryIcon:void 0},TINKOFF:{label:void 0,caption:"T-ID",icon:e=>c.createElement("svg",{width:44,height:24,viewBox:"0 0 44 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},c.createElement("defs",null),c.createElement("mask",{id:"mask129_2984","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:44,height:24},c.createElement("rect",{id:"rect",width:44,height:24,fill:"#000000",fillOpacity:1})),c.createElement("g",{mask:"url(#mask129_2984)"},c.createElement("path",{id:"path",d:"M32.11 0L11.88 0C5.32 0 0 5.37 0 12C0 18.62 5.32 24 11.88 24L32.11 24C38.67 24 44 18.62 44 12C44 5.37 38.67 0 32.11 0Z",fill:"#303030",fillOpacity:1,fillRule:"nonzero"}),c.createElement("path",{id:"path",d:"M6.89 6.16L19.7 6.16L19.7 12.67C19.7 14.33 18.82 15.87 17.39 16.71L13.3 19.09L9.2 16.71C7.77 15.87 6.89 14.33 6.89 12.67L6.89 6.16Z",fill:"#FFDD2D",fillOpacity:1,fillRule:"nonzero"}),c.createElement("path",{id:"path",d:"M10.41 9.59L10.41 11.61C10.68 11.3 11.18 11.08 11.75 11.08L12.37 11.08L12.37 13.44C12.37 14.06 12.2 14.61 11.95 14.91L14.64 14.91C14.39 14.61 14.22 14.06 14.22 13.44L14.22 11.09L14.84 11.09C15.41 11.09 15.91 11.3 16.18 11.61L16.18 9.59L10.41 9.59Z",fill:"#333333",fillOpacity:1,fillRule:"evenodd"}),c.createElement("path",{id:"path",d:"M27.01 16.07L27.01 8.43L24.63 8.43L24.63 16.07L27.01 16.07Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}),c.createElement("path",{id:"path",d:"M32.77 16.07C35.79 16.07 37.28 14.45 37.28 12.25C37.28 10.05 35.79 8.43 33.02 8.43L28.76 8.43L28.76 16.07L32.77 16.07ZM32.53 10.26C34.17 10.26 34.85 11 34.85 12.25C34.85 13.41 34.17 14.29 32.53 14.29L31.06 14.29L31.06 10.26L32.53 10.26Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}))),secondaryIcon:void 0},SOVCOM:{label:void 0,caption:"Совком ID",icon:e=>c.createElement("svg",{width:24.000015,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},c.createElement("defs",null),c.createElement("path",{id:"Vector",d:"M14.39 0.25L14.39 6.47L11.97 6.47C8.93 6.47 6.47 8.93 6.47 11.97C6.47 15.02 8.93 17.48 11.97 17.48L14.39 17.48L14.39 23.7C19.89 22.64 24 17.82 24 11.97C24 6.17 19.89 1.35 14.39 0.25Z",fill:"#003791",fillOpacity:1,fillRule:"nonzero"}),c.createElement("path",{id:"Vector",d:"M11.97 19.42C7.87 19.42 4.52 16.08 4.52 11.97C4.52 7.87 7.87 4.53 11.97 4.53L12.44 4.53L12.44 0L11.97 0C5.37 0 0 5.37 0 11.97C0 18.62 5.37 24 11.97 24L12.44 24L12.44 19.42L11.97 19.42L11.97 19.42Z",fill:"#FC5055",fillOpacity:1,fillRule:"nonzero"})),secondaryIcon:void 0},PSB:{label:void 0,caption:"ПСБ ID",icon:e=>c.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:24,height:24,fill:"none",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"clipPath_0"},c.createElement("rect",{width:24,height:24,x:0,y:0,fill:"rgb(255,255,255)"}))),c.createElement("rect",{id:"Logo symbol / Company / Promsvyazbank",width:24,height:24,x:0,y:0}),c.createElement("g",{id:"Logo",clipPath:"url(#clipPath_0)"},c.createElement("rect",{id:"Logo",width:24,height:24,x:0,y:0}),c.createElement("rect",{id:"Brand fill",width:24,height:24,x:0,y:0,opacity:0,fill:"rgb(247,248,250)"}),c.createElement("g",{id:"Group"},c.createElement("path",{id:"Vector",d:"M14.5735 4L9.14286 9.332L14.5735 9.332L14.5735 20L20 14.68L20 4L14.5735 4Z",fill:"rgb(234,86,22)",fillRule:"evenodd"}),c.createElement("path",{id:"Vector",d:"M9.42654 20L14.8571 14.668L9.42654 14.668L9.42654 4L4 9.32L4 20L9.42654 20Z",fill:"rgb(234,86,22)",fillRule:"nonzero"}),c.createElement("path",{id:"Vector",d:"M9.42654 20L14.8571 14.668L9.42654 14.668L9.42654 4L4 9.32L4 20L9.42654 20Z",fill:"rgb(44,45,132)",fillRule:"nonzero"})))),secondaryIcon:void 0},MOBILE:{label:void 0,caption:"Mobile ID",icon:e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("defs",null,c.createElement("clipPath",{id:"a"},c.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),c.createElement("g",{clipPath:"url(#a)"},c.createElement("path",{d:"M4.935 2.92a4.737 4.737 0 0 1 .985-.985c.326-.242.697-.43 1.114-.566q.559-.182 1.323-.266.637-.07 1.61-.09C10.366 1.003 11.043 1 12 1q1.436 0 2.032.012.974.02 1.611.09c.51.057.95.146 1.323.267.417.136.788.325 1.114.566a4.752 4.752 0 0 1 .985.985c.241.326.43.697.566 1.114.121.373.21.814.266 1.323q.07.637.09 1.61Q20 7.565 20 9v6q0 1.436-.012 2.032c-.014.65-.044 1.187-.09 1.611-.057.51-.146.95-.267 1.323a3.864 3.864 0 0 1-.566 1.114c-.28.377-.608.706-.986.985-.325.241-.696.43-1.113.566a6.65 6.65 0 0 1-1.323.266q-.637.07-1.61.09Q13.435 23 12 23t-2.032-.012q-.974-.02-1.611-.09a6.648 6.648 0 0 1-1.323-.267q-.626-.204-1.114-.566a4.72 4.72 0 0 1-.985-.985 3.857 3.857 0 0 1-.566-1.114 6.646 6.646 0 0 1-.266-1.323 18.77 18.77 0 0 1-.09-1.61Q4 16.435 4 15V9q0-1.436.012-2.032.02-.974.09-1.611c.057-.51.146-.95.267-1.323.136-.417.324-.788.566-1.114Zm1.205.894a2.375 2.375 0 0 0-.345.685c-.09.274-.156.615-.201 1.022-.042.38-.07.873-.082 1.478Q5.5 7.58 5.5 9v6c0 .947.004 1.614.012 2 .013.606.04 1.099.082 1.48.045.406.112.747.201 1.021.086.262.2.49.345.685.191.258.416.483.674.674.194.145.423.26.685.345.274.09.615.156 1.022.201.38.042.873.07 1.478.082.387.008 1.054.012 2.001.012q1.42 0 2-.012c.606-.013 1.099-.04 1.48-.082a5.182 5.182 0 0 0 1.021-.201c.262-.086.49-.2.685-.345.258-.191.483-.416.674-.674.145-.194.26-.423.345-.685.09-.274.156-.615.201-1.022.042-.38.07-.873.082-1.478.008-.387.012-1.054.012-2.001V9q0-1.42-.012-2a17.368 17.368 0 0 0-.082-1.48 5.184 5.184 0 0 0-.201-1.021c-.086-.262-.2-.49-.345-.685a3.26 3.26 0 0 0-.308-.359l-.004-.004q-.169-.168-.362-.311a2.374 2.374 0 0 0-.685-.345 5.185 5.185 0 0 0-1.022-.201c-.38-.042-.873-.07-1.478-.082C13.614 2.504 12.947 2.5 12 2.5q-1.42 0-2 .012a17.38 17.38 0 0 0-1.48.082 5.184 5.184 0 0 0-1.021.201c-.262.086-.49.2-.685.345q-.194.143-.362.312a3.256 3.256 0 0 0-.312.362ZM12 20c.552 0 1-.45 1-1s-.448-1-1-1-1 .45-1 1 .448 1 1 1Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))),secondaryIcon:void 0}}),aq=e=>{let{providers:t,getHref:n,scenarioOptions:i}=e,a=e=>e?e.filter(e=>!!aU[e]).map(e=>({...aU[e],href:n(e,i),type:e,caption:aU[e].caption,icon:(0,c.createElement)(aU[e].icon),secondaryIcon:aU[e].secondaryIcon?(0,c.createElement)(aU[e].secondaryIcon):void 0})):[],{primary:r=[],additional:s=[],extra:o=[]}=t,l=a(r),u=a(s),p=a(o);return{primaryButtons:l,additionalButtons:u,extraButtons:p,buttonsList:[{type:"primary",buttons:l},{type:"additional",buttons:u},{type:"extra",buttons:p}]}},aW=(e,t)=>{var n,i;let a=n=>(null==t?void 0:t[n])===null?null:(null==t?void 0:t[n])??(null==e?void 0:e[n]),r={theme:(null==t?void 0:t.theme)??"light",variant:(null==t?void 0:t.variant)??"primary",linkTarget:(null==t?void 0:t.linkTarget)??"_blank",withLogo:(null==t?void 0:t.withLogo)??!1,isNewYearLogo:(null==t?void 0:t.isNewYearLogo)??!1,primaryTextOverride:null==t?void 0:t.primaryTextOverride,additionalTextOverride:null==t?void 0:t.additionalTextOverride,extraTextOverride:null==t?void 0:t.extraTextOverride,title:a("title"),description:a("description"),highlights:a("highlights"),consents:null==e?void 0:e.consents,legalInfo:null==e?void 0:e.legalInfo,availableAuthProviders:null==e?void 0:e.availableAuthProviders},s=(e=[],t)=>void 0!==t?e.filter(e=>t.includes(e)):e,o=(e,t)=>({...e,primaryAuthProviders:s(null==e?void 0:e.primaryAuthProviders,t),additionalAuthProviders:s(null==e?void 0:e.additionalAuthProviders,t),extraAuthProviders:s(null==e?void 0:e.extraAuthProviders,t)}),l=null==e?void 0:e.availableAuthProviders,c=!(null!=t&&t.primaryAuthProviders)&&!(null!=(n=null==t?void 0:t.additionalAuthProviders)&&n.length)&&!(null!=(i=null==t?void 0:t.extraAuthProviders)&&i.length);if(!t||c)return{...e&&o(e,l),...r};let u=o(t,l);return u.primaryAuthProviders.length>0||u.additionalAuthProviders.length>0||u.extraAuthProviders.length>0?{...u,...r}:{...e&&o(e,l),...r}},aH=e=>{let{configKey:t,entryPointId:n,serverConfig:i={},baseUrl:a,apiBaseUrl:r,apiVersion:s,autoFetch:o=!0,product:l,productContext:u,isSilent:p,config:h,query:d={},scenarioParams:f={},onMount:m,onDestroy:v,onAnalyticsEvent:g}=e,[x,b]=(0,c.useState)(null),[y,w]=(0,c.useState)(o),_=(0,c.useCallback)(async()=>{try{w(!0);let e=await (0,ax.g)(r,t??void 0,s);b(e)}catch(e){throw Error(`Unknown fetch error: ${e}`)}finally{w(!1)}},[]);(0,c.useEffect)(()=>(null==m||m(),null==g||g({eventCategory:"login-widget",eventAction:"mount_login_widget"}),()=>{null==v||v(),null==g||g({eventCategory:"login-widget",eventAction:"unmount_login_widget"})}),[]),(0,c.useEffect)(()=>{o&&_()},[o,_]);let k=o?x:i,C=(e="ESIA",t={})=>({version:"v2",entryPointId:n,product:l,productContext:u,isSilent:p,authProvider:e,consents:Object.fromEntries(((null==k?void 0:k.consents)??[]).map(e=>[e.key,e.value])),...f,...t}),j=(e,t)=>av(JSON.stringify(C(e,t))),M=aW(k,h);return{getConfig:()=>({...M}),getHref:(e,t)=>(0,E.jb)((0,E.xn)(a,"/registration"),{...d,scenario:j(e,t)}),isPending:y}},aY={loginWidget:"_loginWidget_h02n9_61",wrapper:"_wrapper_h02n9_81",heading:"_heading_h02n9_86",description:"_description_h02n9_87"},aG=({serverConfig:e,baseUrl:t,s3AssetsUrl:n="",configKey:i,entryPointId:a,apiVersion:r,config:s,product:o,productContext:d,query:f,scenarioParams:m,isSilent:v,skeleton:g=(0,l.jsx)("p",{children:"Загружаем данные..."}),className:x,style:b,overrideLoginAction:y,onMount:w,onDestroy:_,onAnalyticsEvent:E,...j})=>{let[M,S]=(0,c.useState)(),[T,A]=(0,c.useState)(),[O,N]=(0,c.useState)(),{getConfig:R,getHref:F}=aH({configKey:i,apiBaseUrl:"",apiVersion:r,entryPointId:a,autoFetch:!1,baseUrl:t,product:o,productContext:d,query:f,scenarioParams:m,isSilent:v,config:s,serverConfig:e,onMount:w,onDestroy:_,onAnalyticsEvent:E}),{theme:D,variant:I,linkTarget:L,title:P,description:z,highlights:Z,withLogo:B,isNewYearLogo:$,legalInfo:V,consents:U=[],primaryTextOverride:q,additionalTextOverride:W,extraTextOverride:H,primaryAuthProviders:Y,additionalAuthProviders:G=[],extraAuthProviders:K=[],view:Q="base"}=R(),{buttonsList:X}=aq({providers:{primary:Y,additional:G,extra:K},getHref:F,scenarioOptions:{consents:M,phone:O}}),J=X.some(({buttons:e})=>e.length>0),ee=(0,c.useCallback)(e=>{null==E||E(e)},[E]),et=(0,c.useCallback)(e=>{N(e)},[]),en="phone"===Q?aS:aj,ei="primary"===I?u.C:"div",ea=T?k:"div",er=(0,c.useCallback)(e=>{A(e)},[]),es=(0,c.useMemo)(()=>o??{},[JSON.stringify(o)]);return e?Object.keys(e).length?(0,l.jsx)("div",{className:C(aY.loginWidget,x),style:b,...j,"data-auth-widgets-theme":D,"data-qa":"login-widget",children:(0,l.jsxs)(ei,{className:aY.wrapper,children:[(0,l.jsx)(ay,{s3AssetsUrl:n,withLogo:B,isNewYearLogo:$,dataQa:"login-widget-logo"}),(P||z)&&(0,l.jsxs)("div",{children:[P&&(0,l.jsx)(p.H,{type:"h2",className:aY.heading,dataQa:"login-widget-heading",children:P}),z&&(0,l.jsx)(h.T,{as:"p",fontFamily:"secondary",size:"14",className:C(aY.description),dataQa:"login-widget-description",children:z})]}),J?(0,l.jsx)(ea,{text:T?"Чтобы войти в личный кабинет, подтвердите свое согласие:":"",...T?{dataQa:"login-widget-tooltip"}:{},children:(0,l.jsx)(en,{buttonsList:X,disabled:T,primaryTextOverride:q,additionalTextOverride:W,extraTextOverride:H,overrideLoginAction:y,onAnalyticsEvent:ee,linkTarget:L,phone:O,onPhoneChange:et})}):(0,l.jsx)(h.T,{as:"p",weight:"bold",size:"20",dataQa:"login-widget-providers-empty",style:{textAlign:"center"},className:"mb-2",children:"Возникла техническая ошибка. Выберите другой способ входа или попробуйте войти позже"}),(0,l.jsx)(aO,{consents:U,onAgree:e=>{S(e)},onError:er,onAnalyticsEvent:E}),(0,l.jsx)(aV,{productInfo:es,s3AssetsUrl:n,onAnalyticsEvent:E}),(0,l.jsx)(aF,{highlights:Z??null}),(0,l.jsx)(aI,{legalInfo:V,onAnalyticsEvent:E})]})}):(0,l.jsx)("p",{children:"Возникла техническая ошибка. Попробуйте позже"}):(0,l.jsx)(l.Fragment,{children:g})};aG.displayName="LoginWidget"},4569:function(e,t,n){"use strict";n.d(t,{B:function(){return d},S:function(){return c}});var i=n(57437),a=n(2265),r=n(18550),s=n(97339),o=n(73354),l=n(90388);function c(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M15.827 2.761A10.001 10.001 0 1 0 12 22a.75.75 0 0 0 .75-.75v-.004a.75.75 0 0 0-.75-.75A8.496 8.496 0 1 1 20.496 12c0 .414.336.75.75.75h.004A.75.75 0 0 0 22 12a10 10 0 0 0-6.173-9.239Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(60625);let u=e=>e?"string"==typeof e?e.split(" ").map(e=>{if(e.includes("-")){let t=e.indexOf("-");return[e.substring(0,t),e.substring(t+1,e.length)]}return[e]}).reduce((e,t)=>{let[n,i]=t;return{...e,[n]:void 0===i||i}},{}):e:{},p=(0,l.g)("button"),h={button:p,label:"".concat(p,"__label"),icon:"".concat(p,"__icon"),spinner:"".concat(p,"__spinner"),states:{ghost:"".concat(p,"--ghost"),outline:"".concat(p,"--outline"),stretch:"".concat(p,"--stretch"),iconOnly:"".concat(p,"--icon-only"),iconLeft:"".concat(p,"--icon-left"),iconRight:"".concat(p,"--icon-right"),rounded:"".concat(p,"--rounded"),disabled:"".concat(p,"--disabled"),hidden:"".concat(p,"--hidden")}},d=(0,a.forwardRef)((e,t)=>{let{as:n,appearance:l="fill",children:p,className:d,disabled:f=!1,iconLeft:m,iconRight:v,label:g,pending:x,shape:b="default",size:y="m",stretch:w=!1,variant:_="primary",type:k,dataId:C,dataQa:E,style:j,onClick:M,...S}=e,T=n||"button",A=g||p,O=(0,a.useMemo)(()=>"icon"===b||"circle-icon"===b,[b]),N=(0,a.useMemo)(()=>{let e={};if(y&&!o.B.includes(y)){let t=u(y);e=o.B.reduce((e,n)=>{let i="xs"===n?"".concat(h.button,"--").concat(t[n]):"".concat(h.button,"--").concat(t[n],"-").concat(n);return{...e,[i]:!!t[n]}},{})}return e},[y]),R=(0,a.useMemo)(()=>({[h.button]:!0,["".concat(h.button,"--").concat(_)]:!0,["".concat(h.button,"--").concat(y)]:y&&o.B.includes(y),[h.states.iconOnly]:O,[h.states.stretch]:!0===w,["".concat(h.states.stretch,":").concat(w)]:"string"==typeof w,[h.states.ghost]:"ghost"===l,[h.states.outline]:"outline"===l,[h.states.rounded]:"circle-icon"===b,[h.states.iconLeft]:m&&!O,[h.states.iconRight]:v&&!O,[h.states.disabled]:f,...N}),[l,f,m,O,v,N,b,y,w,_]),F=(0,a.useMemo)(()=>!!v&&(!O||!m),[m,v,O]),D=(0,a.useCallback)(e=>{if(f){e.preventDefault();return}null==M||M(e)},[M,f]);return(0,i.jsxs)(T,{className:(0,r.Z)(d,{...R}),ref:t,style:j,type:"button"===T?k||"button":void 0,disabled:"button"===T?f:void 0,"aria-disabled":f||void 0,tabIndex:f?-1:0,onClick:D,...S,"data-qa":E,"data-id":C,children:[m&&(0,i.jsx)("span",{role:"img","aria-hidden":"true",className:(0,r.Z)(h.icon,{[h.states.hidden]:x}),children:m}),A&&!O&&(0,i.jsx)("span",{className:(0,r.Z)(h.label,{[h.states.hidden]:x}),children:A}),F&&(0,i.jsx)("span",{role:"img","aria-hidden":"true",className:(0,r.Z)(h.icon,{[h.states.hidden]:x}),children:v}),x&&(0,i.jsx)("span",{role:"img","aria-hidden":"true",className:h.spinner,children:(0,i.jsx)(s.P,{children:(0,i.jsx)(c,{})})})]})});d.displayName="Button"},26675:function(e,t,n){"use strict";n.d(t,{C:function(){return d},S:function(){return u},a:function(){return c}});var i=n(57437),a=n(18550),r=n(2265),s=n(97339),o=n(70795),l=n(90388);function c(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),r.createElement("g",{clipPath:"url(#a)"},r.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-1.72-4.25 4.25a.722.722 0 0 1-.53.22.722.722 0 0 1-.53-.22l-2.25-2.25a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L11 12.94l3.72-3.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function u(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M12.617 2.035a4.736 4.736 0 0 0-1.232 0c-1.28.167-2.263 1.01-3.216 2.25-.944 1.231-1.97 3.005-3.284 5.28l-.06.105c-1.316 2.277-2.342 4.053-2.937 5.487-.6 1.447-.838 2.72-.344 3.912.159.382.366.74.617 1.069.785 1.024 2.007 1.454 3.56 1.659 1.539.202 3.59.202 6.22.202h.12c2.63 0 4.681 0 6.22-.202 1.553-.204 2.775-.635 3.56-1.66a4.75 4.75 0 0 0 .617-1.068c.494-1.192.256-2.465-.344-3.912-.595-1.434-1.621-3.21-2.937-5.487l-.06-.105c-1.315-2.275-2.34-4.049-3.285-5.28-.952-1.24-1.935-2.083-3.215-2.25ZM11.58 3.522a3.23 3.23 0 0 1 .844 0c.678.089 1.343.535 2.22 1.677.877 1.143 1.854 2.83 3.205 5.169 1.352 2.34 2.328 4.031 2.88 5.364.552 1.331.606 2.13.344 2.762-.108.261-.25.507-.422.731-.415.543-1.135.897-2.564 1.085-1.43.188-3.382.189-6.085.189s-4.655-.001-6.085-.19c-1.43-.187-2.149-.54-2.564-1.084a3.249 3.249 0 0 1-.422-.73c-.262-.632-.208-1.432.344-2.763.552-1.333 1.528-3.023 2.88-5.364 1.351-2.338 2.328-4.026 3.205-5.17.877-1.141 1.543-1.587 2.22-1.676Zm1.173 5.227a.75.75 0 0 0-1.5 0v5.5a.75.75 0 1 0 1.5 0v-5.5Zm-1.75 8.253a1 1 0 1 1 2-.005 1 1 0 0 1-2 .005Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(90882);let p=(0,l.g)("caption"),h=Object.freeze({caption:p,captionWithIcon:`${p}--with-icon`,content:`${p}__content`,icon:`${p}__icon`,text:`${p}__text`,size:{s:`${p}--s`,m:`${p}--m`},states:{success:`${p}--success`,error:`${p}--error`,warning:`${p}--warning`}});function d({as:e,children:t,state:n="default",size:r="m",text:l,withoutIcon:p=!1,lineClamp:d,role:f,dataQa:m,dataId:v,className:g,style:x,...b}){let y=l||t,w=!p&&["success","error","warning"].includes(n),_="success"===n?c:u,k=(0,a.Z)(g,h.caption,h.size[r],{[h.captionWithIcon]:w,[h.states.success]:"success"===n,[h.states.error]:"error"===n,[h.states.warning]:"warning"===n});return(0,i.jsx)(e||"div",{className:k,style:x,role:f,...b,"data-id":v,"data-qa":m,children:(0,i.jsxs)("div",{className:h.content,children:[w&&y&&(0,i.jsx)(s.P,{className:h.icon,children:(0,i.jsx)(_,{})}),(0,i.jsx)("span",{className:(0,a.Z)(h.text),style:{...d?{WebkitLineClamp:d,lineClamp:d,...o.l}:void 0},children:y})]})})}d.displayName="Caption"},98160:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var i=n(57437),a=n(18550),r=n(90388);n(31444);let s=(0,r.g)("card"),o={card:s,variants:{primary:`${s}--primary`,secondary:`${s}--secondary`}},l=({as:e,className:t,style:n,children:r,variant:s="primary",dataQa:l,dataId:c,...u})=>(0,i.jsx)(e||"div",{className:(0,a.Z)(t,o.card,o.variants[s]),style:n,...u,"data-id":c,"data-qa":l,children:r});l.displayName="Card"},98825:function(e,t,n){"use strict";n.d(t,{C:function(){return f}});var i=n(57437),a=n(2265),r=n(18550),s=n(30462),o=n(26675);n(73354);var l=n(27590),c=n(93869),u=n(97339),p=n(90388);n(73923);let h=(0,p.g)("checkbox"),d=Object.freeze({checkbox:h,input:"".concat(h,"__input"),marker:"".concat(h,"__marker"),wrapper:"".concat(h,"__wrapper"),label:"".concat(h,"__label"),caption:"".concat(h,"__caption"),icon:"".concat(h,"__icon"),iconButton:"".concat(h,"__icon-button"),states:{error:"".concat(h,"--error"),disabled:"".concat(h,"--disabled"),inverted:"".concat(h,"--inverted")},sizes:{xs:"".concat(h,"--xs"),s:"".concat(h,"--s"),m:"".concat(h,"--m")},variants:{primary:"".concat(h,"--primary"),secondary:"".concat(h,"--secondary")}}),f=(0,a.forwardRef)((e,t)=>{let{value:n=!1,variant:p="primary",state:h="default",label:f,disabled:m=!1,caption:v,className:g,icon:x,withIcon:b=!1,size:y="m",style:w,inverted:_=!1,children:k,inputRef:C,dataQa:E,dataId:j,onChange:M,onIconClick:S,...T}=e,[A,O]=(0,l.u)(!1,n),N=(0,a.useId)(),R=k||f;return(0,i.jsxs)("label",{ref:t,htmlFor:N,"data-marker-label":"",className:(0,r.Z)(g,d.checkbox,{[d.states.inverted]:_,[d.states.disabled]:m,[d.states.error]:"error"===h,[d.sizes[y]]:!0,[d.variants[p]]:!0}),style:w,"data-id":j,"data-qa":E,children:[(0,i.jsx)("input",{id:N,ref:C,value:String(A),className:d.input,type:"checkbox","aria-invalid":"error"===h,disabled:m,onChange:e=>{let t="string"==typeof A?!!A:!A;O(t),null==M||M(t,e)},...T}),(0,i.jsx)("span",{className:d.marker,children:(0,i.jsx)(c.C,{type:"checkbox",checked:A,inverted:_,state:h,disabled:m})}),R&&(0,i.jsxs)("span",{className:d.wrapper,children:[(0,i.jsx)("span",{className:(0,r.Z)(d.label),children:R}),v&&(0,i.jsx)(o.C,{className:d.caption,withoutIcon:!0,children:v})]}),b&&(0,i.jsx)("button",{type:"button",className:(0,r.Z)(d.iconButton),onClick:m?void 0:S,children:(0,i.jsx)(u.P,{className:(0,r.Z)(d.icon),children:x?(0,i.jsx)(i.Fragment,{children:x}):(0,i.jsx)(s.S,{})})})]})});f.displayName="Checkbox"},5795:function(e,t,n){"use strict";n(57437),n(18550);var i=n(90388);n(17046);let a=(0,i.g)("col");Object.freeze({col:a,state:{size:(e,t)=>!0===t?`${a}--${e}`:`${a}--${e}-${t}`,offsetLeft:(e,t)=>`${a}--${e}-offset-left-${t}`,offsetRight:(e,t)=>`${a}--${e}-offset-right-${t}`}})},93869:function(e,t,n){"use strict";n.d(t,{C:function(){return d}});var i=n(57437),a=n(18550),r=n(2265),s=n(97339),o=n(90388);function l(e){return r.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.836 6.466a1.5 1.5 0 0 1-.051 2.12l-9.45 9a1.5 1.5 0 0 1-2.07 0l-4.05-3.857a1.5 1.5 0 1 1 2.07-2.172L9.3 14.429l8.415-8.015a1.5 1.5 0 0 1 2.121.052Z"}))}function c(e){return r.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("rect",{width:18,height:3,x:3,y:10.5,fill:"currentColor",rx:1.5}))}n(50230);let u=["checkbox"],p=(0,o.g)("common-marker"),h={marker:p,icon:`${p}__icon`,states:{checkbox:`${p}--checkbox`,radio:`${p}--radio`,toggle:`${p}--toggle`,error:`${p}--error`,checked:`${p}--checked`,disabled:`${p}--disabled`,inverted:`${p}--inverted`,indeterminate:`${p}--indeterminate`}},d=({as:e,state:t="default",type:n="checkbox",className:r,checked:o,inverted:p,disabled:d,...f})=>(0,i.jsx)(e||"span",{...f,className:(0,a.Z)(r,h.marker,{[h.states.checkbox]:"checkbox"===n,[h.states.radio]:"radio"===n,[h.states.toggle]:"toggle"===n,[h.states.checked]:!!o,[h.states.indeterminate]:"indeterminate"===o,[h.states.error]:"error"===t,[h.states.inverted]:p,[h.states.disabled]:d}),children:u.includes(n)&&(0,i.jsx)(s.P,{className:(0,a.Z)(h.icon,{[h.states.checked]:o,[h.states.inverted]:p,[h.states.error]:"error"===t,[h.states.disabled]:d}),children:"indeterminate"===o?(0,i.jsx)(c,{}):(0,i.jsx)(l,{})})});d.displayName="CommonMarker"},29832:function(e,t,n){"use strict";n(57437),n(18550);var i=n(90388);n(69061);let a=(0,i.g)("container");Object.freeze({container:a,states:{narrow:`${a}--narrow`}})},77046:function(e,t,n){"use strict";n.d(t,{D:function(){return l}});var i=n(57437),a=n(18550),r=n(90388);n(83002);let s=(0,r.g)("divider"),o=Object.freeze({divider:s,content:`${s}__content`}),l=({content:e,className:t,style:n,dataQa:r,dataId:s,...l})=>(0,i.jsx)("div",{className:(0,a.Z)(o.divider,t),style:n,...l,"data-id":s,"data-qa":r,children:e&&(0,i.jsx)("div",{className:o.content,children:e})});l.displayName="Divider"},54428:function(e,t,n){"use strict";n.d(t,{F:function(){return c}});var i=n(57437),a=n(18550),r=n(26675),s=n(90388);n(85379);let o=(0,s.g)("form-field"),l=Object.freeze({formField:o,labelWrapper:`${o}__label-wrapper`,label:`${o}__label`,description:`${o}__description`}),c=({label:e,description:t,caption:n,captionState:s,children:o,hasCaption:c,className:u,style:p,dataQa:h,dataId:d,...f})=>(0,i.jsxs)("div",{className:(0,a.Z)(l.formField,u),style:p,...f,"data-id":d,"data-qa":h,children:[(e||t)&&(0,i.jsxs)("div",{className:l.labelWrapper,children:[(0,i.jsx)("span",{className:l.label,children:e}),(0,i.jsx)("span",{className:l.description,children:t})]}),o,(c||n)&&(0,i.jsx)(r.C,{text:n,state:s})]});c.displayName="FormField"},60885:function(e,t,n){"use strict";n.d(t,{H:function(){return u}});var i=n(57437),a=n(18550),r=n(70795),s=n(90388);n(50336);let o={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},l=(0,s.g)("heading"),c=Object.freeze({heading:l,states:Object.freeze({display:`${l}--display`,hero:`${l}--hero`,h1:`${l}--h1`,h2:`${l}--h2`,h3:`${l}--h3`,h4:`${l}--h4`,h5:`${l}--h5`,h6:`${l}--h6`})}),u=({as:e,children:t,weight:n,type:s,lineClamp:l,className:u,style:p,dataQa:h,dataId:d,...f})=>{var m;let v=e||o[s]||"div",g=/^h[1-6]$/.test(v),x=(null==(m=s.match(/\d+/))?void 0:m[0])||1;return(0,i.jsx)(v,{className:(0,a.Z)(c.heading,c.states[s],u),style:{...n?{fontWeight:`var(--font-weight-${n})`}:void 0,...l?{WebkitLineClamp:l,lineClamp:l,...r.l}:void 0,...p},role:g?null:"heading","aria-level":g?null:x,...f,"data-id":d,"data-qa":h,children:t})};u.displayName="Heading"},20746:function(e,t,n){"use strict";n(57437),n(18550);var i=n(90388);n(32905);let a=(0,i.g)("loader");Object.freeze({loader:a,variant:{primary:`${a}--primary`,purple:`${a}--purple`,accent:`${a}--accent`,white:`${a}--white`},size:{s:`${a}--s`,m:`${a}--m`,l:`${a}--l`}})},41566:function(e,t,n){"use strict";n.d(t,{P:function(){return m}});var i=n(57437),a=n(2265),r=n(18550),s=n(16372),o=n(3385),l=n(97339),c=n(90388);function u(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.997 10.746c-.686 0-1.252.559-1.247 1.254A1.251 1.251 0 0 0 6 13.246c.69 0 1.25-.56 1.25-1.25 0-.692-.564-1.25-1.253-1.25Zm6 0c-.686 0-1.252.559-1.247 1.254A1.251 1.251 0 0 0 12 13.246c.69 0 1.25-.56 1.25-1.25 0-.692-.564-1.25-1.253-1.25ZM16.75 12a1.247 1.247 0 0 1 1.247-1.254c.69 0 1.253.558 1.253 1.25 0 .69-.56 1.25-1.25 1.25A1.252 1.252 0 0 1 16.75 12Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(17350);let p=(e,t)=>Array.from({length:t-e+1},(t,n)=>n+e),h=e=>{let{totalCount:t,pageSize:n,siblingCount:i=1,currentPage:r}=e;return(0,a.useMemo)(()=>{let e=Math.ceil(t/n);if(i+5>=e)return p(1,e);let a=Math.max(r-i,1),s=Math.min(r+i,e),o=a>2,l=s<e-1;return!o&&l?[...p(1,2+2*i),"...",e]:o&&!l?[1,"...",...p(e-(2+2*i)+1,e)]:o&&l?[1,"...",...p(a,s),"...",e]:void 0},[t,n,i,r])},d=(0,c.g)("pagination"),f=Object.freeze({pagination:d,bullet:"".concat(d,"--bullet"),dots:"".concat(d,"__dots"),link:"".concat(d,"__link"),active:"".concat(d,"__link--active"),controls:"".concat(d,"__link--controls"),big:"".concat(d,"__link--big"),prev:"".concat(d,"__link--prev"),next:"".concat(d,"__link--next"),disabled:"".concat(d,"__link--disabled")}),m=e=>{let{isControl:t=!1,onPageChange:n,totalCount:c,siblingCount:p=1,currentPage:d,pageSize:m,className:v,style:g,dataId:x,dataQa:b,sizePaginationBtn:y="small",hidePaginationControl:w=!1,renderLinkComponent:_,link:k}=e,C=h({currentPage:d,totalCount:c,siblingCount:p,pageSize:m});if(0===d||(null==C?void 0:C.length)<2)return null;let E=C[(null==C?void 0:C.length)-1],j=null==_?void 0:_(d+1),M=null==_?void 0:_(d-1),S=(0,r.Z)(f.controls,f.prev,{[f.big]:"big"===y,[f.link]:"small"===y,[f.disabled]:1===d}),T=(0,r.Z)(f.controls,f.next,{[f.big]:"big"===y,[f.link]:"small"===y,[f.disabled]:d===+E}),A=e=>(0,r.Z)(f.link,{[f.active]:e===d}),O=(0,i.jsx)(l.P,{style:{fontSize:24},children:(0,i.jsx)(o.S,{})}),N=(0,i.jsx)(l.P,{style:{fontSize:24},children:(0,i.jsx)(s.S,{})});return t?(0,i.jsx)("div",{role:"navigation","aria-label":"Навигация по страницам",className:(0,r.Z)(f.pagination,f.bullet),"data-id":x,"data-qa":b,children:Array.from({length:c/m},(e,t)=>t+1).map((e,t)=>{let r=null==_?void 0:_(+e),s=A(+e);return(0,a.isValidElement)(r)?(0,a.cloneElement)(r,{key:t,className:s}):(0,i.jsx)("a",{className:s,href:k?"".concat(k).concat(+e):"#","aria-current":d===+e?"true":"false","aria-label":"".concat(+e),onClick:t=>{t.preventDefault(),null==n||n(+e)}},t)})}):(0,i.jsxs)("div",{role:"navigation","aria-label":"Навигация по страницам",className:(0,r.Z)(f.pagination,v),style:g,"data-id":x,"data-qa":b,children:[(null==C?void 0:C.length)&&!w?(0,a.isValidElement)(M)?(0,a.cloneElement)(M,{children:N,className:S}):(0,i.jsx)("a",{href:k?"".concat(k).concat(d-1):"#",className:S,onClick:e=>{e.preventDefault(),null==n||n(d-1)},children:N}):null,(null==C?void 0:C.length)&&(null==C?void 0:C.map((e,t)=>{if("..."===e)return(0,i.jsx)("div",{className:(0,r.Z)(f.dots),children:(0,i.jsx)(l.P,{children:(0,i.jsx)(u,{})})},t);let s=null==_?void 0:_(+e),o=A(+e);return(0,a.isValidElement)(s)?(0,a.cloneElement)(s,{children:e,key:t,className:o}):(0,i.jsx)("a",{className:o,"aria-current":d===+e?"true":"false","aria-label":"".concat(+e),href:k?"".concat(k).concat(+e):"#",onClick:t=>{t.preventDefault(),null==n||n(+e)},children:e},t)})),(null==C?void 0:C.length)&&!w?(0,a.isValidElement)(j)?(0,a.cloneElement)(j,{children:O,className:T}):(0,i.jsx)("a",{href:k?"".concat(k).concat(d+1):"#",className:T,onClick:e=>{e.preventDefault(),null==n||n(d+1)},children:O}):null]})};m.displayName="Pagination"},97339:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var i=n(57437),a=n(18550),r=n(90388);n(84074);let s=Object.freeze({privateIcon:(0,r.g)("private-icon")}),o=({children:e,className:t,style:n,...r})=>(0,i.jsx)("span",{className:(0,a.Z)(s.privateIcon,t),style:n,...r,children:e});o.displayName="PrivateIcon"},95925:function(e,t,n){"use strict";n(57437);var i=(n(18550),n(90388));n(44732);let a=(0,i.g)("progress-bar");Object.freeze({progressBar:a,rounded:`${a}-rounded`,indicator:`${a}__indicator`,text:`${a}__text`,animationCircle:`${a}__animation-circle`})},96777:function(e,t,n){"use strict";n(57437),n(18550);var i=n(90388);n(94250);let a=(0,i.g)("row"),r=(e,t,n)=>`${a}--gutter-${e}-${t}-${n}`;Object.freeze({row:a,state:{reverse:`${a}--reverse`,gutter:(e,t="xs")=>Array.isArray(e)?[r(t,e[0],"h"),r(t,e[1],"v")].join(" "):r(t,e,"h")}})},52475:function(e,t,n){"use strict";n(57437),n(18550);var i=n(90388);n(38018);let a=(0,i.g)("skeleton");Object.freeze({skeleton:a,states:{inline:`${a}--inline`,rounded:`${a}--rounded`,inverted:`${a}--inverted`,suspend:`${a}--suspend`}})},78665:function(e,t,n){"use strict";n.d(t,{T:function(){return c}});var i=n(57437),a=n(2265),r=n(18550),s=n(90388);n(4026);let o=(0,s.g)("tag"),l=Object.freeze({tag:o,label:"".concat(o,"__label"),icon:"".concat(o,"__icon"),rounded:"".concat(o,"--rounded"),variant:{primary:"".concat(o,"--primary"),secondary:"".concat(o,"--secondary"),red:"".concat(o,"--red"),green:"".concat(o,"--green"),orange:"".concat(o,"--orange"),purple:"".concat(o,"--purple"),outline:"".concat(o,"--outline")},size:{s:"".concat(o,"--s"),m:"".concat(o,"--m"),l:"".concat(o,"--l")},iconMargin:{left:"".concat(o,"__icon--left"),right:"".concat(o,"__icon--right")}}),c=(0,a.forwardRef)((e,t)=>{let{label:n,size:a="m",rounded:s,variant:o="primary",iconLeft:c,iconRight:u,onIconLeftClick:p,onIconRightClick:h,className:d,style:f,dataQa:m,dataId:v,...g}=e;return(0,i.jsx)(i.Fragment,{children:n&&(0,i.jsxs)("div",{ref:t,className:(0,r.Z)(l.tag,l.variant[o],l.size[a],{[l.rounded]:s},d),style:f,...g,"data-id":v,"data-qa":m,children:[c&&(0,i.jsx)("button",{type:"button",className:(0,r.Z)(l.icon,l.iconMargin.left,{[l.size.l]:"l"===a}),onClick:e=>null==p?void 0:p(e),disabled:!p,children:c}),(0,i.jsx)("span",{className:(0,r.Z)(l.label,l.size[a]),children:n}),u&&(0,i.jsx)("button",{type:"button",className:(0,r.Z)(l.icon,l.iconMargin.right,{[l.size.l]:"l"===a}),onClick:e=>null==h?void 0:h(e),disabled:!h,children:u})]})})});c.displayName="Tag"},33054:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var i=n(57437),a=n(18550),r=n(70795);let s=Object.freeze({text:(0,n(90388).g)("text")});function o({as:e,className:t,style:n,children:o,size:l,weight:c,fontFamily:u,lineClamp:p,dataQa:h,dataId:d,...f}){return(0,i.jsx)(e||"span",{className:(0,a.Z)(s.text,t),style:{...l&&{fontSize:`var(--font-size-${l})`,lineHeight:`var(--font-line-height-${l})`},...c&&{fontWeight:`var(--font-weight-${c})`},...p&&{WebkitLineClamp:p,lineClamp:p,...r.l},...u&&{fontFamily:`var(--font-family-${u})`},...n},...f,"data-id":d,"data-qa":h,children:o})}o.displayName="Text"},37418:function(e,t,n){"use strict";n.d(t,{T:function(){return p}});var i=n(57437),a=n(2265),r=n(18550);n(73354);var s=n(27590),o=n(93869),l=n(90388);n(69433);let c=(0,l.g)("toggle"),u=Object.freeze({toggle:c,wrapper:"".concat(c,"__wrapper"),secondaryLabel:"".concat(c,"__secondary-label"),input:"".concat(c,"__input"),marker:"".concat(c,"__marker"),label:"".concat(c,"__label"),caption:"".concat(c,"__caption"),states:{disabled:"".concat(c,"--disabled"),inverted:"".concat(c,"--inverted"),flipped:"".concat(c,"--flipped"),checked:"".concat(c,"--checked")}}),p=(0,a.forwardRef)((e,t)=>{let{value:n,onChange:l,label:c,secondaryLabel:p,disabled:h=!1,caption:d,inverted:f=!1,flipped:m=!1,className:v,style:g,inputRef:x,dataQa:b,dataId:y,...w}=e,[_,k]=(0,s.u)(null!=n&&n,n),C=(0,a.useId)();return(0,i.jsxs)("label",{className:(0,r.Z)(v,u.toggle,{[u.states.disabled]:h,[u.states.inverted]:f,[u.states.flipped]:m,[u.states.checked]:_}),style:g,htmlFor:C,"data-marker-label":"",ref:t,"data-id":y,"data-qa":b,children:[(0,i.jsx)("input",{id:C,role:"switch","aria-checked":_,type:"checkbox",className:u.input,checked:_,onChange:e=>{k(e.target.checked),null==l||l(e.target.checked,e)},disabled:h,ref:x,...w}),(0,i.jsx)("span",{className:u.marker,children:(0,i.jsx)(o.C,{type:"toggle",checked:_,inverted:f,disabled:h})}),c&&p&&(0,i.jsx)("span",{className:u.secondaryLabel,children:p}),c&&(0,i.jsxs)("span",{className:u.wrapper,children:[(0,i.jsx)("span",{className:u.label,children:c}),d&&(0,i.jsx)("span",{className:u.caption,children:d})]})]})});p.displayName="Toggle"},73354:function(e,t,n){"use strict";n.d(t,{B:function(){return a},a:function(){return i},b:function(){return r}});let i=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),a=Object.freeze(Object.keys(i)),r=Object.freeze(a.filter(e=>"xs"!==e));Object.freeze(a.filter(e=>"3xl"!==e))},70795:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});let i={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}},90388:function(e,t,n){"use strict";function i(e){return`finkit-modular-${e}`}n.d(t,{g:function(){return i}})},16372:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var i=n(2265);function a(e){return i.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M7.22 12.53a.75.75 0 0 1 0-1.06l6.5-6.5a.75.75 0 1 1 1.06 1.06L8.81 12l5.97 5.97a.75.75 0 1 1-1.06 1.06l-6.5-6.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}},3385:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var i=n(2265);function a(e){return i.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"m10.28 19.03 6.5-6.5a.75.75 0 0 0 0-1.06l-6.5-6.5a.75.75 0 1 0-1.06 1.06L15.19 12l-5.97 5.97a.75.75 0 1 0 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}},30462:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var i=n(2265);function a(e){return i.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.004 7.246A1.247 1.247 0 0 1 10.75 6c0-.69.558-1.253 1.25-1.253.69 0 1.25.56 1.25 1.25 0 .688-.559 1.248-1.246 1.25ZM10.75 12c0 .686.559 1.252 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Zm0 6c0 .686.559 1.253 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}},45823:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});let i=(e,t=!0)=>t?e:void 0},9645:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});let i=()=>Date.now().toString()+Math.random().toString(36).slice(2,9)},95512:function(e,t,n){"use strict";function i(e){return void 0!==e}n.d(t,{i:function(){return i}})},27590:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});var i=n(2265),a=n(95512);function r(e,t){let[n,r]=(0,i.useState)(e);return(0,i.useEffect)(()=>{(0,a.i)(t)&&r(t)},[JSON.stringify(t)]),[n,r]}},18550:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,i="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,i,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t)){var r=t.length;for(n=0;n<r;n++)t[n]&&(i=e(t[n]))&&(a&&(a+=" "),a+=i)}else for(i in t)t[i]&&(a&&(a+=" "),a+=i)}return a}(e))&&(i&&(i+=" "),i+=t);return i}},32464:function(e,t,n){"use strict";n.d(t,{jb:function(){return b},xn:function(){return y}});let i=/#/g,a=/&/g,r=/\//g,s=/=/g,o=/\+/g,l=/%5e/gi,c=/%60/gi,u=/%7c/gi,p=/%20/gi;function h(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(u,"|").replace(o,"%2B").replace(p,"+").replace(i,"%23").replace(a,"%26").replace(c,"`").replace(l,"^").replace(r,"%2F")}function d(e){return h(e).replace(s,"%3D")}function f(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let m=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,v=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,g=/^([/\\]\s*){2,}[^/\\]/,x=/^\.?\//;function b(e,t){let n=function e(t="",n){let i=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(i){let[,e,t=""]=i;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!function(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?m.test(e):v.test(e)||!!t.acceptRelative&&g.test(e)}(t,{acceptRelative:!0}))return n?e(n+t):_(t);let[,a="",r,s=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o="",l=""]=s.match(/([^#/?]*)(.*)?/)||[];"file:"===a&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:c,search:u,hash:p}=_(l);return{protocol:a.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:c,search:u,hash:p,[w]:!a}}(e),i={...function(e=""){let t=Object.create(null);for(let n of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let i=f(e[1].replace(o," "));if("__proto__"===i||"constructor"===i)continue;let a=f((e[2]||"").replace(o," "));void 0===t[i]?t[i]=a:Array.isArray(t[i])?t[i].push(a):t[i]=[t[i],a]}return t}(n.search),...t};return n.search=Object.keys(i).filter(e=>void 0!==i[e]).map(e=>{var t;return(("number"==typeof(t=i[e])||"boolean"==typeof t)&&(t=String(t)),t)?Array.isArray(t)?t.map(t=>`${d(e)}=${h(t)}`).join("&"):`${d(e)}=${h(t)}`:d(e)}).filter(Boolean).join("&"),function(e){let t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",i=e.hash||"",a=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[w]?(e.protocol||"")+"//":"")+a+r+t+n+i}(n)}function y(e,...t){let n=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(n){let t=e.replace(x,"");n=function(e="",t){return e.endsWith("/")?e:e+"/"}(n)+t}else n=e;return n}let w=Symbol.for("ufo:protocolRelative");function _(e=""){let[t="",n="",i=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:i}}},73801:function(e,t,n){"use strict";n.d(t,{B:function(){return C},C:function(){return f},F:function(){return g},H:function(){return w},P:function(){return u},S:function(){return o},T:function(){return k},a:function(){return E},c:function(){return j},d:function(){return M},e:function(){return A},f:function(){return s},g:function(){return l},i:function(){return T},p:function(){return S}});var i=n(57437),a=n(61994),r=n(2265);function s(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),r.createElement("g",{clipPath:"url(#a)"},r.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-1.72-4.25 4.25a.722.722 0 0 1-.53.22.722.722 0 0 1-.53-.22l-2.25-2.25a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L11 12.94l3.72-3.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function o(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M12.617 2.035a4.736 4.736 0 0 0-1.232 0c-1.28.167-2.263 1.01-3.216 2.25-.944 1.231-1.97 3.005-3.284 5.28l-.06.105c-1.316 2.277-2.342 4.053-2.937 5.487-.6 1.447-.838 2.72-.344 3.912.159.382.366.74.617 1.069.785 1.024 2.007 1.454 3.56 1.659 1.539.202 3.59.202 6.22.202h.12c2.63 0 4.681 0 6.22-.202 1.553-.204 2.775-.635 3.56-1.66a4.75 4.75 0 0 0 .617-1.068c.494-1.192.256-2.465-.344-3.912-.595-1.434-1.621-3.21-2.937-5.487l-.06-.105c-1.315-2.275-2.34-4.049-3.285-5.28-.952-1.24-1.935-2.083-3.215-2.25ZM11.58 3.522a3.23 3.23 0 0 1 .844 0c.678.089 1.343.535 2.22 1.677.877 1.143 1.854 2.83 3.205 5.169 1.352 2.34 2.328 4.031 2.88 5.364.552 1.331.606 2.13.344 2.762-.108.261-.25.507-.422.731-.415.543-1.135.897-2.564 1.085-1.43.188-3.382.189-6.085.189s-4.655-.001-6.085-.19c-1.43-.187-2.149-.54-2.564-1.084a3.249 3.249 0 0 1-.422-.73c-.262-.632-.208-1.432.344-2.763.552-1.333 1.528-3.023 2.88-5.364 1.351-2.338 2.328-4.026 3.205-5.17.877-1.141 1.543-1.587 2.22-1.676Zm1.173 5.227a.75.75 0 0 0-1.5 0v5.5a.75.75 0 1 0 1.5 0v-5.5Zm-1.75 8.253a1 1 0 1 1 2-.005 1 1 0 0 1-2 .005Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function l(e){return`finkit-${e}`}let c=Object.freeze({privateIcon:l("private-icon")}),u=({children:e,className:t,style:n,...r})=>(0,i.jsx)("span",{className:(0,a.Z)(c.privateIcon,t),style:n,...r,children:e});u.displayName="PrivateIcon";let p={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"},h=l("caption"),d=Object.freeze({caption:h,captionWithIcon:`${h}--with-icon`,content:`${h}__content`,icon:`${h}__icon`,text:`${h}__text`,size:{s:`${h}--s`,m:`${h}--m`},states:{success:`${h}--success`,error:`${h}--error`,warning:`${h}--warning`}});function f({as:e,children:t,state:n="default",size:r="m",text:l,withoutIcon:c=!1,lineClamp:h,role:f,dataQa:m,dataId:v,className:g,style:x,...b}){let y=l||t,w=!c&&["success","error","warning"].includes(n),_="success"===n?s:o,k=(0,a.Z)(g,d.caption,d.size[r],{[d.captionWithIcon]:w,[d.states.success]:"success"===n,[d.states.error]:"error"===n,[d.states.warning]:"warning"===n});return(0,i.jsx)(e||"div",{className:k,style:x,role:f,...b,"data-id":v,"data-qa":m,children:(0,i.jsxs)("div",{className:d.content,children:[w&&y&&(0,i.jsx)(u,{className:d.icon,children:(0,i.jsx)(_,{})}),(0,i.jsx)("span",{className:(0,a.Z)(d.text),style:{...h?{WebkitLineClamp:h,lineClamp:h,...p}:void 0},children:y})]})})}f.displayName="Caption";let m=l("form-field"),v=Object.freeze({formField:m,labelWrapper:`${m}__label-wrapper`,label:`${m}__label`,description:`${m}__description`}),g=({label:e,description:t,caption:n,captionState:r,children:s,hasCaption:o,className:l,style:c,dataQa:u,dataId:p,...h})=>(0,i.jsxs)("div",{className:(0,a.Z)(v.formField,l),style:c,...h,"data-id":p,"data-qa":u,children:[(e||t)&&(0,i.jsxs)("div",{className:v.labelWrapper,children:[(0,i.jsx)("span",{className:v.label,children:e}),(0,i.jsx)("span",{className:v.description,children:t})]}),s,(o||n)&&(0,i.jsx)(f,{text:n,state:r})]});g.displayName="FormField";let x={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},b=l("heading"),y=Object.freeze({heading:b,states:Object.freeze({display:`${b}--display`,hero:`${b}--hero`,h1:`${b}--h1`,h2:`${b}--h2`,h3:`${b}--h3`,h4:`${b}--h4`,h5:`${b}--h5`,h6:`${b}--h6`})}),w=({as:e,children:t,weight:n,type:r,lineClamp:s,className:o,style:l,dataQa:c,dataId:u,...h})=>{var d;let f=e||x[r]||"div",m=/^h[1-6]$/.test(f),v=(null==(d=r.match(/\d+/))?void 0:d[0])||1;return(0,i.jsx)(f,{className:(0,a.Z)(y.heading,y.states[r],o),style:{...n?{fontWeight:`var(--font-weight-${n})`}:void 0,...s?{WebkitLineClamp:s,lineClamp:s,...p}:void 0,...l},role:m?null:"heading","aria-level":m?null:v,...h,"data-id":u,"data-qa":c,children:t})};w.displayName="Heading";let _=Object.freeze({text:l("text")});function k({as:e,className:t,style:n,children:r,size:s,weight:o,lineClamp:l,dataQa:c,dataId:u,...h}){return(0,i.jsx)(e||"span",{className:(0,a.Z)(_.text,t),style:{...s&&{fontSize:`var(--font-size-${s})`,lineHeight:`var(--font-line-height-${s})`},...o&&{fontWeight:`var(--font-weight-${o})`},...l&&{WebkitLineClamp:l,lineClamp:l,...p},...n},...h,"data-id":u,"data-qa":c,children:r})}k.displayName="Text";let C=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),E=Object.freeze(Object.keys(C)),j=Object.freeze(E.filter(e=>"xs"!==e)),M=(Object.freeze(E.filter(e=>"3xl"!==e)),(e,t=!0)=>t?e:void 0),S=(e,t,n,i)=>{let a=[t,n,i];return a[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]||a[0]};function T(e){return"u">typeof e}let A=e=>null==e},35563:function(e,t,n){"use strict";n.d(t,{W2:function(){return h},X6:function(){return i.H},Zb:function(){return l},j$:function(){return i.B},xv:function(){return i.T}});var i=n(73801),a=n(57437),r=n(61994);let s=(0,i.g)("card"),o={card:s,variants:{primary:`${s}--primary`,secondary:`${s}--secondary`}},l=({as:e,className:t,style:n,children:i,variant:s="primary",dataQa:l,dataId:c,...u})=>(0,a.jsx)(e||"div",{className:(0,r.Z)(t,o.card,o.variants[s]),style:n,...u,"data-id":c,"data-qa":l,children:i});l.displayName="Card";let c=(0,i.g)("col");Object.freeze({col:c,state:{size:(e,t)=>!0===t?`${c}--${e}`:`${c}--${e}-${t}`,offsetLeft:(e,t)=>`${c}--${e}-offset-left-${t}`,offsetRight:(e,t)=>`${c}--${e}-offset-right-${t}`}});let u=(0,i.g)("container"),p=Object.freeze({container:u,states:{narrow:`${u}--narrow`}}),h=({children:e,as:t,fluid:n=!1,className:i="",...s})=>(0,a.jsx)(t||"div",{className:(0,r.Z)(p.container,i,{[p.states.narrow]:!n}),...s,children:e});h.displayName="Container";let d=(0,i.g)("divider");Object.freeze({divider:d,content:`${d}__content`});let f=(0,i.g)("loader");Object.freeze({loader:f,variant:{primary:`${f}--primary`,purple:`${f}--purple`,accent:`${f}--accent`,white:`${f}--white`},size:{s:`${f}--s`,m:`${f}--m`,l:`${f}--l`}});let m=(0,i.g)("progress-bar");Object.freeze({progressBar:m,rounded:`${m}-rounded`,indicator:`${m}__indicator`,text:`${m}__text`,animationCircle:`${m}__animation-circle`});let v=(0,i.g)("row"),g=(e,t,n)=>`${v}--gutter-${e}-${t}-${n}`;Object.freeze({row:v,state:{reverse:`${v}--reverse`,gutter:(e,t="xs")=>Array.isArray(e)?[g(t,e[0],"h"),g(t,e[1],"v")].join(" "):g(t,e,"h")}});let x=(0,i.g)("skeleton");Object.freeze({skeleton:x,states:{inline:`${x}--inline`,rounded:`${x}--rounded`,inverted:`${x}--inverted`,suspend:`${x}--suspend`}})},94046:function(e,t,n){"use strict";function i(){return"undefined"!=typeof window}function a(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function r(e){return!!i()&&(e instanceof Element||e instanceof a(e).Element)}function s(e){return!!i()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof a(e).ShadowRoot)}n.d(t,{Jj:function(){return a},Zq:function(){return s},kK:function(){return r}})},64131:function(e,t){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}var i=function e(t,i){function a(e,a,r){if("undefined"!=typeof document){"number"==typeof(r=n({},i,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var o in r)r[o]&&(s+="; "+o,!0!==r[o]&&(s+="="+r[o].split(";")[0]));return document.cookie=e+"="+t.write(a,e)+s}}return Object.create({set:a,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],i={},a=0;a<n.length;a++){var r=n[a].split("="),s=r.slice(1).join("=");try{var o=decodeURIComponent(r[0]);if(i[o]=t.read(s,o),e===o)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){a(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});t.Z=i},60089:function(e,t,n){"use strict";n.d(t,{Wg:function(){return g}});let i=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,a=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,r=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function s(e,t){if("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`);return}return t}function o(e,t={}){if("string"!=typeof e)return e;let n=e.trim();if('"'===e[0]&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){let e=n.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("undefined"===e)return;if("null"===e)return null;if("nan"===e)return Number.NaN;if("infinity"===e)return Number.POSITIVE_INFINITY;if("-infinity"===e)return Number.NEGATIVE_INFINITY}if(!r.test(e)){if(t.strict)throw SyntaxError("[destr] Invalid JSON");return e}try{if(i.test(e)||a.test(e)){if(t.strict)throw Error("[destr] Possible prototype pollution");return JSON.parse(e,s)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}var l=n(77337);class c extends Error{constructor(e,t){super(e,t),this.name="FetchError",t?.cause&&!this.cause&&(this.cause=t.cause)}}let u=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function p(e="GET"){return u.has(e.toUpperCase())}let h=new Set(["image/svg","application/xml","application/xhtml","application/html"]),d=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i,f=new Set([408,409,425,429,500,502,503,504]),m=new Set([101,204,205,304]),v=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}(),g=function e(t={}){let{fetch:n=globalThis.fetch,Headers:i=globalThis.Headers,AbortController:a=globalThis.AbortController}=t;async function r(e){let t=e.error&&"AbortError"===e.error.name&&!e.options.timeout||!1;if(!1!==e.options.retry&&!t){let t;t="number"==typeof e.options.retry?e.options.retry:p(e.options.method)?0:1;let n=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(n):f.has(n))){let n=e.options.retryDelay||0;return n>0&&await new Promise(e=>setTimeout(e,n)),s(e.request,{...e.options,retry:t-1,timeout:e.options.timeout})}}let n=function(e){let t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",i=e.request?.url||String(e.request)||"/",a=`[${n}] ${JSON.stringify(i)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=new c(`${a}: ${r}${t?` ${t}`:""}`,e.error?{cause:e.error}:void 0);for(let t of["request","options","response"])Object.defineProperty(s,t,{get:()=>e[t]});for(let[t,n]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,t,{get:()=>e.response&&e.response[n]});return s}(e);throw Error.captureStackTrace&&Error.captureStackTrace(n,s),n}let s=async function(e,s={}){let c={request:e,options:function(e,t,n=globalThis.Headers){let i={...t,...e};if(t?.params&&e?.params&&(i.params={...t?.params,...e?.params}),t?.query&&e?.query&&(i.query={...t?.query,...e?.query}),t?.headers&&e?.headers)for(let[a,r]of(i.headers=new n(t?.headers||{}),new n(e?.headers||{})))i.headers.set(a,r);return i}(s,t.defaults,i),response:void 0,error:void 0};if(c.options.method=c.options.method?.toUpperCase(),c.options.onRequest&&await c.options.onRequest(c),"string"==typeof c.request&&(c.options.baseURL&&(c.request=(0,l.pJ)(c.request,c.options.baseURL)),(c.options.query||c.options.params)&&(c.request=(0,l.jb)(c.request,{...c.options.params,...c.options.query}))),c.options.body&&p(c.options.method)&&(function(e){if(void 0===e)return!1;let t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}(c.options.body)?(c.options.body="string"==typeof c.options.body?c.options.body:JSON.stringify(c.options.body),c.options.headers=new i(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&"function"==typeof c.options.body.pipeTo||"function"==typeof c.options.body.pipe)&&!("duplex"in c.options)&&(c.options.duplex="half")),!c.options.signal&&c.options.timeout){let e=new a;setTimeout(()=>e.abort(),c.options.timeout),c.options.signal=e.signal}try{c.response=await n(c.request,c.options)}catch(e){return c.error=e,c.options.onRequestError&&await c.options.onRequestError(c),await r(c)}if(c.response.body&&!m.has(c.response.status)&&"HEAD"!==c.options.method){let e=(c.options.parseResponse?"json":c.options.responseType)||function(e=""){if(!e)return"json";let t=e.split(";").shift()||"";return d.test(t)?"json":h.has(t)||t.startsWith("text/")?"text":"blob"}(c.response.headers.get("content-type")||"");switch(e){case"json":{let e=await c.response.text(),t=c.options.parseResponse||o;c.response._data=t(e);break}case"stream":c.response._data=c.response.body;break;default:c.response._data=await c.response[e]()}}return(c.options.onResponse&&await c.options.onResponse(c),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600)?(c.options.onResponseError&&await c.options.onResponseError(c),await r(c)):c.response},u=async function(e,t){return(await s(e,t))._data};return u.raw=s,u.native=(...e)=>n(...e),u.create=(n={})=>e({...t,defaults:{...t.defaults,...n}}),u}({fetch:v.fetch||(()=>Promise.reject(Error("[ofetch] global.fetch is not supported!"))),Headers:v.Headers,AbortController:v.AbortController})},55773:function(e,t,n){"use strict";function i(e){return"string"==typeof e||e instanceof String}function a(e){var t;return"object"==typeof e&&null!=e&&(null==e||null==(t=e.constructor)?void 0:t.name)==="Object"}n.d(t,{LV:function(){return c},Cj:function(){return U}});let r={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function s(e){return e.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function o(e,t){let n;if(t===e)return!0;let i=Array.isArray(t),a=Array.isArray(e);if(i&&a){if(t.length!=e.length)return!1;for(n=0;n<t.length;n++)if(!o(t[n],e[n]))return!1;return!0}if(i!=a)return!1;if(t&&e&&"object"==typeof t&&"object"==typeof e){let i=t instanceof Date,a=e instanceof Date;if(i&&a)return t.getTime()==e.getTime();if(i!=a)return!1;let r=t instanceof RegExp,s=e instanceof RegExp;if(r&&s)return t.toString()==e.toString();if(r!=s)return!1;let l=Object.keys(t);for(n=0;n<l.length;n++)if(!Object.prototype.hasOwnProperty.call(e,l[n]))return!1;for(n=0;n<l.length;n++)if(!o(e[l[n]],t[l[n]]))return!1;return!0}return!!t&&!!e&&"function"==typeof t&&"function"==typeof e&&t.toString()===e.toString()}class l{constructor(e){for(Object.assign(this,e);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start;if(this.insertedCount)for(;this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end);)this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end?++this.oldSelection.end:++this.cursorPos}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?r.NONE:(this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos)&&this.oldSelection.end===this.oldSelection.start?r.RIGHT:r.LEFT}}function c(e,t){return new c.InputMask(e,t)}function u(e){if(null==e)throw Error("mask property should be defined");return e instanceof RegExp?c.MaskedRegExp:i(e)?c.MaskedPattern:e===Date?c.MaskedDate:e===Number?c.MaskedNumber:Array.isArray(e)||e===Array?c.MaskedDynamic:c.Masked&&e.prototype instanceof c.Masked?e:c.Masked&&e instanceof c.Masked?e.constructor:e instanceof Function?c.MaskedFunction:(console.warn("Mask not found for mask",e),c.Masked)}function p(e){if(!e)throw Error("Options in not defined");if(c.Masked){if(e.prototype instanceof c.Masked)return{mask:e};let{mask:t,...n}=e instanceof c.Masked?{mask:e}:a(e)&&e.mask instanceof c.Masked?e:{};if(t){let e=t.mask;return{...function e(t,n){return Array.isArray(n)?e(t,(e,t)=>n.includes(t)):Object.entries(t).reduce((e,t)=>{let[i,a]=t;return n(a,i)&&(e[i]=a),e},{})}(t,(e,t)=>!t.startsWith("_")),mask:t.constructor,_mask:e,...n}}}return a(e)?{...e}:{mask:e}}function h(e){if(c.Masked&&e instanceof c.Masked)return e;let t=p(e),n=u(t.mask);if(!n)throw Error("Masked class is not found for provided mask "+t.mask+", appropriate module needs to be imported manually before creating mask.");return t.mask===n&&delete t.mask,t._mask&&(t.mask=t._mask,delete t._mask),new n(t)}c.createMask=h;class d{get selectionStart(){let e;try{e=this._unsafeSelectionStart}catch{}return null!=e?e:this.value.length}get selectionEnd(){let e;try{e=this._unsafeSelectionEnd}catch{}return null!=e?e:this.value.length}select(e,t){if(null!=e&&null!=t&&(e!==this.selectionStart||t!==this.selectionEnd))try{this._unsafeSelect(e,t)}catch{}}get isActive(){return!1}}c.MaskElement=d;class f extends d{constructor(e){super(),this.input=e,this._onKeydown=this._onKeydown.bind(this),this._onInput=this._onInput.bind(this),this._onBeforeinput=this._onBeforeinput.bind(this),this._onCompositionEnd=this._onCompositionEnd.bind(this)}get rootElement(){var e,t,n;return null!=(e=null==(t=(n=this.input).getRootNode)?void 0:t.call(n))?e:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(e){this.input.addEventListener("keydown",this._onKeydown),this.input.addEventListener("input",this._onInput),this.input.addEventListener("beforeinput",this._onBeforeinput),this.input.addEventListener("compositionend",this._onCompositionEnd),this.input.addEventListener("drop",e.drop),this.input.addEventListener("click",e.click),this.input.addEventListener("focus",e.focus),this.input.addEventListener("blur",e.commit),this._handlers=e}_onKeydown(e){return this._handlers.redo&&(90===e.keyCode&&e.shiftKey&&(e.metaKey||e.ctrlKey)||89===e.keyCode&&e.ctrlKey)?(e.preventDefault(),this._handlers.redo(e)):this._handlers.undo&&90===e.keyCode&&(e.metaKey||e.ctrlKey)?(e.preventDefault(),this._handlers.undo(e)):void(e.isComposing||this._handlers.selectionChange(e))}_onBeforeinput(e){return"historyUndo"===e.inputType&&this._handlers.undo?(e.preventDefault(),this._handlers.undo(e)):"historyRedo"===e.inputType&&this._handlers.redo?(e.preventDefault(),this._handlers.redo(e)):void 0}_onCompositionEnd(e){this._handlers.input(e)}_onInput(e){e.isComposing||this._handlers.input(e)}unbindEvents(){this.input.removeEventListener("keydown",this._onKeydown),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("beforeinput",this._onBeforeinput),this.input.removeEventListener("compositionend",this._onCompositionEnd),this.input.removeEventListener("drop",this._handlers.drop),this.input.removeEventListener("click",this._handlers.click),this.input.removeEventListener("focus",this._handlers.focus),this.input.removeEventListener("blur",this._handlers.commit),this._handlers={}}}c.HTMLMaskElement=f;class m extends f{constructor(e){super(e),this.input=e}get _unsafeSelectionStart(){return null!=this.input.selectionStart?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(e,t){this.input.setSelectionRange(e,t)}get value(){return this.input.value}set value(e){this.input.value=e}}c.HTMLMaskElement=f;class v extends f{get _unsafeSelectionStart(){let e=this.rootElement,t=e.getSelection&&e.getSelection(),n=t&&t.anchorOffset,i=t&&t.focusOffset;return null==i||null==n||n<i?n:i}get _unsafeSelectionEnd(){let e=this.rootElement,t=e.getSelection&&e.getSelection(),n=t&&t.anchorOffset,i=t&&t.focusOffset;return null==i||null==n||n>i?n:i}_unsafeSelect(e,t){if(!this.rootElement.createRange)return;let n=this.rootElement.createRange();n.setStart(this.input.firstChild||this.input,e),n.setEnd(this.input.lastChild||this.input,t);let i=this.rootElement,a=i.getSelection&&i.getSelection();a&&(a.removeAllRanges(),a.addRange(n))}get value(){return this.input.textContent||""}set value(e){this.input.textContent=e}}c.HTMLContenteditableMaskElement=v;class g{constructor(){this.states=[],this.currentIndex=0}get currentState(){return this.states[this.currentIndex]}get isEmpty(){return 0===this.states.length}push(e){this.currentIndex<this.states.length-1&&(this.states.length=this.currentIndex+1),this.states.push(e),this.states.length>g.MAX_LENGTH&&this.states.shift(),this.currentIndex=this.states.length-1}go(e){return this.currentIndex=Math.min(Math.max(this.currentIndex+e,0),this.states.length-1),this.currentState}undo(){return this.go(-1)}redo(){return this.go(1)}clear(){this.states.length=0,this.currentIndex=0}}g.MAX_LENGTH=100;class x{constructor(e,t){this.el=e instanceof d?e:e.isContentEditable&&"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName?new v(e):new m(e),this.masked=h(t),this._listeners={},this._value="",this._unmaskedValue="",this._rawInputValue="",this.history=new g,this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this._onUndo=this._onUndo.bind(this),this._onRedo=this._onRedo.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this._onChange()}maskEquals(e){var t;return null==e||(null==(t=this.masked)?void 0:t.maskEquals(e))}get mask(){return this.masked.mask}set mask(e){if(this.maskEquals(e))return;if(!(e instanceof c.Masked)&&this.masked.constructor===u(e)){this.masked.updateOptions({mask:e});return}let t=e instanceof c.Masked?e:h({mask:e});t.unmaskedValue=this.masked.unmaskedValue,this.masked=t}get value(){return this._value}set value(e){this.value!==e&&(this.masked.value=e,this.updateControl("auto"))}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(e){this.unmaskedValue!==e&&(this.masked.unmaskedValue=e,this.updateControl("auto"))}get rawInputValue(){return this._rawInputValue}set rawInputValue(e){this.rawInputValue!==e&&(this.masked.rawInputValue=e,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(e){this.masked.typedValueEquals(e)||(this.masked.typedValue=e,this.updateControl("auto"))}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange,undo:this._onUndo,redo:this._onRedo})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(e,t){let n=this._listeners[e];n&&n.forEach(e=>e(t))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(e){this.el&&this.el.isActive&&(this.el.select(e,e),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value,this._unmaskedValue=this.masked.unmaskedValue,this._rawInputValue=this.masked.rawInputValue}updateControl(e){let t=this.masked.unmaskedValue,n=this.masked.value,i=this.masked.rawInputValue,a=this.displayValue,r=this.unmaskedValue!==t||this.value!==n||this._rawInputValue!==i;this._unmaskedValue=t,this._value=n,this._rawInputValue=i,this.el.value!==a&&(this.el.value=a),"auto"===e?this.alignCursor():null!=e&&(this.cursorPos=e),r&&this._fireChangeEvents(),!this._historyChanging&&(r||this.history.isEmpty)&&this.history.push({unmaskedValue:t,selection:{start:this.selectionStart,end:this.cursorPos}})}updateOptions(e){let{mask:t,...n}=e,i=!this.maskEquals(t),a=this.masked.optionsIsChanged(n);i&&(this.mask=t),a&&this.masked.updateOptions(n),(i||a)&&this.updateControl()}updateCursor(e){null!=e&&(this.cursorPos=e,this._delayUpdateCursor(e))}_delayUpdateCursor(e){this._abortUpdateCursor(),this._changingCursorPos=e,this._cursorChanging=setTimeout(()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())},10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,r.LEFT))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}off(e,t){if(!this._listeners[e])return this;if(!t)return delete this._listeners[e],this;let n=this._listeners[e].indexOf(t);return n>=0&&this._listeners[e].splice(n,1),this}_onInput(e){this._inputEvent=e,this._abortUpdateCursor();let t=new l({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),n=this.masked.rawInputValue,i=this.masked.splice(t.startChangePos,t.removed.length,t.inserted,t.removeDirection,{input:!0,raw:!0}).offset,a=n===this.masked.rawInputValue?t.removeDirection:r.NONE,s=this.masked.nearestInputPos(t.startChangePos+i,a);a!==r.NONE&&(s=this.masked.nearestInputPos(s,r.NONE)),this.updateControl(s),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(e){e.preventDefault(),e.stopPropagation()}_onFocus(e){this.alignCursorFriendly()}_onClick(e){this.alignCursorFriendly()}_onUndo(){this._applyHistoryState(this.history.undo())}_onRedo(){this._applyHistoryState(this.history.redo())}_applyHistoryState(e){e&&(this._historyChanging=!0,this.unmaskedValue=e.unmaskedValue,this.el.select(e.selection.start,e.selection.end),this._saveSelection(),this._historyChanging=!1)}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}}c.InputMask=x;class b{static normalize(e){return Array.isArray(e)?e:[e,new b]}constructor(e){Object.assign(this,{inserted:"",rawInserted:"",tailShift:0,skip:!1},e)}aggregate(e){return this.inserted+=e.inserted,this.rawInserted+=e.rawInserted,this.tailShift+=e.tailShift,this.skip=this.skip||e.skip,this}get offset(){return this.tailShift+this.inserted.length}get consumed(){return!!this.rawInserted||this.skip}equals(e){return this.inserted===e.inserted&&this.tailShift===e.tailShift&&this.rawInserted===e.rawInserted&&this.skip===e.skip}}c.ChangeDetails=b;class y{constructor(e,t,n){void 0===e&&(e=""),void 0===t&&(t=0),this.value=e,this.from=t,this.stop=n}toString(){return this.value}extend(e){this.value+=String(e)}appendTo(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(e){Object.assign(this,e)}unshift(e){if(!this.value.length||null!=e&&this.from>=e)return"";let t=this.value[0];return this.value=this.value.slice(1),t}shift(){if(!this.value.length)return"";let e=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),e}}class w{constructor(e){this._value="",this._update({...w.DEFAULTS,...e}),this._initialized=!0}updateOptions(e){this.optionsIsChanged(e)&&this.withValueRefresh(this._update.bind(this,e))}_update(e){Object.assign(this,e)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value}reset(){this._value=""}get value(){return this._value}set value(e){this.resolve(e,{input:!0})}resolve(e,t){void 0===t&&(t={input:!0}),this.reset(),this.append(e,t,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(e){this.resolve(e,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(e){this.format?this.value=this.format(e,this):this.unmaskedValue=String(e)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(e){this.resolve(e,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(e,t){return e}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),Math.min(this.displayValue.length,t-e)}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),this.displayValue.slice(e,t)}extractTail(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),new y(this.extractInput(e,t),e)}appendTail(e){return i(e)&&(e=new y(String(e))),e.appendTo(this)}_appendCharRaw(e,t){return e?(this._value+=e,new b({inserted:e,rawInserted:e})):new b}_appendChar(e,t,n){let i;void 0===t&&(t={});let a=this.state;if([e,i]=this.doPrepareChar(e,t),e&&!(i=i.aggregate(this._appendCharRaw(e,t))).rawInserted&&"pad"===this.autofix){let n=this.state;this.state=a;let r=this.pad(t),s=this._appendCharRaw(e,t);r=r.aggregate(s),s.rawInserted||r.equals(i)?i=r:this.state=n}if(i.inserted){let e;let r=!1!==this.doValidate(t);if(r&&null!=n){let t=this.state;if(!0===this.overwrite){e=n.state;for(let e=0;e<i.rawInserted.length;++e)n.unshift(this.displayValue.length-i.tailShift)}let a=this.appendTail(n);if(!((r=a.rawInserted.length===n.toString().length)&&a.inserted)&&"shift"===this.overwrite){this.state=t,e=n.state;for(let e=0;e<i.rawInserted.length;++e)n.shift();r=(a=this.appendTail(n)).rawInserted.length===n.toString().length}r&&a.inserted&&(this.state=t)}!r&&(i=new b,this.state=a,n&&e&&(n.state=e))}return i}_appendPlaceholder(){return new b}_appendEager(){return new b}append(e,t,n){let a;if(!i(e))throw Error("value should be string");let r=i(n)?new y(String(n)):n;null!=t&&t.tail&&(t._beforeTailState=this.state),[e,a]=this.doPrepare(e,t);for(let n=0;n<e.length;++n){let i=this._appendChar(e[n],t,r);if(!i.rawInserted&&!this.doSkipInvalid(e[n],t,r))break;a.aggregate(i)}return(!0===this.eager||"append"===this.eager)&&null!=t&&t.input&&e&&a.aggregate(this._appendEager()),null!=r&&(a.tailShift+=this.appendTail(r).tailShift),a}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),this._value=this.displayValue.slice(0,e)+this.displayValue.slice(t),new b}withValueRefresh(e){if(this._refreshing||!this._initialized)return e();this._refreshing=!0;let t=this.rawInputValue,n=this.value,i=e();return this.rawInputValue=t,this.value&&this.value!==n&&0===n.indexOf(this.value)&&(this.append(n.slice(this.displayValue.length),{},""),this.doCommit()),delete this._refreshing,i}runIsolated(e){if(this._isolated||!this._initialized)return e(this);this._isolated=!0;let t=this.state,n=e(this);return this.state=t,delete this._isolated,n}doSkipInvalid(e,t,n){return!!this.skipInvalid}doPrepare(e,t){return void 0===t&&(t={}),b.normalize(this.prepare?this.prepare(e,this,t):e)}doPrepareChar(e,t){return void 0===t&&(t={}),b.normalize(this.prepareChar?this.prepareChar(e,this,t):e)}doValidate(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}doCommit(){this.commit&&this.commit(this.value,this)}splice(e,t,n,i,a){let s;void 0===n&&(n=""),void 0===i&&(i=r.NONE),void 0===a&&(a={input:!0});let o=e+t,l=this.extractTail(o),c=!0===this.eager||"remove"===this.eager;c&&(i=function(e){switch(e){case r.LEFT:return r.FORCE_LEFT;case r.RIGHT:return r.FORCE_RIGHT;default:return e}}(i),s=this.extractInput(0,o,{raw:!0}));let u=e,p=new b;if(i!==r.NONE&&(u=this.nearestInputPos(e,t>1&&0!==e&&!c?r.NONE:i),p.tailShift=u-e),p.aggregate(this.remove(u)),c&&i!==r.NONE&&s===this.rawInputValue){if(i===r.FORCE_LEFT){let e;for(;s===this.rawInputValue&&(e=this.displayValue.length);)p.aggregate(new b({tailShift:-1})).aggregate(this.remove(e-1))}else i===r.FORCE_RIGHT&&l.unshift()}return p.aggregate(this.append(n,a,l))}maskEquals(e){return this.mask===e}optionsIsChanged(e){return!o(this,e)}typedValueEquals(e){let t=this.typedValue;return e===t||w.EMPTY_VALUES.includes(e)&&w.EMPTY_VALUES.includes(t)||!!this.format&&this.format(e,this)===this.format(this.typedValue,this)}pad(e){return new b}}w.DEFAULTS={skipInvalid:!0},w.EMPTY_VALUES=[void 0,null,""],c.Masked=w;class _{constructor(e,t){void 0===e&&(e=[]),void 0===t&&(t=0),this.chunks=e,this.from=t}toString(){return this.chunks.map(String).join("")}extend(e){if(!String(e))return;e=i(e)?new y(String(e)):e;let t=this.chunks[this.chunks.length-1],n=t&&(t.stop===e.stop||null==e.stop)&&e.from===t.from+t.toString().length;if(e instanceof y)n?t.extend(e.toString()):this.chunks.push(e);else if(e instanceof _){if(null==e.stop){let t;for(;e.chunks.length&&null==e.chunks[0].stop;)t=e.chunks.shift(),t.from+=e.from,this.extend(t)}e.toString()&&(e.stop=e.blockIndex,this.chunks.push(e))}}appendTo(e){if(!(e instanceof c.MaskedPattern))return new y(this.toString()).appendTo(e);let t=new b;for(let n=0;n<this.chunks.length;++n){let i;let a=this.chunks[n],r=e._mapPosToBlock(e.displayValue.length),s=a.stop;if(null!=s&&(!r||r.index<=s)&&((a instanceof _||e._stops.indexOf(s)>=0)&&t.aggregate(e._appendPlaceholder(s)),i=a instanceof _&&e._blocks[s]),i){let n=i.appendTail(a);t.aggregate(n);let r=a.toString().slice(n.rawInserted.length);r&&t.aggregate(e.append(r,{tail:!0}))}else t.aggregate(e.append(a.toString(),{tail:!0}))}return t}get state(){return{chunks:this.chunks.map(e=>e.state),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(e){let{chunks:t,...n}=e;Object.assign(this,n),this.chunks=t.map(e=>{let t="chunks"in e?new _:new y;return t.state=e,t})}unshift(e){if(!this.chunks.length||null!=e&&this.from>=e)return"";let t=null!=e?e-this.from:e,n=0;for(;n<this.chunks.length;){let e=this.chunks[n],i=e.unshift(t);if(e.toString()){if(!i)break;++n}else this.chunks.splice(n,1);if(i)return i}return""}shift(){if(!this.chunks.length)return"";let e=this.chunks.length-1;for(;0<=e;){let t=this.chunks[e],n=t.shift();if(t.toString()){if(!n)break;--e}else this.chunks.splice(e,1);if(n)return n}return""}}class k{constructor(e,t){this.masked=e,this._log=[];let{offset:n,index:i}=e._mapPosToBlock(t)||(t<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=n,this.index=i,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(e){Object.assign(this,e)}pushState(){this._log.push(this.state)}popState(){let e=this._log.pop();return e&&(this.state=e),e}bindBlock(){!this.block&&(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(e){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=(null==(t=this.block)?void 0:t.displayValue.length)||0){var t;if(e())return this.ok=!0}return this.ok=!1}_pushRight(e){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(e())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft(()=>{if(!this.block.isFixed&&this.block.value&&(this.offset=this.block.nearestInputPos(this.offset,r.FORCE_LEFT),0!==this.offset))return!0})}pushLeftBeforeInput(){return this._pushLeft(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,r.LEFT),!0})}pushLeftBeforeRequired(){return this._pushLeft(()=>{if(!this.block.isFixed&&(!this.block.isOptional||this.block.value))return this.offset=this.block.nearestInputPos(this.offset,r.LEFT),!0})}pushRightBeforeFilled(){return this._pushRight(()=>{if(!this.block.isFixed&&this.block.value&&(this.offset=this.block.nearestInputPos(this.offset,r.FORCE_RIGHT),this.offset!==this.block.value.length))return!0})}pushRightBeforeInput(){return this._pushRight(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,r.NONE),!0})}pushRightBeforeRequired(){return this._pushRight(()=>{if(!this.block.isFixed&&(!this.block.isOptional||this.block.value))return this.offset=this.block.nearestInputPos(this.offset,r.NONE),!0})}}class C{constructor(e){Object.assign(this,e),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),this._value=this._value.slice(0,e)+this._value.slice(t),this._value||(this._isRawInput=!1),new b}nearestInputPos(e,t){void 0===t&&(t=r.NONE);let n=this._value.length;switch(t){case r.LEFT:case r.FORCE_LEFT:return 0;case r.NONE:case r.RIGHT:case r.FORCE_RIGHT:default:return n}}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),this._isRawInput?t-e:0}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),void 0===n&&(n={}),n.raw&&this._isRawInput&&this._value.slice(e,t)||""}get isComplete(){return!0}get isFilled(){return!!this._value}_appendChar(e,t){if(void 0===t&&(t={}),this.isFilled)return new b;let n=!0===this.eager||"append"===this.eager,i=this.char===e&&(this.isUnmasking||t.input||t.raw)&&(!t.raw||!n)&&!t.tail,a=new b({inserted:this.char,rawInserted:i?this.char:""});return this._value=this.char,this._isRawInput=i&&(t.raw||t.input),a}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){let e=new b;return this.isFilled||(this._value=e.inserted=this.char),e}extractTail(){return new y("")}appendTail(e){return i(e)&&(e=new y(String(e))),e.appendTo(this)}append(e,t,n){let i=this._appendChar(e[0],t);return null!=n&&(i.tailShift+=this.appendTail(n).tailShift),i}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value,this._isRawInput=!!e._rawInputValue}pad(e){return this._appendPlaceholder()}}class E{constructor(e){let{parent:t,isOptional:n,placeholderChar:i,displayChar:a,lazy:r,eager:s,...o}=e;this.masked=h(o),Object.assign(this,{parent:t,isOptional:n,placeholderChar:i,displayChar:a,lazy:r,eager:s})}reset(){this.isFilled=!1,this.masked.reset()}remove(e,t){return(void 0===e&&(e=0),void 0===t&&(t=this.value.length),0===e&&t>=1)?(this.isFilled=!1,this.masked.remove(e,t)):new b}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return!!this.masked.value||this.isOptional}_appendChar(e,t){if(void 0===t&&(t={}),this.isFilled)return new b;let n=this.masked.state,i=this.masked._appendChar(e,this.currentMaskFlags(t));return i.inserted&&!1===this.doValidate(t)&&(i=new b,this.masked.state=n),i.inserted||this.isOptional||this.lazy||t.input||(i.inserted=this.placeholderChar),i.skip=!i.inserted&&!this.isOptional,this.isFilled=!!i.inserted,i}append(e,t,n){return this.masked.append(e,this.currentMaskFlags(t),n)}_appendPlaceholder(){return this.isFilled||this.isOptional?new b:(this.isFilled=!0,new b({inserted:this.placeholderChar}))}_appendEager(){return new b}extractTail(e,t){return this.masked.extractTail(e,t)}appendTail(e){return this.masked.appendTail(e)}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),this.masked.extractInput(e,t,n)}nearestInputPos(e,t){void 0===t&&(t=r.NONE);let n=this.value.length,i=Math.min(Math.max(e,0),n);switch(t){case r.LEFT:case r.FORCE_LEFT:return this.isComplete?i:0;case r.RIGHT:case r.FORCE_RIGHT:return this.isComplete?i:n;case r.NONE:default:return i}}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),this.value.slice(e,t).length}doValidate(e){return this.masked.doValidate(this.currentMaskFlags(e))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(e)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(e){this.masked.state=e.masked,this.isFilled=e.isFilled}currentMaskFlags(e){var t;return{...e,_beforeTailState:(null==e||null==(t=e._beforeTailState)?void 0:t.masked)||(null==e?void 0:e._beforeTailState)}}pad(e){return new b}}E.DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};class j extends w{updateOptions(e){super.updateOptions(e)}_update(e){let t=e.mask;t&&(e.validate=e=>e.search(t)>=0),super._update(e)}}c.MaskedRegExp=j;class M extends w{constructor(e){super({...M.DEFAULTS,...e,definitions:Object.assign({},E.DEFAULT_DEFINITIONS,null==e?void 0:e.definitions)})}updateOptions(e){super.updateOptions(e)}_update(e){e.definitions=Object.assign({},this.definitions,e.definitions),super._update(e),this._rebuildMask()}_rebuildMask(){let e=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};let t=this.mask;if(!t||!e)return;let n=!1,i=!1;for(let a=0;a<t.length;++a){if(this.blocks){let e=t.slice(a),n=Object.keys(this.blocks).filter(t=>0===e.indexOf(t));n.sort((e,t)=>t.length-e.length);let i=n[0];if(i){let{expose:e,repeat:t,...n}=p(this.blocks[i]),r={lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,autofix:this.autofix,...n,repeat:t,parent:this},s=null!=t?new c.RepeatBlock(r):h(r);s&&(this._blocks.push(s),e&&(this.exposeBlock=s),this._maskedBlocks[i]||(this._maskedBlocks[i]=[]),this._maskedBlocks[i].push(this._blocks.length-1)),a+=i.length-1;continue}}let r=t[a],s=r in e;if(r===M.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===r||"}"===r){n=!n;continue}if("["===r||"]"===r){i=!i;continue}if(r===M.ESCAPE_CHAR){if(!(r=t[++a]))break;s=!1}let o=s?new E({isOptional:i,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...p(e[r]),parent:this}):new C({char:r,eager:this.eager,isUnmasking:n});this._blocks.push(o)}}get state(){return{...super.state,_blocks:this._blocks.map(e=>e.state)}}set state(e){if(!e){this.reset();return}let{_blocks:t,...n}=e;this._blocks.forEach((e,n)=>e.state=t[n]),super.state=n}reset(){super.reset(),this._blocks.forEach(e=>e.reset())}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every(e=>e.isComplete)}get isFilled(){return this._blocks.every(e=>e.isFilled)}get isFixed(){return this._blocks.every(e=>e.isFixed)}get isOptional(){return this._blocks.every(e=>e.isOptional)}doCommit(){this._blocks.forEach(e=>e.doCommit()),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce((e,t)=>e+=t.unmaskedValue,"")}set unmaskedValue(e){if(this.exposeBlock){let t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=e,this.appendTail(t),this.doCommit()}else super.unmaskedValue=e}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce((e,t)=>e+=t.value,"")}set value(e){if(this.exposeBlock){let t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=e,this.appendTail(t),this.doCommit()}else super.value=e}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(e){if(this.exposeBlock){let t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=e,this.appendTail(t),this.doCommit()}else super.typedValue=e}get displayValue(){return this._blocks.reduce((e,t)=>e+=t.displayValue,"")}appendTail(e){return super.appendTail(e).aggregate(this._appendPlaceholder())}_appendEager(){var e;let t=new b,n=null==(e=this._mapPosToBlock(this.displayValue.length))?void 0:e.index;if(null==n)return t;this._blocks[n].isFilled&&++n;for(let e=n;e<this._blocks.length;++e){let n=this._blocks[e]._appendEager();if(!n.inserted)break;t.aggregate(n)}return t}_appendCharRaw(e,t){void 0===t&&(t={});let n=this._mapPosToBlock(this.displayValue.length),i=new b;if(!n)return i;for(let r=n.index,s;s=this._blocks[r];++r){var a;let n=s._appendChar(e,{...t,_beforeTailState:null==(a=t._beforeTailState)||null==(a=a._blocks)?void 0:a[r]});if(i.aggregate(n),n.consumed)break}return i}extractTail(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);let n=new _;return e===t||this._forEachBlocksInRange(e,t,(e,t,i,a)=>{let r=e.extractTail(i,a);r.stop=this._findStopBefore(t),r.from=this._blockStartPos(t),r instanceof _&&(r.blockIndex=t),n.extend(r)}),n}extractInput(e,t,n){if(void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),void 0===n&&(n={}),e===t)return"";let i="";return this._forEachBlocksInRange(e,t,(e,t,a,r)=>{i+=e.extractInput(a,r,n)}),i}_findStopBefore(e){let t;for(let n=0;n<this._stops.length;++n){let i=this._stops[n];if(i<=e)t=i;else break}return t}_appendPlaceholder(e){let t=new b;if(this.lazy&&null==e)return t;let n=this._mapPosToBlock(this.displayValue.length);if(!n)return t;let i=n.index,a=null!=e?e:this._blocks.length;return this._blocks.slice(i,a).forEach(n=>{if(!n.lazy||null!=e){var i;t.aggregate(n._appendPlaceholder(null==(i=n._blocks)?void 0:i.length))}}),t}_mapPosToBlock(e){let t="";for(let n=0;n<this._blocks.length;++n){let i=this._blocks[n],a=t.length;if(e<=(t+=i.displayValue).length)return{index:n,offset:e-a}}}_blockStartPos(e){return this._blocks.slice(0,e).reduce((e,t)=>e+=t.displayValue.length,0)}_forEachBlocksInRange(e,t,n){void 0===t&&(t=this.displayValue.length);let i=this._mapPosToBlock(e);if(i){let e=this._mapPosToBlock(t),a=e&&i.index===e.index,r=i.offset,s=e&&a?e.offset:this._blocks[i.index].displayValue.length;if(n(this._blocks[i.index],i.index,r,s),e&&!a){for(let t=i.index+1;t<e.index;++t)n(this._blocks[t],t,0,this._blocks[t].displayValue.length);n(this._blocks[e.index],e.index,0,e.offset)}}}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);let n=super.remove(e,t);return this._forEachBlocksInRange(e,t,(e,t,i,a)=>{n.aggregate(e.remove(i,a))}),n}nearestInputPos(e,t){if(void 0===t&&(t=r.NONE),!this._blocks.length)return 0;let n=new k(this,e);if(t===r.NONE)return n.pushRightBeforeInput()?n.pos:(n.popState(),n.pushLeftBeforeInput())?n.pos:this.displayValue.length;if(t===r.LEFT||t===r.FORCE_LEFT){if(t===r.LEFT){if(n.pushRightBeforeFilled(),n.ok&&n.pos===e)return e;n.popState()}if(n.pushLeftBeforeInput(),n.pushLeftBeforeRequired(),n.pushLeftBeforeFilled(),t===r.LEFT){if(n.pushRightBeforeInput(),n.pushRightBeforeRequired(),n.ok&&n.pos<=e||(n.popState(),n.ok&&n.pos<=e))return n.pos;n.popState()}return n.ok?n.pos:t===r.FORCE_LEFT?0:(n.popState(),n.ok)?n.pos:(n.popState(),n.ok)?n.pos:0}return t===r.RIGHT||t===r.FORCE_RIGHT?(n.pushRightBeforeInput(),n.pushRightBeforeRequired(),n.pushRightBeforeFilled())?n.pos:t===r.FORCE_RIGHT?this.displayValue.length:(n.popState(),n.ok)?n.pos:(n.popState(),n.ok)?n.pos:this.nearestInputPos(e,r.LEFT):e}totalInputPositions(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);let n=0;return this._forEachBlocksInRange(e,t,(e,t,i,a)=>{n+=e.totalInputPositions(i,a)}),n}maskedBlock(e){return this.maskedBlocks(e)[0]}maskedBlocks(e){let t=this._maskedBlocks[e];return t?t.map(e=>this._blocks[e]):[]}pad(e){let t=new b;return this._forEachBlocksInRange(0,this.displayValue.length,n=>t.aggregate(n.pad(e))),t}}M.DEFAULTS={...w.DEFAULTS,lazy:!0,placeholderChar:"_"},M.STOP_CHAR="`",M.ESCAPE_CHAR="\\",M.InputDefinition=E,M.FixedDefinition=C,c.MaskedPattern=M;class S extends M{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){let{to:t=this.to||0,from:n=this.from||0,maxLength:i=this.maxLength||0,autofix:a=this.autofix,...r}=e;this.to=t,this.from=n,this.maxLength=Math.max(String(t).length,i),this.autofix=a;let s=String(this.from).padStart(this.maxLength,"0"),o=String(this.to).padStart(this.maxLength,"0"),l=0;for(;l<o.length&&o[l]===s[l];)++l;r.mask=o.slice(0,l).replace(/0/g,"\\0")+"0".repeat(this.maxLength-l),super._update(r)}get isComplete(){return super.isComplete&&!!this.value}boundaries(e){let t="",n="",[,i,a]=e.match(/^(\D*)(\d*)(\D*)/)||[];return a&&(t="0".repeat(i.length)+a,n="9".repeat(i.length)+a),[t=t.padEnd(this.maxLength,"0"),n=n.padEnd(this.maxLength,"9")]}doPrepareChar(e,t){let n;return void 0===t&&(t={}),[e,n]=super.doPrepareChar(e.replace(/\D/g,""),t),e||(n.skip=!this.isComplete),[e,n]}_appendCharRaw(e,t){if(void 0===t&&(t={}),!this.autofix||this.value.length+1>this.maxLength)return super._appendCharRaw(e,t);let n=String(this.from).padStart(this.maxLength,"0"),i=String(this.to).padStart(this.maxLength,"0"),[a,r]=this.boundaries(this.value+e);return Number(r)<this.from?super._appendCharRaw(n[this.value.length],t):Number(a)>this.to?!t.tail&&"pad"===this.autofix&&this.value.length+1<this.maxLength?super._appendCharRaw(n[this.value.length],t).aggregate(this._appendCharRaw(e,t)):super._appendCharRaw(i[this.value.length],t):super._appendCharRaw(e,t)}doValidate(e){let t=this.value;if(-1===t.search(/[^0]/)&&t.length<=this._matchFrom)return!0;let[n,i]=this.boundaries(t);return this.from<=Number(i)&&Number(n)<=this.to&&super.doValidate(e)}pad(e){let t=new b;if(this.value.length===this.maxLength)return t;let n=this.value,i=this.maxLength-this.value.length;if(i){this.reset();for(let n=0;n<i;++n)t.aggregate(super._appendCharRaw("0",e));n.split("").forEach(e=>this._appendCharRaw(e))}return t}}c.MaskedRange=S;class T extends M{static extractPatternOptions(e){let{mask:t,pattern:n,...a}=e;return{...a,mask:i(t)?t:n}}constructor(e){super(T.extractPatternOptions({...T.DEFAULTS,...e}))}updateOptions(e){super.updateOptions(e)}_update(e){let{mask:t,pattern:n,blocks:a,...r}={...T.DEFAULTS,...e},s=Object.assign({},T.GET_DEFAULT_BLOCKS());e.min&&(s.Y.from=e.min.getFullYear()),e.max&&(s.Y.to=e.max.getFullYear()),e.min&&e.max&&s.Y.from===s.Y.to&&(s.m.from=e.min.getMonth()+1,s.m.to=e.max.getMonth()+1,s.m.from===s.m.to&&(s.d.from=e.min.getDate(),s.d.to=e.max.getDate())),Object.assign(s,this.blocks,a),super._update({...r,mask:i(t)?t:n,blocks:s})}doValidate(e){let t=this.date;return super.doValidate(e)&&(!this.isComplete||this.isDateExist(this.value)&&null!=t&&(null==this.min||this.min<=t)&&(null==this.max||t<=this.max))}isDateExist(e){return this.format(this.parse(e,this),this).indexOf(e)>=0}get date(){return this.typedValue}set date(e){this.typedValue=e}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(e){super.typedValue=e}maskEquals(e){return e===Date||super.maskEquals(e)}optionsIsChanged(e){return super.optionsIsChanged(T.extractPatternOptions(e))}}T.GET_DEFAULT_BLOCKS=()=>({d:{mask:S,from:1,to:31,maxLength:2},m:{mask:S,from:1,to:12,maxLength:2},Y:{mask:S,from:1900,to:9999}}),T.DEFAULTS={...M.DEFAULTS,mask:Date,pattern:"d{.}`m{.}`Y",format:(e,t)=>e?[String(e.getDate()).padStart(2,"0"),String(e.getMonth()+1).padStart(2,"0"),e.getFullYear()].join("."):"",parse:(e,t)=>{let[n,i,a]=e.split(".").map(Number);return new Date(a,i-1,n)}},c.MaskedDate=T;class A extends w{constructor(e){super({...A.DEFAULTS,...e}),this.currentMask=void 0}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),"mask"in e&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(e.mask)?e.mask.map(e=>{let{expose:t,...n}=p(e),i=h({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...n});return t&&(this.exposeMask=i),i}):[])}_appendCharRaw(e,t){void 0===t&&(t={});let n=this._applyDispatch(e,t);return this.currentMask&&n.aggregate(this.currentMask._appendChar(e,this.currentMaskFlags(t))),n}_applyDispatch(e,t,n){void 0===e&&(e=""),void 0===t&&(t={}),void 0===n&&(n="");let i=t.tail&&null!=t._beforeTailState?t._beforeTailState._value:this.value,a=this.rawInputValue,r=t.tail&&null!=t._beforeTailState?t._beforeTailState._rawInputValue:a,s=a.slice(r.length),o=this.currentMask,l=new b,c=null==o?void 0:o.state;return this.currentMask=this.doDispatch(e,{...t},n),this.currentMask&&(this.currentMask!==o?(this.currentMask.reset(),r&&(this.currentMask.append(r,{raw:!0}),l.tailShift=this.currentMask.value.length-i.length),s&&(l.tailShift+=this.currentMask.append(s,{raw:!0,tail:!0}).tailShift)):c&&(this.currentMask.state=c)),l}_appendPlaceholder(){let e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}_appendEager(){let e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendEager()),e}appendTail(e){let t=new b;return e&&t.aggregate(this._applyDispatch("",{},e)),t.aggregate(this.currentMask?this.currentMask.appendTail(e):super.appendTail(e))}currentMaskFlags(e){var t,n;return{...e,_beforeTailState:(null==(t=e._beforeTailState)?void 0:t.currentMaskRef)===this.currentMask&&(null==(n=e._beforeTailState)?void 0:n.currentMask)||e._beforeTailState}}doDispatch(e,t,n){return void 0===t&&(t={}),void 0===n&&(n=""),this.dispatch(e,this,t,n)}doValidate(e){return super.doValidate(e)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(e)))}doPrepare(e,t){void 0===t&&(t={});let[n,i]=super.doPrepare(e,t);if(this.currentMask){let e;[n,e]=super.doPrepare(n,this.currentMaskFlags(t)),i=i.aggregate(e)}return[n,i]}doPrepareChar(e,t){void 0===t&&(t={});let[n,i]=super.doPrepareChar(e,t);if(this.currentMask){let e;[n,e]=super.doPrepareChar(n,this.currentMaskFlags(t)),i=i.aggregate(e)}return[n,i]}reset(){var e;null==(e=this.currentMask)||e.reset(),this.compiledMasks.forEach(e=>e.reset())}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(e){this.exposeMask?(this.exposeMask.value=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=e}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(e){this.exposeMask?(this.exposeMask.unmaskedValue=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=e}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(e){if(this.exposeMask){this.exposeMask.typedValue=e,this.currentMask=this.exposeMask,this._applyDispatch();return}let t=String(e);this.currentMask&&(this.currentMask.typedValue=e,t=this.currentMask.unmaskedValue),this.unmaskedValue=t}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var e;return!!(null==(e=this.currentMask)?void 0:e.isComplete)}get isFilled(){var e;return!!(null==(e=this.currentMask)?void 0:e.isFilled)}remove(e,t){let n=new b;return this.currentMask&&n.aggregate(this.currentMask.remove(e,t)).aggregate(this._applyDispatch()),n}get state(){var e;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map(e=>e.state),currentMaskRef:this.currentMask,currentMask:null==(e=this.currentMask)?void 0:e.state}}set state(e){let{compiledMasks:t,currentMaskRef:n,currentMask:i,...a}=e;t&&this.compiledMasks.forEach((e,n)=>e.state=t[n]),null!=n&&(this.currentMask=n,this.currentMask.state=i),super.state=a}extractInput(e,t,n){return this.currentMask?this.currentMask.extractInput(e,t,n):""}extractTail(e,t){return this.currentMask?this.currentMask.extractTail(e,t):super.extractTail(e,t)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(e,t){return this.currentMask?this.currentMask.nearestInputPos(e,t):super.nearestInputPos(e,t)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(e){this._overwrite=e}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(e){this._eager=e}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(e){this._skipInvalid=e}get autofix(){return this.currentMask?this.currentMask.autofix:this._autofix}set autofix(e){this._autofix=e}maskEquals(e){return Array.isArray(e)?this.compiledMasks.every((t,n)=>{if(!e[n])return;let{mask:i,...a}=e[n];return o(t,a)&&t.maskEquals(i)}):super.maskEquals(e)}typedValueEquals(e){var t;return!!(null==(t=this.currentMask)?void 0:t.typedValueEquals(e))}}A.DEFAULTS={...w.DEFAULTS,dispatch:(e,t,n,i)=>{if(!t.compiledMasks.length)return;let a=t.rawInputValue,s=t.compiledMasks.map((s,o)=>{let l=t.currentMask===s,c=l?s.displayValue.length:s.nearestInputPos(s.displayValue.length,r.FORCE_LEFT);return s.rawInputValue!==a?(s.reset(),s.append(a,{raw:!0})):l||s.remove(c),s.append(e,t.currentMaskFlags(n)),s.appendTail(i),{index:o,weight:s.rawInputValue.length,totalInputPositions:s.totalInputPositions(0,Math.max(c,s.nearestInputPos(s.displayValue.length,r.FORCE_LEFT)))}});return s.sort((e,t)=>t.weight-e.weight||t.totalInputPositions-e.totalInputPositions),t.compiledMasks[s[0].index]}},c.MaskedDynamic=A;class O extends M{constructor(e){super({...O.DEFAULTS,...e})}updateOptions(e){super.updateOptions(e)}_update(e){let{enum:t,...n}=e;if(t){let e=t.map(e=>e.length),i=Math.min(...e),a=Math.max(...e)-i;n.mask="*".repeat(i),a&&(n.mask+="["+"*".repeat(a)+"]"),this.enum=t}super._update(n)}_appendCharRaw(e,t){void 0===t&&(t={});let n=Math.min(this.nearestInputPos(0,r.FORCE_RIGHT),this.value.length),i=this.enum.filter(t=>this.matchValue(t,this.unmaskedValue+e,n));if(i.length){1===i.length&&this._forEachBlocksInRange(0,this.value.length,(e,n)=>{let a=i[0][n];n>=this.value.length||a===e.value||(e.reset(),e._appendChar(a,t))});let e=super._appendCharRaw(i[0][this.value.length],t);return 1===i.length&&i[0].slice(this.unmaskedValue.length).split("").forEach(t=>e.aggregate(super._appendCharRaw(t))),e}return new b({skip:!this.isComplete})}extractTail(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),new y("",e)}remove(e,t){let n;if(void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),e===t)return new b;let i=Math.min(super.nearestInputPos(0,r.FORCE_RIGHT),this.value.length);for(n=e;n>=0&&!(this.enum.filter(e=>this.matchValue(e,this.value.slice(i,n),i)).length>1);--n);let a=super.remove(n,t);return a.tailShift+=n-e,a}get isComplete(){return this.enum.indexOf(this.value)>=0}}O.DEFAULTS={...M.DEFAULTS,matchValue:(e,t,n)=>e.indexOf(t,n)===n},c.MaskedEnum=O;class N extends w{updateOptions(e){super.updateOptions(e)}_update(e){super._update({...e,validate:e.mask})}}c.MaskedFunction=N;class R extends w{constructor(e){super({...R.DEFAULTS,...e})}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),this._updateRegExps()}_updateRegExps(){let e="^"+(this.allowNegative?"[+|\\-]?":""),t=(this.scale?"("+s(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=RegExp(e+"\\d*"+t),this._mapToRadixRegExp=RegExp("["+this.mapToRadix.map(s).join("")+"]","g"),this._thousandsSeparatorRegExp=RegExp(s(this.thousandsSeparator),"g")}_removeThousandsSeparators(e){return e.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(e){let t=e.split(this.radix);return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),t.join(this.radix)}doPrepareChar(e,t){void 0===t&&(t={});let[n,i]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(t.input&&t.raw||!t.input&&!t.raw)?e.replace(this._mapToRadixRegExp,this.radix):e),t);return e&&!n&&(i.skip=!0),!n||this.allowPositive||this.value||"-"===n||i.aggregate(this._appendChar("-")),[n,i]}_separatorsCount(e,t){void 0===t&&(t=!1);let n=0;for(let i=0;i<e;++i)this._value.indexOf(this.thousandsSeparator,i)===i&&(++n,t&&(e+=this.thousandsSeparator.length));return n}_separatorsCountFromSlice(e){return void 0===e&&(e=this._value),this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),[e,t]=this._adjustRangeWithSeparators(e,t),this._removeThousandsSeparators(super.extractInput(e,t,n))}_appendCharRaw(e,t){let n;void 0===t&&(t={});let i=t.tail&&t._beforeTailState?t._beforeTailState._value:this._value,a=this._separatorsCountFromSlice(i);this._value=this._removeThousandsSeparators(this.value);let r=this._value;this._value+=e;let s=!isNaN(this.number),o=!1;if(s){let e;null!=this.min&&this.min<0&&this.number<this.min&&(e=this.min),null!=this.max&&this.max>0&&this.number>this.max&&(e=this.max),null!=e&&(this.autofix?(this._value=this.format(e,this).replace(R.UNMASKED_RADIX,this.radix),o||(o=r===this._value&&!t.tail)):s=!1),s&&(s=!!this._value.match(this._numberRegExp))}s?n=new b({inserted:this._value.slice(r.length),rawInserted:o?"":e,skip:o}):(this._value=r,n=new b),this._value=this._insertThousandsSeparators(this._value);let l=t.tail&&t._beforeTailState?t._beforeTailState._value:this._value,c=this._separatorsCountFromSlice(l);return n.tailShift+=(c-a)*this.thousandsSeparator.length,n}_findSeparatorAround(e){if(this.thousandsSeparator){let t=e-this.thousandsSeparator.length+1,n=this.value.indexOf(this.thousandsSeparator,t);if(n<=e)return n}return -1}_adjustRangeWithSeparators(e,t){let n=this._findSeparatorAround(e);n>=0&&(e=n);let i=this._findSeparatorAround(t);return i>=0&&(t=i+this.thousandsSeparator.length),[e,t]}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),[e,t]=this._adjustRangeWithSeparators(e,t);let n=this.value.slice(0,e),i=this.value.slice(t),a=this._separatorsCount(n.length);return this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(n+i)),new b({tailShift:(this._separatorsCountFromSlice(n)-a)*this.thousandsSeparator.length})}nearestInputPos(e,t){if(!this.thousandsSeparator)return e;switch(t){case r.NONE:case r.LEFT:case r.FORCE_LEFT:{let n=this._findSeparatorAround(e-1);if(n>=0){let i=n+this.thousandsSeparator.length;if(e<i||this.value.length<=i||t===r.FORCE_LEFT)return n}break}case r.RIGHT:case r.FORCE_RIGHT:{let t=this._findSeparatorAround(e);if(t>=0)return t+this.thousandsSeparator.length}}return e}doCommit(){if(this.value){let e=this.number,t=e;null!=this.min&&(t=Math.max(t,this.min)),null!=this.max&&(t=Math.min(t,this.max)),t!==e&&(this.unmaskedValue=this.format(t,this));let n=this.value;this.normalizeZeros&&(n=this._normalizeZeros(n)),this.padFractionalZeros&&this.scale>0&&(n=this._padFractionalZeros(n)),this._value=n}super.doCommit()}_normalizeZeros(e){let t=this._removeThousandsSeparators(e).split(this.radix);return t[0]=t[0].replace(/^(\D*)(0*)(\d*)/,(e,t,n,i)=>t+i),e.length&&!/\d$/.test(t[0])&&(t[0]=t[0]+"0"),t.length>1&&(t[1]=t[1].replace(/0*$/,""),t[1].length||(t.length=1)),this._insertThousandsSeparators(t.join(this.radix))}_padFractionalZeros(e){if(!e)return e;let t=e.split(this.radix);return t.length<2&&t.push(""),t[1]=t[1].padEnd(this.scale,"0"),t.join(this.radix)}doSkipInvalid(e,t,n){void 0===t&&(t={});let i=0===this.scale&&e!==this.thousandsSeparator&&(e===this.radix||e===R.UNMASKED_RADIX||this.mapToRadix.includes(e));return super.doSkipInvalid(e,t,n)&&!i}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,R.UNMASKED_RADIX)}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(e){this.rawInputValue=this.format(e,this).replace(R.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(e){this.typedValue=e}get allowNegative(){return null!=this.min&&this.min<0||null!=this.max&&this.max<0}get allowPositive(){return null!=this.min&&this.min>0||null!=this.max&&this.max>0}typedValueEquals(e){return(super.typedValueEquals(e)||R.EMPTY_VALUES.includes(e)&&R.EMPTY_VALUES.includes(this.typedValue))&&!(0===e&&""===this.value)}}R.UNMASKED_RADIX=".",R.EMPTY_VALUES=[...w.EMPTY_VALUES,0],R.DEFAULTS={...w.DEFAULTS,mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[R.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:e=>e.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})},c.MaskedNumber=R;let F={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function D(e,t,n){void 0===t&&(t=F.MASKED),void 0===n&&(n=F.MASKED);let i=h(e);return e=>i.runIsolated(i=>(i[t]=e,i[n]))}c.PIPE_TYPE=F,c.createPipe=D,c.pipe=function(e,t,n,i){return D(t,n,i)(e)};class I extends M{get repeatFrom(){var e;return null!=(e=Array.isArray(this.repeat)?this.repeat[0]:this.repeat===1/0?0:this.repeat)?e:0}get repeatTo(){var e;return null!=(e=Array.isArray(this.repeat)?this.repeat[1]:this.repeat)?e:1/0}constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){var t,n,i;let{repeat:a,...r}=p(e);this._blockOpts=Object.assign({},this._blockOpts,r);let s=h(this._blockOpts);this.repeat=null!=(t=null!=(n=null!=a?a:s.repeat)?n:this.repeat)?t:1/0,super._update({mask:"m".repeat(Math.max(this.repeatTo===1/0&&(null==(i=this._blocks)?void 0:i.length)||0,this.repeatFrom)),blocks:{m:s},eager:s.eager,overwrite:s.overwrite,skipInvalid:s.skipInvalid,lazy:s.lazy,placeholderChar:s.placeholderChar,displayChar:s.displayChar})}_allocateBlock(e){return e<this._blocks.length?this._blocks[e]:this.repeatTo===1/0||this._blocks.length<this.repeatTo?(this._blocks.push(h(this._blockOpts)),this.mask+="m",this._blocks[this._blocks.length-1]):void 0}_appendCharRaw(e,t){void 0===t&&(t={});let n=new b;for(let o=null!=(i=null==(a=this._mapPosToBlock(this.displayValue.length))?void 0:a.index)?i:Math.max(this._blocks.length-1,0),l,c;l=null!=(r=this._blocks[o])?r:c=!c&&this._allocateBlock(o);++o){var i,a,r,s;let u=l._appendChar(e,{...t,_beforeTailState:null==(s=t._beforeTailState)||null==(s=s._blocks)?void 0:s[o]});if(u.skip&&c){this._blocks.pop(),this.mask=this.mask.slice(1);break}if(n.aggregate(u),u.consumed)break}return n}_trimEmptyTail(e,t){var n,i;let a;void 0===e&&(e=0);let r=Math.max((null==(n=this._mapPosToBlock(e))?void 0:n.index)||0,this.repeatFrom,0);null!=t&&(a=null==(i=this._mapPosToBlock(t))?void 0:i.index),null==a&&(a=this._blocks.length-1);let s=0;for(let e=a;r<=e&&!this._blocks[e].unmaskedValue;--e,++s);s&&(this._blocks.splice(a-s+1,s),this.mask=this.mask.slice(s))}reset(){super.reset(),this._trimEmptyTail()}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);let n=super.remove(e,t);return this._trimEmptyTail(e,t),n}totalInputPositions(e,t){return(void 0===e&&(e=0),null==t&&this.repeatTo===1/0)?1/0:super.totalInputPositions(e,t)}get state(){return super.state}set state(e){this._blocks.length=e._blocks.length,this.mask=this.mask.slice(0,this._blocks.length),super.state=e}}c.RepeatBlock=I;try{globalThis.IMask=c}catch{}var L=n(2265),P=n(40718);let z={mask:P.oneOfType([P.array,P.func,P.string,P.instanceOf(RegExp),P.oneOf([Date,Number,c.Masked]),P.instanceOf(c.Masked)]),value:P.any,unmask:P.oneOfType([P.bool,P.oneOf(["typed"])]),prepare:P.func,prepareChar:P.func,validate:P.func,commit:P.func,overwrite:P.oneOfType([P.bool,P.oneOf(["shift"])]),eager:P.oneOfType([P.bool,P.oneOf(["append","remove"])]),skipInvalid:P.bool,onAccept:P.func,onComplete:P.func,placeholderChar:P.string,displayChar:P.string,lazy:P.bool,definitions:P.object,blocks:P.object,enum:P.arrayOf(P.string),maxLength:P.number,from:P.number,to:P.number,pattern:P.string,format:P.func,parse:P.func,autofix:P.oneOfType([P.bool,P.oneOf(["pad"])]),radix:P.string,thousandsSeparator:P.string,mapToRadix:P.arrayOf(P.string),scale:P.number,normalizeZeros:P.bool,padFractionalZeros:P.bool,min:P.oneOfType([P.number,P.instanceOf(Date)]),max:P.oneOfType([P.number,P.instanceOf(Date)]),dispatch:P.func,inputRef:P.oneOfType([P.func,P.shape({current:P.object})])},Z=Object.keys(z).filter(e=>"value"!==e),B=["value","unmask","onAccept","onComplete","inputRef"],$=Z.filter(e=>0>B.indexOf(e)),V=function(e){var t;let n=((t=class extends L.Component{constructor(e){super(e),this._inputRef=this._inputRef.bind(this)}componentDidMount(){this.props.mask&&this.initMask()}componentDidUpdate(){let e=this.props,t=this._extractMaskOptionsFromProps(e);if(t.mask)this.maskRef?(this.maskRef.updateOptions(t),"value"in e&&void 0!==e.value&&(this.maskValue=e.value)):this.initMask(t);else if(this.destroyMask(),"value"in e&&void 0!==e.value){var n;null!=(n=this.element)&&n.isContentEditable&&"INPUT"!==this.element.tagName&&"TEXTAREA"!==this.element.tagName?this.element.textContent=e.value:this.element.value=e.value}}componentWillUnmount(){this.destroyMask()}_inputRef(e){this.element=e,this.props.inputRef&&(Object.prototype.hasOwnProperty.call(this.props.inputRef,"current")?this.props.inputRef.current=e:this.props.inputRef(e))}initMask(e){void 0===e&&(e=this._extractMaskOptionsFromProps(this.props)),this.maskRef=c(this.element,e).on("accept",this._onAccept.bind(this)).on("complete",this._onComplete.bind(this)),"value"in this.props&&void 0!==this.props.value&&(this.maskValue=this.props.value)}destroyMask(){this.maskRef&&(this.maskRef.destroy(),delete this.maskRef)}_extractMaskOptionsFromProps(e){let{...t}=e;return Object.keys(t).filter(e=>0>$.indexOf(e)).forEach(e=>{delete t[e]}),t}_extractNonMaskProps(e){let{...t}=e;return Z.forEach(e=>{"maxLength"!==e&&delete t[e]}),"defaultValue"in t||(t.defaultValue=e.mask?"":t.value),delete t.value,t}get maskValue(){return this.maskRef?"typed"===this.props.unmask?this.maskRef.typedValue:this.props.unmask?this.maskRef.unmaskedValue:this.maskRef.value:""}set maskValue(e){this.maskRef&&(e=null==e&&"typed"!==this.props.unmask?"":e,"typed"===this.props.unmask?this.maskRef.typedValue=e:this.props.unmask?this.maskRef.unmaskedValue=e:this.maskRef.value=e)}_onAccept(e){this.props.onAccept&&this.maskRef&&this.props.onAccept(this.maskValue,this.maskRef,e)}_onComplete(e){this.props.onComplete&&this.maskRef&&this.props.onComplete(this.maskValue,this.maskRef,e)}render(){return L.createElement(e,{...this._extractNonMaskProps(this.props),inputRef:this._inputRef})}}).displayName=void 0,t.propTypes=void 0,t),i=e.displayName||e.name||"Component";return n.displayName="IMask("+i+")",n.propTypes=z,L.forwardRef((e,t)=>L.createElement(n,{...e,ref:t}))}(e=>{let{inputRef:t,...n}=e;return L.createElement("input",{...n,ref:t})});function U(e,t){let{onAccept:n,onComplete:i,ref:a=(0,L.useRef)(null),defaultValue:r,defaultUnmaskedValue:s,defaultTypedValue:o}=void 0===t?{}:t,l=(0,L.useRef)(null),[u,p]=(0,L.useState)({}),[h,d]=(0,L.useState)(""),[f,m]=(0,L.useState)(""),[v,g]=(0,L.useState)(),x=(0,L.useCallback)(()=>{var e;null==(e=l.current)||e.destroy(),l.current=null},[]),b=(0,L.useCallback)(()=>{let e=l.current;e&&(p({value:e.value,unmaskedValue:e.unmaskedValue,typedValue:e.typedValue}),g(e.typedValue),m(e.unmaskedValue),d(e.value))},[]),y=(0,L.useCallback)(e=>{let t=l.current;t&&(b(),null==n||n(t.value,t,e))},[n]),w=(0,L.useCallback)(e=>l.current&&(null==i?void 0:i(l.current.value,l.current,e)),[i]);return(0,L.useEffect)(()=>{let{value:e,...t}=u,n=l.current;n&&void 0!==h&&(e!==h&&(n.value=h,n.value!==h&&y()),p(t))},[h]),(0,L.useEffect)(()=>{let{unmaskedValue:e,...t}=u,n=l.current;n&&void 0!==f&&(e!==f&&(n.unmaskedValue=f,n.unmaskedValue!==f&&y()),p(t))},[f]),(0,L.useEffect)(()=>{let{typedValue:e,...t}=u,n=l.current;n&&void 0!==v&&(e===v||(n.typedValue=v,n.masked.typedValueEquals(v)||y()),p(t))},[v]),(0,L.useEffect)(()=>{let t=a.current;if(!t||!(null!=e&&e.mask))return x();let n=l.current;n?null==n||n.updateOptions(e):t&&null!=e&&e.mask&&(l.current=c(t,e),b(),void 0!==r&&d(r),void 0!==s&&m(s),void 0!==o&&g(o))},[e,x,y]),(0,L.useEffect)(()=>{if(!l.current)return;let e=l.current;return e.on("accept",y),e.on("complete",w),()=>{e.off("accept",y),e.off("complete",w)}},[y,w]),(0,L.useEffect)(()=>x,[x]),{ref:a,maskRef:l,value:h,setValue:d,unmaskedValue:f,setUnmaskedValue:m,typedValue:v,setTypedValue:g}}L.forwardRef((e,t)=>L.createElement(V,{...e,ref:t}))},31229:function(e,t,n){"use strict";let i;n.d(t,{z:function(){return to}}),(e8=tt||(tt={})).assertEqual=e=>e,e8.assertIs=function(e){},e8.assertNever=function(e){throw Error()},e8.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e8.getValidEnumValues=e=>{let t=e8.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),n={};for(let i of t)n[i]=e[i];return e8.objectValues(n)},e8.objectValues=e=>e8.objectKeys(e).map(function(t){return e[t]}),e8.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e8.find=(e,t)=>{for(let n of e)if(t(n))return n},e8.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e8.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e8.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(tn||(tn={})).mergeShapes=(e,t)=>({...e,...t});let a=tt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),r=e=>{switch(typeof e){case"undefined":return a.undefined;case"string":return a.string;case"number":return isNaN(e)?a.nan:a.number;case"boolean":return a.boolean;case"function":return a.function;case"bigint":return a.bigint;case"symbol":return a.symbol;case"object":if(Array.isArray(e))return a.array;if(null===e)return a.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return a.promise;if("undefined"!=typeof Map&&e instanceof Map)return a.map;if("undefined"!=typeof Set&&e instanceof Set)return a.set;if("undefined"!=typeof Date&&e instanceof Date)return a.date;return a.object;default:return a.unknown}},s=tt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class o extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},n={_errors:[]},i=e=>{for(let a of e.issues)if("invalid_union"===a.code)a.unionErrors.map(i);else if("invalid_return_type"===a.code)i(a.returnTypeError);else if("invalid_arguments"===a.code)i(a.argumentsError);else if(0===a.path.length)n._errors.push(t(a));else{let e=n,i=0;for(;i<a.path.length;){let n=a.path[i];i===a.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(a))):e[n]=e[n]||{_errors:[]},e=e[n],i++}}};return i(this),n}static assert(e){if(!(e instanceof o))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,tt.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},n=[];for(let i of this.issues)i.path.length>0?(t[i.path[0]]=t[i.path[0]]||[],t[i.path[0]].push(e(i))):n.push(e(i));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}o.create=e=>new o(e);let l=(e,t)=>{let n;switch(e.code){case s.invalid_type:n=e.received===a.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case s.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,tt.jsonStringifyReplacer)}`;break;case s.unrecognized_keys:n=`Unrecognized key(s) in object: ${tt.joinValues(e.keys,", ")}`;break;case s.invalid_union:n="Invalid input";break;case s.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${tt.joinValues(e.options)}`;break;case s.invalid_enum_value:n=`Invalid enum value. Expected ${tt.joinValues(e.options)}, received '${e.received}'`;break;case s.invalid_arguments:n="Invalid function arguments";break;case s.invalid_return_type:n="Invalid function return type";break;case s.invalid_date:n="Invalid date";break;case s.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:tt.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case s.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case s.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case s.custom:n="Invalid input";break;case s.invalid_intersection_types:n="Intersection results could not be merged";break;case s.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case s.not_finite:n="Number must be finite";break;default:n=t.defaultError,tt.assertNever(e)}return{message:n}},c=l;function u(){return c}let p=e=>{let{data:t,path:n,errorMaps:i,issueData:a}=e,r=[...n,...a.path||[]],s={...a,path:r};if(void 0!==a.message)return{...a,path:r,message:a.message};let o="";for(let e of i.filter(e=>!!e).slice().reverse())o=e(s,{data:t,defaultError:o}).message;return{...a,path:r,message:o}};function h(e,t){let n=u(),i=p({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===l?void 0:l].filter(e=>!!e)});e.common.issues.push(i)}class d{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let i of t){if("aborted"===i.status)return f;"dirty"===i.status&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let e of t){let t=await e.key,i=await e.value;n.push({key:t,value:i})}return d.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let i of t){let{key:t,value:a}=i;if("aborted"===t.status||"aborted"===a.status)return f;"dirty"===t.status&&e.dirty(),"dirty"===a.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==a.value||i.alwaysSet)&&(n[t.value]=a.value)}return{status:e.value,value:n}}}let f=Object.freeze({status:"aborted"}),m=e=>({status:"dirty",value:e}),v=e=>({status:"valid",value:e}),g=e=>"aborted"===e.status,x=e=>"dirty"===e.status,b=e=>"valid"===e.status,y=e=>"undefined"!=typeof Promise&&e instanceof Promise;function w(e,t,n,i){if("a"===n&&!i)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)}function _(e,t,n,i,a){if("m"===i)throw TypeError("Private method is not writable");if("a"===i&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(e,n):a?a.value=n:t.set(e,n),n}"function"==typeof SuppressedError&&SuppressedError,(e9=ti||(ti={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},e9.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class k{constructor(e,t,n,i){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let C=(e,t)=>{if(b(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new o(e.common.issues);return this._error=t,this._error}}};function E(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:i,description:a}=e;if(t&&(n||i))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:a}:{errorMap:(t,a)=>{var r,s;let{message:o}=e;return"invalid_enum_value"===t.code?{message:null!=o?o:a.defaultError}:void 0===a.data?{message:null!==(r=null!=o?o:i)&&void 0!==r?r:a.defaultError}:"invalid_type"!==t.code?{message:a.defaultError}:{message:null!==(s=null!=o?o:n)&&void 0!==s?s:a.defaultError}},description:a}}class j{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return r(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:r(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new d,ctx:{common:e.parent.common,data:e.data,parsedType:r(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(y(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let i={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:r(e)},a=this._parseSync({data:e,path:i.path,parent:i});return C(i,a)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:r(e)},i=this._parse({data:e,path:n.path,parent:n});return C(n,await (y(i)?i:Promise.resolve(i)))}refine(e,t){let n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,i)=>{let a=e(t),r=()=>i.addIssue({code:s.custom,...n(t)});return"undefined"!=typeof Promise&&a instanceof Promise?a.then(e=>!!e||(r(),!1)):!!a||(r(),!1)})}refinement(e,t){return this._refinement((n,i)=>!!e(n)||(i.addIssue("function"==typeof t?t(n,i):t),!1))}_refinement(e){return new ev({schema:this,typeName:ts.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return eg.create(this,this._def)}nullable(){return ex.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return J.create(this,this._def)}promise(){return em.create(this,this._def)}or(e){return et.create([this,e],this._def)}and(e){return ea.create(this,e,this._def)}transform(e){return new ev({...E(this._def),schema:this,typeName:ts.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eb({...E(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:ts.ZodDefault})}brand(){return new ek({typeName:ts.ZodBranded,type:this,...E(this._def)})}catch(e){return new ey({...E(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:ts.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eC.create(this,e)}readonly(){return eE.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let M=/^c[^\s-]{8,}$/i,S=/^[0-9a-z]+$/,T=/^[0-9A-HJKMNP-TV-Z]{26}$/,A=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,O=/^[a-z0-9_-]{21}$/i,N=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,R=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,F=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,D=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,I=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,L="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",P=RegExp(`^${L}$`);function z(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function Z(e){let t=`${L}T${z(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,RegExp(`^${t}$`)}class B extends j{_parse(e){var t,n;let r;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==a.string){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.string,received:t.parsedType}),f}let o=new d;for(let a of this._def.checks)if("min"===a.kind)e.data.length<a.value&&(h(r=this._getOrReturnCtx(e,r),{code:s.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),o.dirty());else if("max"===a.kind)e.data.length>a.value&&(h(r=this._getOrReturnCtx(e,r),{code:s.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),o.dirty());else if("length"===a.kind){let t=e.data.length>a.value,n=e.data.length<a.value;(t||n)&&(r=this._getOrReturnCtx(e,r),t?h(r,{code:s.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):n&&h(r,{code:s.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),o.dirty())}else if("email"===a.kind)R.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"email",code:s.invalid_string,message:a.message}),o.dirty());else if("emoji"===a.kind)i||(i=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),i.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"emoji",code:s.invalid_string,message:a.message}),o.dirty());else if("uuid"===a.kind)A.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"uuid",code:s.invalid_string,message:a.message}),o.dirty());else if("nanoid"===a.kind)O.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"nanoid",code:s.invalid_string,message:a.message}),o.dirty());else if("cuid"===a.kind)M.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"cuid",code:s.invalid_string,message:a.message}),o.dirty());else if("cuid2"===a.kind)S.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"cuid2",code:s.invalid_string,message:a.message}),o.dirty());else if("ulid"===a.kind)T.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"ulid",code:s.invalid_string,message:a.message}),o.dirty());else if("url"===a.kind)try{new URL(e.data)}catch(t){h(r=this._getOrReturnCtx(e,r),{validation:"url",code:s.invalid_string,message:a.message}),o.dirty()}else"regex"===a.kind?(a.regex.lastIndex=0,a.regex.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"regex",code:s.invalid_string,message:a.message}),o.dirty())):"trim"===a.kind?e.data=e.data.trim():"includes"===a.kind?e.data.includes(a.value,a.position)||(h(r=this._getOrReturnCtx(e,r),{code:s.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),o.dirty()):"toLowerCase"===a.kind?e.data=e.data.toLowerCase():"toUpperCase"===a.kind?e.data=e.data.toUpperCase():"startsWith"===a.kind?e.data.startsWith(a.value)||(h(r=this._getOrReturnCtx(e,r),{code:s.invalid_string,validation:{startsWith:a.value},message:a.message}),o.dirty()):"endsWith"===a.kind?e.data.endsWith(a.value)||(h(r=this._getOrReturnCtx(e,r),{code:s.invalid_string,validation:{endsWith:a.value},message:a.message}),o.dirty()):"datetime"===a.kind?Z(a).test(e.data)||(h(r=this._getOrReturnCtx(e,r),{code:s.invalid_string,validation:"datetime",message:a.message}),o.dirty()):"date"===a.kind?P.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{code:s.invalid_string,validation:"date",message:a.message}),o.dirty()):"time"===a.kind?RegExp(`^${z(a)}$`).test(e.data)||(h(r=this._getOrReturnCtx(e,r),{code:s.invalid_string,validation:"time",message:a.message}),o.dirty()):"duration"===a.kind?N.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"duration",code:s.invalid_string,message:a.message}),o.dirty()):"ip"===a.kind?(t=e.data,("v4"===(n=a.version)||!n)&&F.test(t)||("v6"===n||!n)&&D.test(t)||(h(r=this._getOrReturnCtx(e,r),{validation:"ip",code:s.invalid_string,message:a.message}),o.dirty())):"base64"===a.kind?I.test(e.data)||(h(r=this._getOrReturnCtx(e,r),{validation:"base64",code:s.invalid_string,message:a.message}),o.dirty()):tt.assertNever(a);return{status:o.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:s.invalid_string,...ti.errToObj(n)})}_addCheck(e){return new B({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...ti.errToObj(e)})}url(e){return this._addCheck({kind:"url",...ti.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...ti.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...ti.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...ti.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...ti.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...ti.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...ti.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...ti.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...ti.errToObj(e)})}datetime(e){var t,n;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(n=null==e?void 0:e.local)&&void 0!==n&&n,...ti.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...ti.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...ti.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...ti.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...ti.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...ti.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...ti.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...ti.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...ti.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...ti.errToObj(t)})}nonempty(e){return this.min(1,ti.errToObj(e))}trim(){return new B({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new B({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new B({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}B.create=e=>{var t;return new B({checks:[],typeName:ts.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...E(e)})};class $ extends j{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==a.number){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.number,received:t.parsedType}),f}let n=new d;for(let i of this._def.checks)"int"===i.kind?tt.isInteger(e.data)||(h(t=this._getOrReturnCtx(e,t),{code:s.invalid_type,expected:"integer",received:"float",message:i.message}),n.dirty()):"min"===i.kind?(i.inclusive?e.data<i.value:e.data<=i.value)&&(h(t=this._getOrReturnCtx(e,t),{code:s.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),n.dirty()):"max"===i.kind?(i.inclusive?e.data>i.value:e.data>=i.value)&&(h(t=this._getOrReturnCtx(e,t),{code:s.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),n.dirty()):"multipleOf"===i.kind?0!==function(e,t){let n=(e.toString().split(".")[1]||"").length,i=(t.toString().split(".")[1]||"").length,a=n>i?n:i;return parseInt(e.toFixed(a).replace(".",""))%parseInt(t.toFixed(a).replace(".",""))/Math.pow(10,a)}(e.data,i.value)&&(h(t=this._getOrReturnCtx(e,t),{code:s.not_multiple_of,multipleOf:i.value,message:i.message}),n.dirty()):"finite"===i.kind?Number.isFinite(e.data)||(h(t=this._getOrReturnCtx(e,t),{code:s.not_finite,message:i.message}),n.dirty()):tt.assertNever(i);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,ti.toString(t))}gt(e,t){return this.setLimit("min",e,!1,ti.toString(t))}lte(e,t){return this.setLimit("max",e,!0,ti.toString(t))}lt(e,t){return this.setLimit("max",e,!1,ti.toString(t))}setLimit(e,t,n,i){return new $({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:ti.toString(i)}]})}_addCheck(e){return new $({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:ti.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ti.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ti.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ti.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ti.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:ti.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:ti.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ti.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ti.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&tt.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}$.create=e=>new $({checks:[],typeName:ts.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...E(e)});class V extends j{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==a.bigint){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.bigint,received:t.parsedType}),f}let n=new d;for(let i of this._def.checks)"min"===i.kind?(i.inclusive?e.data<i.value:e.data<=i.value)&&(h(t=this._getOrReturnCtx(e,t),{code:s.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),n.dirty()):"max"===i.kind?(i.inclusive?e.data>i.value:e.data>=i.value)&&(h(t=this._getOrReturnCtx(e,t),{code:s.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),n.dirty()):"multipleOf"===i.kind?e.data%i.value!==BigInt(0)&&(h(t=this._getOrReturnCtx(e,t),{code:s.not_multiple_of,multipleOf:i.value,message:i.message}),n.dirty()):tt.assertNever(i);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,ti.toString(t))}gt(e,t){return this.setLimit("min",e,!1,ti.toString(t))}lte(e,t){return this.setLimit("max",e,!0,ti.toString(t))}lt(e,t){return this.setLimit("max",e,!1,ti.toString(t))}setLimit(e,t,n,i){return new V({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:ti.toString(i)}]})}_addCheck(e){return new V({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ti.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ti.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ti.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ti.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:ti.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}V.create=e=>{var t;return new V({checks:[],typeName:ts.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...E(e)})};class U extends j{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==a.boolean){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.boolean,received:t.parsedType}),f}return v(e.data)}}U.create=e=>new U({typeName:ts.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...E(e)});class q extends j{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==a.date){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.date,received:t.parsedType}),f}if(isNaN(e.data.getTime()))return h(this._getOrReturnCtx(e),{code:s.invalid_date}),f;let n=new d;for(let i of this._def.checks)"min"===i.kind?e.data.getTime()<i.value&&(h(t=this._getOrReturnCtx(e,t),{code:s.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),n.dirty()):"max"===i.kind?e.data.getTime()>i.value&&(h(t=this._getOrReturnCtx(e,t),{code:s.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),n.dirty()):tt.assertNever(i);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new q({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:ti.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:ti.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}q.create=e=>new q({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:ts.ZodDate,...E(e)});class W extends j{_parse(e){if(this._getType(e)!==a.symbol){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.symbol,received:t.parsedType}),f}return v(e.data)}}W.create=e=>new W({typeName:ts.ZodSymbol,...E(e)});class H extends j{_parse(e){if(this._getType(e)!==a.undefined){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.undefined,received:t.parsedType}),f}return v(e.data)}}H.create=e=>new H({typeName:ts.ZodUndefined,...E(e)});class Y extends j{_parse(e){if(this._getType(e)!==a.null){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.null,received:t.parsedType}),f}return v(e.data)}}Y.create=e=>new Y({typeName:ts.ZodNull,...E(e)});class G extends j{constructor(){super(...arguments),this._any=!0}_parse(e){return v(e.data)}}G.create=e=>new G({typeName:ts.ZodAny,...E(e)});class K extends j{constructor(){super(...arguments),this._unknown=!0}_parse(e){return v(e.data)}}K.create=e=>new K({typeName:ts.ZodUnknown,...E(e)});class Q extends j{_parse(e){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.never,received:t.parsedType}),f}}Q.create=e=>new Q({typeName:ts.ZodNever,...E(e)});class X extends j{_parse(e){if(this._getType(e)!==a.undefined){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.void,received:t.parsedType}),f}return v(e.data)}}X.create=e=>new X({typeName:ts.ZodVoid,...E(e)});class J extends j{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),i=this._def;if(t.parsedType!==a.array)return h(t,{code:s.invalid_type,expected:a.array,received:t.parsedType}),f;if(null!==i.exactLength){let e=t.data.length>i.exactLength.value,a=t.data.length<i.exactLength.value;(e||a)&&(h(t,{code:e?s.too_big:s.too_small,minimum:a?i.exactLength.value:void 0,maximum:e?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(null!==i.minLength&&t.data.length<i.minLength.value&&(h(t,{code:s.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),null!==i.maxLength&&t.data.length>i.maxLength.value&&(h(t,{code:s.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>i.type._parseAsync(new k(t,e,t.path,n)))).then(e=>d.mergeArray(n,e));let r=[...t.data].map((e,n)=>i.type._parseSync(new k(t,e,t.path,n)));return d.mergeArray(n,r)}get element(){return this._def.type}min(e,t){return new J({...this._def,minLength:{value:e,message:ti.toString(t)}})}max(e,t){return new J({...this._def,maxLength:{value:e,message:ti.toString(t)}})}length(e,t){return new J({...this._def,exactLength:{value:e,message:ti.toString(t)}})}nonempty(e){return this.min(1,e)}}J.create=(e,t)=>new J({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ts.ZodArray,...E(t)});class ee extends j{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=tt.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==a.object){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.object,received:t.parsedType}),f}let{status:t,ctx:n}=this._processInputParams(e),{shape:i,keys:r}=this._getCached(),o=[];if(!(this._def.catchall instanceof Q&&"strip"===this._def.unknownKeys))for(let e in n.data)r.includes(e)||o.push(e);let l=[];for(let e of r){let t=i[e],a=n.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new k(n,a,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof Q){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of o)l.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)o.length>0&&(h(n,{code:s.unrecognized_keys,keys:o}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of o){let i=n.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new k(n,i,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let n=await t.key,i=await t.value;e.push({key:n,value:i,alwaysSet:t.alwaysSet})}return e}).then(e=>d.mergeObjectSync(t,e)):d.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return ti.errToObj,new ee({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var i,a,r,s;let o=null!==(r=null===(a=(i=this._def).errorMap)||void 0===a?void 0:a.call(i,t,n).message)&&void 0!==r?r:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(s=ti.errToObj(e).message)&&void 0!==s?s:o}:{message:o}}}:{}})}strip(){return new ee({...this._def,unknownKeys:"strip"})}passthrough(){return new ee({...this._def,unknownKeys:"passthrough"})}extend(e){return new ee({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new ee({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ts.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ee({...this._def,catchall:e})}pick(e){let t={};return tt.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new ee({...this._def,shape:()=>t})}omit(e){let t={};return tt.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new ee({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof ee){let n={};for(let i in t.shape){let a=t.shape[i];n[i]=eg.create(e(a))}return new ee({...t._def,shape:()=>n})}return t instanceof J?new J({...t._def,type:e(t.element)}):t instanceof eg?eg.create(e(t.unwrap())):t instanceof ex?ex.create(e(t.unwrap())):t instanceof er?er.create(t.items.map(t=>e(t))):t}(this)}partial(e){let t={};return tt.objectKeys(this.shape).forEach(n=>{let i=this.shape[n];e&&!e[n]?t[n]=i:t[n]=i.optional()}),new ee({...this._def,shape:()=>t})}required(e){let t={};return tt.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof eg;)e=e._def.innerType;t[n]=e}}),new ee({...this._def,shape:()=>t})}keyof(){return eh(tt.objectKeys(this.shape))}}ee.create=(e,t)=>new ee({shape:()=>e,unknownKeys:"strip",catchall:Q.create(),typeName:ts.ZodObject,...E(t)}),ee.strictCreate=(e,t)=>new ee({shape:()=>e,unknownKeys:"strict",catchall:Q.create(),typeName:ts.ZodObject,...E(t)}),ee.lazycreate=(e,t)=>new ee({shape:e,unknownKeys:"strip",catchall:Q.create(),typeName:ts.ZodObject,...E(t)});class et extends j{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new o(e.ctx.common.issues));return h(t,{code:s.invalid_union,unionErrors:n}),f});{let e;let i=[];for(let a of n){let n={...t,common:{...t.common,issues:[]},parent:null},r=a._parseSync({data:t.data,path:t.path,parent:n});if("valid"===r.status)return r;"dirty"!==r.status||e||(e={result:r,ctx:n}),n.common.issues.length&&i.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let a=i.map(e=>new o(e));return h(t,{code:s.invalid_union,unionErrors:a}),f}}get options(){return this._def.options}}et.create=(e,t)=>new et({options:e,typeName:ts.ZodUnion,...E(t)});let en=e=>{if(e instanceof eu)return en(e.schema);if(e instanceof ev)return en(e.innerType());if(e instanceof ep)return[e.value];if(e instanceof ed)return e.options;if(e instanceof ef)return tt.objectValues(e.enum);if(e instanceof eb)return en(e._def.innerType);if(e instanceof H)return[void 0];else if(e instanceof Y)return[null];else if(e instanceof eg)return[void 0,...en(e.unwrap())];else if(e instanceof ex)return[null,...en(e.unwrap())];else if(e instanceof ek)return en(e.unwrap());else if(e instanceof eE)return en(e.unwrap());else if(e instanceof ey)return en(e._def.innerType);else return[]};class ei extends j{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==a.object)return h(t,{code:s.invalid_type,expected:a.object,received:t.parsedType}),f;let n=this.discriminator,i=t.data[n],r=this.optionsMap.get(i);return r?t.common.async?r._parseAsync({data:t.data,path:t.path,parent:t}):r._parseSync({data:t.data,path:t.path,parent:t}):(h(t,{code:s.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),f)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let i=new Map;for(let n of t){let t=en(n.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let a of t){if(i.has(a))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`);i.set(a,n)}}return new ei({typeName:ts.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i,...E(n)})}}class ea extends j{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),i=(e,i)=>{if(g(e)||g(i))return f;let o=function e(t,n){let i=r(t),s=r(n);if(t===n)return{valid:!0,data:t};if(i===a.object&&s===a.object){let i=tt.objectKeys(n),a=tt.objectKeys(t).filter(e=>-1!==i.indexOf(e)),r={...t,...n};for(let i of a){let a=e(t[i],n[i]);if(!a.valid)return{valid:!1};r[i]=a.data}return{valid:!0,data:r}}if(i===a.array&&s===a.array){if(t.length!==n.length)return{valid:!1};let i=[];for(let a=0;a<t.length;a++){let r=e(t[a],n[a]);if(!r.valid)return{valid:!1};i.push(r.data)}return{valid:!0,data:i}}return i===a.date&&s===a.date&&+t==+n?{valid:!0,data:t}:{valid:!1}}(e.value,i.value);return o.valid?((x(e)||x(i))&&t.dirty(),{status:t.value,value:o.data}):(h(n,{code:s.invalid_intersection_types}),f)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>i(e,t)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}ea.create=(e,t,n)=>new ea({left:e,right:t,typeName:ts.ZodIntersection,...E(n)});class er extends j{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==a.array)return h(n,{code:s.invalid_type,expected:a.array,received:n.parsedType}),f;if(n.data.length<this._def.items.length)return h(n,{code:s.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),f;!this._def.rest&&n.data.length>this._def.items.length&&(h(n,{code:s.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let i=[...n.data].map((e,t)=>{let i=this._def.items[t]||this._def.rest;return i?i._parse(new k(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(i).then(e=>d.mergeArray(t,e)):d.mergeArray(t,i)}get items(){return this._def.items}rest(e){return new er({...this._def,rest:e})}}er.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new er({items:e,typeName:ts.ZodTuple,rest:null,...E(t)})};class es extends j{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==a.object)return h(n,{code:s.invalid_type,expected:a.object,received:n.parsedType}),f;let i=[],r=this._def.keyType,o=this._def.valueType;for(let e in n.data)i.push({key:r._parse(new k(n,e,n.path,e)),value:o._parse(new k(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?d.mergeObjectAsync(t,i):d.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,n){return new es(t instanceof j?{keyType:e,valueType:t,typeName:ts.ZodRecord,...E(n)}:{keyType:B.create(),valueType:e,typeName:ts.ZodRecord,...E(t)})}}class eo extends j{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==a.map)return h(n,{code:s.invalid_type,expected:a.map,received:n.parsedType}),f;let i=this._def.keyType,r=this._def.valueType,o=[...n.data.entries()].map(([e,t],a)=>({key:i._parse(new k(n,e,n.path,[a,"key"])),value:r._parse(new k(n,t,n.path,[a,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of o){let i=await n.key,a=await n.value;if("aborted"===i.status||"aborted"===a.status)return f;("dirty"===i.status||"dirty"===a.status)&&t.dirty(),e.set(i.value,a.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of o){let i=n.key,a=n.value;if("aborted"===i.status||"aborted"===a.status)return f;("dirty"===i.status||"dirty"===a.status)&&t.dirty(),e.set(i.value,a.value)}return{status:t.value,value:e}}}}eo.create=(e,t,n)=>new eo({valueType:t,keyType:e,typeName:ts.ZodMap,...E(n)});class el extends j{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==a.set)return h(n,{code:s.invalid_type,expected:a.set,received:n.parsedType}),f;let i=this._def;null!==i.minSize&&n.data.size<i.minSize.value&&(h(n,{code:s.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),t.dirty()),null!==i.maxSize&&n.data.size>i.maxSize.value&&(h(n,{code:s.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),t.dirty());let r=this._def.valueType;function o(e){let n=new Set;for(let i of e){if("aborted"===i.status)return f;"dirty"===i.status&&t.dirty(),n.add(i.value)}return{status:t.value,value:n}}let l=[...n.data.values()].map((e,t)=>r._parse(new k(n,e,n.path,t)));return n.common.async?Promise.all(l).then(e=>o(e)):o(l)}min(e,t){return new el({...this._def,minSize:{value:e,message:ti.toString(t)}})}max(e,t){return new el({...this._def,maxSize:{value:e,message:ti.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}el.create=(e,t)=>new el({valueType:e,minSize:null,maxSize:null,typeName:ts.ZodSet,...E(t)});class ec extends j{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==a.function)return h(t,{code:s.invalid_type,expected:a.function,received:t.parsedType}),f;function n(e,n){return p({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,u(),l].filter(e=>!!e),issueData:{code:s.invalid_arguments,argumentsError:n}})}function i(e,n){return p({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,u(),l].filter(e=>!!e),issueData:{code:s.invalid_return_type,returnTypeError:n}})}let r={errorMap:t.common.contextualErrorMap},c=t.data;if(this._def.returns instanceof em){let e=this;return v(async function(...t){let a=new o([]),s=await e._def.args.parseAsync(t,r).catch(e=>{throw a.addIssue(n(t,e)),a}),l=await Reflect.apply(c,this,s);return await e._def.returns._def.type.parseAsync(l,r).catch(e=>{throw a.addIssue(i(l,e)),a})})}{let e=this;return v(function(...t){let a=e._def.args.safeParse(t,r);if(!a.success)throw new o([n(t,a.error)]);let s=Reflect.apply(c,this,a.data),l=e._def.returns.safeParse(s,r);if(!l.success)throw new o([i(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ec({...this._def,args:er.create(e).rest(K.create())})}returns(e){return new ec({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new ec({args:e||er.create([]).rest(K.create()),returns:t||K.create(),typeName:ts.ZodFunction,...E(n)})}}class eu extends j{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}eu.create=(e,t)=>new eu({getter:e,typeName:ts.ZodLazy,...E(t)});class ep extends j{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return h(t,{received:t.data,code:s.invalid_literal,expected:this._def.value}),f}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eh(e,t){return new ed({values:e,typeName:ts.ZodEnum,...E(t)})}ep.create=(e,t)=>new ep({value:e,typeName:ts.ZodLiteral,...E(t)});class ed extends j{constructor(){super(...arguments),ta.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{expected:tt.joinValues(n),received:t.parsedType,code:s.invalid_type}),f}if(w(this,ta,"f")||_(this,ta,new Set(this._def.values),"f"),!w(this,ta,"f").has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{received:t.data,code:s.invalid_enum_value,options:n}),f}return v(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return ed.create(e,{...this._def,...t})}exclude(e,t=this._def){return ed.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}ta=new WeakMap,ed.create=eh;class ef extends j{constructor(){super(...arguments),tr.set(this,void 0)}_parse(e){let t=tt.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==a.string&&n.parsedType!==a.number){let e=tt.objectValues(t);return h(n,{expected:tt.joinValues(e),received:n.parsedType,code:s.invalid_type}),f}if(w(this,tr,"f")||_(this,tr,new Set(tt.getValidEnumValues(this._def.values)),"f"),!w(this,tr,"f").has(e.data)){let e=tt.objectValues(t);return h(n,{received:n.data,code:s.invalid_enum_value,options:e}),f}return v(e.data)}get enum(){return this._def.values}}tr=new WeakMap,ef.create=(e,t)=>new ef({values:e,typeName:ts.ZodNativeEnum,...E(t)});class em extends j{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==a.promise&&!1===t.common.async?(h(t,{code:s.invalid_type,expected:a.promise,received:t.parsedType}),f):v((t.parsedType===a.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}em.create=(e,t)=>new em({type:e,typeName:ts.ZodPromise,...E(t)});class ev extends j{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ts.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),i=this._def.effect||null,a={addIssue:e=>{h(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),"preprocess"===i.type){let e=i.transform(n.data,a);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return f;let i=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===i.status?f:"dirty"===i.status||"dirty"===t.value?m(i.value):i});{if("aborted"===t.value)return f;let i=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===i.status?f:"dirty"===i.status||"dirty"===t.value?m(i.value):i}}if("refinement"===i.type){let e=e=>{let t=i.refinement(e,a);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?f:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let i=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===i.status?f:("dirty"===i.status&&t.dirty(),e(i.value),{status:t.value,value:i.value})}}if("transform"===i.type){if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>b(e)?Promise.resolve(i.transform(e.value,a)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!b(e))return e;let r=i.transform(e.value,a);if(r instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:r}}}tt.assertNever(i)}}ev.create=(e,t,n)=>new ev({schema:e,typeName:ts.ZodEffects,effect:t,...E(n)}),ev.createWithPreprocess=(e,t,n)=>new ev({schema:t,effect:{type:"preprocess",transform:e},typeName:ts.ZodEffects,...E(n)});class eg extends j{_parse(e){return this._getType(e)===a.undefined?v(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eg.create=(e,t)=>new eg({innerType:e,typeName:ts.ZodOptional,...E(t)});class ex extends j{_parse(e){return this._getType(e)===a.null?v(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ex.create=(e,t)=>new ex({innerType:e,typeName:ts.ZodNullable,...E(t)});class eb extends j{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===a.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eb.create=(e,t)=>new eb({innerType:e,typeName:ts.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...E(t)});class ey extends j{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return y(i)?i.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new o(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===i.status?i.value:this._def.catchValue({get error(){return new o(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}ey.create=(e,t)=>new ey({innerType:e,typeName:ts.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...E(t)});class ew extends j{_parse(e){if(this._getType(e)!==a.nan){let t=this._getOrReturnCtx(e);return h(t,{code:s.invalid_type,expected:a.nan,received:t.parsedType}),f}return{status:"valid",value:e.data}}}ew.create=e=>new ew({typeName:ts.ZodNaN,...E(e)});let e_=Symbol("zod_brand");class ek extends j{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class eC extends j{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?f:"dirty"===e.status?(t.dirty(),m(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?f:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new eC({in:e,out:t,typeName:ts.ZodPipeline})}}class eE extends j{_parse(e){let t=this._def.innerType._parse(e),n=e=>(b(e)&&(e.value=Object.freeze(e.value)),e);return y(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function ej(e,t={},n){return e?G.create().superRefine((i,a)=>{var r,s;if(!e(i)){let e="function"==typeof t?t(i):"string"==typeof t?{message:t}:t,o=null===(s=null!==(r=e.fatal)&&void 0!==r?r:n)||void 0===s||s;a.addIssue({code:"custom",..."string"==typeof e?{message:e}:e,fatal:o})}}):G.create()}eE.create=(e,t)=>new eE({innerType:e,typeName:ts.ZodReadonly,...E(t)});let eM={object:ee.lazycreate};(te=ts||(ts={})).ZodString="ZodString",te.ZodNumber="ZodNumber",te.ZodNaN="ZodNaN",te.ZodBigInt="ZodBigInt",te.ZodBoolean="ZodBoolean",te.ZodDate="ZodDate",te.ZodSymbol="ZodSymbol",te.ZodUndefined="ZodUndefined",te.ZodNull="ZodNull",te.ZodAny="ZodAny",te.ZodUnknown="ZodUnknown",te.ZodNever="ZodNever",te.ZodVoid="ZodVoid",te.ZodArray="ZodArray",te.ZodObject="ZodObject",te.ZodUnion="ZodUnion",te.ZodDiscriminatedUnion="ZodDiscriminatedUnion",te.ZodIntersection="ZodIntersection",te.ZodTuple="ZodTuple",te.ZodRecord="ZodRecord",te.ZodMap="ZodMap",te.ZodSet="ZodSet",te.ZodFunction="ZodFunction",te.ZodLazy="ZodLazy",te.ZodLiteral="ZodLiteral",te.ZodEnum="ZodEnum",te.ZodEffects="ZodEffects",te.ZodNativeEnum="ZodNativeEnum",te.ZodOptional="ZodOptional",te.ZodNullable="ZodNullable",te.ZodDefault="ZodDefault",te.ZodCatch="ZodCatch",te.ZodPromise="ZodPromise",te.ZodBranded="ZodBranded",te.ZodPipeline="ZodPipeline",te.ZodReadonly="ZodReadonly";let eS=B.create,eT=$.create,eA=ew.create,eO=V.create,eN=U.create,eR=q.create,eF=W.create,eD=H.create,eI=Y.create,eL=G.create,eP=K.create,ez=Q.create,eZ=X.create,eB=J.create,e$=ee.create,eV=ee.strictCreate,eU=et.create,eq=ei.create,eW=ea.create,eH=er.create,eY=es.create,eG=eo.create,eK=el.create,eQ=ec.create,eX=eu.create,eJ=ep.create,e0=ed.create,e1=ef.create,e2=em.create,e3=ev.create,e4=eg.create,e5=ex.create,e7=ev.createWithPreprocess,e6=eC.create;var e8,e9,te,tt,tn,ti,ta,tr,ts,to=Object.freeze({__proto__:null,defaultErrorMap:l,setErrorMap:function(e){c=e},getErrorMap:u,makeIssue:p,EMPTY_PATH:[],addIssueToContext:h,ParseStatus:d,INVALID:f,DIRTY:m,OK:v,isAborted:g,isDirty:x,isValid:b,isAsync:y,get util(){return tt},get objectUtil(){return tn},ZodParsedType:a,getParsedType:r,ZodType:j,datetimeRegex:Z,ZodString:B,ZodNumber:$,ZodBigInt:V,ZodBoolean:U,ZodDate:q,ZodSymbol:W,ZodUndefined:H,ZodNull:Y,ZodAny:G,ZodUnknown:K,ZodNever:Q,ZodVoid:X,ZodArray:J,ZodObject:ee,ZodUnion:et,ZodDiscriminatedUnion:ei,ZodIntersection:ea,ZodTuple:er,ZodRecord:es,ZodMap:eo,ZodSet:el,ZodFunction:ec,ZodLazy:eu,ZodLiteral:ep,ZodEnum:ed,ZodNativeEnum:ef,ZodPromise:em,ZodEffects:ev,ZodTransformer:ev,ZodOptional:eg,ZodNullable:ex,ZodDefault:eb,ZodCatch:ey,ZodNaN:ew,BRAND:e_,ZodBranded:ek,ZodPipeline:eC,ZodReadonly:eE,custom:ej,Schema:j,ZodSchema:j,late:eM,get ZodFirstPartyTypeKind(){return ts},coerce:{string:e=>B.create({...e,coerce:!0}),number:e=>$.create({...e,coerce:!0}),boolean:e=>U.create({...e,coerce:!0}),bigint:e=>V.create({...e,coerce:!0}),date:e=>q.create({...e,coerce:!0})},any:eL,array:eB,bigint:eO,boolean:eN,date:eR,discriminatedUnion:eq,effect:e3,enum:e0,function:eQ,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>ej(t=>t instanceof e,t),intersection:eW,lazy:eX,literal:eJ,map:eG,nan:eA,nativeEnum:e1,never:ez,null:eI,nullable:e5,number:eT,object:e$,oboolean:()=>eN().optional(),onumber:()=>eT().optional(),optional:e4,ostring:()=>eS().optional(),pipeline:e6,preprocess:e7,promise:e2,record:eY,set:eK,strictObject:eV,string:eS,symbol:eF,transformer:e3,tuple:eH,undefined:eD,union:eU,unknown:eP,void:eZ,NEVER:f,ZodIssueCode:s,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:o})},5954:function(e){"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}}]);