!function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};t.m=n;t.c=i;t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:r})};t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});Object.defineProperty(n,"__esModule",{value:!0})};t.t=function(n,i){var r,u;if((1&i&&(n=t(n)),8&i)||4&i&&"object"==typeof n&&n&&n.__esModule)return n;if(r=Object.create(null),t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(u in n)t.d(r,u,function(t){return n[t]}.bind(null,u));return r};t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i};t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)};t.p="/Static/";t(t.s=933)}([function(n){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(n,t,i){(function(t){n.exports=t.React=i(539)}).call(this,i(28))},function(n,t,i){var u=i(9),f=i(105),o=i(53),s=i(54),e=i(68),r=function(n,t,i){var c,y,h,p,k=n&r.F,v=n&r.G,d=n&r.S,w=n&r.P,g=n&r.B,l=v?u:d?u[t]||(u[t]={}):(u[t]||{}).prototype,a=v?f:f[t]||(f[t]={}),b=a.prototype||(a.prototype={});for(c in v&&(i=t),i)h=((y=!k&&l&&void 0!==l[c])?l:i)[c],p=g&&y?e(h,u):w&&"function"==typeof h?e(Function.call,h):h,l&&s(l,c,h,n&r.U),a[c]!=h&&o(a,c,p),w&&b[c]!=h&&(b[c]=h)};u.core=f;r.F=1;r.G=2;r.S=4;r.P=8;r.B=16;r.W=32;r.U=64;r.R=128;n.exports=r},function(n,t,i){"use strict";(function(n){function b(n){return n&&n.__esModule?n:{"default":n}}function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function k(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function l(){return(l=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function g(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function tt(n){var t=ut();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),it(this,i)}}function it(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?rt(n):t}function rt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ut(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ft,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.Icon=void 0;var r=k(i(1)),y=i(201),p=i(4),w=b(i(555)),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ft="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;if(d(this,t),(r=i.call(this,n)).state={isIe:!1},!r.props.isAriaHidden&&!r.props.ariaLabel)throw new Error("Icons that are aria-hidden set to false must have aria-label.");return r}nt(t,n);var i=tt(t);return g(t,[{key:"componentDidMount",value:function(){var n=/MSIE|Trident/.test(navigator.userAgent);this.setState({isIe:n})}},{key:"render",value:function(){var t=this.props,e=t.className,o=t.iconType,s=t.isAriaHidden,f=t.ariaLabel,h=this.state.isIe,n=y.findIcon(o),u,i;return p.isDev(),u=h?"#".concat(n.symbol.split("#")[1]):n.symbol,i={},f&&(i["aria-label"]=f,i.role="img"),n?r.createElement("svg",l({viewBox:n.viewBox,className:e,"aria-hidden":s},i),r.createElement(w.default,{icon:n}),r.createElement("use",{xlinkHref:u,href:u})):null}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={className:"",ariaLabel:"",isAriaHidden:!0},n}();t.Icon=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"Icon","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Icon\\Icon.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";var r,u,f,e,o,s,h,c,l,a,v;Object.defineProperty(t,"__esModule",{value:!0});r=i(541);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(542);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(43);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(543);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});o=i(544);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[n]}})});s=i(545);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return s[n]}})});h=i(546);Object.keys(h).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return h[n]}})});c=i(8);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return c[n]}})});l=i(35);Object.keys(l).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return l[n]}})});a=i(127);Object.keys(a).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return a[n]}})});v=i(88);Object.keys(v).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return v[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){n.exports=i(561)()},function(n,t,i){"use strict";var r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt,wt,bt,kt,dt,gt,ni,ti,ii,ri,ui,fi,ei,oi,si,hi,ci,li,ai,vi,yi,pi,wi,bi,ki,di,gi,nr,tr;Object.defineProperty(t,"__esModule",{value:!0});r=i(553);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(596);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(601);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(603);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});o=i(605);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[n]}})});s=i(374);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return s[n]}})});h=i(135);Object.keys(h).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return h[n]}})});c=i(610);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return c[n]}})});l=i(612);Object.keys(l).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return l[n]}})});a=i(134);Object.keys(a).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return a[n]}})});v=i(614);Object.keys(v).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return v[n]}})});y=i(615);Object.keys(y).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return y[n]}})});p=i(128);Object.keys(p).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return p[n]}})});w=i(616);Object.keys(w).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return w[n]}})});b=i(89);Object.keys(b).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return b[n]}})});k=i(621);Object.keys(k).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return k[n]}})});d=i(622);Object.keys(d).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return d[n]}})});g=i(91);Object.keys(g).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return g[n]}})});nt=i(378);Object.keys(nt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return nt[n]}})});tt=i(650);Object.keys(tt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return tt[n]}})});it=i(3);Object.keys(it).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return it[n]}})});rt=i(656);Object.keys(rt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return rt[n]}})});ut=i(383);Object.keys(ut).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ut[n]}})});ft=i(658);Object.keys(ft).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ft[n]}})});et=i(660);Object.keys(et).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return et[n]}})});ot=i(661);Object.keys(ot).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ot[n]}})});st=i(387);Object.keys(st).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return st[n]}})});ht=i(678);Object.keys(ht).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ht[n]}})});ct=i(680);Object.keys(ct).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ct[n]}})});lt=i(394);Object.keys(lt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return lt[n]}})});at=i(26);Object.keys(at).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return at[n]}})});vt=i(705);Object.keys(vt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return vt[n]}})});yt=i(706);Object.keys(yt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return yt[n]}})});pt=i(708);Object.keys(pt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return pt[n]}})});wt=i(399);Object.keys(wt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return wt[n]}})});bt=i(398);Object.keys(bt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return bt[n]}})});kt=i(726);Object.keys(kt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return kt[n]}})});dt=i(728);Object.keys(dt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return dt[n]}})});gt=i(731);Object.keys(gt).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return gt[n]}})});ni=i(138);Object.keys(ni).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ni[n]}})});ti=i(400);Object.keys(ti).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ti[n]}})});ii=i(732);Object.keys(ii).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ii[n]}})});ri=i(744);Object.keys(ri).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ri[n]}})});ui=i(747);Object.keys(ui).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ui[n]}})});fi=i(749);Object.keys(fi).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return fi[n]}})});ei=i(750);Object.keys(ei).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ei[n]}})});oi=i(751);Object.keys(oi).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return oi[n]}})});si=i(752);Object.keys(si).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return si[n]}})});hi=i(140);Object.keys(hi).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return hi[n]}})});ci=i(754);Object.keys(ci).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ci[n]}})});li=i(756);Object.keys(li).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return li[n]}})});ai=i(758);Object.keys(ai).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ai[n]}})});vi=i(760);Object.keys(vi).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return vi[n]}})});yi=i(762);Object.keys(yi).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return yi[n]}})});pi=i(763);Object.keys(pi).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return pi[n]}})});wi=i(764);Object.keys(wi).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return wi[n]}})});bi=i(765);Object.keys(bi).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return bi[n]}})});ki=i(31);Object.keys(ki).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return ki[n]}})});di=i(61);Object.keys(di).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return di[n]}})});gi=i(136);Object.keys(gi).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return gi[n]}})});nr=i(97);Object.keys(nr).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return nr[n]}})});tr=i(766);Object.keys(tr).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return tr[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.columnConstants=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i={division:"Uppdelning",divisionType:"Typ av uppdelning",careUnit:"Vårdenhet",measureUnit:"Mätetal",measurePeriod:"Mätperiod",indicatorName:"Indikatornamn",measures:"Mått",dataSource:"Datakälla",purpose:"Syfte",dataSourceStatus:"Datakällans status",errorSources:"Felkällor och begränsningar",technicalDescription:"Teknisk beskrivning",indicatorComment:"Indikator kommentar",indicatorUrl:"Indikator-URL",highValuePrefered:"Högt värde föredras",termQuestion:"Villkorsfråga",termAnswer:"Villkorssvar",value:"Värde",konfidenceLow:"Nedre KI-gräns",konfidenceHigh:"Övre KI-gräns",lowPercentile:"10:e percentil",highPercentile:"90:e percentil",mean:"Medel",median:"Median",boxPlotN:"N"};t.columnConstants=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"columnConstants","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\columnConstants.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function o(n){return{key:n.FileId,text:n.OriginalFilename}}function s(n){return function(t){if(!t.isTouched)return"";var i=u(n,t.fieldName);return i?i.ValidationText:""}}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0,n=u(t,i);return n?n.ValidationText:""}function h(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return i?r(n,t):""}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return t?(n=n.replace("CurrentResearchOrder.","").replace("StatisticsOrder.",""),t.filter(function(t){return t.FieldName===n})[0]):{FieldName:"",ValidationText:""}}function c(n){for(var i,f,s,h,e=!0,u=arguments.length,o=new Array(u>1?u-1:0),t=1;t<u;t++)o[t-1]=arguments[t];for(i=0,f=o;i<f.length;i++)if(s=f[i],h=r(n,s),""!==h){e=!1;break}return e}function l(n){var i=document.getElementsByClassName(n),t;i&&0!==i.length&&(t=i[0].querySelectorAll("button, input"),t&&t.length>0&&t[0].focus())}function a(n){var t=document.getElementById(n);t&&t.focus()}function v(n,t,i,r){var f=window.dataLayer,u;void 0!==f&&(u={event:n,eventInfo:{category:t,action:i}},r&&(u.eventInfo.label=r),f.push(u))}function y(n){var t=[];return(n||new Map).forEach(function(n,i){n&&t.push(i)}),t}function p(n,t){var i,u,r;if(t<=0)return"";if(t>=n.length)return n;if(i=n.substr(0,t)," "===n[t])return i;u="";r=0;do{if(++r>=t)return"";u=i[i.length-r]}while(" "!=u);return i.substr(0,t-r)}function w(n){return{__html:n}}function b(n){return n?n.split("\r\n").join("<br>").split("\n").join("<br>").split("\r").join("<br>"):n}function k(n){for(var i=arguments.length,r=new Array(i>1?i-1:0),t=1;t<i;t++)r[t-1]=arguments[t];if(!n)return n;if(!n.match(/^(?:(?:(?:[^{}]|(?:\{\{)|(?:\}\}))+)|(?:\{[0-9]+\}))+$/))throw new Error("invalid format string.");return n.replace(/((?:[^{}]|(?:\{\{)|(?:\}\}))+)|(?:\{([0-9]+)\})/g,function(n,t,i){if(t)return t.replace(/(?:{{)|(?:}})/g,function(n){return n[0]});if(i>=r.length)throw new Error("argument index is out of range in format");return r[i]})}function d(n){var t=parseInt(n);return isNaN(t)?0:t}var f,i,e;Object.defineProperty(t,"__esModule",{value:!0});t.fileDetail2SelectBoxOption=o;t.getErrorMessageFromValidationResult=s;t.getErrorMessageByFieldName=r;t.getErrorMessageByFieldNameAfterHitSummary=h;t.getValidationResultByFieldName=u;t.areAllFieldsErrorFree=c;t.setFocusOnFirstElement=l;t.setFocusOnElementById=a;t.pushTagManagerEvent=v;t.getSelectedItemsFromMap=y;t.default=p;t.setInnerHtml=w;t.stringWithLineBreak=b;t.formatString=k;t.parseInputToInt=d;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(o,"fileDetail2SelectBoxOption","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(s,"getErrorMessageFromValidationResult","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(r,"getErrorMessageByFieldName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(h,"getErrorMessageByFieldNameAfterHitSummary","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(u,"getValidationResultByFieldName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(c,"areAllFieldsErrorFree","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(l,"setFocusOnFirstElement","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(a,"setFocusOnElementById","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(v,"pushTagManagerEvent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(y,"getSelectedItemsFromMap","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(p,"getTextTrimedLength","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(w,"setInnerHtml","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(b,"stringWithLineBreak","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(k,"formatString","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"),i.register(d,"parseInputToInt","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\helpers.ts"));(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&e(n)}).call(this,i(0)(n))},function(n){var t=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(n){var t=Array.isArray;n.exports=t},function(n){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,i){var r=i(11);n.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(n,t,i){var r=i(193);n.exports=function(n){return r(n,5)}},function(n,t,i){"use strict";function s(n){return n&&n.__esModule?n:{"default":n}}function h(n){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function w(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var o,i;if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n)){var r=[],u=!0,f=!1,e=void 0;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{u||null==i.return||i.return()}finally{if(f)throw e;}}return r}}(n,t)||c(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}()}function c(n,t){if(n){if("string"==typeof n)return l(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(n,t):void 0}}function l(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function a(n,t){var r=n.match(t),i;if(r){if(i=r[1],i.match(u))return function(n){for(var t=0,i=u.exec(n);null!==i;){var e=w(i,3),r=e[1],f=e[2];"h"===f&&(t+=3600*parseInt(r,10));"m"===f&&(t+=60*parseInt(r,10));"s"===f&&(t+=parseInt(r,10));i=u.exec(n)}return t}(i);if(d.test(i))return parseInt(i)}}function f(n){return null!==n&&"object"===h(n)}var r;Object.defineProperty(t,"__esModule",{value:!0});t.parseStartTime=function(n){return a(n,b)};t.parseEndTime=function(n){return a(n,k)};t.randomString=function(){return Math.random().toString(36).substr(2,5)};t.queryString=function(n){return Object.keys(n).map(function(t){return"".concat(t,"=").concat(n[t])}).join("&")};t.getSDK=function(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:v.default;return window[t]&&u(window[t])?Promise.resolve(window[t]):new Promise(function(u,e){var o,s;r[n]?r[n].push({resolve:u,reject:e}):(r[n]=[{resolve:u,reject:e}],o=function(t){r[n].forEach(function(n){return n.resolve(t)})},i&&(s=window[i],window[i]=function(){s&&s();o(window[t])}),f(n,function(u){u?(r[n].forEach(function(n){return n.reject(u)}),r[n]=null):i||o(window[t])}))})};t.getConfig=function(n,t,i){var e,f=o.default(t.config,n.config),u=function(n){var i,r,t,e,u,f;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(n=c(n)))return i=0,r=function(){},{s:r,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(n){throw n;},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return u=!0,f=!1,{s:function(){t=n[Symbol.iterator]()},n:function(){var n=t.next();return u=n.done,n},e:function(n){f=!0;e=n},f:function(){try{u||null==t.return||t.return()}finally{if(f)throw e;}}}}(y.DEPRECATED_CONFIG_PROPS),r,s;try{for(u.s();!(e=u.n()).done;)r=e.value,n[r]&&(s=r.replace(/Config$/,""),f=o.default(f,p({},s,n[r])),i&&"ReactPlayer: %c".concat(r," %cis deprecated, please use the config prop instead – ").concat("https://github.com/CookPete/react-player#config-prop"))}catch(n){u.e(n)}finally{u.f()}return f};t.omit=function(n){for(var i,f,r=arguments.length,e=new Array(r>1?r-1:0),t=1;t<r;t++)e[t-1]=arguments[t];for(var h=(f=[]).concat.apply(f,e),o={},c=Object.keys(n),u=0,s=c;u<s.length;u++)i=s[u],-1===h.indexOf(i)&&(o[i]=n[i]);return o};t.callPlayer=function(n){var r;if(!this.player||!this.player[n])return"ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(n,"%c – "),this.player&&this.player[n],null;for(var i=arguments.length,u=new Array(i>1?i-1:0),t=1;t<i;t++)u[t-1]=arguments[t];return(r=this.player)[n].apply(r,u)};t.isObject=f;t.isEqual=function n(t,i){var r,u,o,s;if("function"==typeof t&&"function"==typeof i||e.isValidElement(t)&&e.isValidElement(i))return!0;if(t instanceof Array&&i instanceof Array){if(t.length!==i.length)return!1;for(r=0;r!==t.length;r++)if(!n(t[r],i[r]))return!1;return!0}if(f(t)&&f(i)){if(Object.keys(t).length!==Object.keys(i).length)return!1;for(u=0,o=Object.keys(t);u<o.length;u++)if(s=o[u],!n(t[s],i[s]))return!1;return!0}return t===i};t.isMediaStream=function(n){return"undefined"!=typeof window&&void 0!==window.MediaStream&&n instanceof window.MediaStream};var e=i(1),v=s(i(737)),o=s(i(738)),y=i(98);var b=/[?&#](?:start|t)=([0-9hms]+)/,k=/[?&#]end=([0-9hms]+)/,u=/(\d+)(h|m|s)/g,d=/^\d+$/;r={}},function(n,t,i){"use strict";var r,u,f,e;Object.defineProperty(t,"__esModule",{value:!0});i(201);r=i(6);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(767);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(4);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(769);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){var f,u,r;u="undefined"!=typeof window?window:this;r=function(n){function i(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}var t={};return i(t,"parts/Globals.js",[],function(){var i=void 0!==n?n:"undefined"!=typeof window?window:{},r=i.document,t=i.navigator&&i.navigator.userAgent||"",e=r&&r.createElementNS&&!!r.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,o=/(edge|msie|trident)/i.test(t)&&!i.opera,u=-1!==t.indexOf("Firefox"),f=-1!==t.indexOf("Chrome"),s=u&&4>parseInt(t.split("Firefox/")[1],10);return{product:"Highcharts",version:"8.0.4",deg2rad:Math.PI/180,doc:r,hasBidiBug:s,hasTouch:!!i.TouchEvent,isMS:o,isWebKit:-1!==t.indexOf("AppleWebKit"),isFirefox:u,isChrome:f,isSafari:!f&&-1!==t.indexOf("Safari"),isTouchDevice:/(Mobile|Android|Windows Phone)/.test(t),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:e,win:i,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[],dateFormats:{}}}),i(t,"parts/Utilities.js",[t["parts/Globals.js"]],function(n){function e(){var t,n=arguments,r={},f=function(n,t){return"object"!=typeof n&&(n={}),i(t,function(i,r){n[r]=!u(i,!0)||g(i)||y(i)?t[r]:f(n[r]||{},i)}),n},e;for(!0===n[0]&&(r=n[1],n=Array.prototype.slice.call(n,2)),e=n.length,t=0;t<e;t++)r=f(r,n[t]);return r}function h(n,t,r){var u;return a(t)?p(r)?n.setAttribute(t,r):n&&n.getAttribute&&((u=n.getAttribute(t))||"class"!==t||(u=n.getAttribute(t+"Name"))):i(t,function(t,i){n.setAttribute(i,t)}),u}function r(){for(var t,i=arguments,r=i.length,n=0;n<r;n++)if(t=i[n],null!=t)return t}function k(n,t){if(!n)return t;var i=n.split(".").reverse();if(1===i.length)return t[n];for(n=i.pop();void 0!==n&&null!=t;)t=t[n],n=i.pop();return t}n.timers=[];var et=n.charts,s=n.doc,t=n.win,d=n.error=function(i,r,u,f){var s=o(i),e=s?"Highcharts error #"+i+": www.highcharts.com/errors/"+i+"/":i.toString(),c=function(){if(r)throw Error(e);t.console},h;void 0!==f&&(h="",s&&(e+="?"),n.objectEach(f,function(n,t){h+="\n"+t+": "+n;s&&(e+=encodeURI(t)+"="+encodeURI(n))}),e+=h);u?n.fireEvent(u,"displayError",{code:i,message:e,params:f},c):c()},c=function(){function r(n,t,i){this.options=t;this.elem=n;this.prop=i}return r.prototype.dSetter=function(){var f=this.paths[0],t=this.paths[1],i=[],u=this.now,n=f.length,r;if(1===u)i=this.toD;else if(n===t.length&&1>u)for(;n--;)r=parseFloat(f[n]),i[n]=isNaN(r)||"A"===t[n-4]||"A"===t[n-5]?t[n]:u*parseFloat(""+(t[n]-r))+r;else i=t;this.elem.attr("d",i,null,!0)},r.prototype.update=function(){var n=this.elem,t=this.prop,i=this.now,r=this.options.step;this[t+"Setter"]?this[t+"Setter"]():n.attr?n.element&&n.attr(t,i,null,!0):n.style[t]=i+this.unit;r&&r.call(n,i,this)},r.prototype.run=function(i,r,u){var o=this,e=o.options,f=function(n){return!f.stopped&&o.step(n)},s=t.requestAnimationFrame||function(n){setTimeout(n,13)},h=function(){for(var t=0;t<n.timers.length;t++)n.timers[t]()||n.timers.splice(t--,1);n.timers.length&&s(h)};i!==r||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=i,this.end=r,this.unit=u,this.now=this.start,this.pos=0,f.elem=this.elem,f.prop=this.prop,f()&&1===n.timers.push(f)&&s(h)):(delete e.curAnim[this.prop],e.complete&&0===Object.keys(e.curAnim).length&&e.complete.call(this.elem))},r.prototype.step=function(n){var f=+new Date,t=this.options,r=this.elem,e=t.complete,o=t.duration,s=t.curAnim,u;return r.attr&&!r.element?n=!1:n||f>=o+this.startTime?(this.now=this.end,this.pos=1,this.update(),u=s[this.prop]=!0,i(s,function(n){!0!==n&&(u=!1)}),u&&e&&e.call(r),n=!1):(this.pos=t.easing((f-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),n=!0),n},r.prototype.initPath=function(n,t,i){function y(n){for(r=n.length;r--;){var t="M"===n[r]||"L"===n[r],i=/[a-zA-Z]/.test(n[r+3]);t&&i&&n.splice(r+1,0,n[r+1],n[r+2],n[r+1],n[r+2])}}function p(n,t){for(;n.length<l;){n[0]=t[l-n.length];var i=n.slice(0,u);[].splice.apply(n,[0,0].concat(i));a&&(i=n.slice(n.length-u),[].splice.apply(n,[n.length,0].concat(i)),r--)}n[0]="M"}function w(n,t){for(var i=(l-n.length)/u;0<i&&i--;)(e=n.slice().splice(n.length/c-u,u*c))[0]=t[l-u-i*u],v&&(e[u-6]=e[u-2],e[u-5]=e[u-1]),[].splice.apply(n,[n.length/c,0].concat(e)),a&&i--}var a,c,h,b,l;t=t||"";var e,r,f=n.startX,s=n.endX,v=-1<t.indexOf("C"),u=v?7:3;if(t=t.split(" "),i=i.slice(),a=n.isArea,c=a?2:1,v&&(y(t),y(i)),f&&s){for(r=0;r<f.length;r++){if(f[r]===s[0]){h=r;break}if(f[0]===s[s.length-f.length+r]){h=r;b=!0;break}if(f[f.length-1]===s[s.length-f.length+r]){h=f.length-r;break}}void 0===h&&(t=[])}return t.length&&o(h)&&(l=i.length+h*c*u,b?(p(t,i),w(i,t)):(p(i,t),w(t,i))),[t,i]},r.prototype.fillSetter=function(){n.Fx.prototype.strokeSetter.apply(this,arguments)},r.prototype.strokeSetter=function(){this.elem.attr(this.prop,n.color(this.start).tweenTo(n.color(this.end),this.pos),null,!0)},r}();n.Fx=c;n.merge=e;var l=n.pInt=function(n,t){return parseInt(n,t||10)},a=n.isString=function(n){return"string"==typeof n},v=n.isArray=function(n){return"[object Array]"===(n=Object.prototype.toString.call(n))||"[object Array Iterator]"===n},u=n.isObject=function(n,t){return!(!n||"object"!=typeof n||t&&v(n))},y=n.isDOMElement=function(n){return u(n)&&"number"==typeof n.nodeType},g=n.isClass=function(n){var t=n&&n.constructor;return!(!u(n,!0)||y(n)||!t||!t.name||"Object"===t.name)},o=n.isNumber=function(n){return"number"==typeof n&&!isNaN(n)&&1/0>n&&-1/0<n},ot=n.erase=function(n,t){for(var i=n.length;i--;)if(n[i]===t){n.splice(i,1);break}},p=n.defined=function(n){return null!=n};n.attr=h;var st=n.splat=function(n){return v(n)?n:[n]},ht=n.syncTimeout=function(n,t,i){return 0<t?setTimeout(n,t,i):(n.call(0,i),-1)},ct=n.clearTimeout=function(n){p(n)&&clearTimeout(n)},f=n.extend=function(n,t){var i;for(i in n||(n={}),t)n[i]=t[i];return n};n.pick=r;var w=n.css=function(t,i){n.isMS&&!n.svg&&i&&void 0!==i.opacity&&(i.filter="alpha(opacity="+100*i.opacity+")");f(t.style,i)},nt=n.createElement=function(n,t,i,r,u){return n=s.createElement(n),t&&f(n,t),u&&w(n,{padding:"0",border:"none",margin:"0"}),i&&w(n,i),r&&r.appendChild(n),n},b=n.extendClass=function(n,t){var i=function(){};return i.prototype=new n,f(i.prototype,t),i},lt=n.pad=function(n,t,i){return Array((t||2)+1-String(n).replace("-","").length).join(i||"0")+n},at=n.relativeLength=function(n,t,i){return/%$/.test(n)?t*parseFloat(n)/100+(i||0):parseFloat(n)},vt=n.wrap=function(n,t,i){var r=n[t];n[t]=function(){var n=Array.prototype.slice.call(arguments),u=arguments,t=this;return t.proceed=function(){r.apply(t,arguments.length?arguments:u)},n.unshift(r),n=i.apply(this,n),t.proceed=null,n}},yt=n.format=function(t,i,r){var f="{",s=!1,e=[],h=n.defaultOptions.lang,l=r&&r.time||n.time,o,u,c;for(r=r&&r.numberFormatter||it;t;){if(o=t.indexOf(f),-1===o)break;u=t.slice(0,o);s?((f=k((u=u.split(":")).shift()||"",i),u.length&&"number"==typeof f)&&((u=u.join(":"),/f$/.test(u))?(c=parseInt((u.match(/\.([0-9])/)||["","-1"])[1],10),null!==f&&(f=r(f,c,h.decimalPoint,-1<u.indexOf(",")?h.thousandsSep:""))):f=l.dateFormat(u,f)),e.push(f)):e.push(u);t=t.slice(o+1);f=(s=!s)?"}":"{"}return e.push(t),e.join("")},pt=n.getMagnitude=function(n){return Math.pow(10,Math.floor(Math.log(n)/Math.LN10))},wt=n.normalizeTickInterval=function(n,t,i,u,f){var e=n,o=n/(i=r(i,1));for(t||(t=f?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===u&&(1===i?t=t.filter(function(n){return 0==n%1}):.1>=i&&(t=[1/i]))),u=0;u<t.length&&(e=t[u],!(f&&e*i>=n||!f&&o<=(t[u]+(t[u+1]||t[u]))/2));u++);return tt(e*i,-Math.round(Math.log(.001)/Math.LN10))},bt=n.stableSort=function(n,t){for(var r,u=n.length,i=0;i<u;i++)n[i].safeI=i;for(n.sort(function(n,i){return 0===(r=t(n,i))?n.safeI-i.safeI:r}),i=0;i<u;i++)delete n[i].safeI},kt=n.arrayMin=function(n){for(var t=n.length,i=n[0];t--;)n[t]<i&&(i=n[t]);return i},dt=n.arrayMax=function(n){for(var t=n.length,i=n[0];t--;)n[t]>i&&(i=n[t]);return i},gt=n.destroyObjectProperties=function(n,t){i(n,function(i,r){i&&i!==t&&i.destroy&&i.destroy();delete n[r]})},ni=n.discardElement=function(t){var i=n.garbageBin;i||(i=nt("div"));t&&i.appendChild(t);i.innerHTML=""},tt=n.correctFloat=function(n,t){return parseFloat(n.toPrecision(t||14))},ti=n.setAnimation=function(n,t){t.renderer.globalAnimation=r(n,t.options.chart.animation,!0)},ii=n.animObject=function(n){return u(n)?e(n):{duration:n?500:0}},ri=n.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},it=n.numberFormat=function(t,i,u,f){var s,c;t=+t||0;i=+i;var a=n.defaultOptions.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,e=t.toString().split("e");return-1===i?i=Math.min(h,20):o(i)?i&&e[1]&&0>e[1]&&(s=i+ +e[1],0<=s?(e[0]=(+e[0]).toExponential(s).split("e")[0],i=s):(e[0]=e[0].split(".")[0]||0,t=20>i?(e[0]*Math.pow(10,e[1])).toFixed(i):0,e[1]=0)):i=2,c=(Math.abs(e[1]?e[0]:t)+Math.pow(10,-Math.max(i,h)-1)).toFixed(i),s=3<(h=String(l(c))).length?h.length%3:0,u=r(u,a.decimalPoint),f=r(f,a.thousandsSep),t=(0>t?"-":"")+(s?h.substr(0,s)+f:""),t+=h.substr(s).replace(/(\d{3})(?=\d)/g,"$1"+f),i&&(t+=u+c.slice(-i)),e[1]&&0!=+t&&(t+="e"+e[1]),t};Math.easeInOutSine=function(n){return-.5*(Math.cos(Math.PI*n)-1)};var rt=n.getStyle=function(i,u,f){return"width"===u?(u=Math.min(i.offsetWidth,i.scrollWidth),(f=i.getBoundingClientRect&&i.getBoundingClientRect().width)<u&&f>=u-1&&(u=Math.floor(f)),Math.max(0,u-n.getStyle(i,"padding-left")-n.getStyle(i,"padding-right"))):"height"===u?Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-n.getStyle(i,"padding-top")-n.getStyle(i,"padding-bottom")):(t.getComputedStyle||d(27,!0),(i=t.getComputedStyle(i,void 0))&&(i=i.getPropertyValue(u),r(f,"opacity"!==u)&&(i=l(i))),i)},ui=n.inArray=function(n,t,i){return t.indexOf(n,i)},fi=n.find=Array.prototype.find?function(n,t){return n.find(t)}:function(n,t){for(var r=n.length,i=0;i<r;i++)if(t(n[i],i))return n[i]};n.keys=Object.keys;var ei=n.offset=function(n){var i=s.documentElement;return{top:(n=n.parentElement||n.parentNode?n.getBoundingClientRect():{top:0,left:0}).top+(t.pageYOffset||i.scrollTop)-(i.clientTop||0),left:n.left+(t.pageXOffset||i.scrollLeft)-(i.clientLeft||0)}},ut=n.stop=function(t,i){for(var r=n.timers.length;r--;)n.timers[r].elem!==t||i&&i!==n.timers[r].prop||(n.timers[r].stopped=!0)},i=n.objectEach=function(n,t,i){for(var r in n)Object.hasOwnProperty.call(n,r)&&t.call(i||n[r],n[r],r,n)};i({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(t,i){n[i]=function(n){return Array.prototype[t].apply(n,[].slice.call(arguments,1))}});var oi=n.addEvent=function(t,i,r,u){void 0===u&&(u={});var e=t.addEventListener||n.addEventListenerPolyfill,f="function"==typeof t&&t.prototype?t.prototype.protoEvents=t.prototype.protoEvents||{}:t.hcEvents=t.hcEvents||{};return n.Point&&t instanceof n.Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0),e&&e.call(t,i,r,!1),f[i]||(f[i]=[]),f[i].push({fn:r,order:"number"==typeof u.order?u.order:1/0}),f[i].sort(function(n,t){return n.order-t.order}),function(){ft(t,i,r)}},ft=n.removeEvent=function(t,r,u){function f(i,r){var u=t.removeEventListener||n.removeEventListenerPolyfill;u&&u.call(t,i,r,!1)}function e(n){var e,u;t.nodeName&&(r?(u={},u[r]=!0):u=n,i(u,function(t,i){if(n[i])for(e=n[i].length;e--;)f(i,n[i][e].fn)}))}var o;["protoEvents","hcEvents"].forEach(function(n,i){var s=(i=i?t:t.prototype)&&i[n];s&&(r?(o=s[r]||[],u?(s[r]=o.filter(function(n){return u!==n.fn}),f(r,u)):(e(s),s[r]=[])):(e(s),i[n]={}))})},si=n.fireEvent=function(n,t,i,r){var e,u;(i=i||{},s.createEvent&&(n.dispatchEvent||n.fireEvent))?(u=s.createEvent("Events"),u.initEvent(t,!0,!0),f(u,i),n.dispatchEvent?n.dispatchEvent(u):n.fireEvent(t,u)):(i.target||f(i,{preventDefault:function(){i.defaultPrevented=!0},target:n,type:t}),function(t,r){void 0===t&&(t=[]);void 0===r&&(r=[]);var u=0,f=0,o=t.length+r.length;for(e=0;e<o;e++)!1===(t[u]?r[f]?t[u].order<=r[f].order?t[u++]:r[f++]:t[u++]:r[f++]).fn.call(n,i)&&i.preventDefault()}(n.protoEvents&&n.protoEvents[t],n.hcEvents&&n.hcEvents[t]));r&&!i.defaultPrevented&&r.call(n,i)},hi=n.animate=function(n,t,r){var h,f,s,a="",l;u(r)||(l=arguments,r={duration:l[2],easing:l[3],complete:l[4]});o(r.duration)||(r.duration=400);r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine;r.curAnim=e(t);i(t,function(i,u){ut(n,u);s=new c(n,r,u);f=null;"d"===u?(s.paths=s.initPath(n,n.d,t.d),s.toD=t.d,h=0,f=1):n.attr?h=n.attr(u):(h=parseFloat(rt(n,u))||0,"opacity"!==u&&(a="px"));f||(f=i);f&&f.match&&f.match("px")&&(f=f.replace(/px/g,""));s.run(h,f,a)})},ci=n.seriesType=function(t,i,r,u,f){var s=n.getOptions(),o=n.seriesTypes;return s.plotOptions[t]=e(s.plotOptions[i],r),o[t]=b(o[i]||function(){},u),o[t].prototype.type=t,f&&(o[t].prototype.pointClass=b(n.Point,f)),o[t]},li=n.uniqueKey=function(){var n=Math.random().toString(36).substring(2,9),t=0;return function(){return"highcharts-"+n+"-"+t++}}(),ai=n.isFunction=function(n){return"function"==typeof n};return t.jQuery&&(t.jQuery.fn.highcharts=function(){var t=[].slice.call(arguments);if(this[0])return t[0]?(new n[a(t[0])?t.shift():"Chart"](this[0],t[0],t[1]),this):et[h(this[0],"data-highcharts-chart")]}),{Fx:c,addEvent:oi,animate:hi,animObject:ii,arrayMax:dt,arrayMin:kt,attr:h,clamp:function(n,t,i){return n>t?n<i?n:i:t},clearTimeout:ct,correctFloat:tt,createElement:nt,css:w,defined:p,destroyObjectProperties:gt,discardElement:ni,erase:ot,error:d,extend:f,extendClass:b,find:fi,fireEvent:si,format:yt,getMagnitude:pt,getNestedProperty:k,getStyle:rt,inArray:ui,isArray:v,isClass:g,isDOMElement:y,isFunction:ai,isNumber:o,isObject:u,isString:a,merge:e,normalizeTickInterval:wt,numberFormat:it,objectEach:i,offset:ei,pad:lt,pick:r,pInt:l,relativeLength:at,removeEvent:ft,seriesType:ci,setAnimation:ti,splat:st,stableSort:bt,stop:ut,syncTimeout:ht,timeUnits:ri,uniqueKey:li,wrap:vt}}),i(t,"parts/Color.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var r=t.isNumber,u=t.merge,i=t.pInt;return t=function(){function n(t){if(this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(n){return[i(n[1]),i(n[2]),i(n[3]),parseFloat(n[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(n){return[i(n[1]),i(n[2]),i(n[3]),1]}}],this.rgba=[],!(this instanceof n))return new n(t);this.init(t)}return n.parse=function(t){return new n(t)},n.prototype.init=function(t){var i,u,r,f;if((this.input=t=n.names[t&&t.toLowerCase?t.toLowerCase():""]||t)&&t.stops)this.stops=t.stops.map(function(t){return new n(t[1])});else if(t&&t.charAt&&"#"===t.charAt()&&(r=t.length,t=parseInt(t.substr(1),16),7===r?i=[(16711680&t)>>16,(65280&t)>>8,255&t,1]:4===r&&(i=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])),!i)for(u=this.parsers.length;u--&&!i;)f=this.parsers[u],(r=f.regex.exec(t))&&(i=f.parse(r));this.rgba=i||[]},n.prototype.get=function(n){var f=this.input,t=this.rgba,i;return void 0!==this.stops?(i=u(f),i.stops=[].concat(i.stops),this.stops.forEach(function(t,r){i.stops[r]=[i.stops[r][0],t.get(n)]})):i=t&&r(t[0])?"rgb"===n||!n&&1===t[3]?"rgb("+t[0]+","+t[1]+","+t[2]+")":"a"===n?t[3]:"rgba("+t.join(",")+")":f,i},n.prototype.brighten=function(n){var t,u=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(n)});else if(r(n)&&0!==n)for(t=0;3>t;t++)u[t]+=i(255*n),0>u[t]&&(u[t]=0),255<u[t]&&(u[t]=255);return this},n.prototype.setOpacity=function(n){return this.rgba[3]=n,this},n.prototype.tweenTo=function(n,t){var r=this.rgba,i=n.rgba;return i.length&&r&&r.length?((n=1!==i[3]||1!==r[3])?"rgba(":"rgb(")+Math.round(i[0]+(r[0]-i[0])*(1-t))+","+Math.round(i[1]+(r[1]-i[1])*(1-t))+","+Math.round(i[2]+(r[2]-i[2])*(1-t))+(n?","+(i[3]+(r[3]-i[3])*(1-t)):"")+")":n.input||"none"},n.names={white:"#ffffff",black:"#000000"},n}(),n.Color=t,n.color=t.parse,n.Color}),i(t,"parts/SvgRenderer.js",[t["parts/Globals.js"],t["parts/Color.js"],t["parts/Utilities.js"]],function(n,t,i){var tt=t.parse,w=i.addEvent,lt=i.animate,at=i.animObject,e=i.attr,it=i.createElement,l=i.css,r=i.defined,vt=i.destroyObjectProperties,d=i.erase,s=i.extend,yt=i.inArray,rt=i.isArray,ut=i.isNumber,v=i.isObject,ft=i.isString,c=i.merge,h=i.objectEach,u=i.pick,a=i.pInt,et=i.removeEvent,pt=i.splat,ot=i.stop,g=i.uniqueKey,wt=n.charts,nt=n.deg2rad,o=n.doc,bt=n.hasTouch,b=n.isFirefox,st=n.isMS,kt=n.isWebKit,ht=n.noop,ct=n.svg,k=n.SVG_NS,y=n.symbolSizes,p=n.win,f=n.SVGElement=function(){return this};s(f.prototype,{opacity:1,SVG_NS:k,textProps:"direction fontSize fontWeight fontFamily fontStyle color lineHeight width textAlign textDecoration textOverflow textOutline cursor".split(" "),init:function(t,i){this.element="span"===i?it(i):o.createElementNS(this.SVG_NS,i);this.renderer=t;n.fireEvent(this,"afterInit")},animate:function(n,t,i){var r=at(u(t,this.renderer.globalAnimation,!0));return u(o.hidden,o.msHidden,o.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(i&&(r.complete=i),lt(this,n,r)):(this.attr(n,void 0,i),h(n,function(n,t){r.step&&r.step.call(this,n,{prop:t,pos:1})},this)),this},complexColor:function(t,i,u){var v,o,f,y,a,l,p,w,b,k,d,nt,s=this.renderer,e=[];n.fireEvent(this.renderer,"complexColor",{args:arguments},function(){t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient");o&&(f=t[o],a=s.gradients,p=t.stops,k=u.radialReference,rt(f)&&(t[o]=f={x1:f[0],y1:f[1],x2:f[2],y2:f[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&k&&!r(f.gradientUnits)&&(y=f,f=c(f,s.getRadialAttr(k,y),{gradientUnits:"userSpaceOnUse"})),h(f,function(n,t){"id"!==t&&e.push(t,n)}),h(p,function(n){e.push(n)}),e=e.join(","),a[e]?d=a[e].attr("id"):(f.id=d=g(),a[e]=l=s.createElement(o).attr(f).add(s.defs),l.radAttr=y,l.stops=[],p.forEach(function(n){0===n[1].indexOf("rgba")?(v=tt(n[1]),w=v.get("rgb"),b=v.get("a")):(w=n[1],b=1);n=s.createElement("stop").attr({offset:n[0],"stop-color":w,"stop-opacity":b}).add(l);l.stops.push(n)})),nt="url("+s.url+"#"+d+")",u.setAttribute(i,nt),u.gradient=e,t.toString=function(){return nt})})},applyTextOutline:function(t){var r,i=this.element,u,f,o;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(i.style.fill)));u=(t=t.split(" "))[t.length-1];(r=t[0])&&"none"!==r&&n.svg&&(this.fakeTS=!0,t=[].slice.call(i.getElementsByTagName("tspan")),this.ySetter=this.xSetter,r=r.replace(/(^[\d\.]+)(.*?)$/g,function(n,t,i){return 2*t+i}),this.removeTextOutline(t),f=!!i.textContent&&/^[\u0591-\u065F\u066A-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(i.textContent),o=i.firstChild,t.forEach(function(n,t){0===t&&(n.setAttribute("x",i.getAttribute("x")),t=i.getAttribute("y"),n.setAttribute("y",t||0),null===t&&i.setAttribute("y",0));t=n.cloneNode(!0);e(f&&!b?n:t,{"class":"highcharts-text-outline",fill:u,stroke:u,"stroke-width":r,"stroke-linejoin":"round"});i.insertBefore(t,o)}),f&&b&&t[0]&&((t=t[0].cloneNode(!0)).textContent=" ",i.insertBefore(t,o)))},removeTextOutline:function(n){for(var t,i=n.length;i--;)"highcharts-text-outline"===(t=n[i]).getAttribute("class")&&d(n,this.element.removeChild(t))},symbolCustomAttribs:"x y width height r start end innerR anchorX anchorY rounded".split(" "),attr:function(n,t,i,r){var f,u,e,o=this.element,s=this,l=this.symbolCustomAttribs,c;return"string"==typeof n&&void 0!==t&&(c=n,(n={})[c]=t),"string"==typeof n?s=(this[n+"Getter"]||this._defaultGetter).call(this,n,o):(h(n,function(t,i){u=!1;r||ot(this,i);this.symbolName&&-1!==yt(i,l)&&(f||(this.symbolAttr(n),f=!0),u=!0);!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0);u||((e=this[i+"Setter"]||this._defaultSetter).call(this,t,i,o),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,t,e))},this),this.afterSetters()),i&&i.call(this),s},afterSetters:function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},updateShadows:function(n,t,i){for(var r=this.shadows,u=r.length;u--;)i.call(r[u],"height"===n?Math.max(t-(r[u].cutHeight||0),0):"d"===n?this.d:t,n,r[u])},addClass:function(n,t){var i=t?"":this.attr("class")||"";return(n=(n||"").split(/ /g).reduce(function(n,t){return-1===i.indexOf(t)&&n.push(t),n},i?[i]:[]).join(" "))!==i&&this.attr("class",n),this},hasClass:function(n){return-1!==(this.attr("class")||"").split(" ").indexOf(n)},removeClass:function(n){return this.attr("class",(this.attr("class")||"").replace(ft(n)?new RegExp(" ?"+n+" ?"):n,""))},symbolAttr:function(n){var t=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(i){t[i]=u(n[i],t[i])});t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})},clip:function(n){return this.attr("clip-path",n?"url("+this.renderer.url+"#"+n.id+")":"none")},crisp:function(n,t){t=t||n.strokeWidth||0;var i=Math.round(t)%2/2;return n.x=Math.floor(n.x||this.x||0)+i,n.y=Math.floor(n.y||this.y||0)+i,n.width=Math.floor((n.width||this.width||0)-2*i),n.height=Math.floor((n.height||this.height||0)-2*i),r(n.strokeWidth)&&(n.strokeWidth=t),n},css:function(n){var t=this.styles,u={},i=this.element,r="",f=!t,v=["textOutline","textOverflow","width"],o,c;return(n&&n.color&&(n.fill=n.color),t&&h(n,function(n,i){n!==t[i]&&(u[i]=n,f=!0)}),f)&&((t&&(n=s(t,u)),n)&&(null===n.width||"auto"===n.width?delete this.textWidth:"text"===i.nodeName.toLowerCase()&&n.width&&(o=this.textWidth=a(n.width))),(this.styles=n,o&&!ct&&this.renderer.forExport&&delete n.width,i.namespaceURI===this.SVG_NS)?(c=function(n,t){return"-"+t.toLowerCase()},h(n,function(n,t){-1===v.indexOf(t)&&(r+=t.replace(/([A-Z])/g,c)+":"+n+";")}),r&&e(i,"style",r)):l(i,n),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),n&&n.textOutline&&this.applyTextOutline(n.textOutline))),this},getStyle:function(n){return p.getComputedStyle(this.element||this,"").getPropertyValue(n)},strokeWidth:function(){var n,i,t;return this.renderer.styledMode?(n=this.getStyle("stroke-width"),i=0,n.indexOf("px")===n.length-2?i=a(n):""!==n&&(t=o.createElementNS(k,"rect"),e(t,{width:n,"stroke-width":0}),this.element.parentNode.appendChild(t),i=t.getBBox().width,t.parentNode.removeChild(t)),i):this["stroke-width"]||0},on:function(n,t){var r,u,f,i=this.element;return bt&&"click"===n?(i.ontouchstart=function(n){r=n.touches[0].clientX;u=n.touches[0].clientY},i.ontouchend=function(n){r&&4<=Math.sqrt(Math.pow(r-n.changedTouches[0].clientX,2)+Math.pow(u-n.changedTouches[0].clientY,2))||t.call(i,n);f=!0;n.preventDefault()},i.onclick=function(n){f||t.call(i,n)}):i["on"+n]=t,this},setRadialReference:function(n){var t=this.renderer.gradients[this.element.gradient];return this.element.radialReference=n,t&&t.radAttr&&t.animate(this.renderer.getRadialAttr(n,t.radAttr)),this},translate:function(n,t){return this.attr({translateX:n,translateY:t})},invert:function(n){return this.inverted=n,this.updateTransform(),this},updateTransform:function(){var n=this.translateX||0,i=this.translateY||0,f=this.scaleX,e=this.scaleY,o=this.inverted,s=this.rotation,h=this.matrix,t=this.element;o&&(n+=this.width,i+=this.height);n=["translate("+n+","+i+")"];r(h)&&n.push("matrix("+h.join(",")+")");o?n.push("rotate(90) scale(-1,1)"):s&&n.push("rotate("+s+" "+u(this.rotationOriginX,t.getAttribute("x"),0)+" "+u(this.rotationOriginY,t.getAttribute("y")||0)+")");(r(f)||r(e))&&n.push("scale("+u(f,1)+" "+u(e,1)+")");n.length&&t.setAttribute("transform",n.join(" "))},toFront:function(){var n=this.element;return n.parentNode.appendChild(n),this},align:function(n,t,i){var r,o,s,h={},f=this.renderer,e=f.alignedObjects,c;return n?(this.alignOptions=n,this.alignByTranslate=t,(!i||ft(i))&&(this.alignTo=r=i||"renderer",d(e,this),e.push(this),i=null)):(n=this.alignOptions,t=this.alignByTranslate,r=this.alignTo),i=u(i,f[r],f),r=n.align,f=n.verticalAlign,e=(i.x||0)+(n.x||0),c=(i.y||0)+(n.y||0),"right"===r?o=1:"center"===r&&(o=2),o&&(e+=(i.width-(n.width||0))/o),h[t?"translateX":"x"]=Math.round(e),"bottom"===f?s=1:"middle"===f&&(s=2),s&&(c+=(i.height-(n.height||0))/s),h[t?"translateY":"y"]=Math.round(c),this[this.placed?"animate":"attr"](h),this.placed=!0,this.alignAttr=h,this},getBBox:function(n,t){var i,l,e=this.renderer,c=this.element,o=this.styles,y=this.textStr,a=e.cache,v=e.cacheKeys,p=c.namespaceURI===this.SVG_NS,w,h;if(t=u(t,this.rotation,0),w=e.styledMode?c&&f.prototype.getStyle.call(c,"font-size"):o&&o.fontSize,r(y)&&(h=y.toString(),-1===h.indexOf("<")&&(h=h.replace(/[0-9]/g,"0")),h+=["",t,w,this.textWidth,o&&o.textOverflow].join()),h&&!n&&(i=a[h]),!i){if(p||e.forExport){try{(l=this.fakeTS&&function(n){[].forEach.call(c.querySelectorAll(".highcharts-text-outline"),function(t){t.style.display=n})})&&l("none");i=c.getBBox?s({},c.getBBox()):{width:c.offsetWidth,height:c.offsetHeight};l&&l("")}catch(n){}(!i||0>i.width)&&(i={width:0,height:0})}else i=this.htmlGetBBox();if(e.isSVG&&(n=i.width,e=i.height,p&&(i.height=e={"11px,17":14,"13px,20":16}[o&&o.fontSize+","+Math.round(e)]||e),t&&(o=t*nt,i.width=Math.abs(e*Math.sin(o))+Math.abs(n*Math.cos(o)),i.height=Math.abs(e*Math.cos(o))+Math.abs(n*Math.sin(o)))),h&&0<i.height){for(;250<v.length;)delete a[v.shift()];a[h]||v.push(h);a[h]=i}}return i},show:function(n){return this.attr({visibility:n?"inherit":"visible"})},hide:function(n){return n?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},fadeOut:function(n){var t=this;t.animate({opacity:0},{duration:n||150,complete:function(){t.attr({y:-9999})}})},add:function(n){var t=this.renderer,r=this.element,i;return(n&&(this.parentGroup=n),this.parentInverted=n&&n.inverted,void 0!==this.textStr&&t.buildText(this),this.added=!0,!n||n.handleZ||this.zIndex)&&(i=this.zIndexSetter()),i||(n?n.element:t.box).appendChild(r),this.onAdd&&this.onAdd(),this},safeRemoveChild:function(n){var t=n.parentNode;t&&t.removeChild(n)},destroy:function(){var n=this,t=n.element||{},u=n.renderer,i=u.isSVG&&"SPAN"===t.nodeName&&n.parentGroup,r=t.ownerSVGElement,f=n.clipPath;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,ot(n),f&&r&&([].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),function(n){-1<n.getAttribute("clip-path").indexOf(f.element.id)&&n.removeAttribute("clip-path")}),n.clipPath=f.destroy()),n.stops){for(r=0;r<n.stops.length;r++)n.stops[r]=n.stops[r].destroy();n.stops=null}for(n.safeRemoveChild(t),u.styledMode||n.destroyShadows();i&&i.div&&0===i.div.childNodes.length;)t=i.parentGroup,n.safeRemoveChild(i.div),delete i.div,i=t;n.alignTo&&d(u.alignedObjects,n);h(n,function(t,i){n[i]&&n[i].parentGroup===n&&n[i].destroy&&n[i].destroy();delete n[i]})},shadow:function(n,t,i){var f,c=[],o=this.element,r,s;if(n){if(!this.shadows){var h=u(n.width,3),l=(n.opacity||.15)/h,a=this.parentInverted?"(-1,-1)":"("+u(n.offsetX,1)+", "+u(n.offsetY,1)+")";for(f=1;f<=h;f++)r=o.cloneNode(0),s=2*h+1-2*f,e(r,{stroke:n.color||"#000000","stroke-opacity":l*f,"stroke-width":s,transform:"translate"+a,fill:"none"}),r.setAttribute("class",(r.getAttribute("class")||"")+" highcharts-shadow"),i&&(e(r,"height",Math.max(e(r,"height")-s,0)),r.cutHeight=s),t?t.element.appendChild(r):o.parentNode&&o.parentNode.insertBefore(r,o),c.push(r);this.shadows=c}}else this.destroyShadows();return this},destroyShadows:function(){(this.shadows||[]).forEach(function(n){this.safeRemoveChild(n)},this);this.shadows=void 0},xGetter:function(n){return"circle"===this.element.nodeName&&("x"===n?n="cx":"y"===n&&(n="cy")),this._defaultGetter(n)},_defaultGetter:function(n){return n=u(this[n+"Value"],this[n],this.element?this.element.getAttribute(n):null,0),/^[\-0-9\.]+$/.test(n)&&(n=parseFloat(n)),n},dSetter:function(n,t,i){n&&n.join&&(n=n.join(" "));/(NaN| {2}|^$)/.test(n)&&(n="M 0 0");this[t]!==n&&(i.setAttribute(t,n),this[t]=n)},dashstyleSetter:function(n){var t,i=this["stroke-width"];if("inherit"===i&&(i=1),n=n&&n.toLowerCase()){for(t=(n=n.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",")).length;t--;)n[t]=a(n[t])*i;n=n.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",n)}},alignSetter:function(n){var t={left:"start",center:"middle",right:"end"};t[n]&&(this.alignValue=n,this.element.setAttribute("text-anchor",t[n]))},opacitySetter:function(n,t,i){this[t]=n;i.setAttribute(t,n)},titleSetter:function(n){var t=this.element.getElementsByTagName("title")[0];t||(t=o.createElementNS(this.SVG_NS,"title"),this.element.appendChild(t));t.firstChild&&t.removeChild(t.firstChild);t.appendChild(o.createTextNode(String(u(n,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")))},textSetter:function(n){n!==this.textStr&&(delete this.bBox,delete this.textPxLength,this.textStr=n,this.added&&this.renderer.buildText(this))},setTextPath:function(n,t){var f=this.element,l={textAnchor:"text-anchor"},o=!1,i=this.textPathWrapper,s=!i,u=(t=c(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},t)).attributes,e;if(n&&t&&t.enabled){if(i&&null===i.element.parentNode?(s=!0,i=i.destroy()):i&&this.removeTextOutline.call(i.parentGroup,[].slice.call(f.getElementsByTagName("tspan"))),this.options&&this.options.padding&&(u.dx=-this.options.padding),i||(this.textPathWrapper=i=this.renderer.createElement("textPath"),o=!0),e=i.element,(t=n.element.getAttribute("id"))||n.element.setAttribute("id",t=g()),s)for(n=f.getElementsByTagName("tspan");n.length;)n[0].setAttribute("y",0),ut(u.dx)&&n[0].setAttribute("x",-u.dx),e.appendChild(n[0]);o&&i.add({element:this.text?this.text.element:f});e.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+t);r(u.dy)&&(e.parentNode.setAttribute("dy",u.dy),delete u.dy);r(u.dx)&&(e.parentNode.setAttribute("dx",u.dx),delete u.dx);h(u,function(n,t){e.setAttribute(l[t]||t,n)});f.removeAttribute("transform");this.removeTextOutline.call(i,[].slice.call(f.getElementsByTagName("tspan")));this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=this.updateTransform=ht}else i&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(f,n),this.updateTransform(),this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},destroyTextPath:function(n,t){var i=n.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),t.element.setAttribute("id",""),i.getElementsByTagName("textPath").length){for(n=this.textPathWrapper.element.childNodes;n.length;)i.appendChild(n[0]);i.removeChild(this.textPathWrapper.element)}}else(n.getAttribute("dx")||n.getAttribute("dy"))&&(n.removeAttribute("dx"),n.removeAttribute("dy"));this.textPathWrapper=this.textPathWrapper.destroy()},fillSetter:function(n,t,i){"string"==typeof n?i.setAttribute(t,n):n&&this.complexColor(n,t,i)},visibilitySetter:function(n,t,i){"inherit"===n?i.removeAttribute(t):this[t]!==n&&i.setAttribute(t,n);this[t]=n},zIndexSetter:function(n,t){var u=this.renderer,s=this.parentGroup,h=(s||u).element||u.box,f=this.element,e=!1,i,o,c;if(u=h===u.box,o=this.added,r(n)?(f.setAttribute("data-z-index",n),n=+n,this[t]===n&&(o=!1)):r(this[t])&&f.removeAttribute("data-z-index"),this[t]=n,o){for((n=this.zIndex)&&s&&(s.handleZ=!0),i=(t=h.childNodes).length-1;0<=i&&!e;i--)o=(s=t[i]).getAttribute("data-z-index"),c=!r(o),s!==f&&(0>n&&c&&!u&&!i?(h.insertBefore(f,t[i]),e=!0):(a(o)<=n||c&&(!r(n)||0<=n))&&(h.insertBefore(f,t[i+1]||null),e=!0));e||(h.insertBefore(f,t[u?3:0]||null),e=!0)}return e},_defaultSetter:function(n,t,i){i.setAttribute(t,n)}});f.prototype.yGetter=f.prototype.xGetter;f.prototype.translateXSetter=f.prototype.translateYSetter=f.prototype.rotationSetter=f.prototype.verticalAlignSetter=f.prototype.rotationOriginXSetter=f.prototype.rotationOriginYSetter=f.prototype.scaleXSetter=f.prototype.scaleYSetter=f.prototype.matrixSetter=function(n,t){this[t]=n;this.doTransform=!0};f.prototype["stroke-widthSetter"]=f.prototype.strokeSetter=function(n,t,i){this[t]=n;this.stroke&&this["stroke-width"]?(f.prototype.fillSetter.call(this,this.stroke,"stroke",i),i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===t&&0===n&&this.hasStroke?(i.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)};t=n.SVGRenderer=function(){this.init.apply(this,arguments)};s(t.prototype,{Element:f,SVG_NS:k,init:function(n,t,i,r,u,f,s){var h,c=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"});s||c.css(this.getStyle(r));r=c.element;n.appendChild(r);e(n,"dir","ltr");-1===n.innerHTML.indexOf("xmlns")&&e(r,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=r;this.boxWrapper=c;this.alignedObjects=[];this.url=(b||kt)&&o.getElementsByTagName("base").length?p.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"";this.createElement("desc").add().element.appendChild(o.createTextNode("Created with Highcharts 8.0.4"));this.defs=this.createElement("defs").add();this.allowHTML=f;this.forExport=u;this.styledMode=s;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(t,i,!1);b&&n.getBoundingClientRect&&((t=function(){l(n,{left:0,top:0});h=n.getBoundingClientRect();l(n,{left:Math.ceil(h.left)-h.left+"px",top:Math.ceil(h.top)-h.top+"px"})})(),this.unSubPixelFix=w(p,"resize",t))},definition:function(n){var t=this;return function n(i,r){var u;return pt(i).forEach(function(i){var f=t.createElement(i.tagName),e={};h(i,function(n,t){"tagName"!==t&&"children"!==t&&"textContent"!==t&&(e[t]=n)});f.attr(e);f.add(r||t.defs);i.textContent&&f.element.appendChild(o.createTextNode(i.textContent));n(i.children||[],f);u=f}),u}(n)},getStyle:function(n){return this.style=s({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},n)},setStyle:function(n){this.boxWrapper.css(this.getStyle(n))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var n=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),vt(this.gradients||{}),this.gradients=null,n&&(this.defs=n.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},createElement:function(n){var t=new this.Element;return t.init(this,n),t},draw:ht,getRadialAttr:function(n,t){return{cx:n[0]-n[2]/2+t.cx*n[2],cy:n[1]-n[2]/2+t.cy*n[2],r:t.r*n[2]}},truncate:function(n,t,i,r,u,f,e){var a,p,w=this,k=n.rotation,c=r?1:0,s=(i||r).length,h=s,v=[],y=function(n){t.firstChild&&t.removeChild(t.firstChild);n&&t.appendChild(o.createTextNode(n))},b=function(f,o){if(void 0===v[o=o||f])if(t.getSubStringLength)try{v[o]=u+t.getSubStringLength(0,r?o+1:o)}catch(n){}else w.getSpanWidth&&(y(e(i||r,f)),v[o]=u+w.getSpanWidth(n,t));return v[o]},l;if(n.rotation=0,l=b(t.textContent.length),p=u+l>f){for(;c<=s;)h=Math.ceil((c+s)/2),r&&(a=e(r,h)),l=b(h,a&&a.length-1),c===s?c=s+1:l>f?s=h-1:c=h;0===s?y(""):i&&s===i.length-1||y(a||e(i||r,h))}return r&&r.splice(0,h),n.actualWidth=l,n.rotation=k,p},escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},buildText:function(n){var tt,p,r=n.element,f=this,it=f.forExport,i=u(n.textStr,"").toString(),rt=-1!==i.indexOf("<"),ut=r.childNodes,w=e(r,"x"),t=n.styles,s=n.textWidth,b=t&&t.lineHeight,c=t&&t.textOutline,v=t&&"ellipsis"===t.textOverflow,y=t&&"nowrap"===t.whiteSpace,d=t&&t.fontSize,ft=ut.length;t=s&&!n.added&&this.box;var et=function(n){var t;return f.styledMode||(t=/(px|em)$/.test(n&&n.style.fontSize)?n.style.fontSize:d||f.style.fontSize||12),b?a(b):f.fontMetrics(t,n.getAttribute("style")?n:r).h},g=function(n,t){return h(f.escapes,function(i,r){t&&-1!==t.indexOf(i)||(n=n.toString().replace(new RegExp(i,"g"),r))}),n},nt=function(n,t){var i=n.indexOf("<");if(-1!==(i=(n=n.substring(i,n.indexOf(">")-i)).indexOf(t+"="))&&(i=i+t.length+1,'"'===(t=n.charAt(i))||"'"===t))return(n=n.substring(i+1)).substring(0,n.indexOf(t))},ot=/<br.*?>/g,st=[i,v,y,b,c,d,s].join();if(st!==n.textCache){for(n.textCache=st;ft--;)r.removeChild(ut[ft]);rt||c||v||s||-1!==i.indexOf(" ")&&(!y||ot.test(i))?(t&&t.appendChild(r),(i=(i=rt?(i=f.styledMode?i.replace(/<(b|strong)>/g,'<span class="highcharts-strong">').replace(/<(i|em)>/g,'<span class="highcharts-emphasized">'):i.replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">')).replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"<\/span>").split(ot):[i]).filter(function(n){return""!==n})).forEach(function(t,i){var u=0,c=0,h=(t=t.replace(/^\s+|\s+$/g,"").replace(/<span/g,"|||<span").replace(/<\/span>/g,"<\/span>|||")).split("|||");h.forEach(function(t){var b,ut,ft,a,rt,ot;if((""!==t||1===h.length)&&(ft={},a=o.createElementNS(f.SVG_NS,"tspan"),(b=nt(t,"class"))&&e(a,"class",b),(b=nt(t,"style"))&&(b=b.replace(/(;| |^)color([ :])/,"$1fill$2"),e(a,"style",b)),(ut=nt(t,"href"))&&!it&&(e(a,"onclick",'location.href="'+ut+'"'),e(a,"class","highcharts-anchor"),f.styledMode||l(a,{cursor:"pointer"}))," "!==(t=g(t.replace(/<[a-zA-Z\/](.|\n)*?>/g,"")||" ")))){if(a.appendChild(o.createTextNode(t)),u?ft.dx=0:i&&null!==w&&(ft.x=w),e(a,ft),r.appendChild(a),!u&&p&&(!ct&&it&&l(a,{display:"block"}),e(a,"dy",et(a))),s)if(rt=t.replace(/([^\^])-/g,"$1- ").split(" "),ft=!y&&(1<h.length||i||1<rt.length),ut=0,ot=et(a),v)tt=f.truncate(n,a,t,void 0,0,Math.max(0,s-parseInt(d||12,10)),function(n,t){return n.substring(0,t)+"…"});else if(ft)for(;rt.length;)rt.length&&!y&&0<ut&&(a=o.createElementNS(k,"tspan"),e(a,{dy:ot,x:w}),b&&e(a,"style",b),a.appendChild(o.createTextNode(rt.join(" ").replace(/- /g,"-"))),r.appendChild(a)),f.truncate(n,a,null,rt,0===ut?c:0,s,function(n,t){return rt.slice(0,t).join(" ").replace(/- /g,"-")}),c=n.actualWidth,ut++;u++}});p=p||r.childNodes.length}),v&&tt&&n.attr("title",g(n.textStr,["&lt;","&gt;"])),t&&t.removeChild(r),c&&n.applyTextOutline&&n.applyTextOutline(c)):r.appendChild(o.createTextNode(g(i)))}},getContrast:function(n){return(n=tt(n).rgba)[0]*=1,n[1]*=1.2,n[2]*=.5,459<n[0]+n[1]+n[2]?"#000000":"#FFFFFF"},button:function(n,t,i,r,u,f,e,o,h,l){var a=this.label(n,t,i,h,null,null,l,null,"button"),v=0,y=this.styledMode,p,b,k,d;return(a.attr(c({padding:8,r:2},u)),y)||(p=(u=c({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},u)).style,delete u.style,b=(f=c(u,{fill:"#e6e6e6"},f)).style,delete f.style,k=(e=c(u,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},e)).style,delete e.style,d=(o=c(u,{style:{color:"#cccccc"}},o)).style,delete o.style),w(a.element,st?"mouseover":"mouseenter",function(){3!==v&&a.setState(1)}),w(a.element,st?"mouseout":"mouseleave",function(){3!==v&&a.setState(v)}),a.setState=function(n){1!==n&&(a.state=v=n);a.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][n||0]);y||a.attr([u,f,e,o][n||0]).css([p,b,k,d][n||0])},y||a.attr(u).css(s({cursor:"default"},p)),a.on("click",function(n){3!==v&&r.call(a,n)})},crispLine:function(n,t){return n[1]===n[4]&&(n[1]=n[4]=Math.round(n[1])-t%2/2),n[2]===n[5]&&(n[2]=n[5]=Math.round(n[2])+t%2/2),n},path:function(n){var t=this.styledMode?{}:{fill:"none"};return rt(n)?t.d=n:v(n)&&s(t,n),this.createElement("path").attr(t)},circle:function(n,t,i){return n=v(n)?n:void 0===n?{}:{x:n,y:t,r:i},(t=this.createElement("circle")).xSetter=t.ySetter=function(n,t,i){i.setAttribute("c"+t,n)},t.attr(n)},arc:function(n,t,i,r,u,f){return v(n)?(t=(r=n).y,i=r.r,n=r.x):r={innerR:r,start:u,end:f},(n=this.symbol("arc",n,t,i,i,r)).r=i,n},rect:function(n,t,i,r,u,f){u=v(n)?n.r:u;var o=this.createElement("rect");return n=v(n)?n:void 0===n?{}:{x:n,y:t,width:Math.max(i,0),height:Math.max(r,0)},this.styledMode||(void 0!==f&&(n.strokeWidth=f,n=o.crisp(n)),n.fill="none"),u&&(n.r=u),o.rSetter=function(n,t,i){o.r=n;e(i,{rx:n,ry:n})},o.rGetter=function(){return o.r},o.attr(n)},setSize:function(n,t,i){var r=this.alignedObjects,f=r.length;for(this.width=n,this.height=t,this.boxWrapper.animate({width:n,height:t},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:u(i,!0)?void 0:0});f--;)r[f].align()},g:function(n){var t=this.createElement("g");return n?t.attr({"class":"highcharts-"+n}):t},image:function(n,t,i,r,u,f){var e={preserveAspectRatio:"none"},h=function(n,t){n.setAttributeNS?n.setAttributeNS("http://www.w3.org/1999/xlink","href",t):n.setAttribute("hc-svg-href",t)},c=function(t){h(o.element,n);f.call(o,t)},o;return 1<arguments.length&&s(e,{x:t,y:i,width:r,height:u}),o=this.createElement("image").attr(e),f?(h(o.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),e=new p.Image,w(e,"load",c),e.src=n,e.complete&&c({})):h(o.element,n),o},symbol:function(n,t,i,f,e,h){var v=this,k=/^url\((.*?)\)$/,d=k.test(n),p=!d&&(this.symbols[n]?n:"circle"),w=p&&this.symbols[p],g=r(t)&&w&&w.call(this.symbols,Math.round(t),Math.round(i),f,e,h),c,a,b;return w?(c=this.path(g),v.styledMode||c.attr("fill","none"),s(c,{symbolName:p,x:t,y:i,width:f,height:e}),h&&s(c,h)):d&&(a=n.match(k)[1],(c=this.image(a)).imgwidth=u(y[a]&&y[a].width,h&&h.width),c.imgheight=u(y[a]&&y[a].height,h&&h.height),b=function(){c.attr({width:c.width,height:c.height})},["width","height"].forEach(function(n){c[n+"Setter"]=function(n,t){var u={},i=this["img"+t],f="width"===t?"translateX":"translateY";this[t]=n;r(i)&&(h&&"within"===h.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(t,i),this.alignByTranslate||(u[f]=((this[t]||0)-i)/2,this.attr(u)))}}),r(t)&&c.attr({x:t,y:i}),c.isImg=!0,r(c.imgwidth)&&r(c.imgheight)?b():(c.attr({width:0,height:0}),it("img",{onload:function(){var n=wt[v.chartIndex];0===this.width&&(l(this,{position:"absolute",top:"-999em"}),o.body.appendChild(this));y[a]={width:this.width,height:this.height};c.imgwidth=this.width;c.imgheight=this.height;c.element&&b();this.parentNode&&this.parentNode.removeChild(this);v.imgCount--;v.imgCount||!n||n.hasLoaded||n.onload()},src:a}),this.imgCount++)),c},symbols:{circle:function(n,t,i,r){return this.arc(n+i/2,t+r/2,i/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(n,t,i,r){return["M",n,t,"L",n+i,t,n+i,t+r,n,t+r,"Z"]},triangle:function(n,t,i,r){return["M",n+i/2,t,"L",n+i,t+r,n,t+r,"Z"]},"triangle-down":function(n,t,i,r){return["M",n,t,"L",n+i,t,n+i/2,t+r,"Z"]},diamond:function(n,t,i,r){return["M",n+i/2,t,"L",n+i,t+r/2,n+i/2,t+r,n,t+r/2,"Z"]},arc:function(n,t,i,f,e){var s=e.start,o=e.r||i,c=e.r||f||i,h=e.end-.001;i=e.innerR;f=u(e.open,.001>Math.abs(e.end-e.start-2*Math.PI));var l=Math.cos(s),a=Math.sin(s),v=Math.cos(h);return h=Math.sin(h),o=["M",n+o*l,t+c*a,"A",o,c,0,s=u(e.longArc,.001>e.end-s-Math.PI?0:1),u(e.clockwise,1),n+o*v,t+c*h],r(i)&&o.push(f?"M":"L",n+i*v,t+i*h,"A",i,i,0,s,r(e.clockwise)?1-e.clockwise:0,n+i*l,t+i*a),o.push(f?"":"Z"),o},callout:function(n,t,i,r,u){var f=Math.min(u&&u.r||0,i,r),o=f+6,e=u&&u.anchorX,s;return u=u&&u.anchorY,s=["M",n+f,t,"L",n+i-f,t,"C",n+i,t,n+i,t,n+i,t+f,"L",n+i,t+r-f,"C",n+i,t+r,n+i,t+r,n+i-f,t+r,"L",n+f,t+r,"C",n,t+r,n,t+r,n,t+r-f,"L",n,t+f,"C",n,t,n,t,n+f,t],e&&e>i?u>t+o&&u<t+r-o?s.splice(13,3,"L",n+i,u-6,n+i+6,u,n+i,u+6,n+i,t+r-f):s.splice(13,3,"L",n+i,r/2,e,u,n+i,r/2,n+i,t+r-f):e&&0>e?u>t+o&&u<t+r-o?s.splice(33,3,"L",n,u+6,n-6,u,n,u-6,n,t+f):s.splice(33,3,"L",n,r/2,e,u,n,r/2,n,t+f):u&&u>r&&e>n+o&&e<n+i-o?s.splice(23,3,"L",e+6,t+r,e,t+r+6,e-6,t+r,n+f,t+r):u&&0>u&&e>n+o&&e<n+i-o&&s.splice(3,3,"L",e-6,t,e,t-6,e+6,t,i-f,t),s}},clipRect:function(n,t,i,r){var u=g()+"-",f=this.createElement("clipPath").attr({id:u}).add(this.defs);return(n=this.rect(n,t,i,r,0).add(f)).id=u,n.clipPath=f,n.count=0,n},text:function(n,t,i,u){var f={};return!u||!this.allowHTML&&this.forExport?(f.x=Math.round(t||0),i&&(f.y=Math.round(i)),r(n)&&(f.text=n),n=this.createElement("text").attr(f),u||(n.xSetter=function(n,t,i){for(var f=i.getElementsByTagName("tspan"),e=i.getAttribute(t),u,r=0;r<f.length;r++)u=f[r],u.getAttribute(t)===e&&u.setAttribute(t,n);i.setAttribute(t,n)}),n):this.html(n,t,i)},fontMetrics:function(n,t){return n=!this.styledMode&&/px/.test(n)||!p.getComputedStyle?n||t&&t.style&&t.style.fontSize||this.style&&this.style.fontSize:t&&f.prototype.getStyle.call(t,"font-size"),{h:t=24>(n=/px/.test(n)?a(n):12)?n+3:Math.round(1.2*n),b:Math.round(.8*t),f:n}},rotCorr:function(n,t,i){var r=n;return t&&i&&(r=Math.max(r*Math.cos(t*nt),4)),{x:-n/3*Math.sin(t*nt),y:r}},label:function(n,t,i,u,e,o,h,l,a){var p,w,d,ht,rt,ct,tt,lt,at,k=this,ft=k.styledMode,v=k.g("button"!==a&&"label"),y=v.text=k.text("",0,0,h).attr({zIndex:1}),ot=0,b=3,st=0,vt={},pt=/^url\((.*?)\)$/.test(u),yt=ft||pt,wt=function(){return ft?p.strokeWidth()%2/2:(lt?parseInt(lt,10):0)%2/2},bt;a&&v.addClass("highcharts-"+a);var g=function(){var n=y.element.style,t={};w=(void 0===d||void 0===ht||tt)&&r(y.textStr)&&y.getBBox();v.width=(d||w.width||0)+2*b+st;v.height=(ht||w.height||0)+2*b;at=b+Math.min(k.fontMetrics(n&&n.fontSize,y).b,w?w.height:1/0);yt&&(p||(v.box=p=k.symbols[u]||pt?k.symbol(u):k.rect(),p.addClass(("button"===a?"":"highcharts-label-box")+(a?" highcharts-"+a+"-box":"")),p.add(v),n=wt(),t.x=n,t.y=(l?-at:0)+n),t.width=Math.round(v.width),t.height=Math.round(v.height),p.attr(s(t,vt)),vt={})},it=function(){var n=st+b,t=l?0:at;r(d)&&w&&("center"===tt||"right"===tt)&&(n+={center:.5,right:1}[tt]*(d-w.width));n===y.x&&t===y.y||(y.attr("x",n),y.hasBoxWidthChanged&&(w=y.getBBox(!0),g()),void 0!==t&&y.attr("y",t));y.x=n;y.y=t},nt=function(n,t){p?p.attr(n,t):vt[n]=t};return v.onAdd=function(){y.add(v);v.attr({text:n||0===n?n:"",x:t,y:i});p&&r(e)&&v.attr({anchorX:e,anchorY:o})},v.widthSetter=function(n){d=ut(n)?n:null},v.heightSetter=function(n){ht=n},v["text-alignSetter"]=function(n){tt=n},v.paddingSetter=function(n){r(n)&&n!==b&&(b=v.padding=n,it())},v.paddingLeftSetter=function(n){r(n)&&n!==st&&(st=n,it())},v.alignSetter=function(n){(n={left:0,center:.5,right:1}[n])!==ot&&(ot=n,w&&v.attr({x:rt}))},v.textSetter=function(n){void 0!==n&&y.attr({text:n});g();it()},v["stroke-widthSetter"]=function(n,t){n&&(yt=!0);lt=this["stroke-width"]=n;nt(t,n)},ft?v.rSetter=function(n,t){nt(t,n)}:v.strokeSetter=v.fillSetter=v.rSetter=function(n,t){"r"!==t&&("fill"===t&&n&&(yt=!0),v[t]=n);nt(t,n)},v.anchorXSetter=function(n,t){e=v.anchorX=n;nt(t,Math.round(n)-wt()-rt)},v.anchorYSetter=function(n,t){o=v.anchorY=n;nt(t,n-ct)},v.xSetter=function(n){v.x=n;ot&&(n-=ot*((d||w.width)+2*b),v["forceAnimate:x"]=!0);rt=Math.round(n);v.attr("translateX",rt)},v.ySetter=function(n){ct=v.y=Math.round(n);v.attr("translateY",ct)},bt=v.css,h={css:function(n){if(n){var t={};n=c(n);v.textProps.forEach(function(i){void 0!==n[i]&&(t[i]=n[i],delete n[i])});y.css(t);"width"in t&&g();"fontSize"in t&&(g(),it())}return bt.call(v,n)},getBBox:function(){return{width:w.width+2*b,height:w.height+2*b,x:w.x-b,y:w.y-b}},destroy:function(){et(v.element,"mouseenter");et(v.element,"mouseleave");y&&(y=y.destroy());p&&(p=p.destroy());f.prototype.destroy.call(v);v=k=g=it=nt=null}},ft||(h.shadow=function(n){return n&&(g(),p&&p.shadow(n)),v}),s(v,h)}});n.Renderer=t}),i(t,"parts/Html.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var h=t.attr,c=t.createElement,i=t.css,f=t.defined,r=t.extend,e=t.pick,l=t.pInt,o=n.isFirefox,a=n.isMS,v=n.isWebKit,s=n.SVGElement,u;t=n.SVGRenderer;u=n.win;r(s.prototype,{htmlCss:function(n){var t="SPAN"===this.element.tagName&&n&&"width"in n,f=e(t&&n.width,void 0),u;return t&&(delete n.width,this.textWidth=f,u=!0),n&&"ellipsis"===n.textOverflow&&(n.whiteSpace="nowrap",n.overflow="hidden"),this.styles=r(this.styles,n),i(this.element,n),u&&this.htmlUpdateTransform(),this},htmlGetBBox:function(){var n=this.element;return{x:n.offsetLeft,y:n.offsetTop,width:n.offsetWidth,height:n.offsetHeight}},htmlUpdateTransform:function(){var r,u,h;if(this.added){var s=this.renderer,n=this.element,c=this.translateX||0,a=this.translateY||0,y=this.x||0,p=this.y||0,e=this.textAlign||"left",v={left:0,center:.5,right:1}[e],t=this.styles,o=t&&t.whiteSpace;(i(n,{marginLeft:c,marginTop:a}),!s.styledMode&&this.shadows&&this.shadows.forEach(function(n){i(n,{marginLeft:c+1,marginTop:a+1})}),this.inverted&&[].forEach.call(n.childNodes,function(t){s.invertChild(t,n)}),"SPAN"===n.tagName)&&(t=this.rotation,u=this.textWidth&&l(this.textWidth),h=[t,e,n.innerHTML,this.textWidth,this.textAlign].join(),!(r=u!==this.oldTextWidth)||(r=u>this.oldTextWidth)||((r=this.textPxLength)||(i(n,{width:"",whiteSpace:o||"nowrap"}),r=n.offsetWidth),r=r>u),r&&(/[ \-]/.test(n.textContent||n.innerText)||"ellipsis"===n.style.textOverflow)?(i(n,{width:u+"px",display:"block",whiteSpace:o||"normal"}),this.oldTextWidth=u,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,h!==this.cTT&&(o=s.fontMetrics(n.style.fontSize,n).b,!f(t)||t===(this.oldRotation||0)&&e===this.oldAlign||this.setSpanRotation(t,v,o),this.getSpanCorrection(!f(t)&&this.textPxLength||n.offsetWidth,o,v,t,e)),i(n,{left:y+(this.xCorr||0)+"px",top:p+(this.yCorr||0)+"px"}),this.cTT=h,this.oldRotation=t,this.oldAlign=e)}else this.alignOnAdd=!0},setSpanRotation:function(n,t,r){var u={},f=this.renderer.getTransformKey();u[f]=u.transform="rotate("+n+"deg)";u[f+(o?"Origin":"-origin")]=u.transformOrigin=100*t+"% "+r+"px";i(this.element,u)},getSpanCorrection:function(n,t,i){this.xCorr=-n*i;this.yCorr=-t}});r(t.prototype,{getTransformKey:function(){return a&&!/Edge/.test(u.navigator.userAgent)?"-ms-transform":v?"-webkit-transform":o?"MozTransform":u.opera?"-o-transform":""},html:function(n,t,i){var u=this.createElement("span"),f=u.element,o=u.renderer,l=o.isSVG,a=function(n,t){["opacity","visibility"].forEach(function(i){n[i+"Setter"]=function(r,u,f){var e=n.div?n.div.style:t;s.prototype[i+"Setter"].call(this,r,u,f);e&&(e[u]=r)}});n.addedSetters=!0};return u.textSetter=function(n){n!==f.innerHTML&&(delete this.bBox,delete this.oldTextWidth);this.textStr=n;f.innerHTML=e(n,"");u.doTransform=!0},l&&a(u,u.element.style),u.xSetter=u.ySetter=u.alignSetter=u.rotationSetter=function(n,t){"align"===t&&(t="textAlign");u[t]=n;u.doTransform=!0},u.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},u.attr({text:n,x:Math.round(t),y:Math.round(i)}).css({position:"absolute"}),o.styledMode||u.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),f.style.whiteSpace="nowrap",u.css=u.htmlCss,l&&(u.add=function(n){var e=o.box.parentNode,i=[],t;if(this.parentGroup=n){if(t=n.div,!t){for(;n;)i.push(n),n=n.parentGroup;i.reverse().forEach(function(n){function f(t,i){n[i]=t;"translateX"===i?s.left=t+"px":s.top=t+"px";n.doTransform=!0}var o=h(n.element,"class"),s=(t=n.div=n.div||c("div",o?{className:o}:void 0,{position:"absolute",left:(n.translateX||0)+"px",top:(n.translateY||0)+"px",display:n.display,opacity:n.opacity,pointerEvents:n.styles&&n.styles.pointerEvents},t||e)).style;r(n,{classSetter:function(n){return function(t){this.element.setAttribute("class",t);n.className=t}}(t),on:function(){return i[0].div&&u.on.apply({element:i[0].div},arguments),n},translateXSetter:f,translateYSetter:f});n.addedSetters||a(n)})}}else t=e;return t.appendChild(f),u.added=!0,u.alignOnAdd&&u.htmlUpdateTransform(),u}),u}})}),i(t,"parts/Tick.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var s=t.clamp,r=t.correctFloat,u=t.defined,h=t.destroyObjectProperties,c=t.extend,e=t.isNumber,l=t.merge,a=t.objectEach,i=t.pick,o=n.fireEvent,f=n.deg2rad;return t=function(){function t(n,t,i,r,u){this.isNewLabel=this.isNew=!0;this.axis=n;this.pos=t;this.type=i||"";this.parameters=u||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;i||r||this.addLabel()}return t.prototype.addLabel=function(){var n=this,t=n.axis,o=t.options,w=t.chart,l=t.categories,a=t.names,s=n.pos,h=i(n.options&&n.options.labels,o.labels),e=t.tickPositions,b=s===e[0],k=s===e[e.length-1],v,p,f,y,d;a=this.parameters.category||(l?i(l[s],a[s],s):s);f=n.label;(l=(!h.step||1===h.step)&&1===t.tickInterval,e=e.info,t.isDatetimeAxis&&e)&&(y=w.time.resolveDTLFormat(o.dateTimeLabelFormats[!o.grid&&e.higherRanks[s]||e.unitName]),d=y.main);n.isFirst=b;n.isLast=k;n.formatCtx={axis:t,chart:w,isFirst:b,isLast:k,dateTimeLabelFormat:d,tickPositionInfo:e,value:t.isLog?r(t.lin2log(a)):a,pos:s};o=t.labelFormatter.call(n.formatCtx,this.formatCtx);(p=y&&y.list)&&(n.shortenLabel=function(){for(v=0;v<p.length;v++)if(f.attr({text:t.labelFormatter.call(c(n.formatCtx,{dateTimeLabelFormat:p[v]}))}),f.getBBox().width<t.getSlotWidth(n)-2*i(h.padding,5))return;f.attr({text:""})});l&&t._addedPlotLB&&t.isXAxis&&n.moveLabel(o,h);u(f)||n.movedLabel?f&&f.textStr!==o&&!l&&(!f.textWidth||h.style&&h.style.width||f.styles.width||f.css({width:null}),f.attr({text:o}),f.textPxLength=f.getBBox().width):(n.label=f=n.createLabel({x:0,y:0},o,h),n.rotation=0)},t.prototype.createLabel=function(n,t,i){var r=this.axis,f=r.chart;return(n=u(t)&&i.enabled?f.renderer.text(t,n.x,n.y,i.useHTML).add(r.labelGroup):null)&&(f.styledMode||n.css(l(i.style)),n.textPxLength=n.getBBox().width),n},t.prototype.destroy=function(){h(this,this.axis)},t.prototype.getPosition=function(n,t,i,u){var f=this.axis,e=f.chart,h=u&&e.oldChartHeight||e.chartHeight;return(n={x:n?r(f.translate(t+i,null,null,u)+f.transB):f.left+f.offset+(f.opposite?(u&&e.oldChartWidth||e.chartWidth)-f.right-f.left:0),y:n?h-f.bottom+f.offset-(f.opposite?f.height:0):r(h-f.translate(t+i,null,null,u)-f.transB)}).y=s(n.y,-1e5,1e5),o(this,"afterGetPosition",{pos:n}),n},t.prototype.getLabelPosition=function(n,t,i,r,e,s,h,c){var l=this.axis,w=l.transA,b=l.isLinked&&l.linkedParent?l.linkedParent.reversed:l.reversed,a=l.staggerLines,y=l.tickRotCorr||{x:0,y:0},p=e.y,k=r||l.reserveSpaceDefault?0:-l.labelOffset*("center"===l.labelAlign?.5:1),v={};return u(p)||(p=0===l.side?i.rotation?-8:-i.getBBox().height:2===l.side?y.y+8:Math.cos(i.rotation*f)*(y.y-i.getBBox(!1,0).height/2)),n=n+e.x+k+y.x-(s&&r?s*w*(b?-1:1):0),t=t+p-(s&&!r?s*w*(b?1:-1):0),a&&(i=h/(c||1)%a,l.opposite&&(i=a-i-1),t+=l.labelOffset/a*i),v.x=n,v.y=Math.round(t),o(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:h}),v},t.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},t.prototype.getMarkPath=function(n,t,i,r,u,f){return f.crispLine(["M",n,t,"L",n+(u?0:-i),t+(u?i:0)],r)},t.prototype.handleOverflow=function(n){var t=this.axis,w=t.options.labels,e=n.x,a=t.chart.chartWidth,o=t.chart.spacing,v=i(t.labelLeft,Math.min(t.pos,o[3]));o=i(t.labelRight,Math.max(t.isRadial?0:t.pos+t.len,a-o[1]));var h,y=this.label,c=this.rotation,u={left:0,center:.5,right:1}[t.labelAlign||y.attr("align")],s=y.getBBox().width,l=t.getSlotWidth(this),r=l,b=1,p={};c||"justify"!==i(w.overflow,"justify")?0>c&&e-u*s<v?h=Math.round(e/Math.cos(c*f)-v):0<c&&e+u*s>o&&(h=Math.round((a-e)/Math.cos(c*f))):(a=e+(1-u)*s,e-u*s<v?r=n.x+r*(1-u)-v:a>o&&(r=o-n.x+r*u,b=-1),(r=Math.min(l,r))<l&&"center"===t.labelAlign&&(n.x+=b*(l-r-u*(l-Math.min(s,r)))),(s>r||t.autoRotation&&(y.styles||{}).width)&&(h=r));h&&(this.shortenLabel?this.shortenLabel():(p.width=Math.floor(h),(w.style||{}).textOverflow||(p.textOverflow="ellipsis"),y.css(p)))},t.prototype.moveLabel=function(n,t){var i=this,u=i.label,f=!1,r=i.axis,o=r.reversed,s=r.chart.inverted,e;(u&&u.textStr===n?(i.movedLabel=u,f=!0,delete i.label):a(r.ticks,function(t){f||t.isNew||t===i||!t.label||t.label.textStr!==n||(i.movedLabel=t.label,f=!0,t.labelPos=i.movedLabel.xy,delete t.label)}),!f&&(i.labelPos||u))&&(e=i.labelPos||u.xy,u=s?e.x:o?0:r.width+r.left,r=s?o?r.width+r.left:0:e.y,i.movedLabel=i.createLabel({x:u,y:r},n,t),i.movedLabel&&i.movedLabel.attr({opacity:0}))},t.prototype.render=function(t,r,u){var f=this.axis,o=f.horiz,e=this.pos,s=i(this.tickmarkOffset,f.tickmarkOffset),h;s=(e=this.getPosition(o,e,s,r)).x;h=e.y;f=o&&s===f.pos+f.len||!o&&h===f.pos?-1:1;u=i(u,1);this.isActive=!0;this.renderGridLine(r,u,f);this.renderMark(e,u,f);this.renderLabel(e,r,u,t);this.isNew=!1;n.fireEvent(this,"afterRender")},t.prototype.renderGridLine=function(n,t,r){var u=this.axis,f=u.options,e=this.gridLine,o={},c=this.pos,s=this.type,l=i(this.tickmarkOffset,u.tickmarkOffset),a=u.chart.renderer,h=s?s+"Grid":"grid",v=f[h+"LineWidth"],y=f[h+"LineColor"];f=f[h+"LineDashStyle"];e||(u.chart.styledMode||(o.stroke=y,o["stroke-width"]=v,f&&(o.dashstyle=f)),s||(o.zIndex=1),n&&(t=0),this.gridLine=e=a.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(u.gridGroup));e&&(r=u.getPlotLinePath({value:c+l,lineWidth:e.strokeWidth()*r,force:"pass",old:n}))&&e[n||this.isNew?"attr":"animate"]({d:r,opacity:t})},t.prototype.renderMark=function(n,t,r){var u=this.axis,o=u.options,c=u.chart.renderer,f=this.type,h=f?f+"Tick":"tick",s=u.tickSize(h),e=this.mark,l=!e,v=n.x,a;n=n.y;a=i(o[h+"Width"],!f&&u.isXAxis?1:0);o=o[h+"Color"];s&&(u.opposite&&(s[0]=-s[0]),l&&(this.mark=e=c.path().addClass("highcharts-"+(f?f+"-":"")+"tick").add(u.axisGroup),u.chart.styledMode||e.attr({stroke:o,"stroke-width":a})),e[l?"attr":"animate"]({d:this.getMarkPath(v,n,s[0],e.strokeWidth()*r,u.horiz,c),opacity:t}))},t.prototype.renderLabel=function(n,t,r,u){var f=this.axis,v=f.horiz,c=f.options,o=this.label,s=c.labels,l=s.step,h,a;f=i(this.tickmarkOffset,f.tickmarkOffset);h=!0;a=n.x;n=n.y;o&&e(a)&&(o.xy=n=this.getLabelPosition(a,n,o,v,s,f,u,l),this.isFirst&&!this.isLast&&!i(c.showFirstLabel,1)||this.isLast&&!this.isFirst&&!i(c.showLastLabel,1)?h=!1:!v||s.step||s.rotation||t||0===r||this.handleOverflow(n),l&&u%l&&(h=!1),h&&e(n.y)?(n.opacity=r,o[this.isNewLabel?"attr":"animate"](n),this.isNewLabel=!1):(o.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var t=this.label,n=this.axis,i=n.reversed,r=this.axis.chart.inverted,u;t&&!this.isNew&&(u=r?t.xy.x:i?n.left:n.width+n.left,i=r?i?n.width+n.top:n.top:t.xy.y,t.animate({x:u,y:i,opacity:0},void 0,t.destroy),delete this.label);n.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel},t}(),n.Tick=t,n.Tick}),i(t,"parts/Time.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var e=t.defined,s=t.error,o=t.extend,h=t.isObject,c=t.merge,l=t.objectEach,r=t.pad,u=t.pick,a=t.splat,i=t.timeUnits,f=n.win;return t=function(){function t(n){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=f.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(n)}return t.prototype.get=function(n,t){if(this.variableTimezone||this.timezoneOffset){var i=t.getTime(),r=i-this.getTimezoneOffset(t);return t.setTime(r),n=t["getUTC"+n](),t.setTime(i),n}return this.useUTC?t["getUTC"+n]():t["get"+n]()},t.prototype.set=function(n,t,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===n||"Seconds"===n||"Minutes"===n)return t["setUTC"+n](i);var r=this.getTimezoneOffset(t);return r=t.getTime()-r,t.setTime(r),t["setUTC"+n](i),n=this.getTimezoneOffset(t),r=t.getTime()+n,t.setTime(r)}return this.useUTC?t["setUTC"+n](i):t["set"+n](i)},t.prototype.update=function(n){var t=u(n&&n.useUTC,!0);this.options=n=c(!0,this.options||{},n);this.Date=n.Date||f.Date||Date;this.timezoneOffset=(this.useUTC=t)&&n.timezoneOffset;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=!(t&&!n.getTimezoneOffset&&!n.timezone)},t.prototype.makeTime=function(t,i,r,f,e,o){var s,h,c;return this.useUTC?(s=this.Date.UTC.apply(0,arguments),h=this.getTimezoneOffset(s),s+=h,c=this.getTimezoneOffset(s),h!==c?s+=c-h:h-36e5!==this.getTimezoneOffset(s-36e5)||n.isSafari||(s-=36e5)):s=new this.Date(t,i,u(r,1),u(f,0),u(e,0),u(o,0)).getTime(),s},t.prototype.timezoneOffsetFunction=function(){var i=this,n=this.options,t=f.moment;if(!this.useUTC)return function(n){return 6e4*new Date(n.toString()).getTimezoneOffset()};if(n.timezone){if(t)return function(i){return 6e4*-t.tz(i,n.timezone).utcOffset()};s(25)}return this.useUTC&&n.getTimezoneOffset?function(t){return 6e4*n.getTimezoneOffset(t.valueOf())}:function(){return 6e4*(i.timezoneOffset||0)}},t.prototype.dateFormat=function(t,i,f){var s,y;if(!e(i)||isNaN(i))return(null===(s=n.defaultOptions.lang)||void 0===s?void 0:s.invalidDate)||"";t=u(t,"%Y-%m-%d %H:%M:%S");y=this;s=new this.Date(i);var h=this.get("Hours",s),a=this.get("Day",s),p=this.get("Date",s),v=this.get("Month",s),w=this.get("FullYear",s),c=n.defaultOptions.lang,b=null==c?void 0:c.weekdays,k=null==c?void 0:c.shortWeekdays;return s=o({a:k?k[a]:b[a].substr(0,3),A:b[a],d:r(p),e:r(p,2," "),w:a,b:c.shortMonths[v],B:c.months[v],m:r(v+1),o:v+1,y:w.toString().substr(2,2),Y:w,H:r(h),k:h,I:r(h%12||12),l:h%12||12,M:r(this.get("Minutes",s)),p:12>h?"AM":"PM",P:12>h?"am":"pm",S:r(s.getSeconds()),L:r(Math.floor(i%1e3),3)},n.dateFormats),l(s,function(n,r){for(;-1!==t.indexOf("%"+r);)t=t.replace("%"+r,"function"==typeof n?n.call(y,i):n)}),f?t.substr(0,1).toUpperCase()+t.substr(1):t},t.prototype.resolveDTLFormat=function(n){return h(n,!0)?n:{main:(n=a(n))[0],from:n[1],to:n[2]}},t.prototype.getTimeTicks=function(n,t,r,f){var y,s=this,v=[],w={},h=new s.Date(t),c=n.unitRange,l=n.count||1,a,p,b;if(f=u(f,1),e(t)){for((s.set("Milliseconds",h,c>=i.second?0:l*Math.floor(s.get("Milliseconds",h)/l)),c>=i.second&&s.set("Seconds",h,c>=i.minute?0:l*Math.floor(s.get("Seconds",h)/l)),c>=i.minute&&s.set("Minutes",h,c>=i.hour?0:l*Math.floor(s.get("Minutes",h)/l)),c>=i.hour&&s.set("Hours",h,c>=i.day?0:l*Math.floor(s.get("Hours",h)/l)),c>=i.day&&s.set("Date",h,c>=i.month?1:Math.max(1,l*Math.floor(s.get("Date",h)/l))),c>=i.month)&&(s.set("Month",h,c>=i.year?0:l*Math.floor(s.get("Month",h)/l)),a=s.get("FullYear",h)),c>=i.year&&s.set("FullYear",h,a-a%l),c===i.week&&(a=s.get("Day",h),s.set("Date",h,s.get("Date",h)-a+f+(a<f?-7:0))),a=s.get("FullYear",h),f=s.get("Month",h),p=s.get("Date",h),b=s.get("Hours",h),t=h.getTime(),s.variableTimezone&&(y=r-t>4*i.month||s.getTimezoneOffset(t)!==s.getTimezoneOffset(r)),t=h.getTime(),h=1;t<r;)v.push(t),t=c===i.year?s.makeTime(a+h*l,0):c===i.month?s.makeTime(a,f+h*l):!y||c!==i.day&&c!==i.week?y&&c===i.hour&&1<l?s.makeTime(a,f,p,b+h*l):t+c*l:s.makeTime(a,f,p+h*l*(c===i.day?1:7)),h++;v.push(t);c<=i.hour&&1e4>v.length&&v.forEach(function(n){0==n%18e5&&"000000000"===s.dateFormat("%H%M%S%L",n)&&(w[n]="day")})}return v.info=o(n,{higherRanks:w,totalRange:c*l}),v},t.defaultOptions={Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},t}(),n.Time=t,n.Time}),i(t,"parts/Options.js",[t["parts/Globals.js"],t["parts/Time.js"],t["parts/Color.js"],t["parts/Utilities.js"]],function(n,t,i,r){i=i.parse;var u=r.merge;n.defaultOptions={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:t.defaultOptions,chart:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:n.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}<\/span><br/>',pointFormat:'<span style="color:{point.color}">●<\/span> {series.name}: <b>{point.y}<\/b><br/>',backgroundColor:i("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};n.setOptions=function(t){return n.defaultOptions=u(!0,n.defaultOptions,t),(t.time||t.global)&&n.time.update(u(n.defaultOptions.global,n.defaultOptions.time,t.global,t.time)),n.defaultOptions};n.getOptions=function(){return n.defaultOptions};n.defaultPlotOptions=n.defaultOptions.plotOptions;n.time=new t(u(n.defaultOptions.global,n.defaultOptions.time));n.dateFormat=function(t,i,r){return n.time.dateFormat(t,i,r)}}),i(t,"parts/Axis.js",[t["parts/Globals.js"],t["parts/Color.js"],t["parts/Tick.js"],t["parts/Utilities.js"]],function(n,t,i,r){var d=t.parse,g=r.addEvent,nt=r.animObject,y=r.arrayMax,tt=r.arrayMin,p=r.clamp,s=r.correctFloat,f=r.defined,w=r.destroyObjectProperties,l=r.error,a=r.extend,e=r.fireEvent,it=r.format,rt=r.getMagnitude,ut=r.isArray,ft=r.isFunction,o=r.isNumber,b=r.isString,v=r.merge,et=r.normalizeTickInterval,h=r.objectEach,u=r.pick,c=r.relativeLength,ot=r.removeEvent,st=r.splat,ht=r.syncTimeout,k=n.defaultOptions,ct=n.deg2rad;return a((t=function(){this.init.apply(this,arguments)}).prototype,{defaultOptions:{dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,labels:{enabled:!0,indentation:10,x:0,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",minPadding:.01,showEmpty:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},defaultYAxisOptions:{endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return this.axis.chart.numberFormatter(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},init:function(n,t){var o=t.isX,i=this,r,s;i.chart=n;i.horiz=n.inverted&&!i.isZAxis?!o:o;i.isXAxis=o;i.coll=i.coll||(o?"xAxis":"yAxis");e(this,"init",{userOptions:t});i.opposite=t.opposite;i.side=t.side||(i.horiz?i.opposite?0:2:i.opposite?1:3);i.setOptions(t);r=this.options;s=r.type;i.labelFormatter=r.labels.formatter||i.defaultLabelFormatter;i.userOptions=t;i.minPixelPadding=0;i.reversed=r.reversed;i.visible=!1!==r.visible;i.zoomEnabled=!1!==r.zoomEnabled;i.hasNames="category"===s||!0===r.categories;i.categories=r.categories||i.hasNames;i.names||(i.names=[],i.names.keys={});i.plotLinesAndBandsGroups={};i.isLog="logarithmic"===s;i.isDatetimeAxis="datetime"===s;i.positiveValuesOnly=i.isLog&&!i.allowNegativeLog;i.isLinked=f(r.linkedTo);i.ticks={};i.labelEdge=[];i.minorTicks={};i.plotLinesAndBands=[];i.alternateBands={};i.len=0;i.minRange=i.userMinRange=r.minRange||r.maxZoom;i.range=r.range;i.offset=r.offset||0;i.stacks={};i.oldStacks={};i.stacksTouched=0;i.max=null;i.min=null;i.crosshair=u(r.crosshair,st(n.options.tooltip.crosshairs)[o?0:1],!1);t=i.options.events;-1===n.axes.indexOf(i)&&(o?n.axes.splice(n.xAxis.length,0,i):n.axes.push(i),n[i.coll].push(i));i.series=i.series||[];n.inverted&&!i.isZAxis&&o&&void 0===i.reversed&&(i.reversed=!0);h(t,function(n,t){ft(n)&&g(i,t,n)});i.lin2log=r.linearToLogConverter||i.lin2log;i.isLog&&(i.val2lin=i.log2lin,i.lin2val=i.lin2log);e(this,"afterInit")},setOptions:function(n){this.options=v(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],v(k[this.coll],n));e(this,"afterSetOptions",{userOptions:n})},defaultLabelFormatter:function(){var t=this.axis,n=this.value,u=t.chart.time,l=t.categories,c=this.dateTimeLabelFormat,f=k.lang,e=f.numericSymbols,r,s,h,o,i;if(f=f.numericSymbolMagnitude||1e3,r=e&&e.length,s=t.options.labels.format,t=t.isLog?Math.abs(n):t.tickInterval,h=this.chart,o=h.numberFormatter,s)i=it(s,this,h);else if(l)i=n;else if(c)i=u.dateFormat(c,n);else if(r&&1e3<=t)for(;r--&&void 0===i;)t>=(u=Math.pow(f,r+1))&&0==10*n%u&&null!==e[r]&&0!==n&&(i=o(n/u,-1)+e[r]);return void 0===i&&(i=1e4<=Math.abs(n)?o(n,-1):o(n,-1,void 0,"")),i},getSeriesExtremes:function(){var t,n=this,i=n.chart;e(this,"getSeriesExtremes",null,function(){n.hasVisibleSeries=!1;n.dataMin=n.dataMax=n.threshold=null;n.softThreshold=!n.isXAxis;n.buildStacks&&n.buildStacks();n.series.forEach(function(r){var s,c,e,h;(r.visible||!i.options.chart.ignoreHiddenSeries)&&(s=r.options,c=s.threshold,(n.hasVisibleSeries=!0,n.positiveValuesOnly&&0>=c&&(c=null),n.isXAxis)?(s=r.xData).length&&(e=(t=r.getXExtremes(s)).min,h=t.max,o(e)||e instanceof Date||(s=s.filter(o),e=(t=r.getXExtremes(s)).min,h=t.max),s.length&&(n.dataMin=Math.min(u(n.dataMin,e),e),n.dataMax=Math.max(u(n.dataMax,h),h))):(r.getExtremes(),h=r.dataMax,e=r.dataMin,f(e)&&f(h)&&(n.dataMin=Math.min(u(n.dataMin,e),e),n.dataMax=Math.max(u(n.dataMax,h),h)),f(c)&&(n.threshold=c),(!s.softThreshold||n.positiveValuesOnly)&&(n.softThreshold=!1)))})});e(this,"afterGetSeriesExtremes")},translate:function(n,t,i,r,u,f){var e=this.linkedParent||this,s=1,c=0,h=r?e.oldTransA:e.transA,l;return r=r?e.oldMin:e.min,l=e.minPixelPadding,u=(e.isOrdinal||e.isBroken||e.isLog&&u)&&e.lin2val,h||(h=e.transA),i&&(s*=-1,c=e.len),e.reversed&&(c-=(s*=-1)*(e.sector||e.len)),t?(n=(n*s+c-l)/h+r,u&&(n=e.lin2val(n))):(u&&(n=e.val2lin(n)),n=o(r)?s*(n-r)*h+c+s*l+(o(f)?h*f:0):void 0),n},toPixels:function(n,t){return this.translate(n,!1,!this.horiz,null,!0)+(t?0:this.pos)},toValue:function(n,t){return this.translate(n-(t?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(n){var r,f,c,l,v,t=this,s=t.chart,y=t.left,w=t.top,a=n.old,b=n.value,i=n.translatedValue,k=n.lineWidth,h=n.force,d=a&&s.oldChartHeight||s.chartHeight,tt=a&&s.oldChartWidth||s.chartWidth,g=t.transB,nt=function(n,t,i){return("pass"!==h&&n<t||n>i)&&(h?n=p(n,t,i):v=!0),n};return n={value:b,lineWidth:k,old:a,force:h,acrossPanes:n.acrossPanes,translatedValue:i},e(this,"getPlotLinePath",n,function(n){i=u(i,t.translate(b,null,null,a));i=p(i,-1e5,1e5);r=c=Math.round(i+g);f=l=Math.round(d-i-g);o(i)?t.horiz?(f=w,l=d-t.bottom,r=c=nt(r,y,y+t.width)):(r=y,c=tt-t.right,f=l=nt(f,w,w+t.height)):(v=!0,h=!1);n.path=v&&!h?null:s.renderer.crispLine(["M",r,f,"L",c,l],k||1)}),n.path},getLinearTickPositions:function(n,t,i){var r=s(Math.floor(t/n)*n),f,u,e;if(i=s(Math.ceil(i/n)*n),u=[],s(r+n)===r&&(f=20),this.single)return[t];for(t=r;t<=i&&(u.push(t),(t=s(t+n,f))!==e);)e=t;return u},getMinorTickInterval:function(){var n=this.options;return!0===n.minorTicks?u(n.minorTickInterval,"auto"):!1===n.minorTicks?null:n.minorTickInterval},getMinorTickPositions:function(){var n=this,i=n.options,o=n.tickPositions,r=n.minorTickInterval,t=[],u=n.pointRangePadding||0,f=n.min-u,e=(u=n.max+u)-f;if(e&&e/r<n.len/3)if(n.isLog)this.paddedTicks.forEach(function(i,u,f){u&&t.push.apply(t,n.getLogTickPositions(r,f[u-1],f[u],!0))});else if(n.isDatetimeAxis&&"auto"===this.getMinorTickInterval())t=t.concat(n.getTimeTicks(n.normalizeTimeTickInterval(r),f,u,i.startOfWeek));else for(i=f+(o[0]-f)%r;i<=u&&i!==t[0];i+=r)t.push(i);return 0!==t.length&&n.trimTicks(t),t},adjustForMinRange:function(){var s,e,c,h,o=this.options,n=this.min,t=this.max;if(this.isXAxis&&void 0===this.minRange&&!this.isLog&&(f(o.min)||f(o.max)?this.minRange=null:(this.series.forEach(function(n){for(h=n.xData,e=n.xIncrement?1:h.length-1;0<e;e--)c=h[e]-h[e-1],(void 0===s||c<s)&&(s=c)}),this.minRange=Math.min(5*s,this.dataMax-this.dataMin))),t-n<this.minRange){var l=this.dataMax-this.dataMin>=this.minRange,r=this.minRange,i=(r-t+n)/2;i=[n-i,u(o.min,n-i)];l&&(i[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin);t=[(n=y(i))+r,u(o.max,n+r)];l&&(t[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax);(t=tt(t))-n<r&&(i[0]=t-r,i[1]=u(o.min,t-r),n=y(i))}this.min=n;this.max=t},getClosest:function(){var n;return this.categories?n=1:this.series.forEach(function(t){var i=t.closestPointRange,r=t.visible||!t.chart.options.chart.ignoreHiddenSeries;!t.noSharedTooltip&&f(i)&&r&&(n=f(n)?Math.min(n,i):i)}),n},nameToX:function(n){var r=ut(this.categories),e=r?this.categories:this.names,i=n.options.x,t;return(n.series.requireSorting=!1,f(i)||(i=!1===this.options.uniqueNames?n.series.autoIncrement():r?e.indexOf(n.name):u(e.keys[n.name],-1)),-1===i)?r||(t=e.length):t=i,void 0!==t&&(this.names[t]=n.name,this.names.keys[n.name]=t),t},updateNames:function(){var t=this,n=this.names;0<n.length&&(Object.keys(n.keys).forEach(function(t){delete n.keys[t]}),n.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(n){n.xIncrement=null;n.points&&!n.isDirtyData||(t.max=Math.max(t.max,n.xData.length-1),n.processData(),n.generatePoints());n.data.forEach(function(i,r){if(i&&i.options&&void 0!==i.name){var u=t.nameToX(i);void 0!==u&&u!==i.x&&(i.x=u,n.xData[r]=u)}})}))},setAxisTranslation:function(n){var t=this,a=t.max-t.min,h=t.axisPointRange||0,r=0,f=0,i=t.linkedParent,c=!!t.categories,l=t.transA,o=t.isXAxis,s;(o||c||h)&&(s=t.getClosest(),i?(r=i.minPointOffset,f=i.pointRangePadding):t.series.forEach(function(n){var i=c?1:o?u(n.options.pointRange,s,0):t.axisPointRange||0,e=n.options.pointPlacement;h=Math.max(h,i);t.single&&!c||(n=n.is("xrange")?!o:o,r=Math.max(r,n&&b(e)?0:i/2),f=Math.max(f,n&&"on"===e?0:i))}),i=t.ordinalSlope&&s?t.ordinalSlope/s:1,t.minPointOffset=r*=i,t.pointRangePadding=f*=i,t.pointRange=Math.min(h,t.single&&c?1:a),o&&(t.closestPointRange=s));n&&(t.oldTransA=l);t.translationSlope=t.transA=l=t.staticScale||t.len/(a+f||1);t.transB=t.horiz?t.left:t.bottom;t.minPixelPadding=l*r;e(this,"afterSetAxisTranslation")},minFromRange:function(){return this.max-this.range},setTickInterval:function(n){var t=this,c=t.chart,i=t.options,g=t.isLog,nt=t.isDatetimeAxis,ut=t.isXAxis,p=t.isLinked,w=i.maxPadding,b=i.minPadding,a=i.tickInterval,k=i.tickPixelInterval,d=t.categories,r=o(t.threshold)?t.threshold:null,tt=t.softThreshold,v,y,h,it;nt||d||p||this.getTickAmount();v=u(t.userMin,i.min);y=u(t.userMax,i.max);p?(t.linkedParent=c[t.coll][i.linkedTo],h=t.linkedParent.getExtremes(),t.min=u(h.min,h.dataMin),t.max=u(h.max,h.dataMax),i.type!==t.linkedParent.options.type&&l(11,1,c)):(!tt&&f(r)&&(t.dataMin>=r?(h=r,b=0):t.dataMax<=r&&(it=r,w=0)),t.min=u(v,h,t.dataMin),t.max=u(y,it,t.dataMax));g&&(t.positiveValuesOnly&&!n&&0>=Math.min(t.min,u(t.dataMin,t.min))&&l(10,1,c),t.min=s(t.log2lin(t.min),16),t.max=s(t.log2lin(t.max),16));t.range&&f(t.max)&&(t.userMin=t.min=v=Math.max(t.dataMin,t.minFromRange()),t.userMax=y=t.max,t.range=null);e(t,"foundExtremes");t.beforePadding&&t.beforePadding();t.adjustForMinRange();!(d||t.axisPointRange||t.usePercentage||p)&&f(t.min)&&f(t.max)&&(c=t.max-t.min)&&(!f(v)&&b&&(t.min-=c*b),!f(y)&&w&&(t.max+=c*w));o(t.userMin)||(o(i.softMin)&&i.softMin<t.min&&(t.min=v=i.softMin),o(i.floor)&&(t.min=Math.max(t.min,i.floor)));o(t.userMax)||(o(i.softMax)&&i.softMax>t.max&&(t.max=y=i.softMax),o(i.ceiling)&&(t.max=Math.min(t.max,i.ceiling)));tt&&f(t.dataMin)&&(r=r||0,!f(v)&&t.min<r&&t.dataMin>=r?t.min=t.options.minRange?Math.min(r,t.max-t.minRange):r:!f(y)&&t.max>r&&t.dataMax<=r&&(t.max=t.options.minRange?Math.max(r,t.min+t.minRange):r));t.tickInterval=t.min===t.max||void 0===t.min||void 0===t.max?1:p&&!a&&k===t.linkedParent.options.tickPixelInterval?a=t.linkedParent.tickInterval:u(a,this.tickAmount?(t.max-t.min)/Math.max(this.tickAmount-1,1):void 0,d?1:(t.max-t.min)*k/Math.max(t.len,k));ut&&!n&&t.series.forEach(function(n){n.processData(t.min!==t.oldMin||t.max!==t.oldMax)});t.setAxisTranslation(!0);t.beforeSetTickPositions&&t.beforeSetTickPositions();t.postProcessTickInterval&&(t.tickInterval=t.postProcessTickInterval(t.tickInterval));t.pointRange&&!a&&(t.tickInterval=Math.max(t.pointRange,t.tickInterval));n=u(i.minTickInterval,t.isDatetimeAxis&&t.closestPointRange);!a&&t.tickInterval<n&&(t.tickInterval=n);nt||g||a||(t.tickInterval=et(t.tickInterval,null,rt(t.tickInterval),u(i.allowDecimals,!(.5<t.tickInterval&&5>t.tickInterval&&1e3<t.max&&9999>t.max)),!!this.tickAmount));this.tickAmount||(t.tickInterval=t.unsquish());this.setTickPositions()},setTickPositions:function(){var t=this.options,r=t.tickPositions,n=this.getMinorTickInterval(),i=t.tickPositioner,u=t.startOnTick,o=t.endOnTick;this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n;this.single=this.min===this.max&&f(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals);this.tickPositions=n=r&&r.slice();!n&&(!this.ordinalPositions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)?(n=[this.min,this.max],l(19,!1,this.chart)):n=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),n.length>this.len&&(n=[n[0],n.pop()])[0]===n[1]&&(n.length=1),this.tickPositions=n,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=n=i);this.paddedTicks=n.slice(0);this.trimTicks(n,u,o);this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some(function(n){return n.is("heatmap")&&"between"===n.options.pointPlacement})&&(this.min-=.5,this.max+=.5),r||i||this.adjustTickAmount());e(this,"afterSetTickPositions")},trimTicks:function(n,t,i){var r=n[0],u=n[n.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(e(this,"trimTicks"),!this.isLinked){if(t&&-1/0!==r)this.min=r;else for(;this.min-o>n[0];)n.shift();if(i)this.max=u;else for(;this.max+o<n[n.length-1];)n.pop();0===n.length&&f(r)&&!this.options.tickPositions&&n.push((u+r)/2)}},alignToOthers:function(){var t,i={},n=this.options;return!1===this.chart.options.chart.alignTicks||!1===n.alignTicks||!1===n.startOnTick||!1===n.endOnTick||this.isLog||this.chart[this.coll].forEach(function(n){var r=n.options;r=[n.horiz?r.left:r.top,r.width,r.height,r.pane].join();n.series.length&&(i[r]?t=!0:i[r]=1)}),t},getTickAmount:function(){var t=this.options,n=t.tickAmount,i=t.tickPixelInterval;!f(t.tickInterval)&&this.len<i&&!this.isRadial&&!this.isLog&&t.startOnTick&&t.endOnTick&&(n=2);!n&&this.alignToOthers()&&(n=Math.ceil(this.len/i)+1);4>n&&(this.finalTickAmt=n,n=5);this.tickAmount=n},adjustTickAmount:function(){var h,i=this.options,t=this.tickInterval,n=this.tickPositions,r=this.tickAmount,e=this.finalTickAmt,o=n&&n.length,c=u(this.threshold,this.softThreshold?0:null);if(this.hasData()){if(o<r){for(h=this.min;n.length<r;)n.length%2||h===c?n.push(s(n[n.length-1]+t)):n.unshift(s(n[0]-t));this.transA*=(o-1)/(r-1);this.min=i.startOnTick?n[0]:Math.min(this.min,n[0]);this.max=i.endOnTick?n[n.length-1]:Math.max(this.max,n[n.length-1])}else o>r&&(this.tickInterval*=2,this.setTickPositions());if(f(e)){for(t=i=n.length;t--;)(3===e&&1==t%2||2>=e&&0<t&&t<i-1)&&n.splice(t,1);this.finalTickAmt=void 0}}},setScale:function(){var n,t=this.series.some(function(n){return n.isDirtyData||n.isDirty||n.xAxis&&n.xAxis.isDirty});this.oldMin=this.min;this.oldMax=this.max;this.oldAxisLength=this.len;this.setAxisSize();(n=this.len!==this.oldAxisLength)||t||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax||this.alignToOthers()?(this.resetStacks&&this.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=n||this.min!==this.oldMin||this.max!==this.oldMax)):this.cleanStacks&&this.cleanStacks();e(this,"afterSetScale")},setExtremes:function(n,t,i,r,f){var o=this,s=o.chart;i=u(i,!0);o.series.forEach(function(n){delete n.kdTree});f=a(f,{min:n,max:t});e(o,"setExtremes",f,function(){o.userMin=n;o.userMax=t;o.eventArgs=f;i&&s.redraw(r)})},zoom:function(n,t){var o=this.dataMin,s=this.dataMax,h=this.options,i=Math.min(o,u(h.min,o)),r=Math.max(s,u(h.max,s));return e(this,"zoom",n={newMin:n,newMax:t},function(n){var t=n.newMin,u=n.newMax;t===this.min&&u===this.max||(this.allowZoomOutside||(f(o)&&(t<i&&(t=i),t>r&&(t=r)),f(s)&&(u<i&&(u=i),u>r&&(u=r))),this.displayBtn=void 0!==t||void 0!==u,this.setExtremes(t,u,!1,void 0,{trigger:"zoom"}));n.zoomed=!0}),n.zoomed},setAxisSize:function(){var n=this.chart,t=this.options,i=t.offsets||[0,0,0,0],r=this.horiz,f=this.width=Math.round(c(u(t.width,n.plotWidth-i[3]+i[1]),n.plotWidth)),e=this.height=Math.round(c(u(t.height,n.plotHeight-i[0]+i[2]),n.plotHeight)),o=this.top=Math.round(c(u(t.top,n.plotTop+i[0]),n.plotHeight,n.plotTop));t=this.left=Math.round(c(u(t.left,n.plotLeft+i[3]),n.plotWidth,n.plotLeft));this.bottom=n.chartHeight-e-o;this.right=n.chartWidth-f-t;this.len=Math.max(r?f:e,0);this.pos=r?t:o},getExtremes:function(){var n=this.isLog;return{min:n?s(this.lin2log(this.min)):this.min,max:n?s(this.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(n){var t=this.isLog,i=t?this.lin2log(this.min):this.min;return t=t?this.lin2log(this.max):this.max,null===n||-1/0===n?n=i:1/0===n?n=t:i>n?n=i:t<n&&(n=t),this.translate(n,0,1,0,1)},autoLabelAlign:function(n){var t=(u(n,0)-90*this.side+720)%360;return e(this,"autoLabelAlign",n={align:"center"},function(n){15<t&&165>t?n.align="right":195<t&&345>t&&(n.align="left")}),n.align},tickSize:function(n){var i=this.options,t=i[n+"Length"],r=u(i[n+"Width"],"tick"===n&&this.isXAxis&&!this.categories?1:0),f;return r&&t&&("inside"===i[n+"Position"]&&(t=-t),f=[t,r]),e(this,"afterTickSize",n={tickSize:f}),n.tickSize},labelMetrics:function(){var n=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[n]&&this.ticks[n].label)},unsquish:function(){var c,l,r,n=this.options.labels,p=this.horiz,t=this.tickInterval,e=t,o=this.len/(((this.categories?1:0)+this.max-this.min)/t),i=n.rotation,a=this.labelMetrics(),v=Number.MAX_VALUE,h=this.max-this.min,y=function(n){var i=n/(o||1);return(i=1<i?Math.ceil(i):1)*t>h&&1/0!==n&&1/0!==o&&h&&(i=Math.ceil(h/t)),s(i*t)};return p?(r=!n.staggerLines&&!n.step&&(f(i)?[i]:o<u(n.autoRotationLimit,80)&&n.autoRotation))&&r.forEach(function(n){if(n===i||n&&-90<=n&&90>=n){var t=(l=y(Math.abs(a.h/Math.sin(ct*n))))+Math.abs(n/360);t<v&&(v=t,c=n,e=l)}}):n.step||(e=y(a.h)),this.autoRotation=r,this.labelRotation=u(c,i),e},getSlotWidth:function(n){var i=this.chart,r=this.horiz,t=this.options.labels,f=Math.max(this.tickPositions.length-(this.categories?0:1),1),u=i.margin[3];return n&&n.slotWidth||r&&2>(t.step||0)&&!t.rotation&&(this.staggerLines||1)*this.len/f||!r&&(t.style&&parseInt(t.style.width,10)||u&&u-i.spacing[3]||.33*i.chartWidth)},renderUnsquish:function(){var h=this.chart,y=h.renderer,u=this.tickPositions,c=this.ticks,t=this.options.labels,v=t&&t.style||{},p=this.horiz,o=this.getSlotWidth(),f=Math.max(1,Math.round(o-2*(t.padding||5))),r={},s=this.labelMetrics(),l=t.style&&t.style.textOverflow,i=0,e,a,n;if(b(t.rotation)||(r.rotation=t.rotation||0),u.forEach(function(n){(n=c[n]).movedLabel&&n.replaceMovedLabel();n&&n.label&&n.label.textPxLength>i&&(i=n.label.textPxLength)}),this.maxLabelLength=i,this.autoRotation)i>f&&i>s.h?r.rotation=this.labelRotation:this.labelRotation=0;else if(o&&(e=f,!l))for(a="clip",f=u.length;!p&&f--;)n=u[f],(n=c[n].label)&&(n.styles&&"ellipsis"===n.styles.textOverflow?n.css({textOverflow:"clip"}):n.textPxLength>o&&n.css({width:o+"px"}),n.getBBox().height>this.len/u.length-(s.h-s.f)&&(n.specificTextOverflow="ellipsis"));r.rotation&&(e=i>.5*h.chartHeight?.33*h.chartHeight:i,l||(a="ellipsis"));(this.labelAlign=t.align||this.autoLabelAlign(this.labelRotation))&&(r.align=this.labelAlign);u.forEach(function(n){var t=(n=c[n])&&n.label,u=v.width,i={};t&&(t.attr(r),n.shortenLabel?n.shortenLabel():e&&!u&&"nowrap"!==v.whiteSpace&&(e<t.textPxLength||"SPAN"===t.element.tagName)?(i.width=e,l||(i.textOverflow=t.specificTextOverflow||a),t.css(i)):t.styles&&t.styles.width&&!i.width&&!u&&t.css({width:null}),delete t.specificTextOverflow,n.rotation=r.rotation)},this);this.tickRotCorr=y.rotCorr(s.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.series.some(function(n){return n.hasData()})||this.options.showEmpty&&f(this.min)&&f(this.max)},addTitle:function(n){var i,f=this.chart.renderer,e=this.horiz,r=this.opposite,t=this.options.title,u=this.chart.styledMode;this.axisTitle||((i=t.textAlign)||(i=(e?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[t.align]),this.axisTitle=f.text(t.text,0,0,t.useHTML).attr({zIndex:7,rotation:t.rotation||0,align:i}).addClass("highcharts-axis-title"),u||this.axisTitle.css(v(t.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);u||t.style.width||this.isRadial||this.axisTitle.css({width:this.len});this.axisTitle[n?"show":"hide"](n)},generateTick:function(n){var t=this.ticks;t[n]?t[n].addLabel():t[n]=new i(this,n)},getOffset:function(){var k,n=this,r=n.chart,a=r.renderer,i=n.options,v=n.tickPositions,w=n.ticks,s=n.horiz,t=n.side,tt=r.inverted&&!n.isZAxis?[1,0,3,2][t]:t,it=0,o=0,c=i.title,y=i.labels,l=0,b=r.axisOffset,nt;r=r.clipOffset;var p=[-1,1,1,-1][t],d=i.className,g=n.axisParent,rt=n.hasData();(n.showAxis=k=rt||u(i.showEmpty,!0),n.staggerLines=n.horiz&&y.staggerLines,n.axisGroup||(n.gridGroup=a.g("grid").attr({zIndex:i.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(d||"")).add(g),n.axisGroup=a.g("axis").attr({zIndex:i.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(d||"")).add(g),n.labelGroup=a.g("axis-labels").attr({zIndex:y.zIndex||7}).addClass("highcharts-"+n.coll.toLowerCase()+"-labels "+(d||"")).add(g)),rt||n.isLinked?(v.forEach(function(t,i){n.generateTick(t,i)}),n.renderUnsquish(),n.reserveSpaceDefault=0===t||2===t||{1:"left",3:"right"}[t]===n.labelAlign,u(y.reserveSpace,"center"===n.labelAlign||null,n.reserveSpaceDefault)&&v.forEach(function(n){l=Math.max(w[n].getLabelSize(),l)}),n.staggerLines&&(l*=n.staggerLines),n.labelOffset=l*(n.opposite?-1:1)):h(w,function(n,t){n.destroy();delete w[t]}),c&&c.text&&!1!==c.enabled&&(n.addTitle(k),k&&!1!==c.reserveSpace))&&(n.titleOffset=it=n.axisTitle.getBBox()[s?"height":"width"],nt=c.offset,o=f(nt)?0:u(c.margin,s?5:10));n.renderLine();n.offset=p*u(i.offset,b[t]?b[t]+(i.margin||0):0);n.tickRotCorr=n.tickRotCorr||{x:0,y:0};a=0===t?-n.labelMetrics().h:2===t?n.tickRotCorr.y:0;o=Math.abs(l)+o;l&&(o=o-a+p*(s?u(y.y,n.tickRotCorr.y+8*p):y.x));n.axisTitleMargin=u(nt,o);n.getMaxLabelDimensions&&(n.maxLabelDimensions=n.getMaxLabelDimensions(w,v));s=this.tickSize("tick");b[t]=Math.max(b[t],n.axisTitleMargin+it+p*n.offset,o,v&&v.length&&s?s[0]+p*n.offset:0);i=i.offset?0:2*Math.floor(n.axisLine.strokeWidth()/2);r[tt]=Math.max(r[tt],i);e(this,"afterGetOffset")},getLinePath:function(n){var i=this.chart,u=this.opposite,t=this.offset,r=this.horiz,f=this.left+(u?this.width:0)+t;return t=i.chartHeight-this.bottom-(u?this.height:0)+t,u&&(n*=-1),i.renderer.crispLine(["M",r?this.left:f,r?t:this.top,"L",r?i.chartWidth-this.right:f,r?t:i.chartHeight-this.bottom],n)},renderLine:function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},getTitlePosition:function(){var n=this.horiz,r=this.left,s=this.top,t=this.len,u=this.options.title,f=n?r:s,o=this.opposite,h=this.offset,c=u.x||0,l=u.y||0,i=this.axisTitle,a=this.chart.renderer.fontMetrics(u.style&&u.style.fontSize,i);return i=Math.max(i.getBBox(null,0).height-a.h-1,0),t={low:f+(n?0:t),middle:f+t/2,high:f+(n?t:0)}[u.align],r=(n?s+this.height:r)+(n?1:-1)*(o?-1:1)*this.axisTitleMargin+[-i,i,a.f,-i][this.side],n={x:n?t+c:r+(o?this.width:0)+h+c,y:n?r+l-(o?this.height:0)+h:t+l},e(this,"afterGetTitlePosition",{titlePosition:n}),n},renderMinorTick:function(n){var r=this.chart.hasRendered&&o(this.oldMin),t=this.minorTicks;t[n]||(t[n]=new i(this,n,"minor"));r&&t[n].isNew&&t[n].render(null,!0);t[n].render(null,!1,1)},renderTick:function(n,t){var u=this.isLinked,r=this.ticks,f=this.chart.hasRendered&&o(this.oldMin);(!u||n>=this.min&&n<=this.max)&&(r[n]||(r[n]=new i(this,n)),f&&r[n].isNew&&r[n].render(t,!0,-1),r[n].render(t))},render:function(){var y,v,t=this,p=t.chart,u=t.options,b=t.isLog,tt=t.isLinked,l=t.tickPositions,f=t.axisTitle,a=t.ticks,k=t.minorTicks,r=t.alternateBands,d=u.stackLabels,g=u.alternateGridColor,s=t.tickmarkOffset,c=t.axisLine,w=t.showAxis,it=nt(p.renderer.globalAnimation);t.labelEdge.length=0;t.overlap=!1;[a,k,r].forEach(function(n){h(n,function(n){n.isActive=!1})});(t.hasData()||tt)&&(t.minorTickInterval&&!t.categories&&t.getMinorTickPositions().forEach(function(n){t.renderMinorTick(n)}),l.length&&(l.forEach(function(n,i){t.renderTick(n,i)}),s&&(0===t.min||t.single)&&(a[-1]||(a[-1]=new i(t,-1,null,!0)),a[-1].render(-1))),g&&l.forEach(function(i,u){v=void 0!==l[u+1]?l[u+1]+s:t.max-s;0==u%2&&i<t.max&&v<=t.max+(p.polar?-s:s)&&(r[i]||(r[i]=new n.PlotLineOrBand(t)),y=i+s,r[i].options={from:b?t.lin2log(y):y,to:b?t.lin2log(v):v,color:g},r[i].render(),r[i].isActive=!0)}),t._addedPlotLB||((u.plotLines||[]).concat(u.plotBands||[]).forEach(function(n){t.addPlotBandOrLine(n)}),t._addedPlotLB=!0));[a,k,r].forEach(function(n){var t,i=[],u=it.duration;h(n,function(n,t){n.isActive||(n.render(t,!1,0),n.isActive=!1,i.push(t))});ht(function(){for(t=i.length;t--;)n[i[t]]&&!n[i[t]].isActive&&(n[i[t]].destroy(),delete n[i[t]])},n!==r&&p.hasRendered&&u?u:0)});c&&(c[c.isPlaced?"animate":"attr"]({d:this.getLinePath(c.strokeWidth())}),c.isPlaced=!0,c[w?"show":"hide"](w));f&&w&&(u=t.getTitlePosition(),o(u.y)?(f[f.isNew?"attr":"animate"](u),f.isNew=!1):(f.attr("y",-9999),f.isNew=!0));d&&d.enabled&&t.renderStackTotals();t.isDirty=!1;e(this,"afterRender")},redraw:function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(n){n.render()}));this.series.forEach(function(n){n.isDirty=!0})},keepProps:"extKey hcEvents names series userMax userMin".split(" "),destroy:function(n){var i,t=this,u=t.stacks,r=t.plotLinesAndBands;if(e(this,"destroy",{keepEvents:n}),n||ot(t),h(u,function(n,t){w(n);u[t]=null}),[t.ticks,t.minorTicks,t.alternateBands].forEach(function(n){w(n)}),r)for(n=r.length;n--;)r[n].destroy();for(i in"stackTotalGroup axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(n){t[n]&&(t[n]=t[n].destroy())}),t.plotLinesAndBandsGroups)t.plotLinesAndBandsGroups[i]=t.plotLinesAndBandsGroups[i].destroy();h(t,function(n,i){-1===t.keepProps.indexOf(i)&&delete t[i]})},drawCrosshair:function(n,t){var h,i=this.crosshair,r=u(i.snap,!0),o=this.cross,c=this.chart,s;if(e(this,"drawCrosshair",{e:n,point:t}),n||(n=this.cross&&this.cross.e),this.crosshair&&!1!==(f(t)||!r)){if((r?f(t)&&(h=u("colorAxis"!==this.coll?t.crosshairPos:null,this.isXAxis?t.plotX:this.len-t.plotY)):h=n&&(this.horiz?n.chartX-this.pos:this.len-n.chartY+this.pos),f(h))&&(s={value:t&&(this.isXAxis?t.x:u(t.stackY,t.y)),translatedValue:h},c.polar&&a(s,{isCrosshair:!0,chartX:n&&n.chartX,chartY:n&&n.chartY,point:t}),s=this.getPlotLinePath(s)||null),!f(s))return void this.hideCrosshair();r=this.categories&&!this.isRadial;o||(this.cross=o=c.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(r?"category ":"thin ")+i.className).attr({zIndex:u(i.zIndex,2)}).add(),c.styledMode||(o.attr({stroke:i.color||(r?d("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":u(i.width,1)}).css({"pointer-events":"none"}),i.dashStyle&&o.attr({dashstyle:i.dashStyle})));o.show().attr({d:s});r&&!i.width&&o.attr({"stroke-width":this.transA});this.cross.e=n}else this.hideCrosshair();e(this,"afterDrawCrosshair",{e:n,point:t})},hideCrosshair:function(){this.cross&&this.cross.hide();e(this,"afterHideCrosshair")}}),n.Axis=t}),i(t,"parts/DateTimeAxis.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var r=t.getMagnitude,u=t.normalizeTickInterval,i=t.timeUnits;(n=n.Axis).prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};n.prototype.normalizeTimeTickInterval=function(n,t){var e=t||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],o,f,s;for(t=e[e.length-1],f=i[t[0]],s=t[1],o=0;o<e.length&&(t=e[o],f=i[t[0]],s=t[1],!(e[o+1]&&n<=(f*s[s.length-1]+i[e[o+1][0]])/2));o++);return f===i.year&&n<5*f&&(s=[1,2,5]),{unitRange:f,count:n=u(n/f,s,"year"===t[0]?Math.max(r(n/f),1):1),unitName:t[0]}}}),i(t,"parts/LogarithmicAxis.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var i=t.getMagnitude,r=t.normalizeTickInterval,u=t.pick;(n=n.Axis).prototype.getLogTickPositions=function(n,t,f,e){var s=this.options,o=this.len,c=[],l,a,y,v,h;if(e||(this._minorAutoInterval=null),.5<=n)n=Math.round(n),c=this.getLinearTickPositions(n,t,f);else if(.08<=n)for(o=Math.floor(t),s=.3<n?[1,2,4]:.15<n?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];o<f+1&&!a;o++)for(y=s.length,l=0;l<y&&!a;l++)v=this.log2lin(this.lin2log(o)*s[l]),v>t&&(!e||h<=f)&&void 0!==h&&c.push(h),h>f&&(a=!0),h=v;else t=this.lin2log(t),f=this.lin2log(f),n=e?this.getMinorTickInterval():s.tickInterval,n=u("auto"===n?null:n,this._minorAutoInterval,s.tickPixelInterval/(e?5:1)*(f-t)/((e?o/this.tickPositions.length:o)||1)),n=r(n,null,i(n)),c=this.getLinearTickPositions(n,t,f).map(this.log2lin),e||(this._minorAutoInterval=n/5);return e||(this.tickInterval=n),c};n.prototype.log2lin=function(n){return Math.log(n)/Math.LN10};n.prototype.lin2log=function(n){return Math.pow(10,n)}}),i(t,"parts/PlotLineOrBand.js",[t["parts/Globals.js"],t["parts/Axis.js"],t["parts/Utilities.js"]],function(n,t,i){var u=i.arrayMax,f=i.arrayMin,r=i.defined,h=i.destroyObjectProperties,e=i.erase,c=i.extend,l=i.merge,a=i.objectEach,o=i.pick,s=function(){function t(n,t){this.axis=n;t&&(this.options=t,this.id=t.id)}return t.prototype.render=function(){n.fireEvent(this,"render");var s=this,u=s.axis,c=u.horiz,i=s.options,h=i.label,v=s.label,p=i.to,w=i.from,b=i.value,f=r(w)&&r(p),nt=r(b),e=s.svgElem,tt=!e,t=[],y=i.color,d=o(i.zIndex,0),g=i.events;t={"class":"highcharts-plot-"+(f?"band ":"line ")+(i.className||"")};var it={},rt=u.chart.renderer,k=f?"bands":"lines";if(u.isLog&&(w=u.log2lin(w),p=u.log2lin(p),b=u.log2lin(b)),u.chart.styledMode||(nt?(t.stroke=y||"#999999",t["stroke-width"]=o(i.width,1),i.dashStyle&&(t.dashstyle=i.dashStyle)):f&&(t.fill=y||"#e6ebf5",i.borderWidth&&(t.stroke=i.borderColor,t["stroke-width"]=i.borderWidth))),it.zIndex=d,k+="-"+d,(y=u.plotLinesAndBandsGroups[k])||(u.plotLinesAndBandsGroups[k]=y=rt.g("plot-"+k).attr(it).add()),tt&&(s.svgElem=e=rt.path().attr(t).add(y)),nt)t=u.getPlotLinePath({value:b,lineWidth:e.strokeWidth(),acrossPanes:i.acrossPanes});else{if(!f)return;t=u.getPlotBandPath(w,p,i)}return(tt||!e.d)&&t&&t.length?(e.attr({d:t}),g&&a(g,function(n,t){e.on(t,function(n){g[t].apply(s,[n])})})):e&&(t?(e.show(!0),e.animate({d:t})):e.d&&(e.hide(),v&&(s.label=v=v.destroy()))),h&&(r(h.text)||r(h.formatter))&&t&&t.length&&0<u.width&&0<u.height&&!t.isFlat?(h=l({align:c&&f&&"center",x:c?!f&&4:10,verticalAlign:!c&&f&&"middle",y:c?f?16:10:f?6:-4,rotation:c&&!f&&90},h),this.renderLabel(h,t,f,d)):v&&v.hide(),s},t.prototype.renderLabel=function(n,t,i,r){var e=this.label,o=this.axis.chart.renderer;e||((e={align:n.textAlign||n.align,rotation:n.rotation,"class":"highcharts-plot-"+(i?"band":"line")+"-label "+(n.className||"")}).zIndex=r,r=this.getLabelText(n),this.label=e=o.text(r,0,0,n.useHTML).attr(e).add(),this.axis.chart.styledMode||e.css(n.style));o=t.xBounds||[t[1],t[4],i?t[6]:t[1]];t=t.yBounds||[t[2],t[5],i?t[7]:t[2]];i=f(o);r=f(t);e.align(n,!1,{x:i,y:r,width:u(o)-i,height:u(t)-r});e.show(!0)},t.prototype.getLabelText=function(n){return r(n.formatter)?n.formatter.call(this):n.text},t.prototype.destroy=function(){e(this.axis.plotLinesAndBands,this);delete this.axis;h(this)},t}();return c(t.prototype,{getPlotBandPath:function(n,t){var i=this.getPlotLinePath({value:t,force:!0,acrossPanes:this.options.acrossPanes}),r=this.getPlotLinePath({value:n,force:!0,acrossPanes:this.options.acrossPanes}),f=[],e=this.horiz,u=1,o;if(n=n<this.min&&t<this.min||n>this.max&&t>this.max,r&&i)for(n&&(o=r.toString()===i.toString(),u=0),n=0;n<r.length;n+=6)e&&i[n+1]===r[n+1]?(i[n+1]+=u,i[n+4]+=u):e||i[n+2]!==r[n+2]||(i[n+2]+=u,i[n+5]+=u),f.push("M",r[n+1],r[n+2],"L",r[n+4],r[n+5],i[n+4],i[n+5],i[n+1],i[n+2],"z"),f.isFlat=o;return f},addPlotBand:function(n){return this.addPlotBandOrLine(n,"plotBands")},addPlotLine:function(n){return this.addPlotBandOrLine(n,"plotLines")},addPlotBandOrLine:function(n,t){var i=new s(this,n).render(),u=this.userOptions,r;return i&&(t&&(r=u[t]||[],r.push(n),u[t]=r),this.plotLinesAndBands.push(i)),i},removePlotBandOrLine:function(n){for(var i=this.plotLinesAndBands,r=this.options,u=this.userOptions,t=i.length;t--;)i[t].id===n&&i[t].destroy();[r.plotLines||[],u.plotLines||[],r.plotBands||[],u.plotBands||[]].forEach(function(i){for(t=i.length;t--;)i[t].id===n&&e(i,i[t])})},removePlotBand:function(n){this.removePlotBandOrLine(n)},removePlotLine:function(n){this.removePlotBandOrLine(n)}}),n.PlotLineOrBand=s,n.PlotLineOrBand}),i(t,"parts/Tooltip.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var u=t.clamp,o=t.css,c=t.defined,l=t.discardElement,s=t.extend,a=t.format,v=t.isNumber,y=t.isString,h=t.merge,i=t.pick,f=t.splat,p=t.syncTimeout,e=t.timeUnits,r=n.doc,w=function(){function w(n,t){this.crosshairs=[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=n;this.init(n,t)}return w.prototype.applyFilter=function(){var n=this.chart;n.renderer.definition({tagName:"filter",id:"drop-shadow-"+n.index,opacity:.5,children:[{tagName:"feGaussianBlur","in":"SourceAlpha",stdDeviation:1},{tagName:"feOffset",dx:1,dy:1},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",type:"linear",slope:.3}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode","in":"SourceGraphic"}]}]});n.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+n.index+"{filter:url(#drop-shadow-"+n.index+")}"})},w.prototype.bodyFormatter=function(n){return n.map(function(n){var t=n.series.tooltipOptions;return(t[(n.point.formatPrefix||"point")+"Formatter"]||n.point.tooltipFormatter).call(n.point,t[(n.point.formatPrefix||"point")+"Format"]||"")})},w.prototype.cleanSplit=function(n){this.chart.series.forEach(function(t){var i=t&&t.tt;i&&(!i.isActive||n?t.tt=i.destroy():i.isActive=!1)})},w.prototype.defaultFormatter=function(n){var t=this.points||f(this),i=[n.tooltipFooterHeaderFormatter(t[0])];return(i=i.concat(n.bodyFormatter(t))).push(n.tooltipFooterHeaderFormatter(t[0],!0)),i},w.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),l(this.container));t.clearTimeout(this.hideTimer);t.clearTimeout(this.tooltipTimeout)},w.prototype.getAnchor=function(n,t){var o,s,i=this.chart,l=i.pointer,r=i.inverted,h=i.plotTop,c=i.plotLeft,u=0,e=0;return n=f(n),this.followPointer&&t?(void 0===t.chartX&&(t=l.normalize(t)),n=[t.chartX-c,t.chartY-h]):n[0].tooltipPos?n=n[0].tooltipPos:(n.forEach(function(n){o=n.series.yAxis;s=n.series.xAxis;u+=n.plotX+(!r&&s?s.left-c:0);e+=(n.plotLow?(n.plotLow+n.plotHigh)/2:n.plotY)+(!r&&o?o.top-h:0)}),u/=n.length,e/=n.length,n=[r?i.plotWidth-e:u,this.shared&&!r&&1<n.length&&t?t.chartY-h:r?i.plotHeight-u:e]),n.map(Math.round)},w.prototype.getDateFormat=function(n,t,i,r){var f=this.chart.time,s=f.dateFormat("%m-%d %H:%M:%S.%L",t),o={millisecond:15,second:12,minute:9,hour:6,day:3},h="millisecond",u,c;for(u in e){if(n===e.week&&+f.dateFormat("%w",t)===i&&"00:00:00.000"===s.substr(6)){u="week";break}if(e[u]>n){u=h;break}if(o[u]&&s.substr(o[u])!=="01-01 00:00:00.000".substr(o[u]))break;"week"!==u&&(h=u)}return u&&(c=f.resolveDTLFormat(r[u]).main),c},w.prototype.getLabel=function(){var u,i,r=this,f=this.chart.renderer,s=this.chart.styledMode,t=this.options,h="tooltip"+(c(t.className)?" "+t.className:""),l=(null===(u=t.style)||void 0===u?void 0:u.pointerEvents)||(!this.followPointer&&t.stickOnContact?"auto":"none"),e;return(u=function(){r.inContact=!0},this.label)||((this.outside&&(this.container=i=n.doc.createElement("div"),i.className="highcharts-tooltip-container",o(i,{position:"absolute",top:"1px",pointerEvents:l,zIndex:3}),n.doc.body.appendChild(i),this.renderer=f=new n.Renderer(i,0,0,{},void 0,void 0,f.styledMode)),this.split?this.label=f.g(h):(this.label=f.label("",0,0,t.shape||"callout",null,null,t.useHTML,null,h).attr({padding:t.padding,r:t.borderRadius}),s||this.label.attr({fill:t.backgroundColor,"stroke-width":t.borderWidth}).css(t.style).css({pointerEvents:l}).shadow(t.shadow)),s&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index)),r.outside&&!r.split)&&(e={x:this.label.xSetter,y:this.label.ySetter},this.label.xSetter=function(n,t){e[t].call(this.label,r.distance);i.style.left=n+"px"},this.label.ySetter=function(n,t){e[t].call(this.label,r.distance);i.style.top=n+"px"}),this.label.on("mouseenter",u).on("mouseleave",function(){var n=r.chart.hoverSeries;r.inContact=!1;n&&n.onMouseOut&&n.onMouseOut()}).attr({zIndex:8}).add()),this.label},w.prototype.getPosition=function(n,t,u){var c,f=this.chart,e=this.distance,o={},s=f.inverted&&u.h||0,l=this.outside,k=l?r.documentElement.clientWidth-2*e:f.chartWidth,d=l?Math.max(r.body.scrollHeight,r.documentElement.scrollHeight,r.body.offsetHeight,r.documentElement.offsetHeight,r.documentElement.clientHeight):f.chartHeight,g=f.pointer.getChartPosition(),h=f.containerScaling,a=function(n){return h?n*h.scaleX:n},v=function(n){return h?n*h.scaleY:n},nt=function(i){var r="x"===i;return[i,r?k:d,r?n:t].concat(l?[r?a(n):v(t),r?g.left-e+a(u.plotX+f.plotLeft):g.top-e+v(u.plotY+f.plotTop),0,r?k:d]:[r?n:t,r?u.plotX+f.plotLeft:u.plotY+f.plotTop,r?f.plotLeft:f.plotTop,r?f.plotLeft+f.plotWidth:f.plotTop+f.plotHeight])},y=nt("y"),p=nt("x"),tt=!this.followPointer&&i(u.ttBelow,!f.inverted==!!u.negative),it=function(n,t,i,r,u,f,h){var l="y"===n?v(e):a(e),y=(i-r)/2,p=r<u-e,w=u+e+r<t,c=u-l-i+y;if(u=u+l-y,tt&&w)o[n]=u;else if(!tt&&p)o[n]=c;else if(p)o[n]=Math.min(h-r,0>c-s?c:c-s);else{if(!w)return!1;o[n]=Math.max(f,u+s+i>t?u:u+s)}},rt=function(n,t,i,r,u){var f;return u<e||u>t-e?f=!1:o[n]=u<i/2?1:u>t-r/2?t-r-2:u-i/2,f},w=function(n){var t=y;y=p;p=t;c=n},b=function(){!1!==it.apply(0,y)?!1!==rt.apply(0,p)||c||(w(!0),b()):c?o.x=o.y=0:(w(!0),b())};return(f.inverted||1<this.len)&&w(),b(),o},w.prototype.getXDateFormat=function(n,t,i){t=t.dateTimeLabelFormats;var r=i&&i.closestPointRange;return(r?this.getDateFormat(r,n.x,i.options.startOfWeek,t):t.day)||t.year},w.prototype.hide=function(n){var r=this;t.clearTimeout(this.hideTimer);n=i(n,this.options.hideDelay,500);this.isHidden||(this.hideTimer=p(function(){r.getLabel()[n?"fadeOut":"hide"]();r.isHidden=!0},n))},w.prototype.init=function(n,t){this.chart=n;this.options=t;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=t.split&&!n.inverted&&!n.polar;this.shared=t.shared||this.split;this.outside=i(t.outside,!(!n.scrollablePixelsX&&!n.scrollablePixelsY))},w.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)},w.prototype.move=function(n,i,r,u){var f=this,e=f.now,o=!1!==f.options.animation&&!f.isHidden&&(1<Math.abs(n-e.x)||1<Math.abs(i-e.y)),h=f.followPointer||1<f.len;s(e,{x:o?(2*e.x+n)/3:n,y:o?(e.y+i)/2:i,anchorX:h?void 0:o?(2*e.anchorX+r)/3:r,anchorY:h?void 0:o?(e.anchorY+u)/2:u});f.getLabel().attr(e);f.drawTracker();o&&(t.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){f&&f.move(n,i,r,u)},32))},w.prototype.refresh=function(r,u){var o=this.chart,c=this.options,e=r,s={},a=[],h=c.formatter||this.defaultFormatter,v,l,y;s=this.shared;v=o.styledMode;c.enabled&&(t.clearTimeout(this.hideTimer),this.followPointer=f(e)[0].series.tooltipOptions.followPointer,l=this.getAnchor(e,u),u=l[0],y=l[1],!s||e.series&&e.series.noSharedTooltip?s=e.getLabelConfig():(o.pointer.applyInactiveState(e),e.forEach(function(n){n.setState("hover");a.push(n.getLabelConfig())}),(s={x:e[0].category,y:e[0].y}).points=a,e=e[0]),this.len=a.length,o=h.call(s,this),h=e.series,this.distance=i(h.tooltipOptions.distance,16),!1===o?this.hide():(this.split?this.renderSplit(o,f(r)):(r=this.getLabel(),c.style.width&&!v||r.css({width:this.chart.spacingBox.width}),r.attr({text:o&&o.join?o.join(""):o}),r.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+i(e.colorIndex,h.colorIndex)),v||r.attr({stroke:c.borderColor||e.color||h.color||"#666666"}),this.updatePosition({plotX:u,plotY:y,negative:e.negative,ttBelow:e.ttBelow,h:l[2]||0})),this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1),n.fireEvent(this,"refresh"))},w.prototype.renderSplit=function(t,r){function tt(n,t,i,r,f){return void 0===f&&(f=!0),i?(t=et?0:nt,n=u(n-r/2,h.left,h.right-r)):(t-=d,n=u(n=f?n-r-l:n+l,f?n:h.left,h.right)),{x:n,y:t}}var e=this,a=e.chart,f=e.chart,p=f.plotHeight,ot=f.plotLeft,w=f.plotTop,b=f.pointer,st=f.renderer,c=f.scrollablePixelsY,it=void 0===c?0:c,rt=(c=void 0===(c=f.scrollingContainer)?{scrollLeft:0,scrollTop:0}:c).scrollLeft,v=c.scrollTop,ut=f.styledMode,l=e.distance,o=e.options,k=e.options.positioner,h={left:rt,right:rt+f.chartWidth,top:v,bottom:v+f.chartHeight},ft=e.getLabel(),et=!(!a.xAxis[0]||!a.xAxis[0].opposite),d=w+v,g=0,nt=p-it;y(t)&&(t=[!1,t]);t=t.slice(0,r.length+1).reduce(function(n,t,f){var b,ht;if(!1!==t&&""!==t){var ct=(f=r[f-1]||{isHeader:!0,plotX:r[0].plotX,plotY:p,series:{}}).isHeader,rt=ct?e:f.series,s=rt.tt,y=f.isHeader,c=f.series,a="highcharts-color-"+i(f.colorIndex,c.colorIndex,"none");s||(s={padding:o.padding,r:o.borderRadius},ut||(s.fill=o.backgroundColor,s["stroke-width"]=o.borderWidth),s=st.label("",0,0,o[y?"headerShape":"shape"]||"callout",void 0,void 0,o.useHTML).addClass((y?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+a).attr(s).add(ft));s.isActive=!0;s.attr({text:t});ut||s.css(o.style).shadow(o.shadow).attr({stroke:o.borderColor||f.color||c.color||"#333333"});t=rt.tt=s;rt=(y=t.getBBox()).width+t.strokeWidth();ct&&(g=y.height,nt+=g,et&&(d-=g));c=void 0===(c=f.plotX)?0:c;a=void 0===(a=f.plotY)?0:a;b=f.series;f.isHeader?(c=ot+c,ht=w+p/2):(s=b.xAxis,b=b.yAxis,c=s.pos+u(c,-l,s.len+l),b.pos+a>=v+w&&b.pos+a<=v+w+p-it&&(ht=b.pos+a));c=u(c,h.left-l,h.right+l);"number"==typeof ht?(y=y.height+1,a=k?k.call(e,rt,y,f):tt(c,ht,ct,rt),n.push({align:k?0:void 0,anchorX:c,anchorY:ht,boxWidth:rt,point:f,rank:i(a.rank,ct?1:0),size:y,target:a.y,tt:t,x:a.x})):t.isActive=!1}return n},[]);!k&&t.some(function(n){return n.x<h.left})&&(t=t.map(function(n){var t=tt(n.anchorX,n.anchorY,n.point.isHeader,n.boxWidth,!1);return s(n,{target:t.y,x:t.x})}));e.cleanSplit();n.distribute(t,nt);t.forEach(function(n){var t=n.pos;n.tt.attr({visibility:void 0===t?"hidden":"inherit",x:n.x,y:t+d,anchorX:n.anchorX,anchorY:n.anchorY})});t=e.container;a=e.renderer;e.outside&&t&&a&&(f=ft.getBBox(),a.setSize(f.width+f.x,f.height+f.y,!1),b=b.getChartPosition(),t.style.left=b.left+"px",t.style.top=b.top+"px")},w.prototype.drawTracker=function(){var t,r;if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var u=this.chart,i=this.label,n=u.hoverPoint;i&&n&&(t={x:0,y:0,width:0,height:0},n=this.getAnchor(n),r=i.getBBox(),n[0]+=u.plotLeft-i.translateX,n[1]+=u.plotTop-i.translateY,t.x=Math.min(0,n[0]),t.y=Math.min(0,n[1]),t.width=0>n[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),t.height=0>n[1]?Math.max(Math.abs(n[1]),r.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),r.height),this.tracker?this.tracker.attr(t):(this.tracker=i.renderer.rect(t).addClass("highcharts-tracker").add(i),u.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"})))}},w.prototype.styledModeFormat=function(n){return n.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},w.prototype.tooltipFooterHeaderFormatter=function(t,i){var h=i?"footer":"header",u=t.series,e=u.tooltipOptions,f=e.xDateFormat,o=u.xAxis,s=o&&"datetime"===o.options.type&&v(t.key),r=e[h+"Format"];return i={isFooter:i,labelConfig:t},n.fireEvent(this,"headerFormatter",i,function(n){s&&!f&&(f=this.getXDateFormat(t,e,o));s&&f&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach(function(n){r=r.replace("{point."+n+"}","{point."+n+":"+f+"}")});u.chart.styledMode&&(r=this.styledModeFormat(r));n.text=a(r,{point:t,series:u},this.chart)}),i.text},w.prototype.update=function(n){this.destroy();h(!0,this.chart.options.tooltip.userOptions,n);this.init(this.chart,h(!0,this.options,n))},w.prototype.updatePosition=function(n){var t=this.chart,i=t.pointer,r=this.getLabel(),u=n.plotX+t.plotLeft,f=n.plotY+t.plotTop,e;(i=i.getChartPosition(),n=(this.options.positioner||this.getPosition).call(this,r.width,r.height,n),this.outside)&&(e=(this.options.borderWidth||0)+2*this.distance,this.renderer.setSize(r.width+e,r.height+e,!1),(t=t.containerScaling)&&(o(this.container,{transform:"scale("+t.scaleX+", "+t.scaleY+")"}),u*=t.scaleX,f*=t.scaleY),u+=i.left-n.x,f+=i.top-n.y);this.move(Math.round(n.x),Math.round(n.y||0),u,f)},w}();return n.Tooltip=w,n.Tooltip}),i(t,"parts/Pointer.js",[t["parts/Globals.js"],t["parts/Utilities.js"],t["parts/Tooltip.js"],t["parts/Color.js"]],function(n,t,i,r){var e=t.addEvent,y=t.attr,p=t.css,c=t.defined,o=t.extend,l=t.find,s=t.fireEvent,a=t.isNumber,h=t.isObject,w=t.objectEach,b=t.offset,u=t.pick,v=t.splat,k=r.parse,f=n.charts,d=n.noop;return t=function(){function t(n,t){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.chart=n;this.hasDragged=!1;this.options=t;this.unbindContainerMouseLeave=function(){};this.init(n,t)}return t.prototype.applyInactiveState=function(n){var t,i=[];(n||[]).forEach(function(n){t=n.series;i.push(t);t.linkedParent&&i.push(t.linkedParent);t.linkedSeries&&(i=i.concat(t.linkedSeries));t.navigatorSeries&&i.push(t.navigatorSeries)});this.chart.series.forEach(function(n){-1===i.indexOf(n)?n.setState("inactive",!0):n.options.inactiveOtherPoints&&n.setAllPointsToState("inactive")})},t.prototype.destroy=function(){var t=this;void 0!==t.unDocMouseMove&&t.unDocMouseMove();this.unbindContainerMouseLeave();n.chartCount||(n.unbindDocumentMouseUp&&(n.unbindDocumentMouseUp=n.unbindDocumentMouseUp()),n.unbindDocumentTouchEnd&&(n.unbindDocumentTouchEnd=n.unbindDocumentTouchEnd()));clearInterval(t.tooltipTimeout);w(t,function(n,i){t[i]=null})},t.prototype.drag=function(n){var i=this.chart,u=i.options.chart,t=n.chartX,f=n.chartY,y=this.zoomHor,p=this.zoomVert,e=i.plotLeft,o=i.plotTop,l=i.plotWidth,a=i.plotHeight,r=this.selectionMarker,s=this.mouseDownX||0,c=this.mouseDownY||0,w=h(u.panning)?u.panning&&u.panning.enabled:u.panning,b=u.panKey&&n[u.panKey+"Key"],v;r&&r.touch||!(t<e?t=e:t>e+l&&(t=e+l),f<o?f=o:f>o+a&&(f=o+a),this.hasDragged=Math.sqrt(Math.pow(s-t,2)+Math.pow(c-f,2)),10<this.hasDragged)||(v=i.isInsidePlot(s-e,c-o),i.hasCartesianSeries&&(this.zoomX||this.zoomY)&&v&&!b&&!r&&(this.selectionMarker=r=i.renderer.rect(e,o,y?1:l,p?1:a,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),i.styledMode||r.attr({fill:u.selectionMarkerFill||k("#335cad").setOpacity(.25).get()})),r&&y&&(t-=s,r.attr({width:Math.abs(t),x:(0<t?0:t)+s})),r&&p&&(t=f-c,r.attr({height:Math.abs(t),y:(0<t?0:t)+c})),v&&!r&&w&&i.pan(n,u.panning))},t.prototype.dragStart=function(n){var t=this.chart;t.mouseIsDown=n.type;t.cancelClick=!1;t.mouseDownX=this.mouseDownX=n.chartX;t.mouseDownY=this.mouseDownY=n.chartY},t.prototype.drop=function(n){var l=this,i=this.chart,r=this.hasPinched;if(this.selectionMarker){var u,f={originalEvent:n,xAxis:[],yAxis:[]},t=this.selectionMarker,e=t.attr?t.attr("x"):t.x,h=t.attr?t.attr("y"):t.y,v=t.attr?t.attr("width"):t.width,y=t.attr?t.attr("height"):t.height;(this.hasDragged||r)&&(i.axes.forEach(function(t){if(t.zoomEnabled&&c(t.min)&&(r||l[{xAxis:"zoomX",yAxis:"zoomY"}[t.coll]])){var i=t.horiz,o="touchend"===n.type?t.minPixelPadding:0,s=t.toValue((i?e:h)+o);i=t.toValue((i?e+v:h+y)-o);f[t.coll].push({axis:t,min:Math.min(s,i),max:Math.max(s,i)});u=!0}}),u&&s(i,"selection",f,function(n){i.zoom(o(n,r?{animation:!1}:null))}));a(i.index)&&(this.selectionMarker=this.selectionMarker.destroy());r&&this.scaleGroups()}i&&a(i.index)&&(p(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(n,t,i){var r,u=this.chart,f=u.hoverPoint;return u=u.tooltip,f&&u&&u.isStickyOnContact()?f:(n.forEach(function(n){var u=!(n.noSharedTooltip&&t)&&0>n.options.findNearestPointBy.indexOf("y"),f,e;(n=n.searchPoint(i,u),!(u=h(n,!0))||(u=!h(r,!0)))||(u=r.distX-n.distX,f=r.dist-n.dist,e=(n.series.group&&n.series.group.zIndex)-(r.series.group&&r.series.group.zIndex),u=0<(0!==u&&t?u:0!==f?f:0!==e?e:r.series.index>n.series.index?-1:1));u&&(r=n)}),r)},t.prototype.getChartCoordinatesFromPoint=function(n,t){var i=n.series,f=i.xAxis,e,r;return i=i.yAxis,e=u(n.clientX,n.plotX),r=n.shapeArgs,f&&i?t?{chartX:f.len+f.pos-e,chartY:i.len+i.pos-n.plotY}:{chartX:e+f.pos,chartY:n.plotY+i.pos}:r&&r.x&&r.y?{chartX:r.x,chartY:r.y}:void 0},t.prototype.getChartPosition=function(){return this.chartPosition||(this.chartPosition=b(this.chart.container))},t.prototype.getCoordinates=function(n){var t={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(i){t[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(n[i.horiz?"chartX":"chartY"])})}),t},t.prototype.getHoverData=function(n,t,i,r,f,e){var c,v=[],a,o;return r=!(!r||!n),a=t&&!t.stickyTracking,o={chartX:e?e.chartX:void 0,chartY:e?e.chartY:void 0,shared:f},s(this,"beforeGetHoverData",o),a=a?[t]:i.filter(function(n){return o.filter?o.filter(n):n.visible&&!(!f&&n.directTouch)&&u(n.options.enableMouseTracking,!0)&&n.stickyTracking}),t=(c=r||!e?n:this.findNearestKDPoint(a,f,e))&&c.series,c&&(f&&!t.noSharedTooltip?(a=i.filter(function(n){return o.filter?o.filter(n):n.visible&&!(!f&&n.directTouch)&&u(n.options.enableMouseTracking,!0)&&!n.noSharedTooltip})).forEach(function(n){var t=l(n.points,function(n){return n.x===c.x&&!n.isNull});h(t)&&(n.chart.isBoosting&&(t=n.getPoint(t)),v.push(t))}):v.push(c)),s(this,"afterGetHoverData",o={hoverPoint:c}),{hoverPoint:o.hoverPoint,hoverSeries:t,hoverPoints:v}},t.prototype.getPointFromEvent=function(n){n=n.target;for(var t;n&&!t;)t=n.point,n=n.parentNode;return t},t.prototype.onTrackerMouseOut=function(n){var t=this.chart.hoverSeries;n=n.relatedTarget||n.toElement;this.isDirectTouch=!1;!t||!n||t.stickyTracking||this.inClass(n,"highcharts-tooltip")||this.inClass(n,"highcharts-series-"+t.index)&&this.inClass(n,"highcharts-tracker")||t.onMouseOut()},t.prototype.inClass=function(n,t){for(var i;n;){if(i=y(n,"class")){if(-1!==i.indexOf(t))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}n=n.parentNode}},t.prototype.init=function(n,t){this.options=t;this.chart=n;this.runChartClick=t.chart.events&&!!t.chart.events.click;this.pinchDown=[];this.lastValidTouch={};i&&(n.tooltip=new i(n,t.tooltip),this.followTouchMove=u(t.tooltip.followTouchMove,!0));this.setDOMEvents()},t.prototype.normalize=function(n,t){var i=n.touches,r=i?i.length?i.item(0):i.changedTouches[0]:n;return t||(t=this.getChartPosition()),i=r.pageX-t.left,t=r.pageY-t.top,(r=this.chart.containerScaling)&&(i/=r.scaleX,t/=r.scaleY),o(n,{chartX:Math.round(i),chartY:Math.round(t)})},t.prototype.onContainerClick=function(n){var t=this.chart,i=t.hoverPoint,r=t.plotLeft,u=t.plotTop;n=this.normalize(n);t.cancelClick||(i&&this.inClass(n.target,"highcharts-tracker")?(s(i.series,"click",o(n,{point:i})),t.hoverPoint&&i.firePointEvent("click",n)):(o(n,this.getCoordinates(n)),t.isInsidePlot(n.chartX-r,n.chartY-u)&&s(t,"click",n)))},t.prototype.onContainerMouseDown=function(n){2!==(n=this.normalize(n)).button&&(this.zoomOption(n),n.preventDefault&&n.preventDefault(),this.dragStart(n))},t.prototype.onContainerMouseLeave=function(t){var i=f[n.hoverChartIndex];i&&(t.relatedTarget||t.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0)},t.prototype.onContainerMouseMove=function(t){var i=this.chart;c(n.hoverChartIndex)&&f[n.hoverChartIndex]&&f[n.hoverChartIndex].mouseIsDown||(n.hoverChartIndex=i.index);(t=this.normalize(t)).preventDefault||(t.returnValue=!1);"mousedown"===i.mouseIsDown&&this.drag(t);i.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop)||this.runPointActions(t)},t.prototype.onDocumentTouchEnd=function(t){f[n.hoverChartIndex]&&f[n.hoverChartIndex].pointer.drop(t)},t.prototype.onContainerTouchMove=function(n){this.touch(n)},t.prototype.onContainerTouchStart=function(n){this.zoomOption(n);this.touch(n,!0)},t.prototype.onDocumentMouseMove=function(n){var t=this.chart,i=this.chartPosition,r=t.tooltip;n=this.normalize(n,i);!i||r&&r.isStickyOnContact()||t.isInsidePlot(n.chartX-t.plotLeft,n.chartY-t.plotTop)||this.inClass(n.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(t){f[n.hoverChartIndex]&&f[n.hoverChartIndex].pointer.drop(t)},t.prototype.pinch=function(n){var t=this,r=t.chart,i=t.pinchDown,f=n.touches||[],e=f.length,s=t.lastValidTouch,c=t.hasZoom,h=t.selectionMarker,l={},v=1===e&&(t.inClass(n.target,"highcharts-tracker")&&r.runTrackerClick||t.runChartClick),a={};1<e&&(t.initiated=!0);c&&t.initiated&&!v&&n.preventDefault();[].map.call(f,function(n){return t.normalize(n)});"touchstart"===n.type?([].forEach.call(f,function(n,t){i[t]={chartX:n.chartX,chartY:n.chartY}}),s.x=[i[0].chartX,i[1]&&i[1].chartX],s.y=[i[0].chartY,i[1]&&i[1].chartY],r.axes.forEach(function(n){if(n.zoomEnabled){var t=r.bounds[n.horiz?"h":"v"],i=n.minPixelPadding,f=n.toPixels(Math.min(u(n.options.min,n.dataMin),n.dataMin)),e=n.toPixels(Math.max(u(n.options.max,n.dataMax),n.dataMax)),o=Math.max(f,e);t.min=Math.min(n.pos,Math.min(f,e)-i);t.max=Math.max(n.pos+n.len,o+i)}}),t.res=!0):t.followTouchMove&&1===e?this.runPointActions(t.normalize(n)):i.length&&(h||(t.selectionMarker=h=o({destroy:d,touch:!0},r.plotBox)),t.pinchTranslate(i,f,l,h,a,s),t.hasPinched=c,t.scaleGroups(l,a),t.res&&(t.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(n,t,i,r,u,f){this.zoomHor&&this.pinchTranslateDirection(!0,n,t,i,r,u,f);this.zoomVert&&this.pinchTranslateDirection(!1,n,t,i,r,u,f)},t.prototype.pinchTranslateDirection=function(n,t,i,r,u,f,e,o){var l,b,v=this.chart,a=n?"x":"y",k=n?"X":"Y",y="chart"+k,tt=n?"width":"height",d=v["plot"+(n?"Left":"Top")],s=o||1,g=v.inverted,p=v.bounds[n?"h":"v"],it=1===t.length,w=t[0][y],h=i[0][y],rt=!it&&t[1][y],c=!it&&i[1][y],nt;((i=function(){"number"==typeof c&&20<Math.abs(w-rt)&&(s=o||Math.abs(h-c)/Math.abs(w-rt));b=(d-h)/s+w;l=v["plot"+(n?"Width":"Height")]/s})(),(t=b)<p.min)?(t=p.min,nt=!0):t+l>p.max&&(t=p.max-l,nt=!0);nt?(h-=.8*(h-e[a][0]),"number"==typeof c&&(c-=.8*(c-e[a][1])),i()):e[a]=[h,c];g||(f[a]=b-d,f[tt]=l);f=g?1/s:s;u[tt]=l;u[a]=t;r[g?n?"scaleY":"scaleX":"scale"+k]=s;r["translate"+k]=f*d+(h-f*w)},t.prototype.reset=function(n,t){var i=this.chart,o=i.hoverSeries,r=i.hoverPoint,f=i.hoverPoints,u=i.tooltip,e=u&&u.shared?f:r;n&&e&&v(e).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(n=!1)});n?u&&e&&v(e).length&&(u.refresh(e),u.shared&&f?f.forEach(function(n){n.setState(n.state,!0);n.series.isCartesian&&(n.series.xAxis.crosshair&&n.series.xAxis.drawCrosshair(null,n),n.series.yAxis.crosshair&&n.series.yAxis.drawCrosshair(null,n))}):r&&(r.setState(r.state,!0),i.axes.forEach(function(n){n.crosshair&&r.series[n.coll]===n&&n.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),f&&f.forEach(function(n){n.setState()}),o&&o.onMouseOut(),u&&u.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(n){n.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(t,i){var r=this.chart,h=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,a=!!h&&h.shared,o=i||r.hoverPoint,s=o&&o.series||r.hoverSeries,c;if(o=(s=this.getHoverData(o,s,r.series,(!t||"touchmove"!==t.type)&&(!!i||s&&s.directTouch&&this.isDirectTouch),a,t)).hoverPoint,c=s.hoverPoints,i=(s=s.hoverSeries)&&s.tooltipOptions.followPointer,a=a&&s&&!s.noSharedTooltip,o&&(o!==r.hoverPoint||h&&h.isHidden)){if((r.hoverPoints||[]).forEach(function(n){-1===c.indexOf(n)&&n.setState()}),r.hoverSeries!==s&&s.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach(function(n){n.setState("hover")}),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!o.series)return;o.firePointEvent("mouseOver");r.hoverPoints=c;r.hoverPoint=o;h&&h.refresh(a?c:o,t)}else i&&h&&!h.isHidden&&(o=h.getAnchor([{}],t),h.updatePosition({plotX:o[0],plotY:o[1]}));this.unDocMouseMove||(this.unDocMouseMove=e(r.container.ownerDocument,"mousemove",function(t){var i=f[n.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(t)}));r.axes.forEach(function(n){var i=u(n.crosshair.snap,!0),r=i?l(c,function(t){return t.series[n.coll]===n}):void 0;r||!i?n.drawCrosshair(t,r):n.hideCrosshair()})},t.prototype.scaleGroups=function(n,t){var i,r=this.chart;r.series.forEach(function(u){i=n||u.getPlotBox();u.xAxis&&u.xAxis.zoomEnabled&&u.group&&(u.group.attr(i),u.markerGroup&&(u.markerGroup.attr(i),u.markerGroup.clip(t?r.clipRect:null)),u.dataLabelsGroup&&u.dataLabelsGroup.attr(i))});r.clipRect.attr(t||r.clipBox)},t.prototype.setDOMEvents=function(){var t=this,i=t.chart.container,r=i.ownerDocument;i.onmousedown=function(n){t.onContainerMouseDown(n)};i.onmousemove=function(n){t.onContainerMouseMove(n)};i.onclick=function(n){t.onContainerClick(n)};this.unbindContainerMouseLeave=e(i,"mouseleave",t.onContainerMouseLeave);n.unbindDocumentMouseUp||(n.unbindDocumentMouseUp=e(r,"mouseup",t.onDocumentMouseUp));n.hasTouch&&(e(i,"touchstart",function(n){t.onContainerTouchStart(n)}),e(i,"touchmove",function(n){t.onContainerTouchMove(n)}),n.unbindDocumentTouchEnd||(n.unbindDocumentTouchEnd=e(r,"touchend",t.onDocumentTouchEnd)))},t.prototype.touch=function(t,i){var r=this.chart,f;(r.index!==n.hoverChartIndex&&this.onContainerMouseLeave({relatedTarget:!0}),n.hoverChartIndex=r.index,1===t.touches.length)?(t=this.normalize(t),r.isInsidePlot(t.chartX-r.plotLeft,t.chartY-r.plotTop)&&!r.openMenu)?((i&&this.runPointActions(t),"touchmove"===t.type)&&(f=!!(i=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(i[0].chartX-t.chartX,2)+Math.pow(i[0].chartY-t.chartY,2))),u(f,!0)&&this.pinch(t)):i&&this.reset():2===t.touches.length&&this.pinch(t)},t.prototype.zoomOption=function(n){var i=this.chart,r=i.options.chart,t=r.zoomType||"";i=i.inverted;/touch/.test(n.type)&&(t=u(r.pinchType,t));this.zoomX=n=/x/.test(t);this.zoomY=t=/y/.test(t);this.zoomHor=n&&!i||t&&i;this.zoomVert=t&&!i||n&&i;this.hasZoom=n||t},t}(),n.Pointer=t,n.Pointer}),i(t,"parts/MSPointer.js",[t["parts/Globals.js"],t["parts/Pointer.js"],t["parts/Utilities.js"]],function(n,t,i){function o(){var n=[];return n.item=function(n){return this[n]},l(r,function(t){n.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),n}function u(t,i,r,u){("touch"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_TOUCH)&&e[n.hoverChartIndex]&&(u(t),(u=e[n.hoverChartIndex].pointer)[i]({type:r,target:t.currentTarget,preventDefault:y,touches:o()}))}var s=this&&this.__extends||function(){var n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])})(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),h=i.addEvent,c=i.css,l=i.objectEach,a=i.removeEvent,e=n.charts,v=n.doc,y=n.noop,r={},f=!!n.win.PointerEvent;return function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return s(t,n),t.prototype.batchMSEvents=function(n){n(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown);n(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove);n(v,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},t.prototype.destroy=function(){this.batchMSEvents(a);n.prototype.destroy.call(this)},t.prototype.init=function(t,i){n.prototype.init.call(this,t,i);this.hasZoom&&c(t.container,{"-ms-touch-action":"none","touch-action":"none"})},t.prototype.onContainerPointerDown=function(n){u(n,"onContainerTouchStart","touchstart",function(n){r[n.pointerId]={pageX:n.pageX,pageY:n.pageY,target:n.currentTarget}})},t.prototype.onContainerPointerMove=function(n){u(n,"onContainerTouchMove","touchmove",function(n){r[n.pointerId]={pageX:n.pageX,pageY:n.pageY};r[n.pointerId].target||(r[n.pointerId].target=n.currentTarget)})},t.prototype.onDocumentPointerUp=function(n){u(n,"onDocumentTouchEnd","touchend",function(n){delete r[n.pointerId]})},t.prototype.setDOMEvents=function(){n.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(h)},t}(t)}),i(t,"parts/Legend.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var e=t.addEvent,c=t.css,f=t.defined,l=t.discardElement,a=t.find,r=t.fireEvent,v=t.format,y=t.isNumber,u=t.merge,i=t.pick,p=t.relativeLength,w=t.setAnimation,b=t.stableSort,k=t.syncTimeout;t=t.wrap;var d=n.isFirefox,o=n.marginNames,s=n.win,h=function(){function t(n,t){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=n;this.init(n,t)}return t.prototype.init=function(n,t){this.chart=n;this.setOptions(t);t.enabled&&(this.render(),e(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=e(this.chart,"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(n){var t=i(n.padding,8);this.options=n;this.chart.styledMode||(this.itemStyle=n.itemStyle,this.itemHiddenStyle=u(this.itemStyle,n.itemHiddenStyle));this.itemMarginTop=n.itemMarginTop||0;this.itemMarginBottom=n.itemMarginBottom||0;this.padding=t;this.initialItemY=t-5;this.symbolWidth=i(n.symbolWidth,16);this.pages=[];this.proximate="proximate"===n.layout&&!this.chart.inverted;this.baseline=void 0},t.prototype.update=function(n,t){var f=this.chart;this.setOptions(u(!0,this.options,n));this.destroy();f.isDirtyLegend=f.isDirtyBox=!0;i(t,!0)&&f.redraw();r(this,"afterUpdate")},t.prototype.colorizeItem=function(n,t){if(n.legendGroup[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,o=n.legendItem,s=n.legendLine,f=n.legendSymbol,e=this.itemHiddenStyle.color;i=t?i.itemStyle.color:e;var h=t&&n.color||e,c=n.options&&n.options.marker,u={fill:h};o&&o.css({fill:i,color:i});s&&s.attr({stroke:h});f&&(c&&f.isMarker&&(u=n.pointAttribs(),t||(u.stroke=u.fill=e)),f.attr(u))}r(this,"afterColorizeItem",{item:n,visible:t})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(n){var i=this.options,e=i.symbolPadding,t,r,u;i=!i.rtl;t=n._legendItemPos;r=t[0];t=t[1];u=n.checkbox;(n=n.legendGroup)&&n.element&&n[f(n.translateY)?"animate":"attr"]({translateX:i?r:this.legendWidth-r-2*e-4,translateY:t});u&&(u.x=r,u.y=t)},t.prototype.destroyItem=function(n){var t=n.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(t){n[t]&&(n[t]=n[t].destroy())});t&&l(n.checkbox)},t.prototype.destroy=function(){function n(n){this[n]&&(this[n]=this[n].destroy())}this.getAllItems().forEach(function(t){["legendItem","legendGroup"].forEach(n,t)});"clipRect up down pager nav box title group".split(" ").forEach(n,this);this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,i=this.clipHeight||this.legendHeight,r=this.titleHeight,n;t&&(n=t.translateY,this.allItems.forEach(function(u){var f=u.checkbox,e;f&&(e=n+r+f.y+(this.scrollOffset||0)+3,c(f,{left:t.translateX+u.checkboxOffset+f.x-20+"px",top:e+"px",display:this.proximate||e>n-6&&e<n+i-6?"":"none"}))},this))},t.prototype.renderTitle=function(){var n=this.options,r=this.padding,t=n.title,i=0;t.text&&(this.title||(this.title=this.chart.renderer.label(t.text,r-3,r-4,null,null,null,n.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(t.style),this.title.add(this.group)),t.width||this.title.css({width:this.maxLegendWidth+"px"}),i=(n=this.title.getBBox()).height,this.offsetWidth=n.width,this.contentGroup.attr({translateY:i}));this.titleHeight=i},t.prototype.setText=function(n){var t=this.options;n.legendItem.attr({text:t.labelFormat?v(t.labelFormat,n,this.chart):t.labelFormatter.call(n)})},t.prototype.renderItem=function(n){var r=this.chart,s=r.renderer,f=this.options,y=this.symbolWidth,h=f.symbolPadding,c=this.itemStyle,b=this.itemHiddenStyle,e="horizontal"===f.layout?i(f.itemDistance,20):0,p=!f.rtl,t=n.legendItem,w=!n.series,l=!w&&n.series.drawLegendSymbol?n.series:n,o=l.options,a,v;e=y+h+e+((o=this.createCheckboxForItem&&o&&o.showCheckbox)?20:0);a=f.useHTML;v=n.options.className;t||(n.legendGroup=s.g("legend-item").addClass("highcharts-"+l.type+"-series highcharts-color-"+n.colorIndex+(v?" "+v:"")+(w?" highcharts-series-"+n.index:"")).attr({zIndex:1}).add(this.scrollGroup),n.legendItem=t=s.text("",p?y+h:-h,this.baseline||0,a),r.styledMode||t.css(u(n.visible?c:b)),t.attr({align:p?"left":"right",zIndex:2}).add(n.legendGroup),this.baseline||(this.fontMetrics=s.fontMetrics(r.styledMode?12:c.fontSize,t),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,t.attr("y",this.baseline)),this.symbolHeight=f.symbolHeight||this.fontMetrics.f,l.drawLegendSymbol(this,n),this.setItemEvents&&this.setItemEvents(n,t,a));o&&!n.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(n);this.colorizeItem(n,n.visible);!r.styledMode&&c.width||t.css({width:(f.itemWidth||this.widthOption||r.spacingBox.width)-e});this.setText(n);r=t.getBBox();n.itemWidth=n.checkboxOffset=f.itemWidth||n.legendItemWidth||r.width+e;this.maxItemWidth=Math.max(this.maxItemWidth,n.itemWidth);this.totalItemWidth+=n.itemWidth;this.itemHeight=n.itemHeight=Math.round(n.legendItemHeight||r.height||this.symbolHeight)},t.prototype.layoutItem=function(n){var t=this.options,r=this.padding,u="horizontal"===t.layout,f=n.itemHeight,e=this.itemMarginBottom,o=this.itemMarginTop,h=u?i(t.itemDistance,20):0,s=this.maxLegendWidth;t=t.alignColumns&&this.totalItemWidth>s?this.maxItemWidth:n.itemWidth;u&&this.itemX-r+t>s&&(this.itemX=r,this.lastLineHeight&&(this.itemY+=o+this.lastLineHeight+e),this.lastLineHeight=0);this.lastItemY=o+this.itemY+e;this.lastLineHeight=Math.max(f,this.lastLineHeight);n._legendItemPos=[this.itemX,this.itemY];u?this.itemX+=t:(this.itemY+=o+f+e,this.lastLineHeight=f);this.offsetWidth=this.widthOption||Math.max((u?this.itemX-r-(n.checkbox?0:h):t)+r,this.offsetWidth)},t.prototype.getAllItems=function(){var n=[];return this.chart.series.forEach(function(t){var r=t&&t.options;t&&i(r.showInLegend,!f(r.linkedTo)&&void 0,!0)&&(n=n.concat(t.legendItems||("point"===r.legendType?t.data:t)))}),r(this,"afterGetAllItems",{allItems:n}),n},t.prototype.getAlignment=function(){var n=this.options;return this.proximate?n.align.charAt(0)+"tv":n.floating?"":n.align.charAt(0)+n.verticalAlign.charAt(0)+n.layout.charAt(0)},t.prototype.adjustMargins=function(n,t){var r=this.chart,u=this.options,e=this.getAlignment();e&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(s,h){s.test(e)&&!f(n[h])&&(r[o[h]]=Math.max(r[o[h]],r.legend[(h+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][h]*u[h%2?"x":"y"]+i(u.margin,12)+t[h]+(r.titleOffset[h]||0)))})},t.prototype.proximatePositions=function(){var t=this.chart,i=[],r="left"===this.options.align;this.allItems.forEach(function(n){var f=r,u,e;n.yAxis&&n.points&&(n.xAxis.options.reversed&&(f=!f),u=a(f?n.points:n.points.slice(0).reverse(),function(n){return y(n.plotY)}),f=this.itemMarginTop+n.legendItem.getBBox().height+this.itemMarginBottom,e=n.yAxis.top-t.plotTop,n.visible?(u=u?u.plotY:n.yAxis.height,u+=e-.3*f):u=e+n.yAxis.height,i.push({target:u,size:f,item:n}))},this);n.distribute(i,t.plotHeight);i.forEach(function(n){n.item._legendItemPos[1]=t.plotTop-t.spacing[0]+n.pos})},t.prototype.render=function(){var c,i=this.chart,e=i.renderer,s=this.group,t=this.box,f=this.options,h=this.padding,n,o;this.itemX=h;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=p(f.width,i.spacingBox.width-h);n=i.spacingBox.width-2*h-f.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(n/=2);this.maxLegendWidth=this.widthOption||n;s||(this.group=s=e.g("legend").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(s),this.scrollGroup=e.g().add(this.contentGroup));this.renderTitle();n=this.getAllItems();b(n,function(n,t){return(n.options&&n.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)});f.reversed&&n.reverse();this.allItems=n;this.display=c=!!n.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;n.forEach(this.renderItem,this);n.forEach(this.layoutItem,this);n=(this.widthOption||this.offsetWidth)+h;o=this.lastItemY+this.lastLineHeight+this.titleHeight;o=this.handleOverflow(o);o+=h;t||(this.box=t=e.rect().addClass("highcharts-legend-box").attr({r:f.borderRadius}).add(s),t.isNew=!0);i.styledMode||t.attr({stroke:f.borderColor,"stroke-width":f.borderWidth||0,fill:f.backgroundColor||"none"}).shadow(f.shadow);0<n&&0<o&&(t[t.isNew?"attr":"animate"](t.crisp.call({},{x:0,y:0,width:n,height:o},t.strokeWidth())),t.isNew=!1);t[c?"show":"hide"]();i.styledMode&&"none"===s.getStyle("display")&&(n=o=0);this.legendWidth=n;this.legendHeight=o;c&&(t=(e=i.spacingBox).y,/(lth|ct|rth)/.test(this.getAlignment())&&0<i.titleOffset[0]?t+=i.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<i.titleOffset[2]&&(t-=i.titleOffset[2]),t!==e.y&&(e=u(e,{y:t})),s.align(u(f,{width:n,height:o,verticalAlign:this.proximate?"top":f.verticalAlign}),!0,e));this.proximate||this.positionItems();r(this,"afterRender")},t.prototype.handleOverflow=function(n){var t=this,a=this.chart,s=a.renderer,f=this.options,r=f.y,l=this.padding;r=a.spacingBox.height+("top"===f.verticalAlign?-r:r)-l;var v,h,w=f.maxHeight,c=this.clipRect,y=f.navigation,b=i(y.animation,!0),e=y.arrowSize||12,u=this.nav,o=this.pages,p=this.allItems,k=function(n){"number"==typeof n?c.attr({height:n}):c&&(t.clipRect=c.destroy(),t.contentGroup.clip());t.contentGroup.div&&(t.contentGroup.div.style.clip=n?"rect("+l+"px,9999px,"+(l+n)+"px,0)":"auto")},d=function(n){return t[n]=s.circle(0,0,1.3*e).translate(e/2,e/2).add(u),a.styledMode||t[n].attr("fill","rgba(0,0,0,0.0001)"),t[n]};return"horizontal"!==f.layout||"middle"===f.verticalAlign||f.floating||(r/=2),w&&(r=Math.min(r,w)),o.length=0,n>r&&!1!==y.enabled?(this.clipHeight=v=Math.max(r-20-this.titleHeight-l,0),this.currentPage=i(this.currentPage,1),this.fullHeight=n,p.forEach(function(n,t){var i=n._legendItemPos[1],u=Math.round(n.legendItem.getBBox().height),r=o.length;(!r||i-o[r-1]>v&&(h||i)!==o[r-1])&&(o.push(h||i),r++);n.pageIx=r-1;h&&(p[t-1].pageIx=r-1);t===p.length-1&&i+u-o[r-1]>v&&i!==h&&(o.push(i),n.pageIx=r);i!==h&&(h=i)}),c||(c=t.clipRect=s.clipRect(0,l,9999,0),t.contentGroup.clip(c)),k(v),u||(this.nav=u=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,e,e).add(u),d("upTracker").on("click",function(){t.scroll(-1,b)}),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),a.styledMode||this.pager.css(y.style),this.pager.add(u),this.down=s.symbol("triangle-down",0,0,e,e).add(u),d("downTracker").on("click",function(){t.scroll(1,b)})),t.scroll(0),n=r):u&&(k(),this.nav=u.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),n},t.prototype.scroll=function(t,u){var c=this,s=this.chart,h=this.pages,e=h.length,f=this.currentPage+t;t=this.clipHeight;var o=this.options.navigation,l=this.pager,a=this.padding;f>e&&(f=e);0<f&&(void 0!==u&&w(u,s),this.nav.attr({translateX:a,translateY:t+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(n){n.attr({"class":1===f?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),l.attr({text:f+"/"+e}),[this.down,this.downTracker].forEach(function(n){n.attr({x:18+this.pager.getBBox().width,"class":f===e?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),s.styledMode||(this.up.attr({fill:1===f?o.inactiveColor:o.activeColor}),this.upTracker.css({cursor:1===f?"default":"pointer"}),this.down.attr({fill:f===e?o.inactiveColor:o.activeColor}),this.downTracker.css({cursor:f===e?"default":"pointer"})),this.scrollOffset=-h[f-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=f,this.positionCheckboxes(),u=n.animObject(i(u,s.renderer.globalAnimation,!0)),k(function(){r(c,"afterScroll",{currentPage:f})},u.duration||0))},t}();return(/Trident\/7\.0/.test(s.navigator&&s.navigator.userAgent)||d)&&t(h.prototype,"positionItem",function(n,t){var i=this,r=function(){t._legendItemPos&&n.call(i,t)};r();i.bubbleLegend||setTimeout(r)}),n.Legend=h,n.Legend}),i(t,"parts/Chart.js",[t["parts/Globals.js"],t["parts/Legend.js"],t["parts/MSPointer.js"],t["parts/Pointer.js"],t["parts/Time.js"],t["parts/Utilities.js"]],function(n,t,i,r,u,f){var w=f.addEvent,ct=f.animate,lt=f.animObject,it=f.attr,at=f.createElement,y=f.css,o=f.defined,vt=f.discardElement,yt=f.erase,rt=f.error,l=f.extend,b=f.find,e=f.fireEvent,a=f.getStyle,pt=f.isArray,wt=f.isFunction,bt=f.isNumber,ut=f.isObject,k=f.isString,p=f.merge,kt=f.numberFormat,d=f.objectEach,v=f.pick,g=f.pInt,dt=f.relativeLength,ft=f.removeEvent,nt=f.setAnimation,et=f.splat,ot=f.syncTimeout,gt=f.uniqueKey,h=n.doc,ni=n.Axis,ti=n.defaultOptions,s=n.charts,st=n.marginNames,tt=n.seriesTypes,c=n.win,ht=n.Chart=function(){this.getArgs.apply(this,arguments)};n.chart=function(n,t,i){return new ht(n,t,i)};l(ht.prototype,{callbacks:[],getArgs:function(){var n=[].slice.call(arguments);(k(n[0])||n[0].nodeName)&&(this.renderTo=n.shift());this.init(n[0],n[1])},init:function(t,i){var r,o=t.series,f=t.plotOptions||{};e(this,"init",{args:arguments},function(){var c,l,h;t.series=null;r=p(ti,t);d(r.plotOptions,function(n,t){ut(n)&&(n.tooltip=f[t]&&p(f[t].tooltip)||void 0)});r.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip;r.series=t.series=o;this.userOptions=t;c=r.chart;l=c.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=i;this.isResizing=0;this.options=r;this.axes=[];this.series=[];this.time=t.time&&Object.keys(t.time).length?new u(t.time):n.time;this.numberFormatter=c.numberFormatter||kt;this.styledMode=c.styledMode;this.hasCartesianSeries=c.showAxes;h=this;h.index=s.length;s.push(h);n.chartCount++;l&&d(l,function(n,t){wt(n)&&w(h,t,n)});h.xAxis=[];h.yAxis=[];h.pointCount=h.colorCounter=h.symbolCounter=0;e(h,"afterInit");h.firstRender()})},initSeries:function(n){var t=this.options.chart,i;return t=n.type||t.type||t.defaultSeriesType,i=tt[t],i||rt(17,!0,this,{missingModuleFor:t}),(t=new i).init(this,n),t},setSeriesData:function(){this.getSeriesOrderByLinks().forEach(function(n){n.points||n.data||!n.enabledDataSorting||n.setData(n.options.data,!1)})},getSeriesOrderByLinks:function(){return this.series.concat().sort(function(n,t){return n.linkedSeries.length||t.linkedSeries.length?t.linkedSeries.length-n.linkedSeries.length:0})},orderSeries:function(n){var t=this.series;for(n=n||0;n<t.length;n++)t[n]&&(t[n].index=n,t[n].name=t[n].getName())},isInsidePlot:function(n,t,i){var r=i?t:n;return r={x:r,y:n=i?n:t,isInsidePlot:0<=r&&r<=this.plotWidth&&0<=n&&n<=this.plotHeight},e(this,"afterIsInsidePlot",r),r.isInsidePlot},redraw:function(n){var i,h,w;e(this,"beforeRedraw");var u=this.axes,t=this.series,c=this.pointer,f=this.legend,o=this.userOptions.legend,s=this.isDirtyLegend,a=this.hasCartesianSeries,r=this.isDirtyBox,v=this.renderer,y=v.isHidden(),p=[];for(this.setResponsive&&this.setResponsive(!1),nt(!!this.hasRendered&&n,this),y&&this.temporaryDisplay(),this.layOutTitles(),n=t.length;n--;)if(i=t[n],i.options.stacking&&(h=!0,i.isDirty)){w=!0;break}if(w)for(n=t.length;n--;)(i=t[n]).options.stacking&&(i.isDirty=!0);t.forEach(function(n){n.isDirty&&("point"===n.options.legendType?(n.updateTotals&&n.updateTotals(),s=!0):o&&(o.labelFormatter||o.labelFormat)&&(s=!0));n.isDirtyData&&e(n,"updatedData")});s&&f&&f.options.enabled&&(f.render(),this.isDirtyLegend=!1);h&&this.getStacks();a&&u.forEach(function(n){n.updateNames();n.setScale()});this.getMargins();a&&(u.forEach(function(n){n.isDirty&&(r=!0)}),u.forEach(function(n){var t=n.min+","+n.max;n.extKey!==t&&(n.extKey=t,p.push(function(){e(n,"afterSetExtremes",l(n.eventArgs,n.getExtremes()));delete n.eventArgs}));(r||h)&&n.redraw()}));r&&this.drawChartBox();e(this,"predraw");t.forEach(function(n){(r||n.isDirty)&&n.visible&&n.redraw();n.isDirtyData=!1});c&&c.reset(!0);v.draw();e(this,"redraw");e(this,"render");y&&this.temporaryDisplay(!0);p.forEach(function(n){n.call()})},get:function(n){function i(t){return t.id===n||t.options&&t.options.id===n}for(var u=this.series,r=b(this.axes,i)||b(this.series,i),t=0;!r&&t<u.length;t++)r=b(u[t].points||[],i);return r},getAxes:function(){var i=this,n=this.options,t=n.xAxis=et(n.xAxis||{});n=n.yAxis=et(n.yAxis||{});e(this,"getAxes");t.forEach(function(n,t){n.index=t;n.isX=!0});n.forEach(function(n,t){n.index=t});t.concat(n).forEach(function(n){new ni(i,n)});e(this,"afterGetAxes")},getSelectedPoints:function(){var n=[];return this.series.forEach(function(t){n=n.concat(t.getPointsCollection().filter(function(n){return v(n.selectedStaging,n.selected)}))}),n},getSelectedSeries:function(){return this.series.filter(function(n){return n.selected})},setTitle:function(n,t,i){this.applyDescription("title",n);this.applyDescription("subtitle",t);this.applyDescription("caption",void 0);this.layOutTitles(i)},applyDescription:function(n,t){var u=this,i="title"===n?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"},r;i=this.options[n]=p(!this.styledMode&&{style:i},this.options[n],t);r=this[n];r&&t&&(this[n]=r=r.destroy());i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,"class":"highcharts-"+n,zIndex:i.zIndex||4}).add()).update=function(t){u[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[n]](t)},this.styledMode||r.css(i.style),this[n]=r)},layOutTitles:function(n){var t=[0,0,0],r=this.renderer,u=this.spacingBox,i;["title","subtitle","caption"].forEach(function(n){var f=this[n],i=this.options[n],o=i.verticalAlign||"top",e,s;(n="title"===n?-3:"top"===o?t[0]+2:0,f)&&(this.styledMode||(e=i.style.fontSize),e=r.fontMetrics(e,f).b,f.css({width:(i.width||u.width+(i.widthAdjust||0))+"px"}),s=Math.round(f.getBBox(i.useHTML).height),f.align(l({y:"bottom"===o?e:n+e,height:s},i),!1,"spacingBox"),i.floating||("top"===o?t[0]=Math.ceil(t[0]+s):"bottom"===o&&(t[2]=Math.ceil(t[2]+s))))},this);t[0]&&"top"===(this.options.title.verticalAlign||"top")&&(t[0]+=this.options.title.margin);t[2]&&"bottom"===this.options.caption.verticalAlign&&(t[2]+=this.options.caption.margin);i=!this.titleOffset||this.titleOffset.join(",")!==t.join(",");this.titleOffset=t;e(this,"afterLayOutTitles");!this.isDirtyBox&&i&&(this.isDirtyBox=this.isDirtyLegend=i,this.hasRendered&&v(n,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var n=this.options.chart,i=n.width,t;n=n.height;t=this.renderTo;o(i)||(this.containerWidth=a(t,"width"));o(n)||(this.containerHeight=a(t,"height"));this.chartWidth=Math.max(0,i||this.containerWidth||600);this.chartHeight=Math.max(0,dt(n,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},temporaryDisplay:function(n){var t=this.renderTo;if(n)for(;t&&t.style;)t.hcOrigStyle&&(y(t,t.hcOrigStyle),delete t.hcOrigStyle),t.hcOrigDetached&&(h.body.removeChild(t),t.hcOrigDetached=!1),t=t.parentNode;else for(;t&&t.style&&(h.body.contains(t)||t.parentNode||(t.hcOrigDetached=!0,h.body.appendChild(t)),("none"===a(t,"display",!1)||t.hcOricDetached)&&(t.hcOrigStyle={display:t.style.display,height:t.style.height,overflow:t.style.overflow},n={display:"block",overflow:"hidden"},t!==this.renderTo&&(n.height=0),y(t,n),t.offsetWidth||t.style.setProperty("display","block","important")),(t=t.parentNode)!==h.body););},setClassName:function(n){this.container.className="highcharts-container "+(n||"")},getContainer:function(){var o,c,u=this.options,r=u.chart,t=this.renderTo,a=gt(),i,f;if(t||(this.renderTo=t=r.renderTo),k(t)&&(this.renderTo=t=h.getElementById(t)),t||rt(13,!0,this),i=g(it(t,"data-highcharts-chart")),bt(i)&&s[i]&&s[i].hasRendered&&s[i].destroy(),it(t,"data-highcharts-chart",this.index),t.innerHTML="",r.skipClone||t.offsetWidth||this.temporaryDisplay(),this.getChartSize(),i=this.chartWidth,f=this.chartHeight,y(t,{overflow:"hidden"}),this.styledMode||(o=l({position:"relative",overflow:"hidden",width:i+"px",height:f+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},r.style)),this.container=t=at("div",{id:a},o,t),this._cursor=t.style.cursor,this.renderer=new(n[r.renderer]||n.Renderer)(t,i,f,null,r.forExport,u.exporting&&u.exporting.allowHTML,this.styledMode),nt(void 0,this),this.setClassName(r.className),this.styledMode)for(c in u.defs)this.renderer.definition(u.defs[c]);else this.renderer.setStyle(r.style);this.renderer.chartIndex=this.index;e(this,"afterGetContainer")},getMargins:function(n){var i=this.spacing,r=this.margin,t=this.titleOffset;this.resetMargins();t[0]&&!o(r[0])&&(this.plotTop=Math.max(this.plotTop,t[0]+i[0]));t[2]&&!o(r[2])&&(this.marginBottom=Math.max(this.marginBottom,t[2]+i[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(r,i);e(this,"getMargins");n||this.getAxisMargins()},getAxisMargins:function(){var n=this,r=n.axisOffset=[0,0,0,0],t=n.colorAxis,u=n.margin,i=function(n){n.forEach(function(n){n.visible&&n.getOffset()})};n.hasCartesianSeries?i(n.axes):t&&t.length&&i(t);st.forEach(function(t,i){o(u[i])||(n[t]+=r[i])});n.setChartSize()},reflow:function(n){var t=this,i=t.options.chart,r=t.renderTo,e=o(i.width)&&o(i.height),u=i.width||a(r,"width");i=i.height||a(r,"height");r=n?n.target:c;e||t.isPrinting||!u||!i||r!==c&&r!==h||(u===t.containerWidth&&i===t.containerHeight||(f.clearTimeout(t.reflowTimeout),t.reflowTimeout=ot(function(){t.container&&t.setSize(void 0,void 0,!1)},n?100:0)),t.containerWidth=u,t.containerHeight=i)},setReflow:function(n){var t=this;!1===n||this.unbindReflow?!1===n&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=w(c,"resize",function(n){t.options&&t.reflow(n)}),w(this,"destroy",this.unbindReflow))},setSize:function(n,t,i){var r=this,u=r.renderer;r.isResizing+=1;nt(i,r);i=u.globalAnimation;r.oldChartHeight=r.chartHeight;r.oldChartWidth=r.chartWidth;void 0!==n&&(r.options.chart.width=n);void 0!==t&&(r.options.chart.height=t);r.getChartSize();r.styledMode||(i?ct:y)(r.container,{width:r.chartWidth+"px",height:r.chartHeight+"px"},i);r.setChartSize(!0);u.setSize(r.chartWidth,r.chartHeight,i);r.axes.forEach(function(n){n.isDirty=!0;n.setScale()});r.isDirtyLegend=!0;r.isDirtyBox=!0;r.layOutTitles();r.getMargins();r.redraw(i);r.oldChartHeight=null;e(r,"resize");ot(function(){r&&e(r,"endResize",null,function(){--r.isResizing})},lt(i).duration||0)},setChartSize:function(n){var h,c,f,o,r=this.inverted,u=this.renderer,t=this.chartWidth,l=this.chartHeight,a=this.options.chart,i=this.spacing,s=this.clipOffset;this.plotLeft=h=Math.round(this.plotLeft);this.plotTop=c=Math.round(this.plotTop);this.plotWidth=f=Math.max(0,Math.round(t-h-this.marginRight));this.plotHeight=o=Math.max(0,Math.round(l-c-this.marginBottom));this.plotSizeX=r?o:f;this.plotSizeY=r?f:o;this.plotBorderWidth=a.plotBorderWidth||0;this.spacingBox=u.spacingBox={x:i[3],y:i[0],width:t-i[3]-i[1],height:l-i[0]-i[2]};this.plotBox=u.plotBox={x:h,y:c,width:f,height:o};t=2*Math.floor(this.plotBorderWidth/2);r=Math.ceil(Math.max(t,s[3])/2);u=Math.ceil(Math.max(t,s[0])/2);this.clipBox={x:r,y:u,width:Math.floor(this.plotSizeX-Math.max(t,s[1])/2-r),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(t,s[2])/2-u))};n||this.axes.forEach(function(n){n.setAxisSize();n.setAxisTranslation()});e(this,"afterSetChartSize",{skipAxes:n})},resetMargins:function(){e(this,"resetMargins");var n=this,t=n.options.chart;["margin","spacing"].forEach(function(i){var r=t[i],u=ut(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach(function(r,f){n[i][f]=v(t[i+r],u[f])})});st.forEach(function(t,i){n[t]=v(n.margin[i],n.spacing[i])});n.axisOffset=[0,0,0,0];n.clipOffset=[0,0,0,0]},drawChartBox:function(){var i,n=this.options.chart,o=this.renderer,g=this.chartWidth,nt=this.chartHeight,r=this.chartBackground,h=this.plotBackground,u=this.plotBorder,a=this.styledMode,c=this.plotBGImage,s=n.backgroundColor,tt=n.plotBackgroundColor,l=n.plotBackgroundImage,y=this.plotLeft,p=this.plotTop,w=this.plotWidth,b=this.plotHeight,k=this.plotBox,d=this.clipRect,v=this.clipBox,t="animate",f;(r||(this.chartBackground=r=o.rect().addClass("highcharts-background").add(),t="attr"),a)?f=i=r.strokeWidth():(i=(f=n.borderWidth||0)+(n.shadow?8:0),s={fill:s||"none"},(f||r["stroke-width"])&&(s.stroke=n.borderColor,s["stroke-width"]=f),r.attr(s).shadow(n.shadow));r[t]({x:i/2,y:i/2,width:g-i-f%2,height:nt-i-f%2,r:n.borderRadius});t="animate";h||(t="attr",this.plotBackground=h=o.rect().addClass("highcharts-plot-background").add());h[t](k);a||(h.attr({fill:tt||"none"}).shadow(n.plotShadow),l&&(c?(l!==c.attr("href")&&c.attr("href",l),c.animate(k)):this.plotBGImage=o.image(l,y,p,w,b).add()));d?d.animate({width:v.width,height:v.height}):this.clipRect=o.clipRect(v);t="animate";u||(t="attr",this.plotBorder=u=o.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());a||u.attr({stroke:n.plotBorderColor,"stroke-width":n.plotBorderWidth||0,fill:"none"});u[t](u.crisp({x:y,y:p,width:w,height:b},-u.strokeWidth()));this.isDirtyBox=!1;e(this,"afterDrawChartBox")},propFromSeries:function(){var n,i,t,r=this,u=r.options.chart,f=r.options.series;["inverted","angular","polar"].forEach(function(e){for(n=tt[u.type||u.defaultSeriesType],t=u[e]||n&&n.prototype[e],i=f&&f.length;!t&&i--;)(n=tt[f[i].type])&&n.prototype[e]&&(t=!0);r[e]=t})},linkSeries:function(){var n=this,t=n.series;t.forEach(function(n){n.linkedSeries.length=0});t.forEach(function(t){var i=t.options.linkedTo;k(i)&&(i=":previous"===i?n.series[t.index-1]:n.get(i))&&i.linkedParent!==t&&(i.linkedSeries.push(t),t.linkedParent=i,i.enabledDataSorting&&t.setDataSortingOptions(),t.visible=v(t.options.visible,i.options.visible,t.visible))});e(this,"afterLinkSeries")},renderSeries:function(){this.series.forEach(function(n){n.translate();n.render()})},renderLabels:function(){var n=this,t=n.options.labels;t.items&&t.items.forEach(function(i){var r=l(t.style,i.style),u=g(r.left)+n.plotLeft,f=g(r.top)+n.plotTop+12;delete r.left;delete r.top;n.renderer.text(i.html,u,f).attr({zIndex:2}).css(r).add()})},render:function(){var n=this.axes,i=this.colorAxis,h=this.renderer,r=this.options,e=0,o=function(n){n.forEach(function(n){n.visible&&n.render()})},s,u,f;this.setTitle();this.legend=new t(this,r.legend);this.getStacks&&this.getStacks();this.getMargins(!0);this.setChartSize();r=this.plotWidth;n.some(function(n){if(n.horiz&&n.visible&&n.options.labels.enabled&&n.series.length)return e=21,!0});s=this.plotHeight=Math.max(this.plotHeight-e,0);n.forEach(function(n){n.setScale()});this.getAxisMargins();u=1.1<r/this.plotWidth;f=1.05<s/this.plotHeight;(u||f)&&(n.forEach(function(n){(n.horiz&&u||!n.horiz&&f)&&n.setTickInterval(!0)}),this.getMargins());this.drawChartBox();this.hasCartesianSeries?o(n):i&&i.length&&o(i);this.seriesGroup||(this.seriesGroup=h.g("series-group").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.updateContainerScaling();this.hasRendered=!0},addCredits:function(n){var t=this;(n=p(!0,this.options.credits,n)).enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){n.href&&(c.location.href=n.href)}).attr({align:n.position.align,zIndex:8}),t.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(n){t.credits=t.credits.destroy();t.addCredits(n)})},updateContainerScaling:function(){var n=this.container,t,i;n.offsetWidth&&n.offsetHeight&&n.getBoundingClientRect&&(t=n.getBoundingClientRect(),i=t.width/n.offsetWidth,n=t.height/n.offsetHeight,1!==i||1!==n?this.containerScaling={scaleX:i,scaleY:n}:delete this.containerScaling)},destroy:function(){var i,t=this,u=t.axes,f=t.series,r=t.container,o=r&&r.parentNode;for(e(t,"destroy"),t.renderer.forExport?yt(s,t):s[t.index]=void 0,n.chartCount--,t.renderTo.removeAttribute("data-highcharts-chart"),ft(t),i=u.length;i--;)u[i]=u[i].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),i=f.length;i--;)f[i]=f[i].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(n){var i=t[n];i&&i.destroy&&(t[n]=i.destroy())});r&&(r.innerHTML="",ft(r),o&&vt(r));d(t,function(n,i){delete t[i]})},firstRender:function(){var t=this,u=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(pt(u.series)?u.series:[]).forEach(function(n){t.initSeries(n)}),t.linkSeries(),t.setSeriesData(),e(t,"beforeRender"),r&&(t.pointer=n.hasTouch||!c.PointerEvent&&!c.MSPointerEvent?new r(t,u):new i(t,u)),t.render(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},onload:function(){this.callbacks.concat([this.callback]).forEach(function(n){n&&void 0!==this.index&&n.apply(this,[this])},this);e(this,"load");e(this,"render");o(this.index)&&this.setReflow(this.options.chart.reflow);this.hasLoaded=!0}})}),i(t,"parts/ScrollablePlotArea.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var i=t.addEvent,r=t.createElement,u=t.pick,f=t.stop;t=n.Chart;i(t,"afterSetChartSize",function(t){var r=this.options.chart.scrollablePlotArea,i=r&&r.minWidth,u;(r=r&&r.minHeight,this.renderer.forExport)||(i?(this.scrollablePixelsX=i=Math.max(0,i-this.chartWidth))&&(this.plotWidth+=i,this.inverted?(this.clipBox.height+=i,this.plotBox.height+=i):(this.clipBox.width+=i,this.plotBox.width+=i),u={1:{name:"right",value:i}}):r&&(this.scrollablePixelsY=i=Math.max(0,r-this.chartHeight))&&(this.plotHeight+=i,this.inverted?(this.clipBox.width+=i,this.plotBox.width+=i):(this.clipBox.height+=i,this.plotBox.height+=i),u={2:{name:"bottom",value:i}}),u&&!t.skipAxes&&this.axes.forEach(function(t){u[t.side]?t.getPlotLinePath=function(){var i=u[t.side].name,r=this[i],f;return this[i]=r-u[t.side].value,f=n.Axis.prototype.getPlotLinePath.apply(this,arguments),this[i]=r,f}:(t.setAxisSize(),t.setAxisTranslation())}))});i(t,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});t.prototype.setUpScrolling=function(){var t=this,n={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(n.overflowX="auto");this.scrollablePixelsY&&(n.overflowY="auto");this.scrollingContainer=r("div",{className:"highcharts-scrolling"},n,this.renderTo);i(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition});this.innerContainer=r("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};t.prototype.moveFixedElements=function(){var n,r=this.container,t=this.fixedRenderer,i=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?n=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?n=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(n=".highcharts-yaxis");i.push(n,n+"-labels");i.forEach(function(n){[].forEach.call(r.querySelectorAll(n),function(n){(n.namespaceURI===t.SVG_NS?t.box:t.box.parentNode).appendChild(n);n.style.pointerEvents="auto"})})};t.prototype.applyFixed=function(){var e,s=!this.fixedDiv,o=this.options.chart.scrollablePlotArea,t,h,c;s?(this.fixedDiv=r("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:2},null,!0),this.renderTo.insertBefore(this.fixedDiv,this.renderTo.firstChild),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":u(o.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),this.moveFixedElements(),i(this,"afterShowResetZoom",this.moveFixedElements),i(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);e=this.chartWidth+(this.scrollablePixelsX||0);t=this.chartHeight+(this.scrollablePixelsY||0);f(this.container);this.container.style.width=e+"px";this.container.style.height=t+"px";this.renderer.boxWrapper.attr({width:e,height:t,viewBox:[0,0,e,t].join(" ")});this.chartBackground.attr({width:e,height:t});this.scrollablePixelsY&&(this.scrollingContainer.style.height=this.chartHeight+"px");s&&(o.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*o.scrollPositionX),o.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*o.scrollPositionY));t=this.axisOffset;s=this.plotTop-t[0]-1;o=this.plotLeft-t[3]-1;e=this.plotTop+this.plotHeight+t[2]+1;t=this.plotLeft+this.plotWidth+t[1]+1;h=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0);c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);s=this.scrollablePixelsX?["M",0,s,"L",this.plotLeft-1,s,"L",this.plotLeft-1,e,"L",0,e,"Z","M",h,s,"L",this.chartWidth,s,"L",this.chartWidth,e,"L",h,e,"Z"]:this.scrollablePixelsY?["M",o,0,"L",o,this.plotTop-1,"L",t,this.plotTop-1,"L",t,0,"Z","M",o,c,"L",o,this.chartHeight,"L",t,this.chartHeight,"L",t,c,"Z"]:["M",0,0];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:s})}}),i(t,"mixins/legend-symbol.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var r=t.merge,i=t.pick;return n.LegendSymbolMixin={drawRectangle:function(n,t){var r=n.symbolHeight,u=n.options.squareSymbol;t.legendSymbol=this.chart.renderer.rect(u?(n.symbolWidth-r)/2:0,n.baseline-r+1,u?r:n.symbolWidth,r,i(n.options.symbolRadius,r/2)).addClass("highcharts-point").attr({zIndex:3}).add(t.legendGroup)},drawLineMarker:function(n){var t=this.options,u=t.marker,e=n.symbolWidth,o=n.symbolHeight,s=o/2,h=this.chart.renderer,c=this.legendGroup,f;n=n.baseline-Math.round(.3*n.fontMetrics.b);f={};this.chart.styledMode||(f={"stroke-width":t.lineWidth||0},t.dashStyle&&(f.dashstyle=t.dashStyle));this.legendLine=h.path(["M",0,n,"L",e,n]).addClass("highcharts-graph").attr(f).add(c);u&&!1!==u.enabled&&e&&(t=Math.min(i(u.radius,s),s),0===this.symbol.indexOf("url")&&(u=r(u,{width:o,height:o}),t=0),this.legendSymbol=u=h.symbol(this.symbol,e/2-t,n-t,2*t,2*t,u).addClass("highcharts-point").add(c),u.isMarker=!0)}},n.LegendSymbolMixin}),i(t,"parts/Point.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var e=t.animObject,o=t.defined,s=t.erase,i=t.extend,h=t.format,c=t.getNestedProperty,l=t.isArray,u=t.isNumber,a=t.isObject,v=t.syncTimeout,r=t.pick,y=t.removeEvent,p=t.uniqueKey,f=n.fireEvent;return t=function(){function n(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=this.series=void 0;this.visible=!0;this.x=void 0}return n.prototype.animateBeforeDestroy=function(){var t,n=this,u={x:n.startXPos,opacity:0},r=n.getGraphicalProps();r.singular.forEach(function(i){t="dataLabel"===i;n[i]=n[i].animate(t?{x:n[i].startXPos,y:n[i].startYPos,opacity:0}:u)});r.plural.forEach(function(t){n[t].forEach(function(t){t.element&&t.animate(i({x:n.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))})})},n.prototype.applyOptions=function(t,f){var e=this.series,o=e.options.pointValKey||e.pointValKey;return t=n.prototype.optionsToObject.call(this,t),i(this,t),this.options=this.options?i(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,o&&(this.y=n.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=r(this.isValid&&!this.isValid(),null===this.x||!u(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===f&&e.xAxis&&e.xAxis.hasNames&&(this.x=e.xAxis.nameToX(this)),void 0===this.x&&e&&(this.x=void 0===f?e.autoIncrement(this):f),this},n.prototype.destroy=function(){function u(){for(f in(n.graphic||n.dataLabel||n.dataLabels)&&(y(n),n.destroyElements()),n)n[f]=null}var n=this,t=n.series,i=t.chart,f,r,o;t=t.options.dataSorting;r=i.hoverPoints;o=e(n.series.chart.renderer.globalAnimation);n.legendItem&&i.legend.destroyItem(n);r&&(n.setState(),s(r,n),r.length||(i.hoverPoints=null));n===i.hoverPoint&&n.onMouseOut();t&&t.enabled?(this.animateBeforeDestroy(),v(u,o.duration)):u();i.pointCount--},n.prototype.destroyElements=function(n){var t=this;(n=t.getGraphicalProps(n)).singular.forEach(function(n){t[n]=t[n].destroy()});n.plural.forEach(function(n){t[n].forEach(function(n){n.element&&n.destroy()});delete t[n]})},n.prototype.firePointEvent=function(n,t,i){var r=this,u=this.series.options;(u.point.events[n]||r.options&&r.options.events&&r.options.events[n])&&r.importEvents();"click"===n&&u.allowPointSelect&&(i=function(n){r.select&&r.select(null,n.ctrlKey||n.metaKey||n.shiftKey)});f(r,n,t,i)},n.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},n.prototype.getGraphicalProps=function(n){var i,f=this,t=[],r={singular:[],plural:[]},u;for((n=n||{graphic:1,dataLabel:1}).graphic&&t.push("graphic","shadowGroup"),n.dataLabel&&t.push("dataLabel","dataLabelUpper","connector"),i=t.length;i--;)u=t[i],f[u]&&r.singular.push(u);return["dataLabel","connector"].forEach(function(t){var i=t+"s";n[t]&&f[i]&&r.plural.push(i)}),r},n.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},n.prototype.getNestedProperty=function(n){if(n)return 0===n.indexOf("custom.")?c(n,this.options):this[n]},n.prototype.getZone=function(){var t=this.series,r=t.zones,n,i;for(t=t.zoneAxis||"y",i=0,n=r[i];this[t]>=n.value;)n=r[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},n.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},n.prototype.init=function(n,t,i){return this.series=n,this.applyOptions(t,i),this.id=o(this.id)?this.id:p(),this.resolveColor(),n.chart.pointCount++,f(this,"afterInit"),this},n.prototype.optionsToObject=function(t){var i={},r=this.series,s=r.options.keys,f=s||r.pointArrayMap||["y"],h=f.length,e=0,o=0;if(u(t)||null===t)i[f[0]]=t;else if(l(t))for(!s&&t.length>h&&("string"==(r=typeof t[0])?i.name=t[0]:"number"===r&&(i.x=t[0]),e++);o<h;)s&&void 0===t[e]||(0<f[o].indexOf(".")?n.prototype.setNestedProperty(i,t[e],f[o]):i[f[o]]=t[e]),e++,o++;else"object"==typeof t&&(i=t,t.dataLabels&&(r._hasPointLabels=!0),t.marker&&(r._hasPointMarkers=!0));return i},n.prototype.resolveColor=function(){var n=this.series,t=n.chart.options.chart.colorCount,i=n.chart.styledMode;i||this.options.color||(this.color=n.color);n.options.colorByPoint?(i||(t=n.options.colors||n.chart.options.colors,this.color=this.color||t[n.colorCounter],t=t.length),i=n.colorCounter,n.colorCounter++,n.colorCounter===t&&(n.colorCounter=0)):i=n.colorIndex;this.colorIndex=r(this.colorIndex,i)},n.prototype.setNestedProperty=function(n,t,i){return i.split(".").reduce(function(n,i,r,u){return n[i]=u.length-1===r?t:a(n[i],!0)?n[i]:{},n[i]},n),n},n.prototype.tooltipFormatter=function(n){var t=this.series,i=t.tooltipOptions,e=r(i.valueDecimals,""),u=i.valuePrefix||"",f=i.valueSuffix||"";return t.chart.styledMode&&(n=t.chart.tooltip.styledModeFormat(n)),(t.pointArrayMap||["y"]).forEach(function(t){t="{point."+t;(u||f)&&(n=n.replace(RegExp(t+"}","g"),u+t+"}"+f));n=n.replace(RegExp(t+"}","g"),t+":,."+e+"f}")}),h(n,{point:this,series:this.series},t.chart)},n}(),n.Point=t,n.Point}),i(t,"parts/Series.js",[t["parts/Globals.js"],t["mixins/legend-symbol.js"],t["parts/Point.js"],t["parts/Utilities.js"]],function(n,t,i,r){var w=r.addEvent,b=r.animObject,l=r.arrayMax,k=r.arrayMin,s=r.clamp,d=r.correctFloat,f=r.defined,g=r.erase,h=r.error,a=r.extend,ft=r.find,e=r.fireEvent,nt=r.getNestedProperty,v=r.isArray,tt=r.isFunction,o=r.isNumber,et=r.isString,y=r.merge,p=r.objectEach,u=r.pick,it=r.removeEvent,ot=r.seriesType,st=r.splat,rt=r.syncTimeout,c=n.defaultOptions,ht=n.defaultPlotOptions,ut=n.seriesTypes,ct=n.SVGElement,lt=n.win;n.Series=ot("line",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){var n=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":n(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,eventsToUnbind:[],isCartesian:!0,parallelArrays:["x","y"],pointClass:i,requireSorting:!0,sorted:!0,init:function(n,t){var o,i,r,f;e(this,"init",{options:t});i=this;r=n.series;this.eventOptions=this.eventOptions||{};i.chart=n;i.options=t=i.setOptions(t);i.linkedSeries=[];i.bindAxes();a(i,{name:t.name,state:"",visible:!1!==t.visible,selected:!0===t.selected});f=t.events;p(f,function(n,t){tt(n)&&i.eventOptions[t]!==n&&(tt(i.eventOptions[t])&&it(i,t,i.eventOptions[t]),i.eventOptions[t]=n,w(i,t,n))});(f&&f.click||t.point&&t.point.events&&t.point.events.click||t.allowPointSelect)&&(n.runTrackerClick=!0);i.getColor();i.getSymbol();i.parallelArrays.forEach(function(n){i[n+"Data"]||(i[n+"Data"]=[])});i.isCartesian&&(n.hasCartesianSeries=!0);r.length&&(o=r[r.length-1]);i._i=u(o&&o._i,-1)+1;n.orderSeries(this.insert(r));t.dataSorting&&t.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(t.data,!1);e(this,"afterInit")},is:function(n){return ut[n]&&this instanceof ut[n]},insert:function(n){var t,i=this.options.index;if(o(i)){for(t=n.length;t--;)if(i>=u(n[t].options.index,n[t]._i)){n.splice(t+1,0,this);break}-1===t&&n.unshift(this);t+=1}else n.push(this);return u(t,n.length-1)},bindAxes:function(){var t,n=this,i=n.options,r=n.chart;e(this,"bindAxes",null,function(){(n.axisTypes||[]).forEach(function(u){r[u].forEach(function(r){t=r.options;(i[u]===t.index||void 0!==i[u]&&i[u]===t.id||void 0===i[u]&&0===t.index)&&(n.insert(r.series),n[u]=r,r.isDirty=!0)});n[u]||n.optionalAxis===u||h(18,!0,r)})});e(this,"afterBindAxes")},updateParallelArrays:function(n,t){var i=n.series,r=arguments,u=o(t)?function(r){var u="y"===r&&i.toYData?i.toYData(n):n[r];i[r+"Data"][t]=u}:function(n){Array.prototype[t].apply(i[n+"Data"],Array.prototype.slice.call(r,2))};i.parallelArrays.forEach(u)},hasData:function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},autoIncrement:function(){var i,n=this.options,r=this.xIncrement,f=n.pointIntervalUnit,t=this.chart.time;return r=u(r,n.pointStart,0),this.pointInterval=i=u(this.pointInterval,n.pointInterval,1),f&&(n=new t.Date(r),"day"===f?t.set("Date",n,t.get("Date",n)+i):"month"===f?t.set("Month",n,t.get("Month",n)+i):"year"===f&&t.set("FullYear",n,t.get("FullYear",n)+i),i=n.getTime()-r),this.xIncrement=r+i,r},setDataSortingOptions:function(){var n=this.options;a(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});f(n.pointRange)||(n.pointRange=1)},setOptions:function(n){var o=this.chart,r=o.options,i=r.plotOptions,t=o.userOptions||{},h,l,s;return n=y(n),o=o.styledMode,h={plotOptions:i,userOptions:n},e(this,"setOptions",h),l=h.plotOptions[this.type],s=t.plotOptions||{},this.userOptions=h.userOptions,t=y(l,i.series,t.plotOptions&&t.plotOptions[this.type],n),this.tooltipOptions=y(c.tooltip,c.plotOptions.series&&c.plotOptions.series.tooltip,c.plotOptions[this.type].tooltip,r.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,n.tooltip),this.stickyTracking=u(n.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||t.stickyTracking),null===l.marker&&delete t.marker,this.zoneAxis=t.zoneAxis,r=this.zones=(t.zones||[]).slice(),!t.negativeColor&&!t.negativeFillColor||t.zones||(i={value:t[this.zoneAxis+"Threshold"]||t.threshold||0,className:"highcharts-negative"},o||(i.color=t.negativeColor,i.fillColor=t.negativeFillColor),r.push(i)),r.length&&f(r[r.length-1].value)&&r.push(o?{}:{color:this.color,fillColor:this.fillColor}),e(this,"afterSetOptions",{options:t}),t},getName:function(){return u(this.options.name,"Series "+(this.index+1))},getCyclic:function(n,t,i){var r=this.chart,s=this.userOptions,o=n+"Index",h=n+"Counter",c=i?i.length:u(r.options.chart[n+"Count"],r[n+"Count"]),e;t||(e=u(s[o],s["_"+o]),f(e)||(r.series.length||(r[h]=0),s["_"+o]=e=r[h]%c,r[h]+=1),i&&(t=i[e]));void 0!==e&&(this[o]=e);this[n]=t},getColor:function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||ht[this.type].color,this.chart.options.colors)},getPointsCollection:function(){return(this.hasGroupedData?this.points:this.data)||[]},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},findPointIndex:function(n,t){var e,s=n.id,h=n.x,u=this.points,c=this.options.dataSorting,r,f,i;if(s)r=this.chart.get(s);else if((this.linkedParent||this.enabledDataSorting)&&(f=c&&c.matchByName?"name":"index",!(r=ft(u,function(t){return!t.touched&&t[f]===n[f]}))))return;return r&&(i=r&&r.index,void 0!==i&&(e=!0)),void 0===i&&o(h)&&(i=this.xData.indexOf(h,t)),-1!==i&&void 0!==i&&this.cropped&&(i=i>=this.cropStart?i-this.cropStart:i),!e&&u[i]&&u[i].touched&&(i=void 0),i},drawLegendSymbol:t.drawLineMarker,updateData:function(n,t){var s,r,h,c=this.options,u=c.dataSorting,i=this.points,e=[],y=this.requireSorting,a=n.length===i.length,v=!0;if(this.xIncrement=null,n.forEach(function(n,t){var l=f(n)&&this.pointClass.prototype.optionsToObject.call({series:this},n)||{},r=l.x;l.id||o(r)?(-1===(r=this.findPointIndex(l,h))||void 0===r?e.push(n):i[r]&&n!==c.data[r]?(i[r].update(n,!1,null,!1),i[r].touched=!0,y&&(h=r+1)):i[r]&&(i[r].touched=!0),(!a||t!==r||u&&u.enabled||this.hasDerivedData)&&(s=!0)):e.push(n)},this),s)for(n=i.length;n--;)(r=i[n])&&!r.touched&&r.remove&&r.remove(!1,t);else!a||u&&u.enabled?v=!1:(n.forEach(function(n,t){i[t].update&&n!==i[t].y&&i[t].update(n,!1,null,!1)}),e.length=0);return i.forEach(function(n){n&&(n.touched=!1)}),!!v&&(e.forEach(function(n){this.addPoint(n,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=l(this.xData),this.autoIncrement()),!0)},setData:function(n,t,i,r){var e,f=this,s=f.points,g=s&&s.length||0,a=f.options,y=f.chart,nt=a.dataSorting,c=null,b=f.xAxis;c=a.turboThreshold;var tt,k=this.xData,l=this.yData,it=(e=f.pointArrayMap)&&e.length,d=a.keys,p=0,w=1;if(e=(n=n||[]).length,t=u(t,!0),nt&&nt.enabled&&(n=this.sortData(n)),!1!==r&&e&&g&&!f.cropped&&!f.hasGroupedData&&f.visible&&!f.isSeriesBoosting&&(tt=this.updateData(n,i)),!tt){if(f.xIncrement=null,f.colorCounter=0,this.parallelArrays.forEach(function(n){f[n+"Data"].length=0}),c&&e>c)if(c=f.getFirstValidPoint(n),o(c))for(i=0;i<e;i++)k[i]=this.autoIncrement(),l[i]=n[i];else if(v(c))if(it)for(i=0;i<e;i++)r=n[i],k[i]=r[0],l[i]=r.slice(1,it+1);else for(d&&(p=0<=(p=d.indexOf("x"))?p:0,w=0<=(w=d.indexOf("y"))?w:1),i=0;i<e;i++)r=n[i],k[i]=r[p],l[i]=r[w];else h(12,!1,y);else for(i=0;i<e;i++)void 0!==n[i]&&(r={series:f},f.pointClass.prototype.applyOptions.apply(r,[n[i]]),f.updateParallelArrays(r,i));for(l&&et(l[0])&&h(14,!0,y),f.data=[],f.options.data=f.userOptions.data=n,i=g;i--;)s[i]&&s[i].destroy&&s[i].destroy();b&&(b.minRange=b.userMinRange);f.isDirty=y.isDirtyBox=!0;f.isDirtyData=!!s;i=!1}"point"===a.legendType&&(this.processData(),this.generatePoints());t&&y.redraw(i)},sortData:function(n){var t=this,i=t.options.dataSorting.sortKey||"y",r=function(n,t){return f(t)&&n.pointClass.prototype.optionsToObject.call({series:n},t)||{}};return n.forEach(function(i,u){n[u]=r(t,i);n[u].index=u},this),n.concat().sort(function(n,t){return n=nt(i,n),(t=nt(i,t))<n?-1:t>n?1:0}).forEach(function(n,t){n.x=t},this),t.linkedSeries&&t.linkedSeries.forEach(function(t){var u=t.options,i=u.data;u.dataSorting&&u.dataSorting.enabled||!i||(i.forEach(function(u,f){i[f]=r(t,u);n[f]&&(i[f].x=n[f].x,i[f].index=f)}),t.setData(i,!1))}),n},processData:function(n){var t=this.xData,l=this.yData,r=t.length,f=0,u=this.xAxis,e=this.options,i=e.cropThreshold,w=this.getExtremesFromAll||e.getExtremesFromAll,v=this.isCartesian,y,a,o,s,p,c;if(e=u&&u.val2lin,y=u&&u.isLog,a=this.requireSorting,v&&!this.isDirty&&!u.isDirty&&!this.yAxis.isDirty&&!n)return!1;for(u&&(o=(n=u.getExtremes()).min,s=n.max),v&&this.sorted&&!w&&(!i||r>i||this.forceCrop)&&(t[r-1]<o||t[0]>s?(t=[],l=[]):this.yData&&(t[0]<o||t[r-1]>s)&&(t=(f=this.cropData(this.xData,this.yData,o,s)).xData,l=f.yData,f=f.start,p=!0)),i=t.length||1;--i;)0<(r=y?e(t[i])-e(t[i-1]):t[i]-t[i-1])&&(void 0===c||r<c)?c=r:0>r&&a&&(h(15,!1,this.chart),a=!1);this.cropped=p;this.cropStart=f;this.processedXData=t;this.processedYData=l;this.closestPointRange=this.basePointRange=c},cropData:function(n,t,i,r,f){var e,h=n.length,o=0,s=h;for(f=u(f,this.cropShoulder),e=0;e<h;e++)if(n[e]>=i){o=Math.max(0,e-f);break}for(i=e;i<h;i++)if(n[i]>r){s=i+f;break}return{xData:n.slice(o,s),yData:t.slice(o,s),start:o,end:s}},generatePoints:function(){var l,u=this.options,o=u.data,i=this.data,s=this.processedXData,p=this.processedYData,v=this.pointClass,h=s.length,y=this.cropStart||0,f=this.hasGroupedData,n,c,r,t;for(u=u.keys,c=[],i||f||((i=[]).length=o.length,i=this.data=i),u&&f&&(this.options.keys=!1),n=0;n<h;n++)r=y+n,f?(t=(new v).init(this,[s[n]].concat(st(p[n]))),t.dataGroup=this.groupMap[n],t.dataGroup.options&&(t.options=t.dataGroup.options,a(t,t.dataGroup.options),delete t.dataLabels)):(t=i[r])||void 0===o[r]||(i[r]=t=(new v).init(this,o[r],s[n])),t&&(t.index=r,c[n]=t);if(this.options.keys=u,i&&(h!==(l=i.length)||f))for(n=0;n<l;n++)n!==y||f||(n+=h),i[n]&&(i[n].destroyElements(),i[n].plotX=void 0);this.data=i;this.points=c;e(this,"afterGeneratePoints")},getXExtremes:function(n){return{min:k(n),max:l(n)}},getExtremes:function(n){var i,c=this.xAxis,u=this.yAxis,a=this.processedXData||this.xData,f=[],y=0,p=0,s=0,w=this.requireSorting?this.cropShoulder:0,b=!!u&&u.positiveValuesOnly;for(u=(n=n||this.stackedYData||this.processedYData||[]).length,c&&(p=(s=c.getExtremes()).min,s=s.max),i=0;i<u;i++){var h=a[i],t=n[i],r=(o(t)||v(t))&&(t.length||0<t||!b);if(h=this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c||(a[i+w]||h)>=p&&(a[i-w]||h)<=s,r&&h)if(r=t.length)for(;r--;)o(t[r])&&(f[y++]=t[r]);else f[y++]=t}this.dataMin=k(f);this.dataMax=l(f);e(this,"afterGetExtremes")},getFirstValidPoint:function(n){for(var t=null,r=n.length,i=0;null===t&&i<r;)t=n[i],i++;return t},translate:function(){var b,c,k,rt;this.processedXData||this.processData();this.generatePoints();for(var y,p=this.options,ut=p.stacking,g=this.xAxis,nt=g.categories,st=this.enabledDataSorting,r=this.yAxis,ft=this.points,ht=ft.length,ct=!!this.modifyValue,tt=this.pointPlacementToXValue(),lt=!!tt,l=p.threshold,et=p.startFromThreshold?l:0,ot=this.zoneAxis||"y",it=Number.MAX_VALUE,a=0;a<ht;a++){var n=ft[a],h=n.x,t=n.y,i=n.low,w=ut&&r.stacks[(this.negStacks&&t<(et?0:l)?"-":"")+this.stackKey];(r.positiveValuesOnly&&null!==t&&0>=t&&(n.isNull=!0),n.plotX=y=d(s(g.translate(h,0,0,0,1,tt,"flags"===this.type),-1e5,1e5)),ut&&this.visible&&w&&w[h])&&(b=this.getStackIndicator(b,h,this.index),n.isNull||(c=w[h],k=c.points[b.key]));(v(k)&&(i=k[0],t=k[1],i===et&&b.key===w[h].base&&(i=u(o(l)&&l,r.min)),r.positiveValuesOnly&&0>=i&&(i=null),n.total=n.stackTotal=c.total,n.percentage=c.total&&n.y/c.total*100,n.stackY=t,this.irregularWidths||c.setOffset(this.pointXOffset||0,this.barW||0)),n.yBottom=f(i)?s(r.translate(i,0,1,0,1),-1e5,1e5):null,ct&&(t=this.modifyValue(t,n)),n.plotY="number"==typeof t&&1/0!==t?s(r.translate(t,0,1,0,1),-1e5,1e5):void 0,n.isInside=this.isPointInside(n),n.clientX=lt?d(g.translate(h,0,0,0,1,tt)):y,n.negative=n[ot]<(p[ot+"Threshold"]||l||0),n.category=nt&&void 0!==nt[n.x]?nt[n.x]:n.x,n.isNull||!1===n.visible)||(void 0!==rt&&(it=Math.min(it,Math.abs(y-rt))),rt=y);n.zone=this.zones.length&&n.getZone();!n.graphic&&this.group&&st&&(n.isNew=!0)}this.closestPointRangePx=it;e(this,"afterTranslate")},getValidPoints:function(n,t,i){var r=this.chart;return(n||this.points||[]).filter(function(n){return!(t&&!r.isInsidePlot(n.plotX,n.plotY,r.inverted))&&!1!==n.visible&&(i||!n.isNull)})},getClipBox:function(n,t){var f=this.options,i=this.chart,e=i.inverted,r=this.xAxis,u=r&&this.yAxis;return n&&!1===f.clip&&u?n=e?{y:-i.chartWidth+u.len+u.pos,height:i.chartWidth,width:i.chartHeight,x:-i.chartHeight+r.len+r.pos}:{y:-u.pos,height:i.chartHeight,width:i.chartWidth,x:-r.pos}:(n=this.clipBox||i.clipBox,t&&(n.width=i.plotSizeX,n.x=0)),t?{width:n.width,x:n.x}:n},setClip:function(n){var t=this.chart,f=this.options,o=t.renderer,e=t.inverted,s=this.clipBox,u=this.getClipBox(n),i=this.sharedClipKey||["_sharedClip",n&&n.duration,n&&n.easing,u.height,f.xAxis,f.yAxis].join(),r=t[i],h=t[i+"m"];n&&(u.width=0,e&&(u.x=t.plotHeight+(!1!==f.clip?0:t.plotTop)));r?t.hasLoaded||r.attr(u):(n&&(t[i+"m"]=h=o.clipRect(e?t.plotSizeX+99:-99,e?-t.plotLeft:-t.plotTop,99,e?t.chartWidth:t.chartHeight)),t[i]=r=o.clipRect(u),r.count={length:0});n&&!r.count[this.index]&&(r.count[this.index]=!0,r.count.length+=1);(!1!==f.clip||n)&&(this.group.clip(n||s?r:t.clipRect),this.markerGroup.clip(h),this.sharedClipKey=i);n||(r.count[this.index]&&(delete r.count[this.index],--r.count.length),0===r.count.length&&i&&t[i]&&(s||(t[i]=t[i].destroy()),t[i+"m"]&&(t[i+"m"]=t[i+"m"].destroy())))},animate:function(n){var t=this.chart,i=b(this.options.animation),r,u;t.hasRendered||(n?this.setClip(i):(r=this.sharedClipKey,n=t[r],u=this.getClipBox(i,!0),n&&n.animate(u,i),t[r+"m"]&&t[r+"m"].animate({width:u.width+99,x:u.x-(t.inverted?0:99)},i)))},afterAnimate:function(){this.setClip();e(this,"afterAnimate");this.finishedAnimating=!0},drawPoints:function(){var e,t,l=this.points,h=this.chart,f=this.options.marker,v=this[this.specialGroup]||this.markerGroup,o=this.xAxis,y=u(f.enabled,!(o&&!o.isRadial)||null,this.closestPointRangePx>=f.enabledThreshold*f.radius),a,i,r;if(!1!==f.enabled||this._hasPointMarkers)for(e=0;e<l.length;e++){var n=l[e],c=(t=n.graphic)?"animate":"attr",s=n.marker||{},p=!!n.marker;(y&&void 0===s.enabled||s.enabled)&&!n.isNull&&!1!==n.visible?(a=u(s.symbol,this.symbol),i=this.markerAttribs(n,n.selected&&"select"),this.enabledDataSorting&&(n.startXPos=o.reversed?-i.width:o.width),r=!1!==n.isInside,t?t[r?"show":"hide"](r).animate(i):r&&(0<i.width||n.hasImage)&&(n.graphic=t=h.renderer.symbol(a,i.x,i.y,i.width,i.height,p?s:f).add(v),this.enabledDataSorting&&h.hasRendered&&(t.attr({x:n.startXPos}),c="animate")),t&&"animate"===c&&t[r?"show":"hide"](r).animate(i),t&&!h.styledMode&&t[c](this.pointAttribs(n,n.selected&&"select")),t&&t.addClass(n.getClassName(),!0)):t&&(n.graphic=t.destroy())}},markerAttribs:function(n,t){var i=this.options.marker,f=n.marker||{},e=f.symbol||i.symbol,r=u(f.radius,i.radius);return t&&(i=i.states[t],t=f.states&&f.states[t],r=u(t&&t.radius,i&&i.radius,r+(i&&i.radiusPlus||0))),n.hasImage=e&&0===e.indexOf("url"),n.hasImage&&(r=0),n={x:Math.floor(n.plotX)-r,y:n.plotY-r},r&&(n.width=n.height=2*r),n},pointAttribs:function(n,t){var i=this.options.marker,r=n&&n.options,e=r&&r.marker||{},f=this.color,o=r&&r.color,h=n&&n.color,s;return r=u(e.lineWidth,i.lineWidth),s=n&&n.zone&&n.zone.color,n=1,f=o||s||h||f,o=e.fillColor||i.fillColor||f,f=e.lineColor||i.lineColor||f,t=t||"normal",i=i.states[t],t=e.states&&e.states[t]||{},r=u(t.lineWidth,i.lineWidth,r+u(t.lineWidthPlus,i.lineWidthPlus,0)),o=t.fillColor||i.fillColor||o,{stroke:f=t.lineColor||i.lineColor||f,"stroke-width":r,fill:o,opacity:n=u(t.opacity,i.opacity,n)}},destroy:function(n){var f,o,i,t=this,u=t.chart,h=/AppleWebKit\/533/.test(lt.navigator.userAgent),s=t.data||[];for(e(t,"destroy"),this.removeEvents(n),(t.axisTypes||[]).forEach(function(n){(i=t[n])&&i.series&&(g(i.series,t),i.isDirty=i.forceRedraw=!0)}),t.legendItem&&t.chart.legend.destroyItem(t),f=s.length;f--;)(o=s[f])&&o.destroy&&o.destroy();t.points=null;r.clearTimeout(t.animationTimeout);p(t,function(n,t){n instanceof ct&&!n.survive&&n[h&&"group"===t?"hide":"destroy"]()});u.hoverSeries===t&&(u.hoverSeries=null);g(u.series,t);u.orderSeries();p(t,function(i,r){n&&"hcEvents"===r||delete t[r]})},getGraphPath:function(n,t,i){var c,u,e=this,h=e.options,r=h.step,o=[],s=[];return(c=(n=n||e.points).reversed)&&n.reverse(),(r={right:1,center:2}[r]||r&&3)&&c&&(r=4-r),(n=this.getValidPoints(n,!1,!(h.connectNulls&&!t&&!i))).forEach(function(c,l){var v=c.plotX,y=c.plotY,a=n[l-1];(c.leftCliff||a&&a.rightCliff)&&!i&&(u=!0);c.isNull&&!f(t)&&0<l?u=!h.connectNulls:c.isNull&&!t?u=!0:(0===l||u?l=["M",c.plotX,c.plotY]:e.getPointSpline?l=e.getPointSpline(n,c,l):r?(l=1===r?["L",a.plotX,y]:2===r?["L",(a.plotX+v)/2,a.plotY,"L",(a.plotX+v)/2,y]:["L",v,a.plotY]).push("L",v,y):l=["L",v,y],s.push(c.x),r&&(s.push(c.x),2===r&&s.push(c.x)),o.push.apply(o,l),u=!1)}),o.xMap=s,e.graphPath=o},drawGraph:function(){var n=this,i=this.options,t=(this.gappedPath||this.getGraphPath).call(this),u=this.chart.styledMode,r=[["graph","highcharts-graph"]];u||r[0].push(i.lineColor||this.color||"#cccccc",i.dashStyle);(r=n.getZonesGraphs(r)).forEach(function(r,f){var o=r[0],e=n[o],s=e?"animate":"attr";e?(e.endX=n.preventGraphAnimation?null:t.xMap,e.animate({d:t})):t.length&&(n[o]=e=n.chart.renderer.path(t).addClass(r[1]).attr({zIndex:1}).add(n.group));e&&!u&&(o={stroke:r[2],"stroke-width":i.lineWidth,fill:n.fillGraph&&n.color||"none"},r[3]?o.dashstyle=r[3]:"square"!==i.linecap&&(o["stroke-linecap"]=o["stroke-linejoin"]="round"),e[s](o).shadow(2>f&&i.shadow));e&&(e.startX=t.xMap,e.isArea=t.isArea)})},getZonesGraphs:function(n){return this.zones.forEach(function(t,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(t.className||"")];this.chart.styledMode||i.push(t.color||this.color,t.dashStyle||this.options.dashStyle);n.push(i)},this),n},applyZones:function(){var f,r,n,w,a,v,y=this,t=this.chart,d=t.renderer,g=this.zones,e=this.clips||[],o=this.graph,h=this.area,p=Math.max(t.chartWidth,t.chartHeight),i=this[(this.zoneAxis||"y")+"Axis"],b=t.inverted,nt=!1,k,c,l;g.length&&(o||h)&&i&&void 0!==i.min?(k=i.reversed,c=i.horiz,o&&!this.showLine&&o.hide(),h&&h.hide(),l=i.getExtremes(),g.forEach(function(g,tt){f=k?c?t.plotWidth:0:c?0:i.toPixels(l.min)||0;f=s(u(r,f),0,p);r=s(Math.round(i.toPixels(u(g.value,l.max),!0)||0),0,p);nt&&(f=r=i.toPixels(l.max));w=Math.abs(f-r);a=Math.min(f,r);v=Math.max(f,r);i.isXAxis?(n={x:b?v:a,y:0,width:w,height:p},c||(n.x=t.plotHeight-n.x)):(n={x:0,y:b?v:a,width:p,height:w},c&&(n.y=t.plotWidth-n.y));b&&d.isVML&&(n=i.isXAxis?{x:0,y:k?a:v,height:n.width,width:t.chartWidth}:{x:n.y-t.plotLeft-t.spacingBox.x,y:0,width:n.height,height:t.chartHeight});e[tt]?e[tt].animate(n):e[tt]=d.clipRect(n);o&&y["zone-graph-"+tt].clip(e[tt]);h&&y["zone-area-"+tt].clip(e[tt]);nt=g.value>l.max;y.resetZones&&0===r&&(r=void 0)}),this.clips=e):y.visible&&(o&&o.show(!0),h&&h.show(!0))},invertGroups:function(n){function i(){["group","markerGroup"].forEach(function(i){t[i]&&(r.renderer.isVML&&t[i].attr({width:t.yAxis.len,height:t.xAxis.len}),t[i].width=t.yAxis.len,t[i].height=t.xAxis.len,t[i].invert(!t.isRadialSeries&&n))})}var t=this,r=t.chart;t.xAxis&&(t.eventsToUnbind.push(w(r,"resize",i)),i(),t.invertGroups=i)},plotGroup:function(n,t,i,r,u){var e=this[n],o=!e;return o&&(this[n]=e=this.chart.renderer.g().attr({zIndex:r||.1}).add(u)),e.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(f(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(e.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),e.attr({visibility:i})[o?"attr":"animate"](this.getPlotBox()),e},getPlotBox:function(){var t=this.chart,i=this.xAxis,n=this.yAxis;return t.inverted&&(i=n,n=this.xAxis),{translateX:i?i.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},removeEvents:function(n){n?this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(n){n()}),this.eventsToUnbind.length=0):it(this)},render:function(){var n=this,t=n.chart,i=n.options,r=!n.finishedAnimating&&t.renderer.isSVG&&b(i.animation).duration,f=n.visible?"inherit":"hidden",o=i.zIndex,s=n.hasRendered,h=t.seriesGroup,c=t.inverted,u;e(this,"render");u=n.plotGroup("group","series",f,o,h);n.markerGroup=n.plotGroup("markerGroup","markers",f,o,h);r&&n.animate&&n.animate(!0);u.inverted=!(!n.isCartesian&&!n.invertable)&&c;n.drawGraph&&(n.drawGraph(),n.applyZones());n.visible&&n.drawPoints();n.drawDataLabels&&n.drawDataLabels();n.redrawPoints&&n.redrawPoints();n.drawTracker&&!1!==n.options.enableMouseTracking&&n.drawTracker();n.invertGroups(c);!1===i.clip||n.sharedClipKey||s||u.clip(t.clipRect);r&&n.animate&&n.animate();s||(n.animationTimeout=rt(function(){n.afterAnimate()},r||0));n.isDirty=!1;n.hasRendered=!0;e(n,"afterRender")},redraw:function(){var n=this.chart,f=this.isDirty||this.isDirtyData,t=this.group,i=this.xAxis,r=this.yAxis;t&&(n.inverted&&t.attr({width:n.plotWidth,height:n.plotHeight}),t.animate({translateX:u(i&&i.left,n.plotLeft),translateY:u(r&&r.top,n.plotTop)}));this.translate();this.render();f&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(n,t){var i=this.xAxis,r=this.yAxis,u=this.chart.inverted;return this.searchKDTree({clientX:u?i.len-n.chartY+i.pos:n.chartX-i.pos,plotY:u?r.len-n.chartX+r.pos:n.chartY-r.pos},t,n)},buildKDTree:function(n){this.buildingKdTree=!0;var t=this,i=-1<t.options.findNearestPointBy.indexOf("y")?2:1;delete t.kdTree;rt(function(){t.kdTree=function n(i,r,u){var f,e;if(f=i&&i.length)return e=t.kdAxisArray[r%u],i.sort(function(n,t){return n[e]-t[e]}),{point:i[f=Math.floor(f/2)],left:n(i.slice(0,f),r+1,u),right:n(i.slice(f+1),r+1,u)}}(t.getValidPoints(null,!t.directTouch),i,i);t.buildingKdTree=!1},t.options.kdNow||n&&"touchstart"===n.type?0:1)},searchKDTree:function(n,t,i){var o=this,u=this.kdAxisArray[0],e=this.kdAxisArray[1],r=t?"distX":"dist";if(t=-1<o.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function n(t,i,s,h){var c=i.point,v=o.kdAxisArray[s%h],a=c,y=f(t[u])&&f(c[u])?Math.pow(t[u]-c[u],2):null,l=f(t[e])&&f(c[e])?Math.pow(t[e]-c[e],2):null;return l=(y||0)+(l||0),c.dist=f(l)?Math.sqrt(l):Number.MAX_VALUE,c.distX=f(y)?Math.sqrt(y):Number.MAX_VALUE,y=0>(v=t[v]-c[v])?"right":"left",i[l=0>v?"left":"right"]&&(a=(l=n(t,i[l],s+1,h))[r]<a[r]?l:c),i[y]&&Math.sqrt(v*v)<a[r]&&(a=(t=n(t,i[y],s+1,h))[r]<a[r]?t:a),a}(n,this.kdTree,t,t)},pointPlacementToXValue:function(){var n=this.options,i=n.pointRange,t=this.xAxis;return"between"===(n=n.pointPlacement)&&(n=t.reversed?-.5:.5),o(n)?n*u(i,t.pointRange):0},isPointInside:function(n){return void 0!==n.plotY&&void 0!==n.plotX&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len}})}),i(t,"parts/Stacking.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var f=t.correctFloat,e=t.defined,s=t.destroyObjectProperties,h=t.format,r=t.objectEach,i=t.pick,o,u;t=n.Axis;o=n.Chart;u=n.Series;n.StackItem=function(n,t,i,r,u){var f=n.chart.inverted;this.axis=n;this.isNegative=i;this.options=t=t||{};this.x=r;this.total=null;this.points={};this.stack=u;this.rightCliff=this.leftCliff=0;this.alignOptions={align:t.align||(f?i?"left":"right":"center"),verticalAlign:t.verticalAlign||(f?"middle":i?"bottom":"top"),y:t.y,x:t.x};this.textAlign=t.textAlign||(f?i?"right":"left":"center")};n.StackItem.prototype={destroy:function(){s(this,this.axis)},render:function(n){var u=this.axis.chart,r=this.options,t=r.format;t=t?h(t,this,u):r.formatter.call(this);this.label?this.label.attr({text:t,visibility:"hidden"}):(this.label=u.renderer.label(t,null,null,r.shape,null,null,r.useHTML,!1,"stack-labels"),t={text:t,rotation:r.rotation,padding:i(r.padding,5),visibility:"hidden"},this.label.attr(t),u.styledMode||this.label.css(r.style),this.label.added||this.label.add(n));this.label.labelrank=u.plotHeight},setOffset:function(n,t,r,f,o){var s=this.axis,h=s.chart,c;f=s.translate(s.usePercentage?100:f||this.total,0,0,0,1);r=s.translate(r||0);r=e(f)&&Math.abs(f-r);n=i(o,h.xAxis[0].translate(this.x))+n;s=e(f)&&this.getStackBox(h,this,n,f,t,r,s);t=this.label;r=this.isNegative;n="justify"===i(this.options.overflow,"justify");c=this.textAlign;t&&s&&(o=t.getBBox(),f=t.padding,c="left"===c?h.inverted?-f:f:"right"===c?o.width:h.inverted&&"center"===c?o.width/2:h.inverted?r?o.width+f:-f:o.width/2,r=h.inverted?o.height/2:r?-f:o.height,this.alignOptions.x=i(this.options.x,0),this.alignOptions.y=i(this.options.y,0),s.x-=c,s.y-=r,t.align(this.alignOptions,null,s),h.isInsidePlot(t.alignAttr.x+c-this.alignOptions.x,t.alignAttr.y+r-this.alignOptions.y)?t.show():(t.alignAttr.y=-9999,n=!1),n&&u.prototype.justifyDataLabel.call(this.axis,t,this.alignOptions,t.alignAttr,o,s),t.attr({x:t.alignAttr.x,y:t.alignAttr.y}),i(!n&&this.options.crop,!0)&&((h=h.isInsidePlot(t.x-f+t.width,t.y)&&h.isInsidePlot(t.x+f,t.y))||t.hide()))},getStackBox:function(n,t,i,r,u,f,e){var s=t.axis.reversed,o=n.inverted;return n=e.height+e.pos-(o?n.plotLeft:n.plotTop),t=t.isNegative&&!s||!t.isNegative&&s,{x:o?t?r:r-f:i,y:o?n-i-u:t?n-r-f:n-r,width:o?f:u,height:o?u:f}}};o.prototype.getStacks=function(){var n=this,t=n.inverted;n.yAxis.forEach(function(n){n.stacks&&n.hasVisibleSeries&&(n.oldStacks=n.stacks)});n.series.forEach(function(r){var u=r.xAxis&&r.xAxis.options||{};r.options.stacking&&(!0===r.visible||!1===n.options.chart.ignoreHiddenSeries)&&(r.stackKey=[r.type,i(r.options.stack,""),t?u.top:u.left,t?u.height:u.width].join())})};t.prototype.buildStacks=function(){var t,r=this.series,f=i(this.options.reversedStacks,!0),u=r.length;if(!this.isXAxis){for(this.usePercentage=!1,t=u;t--;)r[f?t:u-t-1].setStackedPoints();for(t=0;t<u;t++)r[t].modifyStacks();n.fireEvent(this,"afterBuildStacks")}};t.prototype.renderStackTotals=function(){var t=this.chart,i=t.renderer,u=this.stacks,n=this.stackTotalGroup;n||(this.stackTotalGroup=n=i.g("stack-labels").attr({visibility:"visible",zIndex:6}).add());n.translate(t.plotLeft,t.plotTop);r(u,function(t){r(t,function(t){t.render(n)})})};t.prototype.resetStacks=function(){var n=this,t=n.stacks;n.isXAxis||r(t,function(t){r(t,function(i,r){i.touched<n.stacksTouched?(i.destroy(),delete t[r]):(i.total=null,i.cumulative=null)})})};t.prototype.cleanStacks=function(){if(!this.isXAxis){if(this.oldStacks)var n=this.stacks=this.oldStacks;r(n,function(n){r(n,function(n){n.cumulative=n.total})})}};u.prototype.setStackedPoints=function(){if(this.options.stacking&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var tt=this.processedXData,b=this.processedYData,k=[],it=b.length,h=this.options,d=h.threshold,v=i(h.startFromThreshold&&d,0),rt=h.stack;h=h.stacking;var u,l,y=this.stackKey,g="-"+y,nt=this.negStacks,s=this.yAxis,o=s.stacks,p=s.oldStacks;for(s.stacksTouched+=1,l=0;l<it;l++){var r=tt[l],c=b[l],w=this.getStackIndicator(w,r,this.index),a=w.key,t=(u=nt&&c<(v?0:d))?g:y;o[t]||(o[t]={});o[t][r]||(p[t]&&p[t][r]?(o[t][r]=p[t][r],o[t][r].total=null):o[t][r]=new n.StackItem(s,s.options.stackLabels,u,r,rt));t=o[t][r];null!==c?(t.points[a]=t.points[this.index]=[i(t.cumulative,v)],e(t.cumulative)||(t.base=a),t.touched=s.stacksTouched,0<w.index&&!1===this.singleStacks&&(t.points[a][0]=t.points[this.index+","+r+",0"][0])):t.points[a]=t.points[this.index]=null;"percent"===h?(u=u?y:g,nt&&o[u]&&o[u][r]?(u=o[u][r],t.total=u.total=Math.max(u.total,t.total)+Math.abs(c)||0):t.total=f(t.total+(Math.abs(c)||0))):t.total=f(t.total+(c||0));t.cumulative=i(t.cumulative,v)+(c||0);null!==c&&(t.points[a].push(t.cumulative),k[l]=t.cumulative)}"percent"===h&&(s.usePercentage=!0);this.stackedYData=k;s.oldStacks={}}};u.prototype.modifyStacks=function(){var t,n=this,i=n.stackKey,r=n.yAxis.stacks,u=n.processedXData,f=n.options.stacking;n[f+"Stacker"]&&[i,"-"+i].forEach(function(i){for(var e,s,o=u.length;o--;)e=u[o],t=n.getStackIndicator(t,e,n.index,i),(s=(e=r[i]&&r[i][e])&&e.points[t.key])&&n[f+"Stacker"](s,e,o)})};u.prototype.percentStacker=function(n,t,i){t=t.total?100/t.total:0;n[0]=f(n[0]*t);n[1]=f(n[1]*t);this.stackedYData[i]=n[1]};u.prototype.getStackIndicator=function(n,t,i,r){return!e(n)||n.x!==t||r&&n.key!==r?n={x:t,index:0,key:r}:n.index++,n.key=[i,t,n.index].join(),n}}),i(t,"parts/Dynamics.js",[t["parts/Globals.js"],t["parts/Point.js"],t["parts/Time.js"],t["parts/Utilities.js"]],function(n,t,i,r){var d=r.addEvent,a=r.animate,v=r.createElement,s=r.css,g=r.defined,y=r.erase,nt=r.error,f=r.extend,e=r.fireEvent,tt=r.isArray,p=r.isNumber,h=r.isObject,it=r.isString,o=r.merge,c=r.objectEach,u=r.pick,rt=r.relativeLength,ut=r.setAnimation,w=r.splat,b=n.Axis,k,l;r=n.Chart;k=n.Series;l=n.seriesTypes;n.cleanRecursively=function(t,i){var r={};return c(t,function(u,f){h(t[f],!0)&&!t.nodeType&&i[f]?(u=n.cleanRecursively(t[f],i[f]),Object.keys(u).length&&(r[f]=u)):(h(t[f])||t[f]!==i[f])&&(r[f]=t[f])}),r};f(r.prototype,{addSeries:function(n,t,i){var f,r=this;return n&&(t=u(t,!0),e(r,"addSeries",{options:n},function(){f=r.initSeries(n);r.isDirtyLegend=!0;r.linkSeries();f.enabledDataSorting&&f.setData(n.data,!1);e(r,"afterAddSeries",{series:f});t&&r.redraw(i)})),f},addAxis:function(n,t,i,r){return this.createAxis(t?"xAxis":"yAxis",{axis:n,redraw:i,animation:r})},addColorAxis:function(n,t,i){return this.createAxis("colorAxis",{axis:n,redraw:t,animation:i})},createAxis:function(t,i){var r=this.options,f="colorAxis"===t,s=i.redraw,h=i.animation,e;return i=o(i.axis,{index:this[t].length,isX:"xAxis"===t}),e=f?new n.ColorAxis(this,i):new b(this,i),r[t]=w(r[t]||{}),r[t].push(i),f&&(this.isDirtyLegend=!0,this.axes.forEach(function(n){n.series=[]}),this.series.forEach(function(n){n.bindAxes();n.isDirtyData=!0})),u(s,!0)&&this.redraw(h),e},showLoading:function(n){var t=this,e=t.options,i=t.loadingDiv,r=e.loading,o=function(){i&&s(i,{left:t.plotLeft+"px",top:t.plotTop+"px",width:t.plotWidth+"px",height:t.plotHeight+"px"})};i||(t.loadingDiv=i=v("div",{className:"highcharts-loading highcharts-loading-hidden"},null,t.container),t.loadingSpan=v("span",{className:"highcharts-loading-inner"},null,i),d(t,"redraw",o));i.className="highcharts-loading";t.loadingSpan.innerHTML=u(n,e.lang.loading,"");t.styledMode||(s(i,f(r.style,{zIndex:10})),s(t.loadingSpan,r.labelStyle),t.loadingShown||(s(i,{opacity:0,display:""}),a(i,{opacity:r.style.opacity||.5},{duration:r.showDuration||0})));t.loadingShown=!0;o()},hideLoading:function(){var t=this.options,n=this.loadingDiv;n&&(n.className="highcharts-loading highcharts-loading-hidden",this.styledMode||a(n,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){s(n,{display:"none"})}}));this.loadingShown=!1},propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" "),collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],update:function(t,r,f,s){var l,v,y,h=this,b={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},k=t.isResponsiveOptions,d=[],a;(e(h,"update",{options:t}),k||h.setResponsive(!1,!0),t=n.cleanRecursively(t,h.options),o(!0,h.userOptions,t),l=t.chart)&&((o(!0,h.options.chart,l),"className"in l&&h.setClassName(l.className),"reflow"in l&&h.setReflow(l.reflow),"inverted"in l||"polar"in l||"type"in l)&&(h.propFromSeries(),a=!0),"alignTicks"in l&&(a=!0),c(l,function(n,t){-1!==h.propsRequireUpdateSeries.indexOf("chart."+t)&&(v=!0);-1!==h.propsRequireDirtyBox.indexOf(t)&&(h.isDirtyBox=!0);k||-1===h.propsRequireReflow.indexOf(t)||(y=!0)}),!h.styledMode&&"style"in l&&h.renderer.setStyle(l.style));!h.styledMode&&t.colors&&(this.options.colors=t.colors);t.plotOptions&&o(!0,this.options.plotOptions,t.plotOptions);t.time&&this.time===n.time&&(this.time=new i(t.time));c(t,function(n,t){h[t]&&"function"==typeof h[t].update?h[t].update(n,!1):"function"==typeof h[b[t]]&&h[b[t]](n);"chart"!==t&&-1!==h.propsRequireUpdateSeries.indexOf(t)&&(v=!0)});this.collectionsWithUpdate.forEach(function(n){if(t[n]){if("series"===n){var i=[];h[n].forEach(function(n,t){n.options.isInternal||i.push(u(n.options.index,t))})}w(t[n]).forEach(function(t,r){(r=g(t.id)&&h.get(t.id)||h[n][i?i[r]:r])&&r.coll===n&&(r.update(t,!1),f&&(r.touched=!0));!r&&f&&h.collectionsWithInit[n]&&(h.collectionsWithInit[n][0].apply(h,[t].concat(h.collectionsWithInit[n][1]||[]).concat([!1])).touched=!0)});f&&h[n].forEach(function(n){n.touched||n.options.isInternal?delete n.touched:d.push(n)})}});d.forEach(function(n){n.remove&&n.remove(!1)});a&&h.axes.forEach(function(n){n.update({},!1)});v&&h.getSeriesOrderByLinks().forEach(function(n){n.chart&&n.update({},!1)},this);t.loading&&o(!0,h.options.loading,t.loading);a=l&&l.width;l=l&&l.height;it(l)&&(l=rt(l,a||h.chartWidth));y||p(a)&&a!==h.chartWidth||p(l)&&l!==h.chartHeight?h.setSize(a,l,s):u(r,!0)&&h.redraw(s);e(h,"afterUpdate",{options:t,redraw:r,animation:s})},setSubtitle:function(n,t){this.applyDescription("subtitle",n);this.layOutTitles(t)},setCaption:function(n,t){this.applyDescription("caption",n);this.layOutTitles(t)}});r.prototype.collectionsWithInit={xAxis:[r.prototype.addAxis,[!0]],yAxis:[r.prototype.addAxis,[!1]],series:[r.prototype.addSeries]};f(t.prototype,{update:function(n,t,i,r){function a(){f.applyOptions(n);var r=o&&f.hasDummyGraphic;r=null===f.y?!r:r;o&&r&&(f.graphic=o.destroy(),delete f.hasDummyGraphic);h(n,!0)&&(o&&o.element&&n&&n.marker&&void 0!==n.marker.symbol&&(f.graphic=o.destroy()),n&&n.dataLabels&&f.dataLabel&&(f.dataLabel=f.dataLabel.destroy()),f.connector&&(f.connector=f.connector.destroy()));s=f.index;e.updateParallelArrays(f,s);c.data[s]=h(c.data[s],!0)||h(n,!0)?f.options:u(n,c.data[s]);e.isDirty=e.isDirtyData=!0;!e.fixedBox&&e.hasCartesianSeries&&(l.isDirtyBox=!0);"point"===c.legendType&&(l.isDirtyLegend=!0);t&&l.redraw(i)}var s,f=this,e=f.series,o=f.graphic,l=e.chart,c=e.options;t=u(t,!0);!1===r?a():f.firePointEvent("update",{options:n},a)},remove:function(n,t){this.series.removePoint(this.series.data.indexOf(this),n,t)}});f(k.prototype,{addPoint:function(n,t,i,r,f){var y=this.options,c=this.data,w=this.chart,h=this.xAxis,p,v,l,o,a,s;if(h=h&&h.hasNames&&h.names,v=y.data,l=this.xData,t=u(t,!0),o={series:this},this.pointClass.prototype.applyOptions.apply(o,[n]),a=o.x,s=l.length,this.requireSorting&&a<l[s-1])for(p=!0;s&&l[s-1]>a;)s--;this.updateParallelArrays(o,"splice",s,0,0);this.updateParallelArrays(o,s);h&&o.name&&(h[a]=o.name);v.splice(s,0,n);p&&(this.data.splice(s,0,null),this.processData());"point"===y.legendType&&this.generatePoints();i&&(c[0]&&c[0].remove?c[0].remove(!1):(c.shift(),this.updateParallelArrays(o,"shift"),v.shift()));!1!==f&&e(this,"addPoint",{point:o});this.isDirtyData=this.isDirty=!0;t&&w.redraw(r)},removePoint:function(n,t,i){var r=this,e=r.data,f=e[n],o=r.points,s=r.chart,h=function(){o&&o.length===e.length&&o.splice(n,1);e.splice(n,1);r.options.data.splice(n,1);r.updateParallelArrays(f||{series:r},"splice",n,1);f&&f.destroy();r.isDirty=!0;r.isDirtyData=!0;t&&s.redraw()};ut(i,s);t=u(t,!0);f?f.firePointEvent("remove",null,h):h()},remove:function(n,t,i,r){function s(){f.destroy(r);f.remove=null;o.isDirtyLegend=o.isDirtyBox=!0;o.linkSeries();u(n,!0)&&o.redraw(t)}var f=this,o=f.chart;!1!==i?e(f,"remove",null,s):s()},update:function(t,i){var w;t=n.cleanRecursively(t,this.userOptions);e(this,"update",{options:t});var k,r=this,c=r.chart,a=r.userOptions,y=r.initialType||r.type,s=t.type||a.type||c.options.chart.type,p=!(this.hasDerivedData||t.dataGrouping||s&&s!==this.type||void 0!==t.pointStart||t.pointInterval||t.pointIntervalUnit||t.keys),b=l[y].prototype,d=["group","markerGroup","dataLabelsGroup","transformGroup"],h=["eventOptions","navigatorSeries","baseSeries"],g=r.finishedAnimating&&{animation:!1},v={};for(k in p&&(h.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","_hasPointMarkers","_hasPointLabels","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&h.push("area","graph"),r.parallelArrays.forEach(function(n){h.push(n+"Data")}),t.data&&(t.dataSorting&&f(r.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=o(a,g,{index:void 0===a.index?r.index:a.index,pointStart:u(a.pointStart,r.xData[0])},!p&&{data:r.options.data},t),p&&t.data&&(t.data=r.options.data),(h=d.concat(h)).forEach(function(n){h[n]=r[n];delete r[n]}),r.remove(!1,null,!1,!0),b)r[k]=void 0;(l[s||y]?f(r,l[s||y].prototype):nt(17,!0,c,{missingModuleFor:s||y}),h.forEach(function(n){r[n]=h[n]}),r.init(c,t),p&&this.points)&&(w=r.options,!1===w.visible?(v.graphic=1,v.dataLabel=1):r._hasPointLabels||(s=w.marker,b=w.dataLabels,s&&(!1===s.enabled||"symbol"in s)&&(v.graphic=1),b&&!1===b.enabled&&(v.dataLabel=1)),this.points.forEach(function(n){n&&n.series&&(n.resolveColor(),Object.keys(v).length&&n.destroyElements(v),!1===w.showInLegend&&n.legendItem&&c.legend.destroyItem(n))},this));t.zIndex!==a.zIndex&&d.forEach(function(n){r[n]&&r[n].attr({zIndex:t.zIndex})});r.initialType=y;c.linkSeries();e(this,"afterUpdate");u(i,!0)&&c.redraw(!!p&&void 0)},setName:function(n){this.name=this.options.name=this.userOptions.name=n;this.chart.isDirtyLegend=!0}});f(b.prototype,{update:function(n,t){var i=this.chart,r=n&&n.events||{};n=o(this.userOptions,n);i.options[this.coll].indexOf&&(i.options[this.coll][i.options[this.coll].indexOf(this.userOptions)]=n);c(i.options[this.coll].events,function(n,t){void 0===r[t]&&(r[t]=void 0)});this.destroy(!0);this.init(i,f(n,{events:r}));i.isDirtyBox=!0;u(t,!0)&&i.redraw()},remove:function(n){for(var t=this.chart,i=this.coll,r=this.series,f=r.length;f--;)r[f]&&r[f].remove(!1);y(t.axes,this);y(t[i],this);tt(t.options[i])?t.options[i].splice(this.options.index,1):delete t.options[i];t[i].forEach(function(n,t){n.options.index=n.userOptions.index=t});this.destroy();t.isDirtyBox=!0;u(n,!0)&&t.redraw()},setTitle:function(n,t){this.update({title:n},t)},setCategories:function(n,t){this.update({categories:n},t)}})}),i(t,"parts/AreaSeries.js",[t["parts/Globals.js"],t["parts/Color.js"],t["mixins/legend-symbol.js"],t["parts/Utilities.js"]],function(n,t,i,r){var e=t.parse,o=r.objectEach,u=r.pick,f;t=r.seriesType;f=n.Series;t("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(n){var t,s=[],r=[],y=this.xAxis,f=this.yAxis,e=f.stacks[this.stackKey],i={},h=this.index,c=f.series,l=c.length,a=u(f.options.reversedStacks,!0)?1:-1,v;if(n=n||this.points,this.options.stacking){for(t=0;t<n.length;t++)n[t].leftNull=n[t].rightNull=void 0,i[n[t].x]=n[t];o(e,function(n,t){null!==n.total&&r.push(t)});r.sort(function(n,t){return n-t});v=c.map(function(n){return n.visible});r.forEach(function(n,u){var c,p,o=0;if(i[n]&&!i[n].isNull)s.push(i[n]),[-1,1].forEach(function(f){var y=1===f?"rightNull":"leftNull",o=0,s=e[r[u+f]];if(s)for(t=h;0<=t&&t<l;)(c=s.points[t])||(t===h?i[n][y]=!0:v[t]&&(p=e[n].points[t])&&(o-=p[1]-p[0])),t+=a;i[n][1===f?"rightCliff":"leftCliff"]=o});else{for(t=h;0<=t&&t<l;){if(c=e[n].points[t]){o=c[1];break}t+=a}o=f.translate(o,0,1,0,1);s.push({isNull:!0,plotX:y.translate(n,0,0,0,1),x:n,plotY:o,yBottom:o})}})}return s},getGraphPath:function(n){var t,o=f.prototype.getGraphPath,i=this.options,e=i.stacking,s=this.yAxis,h=[],c=[],y=this.index,p=s.stacks[this.stackKey],w=i.threshold,l=Math.round(s.getThreshold(i.threshold)),a;for(i=u(i.connectNulls,"percent"===e),a=function(t,i,r){var u=n[t],o,f,a;t=e&&p[u.x].points[y];o=u[r+"Null"]||0;(r=u[r+"Cliff"]||0,u=!0,r||o)?(f=(o?t[0]:t[1])+r,a=t[0]+r,u=!!o):!e&&n[i]&&n[i].isNull&&(f=a=w);void 0!==f&&(c.push({plotX:v,plotY:null===f?l:s.getThreshold(f),isNull:u,isCliff:!0}),h.push({plotX:v,plotY:null===a?l:s.getThreshold(a),doCurve:!1}))},n=n||this.points,e&&(n=this.getStackPoints(n)),t=0;t<n.length;t++){e||(n[t].leftCliff=n[t].rightCliff=n[t].leftNull=n[t].rightNull=void 0);var r=n[t].isNull,v=u(n[t].rectPlotX,n[t].plotX),b=u(n[t].yBottom,l);r&&!i||(i||a(t,t-1,"left"),r&&!e&&i||(c.push(n[t]),h.push({x:t,plotX:v,plotY:b})),i||a(t,t+1,"right"))}return t=o.call(this,c,!0,!0),h.reversed=!0,(r=o.call(this,h,!0,!0)).length&&(r[0]="L"),r=t.concat(r),o=o.call(this,c,!1,i),r.xMap=t.xMap,this.areaPath=r,o},drawGraph:function(){this.areaPath=[];f.prototype.drawGraph.apply(this);var n=this,t=this.areaPath,i=this.options,r=[["area","highcharts-area",this.color,i.fillColor]];this.zones.forEach(function(t,u){r.push(["zone-area-"+u,"highcharts-area highcharts-zone-area-"+u+" "+t.className,t.color||n.color,t.fillColor||i.fillColor])});r.forEach(function(r){var s=r[0],f=n[s],h=f?"animate":"attr",o={};f?(f.endX=n.preventGraphAnimation?null:t.xMap,f.animate({d:t})):(o.zIndex=0,(f=n[s]=n.chart.renderer.path(t).addClass(r[1]).add(n.group)).isArea=!0);n.chart.styledMode||(o.fill=u(r[3],e(r[2]).setOpacity(u(i.fillOpacity,.75)).get()));f[h](o);f.startX=t.xMap;f.shiftUnit=i.step?2:1})},drawLegendSymbol:i.drawRectangle})}),i(t,"parts/SplineSeries.js",[t["parts/Utilities.js"]],function(n){var t=n.pick;(n=n.seriesType)("spline","line",{},{getPointSpline:function(n,i,r){var h=i.plotX,u=i.plotY,e=n[r-1],s;if(r=n[r+1],e&&!e.isNull&&!1!==e.doCurve&&!i.isCliff&&r&&!r.isNull&&!1!==r.doCurve&&!i.isCliff){n=e.plotY;s=r.plotX;r=r.plotY;var c=0,l=(1.5*h+e.plotX)/2.5,o=(1.5*u+n)/2.5,f=(1.5*u+r)/2.5;(s=(1.5*h+s)/2.5)!==l&&(c=(f-o)*(s-h)/(s-l)+u-f);f+=c;(o+=c)>n&&o>u?f=2*u-(o=Math.max(n,u)):o<n&&o<u&&(f=2*u-(o=Math.min(n,u)));f>r&&f>u?o=2*u-(f=Math.max(r,u)):f<r&&f<u&&(o=2*u-(f=Math.min(r,u)));i.rightContX=s;i.rightContY=f}return i=["C",t(e.rightContX,e.plotX),t(e.rightContY,e.plotY),t(l,h),t(o,u),h,u],e.rightContX=e.rightContY=null,i}})}),i(t,"parts/AreaSplineSeries.js",[t["parts/Globals.js"],t["mixins/legend-symbol.js"],t["parts/Utilities.js"]],function(n,t,i){i=i.seriesType;var r=n.seriesTypes.area.prototype;i("areaspline","spline",n.defaultPlotOptions.area,{getStackPoints:r.getStackPoints,getGraphPath:r.getGraphPath,drawGraph:r.drawGraph,drawLegendSymbol:t.drawRectangle})}),i(t,"parts/ColumnSeries.js",[t["parts/Globals.js"],t["parts/Color.js"],t["mixins/legend-symbol.js"],t["parts/Utilities.js"]],function(n,t,i,r){var s=t.parse,h=r.animObject,e=r.clamp,c=r.defined,l=r.extend,a=r.isNumber,o=r.merge,u=r.pick,f;t=r.seriesType;f=n.Series;t("column","line",{borderRadius:0,crisp:!0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:null,verticalAlign:null,y:null},softThreshold:!1,startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"},{cropShoulder:0,directTouch:!0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){f.prototype.init.apply(this,arguments);var n=this,t=n.chart;t.hasRendered&&t.series.forEach(function(t){t.type===n.type&&(t.isDirty=!0)})},getColumnMetrics:function(){var n=this,t=n.options,i=n.xAxis,c=n.yAxis,r=i.options.reversedStacks,e,o,f;r=i.reversed&&!r||!i.reversed&&r;o={};f=0;!1===t.grouping?f=1:n.chart.series.forEach(function(t){var r=t.yAxis,u=t.options,i;t.type===n.type&&(t.visible||!n.chart.options.chart.ignoreHiddenSeries)&&c.len===r.len&&c.pos===r.pos&&(u.stacking?(e=t.stackKey,void 0===o[e]&&(o[e]=f++),i=o[e]):!1!==u.grouping&&(i=f++),t.columnIndex=i)});var s=Math.min(Math.abs(i.transA)*(i.ordinalSlope||t.pointRange||i.closestPointRange||i.tickInterval||1),i.len),l=s*t.groupPadding,h=(s-2*l)/(f||1);return t=Math.min(t.maxPointWidth||i.len,u(t.pointWidth,h*(1-2*t.pointPadding))),n.columnMetrics={width:t,offset:(h-t)/2+(l+((n.columnIndex||0)+(r?1:0))*h-s/2)*(r?-1:1)},n.columnMetrics},crispCol:function(n,t,i,r){var e=this.chart,u=this.borderWidth,f=-(u%2?.5:0);return u=u%2?.5:1,e.inverted&&e.renderer.isVML&&(u+=1),this.options.crisp&&(i=Math.round(n+i)+f,i-=n=Math.round(n)+f),r=Math.round(t+r)+u,f=.5>=Math.abs(t)&&.5<r,r-=t=Math.round(t)+u,f&&r&&(--t,r+=1),{x:n,y:t,width:i,height:r}},translate:function(){var n=this,r=n.chart,s=n.options,l=n.dense=2>n.closestPointRange*n.xAxis.transA;l=n.borderWidth=u(s.borderWidth,l?0:1);var y=n.xAxis,t=n.yAxis,h=s.threshold,o=n.translatedThreshold=t.getThreshold(h),i=u(s.minPointLength,5),p=n.getColumnMetrics(),a=p.width,v=n.barW=Math.max(a,1+2*l),w=n.pointXOffset=p.offset,b=n.dataMin,k=n.dataMax;r.inverted&&(o-=.5);s.pointPadding&&(v=Math.ceil(v));f.prototype.translate.apply(n);n.points.forEach(function(f){var g=u(f.yBottom,o),s=999+Math.abs(g),it=a,rt=f.plotX,tt;s=e(f.plotY,-s,t.len+s);var l=f.plotX+w,p=v,nt=Math.min(s,g),d=Math.max(s,g)-nt;i&&Math.abs(d)<i&&(d=i,tt=!t.reversed&&!f.negative||t.reversed&&f.negative,f.y===h&&n.dataMax<=h&&t.min<h&&b!==k&&(tt=!tt),nt=Math.abs(nt-o)>i?g-i:o-(tt?i:0));c(f.options.pointWidth)&&(it=p=Math.ceil(f.options.pointWidth),l-=Math.round((it-a)/2));f.barX=l;f.pointWidth=it;f.tooltipPos=r.inverted?[t.len+t.pos-r.plotLeft-s,y.len+y.pos-r.plotTop-(rt||0)-w-p/2,d]:[l+p/2,s+t.pos-r.plotTop,d];f.shapeType=n.pointClass.prototype.shapeType||"rect";f.shapeArgs=n.crispCol.apply(n,f.isNull?[l,o,p,0]:[l,nt,p,d])})},getSymbol:n.noop,drawLegendSymbol:i.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(n,t){var h=this.options,i=this.pointAttrToOptions||{},f=i.stroke||"borderColor",a=i["stroke-width"]||"borderWidth",e=n&&n.color||this.color,c=n&&n[f]||h[f]||this.color||e,l=n&&n[a]||h[a]||this[a]||0,v,r;return i=n&&n.options.dashStyle||h.dashStyle,v=u(n&&n.opacity,h.opacity,1),n&&this.zones.length&&(r=n.getZone(),e=n.options.color||r&&(r.color||n.nonZonedColor)||this.color,r&&(c=r.borderColor||c,i=r.dashStyle||i,l=r.borderWidth||l)),t&&n&&(t=(n=o(h.states[t],n.options.states&&n.options.states[t]||{})).brightness,e=n.color||void 0!==t&&s(e).brighten(n.brightness).get()||e,c=n[f]||c,l=n[a]||l,i=n.dashStyle||i,v=u(n.opacity,v)),f={fill:e,stroke:c,"stroke-width":l,opacity:v},i&&(f.dashstyle=i),f},drawPoints:function(){var i,n=this,r=this.chart,t=n.options,f=r.renderer,u=t.animationLimit||250;n.points.forEach(function(e){var s=e.graphic,c=!!s,h=s&&r.pointCount<u?"animate":"attr";a(e.plotY)&&null!==e.y?(i=e.shapeArgs,s&&e.hasNewShapeType()&&(s=s.destroy()),n.enabledDataSorting&&(e.startXPos=n.xAxis.reversed?-(i?i.width:0):n.xAxis.width),s||(e.graphic=s=f[e.shapeType](i).add(e.group||n.group))&&n.enabledDataSorting&&r.hasRendered&&r.pointCount<u&&(s.attr({x:e.startXPos}),c=!0,h="animate"),s&&c&&s[h](o(i)),t.borderRadius&&s[h]({r:t.borderRadius}),r.styledMode||s[h](n.pointAttribs(e,e.selected&&"select")).shadow(!1!==e.allowShadow&&t.shadow,null,t.stacking&&!t.borderRadius),s.addClass(e.getClassName(),!0)):s&&(e.graphic=s.destroy())})},animate:function(n){var t=this,i=this.yAxis,s=t.options,f=this.chart.inverted,r={},o=f?"translateX":"translateY",u;n?(r.scaleY=.001,n=e(i.toPixels(s.threshold),i.pos,i.pos+i.len),f?r.translateX=n-i.len:r.translateY=n,t.clipBox&&t.setClip(),t.group.attr(r)):(u=t.group.attr(o),t.group.animate({scaleY:1},l(h(t.options.animation),{step:function(n,f){t.group&&(r[o]=u+f.pos*(i.pos-u),t.group.attr(r))}})))},remove:function(){var n=this,t=n.chart;t.hasRendered&&t.series.forEach(function(t){t.type===n.type&&(t.isDirty=!0)});f.prototype.remove.apply(n,arguments)}})}),i(t,"parts/BarSeries.js",[t["parts/Utilities.js"]],function(n){(n=n.seriesType)("bar","column",null,{inverted:!0})}),i(t,"parts/ScatterSeries.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var r=t.addEvent,i;t=t.seriesType;i=n.Series;t("scatter","line",{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●<\/span> <span style="font-size: 10px"> {series.name}<\/span><br/>',pointFormat:"x: <b>{point.x}<\/b><br/>y: <b>{point.y}<\/b><br/>"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&i.prototype.drawGraph.call(this)},applyJitter:function(){var t=this,n=this.options.jitter,i=this.points.length;n&&this.points.forEach(function(r,u){["x","y"].forEach(function(f,e){var s="plot"+f.toUpperCase(),o,h,c;n[f]&&!r.isNull&&(o=t[f+"Axis"],h=n[f]*o.transA,o&&!o.isLog&&(c=Math.max(0,r[s]-h),o=Math.min(o.len,r[s]+h),e=1e4*Math.sin(u+e*i),r[s]=c+(o-c)*(e-Math.floor(e)),"x"===f&&(r.clientX=r.plotX)))})})}});r(i,"afterTranslate",function(){this.applyJitter&&this.applyJitter()})}),i(t,"mixins/centered-series.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var r=t.isNumber,i=t.pick,f=t.relativeLength,u=n.deg2rad;n.CenteredSeriesMixin={getCenter:function(){var n=this.options,u=this.chart,o=2*(n.slicedOffset||0),s=u.plotWidth-2*o,h=u.plotHeight-2*o,t=n.center,c=Math.min(s,h),r=n.size,e=n.innerSize||0;for("string"==typeof r&&(r=parseFloat(r)),"string"==typeof e&&(e=parseFloat(e)),n=[i(t[0],"50%"),i(t[1],"50%"),i(r&&0>r?void 0:n.size,"100%"),i(e&&0>e?void 0:n.innerSize||0,"0%")],u.angular&&(n[3]=0),t=0;4>t;++t)r=n[t],u=2>t||2===t&&/%$/.test(r),n[t]=f(r,[s,h,c,n[2]][t])+(u?o:0);return n[3]>n[2]&&(n[3]=n[2]),n},getStartAndEndRadians:function(n,t){return n=r(n)?n:0,t=r(t)&&t>n&&360>t-n?t:n+360,{start:u*(n+-90),end:u*(t+-90)}}}}),i(t,"parts/PieSeries.js",[t["parts/Globals.js"],t["mixins/legend-symbol.js"],t["parts/Point.js"],t["parts/Utilities.js"]],function(n,t,i,r){var f=r.addEvent,h=r.clamp,c=r.defined,l=r.fireEvent,a=r.isNumber,e=r.merge,u=r.pick,o=r.relativeLength,v=r.seriesType,y=r.setAnimation,p=(r=n.CenteredSeriesMixin).getStartAndEndRadians,s=n.noop,w=n.Series;v("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){if(!this.point.isNull)return this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:n.seriesTypes.column.prototype.pointAttribs,animate:function(n){var t=this,r=t.points,i=t.startAngleRad;n||r.forEach(function(n){var f=n.graphic,r=n.shapeArgs;f&&r&&(f.attr({r:u(n.startR,t.center&&t.center[3]/2),start:i,end:i}),f.animate({r:r.r,start:r.start,end:r.end},t.options.animation))})},hasData:function(){return!!this.processedXData.length},updateTotals:function(){for(var i=0,r=this.points,u=r.length,f=this.options.ignoreHiddenPoint,t,n=0;n<u;n++)t=r[n],i+=f&&!t.visible||t.isNull?0:t.y;for(this.total=i,n=0;n<u;n++)(t=r[n]).percentage=0<i&&(t.visible||!f)?t.y/i*100:0,t.total=i},generatePoints:function(){w.prototype.generatePoints.call(this);this.updateTotals()},getX:function(n,t,i){var r=this.center,u=this.radii?this.radii[i.index]:r[2]/2;return n=Math.asin(h((n-r[1])/(u+i.labelDistance),-1,1)),r[0]+(t?-1:1)*Math.cos(n)*(u+i.labelDistance)+(0<i.labelDistance?(t?-1:1)*this.options.dataLabels.padding:0)},translate:function(n){var w,b,c,k,t,f,i,s,h;this.generatePoints();var a=0,r=this.options,v=r.slicedOffset,d=v+(r.borderWidth||0),e=p(r.startAngle,r.endAngle),y=this.startAngleRad=e.start;for(e=(this.endAngleRad=e.end)-y,w=this.points,b=r.dataLabels.distance,r=r.ignoreHiddenPoint,k=w.length,n||(this.center=n=this.getCenter()),c=0;c<k;c++)t=w[c],f=y+a*e,r&&!t.visible||(a+=t.percentage/100),i=y+a*e,t.shapeType="arc",t.shapeArgs={x:n[0],y:n[1],r:n[2]/2,innerR:n[3]/2,start:Math.round(1e3*f)/1e3,end:Math.round(1e3*i)/1e3},t.labelDistance=u(t.options.dataLabels&&t.options.dataLabels.distance,b),t.labelDistance=o(t.labelDistance,t.shapeArgs.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,t.labelDistance),(i=(i+f)/2)>1.5*Math.PI?i-=2*Math.PI:i<-Math.PI/2&&(i+=2*Math.PI),t.slicedTranslation={translateX:Math.round(Math.cos(i)*v),translateY:Math.round(Math.sin(i)*v)},s=Math.cos(i)*n[2]/2,h=Math.sin(i)*n[2]/2,t.tooltipPos=[n[0]+.7*s,n[1]+.7*h],t.half=i<-Math.PI/2||i>Math.PI/2?1:0,t.angle=i,f=Math.min(d,t.labelDistance/5),t.labelPosition={natural:{x:n[0]+s+Math.cos(i)*t.labelDistance,y:n[1]+h+Math.sin(i)*t.labelDistance},final:{},alignment:0>t.labelDistance?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:n[0]+s+Math.cos(i)*f,y:n[1]+h+Math.sin(i)*f},touchingSliceAt:{x:n[0]+s,y:n[1]+h}}};l(this,"afterTranslate")},drawEmpty:function(){var n=this.options,t,i;0===this.total?(t=this.center[0],i=this.center[1],this.graph||(this.graph=this.chart.renderer.circle(t,i,0).addClass("highcharts-graph").add(this.group)),this.graph.animate({"stroke-width":n.borderWidth,cx:t,cy:i,r:this.center[2]/2,fill:n.fillColor||"none",stroke:n.color||"#cccccc"},this.options.animation)):this.graph&&(this.graph=this.graph.destroy())},redrawPoints:function(){var r,n,u,f,t=this,i=t.chart,s=i.renderer,o=t.options.shadow;this.drawEmpty();!o||t.shadowGroup||i.styledMode||(t.shadowGroup=s.g("shadow").attr({zIndex:-1}).add(t.group));t.points.forEach(function(h){var l={},c;(n=h.graphic,!h.isNull&&n)?((f=h.shapeArgs,r=h.getTranslate(),i.styledMode)||(c=h.shadowGroup,o&&!c&&(c=h.shadowGroup=s.g("shadow").add(t.shadowGroup)),c&&c.attr(r),u=t.pointAttribs(h,h.selected&&"select")),h.delayedRendering?(n.setRadialReference(t.center).attr(f).attr(r),i.styledMode||n.attr(u).attr({"stroke-linejoin":"round"}).shadow(o,c),h.delayedRendering=!1):(n.setRadialReference(t.center),i.styledMode||e(!0,l,u),e(!0,l,f,r),n.animate(l)),n.attr({visibility:h.visible?"inherit":"hidden"}),n.addClass(h.getClassName())):n&&(h.graphic=n.destroy())})},drawPoints:function(){var n=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy());t.graphic||(t.graphic=n[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},searchPoint:s,sortByAngle:function(n,t){n.sort(function(n,i){return void 0!==n.angle&&(i.angle-n.angle)*t})},drawLegendSymbol:t.drawRectangle,getCenter:r.getCenter,getSymbol:s,drawGraph:null},{init:function(){var n,t;return i.prototype.init.apply(this,arguments),n=this,n.name=u(n.name,"Slice"),t=function(t){n.slice("select"===t.type)},f(n,"select",t),f(n,"unselect",t),n},isValid:function(){return a(this.y)&&0<=this.y},setVisible:function(n,t){var i=this,r=i.series,f=r.chart,e=r.options.ignoreHiddenPoint;t=u(t,e);n!==i.visible&&(i.visible=i.options.visible=n=void 0===n?!i.visible:n,r.options.data[r.data.indexOf(i)]=i.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(t){i[t]&&i[t][n?"show":"hide"](!0)}),i.legendItem&&f.legend.colorizeItem(i,n),n||"hover"!==i.state||i.setState(""),e&&(r.isDirty=!0),t&&f.redraw())},slice:function(n,t,i){var r=this.series;y(i,r.chart);u(t,!0);this.sliced=this.options.sliced=c(n)?n:!this.sliced;r.options.data[r.data.indexOf(this)]=this.options;this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(n){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+n,t.r+n,{innerR:t.r-1,start:t.start,end:t.end})},connectorShapes:{fixedOffset:function(n,t,i){var r=t.breakAt;return t=t.touchingSliceAt,["M",n.x,n.y].concat(i.softConnector?["C",n.x+("left"===n.alignment?-5:5),n.y,2*r.x-t.x,2*r.y-t.y,r.x,r.y]:["L",r.x,r.y]).concat(["L",t.x,t.y])},straight:function(n,t){return t=t.touchingSliceAt,["M",n.x,n.y,"L",t.x,t.y]},crookedLine:function(n,t,i){var f;t=t.touchingSliceAt;var r=this.series,u=r.center[0],s=r.chart.plotWidth,e=r.chart.plotLeft;return r=n.alignment,f=this.shapeArgs.r,i=o(i.crookDistance,1),u=["L",i="left"===r?u+f+(s+e-u-f)*(1-i):e+(u-f)*i,n.y],("left"===r?i>n.x||i<t.x:i<n.x||i>t.x)&&(u=[]),["M",n.x,n.y].concat(u).concat(["L",t.x,t.y])}},getConnectorPath:function(){var n=this.labelPosition,i=this.series.options.dataLabels,t=i.connectorShape,r=this.connectorShapes;return r[t]&&(t=r[t]),t.call(this,{x:n.final.x,y:n.final.y,alignment:n.alignment},n.connectorPosition,i)}})}),i(t,"parts/DataLabels.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var l=t.animObject,a=t.arrayMax,s=t.clamp,u=t.defined,c=t.extend,v=t.format,f=t.isArray,o=t.merge,y=t.objectEach,i=t.pick,p=t.relativeLength,w=t.splat,h=t.stableSort,e,r;t=n.noop;e=n.Series;r=n.seriesTypes;n.distribute=function(t,r,u){function l(n,t){return n.target-t.target}for(var o=!0,e=t,a=[],c=0,v=e.reducedLen||r,f=t.length;f--;)c+=t[f].size;if(c>v){for(h(t,function(n,t){return(t.rank||0)-(n.rank||0)}),c=f=0;c<=v;)c+=t[f].size,f++;a=t.splice(f-1,t.length)}for(h(t,l),t=t.map(function(n){return{size:n.size,targets:[n.target],align:i(n.align,.5)}});o;){for(f=t.length;f--;)o=t[f],c=(Math.min.apply(0,o.targets)+Math.max.apply(0,o.targets))/2,o.pos=s(c-o.size*o.align,0,r-o.size);for(f=t.length,o=!1;f--;)0<f&&t[f-1].pos+t[f-1].size>t[f].pos&&(t[f-1].size+=t[f].size,t[f-1].targets=t[f-1].targets.concat(t[f].targets),t[f-1].align=.5,t[f-1].pos+t[f-1].size>r&&(t[f-1].pos=r-t[f-1].size),t.splice(f,1),o=!0)}e.push.apply(e,a);f=0;t.some(function(t){var i=0;if(t.targets.some(function(){if(e[f].pos=t.pos+i,void 0!==u&&Math.abs(e[f].pos-e[f].target)>u)return e.slice(0,f+1).forEach(function(n){delete n.pos}),e.reducedLen=(e.reducedLen||r)-.1*r,e.reducedLen>.1*r&&n.distribute(e,r,u),!0;i+=e[f].size;f++}))return!0});h(e,l)};e.prototype.drawDataLabels=function(){function c(n,t){var i,r=[];if(f(n)&&!f(t))r=n.map(function(n){return o(n,t)});else if(f(t)&&!f(n))r=t.map(function(t){return o(n,t)});else if(f(n)||f(t))for(i=Math.max(n.length,t.length);i--;)r[i]=o(n[i],t[i]);else r=o(n,t);return r}var t=this,r=t.chart,s=t.options,e=s.dataLabels,g=t.points,a=t.hasRendered||0,k=l(s.animation).duration,p=Math.min(k,200),d=!r.renderer.forExport&&i(e.defer,0<p),b=r.renderer,h;(e=c(c(r.options.plotOptions&&r.options.plotOptions.series&&r.options.plotOptions.series.dataLabels,r.options.plotOptions&&r.options.plotOptions[t.type]&&r.options.plotOptions[t.type].dataLabels),e),n.fireEvent(this,"drawDataLabels"),f(e)||e.enabled||t._hasPointLabels)&&(h=t.plotGroup("dataLabelsGroup","data-labels",d&&!a?"hidden":"inherit",e.zIndex||6),d&&(h.attr({opacity:+a}),a||setTimeout(function(){var n=t.dataLabelsGroup;n&&(t.visible&&h.show(!0),n[s.animation?"animate":"attr"]({opacity:1},{duration:p}))},k-p)),g.forEach(function(n){w(c(e,n.dlOptions||n.options&&n.options.dataLabels)).forEach(function(f,e){var p=f.enabled&&(!n.isNull||n.dataLabelOnNull)&&function(n,t){var i=t.filter;return!i||(t=i.operator,n=n[i.property],i=i.value,">"===t&&n>i||"<"===t&&n<i||">="===t&&n>=i||"<="===t&&n<=i||"=="===t&&n==i||"==="===t&&n===i)}(n,f),o=n.dataLabels?n.dataLabels[e]:n.dataLabel,d=n.connectors?n.connectors[e]:n.connector,k=i(f.distance,n.labelDistance),g=!o,l,c,w,a;p&&(l=n.getLabelConfig(),c=i(f[n.formatPrefix+"Format"],f.format),l=u(c)?v(c,l,r):(f[n.formatPrefix+"Formatter"]||f.formatter).call(l,f),c=f.style,w=f.rotation,r.styledMode||(c.color=i(f.color,c.color,t.color,"#000000"),"contrast"===c.color?(n.contrastColor=b.getContrast(n.color||t.color),c.color=!u(k)&&f.inside||0>k||s.stacking?n.contrastColor:"#000000"):delete n.contrastColor,s.cursor&&(c.cursor=s.cursor)),a={r:f.borderRadius||0,rotation:w,padding:f.padding,zIndex:1},r.styledMode||(a.fill=f.backgroundColor,a.stroke=f.borderColor,a["stroke-width"]=f.borderWidth),y(a,function(n,t){void 0===n&&delete a[t]}));!o||p&&u(l)?p&&u(l)&&(o?a.text=l:(n.dataLabels=n.dataLabels||[],o=n.dataLabels[e]=w?b.text(l,0,-9999,f.useHTML).addClass("highcharts-data-label"):b.label(l,0,-9999,f.shape,null,null,f.useHTML,null,"data-label"),e||(n.dataLabel=o),o.addClass(" highcharts-data-label-color-"+n.colorIndex+" "+(f.className||"")+(f.useHTML?" highcharts-tracker":""))),o.options=f,o.attr(a),r.styledMode||o.css(c).shadow(f.shadow),o.added||o.add(h),f.textPath&&!f.useHTML&&(o.setTextPath(n.getDataLabelPath&&n.getDataLabelPath(o)||n.graphic,f.textPath),n.dataLabelPath&&!f.textPath.enabled&&(n.dataLabelPath=n.dataLabelPath.destroy())),t.alignDataLabel(n,o,f,null,g)):(n.dataLabel=n.dataLabel&&n.dataLabel.destroy(),n.dataLabels&&(1===n.dataLabels.length?delete n.dataLabels:delete n.dataLabels[e]),e||delete n.dataLabel,d&&(n.connector=n.connector.destroy(),n.connectors&&(1===n.connectors.length?delete n.connectors:delete n.connectors[e])))})}));n.fireEvent(this,"afterDrawDataLabels")};e.prototype.alignDataLabel=function(n,t,r,u,f){var k=this,o=this.chart,h=this.isCartesian&&o.inverted,a=this.enabledDataSorting,e=i(n.dlBox&&n.dlBox.centerX,n.plotX,-9999),w=i(n.plotY,-9999),s=t.getBBox(),y=r.rotation,p=r.align,d=o.isInsidePlot(e,Math.round(w),h),v="justify"===i(r.overflow,a?"none":"justify"),b=this.visible&&!1!==n.visible&&(n.series.forceDL||a&&!v||d||r.inside&&u&&o.isInsidePlot(e,h?u.x+1:u.y+u.height-1,h)),l=function(i){a&&k.xAxis&&!v&&k.setDataLabelStartPos(n,t,f,d,i)},g;b&&(g=o.renderer.fontMetrics(o.styledMode?void 0:r.style.fontSize,t).b,u=c({x:h?this.yAxis.len-w:e,y:Math.round(h?this.xAxis.len-e:w),width:0,height:0},u),c(r,{width:s.width,height:s.height}),y?(v=!1,e=o.renderer.rotCorr(g,y),l(e={x:u.x+r.x+u.width/2+e.x,y:u.y+r.y+{top:0,middle:.5,bottom:1}[r.verticalAlign]*u.height}),t[f?"attr":"animate"](e).attr({align:p}),l=180<(l=(y+720)%360)&&360>l,"left"===p?e.y-=l?s.height:0:"center"===p?(e.x-=s.width/2,e.y-=s.height/2):"right"===p&&(e.x-=s.width,e.y-=l?0:s.height),t.placed=!0,t.alignAttr=e):(l(u),t.align(r,null,u),e=t.alignAttr),v&&0<=u.height?this.justifyDataLabel(t,r,e,s,u,f):i(r.crop,!0)&&(b=o.isInsidePlot(e.x,e.y)&&o.isInsidePlot(e.x+s.width,e.y+s.height)),r.shape&&!y&&t[f?"attr":"animate"]({anchorX:h?o.plotWidth-n.plotY:n.plotX,anchorY:h?o.plotHeight-n.plotX:n.plotY}));f&&a&&(t.placed=!1);b||a&&!v||(t.hide(!0),t.placed=!1)};e.prototype.setDataLabelStartPos=function(n,t,i,r,u){var s=this.chart,o=s.inverted,f=this.xAxis,h=f.reversed,e=o?t.height/2:t.width/2;n=(n=n.pointWidth)?n/2:0;f=o?u.x:h?-e-n:f.width-e+n;u=o?h?this.yAxis.height-e+n:-e-n:u.y;t.startXPos=f;t.startYPos=u;r?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide);s.hasRendered&&(i&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)};e.prototype.justifyDataLabel=function(n,t,i,r,u,f){var s=this.chart,c=t.align,l=t.verticalAlign,h=n.box?0:n.padding||0,e=i.x+h,o;return 0>e&&("right"===c?(t.align="left",t.inside=!0):t.x=-e,o=!0),(e=i.x+r.width-h)>s.plotWidth&&("left"===c?(t.align="right",t.inside=!0):t.x=s.plotWidth-e,o=!0),0>(e=i.y+h)&&("bottom"===l?(t.verticalAlign="top",t.inside=!0):t.y=-e,o=!0),(e=i.y+r.height-h)>s.plotHeight&&("top"===l?(t.verticalAlign="bottom",t.inside=!0):t.y=s.plotHeight-e,o=!0),o&&(n.placed=!f,n.align(t,null,u)),o};r.pie&&(r.pie.prototype.dataLabelPositioners={radialDistributionY:function(n){return n.top+n.distributeBox.pos},radialDistributionX:function(n,t,i,r){return n.getX(i<t.top+2||i>t.bottom-2?r:i,t.half,t)},justify:function(n,t,i){return i[0]+(n.half?-1:1)*(t+n.labelDistance)},alignToPlotEdges:function(n,t,i,r){return n=n.getBBox().width,t?n+r:i-n-r},alignToConnectors:function(n,t,i,r){var f,u=0;return n.forEach(function(n){(f=n.dataLabel.getBBox().width)>u&&(u=f)}),t?u+r:i-u-r}},r.pie.prototype.drawDataLabels=function(){var r,et,v,h,k,p,d,f,c,g,it,w,t=this,ot=t.data,y=t.chart,l=t.options.dataLabels||{},b=l.connectorPadding,rt=y.plotWidth,st=y.plotHeight,ht=y.plotLeft,ct=Math.round(y.chartWidth/3),ft=t.center,nt=ft[2]/2,ut=ft[1],lt=[[],[]],s=[0,0,0,0],tt=t.dataLabelPositioners;t.visible&&(l.enabled||t._hasPointLabels)&&(ot.forEach(function(n){n.dataLabel&&n.visible&&n.dataLabel.shortened&&(n.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),n.dataLabel.shortened=!1)}),e.prototype.drawDataLabels.apply(t),ot.forEach(function(n){n.dataLabel&&(n.visible?(lt[n.half].push(n),n.dataLabel._pos=null,!u(l.style.width)&&!u(n.options.dataLabels&&n.options.dataLabels.style&&n.options.dataLabels.style.width)&&n.dataLabel.getBBox().width>ct&&(n.dataLabel.css({width:.7*ct}),n.dataLabel.shortened=!0)):(n.dataLabel=n.dataLabel.destroy(),n.dataLabels&&1===n.dataLabels.length&&delete n.dataLabels))}),lt.forEach(function(e,o){var v,ot=e.length,et=[],a,ct;if(ot)for((t.sortByAngle(e,o-.5),0<t.maxLabelDistance)&&(a=Math.max(0,ut-nt-t.maxLabelDistance),ct=Math.min(ut+nt+t.maxLabelDistance,y.plotHeight),e.forEach(function(n){0<n.labelDistance&&n.dataLabel&&(n.top=Math.max(0,ut-nt-n.labelDistance),n.bottom=Math.min(ut+nt+n.labelDistance,y.plotHeight),v=n.dataLabel.getBBox().height||21,n.distributeBox={target:n.labelPosition.natural.y-n.top+v/2,size:v,rank:n.y},et.push(n.distributeBox))}),a=ct+v-a,n.distribute(et,a,a/5)),it=0;it<ot;it++){if(r=e[it],p=r.labelPosition,h=r.dataLabel,g=!1===r.visible?"hidden":"inherit",c=a=p.natural.y,et&&u(r.distributeBox)&&(void 0===r.distributeBox.pos?g="hidden":(d=r.distributeBox.size,c=tt.radialDistributionY(r))),delete r.positionIndex,l.justify)f=tt.justify(r,nt,ft);else switch(l.alignTo){case"connectors":f=tt.alignToConnectors(e,o,rt,ht);break;case"plotEdges":f=tt.alignToPlotEdges(h,o,rt,ht);break;default:f=tt.radialDistributionX(t,r,c,a)}h._attr={visibility:g,align:p.alignment};w=r.options.dataLabels||{};h._pos={x:f+i(w.x,l.x)+({left:b,right:-b}[p.alignment]||0),y:c+i(w.y,l.y)-10};p.final.x=f;p.final.y=c;i(l.crop,!0)&&(k=h.getBBox().width,a=null,f-k<b&&1===o?(a=Math.round(k-f+b),s[3]=Math.max(a,s[3])):f+k>rt-b&&0===o&&(a=Math.round(f+k-rt+b),s[1]=Math.max(a,s[1])),0>c-d/2?s[0]=Math.max(Math.round(d/2-c),s[0]):c+d/2>st&&(s[2]=Math.max(Math.round(c+d/2-st),s[2])),h.sideOverflow=a)}}),0===a(s)||this.verifyDataLabelOverflow(s))&&(this.placeDataLabels(),this.points.forEach(function(n){var r;w=o(l,n.options.dataLabels);(et=i(w.connectorWidth,1))&&(v=n.connector,(h=n.dataLabel)&&h._pos&&n.visible&&0<n.labelDistance?(g=h._attr.visibility,(r=!v)&&(n.connector=v=y.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+n.colorIndex+(n.className?" "+n.className:"")).add(t.dataLabelsGroup),y.styledMode||v.attr({"stroke-width":et,stroke:w.connectorColor||n.color||"#666666"})),v[r?"attr":"animate"]({d:n.getConnectorPath()}),v.attr("visibility",g)):v&&(n.connector=v.destroy()))}))},r.pie.prototype.placeDataLabels=function(){this.points.forEach(function(n){var i,t=n.dataLabel;t&&n.visible&&((i=t._pos)?(t.sideOverflow&&(t._attr.width=Math.max(t.getBBox().width-t.sideOverflow,0),t.css({width:t._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(t._attr),t[t.moved?"animate":"attr"](i),t.moved=!0):t&&t.attr({y:-9999}));delete n.distributeBox},this)},r.pie.prototype.alignDataLabel=t,r.pie.prototype.verifyDataLabelOverflow=function(n){var t=this.center,r=this.options,e=r.center,u=r.minSize||80,f=null!==r.size,i;return f||(null!==e[0]?i=Math.max(t[2]-Math.max(n[1],n[3]),u):(i=Math.max(t[2]-n[1]-n[3],u),t[0]+=(n[3]-n[1])/2),null!==e[1]?i=s(i,u,t[2]-Math.max(n[0],n[2])):(i=s(i,u,t[2]-n[0]-n[2]),t[1]+=(n[0]-n[2])/2),i<t[2]?(t[2]=i,t[3]=Math.min(p(r.innerSize||0,i),i),this.translate(t),this.drawDataLabels&&this.drawDataLabels()):f=!0),f});r.column&&(r.column.prototype.alignDataLabel=function(n,t,r,u,f){var h=this.chart.inverted,c=n.series,s=n.dlBox||n.shapeArgs,l=i(n.below,n.plotY>i(this.translatedThreshold,c.yAxis.len)),a=i(r.inside,!!this.options.stacking);s&&(0>(u=o(s)).y&&(u.height+=u.y,u.y=0),0<(s=u.y+u.height-c.yAxis.len)&&s<u.height&&(u.height-=s),h&&(u={x:c.yAxis.len-u.y-u.height,y:c.xAxis.len-u.x-u.width,width:u.height,height:u.width}),a||(h?(u.x+=l?0:u.width,u.width=0):(u.y+=l?u.height:0,u.height=0)));r.align=i(r.align,!h||a?"center":l?"right":"left");r.verticalAlign=i(r.verticalAlign,h||a?"middle":l?"top":"bottom");e.prototype.alignDataLabel.call(this,n,t,r,u,f);r.inside&&n.contrastColor&&t.css({color:n.contrastColor})})}),i(t,"modules/overlapping-datalabels.src.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var u=t.addEvent,i=t.fireEvent,f=t.isArray,r=t.objectEach,e=t.pick;u(n=n.Chart,"render",function(){var n=[];(this.labelCollectors||[]).forEach(function(t){n=n.concat(t())});(this.yAxis||[]).forEach(function(t){t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&r(t.stacks,function(t){r(t,function(t){n.push(t.label)})})});(this.series||[]).forEach(function(t){var i=t.options.dataLabels;t.visible&&(!1!==i.enabled||t._hasPointLabels)&&(t.nodes||t.points).forEach(function(t){t.visible&&(f(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[]).forEach(function(i){var r=i.options;i.labelrank=e(r.labelrank,t.labelrank,t.shapeArgs&&t.shapeArgs.height);r.allowOverlap||n.push(i)})})});this.hideOverlappingLabels(n)});n.prototype.hideOverlappingLabels=function(n){for(var t,o,s=this,h=n.length,l=s.renderer,c=!1,e=function(n){var i=n.box?0:n.padding||0,t=0,r,u;if(n&&(!n.alignAttr||n.placed))return r=n.alignAttr||{x:n.attr("x"),y:n.attr("y")},u=n.parentGroup,n.width||(t=n.getBBox(),n.width=t.width,n.height=t.height,t=l.fontMetrics(null,n.element).h),{x:r.x+(u.translateX||0)+i,y:r.y+(u.translateY||0)+i-t,width:n.width-2*i,height:n.height-2*i}},u,f,r=0;r<h;r++)(t=n[r])&&(t.oldOpacity=t.opacity,t.newOpacity=1,t.absoluteBox=e(t));for(n.sort(function(n,t){return(t.labelrank||0)-(n.labelrank||0)}),r=0;r<h;r++)for(u=(e=n[r])&&e.absoluteBox,t=r+1;t<h;++t)f=(o=n[t])&&o.absoluteBox,!u||!f||e===o||0===e.newOpacity||0===o.newOpacity||f.x>u.x+u.width||f.x+f.width<u.x||f.y>u.y+u.height||f.y+f.height<u.y||((e.labelrank<o.labelrank?e:o).newOpacity=0);n.forEach(function(n){var r,t;n&&(t=n.newOpacity,n.oldOpacity!==t&&(n.alignAttr&&n.placed?(t?n.show(!0):r=function(){n.hide(!0);n.placed=!1},c=!0,n.alignAttr.opacity=t,n[n.isOld?"animate":"attr"](n.alignAttr,null,r),i(s,"afterHideOverlappingLabel")):n.attr({opacity:t})),n.isOld=!0)});c&&i(s,"afterHideAllOverlappingLabels")}}),i(t,"parts/Interaction.js",[t["parts/Globals.js"],t["parts/Legend.js"],t["parts/Point.js"],t["parts/Utilities.js"]],function(n,t,i,r){var s=r.addEvent,a=r.createElement,h=r.css,v=r.defined,o=r.extend,u=r.fireEvent,y=r.isArray,p=r.isFunction,w=r.isObject,c=r.merge,b=r.objectEach,f=r.pick;r=n.Chart;var k=n.defaultOptions,d=n.defaultPlotOptions,l=n.hasTouch,g=n.Series,e=n.seriesTypes,nt=n.svg;n=n.TrackerMixin={drawTrackerPoint:function(){var i,n=this,r=n.chart,t=r.pointer,f=function(n){var i=t.getPointFromEvent(n);void 0!==i&&(t.isDirectTouch=!0,i.onMouseOver(n))};n.points.forEach(function(n){i=y(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[];n.graphic&&(n.graphic.element.point=n);i.forEach(function(t){t.div?t.div.point=n:t.element.point=n})});n._hasTracking||(n.trackerGroups.forEach(function(i){n[i]&&(n[i].addClass("highcharts-tracker").on("mouseover",f).on("mouseout",function(n){t.onTrackerMouseOut(n)}),l&&n[i].on("touchstart",f),!r.styledMode&&n.options.cursor&&n[i].css(h).css({cursor:n.options.cursor}))}),n._hasTracking=!0);u(this,"afterDrawTracker")},drawTrackerGraph:function(){var t,n=this,e=n.options,f=e.trackByArea,i=[].concat(f?n.areaPath:n.graphPath),o=i.length,r=n.chart,v=r.pointer,y=r.renderer,s=r.options.tooltip.snap,h=n.tracker,c=function(){r.hoverSeries!==n&&n.onMouseOver()},a="rgba(192,192,192,"+(nt?.0001:.002)+")";if(o&&!f)for(t=o+1;t--;)"M"===i[t]&&i.splice(t+1,0,i[t+1]-s,i[t+2],"L"),(t&&"M"===i[t]||t===o)&&i.splice(t,0,"L",i[t-2]+s,i[t-1]);h?h.attr({d:i}):n.graph&&(n.tracker=y.path(i).attr({visibility:n.visible?"visible":"hidden",zIndex:2}).addClass(f?"highcharts-tracker-area":"highcharts-tracker-line").add(n.group),r.styledMode||n.tracker.attr({"stroke-linejoin":"round",stroke:a,fill:f?a:"none","stroke-width":n.graph.strokeWidth()+(f?0:2*s)}),[n.tracker,n.markerGroup].forEach(function(n){n.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",function(n){v.onTrackerMouseOut(n)});e.cursor&&!r.styledMode&&n.css({cursor:e.cursor});l&&n.on("touchstart",c)}));u(this,"afterDrawTracker")}};e.column&&(e.column.prototype.drawTracker=n.drawTrackerPoint);e.pie&&(e.pie.prototype.drawTracker=n.drawTrackerPoint);e.scatter&&(e.scatter.prototype.drawTracker=n.drawTrackerPoint);o(t.prototype,{setItemEvents:function(n,t,r){var f=this,o=f.chart.renderer.boxWrapper,e=n instanceof i,s="highcharts-legend-"+(e?"point":"series")+"-active",h=f.chart.styledMode;(r?[t,n.legendSymbol]:[n.legendGroup]).forEach(function(i){i&&i.on("mouseover",function(){n.visible&&f.allItems.forEach(function(t){n!==t&&t.setState("inactive",!e)});n.setState("hover");n.visible&&o.addClass(s);h||t.css(f.options.itemHoverStyle)}).on("mouseout",function(){f.chart.styledMode||t.css(c(n.visible?f.itemStyle:f.itemHiddenStyle));f.allItems.forEach(function(t){n!==t&&t.setState("",!e)});o.removeClass(s);n.setState()}).on("click",function(t){var i=function(){n.setVisible&&n.setVisible();f.allItems.forEach(function(t){n!==t&&t.setState(n.visible?"inactive":"",!e)})};o.removeClass(s);t={browserEvent:t};n.firePointEvent?n.firePointEvent("legendItemClick",t,i):u(n,"legendItemClick",t,i)})})},createCheckboxForItem:function(n){n.checkbox=a("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:n.selected,defaultChecked:n.selected},this.options.itemCheckboxStyle,this.chart.container);s(n.checkbox,"click",function(t){u(n.series||n,"checkboxClick",{checked:t.target.checked,item:n},function(){n.select()})})}});o(r.prototype,{showResetZoom:function(){function e(){t.zoomOut()}var t=this,i=k.lang,n=t.options.chart.resetZoomButton,r=n.theme,f=r.states,o="chart"===n.relativeTo||"spaceBox"===n.relativeTo?null:"plotBox";u(this,"beforeShowResetZoom",null,function(){t.resetZoomButton=t.renderer.button(i.resetZoom,null,null,e,r,f&&f.hover).attr({align:n.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,o)});u(this,"afterShowResetZoom")},zoomOut:function(){u(this,"selection",{resetSelection:!0},this.zoom)},zoom:function(n){var u,t=this,i=t.pointer,e=!1,o=t.inverted?i.mouseDownX:i.mouseDownY,r;!n||n.resetSelection?(t.axes.forEach(function(n){u=n.zoom()}),i.initiated=!1):n.xAxis.concat(n.yAxis).forEach(function(n){var r=n.axis,f=t.inverted?r.left:r.top,c=t.inverted?f+r.width:f+r.height,s=r.isXAxis,h=!1;(!s&&o>=f&&o<=c||s||!v(o))&&(h=!0);i[s?"zoomX":"zoomY"]&&h&&(u=r.zoom(n.min,n.max),r.displayBtn&&(e=!0))});r=t.resetZoomButton;e&&!r?t.showResetZoom():!e&&w(r)&&(t.resetZoomButton=r.destroy());u&&t.redraw(f(t.options.chart.animation,n&&n.animation,100>t.pointCount))},pan:function(n,t){var e,i=this,o=i.hoverPoints,r=i.options.chart,f;t="object"==typeof t?t:{enabled:t,type:"x"};r&&r.panning&&(r.panning=t);f=t.type;u(this,"pan",{originalEvent:n},function(){o&&o.forEach(function(n){n.setState()});var t=[1];"xy"===f?t=[1,0]:"y"===f&&(t=[0]);t.forEach(function(t){var r=i[t?"xAxis":"yAxis"][0],c=r.options,l=r.horiz,a=n[l?"chartX":"chartY"],f=i[l=l?"mouseDownX":"mouseDownY"],h=(r.pointRange||0)/2,o=r.reversed&&!i.inverted||!r.reversed&&i.inverted?-1:1,s=r.getExtremes(),u=r.toValue(f-a,!0)+h*o,v=(o=r.toValue(f+r.len-a,!0)-h*o)<u;f=v?o:u;u=v?u:o;o=Math.min(s.dataMin,h?s.min:r.toValue(r.toPixels(s.min)-r.minPixelPadding));h=Math.max(s.dataMax,h?s.max:r.toValue(r.toPixels(s.max)+r.minPixelPadding));c.ordinal||(t&&(0<(c=o-f)&&(u+=c,f=o),0<(c=u-h)&&(u=h,f-=c)),(r.series.length&&f!==s.min&&u!==s.max&&t||r.panningState&&f>=r.panningState.startMin&&u<=r.panningState.startMax)&&(r.setExtremes(f,u,!1,!1,{trigger:"pan"}),e=!0),i[l]=a)});e&&i.redraw(!1);h(i.container,{cursor:"move"})})}});o(i.prototype,{select:function(n,t){var i=this,r=i.series,u=r.chart;this.selectedStaging=n=f(n,!i.selected);i.firePointEvent(n?"select":"unselect",{accumulate:t},function(){i.selected=i.options.selected=n;r.options.data[r.data.indexOf(i)]=i.options;i.setState(n&&"select");t||u.getSelectedPoints().forEach(function(n){var t=n.series;n.selected&&n!==i&&(n.selected=n.options.selected=!1,t.options.data[t.data.indexOf(n)]=n.options,n.setState(u.hoverPoints&&t.options.inactiveOtherPoints?"inactive":""),n.firePointEvent("unselect"))})});delete this.selectedStaging},onMouseOver:function(n){var i=this.series.chart,t=i.pointer;n=n?t.normalize(n):t.getChartCoordinatesFromPoint(this,i.inverted);t.runPointActions(n,this)},onMouseOut:function(){var n=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(n.hoverPoints||[]).forEach(function(n){n.setState()});n.hoverPoints=n.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var n=this,t=c(n.series.options.point,n.options).events;n.events=t;b(t,function(t,i){p(t)&&s(n,i,t)});this.hasImportedEvents=!0}},setState:function(n,t){var s,r=this.series,h=this.state,a=r.options.states[n||"normal"]||{},c=d[r.type].marker&&r.options.marker,b=c&&!1===c.enabled,v=c&&c.states&&c.states[n||"normal"]||{},k=!1===v.enabled,i=r.stateMarkerGraphic,y=this.marker||{},l=r.chart,e=r.halo,g=c&&r.markerAttribs,p,w;(n=n||"")===this.state&&!t||this.selected&&"select"!==n||!1===a.enabled||n&&(k||b&&!1===v.enabled)||n&&y.states&&y.states[n]&&!1===y.states[n].enabled||((this.state=n,g&&(s=r.markerAttribs(this,n)),this.graphic)?((h&&this.graphic.removeClass("highcharts-point-"+h),n&&this.graphic.addClass("highcharts-point-"+n),l.styledMode)||(p=r.pointAttribs(this,n),w=f(l.options.chart.animation,a.animation),r.options.inactiveOtherPoints&&((this.dataLabels||[]).forEach(function(n){n&&n.animate({opacity:p.opacity},w)}),this.connector&&this.connector.animate({opacity:p.opacity},w)),this.graphic.animate(p,w)),s&&this.graphic.animate(s,f(l.options.chart.animation,v.animation,c.animation)),i&&i.hide()):(n&&v&&(h=y.symbol||r.symbol,i&&i.currentSymbol!==h&&(i=i.destroy()),s&&(i?i[t?"animate":"attr"]({x:s.x,y:s.y}):h&&(r.stateMarkerGraphic=i=l.renderer.symbol(h,s.x,s.y,s.width,s.height).add(r.markerGroup),i.currentSymbol=h)),!l.styledMode&&i&&i.attr(r.pointAttribs(this,n))),i&&(i[n&&this.isInside?"show":"hide"](),i.element.point=this)),n=a.halo,a=(i=this.graphic||i)&&i.visibility||"inherit",n&&n.size&&i&&"hidden"!==a&&!this.isCluster?(e||(r.halo=e=l.renderer.path().add(i.parentGroup)),e.show()[t?"animate":"attr"]({d:this.haloPath(n.size)}),e.attr({"class":"highcharts-halo highcharts-color-"+f(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:a,zIndex:-1}),e.point=this,l.styledMode||e.attr(o({fill:this.color||r.color,"fill-opacity":n.opacity},n.attributes))):e&&e.point&&e.point.haloPath&&e.animate({d:e.point.haloPath(0)},null,e.hide),u(this,"afterSetState"))},haloPath:function(n){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-n,this.plotY-n,2*n,2*n)}});o(g.prototype,{onMouseOver:function(){var t=this.chart,n=t.hoverSeries;n&&n!==this&&n.onMouseOut();this.options.events.mouseOver&&u(this,"mouseOver");this.setState("hover");t.hoverSeries=this},onMouseOut:function(){var r=this.options,n=this.chart,t=n.tooltip,i=n.hoverPoint;n.hoverSeries=null;i&&i.onMouseOut();this&&r.events.mouseOut&&u(this,"mouseOut");!t||this.stickyTracking||t.shared&&!this.noSharedTooltip||t.hide();n.series.forEach(function(n){n.setState("",!0)})},setState:function(n,t){var i=this,u=i.options,e=i.graph,h=u.inactiveOtherPoints,r=u.states,o=u.lineWidth,s=u.opacity,c=f(r[n||"normal"]&&r[n||"normal"].animation,i.chart.options.chart.animation);if(u=0,n=n||"",i.state!==n&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(t){t&&(i.state&&t.removeClass("highcharts-series-"+i.state),n&&t.addClass("highcharts-series-"+n))}),i.state=n,!i.chart.styledMode)){if(r[n]&&!1===r[n].enabled)return;if(n&&(o=r[n].lineWidth||o+(r[n].lineWidthPlus||0),s=f(r[n].opacity,s)),e&&!e.dashstyle)for(r={"stroke-width":o},e.animate(r,c);i["zone-graph-"+u];)i["zone-graph-"+u].attr(r),u+=1;h||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(n){n&&n.animate({opacity:s},c)})}t&&h&&i.points&&i.setAllPointsToState(n)},setAllPointsToState:function(n){this.points.forEach(function(t){t.setState&&t.setState(n)})},setVisible:function(n,t){var i=this,r=i.chart,e=i.legendItem,o=r.options.chart.ignoreHiddenSeries,s=i.visible,f=(i.visible=n=i.options.visible=i.userOptions.visible=void 0===n?!s:n)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(n){i[n]&&i[n][f]()});r.hoverSeries!==i&&(r.hoverPoint&&r.hoverPoint.series)!==i||i.onMouseOut();e&&r.legend.colorizeItem(i,n);i.isDirty=!0;i.options.stacking&&r.series.forEach(function(n){n.options.stacking&&n.visible&&(n.isDirty=!0)});i.linkedSeries.forEach(function(t){t.setVisible(n,!1)});o&&(r.isDirtyBox=!0);u(i,f);!1!==t&&r.redraw()},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(n){this.selected=n=this.options.selected=void 0===n?!this.selected:n;this.checkbox&&(this.checkbox.checked=n);u(this,n?"select":"unselect")},drawTracker:n.drawTrackerGraph})}),i(t,"parts/Responsive.js",[t["parts/Globals.js"],t["parts/Utilities.js"]],function(n,t){var r=t.find,u=t.isArray,f=t.isObject,e=t.merge,o=t.objectEach,i=t.pick,s=t.splat,h=t.uniqueKey;(n=n.Chart).prototype.setResponsive=function(n,t){var f=this.options.responsive,i=[],u=this.currentResponsive;!t&&f&&f.rules&&f.rules.forEach(function(n){void 0===n._id&&(n._id=h());this.matchResponsiveRule(n,i)},this);(t=e.apply(0,i.map(function(n){return r(f.rules,function(t){return t._id===n}).chartOptions}))).isResponsiveOptions=!0;(i=i.toString()||void 0)!==(u&&u.ruleIds)&&(u&&this.update(u.undoOptions,n,!0),i?((u=this.currentOptions(t)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:i,mergedOptions:t,undoOptions:u},this.update(t,n,!0)):this.currentResponsive=void 0)};n.prototype.matchResponsiveRule=function(n,t){var r=n.condition;(r.callback||function(){return this.chartWidth<=i(r.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=i(r.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=i(r.minWidth,0)&&this.chartHeight>=i(r.minHeight,0)}).call(this)&&t.push(n._id)};n.prototype.currentOptions=function(n){var i=this,t={};return function n(t,r,e,h){var c;o(t,function(t,o){if(!h&&-1<i.collectionsWithUpdate.indexOf(o))for(t=s(t),e[o]=[],c=0;c<t.length;c++)r[o][c]&&(e[o][c]={},n(t[c],r[o][c],e[o][c],h+1));else f(t)?(e[o]=u(t)?[]:{},n(t,r[o]||{},e[o],h+1)):e[o]=void 0===r[o]?null:r[o]})}(n,this.options,t,0),t}}),i(t,"masters/highcharts.src.js",[t["parts/Globals.js"]],function(n){return n}),t["masters/highcharts.src.js"]._modules=t,t["masters/highcharts.src.js"]};n.exports?(r.default=r,n.exports=u.document?r(u):r):void 0===(f=function(){return r(u)}.call(t,i,t,n))||(n.exports=f)},function(n){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t,i){var r=i(438)("wks"),e=i(110),u=i(9).Symbol,f="function"==typeof u;(n.exports=function(n){return r[n]||(r[n]=f&&u[n]||(f?u:e)("Symbol."+n))}).store=r},function(n){n.exports=function(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}},function(n,t,i){n.exports=!i(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,i){"use strict";var r,u,f,e,o,s,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});r=i(94);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(688);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(143);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(692);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});o=i(693);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[n]}})});s=i(694);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return s[n]}})});h=i(391);Object.keys(h).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return h[n]}})});c=i(695);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return c[n]}})});l=i(96);Object.keys(l).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return l[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";function h(n){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function c(){return(c=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function a(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function p(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?a(Object(i),!0).forEach(function(t){r(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t){return!t||"object"!==h(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function d(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function l(n){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var v;Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n){var t,i;return i=t=function(t){function i(){var n;w(this,i);for(var e=arguments.length,s=new Array(e),t=0;t<e;t++)s[t]=arguments[t];return r(u(n=h.call.apply(h,[this].concat(s))),"config",o.getConfig(n.props,f.defaultProps,!0)),r(u(n),"getDuration",function(){return n.player?n.player.getDuration():null}),r(u(n),"getCurrentTime",function(){return n.player?n.player.getCurrentTime():null}),r(u(n),"getSecondsLoaded",function(){return n.player?n.player.getSecondsLoaded():null}),r(u(n),"getInternalPlayer",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(t):null}),r(u(n),"seekTo",function(t,i){if(!n.player)return null;n.player.seekTo(t,i)}),r(u(n),"ref",function(t){n.player=t}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&function(n,t){(Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}(n,t)}(i,t);var e,h=(e=i,function(){var n,t=l(e),i;return d()?(i=l(this).constructor,n=Reflect.construct(t,arguments,i)):n=t.apply(this,arguments),k(this,n)});return function(n,t){t&&b(n.prototype,t)}(i,[{key:"shouldComponentUpdate",value:function(n){return!o.isEqual(this.props,n)}},{key:"componentDidUpdate",value:function(){this.config=o.getConfig(this.props,f.defaultProps)}},{key:"render",value:function(){var t=this.config.file,r=t.forceVideo,u=t.forceAudio,e=t.forceHLS,h=t.forceDASH,l=r||u||e||h;if(!n.canPlay(this.props.url)&&!l)return null;var i=this.props,a=i.style,w=i.width,b=i.height,k=i.wrapper,d=o.omit(this.props,v,f.DEPRECATED_CONFIG_PROPS);return s.default.createElement(k,c({style:p({},a,{width:w,height:b})},d),s.default.createElement(y.default,c({},this.props,{ref:this.ref,activePlayer:n,config:this.config})))}}]),i}(s.Component),r(t,"displayName","".concat(n.displayName,"Player")),r(t,"propTypes",f.propTypes),r(t,"defaultProps",f.defaultProps),r(t,"canPlay",n.canPlay),i};var e,s=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==h(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),f=i(98),o=i(14),y=(e=i(145))&&e.__esModule?e:{"default":e};v=Object.keys(f.propTypes)},function(n,t,i){var r=i(12),u=i(898),f=i(75),e=Object.defineProperty;t.f=i(20)?Object.defineProperty:function(n,t,i){if(r(n),t=f(t,!0),r(i),u)try{return e(n,t,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(n[t]=i.value),n}},function(n,t,i){var r=i(107),u=Math.min;n.exports=function(n){return n>0?u(r(n),9007199254740991):0}},function(n,t,i){"use strict";(function(n){var r,i,u,f;Object.defineProperty(t,"__esModule",{value:!0});t.KeyboardEventKeys=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.KeyboardEventKeys=i,function(n){n.arrowUp="ArrowUp";n.arrowRight="ArrowRight";n.arrowDown="ArrowDown";n.arrowLeft="ArrowLeft";n.tab="Tab";n.esc="Escape";n.enter="Enter";n.space=" ";n.home="Home";n.end="End"}(i||(t.KeyboardEventKeys=i={}));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"KeyboardEventKeys","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\keyboardEventKeys.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function s(n){var t=void 0===n.delayRender?250:n.delayRender;return n.errorText&&r.createElement(c.DelayedRender,{delay:t},r.createElement(r.Fragment,null,r.createElement("span",{className:"error-message",role:"alert"},r.createElement(h.Icon,{iconType:"Summering_inte_OK25px25px",className:"form-summary__not-valid"}),r.createElement("span",{id:n.id},n.errorText))))}Object.defineProperty(t,"__esModule",{value:!0});t.InputError=s;var e,u,o,r=function(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),h=i(3),c=i(376);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(250,"DEFAULT_DELAY","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\InputError\\InputError.tsx"),u.register(s,"InputError","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\InputError\\InputError.tsx"));(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";function c(n){if("object"!=typeof n||null===n)return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function e(n,t,i){function y(){u===s&&(u=s.slice())}function p(){if(o)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return h}function w(n){if("function"!=typeof n)throw new Error("Expected the listener to be a function.");if(o)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return y(),u.push(n),function(){if(t){if(o)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1;y();var i=u.indexOf(n);u.splice(i,1);s=null}}}function l(n){if(!c(n))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===n.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(o)throw new Error("Reducers may not dispatch actions.");try{o=!0;h=v(h,n)}finally{o=!1}for(var i=s=u,t=0;t<i.length;t++)i[t]();return n}function b(n){if("function"!=typeof n)throw new Error("Expected the nextReducer to be a function.");v=n;l({type:r.REPLACE})}function k(){var n,t=w;return(n={subscribe:function(n){function i(){n.next&&n.next(p())}if("object"!=typeof n||null===n)throw new TypeError("Expected the observer to be an object.");return i(),{unsubscribe:t(i)}}})[f.a]=function(){return this},n}var a;if("function"==typeof t&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===i&&(i=t,t=void 0),void 0!==i){if("function"!=typeof i)throw new Error("Expected the enhancer to be a function.");return i(e)(n,t)}if("function"!=typeof n)throw new Error("Expected the reducer to be a function.");var v=n,h=t,s=[],u=s,o=!1;return l({type:r.INIT}),(a={dispatch:l,subscribe:w,getState:p,replaceReducer:b})[f.a]=k,a}function l(n,t){var i=t&&t.type;return"Given "+(i&&'action "'+String(i)+'"'||"an action")+', reducer "'+n+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function a(n){for(var i,e,u,o=Object.keys(n),t={},f=0;f<o.length;f++)i=o[f],"function"==typeof n[i]&&(t[i]=n[i]);u=Object.keys(t);try{!function(n){Object.keys(n).forEach(function(t){var i=n[t];if(void 0===i(void 0,{type:r.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===i(void 0,{type:r.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+r.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.');})}(t)}catch(n){e=n}return function(n,i){var a;if(void 0===n&&(n={}),e)throw e;for(var r=!1,h={},o=0;o<u.length;o++){var f=u[o],v=t[f],c=n[f],s=v(c,i);if(void 0===s){a=l(f,i);throw new Error(a);}h[f]=s;r=r||s!==c}return(r=r||u.length!==Object.keys(n).length)?h:n}}function o(n,t){return function(){return t(n.apply(this,arguments))}}function v(n,t){var i,r,u;if("function"==typeof n)return o(n,t);if("object"!=typeof n||null===n)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===n?"null":typeof n)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');i={};for(r in n)u=n[r],"function"==typeof u&&(i[r]=o(u,t));return i}function y(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function s(n,t){var i=Object.keys(n);return Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(n)),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),i}function p(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?s(i,!0).forEach(function(t){y(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):s(i).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function h(){for(var i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return 0===n.length?function(n){return n}:1===n.length?n[0]:n.reduce(function(n,t){return function(){return n(t.apply(void 0,arguments))}})}function w(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return function(n){return function(){var t=n.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.");},u={getState:t.getState,dispatch:function(){return r.apply(void 0,arguments)}},f=i.map(function(n){return n(u)});return p({},t,{dispatch:r=h.apply(void 0,f)(t.dispatch)})}}}i.r(t);i.d(t,"__DO_NOT_USE__ActionTypes",function(){return r});i.d(t,"applyMiddleware",function(){return w});i.d(t,"bindActionCreators",function(){return v});i.d(t,"combineReducers",function(){return a});i.d(t,"compose",function(){return h});i.d(t,"createStore",function(){return e});var f=i(159),u=function(){return Math.random().toString(36).substring(7).split("").join(".")},r={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}}},function(n){var t=function(){return this}();try{t=t||new Function("return this")()}catch(n){"object"==typeof window&&(t=window)}n.exports=t},function(n,t,i){var r=i(493),u=i(505),f=i(85),e=i(10),o=i(514);n.exports=function(n){return"function"==typeof n?n:null==n?f:"object"==typeof n?e(n)?u(n[0],n[1]):r(n):o(n)}},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.ToggleBox=void 0;r=y(i(1));c=i(4);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n))._id=c.hashCode(n.value,"togglebox"),r}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var n=this.props,i=n.label,u=n.value,f=n.onChangeCb,e=n.cssClass,o=n.hideToggleBox,t=n.termCount;return r.createElement("div",{className:"togglebox ".concat(e).trim()+(o?" togglebox__inactive":"")},r.createElement("input",{id:this._id,className:"togglebox__input",type:this.props.inputType,name:this.props.inputName,value:u,onChange:f}),r.createElement("label",{htmlFor:this._id,className:"togglebox__label"},i,null!=t?"".concat(" ("+t+")"):""))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={cssClass:"",onChangeCb:function(){},inputType:"checkbox",inputName:"togglebox",hideToggleBox:!1},n}();t.ToggleBox=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"ToggleBox","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ToggleBox\\ToggleBox.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function y(n){return n&&n.__esModule?n:{"default":n}}function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.Dialog=void 0;r=p(i(1));c=y(i(453));i(670);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(){return w(this,t),i.apply(this,arguments)}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){return r.createElement("div",null,r.createElement(c.default,{role:this.props.role,aria:{labelledby:this.props.labelledby,describedby:this.props.describedby},overlayClassName:this.props.overlayClass,ariaHideApp:!0,isOpen:this.props.isOpen,onRequestClose:this.props.onRequestClose,shouldCloseOnOverlayClick:this.props.shouldCloseOnOverlayClick},this.props.children))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={onRequestClose:function(){},isOpen:!1,shouldCloseOnOverlayClick:!0,role:"dialog"},n}();t.Dialog=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"Dialog","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Dialog\\Dialog.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n,t,i,f,e,o){var s=e||n[0]&&!n[0].hasOwnProperty(r.columnConstants.careUnit);return o&&o.length>0&&(n=n.filter(function(n){return n[r.columnConstants.measurePeriod]==o})),s?f&&f.length>0?n.filter(function(n){return u.contains(f,n[r.columnConstants.division],"value")}):n.filter(function(n){return n[r.columnConstants.divisionType]==i||!i}):f&&f.length>0?t?n.filter(function(n){return n[r.columnConstants.careUnit]&&"riket"!=n[r.columnConstants.careUnit].toLocaleLowerCase()&&u.contains(f,n[r.columnConstants.division],"value")}):n.filter(function(n){return n[r.columnConstants.careUnit]&&"riket"===n[r.columnConstants.careUnit].toLocaleLowerCase()&&u.contains(f,n[r.columnConstants.division],"value")}):t?n.filter(function(n){return n[r.columnConstants.careUnit]&&"riket"!=n[r.columnConstants.careUnit].toLocaleLowerCase()&&(n[r.columnConstants.divisionType]==i||!i)}):n.filter(function(n){return n[r.columnConstants.careUnit]&&"riket"===n[r.columnConstants.careUnit].toLocaleLowerCase()&&(n[r.columnConstants.divisionType]==i||!i)})}Object.defineProperty(t,"__esModule",{value:!0});t.filterChartData=s;var f,e,o,u=i(428),r=i(7);(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&e.register(s,"filterChartData","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\filterChartData.ts");(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(76);n.exports=function(n){return Object(r(n))}},function(n,t,i){var r=i(126),u=i(39);n.exports=function(n,t,i,f){var c=!i,s,h,e,o;for(i||(i={}),s=-1,h=t.length;++s<h;)e=t[s],o=f?f(i[e],n[e],e,i,n):void 0,void 0===o&&(o=n[e]),c?u(i,e,o):r(i,e,o);return i}},function(n,t,i){"use strict";(function(n,i){function h(n){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&c(n.prototype,t),i&&c(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&r(n,t)}function b(n){var t=v();return function(){var i,r=u(n),f;return t?(f=u(this).constructor,i=Reflect.construct(r,arguments,f)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==h(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function l(n){var t="function"==typeof Map?new Map:void 0;return(l=function(n){function i(){return a(n,arguments,u(this).constructor)}if(null===n||!g(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(n))return t.get(n);t.set(n,i)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r(i,n)})(n)}function a(){return(a=v()?Reflect.construct:function(n,t,i){var u=[null],f;return u.push.apply(u,t),f=new(Function.bind.apply(n,u)),i&&r(f,i.prototype),f}).apply(null,arguments)}function v(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function g(n){return-1!==Function.toString.call(n).indexOf("[native code]")}function r(n,t){return(r=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function u(n){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var f,nt,e,o,s;Object.defineProperty(t,"__esModule",{value:!0});t.ResponseError=void 0;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};e=function(n){function t(n,u){var f;return y(this,t),(f=r.call(this,n)).message=n,f.response=u,f.statusCode=u.status,i.env.node_env,f}w(t,n);var r=b(t);return p(t,[{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(l(Error));t.ResponseError=e;o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;o&&o.register(e,"ResponseError","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\ResponseError.ts");s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;s&&s(n)}).call(this,i(0)(n),i(451))},function(n,t,i){"use strict";(function(n){function u(n){var t=h.getFormConfig();return t?"".concat(t.basePath).concat(n):n}function f(n,t,i,r){var u,f;if(!t.ok){u=new o.ResponseError("Error on Http.".concat(i," to ").concat(r),t);try{u.body=JSON.parse(n)}catch(n){u.body=404===u.statusCode&&u.body.search("404.13")?{errorMessage:"Error: 404.13: Filen du försöker ladda upp är för stor."}:{errorMessage:"Ett fel inträffade: ".concat(t.status," ").concat(t.statusText)}}return u}try{return JSON.parse(n)}catch(n){return f=new o.ResponseError(e,t),f.body={errorMessage:e},f}}function l(n,t,i){return fetch(u(n),{body:t,headers:i,credentials:"same-origin",method:"POST"}).then(function(n){return Promise.all([n.text(),n])}).then(function(t){return f(t[0],t[1],"POST",n)})}function a(n,t,i){return fetch(u(n),{body:t,headers:i,credentials:"same-origin",method:"PATCH"}).then(function(n){return Promise.all([n.text(),n])}).then(function(t){return f(t[0],t[1],"PATCH",n)})}function v(n,t,i){return fetch(u(n),{body:t,headers:i,credentials:"same-origin",method:"DELETE"}).then(function(n){return Promise.all([n.text(),n])}).then(function(t){return f(t[0],t[1],"DELETE",n)})}function y(n,t){return fetch(u(n),{headers:t,method:"GET",credentials:"same-origin"}).then(function(n){return Promise.all([n.text(),n])}).then(function(t){return f(t[0],t[1],"GET",n)})}var s,o,h,r,c,e;Object.defineProperty(t,"__esModule",{value:!0});t.doPost=l;t.doPatch=a;t.doDelete=v;t.doGet=y;o=i(35);h=i(45);(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&s(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;e="Failed to parse JSON of server response";(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(e,"JSON_PARSE_FAIL","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\fetch.service.ts"),r.register(u,"buildPath","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\fetch.service.ts"),r.register(f,"properReturnValueFromFetchResult","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\fetch.service.ts"),r.register(l,"doPost","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\fetch.service.ts"),r.register(a,"doPatch","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\fetch.service.ts"),r.register(v,"doDelete","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\fetch.service.ts"),r.register(y,"doGet","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\fetch.service.ts"));(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var f,i,r,e,u;Object.defineProperty(t,"__esModule",{value:!0});t.replaceCommaParseFloat=t.replaceCommaWithDot=void 0;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=function(n){return n&&n.replace(",",".")};t.replaceCommaWithDot=i;u=function(n){var t=i(n);return parseFloat(t)};t.replaceCommaParseFloat=u;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(i,"replaceCommaWithDot","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\replaceCommaWithDot.ts"),r.register(u,"replaceCommaParseFloat","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\replaceCommaWithDot.ts"));(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&e(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(2),u=i(17),f=i(76),e=/"/g,o=function(n,t,i,r){var o=String(f(n)),u="<"+t;return""!==i&&(u+=" "+i+'="'+String(r).replace(e,"&quot;")+'"'),u+">"+o+"<\/"+t+">"};n.exports=function(n,t){var i={};i[n]=t(o);r(r.P+r.F*u(function(){var t=""[n]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",i)}},function(n,t,i){var r=i(490);n.exports=function(n,t,i){"__proto__"==t&&r?r(n,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):n[t]=i}},function(n,t,i){var r=i(117)(Object.keys,Object);n.exports=r},function(n){n.exports=function(){return!1}},function(n,t,i){var r=i(41);n.exports=function(n){if("string"==typeof n||r(n))return n;var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}},function(n,t,i){"use strict";(function(n){function f(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var t=16*Math.random()|0;return("x"===n?t:3&t|8).toString(16)})}function e(){return"xxxx-xxx".replace(/[xy]/g,function(n){var t=16*Math.random()|0;return("x"==n?t:3&t|8).toString(16)})}function o(n,t){var i=n.toLowerCase().replace(/\s/g,"");return"".concat(t,"-").concat(i)}var r,i,u;Object.defineProperty(t,"__esModule",{value:!0});t.getGuid=f;t.shortuid=e;t.getIdFriendlyName=o;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(f,"getGuid","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\guid.ts"),i.register(e,"shortuid","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\guid.ts"),i.register(o,"getIdFriendlyName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\guid.ts"));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n){u=n;o.forEach(function(n){n(u)})}function a(n){o.push(n);u&&n(u)}function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.createStore(w.formModelStore,t,y.composeWithDevTools(e.applyMiddleware(p.default)));return s(n),n}Object.defineProperty(t,"__esModule",{value:!0});t.registerStore=s;t.getStore=a;t.createFormStore=v;var f,h,e=i(27),y=i(682),p=(f=i(683))&&f.__esModule?f:{"default":f},w=i(684);(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&h(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var r,c,l={globals:{shouldShowDelete:!1}},u=e.createStore(e.combineReducers({globals:function(n){return n||{}}}),l),o=[];(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(l,"initCommonStore","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\store.provider.ts"),r.register(u,"globalStore","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\store.provider.ts"),r.register(o,"callbacks","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\store.provider.ts"),r.register(s,"registerStore","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\store.provider.ts"),r.register(a,"getStore","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\store.provider.ts"),r.register(v,"createFormStore","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\store.provider.ts"));(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";var r,u,f,e;Object.defineProperty(t,"__esModule",{value:!0});r=i(689);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(690);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(691);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(95);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function c(){return{type:"ESERVICE_MENU_DELETE"}}function l(){return{type:"ESERVICE_MENU_SAVE"}}function a(){return function(n,t){var i=t().globals;return s.saveOrder(t().formModel,i.orderId).then(function(t){if(t instanceof h.ResponseError){var r=t;if(r.body.detailCode)switch(r.body.detailCode){case"401.1":n(u.dialogueError(f.getErrorBodyVipSPSessionTimeout(r.body.redirectUri)));break;case"401.2":n(u.dialogueError(f.getErrorBodyJwtTokenTimeout(r.body.redirectUri)))}else switch(r.statusCode){case 400:n(u.dialogueError(f.getErrorBodyApiErrorOnSave(i.homePageUrl,r.body.errorMessage)));break;default:n(u.dialogueError(f.getErrorBodyApiErrorOnSave(i.homePageUrl,r.body.errorMessage)))}}else n({type:"ESERVICE_MENU_SAVE"})})}}function v(){return function(n,t){var i=t().globals;return s.saveOrder(t().formModel,i.orderId).then(function(t){if(t instanceof h.ResponseError){var r=t;if(r.body.detailCode)switch(r.body.detailCode){case"401.1":n(u.dialogueError(f.getErrorBodyVipSPSessionTimeout(r.body.redirectUri)));break;case"401.2":n(u.dialogueError(f.getErrorBodyJwtTokenTimeout(r.body.redirectUri)))}else switch(r.statusCode){case 400:n(u.dialogueError(f.getErrorBodyApiErrorOnSaveClose(i.homePageUrl,r.body.errorMessage)));break;default:n(u.dialogueError(f.getErrorBodyApiErrorOnSaveClose(i.homePageUrl,r.body.errorMessage)))}}else n({type:"ESERVICE_MENU_SAVE"}),window.location.href=i.homePageUrl})}}function y(){return{type:"ESERVICE_MENU_AFTER_SAVE_CLOSE"}}Object.defineProperty(t,"__esModule",{value:!0});t.deleteAction=c;t.saveAction=l;t.saveOrderAction=a;t.saveCloseAction=v;t.afterSaveCloseAction=y;t.ESERVICE_MENU_AFTER_SAVE_CLOSE=t.ESERVICE_MENU_SAVE_CLOSE=t.ESERVICE_MENU_SAVE=t.ESERVICE_MENU_DELETE=void 0;var e,r,o,s=i(63),h=i(35),u=i(94),f=i(95);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.ESERVICE_MENU_DELETE="ESERVICE_MENU_DELETE";t.ESERVICE_MENU_SAVE="ESERVICE_MENU_SAVE";t.ESERVICE_MENU_SAVE_CLOSE="ESERVICE_MENU_SAVE_CLOSE";t.ESERVICE_MENU_AFTER_SAVE_CLOSE="ESERVICE_MENU_AFTER_SAVE_CLOSE";(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register("ESERVICE_MENU_DELETE","ESERVICE_MENU_DELETE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\eservicemenu.actions.ts"),r.register("ESERVICE_MENU_SAVE","ESERVICE_MENU_SAVE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\eservicemenu.actions.ts"),r.register("ESERVICE_MENU_SAVE_CLOSE","ESERVICE_MENU_SAVE_CLOSE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\eservicemenu.actions.ts"),r.register("ESERVICE_MENU_AFTER_SAVE_CLOSE","ESERVICE_MENU_AFTER_SAVE_CLOSE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\eservicemenu.actions.ts"),r.register(c,"deleteAction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\eservicemenu.actions.ts"),r.register(l,"saveAction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\eservicemenu.actions.ts"),r.register(a,"saveOrderAction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\eservicemenu.actions.ts"),r.register(v,"saveCloseAction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\eservicemenu.actions.ts"),r.register(y,"afterSaveCloseAction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\eservicemenu.actions.ts"));(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(n)}).call(this,i(0)(n))},function(n,t,i){function r(t,i){return delete n.exports[t],n.exports[t]=i,i}var u=i(411),f=i(415);n.exports={Parser:u,Tokenizer:i(412),ElementType:i(784),DomHandler:f,get FeedHandler(){return r("FeedHandler",i(785))},get Stream(){return r("Stream",i(797))},get WritableStream(){return r("WritableStream",i(418))},get ProxyHandler(){return r("ProxyHandler",i(804))},get DomUtils(){return r("DomUtils",i(417))},get CollectingHandler(){return r("CollectingHandler",i(805))},DefaultHandler:f,get RssHandler(){return r("RssHandler",this.FeedHandler)},parseDOM:function(n,t){var i=new f(t);return new u(i,t).end(n),i.dom},parseFeed:function(t,i){var r=new n.exports.FeedHandler(i);return new u(r,i).end(t),r.dom},createDomStream:function(n,t,i){var r=new f(n,t,i);return new u(r,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},function(n,t,i){var u,f,r;r=function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}t(n=n?n._modules:{},"modules/full-screen.src.js",[n["parts/Globals.js"]],function(n){var t=n.addEvent,i=n.Chart,r=function(){function t(n){this.chart=n;this.isOpen=!1;n.container.parentNode instanceof Element&&(n=n.container.parentNode,this.browserProps||("function"==typeof n.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:n.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:n.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:n.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"})))}return t.prototype.close=function(){var n=this.chart;this.isOpen&&this.browserProps&&n.container.ownerDocument instanceof Document&&n.container.ownerDocument[this.browserProps.exitFullscreen]();this.unbindFullscreenEvent&&this.unbindFullscreenEvent();this.isOpen=!1;this.setButtonText()},t.prototype.open=function(){var t=this,i=t.chart,r;t.browserProps&&((t.unbindFullscreenEvent=n.addEvent(i.container.ownerDocument,t.browserProps.fullscreenChange,function(){t.isOpen?(t.isOpen=!1,t.close()):(t.isOpen=!0,t.setButtonText())}),i.container.parentNode instanceof Element)&&(r=i.container.parentNode[t.browserProps.requestFullscreen](),r&&r.catch(function(){alert("Full screen is not supported inside a frame.")})),n.addEvent(i,"destroy",t.unbindFullscreenEvent))},t.prototype.setButtonText=function(){var n,i=this.chart,r=i.exportDivElements,t=i.options.exporting,u=null===(n=null==t?void 0:t.buttons)||void 0===n?void 0:n.contextButton.menuItems;n=i.options.lang;null!=t&&t.menuItemDefinitions&&null!=n&&n.exitFullscreen&&n.viewFullscreen&&u&&r&&r.length&&(r[u.indexOf("viewFullscreen")].innerHTML=this.isOpen?n.exitFullscreen:t.menuItemDefinitions.viewFullscreen.text||n.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}();return n.Fullscreen=r,t(i,"beforeRender",function(){this.fullscreen=new n.Fullscreen(this)}),n.Fullscreen});t(n,"mixins/navigation.js",[],function(){return{initUpdate:function(n){n.navigation||(n.navigation={updates:[],update:function(n,t){this.updates.forEach(function(i){i.update.call(i.context,n,t)})}})},addUpdate:function(n,t){t.navigation||this.initUpdate(t);t.navigation.updates.push({update:n,context:t})}}});t(n,"modules/exporting.src.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["mixins/navigation.js"]],function(n,t,i){var e=t.addEvent,u=t.css,o=t.createElement,y=t.discardElement,s=t.extend,d=t.find,a=t.fireEvent,g=t.isObject,r=t.merge,p=t.objectEach,f=t.pick,nt=t.removeEvent,tt=t.uniqueKey,c=n.defaultOptions,l=n.doc,v=n.Chart,it=n.isTouchDevice,h=n.win,b=h.navigator.userAgent,w=n.SVGRenderer,k=n.Renderer.prototype.symbols,rt=/Edge\/|Trident\/|MSIE /.test(b),ut=/firefox/i.test(b);s(c.lang,{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"});c.navigation||(c.navigation={});r(!0,c.navigation,{buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}});r(!0,c.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:it?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"},buttonOptions:{symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}}});c.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}};n.post=function(n,t,i){var u=o("form",r({method:"post",action:n,enctype:"multipart/form-data"},i),{display:"none"},l.body);p(t,function(n,t){o("input",{type:"hidden",name:t,value:n},null,u)});u.submit();y(u)};n.isSafari&&n.win.matchMedia("print").addListener(function(t){n.printingChart&&(t.matches?n.printingChart.beforePrint():n.printingChart.afterPrint())});s(v.prototype,{sanitizeSVG:function(n,t){var r=n.indexOf("<\/svg>")+6,i=n.substr(r);return n=n.substr(0,r),t&&t.exporting&&t.exporting.allowHTML&&i&&(i='<foreignObject x="0" y="0" width="'+t.chart.width+'" height="'+t.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+i+"<\/body><\/foreignObject>",n=n.replace("<\/svg>",i+"<\/svg>")),n=n.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g," ").replace(/&shy;/g,"­"),this.ieSanitizeSVG&&(n=this.ieSanitizeSVG(n)),n},getChartHTML:function(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML},getSVG:function(t){var h,i=r(this.options,t),f;i.plotOptions=r(this.userOptions.plotOptions,t&&t.plotOptions);i.time=r(this.userOptions.time,t&&t.time);var c=o("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},l.body),u=this.renderTo.style.width,e=this.renderTo.style.height;return u=i.exporting.sourceWidth||i.chart.width||/px$/.test(u)&&parseInt(u,10)||(i.isGantt?800:600),e=i.exporting.sourceHeight||i.chart.height||/px$/.test(e)&&parseInt(e,10)||400,s(i.chart,{animation:!1,renderTo:c,forExport:!0,renderer:"SVGRenderer",width:u,height:e}),i.exporting.enabled=!1,delete i.data,i.series=[],this.series.forEach(function(n){(h=r(n.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:n.visible})).isInternal||i.series.push(h)}),this.axes.forEach(function(n){n.userOptions.internalKey||(n.userOptions.internalKey=tt())}),f=new n.Chart(i,this.callback),t&&["xAxis","yAxis","series"].forEach(function(n){var i={};t[n]&&(i[n]=t[n],f.update(i))}),this.axes.forEach(function(n){var i=d(f.axes,function(t){return t.options.internalKey===n.userOptions.internalKey}),t=n.getExtremes(),r=t.userMin;t=t.userMax;i&&(void 0!==r&&r!==i.min||void 0!==t&&t!==i.max)&&i.setExtremes(r,t,!0,!1)}),u=f.getChartHTML(),a(this,"getSVG",{chartCopy:f}),u=this.sanitizeSVG(u,i),i=null,f.destroy(),y(c),u},getSVGForExport:function(n,t){var i=this.options.exporting;return this.getSVG(r({chart:{borderRadius:0}},i.chartOptions,t,{exporting:{sourceWidth:n&&n.sourceWidth||i.sourceWidth,sourceHeight:n&&n.sourceHeight||i.sourceHeight}}))},getFilename:function(){var t=this.userOptions.title&&this.userOptions.title.text,n=this.options.exporting.filename;return n?n.replace(/\//g,"-"):("string"==typeof t&&(n=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!n||5>n.length)&&(n="chart"),n)},exportChart:function(t,i){i=this.getSVGForExport(t,i);t=r(this.options.exporting,t);n.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:i},t.formAttributes)},moveContainers:function(n){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(t){n.appendChild(t)})},beforePrint:function(){var i=l.body,t=this.options.exporting.printMaxWidth,n={childNodes:i.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0;this.pointer.reset(null,0);a(this,"beforePrint");t&&this.chartWidth>t&&(n.resetParams=[this.options.chart.width,void 0,!1],this.setSize(t,void 0,!1));[].forEach.call(n.childNodes,function(t,i){1===t.nodeType&&(n.origDisplay[i]=t.style.display,t.style.display="none")});this.moveContainers(i);this.printReverseInfo=n},afterPrint:function(){if(this.printReverseInfo){var i=this.printReverseInfo.childNodes,r=this.printReverseInfo.origDisplay,t=this.printReverseInfo.resetParams;this.moveContainers(this.renderTo);[].forEach.call(i,function(n,t){1===n.nodeType&&(n.style.display=r[t]||"")});this.isPrinting=!1;t&&this.setSize.apply(this,t);delete this.printReverseInfo;delete n.printingChart;a(this,"afterPrint")}},print:function(){var t=this;t.isPrinting||(n.printingChart=t,n.isSafari||t.beforePrint(),setTimeout(function(){h.focus();h.print();n.isSafari||setTimeout(function(){t.afterPrint()},1e3)},1))},contextMenu:function(n,i,r,f,c,v,y){var p=this,d=p.options.navigation,nt=p.chartWidth,tt=p.chartHeight,it="cache-"+n,w=p[it],b=Math.max(c,v),k;w||(p.exportContextMenu=p[it]=w=o("div",{className:n},{position:"absolute",zIndex:1e3,padding:b+"px",pointerEvents:"auto"},p.fixedDiv||p.container),k=o("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},w),p.styledMode||u(k,s({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},d.menuStyle)),w.hideMenu=function(){u(w,{display:"none"});y&&y.setState(0);p.openMenu=!1;u(p.renderTo,{overflow:"hidden"});t.clearTimeout(w.hideTimer);a(p,"exportMenuHidden")},p.exportEvents.push(e(w,"mouseleave",function(){w.hideTimer=h.setTimeout(w.hideMenu,500)}),e(w,"mouseenter",function(){t.clearTimeout(w.hideTimer)}),e(l,"mouseup",function(t){p.pointer.inClass(t.target,n)||w.hideMenu()}),e(w,"click",function(){p.openMenu&&w.hideMenu()})),i.forEach(function(n){if("string"==typeof n&&(n=p.options.exporting.menuItemDefinitions[n]),g(n,!0)){if(n.separator)var t=o("hr",null,null,k);else t=o("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation();w.hideMenu();n.onclick&&n.onclick.apply(p,arguments)},innerHTML:n.text||p.options.lang[n.textKey]},null,k),p.styledMode||(t.onmouseover=function(){u(this,d.menuItemHoverStyle)},t.onmouseout=function(){u(this,d.menuItemStyle)},u(t,s({cursor:"pointer"},d.menuItemStyle)));p.exportDivElements.push(t)}}),p.exportDivElements.push(k,w),p.exportMenuWidth=w.offsetWidth,p.exportMenuHeight=w.offsetHeight);i={display:"block"};r+p.exportMenuWidth>nt?i.right=nt-r-c-b+"px":i.left=r-b+"px";f+v+p.exportMenuHeight>tt&&"top"!==y.alignOptions.verticalAlign?i.bottom=tt-f-b+"px":i.top=f+v-b+"px";u(w,i);u(p.renderTo,{overflow:""});p.openMenu=!0;a(p,"exportMenuShown")},addButton:function(n){var i=this,a=i.renderer,t=r(i.options.navigation.buttonOptions,n),v=t.onclick,y=t.menuItems,o=t.symbolSize||12,e,l;if(i.btnCount||(i.btnCount=0),i.exportDivElements||(i.exportDivElements=[],i.exportSVGElements=[]),!1!==t.enabled){var c,u=t.theme,h=u.states,p=h&&h.hover;h=h&&h.select;i.styledMode||(u.fill=f(u.fill,"#ffffff"),u.stroke=f(u.stroke,"none"));delete u.states;v?c=function(n){n&&n.stopPropagation();v.call(i,n)}:y&&(c=function(n){n&&n.stopPropagation();i.contextMenu(e.menuClassName,y,e.translateX,e.translateY,e.width,e.height,e);e.setState(2)});t.text&&t.symbol?u.paddingLeft=f(u.paddingLeft,25):t.text||s(u,{width:t.width,height:t.height,padding:0});i.styledMode||(u["stroke-linecap"]="round",u.fill=f(u.fill,"#ffffff"),u.stroke=f(u.stroke,"none"));e=a.button(t.text,0,0,c,u,p,h).addClass(n.className).attr({title:f(i.options.lang[t._titleKey||t.titleKey],"")});(e.menuClassName=n.menuClassName||"highcharts-menu-"+i.btnCount++,t.symbol)&&(l=a.symbol(t.symbol,t.symbolX-o/2,t.symbolY-o/2,o,o,{width:o,height:o}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(e),i.styledMode||l.attr({stroke:t.symbolStroke,fill:t.symbolFill,"stroke-width":t.symbolStrokeWidth||1}));e.add(i.exportingGroup).align(s(t,{width:e.width,x:f(t.x,i.buttonOffset)}),!0,"spacingBox");i.buttonOffset+=(e.width+t.buttonSpacing)*("right"===t.align?-1:1);i.exportSVGElements.push(e,l)}},destroyExport:function(n){var i=n?n.target:this,f,r,u;n=i.exportSVGElements;r=i.exportDivElements;u=i.exportEvents;n&&(n.forEach(function(n,t){n&&(n.onclick=n.ontouchstart=null,f="cache-"+n.menuClassName,i[f]&&delete i[f],i.exportSVGElements[t]=n.destroy())}),n.length=0);i.exportingGroup&&(i.exportingGroup.destroy(),delete i.exportingGroup);r&&(r.forEach(function(n,r){t.clearTimeout(n.hideTimer);nt(n,"mouseleave");i.exportDivElements[r]=n.onmouseout=n.onmouseover=n.ontouchstart=n.onclick=null;y(n)}),r.length=0);u&&(u.forEach(function(n){n()}),u.length=0)}});w.prototype.inlineToAttributes="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");w.prototype.inlineBlacklist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/];w.prototype.unstyledElements=["clipPath","defs","desc"];v.prototype.inlineStyles=function(){function o(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()})}var i,n=this.renderer,c=n.inlineToAttributes,s=n.inlineBlacklist,e=n.inlineWhitelist,a=n.unstyledElements,f={},t;n=l.createElement("iframe");u(n,{width:"1px",height:"1px",visibility:"hidden"});l.body.appendChild(n);t=n.contentWindow.document;t.open();t.write('<svg xmlns="http://www.w3.org/2000/svg"><\/svg>');t.close(),function n(u){function g(n,t){if(v=w=!1,e){for(y=e.length;y--&&!w;)w=e[y].test(t);v=!w}for("transform"===t&&"none"===n&&(v=!0),y=s.length;y--&&!v;)v=s[y].test(t)||"function"==typeof n;v||nt[t]===n&&"svg"!==u.nodeName||f[u.nodeName][t]===n||(-1!==c.indexOf(t)?u.setAttribute(o(t),n):k+=o(t)+":"+n+";")}var v,w,y,k="",l,nt,b,d;if(1===u.nodeType&&-1===a.indexOf(u.nodeName)){if(l=h.getComputedStyle(u,null),nt="svg"===u.nodeName?{}:h.getComputedStyle(u.parentNode,null),f[u.nodeName]||(i=t.getElementsByTagName("svg")[0],b=t.createElementNS(u.namespaceURI,u.nodeName),i.appendChild(b),f[u.nodeName]=r(h.getComputedStyle(b,null)),"text"===u.nodeName&&delete f.text.fill,i.removeChild(b)),ut||rt)for(d in l)g(l[d],d);else p(l,g);k&&(l=u.getAttribute("style"),u.setAttribute("style",(l?l+";":"")+k));"svg"===u.nodeName&&u.setAttribute("stroke-width","1px");"text"!==u.nodeName&&[].forEach.call(u.children||u.childNodes,n)}}(this.container.querySelector("svg"));i.parentNode.removeChild(i)};k.menu=function(n,t,i,r){return["M",n,t+2.5,"L",n+i,t+2.5,"M",n,t+r/2+.5,"L",n+i,t+r/2+.5,"M",n,t+r-1.5,"L",n+i,t+r-1.5]};k.menuball=function(n,t,i,r){return r=r/3-2,[].concat(this.circle(i-r,t,r,r),this.circle(i-r,t+r+4,r,r),this.circle(i-r,t+2*(r+4),r,r))};v.prototype.renderExporting=function(){var n=this,t=n.options.exporting,i=t.buttons,r=n.isDirtyExporting||!n.exportSVGElements;n.buttonOffset=0;n.isDirtyExporting&&n.destroyExport();r&&!1!==t.enabled&&(n.exportEvents=[],n.exportingGroup=n.exportingGroup||n.renderer.g("exporting-group").attr({zIndex:3}).add(),p(i,function(t){n.addButton(t)}),n.isDirtyExporting=!1);e(n,"destroy",n.destroyExport)};e(v,"init",function(){var n=this;n.exporting={update:function(t,i){n.isDirtyExporting=!0;r(!0,n.options.exporting,t);f(i,!0)&&n.redraw()}};i.addUpdate(function(t,i){n.isDirtyExporting=!0;r(!0,n.options.navigation,t);f(i,!0)&&n.redraw()},n)});v.prototype.callbacks.push(function(n){n.renderExporting();e(n,"redraw",n.renderExporting)})});t(n,"masters/modules/exporting.src.js",[],function(){})};n.exports?(r.default=r,n.exports=r):(u=[i(16)],void 0===(f=function(n){return r(n),r.Highcharts=n,r}.apply(t,u))||(n.exports=f))},function(n,t,i){var u,f,r;r=function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}t(n=n?n._modules:{},"modules/accessibility/utils/htmlUtilities.js",[n["parts/Utilities.js"],n["parts/Globals.js"]],function(n,t){function u(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")}var f=n.merge,i=t.win,r=i.document;return{addClass:function(n,t){n.classList?n.classList.add(t):0>n.className.indexOf(t)&&(n.className+=t)},escapeStringForHTML:u,getElement:function(n){return r.getElementById(n)},getFakeMouseEvent:function(n){if("function"==typeof i.MouseEvent)return new i.MouseEvent(n);if(r.createEvent){var t=r.createEvent("MouseEvent");if(t.initMouseEvent)return t.initMouseEvent(n,!0,!0,i,"click"===n?1:0,0,0,0,0,!1,!1,!1,!1,0,null),t}return{type:n}},removeElement:function(n){n&&n.parentNode&&n.parentNode.removeChild(n)},reverseChildNodes:function(n){for(var t=n.childNodes.length;t--;)n.appendChild(n.childNodes[t])},setElAttrs:function(n,t){Object.keys(t).forEach(function(i){var r=t[i];null===r?n.removeAttribute(i):(r=u(""+r),n.setAttribute(i,r))})},stripHTMLTagsFromString:function(n){return"string"==typeof n?n.replace(/<\/?[^>]+(>|$)/g,""):n},visuallyHideElement:function(n){f(!0,n.style,{position:"absolute",width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(1px, 1px, 1px, 1px)",marginTop:"-3px","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",filter:"alpha(opacity=1)",opacity:"0.01"})}}});t(n,"modules/accessibility/utils/chartUtilities.js",[n["modules/accessibility/utils/htmlUtilities.js"],n["parts/Utilities.js"]],function(n,t){function i(n){if(n.points&&n.points.length&&n.points[0].graphic)return n.points[0].graphic.element}function r(n){var t=i(n);return t&&t.parentNode||n.graph&&n.graph.element||n.group&&n.group.element}var u=n.stripHTMLTagsFromString,f=t.find;return{getChartTitle:function(n){return u(n.options.title.text||n.langFormat("accessibility.defaultChartTitle",{chart:n}))},getAxisDescription:function(n){return u(n&&(n.userOptions&&n.userOptions.accessibility&&n.userOptions.accessibility.description||n.axisTitle&&n.axisTitle.textStr||n.options.id||n.categories&&"categories"||n.isDatetimeAxis&&"Time"||"values"))},getPointFromXY:function(n,t,i){for(var r,u=n.length;u--;)if(r=f(n[u].points||[],function(n){return n.x===t&&n.y===i}))return r},getSeriesFirstPointElement:i,getSeriesFromName:function(n,t){return t?(n.series||[]).filter(function(n){return n.name===t}):n.series},getSeriesA11yElement:r,unhideChartElementFromAT:function n(t,i){i.setAttribute("aria-hidden",!1);i!==t.renderTo&&i.parentNode&&(Array.prototype.forEach.call(i.parentNode.childNodes,function(n){n.hasAttribute("aria-hidden")||n.setAttribute("aria-hidden",!0)}),n(t,i.parentNode))},hideSeriesFromAT:function(n){(n=r(n))&&n.setAttribute("aria-hidden",!0)}}});t(n,"modules/accessibility/KeyboardNavigationHandler.js",[n["parts/Utilities.js"]],function(n){function t(n,t){this.chart=n;this.keyCodeMap=t.keyCodeMap||[];this.validate=t.validate;this.init=t.init;this.terminate=t.terminate;this.response={success:1,prev:2,next:3,noHandler:4,fail:5}}var i=n.find;return t.prototype={run:function(n){var t=n.which||n.keyCode,r=this.response.noHandler,u=i(this.keyCodeMap,function(n){return-1<n[0].indexOf(t)});return u?r=u[1].call(this,t,n):9===t&&(r=this.response[n.shiftKey?"prev":"next"]),r}},t});t(n,"modules/accessibility/utils/EventProvider.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var r=t.addEvent,i=function(){this.eventRemovers=[]};return(t=t.extend)(i.prototype,{addEvent:function(){var t=r.apply(n,arguments);return this.eventRemovers.push(t),t},removeAddedEvents:function(){this.eventRemovers.forEach(function(n){n()});this.eventRemovers=[]}}),i});t(n,"modules/accessibility/utils/DOMElementProvider.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/utils/htmlUtilities.js"]],function(n,t,i){var r=n.win.document,u;return n=t.extend,u=i.removeElement,n((i=function(){this.elements=[]}).prototype,{createElement:function(){var n=r.createElement.apply(r,arguments);return this.elements.push(n),n},destroyCreatedElements:function(){this.elements.forEach(function(n){u(n)});this.elements=[]}}),i});t(n,"modules/accessibility/AccessibilityComponent.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/utils/htmlUtilities.js"],n["modules/accessibility/utils/chartUtilities.js"],n["modules/accessibility/utils/EventProvider.js"],n["modules/accessibility/utils/DOMElementProvider.js"]],function(n,t,i,r,u,f){function s(){}var e=n.win,o=e.document,l=n.fireEvent;n=t.extend;var h=t.merge,a=i.removeElement,c=i.getFakeMouseEvent,v=r.unhideChartElementFromAT;return s.prototype={initBase:function(n){this.chart=n;this.eventProvider=new u;this.domElementProvider=new f;this.keyCodes={left:37,right:39,up:38,down:40,enter:13,space:32,esc:27,tab:9}},addEvent:function(){return this.eventProvider.addEvent.apply(this.eventProvider,arguments)},createElement:function(){return this.domElementProvider.createElement.apply(this.domElementProvider,arguments)},fireEventOnWrappedOrUnwrappedElement:function(n,t){var i=t.type;o.createEvent&&(n.dispatchEvent||n.fireEvent)?n.dispatchEvent?n.dispatchEvent(t):n.fireEvent(i,t):l(n,i,t)},fakeClickEvent:function(n){if(n){var t=c("click");this.fireEventOnWrappedOrUnwrappedElement(n,t)}},addProxyGroup:function(n){this.createOrUpdateProxyContainer();var t=this.createElement("div");return Object.keys(n||{}).forEach(function(i){null!==n[i]&&t.setAttribute(i,n[i])}),this.chart.a11yProxyContainer.appendChild(t),t},createOrUpdateProxyContainer:function(){var n=this.chart,t=n.renderer.box;n.a11yProxyContainer=n.a11yProxyContainer||this.createProxyContainerElement();t.nextSibling!==n.a11yProxyContainer&&n.container.insertBefore(n.a11yProxyContainer,t.nextSibling)},createProxyContainerElement:function(){var n=o.createElement("div");return n.className="highcharts-a11y-proxy-container",n},createProxyButton:function(n,t,i,r,u){var o=n.element,f=this.createElement("button"),e=h({"aria-label":o.getAttribute("aria-label")},i);return n=this.getElementPosition(r||n),Object.keys(e).forEach(function(n){null!==e[n]&&f.setAttribute(n,e[n])}),f.className="highcharts-a11y-proxy-button",u&&this.addEvent(f,"click",u),this.setProxyButtonStyle(f,n),this.proxyMouseEventsForButton(o,f),t.appendChild(f),e["aria-hidden"]||v(this.chart,f),f},getElementPosition:function(n){var t=n.element;return(n=this.chart.renderTo)&&t&&t.getBoundingClientRect?(t=t.getBoundingClientRect(),n=n.getBoundingClientRect(),{x:t.left-n.left,y:t.top-n.top,width:t.right-t.left,height:t.bottom-t.top}):{x:0,y:0,width:1,height:1}},setProxyButtonStyle:function(n,t){h(!0,n.style,{"border-width":0,"background-color":"transparent",cursor:"pointer",outline:"none",opacity:.001,filter:"alpha(opacity=1)","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",zIndex:999,overflow:"hidden",padding:0,margin:0,display:"block",position:"absolute",width:(t.width||1)+"px",height:(t.height||1)+"px",left:(t.x||0)+"px",top:(t.y||0)+"px"})},proxyMouseEventsForButton:function(n,t){var i=this;"click touchstart touchend touchcancel touchmove mouseover mouseenter mouseleave mouseout".split(" ").forEach(function(r){i.addEvent(t,r,function(t){var r=i.cloneMouseEvent(t);n&&i.fireEventOnWrappedOrUnwrappedElement(n,r);t.stopPropagation();t.preventDefault()})})},cloneMouseEvent:function(n){if("function"==typeof e.MouseEvent)return new e.MouseEvent(n.type,n);if(o.createEvent){var t=o.createEvent("MouseEvent");if(t.initMouseEvent)return t.initMouseEvent(n.type,n.bubbles,n.cancelable,n.view||e,n.detail,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,n.relatedTarget),t}return c(n.type)},destroyBase:function(){a(this.chart.a11yProxyContainer);this.domElementProvider.destroyCreatedElements();this.eventProvider.removeAddedEvents()}},n(s.prototype,{init:function(){},getKeyboardNavigation:function(){},onChartUpdate:function(){},onChartRender:function(){},destroy:function(){}}),s});t(n,"modules/accessibility/KeyboardNavigation.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/utils/htmlUtilities.js"],n["modules/accessibility/utils/EventProvider.js"]],function(n,t,i,r){function e(n,t){this.init(n,t)}var u=n.win,f=u.document,o=t.addEvent,s=t.fireEvent,h=i.getElement;return o(f,"keydown",function(t){27===(t.which||t.keyCode)&&n.charts&&n.charts.forEach(function(n){n&&n.dismissPopupContent&&n.dismissPopupContent()})}),n.Chart.prototype.dismissPopupContent=function(){var n=this;s(this,"dismissPopupContent",{},function(){n.tooltip&&n.tooltip.hide(0);n.hideExportMenu()})},e.prototype={init:function(n,t){var i=this,u=this.eventProvider=new r;this.chart=n;this.components=t;this.modules=[];this.currentModuleIx=0;u.addEvent(n.renderTo,"keydown",function(n){return i.onKeydown(n)});u.addEvent(n.container,"focus",function(n){return i.onFocus(n)});u.addEvent(f,"mouseup",function(){return i.onMouseUp()});u.addEvent(n.renderTo,"mouseover",function(){i.pointerIsOverChart=!0});u.addEvent(n.renderTo,"mouseout",function(){i.pointerIsOverChart=!1});this.update();this.modules.length&&this.modules[0].init(1)},update:function(n){var t=this.chart.options.accessibility,i;t=t&&t.keyboardNavigation;i=this.components;this.updateContainerTabindex();t&&t.enabled&&n&&n.length?(this.modules=n.reduce(function(n,t){return t=i[t].getKeyboardNavigation(),n.concat(t)},[]),this.updateExitAnchor()):(this.modules=[],this.currentModuleIx=0,this.removeExitAnchor())},onFocus:function(n){var t,i=this.chart;n.relatedTarget&&i.container.contains(n.relatedTarget)||null===(t=this.modules[0])||void 0===t||t.init(1)},onMouseUp:function(){if(!this.keyboardReset&&!this.pointerIsOverChart){var t=this.chart,n=this.modules&&this.modules[this.currentModuleIx||0];n&&n.terminate&&n.terminate();t.focusElement&&t.focusElement.removeFocusBorder();this.currentModuleIx=0;this.keyboardReset=!0}},onKeydown:function(n){var i,t,r;n=n||u.event;t=this.modules&&this.modules.length&&this.modules[this.currentModuleIx];(this.keyboardReset=!1,t)&&(r=t.run(n),r===t.response.success?i=!0:r===t.response.prev?i=this.prev():r===t.response.next&&(i=this.next()),i&&(n.preventDefault(),n.stopPropagation()))},prev:function(){return this.move(-1)},next:function(){return this.move(1)},move:function(n){var t=this.modules&&this.modules[this.currentModuleIx];if(t&&t.terminate&&t.terminate(n),this.chart.focusElement&&this.chart.focusElement.removeFocusBorder(),this.currentModuleIx+=n,t=this.modules&&this.modules[this.currentModuleIx]){if(t.validate&&!t.validate())return this.move(n);if(t.init)return t.init(n),!0}return this.currentModuleIx=0,0<n?(this.exiting=!0,this.exitAnchor.focus()):this.chart.container.focus(),!1},updateExitAnchor:function(){var n=h("highcharts-end-of-chart-marker-"+this.chart.index);this.removeExitAnchor();n?(this.makeElementAnExitAnchor(n),this.exitAnchor=n):this.createExitAnchor()},updateContainerTabindex:function(){var n=this.chart.options.accessibility,t,i;n=!((n=n&&n.keyboardNavigation)&&!1===n.enabled);t=this.chart.container;i=t.getAttribute("tabIndex");n&&!i?t.setAttribute("tabindex","0"):n||"0"!==i||t.removeAttribute("tabindex")},makeElementAnExitAnchor:function(n){n.setAttribute("class","highcharts-exit-anchor");n.setAttribute("tabindex","0");n.setAttribute("aria-hidden",!1);this.addExitAnchorEventsToEl(n)},createExitAnchor:function(){var t=this.chart,n=this.exitAnchor=f.createElement("div");t.renderTo.appendChild(n);this.makeElementAnExitAnchor(n)},removeExitAnchor:function(){this.exitAnchor&&this.exitAnchor.parentNode&&(this.exitAnchor.parentNode.removeChild(this.exitAnchor),delete this.exitAnchor)},addExitAnchorEventsToEl:function(n){var i=this.chart,t=this;this.eventProvider.addEvent(n,"focus",function(n){(n=n||u.event).relatedTarget&&i.container.contains(n.relatedTarget)||t.exiting?t.exiting=!1:(i.renderTo.focus(),n.preventDefault(),t.modules&&t.modules.length&&(t.currentModuleIx=t.modules.length-1,(n=t.modules[t.currentModuleIx])&&n.validate&&!n.validate()?t.prev():n&&n.init(-1)))})},destroy:function(){this.removeExitAnchor();this.eventProvider.removeAddedEvents();"0"===this.chart.container.getAttribute("tabindex")&&this.chart.container.removeAttribute("tabindex")}},e});t(n,"modules/accessibility/components/LegendComponent.js",[n["parts/Globals.js"],n["parts/Legend.js"],n["parts/Utilities.js"],n["modules/accessibility/AccessibilityComponent.js"],n["modules/accessibility/KeyboardNavigationHandler.js"],n["modules/accessibility/utils/htmlUtilities.js"]],function(n,t,i,r,u,f){var o=i.addEvent,s=i.extend,e=i.fireEvent,h=f.stripHTMLTagsFromString,c=f.removeElement;return n.Chart.prototype.highlightLegendItem=function(n){var t=this.legend.allItems,i=this.highlightedLegendItemIx,r,u;return t[n]?(t[i]&&e(t[i].legendGroup.element,"mouseout"),r=(i=this.legend).allItems[n].pageIx,u=i.currentPage,void 0!==r&&r+1!==u&&i.scroll(1+r-u),this.setFocusToElement(t[n].legendItem,t[n].a11yProxyElement),e(t[n].legendGroup.element,"mouseover"),!0):!1},o(t,"afterColorizeItem",function(n){var t=n.item;this.chart.options.accessibility.enabled&&t&&t.a11yProxyElement&&t.a11yProxyElement.setAttribute("aria-pressed",n.visible?"false":"true")}),(n=function(){}).prototype=new r,s(n.prototype,{init:function(){var n=this;this.addEvent(t,"afterScroll",function(){this.chart===n.chart&&n.updateProxies()})},updateLegendItemProxyVisibility:function(){var n=this.chart.legend,t=n.currentPage||1;(n.allItems||[]).forEach(function(n){var i=(n.pageIx||0)!==t-1;n.a11yProxyElement&&(n.a11yProxyElement.style.visibility=i?"hidden":"visible")})},onChartRender:function(){this.legendProxyButtonClicked?delete this.legendProxyButtonClicked:this.updateProxies()},updateProxies:function(){c(this.legendProxyGroup);var n=this.chart,t=n.legend&&n.legend.allItems,i=n.options.legend.accessibility||{};!t||!t.length||n.colorAxis&&n.colorAxis.length||!1===i.enabled||(this.addLegendProxyGroup(),this.proxyLegendItems(),this.updateLegendItemProxyVisibility())},addLegendProxyGroup:function(){var n=this.chart.options.accessibility,t=this.chart.langFormat("accessibility.legend.legendLabel",{});this.legendProxyGroup=this.addProxyGroup({"aria-label":t,role:"all"===n.landmarkVerbosity?"region":null})},proxyLegendItems:function(){var n=this;(this.chart.legend&&this.chart.legend.allItems||[]).forEach(function(t){t.legendItem&&t.legendItem.element&&n.proxyLegendItem(t)})},proxyLegendItem:function(n){var t=this,i=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:h(n.name)});n.a11yProxyElement=this.createProxyButton(n.legendItem,this.legendProxyGroup,{tabindex:-1,"aria-pressed":!n.visible,"aria-label":i},n.legendGroup.div?n.legendItem:n.legendGroup,function(){t.legendProxyButtonClicked=!0})},getKeyboardNavigation:function(){var n=this.keyCodes,t=this;return new u(this.chart,{keyCodeMap:[[[n.left,n.right,n.up,n.down],function(n){return t.onKbdArrowKey(this,n)}],[[n.enter,n.space],function(){return t.onKbdClick(this)}]],validate:function(){return t.shouldHaveLegendNavigation()},init:function(n){return t.onKbdNavigationInit(n)}})},onKbdArrowKey:function(n,t){var u=this.keyCodes,i=n.response,r=this.chart,f=r.options.accessibility,e=r.legend.allItems.length;return t=t===u.left||t===u.up?-1:1,r.highlightLegendItem(this.highlightedLegendItemIx+t)?(this.highlightedLegendItemIx+=t,i.success):1<e&&f.keyboardNavigation.wrapAround?(n.init(t),i.success):i[0<t?"next":"prev"]},onKbdClick:function(n){var t=this.chart.legend.allItems[this.highlightedLegendItemIx];return t&&t.a11yProxyElement&&e(t.a11yProxyElement,"click"),n.response.success},shouldHaveLegendNavigation:function(){var n=this.chart,i=n.colorAxis&&n.colorAxis.length,t=(n.options.legend||{}).accessibility||{};return!!(n.legend&&n.legend.allItems&&n.legend.display&&!i&&t.enabled&&t.keyboardNavigation&&t.keyboardNavigation.enabled)},onKbdNavigationInit:function(n){var t=this.chart,i=t.legend.allItems.length-1;n=0<n?0:i;t.highlightLegendItem(n);this.highlightedLegendItemIx=n}}),n});t(n,"modules/accessibility/components/MenuComponent.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/AccessibilityComponent.js"],n["modules/accessibility/KeyboardNavigationHandler.js"],n["modules/accessibility/utils/chartUtilities.js"],n["modules/accessibility/utils/htmlUtilities.js"]],function(n,t,i,r,u,f){function e(n){return n.exportSVGElements&&n.exportSVGElements[0]}t=t.extend;var s=u.unhideChartElementFromAT,h=f.removeElement,o=f.getFakeMouseEvent;return n.Chart.prototype.showExportMenu=function(){var n=e(this);n&&(n=n.element).onclick&&n.onclick(o("click"))},n.Chart.prototype.hideExportMenu=function(){var n=this.exportDivElements;n&&this.exportContextMenu&&(n.forEach(function(n){"highcharts-menu-item"===n.className&&n.onmouseout&&n.onmouseout(o("mouseout"))}),this.highlightedExportItemIx=0,this.exportContextMenu.hideMenu(),this.container.focus())},n.Chart.prototype.highlightExportItem=function(n){var t=this.exportDivElements&&this.exportDivElements[n],i=this.exportDivElements&&this.exportDivElements[this.highlightedExportItemIx],r;return t&&"LI"===t.tagName&&(!t.children||!t.children.length)?(r=!!(this.renderTo.getElementsByTagName("g")[0]||{}).focus,t.focus&&r&&t.focus(),i&&i.onmouseout&&i.onmouseout(o("mouseout")),t.onmouseover&&t.onmouseover(o("mouseover")),this.highlightedExportItemIx=n,!0):!1},n.Chart.prototype.highlightLastExportItem=function(){var n;if(this.exportDivElements)for(n=this.exportDivElements.length;n--;)if(this.highlightExportItem(n))return!0;return!1},(n=function(){}).prototype=new i,t(n.prototype,{init:function(){var n=this.chart,t=this;this.addEvent(n,"exportMenuShown",function(){t.onMenuShown()});this.addEvent(n,"exportMenuHidden",function(){t.onMenuHidden()})},onMenuHidden:function(){var n=this.chart.exportContextMenu;n&&n.setAttribute("aria-hidden","true");this.isExportMenuShown=!1;this.setExportButtonExpandedState("false")},onMenuShown:function(){var n=this.chart,t=n.exportContextMenu;t&&(this.addAccessibleContextMenuAttribs(),s(n,t));this.isExportMenuShown=!0;this.setExportButtonExpandedState("true")},setExportButtonExpandedState:function(n){var t=this.exportButtonProxy;t&&t.setAttribute("aria-expanded",n)},onChartRender:function(){var n=this.chart,i=n.options.accessibility,t,r;h(this.exportProxyGroup);t=n.options.exporting;r=e(n);t&&!1!==t.enabled&&t.accessibility&&t.accessibility.enabled&&r&&r.element&&(this.exportProxyGroup=this.addProxyGroup("all"===i.landmarkVerbosity?{"aria-label":n.langFormat("accessibility.exporting.exportRegionLabel",{chart:n}),role:"region"}:{}),i=e(this.chart),this.exportButtonProxy=this.createProxyButton(i,this.exportProxyGroup,{"aria-label":n.langFormat("accessibility.exporting.menuButtonLabel",{chart:n}),"aria-expanded":"false"}))},addAccessibleContextMenuAttribs:function(){var t=this.chart,n=t.exportDivElements;n&&n.length&&(n.forEach(function(n){"LI"!==n.tagName||n.children&&n.children.length?n.setAttribute("aria-hidden","true"):n.setAttribute("tabindex",-1)}),(n=n[0].parentNode).removeAttribute("aria-hidden"),n.setAttribute("aria-label",t.langFormat("accessibility.exporting.chartMenuLabel",{chart:t})))},getKeyboardNavigation:function(){var n=this.keyCodes,t=this.chart,i=this;return new r(t,{keyCodeMap:[[[n.left,n.up],function(){return i.onKbdPrevious(this)}],[[n.right,n.down],function(){return i.onKbdNext(this)}],[[n.enter,n.space],function(){return i.onKbdClick(this)}],[[n.esc],function(){return this.response.prev}]],validate:function(){return t.exportChart&&!1!==t.options.exporting.enabled&&!1!==t.options.exporting.accessibility.enabled},init:function(){var n=i.exportButtonProxy,r=t.exportingGroup;r&&n&&t.setFocusToElement(r,n)},terminate:function(){t.hideExportMenu()}})},onKbdPrevious:function(n){var t=this.chart,r=t.options.accessibility,i;for(n=n.response,i=t.highlightedExportItemIx||0;i--;)if(t.highlightExportItem(i))return n.success;return r.keyboardNavigation.wrapAround?(t.highlightLastExportItem(),n.success):n.prev},onKbdNext:function(n){var t=this.chart,r=t.options.accessibility,i;for(n=n.response,i=(t.highlightedExportItemIx||0)+1;i<t.exportDivElements.length;++i)if(t.highlightExportItem(i))return n.success;return r.keyboardNavigation.wrapAround?(t.highlightExportItem(0),n.success):n.next},onKbdClick:function(n){var t=this.chart,i=t.exportDivElements[t.highlightedExportItemIx],r=e(t).element;return this.isExportMenuShown?this.fakeClickEvent(i):(this.fakeClickEvent(r),t.highlightExportItem(0)),n.response.success}}),n});t(n,"modules/accessibility/components/SeriesComponent/SeriesKeyboardNavigation.js",[n["parts/Globals.js"],n["parts/Point.js"],n["parts/Utilities.js"],n["modules/accessibility/KeyboardNavigationHandler.js"],n["modules/accessibility/utils/EventProvider.js"],n["modules/accessibility/utils/chartUtilities.js"]],function(n,t,i,r,u,f){function h(n){var r=n.index,t=n.series.points,i=t.length;if(t[r]===n)return r;for(;i--;)if(t[i]===n)return i}function o(n){var t=n.chart.options.accessibility.keyboardNavigation.seriesNavigation,i=n.options.accessibility||{},r=i.keyboardNavigation;return r&&!1===r.enabled||!1===i.enabled||!1===n.options.enableMouseTracking||!n.visible||t.pointNavigationEnabledThreshold&&t.pointNavigationEnabledThreshold<=n.points.length}function s(n){var t=n.series.chart.options.accessibility;return n.isNull&&t.keyboardNavigation.seriesNavigation.skipNullPoints||!1===n.visible||o(n.series)}function c(n){return delete n.highlightedPoint,n.series.reduce(function(n,t){return n||t.highlightFirstValidPoint()},!1)}function l(n,t){this.keyCodes=t;this.chart=n}var a=i.extend,e=i.defined,v=f.getPointFromXY,y=f.getSeriesFromName;return n.Series.prototype.keyboardMoveVertical=!0,["column","pie"].forEach(function(t){n.seriesTypes[t]&&(n.seriesTypes[t].prototype.keyboardMoveVertical=!1)}),t.prototype.highlight=function(){var n=this.series.chart;return this.isNull?n.tooltip&&n.tooltip.hide(0):this.onMouseOver(),this.graphic&&n.setFocusToElement(this.graphic),n.highlightedPoint=this,this},n.Chart.prototype.highlightAdjacentPoint=function(n){var t=this.series,r=this.highlightedPoint,i=r&&h(r)||0,f=r&&r.series.points,u=this.series&&this.series[this.series.length-1];if(u=u&&u.points&&u.points[u.points.length-1],!t[0]||!t[0].points)return!1;if(r){if(t=t[r.series.index+(n?1:-1)],!(i=f[i+(n?1:-1)])&&t&&(i=t.points[n?0:t.points.length-1]),!i)return!1}else i=n?t[0].points[0]:u;return s(i)?(this.highlightedPoint=o(t=i.series)?n?t.points[t.points.length-1]:t.points[0]:i,this.highlightAdjacentPoint(n)):i.highlight()},n.Series.prototype.highlightFirstValidPoint=function(){var n=this.chart.highlightedPoint,t=(n&&n.series)===this?h(n):0,r=(n=this.points).length,i;if(n&&r){for(i=t;i<r;++i)if(!s(n[i]))return n[i].highlight();for(;0<=t;--t)if(!s(n[t]))return n[t].highlight()}return!1},n.Chart.prototype.highlightAdjacentSeries=function(n){var t,r=this.highlightedPoint,i=(t=this.series&&this.series[this.series.length-1])&&t.points&&t.points[t.points.length-1];return this.highlightedPoint?!!(t=this.series[r.series.index+(n?-1:1)])&&!!(i=function(n,t){var f=1/0,r=t.points.length,o=function(n){return!(e(n.plotX)&&e(n.plotY))},i,u;if(!o(n)){for(;r--;)i=t.points[r],!o(i)&&(i=(n.plotX-i.plotX)*(n.plotX-i.plotX)*4+(n.plotY-i.plotY)*(n.plotY-i.plotY)*1)<f&&(f=i,u=r);return e(u)?t.points[u]:void 0}}(r,t))&&(o(t)?(i.highlight(),(n=this.highlightAdjacentSeries(n))||(r.highlight(),!1)):(i.highlight(),i.series.highlightFirstValidPoint())):(t=n?this.series&&this.series[0]:t,!!(i=n?t&&t.points&&t.points[0]:i)&&i.highlight())},n.Chart.prototype.highlightAdjacentPointVertical=function(n){var i,t=this.highlightedPoint,r=1/0;return!(!e(t.plotX)||!e(t.plotY))&&(this.series.forEach(function(u){o(u)||u.points.forEach(function(f){if(e(f.plotY)&&e(f.plotX)&&f!==t){var h=f.plotY-t.plotY,o=Math.abs(f.plotX-t.plotX);o=Math.abs(h)*Math.abs(h)+o*o*4;u.yAxis&&u.yAxis.reversed&&(h*=-1);!(0>=h&&n||0<=h&&!n||5>o||s(f))&&o<r&&(r=o,i=f)}})}),!!i&&i.highlight())},a(l.prototype,{init:function(){var i=this,r=this.chart,t=this.eventProvider=new u;t.addEvent(n.Series,"destroy",function(){return i.onSeriesDestroy(this)});t.addEvent(r,"afterDrilldown",function(){c(this);this.focusElement&&this.focusElement.removeFocusBorder()});t.addEvent(r,"drilldown",function(n){var t=(n=n.point).series;i.lastDrilledDownPoint={x:n.x,y:n.y,seriesName:t?t.name:""}});t.addEvent(r,"drillupall",function(){setTimeout(function(){i.onDrillupAll()},10)})},onDrillupAll:function(){var i,n=this.lastDrilledDownPoint,t=this.chart,r=n&&y(t,n.seriesName);n&&r&&e(n.x)&&e(n.y)&&(i=v(r,n.x,n.y));t.container&&t.container.focus();i&&i.highlight&&i.highlight();t.focusElement&&t.focusElement.removeFocusBorder()},getKeyboardNavigationHandler:function(){var t=this,n=this.keyCodes,i=this.chart,u=i.inverted;return new r(i,{keyCodeMap:[[u?[n.up,n.down]:[n.left,n.right],function(n){return t.onKbdSideways(this,n)}],[u?[n.left,n.right]:[n.up,n.down],function(n){return t.onKbdVertical(this,n)}],[[n.enter,n.space],function(){return i.highlightedPoint&&i.highlightedPoint.firePointEvent("click"),this.response.success}]],init:function(n){return t.onHandlerInit(this,n)},terminate:function(){return t.onHandlerTerminate()}})},onKbdSideways:function(n,t){var i=this.keyCodes;return this.attemptHighlightAdjacentPoint(n,t===i.right||t===i.down)},onKbdVertical:function(n,t){var i=this.chart,r=this.keyCodes;return t=t===r.down||t===r.right,(r=i.options.accessibility.keyboardNavigation.seriesNavigation).mode&&"serialize"===r.mode?this.attemptHighlightAdjacentPoint(n,t):(i[i.highlightedPoint&&i.highlightedPoint.series.keyboardMoveVertical?"highlightAdjacentPointVertical":"highlightAdjacentSeries"](t),n.response.success)},onHandlerInit:function(n,t){var i=this.chart;if(0<t)c(i);else for(t=i.series.length;t--&&(i.highlightedPoint=i.series[t].points[i.series[t].points.length-1],!i.series[t].highlightFirstValidPoint()););return n.response.success},onHandlerTerminate:function(){var n=this.chart,t=n.highlightedPoint;n.tooltip&&n.tooltip.hide(0);t&&(t.onMouseOut(),delete n.highlightedPoint)},attemptHighlightAdjacentPoint:function(n,t){var i=this.chart,r=i.options.accessibility.keyboardNavigation.wrapAround;return i.highlightAdjacentPoint(t)?n.response.success:r?n.init(t?1:-1):n.response[t?"next":"prev"]},onSeriesDestroy:function(n){var t=this.chart;t.highlightedPoint&&t.highlightedPoint.series===n&&(delete t.highlightedPoint,t.focusElement&&t.focusElement.removeFocusBorder())},destroy:function(){this.eventProvider.removeAddedEvents()}}),l});t(n,"modules/accessibility/components/AnnotationsA11y.js",[n["parts/Utilities.js"],n["modules/accessibility/utils/htmlUtilities.js"]],function(n,t){function i(n){return(n.annotations||[]).reduce(function(n,t){var i;return!1!==(null===(i=t.options)||void 0===i?void 0:i.visible)&&(n=n.concat(t.labels)),n},[])}function r(n){var t,i,r,u;return(null===(i=null===(t=n.options)||void 0===t?void 0:t.accessibility)||void 0===i?void 0:i.description)||(null===(u=null===(r=n.graphic)||void 0===r?void 0:r.text)||void 0===u?void 0:u.textStr)||""}function u(n){var i,t,u=null===(t=null===(i=n.options)||void 0===i?void 0:i.accessibility)||void 0===t?void 0:t.description,f;return u?u:(i=n.chart,t=r(n),f=(u=n.points.filter(function(n){return!!n.graphic}).map(function(n){var t,i,r,u;return(i=null===(t=null==n?void 0:n.accessibility)||void 0===t?void 0:t.valueDescription)||(i=(null===(u=null===(r=null==n?void 0:n.graphic)||void 0===r?void 0:r.element)||void 0===u?void 0:u.getAttribute("aria-label"))||""),((n=(null==n?void 0:n.series.name)||"")?n+", ":"")+"data point "+i}).filter(function(n){return!!n})).length,n="accessibility.screenReaderSection.annotations.description"+(1<f?"MultiplePoints":f?"SinglePoint":"NoPoints"),t={annotationText:t,numPoints:f,annotationPoint:u[0],additionalAnnotationPoints:u.slice(1)},i.langFormat(n,t))}function f(n){return i(n).map(function(n){return(n=o(s(u(n))))?"<li>"+n+"<\/li>":""})}var e=n.inArray,o=t.escapeStringForHTML,s=t.stripHTMLTagsFromString;return{getAnnotationsInfoHTML:function(n){var t=n.annotations;return t&&t.length?"<ul>"+f(n).join(" ")+"<\/ul>":""},getAnnotationLabelDescription:u,getAnnotationListItems:f,getPointAnnotationTexts:function(n){var t=i(n.series.chart).filter(function(t){return-1<e(n,t.points)});return t.length?t.map(function(n){return""+r(n)}):[]}}});t(n,"modules/accessibility/components/SeriesComponent/SeriesDescriber.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/components/AnnotationsA11y.js"],n["modules/accessibility/utils/htmlUtilities.js"],n["modules/accessibility/utils/chartUtilities.js"],n["parts/Tooltip.js"]],function(n,t,i,r,u,f){function s(n){var t=n.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(!1!==t&&n.points&&n.points.length>=t)}function h(n,t){var i=n.series.chart,r=i.options.accessibility.point||{};return n=n.series.tooltipOptions||{},i=i.options.lang,tt(t)?d(t,r.valueDecimals||n.valueDecimals||-1,i.decimalPoint,i.accessibility.thousandsSep||i.thousandsSep):t}function c(n,t){return n.chart.langFormat("accessibility.series."+t+"Description",{name:ut(n[t]),series:n})}function l(n){var t=n.series,r=t.chart,i=r.options.accessibility.point||{};if(t.xAxis&&t.xAxis.isDatetimeAxis)return t=f.prototype.getXDateFormat.call({getDateFormat:f.prototype.getDateFormat,chart:r},n,r.options.tooltip,t.xAxis),i=i.dateFormatter&&i.dateFormatter(n)||i.dateFormat||t,r.time.dateFormat(i,n.x,void 0)}function a(n){var t=l(n),i=(n.series.xAxis||{}).categories&&o(n.category)&&(""+n.category).replace("<br/>"," "),r=n.id&&0>n.id.indexOf("highcharts-"),u="x, "+n.x;return n.name||t||i||(r?n.id:u)}function v(n){var i=n.series,t=i.chart.options.accessibility.point||{},r=i.tooltipOptions||{},u=t.valuePrefix||r.valuePrefix||"";return t=t.valueSuffix||r.valueSuffix||"",r=h(n,n[void 0!==n.value?"value":"y"]),n.isNull?i.chart.langFormat("accessibility.series.nullPointValue",{point:n}):i.pointArrayMap?function(n,t,i){var r=t||"",u=i||"";return n.series.pointArrayMap.reduce(function(t,i){t+=t.length?", ":"";var f=h(n,e(n[i],n.options[i]));return t+(i+": ")+r+f+u},"")}(n,u,t):u+r+t}function y(n){var t=n.series,i=t.chart,r=i.options.accessibility.point.valueDescriptionFormat,u=(t=e(t.xAxis&&t.xAxis.options.accessibility&&t.xAxis.options.accessibility.enabled,!i.angular))?a(n):"";return n={point:n,index:o(n.index)?n.index+1:"",xDescription:u,value:v(n),separator:t?", ":""},g(r,n,i)}function p(n){var i=n.series,t=i.chart,f=y(n),r=n.options&&n.options.accessibility&&n.options.accessibility.description,u,e;return r=r?" "+r:"",i=1<t.series.length&&i.name?" "+i.name+".":"",t=n.series.chart,u=it(n),e={point:n,annotations:u},t=u.length?t.langFormat("accessibility.series.pointAnnotationsDescription",e):"",n.accessibility=n.accessibility||{},n.accessibility.valueDescription=f,f+r+i+(t?" "+t:"")}function w(n){var t=n.chart,i=t.types||[],r=function(n){var t=(n.options.accessibility||{}).description;return t&&n.chart.langFormat("accessibility.series.description",{description:t,series:n})||""}(n),u=function(i){return t[i]&&1<t[i].length&&n[i]},e=c(n,"xAxis"),o=c(n,"yAxis"),f={name:n.name||"",ix:n.index+1,numSeries:t.series&&t.series.length,numPoints:n.points&&n.points.length,series:n};return i=1<i.length?"Combination":"",(t.langFormat("accessibility.series.summary."+n.type+i,f)||t.langFormat("accessibility.series.summary.default"+i,f))+(r?" "+r:"")+(u("yAxis")?" "+o:"")+(u("xAxis")?" "+e:"")}var d=n.numberFormat,g=n.format,nt=t.find,tt=t.isNumber,e=t.pick,o=t.defined,it=i.getPointAnnotationTexts,b=r.escapeStringForHTML,rt=r.reverseChildNodes,k=r.stripHTMLTagsFromString,ut=u.getAxisDescription,ft=u.getSeriesFirstPointElement,et=u.getSeriesA11yElement,ot=u.unhideChartElementFromAT;return{describeSeries:function(n){var t=n.chart,r=ft(n),i=et(n),u=t.is3d&&t.is3d(),f;i&&(i.lastChild!==r||u||rt(i),function(n){var t=function(n){var t=n.options.accessibility||{};return!s(n)&&!t.exposeAsGroupOnly}(n),i=function(n){var t=n.chart.options.accessibility.keyboardNavigation.seriesNavigation;return!(!n.points||!(n.points.length<t.pointNavigationEnabledThreshold||!1===t.pointNavigationEnabledThreshold))}(n);(t||i)&&n.points.forEach(function(n){var r,u,i;(r=n.graphic&&n.graphic.element)||!(r=n.series&&n.series.is("sunburst"),r=n.isNull&&!r)||(u=n.series,i=function(n){var t=n.index;return n.series&&n.series.data&&o(t)&&nt(n.series.data,function(n){return!!(n&&void 0!==n.index&&n.index>t&&n.graphic&&n.graphic.element)})||null}(n),u=(r=i&&i.graphic)?r.parentGroup:u.graph||u.group,i=i?{x:e(n.plotX,i.plotX,0),y:e(n.plotY,i.plotY,0)}:{x:e(n.plotX,0),y:e(n.plotY,0)},(i=n.series.chart.renderer.rect(i.x,i.y,1,1)).attr({"class":"highcharts-a11y-dummy-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),u&&u.element?(n.graphic=i,n.hasDummyGraphic=!0,i.add(u),u.element.insertBefore(i.element,r?r.element:null),r=i.element):r=void 0);r&&(r.setAttribute("tabindex","-1"),t?(u=(i=n.series).chart.options.accessibility.point||{},i=i.options.accessibility||{},n=b(k(i.pointDescriptionFormatter&&i.pointDescriptionFormatter(n)||u.descriptionFormatter&&u.descriptionFormatter(n)||p(n))),r.setAttribute("role","img"),r.setAttribute("aria-label",n)):r.setAttribute("aria-hidden",!0))})}(n),ot(t,i),t=(u=n.chart).options.chart||{},r=1<u.series.length,u=u.options.accessibility.series.describeSingleSeries,f=(n.options.accessibility||{}).exposeAsGroupOnly,t.options3d&&t.options3d.enabled&&r||!(r||u||f||s(n))?i.setAttribute("aria-label",""):(r=(t=n.chart.options.accessibility).landmarkVerbosity,(n.options.accessibility||{}).exposeAsGroupOnly?i.setAttribute("role","img"):"all"===r&&i.setAttribute("role","region"),i.setAttribute("tabindex","-1"),i.setAttribute("aria-label",b(k(t.series.descriptionFormatter&&t.series.descriptionFormatter(n)||w(n))))))},defaultPointDescriptionFormatter:p,defaultSeriesDescriptionFormatter:w,getPointA11yTimeDescription:l,getPointXDescription:a,getPointValue:v,getPointValueDescription:y}});t(n,"modules/accessibility/utils/Announcer.js",[n["parts/Globals.js"],n["modules/accessibility/utils/DOMElementProvider.js"],n["modules/accessibility/utils/htmlUtilities.js"]],function(n,t,i){var r=i.visuallyHideElement;return i=function(){function n(n,i){this.chart=n;this.domElementProvider=new t;this.announceRegion=this.addAnnounceRegion(i)}return n.prototype.destroy=function(){this.domElementProvider.destroyCreatedElements()},n.prototype.announce=function(n){var t=this;this.announceRegion.innerHTML=n;this.clearAnnouncementRegionTimer&&clearTimeout(this.clearAnnouncementRegionTimer);this.clearAnnouncementRegionTimer=setTimeout(function(){t.announceRegion.innerHTML="";delete t.clearAnnouncementRegionTimer},1e3)},n.prototype.addAnnounceRegion=function(n){var i=this.chart.renderTo,t=this.domElementProvider.createElement("div");return t.setAttribute("aria-hidden",!1),t.setAttribute("aria-live",n),r(t),i.insertBefore(t,i.firstChild),t},n}(),n.Announcer=i});t(n,"modules/accessibility/components/SeriesComponent/NewDataAnnouncer.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/utils/chartUtilities.js"],n["modules/accessibility/components/SeriesComponent/SeriesDescriber.js"],n["modules/accessibility/utils/Announcer.js"],n["modules/accessibility/utils/EventProvider.js"]],function(n,t,i,r,u,f){var o=t.extend,e=t.defined,s=i.getChartTitle,h=r.defaultPointDescriptionFormatter,c=r.defaultSeriesDescriptionFormatter;return o((t=function(n){this.chart=n}).prototype,{init:function(){var n=this.chart,t=n.options.accessibility.announceNewData.interruptUser?"assertive":"polite";this.lastAnnouncementTime=0;this.dirty={allSeries:{}};this.eventProvider=new f;this.announcer=new u(n,t);this.addEventListeners()},destroy:function(){this.eventProvider.removeAddedEvents();this.announcer.destroy()},addEventListeners:function(){var t=this,r=this.chart,i=this.eventProvider;i.addEvent(r,"afterDrilldown",function(){t.lastAnnouncementTime=0});i.addEvent(n.Series,"updatedData",function(){t.onSeriesUpdatedData(this)});i.addEvent(r,"afterAddSeries",function(n){t.onSeriesAdded(n.series)});i.addEvent(n.Series,"addPoint",function(n){t.onPointAdded(n.point)});i.addEvent(r,"redraw",function(){t.announceDirtyData()})},onSeriesUpdatedData:function(n){var t=this.chart;n.chart===t&&t.options.accessibility.announceNewData.enabled&&(this.dirty.hasDirty=!0,this.dirty.allSeries[n.name+n.index]=n)},onSeriesAdded:function(n){this.chart.options.accessibility.announceNewData.enabled&&(this.dirty.hasDirty=!0,this.dirty.allSeries[n.name+n.index]=n,this.dirty.newSeries=e(this.dirty.newSeries)?void 0:n)},onPointAdded:function(n){var t=n.series.chart;this.chart===t&&t.options.accessibility.announceNewData.enabled&&(this.dirty.newPoint=e(this.dirty.newPoint)?void 0:n)},announceDirtyData:function(){var t=this,n;this.chart.options.accessibility.announceNewData&&this.dirty.hasDirty&&(n=this.dirty.newPoint,n&&(n=function(n){var t=n.series.data.filter(function(t){return n.x===t.x&&n.y===t.y});return 1===t.length?t[0]:n}(n)),this.queueAnnouncement(Object.keys(this.dirty.allSeries).map(function(n){return t.dirty.allSeries[n]}),this.dirty.newSeries,n),this.dirty={allSeries:{}})},queueAnnouncement:function(n,t,i){var r=this,u=this.chart.options.accessibility.announceNewData,f;u.enabled&&(f=+new Date,u=Math.max(0,u.minAnnounceInterval-(f-this.lastAnnouncementTime)),n=function(n,t){var i=(n||[]).concat(t||[]).reduce(function(n,t){return n[t.name+t.index]=t,n},{});return Object.keys(i).map(function(n){return i[n]})}(this.queuedAnnouncement&&this.queuedAnnouncement.series,n),(t=this.buildAnnouncementMessage(n,t,i))&&(this.queuedAnnouncement&&clearTimeout(this.queuedAnnouncementTimer),this.queuedAnnouncement={time:f,message:t,series:n},this.queuedAnnouncementTimer=setTimeout(function(){r&&r.announcer&&(r.lastAnnouncementTime=+new Date,r.announcer.announce(r.queuedAnnouncement.message),delete r.queuedAnnouncement,delete r.queuedAnnouncementTimer)},u)))},buildAnnouncementMessage:function(t,i,r){var f=this.chart,u=f.options.accessibility.announceNewData;return u.announcementFormatter&&!1!==(t=u.announcementFormatter(t,i,r))?t.length?t:null:(t=n.charts&&1<n.charts.length?"Multiple":"Single",t=i?"newSeriesAnnounce"+t:r?"newPointAnnounce"+t:"newDataAnnounce",u=s(f),f.langFormat("accessibility.announceNewData."+t,{chartTitle:u,seriesDesc:i?c(i):null,pointDesc:r?h(r):null,point:r,series:i}))}}),t});t(n,"modules/accessibility/components/SeriesComponent/forcedMarkers.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){function r(n){i(!0,n,{marker:{enabled:!0,states:{normal:{opacity:0}}}})}var u=t.addEvent,i=t.merge;return function(){u(n.Series,"render",function(){var n=this.options,f=this.chart.options.accessibility.enabled,t=!1!==(this.options.accessibility&&this.options.accessibility.enabled),e=this.chart.options.accessibility,u;if(e=this.points.length<e.series.pointDescriptionEnabledThreshold||!1===e.series.pointDescriptionEnabledThreshold,u=this.chart.options.accessibility.keyboardNavigation.seriesNavigation,u=this.points.length<u.pointNavigationEnabledThreshold||!1===u.pointNavigationEnabledThreshold,f&&t&&(e||u)){if(n.marker&&!1===n.marker.enabled&&(this.a11yMarkersForced=!0,r(this.options)),this._hasPointMarkers&&this.points&&this.points.length)for(f=(n=this.points).length;f--;)(t=n[f].options).marker&&(t.marker.enabled?i(!0,t.marker,{states:{normal:{opacity:t.marker.states&&t.marker.states.normal&&t.marker.states.normal.opacity||1}}}):r(t))}else this.a11yMarkersForced&&this.resetMarkerOptions&&(delete this.a11yMarkersForced,n=this.resetA11yMarkerOptions,i(!0,this.options,{marker:{enabled:n.enabled,states:{normal:{opacity:n.states&&n.states.normal&&n.states.normal.opacity}}}}))});u(n.Series,"afterSetOptions",function(n){this.resetA11yMarkerOptions=i(n.options.marker||{},this.userOptions.marker||{})})}});t(n,"modules/accessibility/components/SeriesComponent/SeriesComponent.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/AccessibilityComponent.js"],n["modules/accessibility/components/SeriesComponent/SeriesKeyboardNavigation.js"],n["modules/accessibility/components/SeriesComponent/NewDataAnnouncer.js"],n["modules/accessibility/components/SeriesComponent/forcedMarkers.js"],n["modules/accessibility/utils/chartUtilities.js"],n["modules/accessibility/components/SeriesComponent/SeriesDescriber.js"],n["parts/Tooltip.js"]],function(n,t,i,r,u,f,e,o,s){t=t.extend;var h=e.hideSeriesFromAT,c=o.describeSeries;return n.SeriesAccessibilityDescriber=o,f(),(n=function(){}).prototype=new i,t(n.prototype,{init:function(){this.newDataAnnouncer=new u(this.chart);this.newDataAnnouncer.init();this.keyboardNavigation=new r(this.chart,this.keyCodes);this.keyboardNavigation.init();this.hideTooltipFromATWhenShown();this.hideSeriesLabelsFromATWhenShown()},hideTooltipFromATWhenShown:function(){var n=this;this.addEvent(s,"refresh",function(){this.chart===n.chart&&this.label&&this.label.element&&this.label.element.setAttribute("aria-hidden",!0)})},hideSeriesLabelsFromATWhenShown:function(){this.addEvent(this.chart,"afterDrawSeriesLabels",function(){this.series.forEach(function(n){n.labelBySeries&&n.labelBySeries.attr("aria-hidden",!0)})})},onChartRender:function(){this.chart.series.forEach(function(n){!1!==(n.options.accessibility&&n.options.accessibility.enabled)&&n.visible?c(n):h(n)})},getKeyboardNavigation:function(){return this.keyboardNavigation.getKeyboardNavigationHandler()},destroy:function(){this.newDataAnnouncer.destroy();this.keyboardNavigation.destroy()}}),n});t(n,"modules/accessibility/components/ZoomComponent.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/AccessibilityComponent.js"],n["modules/accessibility/KeyboardNavigationHandler.js"],n["modules/accessibility/utils/chartUtilities.js"],n["modules/accessibility/utils/htmlUtilities.js"]],function(n,t,i,r,u,f){var o=t.extend,s=t.pick,h=u.unhideChartElementFromAT,c=f.setElAttrs,e=f.removeElement;return n.Axis.prototype.panStep=function(n,t){var r=t||3,i=((t=this.getExtremes()).max-t.min)/r*n,u=(r=t.max+i)-(i=t.min+i);0>n&&i<t.dataMin?r=(i=t.dataMin)+u:0<n&&r>t.dataMax&&(i=(r=t.dataMax)-u);this.setExtremes(i,r)},(n=function(){}).prototype=new i,o(n.prototype,{init:function(){var n=this,t=this.chart;["afterShowResetZoom","afterDrilldown","drillupall"].forEach(function(i){n.addEvent(t,i,function(){n.updateProxyOverlays()})})},onChartUpdate:function(){var n=this.chart,t=this;n.mapNavButtons&&n.mapNavButtons.forEach(function(i,r){h(n,i.element);t.setMapNavButtonAttrs(i.element,"accessibility.zoom.mapZoom"+(r?"Out":"In"))})},setMapNavButtonAttrs:function(n,t){var i=this.chart;t=i.langFormat(t,{chart:i});c(n,{tabindex:-1,role:"button","aria-label":t})},onChartRender:function(){this.updateProxyOverlays()},updateProxyOverlays:function(){var n=this.chart;e(this.drillUpProxyGroup);e(this.resetZoomProxyGroup);n.resetZoomButton&&this.recreateProxyButtonAndGroup(n.resetZoomButton,"resetZoomProxyButton","resetZoomProxyGroup",n.langFormat("accessibility.zoom.resetZoomButton",{chart:n}));n.drillUpButton&&this.recreateProxyButtonAndGroup(n.drillUpButton,"drillUpProxyButton","drillUpProxyGroup",n.langFormat("accessibility.drillUpButton",{chart:n,buttonText:n.getDrilldownBackText()}))},recreateProxyButtonAndGroup:function(n,t,i,r){e(this[i]);this[i]=this.addProxyGroup();this[t]=this.createProxyButton(n,this[i],{"aria-label":r,tabindex:-1})},getMapZoomNavigation:function(){var n=this.keyCodes,t=this.chart,i=this;return new r(t,{keyCodeMap:[[[n.up,n.down,n.left,n.right],function(n){return i.onMapKbdArrow(this,n)}],[[n.tab],function(n,t){return i.onMapKbdTab(this,t)}],[[n.space,n.enter],function(){return i.onMapKbdClick(this)}]],validate:function(){return!!(t.mapZoom&&t.mapNavButtons&&t.mapNavButtons.length)},init:function(n){return i.onMapNavInit(n)}})},onMapKbdArrow:function(n,t){var i=this.keyCodes;return this.chart[t===i.up||t===i.down?"yAxis":"xAxis"][0].panStep(t===i.left||t===i.up?-1:1),n.response.success},onMapKbdTab:function(n,t){var i=this.chart,r;return n=n.response,r=(t=t.shiftKey)&&!this.focusedMapNavButtonIx||!t&&this.focusedMapNavButtonIx,i.mapNavButtons[this.focusedMapNavButtonIx].setState(0),r?(i.mapZoom(),n[t?"prev":"next"]):(this.focusedMapNavButtonIx+=t?-1:1,t=i.mapNavButtons[this.focusedMapNavButtonIx],i.setFocusToElement(t.box,t.element),t.setState(2),n.success)},onMapKbdClick:function(n){return this.fakeClickEvent(this.chart.mapNavButtons[this.focusedMapNavButtonIx].element),n.response.success},onMapNavInit:function(n){var i=this.chart,t=i.mapNavButtons[0],r=i.mapNavButtons[1];t=0<n?t:r;i.setFocusToElement(t.box,t.element);t.setState(2);this.focusedMapNavButtonIx=0<n?0:1},simpleButtonNavigation:function(n,t,i){var u=this.keyCodes,e=this,f=this.chart;return new r(f,{keyCodeMap:[[[u.tab,u.up,u.down,u.left,u.right],function(n,t){return this.response[n===u.tab&&t.shiftKey||n===u.left||n===u.up?"prev":"next"]}],[[u.space,u.enter],function(){var n=i(this,f);return s(n,this.response.success)}]],validate:function(){return f[n]&&f[n].box&&e[t]},init:function(){f.setFocusToElement(f[n].box,e[t])}})},getKeyboardNavigation:function(){return[this.simpleButtonNavigation("resetZoomButton","resetZoomProxyButton",function(n,t){t.zoomOut()}),this.simpleButtonNavigation("drillUpButton","drillUpProxyButton",function(n,t){return t.drillUp(),n.response.prev}),this.getMapZoomNavigation()]}}),n});t(n,"modules/accessibility/components/RangeSelectorComponent.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/AccessibilityComponent.js"],n["modules/accessibility/KeyboardNavigationHandler.js"],n["modules/accessibility/utils/chartUtilities.js"],n["modules/accessibility/utils/htmlUtilities.js"]],function(n,t,i,r,u,f){t=t.extend;var e=u.unhideChartElementFromAT,o=f.setElAttrs;return n.Chart.prototype.highlightRangeSelectorButton=function(n){var t=this.rangeSelector.buttons,i=this.highlightedRangeSelectorItemIx;return void 0!==i&&t[i]&&t[i].setState(this.oldRangeSelectorItemState||0),this.highlightedRangeSelectorItemIx=n,!!t[n]&&(this.setFocusToElement(t[n].box,t[n].element),this.oldRangeSelectorItemState=t[n].state,t[n].setState(2),!0)},(n=function(){}).prototype=new i,t(n.prototype,{onChartUpdate:function(){var t=this.chart,i=this,n=t.rangeSelector;n&&(n.buttons&&n.buttons.length&&n.buttons.forEach(function(n){e(t,n.element);i.setRangeButtonAttrs(n)}),n.maxInput&&n.minInput&&["minInput","maxInput"].forEach(function(r,u){(r=n[r])&&(e(t,r),i.setRangeInputAttrs(r,"accessibility.rangeSelector."+(u?"max":"min")+"InputLabel"))}))},setRangeButtonAttrs:function(n){var t=this.chart;t=t.langFormat("accessibility.rangeSelector.buttonText",{chart:t,buttonText:n.text&&n.text.textStr});o(n.element,{tabindex:-1,role:"button","aria-label":t})},setRangeInputAttrs:function(n,t){var i=this.chart;o(n,{tabindex:-1,role:"textbox","aria-label":i.langFormat(t,{chart:i})})},getRangeSelectorButtonNavigation:function(){var n=this.chart,t=this.keyCodes,i=this;return new r(n,{keyCodeMap:[[[t.left,t.right,t.up,t.down],function(n){return i.onButtonNavKbdArrowKey(this,n)}],[[t.enter,t.space],function(){return i.onButtonNavKbdClick(this)}]],validate:function(){return n.rangeSelector&&n.rangeSelector.buttons&&n.rangeSelector.buttons.length},init:function(t){var i=n.rangeSelector.buttons.length-1;n.highlightRangeSelectorButton(0<t?0:i)}})},onButtonNavKbdArrowKey:function(n,t){var i=n.response,u=this.keyCodes,r=this.chart,f=r.options.accessibility.keyboardNavigation.wrapAround;return t=t===u.left||t===u.up?-1:1,r.highlightRangeSelectorButton(r.highlightedRangeSelectorItemIx+t)?i.success:f?(n.init(t),i.success):i[0<t?"next":"prev"]},onButtonNavKbdClick:function(n){n=n.response;var t=this.chart;return 3!==t.oldRangeSelectorItemState&&this.fakeClickEvent(t.rangeSelector.buttons[t.highlightedRangeSelectorItemIx].element),n.success},getRangeSelectorInputNavigation:function(){var n=this.chart,t=this.keyCodes,i=this;return new r(n,{keyCodeMap:[[[t.tab,t.up,t.down],function(n,r){return i.onInputKbdMove(this,n===t.tab&&r.shiftKey||n===t.up?-1:1)}]],validate:function(){return n.rangeSelector&&n.rangeSelector.inputGroup&&"hidden"!==n.rangeSelector.inputGroup.element.getAttribute("visibility")&&!1!==n.options.rangeSelector.inputEnabled&&n.rangeSelector.minInput&&n.rangeSelector.maxInput},init:function(n){i.onInputNavInit(n)},terminate:function(){i.onInputNavTerminate()}})},onInputKbdMove:function(n,t){var r=this.chart,i;return n=n.response,i=r.highlightedInputRangeIx+=t,1<i||0>i?n[0<t?"next":"prev"]:(r.rangeSelector[i?"maxInput":"minInput"].focus(),n.success)},onInputNavInit:function(n){var t=this.chart;n=0<n?0:1;t.highlightedInputRangeIx=n;t.rangeSelector[n?"maxInput":"minInput"].focus()},onInputNavTerminate:function(){var n=this.chart.rangeSelector||{};n.maxInput&&n.hideInput("max");n.minInput&&n.hideInput("min")},getKeyboardNavigation:function(){return[this.getRangeSelectorButtonNavigation(),this.getRangeSelectorInputNavigation()]}}),n});t(n,"modules/accessibility/components/InfoRegionsComponent.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/AccessibilityComponent.js"],n["modules/accessibility/utils/Announcer.js"],n["modules/accessibility/components/AnnotationsA11y.js"],n["modules/accessibility/utils/chartUtilities.js"],n["modules/accessibility/utils/htmlUtilities.js"]],function(n,t,i,r,u,f,e){function c(n){return n.replace(/&lt;(h[1-7]|p|div|ul|ol|li)&gt;/g,"<$1>").replace(/&lt;&#x2F;(h[1-7]|p|div|ul|ol|li|a|button)&gt;/g,"<\/$1>").replace(/&lt;(div|a|button) id=&quot;([a-zA-Z\-0-9#]*?)&quot;&gt;/g,'<$1 id="$2">')}var v=n.win.document,y=t.extend,p=t.format,w=t.pick,b=u.getAnnotationsInfoHTML,k=f.unhideChartElementFromAT,o=f.getChartTitle,d=f.getAxisDescription,g=e.addClass,s=e.setElAttrs,l=e.escapeStringForHTML,a=e.stripHTMLTagsFromString,h=e.getElement,nt=e.visuallyHideElement;return n.Chart.prototype.getTypeDescription=function(n){var i=n[0],t=this.series&&this.series[0]||{},r;return(t={numSeries:this.series.length,numPoints:t.points&&t.points.length,chart:this,mapTitle:t.mapTitle},!i)?this.langFormat("accessibility.chartTypes.emptyChart",t):"map"===i?t.mapTitle?this.langFormat("accessibility.chartTypes.mapTypeDescription",t):this.langFormat("accessibility.chartTypes.unknownMap",t):1<this.types.length?this.langFormat("accessibility.chartTypes.combinationChart",t):(n=n[0],i=this.langFormat("accessibility.seriesTypeDescriptions."+n,t),r=this.series&&2>this.series.length?"Single":"Multiple",(this.langFormat("accessibility.chartTypes."+n+r,t)||this.langFormat("accessibility.chartTypes.default"+r,t))+(i?" "+i:""))},(t=function(){}).prototype=new i,y(t.prototype,{init:function(){var n=this.chart,t=this;this.initRegionsDefinitions();this.addEvent(n,"afterGetTable",function(n){t.onDataTableCreated(n)});this.addEvent(n,"afterViewData",function(n){t.dataTableDiv=n;setTimeout(function(){t.focusDataTable()},300)});this.announcer=new r(n,"assertive")},initRegionsDefinitions:function(){var n=this;this.screenReaderSections={before:{element:null,buildContent:function(t){var i=t.options.accessibility.screenReaderSection.beforeChartFormatter;return i?i(t):n.defaultBeforeChartFormatter(t)},insertIntoDOM:function(n,t){t.renderTo.insertBefore(n,t.renderTo.firstChild)},afterInserted:function(){void 0!==n.sonifyButtonId&&n.initSonifyButton(n.sonifyButtonId);void 0!==n.dataTableButtonId&&n.initDataTableButton(n.dataTableButtonId)}},after:{element:null,buildContent:function(t){var i=t.options.accessibility.screenReaderSection.afterChartFormatter;return i?i(t):n.defaultAfterChartFormatter()},insertIntoDOM:function(n,t){t.renderTo.insertBefore(n,t.container.nextSibling)}}}},onChartRender:function(){var n=this;this.linkedDescriptionElement=this.getLinkedDescriptionElement();this.setLinkedDescriptionAttrs();Object.keys(this.screenReaderSections).forEach(function(t){n.updateScreenReaderSection(t)})},getLinkedDescriptionElement:function(){var n=this.chart.options.accessibility.linkedDescription;if(n){if("string"!=typeof n)return n;if(n=p(n,this.chart),1===(n=v.querySelectorAll(n)).length)return n[0]}},setLinkedDescriptionAttrs:function(){var n=this.linkedDescriptionElement;n&&(n.setAttribute("aria-hidden","true"),g(n,"highcharts-linked-description"))},updateScreenReaderSection:function(n){var u=this.chart,t=this.screenReaderSections[n],f=t.buildContent(u),i=t.element=t.element||this.createElement("div"),r=i.firstChild||this.createElement("div");this.setScreenReaderSectionAttribs(i,n);r.innerHTML=f;i.appendChild(r);t.insertIntoDOM(i,u);nt(r);k(u,r);t.afterInserted&&t.afterInserted()},setScreenReaderSectionAttribs:function(n,t){var i=this.chart,r=i.langFormat("accessibility.screenReaderSection."+t+"RegionLabel",{chart:i});s(n,{id:"highcharts-screen-reader-region-"+t+"-"+i.index,"aria-label":r});n.style.position="relative";"all"===i.options.accessibility.landmarkVerbosity&&r&&n.setAttribute("role","region")},defaultBeforeChartFormatter:function(){var t=this.chart,e=t.options.accessibility.screenReaderSection.beforeChartFormat,i=this.getAxesDescription(),r="highcharts-a11y-sonify-data-btn-"+t.index,u="hc-linkto-highcharts-data-table-"+t.index,f=b(t),s=t.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:t});return i={chartTitle:o(t),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:i.xAxis,yAxisDescription:i.yAxis,playAsSoundButton:t.sonify?this.getSonifyButtonText(r):"",viewTableButton:t.getCSV?this.getDataTableButtonText(u):"",annotationsTitle:f?s:"",annotationsList:f},t=n.i18nFormat(e,i,t),this.dataTableButtonId=u,this.sonifyButtonId=r,c(l(t)).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},defaultAfterChartFormatter:function(){var t=this.chart,i=t.options.accessibility.screenReaderSection.afterChartFormat,r={endOfChartMarker:this.getEndOfChartMarkerText()};return t=n.i18nFormat(i,r,t),c(l(t)).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},getLinkedDescription:function(){var n=this.linkedDescriptionElement;return a(n&&n.innerHTML||"")},getLongdescText:function(){var t=this.chart.options,n=t.caption,i;return n=n&&n.text,i=this.getLinkedDescription(),t.accessibility.description||i||n||""},getTypeDescriptionText:function(){var n=this.chart;return n.types?n.options.accessibility.typeDescription||n.getTypeDescription(n.types):""},getDataTableButtonText:function(n){var t=this.chart;return'<a id="'+n+'">'+(t=t.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:t,chartTitle:o(t)}))+"<\/a>"},getSonifyButtonText:function(n){var t,i=this.chart;return!1===(null===(t=i.options.sonification)||void 0===t?void 0:t.enabled)?"":'<button id="'+n+'">'+(t=i.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:i,chartTitle:o(i)}))+"<\/button>"},getSubtitleText:function(){var n=this.chart.options.subtitle;return a(n&&n.text||"")},getEndOfChartMarkerText:function(){var n=this.chart,t=n.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:n});return'<div id="highcharts-end-of-chart-marker-'+n.index+'">'+t+"<\/div>"},onDataTableCreated:function(n){var t=this.chart;t.options.accessibility.enabled&&(this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true"),n.html=n.html.replace("<table ",'<table tabindex="0" summary="'+t.langFormat("accessibility.table.tableSummary",{chart:t})+'"'))},focusDataTable:function(){var n=this.dataTableDiv;(n=n&&n.getElementsByTagName("table")[0])&&n.focus&&n.focus()},initSonifyButton:function(n){var r=this,t=this.sonifyButton=h(n),i=this.chart,u=function(n){null==t||t.setAttribute("aria-hidden","true");null==t||t.setAttribute("aria-label","");n.preventDefault();n.stopPropagation();n=i.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:i});r.announcer.announce(n);setTimeout(function(){null==t||t.removeAttribute("aria-hidden");null==t||t.removeAttribute("aria-label");i.sonify&&i.sonify()},1e3)};t&&i&&(s(t,{tabindex:"-1"}),t.onclick=function(n){var t;((null===(t=i.options.accessibility)||void 0===t?void 0:t.screenReaderSection.onPlayAsSoundClick)||u).call(this,n,i)})},initDataTableButton:function(n){var t=this.viewDataTableButton=h(n),i=this.chart;n=n.replace("hc-linkto-","");t&&(s(t,{role:"button",tabindex:"-1","aria-expanded":!!h(n),href:"#"+n}),t.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.viewData()})},getAxesDescription:function(){var t=this.chart,i=function(n,i){return 1<(n=t[n]).length||n[0]&&w(n[0].options.accessibility&&n[0].options.accessibility.enabled,i)},n=!!t.types&&0>t.types.indexOf("map"),r=!!t.hasCartesianSeries,u=i("xAxis",!t.angular&&r&&n);return i=i("yAxis",r&&n),n={},u&&(n.xAxis=this.getAxisDescriptionText("xAxis")),i&&(n.yAxis=this.getAxisDescriptionText("yAxis")),n},getAxisDescriptionText:function(n){var r=this,i=this.chart,t=i[n];return i.langFormat("accessibility.axis."+n+"Description"+(1<t.length?"Plural":"Singular"),{chart:i,names:t.map(function(n){return d(n)}),ranges:t.map(function(n){return r.getAxisRangeDescription(n)}),numAxes:t.length})},getAxisRangeDescription:function(n){var t=n.options||{};return t.accessibility&&void 0!==t.accessibility.rangeDescription?t.accessibility.rangeDescription:n.categories?this.getCategoryAxisRangeDesc(n):!n.isDatetimeAxis||0!==n.min&&0!==n.dataMin?this.getAxisFromToDescription(n):this.getAxisTimeLengthDesc(n)},getCategoryAxisRangeDesc:function(n){var t=this.chart;return n.dataMax&&n.dataMin?t.langFormat("accessibility.axis.rangeCategories",{chart:t,axis:n,numCategories:n.dataMax-n.dataMin+1}):""},getAxisTimeLengthDesc:function(n){var r=this.chart,t={},i="Seconds",u;return t.Seconds=((n.max||0)-(n.min||0))/1e3,t.Minutes=t.Seconds/60,t.Hours=t.Minutes/60,t.Days=t.Hours/24,["Minutes","Hours","Days"].forEach(function(n){2<t[n]&&(i=n)}),u=t[i].toFixed("Seconds"!==i&&"Minutes"!==i?1:0),r.langFormat("accessibility.axis.timeRange"+i,{chart:r,axis:n,range:u.replace(".0","")})},getAxisFromToDescription:function(n){var t=this.chart,r=t.options.accessibility.screenReaderSection.axisRangeDateFormat,i=function(i){return n.isDatetimeAxis?t.time.dateFormat(r,n[i]):n[i]};return t.langFormat("accessibility.axis.rangeFromTo",{chart:t,axis:n,rangeFrom:i("min"),rangeTo:i("max")})},destroy:function(){var n;null===(n=this.announcer)||void 0===n||n.destroy()}}),t});t(n,"modules/accessibility/components/ContainerComponent.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["modules/accessibility/utils/htmlUtilities.js"],n["modules/accessibility/utils/chartUtilities.js"],n["modules/accessibility/AccessibilityComponent.js"]],function(n,t,i,r,u){var o=n.win.document;n=t.extend;var e=i.stripHTMLTagsFromString,s=r.unhideChartElementFromAT,f=r.getChartTitle;return(i=function(){}).prototype=new u,n(i.prototype,{onChartUpdate:function(){this.handleSVGTitleElement();this.setSVGContainerLabel();this.setGraphicContainerAttrs();this.setRenderToAttrs();this.makeCreditsAccessible()},handleSVGTitleElement:function(){var n=this.chart,r="highcharts-title-"+n.index,i=e(n.langFormat("accessibility.svgContainerTitle",{chartTitle:f(n)})),t;i.length&&(t=this.svgTitleElement=this.svgTitleElement||o.createElementNS("http://www.w3.org/2000/svg","title"),t.textContent=i,t.id=r,n.renderTo.insertBefore(t,n.renderTo.firstChild))},setSVGContainerLabel:function(){var n=this.chart,t=e(n.langFormat("accessibility.svgContainerLabel",{chartTitle:f(n)}));n.renderer.box&&t.length&&n.renderer.box.setAttribute("aria-label",t)},setGraphicContainerAttrs:function(){var n=this.chart,t=n.langFormat("accessibility.graphicContainerLabel",{chartTitle:f(n)});t.length&&n.container.setAttribute("aria-label",t)},setRenderToAttrs:function(){var n=this.chart;"disabled"!==n.options.accessibility.landmarkVerbosity?n.renderTo.setAttribute("role","region"):n.renderTo.removeAttribute("role");n.renderTo.setAttribute("aria-label",n.langFormat("accessibility.chartContainerLabel",{title:f(n),chart:n}))},makeCreditsAccessible:function(){var t=this.chart,n=t.credits;n&&(n.textStr&&n.element.setAttribute("aria-label",e(t.langFormat("accessibility.credits",{creditsStr:n.textStr}))),s(t,n.element))},destroy:function(){this.chart.renderTo.setAttribute("aria-hidden",!0)}}),i});t(n,"modules/accessibility/high-contrast-mode.js",[n["parts/Globals.js"]],function(n){var r=n.isMS,t=n.win,i=t.document;return{isHighContrastModeActive:function(){var n=/(Edg)/.test(t.navigator.userAgent),u;return t.matchMedia&&n?t.matchMedia("(-ms-high-contrast: active)").matches:r&&t.getComputedStyle?((n=i.createElement("div")).style.backgroundImage="url(#)",i.body.appendChild(n),u=(n.currentStyle||t.getComputedStyle(n)).backgroundImage,i.body.removeChild(n),"none"===u):!1},setHighContrastTheme:function(n){n.highContrastModeActive=!0;var t=n.options.accessibility.highContrastTheme;n.update(t,!1);n.series.forEach(function(n){var i=t.plotOptions[n.type]||{};n.update({color:i.color||"windowText",colors:[i.color||"windowText"],borderColor:i.borderColor||"window"});n.points.forEach(function(n){n.options&&n.options.color&&n.update({color:i.color||"windowText",borderColor:i.borderColor||"window"},!1)})});n.redraw()}}});t(n,"modules/accessibility/high-contrast-theme.js",[],function(){return{chart:{backgroundColor:"window"},title:{style:{color:"windowText"}},subtitle:{style:{color:"windowText"}},colorAxis:{minColor:"windowText",maxColor:"windowText",stops:[]},colors:["windowText"],xAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},yAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},tooltip:{backgroundColor:"window",borderColor:"windowText",style:{color:"windowText"}},plotOptions:{series:{lineColor:"windowText",fillColor:"window",borderColor:"windowText",edgeColor:"windowText",borderWidth:1,dataLabels:{connectorColor:"windowText",color:"windowText",style:{color:"windowText",textOutline:"none"}},marker:{lineColor:"windowText",fillColor:"windowText"}},pie:{color:"window",colors:["window"],borderColor:"windowText",borderWidth:1},boxplot:{fillColor:"window"},candlestick:{lineColor:"windowText",fillColor:"window"},errorbar:{fillColor:"window"}},legend:{backgroundColor:"window",itemStyle:{color:"windowText"},itemHoverStyle:{color:"windowText"},itemHiddenStyle:{color:"#555"},title:{style:{color:"windowText"}}},credits:{style:{color:"windowText"}},labels:{style:{color:"windowText"}},drilldown:{activeAxisLabelStyle:{color:"windowText"},activeDataLabelStyle:{color:"windowText"}},navigation:{buttonOptions:{symbolStroke:"windowText",theme:{fill:"window"}}},rangeSelector:{buttonTheme:{fill:"window",stroke:"windowText",style:{color:"windowText"},states:{hover:{fill:"window",stroke:"windowText",style:{color:"windowText"}},select:{fill:"#444",stroke:"windowText",style:{color:"windowText"}}}},inputBoxBorderColor:"windowText",inputStyle:{backgroundColor:"window",color:"windowText"},labelStyle:{color:"windowText"}},navigator:{handles:{backgroundColor:"window",borderColor:"windowText"},outlineColor:"windowText",maskFill:"transparent",series:{color:"windowText",lineColor:"windowText"},xAxis:{gridLineColor:"windowText"}},scrollbar:{barBackgroundColor:"#444",barBorderColor:"windowText",buttonArrowColor:"windowText",buttonBackgroundColor:"window",buttonBorderColor:"windowText",rifleColor:"windowText",trackBackgroundColor:"window",trackBorderColor:"windowText"}}});t(n,"modules/accessibility/options/options.js",[],function(){return{accessibility:{enabled:!0,screenReaderSection:{beforeChartFormat:"<h5>{chartTitle}<\/h5><div>{typeDescription}<\/div><div>{chartSubtitle}<\/div><div>{chartLongdesc}<\/div><div>{playAsSoundButton}<\/div><div>{viewTableButton}<\/div><div>{xAxisDescription}<\/div><div>{yAxisDescription}<\/div><div>{annotationsTitle}{annotationsList}<\/div>",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{index}. {xDescription}{separator}{value}."},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:"#335cad",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!0,pointNavigationEnabledThreshold:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}}}});t(n,"modules/accessibility/options/langOptions.js",[],function(){return{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"Chart screen reader information.",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{ Also related to, #each(additionalAnnotationPoints)}",descriptionNoPoints:"{annotationText}"},endOfChartMarker:"End of interactive chart."},sonification:{playAsSoundButtonText:"Play as sound, {chartTitle}",playAsSoundClickAnnouncement:"Play"},legend:{legendLabel:"Toggle series visibility",legendItem:"Toggle visibility of {itemName}"},zoom:{mapZoomIn:"Zoom chart",mapZoomOut:"Zoom out chart",resetZoomButton:"Reset zoom"},rangeSelector:{minInputLabel:"Select start date.",maxInputLabel:"Select end date.",buttonText:"Select range {buttonText}"},table:{viewAsDataTableButtonText:"View as data table, {chartTitle}",tableSummary:"Table representation of chart."},announceNewData:{newDataAnnounce:"Updated data for chart {chartTitle}",newSeriesAnnounceSingle:"New data series: {seriesDesc}",newPointAnnounceSingle:"New data point: {pointDesc}",newSeriesAnnounceMultiple:"New data series in chart {chartTitle}: {seriesDesc}",newPointAnnounceMultiple:"New data point in chart {chartTitle}: {pointDesc}"},seriesTypeDescriptions:{boxplot:"Box plot charts are typically used to display groups of statistical data. Each data point in the chart can have up to 5 values: minimum, lower quartile, median, upper quartile, and maximum.",arearange:"Arearange charts are line charts displaying a range between a lower and higher value for each point.",areasplinerange:"These charts are line charts displaying a range between a lower and higher value for each point.",bubble:"Bubble charts are scatter charts where each data point also has a size value.",columnrange:"Columnrange charts are column charts displaying a range between a lower and higher value for each point.",errorbar:"Errorbar series are used to display the variability of the data.",funnel:"Funnel charts are used to display reduction of data in stages.",pyramid:"Pyramid charts consist of a single pyramid with item heights corresponding to each point value.",waterfall:"A waterfall chart is a column chart where each column contributes towards a total end value."},chartTypes:{emptyChart:"Empty chart",mapTypeDescription:"Map of {mapTitle} with {numSeries} data series.",unknownMap:"Map of unspecified region with {numSeries} data series.",combinationChart:"Combination chart with {numSeries} data series.",defaultSingle:"Chart with {numPoints} data {#plural(numPoints, points, point)}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#plural(numPoints, points, point)}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleMultiple:"Bubble chart with {numSeries} data series."},axis:{xAxisDescriptionSingular:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}",xAxisDescriptionPlural:"The chart has {numAxes} X axes displaying {#each(names, -1) }and {names[-1]}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.",timeRangeDays:"Range: {range} days.",timeRangeHours:"Range: {range} hours.",timeRangeMinutes:"Range: {range} minutes.",timeRangeSeconds:"Range: {range} seconds.",rangeFromTo:"Range: {rangeFrom} to {rangeTo}.",rangeCategories:"Range: {numCategories} categories."},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart menu",exportRegionLabel:"Chart menu"},series:{summary:{"default":"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",defaultCombination:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",line:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",lineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",spline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",splineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",column:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",columnCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",bar:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",barCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",pie:"{name}, pie {ix} of {numSeries} with {numPoints} {#plural(numPoints, slices, slice)}.",pieCombination:"{name}, series {ix} of {numSeries}. Pie with {numPoints} {#plural(numPoints, slices, slice)}.",scatter:"{name}, scatter plot {ix} of {numSeries} with {numPoints} {#plural(numPoints, points, point)}.",scatterCombination:"{name}, series {ix} of {numSeries}, scatter plot with {numPoints} {#plural(numPoints, points, point)}.",boxplot:"{name}, boxplot {ix} of {numSeries} with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotCombination:"{name}, series {ix} of {numSeries}. Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",bubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}.",map:"{name}, map {ix} of {numSeries} with {numPoints} {#plural(numPoints, areas, area)}.",mapCombination:"{name}, series {ix} of {numSeries}. Map with {numPoints} {#plural(numPoints, areas, area)}.",mapline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",maplineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",mapbubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",mapbubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{Annotation: #each(annotations). }"}}}});t(n,"modules/accessibility/options/deprecatedOptions.js",[n["parts/Utilities.js"]],function(n){function t(n,t,i){u("Highcharts: Deprecated option "+t+" used. This will be removed from future versions of Highcharts. Use "+i+" instead.",!1,n)}function r(n,t,i){for(var u,r=0;r<t.length-1;++r)n=n[u=t[r]]=f(n[u],{});n[t[t.length-1]]=i}function i(n,i,u,f){function e(n,t){return t.reduce(function(n,t){return n[t]},n)}var o=e(n.options,i),s=e(n.options,u);Object.keys(f).forEach(function(e){var h=o[e];void 0!==h&&(r(s,f[e],h),t(n,i.join(".")+"."+e,u.join(".")+"."+f[e].join(".")))})}var u=n.error,f=n.pick;return function(n){!function(n){var i=n.options.chart||{},r=n.options.accessibility||{};["description","typeDescription"].forEach(function(u){i[u]&&(r[u]=i[u],t(n,"chart."+u,"accessibility."+u))})}(n),function(n){n.axes.forEach(function(i){(i=i.options)&&i.description&&(i.accessibility=i.accessibility||{},i.accessibility.description=i.description,t(n,"axis.description","axis.accessibility.description"))})}(n);n.series&&function(n){var i={description:["accessibility","description"],exposeElementToA11y:["accessibility","exposeAsGroupOnly"],pointDescriptionFormatter:["accessibility","pointDescriptionFormatter"],skipKeyboardNavigation:["accessibility","keyboardNavigation","enabled"]};n.series.forEach(function(u){Object.keys(i).forEach(function(f){var e=u.options[f];void 0!==e&&(r(u.options,i[f],"skipKeyboardNavigation"===f?!e:e),t(n,"series."+f,"series."+i[f].join(".")))})})}(n);i(n,["accessibility"],["accessibility"],{pointDateFormat:["point","dateFormat"],pointDateFormatter:["point","dateFormatter"],pointDescriptionFormatter:["point","descriptionFormatter"],pointDescriptionThreshold:["series","pointDescriptionEnabledThreshold"],pointNavigationThreshold:["keyboardNavigation","seriesNavigation","pointNavigationEnabledThreshold"],pointValueDecimals:["point","valueDecimals"],pointValuePrefix:["point","valuePrefix"],pointValueSuffix:["point","valueSuffix"],screenReaderSectionFormatter:["screenReaderSection","beforeChartFormatter"],describeSingleSeries:["series","describeSingleSeries"],seriesDescriptionFormatter:["series","descriptionFormatter"],onTableAnchorClick:["screenReaderSection","onViewDataTableClick"],axisRangeDateFormat:["screenReaderSection","axisRangeDateFormat"]});i(n,["accessibility","keyboardNavigation"],["accessibility","keyboardNavigation","seriesNavigation"],{skipNullPoints:["skipNullPoints"],mode:["mode"]});i(n,["lang","accessibility"],["lang","accessibility"],{legendItem:["legend","legendItem"],legendLabel:["legend","legendLabel"],mapZoomIn:["zoom","mapZoomIn"],mapZoomOut:["zoom","mapZoomOut"],resetZoomButton:["zoom","resetZoomButton"],screenReaderRegionLabel:["screenReaderSection","beforeRegionLabel"],rangeSelectorButton:["rangeSelector","buttonText"],rangeSelectorMaxInput:["rangeSelector","maxInputLabel"],rangeSelectorMinInput:["rangeSelector","minInputLabel"],svgContainerEnd:["screenReaderSection","endOfChartMarker"],viewAsDataTable:["table","viewAsDataTableButtonText"],tableSummary:["table","tableSummary"]})}});t(n,"modules/accessibility/a11y-i18n.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var r=t.format,i=t.pick;n.i18nFormat=function(n,t,u){var h=function(n,t){var i=(n=n.slice(t||0)).indexOf("{"),r=n.indexOf("}");if(-1<i&&r>i)return{statement:n.substring(i+1,r),begin:t+i+1,end:t+r}},e=[],o=0,f,s;do f=h(n,o),s=n.substring(o,f&&f.begin-1),s.length&&e.push({value:s,type:"constant"}),f&&e.push({value:f.statement,type:"statement"}),o=f?f.end+1:o+1;while(f);return e.forEach(function(n){"statement"===n.type&&(n.value=function(n,t){var r=n.indexOf("#each("),e=n.indexOf("#plural("),u=n.indexOf("["),o=n.indexOf("]"),f;if(-1<r){if(u=n.slice(r).indexOf(")")+r,f=n.substring(0,r),e=n.substring(u+1),u=n.substring(r+6,u).split(","),r=Number(u[1]),n="",t=t[u[0]])for(r=0>(r=isNaN(r)?t.length:r)?t.length+r:Math.min(r,t.length),u=0;u<r;++u)n+=f+t[u]+e;return n.length?n:""}if(-1<e){switch(f=n.slice(e).indexOf(")")+e,n=n.substring(e+8,f).split(","),Number(t[n[0]])){case 0:n=i(n[4],n[1]);break;case 1:n=i(n[2],n[1]);break;case 2:n=i(n[3],n[1]);break;default:n=n[1]}return n?(t=n).trim&&t.trim()||t.replace(/^\s+|\s+$/g,""):""}return-1<u?(e=n.substring(0,u),n=Number(n.substring(u+1,o)),t=t[e],!isNaN(n)&&t&&(0>n?void 0===(f=t[t.length+n])&&(f=t[0]):void 0===(f=t[n])&&(f=t[t.length-1])),void 0!==f?f:""):"{"+n+"}"}(n.value,t))}),r(e.reduce(function(n,t){return n+t.value},""),t,u)};n.Chart.prototype.langFormat=function(t,i){t=t.split(".");for(var r=this.options.lang,u=0;u<t.length;++u)r=r&&r[t[u]];return"string"==typeof r?n.i18nFormat(r,i,this):""}});t(n,"modules/accessibility/focusBorder.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var i=t.addEvent,r=t.extend,u=t.pick;r(n.SVGElement.prototype,{addFocusBorder:function(n,t){this.focusBorder&&this.removeFocusBorder();var i=this.getBBox();n=u(n,3);i.x+=this.translateX?this.translateX:0;i.y+=this.translateY?this.translateY:0;this.focusBorder=this.renderer.rect(i.x-n,i.y-n,i.width+2*n,i.height+2*n,parseInt((t&&t.borderRadius||0).toString(),10)).addClass("highcharts-focus-border").attr({zIndex:99}).add(this.parentGroup);this.renderer.styledMode||this.focusBorder.attr({stroke:t&&t.stroke,"stroke-width":t&&t.strokeWidth})},removeFocusBorder:function(){this.focusBorder&&(this.focusBorder.destroy(),delete this.focusBorder)}});n.Chart.prototype.setFocusToElement=function(n,t){var r=this.options.accessibility.keyboardNavigation.focusBorder;(t=t||n.element)&&t.focus&&(t.hcEvents&&t.hcEvents.focusin||i(t,"focusin",function(){}),t.focus(),r.hideBrowserFocusOutline&&(t.style.outline="none"));r.enabled&&(this.focusElement&&this.focusElement.removeFocusBorder(),n.addFocusBorder(r.margin,{stroke:r.style.color,strokeWidth:r.style.lineWidth,borderRadius:r.style.borderRadius}),this.focusElement=n)}});t(n,"modules/accessibility/accessibility.js",[n["modules/accessibility/utils/chartUtilities.js"],n["parts/Globals.js"],n["modules/accessibility/KeyboardNavigationHandler.js"],n["parts/Point.js"],n["parts/Utilities.js"],n["modules/accessibility/AccessibilityComponent.js"],n["modules/accessibility/KeyboardNavigation.js"],n["modules/accessibility/components/LegendComponent.js"],n["modules/accessibility/components/MenuComponent.js"],n["modules/accessibility/components/SeriesComponent/SeriesComponent.js"],n["modules/accessibility/components/ZoomComponent.js"],n["modules/accessibility/components/RangeSelectorComponent.js"],n["modules/accessibility/components/InfoRegionsComponent.js"],n["modules/accessibility/components/ContainerComponent.js"],n["modules/accessibility/high-contrast-mode.js"],n["modules/accessibility/high-contrast-theme.js"],n["modules/accessibility/options/options.js"],n["modules/accessibility/options/langOptions.js"],n["modules/accessibility/options/deprecatedOptions.js"]],function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k){function nt(n){this.init(n)}var d=u.addEvent,it=u.extend,g=u.fireEvent,tt=u.merge,rt=t.win.document;tt(!0,t.defaultOptions,w,{accessibility:{highContrastTheme:p},lang:b});t.A11yChartUtilities=n;t.KeyboardNavigationHandler=i;t.AccessibilityComponent=f;nt.prototype={init:function(n){this.chart=n;rt.addEventListener&&n.renderer.isSVG?(k(n),this.initComponents(),this.keyboardNavigation=new e(n,this.components),this.update()):n.renderTo.setAttribute("aria-hidden",!0)},initComponents:function(){var t=this.chart,i=t.options.accessibility,n;this.components={container:new v,infoRegions:new a,legend:new o,chartMenu:new s,rangeSelector:new l,series:new h,zoom:new c};i.customComponents&&it(this.components,i.customComponents);n=this.components;this.getComponentOrder().forEach(function(i){n[i].initBase(t);n[i].init()})},getComponentOrder:function(){if(!this.components)return[];if(!this.components.series)return Object.keys(this.components);var n=Object.keys(this.components).filter(function(n){return"series"!==n});return["series"].concat(n)},update:function(){var t=this.components,n=this.chart,i=n.options.accessibility;g(n,"beforeA11yUpdate");n.types=this.getChartTypes();this.getComponentOrder().forEach(function(i){t[i].onChartUpdate();g(n,"afterA11yComponentUpdate",{name:i,component:t[i]})});this.keyboardNavigation.update(i.keyboardNavigation.order);!n.highContrastModeActive&&y.isHighContrastModeActive()&&y.setHighContrastTheme(n);g(n,"afterA11yUpdate",{accessibility:this})},destroy:function(){var n=this.chart||{},t=this.components;Object.keys(t).forEach(function(n){t[n].destroy();t[n].destroyBase()});this.keyboardNavigation&&this.keyboardNavigation.destroy();n.renderTo&&n.renderTo.setAttribute("aria-hidden",!0);n.focusElement&&n.focusElement.removeFocusBorder()},getChartTypes:function(){var n={};return this.chart.series.forEach(function(t){n[t.type]=1}),Object.keys(n)}};t.Chart.prototype.updateA11yEnabled=function(){var n=this.accessibility,t=this.options.accessibility;t&&t.enabled?n?n.update():this.accessibility=new nt(this):n?(n.destroy&&n.destroy(),delete this.accessibility):this.renderTo.setAttribute("aria-hidden",!0)};d(t.Chart,"render",function(){this.a11yDirty&&this.renderTo&&(delete this.a11yDirty,this.updateA11yEnabled());var n=this.accessibility;n&&n.getComponentOrder().forEach(function(t){n.components[t].onChartRender()})});d(t.Chart,"update",function(n){(n=n.options.accessibility)&&(n.customComponents&&(this.options.accessibility.customComponents=n.customComponents,delete n.customComponents),tt(!0,this.options.accessibility,n),this.accessibility&&this.accessibility.destroy&&(this.accessibility.destroy(),delete this.accessibility));this.a11yDirty=!0});d(r,"update",function(){this.series.chart.accessibility&&(this.series.chart.a11yDirty=!0)});["addSeries","init"].forEach(function(n){d(t.Chart,n,function(){this.a11yDirty=!0})});["update","updatedData","remove"].forEach(function(n){d(t.Series,n,function(){this.chart.accessibility&&(this.chart.a11yDirty=!0)})});["afterDrilldown","drillupall"].forEach(function(n){d(t.Chart,n,function(){this.accessibility&&this.accessibility.update()})});d(t.Chart,"destroy",function(){this.accessibility&&this.accessibility.destroy()})});t(n,"masters/modules/accessibility.src.js",[],function(){})};n.exports?(r.default=r,n.exports=r):(u=[i(16)],void 0===(f=function(n){return r(n),r.Highcharts=n,r}.apply(t,u))||(n.exports=f))},function(n,t,i){var r,u;"undefined"!=typeof self&&self;n.exports=(r=i(1),u=i(16),function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};return t.m=n,t.c=i,t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=0)}([function(n,t,i){"use strict";function u(){return(u=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0});var r=i(1),e=i.n(r),o=i(2),s=i.n(o),f="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,h=Object(r.forwardRef)(function(n,t){var o=Object(r.useRef)(),i=Object(r.useRef)();return f(function(){function t(){var t=n.highcharts||s.a,r=n.constructorType||"chart";t&&t[r]&&n.options&&(i.current=t[r](o.current,n.options,n.callback?n.callback:void 0))}if(i.current){if(!1!==n.allowChartUpdate)if(!n.immutable&&i.current){var r;(r=i.current).update.apply(r,[n.options].concat(function(n){return function(n){if(Array.isArray(n)){for(var t=0,i=new Array(n.length);t<n.length;t++)i[t]=n[t];return i}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance");}()}(n.updateArgs||[!0,!0])))}else t()}else t()}),f(function(){return function(){i.current&&(i.current.destroy(),i.current=null)}},[]),Object(r.useImperativeHandle)(t,function(){return{get chart(){return i.current},container:o}},[]),e.a.createElement("div",u({},n.containerProps,{ref:o}))});t.default=Object(r.memo)(h)},function(n){n.exports=r},function(n){n.exports=u}]))},function(n,t,i){"use strict";(function(n){var o,r,u,f,i,s,e;Object.defineProperty(t,"__esModule",{value:!0});t.mapOptions=t.confidenceIntervalOptions=t.diagramOptions=t.defaultSetOptions=void 0;(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;r={lang:{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"Från",rangeSelectorTo:"Till",numericSymbols:null,viewFullscreen:"Öppna i fullskärm",printChart:"Skriv ut diagram",downloadJPEG:"Ladda ned JPEG-bild",downloadPDF:"Ladda ned PDF-dokument",downloadPNG:"Ladda ned PNG-bild",downloadSVG:"Ladda ned SVG-vektorgrafik",exitFullscreen:"Stäng fullskärm",contextButtonTitle:"Kontextmeny för diagram",resetZoom:"Återställ zoom",loading:"Laddar...",noData:"Ingen data att visa",accessibility:{chartContainerLabel:"Interaktiv diagram",defaultChartTitle:"Diagram",svgContainerLabel:"Interaktivt diagram",exporting:{chartMenuLabel:"Diagrammeny",exportRegionLabel:"Diagrammeny",menuButtonLabel:"Se diagrammeny",drillUpButton:"Gå upp ett steg"},axis:{rangeCategories:"Spann: {numCategories} kategorier.",rangeFromTo:"Spann: {rangeFrom} till {rangeTo}.",timeRangeDays:"Spann: {range} dagar.",timeRangeHours:"Spann: {range} timmar.",timeRangeMinutes:"Spann: {range} minuter.",timeRangeSeconds:"Spann: {range} sekunder.",xAxisDescriptionPlural:"",xAxisDescriptionSingular:"",yAxisDescriptionPlural:"",yAxisDescriptionSingular:"Diagrammet visar {ranges[0]}"},chartTypes:{defaultMultiple:"Diagram med {numSeries} serier.",defaultSingle:"Diagram med {numPoints} {#plural(numPoints,staplar, stapel)}.",barMultiple:"Stapeldiagram med {numSeries} serier.",barSingle:"Stapeldiagram med {numPoints} {#plural(numPoints, staplar, stapel)}.",columnMultiple:"Stapeldiagram med {numSeries} serier.",columnSingle:"Stapeldiagram med {numPoints} {#plural(numPoints, staplar, stapel)}.",boxplotMultiple:"Lådagram med {numSeries} serier.",boxplotSingle:"Lådagram med {numPoints} {#plural(numPoints, boxar, box)}.",pieMultiple:"Tårtdiagram med {numSeries} serier.",pieSingle:"Tårtdiagram med {numPoints} tårtbitar",splineMultiple:"Diagram med {numSeries} serier.",splineSingle:"Diagram med {numPoints} {#plural(numPoints, linjer, linje)}.",lineMultiple:"Linjediagram med {numSeries} serier.",lineSingle:"Linjediagram med {numPoints} {#plural(numPoints, linjer, linje)}.",combinationChart:"Diagram med {numSeries} serier.",mapTypeDescription:"Karta över Sverige med {numSeries} serier.",emptyChart:"Tomt diagram",unknownMap:"Karta över ospecificerad region med {numSeries} serier"},screenReaderSection:{beforeRegionLabel:"Början på diagrammet",endOfChartMarker:"Slut på interaktivt diagram",annotations:{descriptionMultiplePoints:"{annotationText}. Relaterat till {annotationPoint}{ Också relaterat till, #each(additionalAnnotationPoints)}",descriptionNoPoints:"",descriptionSinglePoint:"{annotationText}. Relaterat till {annotationPoint}.",heading:"Sammanfattning"}},legend:{legendItem:"Göm {itemName}",legendLabel:"Växla seriens synlighet"},series:{nullPointValue:"Inget värde",summary:{bar:"{name}, serie {ix} av {numSeries} med {numPoints} {#plural(numPoints, staplar, stapel)}.",barCombination:"{name}, serie {ix} av {numSeries}. Stapeldiagram med {numPoints} {#plural(numPoints, staplar, stapel)}.",boxplot:"{name}, serie {ix} av {numSeries} med {numPoints} {#plural(numPoints, boxar, box)}.",column:"{name}, serie {ix} av {numSeries} med {numPoints} {#plural(numPoints, staplar, stapel).}",columnCombination:"{name}, serie {ix} av {numSeries}. Stapeldiagram med {numPoints} {#plural(numPoints, staplar, stapel)}.","default":"{name}, serie {ix} av {numSeries} med {numPoints} data {#plural(numPoints, punkter, punkt)}.",defaultCombination:"{name}, serie {ix} av {numSeries} med {numPoints} data {#plural(numPoints, punkter, punkt)}.",lineCombination:"{name}, serie {ix} av {numSeries}. Linje med {numPoints} data {#plural(numPoints, punkter, punkt)}.",line:"{name}, linje {ix} av {numSeries} med {numPoints} data {#plural(numPoints, punkter, punkt)}.",map:"{name}, karta {ix} av {numSeries} med {numPoints} {#plural(numPoints, områden, område)}.",pie:"{name}, tårtdiagram {ix} av {numSeries} med {numPoints} {#plural(numPoints, tårtbitar, tårtbit)}.",spline:"{name}, linje {ix} av {numSeries} med {numPoints} data {#plural(numPoints, punkter, punkt)}.",boxplotCombination:"{name}, serie {ix} av {numSeries} med {numPoints} {#plural(numPoints, boxar, box)}."}}}}};t.defaultSetOptions=r;u={chart:{styledMode:!1,type:"",marginTop:90,colors:["#2f7ed8","#0d233a","#8bbc21","#910000"],zoomType:"",map:null,height:null,spacingRight:20,spacingLeft:20,style:{fontFamily:"Futura, Arial, Helvetica, sans-serif",color:"#333333",fontSize:"3rem"}},accessibility:{enabled:!0,keyboardNavigation:{order:["chartMenu","series","legend"]},screenReaderSection:{beforeChartFormat:"<h4>{chartTitle}<\/h4><div>{typeDescription}<\/div><div>{chartSubtitle}<\/div><div>{chartLongdesc}<\/div><div>{playAsSoundButton}<\/div><div>{viewTableButton}<\/div><div>{xAxisDescription}<\/div><div>{yAxisDescription}<\/div><div>{annotationsTitle}{annotationsList}<\/div>"},point:{descriptionFormatter:null}},exporting:{enabled:!1,fallbackToExportServer:!1,error:function(n,t){alert("Denna webbläsare stödjer inte exportering av denna fil "+t)}},legend:{width:void 0,margin:25,layout:"horizontal",align:"left",alignColumns:!1,useHTML:!0,itemDistance:35,itemMarginTop:10,itemMarginBottom:10,symbolWidth:void 0,itemStyle:{fontWeight:"normal"}},title:{text:"",style:{fontWeight:"normal"}},credits:{enabled:!1},xAxis:{categories:[],crosshair:!1,tickWidth:1,tickLength:34,alignTicks:!1,lineColor:"#F1F4F6",tickColor:"#F1F4F6",min:void 0,max:void 0},yAxis:{min:0,max:void 0,allowDecimals:!1,gridLineColor:"#F1F4F6",showLastLabel:!0,style:{fontSize:"40px"},title:{text:""},labels:{format:"",overflow:"allow"},plotLines:[]},navigation:{buttonOptions:{symbolStroke:"#000000",symbolSize:16}},tooltip:{outside:!0,backgroundColor:void 0,borderWidth:0,headerFormat:"<h4>{point.key}<\/h4>",pointFormat:'<span style="color:{point.color}">●<\/span> {series.name}: {point.y}',shared:!0,useHTML:!0,formatter:null},colorAxis:null,plotOptions:{},series:[]};t.diagramOptions=u;f={chart:{marginTop:90,spacingRight:20,spacingLeft:20,height:null,colors:["#2f7ed8","#0d233a","#8bbc21","#910000"],style:{fontFamily:"Futura, Arial, Helvetica, sans-serif",color:"#333333"}},accessibility:{enabled:!0,keyboardNavigation:{order:["chartMenu","series","legend"]},screenReaderSection:{beforeChartFormat:"<h4>{chartTitle}<\/h4><div>{typeDescription}<\/div><div>{chartSubtitle}<\/div><div>{chartLongdesc}<\/div><div>{playAsSoundButton}<\/div><div>{viewTableButton}<\/div><div>{xAxisDescription}<\/div><div>{yAxisDescription}<\/div><div>{annotationsTitle}{annotationsList}<\/div>"},point:{descriptionFormatter:null}},exporting:{enabled:!1,fallbackToExportServer:!1,error:function(n,t){alert("Denna webbläsare stödjer inte exportering av denna fil "+t)}},credits:{enabled:!1},legend:{margin:25,layout:"horizontal",align:"left",alignColumns:!1,useHTML:!0,itemDistance:35,itemMarginTop:10,itemMarginBottom:10,itemStyle:{fontWeight:"normal"}},plotOptions:{series:{pointWidth:void 0,maxPointWidth:30}},title:{text:"",style:{fontWeight:"normal"}},xAxis:[{categories:[],tickWidth:1,tickLength:34,alignTicks:!0,lineColor:"#F1F4F6",tickColor:"#F1F4F6"}],yAxis:[{min:0,max:void 0,allowDecimals:!1,gridLineColor:"#F1F4F6",showLastLabel:!0,title:{text:""},labels:{format:"",overflow:"allow"}}],navigation:{buttonOptions:{symbolStroke:"#000000",symbolSize:16},menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"}},tooltip:{outside:!0,backgroundColor:void 0,borderWidth:0,headerFormat:"<h4>{point.key}<\/h4>",pointFormat:'<span style="color:{point.color}">●<\/span> {series.name}: {point.y}<br/>',shared:!1,useHTML:!0,shadow:!0},colorAxis:null,series:[]};t.confidenceIntervalOptions=f;e={chart:{map:"countries/se/se-all",height:700,marginTop:70,spacingRight:20,spacingLeft:20},accessibility:{screenReaderSection:{beforeChartFormat:"<h4>{chartTitle}<\/h4><div>{typeDescription}<\/div><div>{chartSubtitle}<\/div><div>{chartLongdesc}<\/div><div>{playAsSoundButton}<\/div><div>{viewTableButton}<\/div><div>{xAxisDescription}<\/div><div>{yAxisDescription}<\/div><div>{annotationsTitle}{annotationsList}<\/div>"},point:{descriptionFormatter:null}},exporting:{enabled:!1,fallbackToExportServer:!1,error:function(n,t){alert("Denna webbläsare stödjer inte exportering av denna fil "+t)}},title:{text:"",style:{fontSize:"16px","font-family":"Futura"}},credits:{enabled:!1},legend:{layout:"horizontal",align:"left",alignColumns:!1,useHTML:!0,itemDistance:35,itemMarginTop:20,itemMarginBottom:0,itemStyle:{fontWeight:"normal"}},mapNavigation:{enabled:!1,buttonOptions:{verticalAlign:"bottom"}},tooltip:{shadow:!0,backgroundColor:void 0,borderWidth:0,outside:!0,enabled:!0,useHTML:!0,headerFormat:"",pointFormatter:null,shared:!0},navigation:{buttonOptions:{symbolStroke:"#000000",symbolSize:16}},colorAxis:{dataClasses:[]},series:[{name:"",mapData:null,data:null,borderColor:"#00263E",borderWidth:1,nullColor:"rgba(200, 200, 200, 0.3)",showInLegend:!1,states:{hover:{enabled:!0,halo:!1,borderColor:"#d0d0d0"}},dataLabels:{enabled:!1,format:"{point.name}"}}]};t.mapOptions=e;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(r,"defaultSetOptions","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\diagramOptions.ts"),i.register(u,"diagramOptions","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\diagramOptions.ts"),i.register(f,"confidenceIntervalOptions","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\diagramOptions.ts"),i.register(e,"mapOptions","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\diagramOptions.ts"));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var o,r,u,f,i,s,e;Object.defineProperty(t,"__esModule",{value:!0});t.mapColors=t.lineChartColors=t.chartColorsLight=t.chartColors=void 0;(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;r=[{mainColor:"#7A99AC",overlayColor:"#333333"},{mainColor:"#00263E",overlayColor:"#CCCCCC"},{mainColor:"#D6D2C4",overlayColor:"#333333"},{mainColor:"#7A6855",overlayColor:"#CCCCCC"},{mainColor:"#425563",overlayColor:"#CCCCCC"},{mainColor:"#C89396",overlayColor:"#333333"}];t.chartColors=r;u=[{mainColor:"#7A99AC",overlayColor:"#333333"},{mainColor:"#D6D2C4",overlayColor:"#333333"},{mainColor:"#7A6855",overlayColor:"#CCCCCC"},{mainColor:"#C89396",overlayColor:"#333333"}];t.chartColorsLight=u;f=[{mainColor:"#7A99AC",overlayColor:"#333333"},{mainColor:"#D6D2C4",overlayColor:"#333333"},{mainColor:"#7A6855",overlayColor:"#CCCCCC"},{mainColor:"#425563",overlayColor:"#CCCCCC"},{mainColor:"#C89396",overlayColor:"#333333"},{mainColor:"#00263E",overlayColor:"#CCCCCC"}];t.lineChartColors=f;e=["#F7F2EA","#D9E1E2","#7A99AC","#425563","#00263E"];t.mapColors=e;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(r,"chartColors","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\chartColors.ts"),i.register(u,"chartColorsLight","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\chartColors.ts"),i.register(f,"lineChartColors","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\chartColors.ts"),i.register(e,"mapColors","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\chartColors.ts"));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(23),u=i(109);n.exports=i(20)?function(n,t,i){return r.f(n,t,u(1,i))}:function(n,t,i){return n[t]=i,n}},function(n,t,i){var o=i(9),r=i(53),e=i(55),u=i(110)("src"),f=i(936),s=(""+f).split("toString");i(105).inspectSource=function(n){return f.call(n)};(n.exports=function(n,t,i,f){var h="function"==typeof i;h&&(e(i,"name")||r(i,"name",t));n[t]!==i&&(h&&(e(i,u)||r(i,u,n[t]?""+n[t]:s.join(String(t)))),n===o?n[t]=i:f?n[t]?n[t]=i:r(n,t,i):(delete n[t],r(n,t,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||f.call(this)})},function(n){var t={}.hasOwnProperty;n.exports=function(n,i){return t.call(n,i)}},function(n,t,i){var u=i(172),f=i(109),e=i(70),o=i(75),s=i(55),h=i(898),r=Object.getOwnPropertyDescriptor;t.f=i(20)?r:function(n,t){if(n=e(n),t=o(t,!0),h)try{return r(n,t)}catch(n){}if(s(n,t))return f(!u.f.call(n,t),n[t])}},function(n,t,i){(function(t){n.exports=t.ReactDOM=i(582)}).call(this,i(28))},function(n,t,i){var r=i(39),u=i(116),f=i(29);n.exports=function(n,t){var i={};return t=f(t,3),u(n,function(n,u,f){r(i,u,t(n,u,f))}),i}},function(n,t,i){var r=i(10),u=i(123),f=i(506),e=i(124);n.exports=function(n,t){return r(n)?n:u(n,t)?[n]:f(e(n))}},function(n,t,i){var r=i(116),u=i(519)(r);n.exports=u},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.ContentPagination=void 0;r=y(i(1));c=i(136);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n)).changePage=function(n){r.setState({activeStep:n},function(){r.props.onChangePageCb(n)})},r.renderData=function(){var t=r.props,i=t.data,n=t.pageSize,u=r.state.activeStep,f=(u<=Math.ceil(i.length/n)?u:1)*n-n;return i.slice(f,f+n)},r.state={activeStep:1},r}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var n=this.props,f=n.nextLabel,e=n.previousLabel,t=n.data,o=n.pageSize,s=n.noResultText,h=n.showPreviousOnFirstPage,l=n.showNextOnLastPage,i=this.state.activeStep,u=this.props.pageCount||Math.ceil(t.length/o);return r.createElement(r.Fragment,null,this.props.pageCount>0&&this.props.data,!this.props.pageCount&&t&&this.renderData(),t&&t.length>0&&r.createElement(c.Pagination,{steps:u,activeStep:i<=u?i:1,onStepChangeCb:this.changePage,nextLabel:f,previousLabel:e,showNextOnLastPage:l,showPreviousOnFirstPage:h}),!t||0===t.length&&r.createElement("p",{className:"search-result__no-results"},s))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={onStepChange:{},nextLabel:"Nästa",previousLabel:"Föregående",pageSize:10,showPreviousOnFirstPage:!0,showNextOnLastPage:!0,onChangePageCb:function(){}},n}();t.ContentPagination=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"ContentPagination","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ContentPagination\\ContentPagination.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function h(n,t,i){return t&&f(n.prototype,t),i&&f(n,i),n}var r;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;r&&r(n);var l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},e=function(){function n(){s(this,n)}return h(n,[{key:"hasDebug",value:function(){try{return new URLSearchParams(window.location.search).has("debug")}catch(n){}return!1}},{key:"log",value:function(){this.hasDebug()}},{key:"warn",value:function(){this.hasDebug()}},{key:"error",value:function(){this.hasDebug()}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}],[{key:"getInstance",value:function(){return n.instance||(n.instance=new n),n.instance}}]),n}(),o=e.getInstance(),c=o,i,u;t.default=c;i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;i&&(i.register(e,"Console","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\console.log.ts"),i.register(o,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\console.log.ts"));u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;u&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function o(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i="/save/".concat(t||""),r=JSON.stringify(n),f=new Headers({"Content-Type":"application/json"});return u.doPatch(i,r,f).then(function(n){return n})}function s(n,t,i,r){if(!i)throw new Error("orderId is not provided");var f="/send/".concat(i),e={currentFiles:r,formModel:n,registries:t},o=JSON.stringify(e);return u.doPost(f,o,new Headers({"Content-Type":"application/json"}))}function h(n){var t="/delete/".concat(n);return u.doDelete(t)}Object.defineProperty(t,"__esModule",{value:!0});t.saveOrder=o;t.sendOrder=s;t.deleteOrder=h;var f,r,e,u=i(36);(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(o,"saveOrder","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\formModel.service.ts"),r.register(s,"sendOrder","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\formModel.service.ts"),r.register(h,"deleteOrder","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\formModel.service.ts"));(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&e(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function h(n,t,i){return t&&f(n.prototype,t),i&&f(n,i),n}var r;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;r&&r(n);var l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},e=function(){function n(){s(this,n);this.queue={};this.eventHistory={}}return h(n,[{key:"subscribe",value:function(n,t){var r=this,u=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i;return void 0===this.queue[n]&&(this.queue[n]=[]),i=this.queue[n].push(t)-1,u&&void 0!==this.eventHistory[n]&&t(this.eventHistory[n]),{remove:function(){delete r.queue[n][i]}}}},{key:"fire",value:function(n,t){this.eventHistory[n]=t;void 0!==this.queue[n]&&this.queue[n].forEach(function(n){n(null!=t?t:{})})}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}],[{key:"getInstance",value:function(){return n.instance||(n.instance=new n),n.instance}}]),n}(),o=e.getInstance(),c=o,i,u;t.default=c;i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;i&&(i.register(e,"EventService","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculationComponents\\calculationComponents.eventservice.ts"),i.register(o,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculationComponents\\calculationComponents.eventservice.ts"));u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;u&&u(n)}).call(this,i(0)(n))},function(n,t,i){var u,f,r;r=function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}t(n=n?n._modules:{},"mixins/download-url.js",[n["parts/Globals.js"]],function(n){var t=n.win,i=t.navigator,r=t.document,u=t.URL||t.webkitURL||t,f=/Edge\/\d+/.test(i.userAgent);n.dataURLtoBlob=function(n){var f,i,r;if((n=n.match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3<n.length&&t.atob&&t.ArrayBuffer&&t.Uint8Array&&t.Blob&&u.createObjectURL){for(f=t.atob(n[3]),i=new t.ArrayBuffer(f.length),i=new t.Uint8Array(i),r=0;r<i.length;++r)i[r]=f.charCodeAt(r);return n=new t.Blob([i],{type:n[1]}),u.createObjectURL(n)}};n.downloadURL=function(u,e){var o=r.createElement("a");if("string"==typeof u||u instanceof String||!i.msSaveOrOpenBlob){if((f||2e6<u.length)&&!(u=n.dataURLtoBlob(u)))throw Error("Failed to convert to blob");if(void 0!==o.download)o.href=u,o.download=e,r.body.appendChild(o),o.click(),r.body.removeChild(o);else try{if(null==t.open(u,"chart"))throw Error("Failed to open window");}catch(n){t.location.href=u}}else i.msSaveOrOpenBlob(u,e)}});t(n,"modules/offline-exporting.src.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){function f(t,i){var f=u.getElementsByTagName("head")[0],r=u.createElement("script");r.type="text/javascript";r.src=t;r.onload=i;r.onerror=function(){n.error("Error loading script "+t)};f.appendChild(r)}var s=t.extend,h=n.addEvent;t=n.merge;var i=n.win,r=i.navigator,u=i.document,o=i.URL||i.webkitURL||i,e=/Edge\/|Trident\/|MSIE /.test(r.userAgent),c=e?150:0;n.CanVGRenderer={};n.svgToDataUrl=function(n){var t=-1<r.userAgent.indexOf("WebKit")&&0>r.userAgent.indexOf("Chrome");try{if(!t&&0>r.userAgent.toLowerCase().indexOf("firefox"))return o.createObjectURL(new i.Blob([n],{type:"image/svg+xml;charset-utf-16"}))}catch(n){}return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(n)};n.imageToDataUrl=function(n,t,r,f,e,o,s,h,l){var a=new i.Image,v=function(){setTimeout(function(){var i=u.createElement("canvas"),o=i.getContext&&i.getContext("2d"),h;try{if(o){i.height=a.height*f;i.width=a.width*f;o.drawImage(a,0,0,i.width,i.height);try{h=i.toDataURL(t);e(h,t,r,f)}catch(e){p(n,t,r,f)}}else s(n,t,r,f)}finally{l&&l(n,t,r,f)}},c)},y=function(){h(n,t,r,f);l&&l(n,t,r,f)},p=function(){a=new i.Image;p=o;a.crossOrigin="Anonymous";a.onload=v;a.onerror=y;a.src=n};a.onload=v;a.onerror=y;a.src=n};n.downloadSVGLocal=function(t,e,s,h){function d(){v.innerHTML=t;var u,r=v.getElementsByTagName("text");[].forEach.call(r,function(n){["font-family","font-size"].forEach(function(t){for(var i=n;i&&i!==v;){if(i.style[t]){n.style[t]=i.style[t];break}i=i.parentNode}});n.style["font-family"]=n.style["font-family"]&&n.style["font-family"].split(" ").splice(-1);u=n.getElementsByTagName("title");[].forEach.call(u,function(t){n.removeChild(t)})});r=function(n,t){return t=new i.jsPDF("l","pt",[n.width.baseVal.value+2*t,n.height.baseVal.value+2*t]),[].forEach.call(n.querySelectorAll('*[visibility="hidden"]'),function(n){n.parentNode.removeChild(n)}),i.svg2pdf(n,t,{removeInvalid:!0}),t.output("datauristring")}(v.firstChild,0);try{n.downloadURL(r,y);h&&h()}catch(n){s(n)}}var p=!0,c=e.libURL||n.getOptions().exporting.libURL,v=u.createElement("div"),l=e.type||"image/png",y=(e.filename||"chart")+"."+("image/svg+xml"===l?"svg":l.split("/")[1]),w=e.scale||1,b,a,k;if(c="/"!==c.slice(-1)?c+"/":c,"image/svg+xml"===l)try{void 0!==r.msSaveOrOpenBlob?(b=new MSBlobBuilder,b.append(t),a=b.getBlob("image/svg+xml")):a=n.svgToDataUrl(t);n.downloadURL(a,y);h&&h()}catch(n){s(n)}else"application/pdf"===l?i.jsPDF&&i.svg2pdf?d():(p=!0,f(c+"jspdf.js",function(){f(c+"svg2pdf.js",function(){d()})})):(a=n.svgToDataUrl(t),k=function(){try{o.revokeObjectURL(a)}catch(n){}},n.imageToDataUrl(a,l,{},w,function(t){try{n.downloadURL(t,y);h&&h()}catch(n){s(n)}},function(){var e=u.createElement("canvas"),b=e.getContext("2d"),o=t.match(/^<svg[^>]*width\s*=\s*"?(\d+)"?[^>]*>/)[1]*w,a=t.match(/^<svg[^>]*height\s*=\s*"?(\d+)"?[^>]*>/)[1]*w,v=function(){b.drawSvg(t,0,0,o,a);try{n.downloadURL(r.msSaveOrOpenBlob?e.msToBlob():e.toDataURL(l),y);h&&h()}catch(n){s(n)}finally{k()}};e.width=o;e.height=a;i.canvg?v():(p=!0,f(c+"rgbcolor.js",function(){f(c+"canvg.js",function(){v()})}))},s,s,function(){p&&k()}))};n.Chart.prototype.getSVGForLocalExport=function(t,i,r,u){var s,l,v,y,f=this,a=0,p=function(){a===e.length&&u(f.sanitizeSVG(s.innerHTML,l))},w=function(n,t,i){++a;i.imageElement.setAttributeNS("http://www.w3.org/1999/xlink","href",n);p()},e,c,o;f.unbindGetSVG=h(f,"getSVG",function(n){l=n.chartCopy.options;s=n.chartCopy.container.cloneNode(!0)});f.getSVGForExport(t,i);e=s.getElementsByTagName("image");try{if(!e.length)return void u(f.sanitizeSVG(s.innerHTML,l));for(c=0,v=e.length;c<v;++c)o=e[c],(y=o.getAttributeNS("http://www.w3.org/1999/xlink","href"))?n.imageToDataUrl(y,"image/png",{imageElement:o},t.scale,w,r,r,r):(++a,o.parentNode.removeChild(o),p())}catch(n){r(n)}f.unbindGetSVG()};n.Chart.prototype.exportChartLocal=function(t,i){var u=this,r=n.merge(u.options.exporting,t),f=function(t){!1===r.fallbackToExportServer?r.error?r.error(r,t):n.error(28,!0):u.exportChart(r)};t=function(){return[].some.call(u.container.getElementsByTagName("image"),function(n){return""!==(n=n.getAttribute("href"))&&0!==n.indexOf("data:")})};e&&u.styledMode&&(n.SVGRenderer.prototype.inlineWhitelist=[/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/]);e&&("application/pdf"===r.type||u.container.getElementsByTagName("image").length&&"image/svg+xml"!==r.type)||"application/pdf"===r.type&&t()?f("Image type not supported for this chart/browser."):u.getSVGForLocalExport(r,i,f,function(t){-1<t.indexOf("<foreignObject")&&"image/svg+xml"!==r.type?f("Image type not supportedfor charts with embedded HTML"):n.downloadSVGLocal(t,s({filename:u.getFilename()},r),f)})};t(!0,n.getOptions().exporting,{libURL:"https://code.highcharts.com/8.0.4/lib/",menuItemDefinitions:{downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChartLocal()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChartLocal({type:"image/jpeg"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChartLocal({type:"image/svg+xml"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChartLocal({type:"application/pdf"})}}}})});t(n,"masters/modules/offline-exporting.src.js",[],function(){})};n.exports?(r.default=r,n.exports=r):(u=[i(16),i(48)],void 0===(f=function(n){return r(n),r.Highcharts=n,r}.apply(t,u))||(n.exports=f))},function(n,t,i){"use strict";(function(n){var f,r,u,e,i;Object.defineProperty(t,"__esModule",{value:!0});t.checkPercent=t.checkAndAddPercent=void 0;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;r=function(n){return i(n)?"%":""};t.checkAndAddPercent=r;i=function(n){var t=n&&n.toLowerCase();return t&&(t.includes("procent")||t.includes("andel"))};t.checkPercent=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(r,"checkAndAddPercent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\checkAddPercent.ts"),u.register(i,"checkPercent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\checkAddPercent.ts"));(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&e(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";function p(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function b(n){var i,f,t;return void 0===n&&(n="store"),f=n+"Subscription",t=function(t){function i(i,r){var u;return(u=t.call(this,i,r)||this)[n]=i.store,u}p(i,t);var r=i.prototype;return r.getChildContext=function(){var t;return(t={})[n]=this[n],t[f]=null,t},r.render=function(){return u.Children.only(this.props.children)},i}(u.Component),t.propTypes={store:s.isRequired,children:r.a.element.isRequired},t.childContextTypes=((i={})[n]=s.isRequired,i[f]=o,i),t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function f(){return(f=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function h(n,t){if(null==n)return{};for(var i,u={},f=Object.keys(n),r=0;r<f.length;r++)i=f[r],t.indexOf(i)>=0||(u[i]=n[i]);return u}function nt(){}function tt(n,t){var v,b;void 0===t&&(t={});var r=t,k=r.getDisplayName,g=void 0===k?function(n){return"ConnectAdvanced("+n+")"}:k,tt=r.methodName,y=void 0===tt?"connectAdvanced":tt,it=r.renderCountProp,l=void 0===it?void 0:it,rt=r.shouldHandleStateChanges,w=void 0===rt||rt,ut=r.storeKey,i=void 0===ut?"store":ut,ft=r.withRef,a=void 0!==ft&&ft,ot=h(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),e=i+"Subscription",st=ri++,et=((v={})[i]=s,v[e]=o,v),ht=((b={})[e]=o,b);return function(t){c()(Object(ni.isValidElementType)(t),"You must pass a component to the function returned by "+y+". Instead received "+JSON.stringify(t));var s=t.displayName||t.name||"Component",o=g(s),h=f({},ot,{getDisplayName:g,methodName:y,renderCountProp:l,shouldHandleStateChanges:w,storeKey:i,withRef:a,displayName:o,wrappedComponentName:s,WrappedComponent:t}),r=function(r){function v(n,t){var u;return(u=r.call(this,n,t)||this).version=st,u.state={},u.renderCount=0,u.store=n[i]||t[i],u.propsMode=Boolean(n[i]),u.setWrappedInstance=u.setWrappedInstance.bind(d(d(u))),c()(u.store,'Could not find "'+i+'" in either the context or props of "'+o+'". Either wrap the root component in a <Provider>, or explicitly pass "'+i+'" as a prop to "'+o+'".'),u.initSelector(),u.initSubscription(),u}p(v,r);var s=v.prototype;return s.getChildContext=function(){var n,t=this.propsMode?null:this.subscription;return(n={})[e]=t||this.context[e],n},s.componentDidMount=function(){w&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},s.componentWillReceiveProps=function(n){this.selector.run(n)},s.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},s.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe();this.subscription=null;this.notifyNestedSubs=nt;this.store=null;this.selector.run=nt;this.selector.shouldComponentUpdate=!1},s.getWrappedInstance=function(){return c()(a,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+y+"() call."),this.wrappedInstance},s.setWrappedInstance=function(n){this.wrappedInstance=n},s.initSelector=function(){var t=n(this.store.dispatch,h);this.selector=function(n,t){var i={run:function(r){try{var u=n(t.getState(),r);(u!==i.props||i.error)&&(i.shouldComponentUpdate=!0,i.props=u,i.error=null)}catch(n){i.shouldComponentUpdate=!0;i.error=n}}};return i}(t,this.store);this.selector.run(this.props)},s.initSubscription=function(){if(w){var n=(this.propsMode?this.props:this.context)[e];this.subscription=new ti(this.store,n,this.onStateChange.bind(this));this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},s.onStateChange=function(){this.selector.run(this.props);this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(ui)):this.notifyNestedSubs()},s.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0;this.notifyNestedSubs()},s.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},s.addExtraProps=function(n){if(!(a||l||this.propsMode&&this.subscription))return n;var t=f({},n);return a&&(t.ref=this.setWrappedInstance),l&&(t[l]=this.renderCount++),this.propsMode&&this.subscription&&(t[e]=this.subscription),t},s.render=function(){var n=this.selector;if(n.shouldComponentUpdate=!1,n.error)throw n.error;return Object(u.createElement)(t,this.addExtraProps(n.props))},v}(u.Component);return ii&&(r.prototype.UNSAFE_componentWillReceiveProps=r.prototype.componentWillReceiveProps,delete r.prototype.componentWillReceiveProps),r.WrappedComponent=t,r.displayName=o,r.childContextTypes=ht,r.contextTypes=et,r.propTypes=et,dt()(r,t)}}function rt(n,t){return n===t?0!==n||0!==t||1/n==1/t:n!=n&&t!=t}function l(n,t){var i,u,r;if(rt(n,t))return!0;if("object"!=typeof n||null===n||"object"!=typeof t||null===t||(i=Object.keys(n),u=Object.keys(t),i.length!==u.length))return!1;for(r=0;r<i.length;r++)if(!it.call(t,i[r])||!rt(n[i[r]],t[i[r]]))return!1;return!0}function a(n){return function(t,i){function r(){return u}var u=n(t,i);return r.dependsOnOwnProps=!1,r}}function ft(n){return null!==n.dependsOnOwnProps&&void 0!==n.dependsOnOwnProps?Boolean(n.dependsOnOwnProps):1!==n.length}function et(n){return function(t,i){i.displayName;var r=function(n,t){return r.dependsOnOwnProps?r.mapToProps(n,t):r.mapToProps(n)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,i){r.mapToProps=n;r.dependsOnOwnProps=ft(n);var u=r(t,i);return"function"==typeof u&&(r.mapToProps=u,r.dependsOnOwnProps=ft(u),u=r(t,i)),u},r}}function fi(n,t,i){return f({},i,n,t)}function ei(n,t,i,r){return function(u,f){return i(n(u,f),t(r,f),f)}}function oi(n,t,i,r,u){function y(u,c){var y,p,w=!a(c,f),b=!l(u,h);return h=u,f=c,w&&b?(e=n(h,f),t.dependsOnOwnProps&&(o=t(r,f)),s=i(e,o,f)):w?(n.dependsOnOwnProps&&(e=n(h,f)),t.dependsOnOwnProps&&(o=t(r,f)),s=i(e,o,f)):b?(y=n(h,f),p=!v(y,e),e=y,p&&(s=i(e,o,f)),s):s}var h,f,e,o,s,l=u.areStatesEqual,a=u.areOwnPropsEqual,v=u.areStatePropsEqual,c=!1;return function(u,l){return c?y(u,l):(e=n(h=u,f=l),o=t(r,f),s=i(e,o,f),c=!0,s)}}function v(n,t,i){for(var u,r=t.length-1;r>=0;r--)if(u=t[r](n),u)return u;return function(t,r){throw new Error("Invalid value of type "+typeof n+" for "+i+" argument when connecting component "+r.wrappedComponentName+".");}}function si(n,t){return n===t}var k,it,ut,e,y,ot,st,ht,ct,lt,at,vt,yt,pt,wt;i.r(t);i.d(t,"Provider",function(){return k});i.d(t,"createProvider",function(){return b});i.d(t,"connectAdvanced",function(){return tt});i.d(t,"connect",function(){return wt});var u=i(1),w=i.n(u),bt=i(5),r=i.n(bt),o=r.a.shape({trySubscribe:r.a.func.isRequired,tryUnsubscribe:r.a.func.isRequired,notifyNestedSubs:r.a.func.isRequired,isSubscribed:r.a.func.isRequired}),s=r.a.shape({subscribe:r.a.func.isRequired,dispatch:r.a.func.isRequired,getState:r.a.func.isRequired});w.a.forwardRef;k=b();var kt=i(437),dt=i.n(kt),gt=i(104),c=i.n(gt),ni=i(158),g={notify:function(){}},ti=function(){function t(n,t,i){this.store=n;this.parentSub=t;this.onStateChange=i;this.unsubscribe=null;this.listeners=g}var n=t.prototype;return n.addNestedSub=function(n){return this.trySubscribe(),this.listeners.subscribe(n)},n.notifyNestedSubs=function(){this.listeners.notify()},n.isSubscribed=function(){return Boolean(this.unsubscribe)},n.trySubscribe=function(){var t,n;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=(t=[],n=[],{clear:function(){n=null;t=null},notify:function(){for(var r=t=n,i=0;i<r.length;i++)r[i]()},get:function(){return n},subscribe:function(i){var r=!0;return n===t&&(n=t.slice()),n.push(i),function(){r&&null!==t&&(r=!1,n===t&&(n=t.slice()),n.splice(n.indexOf(i),1))}}}))},n.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=g)},t}(),ii=void 0!==w.a.forwardRef,ri=0,ui={};it=Object.prototype.hasOwnProperty;ut=i(27);wt=(y=(e={}).connectHOC,ot=void 0===y?tt:y,ht=void 0===(st=e.mapStateToPropsFactories)?[function(n){if("function"==typeof n)return et(n)},function(n){if(!n)return a(function(){return{}})}]:st,lt=void 0===(ct=e.mapDispatchToPropsFactories)?[function(n){if("function"==typeof n)return et(n)},function(n){if(!n)return a(function(n){return{dispatch:n}})},function(n){if(n&&"object"==typeof n)return a(function(t){return Object(ut.bindActionCreators)(n,t)})}]:ct,vt=void 0===(at=e.mergePropsFactories)?[function(n){if("function"==typeof n)return function(n){return function(t,i){i.displayName;var r,f=i.pure,e=i.areMergedPropsEqual,u=!1;return function(t,i,o){var s=n(t,i,o);return u?f&&e(s,r)||(r=s):(u=!0,r=s),r}}}(n)},function(n){if(!n)return function(){return fi}}]:at,pt=void 0===(yt=e.selectorFactory)?function(n,t){var r=t.initMapStateToProps,u=t.initMapDispatchToProps,f=t.initMergeProps,i=h(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),e=r(n,i),o=u(n,i),s=f(n,i);return(i.pure?oi:ei)(e,o,s,n,i)}:yt,function(n,t,i,r){void 0===r&&(r={});var u=r,e=u.pure,y=void 0===e||e,o=u.areStatesEqual,p=void 0===o?si:o,s=u.areOwnPropsEqual,w=void 0===s?l:s,c=u.areStatePropsEqual,b=void 0===c?l:c,a=u.areMergedPropsEqual,k=void 0===a?l:a,d=h(u,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=v(n,ht,"mapStateToProps"),nt=v(t,lt,"mapDispatchToProps"),tt=v(i,vt,"mergeProps");return ot(pt,f({methodName:"connect",getDisplayName:function(n){return"Connect("+n+")"},shouldHandleStateChanges:Boolean(n),initMapStateToProps:g,initMapDispatchToProps:nt,initMergeProps:tt,pure:y,areStatesEqual:p,areOwnPropsEqual:w,areStatePropsEqual:b,areMergedPropsEqual:k},d))})},function(n,t,i){var r=i(69);n.exports=function(n,t,i){if(r(n),void 0===t)return n;switch(i){case 1:return function(i){return n.call(t,i)};case 2:return function(i,r){return n.call(t,i,r)};case 3:return function(i,r,u){return n.call(t,i,r,u)}}return function(){return n.apply(t,arguments)}}},function(n){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t,i){var r=i(456),u=i(76);n.exports=function(n){return r(u(n))}},function(n,t,i){var r=i(2),u=i(105),f=i(17);n.exports=function(n,t){var i=(u.Object||{})[n]||Object[n],e={};e[n]=t(i);r(r.S+r.F*f(function(){i(1)}),"Object",e)}},function(n,t,i){"use strict";var r=i(167);n.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n}},function(n){"use strict";n.exports=function(n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}},function(n,t,i){"use strict";n.exports=i(1095)()?Symbol:i(1096)},function(n,t,i){var r=i(11);n.exports=function(n,t){if(!r(n))return n;var i,u;if(t&&"function"==typeof(i=n.toString)&&!r(u=i.call(n))||"function"==typeof(i=n.valueOf)&&!r(u=i.call(n))||!t&&"function"==typeof(i=n.toString)&&!r(u=i.call(n)))return u;throw TypeError("Can't convert object to primitive value");}},function(n){n.exports=function(n){if(null==n)throw TypeError("Can't call method on  "+n);return n}},function(n,t,i){var u=i(55),f=i(33),r=i(464)("IE_PROTO"),e=Object.prototype;n.exports=Object.getPrototypeOf||function(n){return n=f(n),u(n,r)?n[r]:"function"==typeof n.constructor&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?e:null}},function(n,t,i){"use strict";var o;if(i(20)){var ft=i(106),b=i(9),f=i(17),r=i(2),k=i(478),pt=i(921),nr=i(68),wt=i(166),tr=i(109),e=i(53),et=i(165),ir=i(107),d=i(24),bt=i(922),kt=i(160),dt=i(75),v=i(55),gt=i(171),c=i(11),ni=i(33),rr=i(458),ur=i(162),fr=i(77),ot=i(115).f,er=i(460),ti=i(110),ii=i(18),h=i(170),ri=i(461),st=i(174),ht=i(462),or=i(161),sr=i(439),hr=i(164),cr=i(455),lr=i(899),ui=i(23),fi=i(56),y=ui.f,ar=fi.f,p=b.RangeError,ei=b.TypeError,l=b.Uint8Array,s=Array.prototype,ct=pt.ArrayBuffer,vr=pt.DataView,oi=h(0),yr=h(2),pr=h(3),wr=h(4),br=h(5),kr=h(6),dr=ri(!0),gr=ri(!1),nu=ht.values,tu=ht.keys,iu=ht.entries,ru=s.lastIndexOf,uu=s.reduce,fu=s.reduceRight,si=s.join,eu=s.sort,hi=s.slice,w=s.toString,lt=s.toLocaleString,at=ii("iterator"),g=ii("toStringTag"),ci=ti("typed_constructor"),nt=ti("def_constructor"),li=k.CONSTR,a=k.TYPED,ou=k.VIEW,su=h(1,function(n,t){return it(st(n,n[nt]),t)}),ai=f(function(){return 1===new l(new Uint16Array([1]).buffer)[0]}),hu=!!l&&!!l.prototype.set&&f(function(){new l(1).set({})}),tt=function(n,t){var i=ir(n);if(i<0||i%t)throw p("Wrong offset!");return i},u=function(n){if(c(n)&&a in n)return n;throw ei(n+" is not a typed array!");},it=function(n,t){if(!c(n)||!(ci in n))throw ei("It is not a typed array constructor!");return new n(t)},vi=function(n,t){return vt(st(n,n[nt]),t)},vt=function(n,t){for(var i=0,r=t.length,u=it(n,r);r>i;)u[i]=t[i++];return u},rt=function(n,t,i){y(n,t,{get:function(){return this._d[i]}})},yt=function(n){var t,u,f,e,s,h,i=ni(n),c=arguments.length,r=c>1?arguments[1]:void 0,l=void 0!==r,o=er(i);if(null!=o&&!rr(o)){for(h=o.call(i),f=[],t=0;!(s=h.next()).done;t++)f.push(s.value);i=f}for(l&&c>2&&(r=nr(r,arguments[2],2)),t=0,u=d(i.length),e=it(this,u);u>t;t++)e[t]=l?r(i[t],t):i[t];return e},cu=function(){for(var n=0,t=arguments.length,i=it(this,t);t>n;)i[n]=arguments[n++];return i},lu=!!l&&f(function(){lt.call(new l(1))}),yi=function(){return lt.apply(lu?hi.call(u(this)):u(this),arguments)},pi={copyWithin:function(n,t){return lr.call(u(this),n,t,arguments.length>2?arguments[2]:void 0)},every:function(n){return wr(u(this),n,arguments.length>1?arguments[1]:void 0)},fill:function(){return cr.apply(u(this),arguments)},filter:function(n){return vi(this,yr(u(this),n,arguments.length>1?arguments[1]:void 0))},find:function(n){return br(u(this),n,arguments.length>1?arguments[1]:void 0)},findIndex:function(n){return kr(u(this),n,arguments.length>1?arguments[1]:void 0)},forEach:function(n){oi(u(this),n,arguments.length>1?arguments[1]:void 0)},indexOf:function(n){return gr(u(this),n,arguments.length>1?arguments[1]:void 0)},includes:function(n){return dr(u(this),n,arguments.length>1?arguments[1]:void 0)},join:function(){return si.apply(u(this),arguments)},lastIndexOf:function(){return ru.apply(u(this),arguments)},map:function(n){return su(u(this),n,arguments.length>1?arguments[1]:void 0)},reduce:function(){return uu.apply(u(this),arguments)},reduceRight:function(){return fu.apply(u(this),arguments)},reverse:function(){for(var i,n=u(this).length,r=Math.floor(n/2),t=0;t<r;)i=this[t],this[t++]=this[--n],this[n]=i;return this},some:function(n){return pr(u(this),n,arguments.length>1?arguments[1]:void 0)},sort:function(n){return eu.call(u(this),n)},subarray:function(n,t){var i=u(this),r=i.length,f=kt(n,r);return new(st(i,i[nt]))(i.buffer,i.byteOffset+f*i.BYTES_PER_ELEMENT,d((void 0===t?r:kt(t,r))-f))}},wi=function(n,t){return vi(this,hi.call(u(this),n,t))},bi=function(n){u(this);var i=tt(arguments[1],1),e=this.length,r=ni(n),f=d(r.length),t=0;if(f+i>e)throw p("Wrong length!");for(;t<f;)this[i+t]=r[t++]},ut={entries:function(){return iu.call(u(this))},keys:function(){return tu.call(u(this))},values:function(){return nu.call(u(this))}},ki=function(n,t){return c(n)&&n[a]&&"symbol"!=typeof t&&t in n&&String(+t)==String(t)},di=function(n,t){return ki(n,t=dt(t,!0))?tr(2,n[t]):ar(n,t)},gi=function(n,t,i){return!(ki(n,t=dt(t,!0))&&c(i)&&v(i,"value"))||v(i,"get")||v(i,"set")||i.configurable||v(i,"writable")&&!i.writable||v(i,"enumerable")&&!i.enumerable?y(n,t,i):(n[t]=i.value,n)};li||(fi.f=di,ui.f=gi);r(r.S+r.F*!li,"Object",{getOwnPropertyDescriptor:di,defineProperty:gi});f(function(){w.call({})})&&(w=lt=function(){return si.call(this)});o=et({},pi);et(o,ut);e(o,at,ut.values);et(o,{slice:wi,set:bi,constructor:function(){},toString:w,toLocaleString:yi});rt(o,"buffer","b");rt(o,"byteOffset","o");rt(o,"byteLength","l");rt(o,"length","e");y(o,g,{get:function(){return this[a]}});n.exports=function(n,t,i,u){var h=n+((u=!!u)?"Clamped":"")+"Array",lt="get"+n,pt="set"+n,s=b[h],v=s||{},et=s&&fr(s),kt=!s||!k.ABV,st={},l=s&&s.prototype,dt=function(n,i){y(n,i,{get:function(){return function(n,i){var r=n._d;return r.v[lt](i*t+r.o,ai)}(this,i)},set:function(n){return function(n,i,r){var f=n._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r);f.v[pt](i*t+f.o,r,ai)}(this,i,n)},enumerable:!0})};kt?(s=i(function(n,i,r,u){var v,f,o,b,w,l,y;if(wt(n,s,h,"_d"),w=0,l=0,c(i)){if(!(i instanceof ct||"ArrayBuffer"==(b=gt(i))||"SharedArrayBuffer"==b))return a in i?vt(s,i):yt.call(s,i);if(v=i,l=tt(r,t),y=i.byteLength,void 0===u){if(y%t)throw p("Wrong length!");if((f=y-l)<0)throw p("Wrong length!");}else if((f=d(u)*t)+l>y)throw p("Wrong length!");o=f/t}else o=bt(i),v=new ct(f=o*t);for(e(n,"_d",{b:v,o:l,l:f,e:o,v:new vr(v)});w<o;)dt(n,w++)}),l=s.prototype=ur(o),e(l,"constructor",s)):f(function(){s(1)})&&f(function(){new s(-1)})&&sr(function(n){new s;new s(null);new s(1.5);new s(n)},!0)||(s=i(function(n,i,r,u){var f;return wt(n,s,h),c(i)?i instanceof ct||"ArrayBuffer"==(f=gt(i))||"SharedArrayBuffer"==f?void 0!==u?new v(i,tt(r,t),u):void 0!==r?new v(i,tt(r,t)):new v(i):a in i?vt(s,i):yt.call(s,i):new v(bt(i))}),oi(et!==Function.prototype?ot(v).concat(ot(et)):ot(v),function(n){n in s||e(s,n,v[n])}),s.prototype=l,ft||(l.constructor=s));var it=l[at],rt=!!it&&("values"==it.name||null==it.name),ht=ut.values;e(s,ci,!0);e(l,a,h);e(l,ou,!0);e(l,nt,s);(u?new s(1)[g]==h:g in l)||y(l,g,{get:function(){return h}});st[h]=s;r(r.G+r.W+r.F*(s!=v),st);r(r.S,h,{BYTES_PER_ELEMENT:t});r(r.S+r.F*f(function(){v.of.call(s,1)}),h,{from:yt,of:cu});"BYTES_PER_ELEMENT"in l||e(l,"BYTES_PER_ELEMENT",t);r(r.P,h,pi);hr(h);r(r.P+r.F*hu,h,{set:bi});r(r.P+r.F*!rt,h,ut);ft||l.toString==w||(l.toString=w);r(r.P+r.F*f(function(){new s(1).slice()}),h,{slice:wi});r(r.P+r.F*(f(function(){return[1,2].toLocaleString()!=new s([1,2]).toLocaleString()})||!f(function(){l.toLocaleString.call([1,2])})),h,{toLocaleString:yi});or[h]=rt?it:ht;ft||rt||e(l,at,ht)}}else n.exports=function(){}},function(n,t,i){"use strict";var u=i(480),f=i(930),e=i(1092),r=i(481);(n.exports=function(n,t){var e,o,s,i,h;return arguments.length<2||"string"!=typeof n?(i=t,t=n,n=null):i=arguments[2],null==n?(e=s=!0,o=!1):(e=r.call(n,"c"),o=r.call(n,"e"),s=r.call(n,"w")),h={value:t,configurable:e,enumerable:o,writable:s},i?u(f(i),h):h}).gs=function(n,t,i){var s,h,o,c;return"string"!=typeof n?(o=i,i=t,t=n,n=null):o=arguments[3],null==t?t=void 0:e(t)?null==i?i=void 0:e(i)||(o=i,i=void 0):(o=t,t=i=void 0),null==n?(s=!0,h=!1):(s=r.call(n,"c"),h=r.call(n,"e")),c={get:t,set:i,configurable:s,enumerable:h},o?u(f(o),c):c}},function(n,t,i){function r(n){var i=-1,r=null==n?0:n.length,t;for(this.clear();++i<r;)t=n[i],this.set(t[0],t[1])}var u=i(495),f=i(496),e=i(497),o=i(498),s=i(499);r.prototype.clear=u;r.prototype.delete=f;r.prototype.get=e;r.prototype.has=o;r.prototype.set=s;n.exports=r},function(n,t,i){var r=i(118);n.exports=function(n,t){for(var i=n.length;i--;)if(r(n[i][0],t))return i;return-1}},function(n,t,i){var r=i(122);n.exports=function(n,t,i){var u=null==n?void 0:r(n,t);return void 0===u?i:u}},function(n,t,i){var r=i(510),u="object"==typeof self&&self&&self.Object===Object&&self,f=r||u||Function("return this")();n.exports=f},function(n){n.exports=function(n,t){for(var i=-1,r=null==n?0:n.length,u=Array(r);++i<r;)u[i]=t(n[i],i,n);return u}},function(n){n.exports=function(n){return n}},function(n){n.exports=function(){return!1}},function(n){n.exports=function(n){var t=[],i;if(null!=n)for(i in Object(n))t.push(i);return t}},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.nameofFactory=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=function(){return function(n){return n}};t.nameofFactory=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"nameofFactory","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\nameofFactory.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function b(n){var t,i,e,r,f;if(n&&n.__esModule)return n;if(null===n||"object"!==u(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(f=e?Object.getOwnPropertyDescriptor(n,r):null,f&&(f.get||f.set)?Object.defineProperty(i,r,f):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function k(n){return n&&n.__esModule?n:{"default":n}}function u(n){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function g(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function tt(n){var t=ut();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),it(this,i)}}function it(n,t){return!t||"object"!==u(t)&&"function"!=typeof t?rt(n):t}function rt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ut(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;var e=k(i(13)),r=b(i(1)),p=i(366),w=i(367),o;i(557);o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;o&&o(n);var et="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},v=function(){var n=function(n){function t(n){var r,s,o,f;return d(this,t),(r=i.call(this,n)).buildParentRefs=function(n,t){var i,u;n.Breadcrumb=t;i=e.default(t);i.PageName.push(n.Name);i.PageUrl.push(n.Url);u={PageName:i.PageName,PageUrl:i.PageUrl};n.Children&&n.Children.length&&n.Children.forEach(function(n){r.buildParentRefs(n,u)})},r.findDeepMenuItem=function(n,t){var i,f;if(n.hasOwnProperty("Id")&&n.Id==t)return n;for(i=0;i<Object.keys(n).length;i++)if("object"==u(n[Object.keys(n)[i]])&&(f=r.findDeepMenuItem(n[Object.keys(n)[i]],t),null!=f))return f;return null},r.addChildrenToTree=function(n,t){var i=e.default(r.state.tree),u=r.findDeepMenuItem(i,t);u&&(u.Children=n,r.buildParentRefs(i,{PageName:[],PageUrl:[]}),r.setState(function(){return{tree:i}}))},r.clickPreviousLevel=function(){var n=r.findDeepMenuItem(r.state.tree,r.state.activeMenuItem.ParentId);r.setActiveMenuItem(n,!0)},r.clickHome=function(){r.setActiveMenuItem(r.state.tree,!0)},r.setActiveMenuItem=function(n,t){r.setState(function(){return{activeMenuItem:n,isNavigatingBackwards:t,isStartPage:null===n||n.Id===r.props.startPageId}})},s=r.props.isStartPage,o=e.default(r.props.treeNodes),r.buildParentRefs(o,{PageName:[],PageUrl:[]}),f=r.findDeepMenuItem(o,r.props.currentPageId),null===f&&(f=o,s=!0),!f.HasChildren&&r.props.highlightCurrentPage&&(f.IsCurrentPage=!0,s=1===(f=r.findDeepMenuItem(o,f.ParentId)).PageTreeDepth),r.state={activeMenuItem:f,isStartPage:s,tree:o,isNavigatingBackwards:!1},r}nt(t,n);var i=tt(t);return g(t,[{key:"render",value:function(){return r.createElement("nav",{className:"mobile-menu","aria-label":"Hierarkisk navigationsmeny för hela webbplatsen"},(!this.props.hideHeaderOnStartPage||1!==this.state.activeMenuItem.PageTreeDepth)&&r.createElement(p.MobileMenuHeader,{homeTriggeredCallback:this.clickHome,previousLevelTriggeredCallback:this.clickPreviousLevel,isStartPage:this.state.isStartPage,activeMenuItem:this.state.activeMenuItem,isCampaignPage:this.props.isCampaignPage}),r.createElement(w.MobileMenuSlider,{language:this.props.language,activeMenuItem:this.state.activeMenuItem,isNavigatingBackwards:this.state.isNavigatingBackwards,setActiveMenuItemCallback:this.setActiveMenuItem,addChildrenToTreeCallback:this.addChildrenToTree,isStartPage:this.state.isStartPage}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={isCampaignPage:!1},n}(),y=v,ft=y,f,h;t.default=ft;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;f&&(f.register(v,"MobileMenu","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MobileMenu\\MobileMenu.tsx"),f.register(y,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MobileMenu\\MobileMenu.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(119);n.exports=function(n,t){return r(n,t)}},function(n,t,i){"use strict";var r,u,f,e,o,s,h,c,l,a;Object.defineProperty(t,"__esModule",{value:!0});r=i(624);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(625);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(92);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(377);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});o=i(627);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[n]}})});s=i(628);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return s[n]}})});h=i(629);Object.keys(h).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return h[n]}})});c=i(630);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return c[n]}})});l=i(632);Object.keys(l).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return l[n]}})});a=i(633);Object.keys(a).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return a[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function nt(n){return n&&n.__esModule?n:{"default":n}}function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function tt(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function s(){return(s=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function v(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function u(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?v(Object(i),!0).forEach(function(t){it(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):v(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function it(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function rt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ut(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function ft(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function et(n){var t=ht();return function(){var i,r=h(n),u;return t?(u=h(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ot(this,i)}}function ot(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?st(n):t}function st(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ht(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function h(n){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.TextInput=void 0;var r=tt(i(1)),l=i(4),k=i(26),d=nt(i(626)),g=i(138),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);var ct="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},w="",b=function(){var n=function(n){function t(n){var f;rt(this,t);(f=i.call(this,n)).componentDidUpdate=function(n){var t=f.props.referenceValue;n.referenceValue!==t&&f.setState({referenceValue:t})};f.getMaxLengthInfoByLanguage=function(){var n;switch(f.props.maxLengthMessageLanguage){case"sv":n=f._maxLengthMsgSv;break;case"en":n=f._maxLengthMsgEn;break;default:n=f._maxLengthMsgSv}return r.default.createElement(g.InputInfo,{infoText:n})};f.onBlur=function(n){var t=f.props,r=t.pattern,e=t.patternMessage,o=t.referenceValue,s=n.target.value,i=u(u({},f.state),{},{value:s,isTouched:!0,pattern:r,patternMessage:e,referenceValue:o});f.props.changeOnBlur&&f.props.onChange(i);f.props.onBlur(n);f.setState(i)};f.onFocus=function(){f.props.actAsNumber&&"0"===f.state.value&&document.getElementById(f._id).setSelectionRange(0,f.state.value.length)};f.onChangeValue=function(n){var t=n.target.value,i,r;t!==f._latestValue&&(f.props.actAsNumber&&(t=f.formatInput(t)),f._latestValue=t,i=!1,t.length===f.props.maxLength&&(i=!0),r=u(u({},f.state),{},{value:t,isTouched:!0,showMaxLengthMessage:i,referenceValue:f.props.referenceValue}),f.props.changeOnBlur||f.props.onChange(r),f.setState(r))};f.formatInput=function(n){return d.default(parseInt(n.replace(/\D/g,""),10)," ")};f._id=n.id||l.hashCode(n.fieldName,"textInput");f._errorId=l.hashCode(n.id||n.fieldName,"error");var o=n.fieldName,s=n.value,h=n.isRequired,c=n.label,a=n.isTouched,v=n.referenceValue,e=!1;return void 0!==n.value?(f._latestValue=s,null!==n.value&&(e=n.value.length===n.maxLength)):f._latestValue=w,f.state={value:f._latestValue,fieldName:o,isRequired:h,label:c,isTouched:a,errorMessage:"",showMaxLengthMessage:e,referenceValue:v},f}ft(t,n);var i=et(t);return ut(t,[{key:"render",value:function(){var n=this.props,f=n.multiline,i=n.label,u=n.additionalText,e=(n.maxLength,n.labelClass),o=n.ariaLabelHidden,s=n.referenceValue,t=this._errorMessage,h=t?"has-error":"";return r.default.createElement("div",{className:"sos-textinput ".concat(h),"data-referencevalue":s},i&&r.default.createElement("label",{htmlFor:this._id,"aria-hidden":o,className:e},i),u&&r.default.createElement("div",{className:"form-group-xxs-small"},u),f?this.renderTextArea():this.renderTextInput(),this.state.showMaxLengthMessage&&this.getMaxLengthInfoByLanguage(),t&&r.default.createElement(k.InputError,{delayRender:0,id:this._errorId,errorText:t}))}},{key:"renderTextInput",value:function(){var n=this.props,t=n.minLength,i=n.maxLength,u=(n.pattern,n.type),f=n.fieldName,e=n.placeholder,o=n.isRequired,h=n.classNames,c=n.max,l=n.min,a=n.disabled,v=n.readonly,y=n.hidden,p=n.autoComplete,w=(n.isWrappedByControlledElement?this.props.value:this.state.value)||"";return r.default.createElement("input",s({type:u,id:this._id,name:f,value:w,onChange:this.onChangeValue,onBlur:this.onBlur,onFocus:this.onFocus,placeholder:e,minLength:t,maxLength:i,max:c,min:l,required:o,disabled:a,readOnly:v,hidden:y,className:"form-control ".concat(h),autoComplete:p},this._ariaAttributes))}},{key:"renderTextArea",value:function(){var n=this.props,t=n.minLength,i=n.maxLength,u=(n.pattern,n.fieldName),f=n.placeholder,e=n.isRequired,o=n.classNames,h=n.disabled,c=n.readonly,l=n.autoComplete,a=(n.isWrappedByControlledElement?this.props.value:this.state.value)||"";return r.default.createElement("textarea",s({id:this._id,name:u,value:a,onChange:this.onChangeValue,placeholder:f,onBlur:this.onBlur,onFocus:this.onFocus,required:e,minLength:t,maxLength:i,disabled:h,readOnly:c,autoComplete:l,className:"form-control ".concat(o)},this._ariaAttributes))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}},{key:"_maxLengthMsgSv",get:function(){return"Du kan ange max ".concat(this.props.actAsNumber?this.state.value.replace(/\D/g,"").length+" siffror":this.props.maxLength+" tecken")}},{key:"_maxLengthMsgEn",get:function(){return"You are allowed a maximum of ".concat(this.props.actAsNumber?this.state.value.replace(/\D/g,"").length+" digits":this.props.maxLength+" characters")}},{key:"_errorMessage",get:function(){var n=this.state.errorMessage;return!n&&this.props.errorMessage&&(n=this.props.errorMessage),n}},{key:"_ariaAttributes",get:function(){var n=this.props,t=n.errorAriaAttributes,i=n.errorMessage;return t||(i?{"aria-invalid":!0,"aria-describedby":this._errorId}:{})}}]),t}(r.Component);return n.defaultProps={fieldName:"",value:"",isRequired:!1,changeOnBlur:!0,errorMessage:"",showMaxLengthMessage:!1,type:"text",classNames:"",disabled:!1,readonly:!1,actAsNumber:!1,isTouched:!1,hidden:!1,isWrappedByControlledElement:!1,referenceValue:null,maxLengthMessageLanguage:"sv",onChange:function(){},onBlur:function(){}},n}(),f,c;t.TextInput=b;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;f&&(f.register(w,"DEFAULT_STATE_VALUE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\TextInput.tsx"),f.register(b,"TextInput","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\TextInput.tsx"));c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";var r,u,f,e,o,s,h,c,l,a,v;Object.defineProperty(t,"__esModule",{value:!0});r=i(635);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(636);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(637);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(380);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});o=i(638);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[n]}})});s=i(639);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return s[n]}})});h=i(640);Object.keys(h).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return h[n]}})});c=i(641);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return c[n]}})});l=i(642);Object.keys(l).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return l[n]}})});a=i(643);Object.keys(a).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return a[n]}})});v=i(644);Object.keys(v).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return v[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function e(n){return{type:"ERROR_EVENT",payload:n}}function r(n){return{type:"REMOVE_ERROR_EVENT",payload:n}}function o(n){return function(t){return n(r(t.fieldName))}}function s(n){return{type:"DIALOGUE_ERROR",payload:n}}var u,i,f;Object.defineProperty(t,"__esModule",{value:!0});t.errorEvent=e;t.removeErrorEvent=r;t.clearErrorDispatcher=o;t.dialogueError=s;t.DIALOGUE_ERROR=t.REMOVE_ERROR_EVENT=t.ERROR_EVENT=void 0;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&u(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.ERROR_EVENT="ERROR_EVENT";t.REMOVE_ERROR_EVENT="REMOVE_ERROR_EVENT";t.DIALOGUE_ERROR="DIALOGUE_ERROR";(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register("ERROR_EVENT","ERROR_EVENT","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\errors.actions.ts"),i.register("REMOVE_ERROR_EVENT","REMOVE_ERROR_EVENT","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\errors.actions.ts"),i.register("DIALOGUE_ERROR","DIALOGUE_ERROR","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\errors.actions.ts"),i.register(e,"errorEvent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\errors.actions.ts"),i.register(r,"removeErrorEvent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\errors.actions.ts"),i.register(o,"clearErrorDispatcher","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\errors.actions.ts"),i.register(s,"dialogueError","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\errors.actions.ts"));(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function h(){return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"header"},r.default.createElement("h2",null,"Inaktivitet")),r.default.createElement("p",null,"Du har blivit utloggad på grund av inaktivitet."))}function c(n){return{body:h(),type:"TIMEOUT_TYPE",buttons:[{text:"Ok",cssClassNames:"button",redirectUrl:n}]}}function l(){return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"header"},r.default.createElement("h2",null,"Max beställningar per dygn")),r.default.createElement("p",null,"Du har uppnått max antal beställningar man får göra per dygn."))}function a(){return{body:l(),buttons:[{text:"Ok",cssClassNames:"button"}]}}function v(){return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"header"},r.default.createElement("h2",null,"Ogiltig session")),r.default.createElement("p",null,"Din session har blivit ogiltig och du loggas ut."))}function y(n){return{body:v(),type:"TIMEOUT_TYPE",buttons:[{text:"Ok",cssClassNames:"button",redirectUrl:n}]}}function e(n){return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"header"},r.default.createElement("h2",null,"Ett oväntat fel har inträffat")),r.default.createElement("p",null,"Du kan stänga ner formuläret eller avbryta och försöka spara igen om en stund."),n&&r.default.createElement(r.default.Fragment,null,r.default.createElement("p",null,"Om felet kvarstår kan du kontakta Socialstyrelsen och ange följande felkod:"),r.default.createElement("div",{className:"error-code"},n)))}function p(n,t){return{body:e(t),buttons:[{text:"Stäng",cssClassNames:"button button--white",redirectUrl:n},{text:"Avbryt",cssClassNames:"button",redirectUrl:null}]}}function w(n){return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"header"},r.default.createElement("h2",null,"Ett oväntat fel har inträffat")),r.default.createElement("p",null,"Du kan avbryta och försöka spara och stänga igen om en stund."),n&&r.default.createElement(r.default.Fragment,null,r.default.createElement("p",null,"Om felet kvarstår kan du kontakta Socialstyrelsen och ange följande felkod:"),r.default.createElement("div",{className:"error-code"},n)))}function b(n,t){return{body:w(t),buttons:[{text:"Stäng ändå",cssClassNames:"button button--white",redirectUrl:n},{text:"Avbryt",cssClassNames:"button",redirectUrl:null}]}}function k(n){return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"header"},r.default.createElement("h2",null,"Ett oväntat fel har inträffat")),r.default.createElement("p",null,"Försök skicka in beställningen igen om en stund. Eller välj spara och stäng och skicka in beställningen vid ett senare tillfälle."),n&&r.default.createElement(r.default.Fragment,null,r.default.createElement("p",null,"Om felet kvarstår kan du kontakta Socialstyrelsen och ange följande felkod:"),r.default.createElement("div",{className:"error-code"},n)))}function d(n){return{body:k(n),buttons:[{text:"Spara och stäng",cssClassNames:"button button--white",action:tt.ESERVICE_MENU_SAVE_CLOSE},{text:"Ok",cssClassNames:"button",redirectUrl:null}]}}function g(n){return{body:nt(n),buttons:[{text:"Stäng",cssClassNames:"button",redirectUrl:null}]}}function nt(n){return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"header"},r.default.createElement("h2",null,"Ett oväntat fel har inträffat")),r.default.createElement("p",null,"Du kan stänga ner denna dialogruta och testa igen om en stund."),n&&r.default.createElement(r.default.Fragment,null,r.default.createElement("p",null,"Om felet kvarstår kan du kontakta Socialstyrelsen och ange följande felkod:"),r.default.createElement("div",{className:"error-code"},n)))}Object.defineProperty(t,"__esModule",{value:!0});t.getErrorBodyVipSPSessionTimeout=c;t.getErrorBodyNoOfOrdersTodayReached=a;t.getErrorBodyJwtTokenTimeout=y;t.getErrorBodyApiErrorOnSaveJsx=e;t.getErrorBodyApiErrorOnSave=p;t.getErrorBodyApiErrorOnSaveClose=b;t.getErrorBodyApiErrorOnSend=d;t.getErrorBodyOpenFormApiError=g;t.TIMEOUT_TYPE=void 0;var f,o,u,s,r=(f=i(1))&&f.__esModule?f:{"default":f},tt=i(46);(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.TIMEOUT_TYPE="TIMEOUT_TYPE";(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register("TIMEOUT_TYPE","TIMEOUT_TYPE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(h,"getErrorBodyVipSPSessionTimeoutJsx","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(c,"getErrorBodyVipSPSessionTimeout","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(l,"getErrorBodyNoOfOrdersTodayReachedJsx","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(a,"getErrorBodyNoOfOrdersTodayReached","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(v,"getErrorBodyJwtTokenTimeoutJsx","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(y,"getErrorBodyJwtTokenTimeout","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(e,"getErrorBodyApiErrorOnSaveJsx","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(p,"getErrorBodyApiErrorOnSave","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(w,"getErrorBodyApiErrorOnSaveCloseJsx","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(b,"getErrorBodyApiErrorOnSaveClose","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(k,"getErrorBodyApiErrorOnSendJsx","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(d,"getErrorBodyApiErrorOnSend","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(g,"getErrorBodyOpenFormApiError","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"),u.register(nt,"getErrorBodyApiErrorOpenFormJsx","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\dialogueErrorBodies.tsx"));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n){return{type:"SET_VALIDATION_RESULTS",payload:n}}function e(){return{type:"DO_VALIDATE"}}var r,i,u;Object.defineProperty(t,"__esModule",{value:!0});t.setValidationResults=f;t.doValidate=e;t.DO_VALIDATE=t.SET_VALIDATION_RESULTS=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.SET_VALIDATION_RESULTS="SET_VALIDATION_RESULTS";t.DO_VALIDATE="DO_VALIDATE";(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register("SET_VALIDATION_RESULTS","SET_VALIDATION_RESULTS","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\validationResults.action.ts"),i.register(f,"setValidationResults","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\validationResults.action.ts"),i.register("DO_VALIDATE","DO_VALIDATE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\validationResults.action.ts"),i.register(e,"doValidate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\validationResults.action.ts"));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==s(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=h(n),u;return t?(u=h(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==s(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function h(n){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,a,o,rt,c,f,e,u,l;Object.defineProperty(t,"__esModule",{value:!0});t.PlusMinusClassName=t.BaseClassName=t.Expander=void 0;r=w(i(1));a=i(3);o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;o&&o(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};c=function(){var n=function(n){function t(){return b(this,t),i.apply(this,arguments)}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){var n=this.props,i=n.cssClass,u=n.isExpanded,t=n.icon,o=n.heading,s=n.children,h={className:"".concat(f," ").concat(i),open:u};return r.createElement("details",h,r.createElement("summary",null,t&&r.createElement(a.Icon,{iconType:t}),o,r.createElement("span",{className:"".concat(e),"aria-hidden":"true"})),r.createElement("div",{className:"expand-block__content"},s))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.PureComponent);return n.defaultProps={cssClass:""},n}();t.Expander=c;f="expand-block";t.BaseClassName=f;e="expand-block__plusminus";t.PlusMinusClassName=e;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(c,"Expander","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Expander\\Expander.tsx"),u.register(f,"BaseClassName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Expander\\Expander.tsx"),u.register(e,"PlusMinusClassName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Expander\\Expander.tsx"));l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DEPRECATED_CONFIG_PROPS=t.defaultProps=t.propTypes=void 0;var l,s=(l=i(734))&&l.__esModule?l:{"default":l},e=s.default.string,r=s.default.bool,h=s.default.number,a=s.default.array,c=s.default.oneOfType,o=s.default.shape,f=s.default.object,u=s.default.func,v=s.default.node,y={url:c([e,a,f]),playing:r,loop:r,controls:r,volume:h,muted:r,playbackRate:h,width:c([e,h]),height:c([e,h]),style:f,progressInterval:h,playsinline:r,pip:r,light:c([r,e]),playIcon:v,wrapper:c([e,u,o({render:u.isRequired})]),config:o({soundcloud:o({options:f,preload:r}),youtube:o({playerVars:f,embedOptions:f,preload:r}),facebook:o({appId:e,version:e,playerId:e}),dailymotion:o({params:f,preload:r}),vimeo:o({playerOptions:f,preload:r}),file:o({attributes:f,tracks:a,forceVideo:r,forceAudio:r,forceHLS:r,forceDASH:r,hlsOptions:f,hlsVersion:e,dashVersion:e}),wistia:o({options:f}),mixcloud:o({options:f}),twitch:o({options:f,playerId:e})}),onReady:u,onStart:u,onPlay:u,onPause:u,onBuffer:u,onBufferEnd:u,onEnded:u,onError:u,onDuration:u,onSeek:u,onProgress:u,onEnablePIP:u,onDisablePIP:u};t.propTypes=y;t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,light:!1,wrapper:"div",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},preload:!1},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null},dailymotion:{params:{api:1,"endscreen-enable":!1},preload:!1},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},preload:!1},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,hlsOptions:{},hlsVersion:"0.13.1",dashVersion:"2.9.2"},wistia:{options:{}},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null}},onReady:function(){},onStart:function(){},onPlay:function(){},onPause:function(){},onBuffer:function(){},onBufferEnd:function(){},onEnded:function(){},onError:function(){},onDuration:function(){},onSeek:function(){},onProgress:function(){},onEnablePIP:function(){},onDisablePIP:function(){}};t.DEPRECATED_CONFIG_PROPS=["soundcloudConfig","youtubeConfig","facebookConfig","dailymotionConfig","vimeoConfig","fileConfig","wistiaConfig"]},function(n){n.exports="function"==typeof Object.create?function(n,t){n.super_=t;n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:function(n,t){n.super_=t;var i=function(){};i.prototype=t.prototype;n.prototype=new i;n.prototype.constructor=n}},function(n){n.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(n){return"tag"===n.type||"script"===n.type||"style"===n.type}}},function(n,t,i){var r=i(124),u=0;n.exports=function(n){var t=++u;return r(n)+t}},function(n,t,i){var r=i(39),u=i(836),f=Object.prototype.hasOwnProperty,e=u(function(n,t,i){f.call(n,i)?n[i].push(t):r(n,i,[t])});n.exports=e},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function v(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function b(n){var t=g();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,nt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r=v(i(1));i(860);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(){return y(this,t),i.apply(this,arguments)}w(t,n);var i=b(t);return p(t,[{key:"render",value:function(){return r.createElement("div",{className:"hide-compare__wrapper"},r.createElement("div",{className:"hide-compare__container"},r.createElement("span",{className:"futura-font"},"För att säkerställa att personuppgifter inte röjs visas inte uppgifter som kan peka ut ett lågt patientantal.")))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.default=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"HiddenCompareChartText","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\hiddenCompareChartText\\hiddenCompareChartText.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n){"use strict";n.exports=function(n,t,i,r,u,f,e,o){var s,h,c;if(!n){void 0===t?s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."):(h=[i,r,u,f,e,o],c=0,(s=new Error(t.replace(/%s/g,function(){return h[c++]}))).name="Invariant Violation");throw s.framesToPop=1,s;}}},function(n){var t=n.exports={version:"2.6.11"};"number"==typeof __e&&(__e=t)},function(n){n.exports=!1},function(n){var t=Math.ceil,i=Math.floor;n.exports=function(n){return isNaN(n=+n)?0:(n>0?i:t)(n)}},function(n,t,i){var r=i(110)("meta"),o=i(11),f=i(55),s=i(23).f,h=0,u=Object.isExtensible||function(){return!0},c=!i(17)(function(){return u(Object.preventExtensions({}))}),e=function(n){s(n,r,{value:{i:"O"+ ++h,w:{}}})},l=n.exports={KEY:r,NEED:!1,fastKey:function(n,t){if(!o(n))return"symbol"==typeof n?n:("string"==typeof n?"S":"P")+n;if(!f(n,r)){if(!u(n))return"F";if(!t)return"E";e(n)}return n[r].i},getWeak:function(n,t){if(!f(n,r)){if(!u(n))return!0;if(!t)return!1;e(n)}return n[r].w},onFreeze:function(n){return c&&l.NEED&&u(n)&&!f(n,r)&&e(n),n}}},function(n){n.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},function(n){var t=0,i=Math.random();n.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++t+i).toString(36))}},function(n,t,i){var r=i(18)("unscopables"),u=Array.prototype;null==u[r]&&i(53)(u,r,{});n.exports=function(n){u[r][n]=!0}},function(n){var t={}.toString;n.exports=function(n){return t.call(n).slice(8,-1)}},function(n,t,i){var r=i(903),u=i(465);n.exports=Object.keys||function(n){return r(n,u)}},function(n,t,i){var r=i(11);n.exports=function(n,t){if(!r(n)||n._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return n}},function(n,t,i){var r=i(903),u=i(465).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(n){return r(n,u)}},function(n,t,i){var r=i(175),u=i(40);n.exports=function(n,t){return n&&r(n,t,u)}},function(n){n.exports=function(n,t){return function(i){return n(t(i))}}},function(n){n.exports=function(n,t){return n===t||n!=n&&t!=t}},function(n,t,i){var u=i(500),r=i(121);n.exports=function n(t,i,f,e,o){return t===i||(null==t||null==i||!r(t)&&!r(i)?t!=t&&i!=i:u(t,i,f,e,n,o))}},function(n){n.exports=function(){return!1}},function(n){n.exports=function(n){return null!=n&&"object"==typeof n}},function(n,t,i){var r=i(59),u=i(42);n.exports=function(n,t){for(var i=0,f=(t=r(t,n)).length;null!=n&&i<f;)n=n[u(t[i++])];if(i&&i==f)return n}},function(n,t,i){var r=i(10),u=i(41),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,e=/^\w*$/;n.exports=function(n,t){if(r(n))return!1;var i=typeof n;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=n&&!u(n))||e.test(n)||!f.test(n)||null!=t&&n in Object(t)}},function(n,t,i){var r=i(508);n.exports=function(n){return null==n?"":r(n)}},function(n,t,i){var r=i(190),u=i(187);n.exports=function(n){return null!=n&&u(n.length)&&!r(n)}},function(n,t,i){var r=i(39),u=i(118),f=Object.prototype.hasOwnProperty;n.exports=function(n,t,i){var e=n[t];f.call(n,t)&&u(e,i)&&(void 0!==i||t in n)||r(n,t,i)}},function(n,t,i){"use strict";(function(n){function f(n,t,i){if(!n.length)return"";var u=t.replace("/","/"),f=new RegExp("".concat(u,"$"),"ig"),r=n.filter(function(n){return n.Key.match(f)});return r.length?r[0].Value:i||""}function e(n){return function(t,i){return f(n,t,i)}}var r,i,u;Object.defineProperty(t,"__esModule",{value:!0});t.makeTranslator=e;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(f,"_translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\translations.ts"),i.register(e,"makeTranslator","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\translations.ts"));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function b(n){return n&&n.__esModule?n:{"default":n}}function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function k(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function g(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function tt(n){var t=ut();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),it(this,i)}}function it(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?rt(n):t}function rt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ut(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function p(n){return n.query}function w(n){return n.trim().length>2}var r,l,f,ft,s,h,u,c;Object.defineProperty(t,"__esModule",{value:!0});t.Search=void 0;r=k(i(1));l=b(i(559));i(573);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);ft="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){return r.createElement("span",{className:"search"},r.createElement("input",n),r.createElement("input",{"aria-label":"Sök",className:"search__button",type:"submit",value:""}))};h=function(n){function t(n){var u,f;return d(this,t),(u=i.call(this,n))._queue=[],u.componentDidMount=function(){var n,i=document.getElementById("react-autowhatever-search_siteheader"),r=document.getElementById("react-autowhatever-search_mobile-siteheader"),f=document.getElementById("react-autowhatever-searchpage"),t=document.querySelectorAll(".react-autosuggest__container");if(t)for(n=0;n<t.length;n++)u.findAncestor(t[n],".search-result__form")?(t[n].setAttribute("aria-controls","react-autowhatever-searchpage"),t[n].setAttribute("aria-labelledby","react-autowhatever-searchpage")):u.findAncestor(t[n],".siteheader__small")?(t[n].setAttribute("aria-controls","react-autowhatever-search_mobile-siteheader"),t[n].setAttribute("aria-labelledby","react-autowhatever-search_mobile-siteheader")):u.findAncestor(t[n],".siteheader__large")&&(t[n].setAttribute("aria-controls","react-autowhatever-search_siteheader"),t[n].setAttribute("aria-labelledby","react-autowhatever-search_siteheader")),t[n].removeAttribute("aria-owns");u._autoWhateverItems=[i,r,f];u.setAriaHiddenForEmptyDiv("true");u._autoWhateverItems.forEach(function(n){n&&(null==n||n.setAttribute("aria-label","Sökfunktion som kan ge sökförslag"))})},u.findAncestor=function(n,t){for(;(n=n.parentElement)&&!(n.matches||n.matchesSelector).call(n,t););return n},u.setAriaHiddenForEmptyDiv=function(n){u._autoWhateverItems.forEach(function(t){(null==t?void 0:t.getAttribute("aria-hidden"))!==n&&(null==t||t.removeAttribute("aria-hidden"),null==t||t.setAttribute("aria-hidden",n))})},u.getSuggestions=function(n,t){var i=n+"/_autocomplete?prefix="+encodeURIComponent(t.trim())+"&size=5";return fetch(i,{headers:{Accept:"application/json","Content-Type":"application/json"}}).then(function(n){return n.json()})},u.delay=function(n){return new Promise(function(t){var r=setTimeout(t,n),i;for(u._queue.push(r);u._queue.length>1;)i=u._queue.shift(),clearTimeout(i)})},u.onChange=function(n,t){var i=t.newValue;u.setState({value:i})},u.onSuggestionsFetchRequested=function(n){var t=n.value;u.delay(500).then(function(){u.getSuggestions(u.props.findUrl,t).then(function(n){u.setState({suggestions:n.hits},function(){u.state.suggestions.length>0&&u.setAriaHiddenForEmptyDiv("false")})})})},u.onSuggestionsClearRequested=function(){u.setState({suggestions:[]},function(){u.setAriaHiddenForEmptyDiv("true")})},u.componentDidUpdate=function(n){n.focus!==u.props.focus&&u.props.focus&&document.getElementById(u.props.searchId).focus()},u._labelRef=r.createRef(),f=n.value?n.value:"",u.state={value:f,suggestions:[]},u}nt(t,n);var i=tt(t);return g(t,[{key:"renderSuggestion",value:function(n){return n.query}},{key:"render",value:function(){var n=this.state,i=n.value,u=n.suggestions,t=this.props.searchId,f={placeholder:this.props.placeholder,value:i,onChange:this.onChange,id:t,className:"search__field",type:"search",name:"q","aria-label":"Sök"};return r.createElement("form",{action:this.props.searchPage,className:"search",role:"search","aria-label":"Sök inom hela webbplatsen"},r.createElement(l.default,{suggestions:u,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,getSuggestionValue:p,renderSuggestion:this.renderSuggestion,renderInputComponent:s,inputProps:f,shouldRenderSuggestions:w,id:t}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.Search=h;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(s,"renderInputComponent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Search\\Search.tsx"),u.register(p,"getSuggestionValue","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Search\\Search.tsx"),u.register(w,"shouldRenderSuggestions","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Search\\Search.tsx"),u.register(h,"Search","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Search\\Search.tsx"));c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t.default=function(n,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],e,v,s,p,h,w,l;if(n===t)return!1;if(e=Object.keys(n),v=Object.keys(t),e.length!==v.length)return!0;for(var y={},r=void 0,o=void 0,r=0,o=a.length;r<o;r++)y[a[r]]=!0;for(r=0,o=e.length;r<o;r++){var c=e[r],u=n[c],f=t[c];if(u!==f){if(!y[c]||null===u||null===f||"object"!==(void 0===u?"undefined":i(u))||"object"!==(void 0===f?"undefined":i(f))||(s=Object.keys(u),p=Object.keys(f),s.length!==p.length))return!0;for(h=0,w=s.length;h<w;h++)if(l=s[h],u[l]!==f[l])return!0}}return!1}},function(n,t,i){"use strict";n.exports={VelocityComponent:i(574),VelocityTransitionGroup:i(587),velocityHelpers:i(595)}},function(n,t,i){var r=i(194),u=i(60),f=i(575),e=i(10);n.exports=function(n,t){return(e(n)?r:u)(n,f(t))}},function(n,t,i){"use strict";var r,u;"undefined"==typeof window||"undefined"==typeof navigator||-1!==navigator.userAgent.indexOf("Node.js")||-1!==navigator.userAgent.indexOf("jsdom")?(r=function(){},(r.Utilities={}).removeData=function(){},r.velocityReactServerShim=!0,n.exports=r):(u=window.jQuery||window.Zepto||window,n.exports=u.Velocity?u.Velocity:i(586))},function(n,t,i){"use strict";function r(){var n=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=n&&this.setState(n)}function u(n){this.setState(function(t){var i=this.constructor.getDerivedStateFromProps(n,t);return null!=i?i:null}.bind(this))}function f(n,t){try{var i=this.props,r=this.state;this.props=n;this.state=t;this.__reactInternalSnapshotFlag=!0;this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(i,r)}finally{this.props=i;this.state=r}}function e(n){var t=n.prototype,s,h,c;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof n.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return n;var i=null,e=null,o=null;if("function"==typeof t.componentWillMount?i="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(i="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?e="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(e="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==i||null!==e||null!==o){s=n.displayName||n.name;h="function"==typeof n.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+h+" but also contains the following legacy lifecycles:"+(null!==i?"\n  "+i:"")+(null!==e?"\n  "+e:"")+(null!==o?"\n  "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");}if("function"==typeof n.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=u),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=f;c=t.componentDidUpdate;t.componentDidUpdate=function(n,t,i){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:i;c.call(this,n,t,r)}}return n}i.r(t);i.d(t,"polyfill",function(){return e});r.__suppressDeprecationWarning=!0;u.__suppressDeprecationWarning=!0;f.__suppressDeprecationWarning=!0},function(n,t,i){"use strict";(function(n){function h(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return h=function(){return n},n}function v(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=h(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&c(n.prototype,t),i&&c(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&l(n,t)}function l(n,t){return(l=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function b(n){var t=g();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,f;Object.defineProperty(t,"__esModule",{value:!0});t.Lazyloader=void 0;r=v(i(1));i(607);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},a=function(n){function t(n){var r;return y(this,t),(r=i.call(this,n)).highresImage={backgroundImage:"url(".concat(r.props.imageUrl,")")},r.lowresImage={backgroundImage:"url(".concat(r.props.imageUrl,"?w=600&quality=0)")},r.state={lowresLoaded:"",highresLoaded:"",highresImgSrc:"#",highresStyleValue:null},r}w(t,n);var i=b(t);return p(t,[{key:"componentDidMount",value:function(){var t=this,f=this.lazyloaderRef.offsetWidth,i=1,r,u,n;(void 0!==window.devicePixelRatio&&(i=window.devicePixelRatio)>3&&(i=3),this.props.isBackgroundImage)&&(r=new Image,r.src=this.props.imageUrl+"?w=600&quality=0",r.onload=function(){t.setState({lowresLoaded:"loaded"})});u=new Image;n="".concat(this.props.imageUrl,"?w=").concat(f*i,"&quality=90");u.onload=function(){t.setState({highresImgSrc:n,highresStyleValue:{backgroundImage:"url(".concat(n,")")}},function(){setTimeout(function(){t.setState({highresLoaded:"loaded"})},0)})};u.src=n}},{key:"render",value:function(){var i=this,n=this.props,e=n.isBackgroundImage,u=n.isInEditMode,o=n.lowresBase64,s=n.imageAltText,h=n.imageUrl,t=this.state,c=t.lowresLoaded,f=t.highresLoaded,l=t.highresStyleValue,a=t.highresImgSrc,v=s||"";return e?r.createElement("div",{className:"lazyloader lazyloader--background",ref:function(n){i.lazyloaderRef=n}},r.createElement("div",{className:"lazyloader__bgimage lazyloader__lowres ".concat(c),style:this.lowresImage}),r.createElement("div",{className:"lazyloader__bgimage lazyloader__highres ".concat(f),style:l})):r.createElement("div",{className:"lazyloader",ref:function(n){i.lazyloaderRef=n}},r.createElement("img",{className:"lazyloader__image lazyloader__lowres loaded",alt:"",src:o}),r.createElement("img",{className:"lazyloader__image lazyloader__highres ".concat(u?"loaded":""," ").concat(f),src:u?h:a,alt:v}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component),u,s;t.Lazyloader=a;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(940,"imageMaxWidth","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Lazyloader\\Lazyloader.tsx"),u.register(a,"Lazyloader","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Lazyloader\\Lazyloader.tsx"));s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;s&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.Notification=void 0;r=y(i(1));i(609);c=i(3);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n)).close=function(){r.setState({show:!1},function(){return r.props.onCloseCallback()})},r.state={show:!0},r}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return this.state.show&&r.createElement("div",{className:"notification notification--".concat(this.props.notificationType)},r.createElement("div",{className:"notification__status",role:"alert"}," ",this.props.notificationText),r.createElement("button",{"aria-label":"Stäng notisen",type:"button",className:"close",onClick:this.close},r.createElement(c.Icon,{isAriaHidden:!1,ariaLabel:"Stäng",iconType:"ic_close_white_24px"})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={onCloseCallback:function(){}},n}();t.Notification=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"Notification","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Notification\\Notification.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.Pagination=void 0;var r=p(i(1)),v=i(618),y=i(619),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return w(this,t),(u=i.call(this,n)).onPrevious=function(n){n.preventDefault();var t=u.props.activeStep-1;u.props.onStepChangeCb(t)},u.onNext=function(n){n.preventDefault();var t=u.props.activeStep+1;u.props.onStepChangeCb(t)},u.onChangeStep=function(n,t){t.preventDefault();u.props.onStepChangeCb(n)},u.renderPageNumbers=function(){var a=u.props,n=a.steps,h=a.activeStep,t=[],c=!1,l=!1,i=1,f=n,y,s;if(n>10){c=!0;l=!0;var v=Math.floor(5),e=h-v,o=h+v;e<=1&&(e=1,o=10,c=!1);o>=n&&(o=n,e=n-10,l=!1);i=e;f=o}for(c&&t.push(r.createElement("li",{key:i-1,className:"pagination__list-item"},r.createElement("a",{href:"#",onClick:function(n){return u.onChangeStep(i-1,n)},className:"pagination__link pagination__link-dots"},"..."))),y=function(n){n===h?t.push(r.createElement("li",{key:n,className:"pagination__list-item"},r.createElement("span",{className:"pagination__link pagination__link--active"},n))):t.push(r.createElement("li",{key:n,className:"pagination__list-item"},r.createElement("a",{href:"#",onClick:function(t){return u.onChangeStep(n,t)},className:"pagination__link"},n)))},s=i;s<=f;s++)y(s);return l&&t.push(r.createElement("li",{key:f+1,className:"pagination__list-item"},r.createElement("a",{href:"#",onClick:function(n){return u.onChangeStep(f+1,n)},className:"pagination__link pagination__link-dots"},"..."))),t},u}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n=this.props,f=n.steps,e=n.nextLabel,o=n.previousLabel,t=n.activeStep,i=(n.showPreviousOnFirstPage,n.showNextOnLastPage,1!==t),u=f!==t,s=i?"":"hide-list-item",h=u?"":"hide-list-item";return r.createElement("nav",{className:"pagination","aria-label":"Navigera mellan resultatsidor"},r.createElement("ol",{className:"pagination__list"},r.createElement("li",{className:"pagination__list-item ".concat(s)},r.createElement(v.Previous,{label:o,isEnabled:i,onClickCallback:this.onPrevious})),this.renderPageNumbers(),r.createElement("li",{className:"pagination__list-item ".concat(h)},r.createElement(y.Next,{label:e,isEnabled:u,onClickCallback:this.onNext}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.PureComponent);t.Pagination=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"Pagination","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ContentPagination\\Pagination.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var e,r;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r=function(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));i(620);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var u,o,s=function(n){return r.createElement("div",{className:"lds-roller ".concat(n.cssClasses," ").concat(n.darkColor?"dark":"")},r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null))},h=s,c=h;t.default=c;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(s,"LoadingSpinner","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\LoadingSpinner\\LoadingSpinner.tsx"),u.register(h,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\LoadingSpinner\\LoadingSpinner.tsx"));(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function s(n){var t=void 0===n.delayRender?250:n.delayRender;return n.infoText&&r.createElement(c.DelayedRender,{delay:t},r.createElement(r.Fragment,null,r.createElement("span",{className:"info-message"},r.createElement(h.Icon,{iconType:"Info",className:"form-summary__not-valid"}),r.createElement("span",{role:"alert"},n.infoText))))}Object.defineProperty(t,"__esModule",{value:!0});t.InputInfo=s;var e,u,o,r=function(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),h=i(3),c=i(376);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(250,"DEFAULT_DELAY","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\InputInfo\\inputInfo.tsx"),u.register(s,"InputInfo","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\InputInfo\\inputInfo.tsx"));(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(39),u=i(116),f=i(29);n.exports=function(n,t){var i={};return t=f(t,3),u(n,function(n,u,f){r(i,t(n,u,f),n)}),i}},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,f,tt,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.ToggleBoxGroup=void 0;r=y(i(1));u=i(30);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(){var n=function(n){function t(n){var f;return p(this,t),(f=i.call(this,n)).renderToggleBox=function(n,t){return r.createElement(u.ToggleBox,{key:"operationsbox-".concat(t),label:n.Name,value:n.Id.toString(),cssClass:"",onChangeCb:f.props.onChangeCb,inputType:"radio",inputName:"filtergroup",hideToggleBox:n.Hidden})},f.renderToggleBoxNames=function(n,t){return r.createElement(u.ToggleBox,{key:"operationsbox-".concat(t),label:n,value:n,cssClass:"",onChangeCb:f.props.onChangeCb,inputType:"radio",inputName:"filtergroup"})},f}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var n=this.props,t=n.categoryList,i=n.categoryNames;return r.createElement("fieldset",{className:"d-none d-md-block"},r.createElement("legend",{className:"filter-list__heading"},"Filtrera på"),r.createElement("div",{className:"d-flex flex-wrap"},t?t.map(this.renderToggleBox):i?i.map(this.renderToggleBoxNames):null))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={onChangeCb:function(){}},n}();t.ToggleBoxGroup=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"ToggleBoxGroup","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ToggleBoxGroup\\ToggleBoxGroup.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.canUseDOM=void 0;var r,u=((r=i(667))&&r.__esModule?r:{"default":r}).default,f=u.canUseDOM?window.HTMLElement:{};t.canUseDOM=u.canUseDOM;t.default=f},function(n,t,i){"use strict";(function(n){function e(n){return o(n.formModel,n.registers,n.files)}function o(n,t,i){var r={currentFiles:i,formModel:n,registries:t},u=JSON.stringify(r);return s.doPost("/validate",u,new Headers({"Content-Type":"application/json"})).then(function(n){return n&&Array.isArray(n)?n:[]}).catch(function(){return[]})}Object.defineProperty(t,"__esModule",{value:!0});t.doValidateByState=e;var u,r,f,s=i(36);(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&u(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(e,"doValidateByState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\validation.service.ts"),r.register(o,"doValidate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\validation.service.ts"));(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,i,u;Object.defineProperty(t,"__esModule",{value:!0});t.REMOVE_FILE=t.ADD_FILE=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.ADD_FILE="ADD_FILE";t.REMOVE_FILE="REMOVE_FILE";(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register("ADD_FILE","ADD_FILE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\files.actiontypes.ts"),i.register("REMOVE_FILE","REMOVE_FILE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\files.actiontypes.ts"));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";function c(n){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function v(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function y(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?v(Object(i),!0).forEach(function(t){r(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):v(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function nt(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function tt(n,t){return!t||"object"!==c(t)&&"function"!=typeof t?f(n):t}function f(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function l(n){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function rt(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var o,i;if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n)){var r=[],u=!0,f=!1,e=void 0;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{u||null==i.return||i.return()}finally{if(f)throw e;}}return r}}(n,t)||function(n,t){if(n){if("string"==typeof n)return w(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?w(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}()}function w(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function b(n){return s.test(n)?{listType:"playlist",list:rt(n.match(s),2)[1]}:{}}var a,s,e,k;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.YouTube=void 0;var o,h=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==c(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),u=i(14),d=(o=i(22))&&o.__esModule?o:{"default":o};a=/(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})|youtube\.com\/playlist\?list=/;s=/list=([a-zA-Z0-9_-]+)/;e=function(n){function t(){var n;g(this,t);for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];return r(f(n=c.call.apply(c,[this].concat(o))),"callPlayer",u.callPlayer),r(f(n),"onStateChange",function(t){var r=t.data,i=n.props,e=i.onPlay,o=i.onPause,s=i.onBuffer,h=i.onBufferEnd,c=i.onEnded,l=i.onReady,a=i.loop,u=window.YT.PlayerState,v=u.PLAYING,y=u.PAUSED,p=u.BUFFERING,w=u.ENDED,b=u.CUED,f;(r===v&&(e(),h()),r===y&&o(),r===p&&s(),r===w)&&(f=!!n.callPlayer("getPlaylist"),a&&!f&&n.play(),c());r===b&&l()}),r(f(n),"mute",function(){n.callPlayer("mute")}),r(f(n),"unmute",function(){n.callPlayer("unMute")}),r(f(n),"ref",function(t){n.container=t}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}(t,n);var i,e,o,c=(i=t,function(){var n,t=l(i),r;return it()?(r=l(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),tt(this,n)});return e=t,(o=[{key:"load",value:function(n,t){var r=this,i=this.props,c=i.playing,l=i.muted,v=i.playsinline,p=i.controls,w=i.loop,k=i.config,e=i.onError,o=k.youtube,f=o.playerVars,d=o.embedOptions,h=n&&n.match(a)[1];if(t)return s.test(n)?void this.player.loadPlaylist(b(n)):void this.player.cueVideoById({videoId:h,startSeconds:u.parseStartTime(n)||f.start,endSeconds:u.parseEndTime(n)||f.end});u.getSDK("https://www.youtube.com/iframe_api","YT","onYouTubeIframeAPIReady",function(n){return n.loaded}).then(function(t){r.container&&(r.player=new t.Player(r.container,y({width:"100%",height:"100%",videoId:h,playerVars:y({autoplay:c?1:0,mute:l?1:0,controls:p?1:0,start:u.parseStartTime(n),end:u.parseEndTime(n),origin:window.location.origin,playsinline:v},b(n),{},f),events:{onReady:function(){w&&r.player.setLoop(!0);r.props.onReady()},onStateChange:r.onStateChange,onError:function(n){return e(n.data)}}},d)))},e)}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}},{key:"seekTo",value:function(n){this.callPlayer("seekTo",n);this.props.playing||this.pause()}},{key:"setVolume",value:function(n){this.callPlayer("setVolume",100*n)}},{key:"setPlaybackRate",value:function(n){this.callPlayer("setPlaybackRate",n)}},{key:"setLoop",value:function(n){this.callPlayer("setLoop",n)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var n={width:"100%",height:"100%",display:this.props.display};return h.default.createElement("div",{style:n},h.default.createElement("div",{ref:this.ref}))}}])&&nt(e.prototype,o),t}(h.Component);t.YouTube=e;r(e,"displayName","YouTube");r(e,"canPlay",function(n){return a.test(n)});k=d.default(e);t.default=k},function(n,t,i){"use strict";function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function c(){return(c=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function w(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function l(n,t){return(l=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var f;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;var s=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),h=i(98),a=i(14);f=function(n){function t(){var n;v(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=h.call.apply(h,[this].concat(e))),"mounted",!1),r(u(n),"isReady",!1),r(u(n),"isPlaying",!1),r(u(n),"isLoading",!0),r(u(n),"loadOnReady",null),r(u(n),"startOnPlay",!0),r(u(n),"seekOnPlay",null),r(u(n),"onDurationCalled",!1),r(u(n),"getInternalPlayer",function(t){return n.player?n.player[t]:null}),r(u(n),"progress",function(){var t;if(n.props.url&&n.player&&n.isReady){var u=n.getCurrentTime()||0,i=n.getSecondsLoaded(),r=n.getDuration();r&&(t={playedSeconds:u,played:u/r},null!==i&&(t.loadedSeconds=i,t.loaded=i/r),t.playedSeconds===n.prevPlayed&&t.loadedSeconds===n.prevLoaded||n.props.onProgress(t),n.prevPlayed=t.playedSeconds,n.prevLoaded=t.loadedSeconds)}n.progressTimeout=setTimeout(n.progress,n.props.progressFrequency||n.props.progressInterval)}),r(u(n),"handleReady",function(){if(n.mounted){n.isReady=!0;n.isLoading=!1;var t=n.props,r=t.onReady,u=t.playing,i=t.volume,f=t.muted;r();f||null===i||n.player.setVolume(i);n.loadOnReady?(n.player.load(n.loadOnReady,!0),n.loadOnReady=null):u&&n.player.play();n.handleDurationCheck()}}),r(u(n),"handlePlay",function(){n.isPlaying=!0;n.isLoading=!1;var t=n.props,r=t.onStart,u=t.onPlay,i=t.playbackRate;n.startOnPlay&&(n.player.setPlaybackRate&&1!==i&&n.player.setPlaybackRate(i),r(),n.startOnPlay=!1);u();n.seekOnPlay&&(n.seekTo(n.seekOnPlay),n.seekOnPlay=null);n.handleDurationCheck()}),r(u(n),"handlePause",function(t){n.isPlaying=!1;n.isLoading||n.props.onPause(t)}),r(u(n),"handleEnded",function(){var t=n.props,r=t.activePlayer,i=t.loop,u=t.onEnded;r.loopOnEnded&&i&&n.seekTo(0);i||(n.isPlaying=!1,u())}),r(u(n),"handleError",function(){var t;n.isLoading=!1;(t=n.props).onError.apply(t,arguments)}),r(u(n),"handleDurationCheck",function(){clearTimeout(n.durationCheckTimeout);var t=n.getDuration();t?n.onDurationCalled||(n.props.onDuration(t),n.onDurationCalled=!0):n.durationCheckTimeout=setTimeout(n.handleDurationCheck,100)}),r(u(n),"handleLoaded",function(){n.isLoading=!1}),r(u(n),"ref",function(t){t&&(n.player=t)}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&l(n,t)}(t,n);var i,f,e,h=(i=t,function(){var n,t=o(i),r;return w()?(r=o(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),p(this,n)});return f=t,(e=[{key:"componentDidMount",value:function(){this.mounted=!0;this.player.load(this.props.url);this.progress()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout);clearTimeout(this.durationCheckTimeout);this.isReady&&this.player.stop();this.player.disablePIP&&this.player.disablePIP();this.mounted=!1}},{key:"componentDidUpdate",value:function(n){var h=this,t=this.props,r=t.url,u=t.playing,i=t.volume,f=t.muted,e=t.playbackRate,o=t.pip,s=t.loop,c=t.activePlayer;if(!a.isEqual(n.url,r)){if(this.isLoading&&!c.forceLoad)return void(this.loadOnReady=r);this.isLoading=!0;this.startOnPlay=!0;this.onDurationCalled=!1;this.player.load(r,this.isReady)}n.playing||!u||this.isPlaying||this.player.play();n.playing&&!u&&this.isPlaying&&this.player.pause();!n.pip&&o&&this.player.enablePIP&&this.player.enablePIP();n.pip&&!o&&this.player.disablePIP&&this.player.disablePIP();n.volume!==i&&null!==i&&this.player.setVolume(i);n.muted!==f&&(f?this.player.mute():(this.player.unmute(),null!==i&&setTimeout(function(){return h.player.setVolume(i)})));n.playbackRate!==e&&this.player.setPlaybackRate&&this.player.setPlaybackRate(e);n.loop!==s&&this.player.setLoop&&this.player.setLoop(s)}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(n,t){var r=this,i;if(!this.isReady&&0!==n)return this.seekOnPlay=n,void setTimeout(function(){r.seekOnPlay=null},5e3);if(t?"fraction"===t:n>0&&n<1){if(i=this.player.getDuration(),!i)return;this.player.seekTo(i*n)}else this.player.seekTo(n)}},{key:"render",value:function(){var n=this.props.activePlayer;return n?s.default.createElement(n,c({},this.props,{ref:this.ref,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}])&&y(f.prototype,e),t}(s.Component);t.default=f;r(f,"displayName","Player");r(f,"propTypes",h.propTypes);r(f,"defaultProps",h.defaultProps)},function(n,t,i){"use strict";function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function l(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function d(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var v,f,y;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.SoundCloud=void 0;var e,h=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),c=i(14),p=(e=i(22))&&e.__esModule?e:{"default":e};v=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;f=function(n){function t(){var n;w(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=o.call.apply(o,[this].concat(e))),"callPlayer",c.callPlayer),r(u(n),"duration",null),r(u(n),"currentTime",null),r(u(n),"fractionLoaded",null),r(u(n),"mute",function(){n.setVolume(0)}),r(u(n),"unmute",function(){null!==n.props.volume&&n.setVolume(n.props.volume)}),r(u(n),"ref",function(t){n.iframe=t}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}(t,n);var i,f,e,o=(i=t,function(){var n,t=s(i),r;return d()?(r=s(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),k(this,n)});return f=t,(e=[{key:"load",value:function(n,t){var i=this;c.getSDK("https://w.soundcloud.com/player/api.js","SC").then(function(u){if(i.iframe){var f=u.Widget.Events,e=f.PLAY,o=f.PLAY_PROGRESS,s=f.PAUSE,h=f.FINISH,c=f.ERROR;t||(i.player=u.Widget(i.iframe),i.player.bind(e,i.props.onPlay),i.player.bind(s,i.props.onPause),i.player.bind(o,function(n){i.currentTime=n.currentPosition/1e3;i.fractionLoaded=n.loadedProgress}),i.player.bind(h,function(){return i.props.onEnded()}),i.player.bind(c,function(n){return i.props.onError(n)}));i.player.load(n,function(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?l(Object(i),!0).forEach(function(t){r(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}({},i.props.config.soundcloud.options,{callback:function(){i.player.getDuration(function(n){i.duration=n/1e3;i.props.onReady()})}}))}})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(n){this.callPlayer("seekTo",1e3*n)}},{key:"setVolume",value:function(n){this.callPlayer("setVolume",100*n)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.fractionLoaded*this.duration}},{key:"render",value:function(){var n={width:"100%",height:"100%",display:this.props.display};return h.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:n,frameBorder:0,allow:"autoplay"})}}])&&b(f.prototype,e),t}(h.Component);t.SoundCloud=f;r(f,"displayName","SoundCloud");r(f,"canPlay",function(n){return v.test(n)});r(f,"loopOnEnded",!0);y=p.default(f);t.default=y},function(n,t,i){"use strict";function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function l(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function k(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var v;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.Vimeo=void 0;var e,h=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),c=i(14),y=(e=i(22))&&e.__esModule?e:{"default":e};var d=/vimeo\.com\/.+/,g=/vimeo\.com\/external\/[0-9]+\..+/,f=function(n){function t(){var n;p(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=o.call.apply(o,[this].concat(e))),"callPlayer",c.callPlayer),r(u(n),"duration",null),r(u(n),"currentTime",null),r(u(n),"secondsLoaded",null),r(u(n),"mute",function(){n.setVolume(0)}),r(u(n),"unmute",function(){null!==n.props.volume&&n.setVolume(n.props.volume)}),r(u(n),"ref",function(t){n.container=t}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}(t,n);var i,f,e,o=(i=t,function(){var n,t=s(i),r;return k()?(r=s(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),b(this,n)});return f=t,(e=[{key:"load",value:function(n){var t=this;this.duration=null;c.getSDK("https://player.vimeo.com/api/player.js","Vimeo").then(function(i){t.container&&(t.player=new i.Player(t.container,function(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?l(Object(i),!0).forEach(function(t){r(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}({url:n,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},t.props.config.vimeo.playerOptions)),t.player.ready().then(function(){var n=t.container.querySelector("iframe");n.style.width="100%";n.style.height="100%"}).catch(t.props.onError),t.player.on("loaded",function(){t.props.onReady();t.refreshDuration()}),t.player.on("play",function(){t.props.onPlay();t.refreshDuration()}),t.player.on("pause",t.props.onPause),t.player.on("seeked",function(n){return t.props.onSeek(n.seconds)}),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",function(n){var i=n.seconds;t.currentTime=i}),t.player.on("progress",function(n){var i=n.seconds;t.secondsLoaded=i}))},this.props.onError)}},{key:"refreshDuration",value:function(){var n=this;this.player.getDuration().then(function(t){n.duration=t})}},{key:"play",value:function(){var n=this.callPlayer("play");n&&n.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(n){this.callPlayer("setCurrentTime",n)}},{key:"setVolume",value:function(n){this.callPlayer("setVolume",n)}},{key:"setLoop",value:function(n){this.callPlayer("setLoop",n)}},{key:"setPlaybackRate",value:function(n){this.callPlayer("setPlaybackRate",n)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var n={width:"100%",height:"100%",overflow:"hidden",display:this.props.display};return h.default.createElement("div",{key:this.props.url,ref:this.ref,style:n})}}])&&w(f.prototype,e),t}(h.Component);t.Vimeo=f;r(f,"displayName","Vimeo");r(f,"forceLoad",!0);r(f,"canPlay",function(n){return!g.test(n)&&d.test(n)});v=y.default(f);t.default=v},function(n,t,i){"use strict";function h(n){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function b(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?a(Object(i),!0).forEach(function(t){r(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function v(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function d(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function g(n,t){return!t||"object"!==h(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function c(n){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var l,f,p;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.DailyMotion=void 0;var e,s=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==h(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),o=i(14),w=(e=i(22))&&e.__esModule?e:{"default":e};l=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;f=function(n){function t(){var n;k(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=h.call.apply(h,[this].concat(e))),"callPlayer",o.callPlayer),r(u(n),"onDurationChange",function(){var t=n.getDuration();n.props.onDuration(t)}),r(u(n),"mute",function(){n.callPlayer("setMuted",!0)}),r(u(n),"unmute",function(){n.callPlayer("setMuted",!1)}),r(u(n),"ref",function(t){n.container=t}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}(t,n);var i,f,e,h=(i=t,function(){var n,t=c(i),r;return nt()?(r=c(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),g(this,n)});return f=t,(e=[{key:"load",value:function(n){var t=this,i=this.props,f=i.controls,e=i.config,r=i.onError,s=i.playing,u=function(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var o,i;if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n)){var r=[],u=!0,f=!1,e=void 0;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{u||null==i.return||i.return()}finally{if(f)throw e;}}return r}}(n,t)||function(n,t){if(n){if("string"==typeof n)return v(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?v(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}()}(n.match(l),2)[1];this.player?this.player.load(u,{start:o.parseStartTime(n),autoplay:s}):o.getSDK("https://api.dmcdn.net/all.js","DM","dmAsyncInit",function(n){return n.player}).then(function(i){if(t.container){var s=i.player;t.player=new s(t.container,{width:"100%",height:"100%",video:u,params:b({controls:f,autoplay:t.props.playing,mute:t.props.muted,start:o.parseStartTime(n),origin:window.location.origin},e.dailymotion.params),events:{apiready:t.props.onReady,seeked:function(){return t.props.onSeek(t.player.currentTime)},video_end:t.props.onEnded,durationchange:t.onDurationChange,pause:t.props.onPause,playing:t.props.onPlay,waiting:t.props.onBuffer,error:function(n){return r(n)}}})}},r)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(n){this.callPlayer("seek",n)}},{key:"setVolume",value:function(n){this.callPlayer("setVolume",n)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",value:function(){return this.player.currentTime}},{key:"getSecondsLoaded",value:function(){return this.player.bufferedTime}},{key:"render",value:function(){var n={width:"100%",height:"100%",display:this.props.display};return s.default.createElement("div",{style:n},s.default.createElement("div",{ref:this.ref}))}}])&&d(f.prototype,e),t}(s.Component);t.DailyMotion=f;r(f,"displayName","DailyMotion");r(f,"canPlay",function(n){return l.test(n)});r(f,"loopOnEnded",!0);p=w.default(f);t.default=p},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n,t){return n.filter(function(n){return!u.default(n)}).map(function(n,i){var r=void 0;return"function"!=typeof t||null!==(r=t(n,i))&&!r?f.default(n,i,t):r})};var u=r(i(779)),f=r(i(410))},function(n){n.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ﬃ","fflig":"ﬀ","ffllig":"ﬄ","Ffr":"𝔉","ffr":"𝔣","filig":"ﬁ","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"ﬂ","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"Ĳ","ijlig":"ĳ","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ŉ","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},function(n){n.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(n,t,i){"use strict";(function(n){function p(n){return n&&n.__esModule?n:{"default":n}}function c(n){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==c(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,u,s,f,h;Object.defineProperty(t,"__esModule",{value:!0});t.TotalSumSection=void 0;var r=p(i(1)),v=i(4),y=i(6),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var r;return w(this,t),r=i.call(this,n),u=v.makeTranslator(n.translations),r._initialSumValue=r.props.sum,r}k(t,n);var i=d(t);return b(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return r.default.createElement(r.default.Fragment,null,r.default.createElement("hr",null),r.default.createElement("div",{className:"calc-income-support__summary-wrapper"},r.default.createElement("span",{className:"calc-income-support__summary-text"},u("summary")," ",this.props.sum.toLocaleString("sv-SE")," kronor"),this.props.sum>this._initialSumValue&&r.default.createElement("button",{className:"calc-income-support__clear-component-button",onClick:this.props.onValueReset},r.default.createElement("span",null,u(this.props.clearValuesTranslation)),r.default.createElement(y.Icon,{className:"calc-income-support__paperbin-icon",iconType:"fontawesome/trash-alt"}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component);t.TotalSumSection=s;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;f&&(f.register(u,"Translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\TotalSumSection.tsx"),f.register(s,"TotalSumSection","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\TotalSumSection.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function b(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function k(n){return n&&n.__esModule?n:{"default":n}}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function g(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function tt(n){var t=ut();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),it(this,i)}}function it(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?rt(n):t}function rt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ut(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var a,u,e,ft,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});t.IconModal=void 0;var w=k(i(849)),r=b(i(1)),f=i(15);i(850);a=i(4);u=i(7);e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);ft="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(n){function t(n){var r;return d(this,t),(r=i.call(this,n)).openConfirm=function(n){n.preventDefault();r.setState({isModalOpen:!0})},r.removeExtraQuotes=function(n){return n.startsWith('"')&&(n=n.substring(1,n.length-1)),n.endsWith('"')&&(n=n.substring(0,n.length-2)),r.replaceheading(n)},r.replaceheading=function(n){return w.default(n,new RegExp("h2","g"),"h4")},r.closeConfirm=function(){r.setState({isModalOpen:!1})},r.state={isModalOpen:!1},r}nt(t,n);var i=tt(t);return g(t,[{key:"render",value:function(){var t=this.props,i=t.iconType,n=t.metaData,e=this.state.isModalOpen;return r.createElement("div",null,n&&r.createElement(r.Fragment,null,r.createElement("button",{className:"icon-modal",type:"button",onClick:this.openConfirm,"aria-label":"Öppna beskrivning för Indikator"},r.createElement(f.Icon,{iconType:i})),r.createElement(f.Dialog,{isOpen:e,onRequestClose:this.closeConfirm},r.createElement("button",{type:"button",onClick:this.closeConfirm,className:"close"},r.createElement(f.Icon,{isAriaHidden:!1,ariaLabel:"Stäng",iconType:"ic_close_white_24px"})),r.createElement("p",{className:"sr-only",id:"modal-description"},"Generell beskrivning av indikator"),r.createElement("div",{"aria-labelledby":"modal-description"},n[u.columnConstants.measures]&&r.createElement(r.Fragment,null,r.createElement("p",null,n[u.columnConstants.measures])),n[u.columnConstants.purpose]&&r.createElement(r.Fragment,null,r.createElement("h3",null,"Syfte"),r.createElement("p",null,n[u.columnConstants.purpose])),n[u.columnConstants.dataSource]&&r.createElement(r.Fragment,null,r.createElement("h3",null,"Datakälla"),r.createElement("p",null,n[u.columnConstants.dataSource])),n[u.columnConstants.highValuePrefered]&&r.createElement(r.Fragment,null,r.createElement("h3",null,"Riktning"),r.createElement("p",null,"true"===n[u.columnConstants.highValuePrefered].toLowerCase()?"Högt värde föredras":"Lågt värde eftersträvas")),n[u.columnConstants.errorSources]&&r.createElement(r.Fragment,null,r.createElement("h3",null,"Felkällor och begränsningar"),r.createElement("p",null,n[u.columnConstants.errorSources])),n[u.columnConstants.technicalDescription]&&r.createElement(r.Fragment,null,r.createElement("h3",null,"Teknisk beskrivning"),"   ",r.createElement("div",{dangerouslySetInnerHTML:a.setInnerHtml(this.removeExtraQuotes(n[u.columnConstants.technicalDescription].replace(/""/g,"'")))})),n[u.columnConstants.indicatorComment]&&r.createElement(r.Fragment,null,r.createElement("h3",null,"Kommentar")," ",r.createElement("p",null,n[u.columnConstants.indicatorComment])),n[u.columnConstants.indicatorUrl]&&r.createElement(r.Fragment,null," ",r.createElement("a",{href:n[u.columnConstants.indicatorUrl]},"Läs hela indikatorbeskrivningen"))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.IconModal=h;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;c&&c.register(h,"IconModal","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\IconModal\\IconModal.tsx");l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,f,e,o,s,u;Object.defineProperty(t,"__esModule",{value:!0});t.hideNationalChart=void 0;e=(r=i(855))&&r.__esModule?r:{"default":r};(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;u=function(n,t){return(!n||0!==n.length)&&e.default(n,function(n){return n[t]&&"x"===n[t].toLocaleLowerCase()||n[t]&&n[t].toLocaleLowerCase().includes("<")||n[t]&&n[t].toLocaleLowerCase().includes(">")})};t.hideNationalChart=u;(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(u,"hideNationalChart","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\hideNationalChart.ts");(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,f,e,o,s,u;Object.defineProperty(t,"__esModule",{value:!0});t.hideCompareChart=void 0;e=(r=i(858))&&r.__esModule?r:{"default":r};(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;u=function(n,t){return e.default(n,function(n){return n[t]&&"x"===n[t].toLocaleLowerCase()||n[t]&&n[t].toLocaleLowerCase().includes("<")})};t.hideCompareChart=u;(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(u,"hideCompareChart","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\hideCompareChart.ts");(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.getJsonData=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=function(n){return fetch(n,{credentials:"same-origin"}).then(function(n){return n.json()}).catch(function(n){return n.json()})};t.getJsonData=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"getJsonData","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\getCsvRequest.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";n.exports=i(709)},function(n,t,i){"use strict";(function(n,r){var u,e=i(436),f;u="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:r;f=Object(e.a)(u);t.a=f}).call(this,i(28),i(681)(n))},function(n,t,i){var r=i(107),u=Math.max,f=Math.min;n.exports=function(n,t){return(n=r(n))<0?u(n+t,0):f(n,t)}},function(n){n.exports={}},function(n,t,i){var e=i(12),o=i(946),f=i(465),s=i(464)("IE_PROTO"),u=function(){},r=function(){var n,t=i(454)("iframe"),u=f.length;for(t.style.display="none",i(904).appendChild(t),t.src="javascript:",(n=t.contentWindow.document).open(),n.write("<script>document.F=Object<\/script>"),n.close(),r=n.F;u--;)delete r.prototype[f[u]];return r()};n.exports=Object.create||function(n,t){var i;return null!==n?(u.prototype=e(n),i=new u,u.prototype=null,i[s]=n):i=r(),void 0===t?i:o(i,t)}},function(n,t,i){var u=i(23).f,f=i(55),r=i(18)("toStringTag");n.exports=function(n,t,i){n&&!f(n=i?n:n.prototype,r)&&u(n,r,{configurable:!0,value:t})}},function(n,t,i){"use strict";var u=i(9),f=i(23),e=i(20),r=i(18)("species");n.exports=function(n){var t=u[n];e&&t&&!t[r]&&f.f(t,r,{configurable:!0,get:function(){return this}})}},function(n,t,i){var r=i(54);n.exports=function(n,t,i){for(var u in t)r(n,u,t[u],i);return n}},function(n){n.exports=function(n,t,i,r){if(!(n instanceof t)||void 0!==r&&r in n)throw TypeError(i+": incorrect invocation!");return n}},function(n,t,i){"use strict";var r=i(925)();n.exports=function(n){return n!==r&&null!==n}},function(n,t,i){"use strict";n.exports=i(928)()?Object.setPrototypeOf:i(929)},function(n){"use strict";function u(n){if(null==n)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}var t=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;n.exports=function(){var i,t,n,r;try{if(!Object.assign||(i=new String("abc"),i[5]="de","5"===Object.getOwnPropertyNames(i)[0]))return!1;for(t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;return"0123456789"!==Object.getOwnPropertyNames(t).map(function(n){return t[n]}).join("")?!1:(r={},"abcdefghijklmnopqrst".split("").forEach(function(n){r[n]=n}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join(""))}catch(i){return!1}}()?Object.assign:function(n){for(var f,o,c,e,s=u(n),h=1;h<arguments.length;h++){for(c in f=Object(arguments[h]))i.call(f,c)&&(s[c]=f[c]);if(t)for(o=t(f),e=0;e<o.length;e++)r.call(f,o[e])&&(s[o[e]]=f[o[e]])}return s}},function(n,t,i){var r=i(68),u=i(456),f=i(33),e=i(24),o=i(900);n.exports=function(n,t){var s=1==n,l=2==n,a=3==n,i=4==n,h=6==n,v=5==n||h,c=t||o;return function(t,o,y){for(var w,b,g=f(t),k=u(g),tt=r(o,y,3),nt=e(k.length),p=0,d=s?c(t,nt):l?c(t,0):void 0;nt>p;p++)if((v||p in k)&&(b=tt(w=k[p],p,g),n))if(s)d[p]=b;else if(b)switch(n){case 3:return!0;case 5:return w;case 6:return p;case 2:d.push(w)}else if(i)return!1;return h?-1:a||i?i:d}}},function(n,t,i){var r=i(112),u=i(18)("toStringTag"),f="Arguments"==r(function(){return arguments}());n.exports=function(n){var t,i,e;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(i=function(n,t){try{return n[t]}catch(n){}}(t=Object(n),u))?i:f?r(t):"Object"==(e=r(t))&&"function"==typeof t.callee?"Arguments":e}},function(n,t){t.f={}.propertyIsEnumerable},function(n,t,i){var u=i(2),o=i(76),s=i(17),f=i(470),r="["+f+"]",h=RegExp("^"+r+r+"*"),c=RegExp(r+r+"*$"),e=function(n,t,i){var r={},e=s(function(){return!!f[n]()||"​"!="​"[n]()}),o=r[n]=e?t(l):f[n];i&&(r[i]=o);u(u.P+u.F*e,"String",r)},l=e.trim=function(n,t){return n=String(o(n)),1&t&&(n=n.replace(h,"")),2&t&&(n=n.replace(c,"")),n};n.exports=e},function(n,t,i){var r=i(12),u=i(69),f=i(18)("species");n.exports=function(n,t){var i,e=r(n).constructor;return void 0===e||null==(i=r(e)[f])?t:u(i)}},function(n,t,i){var r=i(492)();n.exports=r},function(n,t,i){var r=i(10);n.exports=function(){if(!arguments.length)return[];var n=arguments[0];return r(n)?n:[n]}},function(n){n.exports=function(n,t){for(var i=-1,r=null==n?0:n.length;++i<r;)if(t(n[i],i,n))return!0;return!1}},function(n,t,i){var r=i(179);n.exports=function(n,t){return!(null==n||!n.length)&&r(n,t,0)>-1}},function(n){n.exports=function(n,t,i){for(var r=i-1,u=n.length;++r<u;)if(n[r]===t)return r;return-1}},function(n,t,i){var r=i(117)(Object.keys,Object);n.exports=r},function(n){var t=Object.prototype.toString;n.exports=function(n){return t.call(n)}},function(n){n.exports=function(){return!1}},function(n,t,i){var r=i(19);n.exports=function(n){return n==n&&!r(n)}},function(n){n.exports=function(n,t){return function(i){return null!=i&&i[n]===t&&(void 0!==t||n in Object(i))}}},function(n){n.exports=function(){return!1}},function(n){var t=/^(?:0|[1-9]\d*)$/;n.exports=function(n,i){var r=typeof n;return!!(i=null==i?9007199254740991:i)&&("number"==r||"symbol"!=r&&t.test(n))&&n>-1&&n%1==0&&n<i}},function(n){n.exports=function(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}},function(n,t,i){var r=i(84),u=i(29),f=i(189),e=i(520),o=i(521),s=i(522),h=i(85);n.exports=function(n,t,i){var l=-1,c;return t=r(t.length?t:[h],o(u)),c=f(n,function(n){return{criteria:r(t,function(t){return t(n)}),index:++l,value:n}}),e(c,function(n,t){return s(n,t,i)})}},function(n,t,i){var r=i(60),u=i(125);n.exports=function(n,t){var f=-1,i=u(n)?Array(n.length):[];return r(n,function(n,r,u){i[++f]=t(n,r,u)}),i}},function(n,t,i){var r=i(191),u=i(19);n.exports=function(n){if(!u(n))return!1;var t=r(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(n){var t=Object.prototype.toString;n.exports=function(n){return t.call(n)}},function(n,t,i){var r=i(85),u=i(524),f=i(526);n.exports=function(n,t){return f(u(n,t,r),n+"")}},function(n,t,i){var u=i(80),f=i(194),e=i(126),o=i(527),s=i(528),h=i(195),c=i(196),l=i(529),a=i(531),v=i(180),y=i(197),p=i(181),w=i(533),b=i(534),k=i(198),d=i(10),g=i(120),nt=i(537),tt=i(19),it=i(538),rt=i(40),r={};r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object DataView]"]=r["[object Boolean]"]=r["[object Date]"]=r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object Symbol]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0;r["[object Error]"]=r["[object Function]"]=r["[object WeakMap]"]=!1;n.exports=function n(t,i,ut,ft,et,ot){var st,ct=1&i,lt=2&i,bt=4&i,at,ht,vt,yt,wt,pt;if(ut&&(st=et?ut(t,ft,et,ot):ut(t)),void 0!==st)return st;if(!tt(t))return t;if(at=d(t),at){if(st=w(t),!ct)return c(t,st)}else{if(ht=p(t),vt="[object Function]"==ht||"[object GeneratorFunction]"==ht,g(t))return h(t,ct);if("[object Object]"==ht||"[object Arguments]"==ht||vt&&!et){if(st=lt||vt?{}:k(t),!ct)return lt?a(t,s(st,t)):l(t,o(st,t))}else{if(!r[ht])return et?t:{};st=b(t,ht,ct)}}return(ot||(ot=new u),yt=ot.get(t),yt)?yt:(ot.set(t,st),it(t)?t.forEach(function(r){st.add(n(r,i,ut,r,t,ot))}):nt(t)&&t.forEach(function(r,u){st.set(u,n(r,i,ut,u,t,ot))}),wt=bt?lt?y:v:lt?keysIn:rt,pt=at?void 0:wt(t),f(pt||t,function(r,u){pt&&(r=t[u=r]);e(st,u,n(r,i,ut,u,t,ot))}),st)}},function(n){n.exports=function(n,t){for(var i=-1,r=null==n?0:n.length;++i<r&&!1!==t(n[i],i,n););return n}},function(n,t,i){(function(n){var o=i(83),r=t&&!t.nodeType&&t,u=r&&"object"==typeof n&&n&&!n.nodeType&&n,f=u&&u.exports===r?o.Buffer:void 0,e=f?f.allocUnsafe:void 0;n.exports=function(n,t){if(t)return n.slice();var i=n.length,r=e?e(i):new n.constructor(i);return n.copy(r),r}}).call(this,i(0)(n))},function(n){n.exports=function(n,t){var i=-1,r=n.length;for(t||(t=Array(r));++i<r;)t[i]=n[i];return t}},function(n){n.exports=function(n){var t=[],i;if(null!=n)for(i in Object(n))t.push(i);return t}},function(n,t,i){var r=i(535),u=i(199),f=i(536);n.exports=function(n){return"function"!=typeof n.constructor||f(n)?{}:r(u(n))}},function(n,t,i){var r=i(117)(Object.getPrototypeOf,Object);n.exports=r},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.alphabet=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=["#","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","Å","Ä","Ö"];t.alphabet=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"alphabet","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\AlphabetList\\AlphabetList.types.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n){var t=u[n.toLowerCase()];if(t)return t}function h(n){return void 0!==e(n)}var o,r,s,f,u;Object.defineProperty(t,"__esModule",{value:!0});t.findIcon=e;t.hasIcon=h;t.dictionary=void 0;(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;f=i(551);u={};t.dictionary=u;f.keys().forEach(function(n){var t=(n=n.replace("./","")).replace(".svg","").toLowerCase();u[t]=i(552)("./".concat(n))});(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(f,"fileList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\gfx\\svgsprite-imports.ts"),r.register(u,"dictionary","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\gfx\\svgsprite-imports.ts"),r.register(e,"findIcon","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\gfx\\svgsprite-imports.ts"),r.register(h,"hasIcon","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\gfx\\svgsprite-imports.ts"));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Attention",f="gfx/sprite.svg#view-icon-Attention";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Attention#icon-Attention",f="gfx/sprite.svg?icon-Attention#view-icon-Attention");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Checkmark",f="gfx/sprite.svg#view-icon-Checkmark";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Checkmark#icon-Checkmark",f="gfx/sprite.svg?icon-Checkmark#view-icon-Checkmark");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Clock",f="gfx/sprite.svg#view-icon-Clock";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Clock#icon-Clock",f="gfx/sprite.svg?icon-Clock#view-icon-Clock");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 16 16",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Error",f="gfx/sprite.svg#view-icon-Error";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Error#icon-Error",f="gfx/sprite.svg?icon-Error#view-icon-Error");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Hamburger",f="gfx/sprite.svg#view-icon-Hamburger";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Hamburger#icon-Hamburger",f="gfx/sprite.svg?icon-Hamburger#view-icon-Hamburger");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 28 22",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Hamburger_vald",f="gfx/sprite.svg#view-icon-Hamburger_vald";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Hamburger_vald#icon-Hamburger_vald",f="gfx/sprite.svg?icon-Hamburger_vald#view-icon-Hamburger_vald");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 28 22",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Info",f="gfx/sprite.svg#view-icon-Info";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Info#icon-Info",f="gfx/sprite.svg?icon-Info#view-icon-Info");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Infocirkel-aktiv20px20 px",f="gfx/sprite.svg#view-icon-Infocirkel-aktiv20px20 px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Infocirkel-aktiv20px20 px#icon-Infocirkel-aktiv20px20 px",f="gfx/sprite.svg?icon-Infocirkel-aktiv20px20 px#view-icon-Infocirkel-aktiv20px20 px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Infocirkel",f="gfx/sprite.svg#view-icon-Infocirkel";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Infocirkel#icon-Infocirkel",f="gfx/sprite.svg?icon-Infocirkel#view-icon-Infocirkel");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Infocirkel_normal-white20px20px",f="gfx/sprite.svg#view-icon-Infocirkel_normal-white20px20px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Infocirkel_normal-white20px20px#icon-Infocirkel_normal-white20px20px",f="gfx/sprite.svg?icon-Infocirkel_normal-white20px20px#view-icon-Infocirkel_normal-white20px20px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Infocirkel_normal20px20px",f="gfx/sprite.svg#view-icon-Infocirkel_normal20px20px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Infocirkel_normal20px20px#icon-Infocirkel_normal20px20px",f="gfx/sprite.svg?icon-Infocirkel_normal20px20px#view-icon-Infocirkel_normal20px20px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Kalender",f="gfx/sprite.svg#view-icon-Kalender";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Kalender#icon-Kalender",f="gfx/sprite.svg?icon-Kalender#view-icon-Kalender");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 16 16",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Kapitel",f="gfx/sprite.svg#view-icon-Kapitel";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Kapitel#icon-Kapitel",f="gfx/sprite.svg?icon-Kapitel#view-icon-Kapitel");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 32 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Language",f="gfx/sprite.svg#view-icon-Language";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Language#icon-Language",f="gfx/sprite.svg?icon-Language#view-icon-Language");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Lyssna",f="gfx/sprite.svg#view-icon-Lyssna";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Lyssna#icon-Lyssna",f="gfx/sprite.svg?icon-Lyssna#view-icon-Lyssna");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 16 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Paperbin",f="gfx/sprite.svg#view-icon-Paperbin";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Paperbin#icon-Paperbin",f="gfx/sprite.svg?icon-Paperbin#view-icon-Paperbin");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Pengar",f="gfx/sprite.svg#view-icon-Pengar";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Pengar#icon-Pengar",f="gfx/sprite.svg?icon-Pengar#view-icon-Pengar");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 16 16",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-PilerUppNer",f="gfx/sprite.svg#view-icon-PilerUppNer";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-PilerUppNer#icon-PilerUppNer",f="gfx/sprite.svg?icon-PilerUppNer#view-icon-PilerUppNer");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 7 13",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Pin",f="gfx/sprite.svg#view-icon-Pin";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Pin#icon-Pin",f="gfx/sprite.svg?icon-Pin#view-icon-Pin");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 10 16",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Print",f="gfx/sprite.svg#view-icon-Print";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Print#icon-Print",f="gfx/sprite.svg?icon-Print#view-icon-Print");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 23 22",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Search",f="gfx/sprite.svg#view-icon-Search";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Search#icon-Search",f="gfx/sprite.svg?icon-Search#view-icon-Search");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 28 26",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-CopyLink-green",f="gfx/sprite.svg#view-icon-CopyLink-green";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-CopyLink-green#icon-CopyLink-green",f="gfx/sprite.svg?icon-CopyLink-green#view-icon-CopyLink-green");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 30 29",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-CopyLink",f="gfx/sprite.svg#view-icon-CopyLink";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-CopyLink#icon-CopyLink",f="gfx/sprite.svg?icon-CopyLink#view-icon-CopyLink");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Email",f="gfx/sprite.svg#view-icon-Email";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Email#icon-Email",f="gfx/sprite.svg?icon-Email#view-icon-Email");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Facebook",f="gfx/sprite.svg#view-icon-Facebook";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Facebook#icon-Facebook",f="gfx/sprite.svg?icon-Facebook#view-icon-Facebook");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Instagram",f="gfx/sprite.svg#view-icon-Instagram";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Instagram#icon-Instagram",f="gfx/sprite.svg?icon-Instagram#view-icon-Instagram");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 512 512",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-LinkedIn",f="gfx/sprite.svg#view-icon-LinkedIn";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-LinkedIn#icon-LinkedIn",f="gfx/sprite.svg?icon-LinkedIn#view-icon-LinkedIn");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Twitter",f="gfx/sprite.svg#view-icon-Twitter";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Twitter#icon-Twitter",f="gfx/sprite.svg?icon-Twitter#view-icon-Twitter");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-envelope-square",f="gfx/sprite.svg#view-icon-envelope-square";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-envelope-square#icon-envelope-square",f="gfx/sprite.svg?icon-envelope-square#view-icon-envelope-square");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-facebook-original",f="gfx/sprite.svg#view-icon-facebook-original";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-facebook-original#icon-facebook-original",f="gfx/sprite.svg?icon-facebook-original#view-icon-facebook-original");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 1024 1024",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-facebook-square",f="gfx/sprite.svg#view-icon-facebook-square";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-facebook-square#icon-facebook-square",f="gfx/sprite.svg?icon-facebook-square#view-icon-facebook-square");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-instagram-square",f="gfx/sprite.svg#view-icon-instagram-square";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-instagram-square#icon-instagram-square",f="gfx/sprite.svg?icon-instagram-square#view-icon-instagram-square");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-link-black",f="gfx/sprite.svg#view-icon-link-black";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-link-black#icon-link-black",f="gfx/sprite.svg?icon-link-black#view-icon-link-black");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 30 29",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-link",f="gfx/sprite.svg#view-icon-link";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-link#icon-link",f="gfx/sprite.svg?icon-link#view-icon-link");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-linkedin-original",f="gfx/sprite.svg#view-icon-linkedin-original";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-linkedin-original#icon-linkedin-original",f="gfx/sprite.svg?icon-linkedin-original#view-icon-linkedin-original");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 29 29",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-mail-black",f="gfx/sprite.svg#view-icon-mail-black";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-mail-black#icon-mail-black",f="gfx/sprite.svg?icon-mail-black#view-icon-mail-black");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 30 29",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-mail-green",f="gfx/sprite.svg#view-icon-mail-green";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-mail-green#icon-mail-green",f="gfx/sprite.svg?icon-mail-green#view-icon-mail-green");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 30 29",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-twitter-original",f="gfx/sprite.svg#view-icon-twitter-original";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-twitter-original#icon-twitter-original",f="gfx/sprite.svg?icon-twitter-original#view-icon-twitter-original");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 400 400",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-twitter-square",f="gfx/sprite.svg#view-icon-twitter-square";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-twitter-square#icon-twitter-square",f="gfx/sprite.svg?icon-twitter-square#view-icon-twitter-square");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Success",f="gfx/sprite.svg#view-icon-Success";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Success#icon-Success",f="gfx/sprite.svg?icon-Success#view-icon-Success");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Summering_OK25px25px",f="gfx/sprite.svg#view-icon-Summering_OK25px25px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Summering_OK25px25px#icon-Summering_OK25px25px",f="gfx/sprite.svg?icon-Summering_OK25px25px#view-icon-Summering_OK25px25px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Summering_ej_obligatorisk25px25px",f="gfx/sprite.svg#view-icon-Summering_ej_obligatorisk25px25px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Summering_ej_obligatorisk25px25px#icon-Summering_ej_obligatorisk25px25px",f="gfx/sprite.svg?icon-Summering_ej_obligatorisk25px25px#view-icon-Summering_ej_obligatorisk25px25px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Summering_inte_OK25px25px",f="gfx/sprite.svg#view-icon-Summering_inte_OK25px25px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Summering_inte_OK25px25px#icon-Summering_inte_OK25px25px",f="gfx/sprite.svg?icon-Summering_inte_OK25px25px#view-icon-Summering_inte_OK25px25px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Varning",f="gfx/sprite.svg#view-icon-Varning";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Varning#icon-Varning",f="gfx/sprite.svg?icon-Varning#view-icon-Varning");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 23.231 20.904",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Webbkarta",f="gfx/sprite.svg#view-icon-Webbkarta";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Webbkarta#icon-Webbkarta",f="gfx/sprite.svg?icon-Webbkarta#view-icon-Webbkarta");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-apple-icon",f="gfx/sprite.svg#view-icon-apple-icon";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-apple-icon#icon-apple-icon",f="gfx/sprite.svg?icon-apple-icon#view-icon-apple-icon");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-arabiska",f="gfx/sprite.svg#view-icon-arabiska";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-arabiska#icon-arabiska",f="gfx/sprite.svg?icon-arabiska#view-icon-arabiska");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 17",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-attention-circle-1",f="gfx/sprite.svg#view-icon-attention-circle-1";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-attention-circle-1#icon-attention-circle-1",f="gfx/sprite.svg?icon-attention-circle-1#view-icon-attention-circle-1");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 1000 1000",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-attention-circle",f="gfx/sprite.svg#view-icon-attention-circle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-attention-circle#icon-attention-circle",f="gfx/sprite.svg?icon-attention-circle#view-icon-attention-circle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-attention-red",f="gfx/sprite.svg#view-icon-attention-red";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-attention-red#icon-attention-red",f="gfx/sprite.svg?icon-attention-red#view-icon-attention-red");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-baseline-add_circle_outline-24px",f="gfx/sprite.svg#view-icon-baseline-add_circle_outline-24px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-baseline-add_circle_outline-24px#icon-baseline-add_circle_outline-24px",f="gfx/sprite.svg?icon-baseline-add_circle_outline-24px#view-icon-baseline-add_circle_outline-24px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-baseline-arrow_back-24px",f="gfx/sprite.svg#view-icon-baseline-arrow_back-24px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-baseline-arrow_back-24px#icon-baseline-arrow_back-24px",f="gfx/sprite.svg?icon-baseline-arrow_back-24px#view-icon-baseline-arrow_back-24px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-baseline-check-24px",f="gfx/sprite.svg#view-icon-baseline-check-24px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-baseline-check-24px#icon-baseline-check-24px",f="gfx/sprite.svg?icon-baseline-check-24px#view-icon-baseline-check-24px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-baseline-keyboard_arrow_left-24px",f="gfx/sprite.svg#view-icon-baseline-keyboard_arrow_left-24px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-baseline-keyboard_arrow_left-24px#icon-baseline-keyboard_arrow_left-24px",f="gfx/sprite.svg?icon-baseline-keyboard_arrow_left-24px#view-icon-baseline-keyboard_arrow_left-24px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-bubble",f="gfx/sprite.svg#view-icon-bubble";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-bubble#icon-bubble",f="gfx/sprite.svg?icon-bubble#view-icon-bubble");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 17",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-cart",f="gfx/sprite.svg#view-icon-cart";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-cart#icon-cart",f="gfx/sprite.svg?icon-cart#view-icon-cart");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 21",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-check-mark-circle",f="gfx/sprite.svg#view-icon-check-mark-circle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-check-mark-circle#icon-check-mark-circle",f="gfx/sprite.svg?icon-check-mark-circle#view-icon-check-mark-circle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-checkmark-circle-outline",f="gfx/sprite.svg#view-icon-checkmark-circle-outline";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-checkmark-circle-outline#icon-checkmark-circle-outline",f="gfx/sprite.svg?icon-checkmark-circle-outline#view-icon-checkmark-circle-outline");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 512 512",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-engelska",f="gfx/sprite.svg#view-icon-engelska";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-engelska#icon-engelska",f="gfx/sprite.svg?icon-engelska#view-icon-engelska");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 17",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-expanded-minus",f="gfx/sprite.svg#view-icon-expanded-minus";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-expanded-minus#icon-expanded-minus",f="gfx/sprite.svg?icon-expanded-minus#view-icon-expanded-minus");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 18",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-expanded-plus",f="gfx/sprite.svg#view-icon-expanded-plus";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-expanded-plus#icon-expanded-plus",f="gfx/sprite.svg?icon-expanded-plus#view-icon-expanded-plus");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 18",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-extern-link-blue",f="gfx/sprite.svg#view-icon-extern-link-blue";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-extern-link-blue#icon-extern-link-blue",f="gfx/sprite.svg?icon-extern-link-blue#view-icon-extern-link-blue");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-extern-link",f="gfx/sprite.svg#view-icon-extern-link";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-extern-link#icon-extern-link",f="gfx/sprite.svg?icon-extern-link#view-icon-extern-link");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-csv",f="gfx/sprite.svg#view-icon-csv";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-csv#icon-csv",f="gfx/sprite.svg?icon-csv#view-icon-csv");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-default",f="gfx/sprite.svg#view-icon-default";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-default#icon-default",f="gfx/sprite.svg?icon-default#view-icon-default");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-doc-file-format-symbol",f="gfx/sprite.svg#view-icon-doc-file-format-symbol";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-doc-file-format-symbol#icon-doc-file-format-symbol",f="gfx/sprite.svg?icon-doc-file-format-symbol#view-icon-doc-file-format-symbol");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 550.801 550.801",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-doc",f="gfx/sprite.svg#view-icon-doc";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-doc#icon-doc",f="gfx/sprite.svg?icon-doc#view-icon-doc");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-docx-file-format",f="gfx/sprite.svg#view-icon-docx-file-format";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-docx-file-format#icon-docx-file-format",f="gfx/sprite.svg?icon-docx-file-format#view-icon-docx-file-format");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 548.291 548.291",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file-csv",f="gfx/sprite.svg#view-icon-file-csv";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file-csv#icon-file-csv",f="gfx/sprite.svg?icon-file-csv#view-icon-file-csv");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file-doc",f="gfx/sprite.svg#view-icon-file-doc";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file-doc#icon-file-doc",f="gfx/sprite.svg?icon-file-doc#view-icon-file-doc");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file-jpg",f="gfx/sprite.svg#view-icon-file-jpg";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file-jpg#icon-file-jpg",f="gfx/sprite.svg?icon-file-jpg#view-icon-file-jpg");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file-pdf",f="gfx/sprite.svg#view-icon-file-pdf";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file-pdf#icon-file-pdf",f="gfx/sprite.svg?icon-file-pdf#view-icon-file-pdf");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file-png",f="gfx/sprite.svg#view-icon-file-png";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file-png#icon-file-png",f="gfx/sprite.svg?icon-file-png#view-icon-file-png");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file-ppt",f="gfx/sprite.svg#view-icon-file-ppt";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file-ppt#icon-file-ppt",f="gfx/sprite.svg?icon-file-ppt#view-icon-file-ppt");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file-xls",f="gfx/sprite.svg#view-icon-file-xls";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file-xls#icon-file-xls",f="gfx/sprite.svg?icon-file-xls#view-icon-file-xls");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file-zip",f="gfx/sprite.svg#view-icon-file-zip";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file-zip#icon-file-zip",f="gfx/sprite.svg?icon-file-zip#view-icon-file-zip");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file",f="gfx/sprite.svg#view-icon-file";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file#icon-file",f="gfx/sprite.svg?icon-file#view-icon-file");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-jpg",f="gfx/sprite.svg#view-icon-jpg";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-jpg#icon-jpg",f="gfx/sprite.svg?icon-jpg#view-icon-jpg");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-link",f="gfx/sprite.svg#view-icon-link";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-link#icon-link",f="gfx/sprite.svg?icon-link#view-icon-link");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-pdf-icon",f="gfx/sprite.svg#view-icon-pdf-icon";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-pdf-icon#icon-pdf-icon",f="gfx/sprite.svg?icon-pdf-icon#view-icon-pdf-icon");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-pdf",f="gfx/sprite.svg#view-icon-pdf";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-pdf#icon-pdf",f="gfx/sprite.svg?icon-pdf#view-icon-pdf");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-png",f="gfx/sprite.svg#view-icon-png";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-png#icon-png",f="gfx/sprite.svg?icon-png#view-icon-png");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-ppt",f="gfx/sprite.svg#view-icon-ppt";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-ppt#icon-ppt",f="gfx/sprite.svg?icon-ppt#view-icon-ppt");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-rtf",f="gfx/sprite.svg#view-icon-rtf";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-rtf#icon-rtf",f="gfx/sprite.svg?icon-rtf#view-icon-rtf");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-xls",f="gfx/sprite.svg#view-icon-xls";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-xls#icon-xls",f="gfx/sprite.svg?icon-xls#view-icon-xls");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-zip",f="gfx/sprite.svg#view-icon-zip";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-zip#icon-zip",f="gfx/sprite.svg?icon-zip#view-icon-zip");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 40",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-Share",f="gfx/sprite.svg#view-icon-Share";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-Share#icon-Share",f="gfx/sprite.svg?icon-Share#view-icon-Share");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-arrow-left",f="gfx/sprite.svg#view-icon-arrow-left";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-arrow-left#icon-arrow-left",f="gfx/sprite.svg?icon-arrow-left#view-icon-arrow-left");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-arrow-right",f="gfx/sprite.svg#view-icon-arrow-right";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-arrow-right#icon-arrow-right",f="gfx/sprite.svg?icon-arrow-right#view-icon-arrow-right");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-badge-dollar",f="gfx/sprite.svg#view-icon-badge-dollar";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-badge-dollar#icon-badge-dollar",f="gfx/sprite.svg?icon-badge-dollar#view-icon-badge-dollar");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-book-open",f="gfx/sprite.svg#view-icon-book-open";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-book-open#icon-book-open",f="gfx/sprite.svg?icon-book-open#view-icon-book-open");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-calendar",f="gfx/sprite.svg#view-icon-calendar";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-calendar#icon-calendar",f="gfx/sprite.svg?icon-calendar#view-icon-calendar");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-check-circle",f="gfx/sprite.svg#view-icon-check-circle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-check-circle#icon-check-circle",f="gfx/sprite.svg?icon-check-circle#view-icon-check-circle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-check",f="gfx/sprite.svg#view-icon-check";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-check#icon-check",f="gfx/sprite.svg?icon-check#view-icon-check");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-chevron-left",f="gfx/sprite.svg#view-icon-chevron-left";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-chevron-left#icon-chevron-left",f="gfx/sprite.svg?icon-chevron-left#view-icon-chevron-left");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-chevron-right",f="gfx/sprite.svg#view-icon-chevron-right";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-chevron-right#icon-chevron-right",f="gfx/sprite.svg?icon-chevron-right#view-icon-chevron-right");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-clock",f="gfx/sprite.svg#view-icon-clock";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-clock#icon-clock",f="gfx/sprite.svg?icon-clock#view-icon-clock");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-close-menu",f="gfx/sprite.svg#view-icon-close-menu";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-close-menu#icon-close-menu",f="gfx/sprite.svg?icon-close-menu#view-icon-close-menu");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-close",f="gfx/sprite.svg#view-icon-close";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-close#icon-close",f="gfx/sprite.svg?icon-close#view-icon-close");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-comment-alt",f="gfx/sprite.svg#view-icon-comment-alt";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-comment-alt#icon-comment-alt",f="gfx/sprite.svg?icon-comment-alt#view-icon-comment-alt");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-compass",f="gfx/sprite.svg#view-icon-compass";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-compass#icon-compass",f="gfx/sprite.svg?icon-compass#view-icon-compass");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-envelope-square",f="gfx/sprite.svg#view-icon-envelope-square";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-envelope-square#icon-envelope-square",f="gfx/sprite.svg?icon-envelope-square#view-icon-envelope-square");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-exclamation-circle-solid",f="gfx/sprite.svg#view-icon-exclamation-circle-solid";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-exclamation-circle-solid#icon-exclamation-circle-solid",f="gfx/sprite.svg?icon-exclamation-circle-solid#view-icon-exclamation-circle-solid");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-exclamation-circle",f="gfx/sprite.svg#view-icon-exclamation-circle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-exclamation-circle#icon-exclamation-circle",f="gfx/sprite.svg?icon-exclamation-circle#view-icon-exclamation-circle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-exclamation-solid",f="gfx/sprite.svg#view-icon-exclamation-solid";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-exclamation-solid#icon-exclamation-solid",f="gfx/sprite.svg?icon-exclamation-solid#view-icon-exclamation-solid");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-exclamation-triangle",f="gfx/sprite.svg#view-icon-exclamation-triangle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-exclamation-triangle#icon-exclamation-triangle",f="gfx/sprite.svg?icon-exclamation-triangle#view-icon-exclamation-triangle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-external-link-blue",f="gfx/sprite.svg#view-icon-external-link-blue";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-external-link-blue#icon-external-link-blue",f="gfx/sprite.svg?icon-external-link-blue#view-icon-external-link-blue");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-external-link-dark-blue",f="gfx/sprite.svg#view-icon-external-link-dark-blue";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-external-link-dark-blue#icon-external-link-dark-blue",f="gfx/sprite.svg?icon-external-link-dark-blue#view-icon-external-link-dark-blue");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-external-link-white",f="gfx/sprite.svg#view-icon-external-link-white";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-external-link-white#icon-external-link-white",f="gfx/sprite.svg?icon-external-link-white#view-icon-external-link-white");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-external-link",f="gfx/sprite.svg#view-icon-external-link";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-external-link#icon-external-link",f="gfx/sprite.svg?icon-external-link#view-icon-external-link");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-file",f="gfx/sprite.svg#view-icon-file";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-file#icon-file",f="gfx/sprite.svg?icon-file#view-icon-file");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-globe-europe",f="gfx/sprite.svg#view-icon-globe-europe";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-globe-europe#icon-globe-europe",f="gfx/sprite.svg?icon-globe-europe#view-icon-globe-europe");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-home",f="gfx/sprite.svg#view-icon-home";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-home#icon-home",f="gfx/sprite.svg?icon-home#view-icon-home");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-info-circle",f="gfx/sprite.svg#view-icon-info-circle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-info-circle#icon-info-circle",f="gfx/sprite.svg?icon-info-circle#view-icon-info-circle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-language-ara",f="gfx/sprite.svg#view-icon-language-ara";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-language-ara#icon-language-ara",f="gfx/sprite.svg?icon-language-ara#view-icon-language-ara");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-language-eng",f="gfx/sprite.svg#view-icon-language-eng";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-language-eng#icon-language-eng",f="gfx/sprite.svg?icon-language-eng#view-icon-language-eng");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-language-lattlast",f="gfx/sprite.svg#view-icon-language-lattlast";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-language-lattlast#icon-language-lattlast",f="gfx/sprite.svg?icon-language-lattlast#view-icon-language-lattlast");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-language-se",f="gfx/sprite.svg#view-icon-language-se";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-language-se#icon-language-se",f="gfx/sprite.svg?icon-language-se#view-icon-language-se");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-link",f="gfx/sprite.svg#view-icon-link";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-link#icon-link",f="gfx/sprite.svg?icon-link#view-icon-link");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-listen",f="gfx/sprite.svg#view-icon-listen";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-listen#icon-listen",f="gfx/sprite.svg?icon-listen#view-icon-listen");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-map-marker-alt-solid",f="gfx/sprite.svg#view-icon-map-marker-alt-solid";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-map-marker-alt-solid#icon-map-marker-alt-solid",f="gfx/sprite.svg?icon-map-marker-alt-solid#view-icon-map-marker-alt-solid");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-menu",f="gfx/sprite.svg#view-icon-menu";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-menu#icon-menu",f="gfx/sprite.svg?icon-menu#view-icon-menu");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-minus-circle",f="gfx/sprite.svg#view-icon-minus-circle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-minus-circle#icon-minus-circle",f="gfx/sprite.svg?icon-minus-circle#view-icon-minus-circle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-minus",f="gfx/sprite.svg#view-icon-minus";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-minus#icon-minus",f="gfx/sprite.svg?icon-minus#view-icon-minus");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-paperclip",f="gfx/sprite.svg#view-icon-paperclip";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-paperclip#icon-paperclip",f="gfx/sprite.svg?icon-paperclip#view-icon-paperclip");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-plus-circle-solid",f="gfx/sprite.svg#view-icon-plus-circle-solid";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-plus-circle-solid#icon-plus-circle-solid",f="gfx/sprite.svg?icon-plus-circle-solid#view-icon-plus-circle-solid");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-plus-circle",f="gfx/sprite.svg#view-icon-plus-circle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-plus-circle#icon-plus-circle",f="gfx/sprite.svg?icon-plus-circle#view-icon-plus-circle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-plus",f="gfx/sprite.svg#view-icon-plus";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-plus#icon-plus",f="gfx/sprite.svg?icon-plus#view-icon-plus");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-podcast",f="gfx/sprite.svg#view-icon-podcast";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-podcast#icon-podcast",f="gfx/sprite.svg?icon-podcast#view-icon-podcast");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-print",f="gfx/sprite.svg#view-icon-print";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-print#icon-print",f="gfx/sprite.svg?icon-print#view-icon-print");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-question-circle",f="gfx/sprite.svg#view-icon-question-circle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-question-circle#icon-question-circle",f="gfx/sprite.svg?icon-question-circle#view-icon-question-circle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-redo",f="gfx/sprite.svg#view-icon-redo";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-redo#icon-redo",f="gfx/sprite.svg?icon-redo#view-icon-redo");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-rss-square",f="gfx/sprite.svg#view-icon-rss-square";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-rss-square#icon-rss-square",f="gfx/sprite.svg?icon-rss-square#view-icon-rss-square");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-search",f="gfx/sprite.svg#view-icon-search";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-search#icon-search",f="gfx/sprite.svg?icon-search#view-icon-search");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-shopping-cart-plus",f="gfx/sprite.svg#view-icon-shopping-cart-plus";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-shopping-cart-plus#icon-shopping-cart-plus",f="gfx/sprite.svg?icon-shopping-cart-plus#view-icon-shopping-cart-plus");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-shopping-cart",f="gfx/sprite.svg#view-icon-shopping-cart";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-shopping-cart#icon-shopping-cart",f="gfx/sprite.svg?icon-shopping-cart#view-icon-shopping-cart");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-sign-language",f="gfx/sprite.svg#view-icon-sign-language";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-sign-language#icon-sign-language",f="gfx/sprite.svg?icon-sign-language#view-icon-sign-language");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-sort",f="gfx/sprite.svg#view-icon-sort";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-sort#icon-sort",f="gfx/sprite.svg?icon-sort#view-icon-sort");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-trash-alt",f="gfx/sprite.svg#view-icon-trash-alt";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-trash-alt#icon-trash-alt",f="gfx/sprite.svg?icon-trash-alt#view-icon-trash-alt");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-user",f="gfx/sprite.svg#view-icon-user";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-user#icon-user",f="gfx/sprite.svg?icon-user#view-icon-user");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-help",f="gfx/sprite.svg#view-icon-help";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-help#icon-help",f="gfx/sprite.svg?icon-help#view-icon-help");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-home-black",f="gfx/sprite.svg#view-icon-home-black";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-home-black#icon-home-black",f="gfx/sprite.svg?icon-home-black#view-icon-home-black");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-ic_close_24px",f="gfx/sprite.svg#view-icon-ic_close_24px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-ic_close_24px#icon-ic_close_24px",f="gfx/sprite.svg?icon-ic_close_24px#view-icon-ic_close_24px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-ic_close_white_24px",f="gfx/sprite.svg#view-icon-ic_close_white_24px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-ic_close_white_24px#icon-ic_close_white_24px",f="gfx/sprite.svg?icon-ic_close_white_24px#view-icon-ic_close_white_24px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-ic_close_white_30px",f="gfx/sprite.svg#view-icon-ic_close_white_30px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-ic_close_white_30px#icon-ic_close_white_30px",f="gfx/sprite.svg?icon-ic_close_white_30px#view-icon-ic_close_white_30px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-ic_podd",f="gfx/sprite.svg#view-icon-ic_podd";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-ic_podd#icon-ic_podd",f="gfx/sprite.svg?icon-ic_podd#view-icon-ic_podd");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 20 20",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-ikoner-navigation-engelska",f="gfx/sprite.svg#view-icon-ikoner-navigation-engelska";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-ikoner-navigation-engelska#icon-ikoner-navigation-engelska",f="gfx/sprite.svg?icon-ikoner-navigation-engelska#view-icon-ikoner-navigation-engelska");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 18",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-lattlast",f="gfx/sprite.svg#view-icon-lattlast";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-lattlast#icon-lattlast",f="gfx/sprite.svg?icon-lattlast#view-icon-lattlast");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 18",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-magnifier",f="gfx/sprite.svg#view-icon-magnifier";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-magnifier#icon-magnifier",f="gfx/sprite.svg?icon-magnifier#view-icon-magnifier");n.exports={symbol:r+u,view:r+f,viewBox:"-1 -1 54 54",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-min-sida-white",f="gfx/sprite.svg#view-icon-min-sida-white";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-min-sida-white#icon-min-sida-white",f="gfx/sprite.svg?icon-min-sida-white#view-icon-min-sida-white");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-min-sida",f="gfx/sprite.svg#view-icon-min-sida";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-min-sida#icon-min-sida",f="gfx/sprite.svg?icon-min-sida#view-icon-min-sida");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-minus-ps",f="gfx/sprite.svg#view-icon-minus-ps";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-minus-ps#icon-minus-ps",f="gfx/sprite.svg?icon-minus-ps#view-icon-minus-ps");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 30 30",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-need_help",f="gfx/sprite.svg#view-icon-need_help";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-need_help#icon-need_help",f="gfx/sprite.svg?icon-need_help#view-icon-need_help");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 25 25",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-paper-clip",f="gfx/sprite.svg#view-icon-paper-clip";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-paper-clip#icon-paper-clip",f="gfx/sprite.svg?icon-paper-clip#view-icon-paper-clip");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 418.188 418.187",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-plus-ps",f="gfx/sprite.svg#view-icon-plus-ps";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-plus-ps#icon-plus-ps",f="gfx/sprite.svg?icon-plus-ps#view-icon-plus-ps");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 30 30",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-print-black",f="gfx/sprite.svg#view-icon-print-black";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-print-black#icon-print-black",f="gfx/sprite.svg?icon-print-black#view-icon-print-black");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 29 29",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-rss-icon",f="gfx/sprite.svg#view-icon-rss-icon";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-rss-icon#icon-rss-icon",f="gfx/sprite.svg?icon-rss-icon#view-icon-rss-icon");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 50 50",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-shopping_cart-24px",f="gfx/sprite.svg#view-icon-shopping_cart-24px";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-shopping_cart-24px#icon-shopping_cart-24px",f="gfx/sprite.svg?icon-shopping_cart-24px#view-icon-shopping_cart-24px");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 24 24",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-teckensprok",f="gfx/sprite.svg#view-icon-teckensprok";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-teckensprok#icon-teckensprok",f="gfx/sprite.svg?icon-teckensprok#view-icon-teckensprok");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 18",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-utl-nkning-blue",f="gfx/sprite.svg#view-icon-utl-nkning-blue";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-utl-nkning-blue#icon-utl-nkning-blue",f="gfx/sprite.svg?icon-utl-nkning-blue#view-icon-utl-nkning-blue");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 19",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-utl-nkning",f="gfx/sprite.svg#view-icon-utl-nkning";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-utl-nkning#icon-utl-nkning",f="gfx/sprite.svg?icon-utl-nkning#view-icon-utl-nkning");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 19",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-utl-nkning_white",f="gfx/sprite.svg#view-icon-utl-nkning_white";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-utl-nkning_white#icon-utl-nkning_white",f="gfx/sprite.svg?icon-utl-nkning_white#view-icon-utl-nkning_white");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 18 19",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){var r=i.p,u="gfx/sprite.svg#icon-x-mark-circle",f="gfx/sprite.svg#view-icon-x-mark-circle";"undefined"!=typeof document&&"complete"===document.readyState&&(u="gfx/sprite.svg?icon-x-mark-circle#icon-x-mark-circle",f="gfx/sprite.svg?icon-x-mark-circle#view-icon-x-mark-circle");n.exports={symbol:r+u,view:r+f,viewBox:"0 0 512 512",title:"",toString:function(){return JSON.stringify(this.view)}}},function(n,t,i){"use strict";(function(n){function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var e,r,o,s,h,u;Object.defineProperty(t,"__esModule",{value:!0});t.SearchButton=void 0;r=function(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));o=i(3);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;u=function(n){return r.createElement("button",{onClick:n.searchStateCallback,className:"siteheader__button","aria-expanded":n.searchIsOpen,"aria-controls":n.searchPanelId},r.createElement("svg",{className:"search-open","aria-hidden":"true",width:"28px",height:"26px",viewBox:"0 0 28 26"},r.createElement("g",{transform:"translate(2.000000, 1.000000)",fill:"#000000",stroke:"#000000"},r.createElement("path",{d:"M23.5598101,21.5565733 L16.9888918,14.9828248 C18.1667382,13.3762957 18.797706,11.4340404 18.7889085,9.44198366 C18.7664345,4.2420547 14.5607926,0.0301290775 9.36110651,9.55209229e-05 C6.87276362,-0.0111632398 4.4832692,0.973268436 2.72493502,2.73408701 C0.966600833,4.49490559 -0.0145114412,6.88584303 0.000162259029,9.37426608 C0.0226362579,14.5746684 4.22866195,18.7869778 9.42882142,18.8170114 C11.4289147,18.8256804 13.3781893,18.1873227 14.9857303,16.9972085 L14.9925875,16.9920654 L21.5575057,23.5606709 C21.9124499,23.933055 22.441341,24.0837873 22.9392584,23.9544661 C23.4371758,23.8251449 23.8258822,23.4360904 23.9547722,22.9380429 C24.0836621,22.4399954 23.9324831,21.9112127 23.5598101,21.5565733 L23.5598101,21.5565733 Z M9.42196421,16.9346341 C5.2620639,16.9107032 1.89729805,13.5412164 1.87903688,9.38112355 C1.86780922,7.39064294 2.65276362,5.47827713 4.05916612,4.06972631 C5.46556863,2.6611755 7.37668981,1.8733474 9.36710656,1.88161567 C13.5270069,1.90554653 16.8917727,5.27503334 16.9100339,9.43512618 C16.9212616,11.4256068 16.1363072,13.3379726 14.7299047,14.7465234 C13.3235021,16.1550742 11.412381,16.9429023 9.42196421,16.9346341 Z"}))),r.createElement(o.Icon,{iconType:"fontawesome/close-menu",className:"search-close"}),r.createElement("span",{className:"display-block"},n.searchText))};t.SearchButton=u;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&s.register(u,"SearchButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SiteHeader\\SearchButton.tsx");(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(n):t}function y(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.MobileMenuHeader=void 0;r=p(i(1));c=i(3);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).renderBreadcrumbs=r.renderBreadcrumbs.bind(y(r)),r.state={},r}k(t,n);var i=d(t);return b(t,[{key:"renderBreadcrumbs",value:function(n,t){var i=this.props.activeMenuItem.Breadcrumb.PageUrl[t];return r.createElement("span",{key:i,className:"mobile-menu__breadcrumb"},r.createElement("a",{href:i},n))}},{key:"render",value:function(){var n=this;return r.createElement("div",{className:"mobile-menu__header"},this.props.activeMenuItem.Breadcrumb.PageUrl.length>0&&r.createElement("div",{className:"mobile-menu__breadcrumbs"},this.props.activeMenuItem.Breadcrumb.PageName.map(this.renderBreadcrumbs)),r.createElement("div",{className:"mobile-menu__functions"},r.createElement("div",null,!this.props.isStartPage&&r.createElement("button",{onClick:function(){return n.props.previousLevelTriggeredCallback()},className:"mobile-menu__header-icon mobile-menu__header-icon--previous chevron","aria-label":"Gå tillbaka i menyn"})),r.createElement("div",{className:"mobile-menu__headline"},this.props.activeMenuItem.Name),r.createElement("div",null,!this.props.isStartPage&&r.createElement("button",{onClick:function(){return n.props.homeTriggeredCallback()},className:"mobile-menu__header-icon","aria-label":"Gå till startsidan"},r.createElement(c.Icon,{className:this.props.isCampaignPage?"campaign-page__home-icon":"",iconType:"fontawesome/home"})))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={isCampaignPage:!1},n}();t.MobileMenuHeader=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"MobileMenuHeader","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MobileMenu\\MobileMenuHeader.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.MobileMenuSlider=void 0;r=y(i(1));c=i(368);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n)).runAnimation=function(){r.props.isNavigatingBackwards&&r.levelWrapper.classList.add("reverse");r.levelWrapper.classList.add("transition");r.levelWrapper.classList.add("swipe-out");setTimeout(function(){r.levelWrapper.classList.remove("transition");setTimeout(function(){r.setState(function(){return{activeMenuItem:r.props.activeMenuItem}});r.levelWrapper.classList.remove("swipe-out");r.levelWrapper.classList.add("re-center");setTimeout(function(){r.levelWrapper.classList.add("transition");r.levelWrapper.classList.add("pop-in");setTimeout(function(){r.levelWrapper.classList.remove("transition");r.levelWrapper.classList.remove("re-center");r.levelWrapper.classList.remove("pop-in");r.levelWrapper.classList.remove("reverse")},250)},1)},1)},250)},r.state={activeMenuItem:r.props.activeMenuItem},r}b(t,n);var i=k(t);return w(t,[{key:"componentDidUpdate",value:function(n){n.activeMenuItem!==this.props.activeMenuItem&&this.runAnimation()}},{key:"render",value:function(){var n=this;return r.createElement("div",{className:"mobile-menu__slider",ref:function(t){return n.levelWrapper=t}},r.createElement(c.MobileMenuLevel,{language:this.props.language,activeMenuItem:this.state.activeMenuItem,addChildrenToTreeCallback:this.props.addChildrenToTreeCallback,setActiveMenuItemCallback:this.props.setActiveMenuItemCallback,isStartPage:this.props.isStartPage}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.MobileMenuSlider=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"MobileMenuSlider","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MobileMenu\\MobileMenuSlider.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.MobileMenuLevel=void 0;r=y(i(1));c=i(369);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return p(this,t),(u=i.call(this,n)).renderMenuItems=function(n){return r.createElement(c.MobileMenuItem,{language:u.props.language,menuItem:n,setActiveMenuItemCallback:u.props.setActiveMenuItemCallback,addChildrenToTreeCallback:u.props.addChildrenToTreeCallback,key:n.Id,isStartPage:u.props.isStartPage})},u}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return r.createElement("ul",{className:"mobile-menu__menu-item-list"},this.props.activeMenuItem&&this.props.activeMenuItem.Children.map(this.renderMenuItems))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.MobileMenuLevel=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"MobileMenuLevel","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MobileMenu\\MobileMenuLevel.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function p(n){return n&&n.__esModule?n:{"default":n}}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var c,r,u,it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.MobileMenuItem=void 0;c=p(i(13));r=y(i(1));i(452);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).fetchChildren=function(n){var t=[];return fetch("/_api/menu/getchildren?contentId="+n.Id+"&lang="+r.props.language).then(function(n){return n.json().then(function(t){return{data:t,status:n.status}}).then(function(n){t=n.data;r.menuItem.Children=t;r.props.addChildrenToTreeCallback(r.menuItem.Children,r.props.menuItem.Id)})}),t},r.onClickNextLevel=function(n){n.Children.length>0&&r.props.setActiveMenuItemCallback(n,!1)},r.menuItem=c.default(r.props.menuItem),r}k(t,n);var i=d(t);return b(t,[{key:"componentDidMount",value:function(){this.props.menuItem.HasChildren&&0===this.props.menuItem.Children.length&&this.fetchChildren(this.props.menuItem)}},{key:"render",value:function(){var n=this,t=this.props,i=t.menuItem,u=t.isStartPage,f="mobile-menu__nav-link ".concat(i.IsCurrentPage?"current":"");return r.createElement("li",{className:"mobile-menu__menu-item"},r.createElement("a",{className:f,href:this.props.menuItem.Url}," ",this.props.menuItem.Name," "),this.menuItem.HasChildren&&r.createElement("button",{onClick:function(){return n.onClickNextLevel(n.menuItem)},className:"mobile-menu__expand-menulevel chevron chevron--right"+(u?" hide-navigate-arrow":""),"aria-label":"Öppna undersidor"}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.MobileMenuItem=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"MobileMenuItem","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MobileMenu\\MobileMenuItem.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(84),u=i(193),f=i(576),e=i(59),o=i(34),s=i(580),h=i(581),c=i(197),l=h(function(n,t){var i={},h,l;if(null==n)return i;for(h=!1,t=r(t,function(t){return t=e(t,n),h||(h=t.length>1),t}),o(n,c(n),i),h&&(i=u(i,7,s)),l=t.length;l--;)f(i,t[l]);return i});n.exports=l},function(n,t,i){var u=i(191),f=i(199),e=i(121),o=Function.prototype,s=Object.prototype,r=o.toString,h=s.hasOwnProperty,c=r.call(Object);n.exports=function(n){var i,t;return!e(n)||"[object Object]"!=u(n)?!1:(i=f(n),null===i)?!0:(t=h.call(i,"constructor")&&i.constructor,"function"==typeof t&&t instanceof t&&r.call(t)==c)}},function(n,t,i){n.exports=i(131)},function(n,t,i){var r=i(192),u=i(86);n.exports=function(n){return r(function(t,i){var e=-1,r=i.length,f=r>1?i[r-1]:void 0,s=r>2?i[2]:void 0,o;for(f=n.length>3&&"function"==typeof f?(r--,f):void 0,s&&u(i[0],i[1],s)&&(f=r<3?void 0:f,r=1),t=Object(t);++e<r;)o=i[e],o&&n(t,o,e,f);return t})}},function(n,t,i){"use strict";(function(n){function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var r,o,s,u,h,c,f;Object.defineProperty(t,"__esModule",{value:!0});t.CurrentEvent=void 0;r=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));o=i(134);i(608);u=i(3);(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&s(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;f=function(n){return r.createElement("article",{key:n.Id,className:"current-event ".concat(null!=n.cssClassArticle?n.cssClassArticle:"")},r.createElement("a",{href:n.url},null!==n.imageUrl?r.createElement(o.Lazyloader,{imageUrl:n.imageUrl,lowresBase64:n.lowresBase64,imageAltText:n.ImageDescription}):null!==n.externalImage?r.createElement("div",{className:"external-image-wrapper"},r.createElement("img",{alt:"",src:n.externalImage})):null,n.date&&r.createElement("time",{className:"text-micro",dateTime:null!=n.timeDateFormat?n.timeDateFormat:n.date},n.date),n.useH2Heading?r.createElement("h2",{className:"heading-small ".concat(n.cssClassHeading)},n.headline,r.createElement(u.Icon,{className:"",iconType:"fontawesome/chevron-left"})):r.createElement("h3",{className:n.cssClassHeading},n.headline,r.createElement(u.Icon,{className:"",iconType:"fontawesome/chevron-left"})),null!=n.text&&""!=n.text?r.createElement("p",{className:n.cssClassText},n.text):null))};t.CurrentEvent=f;(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&h.register(f,"CurrentEvent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\CurrentEvent\\CurrentEvent.tsx");(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function v(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function b(n){var t=g();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,nt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.DelayedRender=void 0;r=v(i(1));u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return y(this,t),(r=i.call(this,n)).state={isRendered:!1},r}w(t,n);var i=b(t);return p(t,[{key:"componentDidMount",value:function(){var n=this,t=this.props.delay;this._timeoutId=setTimeout(function(){n.setState({isRendered:!0})},t)}},{key:"componentWillUnmount",value:function(){this._timeoutId&&clearTimeout(this._timeoutId)}},{key:"render",value:function(){return this.state.isRendered?r.Children.only(this.props.children):null}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={delay:0},n}();t.DelayedRender=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"DelayedRender","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\DelayedRender\\DelayedRender.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function w(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(){return(a=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function v(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function b(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?v(Object(i),!0).forEach(function(t){k(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):v(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function k(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function g(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function tt(n){var t=ut();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),it(this,i)}}function it(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?rt(n):t}function rt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ut(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,ft,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.ControlledTextInput=void 0;r=w(i(1));c=i(92);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ft="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return d(this,t),(r=i.call(this,n)).state=b({},r.props),r}nt(t,n);var i=tt(t);return g(t,[{key:"render",value:function(){return r.createElement(r.Fragment,null,r.createElement(c.TextInput,a({},this.props,{onBlur:this.props.onBlur,onChange:this.props.onChange})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}],[{key:"getDerivedStateFromProps",value:function(n,t){if(n.value!==t.value){var i=n.errorMessage;return{value:n.value,errorMessage:i}}return null}}]),t}(r.PureComponent);return n.defaultProps={fieldName:"",value:"",isRequired:!1,changeOnBlur:!0,errorMessage:"",showMaxLengthMessage:!1,type:"text",classNames:"",disabled:!1,readonly:!1,actAsNumber:!1,min:0,isTouched:!1,hidden:!1,isWrappedByControlledElement:!0,onChange:function(){},onBlur:function(){}},n}();t.ControlledTextInput=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"ControlledTextInput","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\ControlledTextInput.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";var r,u,f,e;Object.defineProperty(t,"__esModule",{value:!0});r=i(379);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(381);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(649);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(382);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function h(n){return n&&n.__esModule?n:{"default":n}}function c(n){return a.default("fileupload__filename","file-extension-flaticon",{file__uploading:n===u.FileState.UPLOADING,file__settled:n===u.FileState.SETTLED,"fileupload__filename--invalid":n===u.FileState.INVALID})}var f,l,e;Object.defineProperty(t,"__esModule",{value:!0});t.FileItem=void 0;var s,r=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),a=h(i(634)),u=i(93),v=h(i(137));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&s(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;e=function(n){return r.createElement("div",{className:c(n.fileMeta.status)},n.fileMeta.OriginalFilename,!n.clientOnly&&n.fileMeta.FileId&&r.createElement("button",{type:"button","aria-label":"Ta bort fil: ".concat(n.fileMeta.OriginalFilename),className:"fileupload__remove",onClick:function(t){t.preventDefault();n.onRemove(n.fileMeta,n.index)}},"X"),!n.fileMeta.FileId&&r.createElement(v.default,{darkColor:!0,cssClasses:"fileupload__spinner fileupload__remove"}))};t.FileItem=e;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(c,"buildClassName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Fileupload\\FileItem.tsx"),f.register(e,"FileItem","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Fileupload\\FileItem.tsx"));(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,i,u,f;Object.defineProperty(t,"__esModule",{value:!0});t.FileState=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.FileState=i,function(n){n[n.UPLOADING=0]="UPLOADING";n[n.SETTLED=1]="SETTLED";n[n.INVALID=2]="INVALID"}(i||(t.FileState=i={}));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"FileState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\commonTypes\\fileupload.types.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function p(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return p=function(){return n},n}function ft(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==h(n)&&"function"!=typeof n)return{"default":n};if(t=p(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function h(n){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(){return(w=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function b(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function u(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?b(Object(i),!0).forEach(function(t){et(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function et(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function ot(n){return lt(n)||ct(n)||ht(n)||st()}function st(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function ht(n,t){if(n){if("string"==typeof n)return c(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?c(n,t):void 0}}function ct(n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}function lt(n){if(Array.isArray(n))return c(n)}function c(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function at(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function k(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function vt(n,t,i){return t&&k(n.prototype,t),i&&k(n,i),n}function yt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&d(n,t)}function d(n,t){return(d=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function pt(n){var t=kt();return function(){var i,r=l(n),u;return t?(u=l(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),wt(this,i)}}function wt(n,t){return!t||"object"!==h(t)&&"function"!=typeof t?bt(n):t}function bt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function kt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function l(n){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function e(n){var t=n.name.lastIndexOf("\\"),i=n.name.slice(t+1);return{file:n,OriginalFilename:i,status:tt.FileState.UPLOADING}}Object.defineProperty(t,"__esModule",{value:!0});t.fileToFileMeta=e;t.Fileupload=void 0;var r=ft(i(1)),nt=i(379),y=i(4),tt=i(93),it=i(382);i(648);var o=i(26),rt=i(43),ut=i(138),s;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;s&&s(n);var dt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},a=[],g=function(){var n=function(n){function t(n){var f,o;at(this,t);(f=i.call(this,n)).onBlur=function(){f.setState({isTouched:!0})};f.fileinputOnChangeClientOnly=function(n){var t=[];0===n.length&&(f.fileInputRef.value="");ot(n).forEach(function(n){t.push(e(n))});f.setState({isTouched:!0});f.props.onAdd(u(u({},f.state),{},{value:t,isTouched:!0}))};f.fileinputOnChange=function(n){var i,r,o;if(n.preventDefault(),n.stopPropagation(),f.props.clientOnly)return f.fileinputOnChangeClientOnly(n.target.files);if(0===n.target.files.length)return!1;var s=f.props,h=s.maxFileSize,c=s.maxFileSizeErrorMessage,t=n.target.files[n.target.files.length-1];t&&t.size>h?f.setState({clientError:{error:null,errorMessage:c+Math.round(h/1048576)+" MB"},isTouched:!0}):(i=e(t),r=f.props.value,r.find(function(n){return n.OriginalFilename===i.OriginalFilename})?f.setState({clientError:{error:null,errorMessage:"Du kan inte ladda upp fler filer med samma filnamn."},isTouched:!0}):(o=r.slice(),o.push(i),f.setState({isTouched:!0,clientError:null}),f.props.onAdd(u(u({},f.state),{},{value:o,isTouched:!0}))))};f.onRemoveFile=function(n){var i=f.props.value.slice(),t;f.fileInputRef.value="";t=f.props.fieldName;f.props.onRemove(n,t,u(u({},f.state),{},{value:i,disabled:!1,isTouched:!0,clientError:null}))};f.renderFileItems=function(n){return n.map(function(n,t){var i="".concat(t,"-").concat(n.OriginalFilename).replace(/\s/g,"");return r.default.createElement(nt.FileItem,{clientOnly:f.props.clientOnly,key:i,index:t,onRemove:f.onRemoveFile,fileMeta:n})})};o=n.id?"fileUpload_"+n.id:null;f._id=o||y.hashCode(f.props.heading,"fileUpload");f._errorId=y.hashCode(f.props.heading,"error");var s=f.props,h=s.fieldName,c=s.value;return f._latestValue=void 0!==n.value?c:a,f.state={fieldName:h,value:f._latestValue,hasFetched:!1,isTouched:n.isTouched,errorMessage:""},f}yt(t,n);var i=pt(t);return vt(t,[{key:"componentDidUpdate",value:function(n){this.props.clientOnly||(this.fileInputRef.value="");n.isTouched!==this.props.isTouched&&this.setState({isTouched:this.props.isTouched})}},{key:"render",value:function(){var v=this,n=this.props,y=n.disabled,p=n.nofilesText,u=n.heading,b=n.mimetype,k=n.upload,t=n.max,f=n.clientError,c=n.mandatory,i=n.value,d=n.maxFilesInfoMessage,g=n.showMaxFilesInfoMessage,e=n.clientOnly,nt=n.infoBubble,tt=n.fieldName,s=this.state.clientError,h=this._errorMessage,l=!e&&(y||i.length===t),ft=t>1&&e,et=l?"fileupload disabled":"fileupload",a=rt.getIdFriendlyName(u,"itemwrapper");return r.default.createElement("div",{className:et},r.default.createElement(it.FileupLoadHeader,{controls:a,mandatory:c,heading:u,upload:k,inputId:this._id,infoBubble:nt}),r.default.createElement("div",{className:"indent"},r.default.createElement("div",{id:a,className:"fileupload__filename-wrapper ".concat(h||f||s?"formelement-has-error":"")},i.length?this.renderFileItems(i):r.default.createElement("div",{className:"fileupload__filename fileupload__filename--nofiles"},p)),h&&r.default.createElement(o.InputError,{id:this._errorId,errorText:h}),f&&r.default.createElement(o.InputError,{id:this._errorId,errorText:f.errorMessage}),s&&r.default.createElement(o.InputError,{id:this._errorId,errorText:s.errorMessage}),g&&i.length===t&&r.default.createElement(ut.InputInfo,{infoText:d.replace("{0}",t.toString())})),r.default.createElement("input",w({ref:function(n){return v.fileInputRef=n},onChange:this.fileinputOnChange,disabled:l,hidden:!0,tabIndex:-1,type:"file",id:this._id,onBlur:this.onBlur,name:e?tt:u,multiple:ft,accept:b,required:c},this._ariaAttributes)))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}},{key:"_errorMessage",get:function(){var n=this.state.errorMessage;return!n&&this.props.errorMessage&&(n=this.props.errorMessage),n}},{key:"_ariaAttributes",get:function(){return this.props.errorAriaAttributes||(this._errorMessage?{"aria-invalid":!0,"aria-describedby":this._errorId}:{})}}]),t}(r.Component);return n.defaultProps={disabled:!0,heading:"Fil",upload:"Ladda upp",nofilesText:"Inga Filer",mimetype:"",fieldName:"",max:1,value:a,errorMessage:"",clientError:null,maxFileSize:10485760,maxFileSizeErrorMessage:"Filen är för stor, den får inte vara större än ",showMaxFilesInfoMessage:!1,maxFilesInfoMessage:"Du kan inte ladda upp fler än {0} filer.",isTouched:!1,id:null,clientOnly:!1,onAdd:function(){},onRemove:function(){},onChange:function(){}},n}(),f,v;t.Fileupload=g;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;f&&(f.register(a,"DEFAULT_STATE_VALUE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Fileupload\\Fileupload.tsx"),f.register(g,"Fileupload","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Fileupload\\Fileupload.tsx"),f.register(e,"fileToFileMeta","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Fileupload\\Fileupload.tsx"));v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;v&&v(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function f(n){return n&&(n.text||n.isInEditMode)}var e,l,o;Object.defineProperty(t,"__esModule",{value:!0});t.FileupLoadHeader=void 0;var u,h,r=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==s(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),a=i(3),v=(u=i(645))&&u.__esModule?u:{"default":u},c=i(43),y=i(383);(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&h(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;o=function(n){return r.createElement("div",{className:"fileupload__header"},r.createElement(v.default,{showAsterix:n.mandatory},r.createElement("div",{id:c.getIdFriendlyName(n.heading,"header"),className:"fileupload__heading ".concat(f(n.infoBubble)?"fileupload__heading--infobubble":"")},n.heading,f(n.infoBubble)&&r.createElement(y.Tooltip,{text:n.infoBubble.text,editableEpiserverPropertyName:n.infoBubble.propertyName,enableEpiserverOnPageEditing:!0,isInEditMode:n.infoBubble.isInEditMode}))),r.createElement("button",{onClick:function(){return document.getElementById(n.inputId).click()},className:"stripped-button fileupload__label",type:"button","aria-controls":n.controls,"aria-describedby":c.getIdFriendlyName(n.heading,"header")},r.createElement(a.Icon,{className:"fileupload__svg",iconType:"paper-clip"}),n.upload))};t.FileupLoadHeader=o;(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(e.register(f,"shouldShowInfoBubble","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Fileupload\\FileupLoadHeader.tsx"),e.register(o,"FileupLoadHeader","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Fileupload\\FileupLoadHeader.tsx"));(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function b(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function nt(n){var t=rt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),tt(this,i)}}function tt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?it(n):t}function it(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function rt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var l,a,u,ut,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.Tooltip=void 0;var r=b(i(1)),c=i(3),w=i(25);i(646);l=i(4);a=i(647);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ut="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return k(this,t),(r=i.call(this,n)).toggleTooltip=function(n){n.preventDefault();r.setState(function(n){return{isOpen:!n.isOpen}})},r.closeTooltip=function(n){n.preventDefault();r.setState({isOpen:!1})},r.closeTooltipWithBackDrop=function(){r.setState({isOpen:!1})},r.state={isOpen:!1},r}g(t,n);var i=nt(t);return d(t,[{key:"componentDidMount",value:function(){var n=this;document.addEventListener("keyup",function(t){n.state.isOpen&&t.key===w.KeyboardEventKeys.esc&&(t.preventDefault(),n.setState({isOpen:!1}))})}},{key:"render",value:function(){var n=this.props,t=n.text,u=n.isInEditMode,i=n.enableEpiserverOnPageEditing,f=n.editableEpiserverPropertyName;return r.createElement("div",{className:"tooltip"},r.createElement("button",{type:"button",onClick:this.toggleTooltip,className:"tooltip__button","aria-label":"Ytterligare information"},this.props.textInsteadOfSvg?this.props.textInsteadOfSvg:r.createElement(c.Icon,{iconType:"Infocirkel_normal20px20px",isAriaHidden:!1,ariaLabel:"Mera information"})),r.createElement("div",{className:"tooltip__bubble drop-shadow-high-elevation ".concat(this.state.isOpen?"open":"")},this.state.isOpen&&r.createElement(r.Fragment,null,r.createElement("button",{type:"button",onClick:this.closeTooltip,className:"tooltip__button tooltip__close","aria-label":"Stäng ytterligare infomation"},r.createElement(c.Icon,{iconType:"ic_close_white_24px"})),r.createElement("div",{role:"alert"},!i&&r.createElement(r.Fragment,null,t),i&&r.createElement(a.EpiserverProperty,{isInEditMode:u,propertyName:f,usingDangerouslySetInnerHTML:!0},r.createElement("div",{dangerouslySetInnerHTML:l.setInnerHtml(t)}))))),r.createElement("div",{className:"backdrop ".concat(this.state.isOpen?"open":""),onClick:this.closeTooltipWithBackDrop}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.Tooltip=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"Tooltip","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Tooltip\\Tooltip.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t){"use strict";function r(n){var i=n.offsetWidth<=0&&n.offsetHeight<=0,t;return i&&!n.innerHTML?!0:(t=window.getComputedStyle(n),i?"visible"!==t.getPropertyValue("overflow")||n.scrollWidth<=0&&n.scrollHeight<=0:"none"==t.getPropertyValue("display"))}function u(n){var t=n.getAttribute("tabindex"),u;return null===t&&(t=void 0),u=isNaN(t),(u||t>=0)&&function(n,t){var u=n.nodeName.toLowerCase();return(i.test(u)&&!n.disabled||"a"===u&&n.href||t)&&function(n){for(var t=n;t&&t!==document.body;){if(r(t))return!1;t=t.parentNode}return!0}(n)}(n,!u)}Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n){return[].slice.call(n.querySelectorAll("*"),0).filter(u)};var i=/input|select|textarea|button|object/;n.exports=t.default},function(n,t,i){"use strict";function e(n,t){if(!n||!n.length)throw new Error("react-modal: No elements were found for selector "+t+".");}function f(n){return!(!n&&!r&&(o.default(!1,"react-modal: App element is not defined. Please use `Modal.setAppElement(el)` or set `appElement={el}`. This is needed so screen readers don't see main content when modal is opened. It is not recommended, but you can opt-out by setting `ariaHideApp={false}`."),1))}Object.defineProperty(t,"__esModule",{value:!0});t.assertNodeList=e;t.setElement=function(n){var t=n,i;return"string"==typeof t&&s.canUseDOM&&(i=document.querySelectorAll(t),e(i,t),t="length"in i?i[0]:i),r=t||r};t.validateElement=f;t.hide=function(n){f(n)&&(n||r).setAttribute("aria-hidden","true")};t.show=function(n){f(n)&&(n||r).removeAttribute("aria-hidden")};t.documentNotReadyOrSSRTesting=function(){r=null};t.resetForTesting=function(){r=null};var u,o=(u=i(666))&&u.__esModule?u:{"default":u},s=i(141),r=null},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=new function n(){var t=this;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.register=function(n){-1===t.openInstances.indexOf(n)&&(t.openInstances.push(n),t.emit("register"))};this.deregister=function(n){var i=t.openInstances.indexOf(n);-1!==i&&(t.openInstances.splice(i,1),t.emit("deregister"))};this.subscribe=function(n){t.subscribers.push(n)};this.emit=function(n){t.subscribers.forEach(function(i){return i(n,t.openInstances.slice())})};this.openInstances=[];this.subscribers=[]};t.default=i;n.exports=t.default},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function nt(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==s(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(){return(y=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function p(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function f(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?p(Object(i),!0).forEach(function(t){tt(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function tt(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function rt(n,t,i){return t&&w(n.prototype,t),i&&w(n,i),n}function ut(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&b(n,t)}function b(n,t){return(b=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ft(n){var t=st();return function(){var i,r=h(n),u;return t?(u=h(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),et(this,i)}}function et(n,t){return!t||"object"!==s(t)&&"function"!=typeof t?ot(n):t}function ot(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function st(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function h(n){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function k(n,t){return function(i){t(i,n)}}var a,o,ht,c,e,u,l;Object.defineProperty(t,"__esModule",{value:!0});t.Step=t.StepWizardHost=void 0;var r=nt(i(1)),d=i(388),g=i(673);i(677);i(389);a=i(8);o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;o&&o(n);ht="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};c=function(){var n=function(n){function t(n){var u;return it(this,t),(u=i.call(this,n)).initialState=function(){var n={activeStep:0,classes:{},transitions:{enterRight:"animated fadeInRight",enterLeft:"animated fadeInLeft",exitRight:"animated fadeOutRight",exitLeft:"animated fadeOutLeft"},steps:[]},t;return n.transitions.intro="",r.Children.forEach(u.props.children,function(t,i){n.classes[i]="hide";n.steps.push({stepId:i,isDone:!1,stepLabel:""})}),t=u.props.initialStep-1,t&&u.props.children[t]&&(n.activeStep=t),n.classes[n.activeStep]=n.transitions.intro,n},u.isInvalidStep=function(n){return n<0||n>=u.props.children.length},u.setActiveStep=function(n){var t=u.state.activeStep;if(t!==n&&!u.isInvalidStep(n)){var r=u.state,i=r.classes,f=r.transitions;t<n?(i[t]="hide exitLeft",i[n]=f.enterRight):(i[t]="hide exitRight",i[n]=f.enterLeft);u.setState({activeStep:n,classes:i},function(){a.setFocusOnElementById("step"+(n+1));window.scrollTo(0,0);u.onStepChange({previousStep:t+1,activeStep:n+1,totalSteps:u.state.steps.length})})}},u.onStepChange=function(n){u.props.onStepChange(n)},u.firstStep=function(){return u.goToStep(0)},u.lastStep=function(){return u.goToStep(u.props.children.length)},u.nextStep=function(){return u.setActiveStep(u.state.activeStep+1)},u.previousStep=function(){return u.setActiveStep(u.state.activeStep-1)},u.goToStep=function(n){return u.setActiveStep(n)},u.onChildChanged=function(n,t){u.setState(function(i){return{steps:i.steps.map(function(i){return i.stepId===t?f(f({},i),n):f({},i)}).slice()}})},u.decorateSteps=function(n){var t=u.props.stepValidationMap;return n.map(function(n,i){var r=f({},n);return r.isDone=t&&t[i]&&t[i].isValid,r})},u.state=u.initialState(),u}ut(t,n);var i=ft(t);return rt(t,[{key:"render",value:function(){var i=this,n=this.props.stepValidationMap,t={currentStep:this.state.activeStep,totalSteps:this.props.children.length,steps:this.decorateSteps(this.state.steps),nextLabel:this.props.nextLabel,previousLabel:this.props.previousLabel,nextStep:this.nextStep,previousStep:this.previousStep,goToStep:this.goToStep,firstStep:this.firstStep,lastStep:this.lastStep},u=this.state.classes,f=r.default.Children.map(this.props.children,function(f,o){var h={isActive:o===i.state.activeStep,stepId:o,isDone:n&&n[o]&&n[o].isValid},s={transitions:u[o],reportToWizard:k(o,i.onChildChanged),stepState:h,navProps:t};return r.default.createElement(e,y({},s,{key:o}),r.default.cloneElement(f,s))});return r.default.createElement("div",{className:"wizardstepper-host"},r.default.createElement(d.WizardNavBar,t),f,r.default.createElement(g.WizardPagination,t))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={children:[],initialStep:1,onStepChange:function(){}},n}();t.StepWizardHost=c;e=function(n){var i=n.children,t=n.transitions,u=void 0===t?"":t;return r.default.createElement("div",{className:"step ".concat(u)},i)};t.Step=e;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(c,"StepWizardHost","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\WizardStepper\\WizzardStepperHost.tsx"),u.register(e,"Step","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\WizardStepper\\WizzardStepperHost.tsx"),u.register(k,"childCurrying","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\WizardStepper\\WizzardStepperHost.tsx"));l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(){return(a=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.WizardNavBar=void 0;r=p(i(1));c=i(672);i(389);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return w(this,t),(u=i.call(this,n)).stepChanged=function(n){u.props.goToStep(n)},u.renderSteps=function(n,t){var i=u.props.currentStep;return r.createElement(c.WizardNavIndicator,a({key:n.stepId,onClick:u.stepChanged,isActive:i===t},n))},u}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n=this.props.steps;return r.createElement("div",{className:"wizardstepperwrapper"},r.createElement("ol",{className:"wizardstepper","aria-label":"Var är jag i processen?"},n.map(this.renderSteps)),r.createElement("div",{className:"wizardstepper__line"}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.PureComponent);t.WizardNavBar=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"WizardNavBar","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\WizardStepper\\WizardNavBar\\WizardNavBar.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function o(n,t,i){var r=new FormData,u;return r.append("orderId",t),r.append(n.OriginalFilename,n.file),u="/".concat(i,"/attach"),e.doPost(u,r).then(function(n){return n instanceof c.ResponseError||(n.status=h.FileState.SETTLED),n})}function s(n,t,i){var r=new FormData,u;return r.append("fileId",n.FileId),r.append("orderId",t),u="/".concat(i,"/delete"),e.doDelete(u,r)}Object.defineProperty(t,"__esModule",{value:!0});t.postFilesRedux=o;t.deleteFileRedux=s;var u,r,f,h=i(93),e=i(36),c=i(35);(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&u(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(o,"postFilesRedux","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\files.redux.service.ts"),r.register(s,"deleteFileRedux","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\files.redux.service.ts"));(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,i,u;Object.defineProperty(t,"__esModule",{value:!0});t.SET_TOUCHED_MAP=t.FLIP_IS_SENDING_FLAG=t.SEND_FORM_ORDER=t.SET_FORM_VALUE=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.SET_FORM_VALUE="SET_FORM_VALUE";t.SEND_FORM_ORDER="SEND_FORM_ORDER";t.FLIP_IS_SENDING_FLAG="FLIP_IS_SENDING_FLAG";t.SET_TOUCHED_MAP="SET_TOUCHED_MAP";(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register("SET_FORM_VALUE","SET_FORM_VALUE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\formModel.actionTypes.ts"),i.register("SEND_FORM_ORDER","SEND_FORM_ORDER","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\formModel.actionTypes.ts"),i.register("FLIP_IS_SENDING_FLAG","FLIP_IS_SENDING_FLAG","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\formModel.actionTypes.ts"),i.register("SET_TOUCHED_MAP","SET_TOUCHED_MAP","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\formModel.actionTypes.ts"));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(){o||p.getStore(function(n){e=n;v()})}function v(){c=setInterval(y,5e3);o=!0}function y(){var n=e.getState(),i=n.globals.orderId,t=n.formModel;n.globals;s!==t&&(s=t,w.saveOrder(t,i).then(function(t){if(t instanceof b.ResponseError){var r=e.dispatch,i=t;if(i.body.detailCode)switch(i.body.detailCode){case"401.1":r(u.dialogueError(f.getErrorBodyVipSPSessionTimeout(i.body.redirectUri)));break;case"401.2":r(u.dialogueError(f.getErrorBodyJwtTokenTimeout(i.body.redirectUri)))}else switch(i.statusCode){case 400:r(u.dialogueError(f.getErrorBodyApiErrorOnSave(n.globals.homePageUrl,i.body.errorMessage)));break;default:r(u.dialogueError(f.getErrorBodyApiErrorOnSave(n.globals.homePageUrl,i.body.errorMessage)))}}}))}var e,c,s,r,l,o;Object.defineProperty(t,"__esModule",{value:!0});t.setupAutoSave=a;var h,p=i(44),w=i(63),b=i(35),u=i(21),f=i(95);(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&h(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;o=!1;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(e,"_store","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\autoSave.service.ts"),r.register(o,"isStarted","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\autoSave.service.ts"),r.register(a,"setupAutoSave","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\autoSave.service.ts"),r.register(c,"token","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\autoSave.service.ts"),r.register(v,"startWork","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\autoSave.service.ts"),r.register(s,"prevForm","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\autoSave.service.ts"),r.register(y,"autoSave","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\autoSave.service.ts"));(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function u(n){return n&&n.__esModule?n:{"default":n}}function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function h(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function f(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?h(Object(i),!0).forEach(function(t){w(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function w(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function c(n){var u=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=(n.validationResults,n.stepValidationMap),o=n.touchedFields,i=n.fullValidationResults,t=f({},e),r;return t=v.default(t,function(n){n.isValid=a(i,n.stepId)}),r=l(i,o,u),f(f({},n),{},{validationResults:r,stepValidationMap:t})}function l(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n.filter(function(n){var r=n.FieldName.replace("CurrentResearchOrder.","").replace("StatisticsOrder.",""),u=i.some(function(n){return n.replace("CurrentResearchOrder.","").replace("StatisticsOrder.","")===r});return y.default.log("isFiltering: ".concat(r,", hasHitSummary: ").concat(t,", isTouched: ").concat(u)),t||u})}function a(n,t){for(var r,u=p.default()[t].fieldNames,f=function(t){var i=u[t].replace("CurrentResearchOrder.","").replace("StatisticsOrder.","");return n?n.some(function(n){return n.FieldName===i})?{v:!1}:void 0:{v:!0}},i=0;i<u.length;i++)if(r=f(i),"object"===s(r))return r.v;return!0}Object.defineProperty(t,"__esModule",{value:!0});t.validateStepsByValidationResults=c;var e,r,o,v=u(i(372)),y=u(i(62)),p=u(i(699));(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(c,"validateStepsByValidationResults","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validation.helpers.ts"),r.register(l,"filterValidationResultsToShow","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validation.helpers.ts"),r.register(a,"validateStepByValidationResults","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validation.helpers.ts"));(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.DeleteOrder=void 0;var r=p(i(1)),v=i(31),y=i(3),u;i(702);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).onActionCompleted=function(){return r.props.onActionCompleted()},r.doDelete=function(){r.closeConfirm();r.onActionCompleted()},r.openConfirm=function(n){n.preventDefault();r.setState({isModalOpen:!0})},r.closeConfirm=function(){r.setState({isModalOpen:!1})},r.state={isModalOpen:!1},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var t=this.state.isModalOpen,n=this.props,i=n.modalHeading,u=n.modalBody,f=n.cancelText,e=n.actionText;return n.disabled,r.createElement("div",{className:"eservicemenu"},r.createElement(v.Dialog,{isOpen:t,onRequestClose:this.closeConfirm},r.createElement("button",{onClick:this.closeConfirm,className:"close"},r.createElement(y.Icon,{isAriaHidden:!1,ariaLabel:"Stäng",iconType:"ic_close_white_24px"})),r.createElement("div",{className:"header"},r.createElement("h2",null,i)),r.createElement("p",null,u),r.createElement("div",{className:"footer"},r.createElement("button",{className:"button button--white",onClick:this.closeConfirm},f),r.createElement("button",{className:"button button--red",onClick:this.doDelete},e))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.DeleteOrder=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"DeleteOrder","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\DeleteOrder\\DeleteOrder.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.OMBUD_COMPLETION_MIMETYPES=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i="text/xml,application/xml,text/html,application/vnd.oasis.opendocument.text,application/vnd.oasis.opendocument.graphics,application/vnd.oasis.opendocument.spreadsheet,application/vnd.oasis.opendocument.presentation,application/vnd.oasis.opendocument.formula,application/pdf,text/rtf,application/rtf,text/plain,image/jpeg,image/png,image/tiff,image/bmp,image/x-bmp,image/x-ms-bmp,image/gif,application/postscript,audio/wav,audio/wave,audio/vnd.wave,audio/x-wav,audio/mpeg,audio/mp4,video/mp4,application/vnd.ms-asf,video/x-ms-asf,video/x-ms-wmv,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/msexcel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/mspowerpoint,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation";t.OMBUD_COMPLETION_MIMETYPES=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"OMBUD_COMPLETION_MIMETYPES","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudCompletion\\OmbudCompletion.mimetypes.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n,t){return o.doPatch(n,t).then(function(n){return!(n instanceof s.ResponseError)||n})}Object.defineProperty(t,"__esModule",{value:!0});t.sendCompletion=e;var r,u,f,o=i(36),s=i(4);(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(e,"sendCompletion","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\completion.service.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function v(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function h(n,t,i){var r=n.value.filter(function(n){return n.status!==o.FileState.SETTLED})[0];return i.append(r.OriginalFilename,r.file),u.doPost(t,i).then(function(t){if(t instanceof a.ResponseError)return t;var i=function(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?s(Object(i),!0).forEach(function(t){v(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}({},r);return i.status=o.FileState.SETTLED,i.FileId=t.FileId,{serverResponse:t,fileUploadValue:n.value.map(function(n){return n.FileId?n:i})}})}function c(n){return u.doGet(n).then(function(n){return n})}function l(n,t){return u.doDelete(n,t).then(function(n){return n})}Object.defineProperty(t,"__esModule",{value:!0});t.postFile=h;t.getFiles=c;t.deleteFile=l;var f,r,e,u=i(36),o=i(93),a=i(4);(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(h,"postFile","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\files.service.ts"),r.register(c,"getFiles","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\files.service.ts"),r.register(l,"deleteFile","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\files.service.ts"));(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&e(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.FormWrapper=void 0;r=y(i(1));c=i(714);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(){return p(this,t),i.apply(this,arguments)}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var n=this.props,t=n.children,i=n.heading;return r.createElement("div",{className:"container eservice-form"},r.createElement(c.FormDialogueError,null),r.createElement("form",{method:"post",noValidate:!0},r.createElement("div",{className:"row"},r.createElement("main",{className:"col",tabIndex:-1},r.createElement("div",{className:"form-wrapper"},r.createElement("h1",null,i),t,r.createElement("hr",{className:"formdivider"}))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.PureComponent);t.FormWrapper=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"FormWrapper","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormWrapper\\FromWrapper.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.MessageBanner=void 0;r=y(i(1));c=i(135);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n)).removeMessageBanner=function(){r.state.show&&(r._messageBannerDiv.classList.add("message-banner--fadeout"),setTimeout(function(){r.setState({show:!1},r.props.onClose)},200))},r.state={show:!0},r}b(t,n);var i=k(t);return w(t,[{key:"componentDidMount",value:function(){setTimeout(this.removeMessageBanner,5e3)}},{key:"render",value:function(){var n=this;return this.state.show?r.createElement("div",{ref:function(t){return n._messageBannerDiv=t},className:"message-banner"},r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col"},r.createElement("div",{className:"message-banner__offset"},r.createElement(c.Notification,{notificationText:"Sparad",notificationType:"success",onCloseCallback:this.removeMessageBanner})))))):null}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={onClose:function(){}},n}();t.MessageBanner=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"MessageBanner","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MessageBanner\\messageBanner.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(n){return n&&n.__esModule?n:{"default":n}}function h(n){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function y(n,t,i){return t&&c(n.prototype,t),i&&c(n,i),n}function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&l(n,t)}function l(n,t){return(l=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function w(n){var t=d();return function(){var i,r=f(n),u;return t?(u=f(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),b(this,i)}}function b(n,t){return!t||"object"!==h(t)&&"function"!=typeof t?k(n):t}function k(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function d(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function f(n){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,g,e,o,s;Object.defineProperty(t,"__esModule",{value:!0});t.Spinner=void 0;r=a(i(1));i(723);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);g="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};e=function(n){function t(){return v(this,t),i.apply(this,arguments)}p(t,n);var i=w(t);return y(t,[{key:"render",value:function(){return r.default.createElement("div",{className:"lds-ellipsis"},r.default.createElement("div",null),r.default.createElement("div",null),r.default.createElement("div",null),r.default.createElement("div",null))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.PureComponent);t.Spinner=e;o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;o&&o.register(e,"Spinner","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Spinner\\Spinner.tsx");s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;s&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t){return!t||"object"!==s(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function k(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function h(n){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function l(n,t){return(l=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var v;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.Facebook=void 0;var e,c=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==s(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),o=i(14),y=(e=i(22))&&e.__esModule?e:{"default":e};var a="https://connect.facebook.net/en_US/sdk.js",d=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,f=function(n){function t(){var n;p(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=s.call.apply(s,[this].concat(e))),"callPlayer",o.callPlayer),r(u(n),"playerID",n.props.config.facebook.playerId||"".concat("facebook-player-").concat(o.randomString())),r(u(n),"mute",function(){n.callPlayer("mute")}),r(u(n),"unmute",function(){n.callPlayer("unmute")}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&l(n,t)}(t,n);var i,f,e,s=(i=t,function(){var n,t=h(i),r;return k()?(r=h(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),b(this,n)});return f=t,(e=[{key:"load",value:function(n,t){var i=this;t?o.getSDK(a,"FB","fbAsyncInit").then(function(n){return n.XFBML.parse()}):o.getSDK(a,"FB","fbAsyncInit").then(function(n){n.init({appId:i.props.config.facebook.appId,xfbml:!0,version:i.props.config.facebook.version});n.Event.subscribe("xfbml.render",function(){i.props.onLoaded()});n.Event.subscribe("xfbml.ready",function(n){"video"===n.type&&n.id===i.playerID&&(i.player=n.instance,i.player.subscribe("startedPlaying",i.props.onPlay),i.player.subscribe("paused",i.props.onPause),i.player.subscribe("finishedPlaying",i.props.onEnded),i.player.subscribe("startedBuffering",i.props.onBuffer),i.player.subscribe("finishedBuffering",i.props.onBufferEnd),i.player.subscribe("error",i.props.onError),i.props.muted||i.callPlayer("unmute"),i.props.onReady(),document.getElementById(i.playerID).querySelector("iframe").style.visibility="visible")})})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(n){this.callPlayer("seek",n)}},{key:"setVolume",value:function(n){this.callPlayer("setVolume",n)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){return c.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"})}}])&&w(f.prototype,e),t}(c.Component);t.Facebook=f;r(f,"displayName","Facebook");r(f,"canPlay",function(n){return d.test(n)});r(f,"loopOnEnded",!0);v=y.default(f);t.default=v},function(n,t,i){"use strict";function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function k(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var h,f,v;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.Streamable=void 0;var e,c=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),l=i(14),y=(e=i(22))&&e.__esModule?e:{"default":e};h=/streamable\.com\/([a-z0-9]+)$/;f=function(n){function t(){var n;p(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=o.call.apply(o,[this].concat(e))),"callPlayer",l.callPlayer),r(u(n),"duration",null),r(u(n),"currentTime",null),r(u(n),"secondsLoaded",null),r(u(n),"mute",function(){n.callPlayer("mute")}),r(u(n),"unmute",function(){n.callPlayer("unmute")}),r(u(n),"ref",function(t){n.iframe=t}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}(t,n);var i,f,e,o=(i=t,function(){var n,t=s(i),r;return k()?(r=s(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),b(this,n)});return f=t,(e=[{key:"load",value:function(){var n=this;l.getSDK("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then(function(t){n.iframe&&(n.player=new t.Player(n.iframe),n.player.setLoop(n.props.loop),n.player.on("ready",n.props.onReady),n.player.on("play",n.props.onPlay),n.player.on("pause",n.props.onPause),n.player.on("seeked",n.props.onSeek),n.player.on("ended",n.props.onEnded),n.player.on("error",n.props.onError),n.player.on("timeupdate",function(t){var i=t.duration,r=t.seconds;n.duration=i;n.currentTime=r}),n.player.on("buffered",function(t){var i=t.percent;n.duration&&(n.secondsLoaded=n.duration*i)}),n.props.muted&&n.player.mute())},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(n){this.callPlayer("setCurrentTime",n)}},{key:"setVolume",value:function(n){this.callPlayer("setVolume",100*n)}},{key:"setLoop",value:function(n){this.callPlayer("setLoop",n)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var n=this.props.url.match(h)[1];return c.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(n),frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allowFullScreen:!0})}}])&&w(f.prototype,e),t}(c.Component);t.Streamable=f;r(f,"displayName","Streamable");r(f,"canPlay",function(n){return h.test(n)});v=y.default(f);t.default=v},function(n,t,i){"use strict";function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function w(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?a(Object(i),!0).forEach(function(t){r(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function k(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var h,f,y;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.Wistia=void 0;var e,c=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),l=i(14),p=(e=i(22))&&e.__esModule?e:{"default":e};h=/(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/;f=function(n){function t(){var n;b(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=o.call.apply(o,[this].concat(e))),"callPlayer",l.callPlayer),r(u(n),"onPlay",function(){var t;return(t=n.props).onPlay.apply(t,arguments)}),r(u(n),"onPause",function(){var t;return(t=n.props).onPause.apply(t,arguments)}),r(u(n),"onSeek",function(){var t;return(t=n.props).onSeek.apply(t,arguments)}),r(u(n),"onEnded",function(){var t;return(t=n.props).onEnded.apply(t,arguments)}),r(u(n),"mute",function(){n.callPlayer("mute")}),r(u(n),"unmute",function(){n.callPlayer("unmute")}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}(t,n);var i,f,e,o=(i=t,function(){var n,t=s(i),r;return g()?(r=s(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),d(this,n)});return f=t,(e=[{key:"getID",value:function(n){return n&&n.match(h)[1]}},{key:"load",value:function(n){var t=this,i=this.props,r=i.playing,u=i.muted,f=i.controls,e=i.onReady,o=i.config,s=i.onError;l.getSDK("https://fast.wistia.com/assets/external/E-v1.js","Wistia").then(function(){window._wq=window._wq||[];window._wq.push({id:t.getID(n),options:w({autoPlay:r,silentAutoPlay:"allow",muted:u,controlsVisibleOnLoad:f},o.wistia.options),onReady:function(n){t.player=n;t.unbind();t.player.bind("play",t.onPlay);t.player.bind("pause",t.onPause);t.player.bind("seek",t.onSeek);t.player.bind("end",t.onEnded);e()}})},s)}},{key:"unbind",value:function(){this.player.unbind("play",this.onPlay);this.player.unbind("pause",this.onPause);this.player.unbind("seek",this.onSeek);this.player.unbind("end",this.onEnded)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.unbind();this.callPlayer("remove")}},{key:"seekTo",value:function(n){this.callPlayer("time",n)}},{key:"setVolume",value:function(n){this.callPlayer("volume",n)}},{key:"setPlaybackRate",value:function(n){this.callPlayer("playbackRate",n)}},{key:"getDuration",value:function(){return this.callPlayer("duration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("time")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var n=this.getID(this.props.url),t="wistia_embed wistia_async_".concat(n);return c.default.createElement("div",{key:n,className:t,style:{width:"100%",height:"100%"}})}}])&&k(f.prototype,e),t}(c.Component);t.Wistia=f;r(f,"displayName","Wistia");r(f,"canPlay",function(n){return h.test(n)});r(f,"loopOnEnded",!0);y=p.default(f);t.default=y},function(n,t,i){"use strict";function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function k(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t){return!t||"object"!==s(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function h(n){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var p;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.Twitch=void 0;var e,l=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==s(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),o=i(14),w=(e=i(22))&&e.__esModule?e:{"default":e};var y=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,c=/(?:www\.|go\.)?twitch\.tv\/([a-z0-9_]+)($|\?)/,f=function(n){function t(){var n;b(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=s.call.apply(s,[this].concat(e))),"callPlayer",o.callPlayer),r(u(n),"playerID",n.props.config.twitch.playerId||"".concat("twitch-player-").concat(o.randomString())),r(u(n),"mute",function(){n.callPlayer("setMuted",!0)}),r(u(n),"unmute",function(){n.callPlayer("setMuted",!1)}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}(t,n);var i,f,e,s=(i=t,function(){var n,t=h(i),r;return g()?(r=h(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),d(this,n)});return f=t,(e=[{key:"load",value:function(n,t){var i=this,f=this.props,s=f.playsinline,h=f.onError,l=f.config,v=f.controls,u=c.test(n),e=u?n.match(c)[1]:n.match(y)[1];t?u?this.player.setChannel(e):this.player.setVideo("v"+e):o.getSDK("https://player.twitch.tv/js/embed/v1.js","Twitch").then(function(n){i.player=new n.Player(i.playerID,function(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?a(Object(i),!0).forEach(function(t){r(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}({video:u?"":e,channel:u?e:"",height:"100%",width:"100%",playsinline:s,autoplay:i.props.playing,muted:i.props.muted,controls:!!u||v},l.twitch.options));var t=n.Player,f=t.READY,o=t.PLAYING,h=t.PAUSE,c=t.ENDED,y=t.ONLINE,p=t.OFFLINE;i.player.addEventListener(f,i.props.onReady);i.player.addEventListener(o,i.props.onPlay);i.player.addEventListener(h,i.props.onPause);i.player.addEventListener(c,i.props.onEnded);i.player.addEventListener(y,i.props.onLoaded);i.player.addEventListener(p,i.props.onLoaded)},h)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("pause")}},{key:"seekTo",value:function(n){this.callPlayer("seek",n)}},{key:"setVolume",value:function(n){this.callPlayer("setVolume",n)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){return l.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID})}}])&&k(f.prototype,e),t}(l.Component);t.Twitch=f;r(f,"displayName","Twitch");r(f,"canPlay",function(n){return y.test(n)||c.test(n)});r(f,"loopOnEnded",!0);p=w.default(f);t.default=p},function(n,t,i){"use strict";function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t){return!t||"object"!==s(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function d(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function h(n){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var c,f,y;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.Mixcloud=void 0;var e,l=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==s(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),o=i(14),p=(e=i(22))&&e.__esModule?e:{"default":e};c=/mixcloud\.com\/([^/]+\/[^/]+)/;f=function(n){function t(){var n;w(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=s.call.apply(s,[this].concat(e))),"callPlayer",o.callPlayer),r(u(n),"duration",null),r(u(n),"currentTime",null),r(u(n),"secondsLoaded",null),r(u(n),"mute",function(){}),r(u(n),"unmute",function(){}),r(u(n),"ref",function(t){n.iframe=t}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}(t,n);var i,f,e,s=(i=t,function(){var n,t=h(i),r;return d()?(r=h(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),k(this,n)});return f=t,(e=[{key:"load",value:function(){var n=this;o.getSDK("https://widget.mixcloud.com/media/js/widgetApi.js","Mixcloud").then(function(t){n.player=t.PlayerWidget(n.iframe);n.player.ready.then(function(){n.player.events.play.on(n.props.onPlay);n.player.events.pause.on(n.props.onPause);n.player.events.ended.on(n.props.onEnded);n.player.events.error.on(n.props.error);n.player.events.progress.on(function(t,i){n.currentTime=t;n.duration=i});n.props.onReady()})},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(n){this.callPlayer("seek",n)}},{key:"setVolume",value:function(){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var n=this.props,i=n.url,u=n.config,t=i.match(c)[1],f=o.queryString(function(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?a(Object(i),!0).forEach(function(t){r(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}({},u.mixcloud.options,{feed:"/".concat(t,"/")}));return l.default.createElement("iframe",{key:t,ref:this.ref,style:{width:"100%",height:"100%"},src:"https://www.mixcloud.com/widget/iframe/?".concat(f),frameBorder:"0"})}}])&&b(f.prototype,e),t}(l.Component);t.Mixcloud=f;r(f,"displayName","Mixcloud");r(f,"canPlay",function(n){return c.test(n)});r(f,"loopOnEnded",!0);y=p.default(f);t.default=y},function(n,t,i){"use strict";function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function h(){return(h=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function tt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function it(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function rt(n,t){return!t||"object"!==a(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ut(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function v(n){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function w(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function c(n){var r,t,i;if(n instanceof Array){t=function(n){var i,r,t,e,u,f;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(n=function(n,t){if(n){if("string"==typeof n)return w(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?w(n,t):void 0}}(n)))return i=0,r=function(){},{s:r,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(n){throw n;},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return u=!0,f=!1,{s:function(){t=n[Symbol.iterator]()},n:function(){var n=t.next();return u=n.done,n},e:function(n){f=!0;e=n},f:function(){try{u||null==t.return||t.return()}finally{if(f)throw e;}}}}(n);try{for(t.s();!(r=t.n()).done;)if((i=r.value,"string"==typeof i&&c(i))||c(i.src))return!0}catch(n){t.e(n)}finally{t.f()}return!1}return!!o.isMediaStream(n)||y.test(n)||ft.test(n)||k.test(n)||d.test(n)}function l(n){return n||(n=document.createElement("video")),n.webkitSupportsPresentationMode&&"function"==typeof n.webkitSetPresentationMode&&!/iPhone|iPod/.test(navigator.userAgent)}var f,g;Object.defineProperty(t,"__esModule",{value:!0});t.default=t.FilePlayer=void 0;var s,e=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==a(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1)),o=i(14),nt=(s=i(22))&&s.__esModule?s:{"default":s};var b="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,y=/\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,ft=/\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i,k=/\.(m3u8)($|\?)/i,d=/\.(mpd)($|\?)/i,et=/www\.dropbox\.com\/.+/;f=function(n){function t(){var n;tt(this,t);for(var f=arguments.length,o=new Array(f),i=0;i<f;i++)o[i]=arguments[i];return r(u(n=c.call.apply(c,[this].concat(o))),"onReady",function(){var t;return(t=n.props).onReady.apply(t,arguments)}),r(u(n),"onPlay",function(){var t;return(t=n.props).onPlay.apply(t,arguments)}),r(u(n),"onBuffer",function(){var t;return(t=n.props).onBuffer.apply(t,arguments)}),r(u(n),"onBufferEnd",function(){var t;return(t=n.props).onBufferEnd.apply(t,arguments)}),r(u(n),"onPause",function(){var t;return(t=n.props).onPause.apply(t,arguments)}),r(u(n),"onEnded",function(){var t;return(t=n.props).onEnded.apply(t,arguments)}),r(u(n),"onError",function(){var t;return(t=n.props).onError.apply(t,arguments)}),r(u(n),"onEnablePIP",function(){var t;return(t=n.props).onEnablePIP.apply(t,arguments)}),r(u(n),"onDisablePIP",function(t){var i=n.props,r=i.onDisablePIP,u=i.playing;r(t);u&&n.play()}),r(u(n),"onPresentationModeChange",function(t){if(n.player&&l(n.player)){var i=n.player.webkitPresentationMode;"picture-in-picture"===i?n.onEnablePIP(t):"inline"===i&&n.onDisablePIP(t)}}),r(u(n),"onSeek",function(t){n.props.onSeek(t.target.currentTime)}),r(u(n),"mute",function(){n.player.muted=!0}),r(u(n),"unmute",function(){n.player.muted=!1}),r(u(n),"renderSourceElement",function(n,t){return"string"==typeof n?e.default.createElement("source",{key:t,src:n}):e.default.createElement("source",h({key:t},n))}),r(u(n),"renderTrack",function(n,t){return e.default.createElement("track",h({key:t},n))}),r(u(n),"ref",function(t){n.player&&(n.prevPlayer=n.player);n.player=t}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}(t,n);var i,f,s,c=(i=t,function(){var n,t=v(i),r;return ut()?(r=v(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),rt(this,n)});return f=t,(s=[{key:"componentDidMount",value:function(){this.addListeners(this.player);b&&this.player.load()}},{key:"componentDidUpdate",value:function(n){this.shouldUseAudio(this.props)!==this.shouldUseAudio(n)&&(this.removeListeners(this.prevPlayer),this.addListeners(this.player))}},{key:"componentWillUnmount",value:function(){this.removeListeners(this.player);this.hls&&this.hls.destroy()}},{key:"addListeners",value:function(n){var t=this.props.playsinline;n.addEventListener("canplay",this.onReady);n.addEventListener("play",this.onPlay);n.addEventListener("waiting",this.onBuffer);n.addEventListener("playing",this.onBufferEnd);n.addEventListener("pause",this.onPause);n.addEventListener("seeked",this.onSeek);n.addEventListener("ended",this.onEnded);n.addEventListener("error",this.onError);n.addEventListener("enterpictureinpicture",this.onEnablePIP);n.addEventListener("leavepictureinpicture",this.onDisablePIP);n.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange);t&&(n.setAttribute("playsinline",""),n.setAttribute("webkit-playsinline",""),n.setAttribute("x5-playsinline",""))}},{key:"removeListeners",value:function(n){n.removeEventListener("canplay",this.onReady);n.removeEventListener("play",this.onPlay);n.removeEventListener("waiting",this.onBuffer);n.removeEventListener("playing",this.onBufferEnd);n.removeEventListener("pause",this.onPause);n.removeEventListener("seeked",this.onSeek);n.removeEventListener("ended",this.onEnded);n.removeEventListener("error",this.onError);n.removeEventListener("enterpictureinpicture",this.onEnablePIP);n.removeEventListener("leavepictureinpicture",this.onDisablePIP);n.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange)}},{key:"shouldUseAudio",value:function(n){return!n.config.file.forceVideo&&!n.config.file.attributes.poster&&(y.test(n.url)||n.config.file.forceAudio)}},{key:"shouldUseHLS",value:function(n){return k.test(n)&&!b||this.props.config.file.forceHLS}},{key:"shouldUseDASH",value:function(n){return d.test(n)||this.props.config.file.forceDASH}},{key:"load",value:function(n){var t=this,i=this.props.config.file,r=i.hlsVersion,u=i.dashVersion;if(this.shouldUseHLS(n)&&o.getSDK("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",r),"Hls").then(function(i){t.hls=new i(t.props.config.file.hlsOptions);t.hls.on(i.Events.ERROR,function(n,r){t.props.onError(n,r,t.hls,i)});t.hls.loadSource(n);t.hls.attachMedia(t.player)}),this.shouldUseDASH(n)&&o.getSDK("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",u),"dashjs").then(function(i){t.dash=i.MediaPlayer().create();t.dash.initialize(t.player,n,t.props.playing);t.dash.on("error",t.props.onError);t.dash.getDebug().setLogToBrowserConsole(!1)}),n instanceof Array)this.player.load();else if(o.isMediaStream(n))try{this.player.srcObject=n}catch(t){this.player.src=window.URL.createObjectURL(n)}}},{key:"play",value:function(){var n=this.player.play();n&&n.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src");this.dash&&this.dash.reset()}},{key:"seekTo",value:function(n){this.player.currentTime=n}},{key:"setVolume",value:function(n){this.player.volume=n}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():l(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():l(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(n){this.player.playbackRate=n}},{key:"getDuration",value:function(){if(!this.player)return null;var t=this.player,i=t.duration,n=t.seekable;return i===1/0&&n.length>0?n.end(n.length-1):i}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){var n,t,i;return this.player?(n=this.player.buffered,0===n.length)?0:(t=n.end(n.length-1),i=this.getDuration(),t>i?i:t):null}},{key:"getSource",value:function(n){var t=this.shouldUseHLS(n),i=this.shouldUseDASH(n);if(!(n instanceof Array||o.isMediaStream(n)||t||i))return et.test(n)?n.replace("www.dropbox.com","dl.dropboxusercontent.com"):n}},{key:"render",value:function(){var n=this.props,t=n.url,f=n.playing,o=n.loop,s=n.controls,c=n.muted,i=n.config,r=n.width,u=n.height,l=this.shouldUseAudio(this.props)?"audio":"video",a={width:"auto"===r?r:"100%",height:"auto"===u?u:"100%"};return e.default.createElement(l,h({ref:this.ref,src:this.getSource(t),style:a,preload:"auto",autoPlay:f||void 0,controls:s,muted:c,loop:o},i.file.attributes),t instanceof Array&&t.map(this.renderSourceElement),i.file.tracks.map(this.renderTrack))}}])&&it(f.prototype,s),t}(e.Component);t.FilePlayer=f;r(f,"displayName","FilePlayer");r(f,"canPlay",c);r(f,"canEnablePIP",function(n){return c(n)&&(!!document.pictureInPictureEnabled||l())&&!y.test(n)});g=nt.default(f);t.default=g},function(){},function(n,t,i){"use strict";(function(n){function f(n){return void 0===n[0].Href}var i,r,u;Object.defineProperty(t,"__esModule",{value:!0});t.isStringArray=f;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&i(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&r.register(f,"isStringArray","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ChapterList\\chapter.helpers.ts");(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n,t,i){return u.default[n.type](n,t,i)};var r,u=(r=i(780))&&r.__esModule?r:{"default":r}},function(n,t,i){function r(n,t){this._options=t||{};this._cbs=n||{};this._tagname="";this._attribname="";this._attribvalue="";this._attribs=null;this._stack=[];this._foreignContext=[];this.startIndex=0;this.endIndex=null;this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode;this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode;this._options.Tokenizer&&(e=this._options.Tokenizer);this._tokenizer=new e(this._options,this);this._cbs.onparserinit&&this._cbs.onparserinit(this)}var e=i(412),u={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:u,input:u,output:u,button:u,datalist:u,textarea:u,option:{option:!0},optgroup:{optgroup:!0}},f={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},h={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},c=/\s|\//;i(99)(r,i(782).EventEmitter);r.prototype._updatePosition=function(n){this.startIndex=null===this.endIndex?this._tokenizer._sectionStart<=n?0:this._tokenizer._sectionStart-n:this.endIndex+1;this.endIndex=this._tokenizer.getAbsoluteIndex()};r.prototype.ontext=function(n){this._updatePosition(1);this.endIndex--;this._cbs.ontext&&this._cbs.ontext(n)};r.prototype.onopentagname=function(n){if(this._lowerCaseTagNames&&(n=n.toLowerCase()),this._tagname=n,!this._options.xmlMode&&n in o)for(var t;(t=this._stack[this._stack.length-1])in o[n];this.onclosetag(t));!this._options.xmlMode&&n in f||(this._stack.push(n),n in s?this._foreignContext.push(!0):n in h&&this._foreignContext.push(!1));this._cbs.onopentagname&&this._cbs.onopentagname(n);this._cbs.onopentag&&(this._attribs={})};r.prototype.onopentagend=function(){this._updatePosition(1);this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null);!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in f&&this._cbs.onclosetag(this._tagname);this._tagname=""};r.prototype.onclosetag=function(n){if(this._updatePosition(1),this._lowerCaseTagNames&&(n=n.toLowerCase()),(n in s||n in h)&&this._foreignContext.pop(),!this._stack.length||n in f&&!this._options.xmlMode)this._options.xmlMode||"br"!==n&&"p"!==n||(this.onopentagname(n),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(n);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==n||this._options.xmlMode||(this.onopentagname(n),this._closeCurrentTag())}};r.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()};r.prototype._closeCurrentTag=function(){var n=this._tagname;this.onopentagend();this._stack[this._stack.length-1]===n&&(this._cbs.onclosetag&&this._cbs.onclosetag(n),this._stack.pop())};r.prototype.onattribname=function(n){this._lowerCaseAttributeNames&&(n=n.toLowerCase());this._attribname=n};r.prototype.onattribdata=function(n){this._attribvalue+=n};r.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue);this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue);this._attribname="";this._attribvalue=""};r.prototype._getInstructionName=function(n){var i=n.search(c),t=i<0?n:n.substr(0,i);return this._lowerCaseTagNames&&(t=t.toLowerCase()),t};r.prototype.ondeclaration=function(n){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(n);this._cbs.onprocessinginstruction("!"+t,"!"+n)}};r.prototype.onprocessinginstruction=function(n){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(n);this._cbs.onprocessinginstruction("?"+t,"?"+n)}};r.prototype.oncomment=function(n){this._updatePosition(4);this._cbs.oncomment&&this._cbs.oncomment(n);this._cbs.oncommentend&&this._cbs.oncommentend()};r.prototype.oncdata=function(n){this._updatePosition(1);this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(n),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+n+"]]")};r.prototype.onerror=function(n){this._cbs.onerror&&this._cbs.onerror(n)};r.prototype.onend=function(){if(this._cbs.onclosetag)for(var n=this._stack.length;n>0;this._cbs.onclosetag(this._stack[--n]));this._cbs.onend&&this._cbs.onend()};r.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset();this._tokenizer.reset();this._tagname="";this._attribname="";this._attribs=null;this._stack=[];this._cbs.onparserinit&&this._cbs.onparserinit(this)};r.prototype.parseComplete=function(n){this.reset();this.end(n)};r.prototype.write=function(n){this._tokenizer.write(n)};r.prototype.end=function(n){this._tokenizer.end(n)};r.prototype.pause=function(){this._tokenizer.pause()};r.prototype.resume=function(){this._tokenizer.resume()};r.prototype.parseChunk=r.prototype.write;r.prototype.done=r.prototype.end;n.exports=r},function(n,t,i){function e(n){return" "===n||"\n"===n||"\t"===n||"\f"===n||"\r"===n}function o(n,t,i){var r=n.toLowerCase();return n===r?function(n){n===r?this._state=t:(this._state=i,this._index--)}:function(u){u===r||u===n?this._state=t:(this._state=i,this._index--)}}function l(n,t){var i=n.toLowerCase();return function(r){r===i||r===n?this._state=t:(this._state=c,this._index--)}}function r(n,t){this._state=f;this._buffer="";this._sectionStart=0;this._index=0;this._bufferOffset=0;this._baseState=f;this._special=a;this._cbs=t;this._running=!0;this._ended=!1;this._xmlMode=!(!n||!n.xmlMode);this._decodeEntities=!(!n||!n.decodeEntities)}n.exports=r;var fr=i(413),er=i(150),ct=i(414),or=i(151),u=0,f=u++,lt=u++,c=u++,at=u++,vt=u++,v=u++,yt=u++,h=u++,b=u++,k=u++,d=u++,g=u++,nt=u++,tt=u++,pt=u++,s=u++,wt=u++,bt=u++,y=u++,it=u++,rt=u++,kt=u++,dt=u++,gt=u++,ni=u++,ti=u++,ii=u++,p=u++,ut=u++,ft=u++,ri=u++,ui=u++,fi=u++,ei=u++,oi=u++,si=u++,hi=u++,ci=u++,li=u++,ai=u++,vi=u++,yi=u++,pi=u++,wi=u++,bi=u++,ki=u++,di=u++,gi=u++,nr=u++,tr=u++,w=u++,ir=u++,et=u++,ot=u++,st=u++,ht=0,a=ht++,rr=ht++,ur=ht++;r.prototype._stateText=function(n){"<"===n?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=lt,this._sectionStart=this._index):this._decodeEntities&&this._special===a&&"&"===n&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=f,this._state=w,this._sectionStart=this._index)};r.prototype._stateBeforeTagName=function(n){"/"===n?this._state=vt:"<"===n?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===n||this._special!==a||e(n)?this._state=f:"!"===n?(this._state=pt,this._sectionStart=this._index+1):"?"===n?(this._state=wt,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==n&&"S"!==n?c:ri,this._sectionStart=this._index)};r.prototype._stateInTagName=function(n){("/"===n||">"===n||e(n))&&(this._emitToken("onopentagname"),this._state=h,this._index--)};r.prototype._stateBeforeCloseingTagName=function(n){e(n)||(">"===n?this._state=f:this._special!==a?"s"===n||"S"===n?this._state=ui:(this._state=f,this._index--):(this._state=v,this._sectionStart=this._index))};r.prototype._stateInCloseingTagName=function(n){(">"===n||e(n))&&(this._emitToken("onclosetag"),this._state=yt,this._index--)};r.prototype._stateAfterCloseingTagName=function(n){">"===n&&(this._state=f,this._sectionStart=this._index+1)};r.prototype._stateBeforeAttributeName=function(n){">"===n?(this._cbs.onopentagend(),this._state=f,this._sectionStart=this._index+1):"/"===n?this._state=at:e(n)||(this._state=b,this._sectionStart=this._index)};r.prototype._stateInSelfClosingTag=function(n){">"===n?(this._cbs.onselfclosingtag(),this._state=f,this._sectionStart=this._index+1):e(n)||(this._state=h,this._index--)};r.prototype._stateInAttributeName=function(n){("="===n||"/"===n||">"===n||e(n))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=k,this._index--)};r.prototype._stateAfterAttributeName=function(n){"="===n?this._state=d:"/"===n||">"===n?(this._cbs.onattribend(),this._state=h,this._index--):e(n)||(this._cbs.onattribend(),this._state=b,this._sectionStart=this._index)};r.prototype._stateBeforeAttributeValue=function(n){'"'===n?(this._state=g,this._sectionStart=this._index+1):"'"===n?(this._state=nt,this._sectionStart=this._index+1):e(n)||(this._state=tt,this._sectionStart=this._index,this._index--)};r.prototype._stateInAttributeValueDoubleQuotes=function(n){'"'===n?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=h):this._decodeEntities&&"&"===n&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=w,this._sectionStart=this._index)};r.prototype._stateInAttributeValueSingleQuotes=function(n){"'"===n?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=h):this._decodeEntities&&"&"===n&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=w,this._sectionStart=this._index)};r.prototype._stateInAttributeValueNoQuotes=function(n){e(n)||">"===n?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=h,this._index--):this._decodeEntities&&"&"===n&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=w,this._sectionStart=this._index)};r.prototype._stateBeforeDeclaration=function(n){this._state="["===n?kt:"-"===n?bt:s};r.prototype._stateInDeclaration=function(n){">"===n&&(this._cbs.ondeclaration(this._getSection()),this._state=f,this._sectionStart=this._index+1)};r.prototype._stateInProcessingInstruction=function(n){">"===n&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=f,this._sectionStart=this._index+1)};r.prototype._stateBeforeComment=function(n){"-"===n?(this._state=y,this._sectionStart=this._index+1):this._state=s};r.prototype._stateInComment=function(n){"-"===n&&(this._state=it)};r.prototype._stateAfterComment1=function(n){this._state="-"===n?rt:y};r.prototype._stateAfterComment2=function(n){">"===n?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=f,this._sectionStart=this._index+1):"-"!==n&&(this._state=y)};r.prototype._stateBeforeCdata1=o("C",dt,s);r.prototype._stateBeforeCdata2=o("D",gt,s);r.prototype._stateBeforeCdata3=o("A",ni,s);r.prototype._stateBeforeCdata4=o("T",ti,s);r.prototype._stateBeforeCdata5=o("A",ii,s);r.prototype._stateBeforeCdata6=function(n){"["===n?(this._state=p,this._sectionStart=this._index+1):(this._state=s,this._index--)};r.prototype._stateInCdata=function(n){"]"===n&&(this._state=ut)};r.prototype._stateAfterCdata1=function(n){this._state="]"===n?ft:p};r.prototype._stateAfterCdata2=function(n){">"===n?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=f,this._sectionStart=this._index+1):"]"!==n&&(this._state=p)};r.prototype._stateBeforeSpecial=function(n){"c"===n||"C"===n?this._state=fi:"t"===n||"T"===n?this._state=pi:(this._state=c,this._index--)};r.prototype._stateBeforeSpecialEnd=function(n){this._state=this._special!==rr||"c"!==n&&"C"!==n?this._special!==ur||"t"!==n&&"T"!==n?f:di:ci};r.prototype._stateBeforeScript1=l("R",ei);r.prototype._stateBeforeScript2=l("I",oi);r.prototype._stateBeforeScript3=l("P",si);r.prototype._stateBeforeScript4=l("T",hi);r.prototype._stateBeforeScript5=function(n){("/"===n||">"===n||e(n))&&(this._special=rr);this._state=c;this._index--};r.prototype._stateAfterScript1=o("R",li,f);r.prototype._stateAfterScript2=o("I",ai,f);r.prototype._stateAfterScript3=o("P",vi,f);r.prototype._stateAfterScript4=o("T",yi,f);r.prototype._stateAfterScript5=function(n){">"===n||e(n)?(this._special=a,this._state=v,this._sectionStart=this._index-6,this._index--):this._state=f};r.prototype._stateBeforeStyle1=l("Y",wi);r.prototype._stateBeforeStyle2=l("L",bi);r.prototype._stateBeforeStyle3=l("E",ki);r.prototype._stateBeforeStyle4=function(n){("/"===n||">"===n||e(n))&&(this._special=ur);this._state=c;this._index--};r.prototype._stateAfterStyle1=o("Y",gi,f);r.prototype._stateAfterStyle2=o("L",nr,f);r.prototype._stateAfterStyle3=o("E",tr,f);r.prototype._stateAfterStyle4=function(n){">"===n||e(n)?(this._special=a,this._state=v,this._sectionStart=this._index-5,this._index--):this._state=f};r.prototype._stateBeforeEntity=o("#",ir,et);r.prototype._stateBeforeNumericEntity=o("X",st,ot);r.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var n=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?or:er;t.hasOwnProperty(n)&&(this._emitPartial(t[n]),this._sectionStart=this._index+1)}};r.prototype._parseLegacyEntity=function(){var i=this._sectionStart+1,n=this._index-i,t;for(n>6&&(n=6);n>=2;){if(t=this._buffer.substr(i,n),ct.hasOwnProperty(t))return this._emitPartial(ct[t]),void(this._sectionStart+=n+1);n--}};r.prototype._stateInNamedEntity=function(n){";"===n?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(n<"a"||n>"z")&&(n<"A"||n>"Z")&&(n<"0"||n>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==f?"="!==n&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)};r.prototype._decodeNumericEntity=function(n,t){var i=this._sectionStart+n,r,u;i!==this._index?(r=this._buffer.substring(i,this._index),u=parseInt(r,t),this._emitPartial(fr(u)),this._sectionStart=this._index):this._sectionStart--;this._state=this._baseState};r.prototype._stateInNumericEntity=function(n){";"===n?(this._decodeNumericEntity(2,10),this._sectionStart++):(n<"0"||n>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)};r.prototype._stateInHexEntity=function(n){";"===n?(this._decodeNumericEntity(3,16),this._sectionStart++):(n<"a"||n>"f")&&(n<"A"||n>"F")&&(n<"0"||n>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)};r.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===f?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)};r.prototype.write=function(n){this._ended&&this._cbs.onerror(Error(".write() after done!"));this._buffer+=n;this._parse()};r.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var n=this._buffer.charAt(this._index);this._state===f?this._stateText(n):this._state===lt?this._stateBeforeTagName(n):this._state===c?this._stateInTagName(n):this._state===vt?this._stateBeforeCloseingTagName(n):this._state===v?this._stateInCloseingTagName(n):this._state===yt?this._stateAfterCloseingTagName(n):this._state===at?this._stateInSelfClosingTag(n):this._state===h?this._stateBeforeAttributeName(n):this._state===b?this._stateInAttributeName(n):this._state===k?this._stateAfterAttributeName(n):this._state===d?this._stateBeforeAttributeValue(n):this._state===g?this._stateInAttributeValueDoubleQuotes(n):this._state===nt?this._stateInAttributeValueSingleQuotes(n):this._state===tt?this._stateInAttributeValueNoQuotes(n):this._state===pt?this._stateBeforeDeclaration(n):this._state===s?this._stateInDeclaration(n):this._state===wt?this._stateInProcessingInstruction(n):this._state===bt?this._stateBeforeComment(n):this._state===y?this._stateInComment(n):this._state===it?this._stateAfterComment1(n):this._state===rt?this._stateAfterComment2(n):this._state===kt?this._stateBeforeCdata1(n):this._state===dt?this._stateBeforeCdata2(n):this._state===gt?this._stateBeforeCdata3(n):this._state===ni?this._stateBeforeCdata4(n):this._state===ti?this._stateBeforeCdata5(n):this._state===ii?this._stateBeforeCdata6(n):this._state===p?this._stateInCdata(n):this._state===ut?this._stateAfterCdata1(n):this._state===ft?this._stateAfterCdata2(n):this._state===ri?this._stateBeforeSpecial(n):this._state===ui?this._stateBeforeSpecialEnd(n):this._state===fi?this._stateBeforeScript1(n):this._state===ei?this._stateBeforeScript2(n):this._state===oi?this._stateBeforeScript3(n):this._state===si?this._stateBeforeScript4(n):this._state===hi?this._stateBeforeScript5(n):this._state===ci?this._stateAfterScript1(n):this._state===li?this._stateAfterScript2(n):this._state===ai?this._stateAfterScript3(n):this._state===vi?this._stateAfterScript4(n):this._state===yi?this._stateAfterScript5(n):this._state===pi?this._stateBeforeStyle1(n):this._state===wi?this._stateBeforeStyle2(n):this._state===bi?this._stateBeforeStyle3(n):this._state===ki?this._stateBeforeStyle4(n):this._state===di?this._stateAfterStyle1(n):this._state===gi?this._stateAfterStyle2(n):this._state===nr?this._stateAfterStyle3(n):this._state===tr?this._stateAfterStyle4(n):this._state===w?this._stateBeforeEntity(n):this._state===ir?this._stateBeforeNumericEntity(n):this._state===et?this._stateInNamedEntity(n):this._state===ot?this._stateInNumericEntity(n):this._state===st?this._stateInHexEntity(n):this._cbs.onerror(Error("unknown _state"),this._state);this._index++}this._cleanup()};r.prototype.pause=function(){this._running=!1};r.prototype.resume=function(){this._running=!0;this._index<this._buffer.length&&this._parse();this._ended&&this._finish()};r.prototype.end=function(n){this._ended&&this._cbs.onerror(Error(".end() after done!"));n&&this.write(n);this._ended=!0;this._running&&this._finish()};r.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData();this._cbs.onend()};r.prototype._handleTrailingData=function(){var n=this._buffer.substr(this._sectionStart);this._state===p||this._state===ut||this._state===ft?this._cbs.oncdata(n):this._state===y||this._state===it||this._state===rt?this._cbs.oncomment(n):this._state!==et||this._xmlMode?this._state!==ot||this._xmlMode?this._state!==st||this._xmlMode?this._state!==c&&this._state!==h&&this._state!==d&&this._state!==k&&this._state!==b&&this._state!==nt&&this._state!==g&&this._state!==tt&&this._state!==v&&this._cbs.ontext(n):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))};r.prototype.reset=function(){r.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)};r.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index};r.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)};r.prototype._emitToken=function(n){this._cbs[n](this._getSection());this._sectionStart=-1};r.prototype._emitPartial=function(n){this._baseState!==f?this._cbs.onattribdata(n):this._cbs.ontext(n)}},function(n,t,i){var r=i(781);n.exports=function(n){if(n>=55296&&n<=57343||n>1114111)return"�";n in r&&(n=r[n]);var t="";return n>65535&&(n-=65536,t+=String.fromCharCode(n>>>10&1023|55296),n=56320|1023&n),t+String.fromCharCode(n)}},function(n){n.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(n,t,i){function r(n,t,i){"object"==typeof n?(i=t,t=n,n=null):"function"==typeof t&&(i=t,t=e);this._callback=n;this._options=t||e;this._elementCB=i;this.dom=[];this._done=!1;this._tagStack=[];this._parser=this._parser||null}var u=i(100),f=/\s+/g,o=i(416),s=i(783),e={normalizeWhitespace:!1,withStartIndices:!1};r.prototype.onparserinit=function(n){this._parser=n};r.prototype.onreset=function(){r.call(this,this._callback,this._options,this._elementCB)};r.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))};r.prototype._handleCallback=r.prototype.onerror=function(n){if("function"==typeof this._callback)this._callback(n,this.dom);else if(n)throw n;};r.prototype.onclosetag=function(){var n=this._tagStack.pop();this._elementCB&&this._elementCB(n)};r.prototype._addDomElement=function(n){var t=this._tagStack[this._tagStack.length-1],i=t?t.children:this.dom,r=i[i.length-1];n.next=null;this._options.withStartIndices&&(n.startIndex=this._parser.startIndex);this._options.withDomLvl1&&(n.__proto__="tag"===n.type?s:o);r?(n.prev=r,r.next=n):n.prev=null;i.push(n);n.parent=t||null};r.prototype.onopentag=function(n,t){var i={type:"script"===n?u.Script:"style"===n?u.Style:u.Tag,name:n,attribs:t,children:[]};this._addDomElement(i);this._tagStack.push(i)};r.prototype.ontext=function(n){var t,i=this._options.normalizeWhitespace||this._options.ignoreWhitespace;!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===u.Text||this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===u.Text?i?t.data=(t.data+n).replace(f," "):t.data+=n:(i&&(n=n.replace(f," ")),this._addDomElement({data:n,type:u.Text}))};r.prototype.oncomment=function(n){var t=this._tagStack[this._tagStack.length-1],i;t&&t.type===u.Comment?t.data+=n:(i={data:n,type:u.Comment},this._addDomElement(i),this._tagStack.push(i))};r.prototype.oncdatastart=function(){var n={children:[{data:"",type:u.Text}],type:u.CDATA};this._addDomElement(n);this._tagStack.push(n)};r.prototype.oncommentend=r.prototype.oncdataend=function(){this._tagStack.pop()};r.prototype.onprocessinginstruction=function(n,t){this._addDomElement({name:n,data:t,type:u.Directive})};n.exports=r},function(n){var r=n.exports={get firstChild(){var n=this.children;return n&&n[0]||null},get lastChild(){var n=this.children;return n&&n[n.length-1]||null},get nodeType(){return i[this.type]||i.element}},t={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(t).forEach(function(n){var i=t[n];Object.defineProperty(r,n,{get:function(){return this[i]||null},set:function(n){return this[i]=n,n}})})},function(n,t,i){var r=n.exports;[i(786),i(792),i(793),i(794),i(795),i(796)].forEach(function(n){Object.keys(n).forEach(function(t){r[t]=n[t].bind(r)})})},function(n,t,i){function r(n,t){var i=this._parser=new f(n,t),r=this._decoder=new e;u.call(this,{decodeStrings:!1});this.once("finish",function(){i.end(r.end())})}n.exports=r;var f=i(411),u=i(798).Writable,e=i(799).StringDecoder,o=i(419).Buffer;i(99)(r,u);r.prototype._write=function(n,t,i){n instanceof o&&(n=this._decoder.write(n));this._parser.write(n);i()}},function(n,t,i){"use strict";(function(n){function h(){return r.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function e(n,t){if(h()<t)throw new RangeError("Invalid typed array length");return r.TYPED_ARRAY_SUPPORT?(n=new Uint8Array(t)).__proto__=r.prototype:(null===n&&(n=new r(t)),n.length=t),n}function r(n,t,i){if(!(r.TYPED_ARRAY_SUPPORT||this instanceof r))return new r(n,t,i);if("number"==typeof n){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,n)}return d(this,n,t,i)}function d(n,t,i,u){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(n,t,i,u){if(t.byteLength,i<0||t.byteLength<i)throw new RangeError("'offset' is out of bounds");if(t.byteLength<i+(u||0))throw new RangeError("'length' is out of bounds");return t=void 0===i&&void 0===u?new Uint8Array(t):void 0===u?new Uint8Array(t,i):new Uint8Array(t,i,u),r.TYPED_ARRAY_SUPPORT?(n=t).__proto__=r.prototype:n=w(n,t),n}(n,t,i,u):"string"==typeof t?function(n,t,i){if("string"==typeof i&&""!==i||(i="utf8"),!r.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var u=0|nt(t,i),f=(n=e(n,u)).write(t,i);return f!==u&&(n=n.slice(0,f)),n}(n,t,i):function(n,t){var i,u;if(r.isBuffer(t))return i=0|b(t.length),0===(n=e(n,i)).length||t.copy(n,0,0,i),n;if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(u=t.length)!=u?e(n,0):w(n,t);if("Buffer"===t.type&&k(t.data))return w(n,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");}(n,t)}function g(n){if("number"!=typeof n)throw new TypeError('"size" argument must be a number');if(n<0)throw new RangeError('"size" argument must not be negative');}function p(n,t){if(g(t),n=e(n,t<0?0:0|b(t)),!r.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)n[i]=0;return n}function w(n,t){var r=t.length<0?0:0|b(t.length),i;for(n=e(n,r),i=0;i<r;i+=1)n[i]=255&t[i];return n}function b(n){if(n>=h())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h().toString(16)+" bytes");return 0|n}function nt(n,t){var i,u;if(r.isBuffer(n))return n.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(n)||n instanceof ArrayBuffer))return n.byteLength;if("string"!=typeof n&&(n=""+n),i=n.length,0===i)return 0;for(u=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return a(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return ht(n).length;default:if(u)return a(n).length;t=(""+t).toLowerCase();u=!0}}function ct(n,t,i){var r=!1;if(((void 0===t||t<0)&&(t=0),t>this.length)||((void 0===i||i>this.length)&&(i=this.length),i<=0)||(i>>>=0)<=(t>>>=0))return"";for(n||(n="utf8");;)switch(n){case"hex":return dt(this,t,i);case"utf8":case"utf-8":return ut(this,t,i);case"ascii":return bt(this,t,i);case"latin1":case"binary":return kt(this,t,i);case"base64":return wt(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gt(this,t,i);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase();r=!0}}function o(n,t,i){var r=n[t];n[t]=n[i];n[i]=r}function tt(n,t,i,u,f){if(0===n.length)return-1;if("string"==typeof i?(u=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=f?0:n.length-1),i<0&&(i=n.length+i),i>=n.length){if(f)return-1;i=n.length-1}else if(i<0){if(!f)return-1;i=0}if("string"==typeof t&&(t=r.from(t,u)),r.isBuffer(t))return 0===t.length?-1:it(n,t,i,u,f);if("number"==typeof t)return t&=255,r.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?f?Uint8Array.prototype.indexOf.call(n,t,i):Uint8Array.prototype.lastIndexOf.call(n,t,i):it(n,[t],i,u,f);throw new TypeError("val must be string, number or Buffer");}function it(n,t,i,r,u){function l(n,t){return 1===h?n[t]:n.readUInt16BE(t*h)}var f,h=1,c=n.length,o=t.length,e,a,s;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(n.length<2||t.length<2)return-1;h=2;c/=2;o/=2;i/=2}if(u)for(e=-1,f=i;f<c;f++)if(l(n,f)===l(t,-1===e?0:f-e)){if(-1===e&&(e=f),f-e+1===o)return e*h}else-1!==e&&(f-=f-e),e=-1;else for(i+o>c&&(i=c-o),f=i;f>=0;f--){for(a=!0,s=0;s<o;s++)if(l(n,f+s)!==l(t,s)){a=!1;break}if(a)return f}return-1}function lt(n,t,i,r){var f,e,u,o;if(i=Number(i)||0,f=n.length-i,r?(r=Number(r))>f&&(r=f):r=f,e=t.length,e%2!=0)throw new TypeError("Invalid hex string");for(r>e/2&&(r=e/2),u=0;u<r;++u){if(o=parseInt(t.substr(2*u,2),16),isNaN(o))return u;n[i+u]=o}return u}function at(n,t,i,r){return v(a(t,n.length-i),n,i,r)}function rt(n,t,i,r){return v(function(n){for(var i=[],t=0;t<n.length;++t)i.push(255&n.charCodeAt(t));return i}(t),n,i,r)}function vt(n,t,i,r){return rt(n,t,i,r)}function yt(n,t,i,r){return v(ht(t),n,i,r)}function pt(n,t,i,r){return v(function(n,t){for(var u,f,e,i=[],r=0;r<n.length&&!((t-=2)<0);++r)f=(u=n.charCodeAt(r))>>8,e=u%256,i.push(e),i.push(f);return i}(t,n.length-i),n,i,r)}function wt(n,t,i){return 0===t&&i===n.length?y.fromByteArray(n):y.fromByteArray(n.slice(t,i))}function ut(n,t,i){var h,u;for(i=Math.min(n.length,i),h=[],u=t;u<i;){var e,s,l,f,o=n[u],r=null,c=o>239?4:o>223?3:o>191?2:1;if(u+c<=i)switch(c){case 1:o<128&&(r=o);break;case 2:128==(192&(e=n[u+1]))&&(f=(31&o)<<6|63&e)>127&&(r=f);break;case 3:e=n[u+1];s=n[u+2];128==(192&e)&&128==(192&s)&&(f=(15&o)<<12|(63&e)<<6|63&s)>2047&&(f<55296||f>57343)&&(r=f);break;case 4:e=n[u+1];s=n[u+2];l=n[u+3];128==(192&e)&&128==(192&s)&&128==(192&l)&&(f=(15&o)<<18|(63&e)<<12|(63&s)<<6|63&l)>65535&&f<1114112&&(r=f)}null===r?(r=65533,c=1):r>65535&&(r-=65536,h.push(r>>>10&1023|55296),r=56320|1023&r);h.push(r);u+=c}return function(n){var r=n.length,i,t;if(r<=4096)return String.fromCharCode.apply(String,n);for(i="",t=0;t<r;)i+=String.fromCharCode.apply(String,n.slice(t,t+=4096));return i}(h)}function bt(n,t,i){var u="",r;for(i=Math.min(n.length,i),r=t;r<i;++r)u+=String.fromCharCode(127&n[r]);return u}function kt(n,t,i){var u="",r;for(i=Math.min(n.length,i),r=t;r<i;++r)u+=String.fromCharCode(n[r]);return u}function dt(n,t,i){var f=n.length,u,r;for((!t||t<0)&&(t=0),(!i||i<0||i>f)&&(i=f),u="",r=t;r<i;++r)u+=ni(n[r]);return u}function gt(n,t,i){for(var u=n.slice(t,i),f="",r=0;r<u.length;r+=2)f+=String.fromCharCode(u[r]+256*u[r+1]);return f}function u(n,t,i){if(n%1!=0||n<0)throw new RangeError("offset is not uint");if(n+t>i)throw new RangeError("Trying to access beyond buffer length");}function f(n,t,i,u,f,e){if(!r.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>f||t<e)throw new RangeError('"value" argument is out of bounds');if(i+u>n.length)throw new RangeError("Index out of range");}function c(n,t,i,r){t<0&&(t=65535+t+1);for(var u=0,f=Math.min(n.length-i,2);u<f;++u)n[i+u]=(t&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function l(n,t,i,r){t<0&&(t=4294967295+t+1);for(var u=0,f=Math.min(n.length-i,4);u<f;++u)n[i+u]=t>>>8*(r?u:3-u)&255}function ft(n,t,i,r){if(i+r>n.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range");}function et(n,t,i,r,u){return u||ft(n,0,i,4),s.write(n,t,i,r,23,4),i+4}function ot(n,t,i,r,u){return u||ft(n,0,i,8),s.write(n,t,i,r,52,8),i+8}function ni(n){return n<16?"0"+n.toString(16):n.toString(16)}function a(n,t){var i;t=t||1/0;for(var e=n.length,u=null,r=[],f=0;f<e;++f){if((i=n.charCodeAt(f))>55295&&i<57344){if(!u){if(i>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(f+1===e){(t-=3)>-1&&r.push(239,191,189);continue}u=i;continue}if(i<56320){(t-=3)>-1&&r.push(239,191,189);u=i;continue}i=65536+(u-55296<<10|i-56320)}else u&&(t-=3)>-1&&r.push(239,191,189);if(u=null,i<128){if((t-=1)<0)break;r.push(i)}else if(i<2048){if((t-=2)<0)break;r.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;r.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return r}function ht(n){return y.toByteArray(function(n){if((n=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(n).replace(st,"")).length<2)return"";for(;n.length%4!=0;)n+="=";return n}(n))}function v(n,t,i,r){for(var u=0;u<r&&!(u+i>=t.length||u>=n.length);++u)t[u+i]=n[u];return u}var y=i(801),s=i(802),k=i(803),st;t.Buffer=r;t.SlowBuffer=function(n){return+n!=n&&(n=0),r.alloc(+n)};t.INSPECT_MAX_BYTES=50;r.TYPED_ARRAY_SUPPORT=void 0!==n.TYPED_ARRAY_SUPPORT?n.TYPED_ARRAY_SUPPORT:function(){try{var n=new Uint8Array(1);return n.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===n.foo()&&"function"==typeof n.subarray&&0===n.subarray(1,1).byteLength}catch(n){return!1}}();t.kMaxLength=h();r.poolSize=8192;r._augment=function(n){return n.__proto__=r.prototype,n};r.from=function(n,t,i){return d(null,n,t,i)};r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0}));r.alloc=function(n,t,i){return function(n,t,i,r){return g(t),t<=0?e(n,t):void 0!==i?"string"==typeof r?e(n,t).fill(i,r):e(n,t).fill(i):e(n,t)}(null,n,t,i)};r.allocUnsafe=function(n){return p(null,n)};r.allocUnsafeSlow=function(n){return p(null,n)};r.isBuffer=function(n){return!(null==n||!n._isBuffer)};r.compare=function(n,t){if(!r.isBuffer(n)||!r.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(n===t)return 0;for(var u=n.length,f=t.length,i=0,e=Math.min(u,f);i<e;++i)if(n[i]!==t[i]){u=n[i];f=t[i];break}return u<f?-1:f<u?1:0};r.isEncoding=function(n){switch(String(n).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};r.concat=function(n,t){var i,f,e,u;if(!k(n))throw new TypeError('"list" argument must be an Array of Buffers');if(0===n.length)return r.alloc(0);if(void 0===t)for(t=0,i=0;i<n.length;++i)t+=n[i].length;for(f=r.allocUnsafe(t),e=0,i=0;i<n.length;++i){if(u=n[i],!r.isBuffer(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(f,e);e+=u.length}return f};r.byteLength=nt;r.prototype._isBuffer=!0;r.prototype.swap16=function(){var t=this.length,n;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(n=0;n<t;n+=2)o(this,n,n+1);return this};r.prototype.swap32=function(){var t=this.length,n;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(n=0;n<t;n+=4)o(this,n,n+3),o(this,n+1,n+2);return this};r.prototype.swap64=function(){var t=this.length,n;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(n=0;n<t;n+=8)o(this,n,n+7),o(this,n+1,n+6),o(this,n+2,n+5),o(this,n+3,n+4);return this};r.prototype.toString=function(){var n=0|this.length;return 0===n?"":0===arguments.length?ut(this,0,n):ct.apply(this,arguments)};r.prototype.equals=function(n){if(!r.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n||0===r.compare(this,n)};r.prototype.inspect=function(){var n="",i=t.INSPECT_MAX_BYTES;return this.length>0&&(n=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(n+=" ... ")),"<Buffer "+n+">"};r.prototype.compare=function(n,t,i,u,f){if(!r.isBuffer(n))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=n?n.length:0),void 0===u&&(u=0),void 0===f&&(f=this.length),t<0||i>n.length||u<0||f>this.length)throw new RangeError("out of range index");if(u>=f&&t>=i)return 0;if(u>=f)return-1;if(t>=i)return 1;if(this===n)return 0;for(var o=(f>>>=0)-(u>>>=0),s=(i>>>=0)-(t>>>=0),l=Math.min(o,s),h=this.slice(u,f),c=n.slice(t,i),e=0;e<l;++e)if(h[e]!==c[e]){o=h[e];s=c[e];break}return o<s?-1:s<o?1:0};r.prototype.includes=function(n,t,i){return-1!==this.indexOf(n,t,i)};r.prototype.indexOf=function(n,t,i){return tt(this,n,t,i,!0)};r.prototype.lastIndexOf=function(n,t,i){return tt(this,n,t,i,!1)};r.prototype.write=function(n,t,i,r){var u,f;if(void 0===t)r="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)r=t,i=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0;isFinite(i)?(i|=0,void 0===r&&(r="utf8")):(r=i,i=void 0)}if(u=this.length-t,(void 0===i||i>u)&&(i=u),n.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");for(r||(r="utf8"),f=!1;;)switch(r){case"hex":return lt(this,n,t,i);case"utf8":case"utf-8":return at(this,n,t,i);case"ascii":return rt(this,n,t,i);case"latin1":case"binary":return vt(this,n,t,i);case"base64":return yt(this,n,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,n,t,i);default:if(f)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase();f=!0}};r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};r.prototype.slice=function(n,t){var f,i=this.length,e,u;if((n=~~n)<0?(n+=i)<0&&(n=0):n>i&&(n=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<n&&(t=n),r.TYPED_ARRAY_SUPPORT)(f=this.subarray(n,t)).__proto__=r.prototype;else for(e=t-n,f=new r(e,void 0),u=0;u<e;++u)f[u]=this[u+n];return f};r.prototype.readUIntLE=function(n,t,i){n|=0;t|=0;i||u(n,t,this.length);for(var r=this[n],f=1,e=0;++e<t&&(f*=256);)r+=this[n+e]*f;return r};r.prototype.readUIntBE=function(n,t,i){n|=0;t|=0;i||u(n,t,this.length);for(var r=this[n+--t],f=1;t>0&&(f*=256);)r+=this[n+--t]*f;return r};r.prototype.readUInt8=function(n,t){return t||u(n,1,this.length),this[n]};r.prototype.readUInt16LE=function(n,t){return t||u(n,2,this.length),this[n]|this[n+1]<<8};r.prototype.readUInt16BE=function(n,t){return t||u(n,2,this.length),this[n]<<8|this[n+1]};r.prototype.readUInt32LE=function(n,t){return t||u(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+16777216*this[n+3]};r.prototype.readUInt32BE=function(n,t){return t||u(n,4,this.length),16777216*this[n]+(this[n+1]<<16|this[n+2]<<8|this[n+3])};r.prototype.readIntLE=function(n,t,i){n|=0;t|=0;i||u(n,t,this.length);for(var r=this[n],f=1,e=0;++e<t&&(f*=256);)r+=this[n+e]*f;return r>=(f*=128)&&(r-=Math.pow(2,8*t)),r};r.prototype.readIntBE=function(n,t,i){n|=0;t|=0;i||u(n,t,this.length);for(var f=t,e=1,r=this[n+--f];f>0&&(e*=256);)r+=this[n+--f]*e;return r>=(e*=128)&&(r-=Math.pow(2,8*t)),r};r.prototype.readInt8=function(n,t){return t||u(n,1,this.length),128&this[n]?-1*(256-this[n]):this[n]};r.prototype.readInt16LE=function(n,t){t||u(n,2,this.length);var i=this[n]|this[n+1]<<8;return 32768&i?4294901760|i:i};r.prototype.readInt16BE=function(n,t){t||u(n,2,this.length);var i=this[n+1]|this[n]<<8;return 32768&i?4294901760|i:i};r.prototype.readInt32LE=function(n,t){return t||u(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24};r.prototype.readInt32BE=function(n,t){return t||u(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]};r.prototype.readFloatLE=function(n,t){return t||u(n,4,this.length),s.read(this,n,!0,23,4)};r.prototype.readFloatBE=function(n,t){return t||u(n,4,this.length),s.read(this,n,!1,23,4)};r.prototype.readDoubleLE=function(n,t){return t||u(n,8,this.length),s.read(this,n,!0,52,8)};r.prototype.readDoubleBE=function(n,t){return t||u(n,8,this.length),s.read(this,n,!1,52,8)};r.prototype.writeUIntLE=function(n,t,i,r){n=+n;t|=0;i|=0;r||f(this,n,t,i,Math.pow(2,8*i)-1,0);var u=1,e=0;for(this[t]=255&n;++e<i&&(u*=256);)this[t+e]=n/u&255;return t+i};r.prototype.writeUIntBE=function(n,t,i,r){n=+n;t|=0;i|=0;r||f(this,n,t,i,Math.pow(2,8*i)-1,0);var u=i-1,e=1;for(this[t+u]=255&n;--u>=0&&(e*=256);)this[t+u]=n/e&255;return t+i};r.prototype.writeUInt8=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,1,255,0),r.TYPED_ARRAY_SUPPORT||(n=Math.floor(n)),this[t]=255&n,t+1};r.prototype.writeUInt16LE=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=255&n,this[t+1]=n>>>8):c(this,n,t,!0),t+2};r.prototype.writeUInt16BE=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=n>>>8,this[t+1]=255&n):c(this,n,t,!1),t+2};r.prototype.writeUInt32LE=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t+3]=n>>>24,this[t+2]=n>>>16,this[t+1]=n>>>8,this[t]=255&n):l(this,n,t,!0),t+4};r.prototype.writeUInt32BE=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t]=n>>>24,this[t+1]=n>>>16,this[t+2]=n>>>8,this[t+3]=255&n):l(this,n,t,!1),t+4};r.prototype.writeIntLE=function(n,t,i,r){var u;(n=+n,t|=0,r)||(u=Math.pow(2,8*i-1),f(this,n,t,i,u-1,-u));var e=0,s=1,o=0;for(this[t]=255&n;++e<i&&(s*=256);)n<0&&0===o&&0!==this[t+e-1]&&(o=1),this[t+e]=(n/s>>0)-o&255;return t+i};r.prototype.writeIntBE=function(n,t,i,r){var e;(n=+n,t|=0,r)||(e=Math.pow(2,8*i-1),f(this,n,t,i,e-1,-e));var u=i-1,s=1,o=0;for(this[t+u]=255&n;--u>=0&&(s*=256);)n<0&&0===o&&0!==this[t+u+1]&&(o=1),this[t+u]=(n/s>>0)-o&255;return t+i};r.prototype.writeInt8=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,1,127,-128),r.TYPED_ARRAY_SUPPORT||(n=Math.floor(n)),n<0&&(n=255+n+1),this[t]=255&n,t+1};r.prototype.writeInt16LE=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=255&n,this[t+1]=n>>>8):c(this,n,t,!0),t+2};r.prototype.writeInt16BE=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=n>>>8,this[t+1]=255&n):c(this,n,t,!1),t+2};r.prototype.writeInt32LE=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,4,2147483647,-2147483648),r.TYPED_ARRAY_SUPPORT?(this[t]=255&n,this[t+1]=n>>>8,this[t+2]=n>>>16,this[t+3]=n>>>24):l(this,n,t,!0),t+4};r.prototype.writeInt32BE=function(n,t,i){return n=+n,t|=0,i||f(this,n,t,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),r.TYPED_ARRAY_SUPPORT?(this[t]=n>>>24,this[t+1]=n>>>16,this[t+2]=n>>>8,this[t+3]=255&n):l(this,n,t,!1),t+4};r.prototype.writeFloatLE=function(n,t,i){return et(this,n,t,!0,i)};r.prototype.writeFloatBE=function(n,t,i){return et(this,n,t,!1,i)};r.prototype.writeDoubleLE=function(n,t,i){return ot(this,n,t,!0,i)};r.prototype.writeDoubleBE=function(n,t,i){return ot(this,n,t,!1,i)};r.prototype.copy=function(n,t,i,u){if((i||(i=0),u||0===u||(u=this.length),t>=n.length&&(t=n.length),t||(t=0),u>0&&u<i&&(u=i),u===i)||0===n.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(u<0)throw new RangeError("sourceEnd out of bounds");u>this.length&&(u=this.length);n.length-t<u-i&&(u=n.length-t+i);var f,e=u-i;if(this===n&&i<t&&t<u)for(f=e-1;f>=0;--f)n[f+t]=this[f+i];else if(e<1e3||!r.TYPED_ARRAY_SUPPORT)for(f=0;f<e;++f)n[f+t]=this[f+i];else Uint8Array.prototype.set.call(n,this.subarray(i,i+e),t);return e};r.prototype.fill=function(n,t,i,u){var e,f,o,s;if("string"==typeof n){if(("string"==typeof t?(u=t,t=0,i=this.length):"string"==typeof i&&(u=i,i=this.length),1===n.length)&&(e=n.charCodeAt(0),e<256&&(n=e)),void 0!==u&&"string"!=typeof u)throw new TypeError("encoding must be a string");if("string"==typeof u&&!r.isEncoding(u))throw new TypeError("Unknown encoding: "+u);}else"number"==typeof n&&(n&=255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;if(t>>>=0,i=void 0===i?this.length:i>>>0,n||(n=0),"number"==typeof n)for(f=t;f<i;++f)this[f]=n;else for(o=r.isBuffer(n)?n:a(new r(n,u).toString()),s=o.length,f=0;f<i-t;++f)this[f+t]=o[f%s];return this};st=/[^+\/0-9A-Za-z-_]/g}).call(this,i(28))},function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}var r,u,f;Object.defineProperty(t,"__esModule",{value:!0});r=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};t.default=function(n,t){var i=r({},u.default(n),{key:t});return"string"==typeof i.style||i.style instanceof String?i.style=f.default(i.style):delete i.style,i};u=e(i(808));f=e(i(811))},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n){return i.hasOwnProperty(n)||(i[n]=r.test(n)),i[n]};var r=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,i={}},function(n,t,i){"use strict";(function(n){function l(n){return n&&n.__esModule?n:{"default":n}}function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function d(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function nt(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function tt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function it(n){var t=ft();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),rt(this,i)}}function rt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?ut(n):t}function ut(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ft(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var et,o,s,r,h;Object.defineProperty(t,"__esModule",{value:!0});t.SocialStyrelseSubmitAction=t.SEND=void 0;var c=d(i(1)),p=i(36),w=l(i(64)),b=l(i(62)),k=i(15),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);et="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o="SEND";t.SEND=o;s=function(n){function t(n){var r;return g(this,t),(r=i.call(this,n)).componentDidMount=function(){r._form=document.getElementById(r.props.formId);w.default.subscribe("form-submit-action",function(n){r.setState({action:n.detail},function(){r.doAction()})})},r.doAction=function(){var n=new FormData(r._form);p.doPost("/_api/sosforms/send",n).then(function(n){b.default.log(n);n instanceof k.ResponseError||(window.location.href=n)})},r.state={action:""},r}tt(t,n);var i=it(t);return nt(t,[{key:"render",value:function(){return c.createElement("input",{type:"hidden",value:this.state.action,name:"STB_SUBMIT_ACTION"})}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(c.Component);t.SocialStyrelseSubmitAction=s;r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;r&&(r.register(o,"SEND","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\SocialStyrelseSubmitAction\\SocialStyrelseSubmitAction.tsx"),r.register(s,"SocialStyrelseSubmitAction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\SocialStyrelseSubmitAction\\SocialStyrelseSubmitAction.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function l(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==s(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function a(n){return n&&n.__esModule?n:{"default":n}}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function nt(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;var h=a(i(64)),k=i(15),d=l(i(57)),f=l(i(1)),r=a(i(62)),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);var it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},y="Dessa uppgifter är obligatoriska att fylla i",p="Du har angivit fel format på uppgiften",w=function(){var n=function(){function n(){var t=this;g(this,n);this.setFormElements=function(n){t._formElements=n};this.getElementName=function(n){return null!==n.getAttribute("name")?n.getAttribute("name"):n.getAttribute("data-f-element-name")};this.validateStandardComponent=function(n){if(t._formElements){var u=t._formElements.filter(function(t){return null!==t.element.attributes.getNamedItem("name")?t.element.attributes.getNamedItem("name").value===n:t.element.attributes.getNamedItem("data-f-element-name").value===n}),i=t.validateFieldCollection(u);i.length>0&&t.validateStep(i[0].step)}else r.default.warn("No form elements have been set.")};this.validateStepViaElementName=function(n){if(t._formElements){var i=t._formElements.filter(function(t){return null!==t.element.attributes.getNamedItem("name")?t.element.attributes.getNamedItem("name").value===n:t.element.attributes.getNamedItem("data-f-element-name").value===n});t.validateStep(i[0].step)}else r.default.warn("No form elements have been set.")};this.validateStep=function(n){if(t._formElements){var i=!0;r.default.log("validating step: ".concat(n));void 0!==t.validateFieldCollection(t._formElements.filter(function(t){return t.step===n}),!1).find(function(n){return!1===n.isValid})&&(i=!1);h.default.fire("step-is-validated",{detail:{step:n,stepIsValid:i}})}else r.default.warn("No form elements have been set.")};this.validateForm=function(){var f=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n,i,u;if(t._formElements)return n=!0,r.default.log("validating form.."),i=t.validateFieldCollection(t._formElements,f),u=i.find(function(n){return!1===n.isValid}),void 0!==u&&(n=!1),h.default.fire("form-is-valid",{detail:n}),n;r.default.warn("No form elements have been set.")};this.validateFieldCollection=function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=n.slice();return n.forEach(function(n,u){var e;if(r&&t.removeErrorMessage(n.element),e=n.element.getAttribute("data-isvalid"),"false"!==e)if("true"!==e){if(null===e){var o=n.isRequired,f=n.element.value,s=n.regex;if("choice"===n.type&&(f=!1,n.elementGroup.forEach(function(n){n.checked&&(f=!0)})),!f&&o)return i[u].isValid=!1,void(r&&t.injectErrorMessage(n.element,y));if(o||(i[u].isValid=!0),f&&s)return i[u].isValid=new RegExp(s).test(f),void(i[u].isValid||r&&t.injectErrorMessage(n.element,p));f&&o&&!s&&(i[u].isValid=!0);f||o||(i[u].isValid=!0);i[u].isValid&&r&&t.removeErrorMessage(n.element)}}else i[u].isValid=!0;else i[u].isValid=!1}),i};this.removeErrorMessage=function(n){n.classList.remove("has-error");var i=document.getElementById(t.getElementName(n)+"-error");i&&i.remove();n.removeAttribute("aria-labelledby")};this.injectErrorMessage=function(n,i){var r=document.createElement("span");r.id="".concat(t.getElementName(n),"-error");n.classList.add("has-error");n.setAttribute("aria-labelledby",r.id);n.insertAdjacentElement("afterend",r);d.render(f.createElement("span",{className:"error-message",role:"alert"},f.createElement(k.Icon,{iconType:"fontawesome/exclamation-circle-solid",className:"error-message--icon"}),f.createElement("span",null,i)),r)};this._formElements=null}return nt(n,[{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),n}();return n.getInstance=function(){return n.instance||(n.instance=new n),n.instance},n}(),b=w.getInstance(),tt=b,u,o;t.default=tt;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(y,"ERROR_IS_REQUIRED","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\services\\validation.service.tsx"),u.register(p,"ERROR_INVALID_REGEX","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\services\\validation.service.tsx"),u.register(w,"ValidationService","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\services\\validation.service.tsx"),u.register(b,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\services\\validation.service.tsx"));o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;o&&o(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function tt(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return tt=function(){return n},n}function vt(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==c(n)&&"function"!=typeof n)return{"default":n};if(t=tt(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function u(n){return n&&n.__esModule?n:{"default":n}}function yt(n,t){var i,r,u,o,f,e;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(i=it(n))||t&&n&&"number"==typeof n.length)return i&&(n=i),r=0,u=function(){},{s:u,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n;},f:u};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return f=!0,e=!1,{s:function(){i=n[Symbol.iterator]()},n:function(){var n=i.next();return f=n.done,n},e:function(n){e=!0;o=n},f:function(){try{f||null==i.return||i.return()}finally{if(e)throw o;}}}}function e(n){return bt(n)||wt(n)||it(n)||pt()}function pt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function it(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}function wt(n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}function bt(n){if(Array.isArray(n))return p(n)}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function kt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function rt(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function dt(n,t,i){return t&&rt(n.prototype,t),i&&rt(n,i),n}function gt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&ut(n,t)}function ut(n,t){return(ut=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ni(n){var t=ri();return function(){var i,r=w(n),u;return t?(u=w(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ti(this,i)}}function ti(n,t){return!t||"object"!==c(t)&&"function"!=typeof t?ii(n):t}function ii(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ri(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function w(n){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function c(n){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var ui,l,b,a,k;Object.defineProperty(t,"__esModule",{value:!0});t.LineChart=void 0;var ft=u(i(101)),s=u(i(102)),h=u(i(58)),et=u(i(839)),ot=u(i(13)),v=vt(i(1)),o=u(i(16)),st=u(i(48)),ht=u(i(49)),ct=u(i(50)),d=i(51),lt=u(i(65)),at=i(52),r=i(7),f=i(37),g=i(66),nt=i(426),y;y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;y&&y(n);ui="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};"object"===c(o.default)&&(st.default(o.default),ht.default(o.default),lt.default(o.default),o.default.setOptions(d.defaultSetOptions));l=["solid","dash","shortdot","shortdashdot","Longdashdotdot","shortdash","dot"];b=function(n){function t(n){var u;return kt(this,t),(u=i.call(this,n)).options=ot.default(d.diagramOptions),u.colors=at.lineChartColors,u.getLineValue=function(){return"boxplot"===u.props.settingsData.diagram?u.props.settingsData.useMedianInLineDiagram?u.props.settingsData.median:u.props.settingsData.mean:u.props.settingsData.value},u.setDataValue=function(n,t,i,o,s){var h=[f.replaceCommaParseFloat(n[t]),i.indexOf(n[r.columnConstants.measurePeriod]),n[r.columnConstants.measureUnit],n[r.columnConstants.measurePeriod],u.props.settingsData.diagram];switch(h=u.props.isCompare?[].concat(e(h),[n[r.columnConstants.careUnit]]):h,h=o?[].concat(e(h),[s]):h,u.props.settingsData.diagram){case"boxplot":return[].concat(e(h),[f.replaceCommaParseFloat(n[u.props.settingsData.upperPercentile]),f.replaceCommaParseFloat(n[u.props.settingsData.median]),f.replaceCommaParseFloat(n[u.props.settingsData.mean]),f.replaceCommaParseFloat(n[u.props.settingsData.lowerPercentile]),u.props.settingsData.upperPercentile,u.props.settingsData.lowerPercentile]);default:return[].concat(e(h),[f.replaceCommaParseFloat(n[u.props.settingsData.lowConfidence]),f.replaceCommaParseFloat(n[u.props.settingsData.highConfidence]),f.replaceCommaParseFloat(n[u.props.settingsData.standardDeviation])])}},u.getKeys=function(n){var t=["y","x","measureunit","year","diagramtype"];switch(t=u.props.isCompare?[].concat(e(t),["careunit"]):t,t=n?[].concat(e(t),["division"]):t,u.props.settingsData.diagram){case"boxplot":return[].concat(e(t),["upper","median","mean","lower","uppertext","lowertext"]);default:return[].concat(e(t),["confidencelow","confidencehigh","standarddeviation"])}},u.setOptions=function(){var t=u.getLineValue(),n,a,i,v,f,y,c,p,w,b,k;if(u.options.legend.symbolWidth=37,u.options.plotOptions={series:{marker:{fillColor:"#FFFFFF",lineWidth:3,lineColor:null}}},u.options.accessibility.point.descriptionFormatter=function(n){var t=n.division?" "+n.division+",":"",i=n.measureunit?" "+n.measureunit+",":"",r=n.careunit?" "+n.careunit+",":"";return"år: "+n.year+","+r+t+i+" "+n.y},u.options.tooltip.formatter=function(){var f=t==r.columnConstants.median?"<\/strong><br/><strong>*<\/strong>Median:<strong>":"<\/strong><br/>Median:<strong>",e=t==r.columnConstants.mean?"<\/strong><br/><strong>*<\/strong>Medelvärde: <strong>":"<\/strong><br/>Medelvärde: <strong>",n=this.point.careunit?"Vårdenhet: <strong>"+this.point.careunit+"<\/strong><\/br>":"",i=this.point.division?"Uppdelning: <strong>"+this.point.division+"<\/strong><\/br>":"",u;switch(this.point.diagramtype){case"boxplot":return'<p class="tooltip-header"><span class="tooltip-header__color"style="color:'+this.color+'">●<\/span>'+this.point.year+"<\/p>"+n+i+this.point.uppertext+": <strong>"+this.point.upper+f+this.point.median+e+this.point.mean+"<\/strong><br/>"+this.point.lowertext+": <strong>"+this.point.lower+'<\/strong><br/><p style="margin-top:1rem; margin-bottom:0;"><strong>*<\/strong>Värde som visas i linjediagrammet<\/P';default:return u='<p class="tooltip-header"><span class="tooltip-header__color"style="color:'+this.color+'">●<\/span>'+this.point.year+"<\/p>"+n+i+this.point.measureunit+": <strong>"+this.point.y+"<\/strong>",(u+=this.point.confidencehigh&&null!==this.point.confidencelow?"<br/> <p>Konfidensintervall: <strong>"+this.point.confidencelow+"-"+this.point.confidencehigh+"<\/strong>":"")+(this.point.standarddeviation&&null!==this.point.standarddeviation?"<br/> <p>Standardavvikelse: <strong>"+this.point.standarddeviation+"<\/strong>":"")}},u.options.tooltip.shared=!1,n=et.default(u.props.chartData,r.columnConstants.measurePeriod).map(function(n){return n[r.columnConstants.measurePeriod]}),n=n.sort(),u.options.xAxis.max=n.length-1,u.options.xAxis.min=0,n&&n.map(function(n){u.options.xAxis.categories.push(n)}),Object.entries(h.default(s.default(u.props.chartData,r.columnConstants.careUnit))).map(function(){}),u.props.isCompare&&u.props.settingsData.divisionTypeValues&&""!==u.props.settingsData.divisionTypeValues){if(a=Object.entries(h.default(s.default(u.props.chartData,r.columnConstants.careUnit))),i=[],a.map(function(f,e){var c={lineWidth:0,id:f[0],showInLegend:!0,color:u.colors[e].mainColor,data:[],name:f[0],tooltip:{},marker:{symbol:"circle",fillColor:u.colors[e].mainColor}},o;i.push(c);o=Object.entries(h.default(s.default(f[1],r.columnConstants.division)));o.map(function(i,s){var c=l[s],a,h,v;0===e&&o.length>1&&(a={lineWidth:2,showInLegend:!0,color:"#000000",data:[],name:i[0],dashStyle:c,tooltip:{},marker:{enabled:!1},events:{legendItemClick:function(){var r=this,t,n;if(this.visible)for(t=0;t<=this.chart.options.series.length-1;t++)this.chart.options.series[t].id===i[0]&&this.chart.series[t].hide();else for(n=0;n<=this.chart.options.series.length-1;n++)this.chart.options.series[n].id===i[0]&&function(){var t=r.chart.options.series[n].linkedTo;r.chart.series.filter(function(n){return n.options.id===t})[0].visible&&r.chart.series[n].show()}()}}},u.options.series.push(a));h={linkedTo:f[0],lineWidth:3,id:i[0],showInLegend:!1,color:u.colors[e].mainColor,data:[],name:i[0],dashStyle:c,keys:u.getKeys(o.length>1),marker:{symbol:"circle",fillColor:u.colors[e].mainColor},tooltip:{}};(i[1].map(function(r){var f=u.setDataValue(r,t,n,o.length>1,i[0]);h.data.push(f)}),u.options.series.push(h),g.checkPercent(u.props.chartData.map(function(n){return n[r.columnConstants.measureUnit]})[0]))&&(v=nt.checkPercentMaxValue(i[1],u.props.settingsData.value),u.options.yAxis.max=v)})}),null!==i&&i.length>0){f=yt(i);try{for(f.s();!(v=f.n()).done;)y=v.value,u.options.series.unshift(y)}catch(t){f.e(t)}finally{f.f()}}c=!(!u.props.settingsData.divisionTypeValues||""===u.props.settingsData.divisionTypeValues);(u.getLineValue()==r.columnConstants.mean||u.getLineValue()==r.columnConstants.median)&&(p=u.getLineValue()==r.columnConstants.mean?"Medelvärde":u.getLineValue(),w={lineWidth:0,id:"meanMedian_1",showInLegend:!0,color:c&&u.props.isCompare?"#000":u.colors[0].mainColor,data:[],name:p,tooltip:{},marker:{symbol:"circle",fillColor:c&&u.props.isCompare?"#000":u.colors[0].mainColor}},u.options.series.push(w))}else{var e=!(!u.props.settingsData.divisionTypeValues||""===u.props.settingsData.divisionTypeValues),d=e?r.columnConstants.division:r.columnConstants.careUnit,o=Object.entries(h.default(s.default(u.props.chartData,d)));(o.map(function(i,f){var h=l[f],a="riket"===i[0].toLowerCase()||"totalt"===i[0].toLowerCase()?i[1][1][r.columnConstants.measureUnit]:i[0],v={lineWidth:2,color:u.colors[0].mainColor,id:i[0],dashStyle:h,data:[],name:a,keys:u.getKeys(o.length>1),marker:{enabled:!1}},s,c;u.options.series.push(v);s={lineWidth:3,linkedTo:i[0],color:u.colors[0].mainColor,dashStyle:h,data:[],name:i[0],keys:u.getKeys(e&&o.length>1),showInLegend:!1,marker:{symbol:"circle",fillColor:u.colors[0].mainColor}};(i[1].map(function(r){var f=u.setDataValue(r,t,n,e&&o.length>1,i[0]);s.data.push(f)}),u.options.series.push(s),g.checkPercent(u.props.chartData.map(function(n){return n[r.columnConstants.measureUnit]})[0]))&&(c=nt.checkPercentMaxValue(i[1],u.props.settingsData.value),u.options.yAxis.max=c)}),u.getLineValue()==r.columnConstants.mean||u.getLineValue()==r.columnConstants.median)&&(b=u.getLineValue()==r.columnConstants.mean?"Medelvärde":u.getLineValue(),k={lineWidth:0,id:"meanMedian_2",showInLegend:!0,color:e&&u.props.isCompare?"#000":u.colors[0].mainColor,data:[],name:b,tooltip:{},marker:{symbol:"circle",fillColor:e&&u.props.isCompare?"#000":u.colors[0].mainColor}},u.options.series.push(k))}},u}gt(t,n);var i=ni(t);return dt(t,[{key:"render",value:function(){return this.setOptions(),v.createElement("div",{className:"chart-wrapper line-chart"},v.createElement(ct.default,{highcharts:o.default,options:this.options,containerProps:{id:"chartContainerLine"+ft.default("line")}}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(v.Component);t.LineChart=b;a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;a&&(a.register(l,"lineType","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\LineChart\\LineChart.tsx"),a.register(b,"LineChart","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\LineChart\\LineChart.tsx"));k="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;k&&k(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(176),u=i(840),f=i(841),e=i(178),o=i(842),s=i(843);n.exports=function(n,t,i){var b=-1,v=u,k=n.length,y=!0,a=[],h=a,p,c,l,w;if(i)y=!1,v=f;else if(k>=200){if(p=t?null:o(n),p)return s(p);y=!1;v=e;h=new r}else h=t?[]:a;n:for(;++b<k;)if(c=n[b],l=t?t(c):c,c=i||0!==c?c:0,y&&l==l){for(w=h.length;w--;)if(h[w]===l)continue n;t&&h.push(l);a.push(c)}else v(h,l,i)||(h!==a&&h.push(l),a.push(c));return a}},function(n,t,i){"use strict";(function(n){var r,f,e,o,s,u;Object.defineProperty(t,"__esModule",{value:!0});t.checkPercentMaxValue=void 0;e=(r=i(844))&&r.__esModule?r:{"default":r};(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;u=function(n,t){var r=void 0,i;return t&&(i=n.filter(function(n){var i=n[t].replace(",",".");if(!1===isNaN(i))return n}).map(function(n){return parseFloat(n[t].replace(",","."))}),i.length>0&&e.default(i)>40&&(r=100)),r};t.checkPercentMaxValue=u;(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(u,"checkPercentMaxValue","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\percentMaxValue.ts");(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(425);n.exports=function(n){return n&&n.length?r(n):[]}},function(n,t,i){"use strict";(function(n){function f(n,t,i){for(var r=0;r<n.length;r++)if(n[r][i]===t)return!0;return!1}var i,r,u;Object.defineProperty(t,"__esModule",{value:!0});t.contains=f;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&i(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&r.register(f,"contains","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\listContains.ts");(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n){return!n||"x"!==n.toLocaleLowerCase()}var i,r,u;Object.defineProperty(t,"__esModule",{value:!0});t.hasValue=f;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&i(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&r.register(f,"hasValue","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\hasValue.ts");(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.roundToSignificantDigits=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=function(n){return!!n&&(n>1?Math.round(n):n.toPrecision(1))};t.roundToSignificantDigits=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"roundToSignificantDigits","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\roundToSignificantDigits.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(39),u=i(118);n.exports=function(n,t,i){(void 0===i||u(n[t],i))&&(void 0!==i||t in n)||r(n,t,i)}},function(n){n.exports=function(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,h,c,f;Object.defineProperty(t,"__esModule",{value:!0});t.TableComponent=void 0;r=w(i(1));i(433);h=i(37);c=i(7);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},y=function(n){return n.keys.map(function(t,i){var f,u=h.replaceCommaWithDot(n.data[t]);return isNaN(u)||-1==u.toString().indexOf(".")||(u=parseFloat(u).toFixed(1)),"riket"===(null===(f=n.data[c.columnConstants.careUnit])||void 0===f?void 0:f.toLowerCase())?r.createElement("td",{key:i},r.createElement("strong",null,u.toString())):r.createElement("td",{key:i},u.toString())})},p=function(n){function t(n){var u;return b(this,t),(u=i.call(this,n)).renderTableHeader=function(){return u.props.tableHeader&&u.props.tableHeader.map(function(n,t){return r.createElement("th",{key:t},n)})},u.setTableCaption=function(n){if(n)switch(n){case"NHVRegionPage":return"Tillstånd i regionen";case"NHVPermissionPage":return"Regioner med detta tillstånd";case"NHVStartPage":return"Tillståndsområden"}else if(u.props.indicatorName)return u.props.indicatorName},u.renderRowData=function(){return u.props.tableType?u.props.tableRow&&u.props.tableRow.map(function(n,t){return n.PermissonDateFrom?r.createElement("tr",{key:t},n.name&&r.createElement("td",null,r.createElement("a",{href:n.Url},n.name)),n.Units&&r.createElement("td",null,n.Units),n.Patients&&r.createElement("td",null,n.Patients),n.PermissonDateFrom&&r.createElement("td",null,n.PermissonDateFrom)):null}):u.props.tableRow&&u.props.tableRow.map(function(n,t){return r.createElement("tr",{key:t},r.createElement(y,{key:t,data:n,keys:u.props.tableHeader}))})},u}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){var n=this.setTableCaption(this.props.tableType,this.props.indicatorName);return r.createElement(r.Fragment,null,r.createElement("table",{className:"table-wrapper"},r.createElement("caption",{className:"sr-only"},n),r.createElement("thead",null,r.createElement("tr",{className:"table-header"},this.renderTableHeader())),r.createElement("tbody",null,this.renderRowData())))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component),u,s;t.TableComponent=p;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(y,"RenderRow","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\TableComponent\\TableComponent.tsx"),u.register(p,"TableComponent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\TableComponent\\TableComponent.tsx"));s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;s&&s(n)}).call(this,i(0)(n))},function(n,t,i){var f=i(19),r=i(887),u=i(888),e=Math.max,o=Math.min;n.exports=function(n,t,i){function k(t){var i=c,r=l;return c=l=void 0,v=t,a=n.apply(r,i)}function it(n){return v=n,s=setTimeout(w,t),g?k(n):a}function nt(n){var i=n-h;return void 0===h||i>=t||i<0||p&&n-v>=y}function w(){var n=r();if(nt(n))return tt(n);s=setTimeout(w,function(n){var i=t-(n-h);return p?o(i,y-(n-v)):i}(n))}function tt(n){return s=void 0,b&&c?k(n):(c=l=void 0,a)}function d(){var n=r(),i=nt(n);if(c=arguments,l=this,h=n,i){if(void 0===s)return it(h);if(p)return clearTimeout(s),s=setTimeout(w,t),k(h)}return void 0===s&&(s=setTimeout(w,t)),a}var c,l,y,a,s,h,v=0,g=!1,p=!1,b=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return t=u(t)||0,f(i)&&(g=!!i.leading,y=(p="maxWait"in i)?e(u(i.maxWait)||0,t):y,b="trailing"in i?!!i.trailing:b),d.cancel=function(){void 0!==s&&clearTimeout(s);v=0;c=h=l=s=void 0},d.flush=function(){return void 0===s?a:tt(r())},d}},function(n,t,i){"use strict";function r(n){var t,i=n.Symbol;return"function"==typeof i?i.observable?t=i.observable:(t=i("observable"),i.observable=t):t="@@observable",t}i.d(t,"a",function(){return r})},function(n,t,i){"use strict";function e(n){return r.isMemo(n)?f:u[n.$$typeof]||h}var r=i(158),h={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};u[r.Memo]=f;var l=Object.defineProperty,a=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,s=Object.prototype;n.exports=function n(t,i,r){var h,f,u,k;if("string"!=typeof i){s&&(h=y(i),h&&h!==s&&n(t,h,r));f=a(i);o&&(f=f.concat(o(i)));for(var w=e(t),b=e(i),p=0;p<f.length;++p)if(u=f[p],!(c[u]||r&&r[u]||b&&b[u]||w&&w[u])){k=v(i,u);try{l(t,u,k)}catch(n){}}}return t}},function(n,t,i){var f=i(105),r=i(9),u=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(n.exports=function(n,t){return u[n]||(u[n]=void 0!==t?t:{})})("versions",[]).push({version:f.version,mode:i(106)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(n,t,i){var r=i(18)("iterator"),f=!1,u;try{u=[7][r]();u.return=function(){f=!0};Array.from(u,function(){throw 2;})}catch(n){}n.exports=function(n,t){var u,i,e;if(!t&&!f)return!1;u=!1;try{i=[7];e=i[r]();e.next=function(){return{done:u=!0}};i[r]=function(){return e};n(i)}catch(n){}return u}},function(n,t,i){var f=i(68),e=i(901),o=i(458),s=i(12),h=i(24),c=i(460),r={},u={};(t=n.exports=function(n,t,i,l,a){var d,y,w,v,b=a?function(){return n}:c(n),k=f(i,l,t?2:1),p=0;if("function"!=typeof b)throw TypeError(n+" is not iterable!");if(o(b)){for(d=h(n.length);d>p;p++)if((v=t?k(s(y=n[p])[0],y[1]):k(n[p]))===r||v===u)return v}else for(w=b.call(n);!(y=w.next()).done;)if((v=e(w,k,y.value,t))===r||v===u)return v}).BREAK=r;t.RETURN=u},function(n,t,i){"use strict";var e=i(9),r=i(2),o=i(54),s=i(165),h=i(108),c=i(440),l=i(166),f=i(11),u=i(17),a=i(439),v=i(163),y=i(466);n.exports=function(n,t,i,p,w,b){var tt=e[n],k=tt,g=w?"set":"add",d=k&&k.prototype,rt={},nt=function(n){var t=d[n];o(d,n,"delete"==n||"has"==n?function(n){return!(b&&!f(n))&&t.call(this,0===n?0:n)}:"get"==n?function(n){if(!b||f(n))return t.call(this,0===n?0:n)}:"add"==n?function(n){return t.call(this,0===n?0:n),this}:function(n,i){return t.call(this,0===n?0:n,i),this})};if("function"==typeof k&&(b||d.forEach&&!u(function(){(new k).entries().next()}))){var it=new k,ft=it[g](b?{}:-0,1)!=it,et=u(function(){it.has(1)}),ot=a(function(n){new k(n)}),ut=!b&&u(function(){for(var t=new k,n=5;n--;)t[g](n,n);return!t.has(-0)});ot||((k=t(function(t,i){l(t,k,n);var r=y(new tt,t,k);return null!=i&&c(i,w,r[g],r),r})).prototype=d,d.constructor=k);(et||ut)&&(nt("delete"),nt("has"),w&&nt("get"));(ut||ft)&&nt(g);b&&d.clear&&delete d.clear}else k=p.getConstructor(t,n,w,g),s(k.prototype,i),h.NEED=!0;return v(k,n),rt[n]=k,r(r.G+r.W+r.F*(k!=tt),rt),b||p.setStrong(k,n,w),k}},function(n,t){t.f=Object.getOwnPropertySymbols},function(n,t,i){"use strict";n.exports=i(106)||!i(17)(function(){var n=Math.random();__defineSetter__.call(null,n,function(){});delete i(9)[n]})},function(n,t,i){var r=i(9).navigator;n.exports=r&&r.userAgent||""},function(n,t,i){"use strict";var r=i(12);n.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(n,t,i){"use strict";var r=i(171),u=RegExp.prototype.exec;n.exports=function(n,t){var f=n.exec,i;if("function"==typeof f){if(i=f.call(n,t),"object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(n))throw new TypeError("RegExp#exec called on incompatible receiver");return u.call(n,t)}},function(n,t,i){"use strict";i(1025);var f=i(54),e=i(53),r=i(17),o=i(76),u=i(18),s=i(475),h=u("species"),c=!r(function(){var n=/./;return n.exec=function(){var n=[];return n.groups={a:"7"},n},"7"!=="".replace(n,"$<a>")}),l=function(){var t=/(?:)/,i=t.exec,n;return t.exec=function(){return i.apply(this,arguments)},n="ab".split(t),2===n.length&&"a"===n[0]&&"b"===n[1]}();n.exports=function(n,t,i){var a=u(n),v=!r(function(){var t={};return t[a]=function(){return 7},7!=""[n](t)}),w=v?!r(function(){var i=!1,t=/a/;return t.exec=function(){return i=!0,null},"split"===n&&(t.constructor={},t.constructor[h]=function(){return t}),t[a](""),!i}):void 0;if(!v||!w||"replace"===n&&!c||"split"===n&&!l){var b=/./[a],y=i(o,a,""[n],function(n,t,i,r,u){return t.exec===s?v&&!u?{done:!0,value:b.call(t,i,r)}:{done:!0,value:n.call(i,t,r)}:{done:!1}}),k=y[0],p=y[1];f(String.prototype,n,k);e(RegExp.prototype,a,2==t?function(n,t){return p.call(n,this,t)}:function(n){return p.call(n,this)})}}},function(n){"use strict";var t=Object.prototype.toString,i=t.call(function(){return arguments}());n.exports=function(n){return t.call(n)===i}},function(n){"use strict";var t=Object.prototype.toString,i=t.call("");n.exports=function(n){return"string"==typeof n||n&&"object"==typeof n&&(n instanceof String||t.call(n)===i)||!1}},function(n,t,i){"use strict";var u,s=i(479),h=i(480),c=i(73),l=i(72),r=i(79),a=i(1102),f=i(74),e=Object.defineProperty,o=Object.defineProperties;n.exports=u=function(n,t){if(!(this instanceof u))throw new TypeError("Constructor requires 'new'");o(this,{__list__:r("w",l(n)),__context__:r("w",t),__nextIndex__:r("w",0)});t&&(c(t.on),t.on("_add",this._onAdd),t.on("_delete",this._onDelete),t.on("_clear",this._onClear))};delete u.prototype.constructor;o(u.prototype,h({_next:r(function(){var n;if(this.__list__)return this.__redo__&&void 0!==(n=this.__redo__.shift())?n:this.__nextIndex__<this.__list__.length?this.__nextIndex__++:void this._unBind()}),next:r(function(){return this._createResult(this._next())}),_createResult:r(function(n){return void 0===n?{done:!0,value:void 0}:{done:!1,value:this._resolve(n)}}),_resolve:r(function(n){return this.__list__[n]}),_unBind:r(function(){this.__list__=null;delete this.__redo__;this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:r(function(){return"[object "+(this[f.toStringTag]||"Object")+"]"})},a({_onAdd:r(function(n){n>=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(t,i){t>=n&&(this.__redo__[i]=++t)},this),this.__redo__.push(n)):e(this,"__redo__",r("c",[n])))}),_onDelete:r(function(n){var t;n>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(t=this.__redo__.indexOf(n))&&this.__redo__.splice(t,1),this.__redo__.forEach(function(t,i){t>n&&(this.__redo__[i]=--t)},this)))}),_onClear:r(function(){this.__redo__&&s.call(this.__redo__);this.__nextIndex__=0})})));e(u.prototype,f.iterator,r(function(){return this}))},function(n){function h(){throw new Error("setTimeout has not been defined");}function c(){throw new Error("clearTimeout has not been defined");}function l(n){if(i===setTimeout)return setTimeout(n,0);if((i===h||!i)&&setTimeout)return i=setTimeout,setTimeout(n,0);try{return i(n,0)}catch(t){try{return i.call(null,n,0)}catch(t){return i.call(this,n,0)}}}function y(){o&&e&&(o=!1,e.length?u=e.concat(u):s=-1,u.length&&a())}function a(){var t,n;if(!o){for(t=l(y),o=!0,n=u.length;n;){for(e=u,u=[];++s<n;)e&&e[s].run();s=-1;n=u.length}e=null;o=!1,function(n){if(r===clearTimeout)return clearTimeout(n);if((r===c||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(n);try{r(n)}catch(t){try{return r.call(null,n)}catch(t){return r.call(this,n)}}}(t)}}function v(n,t){this.fun=n;this.array=t}function f(){}var i,r,t=n.exports={};!function(){try{i="function"==typeof setTimeout?setTimeout:h}catch(n){i=h}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(n){r=c}}();var e,u=[],o=!1,s=-1;t.nextTick=function(n){var i=new Array(arguments.length-1),t;if(arguments.length>1)for(t=1;t<arguments.length;t++)i[t-1]=arguments[t];u.push(new v(n,i));1!==u.length||o||l(a)};v.prototype.run=function(){this.fun.apply(null,this.array)};t.title="browser";t.browser=!0;t.env={};t.argv=[];t.version="";t.versions={};t.on=f;t.addListener=f;t.once=f;t.off=f;t.removeListener=f;t.removeAllListeners=f;t.emit=f;t.prependListener=f;t.prependOnceListener=f;t.listeners=function(){return[]};t.binding=function(){throw new Error("process.binding is not supported");};t.cwd=function(){return"/"};t.chdir=function(){throw new Error("process.chdir is not supported");};t.umask=function(){return 0}},function(){!function(n){"use strict";function u(n){if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(n))throw new TypeError("Invalid character in header field name");return n.toLowerCase()}function y(n){return"string"!=typeof n&&(n=String(n)),n}function o(n){var t={next:function(){var t=n.shift();return{done:void 0===t,value:t}}};return c&&(t[Symbol.iterator]=function(){return t}),t}function t(n){this.map={};n instanceof t?n.forEach(function(n,t){this.append(t,n)},this):Array.isArray(n)?n.forEach(function(n){this.append(n[0],n[1])},this):n&&Object.getOwnPropertyNames(n).forEach(function(t){this.append(t,n[t])},this)}function s(n){if(n.bodyUsed)return Promise.reject(new TypeError("Already read"));n.bodyUsed=!0}function p(n){return new Promise(function(t,i){n.onload=function(){t(n.result)};n.onerror=function(){i(n.error)}})}function nt(n){var t=new FileReader,i=p(t);return t.readAsArrayBuffer(n),i}function w(n){if(n.slice)return n.slice(0);var t=new Uint8Array(n.byteLength);return t.set(new Uint8Array(n)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(n){if(this._bodyInit=n,n)if("string"==typeof n)this._bodyText=n;else if(f&&Blob.prototype.isPrototypeOf(n))this._bodyBlob=n;else if(l&&FormData.prototype.isPrototypeOf(n))this._bodyFormData=n;else if(h&&URLSearchParams.prototype.isPrototypeOf(n))this._bodyText=n.toString();else if(e&&f&&d(n))this._bodyArrayBuffer=w(n.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!e||!ArrayBuffer.prototype.isPrototypeOf(n)&&!g(n))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=w(n)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof n?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):h&&URLSearchParams.prototype.isPrototypeOf(n)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},f&&(this.blob=function(){var n=s(this);if(n)return n;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(nt)}),this.text=function(){var n,t,i,r=s(this);if(r)return r;if(this._bodyBlob)return n=this._bodyBlob,i=p(t=new FileReader),t.readAsText(n),i;if(this._bodyArrayBuffer)return Promise.resolve(function(n){for(var i=new Uint8Array(n),r=new Array(i.length),t=0;t<i.length;t++)r[t]=String.fromCharCode(i[t]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},l&&(this.formData=function(){return this.text().then(tt)}),this.json=function(){return this.text().then(JSON.parse)},this}function r(n,i){var e,f,u=(i=i||{}).body;if(n instanceof r){if(n.bodyUsed)throw new TypeError("Already read");this.url=n.url;this.credentials=n.credentials;i.headers||(this.headers=new t(n.headers));this.method=n.method;this.mode=n.mode;u||null==n._bodyInit||(u=n._bodyInit,n.bodyUsed=!0)}else this.url=String(n);if(this.credentials=i.credentials||this.credentials||"omit",!i.headers&&this.headers||(this.headers=new t(i.headers)),this.method=(f=(e=i.method||this.method||"GET").toUpperCase(),a.indexOf(f)>-1?f:e),this.mode=i.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&u)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(u)}function tt(n){var t=new FormData;return n.trim().split("&").forEach(function(n){if(n){var i=n.split("="),r=i.shift().replace(/\+/g," "),u=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(u))}}),t}function i(n,i){i||(i={});this.type="default";this.status=void 0===i.status?200:i.status;this.ok=this.status>=200&&this.status<300;this.statusText="statusText"in i?i.statusText:"OK";this.headers=new t(i.headers);this.url=i.url||"";this._initBody(n)}var a,v;if(!n.fetch){var h="URLSearchParams"in n,c="Symbol"in n&&"iterator"in Symbol,f="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(n){return!1}}(),l="FormData"in n,e="ArrayBuffer"in n;if(e)var k=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=function(n){return n&&DataView.prototype.isPrototypeOf(n)},g=ArrayBuffer.isView||function(n){return n&&k.indexOf(Object.prototype.toString.call(n))>-1};t.prototype.append=function(n,t){n=u(n);t=y(t);var i=this.map[n];this.map[n]=i?i+","+t:t};t.prototype.delete=function(n){delete this.map[u(n)]};t.prototype.get=function(n){return n=u(n),this.has(n)?this.map[n]:null};t.prototype.has=function(n){return this.map.hasOwnProperty(u(n))};t.prototype.set=function(n,t){this.map[u(n)]=y(t)};t.prototype.forEach=function(n,t){for(var i in this.map)this.map.hasOwnProperty(i)&&n.call(t,this.map[i],i,this)};t.prototype.keys=function(){var n=[];return this.forEach(function(t,i){n.push(i)}),o(n)};t.prototype.values=function(){var n=[];return this.forEach(function(t){n.push(t)}),o(n)};t.prototype.entries=function(){var n=[];return this.forEach(function(t,i){n.push([i,t])}),o(n)};c&&(t.prototype[Symbol.iterator]=t.prototype.entries);a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];r.prototype.clone=function(){return new r(this,{body:this._bodyInit})};b.call(r.prototype);b.call(i.prototype);i.prototype.clone=function(){return new i(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new t(this.headers),url:this.url})};i.error=function(){var n=new i(null,{status:0,statusText:""});return n.type="error",n};v=[301,302,303,307,308];i.redirect=function(n,t){if(-1===v.indexOf(t))throw new RangeError("Invalid status code");return new i(null,{status:t,headers:{location:n}})};n.Headers=t;n.Request=r;n.Response=i;n.fetch=function(n,u){return new Promise(function(e,o){var h=new r(n,u),s=new XMLHttpRequest;s.onload=function(){var u,n,r={status:s.status,statusText:s.statusText,headers:(u=s.getAllResponseHeaders()||"",n=new t,u.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var i=t.split(":"),r=i.shift().trim(),u;r&&(u=i.join(":").trim(),n.append(r,u))}),n)},f;r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");f="response"in s?s.response:s.responseText;e(new i(f,r))};s.onerror=function(){o(new TypeError("Network request failed"))};s.ontimeout=function(){o(new TypeError("Network request failed"))};s.open(h.method,h.url,!0);"include"===h.credentials?s.withCredentials=!0:"omit"===h.credentials&&(s.withCredentials=!1);"responseType"in s&&f&&(s.responseType="blob");h.headers.forEach(function(n,t){s.setRequestHeader(t,n)});s.send(void 0===h._bodyInit?null:h._bodyInit)})};n.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=(r=i(662))&&r.__esModule?r:{"default":r};t.default=u.default;n.exports=t.default},function(n,t,i){var u=i(11),r=i(9).document,f=u(r)&&u(r.createElement);n.exports=function(n){return f?r.createElement(n):{}}},function(n,t,i){"use strict";var u=i(33),r=i(160),f=i(24);n.exports=function(n){for(var t=u(this),i=f(t.length),e=arguments.length,o=r(e>1?arguments[1]:void 0,i),s=e>2?arguments[2]:void 0,h=void 0===s?i:r(s,i);h>o;)t[o++]=n;return t}},function(n,t,i){var r=i(112);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==r(n)?n.split(""):Object(n)}},function(n,t,i){var r=i(112);n.exports=Array.isArray||function(n){return"Array"==r(n)}},function(n,t,i){var r=i(161),u=i(18)("iterator"),f=Array.prototype;n.exports=function(n){return void 0!==n&&(r.Array===n||f[u]===n)}},function(n,t,i){"use strict";var r=i(23),u=i(109);n.exports=function(n,t,i){t in n?r.f(n,t,u(0,i)):n[t]=i}},function(n,t,i){var r=i(171),u=i(18)("iterator"),f=i(161);n.exports=i(105).getIteratorMethod=function(n){if(null!=n)return n[u]||n["@@iterator"]||f[r(n)]}},function(n,t,i){var r=i(70),u=i(24),f=i(160);n.exports=function(n){return function(t,i,e){var c,s=r(t),h=u(s.length),o=f(e,h);if(n&&i!=i){for(;h>o;)if((c=s[o++])!=c)return!0}else for(;h>o;o++)if((n||o in s)&&s[o]===i)return n||o||0;return!n&&-1}}},function(n,t,i){"use strict";var r=i(111),u=i(902),f=i(161),e=i(70);n.exports=i(463)(Array,"Array",function(n,t){this._t=e(n);this._i=0;this._k=t},function(){var t=this._t,i=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,u(1)):u(0,"keys"==i?n:"values"==i?t[n]:[n,t[n]])},"values");f.Arguments=f.Array;r("keys");r("values");r("entries")},function(n,t,i){"use strict";var e=i(106),u=i(2),c=i(54),o=i(53),s=i(161),l=i(945),a=i(163),v=i(77),r=i(18)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};n.exports=function(n,t,i,y,p,w,b){l(i,t,y);var g,it,nt,rt=function(n){if(!f&&n in k)return k[n];switch(n){case"keys":case"values":return function(){return new i(this,n)}}return function(){return new i(this,n)}},et=t+" Iterator",ut="values"==p,ft=!1,k=n.prototype,tt=k[r]||k["@@iterator"]||p&&k[p],d=tt||rt(p),st=p?ut?rt("entries"):d:void 0,ot="Array"==t&&k.entries||tt;if(ot&&(nt=v(ot.call(new n)))!==Object.prototype&&nt.next&&(a(nt,et,!0),e||"function"==typeof nt[r]||o(nt,r,h)),ut&&tt&&"values"!==tt.name&&(ft=!0,d=function(){return tt.call(this)}),e&&!b||!f&&!ft&&k[r]||o(k,r,d),s[t]=d,s[et]=h,p)if(g={values:ut?d:rt("values"),keys:w?d:rt("keys"),entries:st},b)for(it in g)it in k||c(k,it,g[it]);else u(u.P+u.F*(f||ft),t,g);return g}},function(n,t,i){var r=i(438)("keys"),u=i(110);n.exports=function(n){return r[n]||(r[n]=u(n))}},function(n){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(n,t,i){var u=i(11),r=i(467).set;n.exports=function(n,t,i){var f,e=t.constructor;return e!==i&&"function"==typeof e&&(f=e.prototype)!==i.prototype&&u(f)&&r&&r(n,f),n}},function(n,t,i){var u=i(11),f=i(12),r=function(n,t){if(f(n),!u(t)&&null!==t)throw TypeError(t+": can't set as prototype!");};n.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(n,t,u){try{(u=i(68)(Function.call,i(56).f(Object.prototype,"__proto__").set,2))(n,[]);t=!(n instanceof Array)}catch(n){t=!0}return function(n,i){return r(n,i),t?n.__proto__=i:u(n,i),n}}({},!1):void 0),check:r}},function(n){n.exports=Math.sign||function(n){return 0==(n=+n)||n!=n?n:n<0?-1:1}},function(n){var t=Math.expm1;n.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(n){return 0==(n=+n)?n:n>-1e-6&&n<1e-6?n+n*n/2:Math.exp(n)-1}:t},function(n){n.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(n,t,i){var u,v,s,o=i(68),d=i(913),y=i(904),p=i(454),r=i(9),w=r.process,h=r.setImmediate,c=r.clearImmediate,b=r.MessageChannel,l=r.Dispatch,a=0,f={},e=function(){var n=+this,t;f.hasOwnProperty(n)&&(t=f[n],delete f[n],t())},k=function(n){e.call(n.data)};h&&c||(h=function(n){for(var t=[],i=1;arguments.length>i;)t.push(arguments[i++]);return f[++a]=function(){d("function"==typeof n?n:Function(n),t)},u(a),a},c=function(n){delete f[n]},"process"==i(112)(w)?u=function(n){w.nextTick(o(e,n,1))}:l&&l.now?u=function(n){l.now(o(e,n,1))}:b?(s=(v=new b).port2,v.port1.onmessage=k,u=o(s.postMessage,s,1)):r.addEventListener&&"function"==typeof postMessage&&!r.importScripts?(u=function(n){r.postMessage(n+"","*")},r.addEventListener("message",k,!1)):u="onreadystatechange"in p("script")?function(n){y.appendChild(p("script")).onreadystatechange=function(){y.removeChild(this);e.call(n)}}:function(n){setTimeout(o(e,n,1),0)});n.exports={set:h,clear:c}},function(n,t,i){var r=i(11),u=i(112),f=i(18)("match");n.exports=function(n){var t;return r(n)&&(void 0!==(t=n[f])?!!t:"RegExp"==u(n))}},function(n,t,i){"use strict";var r=i(474)(!0);n.exports=function(n,t,i){return t+(i?r(n,t).length:1)}},function(n,t,i){var r=i(107),u=i(76);n.exports=function(n){return function(t,i){var o,s,e=String(u(t)),f=r(i),h=e.length;return f<0||f>=h?n?"":void 0:(o=e.charCodeAt(f))<55296||o>56319||f+1===h||(s=e.charCodeAt(f+1))<56320||s>57343?n?e.charAt(f):o:n?e.slice(f,f+2):s-56320+(o-55296<<10)+65536}}},function(n,t,i){"use strict";var u,f,h=i(445),r=RegExp.prototype.exec,c=String.prototype.replace,s=r,e=(u=/a/,f=/b*/g,r.call(u,"a"),r.call(f,"a"),0!==u.lastIndex||0!==f.lastIndex),o=void 0!==/()??/.exec("")[1];(e||o)&&(s=function(n){var f,s,t,u,i=this;return o&&(s=new RegExp("^"+i.source+"$(?!\\s)",h.call(i))),e&&(f=i.lastIndex),t=r.call(i,n),e&&t&&(i.lastIndex=i.global?t.index+t[0].length:f),o&&t&&t.length>1&&c.call(t[0],s,function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(t[u]=void 0)}),t});n.exports=s},function(n,t,i){var r=i(472),u=i(76);n.exports=function(n,t,i){if(r(t))throw TypeError("String#"+i+" doesn't accept regex!");return String(u(n))}},function(n,t,i){var r=i(18)("match");n.exports=function(n){var t=/./;try{"/./"[n](t)}catch(i){try{return t[r]=!1,!"/./"[n](t)}catch(n){}}return!0}},function(n,t,i){for(var r,u=i(9),f=i(53),e=i(110),o=e("typed_array"),s=e("view"),h=!(!u.ArrayBuffer||!u.DataView),c=h,l=0,a="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=u[a[l++]])?(f(r.prototype,o,!0),f(r.prototype,s,!0)):c=!1;n.exports={ABV:h,CONSTR:c,TYPED:o,VIEW:s}},function(n,t,i){"use strict";var r=i(72);n.exports=function(){return r(this).length=0,this}},function(n,t,i){"use strict";n.exports=i(1087)()?Object.assign:i(1088)},function(n,t,i){"use strict";n.exports=i(1093)()?String.prototype.contains:i(1094)},function(n,t,i){"use strict";var r=i(1099);n.exports=function(n){if(!r(n))throw new TypeError(n+" is not iterable");return n}},function(n,t,i){(function(t){t.SOS||(t.SOS={});n.exports=t.SOS.Components=i(484)}).call(this,i(28))},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});Object.defineProperty(t,"AlphabetList",{enumerable:!0,get:function(){return f.AlphabetList}});Object.defineProperty(t,"FileInformation",{enumerable:!0,get:function(){return e.FileInformation}});Object.defineProperty(t,"Publication",{enumerable:!0,get:function(){return o.Publication}});Object.defineProperty(t,"PressListning",{enumerable:!0,get:function(){return s.PressListning}});Object.defineProperty(t,"CurrentPress",{enumerable:!0,get:function(){return h.CurrentPress}});Object.defineProperty(t,"PodList",{enumerable:!0,get:function(){return c.PodList}});Object.defineProperty(t,"SocialStyrelseSubmitAction",{enumerable:!0,get:function(){return l.SocialStyrelseSubmitAction}});Object.defineProperty(t,"SocialStyrelseSubmitButton",{enumerable:!0,get:function(){return a.SocialStyrelseSubmitButton}});Object.defineProperty(t,"Validator",{enumerable:!0,get:function(){return v.Validator}});Object.defineProperty(t,"SocialStyrelseWizardStepWrapper",{enumerable:!0,get:function(){return y.SocialStyrelseWizardStepWrapper}});Object.defineProperty(t,"PrintButton",{enumerable:!0,get:function(){return p.PrintButton}});Object.defineProperty(t,"CalendarFunction",{enumerable:!0,get:function(){return w.CalendarFunction}});Object.defineProperty(t,"CalculateIncomeSupport",{enumerable:!0,get:function(){return b.CalculateIncomeSupport}});Object.defineProperty(t,"Hero",{enumerable:!0,get:function(){return r.Hero}});Object.defineProperty(t,"SubWebHero",{enumerable:!0,get:function(){return r.SubWebHero}});Object.defineProperty(t,"BreadCrumbs",{enumerable:!0,get:function(){return r.BreadCrumbs}});Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return r.Notification}});Object.defineProperty(t,"TagList",{enumerable:!0,get:function(){return r.TagList}});Object.defineProperty(t,"Lazyloader",{enumerable:!0,get:function(){return r.Lazyloader}});Object.defineProperty(t,"ShareWidget",{enumerable:!0,get:function(){return r.ShareWidget}});Object.defineProperty(t,"Search",{enumerable:!0,get:function(){return r.Search}});Object.defineProperty(t,"CurrentEvent",{enumerable:!0,get:function(){return r.CurrentEvent}});Object.defineProperty(t,"CurrentCalendar",{enumerable:!0,get:function(){return r.CurrentCalendar}});Object.defineProperty(t,"ActualListening",{enumerable:!0,get:function(){return r.ActualListening}});Object.defineProperty(t,"SearchList",{enumerable:!0,get:function(){return r.SearchList}});Object.defineProperty(t,"MenuBreadCrumbs",{enumerable:!0,get:function(){return r.MenuBreadCrumbs}});Object.defineProperty(t,"SiteHeader",{enumerable:!0,get:function(){return r.SiteHeader}});Object.defineProperty(t,"TreeView",{enumerable:!0,get:function(){return r.TreeView}});Object.defineProperty(t,"DesktopLanguagePicker",{enumerable:!0,get:function(){return r.DesktopLanguagePicker}});Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return r.Icon}});Object.defineProperty(t,"CalendarPageList",{enumerable:!0,get:function(){return r.CalendarPageList}});Object.defineProperty(t,"CalendarArchiveList",{enumerable:!0,get:function(){return r.CalendarArchiveList}});Object.defineProperty(t,"MainMenu",{enumerable:!0,get:function(){return r.MainMenu}});Object.defineProperty(t,"VideoBlock",{enumerable:!0,get:function(){return r.VideoBlock}});Object.defineProperty(t,"CookieConsent",{enumerable:!0,get:function(){return r.CookieConsent}});Object.defineProperty(t,"ChapterList",{enumerable:!0,get:function(){return r.ChapterList}});Object.defineProperty(t,"ChapterSidebar",{enumerable:!0,get:function(){return r.ChapterSidebar}});Object.defineProperty(t,"Dialog",{enumerable:!0,get:function(){return r.Dialog}});Object.defineProperty(t,"ExpanderGroup",{enumerable:!0,get:function(){return r.ExpanderGroup}});Object.defineProperty(t,"Expander",{enumerable:!0,get:function(){return r.Expander}});Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return r.Tooltip}});Object.defineProperty(t,"LinkPuff",{enumerable:!0,get:function(){return r.LinkPuff}});Object.defineProperty(t,"ChartWrapper",{enumerable:!0,get:function(){return u.ChartWrapper}});Object.defineProperty(t,"PointCard",{enumerable:!0,get:function(){return u.PointCard}});Object.defineProperty(t,"ScrollToAnchor",{enumerable:!0,get:function(){return u.ScrollToAnchor}});Object.defineProperty(t,"TableComponent",{enumerable:!0,get:function(){return u.TableComponent}});Object.defineProperty(t,"NHVPageMenu",{enumerable:!0,get:function(){return u.NHVPageMenu}});Object.defineProperty(t,"PermissionTermsExpander",{enumerable:!0,get:function(){return u.PermissionTermsExpander}});i(485);i(488);var f=i(489),e=i(771),o=i(772),s=i(773),h=i(775),c=i(777),l=i(422),a=i(817),v=i(818),y=i(820),p=i(822),w=i(823),b=i(826),r=i(15),u=i(834);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";i(486);i(487);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){},function(){},function(){},function(n,t,i){"use strict";(function(n){function w(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return w=function(){return n},n}function b(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==c(n)&&"function"!=typeof n)return{"default":n};if(t=w(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function h(n){return n&&n.__esModule?n:{"default":n}}function c(n){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function et(n,t){return ct(n)||ht(n,t)||st(n,t)||ot()}function ot(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function st(n,t){if(n){if("string"==typeof n)return k(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?k(n,t):void 0}}function k(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function ht(n,t){var o,i;if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n)){var r=[],u=!0,f=!1,e=void 0;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{u||null==i.return||i.return()}finally{if(f)throw e;}}return r}}function ct(n){if(Array.isArray(n))return n}function lt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function d(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function at(n,t,i){return t&&d(n.prototype,t),i&&d(n,i),n}function vt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&g(n,t)}function g(n,t){return(g=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function yt(n){var t=bt();return function(){var i,r=l(n),u;return t?(u=l(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),pt(this,i)}}function pt(n,t){return!t||"object"!==c(t)&&"function"!=typeof t?wt(n):t}function wt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function bt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function l(n){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var kt,a,v,y;Object.defineProperty(t,"__esModule",{value:!0});t.AlphabetList=void 0;var nt=h(i(58)),f=h(i(517)),u=h(i(13)),r=b(i(1)),e=b(i(4));i(547);var p=i(8),o=i(200),tt=i(548),it=i(549),rt=i(550),ut=i(25),ft=i(15),s;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;s&&s(n);kt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};a=function(n){function t(n){var s;return lt(this,t),(s=i.call(this,n))._filtereContainer=null,s.stickyElementRef=r.createRef(),s.inputRef=r.createRef(),s.onLinkItemClicked=function(n){p.pushTagManagerEvent("search","Sök","Klick resultat",n.currentTarget.href)},s.searchSubmit=function(n){var t=0,i=u.default(s.alphabetGroups);i.forEach(function(i){i.AlphabetPages=i.AlphabetPages.filter(function(t){return t.Name.toLowerCase().indexOf(n.toLowerCase())>=0});t+=i.AlphabetPages.length});s.setState({AlphabetGroups:i,CurrentPagesCount:t})},s.letterClick=function(n){var u=s.state.AlphabetGroups,i,t,r;n.preventDefault();i=n.currentTarget.getAttribute("data-href");t=document.getElementById(i);null!==t&&(document.getElementsByTagName("html")[0].classList.contains("no-csspositionsticky")?e.smoothScrollTo(t):e.smoothScrollTo(t,s.stickyElementRef.current.offsetHeight),r=u.filter(function(n){return n.Letter===i})[0].AlphabetPages[0].Name,document.getElementById(e.getIdFriendlyName(r,"abcitem")).focus(),p.pushTagManagerEvent("search","Sök","Filter",t.innerText))},s.renderPages=function(n){return r.createElement("div",{className:"alphabetlist__item",key:n.Id},r.createElement("a",{onClick:s.onLinkItemClicked,id:e.getIdFriendlyName(n.Name,"abcitem"),href:n.Url},n.Name))},s.renderPageSection=function(n){return n.AlphabetPages.length>0&&r.createElement("div",{className:"alphabetlist__pagesection",key:n.Letter},r.createElement("h3",{id:n.Letter,className:"alphabetlist__sectionletter"},n.Letter),n.AlphabetPages.map(s.renderPages))},s.onTextChanged=function(n){n.preventDefault();var t=n.target.value.toLowerCase(),i=[];t.length>0&&(i=s.props.categoryFilter.filter(function(n){return-1!==n.Name.toLowerCase().indexOf(t.toString())}));s.setState({Suggestions:i,FilterIsOpen:!0})},s.checkItem=function(n,t){var r=u.default(s.state.ItemChecked),i;r[n.Id]=t.target.checked;i=u.default(s.state.NamesValues);i[n.Name]=t.target.checked;s.showValueInInput(r,i)},s.isItemChecked=function(n){return s.state.ItemChecked[n]},s.isArrowButton=function(n){if("alphabetlist__arrows-wrapper"==n.className||"alphabetlist__toggle-button"==n.className.animVal||"alphabetlist__toggle-button"==n.parentElement.classList[0]||"alphabetlist__arrows-wrapper focus-visible"==n.className)return!0},s.showCategoriesList=function(n){n.preventDefault();s.toggleFilterOpenState(n)},s.showValueInInput=function(n,t){var i=t||[],r={};i=Object.entries(i).map(function(n){var t=et(n,2),u=t[0],i=t[1];i&&(r[u]=i)});0==Object.values(n).filter(function(n){return!!n}).length&&(s.inputRef.current.value=null);s.setState({NamesValues:r,ItemChecked:n})},s.filterSubmit=function(){var n=[],t=s.state.ItemChecked,i=Object.keys(t).some(function(n){return t[n]});Object.keys(t).length>0&&i?(s.props.AlphabetPages.forEach(function(t){t.Categories.forEach(function(i){s.state.ItemChecked[i.Id]&&n.push(t)})}),s.filterAlphabetsGroups(n),s.setState({AlphabetGroups:s.alphabetGroups.slice(),CurrentPagesCount:n.length,FilterIsOpen:!1})):(s.alphabetGroups=o.alphabet.map(function(n){return{Letter:n,AlphabetPages:f.default(s.props.AlphabetPages.filter(function(t){return t.Letter.toUpperCase()===n}),[function(n){return n.Name.toLowerCase()}])}}),s.setState({AlphabetGroups:s.alphabetGroups,CurrentPagesCount:s.props.AlphabetPages.length}))},s.filterAlphabetsGroups=function(n){s.alphabetGroups=o.alphabet.map(function(t){return{Letter:t,AlphabetPages:f.default(n.filter(function(n){return n.Letter.toUpperCase()===t}),[function(n){return n.Name.toLowerCase()}])}})},s.cleanFilter=function(){var n=u.default(s.state.ItemChecked),t;n=nt.default(n,function(){return!1});t=u.default(s.state.NamesValues);s.alphabetGroups=o.alphabet.map(function(n){return{Letter:n,AlphabetPages:f.default(s.props.AlphabetPages.filter(function(t){return t.Letter.toUpperCase()===n}),[function(n){return n.Name.toLowerCase()}])}});t={};s.inputRef.current.value=null;s.setState({ItemChecked:n,NamesValues:t,AlphabetGroups:s.alphabetGroups,CurrentPagesCount:s.props.AlphabetPages.length})},s.distinctAlphabetPageLetters=s.props.AlphabetPages.map(function(n){return n.Letter}).filter(function(n,t,i){return i.indexOf(n)==t}),s.distinctAlphabetPageLetters.sort(),s.alphabetGroups=o.alphabet.map(function(n){return{Letter:n,AlphabetPages:f.default(s.props.AlphabetPages.filter(function(t){return t.Letter.toUpperCase()===n}),[function(n){return n.Name.toLowerCase()}])}}),s.state={AlphabetGroups:s.alphabetGroups,CurrentPagesCount:s.props.AlphabetPages.length,Suggestions:s.props.categoryFilter,UnFilteredAlphabetGroups:s.alphabetGroups,CheckedKeys:[],ItemChecked:{},FilterIsOpen:!1,NamesValues:{}},s}vt(t,n);var i=yt(t);return at(t,[{key:"isInFilterList",value:function(n){return n!==document.body&&this._filtereContainer.contains(n)}},{key:"toggleFilterOpenState",value:function(n){n.preventDefault();this.setState(function(n){return{FilterIsOpen:!n.FilterIsOpen}})}},{key:"componentDidMount",value:function(){var n=this;document.addEventListener("click",function(t){!n.state.FilterIsOpen||n.isInFilterList(t.target)||n.isArrowButton(t.target)||n.toggleFilterOpenState(t)});document.addEventListener("keyup",function(t){n.state.FilterIsOpen&&t.key===ut.KeyboardEventKeys.esc&&!n.isArrowButton(t.target)&&n.toggleFilterOpenState(t)})}},{key:"renderSuggestions",value:function(){var n=this;return r.createElement("div",{id:"expandable",role:"Specialiteter",ref:function(t){return n._filtereContainer=t},className:this.state.FilterIsOpen?"col-xs-12 col-lg-8 alphabetlist__filter-open":"alphabetlist__filter-list-wrapper"},null!=this.state.Suggestions&&this.state.Suggestions.length>0&&r.createElement("div",null,r.createElement("div",{className:"alphabetlist__filter-list drop-shadow-low-elevation"},r.createElement("ol",{className:"drop-shadow-low-elevation"},this.state.Suggestions.map(function(t,i){return r.createElement("li",{key:i,className:"checkbox form-group"},r.createElement("input",{type:"checkbox",id:t.Id.toString(),checked:n.isItemChecked(t.Id)||!1,value:t.Id,name:t.Name,onChange:function(i){return n.checkItem(t,i)}}),r.createElement("label",{className:"alphabetlist__label",htmlFor:t.Id.toString()},t.Name))}))),r.createElement("div",{className:"alphabetlist__search-button-wrapper drop-shadow-low-elevation"},r.createElement("button",{type:"button",className:"button button--blue alphabetlist__search-button",onClick:this.filterSubmit},"Sök"))),0===(this.state.Suggestions||[]).length&&null!=this.inputRef.current&&""!==this.inputRef.current.value&&r.createElement("div",{className:"alphabetlist__filter-list"},r.createElement("span",{className:"alphabetlist__no-results"},'Inga träffar för "',this.inputRef.current.value,'"')))}},{key:"render",value:function(){var i=this.props.searchId,t=this.state.AlphabetGroups,n=Object.keys(this.state.NamesValues),u=n.toString().length>32?"...":"",f=this.state.FilterIsOpen?"Stäng specialiteter":"Öppna specialiteter";return r.createElement("article",{className:"alphabetlist"},r.createElement("div",{ref:this.stickyElementRef,className:"sticky-top alphabetlist__sticky"},r.createElement(it.AlphabetSearch,{searchId:i,formStateCallback:this.searchSubmit,listningsHeading:this.props.ListningsHeading,searchPlaceholder:this.props.SearchPlaceholder}),null!=this.props.categoryFilter&&this.props.categoryFilter.length>0&&r.createElement("div",{className:"alphabetlist__filter-wrapper"},r.createElement("div",{className:"alphabetlist__filter-wrapper-content"},r.createElement("div",{className:"col-lg-12 alphabetlist__filter-element"},r.createElement("div",{className:"alphabetlist__choosen-filter-wrapper"},r.createElement("input",{type:"search",className:"alphabetlist__spec",onChange:this.onTextChanged,ref:this.inputRef,"aria-label":"Sök bland specialiteter",placeholder:"Välj specialitet",value:n.length>0?"".concat(n.toString().substring(0,35))+"".concat(u):null!=this.inputRef.current?this.inputRef.current.value:""}),n.length>0&&r.createElement("div",{className:"alphabetlist__choosen-filter"},n.length," valda")),r.createElement("button",{"aria-label":f,"aria-controls":"expandable",className:"alphabetlist__arrows-wrapper",role:"button","aria-expanded":this.state.FilterIsOpen,onClick:this.showCategoriesList},r.createElement(ft.Icon,{className:"alphabetlist__toggle-button",iconType:"fontawesome/sort"}))),this.renderSuggestions()),Object.values(this.state.ItemChecked).filter(function(n){return!!n}).length>0&&r.createElement("div",{className:"col-xs-2 col-sm-3 col-md-4 alphabetlist__clean-items-wrapper"},r.createElement("button",{type:"button",className:"alphabetlist__clean-items",onClick:this.cleanFilter},"Rensa filter"))),r.createElement(tt.AlphabetLetters,{onLetterClick:this.letterClick,AlphabetGroups:t})),r.createElement("h2",null,this.props.ListningsHeading),r.createElement("div",{className:"alphabetlist__itemcount"},"Visar ",this.state.CurrentPagesCount," av ",this.props.AlphabetPages.length),r.createElement(rt.AlphabetGroup,{AlphabetGroups:t}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.AlphabetList=a;v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;v&&v.register(a,"AlphabetList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\AlphabetList\\AlphabetList.tsx");y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;y&&y(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(491),u=function(){try{var n=r(Object,"defineProperty");return n({},"",{}),n}catch(n){}}();n.exports=u},function(n){n.exports=function(n,t){if(null!=n)return n[t]}},function(n){n.exports=function(n){return function(t,i,r){for(var u,s=-1,f=Object(t),e=r(t),o=e.length;o--;)if(u=e[n?o:++s],!1===i(f[u],u,f))break;return t}}},function(n,t,i){var r=i(494),u=i(504),f=i(184);n.exports=function(n){var t=u(n);return 1==t.length&&t[0][2]?f(t[0][0],t[0][1]):function(i){return i===n||r(i,n,t)}}},function(n,t,i){var r=i(80),u=i(119);n.exports=function(n,t,i,f){var o=i.length,a=o,v=!f,e,c,l;if(null==n)return!a;for(n=Object(n);o--;)if(e=i[o],v&&e[2]?e[1]!==n[e[0]]:!(e[0]in n))return!1;for(;++o<a;){var s=(e=i[o])[0],h=n[s],y=e[1];if(v&&e[2]){if(void 0===h&&!(s in n))return!1}else if(c=new r,f&&(l=f(h,y,s,n,t,c)),!(void 0===l?u(y,h,3,f,c):l))return!1}return!0}},function(n){n.exports=function(){this.__data__=[];this.size=0}},function(n,t,i){var r=i(81),u=Array.prototype.splice;n.exports=function(n){var t=this.__data__,i=r(t,n);return!(i<0||(i==t.length-1?t.pop():u.call(t,i,1),--this.size,0))}},function(n,t,i){var r=i(81);n.exports=function(n){var t=this.__data__,i=r(t,n);if(!(i<0))return t[i][1]}},function(n,t,i){var r=i(81);n.exports=function(n){return r(this.__data__,n)>-1}},function(n,t,i){var r=i(81);n.exports=function(n,t){var i=this.__data__,u=r(i,n);return u<0?(++this.size,i.push([n,t])):i[u][1]=t,this}},function(n,t,i){var u=i(80),h=i(501),c=i(502),l=i(503),f=i(181),e=i(10),o=i(120),a=i(182),r="[object Object]",s=Object.prototype.hasOwnProperty;n.exports=function(n,t,i,v,y,p){var k=e(n),ut=e(t),w=k?"[object Array]":f(n),b=ut?"[object Array]":f(t),d=(w="[object Arguments]"==w?r:w)==r,ft=(b="[object Arguments]"==b?r:b)==r,g=w==b,nt,tt,it,rt;if(g&&o(n)){if(!o(t))return!1;k=!0;d=!1}return g&&!d?(p||(p=new u),k||a(n)?h(n,t,i,v,y,p):c(n,t,w,i,v,y,p)):!(1&i)&&(nt=d&&s.call(n,"__wrapped__"),tt=ft&&s.call(t,"__wrapped__"),nt||tt)?(it=nt?n.value():n,rt=tt?t.value():t,p||(p=new u),y(it,rt,i,v,p)):!!g&&(p||(p=new u),l(n,t,i,v,y,p))}},function(n,t,i){var r=i(176),u=i(177),f=i(178);n.exports=function(n,t,i,e,o,s){var b=1&i,v=n.length,k=t.length,y,h,l,w;if(v!=k&&!(b&&k>v))return!1;if(y=s.get(n),y&&s.get(t))return y==t;var c=-1,a=!0,p=2&i?new r:void 0;for(s.set(n,t),s.set(t,n);++c<v;){if(h=n[c],l=t[c],e&&(w=b?e(l,h,c,t,n,s):e(h,l,c,n,t,s)),void 0!==w){if(w)continue;a=!1;break}if(p){if(!u(t,function(n,t){if(!f(p,t)&&(h===n||o(h,n,i,e,s)))return p.push(t)})){a=!1;break}}else if(h!==l&&!o(h,l,i,e,s)){a=!1;break}}return s.delete(n),s.delete(t),a}},function(n){n.exports=function(n,t){return n===t||n!=n&&t!=t}},function(n,t,i){var r=i(180),u=Object.prototype.hasOwnProperty;n.exports=function(n,t,i,f,e,o){var p=1&i,b=r(n),k=b.length,h,s,d,c,w,l,a,g,v,y;if(k!=r(t).length&&!p)return!1;for(h=k;h--;)if(s=b[h],!(p?s in t:u.call(t,s)))return!1;if(d=o.get(n),d&&o.get(t))return d==t;for(c=!0,o.set(n,t),o.set(t,n),w=p;++h<k;){if(l=n[s=b[h]],a=t[s],f&&(g=p?f(a,l,s,t,n,o):f(l,a,s,n,t,o)),!(void 0===g?l===a||e(l,a,i,f,o):g)){c=!1;break}w||(w="constructor"==s)}return c&&!w&&(v=n.constructor,y=t.constructor,v==y||!("constructor"in n)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(c=!1)),o.delete(n),o.delete(t),c}},function(n,t,i){var r=i(183),u=i(40);n.exports=function(n){for(var f,e,t=u(n),i=t.length;i--;)f=t[i],e=n[f],t[i]=[f,e,r(e)];return t}},function(n,t,i){var r=i(119),u=i(82),f=i(511),e=i(123),o=i(183),s=i(184),h=i(42);n.exports=function(n,t){return e(n)&&o(t)?s(h(n),t):function(i){var e=u(i,n);return void 0===e&&e===t?f(i,n):r(t,e,3)}}},function(n,t,i){var r=i(507),u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,e=r(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(u,function(n,i,r,u){t.push(r?u.replace(f,"$1"):i||n)}),t});n.exports=e},function(n){n.exports=function(n){return n}},function(n,t,i){var r=i(509),e=i(84),o=i(10),s=i(41),u=r?r.prototype:void 0,f=u?u.toString:void 0;n.exports=function n(t){if("string"==typeof t)return t;if(o(t))return e(t,n)+"";if(s(t))return f?f.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i}},function(n,t,i){var r=i(83).Symbol;n.exports=r},function(n,t,i){(function(t){var i="object"==typeof t&&t&&t.Object===Object&&t;n.exports=i}).call(this,i(28))},function(n,t,i){var r=i(512),u=i(513);n.exports=function(n,t){return null!=n&&u(n,t,r)}},function(n){n.exports=function(n,t){return null!=n&&t in Object(n)}},function(n,t,i){var r=i(59),u=i(185),f=i(10),e=i(186),o=i(187),s=i(42);n.exports=function(n,t,i){for(var c,l=-1,h=(t=r(t,n)).length,a=!1;++l<h;){if(c=s(t[l]),!(a=null!=n&&i(n,c)))break;n=n[c]}return a||++l!=h?a:!!(h=null==n?0:n.length)&&o(h)&&e(c,h)&&(f(n)||u(n))}},function(n,t,i){var r=i(515),u=i(516),f=i(123),e=i(42);n.exports=function(n){return f(n)?r(e(n)):u(n)}},function(n){n.exports=function(n){return function(t){if(null!=t)return t[n]}}},function(n,t,i){var r=i(122);n.exports=function(n){return function(t){return r(t,n)}}},function(n,t,i){var u=i(518),f=i(188),e=i(192),r=i(86),o=e(function(n,t){if(null==n)return[];var i=t.length;return i>1&&r(n,t[0],t[1])?t=[]:i>2&&r(t[0],t[1],t[2])&&(t=[t[0]]),f(n,u(t,1),[])});n.exports=o},function(n){n.exports=function(n){if(n&&n.length)return n[0]}},function(n,t,i){var r=i(125);n.exports=function(n,t){return function(i,u){if(null==i)return i;if(!r(i))return n(i,u);for(var e=i.length,f=t?e:-1,o=Object(i);(t?f--:++f<e)&&!1!==u(o[f],f,o););return i}}},function(n){n.exports=function(n,t){var i=n.length;for(n.sort(t);i--;)n[i]=n[i].value;return n}},function(n){n.exports=function(n){return function(t){return n(t)}}},function(n,t,i){var r=i(523);n.exports=function(n,t,i){for(var f,u=-1,e=n.criteria,o=t.criteria,s=e.length,h=i.length;++u<s;)if(f=r(e[u],o[u]),f)return u>=h?f:f*("desc"==i[u]?-1:1);return n.index-t.index}},function(n,t,i){var r=i(41);n.exports=function(n,t){if(n!==t){var o=void 0!==n,s=null===n,i=n==n,u=r(n),h=void 0!==t,c=null===t,f=t==t,e=r(t);if(!c&&!e&&!u&&n>t||u&&h&&f&&!c&&!e||s&&h&&f||!o&&f||!i)return 1;if(!s&&!u&&!e&&n<t||e&&o&&i&&!s&&!u||c&&o&&i||!h&&i||!f)return-1}return 0}},function(n,t,i){var u=i(525),r=Math.max;n.exports=function(n,t,i){return t=r(void 0===t?n.length-1:t,0),function(){for(var e,o=arguments,f=-1,s=r(o.length-t,0),h=Array(s);++f<s;)h[f]=o[t+f];for(f=-1,e=Array(t+1);++f<t;)e[f]=o[f];return e[t]=i(h),u(n,this,e)}}},function(n){n.exports=function(n,t,i){switch(i.length){case 0:return n.call(t);case 1:return n.call(t,i[0]);case 2:return n.call(t,i[0],i[1]);case 3:return n.call(t,i[0],i[1],i[2])}return n.apply(t,i)}},function(n){n.exports=function(n){return n}},function(n,t,i){var r=i(34),u=i(40);n.exports=function(n,t){return n&&r(t,u(t),n)}},function(n,t,i){var r=i(34),u=i(87);n.exports=function(n,t){return n&&r(t,u(t),n)}},function(n,t,i){var r=i(34),u=i(530);n.exports=function(n,t){return r(n,u(n),t)}},function(n){n.exports=function(){return[]}},function(n,t,i){var r=i(34),u=i(532);n.exports=function(n,t){return r(n,u(n),t)}},function(n){n.exports=function(){return[]}},function(n){var t=Object.prototype.hasOwnProperty;n.exports=function(n){var r=n.length,i=new n.constructor(r);return r&&"string"==typeof n[0]&&t.call(n,"index")&&(i.index=n.index,i.input=n.input),i}},function(n){n.exports=function(n){return n}},function(n,t,i){var u=i(19),r=Object.create,f=function(){function n(){}return function(t){if(!u(t))return{};if(r)return r(t);n.prototype=t;var i=new n;return n.prototype=void 0,i}}();n.exports=f},function(n){n.exports=function(){return!1}},function(n){n.exports=function(){return!1}},function(n){n.exports=function(){return!1}},function(n,t,i){"use strict";n.exports=i(540)},function(n,t,i){"use strict";function o(n){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+n,t=1;t<arguments.length;t++)i+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(n,t,i){this.props=n;this.context=t;this.refs=v;this.updater=i||a}function it(){}function y(n,t,i){this.props=n;this.context=t;this.refs=v;this.updater=i||a}function et(n,t,i){var r,f={},h=null,c=null,u,s,o;if(null!=t)for(r in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(h=""+t.key),t)ut.call(t,r)&&!ft.hasOwnProperty(r)&&(f[r]=t[r]);if(u=arguments.length-2,1===u)f.children=i;else if(1<u){for(s=Array(u),o=0;o<u;o++)s[o]=arguments[o+2];f.children=s}if(n&&n.defaultProps)for(r in u=n.defaultProps)void 0===f[r]&&(f[r]=u[r]);return{$$typeof:e,type:n,key:h,ref:c,props:f,_owner:p.current}}function w(n){return"object"==typeof n&&null!==n&&n.$$typeof===e}function ot(n,t,i,r){if(s.length){var u=s.pop();return u.result=n,u.keyPrefix=t,u.func=i,u.context=r,u.count=0,u}return{result:n,keyPrefix:t,func:i,context:r,count:0}}function st(n){n.result=null;n.keyPrefix=null;n.func=null;n.context=null;n.count=0;10>s.length&&s.push(n)}function k(n,t,i){return null==n?0:function n(t,i,r,u){var f=typeof t,s,h,c;if("undefined"!==f&&"boolean"!==f||(t=null),s=!1,null===t)s=!0;else switch(f){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case e:case at:s=!0}}if(s)return r(u,t,""===i?"."+d(t,0):i),1;if(s=0,i=""===i?".":i+":",Array.isArray(t))for(h=0;h<t.length;h++)c=i+d(f=t[h],h),s+=n(f,c,r,u);else if("function"==typeof(c=null===t||"object"!=typeof t?null:"function"==typeof(c=l&&t[l]||t["@@iterator"])?c:null))for(t=c.call(t),h=0;!(f=t.next()).done;)s+=n(f=f.value,c=i+d(f,h++),r,u);else if("object"===f)throw r=""+t,Error(o(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return s}(n,"",t,i)}function d(n,t){return"object"==typeof n&&null!==n&&null!=n.key?function(n){var t={"=":"=0",":":"=2"};return"$"+(""+n).replace(/[=:]/g,function(n){return t[n]})}(n.key):t.toString(36)}function gt(n,t){n.func.call(n.context,t,n.count++)}function ni(n,t,i){var r=n.result,u=n.keyPrefix;n=n.func.call(n.context,t,n.count++);Array.isArray(n)?g(n,r,i,function(n){return n}):null!=n&&(w(n)&&(n=function(n,t){return{$$typeof:e,type:n.type,key:t,ref:n.ref,props:n.props,_owner:n._owner}}(n,u+(!n.key||t&&t.key===n.key?"":(""+n.key).replace(b,"$&/")+"/")+i)),r.push(n))}function g(n,t,i,r,u){var f="";null!=i&&(f=(""+i).replace(b,"$&/")+"/");k(n,ni,t=ot(t,f,r,u));st(t)}function u(){var n=rt.current;if(null===n)throw Error(o(321));return n}var c=i(169),r="function"==typeof Symbol&&Symbol.for,e=r?Symbol.for("react.element"):60103,at=r?Symbol.for("react.portal"):60106,vt=r?Symbol.for("react.fragment"):60107,yt=r?Symbol.for("react.strict_mode"):60108,pt=r?Symbol.for("react.profiler"):60114,wt=r?Symbol.for("react.provider"):60109,bt=r?Symbol.for("react.context"):60110,kt=r?Symbol.for("react.forward_ref"):60112,dt=r?Symbol.for("react.suspense"):60113,nt,tt,l,a,v,h,b,s;r&&Symbol.for("react.suspense_list");nt=r?Symbol.for("react.memo"):60115;tt=r?Symbol.for("react.lazy"):60116;r&&Symbol.for("react.fundamental");r&&Symbol.for("react.responder");r&&Symbol.for("react.scope");l="function"==typeof Symbol&&Symbol.iterator;a={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};v={};f.prototype.isReactComponent={};f.prototype.setState=function(n,t){if("object"!=typeof n&&"function"!=typeof n&&null!=n)throw Error(o(85));this.updater.enqueueSetState(this,n,t,"setState")};f.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};it.prototype=f.prototype;h=y.prototype=new it;h.constructor=y;c(h,f.prototype);h.isPureReactComponent=!0;var rt={current:null},p={current:null},ut=Object.prototype.hasOwnProperty,ft={key:!0,ref:!0,__self:!0,__source:!0};b=/\/+/g;s=[];var ht={Children:{map:function(n,t,i){if(null==n)return n;var r=[];return g(n,r,null,t,i),r},forEach:function(n,t,i){if(null==n)return n;k(n,gt,t=ot(null,null,t,i));st(t)},count:function(n){return k(n,function(){return null},null)},toArray:function(n){var t=[];return g(n,t,null,function(n){return n}),t},only:function(n){if(!w(n))throw Error(o(143));return n}},createRef:function(){return{current:null}},Component:f,PureComponent:y,createContext:function(n,t){return void 0===t&&(t=null),(n={$$typeof:bt,_calculateChangedBits:t,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:wt,_context:n},n.Consumer=n},forwardRef:function(n){return{$$typeof:kt,render:n}},lazy:function(n){return{$$typeof:tt,_ctor:n,_status:-1,_result:null}},memo:function(n,t){return{$$typeof:nt,type:n,compare:void 0===t?null:t}},useCallback:function(n,t){return u().useCallback(n,t)},useContext:function(n,t){return u().useContext(n,t)},useEffect:function(n,t){return u().useEffect(n,t)},useImperativeHandle:function(n,t,i){return u().useImperativeHandle(n,t,i)},useDebugValue:function(){},useLayoutEffect:function(n,t){return u().useLayoutEffect(n,t)},useMemo:function(n,t){return u().useMemo(n,t)},useReducer:function(n,t,i){return u().useReducer(n,t,i)},useRef:function(n){return u().useRef(n)},useState:function(n){return u().useState(n)},Fragment:vt,Profiler:pt,StrictMode:yt,Suspense:dt,createElement:et,cloneElement:function(n,t,i){var u,r,f;if(null==n)throw Error(o(267,n));var s=c({},n.props),h=n.key,l=n.ref,a=n._owner;if(null!=t){(void 0!==t.ref&&(l=t.ref,a=p.current),void 0!==t.key&&(h=""+t.key),n.type&&n.type.defaultProps)&&(u=n.type.defaultProps);for(r in t)ut.call(t,r)&&!ft.hasOwnProperty(r)&&(s[r]=void 0===t[r]&&void 0!==u?u[r]:t[r])}if(r=arguments.length-2,1===r)s.children=i;else if(1<r){for(u=Array(r),f=0;f<r;f++)u[f]=arguments[f+2];s.children=u}return{$$typeof:e,type:n.type,key:h,ref:l,props:s,_owner:a}},createFactory:function(n){var t=et.bind(null,n);return t.type=n,t},isValidElement:w,version:"16.12.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:rt,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:p,IsSomeRendererActing:{current:!1},assign:c}},ct={"default":ht},lt=ct&&ht||ct;n.exports=lt.default||lt},function(n,t,i){"use strict";(function(n){function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n){return n.isInEditMode?s.createElement(n.wrappingElement,{"data-epi-property-name":n.propertyName,"data-epi-use-mvc":"True"},n.property):n.property}Object.defineProperty(t,"__esModule",{value:!0});t.renderEditableEpiProperty=o;var u,f,e,s=function(n){var t,i,e,u,f;if(n&&n.__esModule)return n;if(null===n||"object"!==r(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(u in n)Object.prototype.hasOwnProperty.call(n,u)&&(f=e?Object.getOwnPropertyDescriptor(n,u):null,f&&(f.get||f.set)?Object.defineProperty(i,u,f):i[u]=n[u]);return i.default=n,t&&t.set(n,i),i}(i(1));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&u(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&f.register(o,"renderEditableEpiProperty","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\render-editable-epi-property.ts");(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&e(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n){var t=n||"id__";return void 0===i.__currentId__[t]&&(i.__currentId__[t]=0),t+i.__currentId__[t]++}var u,r,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.getId=e;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&u(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i={};void 0===i.__currentId__&&(i.__currentId__={});(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register("__currentId__","CURRENT_ID_PROPERTY","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\getId.ts"),r.register("id__","DEFAULT_ID_STRING","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\getId.ts"),r.register(i,"_global","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\getId.ts"),r.register(e,"getId","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\getId.ts"));(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=0;if(0===n.length)return r+o.shortuid();for(i=0;i<n.length;i++)t=(t<<5)-t+n.charCodeAt(i),t|=0;return r+t}Object.defineProperty(t,"__esModule",{value:!0});t.hashCode=e;var r,u,f,o=i(43);(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(e,"hashCode","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\hash.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function i(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=.2*(n.getBoundingClientRect().top-r);document.body.scrollTop+=t;document.documentElement.scrollTop+=t;!n.lastjump||n.lastjump>Math.abs(t)?(n.lastjump=Math.abs(t),setTimeout(function(){i(n,r)},20)):n.lastjump=null}var r,u,f;Object.defineProperty(t,"__esModule",{value:!0});t.smoothScrollTo=i;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"smoothScrollTo","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\smooth-scroll-to.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n,t,i){var r=i.value,u=!1;return{configurable:!0,get:function(){if(u||r&&this===r.prototype||this.hasOwnProperty(t))return r;var n=r&&r.bind(this);return u=!0,Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:!0,value:n}),u=!1,n},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:!0,value:n})}}}var i,r,u;Object.defineProperty(t,"__esModule",{value:!0});t.autobind=f;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&i(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&r.register(f,"autobind","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\autobind.ts");(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(){return"undefined"==typeof window}function e(){return!1}var r,i,u;Object.defineProperty(t,"__esModule",{value:!0});t.isServerSide=f;t.isDev=e;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(f,"isServerSide","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\envCheck.ts"),i.register(e,"isDev","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\envCheck.ts"));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.AlphabetLetters=void 0;r=y(i(1));c=i(200);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return p(this,t),(u=i.call(this,n)).renderAlphabet=function(n){var t=u.props,f=t.onLetterClick,i=0===t.AlphabetGroups.find(function(t){return t.Letter===n}).AlphabetPages.length;return r.createElement("li",{key:"letter-".concat(n),"data-disabled":i},r.createElement("a",{onClick:f,href:"#".concat("#"===n?"%23":n),"data-href":n,"data-disabled":i},n))},u}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return r.createElement("nav",{"aria-label":"Snabblänkar enligt alfabetisk kategorisering"},r.createElement("ol",{className:"alphabetlist__letters"},c.alphabet.map(this.renderAlphabet)))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.AlphabetLetters=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"AlphabetLetters","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\AlphabetList\\AlphabetLetters.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.AlphabetSearch=void 0;r=y(i(1));c=i(8);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return p(this,t),(u=i.call(this,n))._searchFieldRef=r.createRef(),u.onChangeAndOnSubmitSearch=function(n){n.preventDefault();""===u._previousSearchValue&&c.pushTagManagerEvent("search","Sök","Sökfält","(not set)");u.props.formStateCallback(u._searchFieldRef.current.value)},u._previousSearchValue="",u}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return r.createElement("form",{onSubmit:this.onChangeAndOnSubmitSearch,role:"search","aria-label":"Sök inom ".concat(this.props.listningsHeading)},r.createElement("span",{className:"search"},r.createElement("label",{htmlFor:this.props.searchId,className:"sr-only"},"Ange söktext"),r.createElement("input",{id:this.props.searchId,onChange:this.onChangeAndOnSubmitSearch,type:"search",ref:this._searchFieldRef,placeholder:this.props.searchPlaceholder}),r.createElement("input",{"aria-label":"Sök",className:"search__button",type:"submit",value:""})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.AlphabetSearch=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"AlphabetSearch","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\AlphabetList\\AlphabetSearch.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.AlphabetGroup=void 0;var r=p(i(1)),v=i(4),y=i(8),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return w(this,t),(u=i.call(this,n)).renderPageSection=function(n){return n.AlphabetPages.length>0&&r.createElement("div",{className:"alphabetlist__pagesection",key:n.Letter},r.createElement("h3",{id:n.Letter,className:"alphabetlist__sectionletter"},n.Letter),n.AlphabetPages.map(u.renderPages))},u.onLinkItemClicked=function(n){y.pushTagManagerEvent("search","Sök","Klick resultat",n.currentTarget.href)},u.renderPages=function(n){return r.createElement("div",{className:"alphabetlist__item",key:n.Id},r.createElement("a",{onClick:u.onLinkItemClicked,id:v.getIdFriendlyName(n.Name,"abcitem"),href:n.Url},n.Name))},u}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){return r.createElement("div",{role:"log","aria-atomic":"false"},this.props.AlphabetGroups&&this.props.AlphabetGroups.map(this.renderPageSection))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.AlphabetGroup=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"AlphabetGroup","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\AlphabetList\\AlphabetGroup.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){function r(n){var t=f(n);return i(t)}function f(n){if(!i.o(u,n)){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t;}return u[n]}var u={"./Attention.svg":202,"./Checkmark.svg":203,"./Clock.svg":204,"./Error.svg":205,"./Hamburger.svg":206,"./Hamburger_vald.svg":207,"./Info.svg":208,"./Infocirkel-aktiv20px20 px.svg":209,"./Infocirkel.svg":210,"./Infocirkel_normal-white20px20px.svg":211,"./Infocirkel_normal20px20px.svg":212,"./Kalender.svg":213,"./Kapitel.svg":214,"./Language.svg":215,"./Lyssna.svg":216,"./Paperbin.svg":217,"./Pengar.svg":218,"./PilerUppNer.svg":219,"./Pin.svg":220,"./Print.svg":221,"./Search.svg":222,"./SocialMedia/CopyLink-green.svg":223,"./SocialMedia/CopyLink.svg":224,"./SocialMedia/Email.svg":225,"./SocialMedia/Facebook.svg":226,"./SocialMedia/Instagram.svg":227,"./SocialMedia/LinkedIn.svg":228,"./SocialMedia/Twitter.svg":229,"./SocialMedia/envelope-square.svg":230,"./SocialMedia/facebook-original.svg":231,"./SocialMedia/facebook-square.svg":232,"./SocialMedia/instagram-square.svg":233,"./SocialMedia/link-black.svg":234,"./SocialMedia/link.svg":235,"./SocialMedia/linkedin-original.svg":236,"./SocialMedia/mail-black.svg":237,"./SocialMedia/mail-green.svg":238,"./SocialMedia/twitter-original.svg":239,"./SocialMedia/twitter-square.svg":240,"./Success.svg":241,"./Summering_OK25px25px.svg":242,"./Summering_ej_obligatorisk25px25px.svg":243,"./Summering_inte_OK25px25px.svg":244,"./Varning.svg":245,"./Webbkarta.svg":246,"./apple-icon.svg":247,"./arabiska.svg":248,"./attention-circle-1.svg":249,"./attention-circle.svg":250,"./attention-red.svg":251,"./baseline-add_circle_outline-24px.svg":252,"./baseline-arrow_back-24px.svg":253,"./baseline-check-24px.svg":254,"./baseline-keyboard_arrow_left-24px.svg":255,"./bubble.svg":256,"./cart.svg":257,"./check-mark-circle.svg":258,"./checkmark-circle-outline.svg":259,"./engelska.svg":260,"./expanded-minus.svg":261,"./expanded-plus.svg":262,"./extern-link-blue.svg":263,"./extern-link.svg":264,"./file-extensions/csv.svg":265,"./file-extensions/default.svg":266,"./file-extensions/doc-file-format-symbol.svg":267,"./file-extensions/doc.svg":268,"./file-extensions/docx-file-format.svg":269,"./file-extensions/file-csv.svg":270,"./file-extensions/file-doc.svg":271,"./file-extensions/file-jpg.svg":272,"./file-extensions/file-pdf.svg":273,"./file-extensions/file-png.svg":274,"./file-extensions/file-ppt.svg":275,"./file-extensions/file-xls.svg":276,"./file-extensions/file-zip.svg":277,"./file-extensions/file.svg":278,"./file-extensions/jpg.svg":279,"./file-extensions/link.svg":280,"./file-extensions/pdf-icon.svg":281,"./file-extensions/pdf.svg":282,"./file-extensions/png.svg":283,"./file-extensions/ppt.svg":284,"./file-extensions/rtf.svg":285,"./file-extensions/xls.svg":286,"./file-extensions/zip.svg":287,"./fontawesome/Share.svg":288,"./fontawesome/arrow-left.svg":289,"./fontawesome/arrow-right.svg":290,"./fontawesome/badge-dollar.svg":291,"./fontawesome/book-open.svg":292,"./fontawesome/calendar.svg":293,"./fontawesome/check-circle.svg":294,"./fontawesome/check.svg":295,"./fontawesome/chevron-left.svg":296,"./fontawesome/chevron-right.svg":297,"./fontawesome/clock.svg":298,"./fontawesome/close-menu.svg":299,"./fontawesome/close.svg":300,"./fontawesome/comment-alt.svg":301,"./fontawesome/compass.svg":302,"./fontawesome/envelope-square.svg":303,"./fontawesome/exclamation-circle-solid.svg":304,"./fontawesome/exclamation-circle.svg":305,"./fontawesome/exclamation-solid.svg":306,"./fontawesome/exclamation-triangle.svg":307,"./fontawesome/external-link-blue.svg":308,"./fontawesome/external-link-dark-blue.svg":309,"./fontawesome/external-link-white.svg":310,"./fontawesome/external-link.svg":311,"./fontawesome/file.svg":312,"./fontawesome/globe-europe.svg":313,"./fontawesome/home.svg":314,"./fontawesome/info-circle.svg":315,"./fontawesome/language-ara.svg":316,"./fontawesome/language-eng.svg":317,"./fontawesome/language-lattlast.svg":318,"./fontawesome/language-se.svg":319,"./fontawesome/link.svg":320,"./fontawesome/listen.svg":321,"./fontawesome/map-marker-alt-solid.svg":322,"./fontawesome/menu.svg":323,"./fontawesome/minus-circle.svg":324,"./fontawesome/minus.svg":325,"./fontawesome/paperclip.svg":326,"./fontawesome/plus-circle-solid.svg":327,"./fontawesome/plus-circle.svg":328,"./fontawesome/plus.svg":329,"./fontawesome/podcast.svg":330,"./fontawesome/print.svg":331,"./fontawesome/question-circle.svg":332,"./fontawesome/redo.svg":333,"./fontawesome/rss-square.svg":334,"./fontawesome/search.svg":335,"./fontawesome/shopping-cart-plus.svg":336,"./fontawesome/shopping-cart.svg":337,"./fontawesome/sign-language.svg":338,"./fontawesome/sort.svg":339,"./fontawesome/trash-alt.svg":340,"./fontawesome/user.svg":341,"./help.svg":342,"./home-black.svg":343,"./ic_close_24px.svg":344,"./ic_close_white_24px.svg":345,"./ic_close_white_30px.svg":346,"./ic_podd.svg":347,"./ikoner-navigation-engelska.svg":348,"./lattlast.svg":349,"./magnifier.svg":350,"./min-sida-white.svg":351,"./min-sida.svg":352,"./minus-ps.svg":353,"./need_help.svg":354,"./paper-clip.svg":355,"./plus-ps.svg":356,"./print-black.svg":357,"./rss-icon.svg":358,"./shopping_cart-24px.svg":359,"./teckensprok.svg":360,"./utl-nkning-blue.svg":361,"./utl-nkning.svg":362,"./utl-nkning_white.svg":363,"./x-mark-circle.svg":364};r.keys=function(){return Object.keys(u)};r.resolve=f;n.exports=r;r.id=551},function(n,t,i){function r(n){var t=f(n);return i(t)}function f(n){if(!i.o(u,n)){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t;}return u[n]}var u={"./Attention.svg":202,"./Checkmark.svg":203,"./Clock.svg":204,"./Error.svg":205,"./Hamburger.svg":206,"./Hamburger_vald.svg":207,"./Info.svg":208,"./Infocirkel-aktiv20px20 px.svg":209,"./Infocirkel.svg":210,"./Infocirkel_normal-white20px20px.svg":211,"./Infocirkel_normal20px20px.svg":212,"./Kalender.svg":213,"./Kapitel.svg":214,"./Language.svg":215,"./Lyssna.svg":216,"./Paperbin.svg":217,"./Pengar.svg":218,"./PilerUppNer.svg":219,"./Pin.svg":220,"./Print.svg":221,"./Search.svg":222,"./SocialMedia/CopyLink-green.svg":223,"./SocialMedia/CopyLink.svg":224,"./SocialMedia/Email.svg":225,"./SocialMedia/Facebook.svg":226,"./SocialMedia/Instagram.svg":227,"./SocialMedia/LinkedIn.svg":228,"./SocialMedia/Twitter.svg":229,"./SocialMedia/envelope-square.svg":230,"./SocialMedia/facebook-original.svg":231,"./SocialMedia/facebook-square.svg":232,"./SocialMedia/instagram-square.svg":233,"./SocialMedia/link-black.svg":234,"./SocialMedia/link.svg":235,"./SocialMedia/linkedin-original.svg":236,"./SocialMedia/mail-black.svg":237,"./SocialMedia/mail-green.svg":238,"./SocialMedia/twitter-original.svg":239,"./SocialMedia/twitter-square.svg":240,"./Success.svg":241,"./Summering_OK25px25px.svg":242,"./Summering_ej_obligatorisk25px25px.svg":243,"./Summering_inte_OK25px25px.svg":244,"./Varning.svg":245,"./Webbkarta.svg":246,"./apple-icon.svg":247,"./arabiska.svg":248,"./attention-circle-1.svg":249,"./attention-circle.svg":250,"./attention-red.svg":251,"./baseline-add_circle_outline-24px.svg":252,"./baseline-arrow_back-24px.svg":253,"./baseline-check-24px.svg":254,"./baseline-keyboard_arrow_left-24px.svg":255,"./bubble.svg":256,"./cart.svg":257,"./check-mark-circle.svg":258,"./checkmark-circle-outline.svg":259,"./engelska.svg":260,"./expanded-minus.svg":261,"./expanded-plus.svg":262,"./extern-link-blue.svg":263,"./extern-link.svg":264,"./file-extensions/csv.svg":265,"./file-extensions/default.svg":266,"./file-extensions/doc-file-format-symbol.svg":267,"./file-extensions/doc.svg":268,"./file-extensions/docx-file-format.svg":269,"./file-extensions/file-csv.svg":270,"./file-extensions/file-doc.svg":271,"./file-extensions/file-jpg.svg":272,"./file-extensions/file-pdf.svg":273,"./file-extensions/file-png.svg":274,"./file-extensions/file-ppt.svg":275,"./file-extensions/file-xls.svg":276,"./file-extensions/file-zip.svg":277,"./file-extensions/file.svg":278,"./file-extensions/jpg.svg":279,"./file-extensions/link.svg":280,"./file-extensions/pdf-icon.svg":281,"./file-extensions/pdf.svg":282,"./file-extensions/png.svg":283,"./file-extensions/ppt.svg":284,"./file-extensions/rtf.svg":285,"./file-extensions/xls.svg":286,"./file-extensions/zip.svg":287,"./fontawesome/Share.svg":288,"./fontawesome/arrow-left.svg":289,"./fontawesome/arrow-right.svg":290,"./fontawesome/badge-dollar.svg":291,"./fontawesome/book-open.svg":292,"./fontawesome/calendar.svg":293,"./fontawesome/check-circle.svg":294,"./fontawesome/check.svg":295,"./fontawesome/chevron-left.svg":296,"./fontawesome/chevron-right.svg":297,"./fontawesome/clock.svg":298,"./fontawesome/close-menu.svg":299,"./fontawesome/close.svg":300,"./fontawesome/comment-alt.svg":301,"./fontawesome/compass.svg":302,"./fontawesome/envelope-square.svg":303,"./fontawesome/exclamation-circle-solid.svg":304,"./fontawesome/exclamation-circle.svg":305,"./fontawesome/exclamation-solid.svg":306,"./fontawesome/exclamation-triangle.svg":307,"./fontawesome/external-link-blue.svg":308,"./fontawesome/external-link-dark-blue.svg":309,"./fontawesome/external-link-white.svg":310,"./fontawesome/external-link.svg":311,"./fontawesome/file.svg":312,"./fontawesome/globe-europe.svg":313,"./fontawesome/home.svg":314,"./fontawesome/info-circle.svg":315,"./fontawesome/language-ara.svg":316,"./fontawesome/language-eng.svg":317,"./fontawesome/language-lattlast.svg":318,"./fontawesome/language-se.svg":319,"./fontawesome/link.svg":320,"./fontawesome/listen.svg":321,"./fontawesome/map-marker-alt-solid.svg":322,"./fontawesome/menu.svg":323,"./fontawesome/minus-circle.svg":324,"./fontawesome/minus.svg":325,"./fontawesome/paperclip.svg":326,"./fontawesome/plus-circle-solid.svg":327,"./fontawesome/plus-circle.svg":328,"./fontawesome/plus.svg":329,"./fontawesome/podcast.svg":330,"./fontawesome/print.svg":331,"./fontawesome/question-circle.svg":332,"./fontawesome/redo.svg":333,"./fontawesome/rss-square.svg":334,"./fontawesome/search.svg":335,"./fontawesome/shopping-cart-plus.svg":336,"./fontawesome/shopping-cart.svg":337,"./fontawesome/sign-language.svg":338,"./fontawesome/sort.svg":339,"./fontawesome/trash-alt.svg":340,"./fontawesome/user.svg":341,"./help.svg":342,"./home-black.svg":343,"./ic_close_24px.svg":344,"./ic_close_white_24px.svg":345,"./ic_close_white_30px.svg":346,"./ic_podd.svg":347,"./ikoner-navigation-engelska.svg":348,"./lattlast.svg":349,"./magnifier.svg":350,"./min-sida-white.svg":351,"./min-sida.svg":352,"./minus-ps.svg":353,"./need_help.svg":354,"./paper-clip.svg":355,"./plus-ps.svg":356,"./print-black.svg":357,"./rss-icon.svg":358,"./shopping_cart-24px.svg":359,"./teckensprok.svg":360,"./utl-nkning-blue.svg":361,"./utl-nkning.svg":362,"./utl-nkning_white.svg":363,"./x-mark-circle.svg":364};r.keys=function(){return Object.keys(u)};r.resolve=f;n.exports=r;r.id=552},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function g(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function nt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function tt(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function it(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function rt(n){var t=et();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ut(this,i)}}function ut(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?ft(n):t}function ft(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function et(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.SiteHeader=void 0;var r=g(i(1)),p=i(554),w=i(365),b=i(556),k=i(128),d=i(130),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var ot="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},s="search-panel",h="mobile-menu-container",y=function(){var n=function(n){function t(n){var r;return nt(this,t),(r=i.call(this,n)).setMenuOpenState=function(){r.state.menuIsOpen?document.getElementsByTagName("body")[0].classList.remove("lock-scrolling","mobile-menu-open"):document.getElementsByTagName("body")[0].classList.add("lock-scrolling","mobile-menu-open");r.setState(function(n){return{menuIsOpen:!n.menuIsOpen}})},r.setSearchOpenState=function(){r.setState(function(n){return{searchIsOpen:!n.searchIsOpen}})},r.searchPanelAnimationBegin=function(){r.state.searchIsOpen&&(r._searchPanelRef.style.display="block",r.setState({searchIsReadyToFocus:!0}))},r.searchPanelAnimationComplete=function(){r._searchPanelRef.style.display=r.state.searchIsOpen?"block":"none";r.setState({searchIsReadyToFocus:!1})},r.state={menuIsOpen:!1,searchIsOpen:!1,searchIsReadyToFocus:!1},r._searchPanelHeight="8.1rem",r}it(t,n);var i=rt(t);return tt(t,[{key:"render",value:function(){var n=this;return r.createElement("header",{className:"siteheader  ".concat(this.state.menuIsOpen?"siteheader__fixed":""),"aria-label":"Sidhuvud (för små enheter)"},r.createElement("div",{className:"siteheader__top rtl"},r.createElement(p.MenuButton,{menuStateCallback:this.setMenuOpenState,menuText:this.props.menuText,menuIsOpen:this.state.menuIsOpen,menuId:h,ariaLabel:this.state.menuIsOpen?"Stäng":"Öppna"}),r.createElement("a",{href:"/",className:"siteheader__logo"},r.createElement("img",{src:this.props.logotype,alt:this.props.logoText?this.props.logoText:"Gå till startsidan",width:"190"})),r.createElement(w.SearchButton,{searchStateCallback:this.setSearchOpenState,searchText:this.props.searchText,searchIsOpen:this.state.searchIsOpen,searchPanelId:s})),r.createElement(d.VelocityComponent,{runOnMount:!1,duration:250,animation:this.state.searchIsOpen?{height:this._searchPanelHeight}:{height:0},begin:this.searchPanelAnimationBegin,complete:this.searchPanelAnimationComplete},r.createElement("div",{id:s,"aria-hidden":!this.state.searchIsOpen,ref:function(t){return n._searchPanelRef=t},className:"siteheader__searchpanel"},r.createElement(k.Search,{findUrl:this.props.findUrl,placeholder:this.props.searchPlaceHolderText?this.props.searchPlaceHolderText:this.props.searchText,focus:this.state.searchIsReadyToFocus,searchPage:this.props.searchPage,searchId:"search_mobile-siteheader"}))),r.createElement(b.SiteMenu,{menuId:h,menuIsOpen:this.state.menuIsOpen,currentPageId:this.props.currentPageId,isStartPage:this.props.isStartPage,listenUrl:this.props.listenUrl,siteMapUrl:this.props.siteMapUrl,minorityLanguages:this.props.minorityLanguages,translatedItems:this.props.translatedItems,translatedStartPageItems:this.props.translatedStartPageItems,treeNodes:this.props.treeNodes,startPageid:this.props.startPageid,minorityLanguage:this.props.minorityLanguage,easyread:this.props.easyread,signlanguage:this.props.signlanguage,translatedStartpage:this.props.translatedStartpage,translatedstartpageText:this.props.translatedstartpageText,signlanguageText:this.props.signlanguageText,easyreadText:this.props.easyreadText,listenText:this.props.listenText,language:this.props.language,isCampaignPage:this.props.isCampaignPage,highlightCurrentPage:this.props.highlightCurrentPage,hideHeaderOnStartPage:this.props.hideHeaderOnStartPage}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={isCampaignPage:!1,hideHeaderOnStartPage:!1},n}(),u,c;t.SiteHeader=y;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(s,"searchPanelId","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SiteHeader\\SiteHeader.tsx"),u.register(h,"menuId","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SiteHeader\\SiteHeader.tsx"),u.register(y,"SiteHeader","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SiteHeader\\SiteHeader.tsx"));c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var o,r,u,s,h,f;Object.defineProperty(t,"__esModule",{value:!0});t.MenuButton=void 0;r=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));u=i(3);(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;f=function(n){return r.createElement("button",{onClick:n.menuStateCallback,className:"siteheader__button","aria-expanded":n.menuIsOpen,"aria-controls":n.menuId,"aria-label":n.ariaLabel},r.createElement(u.Icon,{iconType:"fontawesome/menu",className:"button-open"}),r.createElement("span",{className:"button-close"},r.createElement(u.Icon,{iconType:"fontawesome/close-menu"})),r.createElement("span",{className:"display-block"},n.menuText))};t.MenuButton=f;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&s.register(f,"MenuButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SiteHeader\\MenuButton.tsx");(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function y(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var h,f;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;h=y(i(1));f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},r="svg-poly-target",v=function(n){function t(n){return p(this,t),i.call(this,n)}b(t,n);var i=k(t);return w(t,[{key:"componentDidMount",value:function(){var i,t,n;/MSIE|Trident/.test(navigator.userAgent)&&(i=this.props.icon,t=document.getElementById(r),null===t&&(t=this.createDomElement(),n=String(i.symbol),n=n.split("#")[0],this.fetchIcon(n,function(n){document.getElementById(r).innerHTML+=n})))}},{key:"fetchIcon",value:function(n,t){var r,u=this,i=new XMLHttpRequest;i.open("GET",n,!0);i.onload=function(){i.status>=200&&i.status<400&&(r=i.responseText,t.call(u,r))};i.onerror=function(){};i.send()}},{key:"createDomElement",value:function(){var i='<div id="'.concat(r,'" style="position: absolute;height: 0; width: 0;"><\/div>'),t=document.createDocumentFragment(),n=document.createElement("div");for(n.innerHTML=i;n.firstChild;)t.appendChild(n.firstChild);return document.body.insertBefore(t,document.body.childNodes[0]),document.getElementById(r)}},{key:"render",value:function(){return null}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(h.Component),u,s;t.default=v;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(r,"DOM_ELEMENT_ID","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Icon\\icon.polyfill.tsx"),u.register(v,"IconPolyfill","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Icon\\icon.polyfill.tsx"));s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;s&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function p(n){return n&&n.__esModule?n:{"default":n}}function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function w(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var rt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.SiteMenu=void 0;var r=w(i(1)),v=p(i(89)),y=i(558),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return b(this,t),(r=i.call(this,n)).state={},r}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){return r.createElement("div",{"aria-hidden":!this.props.menuIsOpen,className:"site-menu ".concat(this.props.menuIsOpen?"site-menu--open":""),id:this.props.menuId},r.createElement(v.default,{language:this.props.language,currentPageId:this.props.currentPageId,isStartPage:this.props.isStartPage,treeNodes:this.props.treeNodes,startPageId:this.props.startPageid,isCampaignPage:this.props.isCampaignPage,highlightCurrentPage:this.props.highlightCurrentPage,hideHeaderOnStartPage:this.props.hideHeaderOnStartPage}),r.createElement(y.SiteFunctions,{siteMapUrl:this.props.siteMapUrl,listenUrl:this.props.listenUrl,minorityLanguages:this.props.minorityLanguages,translatedItems:this.props.translatedItems,translatedStartPageItems:this.props.translatedStartPageItems,minorityLanguage:this.props.minorityLanguage,easyread:this.props.easyread,signlanguage:this.props.signlanguage,translatedStartpage:this.props.translatedStartpage,translatedstartpageText:this.props.translatedstartpageText,signlanguageText:this.props.signlanguageText,easyreadText:this.props.easyreadText,listenText:this.props.listenText}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={isCampaignPage:!1},n}();t.SiteMenu=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SiteMenu","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SiteHeader\\SiteMenu.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,f,tt,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.SiteFunctions=void 0;r=y(i(1));u=i(3);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){return p(this,t),i.call(this,n)}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return r.createElement("div",{className:"site-menu__functions"},r.createElement("div",{className:"site-menu__functions-header"},this.props.minorityLanguage&&this.props.minorityLanguage.length>0&&r.createElement("a",{href:this.props.minorityLanguage,className:"site-menu__function-item",lang:"en"},r.createElement(u.Icon,{iconType:"fontawesome/globe-europe"}),r.createElement("span",{className:"functionlink__text"},"Other languages")),this.props.translatedStartpage&&this.props.translatedStartpage.length>0&&r.createElement("a",{href:this.props.translatedStartpage,className:"site-menu__function-item",lang:"en"},"English"===this.props.translatedstartpageText&&r.createElement(u.Icon,{className:"functionlink__isEnglish",iconType:"fontawesome/language-eng"}),"Swedish"===this.props.translatedstartpageText&&r.createElement(u.Icon,{className:"functionlink__isEnglish",iconType:"fontawesome/language-se"}),r.createElement("span",{className:"functionlink__text"},this.props.translatedstartpageText)),this.props.signlanguage&&r.createElement("a",{href:this.props.signlanguage,className:"site-menu__function-item"},r.createElement(u.Icon,{iconType:"fontawesome/sign-language"}),r.createElement("span",{className:"functionlink__text"},this.props.signlanguageText)),this.props.easyread&&r.createElement("a",{href:this.props.easyread,className:"site-menu__function-item"},r.createElement(u.Icon,{iconType:"fontawesome/language-lattlast"}),r.createElement("span",{className:"functionlink__text"},this.props.easyreadText)),this.props.listenUrl&&r.createElement("a",{href:this.props.listenUrl,className:"site-menu__function-item"},r.createElement(u.Icon,{iconType:"fontawesome/listen"}),r.createElement("span",{className:"functionlink__text"},this.props.listenText))),this.props.translatedItems&&this.props.translatedItems.length>0||this.props.translatedStartPageItems&&this.props.translatedStartPageItems.length>0||this.props.minorityLanguages&&this.props.minorityLanguages.length>0&&r.createElement("ul",{className:"site-menu__language-expander"},(this.props.translatedItems||[]).map(function(n){return r.createElement("li",{key:n.Value},r.createElement("a",{href:n.Value},"Go to ",n.Text))}),(this.props.translatedStartPageItems||[]).map(function(n){return r.createElement("li",{key:n.Value},r.createElement("a",{href:n.Value},"Go to ",n.Text," startpage")," ")}),this.props.minorityLanguages.map(function(n){return r.createElement("li",{key:n.Value},r.createElement("a",{href:n.Value},"Go to ",n.Text))})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.SiteFunctions=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"SiteFunctions","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SiteHeader\\SiteFunctions.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";n.exports=i(560).default},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}var l,f,a;Object.defineProperty(t,"__esModule",{value:!0});var e=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},v=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=i(1),s=u(o),r=u(i(5)),h=u(i(563)),y=u(i(564)),c=i(572);l=function(){return!0};f=function(n){function t(n){var r=n.alwaysRenderSuggestions,i;return!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),a.call(i),i.state={isFocused:!1,isCollapsed:!r,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},i.justPressedUpDown=!1,i.justMouseEntered=!1,i.pressedSuggestion=null,i}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(t,n),v(t,[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown);document.addEventListener("mouseup",this.onDocumentMouseUp);this.input=this.autowhatever.input;this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"componentWillReceiveProps",value:function(n){h.default(n.suggestions,this.props.suggestions)?n.highlightFirstSuggestion&&n.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered&&this.highlightFirstSuggestion():this.willRenderSuggestions(n)?this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions():this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(n,t){var i=this.props,u=i.suggestions,f=i.onSuggestionHighlighted,e=i.highlightFirstSuggestion,r;!h.default(u,n.suggestions)&&u.length>0&&e?this.highlightFirstSuggestion():f&&(r=this.getHighlightedSuggestion(),r!=t.highlightedSuggestion&&f({suggestion:r}))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown);document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(n,t,i){var r=this;this.setState(function(u){var f=u.valueBeforeUpDown;return null===t?f=null:null===f&&void 0!==i&&(f=i),{highlightedSectionIndex:n,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(n,t),valueBeforeUpDown:f}})}},{key:"resetHighlightedSuggestion",value:function(){var n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState(function(t){var i=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:n?null:i}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(n,t){var i=this.props,r=i.suggestions,u=i.multiSection,f=i.getSectionSuggestions;return u?f(r[n])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var n=this.state,i=n.highlightedSectionIndex,t=n.highlightedSuggestionIndex;return null===t?null:this.getSuggestion(i,t)}},{key:"getSuggestionValueByIndex",value:function(n,t){return this.props.getSuggestionValue(this.getSuggestion(n,t))}},{key:"getSuggestionIndices",value:function(n){var t=n.getAttribute("data-section-index"),i=n.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(i,10)}}},{key:"findSuggestionElement",value:function(n){var t=n;do{if(null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw new Error("Couldn't find suggestion element");}},{key:"maybeCallOnChange",value:function(n,t,i){var r=this.props.inputProps,u=r.value,f=r.onChange;t!==u&&f(n,{newValue:t,method:i})}},{key:"willRenderSuggestions",value:function(n){var t=n.suggestions,i=n.inputProps,r=n.shouldRenderSuggestions,u=i.value;return t.length>0&&r(u)}},{key:"getQuery",value:function(){var t=this.props.inputProps.value,n=this.state.valueBeforeUpDown;return(null===n?t:n).trim()}},{key:"render",value:function(){var n=this,t=this.props,p=t.suggestions,nt=t.renderInputComponent,u=t.onSuggestionsFetchRequested,tt=t.renderSuggestion,f=t.inputProps,it=t.multiSection,rt=t.renderSectionTitle,ut=t.id,ft=t.getSectionSuggestions,et=t.theme,ot=t.getSuggestionValue,o=t.alwaysRenderSuggestions,st=t.highlightFirstSuggestion,r=this.state,ht=r.isFocused,w=r.isCollapsed,b=r.highlightedSectionIndex,k=r.highlightedSuggestionIndex,h=r.valueBeforeUpDown,a=o?l:this.props.shouldRenderSuggestions,i=f.value,d=f.onFocus,g=f.onKeyDown,ct=this.willRenderSuggestions(this.props),v=o||ht&&!w&&ct,lt=v?p:[],at=e({},f,{onFocus:function(t){if(!n.justSelectedSuggestion&&!n.justClickedOnSuggestionsContainer){var r=a(i);n.setState({isFocused:!0,isCollapsed:!r});d&&d(t);r&&u({value:i,reason:"input-focused"})}},onBlur:function(t){n.justClickedOnSuggestionsContainer?n.input.focus():(n.blurEvent=t,n.justSelectedSuggestion||(n.onBlur(),n.onSuggestionsClearRequested()))},onChange:function(t){var i=t.target.value,r=a(i);n.maybeCallOnChange(t,i,"type");n.suggestionsContainer&&(n.suggestionsContainer.scrollTop=0);n.setState(e({},st?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!r}));r?u({value:i,reason:"input-changed"}):n.onSuggestionsClearRequested()},onKeyDown:function(t,r){var y=t.keyCode,d,s,f,e,c,l;switch(y){case 40:case 38:w?a(i)&&(u({value:i,reason:"suggestions-revealed"}),n.revealSuggestions()):p.length>0&&(s=r.newHighlightedSectionIndex,f=r.newHighlightedItemIndex,d=null===f?null===h?i:h:n.getSuggestionValueByIndex(s,f),n.updateHighlightedSuggestion(s,f,i),n.maybeCallOnChange(t,d,40===y?"down":"up"));t.preventDefault();n.justPressedUpDown=!0;setTimeout(function(){n.justPressedUpDown=!1});break;case 13:if(229===t.keyCode)break;e=n.getHighlightedSuggestion();(v&&!o&&n.closeSuggestions(),null!=e)&&(c=ot(e),n.maybeCallOnChange(t,c,"enter"),n.onSuggestionSelected(t,{suggestion:e,suggestionValue:c,suggestionIndex:k,sectionIndex:b,method:"enter"}),n.justSelectedSuggestion=!0,setTimeout(function(){n.justSelectedSuggestion=!1}));break;case 27:v&&t.preventDefault();l=v&&!o;null===h?l||(n.maybeCallOnChange(t,"","escape"),a("")?u({value:"",reason:"escape-pressed"}):n.onSuggestionsClearRequested()):n.maybeCallOnChange(t,h,"escape");l?(n.onSuggestionsClearRequested(),n.closeSuggestions()):n.resetHighlightedSuggestion()}g&&g(t)}}),vt={query:this.getQuery()};return s.default.createElement(y.default,{multiSection:it,items:lt,renderInputComponent:nt,renderItemsContainer:this.renderSuggestionsContainer,renderItem:tt,renderItemData:vt,renderSectionTitle:rt,getSectionItems:ft,highlightedSectionIndex:b,highlightedItemIndex:k,inputProps:at,itemProps:this.itemProps,theme:c.mapToAutowhateverTheme(et),id:ut,ref:this.storeAutowhateverRef})}}]),t}(o.Component);f.propTypes={suggestions:r.default.array.isRequired,onSuggestionsFetchRequested:function(n,t){if("function"!=typeof n[t])throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp");},onSuggestionsClearRequested:function(n,t){var i=n[t];if(!1===n.alwaysRenderSuggestions&&"function"!=typeof i)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp");},onSuggestionSelected:r.default.func,onSuggestionHighlighted:r.default.func,renderInputComponent:r.default.func,renderSuggestionsContainer:r.default.func,getSuggestionValue:r.default.func.isRequired,renderSuggestion:r.default.func.isRequired,inputProps:function(n,t){var i=n[t];if(!i.hasOwnProperty("value"))throw new Error("'inputProps' must have 'value'.");if(!i.hasOwnProperty("onChange"))throw new Error("'inputProps' must have 'onChange'.");},shouldRenderSuggestions:r.default.func,alwaysRenderSuggestions:r.default.bool,multiSection:r.default.bool,renderSectionTitle:function(n,t){var i=n[t];if(!0===n.multiSection&&"function"!=typeof i)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp");},getSectionSuggestions:function(n,t){var i=n[t];if(!0===n.multiSection&&"function"!=typeof i)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp");},focusInputOnSuggestionClick:r.default.bool,highlightFirstSuggestion:r.default.bool,theme:r.default.object,id:r.default.string};f.defaultProps={renderSuggestionsContainer:function(n){var t=n.containerProps,i=n.children;return s.default.createElement("div",t,i)},shouldRenderSuggestions:function(n){return n.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:c.defaultTheme,id:"1"};a=function(){var n=this;this.onDocumentMouseDown=function(t){n.justClickedOnSuggestionsContainer=!1;for(var i=t.detail&&t.detail.target||t.target;null!==i&&i!==document;){if(null!==i.getAttribute("data-suggestion-index"))return;if(i===n.suggestionsContainer)return void(n.justClickedOnSuggestionsContainer=!0);i=i.parentNode}};this.storeAutowhateverRef=function(t){null!==t&&(n.autowhatever=t)};this.onSuggestionMouseEnter=function(t,i){var r=i.sectionIndex,u=i.itemIndex;n.updateHighlightedSuggestion(r,u);t.target===n.pressedSuggestion&&(n.justSelectedSuggestion=!0);n.justMouseEntered=!0;setTimeout(function(){n.justMouseEntered=!1})};this.highlightFirstSuggestion=function(){n.updateHighlightedSuggestion(n.props.multiSection?0:null,0)};this.onDocumentMouseUp=function(){n.pressedSuggestion&&!n.justSelectedSuggestion&&n.input.focus();n.pressedSuggestion=null};this.onSuggestionMouseDown=function(t){n.justSelectedSuggestion||(n.justSelectedSuggestion=!0,n.pressedSuggestion=t.target)};this.onSuggestionsClearRequested=function(){var t=n.props.onSuggestionsClearRequested;t&&t()};this.onSuggestionSelected=function(t,i){var r=n.props,f=r.alwaysRenderSuggestions,u=r.onSuggestionSelected,e=r.onSuggestionsFetchRequested;u&&u(t,i);f?e({value:i.suggestionValue,reason:"suggestion-selected"}):n.onSuggestionsClearRequested();n.resetHighlightedSuggestion()};this.onSuggestionClick=function(t){var i=n.props,s=i.alwaysRenderSuggestions,h=i.focusInputOnSuggestionClick,r=n.getSuggestionIndices(n.findSuggestionElement(t.target)),u=r.sectionIndex,f=r.suggestionIndex,e=n.getSuggestion(u,f),o=n.props.getSuggestionValue(e);n.maybeCallOnChange(t,o,"click");n.onSuggestionSelected(t,{suggestion:e,suggestionValue:o,suggestionIndex:f,sectionIndex:u,method:"click"});s||n.closeSuggestions();!0===h?n.input.focus():n.onBlur();setTimeout(function(){n.justSelectedSuggestion=!1})};this.onBlur=function(){var t=n.props,i=t.inputProps,u=t.shouldRenderSuggestions,f=i.value,r=i.onBlur,e=n.getHighlightedSuggestion(),o=u(f);n.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!o});r&&r(n.blurEvent,{highlightedSuggestion:e})};this.onSuggestionMouseLeave=function(t){n.resetHighlightedSuggestion(!1);n.justSelectedSuggestion&&t.target===n.pressedSuggestion&&(n.justSelectedSuggestion=!1)};this.onSuggestionTouchStart=function(){n.justSelectedSuggestion=!0};this.onSuggestionTouchMove=function(){n.justSelectedSuggestion=!1;n.pressedSuggestion=null;n.input.focus()};this.itemProps=function(t){return{"data-section-index":t.sectionIndex,"data-suggestion-index":t.itemIndex,onMouseEnter:n.onSuggestionMouseEnter,onMouseLeave:n.onSuggestionMouseLeave,onMouseDown:n.onSuggestionMouseDown,onTouchStart:n.onSuggestionTouchStart,onTouchMove:n.onSuggestionTouchMove,onClick:n.onSuggestionClick}};this.renderSuggestionsContainer=function(t){var i=t.containerProps,r=t.children;return n.props.renderSuggestionsContainer({containerProps:i,children:r,query:n.getQuery()})}};t.default=f},function(n,t,i){"use strict";function u(){}var r=i(562);n.exports=function(){function n(n,t,i,u,f,e){if(e!==r){var o=new 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 n}n.isRequired=n;var i={array:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:t,element:n,instanceOf:t,node:n,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return i.checkPropTypes=u,i.PropTypes=i,i}},function(n){"use strict";n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(n){"use strict";n.exports=function(n,t){var r,i;if(n===t)return!0;if(!n||!t||(r=n.length,t.length!==r))return!1;for(i=0;i<r;i++)if(n[i]!==t[i])return!1;return!0}},function(n,t,i){"use strict";n.exports=i(565).default},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var e,o;Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},l=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),h=i(1),u=f(h),r=f(i(5)),a=f(i(566)),v=f(i(567)),y=f(i(569)),c=f(i(570));e={};o=function(n){function t(n){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return i.storeInputReference=function(n){null!==n&&(i.input=n)},i.storeItemsContainerReference=function(n){null!==n&&(i.itemsContainer=n)},i.onHighlightedItemChange=function(n){i.highlightedItem=n},i.getItemId=function(n,t){return null===t?null:"react-autowhatever-"+i.props.id+"-"+(null===n?"":"section-"+n)+"-item-"+t},i.onFocus=function(n){var t=i.props.inputProps;i.setState({isInputFocused:!0});t.onFocus&&t.onFocus(n)},i.onBlur=function(n){var t=i.props.inputProps;i.setState({isInputFocused:!1});t.onBlur&&t.onBlur(n)},i.onKeyDown=function(n){var t=i.props,r=t.inputProps,u=t.highlightedSectionIndex,f=t.highlightedItemIndex;switch(n.key){case"ArrowDown":case"ArrowUp":var o="ArrowDown"===n.key?"next":"prev",e=function(n,t){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return function(n,t){var r=[],u=!0,f=!1,e=void 0,o,i;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{!u&&i.return&&i.return()}finally{if(f)throw e;}}return r}(n,t);throw new TypeError("Invalid attempt to destructure non-iterable instance");}(i.sectionIterator[o]([u,f]),2),s=e[0],h=e[1];r.onKeyDown(n,{newHighlightedSectionIndex:s,newHighlightedItemIndex:h});break;default:r.onKeyDown(n,{highlightedSectionIndex:u,highlightedItemIndex:f})}},i.highlightedItem=null,i.state={isInputFocused:!1},i.setSectionsItems(n),i.setSectionIterator(n),i.setTheme(n),i}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(t,n),l(t,[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"componentWillReceiveProps",value:function(n){n.items!==this.props.items&&this.setSectionsItems(n);n.items===this.props.items&&n.multiSection===this.props.multiSection||this.setSectionIterator(n);n.theme!==this.props.theme&&this.setTheme(n)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(n){n.multiSection&&(this.sectionsItems=n.items.map(function(t){return n.getSectionItems(t)}),this.sectionsLengths=this.sectionsItems.map(function(n){return n.length}),this.allSectionsAreEmpty=this.sectionsLengths.every(function(n){return 0===n}))}},{key:"setSectionIterator",value:function(n){this.sectionIterator=a.default({multiSection:n.multiSection,data:n.multiSection?this.sectionsLengths:n.items.length})}},{key:"setTheme",value:function(n){this.theme=v.default(n.theme)}},{key:"renderSections",value:function(){var t=this;if(this.allSectionsAreEmpty)return null;var i=this.theme,n=this.props,r=n.id,f=n.items,e=n.renderItem,o=n.renderItemData,s=n.renderSectionTitle,h=n.highlightedSectionIndex,l=n.highlightedItemIndex,a=n.itemProps;return f.map(function(n,f){var v="react-autowhatever-"+r+"-",p=v+"section-"+f+"-",w=0===f;return u.default.createElement("div",i(p+"container","sectionContainer",w&&"sectionContainerFirst"),u.default.createElement(y.default,{section:n,renderSectionTitle:s,theme:i,sectionKeyPrefix:p}),u.default.createElement(c.default,{items:t.sectionsItems[f],itemProps:a,renderItem:e,renderItemData:o,sectionIndex:f,highlightedItemIndex:h===f?l:null,onHighlightedItemChange:t.onHighlightedItemChange,getItemId:t.getItemId,theme:i,keyPrefix:v,ref:t.storeItemsListReference}))})}},{key:"renderItems",value:function(){var t=this.props.items;if(0===t.length)return null;var i=this.theme,n=this.props,r=n.id,f=n.renderItem,e=n.renderItemData,o=n.highlightedSectionIndex,s=n.highlightedItemIndex,h=n.itemProps;return u.default.createElement(c.default,{items:t,itemProps:h,renderItem:f,renderItemData:e,highlightedItemIndex:null===o?s:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:i,keyPrefix:"react-autowhatever-"+r+"-"})}},{key:"ensureHighlightedItemIsVisible",value:function(){var t=this.highlightedItem;if(t){var n=this.itemsContainer,r=t.offsetParent===n?t.offsetTop:t.offsetTop-n.offsetTop,i=n.scrollTop;r<i?i=r:r+t.offsetHeight>i+n.offsetHeight&&(i=r+t.offsetHeight-n.offsetHeight);i!==n.scrollTop&&(n.scrollTop=i)}}},{key:"render",value:function(){var r=this.theme,n=this.props,t=n.id,o=n.multiSection,h=n.renderInputComponent,c=n.renderItemsContainer,l=n.highlightedSectionIndex,a=n.highlightedItemIndex,v=this.state.isInputFocused,e=o?this.renderSections():this.renderItems(),i=null!==e,y=this.getItemId(l,a),f="react-autowhatever-"+t,p=s({role:"combobox","aria-haspopup":"listbox","aria-owns":f,"aria-expanded":i},r("react-autowhatever-"+t+"-container","container",i&&"containerOpen"),this.props.containerProps),w=h(s({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":f,"aria-activedescendant":y},r("react-autowhatever-"+t+"-input","input",i&&"inputOpen",v&&"inputFocused"),this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),b=c({containerProps:s({id:f,role:"listbox"},r("react-autowhatever-"+t+"-items-container","itemsContainer",i&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:e});return u.default.createElement("div",p,w,b)}}]),t}(h.Component);o.propTypes={id:r.default.string,multiSection:r.default.bool,renderInputComponent:r.default.func,renderItemsContainer:r.default.func,items:r.default.array.isRequired,renderItem:r.default.func,renderItemData:r.default.object,renderSectionTitle:r.default.func,getSectionItems:r.default.func,containerProps:r.default.object,inputProps:r.default.object,itemProps:r.default.oneOfType([r.default.object,r.default.func]),highlightedSectionIndex:r.default.number,highlightedItemIndex:r.default.number,theme:r.default.oneOfType([r.default.object,r.default.array])};o.defaultProps={id:"1",multiSection:!1,renderInputComponent:function(n){return u.default.createElement("input",n)},renderItemsContainer:function(n){var t=n.containerProps,i=n.children;return u.default.createElement("div",t,i)},renderItem:function(){throw new Error("`renderItem` must be provided");},renderItemData:e,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided");},getSectionItems:function(){throw new Error("`getSectionItems` must be provided");},containerProps:e,inputProps:e,itemProps:e,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}};t.default=o},function(n){"use strict";var t=function(n,t){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return function(n,t){var r=[],u=!0,f=!1,e=void 0,o,i;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{!u&&i.return&&i.return()}finally{if(f)throw e;}}return r}(n,t);throw new TypeError("Invalid attempt to destructure non-iterable instance");};n.exports=function(n){function u(n){var e=t(n,2),f=e[0],u=e[1];return r?null===u||u===i[f]-1?null===(f=function(n){for(null===n?n=0:n++;n<i.length&&0===i[n];)n++;return n===i.length?null:n}(f))?[null,null]:[f,0]:[f,u+1]:0===i||u===i-1?[null,null]:null===u?[null,0]:[null,u+1]}var i=n.data,r=n.multiSection;return{next:u,prev:function(n){var e=t(n,2),f=e[0],u=e[1];return r?null===u||0===u?null===(f=function(n){for(null===n?n=i.length-1:n--;n>=0&&0===i[n];)n--;return-1===n?null:n}(f))?[null,null]:[f,i[f]-1]:[f,u-1]:0===i||0===u?[null,null]:null===u?[null,i-1]:[null,u-1]},isLast:function(n){return null===u(n)[1]}}}},function(n,t,i){"use strict";function u(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}Object.defineProperty(t,"__esModule",{value:!0});var r,f=(r=i(568))&&r.__esModule?r:{"default":r},e=function(n){return n};t.default=function(n){var i=function(n,t){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return function(n,t){var r=[],u=!0,f=!1,e=void 0,o,i;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{!u&&i.return&&i.return()}finally{if(f)throw e;}}return r}(n,t);throw new TypeError("Invalid attempt to destructure non-iterable instance");}(Array.isArray(n)&&2===n.length?n:[n,null],2),r=i[0],t=i[1];return function(n){for(var i,s=arguments.length,h=Array(s>1?s-1:0),o=1;o<s;o++)h[o-1]=arguments[o];return i=h.map(function(n){return r[n]}).filter(e),"string"==typeof i[0]||"function"==typeof t?{key:n,className:t?t.apply(void 0,u(i)):i.join(" ")}:{key:n,style:f.default.apply(void 0,[{}].concat(u(i)))}}};n.exports=t.default},function(n){"use strict";function i(n){if(null==n)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function r(n){var i=Object.getOwnPropertyNames(n);return Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n))),i.filter(function(i){return t.call(n,i)})}var t=Object.prototype.propertyIsEnumerable;n.exports=Object.assign||function(n){for(var e,u,t,o=i(n),f=1;f<arguments.length;f++)for(e=arguments[f],u=r(Object(e)),t=0;t<u.length;t++)o[u[t]]=e[u[t]];return o}},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}var f;Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=i(1),s=u(e),r=u(i(5)),h=u(i(129));f=function(n){function t(){return c(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(t,n),o(t,[{key:"shouldComponentUpdate",value:function(n){return h.default(n,this.props)}},{key:"render",value:function(){var n=this.props,i=n.section,r=n.renderSectionTitle,u=n.theme,f=n.sectionKeyPrefix,t=r(i);return t?s.default.createElement("div",u(f+"title","sectionTitle"),t):null}}]),t}(e.Component);f.propTypes={section:r.default.any.isRequired,renderSectionTitle:r.default.func.isRequired,theme:r.default.func.isRequired,sectionKeyPrefix:r.default.string.isRequired};t.default=f},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}var f;Object.defineProperty(t,"__esModule",{value:!0});var e=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},c=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=i(1),s=u(o),r=u(i(5)),l=u(i(571)),a=u(i(129));f=function(n){function t(){var r,u,n;v(this,t);for(var f=arguments.length,e=Array(f),i=0;i<f;i++)e[i]=arguments[i];return u=n=h(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(e))),n.storeHighlightedItemReference=function(t){n.props.onHighlightedItemChange(null===t?null:t.item)},h(n,u)}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(t,n),c(t,[{key:"shouldComponentUpdate",value:function(n){return a.default(n,this.props,["itemProps"])}},{key:"render",value:function(){var o=this,n=this.props,h=n.items,i=n.itemProps,c=n.renderItem,a=n.renderItemData,t=n.sectionIndex,v=n.highlightedItemIndex,y=n.getItemId,r=n.theme,u=n.keyPrefix,f=null===t?u:u+"section-"+t+"-",p="function"==typeof i;return s.default.createElement("ul",e({role:"listbox"},r(f+"items-list","itemsList")),h.map(function(n,u){var b=0===u,h=u===v,k=f+"item-"+u,d=p?i({sectionIndex:t,itemIndex:u}):i,w=e({id:y(t,u),"aria-selected":h},r(k,"item",b&&"itemFirst",h&&"itemHighlighted"),d);return h&&(w.ref=o.storeHighlightedItemReference),s.default.createElement(l.default,e({},w,{sectionIndex:t,isHighlighted:h,itemIndex:u,item:n,renderItem:c,renderItemData:a}))}))}}]),t}(o.Component);f.propTypes={items:r.default.array.isRequired,itemProps:r.default.oneOfType([r.default.object,r.default.func]),renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,sectionIndex:r.default.number,highlightedItemIndex:r.default.number,onHighlightedItemChange:r.default.func.isRequired,getItemId:r.default.func.isRequired,theme:r.default.func.isRequired,keyPrefix:r.default.string.isRequired};f.defaultProps={sectionIndex:null};t.default=f},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}var f;Object.defineProperty(t,"__esModule",{value:!0});var e=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},h=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=i(1),c=u(o),r=u(i(5)),l=u(i(129));f=function(n){function t(){var r,u,n;a(this,t);for(var f=arguments.length,e=Array(f),i=0;i<f;i++)e[i]=arguments[i];return u=n=s(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(e))),n.storeItemReference=function(t){null!==t&&(n.item=t)},n.onMouseEnter=function(t){var i=n.props,r=i.sectionIndex,u=i.itemIndex;n.props.onMouseEnter(t,{sectionIndex:r,itemIndex:u})},n.onMouseLeave=function(t){var i=n.props,r=i.sectionIndex,u=i.itemIndex;n.props.onMouseLeave(t,{sectionIndex:r,itemIndex:u})},n.onMouseDown=function(t){var i=n.props,r=i.sectionIndex,u=i.itemIndex;n.props.onMouseDown(t,{sectionIndex:r,itemIndex:u})},n.onClick=function(t){var i=n.props,r=i.sectionIndex,u=i.itemIndex;n.props.onClick(t,{sectionIndex:r,itemIndex:u})},s(n,u)}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(t,n),h(t,[{key:"shouldComponentUpdate",value:function(n){return l.default(n,this.props,["renderItemData"])}},{key:"render",value:function(){var t=this.props,i=t.isHighlighted,r=t.item,u=t.renderItem,f=t.renderItemData,n=function(n,t){var r={},i;for(i in n)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i]);return r}(t,["isHighlighted","item","renderItem","renderItemData"]);return delete n.sectionIndex,delete n.itemIndex,"function"==typeof n.onMouseEnter&&(n.onMouseEnter=this.onMouseEnter),"function"==typeof n.onMouseLeave&&(n.onMouseLeave=this.onMouseLeave),"function"==typeof n.onMouseDown&&(n.onMouseDown=this.onMouseDown),"function"==typeof n.onClick&&(n.onClick=this.onClick),c.default.createElement("li",e({role:"option"},n,{ref:this.storeItemReference}),u(r,e({isHighlighted:i},f)))}}]),t}(o.Component);f.propTypes={sectionIndex:r.default.number,isHighlighted:r.default.bool.isRequired,itemIndex:r.default.number.isRequired,item:r.default.any.isRequired,renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,onMouseEnter:r.default.func,onMouseLeave:r.default.func,onMouseDown:r.default.func,onClick:r.default.func};t.default=f},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};t.mapToAutowhateverTheme=function(n){var i={},t;for(t in n)switch(t){case"suggestionsContainer":i.itemsContainer=n[t];break;case"suggestionsContainerOpen":i.itemsContainerOpen=n[t];break;case"suggestion":i.item=n[t];break;case"suggestionFirst":i.itemFirst=n[t];break;case"suggestionHighlighted":i.itemHighlighted=n[t];break;case"suggestionsList":i.itemsList=n[t];break;default:i[t]=n[t]}return i}},function(){},function(n,t,i){"use strict";var o=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f={forEach:i(131),isEqual:i(90),keys:i(40),omit:i(370)},s=i(1),h=i(57),u=i(5),r=i(132),e=function(n){function t(n){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return i._animationTimeout=null,i.runAnimation=i.runAnimation.bind(i),i}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(t,n),o(t,[{key:"componentDidMount",value:function(){this.runAnimation();!0!==this.props.runOnMount&&this._finishAnimation()}},{key:"componentDidUpdate",value:function(n){f.isEqual(n.animation,this.props.animation)||("stop"===this.props.interruptBehavior?this._stopAnimation():"finish"===this.props.interruptBehavior&&this._finishAnimation(),this._scheduleAnimation())}},{key:"componentWillUnmount",value:function(){this._stopAnimation();this._clearVelocityCache(this._getDOMTarget());this._animationTimeout&&clearTimeout(this._animationTimeout)}},{key:"runAnimation",value:function(n){if(n=n||{},this._animationTimeout=null,null!=this.props.animation){n.stop?r(this._getDOMTarget(),"stop",!0):n.finish&&r(this._getDOMTarget(),"finishAll",!0);var i=f.omit(this.props,f.keys(t.propTypes));r(this._getDOMTarget(),this.props.animation,i)}}},{key:"_scheduleAnimation",value:function(){this._animationTimeout||(this._animationTimeout=setTimeout(this.runAnimation,0))}},{key:"_getDOMTarget",value:function(){var n=h.findDOMNode(this);return"children"===this.props.targetQuerySelector?n.children:null!=this.props.targetQuerySelector?n.querySelectorAll(this.props.targetQuerySelector):n}},{key:"_finishAnimation",value:function(){r(this._getDOMTarget(),"finishAll",!0)}},{key:"_stopAnimation",value:function(){r(this._getDOMTarget(),"stop",!0)}},{key:"_clearVelocityCache",value:function(n){n.length?f.forEach(n,this._clearVelocityCache):r.Utilities.removeData(n,["velocity","fxqueue"])}},{key:"render",value:function(){return this.props.children}}]),t}(s.Component);e.propTypes={animation:u.any,children:u.element.isRequired,runOnMount:u.bool,targetQuerySelector:u.string,interruptBehavior:u.string};e.defaultProps={animation:null,runOnMount:!1,targetQuerySelector:null,interruptBehavior:"stop"};n.exports=e},function(n){n.exports=function(n){return n}},function(n,t,i){var r=i(59),u=i(577),f=i(578),e=i(42);n.exports=function(n,t){return t=r(t,n),null==(n=f(n,t))||delete n[e(u(t))]}},function(n){n.exports=function(n){var t=null==n?0:n.length;if(t)return n[t-1]}},function(n,t,i){var r=i(122),u=i(579);n.exports=function(n,t){return t.length<2?n:r(n,u(t,0,-1))}},function(n){n.exports=function(n,t,i){var u=-1,r=n.length,f;for(t<0&&(t=-t>r?0:r+t),(i=i>r?r:i)<0&&(i+=r),r=t>i?0:i-t>>>0,t>>>=0,f=Array(r);++u<r;)f[u]=n[u+t];return f}},function(n,t,i){var r=i(371);n.exports=function(n){if(!r(n))return n}},function(n){n.exports=function(n){return n}},function(n,t,i){"use strict";!function n(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(n){}}();n.exports=i(583)},function(n,t,i){"use strict";function r(n){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+n,t=1;t<arguments.length;t++)i+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function dy(){var t,u,i,o,e;if(ff)for(t in ur){if(u=ur[t],i=ff.indexOf(t),!(-1<i))throw Error(r(96,t));if(!eo[i]){if(!u.extractEvents)throw Error(r(97,t));for(o in eo[i]=u,i=u.eventTypes){var n=void 0,s=i[o],h=u,f=o;if(rc.hasOwnProperty(f))throw Error(r(99,f));if(rc[f]=s,e=s.phasedRegistrationNames,e){for(n in e)e.hasOwnProperty(n)&&gy(e[n],h,f);n=!0}else s.registrationName?(gy(s.registrationName,h,f),n=!0):n=!1;if(!n)throw Error(r(98,o,t));}}}}function gy(n,t,i){if(gr[n])throw Error(r(100,n));gr[n]=t;uc[n]=t.eventTypes[i].dependencies}function vtt(n,t,i){var r=Array.prototype.slice.call(arguments,3);try{t.apply(i,r)}catch(n){this.onError(n)}}function ptt(){ef=!1;oo=null;vtt.apply(ytt,arguments)}function ip(n,t,i){var u=n.type||"unknown-event";n.currentTarget=tp(i),function(){if(ptt.apply(this,arguments),ef){if(!ef)throw Error(r(198));var n=oo;ef=!1;oo=null;so||(so=!0,fc=n)}}(u,t,void 0,n);n.currentTarget=null}function nu(n,t){if(null==t)throw Error(r(30));return null==n?t:Array.isArray(n)?Array.isArray(t)?(n.push.apply(n,t),n):(n.push(t),n):Array.isArray(t)?[n].concat(t):[n,t]}function oc(n,t,i){Array.isArray(n)?n.forEach(t,i):n&&t.call(i,n)}function wtt(n){var t,r,i;if(n){if(t=n._dispatchListeners,r=n._dispatchInstances,Array.isArray(t))for(i=0;i<t.length&&!n.isPropagationStopped();i++)ip(n,t[i],r[i]);else t&&ip(n,t,r);n._dispatchListeners=null;n._dispatchInstances=null;n.isPersistent()||n.constructor.release(n)}}function ho(n){if(null!==n&&(tu=nu(tu,n)),n=tu,tu=null,n){if(oc(n,wtt),tu)throw Error(r(95));if(so)throw n=fc,so=!1,fc=null,n;}}function rp(n,t){var i=n.stateNode,u;if(!i||(u=ec(i),!u))return null;i=u[t];n:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(u=!u.disabled)||(u=!("button"===(n=n.type)||"input"===n||"select"===n||"textarea"===n));n=!u;break n;default:n=!1}if(n)return null;if(i&&"function"!=typeof i)throw Error(r(231,t,typeof i));return i}function of(n){return null===n||"object"!=typeof n?null:"function"==typeof(n=lc&&n[lc]||n["@@iterator"])?n:null}function hi(n){if(null==n)return null;if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n;switch(n){case si:return"Fragment";case iu:return"Portal";case ao:return"Profiler";case up:return"StrictMode";case vo:return"Suspense";case hc:return"SuspenseList"}if("object"==typeof n)switch(n.$$typeof){case ep:return"Context.Consumer";case fp:return"Context.Provider";case sc:var t=n.render;return t=t.displayName||t.name||"",n.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case cc:return hi(n.type);case op:if(n=1===n._status?n._result:null)return hi(n)}return null}function ac(n){var f="",t;do{n:switch(n.tag){case 3:case 4:case 6:case 7:case 10:case 9:t="";break n;default:var r=n._debugOwner,u=n._debugSource,i=hi(n.type);t=null;r&&(t=hi(r.type));r=i;i="";u?i=" (at "+u.fileName.replace(btt,"")+":"+u.lineNumber+")":t&&(i=" (created by "+t+")");t="\n    in "+(r||"Unknown")+i}f+=t;n=n.return}while(n);return f}function sp(n){if(n=np(n)){if("function"!=typeof vc)throw Error(r(280));var t=ec(n.stateNode);vc(n.stateNode,n.type,t)}}function hp(n){ru?uu?uu.push(n):uu=[n]:ru=n}function cp(){if(ru){var n=ru,t=uu;if(uu=ru=null,sp(n),t)for(n=0;n<t.length;n++)sp(t[n])}}function yc(n,t){return n(t)}function lp(n,t,i,r){return n(t,i,r)}function pc(){}function bc(){null===ru&&null===uu||(pc(),cp())}function w(n,t,i,r,u,f){this.acceptsBooleans=2===t||3===t||4===t;this.attributeName=r;this.attributeNamespace=u;this.mustUseProperty=i;this.propertyName=n;this.type=t;this.sanitizeURL=f}function kc(n){return n[1].toUpperCase()}function li(n){switch(typeof n){case"boolean":case"number":case"object":case"string":case"undefined":return n;default:return""}}function dc(n,t,i,r){var u=a.hasOwnProperty(t)?a[t]:null;(null!==u?0===u.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(n,t,i,r){if(null==t||function(n,t,i,r){if(null!==i&&0===i.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==i?!i.acceptsBooleans:"data-"!==(n=n.toLowerCase().slice(0,5))&&"aria-"!==n);default:return!1}}(n,t,i,r))return!0;if(r)return!1;if(null!==i)switch(i.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,i,u,r)&&(i=null),r||null===u?function(n){return!!vp.call(pp,n)||!vp.call(yp,n)&&(dtt.test(n)?pp[n]=!0:(yp[n]=!0,!1))}(t)&&(null===i?n.removeAttribute(t):n.setAttribute(t,""+i)):u.mustUseProperty?n[u.propertyName]=null===i?3!==u.type&&"":i:(t=u.attributeName,r=u.attributeNamespace,null===i?n.removeAttribute(t):(i=3===(u=u.type)||4===u&&!0===i?"":""+i,r?n.setAttributeNS(r,t,i):n.setAttribute(t,i))))}function wp(n){var t=n.type;return(n=n.nodeName)&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function po(n){n._valueTracker||(n._valueTracker=function(n){var t=wp(n)?"checked":"value",i=Object.getOwnPropertyDescriptor(n.constructor.prototype,t),r=""+n[t],u,f;if(!n.hasOwnProperty(t)&&void 0!==i&&"function"==typeof i.get&&"function"==typeof i.set)return u=i.get,f=i.set,Object.defineProperty(n,t,{configurable:!0,get:function(){return u.call(this)},set:function(n){r=""+n;f.call(this,n)}}),Object.defineProperty(n,t,{enumerable:i.enumerable}),{getValue:function(){return r},setValue:function(n){r=""+n},stopTracking:function(){n._valueTracker=null;delete n[t]}}}(n))}function bp(n){var t,r,i;return n?(t=n._valueTracker,!t)?!0:(r=t.getValue(),i="",n&&(i=wp(n)?n.checked?"true":"false":n.value),(n=i)!==r&&(t.setValue(n),!0)):!1}function gc(n,t){var i=t.checked;return p({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=i?i:n._wrapperState.initialChecked})}function kp(n,t){var i=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;i=li(null!=t.value?t.value:i);n._wrapperState={initialChecked:r,initialValue:i,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function dp(n,t){null!=(t=t.checked)&&dc(n,"checked",t,!1)}function nl(n,t){dp(n,t);var i=li(t.value),r=t.type;if(null!=i)"number"===r?(0===i&&""===n.value||n.value!=i)&&(n.value=""+i):n.value!==""+i&&(n.value=""+i);else if("submit"===r||"reset"===r)return void n.removeAttribute("value");t.hasOwnProperty("value")?tl(n,t.type,i):t.hasOwnProperty("defaultValue")&&tl(n,t.type,li(t.defaultValue));null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function gp(n,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+n._wrapperState.initialValue;i||t===n.value||(n.value=t);n.defaultValue=t}""!==(i=n.name)&&(n.name="");n.defaultChecked=!n.defaultChecked;n.defaultChecked=!!n._wrapperState.initialChecked;""!==i&&(n.name=i)}function tl(n,t,i){"number"===t&&n.ownerDocument.activeElement===n||(null==i?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+i&&(n.defaultValue=""+i))}function il(n,t){return n=p({children:void 0},t),(t=function(n){var t="";return fo.Children.forEach(n,function(n){null!=n&&(t+=n)}),t}(t.children))&&(n.children=t),n}function fu(n,t,i,r){if(n=n.options,t){t={};for(var u=0;u<i.length;u++)t["$"+i[u]]=!0;for(i=0;i<n.length;i++)u=t.hasOwnProperty("$"+n[i].value),n[i].selected!==u&&(n[i].selected=u),u&&r&&(n[i].defaultSelected=!0)}else{for(i=""+li(i),t=null,u=0;u<n.length;u++){if(n[u].value===i)return n[u].selected=!0,void(r&&(n[u].defaultSelected=!0));null!==t||n[u].disabled||(t=n[u])}null!==t&&(t.selected=!0)}}function rl(n,t){if(null!=t.dangerouslySetInnerHTML)throw Error(r(91));return p({},t,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function nw(n,t){var i=t.value;if(null==i){if(i=t.defaultValue,null!=(t=t.children)){if(null!=i)throw Error(r(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(r(93));t=t[0]}i=t}null==i&&(i="")}n._wrapperState={initialValue:li(i)}}function tw(n,t){var i=li(t.value),r=li(t.defaultValue);null!=i&&((i=""+i)!==n.value&&(n.value=i),null==t.defaultValue&&n.defaultValue!==i&&(n.defaultValue=i));null!=r&&(n.defaultValue=""+r)}function iw(n){var t=n.textContent;t===n._wrapperState.initialValue&&""!==t&&null!==t&&(n.value=t)}function rw(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fl(n,t){return null==n||"http://www.w3.org/1999/xhtml"===n?rw(t):"http://www.w3.org/2000/svg"===n&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":n}function sf(n,t){if(t){var i=n.firstChild;if(i&&i===n.lastChild&&3===i.nodeType)return void(i.nodeValue=t)}n.textContent=t}function wo(n,t){var i={};return i[n.toLowerCase()]=t.toLowerCase(),i["Webkit"+n]="webkit"+t,i["Moz"+n]="moz"+t,i}function bo(n){if(sl[n])return sl[n];if(!eu[n])return n;var t,i=eu[n];for(t in i)if(i.hasOwnProperty(t)&&t in uw)return sl[n]=i[t];return n}function er(n){var t=n,i=n;if(n.alternate)for(;t.return;)t=t.return;else{n=t;do 0!=(1026&(t=n).effectTag)&&(i=t.return),n=t.return;while(n)}return 3===t.tag?i:null}function hw(n){if(13===n.tag){var t=n.memoizedState;if(null===t&&null!==(n=n.alternate)&&(t=n.memoizedState),null!==t)return t.dehydrated}return null}function cw(n){if(er(n)!==n)throw Error(r(188));}function lw(n){if(!(n=function(n){var s=n.alternate,t,f,u,i,o,e;if(!s){if(null===(s=er(n)))throw Error(r(188));return s!==n?null:n}for(t=n,f=s;;){if(u=t.return,null===u)break;if(i=u.alternate,null===i){if(null!==(f=u.return)){t=f;continue}break}if(u.child===i.child){for(i=u.child;i;){if(i===t)return cw(u),n;if(i===f)return cw(u),s;i=i.sibling}throw Error(r(188));}if(t.return!==f.return)t=u,f=i;else{for(o=!1,e=u.child;e;){if(e===t){o=!0;t=u;f=i;break}if(e===f){o=!0;f=u;t=i;break}e=e.sibling}if(!o){for(e=i.child;e;){if(e===t){o=!0;t=i;f=u;break}if(e===f){o=!0;f=i;t=u;break}e=e.sibling}if(!o)throw Error(r(189));}}if(t.alternate!==f)throw Error(r(190));}if(3!==t.tag)throw Error(r(188));return t.stateNode.current===t?n:s}(n)))return null;for(var t=n;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===n)break;for(;!t.sibling;){if(!t.return||t.return===n)return null;t=t.return}t.sibling.return=t.return;t=t.sibling}}return null}function al(n,t,i,r){return{blockedOn:n,topLevelType:t,eventSystemFlags:32|i,nativeEvent:r}}function yw(n,t){switch(n){case"focus":case"blur":ai=null;break;case"dragenter":case"dragleave":vi=null;break;case"mouseover":case"mouseout":yi=null;break;case"pointerover":case"pointerout":cf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":lf.delete(t.pointerId)}}function vf(n,t,i,r,u){return null===n||n.nativeEvent!==u?(n=al(t,i,r,u),null!==t&&null!==(t=ne(t))&&hl(t),n):(n.eventSystemFlags|=r,n)}function nit(n){var i=gf(n.target),t;if(null!==i&&(t=er(i),null!==t))if(13===(i=t.tag)){if(null!==(i=hw(t)))return n.blockedOn=i,void h.unstable_runWithPriority(n.priority,function(){vw(t)})}else if(3===i&&t.stateNode.hydrate)return void(n.blockedOn=3===t.tag?t.stateNode.containerInfo:null);n.blockedOn=null}function ko(n){var t,i;return null!==n.blockedOn?!1:(t=gl(n.topLevelType,n.eventSystemFlags,n.nativeEvent),null!==t)?(i=ne(t),null!==i&&hl(i),n.blockedOn=t,!1):!0}function pw(n,t,i){ko(n)&&i.delete(t)}function tit(){var n,t;for(cl=!1;0<vt.length;){if(n=vt[0],null!==n.blockedOn){null!==(n=ne(n.blockedOn))&&aw(n);break}t=gl(n.topLevelType,n.eventSystemFlags,n.nativeEvent);null!==t?n.blockedOn=t:vt.shift()}null!==ai&&ko(ai)&&(ai=null);null!==vi&&ko(vi)&&(vi=null);null!==yi&&ko(yi)&&(yi=null);cf.forEach(pw);lf.forEach(pw)}function yf(n,t){n.blockedOn===t&&(n.blockedOn=null,cl||(cl=!0,h.unstable_scheduleCallback(h.unstable_NormalPriority,tit)))}function ww(n){function r(t){return yf(t,n)}var t,i;if(0<vt.length)for(yf(vt[0],n),t=1;t<vt.length;t++)i=vt[t],i.blockedOn===n&&(i.blockedOn=null);for(null!==ai&&yf(ai,n),null!==vi&&yf(vi,n),null!==yi&&yf(yi,n),cf.forEach(r),lf.forEach(r),t=0;t<af.length;t++)(i=af[t]).blockedOn===n&&(i.blockedOn=null);for(;0<af.length&&null===(t=af[0]).blockedOn;)nit(t),null===t.blockedOn&&af.shift()}function vl(n){return(n=n.target||n.srcElement||window).correspondingUseElement&&(n=n.correspondingUseElement),3===n.nodeType?n.parentNode:n}function dt(n){do n=n.return;while(n&&5!==n.tag);return n||null}function bw(n,t,i){(t=rp(n,i.dispatchConfig.phasedRegistrationNames[t]))&&(i._dispatchListeners=nu(i._dispatchListeners,t),i._dispatchInstances=nu(i._dispatchInstances,n))}function iit(n){if(n&&n.dispatchConfig.phasedRegistrationNames){for(var t=n._targetInst,i=[];t;)i.push(t),t=dt(t);for(t=i.length;0<t--;)bw(i[t],"captured",n);for(t=0;t<i.length;t++)bw(i[t],"bubbled",n)}}function yl(n,t,i){n&&i&&i.dispatchConfig.registrationName&&(t=rp(n,i.dispatchConfig.registrationName))&&(i._dispatchListeners=nu(i._dispatchListeners,t),i._dispatchInstances=nu(i._dispatchInstances,n))}function rit(n){n&&n.dispatchConfig.registrationName&&yl(n._targetInst,null,n)}function ou(n){oc(n,iit)}function go(){return!0}function ns(){return!1}function nt(n,t,i,r){for(var u in this.dispatchConfig=n,this._targetInst=t,this.nativeEvent=i,n=this.constructor.Interface)n.hasOwnProperty(u)&&((t=n[u])?this[u]=t(i):"target"===u?this.target=r:this[u]=i[u]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?go:ns,this.isPropagationStopped=ns,this}function uit(n,t,i,r){if(this.eventPool.length){var u=this.eventPool.pop();return this.call(u,n,t,i,r),u}return new this(n,t,i,r)}function fit(n){if(!(n instanceof this))throw Error(r(279));n.destructor();10>this.eventPool.length&&this.eventPool.push(n)}function kw(n){n.eventPool=[];n.getPooled=uit;n.release=fit}function ts(n){var t=n.keyCode;return"charCode"in n?0===(n=n.charCode)&&13===t&&(n=13):n=t,10===n&&(n=13),32<=n||13===n?n:0}function ait(n){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(n):!!(n=lit[n])&&!!t[n]}function pl(){return ait}function trt(n){var r=n.targetInst,i=r,t,o,u;do{if(!i){n.ancestors.push(i);break}if(t=i,3===t.tag)t=t.stateNode.containerInfo;else{for(;t.return;)t=t.return;t=3!==t.tag?null:t.stateNode.containerInfo}if(!t)break;5!==(r=i.tag)&&6!==r||n.ancestors.push(i);i=gf(t)}while(i);for(i=0;i<n.ancestors.length;i++){r=n.ancestors[i];o=vl(n.nativeEvent);t=n.topLevelType;for(var s=n.nativeEvent,h=n.eventSystemFlags,f=null,e=0;e<eo.length;e++)u=eo[e],u&&(u=u.extractEvents(t,r,s,o,h))&&(f=nu(f,u));ho(f)}}function o(n,t){kf(t,n,!1)}function kf(n,t,i){switch(nrt(t)){case 0:var r=irt.bind(null,t,1);break;case 1:r=rrt.bind(null,t,1);break;default:r=rs.bind(null,t,1)}i?n.addEventListener(t,r,!0):n.addEventListener(t,r,!1)}function irt(n,t,i){fr||pc();var r=rs,u=fr;fr=!0;try{lp(r,n,t,i)}finally{(fr=u)||bc()}}function rrt(n,t,i){git(dit,rs.bind(null,n,t,i))}function hb(n,t,i,r){if(is.length){var u=is.pop();u.topLevelType=n;u.eventSystemFlags=t;u.nativeEvent=i;u.targetInst=r;n=u}else n={topLevelType:n,eventSystemFlags:t,nativeEvent:i,targetInst:r,ancestors:[]};try{if(t=trt,i=n,wc)t(i,void 0);else{wc=!0;try{ap(t,i,void 0)}finally{wc=!1;bc()}}}finally{n.topLevelType=null;n.nativeEvent=null;n.targetInst=null;n.ancestors.length=0;is.length<10&&is.push(n)}}function rs(n,t,i){if(bf)if(0<vt.length&&-1<ll.indexOf(n))n=al(null,n,t,i),vt.push(n);else{var r=gl(n,t,i);null===r?yw(n,i):-1<ll.indexOf(n)?(n=al(r,n,t,i),vt.push(n)):function(n,t,i,r){switch(t){case"focus":return ai=vf(ai,n,t,i,r),!0;case"dragenter":return vi=vf(vi,n,t,i,r),!0;case"mouseover":return yi=vf(yi,n,t,i,r),!0;case"pointerover":var u=r.pointerId;return cf.set(u,vf(cf.get(u)||null,n,t,i,r)),!0;case"gotpointercapture":return u=r.pointerId,lf.set(u,vf(lf.get(u)||null,n,t,i,r)),!0}return!1}(r,n,t,i)||(yw(n,i),hb(n,t,i,null))}}function gl(n,t,i){var r=vl(i),u,f;if(null!==(r=gf(r)))if(u=er(r),null===u)r=null;else if(f=u.tag,13===f){if(null!==(r=hw(u)))return r;r=null}else if(3===f){if(u.stateNode.hydrate)return 3===u.tag?u.stateNode.containerInfo:null;r=null}else u!==r&&(r=null);return hb(n,t,i,r),null}function cb(n){if(!ci)return!1;var t=(n="on"+n)in document;return t||((t=document.createElement("div")).setAttribute(n,"return;"),t="function"==typeof t[n]),t}function ta(n){var t=na.get(n);return void 0===t&&(t=new Set,na.set(n,t)),t}function ia(n,t,i){if(!i.has(n)){switch(n){case"scroll":kf(t,"scroll",!0);break;case"focus":case"blur":kf(t,"focus",!0);kf(t,"blur",!0);i.add("blur");i.add("focus");break;case"cancel":case"close":cb(n)&&kf(t,n,!0);break;case"invalid":case"submit":case"reset":break;default:-1===hf.indexOf(n)&&o(n,t)}i.add(n)}}function ab(n,t,i){return null==t||"boolean"==typeof t||""===t?"":i||"number"!=typeof t||0===t||su.hasOwnProperty(n)&&su[n]?(""+t).trim():t+"px"}function vb(n,t){var i,r,u;for(i in n=n.style,t)t.hasOwnProperty(i)&&(r=0===i.indexOf("--"),u=ab(i,t[i],r),"float"===i&&(i="cssFloat"),r?n.setProperty(i,u):n[i]=u)}function ra(n,t){if(t){if(yb[n]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(r(137,n,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(r(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(r(61));}if(null!=t.style&&"object"!=typeof t.style)throw Error(r(62,""));}}function ua(n,t){if(-1===n.indexOf("-"))return"string"==typeof t.is;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function gt(n,t){var r=ta(n=9===n.nodeType||11===n.nodeType?n:n.ownerDocument),i;for(t=uc[t],i=0;i<t.length;i++)ia(t[i],n,r)}function us(){}function fa(n){if(void 0===(n=n||("undefined"!=typeof document?document:void 0)))return null;try{return n.activeElement||n.body}catch(t){return n.body}}function pb(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function wb(n,t){var r,i=pb(n);for(n=0;i;){if(3===i.nodeType){if(r=n+i.textContent.length,n<=t&&r>=t)return{node:i,offset:t-n};n=r}n:{for(;i;){if(i.nextSibling){i=i.nextSibling;break n}i=i.parentNode}i=void 0}i=pb(i)}}function bb(){for(var i,t=window,n=fa();n instanceof t.HTMLIFrameElement;){try{i="string"==typeof n.contentWindow.location.href}catch(t){i=!1}if(!i)break;n=fa((t=n.contentWindow).document)}return n}function ea(n){var t=n&&n.nodeName&&n.nodeName.toLowerCase();return t&&("input"===t&&("text"===n.type||"search"===n.type||"tel"===n.type||"url"===n.type||"password"===n.type)||"textarea"===t||"true"===n.contentEditable)}function kb(n,t){switch(n){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function oa(n,t){return"textarea"===n||"option"===n||"noscript"===n||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function hu(n){for(;null!=n;n=n.nextSibling){var t=n.nodeType;if(1===t||3===t)break}return n}function gb(n){var i,t;for(n=n.previousSibling,i=0;n;){if(8===n.nodeType)if(t=n.data,"$"===t||"$!"===t||"$?"===t){if(0===i)return n;i--}else"/$"===t&&i++;n=n.previousSibling}return null}function gf(n){var i=n[pi],t;if(i)return i;for(t=n.parentNode;t;){if(i=t[df]||t[pi]){if(t=i.alternate,null!==i.child||null!==t&&null!==t.child)for(n=gb(n);null!==n;){if(t=n[pi])return t;n=gb(n)}return i}t=(n=t).parentNode}return null}function ne(n){return!(n=n[pi]||n[df])||5!==n.tag&&6!==n.tag&&13!==n.tag&&3!==n.tag?null:n}function or(n){if(5===n.tag||6===n.tag)return n.stateNode;throw Error(r(33));}function ha(n){return n[ss]||null}function nk(){var f;if(hs)return hs;for(var t,r=ca,u=r.length,i=("value"in sr)?sr.value:sr.textContent,e=i.length,n=0;n<u&&r[n]===i[n];n++);for(f=u-n,t=1;t<=f&&r[u-t]===i[e-t];t++);return hs=i.slice(n,1<t?1-t:void 0)}function uk(n,t){switch(n){case"keyup":return-1!==ert.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function fk(n){return"object"==typeof(n=n.detail)&&"data"in n?n.data:null}function ek(n){var t=n&&n.nodeName&&n.nodeName.toLowerCase();return"input"===t?!!hrt[n.type]:"textarea"===t}function ok(n,t,i){return(n=nt.getPooled(aa.change,n,t,i)).type="change",hp(i),ou(n),n}function crt(n){ho(n)}function cs(n){if(bp(or(n)))return n}function lrt(n,t){if("change"===n)return t}function sk(){ie&&(ie.detachEvent("onpropertychange",hk),lu=ie=null)}function hk(n){if("value"===n.propertyName&&cs(lu))if(n=ok(lu,n,vl(n)),fr)ho(n);else{fr=!0;try{yc(crt,n)}finally{fr=!1;bc()}}}function art(n,t,i){"focus"===n?(sk(),lu=i,(ie=t).attachEvent("onpropertychange",hk)):"blur"===n&&sk()}function vrt(n){if("selectionchange"===n||"keyup"===n||"keydown"===n)return cs(lu)}function yrt(n,t){if("click"===n)return cs(t)}function prt(n,t){if("input"===n||"change"===n)return cs(t)}function ue(n,t){if(hr(n,t))return!0;if("object"!=typeof n||null===n||"object"!=typeof t||null===t)return!1;var r=Object.keys(n),i=Object.keys(t);if(r.length!==i.length)return!1;for(i=0;i<r.length;i++)if(!krt.call(t,r[i])||!hr(n[r[i]],t[r[i]]))return!1;return!0}function lk(n,t){var i=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return pa||null==au||au!==fa(i)?null:(i="selectionStart"in(i=au)&&ea(i)?{start:i.selectionStart,end:i.selectionEnd}:{anchorNode:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset},fe&&ue(fe,i)?null:(fe=i,(n=nt.getPooled(ck.select,ya,n,t)).type="select",n.target=au,ou(n),n))}function l(n){0>cr||(n.current=as[cr],as[cr]=null,cr--)}function c(n,t){cr++;as[cr]=n.current;n.current=t}function vu(n,t){var f=n.type.contextTypes,i,u,r;if(!f)return wi;if(i=n.stateNode,i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;r={};for(u in f)r[u]=t[u];return i&&((n=n.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,n.__reactInternalMemoizedMaskedChildContext=r),r}function k(n){return null!=n.childContextTypes}function vs(){l(et);l(b)}function wa(){l(et);l(b)}function vk(n,t,i){if(b.current!==wi)throw Error(r(168));c(b,t);c(et,i)}function yk(n,t,i){var u=n.stateNode,f;if(n=t.childContextTypes,"function"!=typeof u.getChildContext)return i;for(f in u=u.getChildContext())if(!(f in n))throw Error(r(108,hi(t)||"Unknown",f));return p({},i,{},u)}function ys(n){var t=n.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||wi,lr=b.current,c(b,t),c(et,et.current),!0}function pk(n,t,i){var u=n.stateNode;if(!u)throw Error(r(169));i?(t=yk(n,t,lr),u.__reactInternalMemoizedMergedChildContext=t,l(et),l(b),c(b,t)):l(et);c(et,i)}function ga(){switch(tut()){case ps:return 99;case kk:return 98;case dk:return 97;case gk:return 96;case nd:return 95;default:throw Error(r(332));}}function rd(n){switch(n){case 99:return ps;case 98:return kk;case 97:return dk;case 96:return gk;case 95:return nd;default:throw Error(r(332));}}function yu(n,t){return n=rd(n),grt(n,t)}function ud(n,t,i){return n=rd(n),ba(n,t,i)}function fd(n){return null===ti?(ti=[n],ws=ba(ps,ed)):ti.push(n),td}function yt(){if(null!==ws){var n=ws;ws=null;wk(n)}ed()}function ed(){var n,t;if(!da&&null!==ti){da=!0;n=0;try{t=ti;yu(99,function(){for(;n<t.length;n++){var i=t[n];do i=i(!0);while(null!==i)}});ti=null}catch(t){throw null!==ti&&(ti=ti.slice(n+1)),ba(ps,yt),t;}finally{da=!1}}}function bs(n,t,i){return 1073741821-(1+((1073741821-n+t/10)/(i/=10)|0))*i}function ct(n,t){if(n&&n.defaultProps)for(var i in t=p({},t),n=n.defaultProps)void 0===t[i]&&(t[i]=n[i]);return t}function tv(){ds=pu=ks=null}function sd(n,t){var i=n.type._context;c(nv,i._currentValue);i._currentValue=t}function iv(n){var t=nv.current;l(nv);n.type._context._currentValue=t}function hd(n,t){for(;null!==n;){var i=n.alternate;if(n.childExpirationTime<t)n.childExpirationTime=t,null!==i&&i.childExpirationTime<t&&(i.childExpirationTime=t);else{if(!(null!==i&&i.childExpirationTime<t))break;i.childExpirationTime=t}n=n.return}}function wu(n,t){ks=n;ds=pu=null;null!==(n=n.dependencies)&&null!==n.firstContext&&(n.expirationTime>=t&&(lt=!0),n.firstContext=null)}function pt(n,t){if(ds!==n&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ds=n,t=1073741823),t={context:n,observedBits:t,next:null},null===pu){if(null===ks)throw Error(r(308));pu=t;ks.dependencies={expirationTime:0,firstContext:t,responders:null}}else pu=pu.next=t;return n._currentValue}function gs(n){return{baseState:n,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function rv(n){return{baseState:n.baseState,firstUpdate:n.firstUpdate,lastUpdate:n.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function bi(n,t){return{expirationTime:n,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function nh(n,t){null===n.lastUpdate?n.firstUpdate=n.lastUpdate=t:(n.lastUpdate.next=t,n.lastUpdate=t)}function ki(n,t){var u=n.alternate,i,r;null===u?(i=n.updateQueue,r=null,null===i&&(i=n.updateQueue=gs(n.memoizedState))):(i=n.updateQueue,r=u.updateQueue,null===i?null===r?(i=n.updateQueue=gs(n.memoizedState),r=u.updateQueue=gs(u.memoizedState)):i=n.updateQueue=rv(r):null===r&&(r=u.updateQueue=rv(i)));null===r||i===r?nh(i,t):null===i.lastUpdate||null===r.lastUpdate?(nh(i,t),nh(r,t)):(nh(i,t),r.lastUpdate=t)}function cd(n,t){var i=n.updateQueue;null===(i=null===i?n.updateQueue=gs(n.memoizedState):ld(n,i)).lastCapturedUpdate?i.firstCapturedUpdate=i.lastCapturedUpdate=t:(i.lastCapturedUpdate.next=t,i.lastCapturedUpdate=t)}function ld(n,t){var i=n.alternate;return null!==i&&t===i.updateQueue&&(t=n.updateQueue=rv(t)),t}function ad(n,t,i,r,u,f){switch(i.tag){case 1:return"function"==typeof(n=i.payload)?n.call(f,r,u):n;case 3:n.effectTag=-4097&n.effectTag|64;case 0:if(null==(u="function"==typeof(n=i.payload)?n.call(f,r,u):n))break;return p({},r,u);case 2:ii=!0}return r}function ee(n,t,i,r,u){var e,l;ii=!1;for(var c=(t=ld(n,t)).baseState,s=null,h=0,f=t.firstUpdate,o=c;null!==f;)e=f.expirationTime,e<u?(null===s&&(s=f,c=o),h<e&&(h=e)):(utt(e,f.suspenseConfig),o=ad(n,0,f,o,i,r),null!==f.callback&&(n.effectTag|=32,f.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=f:(t.lastEffect.nextEffect=f,t.lastEffect=f))),f=f.next;for(e=null,f=t.firstCapturedUpdate;null!==f;)l=f.expirationTime,l<u?(null===e&&(e=f,null===s&&(c=o)),h<l&&(h=l)):(o=ad(n,0,f,o,i,r),null!==f.callback&&(n.effectTag|=32,f.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=f:(t.lastCapturedEffect.nextEffect=f,t.lastCapturedEffect=f))),f=f.next;null===s&&(t.lastUpdate=null);null===e?t.lastCapturedUpdate=null:n.effectTag|=32;null===s&&null===e&&(c=o);t.baseState=c;t.firstUpdate=s;t.firstCapturedUpdate=e;kh(h);n.expirationTime=h;n.memoizedState=o}function vd(n,t,i){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null);yd(t.firstEffect,i);t.firstEffect=t.lastEffect=null;yd(t.firstCapturedEffect,i);t.firstCapturedEffect=t.lastCapturedEffect=null}function yd(n,t){for(var i,u;null!==n;){if(i=n.callback,null!==i){if(n.callback=null,u=t,"function"!=typeof i)throw Error(r(191,i));i.call(u)}n=n.nextEffect}}function th(n,t,i,r){i=null==(i=i(r,t=n.memoizedState))?t:p({},t,i);n.memoizedState=i;null!==(r=n.updateQueue)&&0===n.expirationTime&&(r.baseState=i)}function pd(n,t,i,r,u,f,e){return"function"==typeof(n=n.stateNode).shouldComponentUpdate?n.shouldComponentUpdate(r,f,e):!(t.prototype&&t.prototype.isPureReactComponent&&ue(i,r)&&ue(u,f))}function wd(n,t,i){var u=!1,f=wi,r=t.contextType;return"object"==typeof r&&null!==r?r=pt(r):(f=k(t)?lr:b.current,r=(u=null!=(u=t.contextTypes))?vu(n,f):wi),t=new t(i,r),n.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=oe,n.stateNode=t,t._reactInternalFiber=n,u&&((n=n.stateNode).__reactInternalMemoizedUnmaskedChildContext=f,n.__reactInternalMemoizedMaskedChildContext=r),t}function bd(n,t,i,r){n=t.state;"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(i,r);"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(i,r);t.state!==n&&oe.enqueueReplaceState(t,t.state,null)}function fv(n,t,i,r){var u=n.stateNode,f;u.props=i;u.state=n.memoizedState;u.refs=uv;f=t.contextType;"object"==typeof f&&null!==f?u.context=pt(f):(f=k(t)?lr:b.current,u.context=vu(n,f));null!==(f=n.updateQueue)&&(ee(n,f,i,u,r),u.state=n.memoizedState);"function"==typeof(f=t.getDerivedStateFromProps)&&(th(n,t,f,i),u.state=n.memoizedState);"function"==typeof t.getDerivedStateFromProps||"function"==typeof u.getSnapshotBeforeUpdate||"function"!=typeof u.UNSAFE_componentWillMount&&"function"!=typeof u.componentWillMount||(t=u.state,"function"==typeof u.componentWillMount&&u.componentWillMount(),"function"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount(),t!==u.state&&oe.enqueueReplaceState(u,u.state,null),null!==(f=n.updateQueue)&&(ee(n,f,i,u,r),u.state=n.memoizedState));"function"==typeof u.componentDidMount&&(n.effectTag|=4)}function he(n,t,i){var f,u;if(null!==(n=i.ref)&&"function"!=typeof n&&"object"!=typeof n){if(i._owner){if(i=i._owner){if(1!==i.tag)throw Error(r(309));f=i.stateNode}if(!f)throw Error(r(147,n));return u=""+n,null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===u?t.ref:((t=function(n){var t=f.refs;t===uv&&(t=f.refs={});null===n?delete t[u]:t[u]=n})._stringRef=u,t)}if("string"!=typeof n)throw Error(r(284));if(!i._owner)throw Error(r(290,n));}return n}function ih(n,t){if("textarea"!==n.type)throw Error(r(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""));}function kd(n){function i(t,i){if(n){var r=t.lastEffect;null!==r?(r.nextEffect=i,t.lastEffect=i):t.firstEffect=t.lastEffect=i;i.nextEffect=null;i.effectTag=8}}function t(t,r){if(!n)return null;for(;null!==r;)i(t,r),r=r.sibling;return null}function s(n,t){for(n=new Map;null!==t;)null!==t.key?n.set(t.key,t):n.set(t.index,t),t=t.sibling;return n}function u(n,t){return(n=kr(n,t)).index=0,n.sibling=null,n}function f(t,i,r){return t.index=r,n?null!==(r=t.alternate)?(r=r.index)<i?(t.effectTag=2,i):r:(t.effectTag=2,i):i}function o(t){return n&&null===t.alternate&&(t.effectTag=2),t}function h(n,t,i,r){return null===t||6!==t.tag?((t=hy(i,n.mode,r)).return=n,t):((t=u(t,i)).return=n,t)}function c(n,t,i,r){return null!==t&&t.elementType===i.type?((r=u(t,i.props)).ref=he(n,t,i),r.return=n,r):((r=nc(i.type,i.key,i.props,null,n.mode,r)).ref=he(n,t,i),r.return=n,r)}function l(n,t,i,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==i.containerInfo||t.stateNode.implementation!==i.implementation?((t=cy(i,n.mode,r)).return=n,t):((t=u(t,i.children||[])).return=n,t)}function e(n,t,i,r,f){return null===t||7!==t.tag?((t=rr(i,n.mode,r,f)).return=n,t):((t=u(t,i)).return=n,t)}function a(n,t,i){if("string"==typeof t||"number"==typeof t)return(t=hy(""+t,n.mode,i)).return=n,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case lo:return(i=nc(t.type,t.key,t.props,null,n.mode,i)).ref=he(n,null,t),i.return=n,i;case iu:return(t=cy(t,n.mode,i)).return=n,t}if(se(t)||of(t))return(t=rr(t,n.mode,i,null)).return=n,t;ih(n,t)}return null}function v(n,t,i,r){var u=null!==t?t.key:null;if("string"==typeof i||"number"==typeof i)return null!==u?null:h(n,t,""+i,r);if("object"==typeof i&&null!==i){switch(i.$$typeof){case lo:return i.key===u?i.type===si?e(n,t,i.props.children,r,u):c(n,t,i,r):null;case iu:return i.key===u?l(n,t,i,r):null}if(se(i)||of(i))return null!==u?null:e(n,t,i,r,null);ih(n,i)}return null}function y(n,t,i,r,u){if("string"==typeof r||"number"==typeof r)return h(t,n=n.get(i)||null,""+r,u);if("object"==typeof r&&null!==r){switch(r.$$typeof){case lo:return n=n.get(null===r.key?i:r.key)||null,r.type===si?e(t,n,r.props.children,u,r.key):c(t,n,r,u);case iu:return l(t,n=n.get(null===r.key?i:r.key)||null,r,u)}if(se(r)||of(r))return e(t,n=n.get(i)||null,r,u,null);ih(t,r)}return null}function p(r,u,e,o){for(var w,b=null,p=null,h=u,c=u=0,l=null;null!==h&&c<e.length;c++){if(h.index>c?(l=h,h=null):l=h.sibling,w=v(r,h,e[c],o),null===w){null===h&&(h=l);break}n&&h&&null===w.alternate&&i(r,h);u=f(w,u,c);null===p?b=w:p.sibling=w;p=w;h=l}if(c===e.length)return t(r,h),b;if(null===h){for(;c<e.length;c++)null!==(h=a(r,e[c],o))&&(u=f(h,u,c),null===p?b=h:p.sibling=h,p=h);return b}for(h=s(r,h);c<e.length;c++)null!==(l=y(h,r,c,e[c],o))&&(n&&null!==l.alternate&&h.delete(null===l.key?c:l.key),u=f(l,u,c),null===p?b=l:p.sibling=l,p=l);return n&&h.forEach(function(n){return i(r,n)}),b}function w(u,e,o,h){var p=of(o),k;if("function"!=typeof p)throw Error(r(150));if(null==(o=p.call(o)))throw Error(r(151));for(var w=p=null,l=e,b=e=0,d=null,c=o.next();null!==l&&!c.done;b++,c=o.next()){if(l.index>b?(d=l,l=null):d=l.sibling,k=v(u,l,c.value,h),null===k){null===l&&(l=d);break}n&&l&&null===k.alternate&&i(u,l);e=f(k,e,b);null===w?p=k:w.sibling=k;w=k;l=d}if(c.done)return t(u,l),p;if(null===l){for(;!c.done;b++,c=o.next())null!==(c=a(u,c.value,h))&&(e=f(c,e,b),null===w?p=c:w.sibling=c,w=c);return p}for(l=s(u,l);!c.done;b++,c=o.next())null!==(c=y(l,u,b,c.value,h))&&(n&&null!==c.alternate&&l.delete(null===c.key?b:c.key),e=f(c,e,b),null===w?p=c:w.sibling=c,w=c);return n&&l.forEach(function(n){return i(u,n)}),p}return function(n,f,e,s){var h="object"==typeof e&&null!==e&&e.type===si&&null===e.key,c;if(h&&(e=e.props.children),c="object"==typeof e&&null!==e,c)switch(e.$$typeof){case lo:n:{for(c=e.key,h=f;null!==h;){if(h.key===c){if(7===h.tag?e.type===si:h.elementType===e.type){t(n,h.sibling);(f=u(h,e.type===si?e.props.children:e.props)).ref=he(n,h,e);f.return=n;n=f;break n}t(n,h);break}i(n,h);h=h.sibling}e.type===si?((f=rr(e.props.children,n.mode,s,e.key)).return=n,n=f):((s=nc(e.type,e.key,e.props,null,n.mode,s)).ref=he(n,f,e),s.return=n,n=s)}return o(n);case iu:n:{for(h=e.key;null!==f;){if(f.key===h){if(4===f.tag&&f.stateNode.containerInfo===e.containerInfo&&f.stateNode.implementation===e.implementation){t(n,f.sibling);(f=u(f,e.children||[])).return=n;n=f;break n}t(n,f);break}i(n,f);f=f.sibling}(f=cy(e,n.mode,s)).return=n;n=f}return o(n)}if("string"==typeof e||"number"==typeof e)return e=""+e,null!==f&&6===f.tag?(t(n,f.sibling),(f=u(f,e)).return=n,n=f):(t(n,f),(f=hy(e,n.mode,s)).return=n,n=f),o(n);if(se(e))return p(n,f,e,s);if(of(e))return w(n,f,e,s);if(c&&ih(n,e),void 0===e&&!h)switch(n.tag){case 1:case 0:throw n=n.type,Error(r(152,n.displayName||n.name||"Component"));}return t(n,f)}}function ar(n){if(n===ce)throw Error(r(174));return n}function ov(n,t){c(ae,t);c(le,n);c(wt,ce);var i=t.nodeType;switch(i){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fl(null,"");break;default:t=fl(t=(i=8===i?t.parentNode:t).namespaceURI||null,i=i.tagName)}l(wt);c(wt,t)}function du(){l(wt);l(le);l(ae)}function dd(n){ar(ae.current);var t=ar(wt.current),i=fl(t,n.type);t!==i&&(c(le,n),c(wt,i))}function sv(n){le.current===n&&(l(wt),l(le))}function rh(n){for(var i,t=n;null!==t;){if(13===t.tag){if(i=t.memoizedState,null!==i&&(null===(i=i.dehydrated)||"$?"===i.data||"$!"===i.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t;t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return null;t=t.return}t.sibling.return=t.return;t=t.sibling}return null}function gd(n,t){return{responder:n,props:t}}function it(){throw Error(r(321));}function hv(n,t){if(null===t)return!1;for(var i=0;i<t.length&&i<n.length;i++)if(!hr(n[i],t[i]))return!1;return!0}function cv(n,t,i,u,f,e){if(ve=e,di=t,bt=null!==n?n.memoizedState:null,uh.current=null===bt?rut:cg,t=i(u,f),we){do we=!1,be+=1,bt=null!==n?n.memoizedState:null,nf=gu,ri=tt=d=null,uh.current=cg,t=i(u,f);while(we);ui=null;be=0}if(uh.current=fh,(n=di).memoizedState=gu,n.expirationTime=ye,n.updateQueue=ri,n.effectTag|=pe,n=null!==d&&null!==d.next,ve=0,nf=tt=gu=bt=d=di=null,ye=0,ri=null,pe=0,n)throw Error(r(300));return t}function ng(){uh.current=fh;ve=0;nf=tt=gu=bt=d=di=null;ye=0;ri=null;pe=0;we=!1;ui=null;be=0}function tf(){var n={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===tt?gu=tt=n:tt=tt.next=n,tt}function ke(){if(null!==nf)nf=(tt=nf).next,bt=null!==(d=bt)?d.next:null;else{if(null===bt)throw Error(r(310));var n={memoizedState:(d=bt).memoizedState,baseState:d.baseState,queue:d.queue,baseUpdate:d.baseUpdate,next:null};tt=null===tt?gu=n:tt.next=n;bt=d.next}return tt}function tg(n,t){return"function"==typeof t?t(n):t}function ig(n){var i=ke(),f=i.queue,u,e,t,s,h;if(null===f)throw Error(r(311));if(f.lastRenderedReducer=n,0<be){if(u=f.dispatch,null!==ui&&(e=ui.get(f),void 0!==e)){ui.delete(f);t=i.memoizedState;do t=n(t,e.action),e=e.next;while(null!==e);return hr(t,i.memoizedState)||(lt=!0),i.memoizedState=t,i.baseUpdate===f.last&&(i.baseState=t),f.lastRenderedState=t,[t,u]}return[i.memoizedState,u]}if(u=f.last,s=i.baseUpdate,t=i.baseState,null!==s?(null!==u&&(u.next=null),u=s.next):u=null!==u?u.next:null,null!==u){var c=e=null,o=u,l=!1;do h=o.expirationTime,h<ve?(l||(l=!0,c=s,e=t),h>ye&&kh(ye=h)):(utt(h,o.suspenseConfig),t=o.eagerReducer===n?o.eagerState:n(t,o.action)),s=o,o=o.next;while(null!==o&&o!==u);l||(c=s,e=t);hr(t,i.memoizedState)||(lt=!0);i.memoizedState=t;i.baseUpdate=c;i.baseState=e;f.lastRenderedState=t}return[i.memoizedState,f.dispatch]}function lv(n){var t=tf();return"function"==typeof n&&(n=n()),t.memoizedState=t.baseState=n,n=(n=t.queue={last:null,dispatch:null,lastRenderedReducer:tg,lastRenderedState:n}).dispatch=hg.bind(null,di,n),[t.memoizedState,n]}function av(){return ig(tg)}function vv(n,t,i,r){return n={tag:n,create:t,destroy:i,deps:r,next:null},null===ri?(ri={lastEffect:null}).lastEffect=n.next=n:null===(t=ri.lastEffect)?ri.lastEffect=n.next=n:(i=t.next,t.next=n,n.next=i,ri.lastEffect=n),n}function yv(n,t,i,r){var u=tf();pe|=n;u.memoizedState=vv(t,i,void 0,void 0===r?null:r)}function pv(n,t,i,r){var e=ke(),u,f;if(r=void 0===r?null:r,u=void 0,null!==d&&(f=d.memoizedState,u=f.destroy,null!==r&&hv(r,f.deps)))return void vv(0,i,u,r);pe|=n;e.memoizedState=vv(t,i,u,r)}function rg(n,t){return yv(516,192,n,t)}function ug(n,t){return pv(516,192,n,t)}function fg(n,t){return"function"==typeof t?(n=n(),t(n),function(){t(null)}):null!=t?(n=n(),t.current=n,function(){t.current=null}):void 0}function eg(){}function og(n,t){return tf().memoizedState=[n,void 0===t?null:t],n}function sg(n,t){var r=ke(),i;return t=void 0===t?null:t,i=r.memoizedState,null!==i&&null!==t&&hv(t,i[1])?i[0]:(r.memoizedState=[n,t],n)}function hg(n,t,i){var f,e,u,o,s,h,c;if(!(25>be))throw Error(r(301));if(f=n.alternate,n===di||null!==f&&f===di)if(we=!0,n={expirationTime:ve,suspenseConfig:null,action:i,eagerReducer:null,eagerState:null,next:null},null===ui&&(ui=new Map),void 0===(i=ui.get(t)))ui.set(t,n);else{for(t=i;null!==t.next;)t=t.next;t.next=n}else{if(e=at(),u=bu.suspense,u={expirationTime:e=pr(e,n,u),suspenseConfig:u,action:i,eagerReducer:null,eagerState:null,next:null},o=t.last,null===o?u.next=u:(s=o.next,null!==s&&(u.next=s),o.next=u),t.last=u,0===n.expirationTime&&(null===f||0===f.expirationTime)&&null!==(f=t.lastRenderedReducer))try{if(h=t.lastRenderedState,c=f(h,i),u.eagerReducer=f,u.eagerState=c,hr(c,h))return}catch(n){}tr(n,e)}}function lg(n,t){var i=kt(5,null,null,0);i.elementType="DELETED";i.type="DELETED";i.stateNode=t;i.return=n;i.effectTag=8;null!==n.lastEffect?(n.lastEffect.nextEffect=i,n.lastEffect=i):n.firstEffect=n.lastEffect=i}function ag(n,t){switch(n.tag){case 5:var i=n.type;return null!==(t=1!==t.nodeType||i.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(n.stateNode=t,!0);case 6:return null!==(t=""===n.pendingProps||3!==t.nodeType?null:t)&&(n.stateNode=t,!0);case 13:default:return!1}}function wv(n){var t,i;if(vr)if(t=gi,t){if(i=t,!ag(n,t)){if(!(t=hu(i.nextSibling))||!ag(n,t))return n.effectTag=-1025&n.effectTag|2,vr=!1,void(fi=n);lg(fi,i)}fi=n;gi=hu(t.firstChild)}else n.effectTag=-1025&n.effectTag|2,vr=!1,fi=n}function vg(n){for(n=n.return;null!==n&&5!==n.tag&&3!==n.tag&&13!==n.tag;)n=n.return;fi=n}function eh(n){var t,i;if(n!==fi)return!1;if(!vr)return vg(n),vr=!0,!1;if(t=n.type,5!==n.tag||"head"!==t&&"body"!==t&&!oa(t,n.memoizedProps))for(t=gi;t;)lg(n,t),t=hu(t.nextSibling);if(vg(n),13===n.tag){if(!(n=null!==(n=n.memoizedState)?n.dehydrated:null))throw Error(r(317));n:{for(n=n.nextSibling,t=0;n;){if(8===n.nodeType)if(i=n.data,"/$"===i){if(0===t){gi=hu(n.nextSibling);break n}t--}else"$"!==i&&"$!"!==i&&"$?"!==i||t++;n=n.nextSibling}gi=null}}else gi=fi?hu(n.stateNode.nextSibling):null;return!0}function bv(){gi=fi=null;vr=!1}function st(n,t,i,r){t.child=null===n?ev(t,null,i,r):ku(t,n.child,i,r)}function pg(n,t,i,r,u){i=i.render;var f=t.ref;return wu(t,u),r=cv(n,t,i,r,f,u),null===n||lt?(t.effectTag|=1,st(n,t,r,u),t.child):(t.updateQueue=n.updateQueue,t.effectTag&=-517,n.expirationTime<=u&&(n.expirationTime=0),ei(n,t,u))}function wg(n,t,i,r,u,f){if(null===n){var e=i.type;return"function"!=typeof e||sy(e)||void 0!==e.defaultProps||null!==i.compare||void 0!==i.defaultProps?((n=nc(i.type,null,r,null,t.mode,f)).ref=t.ref,n.return=t,t.child=n):(t.tag=15,t.type=e,bg(n,t,e,r,u,f))}return e=n.child,u<f&&(u=e.memoizedProps,(i=null!==(i=i.compare)?i:ue)(u,r)&&n.ref===t.ref)?ei(n,t,f):(t.effectTag|=1,(n=kr(e,r)).ref=t.ref,n.return=t,t.child=n)}function bg(n,t,i,r,u,f){return null!==n&&ue(n.memoizedProps,r)&&n.ref===t.ref&&(lt=!1,u<f)?ei(n,t,f):kv(n,t,i,r,f)}function kg(n,t){var i=t.ref;(null===n&&null!==i||null!==n&&n.ref!==i)&&(t.effectTag|=128)}function kv(n,t,i,r,u){var f=k(i)?lr:b.current;return f=vu(t,f),wu(t,u),i=cv(n,t,i,r,f,u),null===n||lt?(t.effectTag|=1,st(n,t,i,u),t.child):(t.updateQueue=n.updateQueue,t.effectTag&=-517,n.expirationTime<=u&&(n.expirationTime=0),ei(n,t,u))}function dg(n,t,i,r,u){var v,f,s,o,e,c,l,h,a;return k(i)?(v=!0,ys(t)):v=!1,(wu(t,u),null===t.stateNode)?(null!==n&&(n.alternate=null,t.alternate=null,t.effectTag|=2),wd(t,i,r),fv(t,i,r,u),r=!0):null===n?(f=t.stateNode,s=t.memoizedProps,f.props=s,o=f.context,e=i.contextType,e="object"==typeof e&&null!==e?pt(e):vu(t,e=k(i)?lr:b.current),c=i.getDerivedStateFromProps,l="function"==typeof c||"function"==typeof f.getSnapshotBeforeUpdate,l||"function"!=typeof f.UNSAFE_componentWillReceiveProps&&"function"!=typeof f.componentWillReceiveProps||(s!==r||o!==e)&&bd(t,f,r,e),ii=!1,h=t.memoizedState,o=f.state=h,a=t.updateQueue,null!==a&&(ee(t,a,r,f,u),o=t.memoizedState),s!==r||h!==o||et.current||ii?("function"==typeof c&&(th(t,i,c,r),o=t.memoizedState),(s=ii||pd(t,i,s,r,h,o,e))?(l||"function"!=typeof f.UNSAFE_componentWillMount&&"function"!=typeof f.componentWillMount||("function"==typeof f.componentWillMount&&f.componentWillMount(),"function"==typeof f.UNSAFE_componentWillMount&&f.UNSAFE_componentWillMount()),"function"==typeof f.componentDidMount&&(t.effectTag|=4)):("function"==typeof f.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=o),f.props=r,f.state=o,f.context=e,r=s):("function"==typeof f.componentDidMount&&(t.effectTag|=4),r=!1)):(f=t.stateNode,s=t.memoizedProps,f.props=t.type===t.elementType?s:ct(t.type,s),o=f.context,e="object"==typeof(e=i.contextType)&&null!==e?pt(e):vu(t,e=k(i)?lr:b.current),(l="function"==typeof(c=i.getDerivedStateFromProps)||"function"==typeof f.getSnapshotBeforeUpdate)||"function"!=typeof f.UNSAFE_componentWillReceiveProps&&"function"!=typeof f.componentWillReceiveProps||(s!==r||o!==e)&&bd(t,f,r,e),ii=!1,o=t.memoizedState,h=f.state=o,null!==(a=t.updateQueue)&&(ee(t,a,r,f,u),h=t.memoizedState),s!==r||o!==h||et.current||ii?("function"==typeof c&&(th(t,i,c,r),h=t.memoizedState),(c=ii||pd(t,i,s,r,o,h,e))?(l||"function"!=typeof f.UNSAFE_componentWillUpdate&&"function"!=typeof f.componentWillUpdate||("function"==typeof f.componentWillUpdate&&f.componentWillUpdate(r,h,e),"function"==typeof f.UNSAFE_componentWillUpdate&&f.UNSAFE_componentWillUpdate(r,h,e)),"function"==typeof f.componentDidUpdate&&(t.effectTag|=4),"function"==typeof f.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof f.componentDidUpdate||s===n.memoizedProps&&o===n.memoizedState||(t.effectTag|=4),"function"!=typeof f.getSnapshotBeforeUpdate||s===n.memoizedProps&&o===n.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=h),f.props=r,f.state=h,f.context=e,r=c):("function"!=typeof f.componentDidUpdate||s===n.memoizedProps&&o===n.memoizedState||(t.effectTag|=4),"function"!=typeof f.getSnapshotBeforeUpdate||s===n.memoizedProps&&o===n.memoizedState||(t.effectTag|=256),r=!1)),dv(n,t,i,r,v,u)}function dv(n,t,i,r,u,f){var e,o;return(kg(n,t),e=0!=(64&t.effectTag),!r&&!e)?(u&&pk(t,i,!1),ei(n,t,f)):(r=t.stateNode,yg.current=t,o=e&&"function"!=typeof i.getDerivedStateFromError?null:r.render(),t.effectTag|=1,null!==n&&e?(t.child=ku(t,n.child,null,f),t.child=ku(t,null,o,f)):st(n,t,o,f),t.memoizedState=r.state,u&&pk(t,i,!0),t.child)}function gg(n){var t=n.stateNode;t.pendingContext?vk(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vk(0,t.context,!1);ov(n,t.containerInfo)}function un(n,t,i){var e,f=t.mode,r=t.pendingProps,o=s.current,u=!1;if((e=0!=(64&t.effectTag))||(e=0!=(2&o)&&(null===n||null!==n.memoizedState)),e?(u=!0,t.effectTag&=-65):null!==n&&null===n.memoizedState||void 0===r.fallback||!0===r.unstable_avoidThisFallback||(o|=1),c(s,1&o),null===n){if(void 0!==r.fallback&&wv(t),u){if(u=r.fallback,(r=rr(null,f,0,null)).return=t,0==(2&t.mode))for(n=null!==t.memoizedState?t.child.child:t.child,r.child=n;null!==n;)n.return=r,n=n.sibling;return(i=rr(u,f,i,null)).return=t,r.sibling=i,t.memoizedState=oh,t.child=r,i}return f=r.children,t.memoizedState=null,t.child=ev(t,null,f,i)}if(null!==n.memoizedState){if(f=(n=n.child).sibling,u){if(r=r.fallback,(i=kr(n,n.pendingProps)).return=t,0==(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==n.child)for(i.child=u;null!==u;)u.return=i,u=u.sibling;return(f=kr(f,r,f.expirationTime)).return=t,i.sibling=f,i.childExpirationTime=0,t.memoizedState=oh,t.child=i,f}return i=ku(t,n.child,r.children,i),t.memoizedState=null,t.child=i}if(n=n.child,u){if(u=r.fallback,(r=rr(null,f,0,null)).return=t,r.child=n,null!==n&&(n.return=r),0==(2&t.mode))for(n=null!==t.memoizedState?t.child.child:t.child,r.child=n;null!==n;)n.return=r,n=n.sibling;return(i=rr(u,f,i,null)).return=t,r.sibling=i,i.effectTag|=2,r.childExpirationTime=0,t.memoizedState=oh,t.child=r,i}return t.memoizedState=null,t.child=ku(t,n,r.children,i)}function fn(n,t){n.expirationTime<t&&(n.expirationTime=t);var i=n.alternate;null!==i&&i.expirationTime<t&&(i.expirationTime=t);hd(n.return,t)}function gv(n,t,i,r,u,f){var e=n.memoizedState;null===e?n.memoizedState={isBackwards:t,rendering:null,last:r,tail:i,tailExpiration:0,tailMode:u,lastEffect:f}:(e.isBackwards=t,e.rendering=null,e.last=r,e.tail=i,e.tailExpiration=0,e.tailMode=u,e.lastEffect=f)}function en(n,t,i){var u=t.pendingProps,r=u.revealOrder,f=u.tail;if(st(n,t,u.children,i),0!=(2&(u=s.current)))u=1&u|2,t.effectTag|=64;else{if(null!==n&&0!=(64&n.effectTag))n:for(n=t.child;null!==n;){if(13===n.tag)null!==n.memoizedState&&fn(n,i);else if(19===n.tag)fn(n,i);else if(null!==n.child){n.child.return=n;n=n.child;continue}if(n===t)break n;for(;null===n.sibling;){if(null===n.return||n.return===t)break n;n=n.return}n.sibling.return=n.return;n=n.sibling}u&=1}if(c(s,u),0==(2&t.mode))t.memoizedState=null;else switch(r){case"forwards":for(i=t.child,r=null;null!==i;)null!==(n=i.alternate)&&null===rh(n)&&(r=i),i=i.sibling;null===(i=r)?(r=t.child,t.child=null):(r=i.sibling,i.sibling=null);gv(t,!1,r,i,f,t.lastEffect);break;case"backwards":for(i=null,r=t.child,t.child=null;null!==r;){if(null!==(n=r.alternate)&&null===rh(n)){t.child=r;break}n=r.sibling;r.sibling=i;i=r;r=n}gv(t,!0,i,null,f,t.lastEffect);break;case"together":gv(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ei(n,t,i){null!==n&&(t.dependencies=n.dependencies);var u=t.expirationTime;if(0!==u&&kh(u),t.childExpirationTime<i)return null;if(null!==n&&t.child!==n.child)throw Error(r(153));if(null!==t.child){for(i=kr(n=t.child,n.pendingProps,n.expirationTime),t.child=i,i.return=t;null!==n.sibling;)n=n.sibling,(i=i.sibling=kr(n,n.pendingProps,n.expirationTime)).return=t;i.sibling=null}return t.child}function rf(n){n.effectTag|=4}function sh(n,t){var i,r;switch(n.tailMode){case"hidden":for(t=n.tail,i=null;null!==t;)null!==t.alternate&&(i=t),t=t.sibling;null===i?n.tail=null:i.sibling=null;break;case"collapsed":for(i=n.tail,r=null;null!==i;)null!==i.alternate&&(r=i),i=i.sibling;null===r?t||null===n.tail?n.tail=null:n.tail.sibling=null:r.sibling=null}}function uut(n){switch(n.tag){case 1:k(n.type)&&vs();var t=n.effectTag;return 4096&t?(n.effectTag=-4097&t|64,n):null;case 3:if(du(),wa(),0!=(64&(t=n.effectTag)))throw Error(r(285));return n.effectTag=-4097&t|64,n;case 5:return sv(n),null;case 13:return l(s),4096&(t=n.effectTag)?(n.effectTag=-4097&t|64,n):null;case 19:return l(s),null;case 4:return du(),null;case 10:return iv(n),null;default:return null}}function ny(n,t){return{value:n,source:t,stack:ac(t)}}function ty(n,t){var i=t.source,r=t.stack;null===r&&null!==i&&(r=ac(i));null!==i&&hi(i.type);t=t.value;null!==n&&1===n.tag&&hi(n.type)}function sn(n){var t=n.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){br(n,t)}else t.current=null}function fut(n,t){switch(t.tag){case 0:case 11:case 15:de(2,0,t);break;case 1:if(256&t.effectTag&&null!==n){var i=n.memoizedProps,u=n.memoizedState;t=(n=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?i:ct(t.type,i),u);n.__reactInternalSnapshotBeforeUpdate=t}break;case 3:case 5:case 6:case 4:case 17:break;default:throw Error(r(163));}}function de(n,t,i){var r,u;if(null!==(i=null!==(i=i.updateQueue)?i.lastEffect:null)){r=i=i.next;do 0!=(r.tag&n)&&(u=r.destroy,r.destroy=void 0,void 0!==u&&u()),0!=(r.tag&t)&&(u=r.create,r.destroy=u()),r=r.next;while(r!==i)}}function hn(n,t,i){switch("function"==typeof gh&&gh(t),t.tag){case 0:case 11:case 14:case 15:if(null!==(n=t.updateQueue)&&null!==(n=n.lastEffect)){var r=n.next;yu(97<i?97:i,function(){var n=r,i,u;do{if(i=n.destroy,void 0!==i){u=t;try{i()}catch(n){br(u,n)}}n=n.next}while(n!==r)})}break;case 1:sn(t);"function"==typeof(i=t.stateNode).componentWillUnmount&&function(n,t){try{t.props=n.memoizedProps;t.state=n.memoizedState;t.componentWillUnmount()}catch(t){br(n,t)}}(t,i);break;case 5:sn(t);break;case 4:vn(n,t,i)}}function cn(n){var t=n.alternate;n.return=null;n.child=null;n.memoizedState=null;n.updateQueue=null;n.dependencies=null;n.alternate=null;n.firstEffect=null;n.lastEffect=null;n.pendingProps=null;n.memoizedProps=null;null!==t&&cn(t)}function ln(n){return 5===n.tag||3===n.tag||4===n.tag}function an(n){var u,t,s,i,f,e,o;n:{for(u=n.return;null!==u;){if(ln(u)){t=u;break n}u=u.return}throw Error(r(160));}switch(u=t.stateNode,t.tag){case 5:s=!1;break;case 3:case 4:u=u.containerInfo;s=!0;break;default:throw Error(r(161));}16&t.effectTag&&(sf(u,""),t.effectTag&=-17);n:t:for(t=n;;){for(;null===t.sibling;){if(null===t.return||ln(t.return)){t=null;break n}t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.effectTag)continue t;if(null===t.child||4===t.tag)continue t;t.child.return=t;t=t.child}if(!(2&t.effectTag)){t=t.stateNode;break n}}for(i=n;;){if(f=5===i.tag||6===i.tag,f)e=f?i.stateNode:i.stateNode.instance,t?s?(o=e,e=t,8===(f=u).nodeType?f.parentNode.insertBefore(o,e):f.insertBefore(o,e)):u.insertBefore(e,t):s?(8===(o=u).nodeType?(f=o.parentNode).insertBefore(e,o):(f=o).appendChild(e),null!=(o=o._reactRootContainer)||null!==f.onclick||(f.onclick=us)):u.appendChild(e);else if(4!==i.tag&&null!==i.child){i.child.return=i;i=i.child;continue}if(i===n)break;for(;null===i.sibling;){if(null===i.return||i.return===n)return;i=i.return}i.sibling.return=i.return;i=i.sibling}}function vn(n,t,i){for(var o,c,u=t,e=!1;;){if(!e){e=u.return;n:for(;;){if(null===e)throw Error(r(160));switch(o=e.stateNode,e.tag){case 5:c=!1;break n;case 3:case 4:o=o.containerInfo;c=!0;break n}e=e.return}e=!0}if(5===u.tag||6===u.tag){n:for(var h=n,s=u,l=i,f=s;;)if(hn(h,f,l),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===s)break;for(;null===f.sibling;){if(null===f.return||f.return===s)break n;f=f.return}f.sibling.return=f.return;f=f.sibling}c?(h=o,s=u.stateNode,8===h.nodeType?h.parentNode.removeChild(s):h.removeChild(s)):o.removeChild(u.stateNode)}else if(4===u.tag){if(null!==u.child){o=u.stateNode.containerInfo;c=!0;u.child.return=u;u=u.child;continue}}else if(hn(n,u,i),null!==u.child){u.child.return=u;u=u.child;continue}if(u===t)break;for(;null===u.sibling;){if(null===u.return||u.return===t)return;4===(u=u.return).tag&&(e=!1)}u.sibling.return=u.return;u=u.sibling}}function iy(n,t){var u,i,e,f,o,s;switch(t.tag){case 0:case 11:case 14:case 15:de(4,8,t);break;case 1:break;case 5:if(u=t.stateNode,null!=u&&(i=t.memoizedProps,e=null!==n?n.memoizedProps:i,n=t.type,f=t.updateQueue,t.updateQueue=null,null!==f)){for(u[ss]=i,"input"===n&&"radio"===i.type&&null!=i.name&&dp(u,i),ua(n,e),t=ua(n,i),e=0;e<f.length;e+=2)o=f[e],s=f[e+1],"style"===o?vb(u,s):"dangerouslySetInnerHTML"===o?ol(u,s):"children"===o?sf(u,s):dc(u,o,s,t);switch(n){case"input":nl(u,i);break;case"textarea":tw(u,i);break;case"select":t=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!i.multiple;null!=(n=i.value)?fu(u,!!i.multiple,n,!1):t!==!!i.multiple&&(null!=i.defaultValue?fu(u,!!i.multiple,i.defaultValue,!0):fu(u,!!i.multiple,i.multiple?[]:"",!1))}}break;case 6:if(null===t.stateNode)throw Error(r(162));t.stateNode.nodeValue=t.memoizedProps;break;case 3:(t=t.stateNode).hydrate&&(t.hydrate=!1,ww(t.containerInfo));break;case 12:break;case 13:if(u=t,null===t.memoizedState?i=!1:(i=!0,u=t.child,ry=ht()),null!==u)n:for(n=u;;){if(5===n.tag)f=n.stateNode,i?"function"==typeof(f=f.style).setProperty?f.setProperty("display","none","important"):f.display="none":(f=n.stateNode,e=null!=(e=n.memoizedProps.style)&&e.hasOwnProperty("display")?e.display:null,f.style.display=ab("display",e));else if(6===n.tag)n.stateNode.nodeValue=i?"":n.memoizedProps;else{if(13===n.tag&&null!==n.memoizedState&&null===n.memoizedState.dehydrated){(f=n.child.sibling).return=n;n=f;continue}if(null!==n.child){n.child.return=n;n=n.child;continue}}if(n===u)break n;for(;null===n.sibling;){if(null===n.return||n.return===u)break n;n=n.return}n.sibling.return=n.return;n=n.sibling}yn(t);break;case 19:yn(t);break;case 17:case 20:case 21:break;default:throw Error(r(163));}}function yn(n){var i=n.updateQueue,t;null!==i&&(n.updateQueue=null,t=n.stateNode,null===t&&(t=n.stateNode=new on),i.forEach(function(i){var r=vut.bind(null,n,i);t.has(i)||(t.add(i),i.then(r,r))}))}function wn(n,t,i){(i=bi(i,null)).tag=3;i.payload={element:null};var r=t.value;return i.callback=function(){vh||(vh=!0,uy=r);ty(n,t)},i}function bn(n,t,i){var r,f,u;return(i=bi(i,null)).tag=3,r=n.type.getDerivedStateFromError,"function"==typeof r&&(f=t.value,i.payload=function(){return ty(n,t),r(f)}),u=n.stateNode,null!==u&&"function"==typeof u.componentDidCatch&&(i.callback=function(){"function"!=typeof r&&(null===nr?nr=new Set([this]):nr.add(this),ty(n,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:null!==i?i:""})}),i}function at(){return 0!=(48&f)?1073741821-(ht()/10|0):0!==ph?ph:ph=1073741821-(ht()/10|0)}function pr(n,t,i){if(0==(2&(t=t.mode)))return 1073741823;var u=ga();if(0==(4&t))return 99===u?1073741823:1073741822;if(0!=(16&f))return g;if(null!==i)n=bs(n,0|i.timeoutMs||5e3,250);else switch(u){case 99:n=1073741823;break;case 98:n=bs(n,150,100);break;case 97:case 96:n=bs(n,5e3,250);break;case 95:n=2;break;default:throw Error(r(326));}return null!==rt&&n===g&&--n,n}function tr(n,t){if(50<ro)throw ro=0,fy=null,Error(r(185));if(null!==(n=wh(n,t))){var i=ga();1073741823===t?0!=(8&f)&&0==(48&f)?ey(n):(ut(n),0===f&&yt()):ut(n);0==(4&f)||98!==i&&99!==i||(null===yr?yr=new Map([[n,t]]):(void 0===(i=yr.get(n))||i>t)&&yr.set(n,t))}}function wh(n,t){var r,i,u;if(n.expirationTime<t&&(n.expirationTime=t),r=n.alternate,null!==r&&r.expirationTime<t&&(r.expirationTime=t),i=n.return,u=null,null===i&&3===n.tag)u=n.stateNode;else for(;null!==i;){if(r=i.alternate,i.childExpirationTime<t&&(i.childExpirationTime=t),null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t),null===i.return&&3===i.tag){u=i.stateNode;break}i=i.return}return null!==u&&(rt===u&&(kh(t),4===v&&dr(u,g)),htt(u,t)),u}function bh(n){var t=n.lastExpiredTime;return 0!==t?t:stt(n,t=n.firstPendingTime)?(t=n.lastPingedTime)>(n=n.nextKnownPendingLevel)?t:n:t}function ut(n){var t,r,i,u;if(0!==n.lastExpiredTime)n.callbackExpirationTime=1073741823,n.callbackPriority=99,n.callbackNode=fd(ey.bind(null,n));else if(t=bh(n),r=n.callbackNode,0===t)null!==r&&(n.callbackNode=null,n.callbackExpirationTime=0,n.callbackPriority=90);else{if(i=at(),i=1073741823===t?99:1===t||2===t?95:0>=(i=10*(1073741821-t)-10*(1073741821-i))?99:250>=i?98:5250>=i?97:95,null!==r){if(u=n.callbackPriority,n.callbackExpirationTime===t&&u>=i)return;r!==td&&wk(r)}n.callbackExpirationTime=t;n.callbackPriority=i;t=1073741823===t?fd(ey.bind(null,n)):ud(i,gn.bind(null,n),{timeout:10*(1073741821-t)-ht()});n.callbackNode=t}}function gn(n,t){var u,i,o,s,h;if(ph=0,t)return ly(n,t=at()),ut(n),null;if(u=bh(n),0!==u){if(t=n.callbackNode,0!=(48&f))throw Error(r(327));if(uf(),n===rt&&u===g||wr(n,u),null!==e){for(i=f,f|=16,o=rtt();;)try{sut();break}catch(t){itt(n,t)}if(tv(),f=i,hh.current=o,1===v)throw t=ch,wr(n,u),dr(n,u),ut(n),t;if(null===e)switch(o=n.finishedWork=n.current.alternate,n.finishedExpirationTime=u,i=v,rt=null,i){case 0:case 1:throw Error(r(345));case 2:ly(n,2<u?2:u);break;case 3:if(dr(n,u),u===(i=n.lastSuspendedTime)&&(n.nextKnownPendingLevel=oy(o)),1073741823===oi&&10<(o=ry+500-ht())){if(ah&&(s=n.lastPingedTime,0===s||s>=u)){n.lastPingedTime=u;wr(n,u);break}if(0!==(s=bh(n))&&s!==u)break;if(0!==i&&i!==u){n.lastPingedTime=i;break}n.timeoutHandle=os(ir.bind(null,n),o);break}ir(n);break;case 4:if(dr(n,u),u===(i=n.lastSuspendedTime)&&(n.nextKnownPendingLevel=oy(o)),ah&&(0===(o=n.lastPingedTime)||o>=u)){n.lastPingedTime=u;wr(n,u);break}if(0!==(o=bh(n))&&o!==u)break;if(0!==i&&i!==u){n.lastPingedTime=i;break}if(1073741823!==ge?i=10*(1073741821-ge)-ht():1073741823===oi?i=0:(i=10*(1073741821-oi)-5e3,0>(i=(o=ht())-i)&&(i=0),(u=10*(1073741821-u)-o)<(i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*eut(i/1960))-i)&&(i=u)),10<i){n.timeoutHandle=os(ir.bind(null,n),i);break}ir(n);break;case 5:if(1073741823!==oi&&null!==lh&&(s=oi,h=lh,0>=(i=0|h.busyMinDurationMs)?i=0:(o=0|h.busyDelayMs,i=(s=ht()-(10*(1073741821-s)-(0|h.timeoutMs||5e3)))<=o?0:o+i-s),10<i)){dr(n,u);n.timeoutHandle=os(ir.bind(null,n),i);break}ir(n);break;default:throw Error(r(329));}if(ut(n),n.callbackNode===t)return gn.bind(null,n)}}return null}function ey(n){var t=n.lastExpiredTime,i,u;if(t=0!==t?t:1073741823,n.finishedExpirationTime===t)ir(n);else{if(0!=(48&f))throw Error(r(327));if(uf(),n===rt&&t===g||wr(n,t),null!==e){for(i=f,f|=16,u=rtt();;)try{out();break}catch(t){itt(n,t)}if(tv(),f=i,hh.current=u,1===v)throw i=ch,wr(n,t),dr(n,t),ut(n),i;if(null!==e)throw Error(r(261));n.finishedWork=n.current.alternate;n.finishedExpirationTime=t;rt=null;ir(n);ut(n)}}return null}function ntt(n,t){var i=f;f|=1;try{return n(t)}finally{0===(f=i)&&yt()}}function ttt(n,t){var i=f;f&=-2;f|=8;try{return n(t)}finally{0===(f=i)&&yt()}}function wr(n,t){var i,r;if(n.finishedWork=null,n.finishedExpirationTime=0,i=n.timeoutHandle,-1!==i&&(n.timeoutHandle=-1,db(i)),null!==e)for(i=e.return;null!==i;){r=i;switch(r.tag){case 1:null!=r.type.childContextTypes&&vs();break;case 3:du();wa();break;case 5:sv(r);break;case 4:du();break;case 13:case 19:l(s);break;case 10:iv(r)}i=i.return}rt=n;e=kr(n.current,null);g=t;v=0;ch=null;ge=oi=1073741823;lh=null;no=0;ah=!1}function itt(n,t){for(var h,a,y,p,w,b,o,k,nt,c;;){try{if(tv(),ng(),null===e||null===e.return)return v=1,ch=t,null;n:{var l=n,d=e.return,u=e,r=t;if(t=g,u.effectTag|=2048,u.firstEffect=u.lastEffect=null,null!==r&&"object"==typeof r&&"function"==typeof r.then){var f=r,tt=0!=(1&s.current),i=d;do{if((h=13===i.tag)&&(a=i.memoizedState,null!==a?h=null!==a.dehydrated:(y=i.memoizedProps,h=void 0!==y.fallback&&(!0!==y.unstable_avoidThisFallback||!tt))),h){if(p=i.updateQueue,null===p?(w=new Set,w.add(f),i.updateQueue=w):p.add(f),0==(2&i.mode)){(i.effectTag|=64,u.effectTag&=-2981,1===u.tag)&&(null===u.alternate?u.tag=17:(b=bi(1073741823,null),b.tag=2,ki(u,b)));u.expirationTime=1073741823;break n}r=void 0;u=t;o=l.pingCache;(null===o?(o=l.pingCache=new pn,r=new Set,o.set(f,r)):void 0===(r=o.get(f))&&(r=new Set,o.set(f,r)),r.has(u))||(r.add(u),k=aut.bind(null,l,f,u),f.then(k,k));i.effectTag|=4096;i.expirationTime=t;break n}i=i.return}while(null!==i);r=Error((hi(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ac(u))}5!==v&&(v=2);r=ny(r,u);i=d;do{switch(i.tag){case 3:f=r;i.effectTag|=4096;i.expirationTime=t;cd(i,wn(i,f,t));break n;case 1:if(f=r,nt=i.type,c=i.stateNode,0==(64&i.effectTag)&&("function"==typeof nt.getDerivedStateFromError||null!==c&&"function"==typeof c.componentDidCatch&&(null===nr||!nr.has(c)))){i.effectTag|=4096;i.expirationTime=t;cd(i,bn(i,f,t));break n}}i=i.return}while(null!==i)}e=ett(e)}catch(n){t=n;continue}break}}function rtt(){var n=hh.current;return hh.current=fh,null===n?fh:n}function utt(n,t){n<oi&&2<n&&(oi=n);null!==t&&n<ge&&2<n&&(ge=n,lh=t)}function kh(n){n>no&&(no=n)}function out(){for(;null!==e;)e=ftt(e)}function sut(){for(;null!==e&&!nut();)e=ftt(e)}function ftt(n){var t=kn(n.alternate,n,g);return n.memoizedProps=n.pendingProps,null===t&&(t=ett(n)),dn.current=null,t}function ett(n){var i,a,b,y,u,w,tt,ut,nt,it,d;e=n;do{if(i=e.alternate,n=e.return,0==(2048&e.effectTag)){n:{var h=i,t=g,f=(i=e).pendingProps;switch(i.tag){case 2:case 16:break;case 15:case 0:break;case 1:k(i.type)&&vs();break;case 3:du();wa();(f=i.stateNode).pendingContext&&(f.context=f.pendingContext,f.pendingContext=null);(null===h||null===h.child)&&eh(i)&&rf(i);break;case 5:if(sv(i),t=ar(ae.current),a=i.type,null!==h&&null!=i.stateNode)tn(h,i,a,f,t),h.ref!==i.ref&&(i.effectTag|=128);else if(f){if(b=ar(wt.current),eh(i)){y=(f=i).stateNode;h=f.type;u=f.memoizedProps;w=t;switch(y[pi]=f,y[ss]=u,a=void 0,t=y,h){case"iframe":case"object":case"embed":o("load",t);break;case"video":case"audio":for(y=0;y<hf.length;y++)o(hf[y],t);break;case"source":o("error",t);break;case"img":case"image":case"link":o("error",t);o("load",t);break;case"form":o("reset",t);o("submit",t);break;case"details":o("toggle",t);break;case"input":kp(t,u);o("invalid",t);gt(w,"onChange");break;case"select":t._wrapperState={wasMultiple:!!u.multiple};o("invalid",t);gt(w,"onChange");break;case"textarea":nw(t,u);o("invalid",t);gt(w,"onChange")}for(a in ra(h,u),y=null,u)u.hasOwnProperty(a)&&(b=u[a],"children"===a?"string"==typeof b?t.textContent!==b&&(y=["children",b]):"number"==typeof b&&t.textContent!==""+b&&(y=["children",""+b]):gr.hasOwnProperty(a)&&null!=b&&gt(w,a));switch(h){case"input":po(t);gp(t,u,!0);break;case"textarea":po(t);iw(t);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(t.onclick=us)}a=y;f.updateQueue=a;(f=null!==a)&&rf(i)}else{h=i;w=a;u=f;y=9===t.nodeType?t:t.ownerDocument;b===ul&&(b=rw(w));b===ul?"script"===w?((u=y.createElement("div")).innerHTML="<script><\/script>",y=u.removeChild(u.firstChild)):"string"==typeof u.is?y=y.createElement(w,{is:u.is}):(y=y.createElement(w),"select"===w&&(w=y,u.multiple?w.multiple=!0:u.size&&(w.size=u.size))):y=y.createElementNS(b,w);(u=y)[pi]=h;u[ss]=f;nn(u,i);i.stateNode=u;tt=t;ut=ua(w=a,h=f);switch(w){case"iframe":case"object":case"embed":o("load",u);t=h;break;case"video":case"audio":for(t=0;t<hf.length;t++)o(hf[t],u);t=h;break;case"source":o("error",u);t=h;break;case"img":case"image":case"link":o("error",u);o("load",u);t=h;break;case"form":o("reset",u);o("submit",u);t=h;break;case"details":o("toggle",u);t=h;break;case"input":kp(u,h);t=gc(u,h);o("invalid",u);gt(tt,"onChange");break;case"option":t=il(u,h);break;case"select":u._wrapperState={wasMultiple:!!h.multiple};t=p({},h,{value:void 0});o("invalid",u);gt(tt,"onChange");break;case"textarea":nw(u,h);t=rl(u,h);o("invalid",u);gt(tt,"onChange");break;default:t=h}ra(w,t);y=void 0;b=w;nt=u;it=t;for(y in it)it.hasOwnProperty(y)&&(d=it[y],"style"===y?vb(nt,d):"dangerouslySetInnerHTML"===y?null!=(d=d?d.__html:void 0)&&ol(nt,d):"children"===y?"string"==typeof d?("textarea"!==b||""!==d)&&sf(nt,d):"number"==typeof d&&sf(nt,""+d):"suppressContentEditableWarning"!==y&&"suppressHydrationWarning"!==y&&"autoFocus"!==y&&(gr.hasOwnProperty(y)?null!=d&&gt(tt,y):null!=d&&dc(nt,y,d,ut)));switch(w){case"input":po(u);gp(u,h,!1);break;case"textarea":po(u);iw(u);break;case"option":null!=h.value&&u.setAttribute("value",""+li(h.value));break;case"select":(t=u).multiple=!!h.multiple;null!=(u=h.value)?fu(t,!!h.multiple,u,!1):null!=h.defaultValue&&fu(t,!!h.multiple,h.defaultValue,!0);break;default:"function"==typeof t.onClick&&(u.onclick=us)}(f=kb(a,f))&&rf(i)}null!==i.ref&&(i.effectTag|=128)}else if(null===i.stateNode)throw Error(r(166));break;case 6:if(h&&null!=i.stateNode)rn(0,i,h.memoizedProps,f);else{if("string"!=typeof f&&null===i.stateNode)throw Error(r(166));t=ar(ae.current);ar(wt.current);eh(i)?(a=(f=i).stateNode,t=f.memoizedProps,a[pi]=f,(f=a.nodeValue!==t)&&rf(i)):(a=i,(f=(9===t.nodeType?t:t.ownerDocument).createTextNode(f))[pi]=a,i.stateNode=f)}break;case 11:break;case 13:if(l(s),f=i.memoizedState,0!=(64&i.effectTag)){i.expirationTime=t;break n}f=null!==f;a=!1;null===h?void 0!==i.memoizedProps.fallback&&eh(i):(a=null!==(t=h.memoizedState),f||null===t||null!==(t=h.child.sibling)&&(null!==(u=i.firstEffect)?(i.firstEffect=t,t.nextEffect=u):(i.firstEffect=i.lastEffect=t,t.nextEffect=null),t.effectTag=8));f&&!a&&0!=(2&i.mode)&&(null===h&&!0!==i.memoizedProps.unstable_avoidThisFallback||0!=(1&s.current)?0===v&&(v=3):(0!==v&&3!==v||(v=4),0!==no&&null!==rt&&(dr(rt,g),htt(rt,no))));(f||a)&&(i.effectTag|=4);break;case 7:case 8:case 12:break;case 4:du();break;case 10:iv(i);break;case 9:case 14:break;case 17:k(i.type)&&vs();break;case 19:if(l(s),null===(f=i.memoizedState))break;if(a=0!=(64&i.effectTag),null===(u=f.rendering)){if(a)sh(f,!1);else if(0!==v||null!==h&&0!=(64&h.effectTag))for(h=i.child;null!==h;){if(null!==(u=rh(h))){for(i.effectTag|=64,sh(f,!1),null!==(a=u.updateQueue)&&(i.updateQueue=a,i.effectTag|=4),null===f.lastEffect&&(i.firstEffect=null),i.lastEffect=f.lastEffect,f=t,a=i.child;null!==a;)h=f,(t=a).effectTag&=2,t.nextEffect=null,t.firstEffect=null,t.lastEffect=null,null===(u=t.alternate)?(t.childExpirationTime=0,t.expirationTime=h,t.child=null,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null):(t.childExpirationTime=u.childExpirationTime,t.expirationTime=u.expirationTime,t.child=u.child,t.memoizedProps=u.memoizedProps,t.memoizedState=u.memoizedState,t.updateQueue=u.updateQueue,h=u.dependencies,t.dependencies=null===h?null:{expirationTime:h.expirationTime,firstContext:h.firstContext,responders:h.responders}),a=a.sibling;c(s,1&s.current|2);i=i.child;break n}h=h.sibling}}else{if(!a)if(null!==(h=rh(u))){if(i.effectTag|=64,a=!0,null!==(t=h.updateQueue)&&(i.updateQueue=t,i.effectTag|=4),sh(f,!0),null===f.tail&&"hidden"===f.tailMode&&!u.alternate){null!==(i=i.lastEffect=f.lastEffect)&&(i.nextEffect=null);break}}else ht()>f.tailExpiration&&1<t&&(i.effectTag|=64,a=!0,sh(f,!1),i.expirationTime=i.childExpirationTime=t-1);f.isBackwards?(u.sibling=i.child,i.child=u):(null!==(t=f.last)?t.sibling=u:i.child=u,f.last=u)}if(null!==f.tail){0===f.tailExpiration&&(f.tailExpiration=ht()+500);t=f.tail;f.rendering=t;f.tail=t.sibling;f.lastEffect=i.lastEffect;t.sibling=null;f=s.current;c(s,f=a?1&f|2:1&f);i=t;break n}break;case 20:case 21:break;default:throw Error(r(156,i.tag));}i=null}if(f=e,1===g||1!==f.childExpirationTime){for(a=0,t=f.child;null!==t;)(h=t.expirationTime)>a&&(a=h),(u=t.childExpirationTime)>a&&(a=u),t=t.sibling;f.childExpirationTime=a}if(null!==i)return i;null!==n&&0==(2048&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e))}else{if(null!==(i=uut(e)))return i.effectTag&=2047,i;null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=2048)}if(null!==(i=e.sibling))return i;e=n}while(null!==e);return 0===v&&(v=5),null}function oy(n){var t=n.expirationTime;return t>(n=n.childExpirationTime)?t:n}function ir(n){var t=ga();return yu(99,hut.bind(null,n,t)),null}function hut(n,t){var a,b,w,bt,c,s,p,l,y,ot,h,i,o,st,k,tt,kt,ht,lt,dt,at,vt,pt,it,wt;do uf();while(null!==to);if(0!=(48&f))throw Error(r(327));if(a=n.finishedWork,b=n.finishedExpirationTime,null===a)return null;if(n.finishedWork=null,n.finishedExpirationTime=0,a===n.current)throw Error(r(177));if(n.callbackNode=null,n.callbackExpirationTime=0,n.callbackPriority=90,n.nextKnownPendingLevel=0,w=oy(a),n.firstPendingTime=w,b<=n.lastSuspendedTime?n.firstSuspendedTime=n.lastSuspendedTime=n.nextKnownPendingLevel=0:b<=n.firstSuspendedTime&&(n.firstSuspendedTime=b-1),b<=n.lastPingedTime&&(n.lastPingedTime=0),b<=n.lastExpiredTime&&(n.lastExpiredTime=0),n===rt&&(e=rt=null,g=0),1<a.effectTag?null!==a.lastEffect?(a.lastEffect.nextEffect=a,w=a.firstEffect):w=a:w=a.firstEffect,null!==w){if(bt=f,f|=32,dn.current=null,fs=bf,c=bb(),ea(c)){if("selectionStart"in c)s={start:c.selectionStart,end:c.selectionEnd};else n:{if(p=(s=(s=c.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection(),p&&0!==p.rangeCount){s=p.anchorNode;l=p.anchorOffset;y=p.focusNode;p=p.focusOffset;try{s.nodeType;y.nodeType}catch(n){s=null;break n}var d=0,ft=-1,et=-1,gt=0,ni=0,v=c,nt=null;t:for(;;){for(;v!==s||0!==l&&3!==v.nodeType||(ft=d+l),v!==y||0!==p&&3!==v.nodeType||(et=d+p),3===v.nodeType&&(d+=v.nodeValue.length),null!==(ot=v.firstChild);)nt=v,v=ot;for(;;){if(v===c)break t;if(nt===s&&++gt===l&&(ft=d),nt===y&&++ni===p&&(et=d),null!==(ot=v.nextSibling))break;nt=(v=nt).parentNode}v=ot}s=-1===ft||-1===et?null:{start:ft,end:et}}else s=null};s=s||{start:0,end:0}}else s=null;es={focusedElem:c,selectionRange:s};bf=!1;u=w;do try{cut()}catch(n){if(null===u)throw Error(r(330));br(u,n);u=u.nextEffect}while(null!==u);u=w;do try{for(c=n,s=t;null!==u;){h=u.effectTag;(16&h&&sf(u.stateNode,""),128&h)&&(i=u.alternate,null!==i&&(o=i.ref,null!==o&&("function"==typeof o?o(null):o.current=null)));switch(1038&h){case 2:an(u);u.effectTag&=-3;break;case 6:an(u);u.effectTag&=-3;iy(u.alternate,u);break;case 1024:u.effectTag&=-1025;break;case 1028:u.effectTag&=-1025;iy(u.alternate,u);break;case 4:iy(u.alternate,u);break;case 8:vn(c,l=u,s);cn(l)}u=u.nextEffect}}catch(n){if(null===u)throw Error(r(330));br(u,n);u=u.nextEffect}while(null!==u);if(o=es,i=bb(),h=o.focusedElem,s=o.selectionRange,i!==h&&h&&h.ownerDocument&&function n(t,i){return!(!t||!i)&&(t===i||(!t||3!==t.nodeType)&&(i&&3===i.nodeType?n(t,i.parentNode):"contains"in t?t.contains(i):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(i))))}(h.ownerDocument.documentElement,h)){for(null!==s&&ea(h)&&(i=s.start,void 0===(o=s.end)&&(o=i),("selectionStart"in h)?(h.selectionStart=i,h.selectionEnd=Math.min(o,h.value.length)):(o=(i=h.ownerDocument||document)&&i.defaultView||window).getSelection&&(o=o.getSelection(),l=h.textContent.length,c=Math.min(s.start,l),s=void 0===s.end?c:Math.min(s.end,l),!o.extend&&c>s&&(l=s,s=c,c=l),l=wb(h,c),y=wb(h,s),l&&y&&(1!==o.rangeCount||o.anchorNode!==l.node||o.anchorOffset!==l.offset||o.focusNode!==y.node||o.focusOffset!==y.offset)&&((i=i.createRange()).setStart(l.node,l.offset),o.removeAllRanges(),c>s?(o.addRange(i),o.extend(y.node,y.offset)):(i.setEnd(y.node,y.offset),o.addRange(i))))),i=[],o=h;o=o.parentNode;)1===o.nodeType&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for("function"==typeof h.focus&&h.focus(),h=0;h<i.length;h++)(o=i[h]).element.scrollLeft=o.left,o.element.scrollTop=o.top}es=null;bf=!!fs;fs=null;n.current=a;u=w;do try{for(h=b;null!==u;){if(st=u.effectTag,36&st){k=u.alternate;switch(o=h,(i=u).tag){case 0:case 11:case 15:de(16,32,i);break;case 1:tt=i.stateNode;4&i.effectTag&&(null===k?tt.componentDidMount():(kt=i.elementType===i.type?k.memoizedProps:ct(i.type,k.memoizedProps),tt.componentDidUpdate(kt,k.memoizedState,tt.__reactInternalSnapshotBeforeUpdate)));ht=i.updateQueue;null!==ht&&vd(0,ht,tt);break;case 3:if(lt=i.updateQueue,null!==lt){if(c=null,null!==i.child)switch(i.child.tag){case 5:c=i.child.stateNode;break;case 1:c=i.child.stateNode}vd(0,lt,c)}break;case 5:dt=i.stateNode;null===k&&4&i.effectTag&&kb(i.type,i.memoizedProps)&&dt.focus();break;case 6:case 4:case 12:break;case 13:null===i.memoizedState&&(at=i.alternate,null!==at&&(vt=at.memoizedState,null!==vt&&(pt=vt.dehydrated,null!==pt&&ww(pt))));break;case 19:case 17:case 20:case 21:break;default:throw Error(r(163));}}if(128&st&&(i=void 0,it=u.ref,null!==it)){wt=u.stateNode;switch(u.tag){case 5:i=wt;break;default:i=wt}"function"==typeof it?it(i):it.current=i}u=u.nextEffect}}catch(n){if(null===u)throw Error(r(330));br(u,n);u=u.nextEffect}while(null!==u);u=null;iut();f=bt}else n.current=a;if(yh)yh=!1,to=n,io=t;else for(u=w;null!==u;)t=u.nextEffect,u.nextEffect=null,u=t;if(0===(t=n.firstPendingTime)&&(nr=null),1073741823===t?n===fy?ro++:(ro=0,fy=n):ro=0,"function"==typeof dh&&dh(a.stateNode,b),ut(n),vh)throw vh=!1,n=uy,uy=null,n;return 0!=(8&f)||yt(),null}function cut(){for(;null!==u;){var n=u.effectTag;0!=(256&n)&&fut(u.alternate,u);0==(512&n)||yh||(yh=!0,ud(97,function(){return uf(),null}));u=u.nextEffect}}function uf(){if(90!==io){var n=97<io?97:io;return io=90,yu(n,lut)}}function lut(){var n,i,t;if(null===to)return!1;if(n=to,to=null,0!=(48&f))throw Error(r(331));for(i=f,f|=32,n=n.current.firstEffect;null!==n;){try{if(t=n,0!=(512&t.effectTag))switch(t.tag){case 0:case 11:case 15:de(128,0,t);de(0,64,t)}}catch(i){if(null===n)throw Error(r(330));br(n,i)}t=n.nextEffect;n.nextEffect=null;n=t}return f=i,yt(),!0}function ott(n,t,i){ki(n,t=wn(n,t=ny(i,t),1073741823));null!==(n=wh(n,1073741823))&&ut(n)}function br(n,t){var i,r;if(3===n.tag)ott(n,n,t);else for(i=n.return;null!==i;){if(3===i.tag){ott(i,n,t);break}if(1===i.tag&&(r=i.stateNode,"function"==typeof i.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===nr||!nr.has(r)))){ki(i,n=bn(i,n=ny(t,n),1073741823));null!==(i=wh(i,1073741823))&&ut(i);break}i=i.return}}function aut(n,t,i){var r=n.pingCache;null!==r&&r.delete(t);rt===n&&g===i?4===v||3===v&&1073741823===oi&&ht()-ry<500?wr(n,g):ah=!0:stt(n,i)&&(0!==(t=n.lastPingedTime)&&t<i||(n.lastPingedTime=i,n.finishedExpirationTime===i&&(n.finishedExpirationTime=0,n.finishedWork=null),ut(n)))}function vut(n,t){var i=n.stateNode;null!==i&&i.delete(t);0==(t=0)&&(t=pr(t=at(),n,null));null!==(n=wh(n,t))&&ut(n)}function yut(n,t,i,r){this.tag=n;this.key=i;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=t;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=r;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function kt(n,t,i,r){return new yut(n,t,i,r)}function sy(n){return!(!(n=n.prototype)||!n.isReactComponent)}function kr(n,t){var i=n.alternate;return null===i?((i=kt(n.tag,t,n.key,n.mode)).elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i.alternate=n,n.alternate=i):(i.pendingProps=t,i.effectTag=0,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null),i.childExpirationTime=n.childExpirationTime,i.expirationTime=n.expirationTime,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,t=n.dependencies,i.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i}function nc(n,t,i,u,f,e){var o=2;if(u=n,"function"==typeof n)sy(n)&&(o=1);else if("string"==typeof n)o=5;else n:switch(n){case si:return rr(i.children,f,e,t);case ktt:o=8;f|=7;break;case up:o=8;f|=1;break;case ao:return(n=kt(12,i,t,8|f)).elementType=ao,n.type=ao,n.expirationTime=e,n;case vo:return(n=kt(13,i,t,f)).type=vo,n.elementType=vo,n.expirationTime=e,n;case hc:return(n=kt(19,i,t,f)).elementType=hc,n.expirationTime=e,n;default:if("object"==typeof n&&null!==n)switch(n.$$typeof){case fp:o=10;break n;case ep:o=9;break n;case sc:o=11;break n;case cc:o=14;break n;case op:o=16;u=null;break n}throw Error(r(130,null==n?n:typeof n,""));}return(t=kt(o,i,t,f)).elementType=n,t.type=u,t.expirationTime=e,t}function rr(n,t,i,r){return(n=kt(7,n,r,t)).expirationTime=i,n}function hy(n,t,i){return(n=kt(6,n,null,t)).expirationTime=i,n}function cy(n,t,i){return(t=kt(4,null!==n.children?n.children:[],n.key,t)).expirationTime=i,t.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},t}function put(n,t,i){this.tag=t;this.current=null;this.containerInfo=n;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=i;this.callbackNode=null;this.callbackPriority=90;this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function stt(n,t){var i=n.firstSuspendedTime;return n=n.lastSuspendedTime,0!==i&&i>=t&&n<=t}function dr(n,t){var i=n.firstSuspendedTime,r=n.lastSuspendedTime;i<t&&(n.firstSuspendedTime=t);(r>t||0===i)&&(n.lastSuspendedTime=t);t<=n.lastPingedTime&&(n.lastPingedTime=0);t<=n.lastExpiredTime&&(n.lastExpiredTime=0)}function htt(n,t){t>n.firstPendingTime&&(n.firstPendingTime=t);var i=n.firstSuspendedTime;0!==i&&(t>=i?n.firstSuspendedTime=n.lastSuspendedTime=n.nextKnownPendingLevel=0:t>=n.lastSuspendedTime&&(n.lastSuspendedTime=t+1),t>n.nextKnownPendingLevel&&(n.nextKnownPendingLevel=t))}function ly(n,t){var i=n.lastExpiredTime;(0===i||i>t)&&(n.lastExpiredTime=t)}function tc(n,t,i,u){var o=t.current,e=at(),h=bu.suspense,f,s;e=pr(e,o,h);n:if(i){t:{if(er(i=i._reactInternalFiber)!==i||1!==i.tag)throw Error(r(170));f=i;do{switch(f.tag){case 3:f=f.stateNode.context;break t;case 1:if(k(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break t}}f=f.return}while(null!==f);throw Error(r(171));}if(1===i.tag&&(s=i.type,k(s))){i=yk(i,s,f);break n}i=f}else i=wi;return null===t.context?t.context=i:t.pendingContext=i,(t=bi(e,h)).payload={element:n},null!==(u=void 0===u?null:u)&&(t.callback=u),ki(o,t),tr(o,e),e}function ay(n){if(!(n=n.current).child)return null;switch(n.child.tag){case 5:default:return n.child.stateNode}}function ctt(n,t){null!==(n=n.memoizedState)&&null!==n.dehydrated&&n.retryTime<t&&(n.retryTime=t)}function vy(n,t){ctt(n,t);(n=n.alternate)&&ctt(n,t)}function yy(n,t,i){var r=new put(n,t,i=null!=i&&!0===i.hydrate),u=kt(3,null,null,2===t?7:1===t?3:0);r.current=u;u.stateNode=r;n[df]=r.current;i&&0!==t&&function(n){var t=ta(n);ll.forEach(function(i){ia(i,n,t)});gtt.forEach(function(i){ia(i,n,t)})}(9===n.nodeType?n:n.ownerDocument);this._internalRoot=r}function uo(n){return!(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType&&(8!==n.nodeType||" react-mount-point-unstable "!==n.nodeValue))}function ic(n,t,i,r,u){var e=i._reactRootContainer,f,o,s;return e?(f=e._internalRoot,"function"==typeof u&&(o=u,u=function(){var n=ay(f);o.call(n)}),tc(t,f,n,u)):((e=i._reactRootContainer=function(n,t){if(t||(t=!(!(t=n?9===n.nodeType?n.documentElement:n.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var i;i=n.lastChild;)n.removeChild(i);return new yy(n,0,t?{hydrate:!0}:void 0)}(i,r),f=e._internalRoot,"function"==typeof u)&&(s=u,u=function(){var n=ay(f);s.call(n)}),ttt(function(){tc(t,f,n,u)})),ay(f)}function wut(n,t,i){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:iu,key:null==r?null:""+r,children:n,containerInfo:t,implementation:i}}function ltt(n,t){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!uo(t))throw Error(r(200));return wut(n,t,null,i)}var fo=i(1),p=i(169),h=i(584),ff,ur,tu,co,ft,lc,a,yo,ul,el,ol,bf,na,su,lb,yb,fs,es,os,db,aa,ie,lu,ls,ak,as,cr,od,ii,bu,uv,oe,se,s,yg,lt,nn,tn,rn,oh,on,pn,dh,gh,att,py,wy,by,ky;if(!fo)throw Error(r(227));ff=null;ur={};var eo=[],rc={},gr={},uc={};var ef=!1,oo=null,so=!1,fc=null,ytt={onError:function(n){ef=!0;oo=n}};var ec=null,np=null,tp=null;tu=null;co={injectEventPluginOrder:function(n){if(ff)throw Error(r(101));ff=Array.prototype.slice.call(n);dy()},injectEventPluginsByName:function(n){var t,u=!1,i;for(t in n)if(n.hasOwnProperty(t)&&(i=n[t],!ur.hasOwnProperty(t)||ur[t]!==i)){if(ur[t])throw Error(r(102,t));ur[t]=i;u=!0}u&&dy()}};ft=fo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ft.hasOwnProperty("ReactCurrentDispatcher")||(ft.ReactCurrentDispatcher={current:null});ft.hasOwnProperty("ReactCurrentBatchConfig")||(ft.ReactCurrentBatchConfig={suspense:null});var btt=/^(.*)[\\\/]/,y="function"==typeof Symbol&&Symbol.for,lo=y?Symbol.for("react.element"):60103,iu=y?Symbol.for("react.portal"):60106,si=y?Symbol.for("react.fragment"):60107,up=y?Symbol.for("react.strict_mode"):60108,ao=y?Symbol.for("react.profiler"):60114,fp=y?Symbol.for("react.provider"):60109,ep=y?Symbol.for("react.context"):60110,ktt=y?Symbol.for("react.concurrent_mode"):60111,sc=y?Symbol.for("react.forward_ref"):60112,vo=y?Symbol.for("react.suspense"):60113,hc=y?Symbol.for("react.suspense_list"):60120,cc=y?Symbol.for("react.memo"):60115,op=y?Symbol.for("react.lazy"):60116;y&&Symbol.for("react.fundamental");y&&Symbol.for("react.responder");y&&Symbol.for("react.scope");lc="function"==typeof Symbol&&Symbol.iterator;var ci=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),vc=null,ru=null,uu=null;var ap=yc,fr=!1,wc=!1;new Map;var dtt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,vp=Object.prototype.hasOwnProperty,yp={},pp={};a={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){a[n]=new w(n,0,!1,n,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var t=n[0];a[t]=new w(t,1,!1,n[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){a[n]=new w(n,2,!1,n.toLowerCase(),null,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){a[n]=new w(n,2,!1,n,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){a[n]=new w(n,3,!1,n.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(n){a[n]=new w(n,3,!0,n,null,!1)});["capture","download"].forEach(function(n){a[n]=new w(n,4,!1,n,null,!1)});["cols","rows","size","span"].forEach(function(n){a[n]=new w(n,6,!1,n,null,!1)});["rowSpan","start"].forEach(function(n){a[n]=new w(n,5,!1,n.toLowerCase(),null,!1)});yo=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var t=n.replace(yo,kc);a[t]=new w(t,1,!1,n,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var t=n.replace(yo,kc);a[t]=new w(t,1,!1,n,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var t=n.replace(yo,kc);a[t]=new w(t,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(n){a[n]=new w(n,1,!1,n.toLowerCase(),null,!1)});a.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(n){a[n]=new w(n,1,!1,n.toLowerCase(),null,!0)});ul="http://www.w3.org/1999/xhtml";ol=function(n){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,i){MSApp.execUnsafeLocalFunction(function(){return n(t,i)})}:n}(function(n,t){if("http://www.w3.org/2000/svg"!==n.namespaceURI||"innerHTML"in n)n.innerHTML=t;else{for((el=el||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"<\/svg>",t=el.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;t.firstChild;)n.appendChild(t.firstChild)}});var eu={animationend:wo("Animation","AnimationEnd"),animationiteration:wo("Animation","AnimationIteration"),animationstart:wo("Animation","AnimationStart"),transitionend:wo("Transition","TransitionEnd")},sl={},uw={};ci&&(uw=document.createElement("div").style,"AnimationEvent"in window||(delete eu.animationend.animation,delete eu.animationiteration.animation,delete eu.animationstart.animation),"TransitionEvent"in window||delete eu.transitionend.transition);var fw=bo("animationend"),ew=bo("animationiteration"),ow=bo("animationstart"),sw=bo("transitionend"),hf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");var aw,hl,vw,cl=!1,vt=[],ai=null,vi=null,yi=null,cf=new Map,lf=new Map,af=[],ll="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),gtt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");p(nt.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():"unknown"!=typeof n.returnValue&&(n.returnValue=!1),this.isDefaultPrevented=go)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():"unknown"!=typeof n.cancelBubble&&(n.cancelBubble=!0),this.isPropagationStopped=go)},persist:function(){this.isPersistent=go},isPersistent:ns,destructor:function(){var n,t=this.constructor.Interface;for(n in t)this[n]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=ns;this._dispatchInstances=this._dispatchListeners=null}});nt.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};nt.extend=function(n){function u(){}function t(){return i.apply(this,arguments)}var i=this,r;return u.prototype=i.prototype,r=new u,p(r,t.prototype),t.prototype=r,t.prototype.constructor=t,t.Interface=p({},i.Interface,n),t.extend=i.extend,kw(t),t};kw(nt);for(var eit=nt.extend({animationName:null,elapsedTime:null,pseudoElement:null}),oit=nt.extend({clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),pf=nt.extend({view:null,detail:null}),sit=pf.extend({relatedTarget:null}),hit={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cit={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},lit={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},vit=pf.extend({key:function(n){if(n.key){var t=hit[n.key]||n.key;if("Unidentified"!==t)return t}return"keypress"===n.type?13===(n=ts(n))?"Enter":String.fromCharCode(n):"keydown"===n.type||"keyup"===n.type?cit[n.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:pl,charCode:function(n){return"keypress"===n.type?ts(n):0},keyCode:function(n){return"keydown"===n.type||"keyup"===n.type?n.keyCode:0},which:function(n){return"keypress"===n.type?ts(n):"keydown"===n.type||"keyup"===n.type?n.keyCode:0}}),dw=0,gw=0,nb=!1,tb=!1,wf=pf.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:pl,button:null,buttons:null,relatedTarget:function(n){return n.relatedTarget||(n.fromElement===n.srcElement?n.toElement:n.fromElement)},movementX:function(n){if("movementX"in n)return n.movementX;var t=dw;return dw=n.screenX,nb?"mousemove"===n.type?n.screenX-t:0:(nb=!0,0)},movementY:function(n){if("movementY"in n)return n.movementY;var t=gw;return gw=n.screenY,tb?"mousemove"===n.type?n.screenY-t:0:(tb=!0,0)}}),ib=wf.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),yit=wf.extend({dataTransfer:null}),pit=pf.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:pl}),wit=nt.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),bit=wf.extend({deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:null,deltaMode:null}),rb=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[fw,"animationEnd",2],[ew,"animationIteration",2],[ow,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[sw,"transitionEnd",2],["waiting","waiting",2]],ub={},wl={},bl=0;bl<rb.length;bl++){var kl=rb[bl],fb=kl[0],dl=kl[1],kit=kl[2],eb="on"+(dl[0].toUpperCase()+dl.slice(1)),ob={phasedRegistrationNames:{bubbled:eb,captured:eb+"Capture"},dependencies:[fb],eventPriority:kit};ub[dl]=ob;wl[fb]=ob}var sb={eventTypes:ub,getEventPriority:function(n){return void 0!==(n=wl[n])?n.eventPriority:2},extractEvents:function(n,t,i,r){var u=wl[n];if(!u)return null;switch(n){case"keypress":if(0===ts(i))return null;case"keydown":case"keyup":n=vit;break;case"blur":case"focus":n=sit;break;case"click":if(2===i.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":n=wf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":n=yit;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":n=pit;break;case fw:case ew:case ow:n=eit;break;case sw:n=wit;break;case"scroll":n=pf;break;case"wheel":n=bit;break;case"copy":case"cut":case"paste":n=oit;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":n=ib;break;default:n=nt}return ou(t=n.getPooled(u,t,i,r)),t}},dit=h.unstable_UserBlockingPriority,git=h.unstable_runWithPriority,nrt=sb.getEventPriority,is=[];bf=!0;na=new("function"==typeof WeakMap?WeakMap:Map);su={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};lb=["Webkit","ms","Moz","O"];Object.keys(su).forEach(function(n){lb.forEach(function(t){t=t+n.charAt(0).toUpperCase()+n.substring(1);su[t]=su[n]})});yb=p({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});fs=null;es=null;os="function"==typeof setTimeout?setTimeout:void 0;db="function"==typeof clearTimeout?clearTimeout:void 0;var sa=Math.random().toString(36).slice(2),pi="__reactInternalInstance$"+sa,ss="__reactEventHandlers$"+sa,df="__reactContainere$"+sa;var sr=null,ca=null,hs=null;var urt=nt.extend({data:null}),frt=nt.extend({data:null}),ert=[9,13,27,32],la=ci&&"CompositionEvent"in window,te=null;ci&&"documentMode"in document&&(te=document.documentMode);var ort=ci&&"TextEvent"in window&&!te,tk=ci&&(!la||te&&8<te&&11>=te),ik=String.fromCharCode(32),ni={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rk=!1;var cu=!1,srt={eventTypes:ni,extractEvents:function(n,t,i,r){var f,u;if(la)n:{switch(n){case"compositionstart":u=ni.compositionStart;break n;case"compositionend":u=ni.compositionEnd;break n;case"compositionupdate":u=ni.compositionUpdate;break n}u=void 0}else cu?uk(n,i)&&(u=ni.compositionEnd):"keydown"===n&&229===i.keyCode&&(u=ni.compositionStart);return u?(tk&&"ko"!==i.locale&&(cu||u!==ni.compositionStart?u===ni.compositionEnd&&cu&&(f=nk()):(ca="value"in(sr=r)?sr.value:sr.textContent,cu=!0)),u=urt.getPooled(u,t,i,r),(f||null!==(f=fk(i)))&&(u.data=f),ou(u),f=u):f=null,(n=ort?function(n,t){switch(n){case"compositionend":return fk(t);case"keypress":return 32!==t.which?null:(rk=!0,ik);case"textInput":return(n=t.data)===ik&&rk?null:n;default:return null}}(n,i):function(n,t){if(cu)return"compositionend"===n||!la&&uk(n,t)?(n=nk(),hs=ca=sr=null,cu=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return tk&&"ko"!==t.locale?null:t.data;default:return null}}(n,i))?((t=frt.getPooled(ni.beforeInput,t,i,r)).data=n,ou(t)):t=null,null===f?t:null===t?f:[f,t]}},hrt={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};aa={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};ie=null;lu=null;ls=!1;ci&&(ls=cb("input")&&(!document.documentMode||9<document.documentMode));var va,wrt={eventTypes:aa,_isInputEventSupported:ls,extractEvents:function(n,t,i,r){var u=t?or(t):window,e=u.nodeName&&u.nodeName.toLowerCase(),f,o;if("select"===e||"input"===e&&"file"===u.type?f=lrt:ek(u)?ls?f=prt:(f=vrt,o=art):(e=u.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(f=yrt),f&&(f=f(n,t)))return ok(f,i,r);o&&o(n,u,t);"blur"===n&&(n=u._wrapperState)&&n.controlled&&"number"===u.type&&tl(u,"number",u.value)}},re={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},brt={eventTypes:re,extractEvents:function(n,t,i,r,u){var c="mouseover"===n||"pointerover"===n,f="mouseout"===n||"pointerout"===n;if(c&&0==(32&u)&&(i.relatedTarget||i.fromElement)||!f&&!c||(u=r.window===r?r:(u=r.ownerDocument)?u.defaultView||u.parentWindow:window,f?(f=t,null!==(t=(t=i.relatedTarget||i.toElement)?gf(t):null)&&(t!==(c=er(t))||5!==t.tag&&6!==t.tag)&&(t=null)):f=null,f===t))return null;if("mouseout"===n||"mouseover"===n)var s=wf,h=re.mouseLeave,o=re.mouseEnter,e="mouse";else"pointerout"!==n&&"pointerover"!==n||(s=ib,h=re.pointerLeave,o=re.pointerEnter,e="pointer");if(n=null==f?u:or(f),u=null==t?u:or(t),(h=s.getPooled(h,f,i,r)).type=e+"leave",h.target=n,h.relatedTarget=u,(r=s.getPooled(o,t,i,r)).type=e+"enter",r.target=u,r.relatedTarget=n,e=t,(s=f)&&e)n:{for(n=e,f=0,t=o=s;t;t=dt(t))f++;for(t=0,u=n;u;u=dt(u))t++;for(;0<f-t;)o=dt(o),f--;for(;0<t-f;)n=dt(n),t--;for(;f--;){if(o===n||o===n.alternate)break n;o=dt(o);n=dt(n)}o=null}else o=null;for(n=o,o=[];s&&s!==n&&(null===(f=s.alternate)||f!==n);)o.push(s),s=dt(s);for(s=[];e&&e!==n&&(null===(f=e.alternate)||f!==n);)s.push(e),e=dt(e);for(e=0;e<o.length;e++)yl(o[e],"bubbled",h);for(e=s.length;0<e--;)yl(s[e],"captured",r);return i===va?(va=null,[h]):(va=i,[h,r])}},hr="function"==typeof Object.is?Object.is:function(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t},krt=Object.prototype.hasOwnProperty;var drt=ci&&"documentMode"in document&&11>=document.documentMode,ck={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},au=null,ya=null,fe=null,pa=!1;ak={eventTypes:ck,extractEvents:function(n,t,i,r){var f,u=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument,e;if(!(f=!u)){n:{for(u=ta(u),f=uc.onSelect,e=0;e<f.length;e++)if(!u.has(f[e])){u=!1;break n}u=!0}f=!u}if(f)return null;switch(u=t?or(t):window,n){case"focus":(ek(u)||"true"===u.contentEditable)&&(au=u,ya=t,fe=null);break;case"blur":fe=ya=au=null;break;case"mousedown":pa=!0;break;case"contextmenu":case"mouseup":case"dragend":return pa=!1,lk(i,r);case"selectionchange":if(drt)break;case"keydown":case"keyup":return lk(i,r)}return null}};co.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));ec=ha;np=ne;tp=or;co.injectEventPluginsByName({SimpleEventPlugin:sb,EnterLeaveEventPlugin:brt,ChangeEventPlugin:wrt,SelectEventPlugin:ak,BeforeInputEventPlugin:srt});new Set;as=[];cr=-1;var wi={},b={current:wi},et={current:!1},lr=wi;var grt=h.unstable_runWithPriority,ba=h.unstable_scheduleCallback,wk=h.unstable_cancelCallback,nut=h.unstable_shouldYield,bk=h.unstable_requestPaint,ka=h.unstable_now,tut=h.unstable_getCurrentPriorityLevel,ps=h.unstable_ImmediatePriority,kk=h.unstable_UserBlockingPriority,dk=h.unstable_NormalPriority,gk=h.unstable_LowPriority,nd=h.unstable_IdlePriority,td={},iut=void 0!==bk?bk:function(){},ti=null,ws=null,da=!1,id=ka(),ht=1e4>id?ka:function(){return ka()-id};od=3;var nv={current:null},ks=null,pu=null,ds=null;ii=!1;bu=ft.ReactCurrentBatchConfig;uv=(new fo.Component).refs;oe={isMounted:function(n){return!!(n=n._reactInternalFiber)&&er(n)===n},enqueueSetState:function(n,t,i){n=n._reactInternalFiber;var u=at(),r=bu.suspense;(r=bi(u=pr(u,n,r),r)).payload=t;null!=i&&(r.callback=i);ki(n,r);tr(n,u)},enqueueReplaceState:function(n,t,i){n=n._reactInternalFiber;var u=at(),r=bu.suspense;(r=bi(u=pr(u,n,r),r)).tag=1;r.payload=t;null!=i&&(r.callback=i);ki(n,r);tr(n,u)},enqueueForceUpdate:function(n,t){n=n._reactInternalFiber;var r=at(),i=bu.suspense;(i=bi(r=pr(r,n,i),i)).tag=2;null!=t&&(i.callback=t);ki(n,i);tr(n,r)}};se=Array.isArray;var ku=kd(!0),ev=kd(!1),ce={},wt={current:ce},le={current:ce},ae={current:ce};s={current:0};var uh=ft.ReactCurrentDispatcher,ot=ft.ReactCurrentBatchConfig,ve=0,di=null,d=null,bt=null,gu=null,tt=null,nf=null,ye=0,ri=null,pe=0,we=!1,ui=null,be=0;var fh={readContext:pt,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useLayoutEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useResponder:it,useDeferredValue:it,useTransition:it},rut={readContext:pt,useCallback:og,useContext:pt,useEffect:rg,useImperativeHandle:function(n,t,i){return i=null!=i?i.concat([n]):null,yv(4,36,fg.bind(null,t,n),i)},useLayoutEffect:function(n,t){return yv(4,36,n,t)},useMemo:function(n,t){var i=tf();return t=void 0===t?null:t,n=n(),i.memoizedState=[n,t],n},useReducer:function(n,t,i){var r=tf();return t=void 0!==i?i(t):t,r.memoizedState=r.baseState=t,n=(n=r.queue={last:null,dispatch:null,lastRenderedReducer:n,lastRenderedState:t}).dispatch=hg.bind(null,di,n),[r.memoizedState,n]},useRef:function(n){return n={current:n},tf().memoizedState=n},useState:lv,useDebugValue:eg,useResponder:gd,useDeferredValue:function(n,t){var i=lv(n),r=i[0],u=i[1];return rg(function(){h.unstable_next(function(){var i=ot.suspense;ot.suspense=void 0===t?null:t;try{u(n)}finally{ot.suspense=i}})},[n,t]),r},useTransition:function(n){var t=lv(!1),i=t[0],r=t[1];return[og(function(t){r(!0);h.unstable_next(function(){var i=ot.suspense;ot.suspense=void 0===n?null:n;try{r(!1);t()}finally{ot.suspense=i}})},[n,i]),i]}},cg={readContext:pt,useCallback:sg,useContext:pt,useEffect:ug,useImperativeHandle:function(n,t,i){return i=null!=i?i.concat([n]):null,pv(4,36,fg.bind(null,t,n),i)},useLayoutEffect:function(n,t){return pv(4,36,n,t)},useMemo:function(n,t){var r=ke(),i;return t=void 0===t?null:t,i=r.memoizedState,null!==i&&null!==t&&hv(t,i[1])?i[0]:(n=n(),r.memoizedState=[n,t],n)},useReducer:ig,useRef:function(){return ke().memoizedState},useState:av,useDebugValue:eg,useResponder:gd,useDeferredValue:function(n,t){var i=av(),r=i[0],u=i[1];return ug(function(){h.unstable_next(function(){var i=ot.suspense;ot.suspense=void 0===t?null:t;try{u(n)}finally{ot.suspense=i}})},[n,t]),r},useTransition:function(n){var t=av(),i=t[0],r=t[1];return[sg(function(t){r(!0);h.unstable_next(function(){var i=ot.suspense;ot.suspense=void 0===n?null:n;try{r(!1);t()}finally{ot.suspense=i}})},[n,i]),i]}},fi=null,gi=null,vr=!1;yg=ft.ReactCurrentOwner;lt=!1;oh={dehydrated:null,retryTime:0};nn=function(n,t){for(var i=t.child;null!==i;){if(5===i.tag||6===i.tag)n.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i;i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return;i=i.sibling}};tn=function(n,t,i,r,u){var s=n.memoizedProps,f,h,e,o;if(s!==r){e=t.stateNode;switch(ar(wt.current),n=null,i){case"input":s=gc(e,s);r=gc(e,r);n=[];break;case"option":s=il(e,s);r=il(e,r);n=[];break;case"select":s=p({},s,{value:void 0});r=p({},r,{value:void 0});n=[];break;case"textarea":s=rl(e,s);r=rl(e,r);n=[];break;default:"function"!=typeof s.onClick&&"function"==typeof r.onClick&&(e.onclick=us)}for(f in ra(i,r),i=null,s)if(!r.hasOwnProperty(f)&&s.hasOwnProperty(f)&&null!=s[f])if("style"===f)for(h in e=s[f])e.hasOwnProperty(h)&&(i||(i={}),i[h]="");else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(gr.hasOwnProperty(f)?n||(n=[]):(n=n||[]).push(f,null));for(f in r)if(o=r[f],e=null!=s?s[f]:void 0,r.hasOwnProperty(f)&&o!==e&&(null!=o||null!=e))if("style"===f)if(e){for(h in e)!e.hasOwnProperty(h)||o&&o.hasOwnProperty(h)||(i||(i={}),i[h]="");for(h in o)o.hasOwnProperty(h)&&e[h]!==o[h]&&(i||(i={}),i[h]=o[h])}else i||(n||(n=[]),n.push(f,i)),i=o;else"dangerouslySetInnerHTML"===f?(o=o?o.__html:void 0,e=e?e.__html:void 0,null!=o&&e!==o&&(n=n||[]).push(f,""+o)):"children"===f?e===o||"string"!=typeof o&&"number"!=typeof o||(n=n||[]).push(f,""+o):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(gr.hasOwnProperty(f)?(null!=o&&gt(u,f),n||e===o||(n=[])):(n=n||[]).push(f,o));i&&(n=n||[]).push("style",i);u=n;(t.updateQueue=u)&&rf(t)}};rn=function(n,t,i,r){i!==r&&rf(t)};on="function"==typeof WeakSet?WeakSet:Set;pn="function"==typeof WeakMap?WeakMap:Map;var kn,eut=Math.ceil,hh=ft.ReactCurrentDispatcher,dn=ft.ReactCurrentOwner,f=0,rt=null,e=null,g=0,v=0,ch=null,oi=1073741823,ge=1073741823,lh=null,no=0,ah=!1,ry=0,u=null,vh=!1,uy=null,nr=null,yh=!1,to=null,io=90,yr=null,ro=0,fy=null,ph=0;kn=function(n,t,i){var f=t.expirationTime,u,h,e,o,a,l;if(null!==n)if(u=t.pendingProps,n.memoizedProps!==u||et.current)lt=!0;else{if(f<i){switch(lt=!1,t.tag){case 3:gg(t);bv();break;case 5:if(dd(t),4&t.mode&&1!==i&&u.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:k(t.type)&&ys(t);break;case 4:ov(t,t.stateNode.containerInfo);break;case 10:sd(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(f=t.child.childExpirationTime)&&f>=i?un(n,t,i):(c(s,1&s.current),null!==(t=ei(n,t,i))?t.sibling:null);c(s,1&s.current);break;case 19:if(f=t.childExpirationTime>=i,0!=(64&n.effectTag)){if(f)return en(n,t,i);t.effectTag|=64}if(null!==(u=t.memoizedState)&&(u.rendering=null,u.tail=null),c(s,s.current),!f)return null}return ei(n,t,i)}lt=!1}else lt=!1;switch(t.expirationTime=0,t.tag){case 2:return(f=t.type,null!==n&&(n.alternate=null,t.alternate=null,t.effectTag|=2),n=t.pendingProps,u=vu(t,b.current),wu(t,i),u=cv(null,t,f,n,u,i),t.effectTag|=1,"object"==typeof u&&null!==u&&"function"==typeof u.render&&void 0===u.$$typeof)?((t.tag=1,ng(),k(f))?(h=!0,ys(t)):h=!1,t.memoizedState=null!==u.state&&void 0!==u.state?u.state:null,e=f.getDerivedStateFromProps,"function"==typeof e&&th(t,f,e,n),u.updater=oe,t.stateNode=u,u._reactInternalFiber=t,fv(t,f,n,i),t=dv(null,t,f,!0,h,i)):(t.tag=0,st(null,t,u,i),t=t.child),t;case 16:if(u=t.elementType,null!==n&&(n.alternate=null,t.alternate=null,t.effectTag|=2),n=t.pendingProps,function(n){if(-1===n._status){n._status=0;var t=n._ctor;t=t();n._result=t;t.then(function(t){0===n._status&&(t=t.default,n._status=1,n._result=t)},function(t){0===n._status&&(n._status=2,n._result=t)})}}(u),1!==u._status)throw u._result;switch(u=u._result,t.type=u,h=t.tag=function(n){if("function"==typeof n)return sy(n)?1:0;if(null!=n){if((n=n.$$typeof)===sc)return 11;if(n===cc)return 14}return 2}(u),n=ct(u,n),h){case 0:t=kv(null,t,u,n,i);break;case 1:t=dg(null,t,u,n,i);break;case 11:t=pg(null,t,u,n,i);break;case 14:t=wg(null,t,u,ct(u.type,n),f,i);break;default:throw Error(r(306,u,""));}return t;case 0:return f=t.type,u=t.pendingProps,kv(n,t,f,u=t.elementType===f?u:ct(f,u),i);case 1:return f=t.type,u=t.pendingProps,dg(n,t,f,u=t.elementType===f?u:ct(f,u),i);case 3:if(gg(t),null===(f=t.updateQueue))throw Error(r(282));if(u=null!==(u=t.memoizedState)?u.element:null,ee(t,f,t.pendingProps,null,i),(f=t.memoizedState.element)===u)bv(),t=ei(n,t,i);else{if((u=t.stateNode.hydrate)&&(gi=hu(t.stateNode.containerInfo.firstChild),fi=t,u=vr=!0),u)for(i=ev(t,null,f,i),t.child=i;i;)i.effectTag=-3&i.effectTag|1024,i=i.sibling;else st(n,t,f,i),bv();t=t.child}return t;case 5:return dd(t),null===n&&wv(t),f=t.type,u=t.pendingProps,h=null!==n?n.memoizedProps:null,e=u.children,oa(f,u)?e=null:null!==h&&oa(f,h)&&(t.effectTag|=16),kg(n,t),4&t.mode&&1!==i&&u.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(st(n,t,e,i),t=t.child),t;case 6:return null===n&&wv(t),null;case 13:return un(n,t,i);case 4:return ov(t,t.stateNode.containerInfo),f=t.pendingProps,null===n?t.child=ku(t,null,f,i):st(n,t,f,i),t.child;case 11:return f=t.type,u=t.pendingProps,pg(n,t,f,u=t.elementType===f?u:ct(f,u),i);case 7:return st(n,t,t.pendingProps,i),t.child;case 8:case 12:return st(n,t,t.pendingProps.children,i),t.child;case 10:n:{if(f=t.type._context,u=t.pendingProps,e=t.memoizedProps,sd(t,h=u.value),null!==e)if(o=e.value,0==(h=hr(o,h)?0:0|("function"==typeof f._calculateChangedBits?f._calculateChangedBits(o,h):1073741823))){if(e.children===u.children&&!et.current){t=ei(n,t,i);break n}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){if(a=o.dependencies,null!==a)for(e=o.child,l=a.firstContext;null!==l;){if(l.context===f&&0!=(l.observedBits&h)){1===o.tag&&((l=bi(i,null)).tag=2,ki(o,l));o.expirationTime<i&&(o.expirationTime=i);null!==(l=o.alternate)&&l.expirationTime<i&&(l.expirationTime=i);hd(o.return,i);a.expirationTime<i&&(a.expirationTime=i);break}l=l.next}else e=10===o.tag&&o.type===t.type?null:o.child;if(null!==e)e.return=o;else for(e=o;null!==e;){if(e===t){e=null;break}if(null!==(o=e.sibling)){o.return=e.return;e=o;break}e=e.return}o=e}st(n,t,u.children,i);t=t.child}return t;case 9:return u=t.type,f=(h=t.pendingProps).children,wu(t,i),f=f(u=pt(u,h.unstable_observedBits)),t.effectTag|=1,st(n,t,f,i),t.child;case 14:return h=ct(u=t.type,t.pendingProps),wg(n,t,u,h=ct(u.type,h),f,i);case 15:return bg(n,t,t.type,t.pendingProps,f,i);case 17:return f=t.type,u=t.pendingProps,u=t.elementType===f?u:ct(f,u),null!==n&&(n.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,k(f)?(n=!0,ys(t)):n=!1,wu(t,i),wd(t,f,u),fv(t,f,u,i),dv(null,t,f,!0,n,i);case 19:return en(n,t,i)}throw Error(r(156,t.tag));};dh=null;gh=null;yy.prototype.render=function(n,t){tc(n,this._internalRoot,null,void 0===t?null:t)};yy.prototype.unmount=function(n){var t=this._internalRoot,i=void 0===n?null:n,r=t.containerInfo;tc(null,t,null,function(){r[df]=null;null!==i&&i()})};aw=function(n){if(13===n.tag){var t=bs(at(),150,100);tr(n,t);vy(n,t)}};hl=function(n){if(13===n.tag){at();var t=od++;tr(n,t);vy(n,t)}};vw=function(n){if(13===n.tag){var t=at();tr(n,t=pr(t,n,null));vy(n,t)}};vc=function(n,t,i){var u,f;switch(t){case"input":if(nl(n,i),t=i.name,"radio"===i.type&&null!=t){for(i=n;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<i.length;t++)if(u=i[t],u!==n&&u.form===n.form){if(f=ha(u),!f)throw Error(r(90));bp(u);nl(u,f)}}break;case"textarea":tw(n,i);break;case"select":null!=(t=i.value)&&fu(n,!!i.multiple,t,!1)}};yc=ntt;lp=function(n,t,i,r){var u=f;f|=4;try{return yu(98,n.bind(null,t,i,r))}finally{0===(f=u)&&yt()}};pc=function(){0==(49&f)&&(function(){if(null!==yr){var n=yr;yr=null;n.forEach(function(n,t){ly(t,n);ut(t)});yt()}}(),uf())};ap=function(n,t){var i=f;f|=2;try{return n(t)}finally{0===(f=i)&&yt()}};wy={createPortal:ltt,findDOMNode:function(n){if(null==n)return null;if(1===n.nodeType)return n;var t=n._reactInternalFiber;if(void 0===t){if("function"==typeof n.render)throw Error(r(188));throw Error(r(268,Object.keys(n)));}return null===(n=lw(t))?null:n.stateNode},hydrate:function(n,t,i){if(!uo(t))throw Error(r(200));return ic(null,n,t,!0,i)},render:function(n,t,i){if(!uo(t))throw Error(r(200));return ic(null,n,t,!1,i)},unstable_renderSubtreeIntoContainer:function(n,t,i,u){if(!uo(i))throw Error(r(200));if(null==n||void 0===n._reactInternalFiber)throw Error(r(38));return ic(n,t,i,!1,u)},unmountComponentAtNode:function(n){if(!uo(n))throw Error(r(40));return!!n._reactRootContainer&&(ttt(function(){ic(null,null,n,!1,function(){n._reactRootContainer=null;n[df]=null})}),!0)},unstable_createPortal:function(){return ltt.apply(void 0,arguments)},unstable_batchedUpdates:ntt,flushSync:function(n,t){if(0!=(48&f))throw Error(r(187));var i=f;f|=1;try{return yu(99,n.bind(null,t))}finally{f=i;yt()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[ne,or,ha,co.injectEventPluginsByName,rc,ou,function(n){oc(n,rit)},hp,cp,rs,ho,uf,{current:!1}]}};py=(att={findFiberByHostInstance:gf,bundleType:0,version:"16.12.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(n){var t,i;if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;if(t=__REACT_DEVTOOLS_GLOBAL_HOOK__,t.isDisabled||!t.supportsFiber)return!0;try{i=t.inject(n);dh=function(n){try{t.onCommitFiberRoot(i,n,void 0,64==(64&n.current.effectTag))}catch(n){}};gh=function(n){try{t.onCommitFiberUnmount(i,n)}catch(n){}}}catch(n){}}(p({},att,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ft.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return null===(n=lw(n))?null:n.stateNode},findFiberByHostInstance:function(n){return py?py(n):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}));by={"default":wy};ky=by&&wy||by;n.exports=ky.default||ky},function(n,t,i){"use strict";n.exports=i(585)},function(n,t){"use strict";function ut(n,t){var u=n.length,i,r;n.push(t);n:for(;;){if(i=Math.floor((u-1)/2),r=n[i],!(void 0!==r&&0<k(r,t)))break n;n[i]=t;n[u]=r;u=i}}function u(n){return void 0===(n=n[0])?null:n}function b(n){var o=n[0],i,t,s;if(void 0!==o){if(i=n.pop(),i!==o){n[0]=i;n:for(t=0,s=n.length;t<s;){var f=2*(t+1)-1,e=n[f],u=f+1,r=n[u];if(void 0!==e&&0>k(e,i))void 0!==r&&0>k(r,e)?(n[t]=r,n[u]=i,t=u):(n[t]=e,n[f]=i,t=f);else{if(!(void 0!==r&&0>k(r,i)))break n;n[t]=r;n[u]=i;t=u}}}return o}return null}function k(n,t){var i=n.sortIndex-t.sortIndex;return 0!==i?i:n.id-t.id}function g(n){for(var t=u(e);null!==t;){if(null===t.callback)b(e);else{if(!(t.startTime<=n))break;b(e);t.sortIndex=t.expirationTime;ut(f,t)}t=u(e)}}function ft(n){if(l=!1,g(n),!o)if(null!==u(f))o=!0,s(et);else{var t=u(e);null!==t&&h(ft,t.startTime-n)}}function et(n,s){var k,c,y,p,w;o=!1;l&&(l=!1,a());d=!0;k=i;try{for(g(s),r=u(f);null!==r&&(!(r.expirationTime>s)||n&&!v());)c=r.callback,null!==c?(r.callback=null,i=r.priorityLevel,y=c(r.expirationTime<=s),s=t.unstable_now(),"function"==typeof y?r.callback=y:r===u(f)&&b(f),g(s)):b(f),r=u(f);return null!==r?p=!0:(w=u(e),null!==w&&h(ft,w.startTime-s),p=!1),p}finally{r=null;i=k;d=!1}}function vt(n){switch(n){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var s,h,a,v,nt,ct,rt,w,yt;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,ot=null,st=function(){if(null!==c)try{var n=t.unstable_now();c(!0,n);c=null}catch(n){throw setTimeout(st,0),n;}},pt=Date.now();t.unstable_now=function(){return Date.now()-pt};s=function(n){null!==c?setTimeout(s,0,n):(c=n,setTimeout(st,0))};h=function(n,t){ot=setTimeout(n,t)};a=function(){clearTimeout(ot)};v=function(){return!1};nt=t.unstable_forceFrameRate=function(){}}else{var tt=window.performance,ht=window.Date,wt=window.setTimeout,bt=window.clearTimeout;("undefined"!=typeof console&&(window.cancelAnimationFrame,window.requestAnimationFrame),"object"==typeof tt&&"function"==typeof tt.now)?t.unstable_now=function(){return tt.now()}:(ct=ht.now(),t.unstable_now=function(){return ht.now()-ct});var y=!1,p=null,it=-1,lt=5,at=0;v=function(){return t.unstable_now()>=at};nt=function(){};t.unstable_forceFrameRate=function(n){0>n||125<n||(lt=0<n?Math.floor(1e3/n):5)};rt=new MessageChannel;w=rt.port2;rt.port1.onmessage=function(){if(null!==p){var n=t.unstable_now();at=n+lt;try{p(!0,n)?w.postMessage(null):(y=!1,p=null)}catch(n){throw w.postMessage(null),n;}}else y=!1};s=function(n){p=n;y||(y=!0,w.postMessage(null))};h=function(n,i){it=wt(function(){n(t.unstable_now())},i)};a=function(){bt(it);it=-1}}var f=[],e=[],kt=1,r=null,i=3,d=!1,o=!1,l=!1;yt=nt;t.unstable_ImmediatePriority=1;t.unstable_UserBlockingPriority=2;t.unstable_NormalPriority=3;t.unstable_IdlePriority=5;t.unstable_LowPriority=4;t.unstable_runWithPriority=function(n,t){switch(n){case 1:case 2:case 3:case 4:case 5:break;default:n=3}var r=i;i=n;try{return t()}finally{i=r}};t.unstable_next=function(n){var t,r;switch(i){case 1:case 2:case 3:t=3;break;default:t=i}r=i;i=t;try{return n()}finally{i=r}};t.unstable_scheduleCallback=function(n,i,r){var v=t.unstable_now(),c;return"object"==typeof r&&null!==r?(c=r.delay,c="number"==typeof c&&0<c?v+c:v,r="number"==typeof r.timeout?r.timeout:vt(n)):(r=vt(n),c=v),n={id:kt++,callback:i,priorityLevel:n,startTime:c,expirationTime:r=c+r,sortIndex:-1},c>v?(n.sortIndex=c,ut(e,n),null===u(f)&&n===u(e)&&(l?a():l=!0,h(ft,c-v))):(n.sortIndex=r,ut(f,n),o||d||(o=!0,s(et))),n};t.unstable_cancelCallback=function(n){n.callback=null};t.unstable_wrapCallback=function(n){var t=i;return function(){var r=i;i=t;try{return n.apply(this,arguments)}finally{i=r}}};t.unstable_getCurrentPriorityLevel=function(){return i};t.unstable_shouldYield=function(){var i=t.unstable_now(),n;return g(i),n=u(f),n!==r&&null!==r&&null!==n&&null!==n.callback&&n.startTime<=i&&n.expirationTime<r.expirationTime||v()};t.unstable_requestPaint=yt;t.unstable_continueExecution=function(){o||d||(o=!0,s(et))};t.unstable_pauseExecution=function(){};t.unstable_getFirstCallbackNode=function(){return u(f)};t.unstable_Profiling=null},function(n,t,i){var r,u;!function(n){"use strict";function o(n){var i=n.length,r=t.type(n);return"function"!==r&&!t.isWindow(n)&&(!(1!==n.nodeType||!i)||"array"===r||0===i||"number"==typeof i&&i>0&&i-1 in n)}var t,i;if(!n.jQuery){t=function(n,i){return new t.fn.init(n,i)};t.isWindow=function(n){return n&&n===n.window};t.type=function(n){return n?"object"==typeof n||"function"==typeof n?r[s.call(n)]||"object":typeof n:n+""};t.isArray=Array.isArray||function(n){return"array"===t.type(n)};t.isPlainObject=function(n){var i;if(!n||"object"!==t.type(n)||n.nodeType||t.isWindow(n))return!1;try{if(n.constructor&&!f.call(n,"constructor")&&!f.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}for(i in n);return void 0===i||f.call(n,i)};t.each=function(n,t,i){var r=0,u=n.length,f=o(n);if(i){if(f)for(;r<u&&!1!==t.apply(n[r],i);r++);else for(r in n)if(n.hasOwnProperty(r)&&!1===t.apply(n[r],i))break}else if(f)for(;r<u&&!1!==t.call(n[r],r,n[r]);r++);else for(r in n)if(n.hasOwnProperty(r)&&!1===t.call(n[r],r,n[r]))break;return n};t.data=function(n,r,u){var o,f,e;if(void 0===u){if(o=n[t.expando],f=o&&i[o],void 0===r)return f;if(f&&r in f)return f[r]}else if(void 0!==r)return e=n[t.expando]||(n[t.expando]=++t.uuid),i[e]=i[e]||{},i[e][r]=u,u};t.removeData=function(n,r){var u=n[t.expando],f=u&&i[u];f&&(r?t.each(r,function(n,t){delete f[t]}):delete i[u])};t.extend=function(){var i,o,r,f,e,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"!=typeof n&&"function"!==t.type(n)&&(n={}),u===c&&(n=this,u--);u<c;u++)if(e=arguments[u])for(f in e)e.hasOwnProperty(f)&&(i=n[f],n!==(r=e[f])&&(h&&r&&(t.isPlainObject(r)||(o=t.isArray(r)))?(o?(o=!1,s=i&&t.isArray(i)?i:[]):s=i&&t.isPlainObject(i)?i:{},n[f]=t.extend(h,s,r)):void 0!==r&&(n[f]=r)));return n};t.queue=function(n,i,r){if(n){i=(i||"fx")+"queue";var u,e,f=t.data(n,i);return r?(!f||t.isArray(r)?f=t.data(n,i,(e=[],(u=r)&&(o(Object(u))?function(n,t){for(var r=+t.length,i=0,u=n.length;i<r;)n[u++]=t[i++];if(r!=r)for(;void 0!==t[i];)n[u++]=t[i++];n.length=u}(e,"string"==typeof u?[u]:u):[].push.call(e,u)),e)):f.push(r),f):f||[]}};t.dequeue=function(n,i){t.each(n.nodeType?[n]:n,function(n,r){i=i||"fx";var f=t.queue(r,i),u=f.shift();"inprogress"===u&&(u=f.shift());u&&("fx"===i&&f.unshift("inprogress"),u.call(r,function(){t.dequeue(r,i)}))})};t.fn=t.prototype={init:function(n){if(n.nodeType)return this[0]=n,this;throw new Error("Not a DOM node.");},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(n.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(n.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var u=this[0],n=function(n){for(var t=n.offsetParent;t&&"html"!==t.nodeName.toLowerCase()&&t.style&&"static"===t.style.position.toLowerCase();)t=t.offsetParent;return t||document}(u),i=this.offset(),r=/^(?:body|html)$/i.test(n.nodeName)?{top:0,left:0}:t(n).offset();return i.top-=parseFloat(u.style.marginTop)||0,i.left-=parseFloat(u.style.marginLeft)||0,n.style&&(r.top+=parseFloat(n.style.borderTopWidth)||0,r.left+=parseFloat(n.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}};i={};t.expando="velocity"+(new Date).getTime();t.uuid=0;for(var r={},f=r.hasOwnProperty,s=r.toString,e="Boolean Number String Function Array Date RegExp Object Error".split(" "),u=0;u<e.length;u++)r["[object "+e[u]+"]"]=e[u].toLowerCase();t.fn.init.prototype=t.fn;n.Velocity={Utilities:t}}}(window),function(f){"use strict";"object"==typeof n.exports?n.exports=f():void 0===(u="function"==typeof(r=f)?r.call(t,i,t,n):r)||(n.exports=u)}(function(){"use strict";return function(n,t,i){function w(n){return e.isWrapped(n)?n=ut.call(n):e.isNode(n)&&(n=[n]),n}function o(n){var t=f.data(n,"velocity");if(null!==t)return t}function d(n,t){var i=o(n);i&&i.delayTimer&&!i.delayPaused&&(i.delayRemaining=i.delay-t+i.delayBegin,i.delayPaused=!0,clearTimeout(i.delayTimer.setTimeout))}function g(n){var t=o(n);t&&t.delayTimer&&t.delayPaused&&(t.delayPaused=!1,t.delayTimer.setTimeout=setTimeout(t.delayTimer.next,t.delayRemaining))}function ft(n){return function(t){return Math.round(t*n)*(1/n)}}function nt(n,i,r,u){function a(n,t){return 1-3*t+3*n}function v(n,t){return 3*t-6*n}function y(n){return 3*n}function h(n,t,i){return((a(t,i)*n+v(t,i))*n+y(t))*n}function p(n,t,i){return 3*a(t,i)*n*n+2*v(t,i)*n+y(t)}function tt(t,i){for(var f,u=0;u<b;++u){if(f=p(i,n,r),0===f)return i;i-=(h(i,n,r)-t)/f}return i}function it(){for(var t=0;t<o;++t)e[t]=h(t*s,n,r)}function rt(t,i,u){var e,f,o=0;do(e=h(f=i+(u-i)/2,n,r)-t)>0?u=f:i=f;while(Math.abs(e)>d&&++o<g);return f}function ut(t){for(var f,h,u=0,i=1,c=o-1;i!==c&&e[i]<=t;++i)u+=s;return--i,f=u+(t-e[i])/(e[i+1]-e[i])*s,h=p(f,n,r),h>=k?tt(t,f):0===h?f:rt(t,u,u+s)}function ft(){l=!0;n===i&&r===u||it()}var b=4,k=.001,d=1e-7,g=10,o=11,s=1/(o-1),nt="Float32Array"in t,f,e,l,c,w;if(4!==arguments.length)return!1;for(f=0;f<4;++f)if("number"!=typeof arguments[f]||isNaN(arguments[f])||!isFinite(arguments[f]))return!1;return n=Math.min(n,1),r=Math.min(r,1),n=Math.max(n,0),r=Math.max(r,0),e=nt?new Float32Array(o):new Array(o),l=!1,c=function(t){return l||ft(),n===i&&r===u?t:0===t?0:1===t?1:h(ut(t),i,u)},c.getControlPoints=function(){return[{x:n,y:i},{x:r,y:u}]},w="generateBezier("+[n,i,r,u]+")",c.toString=function(){return w},c}function tt(n,t){var i=n;return e.isString(n)?u.Easings[n]||(i=!1):i=e.isArray(n)&&1===n.length?ft.apply(null,n):e.isArray(n)&&2===n.length?k.apply(null,n.concat([t])):!(!e.isArray(n)||4!==n.length)&&nt.apply(null,n),!1===i&&(i=u.Easings[u.defaults.easing]?u.defaults.easing:"swing"),i}function v(n){var k,nt,a,d,h,tt,y,w,t,ot,vt,st,g,ht,ut;if(n)for(k=u.timestamp&&!0!==n?n:rt.now(),nt=u.State.calls.length,nt>1e4&&(u.State.calls=function(n){for(var t,i=-1,u=n?n.length:0,r=[];++i<u;)t=n[i],t&&r.push(t);return r}(u.State.calls),nt=u.State.calls.length),a=0;a<nt;a++)if(u.State.calls[a]){var l=u.State.calls[a],ct=l[0],i=l[2],p=l[3],yt=!p,lt=null,at=l[5],ft=l[6];if(p||(p=u.State.calls[a][3]=k-16),at){if(!0!==at.resume)continue;p=l[3]=Math.round(k-ft-16);l[5]=null}ft=l[6]=k-p;for(var b=Math.min(ft/i.duration,1),et=0,pt=ct.length;et<pt;et++)if(d=ct[et],h=d.element,o(h)){tt=!1;for(y in void 0!==i.display&&null!==i.display&&"none"!==i.display&&("flex"===i.display&&f.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(n,t){r.setPropertyValue(h,"display",t)}),r.setPropertyValue(h,"display",i.display)),void 0!==i.visibility&&"hidden"!==i.visibility&&r.setPropertyValue(h,"visibility",i.visibility),d)if(d.hasOwnProperty(y)&&"element"!==y){if(t=d[y],ot=e.isString(t.easing)?u.Easings[t.easing]:t.easing,e.isString(t.pattern)?(vt=1===b?function(n,i,r){var u=t.endValue[i];return r?Math.round(u):u}:function(n,r,u){var f=t.startValue[r],e=t.endValue[r]-f,o=f+e*ot(b,i,e);return u?Math.round(o):o},w=t.pattern.replace(/{(\d+)(!)?}/g,vt)):1===b?w=t.endValue:(st=t.endValue-t.startValue,w=t.startValue+st*ot(b,i,st)),!yt&&w===t.currentValue)continue;(t.currentValue=w,"tween"===y)?lt=w:(r.Hooks.registered[y]&&(g=r.Hooks.getRoot(y),ht=o(h).rootPropertyValueCache[g],ht&&(t.rootPropertyValue=ht)),ut=r.setPropertyValue(h,y,t.currentValue+(s<9&&0===parseFloat(w)?"":t.unitType),t.rootPropertyValue,t.scrollData),r.Hooks.registered[y]&&(o(h).rootPropertyValueCache[g]=r.Normalizations.registered[g]?r.Normalizations.registered[g]("extract",null,ut[1]):ut[1]),"transform"===ut[0]&&(tt=!0))}i.mobileHA&&void 0===o(h).transformCache.translate3d&&(o(h).transformCache.translate3d="(0px, 0px, 0px)",tt=!0);tt&&r.flushTransformCache(h)}void 0!==i.display&&"none"!==i.display&&(u.State.calls[a][2].display=!1);void 0!==i.visibility&&"hidden"!==i.visibility&&(u.State.calls[a][2].visibility=!1);i.progress&&i.progress.call(l[1],l[1],b,Math.max(0,p+i.duration-k),p,lt);1===b&&it(a)}u.State.isTicking&&c(v)}function it(n,t){var e,s,c,l,b;if(!u.State.calls[n])return!1;for(var v=u.State.calls[n][0],a=u.State.calls[n][1],i=u.State.calls[n][2],y=u.State.calls[n][4],p=!1,h=0,w=v.length;h<w;h++){if(e=v[h].element,t||i.loop||("none"===i.display&&r.setPropertyValue(e,"display",i.display),"hidden"===i.visibility&&r.setPropertyValue(e,"visibility",i.visibility)),s=o(e),!0!==i.loop&&(void 0===f.queue(e)[1]||!/\.velocityQueueEntryFlag/i.test(f.queue(e)[1]))&&s&&(s.isAnimating=!1,s.rootPropertyValueCache={},c=!1,f.each(r.Lists.transforms3D,function(n,t){var i=/^scale/.test(t)?1:0,r=s.transformCache[t];void 0!==s.transformCache[t]&&new RegExp("^\\("+i+"[^.]").test(r)&&(c=!0,delete s.transformCache[t])}),i.mobileHA&&(c=!0,delete s.transformCache.translate3d),c&&r.flushTransformCache(e),r.Values.removeClass(e,"velocity-animating")),!t&&i.complete&&!i.loop&&h===w-1)try{i.complete.call(a,a)}catch(n){setTimeout(function(){throw n;},1)}y&&!0!==i.loop&&y(a);s&&!0===i.loop&&!t&&(f.each(s.tweensContainer,function(n,t){if(/^rotate/.test(n)&&(parseFloat(t.startValue)-parseFloat(t.endValue))%360==0){var i=t.startValue;t.startValue=t.endValue;t.endValue=i}/^backgroundPosition/.test(n)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),u(e,"reverse",{loop:!0,delay:i.delay}));!1!==i.queue&&f.dequeue(e,i.queue)}for(u.State.calls[n]=!1,l=0,b=u.State.calls.length;l<b;l++)if(!1!==u.State.calls[l]){p=!0;break}!1===p&&(u.State.isTicking=!1,delete u.State.calls,u.State.calls=[])}var l,s=function(){var n,t;if(i.documentMode)return i.documentMode;for(n=7;n>4;n--)if(t=i.createElement("div"),t.innerHTML="<!--[if IE "+n+"]><span><\/span><![endif]-->",t.getElementsByTagName("span").length)return t=null,n}(),y=(l=0,t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(n){var t,i=(new Date).getTime();return t=Math.max(0,16-(i-l)),l=i+t,setTimeout(function(){n(i+t)},t)}),rt=function(){var n=t.performance||{},i;return"function"!=typeof n.now&&(i=n.timing&&n.timing.navigationStart?n.timing.navigationStart:(new Date).getTime(),n.now=function(){return(new Date).getTime()-i}),n}(),ut=function(){var n=Array.prototype.slice;try{return n.call(i.documentElement),n}catch(t){return function(t,i){var u=this.length;if("number"!=typeof t&&(t=0),"number"!=typeof i&&(i=u),this.slice)return n.call(this,t,i);var r,f=[],o=t>=0?t:Math.max(0,u+t),e=(i<0?u+i:Math.min(i,u))-o;if(e>0)if(f=new Array(e),this.charAt)for(r=0;r<e;r++)f[r]=this.charAt(o+r);else for(r=0;r<e;r++)f[r]=this[o+r];return f}}}(),p=function(){return Array.prototype.includes?function(n,t){return n.includes(t)}:Array.prototype.indexOf?function(n,t){return n.indexOf(t)>=0}:function(n,t){for(var i=0;i<n.length;i++)if(n[i]===t)return!0;return!1}},f,e={isNumber:function(n){return"number"==typeof n},isString:function(n){return"string"==typeof n},isArray:Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)},isFunction:function(n){return"[object Function]"===Object.prototype.toString.call(n)},isNode:function(n){return n&&n.nodeType},isWrapped:function(n){return n&&n!==t&&e.isNumber(n.length)&&!e.isString(n)&&!e.isFunction(n)&&!e.isNode(n)&&(0===n.length||e.isNode(n[0]))},isSVG:function(n){return t.SVGElement&&n instanceof t.SVGElement},isEmptyObject:function(n){for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}},b=!1,u,k,r,h,c,a;if(n.fn&&n.fn.jquery?(f=n,b=!0):f=t.Velocity.Utilities,s<=8&&!b)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(s<=7))return u={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t.navigator.userAgent),isAndroid:/Android/i.test(t.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(t.navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(t.navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:f,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:400,easing:"swing",begin:void 0,complete:void 0,progress:void 0,display:void 0,visibility:void 0,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(n){f.data(n,"velocity",{isSVG:e.isSVG(n),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:2},debug:!1,timestamp:!0,pauseAll:function(n){var t=(new Date).getTime();f.each(u.State.calls,function(t,i){if(i){if(void 0!==n&&(i[2].queue!==n||!1===i[2].queue))return!0;i[5]={resume:!1}}});f.each(u.State.delayedElements,function(n,i){i&&d(i,t)})},resumeAll:function(n){var t=(new Date).getTime();f.each(u.State.calls,function(t,i){if(i){if(void 0!==n&&(i[2].queue!==n||!1===i[2].queue))return!0;i[5]&&(i[5].resume=!0)}});f.each(u.State.delayedElements,function(n,i){i&&g(i,t)})}},void 0!==t.pageYOffset?(u.State.scrollAnchor=t,u.State.scrollPropertyLeft="pageXOffset",u.State.scrollPropertyTop="pageYOffset"):(u.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,u.State.scrollPropertyLeft="scrollLeft",u.State.scrollPropertyTop="scrollTop"),k=function(){function n(n){return-n.tension*n.x-n.friction*n.v}function t(t,i,r){var u={x:t.x+r.dx*i,v:t.v+r.dv*i,tension:t.tension,friction:t.friction};return{dx:u.v,dv:n(u)}}function i(i,r){var u={dx:i.v,dv:n(i)},f=t(i,.5*r,u),e=t(i,.5*r,f),o=t(i,r,e),s=1/6*(u.dx+2*(f.dx+e.dx)+o.dx),h=1/6*(u.dv+2*(f.dv+e.dv)+o.dv);return i.x=i.x+s*r,i.v=i.v+h*r,i}return function n(t,r,u){var h,c,f,e={x:-1,v:0,tension:null,friction:null},o=[0],s=0;for(t=parseFloat(t)||500,r=parseFloat(r)||20,u=u||null,e.tension=t,e.friction=r,c=(h=null!==u)?(s=n(t,r))/u*.016:.016;f=i(f||e,c),o.push(1+f.x),s+=16,Math.abs(f.x)>.0001&&Math.abs(f.v)>.0001;);return h?function(n){return o[n*(o.length-1)|0]}:s}}(),u.Easings={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},spring:function(n){return 1-Math.cos(4.5*n*Math.PI)*Math.exp(6*-n)}},f.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(n,t){u.Easings[t[0]]=nt.apply(null,t[1])}),r=u.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var o,n,e,t,u,f,h,c,i=0;i<r.Lists.colors.length;i++)o="color"===r.Lists.colors[i]?"0 0 0 1":"255 255 255 1",r.Hooks.templates[r.Lists.colors[i]]=["Red Green Blue Alpha",o];if(s)for(n in r.Hooks.templates)r.Hooks.templates.hasOwnProperty(n)&&(t=(e=r.Hooks.templates[n])[0].split(" "),u=e[1].match(r.RegEx.valueSplit),"Color"===t[0]&&(t.push(t.shift()),u.push(u.shift()),r.Hooks.templates[n]=[t.join(" "),u.join(" ")]));for(n in r.Hooks.templates)if(r.Hooks.templates.hasOwnProperty(n))for(f in t=(e=r.Hooks.templates[n])[0].split(" "))t.hasOwnProperty(f)&&(h=n+t[f],c=f,r.Hooks.registered[h]=[n,c])},getRoot:function(n){var t=r.Hooks.registered[n];return t?t[0]:n},getUnit:function(n,t){var i=(n.substr(t||0,5).match(/^[a-z%]+/)||[])[0]||"";return i&&p(r.Lists.units)?i:""},fixColors:function(n){return n.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(n,t,i){return r.Lists.colorNames.hasOwnProperty(i)?(t||"rgba(")+r.Lists.colorNames[i]+(t?"":",1)"):t+i})},cleanRootPropertyValue:function(n,t){return r.RegEx.valueUnwrap.test(t)&&(t=t.match(r.RegEx.valueUnwrap)[1]),r.Values.isCSSNullValue(t)&&(t=r.Hooks.templates[n][1]),t},extractValue:function(n,t){var i=r.Hooks.registered[n],u,f;return i?(u=i[0],f=i[1],(t=r.Hooks.cleanRootPropertyValue(u,t)).toString().match(r.RegEx.valueSplit)[f]):t},injectValue:function(n,t,i){var u=r.Hooks.registered[n],f,e,o;return u?(e=u[0],o=u[1],(f=(i=r.Hooks.cleanRootPropertyValue(e,i)).toString().match(r.RegEx.valueSplit))[o]=t,f.join(" ")):i}},Normalizations:{registered:{clip:function(n,t,i){switch(n){case"name":return"clip";case"extract":var u;return r.RegEx.wrappedValueAlreadyExtracted.test(i)?i:(u=i.toString().match(r.RegEx.valueUnwrap))?u[1].replace(/,(\s+)?/g," "):i;case"inject":return"rect("+i+")"}},blur:function(n,t,i){var r,f;switch(n){case"name":return u.State.isFirefox?"filter":"-webkit-filter";case"extract":return r=parseFloat(i),r||0===r||(f=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i),r=f?f[1]:0),r;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(n,t,i){if(s<=8)switch(n){case"name":return"filter";case"extract":var r=i.toString().match(/alpha\(opacity=(.*)\)/i);return r?r[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(n){case"name":return"opacity";case"extract":case"inject":return i}}},register:function(){function f(n,t,i){if("border-box"===r.getPropertyValue(t,"boxSizing").toString().toLowerCase()===(i||!1)){for(var e,o=0,f="width"===n?["Left","Right"]:["Top","Bottom"],s=["padding"+f[0],"padding"+f[1],"border"+f[0]+"Width","border"+f[1]+"Width"],u=0;u<s.length;u++)e=parseFloat(r.getPropertyValue(t,s[u])),isNaN(e)||(o+=e);return i?-o:o}return 0}function i(n,t){return function(i,r,u){switch(i){case"name":return n;case"extract":return parseFloat(u)+f(n,r,t);case"inject":return parseFloat(u)-f(n,r,t)+"px"}}}var n,t;for((!s||s>9)&&!u.State.isGingerbread&&(r.Lists.transformsBase=r.Lists.transformsBase.concat(r.Lists.transforms3D)),n=0;n<r.Lists.transformsBase.length;n++)!function(){var t=r.Lists.transformsBase[n];r.Normalizations.registered[t]=function(n,i,r){switch(n){case"name":return"transform";case"extract":return void 0===o(i)||void 0===o(i).transformCache[t]?/^scale/i.test(t)?1:0:o(i).transformCache[t].replace(/[()]/g,"");case"inject":var f=!1;switch(t.substr(0,t.length-1)){case"translate":f=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":u.State.isAndroid&&void 0===o(i).transformCache[t]&&r<1&&(r=1);f=!/(\d)$/i.test(r);break;case"skew":case"rotate":f=!/(deg|\d)$/i.test(r)}return f||(o(i).transformCache[t]="("+r+")"),o(i).transformCache[t]}}}();for(t=0;t<r.Lists.colors.length;t++)!function(){var n=r.Lists.colors[t];r.Normalizations.registered[n]=function(t,i,u){var f,o,e;switch(t){case"name":return n;case"extract":return r.RegEx.wrappedValueAlreadyExtracted.test(u)?f=u:(e={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"},/^[A-z]+$/i.test(u)?o=void 0!==e[u]?e[u]:e.black:r.RegEx.isHex.test(u)?o="rgb("+r.Values.hexToRgb(u).join(" ")+")":/^rgba?\(/i.test(u)||(o=e.black),f=(o||u).toString().match(r.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")),(!s||s>8)&&3===f.split(" ").length&&(f+=" 1"),f;case"inject":return/^rgb/.test(u)?u:(s<=8?4===u.split(" ").length&&(u=u.split(/\s+/).slice(0,3).join(" ")):3===u.split(" ").length&&(u+=" 1"),(s<=8?"rgb":"rgba")+"("+u.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();r.Normalizations.registered.innerWidth=i("width",!0);r.Normalizations.registered.innerHeight=i("height",!0);r.Normalizations.registered.outerWidth=i("width");r.Normalizations.registered.outerHeight=i("height")}},Names:{camelCase:function(n){return n.replace(/-(\w)/g,function(n,t){return t.toUpperCase()})},SVGAttribute:function(n){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(s||u.State.isAndroid&&!u.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(n)},prefixCheck:function(n){var i;if(u.State.prefixMatches[n])return[u.State.prefixMatches[n],!0];for(var r=["","Webkit","Moz","ms","O"],t=0,f=r.length;t<f;t++)if(i=0===t?n:r[t]+n.replace(/^\w/,function(n){return n.toUpperCase()}),e.isString(u.State.prefixElement.style[i]))return u.State.prefixMatches[n]=i,[i,!0];return[n,!1]}},Values:{hexToRgb:function(n){var t;return n=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(n,t,i,r){return t+t+i+i+r+r}),(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(n){return!n||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(n)},getUnitType:function(n){return/^(rotate|skew)/i.test(n)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(n)?"":"px"},getDisplayType:function(n){var t=n&&n.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(n,t){if(n)if(n.classList)n.classList.add(t);else if(e.isString(n.className))n.className+=(n.className.length?" ":"")+t;else{var i=n.getAttribute(s<=7?"className":"class")||"";n.setAttribute("class",i+(i?" ":"")+t)}},removeClass:function(n,t){if(n)if(n.classList)n.classList.remove(t);else if(e.isString(n.className))n.className=n.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ");else{var i=n.getAttribute(s<=7?"className":"class")||"";n.setAttribute("class",i.replace(new RegExp("(^|s)"+t.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(n,i,e,h){function v(n,i){var u=0,c,l,e,y,p,a;if(s<=8)u=f.css(n,i);else{if(c=!1,/^(width|height)$/.test(i)&&0===r.getPropertyValue(n,"display")&&(c=!0,r.setPropertyValue(n,"display",r.Values.getDisplayType(n))),e=function(){c&&r.setPropertyValue(n,"display","none")},!h){if("height"===i&&"border-box"!==r.getPropertyValue(n,"boxSizing").toString().toLowerCase())return y=n.offsetHeight-(parseFloat(r.getPropertyValue(n,"borderTopWidth"))||0)-(parseFloat(r.getPropertyValue(n,"borderBottomWidth"))||0)-(parseFloat(r.getPropertyValue(n,"paddingTop"))||0)-(parseFloat(r.getPropertyValue(n,"paddingBottom"))||0),e(),y;if("width"===i&&"border-box"!==r.getPropertyValue(n,"boxSizing").toString().toLowerCase())return p=n.offsetWidth-(parseFloat(r.getPropertyValue(n,"borderLeftWidth"))||0)-(parseFloat(r.getPropertyValue(n,"borderRightWidth"))||0)-(parseFloat(r.getPropertyValue(n,"paddingLeft"))||0)-(parseFloat(r.getPropertyValue(n,"paddingRight"))||0),e(),p}l=void 0===o(n)?t.getComputedStyle(n,null):o(n).computedStyle?o(n).computedStyle:o(n).computedStyle=t.getComputedStyle(n,null);"borderColor"===i&&(i="borderTopColor");""!==(u=9===s&&"filter"===i?l.getPropertyValue(i):l[i])&&null!==u||(u=n.style[i]);e()}return"auto"===u&&/^(top|right|bottom|left)$/i.test(i)&&(a=v(n,"position"),("fixed"===a||"absolute"===a&&/top|left/i.test(i))&&(u=f(n).position()[i]+"px")),u}var c,y,l,w,a,p;if(r.Hooks.registered[i]?(y=i,l=r.Hooks.getRoot(y),void 0===e&&(e=r.getPropertyValue(n,r.Names.prefixCheck(l)[0])),r.Normalizations.registered[l]&&(e=r.Normalizations.registered[l]("extract",n,e)),c=r.Hooks.extractValue(y,e)):r.Normalizations.registered[i]&&("transform"!==(w=r.Normalizations.registered[i]("name",n))&&(a=v(n,r.Names.prefixCheck(w)[0]),r.Values.isCSSNullValue(a)&&r.Hooks.templates[i]&&(a=r.Hooks.templates[i][1])),c=r.Normalizations.registered[i]("extract",n,a)),!/^[\d-]/.test(c))if(p=o(n),p&&p.isSVG&&r.Names.SVGAttribute(i))if(/^(height|width)$/i.test(i))try{c=n.getBBox()[i]}catch(n){c=0}else c=n.getAttribute(i);else c=v(n,r.Names.prefixCheck(i)[0]);return r.Values.isCSSNullValue(c)&&(c=0),u.debug,c},setPropertyValue:function(n,i,f,e,h){var c=i,v,l,a;if("scroll"===i)h.container?h.container["scroll"+h.direction]=f:"Left"===h.direction?t.scrollTo(f,h.alternateValue):t.scrollTo(h.alternateValue,f);else if(r.Normalizations.registered[i]&&"transform"===r.Normalizations.registered[i]("name",n))r.Normalizations.registered[i]("inject",n,f),c="transform",f=o(n).transformCache[i];else{if(r.Hooks.registered[i]&&(v=i,l=r.Hooks.getRoot(i),e=e||r.getPropertyValue(n,l),f=r.Hooks.injectValue(v,f,e),i=l),r.Normalizations.registered[i]&&(f=r.Normalizations.registered[i]("inject",n,f),i=r.Normalizations.registered[i]("name",n)),c=r.Names.prefixCheck(i)[0],s<=8)try{n.style[c]=f}catch(n){u.debug}else a=o(n),a&&a.isSVG&&r.Names.SVGAttribute(i)?n.setAttribute(i,f):n.style[c]=f;u.debug}return[c,f]},flushTransformCache:function(n){var i="",l=o(n),t,e,h,c;(s||u.State.isAndroid&&!u.State.isChrome)&&l&&l.isSVG?(t=function(t){return parseFloat(r.getPropertyValue(n,t))},e={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]},f.each(o(n).transformCache,function(n){/^translate/i.test(n)?n="translate":/^scale/i.test(n)?n="scale":/^rotate/i.test(n)&&(n="rotate");e[n]&&(i+=n+"("+e[n].join(" ")+") ",delete e[n])})):(f.each(o(n).transformCache,function(t){if(h=o(n).transformCache[t],"transformPerspective"===t)return c=h,!0;9===s&&"rotateZ"===t&&(t="rotate");i+=t+h+" "}),c&&(i="perspective"+c+" "+i));r.setPropertyValue(n,"transform",i)}},r.Hooks.register(),r.Normalizations.register(),u.hook=function(n,t,i){var e;return n=w(n),f.each(n,function(n,f){if(void 0===o(f)&&u.init(f),void 0===i)void 0===e&&(e=r.getPropertyValue(f,t));else{var s=r.setPropertyValue(f,t,i);"transform"===s[0]&&u.CSS.flushTransformCache(f);e=s}}),e},h=function(){function nt(){return et?y.promise||null:vt}function dt(s,h){function g(){var g,nt,st,wt,at,ut,vt,it,bt,kt,yt,ht,pt,ft,ct;if(w.begin&&0===ot)try{w.begin.call(c,c)}catch(s){setTimeout(function(){throw s;},1)}if("scroll"===rt)ut=/^x$/i.test(w.axis)?"Left":"Top",vt=parseFloat(w.offset)||0,w.container?e.isWrapped(w.container)||e.isNode(w.container)?(w.container=w.container[0]||w.container,at=(st=w.container["scroll"+ut])+f(s).position()[ut.toLowerCase()]+vt):w.container=null:(st=u.State.scrollAnchor[u.State["scrollProperty"+ut]],wt=u.State.scrollAnchor[u.State["scrollProperty"+("Left"===ut?"Top":"Left")]],at=f(s).offset()[ut.toLowerCase()]+vt),d={scroll:{rootPropertyValue:!1,startValue:st,currentValue:st,endValue:at,unitType:"",easing:w.easing,scrollData:{container:w.container,direction:ut,alternateValue:wt}},element:s},u.debug;else if("reverse"===rt){if(!(g=o(s)))return;if(!g.tweensContainer)return void f.dequeue(s,w.queue);for(it in"none"===g.opts.display&&(g.opts.display="auto"),"hidden"===g.opts.visibility&&(g.opts.visibility="visible"),g.opts.loop=!1,g.opts.begin=null,g.opts.complete=null,n.easing||delete w.easing,n.duration||delete w.duration,w=f.extend({},g.opts,w),nt=f.extend(!0,{},g?g.tweensContainer:null))nt.hasOwnProperty(it)&&"element"!==it&&(bt=nt[it].startValue,nt[it].startValue=nt[it].currentValue=nt[it].endValue,nt[it].endValue=bt,e.isEmptyObject(n)||(nt[it].easing=w.easing),u.debug);d=nt}else if("start"===rt){(g=o(s))&&g.tweensContainer&&!0===g.isAnimating&&(nt=g.tweensContainer);kt=function(n,t){var f,o,i;return e.isFunction(n)&&(n=n.call(s,h,k)),e.isArray(n)?(f=n[0],!e.isArray(n[1])&&/^[\d-]/.test(n[1])||e.isFunction(n[1])||r.RegEx.isHex.test(n[1])?i=n[1]:e.isString(n[1])&&!r.RegEx.isHex.test(n[1])&&u.Easings[n[1]]||e.isArray(n[1])?(o=t?n[1]:tt(n[1],w.duration),i=n[2]):i=n[1]||n[2]):f=n,t||(o=o||w.easing),e.isFunction(f)&&(f=f.call(s,h,k)),e.isFunction(i)&&(i=i.call(s,h,k)),[f||0,o,i]};yt=function(n,o){var k,ot=r.Hooks.getRoot(n),ht=!1,c=o[0],ti=o[1],h=o[2],at,p,ft,vt,kt,a,et,st,wt,lt,bt,dt;if(g&&g.isSVG||"tween"===ot||!1!==r.Names.prefixCheck(ot)[1]||void 0!==r.Normalizations.registered[ot]){if((void 0!==w.display&&null!==w.display&&"none"!==w.display||void 0!==w.visibility&&"hidden"!==w.visibility)&&/opacity|filter/.test(n)&&!h&&0!==c&&(h=0),w._cacheValues&&nt&&nt[n]?(void 0===h&&(h=nt[n].endValue+nt[n].unitType),ht=g.rootPropertyValueCache[ot]):r.Hooks.registered[n]?void 0===h?(ht=r.getPropertyValue(s,ot),h=r.getPropertyValue(s,n,ht)):ht=r.Hooks.templates[ot][1]:void 0===h&&(h=r.getPropertyValue(s,n)),vt=!1,kt=function(n,t){var i,u;return u=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(n){return i=n,""}),i||(i=r.Values.getUnitType(n)),[u,i]},h!==c&&e.isString(h)&&e.isString(c)){k="";var it=0,rt=0,ut=[],yt=[],y=0,v=0,tt=0;for(h=r.Hooks.fixColors(h),c=r.Hooks.fixColors(c);it<h.length&&rt<c.length;)if(a=h[it],et=c[rt],/[\d\.-]/.test(a)&&/[\d\.-]/.test(et)){for(var ct=a,pt=et,gt=".",ni=".";++it<h.length;){if((a=h[it])===gt)gt="..";else if(!/\d/.test(a))break;ct+=a}for(;++rt<c.length;){if((et=c[rt])===ni)ni="..";else if(!/\d/.test(et))break;pt+=et}st=r.Hooks.getUnit(h,it);wt=r.Hooks.getUnit(c,rt);(it+=st.length,rt+=wt.length,st===wt)?ct===pt?k+=ct+st:(k+="{"+ut.length+(v?"!":"")+"}"+st,ut.push(parseFloat(ct)),yt.push(parseFloat(pt))):(lt=parseFloat(ct),bt=parseFloat(pt),k+=(y<5?"calc":"")+"("+(lt?"{"+ut.length+(v?"!":"")+"}":"0")+st+" + "+(bt?"{"+(ut.length+(lt?1:0))+(v?"!":"")+"}":"0")+wt+")",lt&&(ut.push(lt),yt.push(0)),bt&&(ut.push(0),yt.push(bt)))}else{if(a!==et){y=0;break}k+=a;it++;rt++;0===y&&"c"===a||1===y&&"a"===a||2===y&&"l"===a||3===y&&"c"===a||y>=4&&"("===a?y++:(y&&y<5||y>=4&&")"===a&&--y<5)&&(y=0);0===v&&"r"===a||1===v&&"g"===a||2===v&&"b"===a||3===v&&"a"===a||v>=3&&"("===a?(3===v&&"a"===a&&(tt=1),v++):tt&&","===a?++tt>3&&(v=tt=0):(tt&&v<(tt?5:4)||v>=(tt?4:3)&&")"===a&&--v<(tt?5:4))&&(v=tt=0)}it===h.length&&rt===c.length||(u.debug,k=void 0);k&&(ut.length?(u.debug,h=ut,c=yt,p=ft=""):k=void 0)}if(k||(h=(at=kt(n,h))[0],ft=at[1],c=(at=kt(n,c))[0].replace(/^([+-\/*])=/,function(n,t){return vt=t,""}),p=at[1],h=parseFloat(h)||0,c=parseFloat(c)||0,"%"===p&&(/^(fontSize|lineHeight)$/.test(n)?(c/=100,p="em"):/^scale/.test(n)?(c/=100,p=""):/(Red|Green|Blue)$/i.test(n)&&(c=c/100*255,p=""))),/[\/*]/.test(vt))p=ft;else if(ft!==p&&0!==h)if(0===c)p=ft;else{b=b||function(){var o={myParent:s.parentNode||i.body,position:r.getPropertyValue(s,"position"),fontSize:r.getPropertyValue(s,"fontSize")},h=o.position===l.lastPosition&&o.myParent===l.lastParent,c=o.fontSize===l.lastFontSize,e,n;return l.lastParent=o.myParent,l.lastPosition=o.position,l.lastFontSize=o.fontSize,e={},c&&h?(e.emToPx=l.lastEmToPx,e.percentToPxWidth=l.lastPercentToPxWidth,e.percentToPxHeight=l.lastPercentToPxHeight):(n=g&&g.isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div"),u.init(n),o.myParent.appendChild(n),f.each(["overflow","overflowX","overflowY"],function(t,i){u.CSS.setPropertyValue(n,i,"hidden")}),u.CSS.setPropertyValue(n,"position",o.position),u.CSS.setPropertyValue(n,"fontSize",o.fontSize),u.CSS.setPropertyValue(n,"boxSizing","content-box"),f.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,i){u.CSS.setPropertyValue(n,i,"100%")}),u.CSS.setPropertyValue(n,"paddingLeft","100em"),e.percentToPxWidth=l.lastPercentToPxWidth=(parseFloat(r.getPropertyValue(n,"width",null,!0))||1)/100,e.percentToPxHeight=l.lastPercentToPxHeight=(parseFloat(r.getPropertyValue(n,"height",null,!0))||1)/100,e.emToPx=l.lastEmToPx=(parseFloat(r.getPropertyValue(n,"paddingLeft"))||1)/100,o.myParent.removeChild(n)),null===l.remToPx&&(l.remToPx=parseFloat(r.getPropertyValue(i.body,"fontSize"))||16),null===l.vwToPx&&(l.vwToPx=parseFloat(t.innerWidth)/100,l.vhToPx=parseFloat(t.innerHeight)/100),e.remToPx=l.remToPx,e.vwToPx=l.vwToPx,e.vhToPx=l.vhToPx,u.debug,e}();dt=/margin|padding|left|right|width|text|word|letter/i.test(n)||/X$/.test(n)||"x"===n?"x":"y";switch(ft){case"%":h*="x"===dt?b.percentToPxWidth:b.percentToPxHeight;break;case"px":break;default:h*=b[ft+"ToPx"]}switch(p){case"%":h*=1/("x"===dt?b.percentToPxWidth:b.percentToPxHeight);break;case"px":break;default:h*=1/b[p+"ToPx"]}}switch(vt){case"+":c=h+c;break;case"-":c=h-c;break;case"*":c*=h;break;case"/":c=h/c}d[n]={rootPropertyValue:ht,startValue:h,currentValue:h,endValue:c,unitType:p,easing:ti};k&&(d[n].pattern=k);u.debug}else u.debug};for(ht in a)if(a.hasOwnProperty(ht)){if(pt=r.Names.camelCase(ht),ft=kt(a[ht]),p(r.Lists.colors)){var dt=ft[0],gt=ft[1],ni=ft[2];if(r.RegEx.isHex.test(dt)){for(var ti=["Red","Green","Blue"],ri=r.Values.hexToRgb(dt),ii=ni?r.Values.hexToRgb(ni):void 0,et=0;et<ti.length;et++)ct=[ri[et]],gt&&ct.push(gt),void 0!==ii&&ct.push(ii[et]),yt(pt+ti[et],ct);continue}}yt(pt,ft)}d.element=s}d.element&&(r.Values.addClass(s,"velocity-animating"),lt.push(d),(g=o(s))&&(""===w.queue&&(g.tweensContainer=d,g.opts=w),g.isAnimating=!0),ot===k-1?(u.State.calls.push([lt,c,w,null,y.resolver,null,0]),!1===u.State.isTicking&&(u.State.isTicking=!0,v())):ot++)}var b,it,w=f.extend({},u.defaults,n),d={},nt,ut;switch(void 0===o(s)&&u.init(s),parseFloat(w.delay)&&!1!==w.queue&&f.queue(s,w.queue,function(n,t){var i,r,f;if(!0===t)return!0;u.velocityQueueEntryFlag=!0;i=u.State.delayedElements.count++;u.State.delayedElements[i]=s;f=(r=i,function(){u.State.delayedElements[r]=!1;n()});o(s).delayBegin=(new Date).getTime();o(s).delay=parseFloat(w.delay);o(s).delayTimer={setTimeout:setTimeout(n,parseFloat(w.delay)),next:f}}),w.duration.toString().toLowerCase()){case"fast":w.duration=200;break;case"normal":w.duration=400;break;case"slow":w.duration=600;break;default:w.duration=parseFloat(w.duration)||1}(!1!==u.mock&&(!0===u.mock?w.duration=w.delay=1:(w.duration*=parseFloat(u.mock)||1,w.delay*=parseFloat(u.mock)||1)),w.easing=tt(w.easing,w.duration),w.begin&&!e.isFunction(w.begin)&&(w.begin=null),w.progress&&!e.isFunction(w.progress)&&(w.progress=null),w.complete&&!e.isFunction(w.complete)&&(w.complete=null),void 0!==w.display&&null!==w.display&&(w.display=w.display.toString().toLowerCase(),"auto"===w.display&&(w.display=u.CSS.Values.getDisplayType(s))),void 0!==w.visibility&&null!==w.visibility&&(w.visibility=w.visibility.toString().toLowerCase()),w.mobileHA=w.mobileHA&&u.State.isMobile&&!u.State.isGingerbread,!1===w.queue)?w.delay?(nt=u.State.delayedElements.count++,u.State.delayedElements[nt]=s,ut=(it=nt,function(){u.State.delayedElements[it]=!1;g()}),o(s).delayBegin=(new Date).getTime(),o(s).delay=parseFloat(w.delay),o(s).delayTimer={setTimeout:setTimeout(g,parseFloat(w.delay)),next:ut}):g():f.queue(s,w.queue,function(n,t){if(!0===t)return y.promise&&y.resolver(c),!0;u.velocityQueueEntryFlag=!0;g()});""!==w.queue&&"fx"!==w.queue||"inprogress"===f.queue(s)[0]||f.dequeue(s)}var s,et,vt,ut,c,a,n,yt=arguments[0]&&(arguments[0].p||f.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||e.isString(arguments[0].properties)),y,rt,k,ot,pt,b,wt,ht,bt,ct,kt,l,lt,at,st,ft;if(e.isWrapped(this)?(et=!1,ut=0,c=this,vt=this):(et=!0,ut=1,c=yt?arguments[0].elements||arguments[0].e:arguments[0]),y={promise:null,resolver:null,rejecter:null},et&&u.Promise&&(y.promise=new u.Promise(function(n,t){y.resolver=n;y.rejecter=t})),yt?(a=arguments[0].properties||arguments[0].p,n=arguments[0].options||arguments[0].o):(a=arguments[ut],n=arguments[ut+1]),c=w(c)){if(k=c.length,ot=0,!/^(stop|finish|finishAll|pause|resume)$/i.test(a)&&!f.isPlainObject(n))for(pt=ut+1,n={},b=pt;b<arguments.length;b++)e.isArray(arguments[b])||!/^(fast|normal|slow)$/i.test(arguments[b])&&!/^\d/.test(arguments[b])?e.isString(arguments[b])||e.isArray(arguments[b])?n.easing=arguments[b]:e.isFunction(arguments[b])&&(n.complete=arguments[b]):n.duration=arguments[b];switch(a){case"scroll":rt="scroll";break;case"reverse":rt="reverse";break;case"pause":return wt=(new Date).getTime(),f.each(c,function(n,t){d(t,wt)}),f.each(u.State.calls,function(t,i){var r=!1;i&&f.each(i[1],function(t,u){var e=void 0===n?"":n;return!0!==e&&i[2].queue!==e&&(void 0!==n||!1!==i[2].queue)||(f.each(c,function(n,t){if(t===u)return i[5]={resume:!1},r=!0,!1}),!r&&void 0)})}),nt();case"resume":return f.each(c,function(n,t){g(t)}),f.each(u.State.calls,function(t,i){var r=!1;i&&f.each(i[1],function(t,u){var e=void 0===n?"":n;return!0!==e&&i[2].queue!==e&&(void 0!==n||!1!==i[2].queue)||!i[5]||(f.each(c,function(n,t){if(t===u)return i[5].resume=!0,r=!0,!1}),!r&&void 0)})}),nt();case"finish":case"finishAll":case"stop":return f.each(c,function(t,i){o(i)&&o(i).delayTimer&&(clearTimeout(o(i).delayTimer.setTimeout),o(i).delayTimer.next&&o(i).delayTimer.next(),delete o(i).delayTimer);"finishAll"===a&&(!0===n||e.isString(n))&&(f.each(f.queue(i,e.isString(n)?n:""),function(n,t){e.isFunction(t)&&t()}),f.queue(i,e.isString(n)?n:"",[]))}),ht=[],f.each(u.State.calls,function(t,i){i&&f.each(i[1],function(r,u){var s=void 0===n?"":n;if(!0!==s&&i[2].queue!==s&&(void 0!==n||!1!==i[2].queue))return!0;f.each(c,function(r,h){if(h===u)if((!0===n||e.isString(n))&&(f.each(f.queue(h,e.isString(n)?n:""),function(n,t){e.isFunction(t)&&t(null,!0)}),f.queue(h,e.isString(n)?n:"",[])),"stop"===a){var c=o(h);c&&c.tweensContainer&&(!0===s||""===s)&&f.each(c.tweensContainer,function(n,t){t.endValue=t.currentValue});ht.push(t)}else"finish"!==a&&"finishAll"!==a||(i[2].duration=1)})})}),"stop"===a&&(f.each(ht,function(n,t){it(t,!0)}),y.promise&&y.resolver(c)),nt();default:if(!f.isPlainObject(a)||e.isEmptyObject(a))return e.isString(a)&&u.Redirects[a]?(bt=(s=f.extend({},n)).duration,ct=s.delay||0,!0===s.backwards&&(c=f.extend(!0,[],c).reverse()),f.each(c,function(n,t){parseFloat(s.stagger)?s.delay=ct+parseFloat(s.stagger)*n:e.isFunction(s.stagger)&&(s.delay=ct+s.stagger.call(t,n,k));s.drag&&(s.duration=parseFloat(bt)||(/^(callout|transition)/.test(a)?1e3:400),s.duration=Math.max(s.duration*(s.backwards?1-n/k:(n+1)/k),.75*s.duration,200));u.Redirects[a].call(t,t,s||{},n,k,c,y.promise?y:void 0)}),nt()):(kt="Velocity: First argument ("+a+") was not a property map, a known action, or a registered redirect. Aborting.",y.promise?y.rejecter(new Error(kt)):t.console,nt());rt="start"}if(l={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},lt=[],f.each(c,function(n,t){e.isNode(t)&&dt(t,n)}),(s=f.extend({},u.defaults,n)).loop=parseInt(s.loop,10),at=2*s.loop-1,s.loop)for(st=0;st<at;st++)ft={delay:s.delay,progress:s.progress},st===at-1&&(ft.display=s.display,ft.visibility=s.visibility,ft.complete=s.complete),h(c,"reverse",ft);return nt()}y.promise&&(a&&n&&!1===n.promiseRejectEmpty?y.resolver():y.rejecter())},(u=f.extend(h,u)).animate=h,c=t.requestAnimationFrame||y,u.State.isMobile||void 0===i.hidden||(a=function(){i.hidden?(c=function(n){return setTimeout(function(){n(!0)},16)},v()):c=t.requestAnimationFrame||y},a(),i.addEventListener("visibilitychange",a)),n.Velocity=u,n!==t&&(n.fn.velocity=h,n.fn.velocity.defaults=u.defaults),f.each(["Down","Up"],function(n,t){u.Redirects["slide"+t]=function(n,i,e,o,s,h){var c=f.extend({},i),v=c.begin,y=c.complete,l={},a={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};void 0===c.display&&(c.display="Down"===t?"inline"===u.CSS.Values.getDisplayType(n)?"inline-block":"block":"none");c.begin=function(){var i,u;for(i in 0===e&&v&&v.call(s,s),a)a.hasOwnProperty(i)&&(l[i]=n.style[i],u=r.getPropertyValue(n,i),a[i]="Down"===t?[u,0]:[0,u]);l.overflow=n.style.overflow;n.style.overflow="hidden"};c.complete=function(){for(var t in l)l.hasOwnProperty(t)&&(n.style[t]=l[t]);e===o-1&&(y&&y.call(s,s),h&&h.resolver(s))};u(n,a,c)}}),f.each(["In","Out"],function(n,t){u.Redirects["fade"+t]=function(n,i,r,e,o,s){var h=f.extend({},i),c=h.complete,l={opacity:"In"===t?1:0};0!==r&&(h.begin=null);h.complete=r!==e-1?null:function(){c&&c.call(o,o);s&&s.resolver(o)};void 0===h.display&&(h.display="In"===t?"auto":"none");u(this,l,h)}}),u;jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)})},function(n,t,i){"use strict";function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function y(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var w=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},a=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),r={each:i(372),extend:i(588),forEach:i(131),isEqual:i(90),keys:i(40),omit:i(370),map:i(590)},e=i(1),b=i(57),u=i(5),k=i(591),p=i(593).default,f=i(132),h="undefined"!=typeof window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(n){window.setTimeout(n,0)}),o,l,s;h="undefined"!=typeof window&&h.bind(window);o="undefined"!=typeof window&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(n){window.clearTimeout(n)});o="undefined"!=typeof window&&o.bind(window);l=function(n){function t(){var r,u,n;v(this,t);for(var f=arguments.length,e=Array(f),i=0;i<f;i++)e[i]=arguments[i];return u=n=c(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(e))),n.lastState="appear",n.componentWillEnter=function(t,i){n.lastState=i?"appear":"enter"},n.componentWillExit=function(){n.lastState="exit"},n.endListener=function(t,i){switch(n.lastState){case"appear":n.props.willAppearFunc(t,i);break;case"enter":n.props.willEnterFunc(t,i);break;case"exit":n.props.willLeaveFunc(t,i)}},c(n,u)}return y(t,n),a(t,[{key:"componentWillUnmount",value:function(){f.Utilities.removeData(b.findDOMNode(this),["velocity","fxqueue"])}},{key:"render",value:function(){var n=r.omit(this.props,r.keys(t.propTypes));return e.createElement(p,w({},n,{timeout:null,addEndListener:this.endListener,appear:!0,onEnter:this.componentWillEnter,onExit:this.componentWillExit}),this.props.children)}}]),t}(e.Component);l.propTypes={children:u.element.isRequired,willAppearFunc:u.func.isRequired,willEnterFunc:u.func.isRequired,willLeaveFunc:u.func.isRequired};s=function(n){function t(n){v(this,t);var i=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return i._scheduledAnimationFrame=null,i._scheduledAnimationRunFrames=[],i._entering=[],i._leaving=[],i._timers=[],i._unmounted=!1,i.childWillAppear=i.childWillAppear.bind(i),i.childWillEnter=i.childWillEnter.bind(i),i.childWillLeave=i.childWillLeave.bind(i),i._runAnimations=i._runAnimations.bind(i),i._wrapChild=i._wrapChild.bind(i),i}return y(t,n),a(t,[{key:"componentWillUnmount",value:function(){this._scheduledAnimationFrame&&o(this._scheduledAnimationFrame);r.forEach(this._timers,function(n){clearTimeout(n)});r.forEach(this._scheduledAnimationRunFrames,function(n){o(n)});this._unmounted=!0}},{key:"render",value:function(){var n=r.omit(this.props,r.keys(t.propTypes));return e.createElement(k,n,this.constructor.disabledForTest||f.velocityReactServerShim?e.Children.map(this.props.children,function(n){return n&&e.createElement(p,{timeout:0},n)}):e.Children.map(this.props.children,this._wrapChild))}},{key:"childWillAppear",value:function(n,t){var r=this,i;this.props.runOnMount?this.childWillEnter(n,t):(this._finishAnimation(n,this.props.enter),i=setTimeout(function(){var n=r._timers.indexOf(i);n>=0&&r._timers.splice(n,1);t()},0),this._timers.push(i))}},{key:"childWillEnter",value:function(n,t){this._shortCircuitAnimation(this.props.enter,t)||(this._finishAnimation(n,this.props.leave,{begin:void 0,complete:void 0}),r.forEach(this.props.enterHideStyle,function(t,i){f.CSS.setPropertyValue(n,i,t)}),this._entering.push({node:n,doneFn:t}),this._schedule())}},{key:"childWillLeave",value:function(n,t){this._shortCircuitAnimation(this.props.leave,t)||(this._leaving.push({node:n,doneFn:t}),this._schedule())}},{key:"_shortCircuitAnimation",value:function(n,t){return!(!document.hidden&&null!=this._parseAnimationProp(n).animation||(t(),0))}},{key:"_schedule",value:function(){this._scheduledAnimationFrame||(this._scheduledAnimationFrame=h(this._runAnimations))}},{key:"_runAnimations",value:function(){this._scheduledAnimationFrame=null;this._runAnimation(!0,this._entering,this.props.enter);this._runAnimation(!1,this._leaving,this.props.leave);this._entering=[];this._leaving=[]}},{key:"_parseAnimationProp",value:function(n){var t,i,u;return"string"==typeof n?(t=n,u=null,i={}):(t=null!=n?n.animation:null,u=null!=n?n.style:null,i=r.omit(n,"animation","style")),{animation:t,style:u,opts:i}}},{key:"_runAnimation",value:function(n,t,i){var s=this,v,u,p,y;if(0!==t.length){var c=r.map(t,"node"),w=r.map(t,"doneFn"),l=this._parseAnimationProp(i),a=l.animation,e=l.style,o=l.opts;n&&(r.isEqual(this.props.enterShowStyle,{display:""})&&(/^(fade|slide)/.test(a)||/In$/.test(a))||(e=r.extend({},this.props.enterShowStyle,e)));null!=e&&r.each(e,function(n,t){f.hook(c,t,n)});u=function(){s._unmounted||w.map(function(n){n()})};(n?(u(),u=null):f(c,"stop"),u&&o.complete)?(p=o.complete,v=function(){u();p.apply(this,arguments)}):v=u||o.complete;y=h(function(){var n=s._scheduledAnimationRunFrames.indexOf(y);n>=0&&s._scheduledAnimationRunFrames.splice(n,1);f(c,a,r.extend({},o,{complete:v}))});this._scheduledAnimationRunFrames.push(y)}}},{key:"_finishAnimation",value:function(n,t,i){var u=this._parseAnimationProp(t),e=u.animation,o=u.style,s=r.extend({},u.opts,i);null!=o&&r.each(o,function(t,i){f.hook(n,i,t)});null!=e&&(f(n,e,s),f(n,"finishAll",!0))}},{key:"_wrapChild",value:function(n){return n?e.createElement(l,{key:n.key,willAppearFunc:this.childWillAppear,willEnterFunc:this.childWillEnter,willLeaveFunc:this.childWillLeave},n):null}}]),t}(e.Component);s.disabledForTest=!1;s.propTypes={runOnMount:u.bool,enter:u.any,leave:u.any,children:u.any,enterHideStyle:u.object,enterShowStyle:u.object};s.defaultProps={runOnMount:!1,enter:null,leave:null,enterHideStyle:{display:"none"},enterShowStyle:{display:""}};n.exports=s},function(n,t,i){n.exports=i(589)},function(n,t,i){var r=i(34),u=i(373),f=i(87),e=u(function(n,t){r(t,f(t),n)});n.exports=e},function(n,t,i){var r=i(84),u=i(29),f=i(189),e=i(10);n.exports=function(n,t){return(e(n)?r:f)(n,u(t,3))}},function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(){return(o=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function s(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}var h,r,c;t.__esModule=!0;t.default=void 0;var l=e(i(5)),f=e(i(1)),a=i(133),u=i(592);h=Object.values||function(n){return Object.keys(n).map(function(t){return n[t]})};r=function(n){function r(t,i){var r,u=(r=n.call(this,t,i)||this).handleExited.bind(s(s(r)));return r.state={handleExited:u,firstRender:!0},r}var i,e,t;return e=n,(i=r).prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e,t=r.prototype,t.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},t.componentDidMount=function(){this.appeared=!0;this.mounted=!0},t.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(n,t){var r=t.children,i=t.handleExited;return{children:t.firstRender?u.getInitialChildMapping(n,i):u.getNextChildMapping(n,r,i),firstRender:!1}},t.handleExited=function(n,t){var i=u.getChildMapping(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(t),this.mounted&&this.setState(function(t){var i=o({},t.children);return delete i[n.key],{children:i}}))},t.render=function(){var t=this.props,i=t.component,u=t.childFactory,n=function(n,t){if(null==n)return{};for(var i,u={},f=Object.keys(n),r=0;r<f.length;r++)i=f[r],t.indexOf(i)>=0||(u[i]=n[i]);return u}(t,["component","childFactory"]),r=h(this.state.children).map(u);return delete n.appear,delete n.enter,delete n.exit,null===i?r:f.default.createElement(i,n,r)},r}(f.default.Component);r.childContextTypes={transitionGroup:l.default.object.isRequired};r.propTypes={};r.defaultProps={component:"div",childFactory:function(n){return n}};c=a.polyfill(r);t.default=c;n.exports=t.default},function(n,t,i){"use strict";function f(n,t){var i=Object.create(null);return n&&r.Children.map(n,function(n){return n}).forEach(function(n){i[n.key]=function(n){return t&&r.isValidElement(n)?t(n):n}(n)}),i}function e(n,t){function s(i){return i in t?t[i]:n[i]}var i,f,r,o,e,u,h;n=n||{};t=t||{};f=Object.create(null);r=[];for(o in n)o in t?r.length&&(f[o]=r,r=[]):r.push(o);e={};for(u in t){if(f[u])for(i=0;i<f[u].length;i++)h=f[u][i],e[f[u][i]]=s(h);e[u]=s(u)}for(i=0;i<r.length;i++)e[r[i]]=s(r[i]);return e}function u(n,t,i){return null!=i[t]?i[t]:n.props[t]}t.__esModule=!0;t.getChildMapping=f;t.mergeChildMappings=e;t.getInitialChildMapping=function(n,t){return f(n.children,function(i){return r.cloneElement(i,{onExited:t.bind(null,i),"in":!0,appear:u(i,"appear",n),enter:u(i,"enter",n),exit:u(i,"exit",n)})})};t.getNextChildMapping=function(n,t,i){var s=f(n.children),o=e(t,s);return Object.keys(o).forEach(function(f){var e=o[f];if(r.isValidElement(e)){var c=f in t,l=f in s,h=t[f],a=r.isValidElement(h)&&!h.props.in;!l||c&&!a?l||!c||a?l&&c&&r.isValidElement(h)&&(o[f]=r.cloneElement(e,{onExited:i.bind(null,e),"in":h.props.in,exit:u(e,"exit",n),enter:u(e,"enter",n)})):o[f]=r.cloneElement(e,{"in":!1}):o[f]=r.cloneElement(e,{onExited:i.bind(null,e),"in":!0,exit:u(e,"exit",n),enter:u(e,"enter",n)})}}),o};var r=i(1)},function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function u(){}var r,o;t.__esModule=!0;t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var s=function(n){var i,t,r;if(n&&n.__esModule)return n;if(i={},null!=n)for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(n,t):{},r.get||r.set?Object.defineProperty(i,t,r):i[t]=n[t]);return i.default=n,i}(i(5)),f=e(i(1)),h=e(i(57)),c=i(133);i(594);t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";r=function(n){function r(t,i){var r,u,f,e;return r=n.call(this,t,i)||this,f=i.transitionGroup,e=f&&!f.isMounting?t.enter:t.appear,r.appearStatus=null,t.in?e?(u="exited",r.appearStatus="entering"):u="entered":u=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:u},r.nextCallback=null,r}var i,u,t;return u=n,(i=r).prototype=Object.create(u.prototype),i.prototype.constructor=i,i.__proto__=u,t=r.prototype,t.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(n,t){return n.in&&"unmounted"===t.status?{status:"exited"}:null},t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(n){var i=null,t;n!==this.props&&(t=this.state.status,this.props.in?"entering"!==t&&"entered"!==t&&(i="entering"):"entering"!==t&&"entered"!==t||(i="exiting"));this.updateStatus(!1,i)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var i,t,r,n=this.props.timeout;return i=t=r=n,null!=n&&"number"!=typeof n&&(i=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:i,enter:t,appear:r}},t.updateStatus=function(n,t){if(void 0===n&&(n=!1),null!==t){this.cancelNextCallback();var i=h.default.findDOMNode(this);"entering"===t?this.performEnter(i,n):this.performExit(i)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},t.performEnter=function(n,t){var i=this,f=this.props.enter,r=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,u=this.getTimeouts(),e=r?u.appear:u.enter;t||f?(this.props.onEnter(n,r),this.safeSetState({status:"entering"},function(){i.props.onEntering(n,r);i.onTransitionEnd(n,e,function(){i.safeSetState({status:"entered"},function(){i.props.onEntered(n,r)})})})):this.safeSetState({status:"entered"},function(){i.props.onEntered(n)})},t.performExit=function(n){var t=this,i=this.props.exit,r=this.getTimeouts();i?(this.props.onExit(n),this.safeSetState({status:"exiting"},function(){t.props.onExiting(n);t.onTransitionEnd(n,r.exit,function(){t.safeSetState({status:"exited"},function(){t.props.onExited(n)})})})):this.safeSetState({status:"exited"},function(){t.props.onExited(n)})},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(n,t){t=this.setNextCallback(t);this.setState(n,t)},t.setNextCallback=function(n){var i=this,t=!0;return this.nextCallback=function(r){t&&(t=!1,i.nextCallback=null,n(r))},this.nextCallback.cancel=function(){t=!1},this.nextCallback},t.onTransitionEnd=function(n,t,i){this.setNextCallback(i);var r=null==t&&!this.props.addEndListener;n&&!r?(this.props.addEndListener&&this.props.addEndListener(n,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},t.render=function(){var i=this.state.status,u;if("unmounted"===i)return null;var r=this.props,t=r.children,n=function(n,t){if(null==n)return{};for(var i,u={},f=Object.keys(n),r=0;r<f.length;r++)i=f[r],t.indexOf(i)>=0||(u[i]=n[i]);return u}(r,["children"]);return(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"==typeof t)?t(i,n):(u=f.default.Children.only(t),f.default.cloneElement(u,n))},r}(f.default.Component);r.contextTypes={transitionGroup:s.object};r.childContextTypes={transitionGroup:function(){}};r.propTypes={};r.defaultProps={"in":!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:u,onEntering:u,onEntered:u,onExit:u,onExiting:u,onExited:u};r.UNMOUNTED=0;r.EXITED=1;r.ENTERING=2;r.ENTERED=3;r.EXITING=4;o=c.polyfill(r);t.default=o},function(n,t,i){"use strict";var r;t.__esModule=!0;t.classNamesShape=t.timeoutsShape=void 0;(r=i(5))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(n,t,i){"use strict";var u={isObject:i(19)},r=i(132),f=0;n.exports={registerEffect:function(n,t){u.isObject(n)&&(t=n,n="");var i="VelocityHelper.animation."+f+++n;if(r.velocityReactServerShim)return i;if(void 0===r.RegisterEffect)throw"Velocity.RegisterEffect not found. You need to require 'velocity-animate/velocity.ui' at a top level for UI Pack.";return r.RegisterEffect(i,t),i}}},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function tt(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function rt(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function ut(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ft(n){var t=ot();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),et(this,i)}}function et(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?p(n):t}function p(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ot(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.EServicesSiteHeader=void 0;var r=tt(i(1)),b=i(597),l=i(598),k=i(599),d=i(365),g=i(130),nt=i(128),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var st="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},s="mobile-menu-container",h="search-panel",w=function(){var n=function(n){function t(n){var r;return it(this,t),(r=i.call(this,n)).searchPanelAnimationBegin=function(){r.state.searchIsOpen&&(r._searchPanelRef.style.display="block",r.setState({searchIsReadyToFocus:!0}))},r.searchPanelAnimationComplete=function(){r._searchPanelRef.style.display=r.state.searchIsOpen?"block":"none";r.setState({searchIsReadyToFocus:!1})},r.setMenuOpenState=function(){r.state.menuIsOpen?document.getElementsByTagName("body")[0].classList.remove("lock-scrolling","mobile-menu-open"):document.getElementsByTagName("body")[0].classList.add("lock-scrolling","mobile-menu-open");r.setState(function(n){return{menuIsOpen:!n.menuIsOpen}})},r.buttonClickAction=function(){location.href=r.props.loginbuttonUrl},r.buttonMyPageClickAction=function(){location.href=r.props.MyPagebuttonUrl},r.setSearchOpenState=function(){r.setState(function(n){return{searchIsOpen:!n.searchIsOpen}})},r.setMenuOpenState=r.setMenuOpenState.bind(p(r)),r.state={menuIsOpen:!1,searchIsOpen:!1,searchIsReadyToFocus:!1},r._searchPanelHeight="8.1rem",r}ut(t,n);var i=ft(t);return rt(t,[{key:"render",value:function(){var n=this;return r.createElement("header",{className:"siteheader ".concat(this.state.menuIsOpen?"siteheader__fixed":""),"aria-label":"Sidhuvud (för små enheter)"},r.createElement("div",{className:"siteheader__top rtl"},r.createElement(b.MenuButton,{menuStateCallback:this.setMenuOpenState,menuText:this.props.menuText,menuIsOpen:this.state.menuIsOpen,menuId:s,ariaLabel:this.state.menuIsOpen?"Stäng":"Öppna"}),r.createElement("div",{className:"siteheader__bigtext"},this.props.eServiceName),r.createElement("div",{className:"siteheader__noshrink"},this.props.showSearch&&r.createElement(d.SearchButton,{searchStateCallback:this.setSearchOpenState,searchText:this.props.searchText,searchIsOpen:this.state.searchIsOpen,searchPanelId:h}),this.props.showMyPageButton&&r.createElement(l.LoginButton,{buttonText:this.props.MyPageButtonText,loginClickCallback:this.buttonMyPageClickAction}),r.createElement(l.LoginButton,{buttonText:this.props.loginButtonText,loginClickCallback:this.buttonClickAction}))),this.props.showSearch&&r.createElement(g.VelocityComponent,{runOnMount:!1,duration:250,animation:this.state.searchIsOpen?{height:this._searchPanelHeight}:{height:0},begin:this.searchPanelAnimationBegin,complete:this.searchPanelAnimationComplete},r.createElement("div",{id:h,"aria-hidden":!this.state.searchIsOpen,ref:function(t){return n._searchPanelRef=t},className:"siteheader__searchpanel"},r.createElement(nt.Search,{findUrl:this.props.findUrl,placeholder:this.props.searchPlaceHolderText||this.props.searchText,focus:this.state.searchIsReadyToFocus,searchPage:this.props.searchPage,searchId:"search_mobile-siteheader"}))),r.createElement(k.SiteMenu,{language:this.props.language,menuId:s,menuIsOpen:this.state.menuIsOpen,currentPageId:this.props.currentPageId,isStartPage:this.props.isStartPage,listenUrl:this.props.listenUrl,siteMapUrl:"",minorityLanguages:[],translatedItems:[],translatedStartPageItems:[],treeNodes:this.props.treeNodes,startPageid:this.props.startPageid,isCampaignPage:this.props.isCampaignPage}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={showSearch:!1},n}(),u,c;t.EServicesSiteHeader=w;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(s,"menuId","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServicesSiteHeader\\EServicesSiteHeader.tsx"),u.register(h,"searchPanelId","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServicesSiteHeader\\EServicesSiteHeader.tsx"),u.register(w,"EServicesSiteHeader","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServicesSiteHeader\\EServicesSiteHeader.tsx"));c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var o,r,u,s,h,f;Object.defineProperty(t,"__esModule",{value:!0});t.MenuButton=void 0;r=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));u=i(3);(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;f=function(n){return r.createElement("button",{onClick:n.menuStateCallback,className:"siteheader__button","aria-expanded":n.menuIsOpen,"aria-controls":n.menuId,"aria-label":n.ariaLabel},r.createElement(u.Icon,{iconType:"fontawesome/menu",className:"button-open"}),r.createElement("span",{className:"button-close"},r.createElement(u.Icon,{iconType:"fontawesome/close-menu"})),r.createElement("span",{className:"display-block"},n.menuText))};t.MenuButton=f;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&s.register(f,"MenuButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServicesSiteHeader\\MenuButton.tsx");(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var e,r,o,s,h,u;Object.defineProperty(t,"__esModule",{value:!0});t.LoginButton=void 0;r=function(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));o=i(3);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;u=function(n){return r.createElement("button",{onClick:n.loginClickCallback,className:"siteheader__button siteheader__button--login"},r.createElement(o.Icon,{iconType:"min-sida"}),r.createElement("span",null,n.buttonText))};t.LoginButton=u;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&s.register(u,"LoginButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServicesSiteHeader\\LoginButton.tsx");(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function p(n){return n&&n.__esModule?n:{"default":n}}function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function w(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var rt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.SiteMenu=void 0;var r=w(i(1)),v=p(i(89)),y=i(600),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return b(this,t),(r=i.call(this,n)).state={},r}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){return r.createElement("div",{"aria-hidden":!this.props.menuIsOpen,className:"site-menu ".concat(this.props.menuIsOpen?"site-menu--open":""),id:this.props.menuId},r.createElement(v.default,{language:this.props.language,currentPageId:this.props.currentPageId,isStartPage:this.props.isStartPage,treeNodes:this.props.treeNodes,startPageId:this.props.startPageid,isCampaignPage:this.props.isCampaignPage}),r.createElement(y.SiteFunctions,{siteMapUrl:this.props.siteMapUrl,listenUrl:this.props.listenUrl,minorityLanguages:this.props.minorityLanguages,translatedItems:this.props.translatedItems,translatedStartPageItems:this.props.translatedStartPageItems}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.SiteMenu=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SiteMenu","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServicesSiteHeader\\SiteMenu.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,f,tt,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.SiteFunctions=void 0;r=y(i(1));u=i(3);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n)).toggleOpen=function(){r.setState(function(n){return{isOpen:!n.isOpen}})},r.state={isOpen:!1},r}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return r.createElement("div",{className:"site-menu__functions ".concat(this.state.isOpen?"open":"")},r.createElement("div",{className:"site-menu__functions-header"},this.props.siteMapUrl&&r.createElement("a",{href:this.props.siteMapUrl,className:"site-menu__function-item"},r.createElement(u.Icon,{iconType:"Webbkarta"}),r.createElement("span",{className:"functionlink__text"},"Webbkarta")),this.props.listenUrl&&r.createElement("a",{href:this.props.listenUrl,className:"site-menu__function-item"},r.createElement(u.Icon,{iconType:"fontawesome/listen"}),r.createElement("span",{className:"functionlink__text"},"Lyssna")),(this.props.minorityLanguages.length>0||this.props.translatedItems.length>0||this.props.translatedStartPageItems.length>0)&&r.createElement("button",{className:"site-menu__function-item functionlink ".concat(this.state.isOpen?"open":""),type:"button",onClick:this.toggleOpen},r.createElement(u.Icon,{iconType:"fontawesome/globe-europe"}),r.createElement("span",{className:"functionlink__text"},"Language"))),r.createElement("ul",{className:"site-menu__language-expander"},(this.props.translatedItems||[]).map(function(n){return r.createElement("li",{key:n.Value},r.createElement("a",{href:n.Value},"Go to ",n.Text))}),(this.props.translatedStartPageItems||[]).map(function(n){return r.createElement("li",{key:n.Value},r.createElement("a",{href:n.Value},"Go to ",n.Text," startpage")," ")}),this.props.minorityLanguages.map(function(n){return r.createElement("li",{key:n.Value},r.createElement("a",{href:n.Value},"Go to ",n.Text))})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.SiteFunctions=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"SiteFunctions","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServicesSiteHeader\\SiteFunctions.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.BreadCrumbs=void 0;r=y(i(1));i(602);c=i(3);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(){return p(this,t),i.apply(this,arguments)}b(t,n);var i=k(t);return w(t,[{key:"renderLinks",value:function(){for(var i=[],t=this.props.items,n=0;n<t.length;n++)i.push(r.createElement("li",{key:n},r.createElement("a",{className:"text-breadcrumb",href:t[n].Url},t[n].PageName),r.createElement(c.Icon,{iconType:"fontawesome/chevron-left"})));return r.createElement("nav",{className:"breadcrumbs","aria-label":"Länkstig"},r.createElement("ol",{className:"rtl"},i,r.createElement("li",null,r.createElement("span",{className:"text-breadcrumb active"},this.props.currentActivePage))))}},{key:"render",value:function(){return r.createElement("div",{className:"main_menu container"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col"},this.renderLinks())))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.BreadCrumbs=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"BreadCrumbs","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\BreadCrumbs\\BreadCrumbs.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var e,r,o,s,h,u;Object.defineProperty(t,"__esModule",{value:!0});t.CurrentCalendar=void 0;r=function(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));o=i(3);i(604);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;u=function(n){return r.createElement("a",{href:n.url,className:"current-calendar__container"},r.createElement("article",null,r.createElement("time",{dateTime:n.datetimeAttr},n.spanDate," ",n.startdate),r.createElement("div",{className:"current-calendar__time-border"}),r.createElement("h2",null,n.headline),r.createElement("div",{className:"current-calendar__footer"},r.createElement("div",{className:"current-calendar__tag-list"}," ",n.tagList.map(function(n){return r.createElement("div",{key:n,className:"current-calendar__tag-item text-micro"},n)})),r.createElement("div",{className:"current-calendar__address-container"},r.createElement(o.Icon,{iconType:"fontawesome/map-marker-alt-solid",isAriaHidden:!1,ariaLabel:"Adress"}),r.createElement("div",{className:"current-calendar__address text-micro"},n.address)))))};t.CurrentCalendar=u;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&s.register(u,"CurrentCalendar","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\CurrentCalendar\\CurrentCalendar.tsx");(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.DesktopLanguagePicker=void 0;r=y(i(1));i(606);c=i(3);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n)).showLanguages=function(){return r.setState(function(n){return{hideLanguage:!n.hideLanguage}})},r.state={hideLanguage:!1},r}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var n=this.state.hideLanguage?"languagepicker languagepicker--show":"languagepicker";return r.createElement("div",null,r.createElement("button",{className:"functionlink",type:"button",onClick:this.showLanguages},r.createElement(c.Icon,{iconType:"fontawesome/globe-europe"}),r.createElement("span",{className:"functionlink__text"},"Language")),r.createElement("div",{className:n},r.createElement("div",{className:"languagepicker__heading"},"Change language"),r.createElement("ul",null,(this.props.translatedItems||[]).map(function(n){return r.createElement("li",{key:n.Value},r.createElement("a",{href:n.Value},"Go to ",n.Text))}),(this.props.translatedStartPageItems||[]).map(function(n){return r.createElement("li",{key:n.Value},r.createElement("a",{href:n.Value},"Go to ",n.Text," startpage")," ")}),this.props.minorityLanguages.map(function(n){return r.createElement("li",{key:n.Value},r.createElement("a",{href:n.Value},"Go to ",n.Text))}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.DesktopLanguagePicker=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"DesktopLanguagePicker","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\DesktopLanguagePicker\\DesktopLanguagePicker.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(){},function(){},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.Hero=void 0;var r=p(i(1)),c=i(4),y=i(134),u;i(611);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).headingEpiProperty={property:r.props.heading,propertyName:"HeroHeading",wrappingElement:"div",isInEditMode:r.props.isInEditMode},r.preambleEpiProperty={property:r.props.preamble,propertyName:"HeroPreamble",wrappingElement:"div",isInEditMode:r.props.isInEditMode},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){return r.createElement("article",{className:"hero ".concat(this.props.contentAlignment," ").concat(this.props.imageAlignment),style:this.props.backgroundImageHeight?{height:this.props.backgroundImageHeight}:{}},r.createElement(y.Lazyloader,{imageUrl:this.props.backgroundImage,isBackgroundImage:!0}),r.createElement("div",{className:"container"},r.createElement("div",{className:"row align-items-center justify-content-".concat(this.props.contentAlignment)},r.createElement("div",{className:"col col-md-8 col-lg-6"},r.createElement("div",{className:"hero__content"},r.createElement("h2",{className:"heading-large"},c.renderEditableEpiProperty(this.headingEpiProperty)),r.createElement("p",null,c.renderEditableEpiProperty(this.preambleEpiProperty)),r.createElement("a",{className:"button button--fullwidth button--border-white",href:this.props.buttonLink},this.props.buttonText))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.Hero=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"Hero","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Hero\\Hero.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var e,r,o,s,u;Object.defineProperty(t,"__esModule",{value:!0});t.TagList=void 0;r=function(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));i(613);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;u=function(n){return r.createElement("div",{className:"taglist"},r.createElement("div",{className:"taglist__heading"},"Denna artikel handlar om"),r.createElement("div",{className:"flex"},n.TagList.map(function(n){return r.createElement("a",{key:n,className:"taglist__tagitem",href:"".concat((void 0).props.searchPageLink,"?q=").concat(n)},n)})))};t.TagList=u;(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(u,"TagList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\TagList\\TagList.tsx");(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function b(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function nt(n){var t=it();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),tt(this,i)}}function tt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?o(n):t}function o(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var rt,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});t.ShareWidget=void 0;var r=b(i(1)),u=i(3),w=i(25),a=i(8),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(n){function t(n){var r;return k(this,t),(r=i.call(this,n))._shareContainer=null,r.onShareItemClick=function(n){var i=n.currentTarget.href,t="";i.startsWith("https://www.fa")?t="Facebook":i.startsWith("https://tw")?t="Twitter":i.startsWith("https://www.li")?t="LinkedIn":i.startsWith("mail")&&(t="E-mail");""!==t&&a.pushTagManagerEvent("share","Dela",t)},r.toggleShareWidgetOpenState=r.toggleShareWidgetOpenState.bind(o(r)),r.copyLink=r.copyLink.bind(o(r)),r.state={isOpen:!1},r}g(t,n);var i=nt(t);return d(t,[{key:"copyLink",value:function(n){n.preventDefault();var t=document.createElement("input");t.id="copylink";t.type="text";t.style.position="absolute";t.style.left="-9999px";t.style.top="0";t.value=this.props.pageUrl;document.body.appendChild(t);t.select();try{document.execCommand("copy")}catch(n){}t.parentNode.removeChild(t);a.pushTagManagerEvent("share","Dela","Kopiera länk")}},{key:"toggleShareWidgetOpenState",value:function(n){n.preventDefault();this.setState(function(n){return{isOpen:!n.isOpen}})}},{key:"isInPage",value:function(n){return n!==document.body&&this._shareContainer.contains(n)}},{key:"componentDidMount",value:function(){var n=this;document.addEventListener("click",function(t){n.state.isOpen&&!n.isInPage(t.target)&&n.toggleShareWidgetOpenState(t)});document.addEventListener("keyup",function(t){n.state.isOpen&&t.key===w.KeyboardEventKeys.esc&&n.toggleShareWidgetOpenState(t)})}},{key:"render",value:function(){var n=this;return r.createElement("div",{ref:function(t){return n._shareContainer=t},id:"share-widget-container",className:"share-widget"},r.createElement("button",{onClick:this.toggleShareWidgetOpenState,className:"stripped-button stripped-button--sharewidget","aria-expanded":this.state.isOpen,"aria-controls":"share-widget"},r.createElement(u.Icon,{iconType:"fontawesome/Share",className:"share-widget__btn"}),this.props.shareText),r.createElement("div",{className:"share-widget__container ".concat(this.state.isOpen?"share-widget__container--open drop-shadow-low-elevation":""),id:"share-widget"},r.createElement("div",null,r.createElement("a",{target:"_blank",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(this.props.pageUrl),onClick:this.onShareItemClick},r.createElement(u.Icon,{iconType:"socialmedia/facebook-square",className:"share-widget__icon"}),"Facebook")),r.createElement("div",null,r.createElement("a",{target:"_blank",href:"https://twitter.com/home?status=".concat(this.props.pageUrl),id:"share-twitter",onClick:this.onShareItemClick},r.createElement(u.Icon,{iconType:"socialmedia/twitter-square",className:"share-widget__icon"}),"Twitter")),r.createElement("div",null,r.createElement("a",{target:"_blank",href:encodeURI("https://www.linkedin.com/shareArticle?mini=true&url=".concat(this.props.pageUrl,"&title=").concat(this.props.shareTitleText,"&summary=").concat(this.props.shareSummaryText)),onClick:this.onShareItemClick},r.createElement(u.Icon,{iconType:"socialmedia/LinkedIn",className:"share-widget__icon"}),"LinkedIn")),r.createElement("div",null,r.createElement("a",{href:"mailto:?body=".concat(this.props.pageUrl),onClick:this.onShareItemClick},r.createElement(u.Icon,{iconType:"socialmedia/envelope-square",className:"share-widget__icon"}),"E-mail")),r.createElement("div",null,r.createElement("a",{href:"#",onClick:this.copyLink},r.createElement(u.Icon,{iconType:"socialmedia/link",className:"share-widget__icon"}),this.props.copyLinkText))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.ShareWidget=h;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;c&&c.register(h,"ShareWidget","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ShareWidget\\ShareWidget.tsx");l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function p(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.ShareWidgetv2=void 0;var r=p(i(1)),u=i(3),l=i(8),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(){var n=function(n){function t(){var n;return w(this,t),(n=i.apply(this,arguments)).copyLink=function(t){t.preventDefault();var i=document.createElement("input");i.id="copylink";i.type="text";i.style.position="absolute";i.style.left="-9999px";i.style.top="0";i.value=n.props.pageUrl;document.body.appendChild(i);i.select();try{document.execCommand("copy")}catch(n){}i.parentNode.removeChild(i);l.pushTagManagerEvent("share","Dela","Kopiera länk")},n.onShareItemClick=function(n){var i=n.currentTarget.href,t="";i.startsWith("https://www.fa")?t="Facebook":i.startsWith("https://tw")?t="Twitter":i.startsWith("https://www.li")?t="LinkedIn":i.startsWith("mail")&&(t="E-mail");""!==t&&l.pushTagManagerEvent("share","Dela",t)},n.onPrintClick=function(n){n.preventDefault();window&&window.print()},n}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n=this.props,t=n.pageUrl,i=n.shareTitleText,f=n.shareSummaryText,e=n.facebookIcon,o=n.twitterIcon,s=n.linkedinIcon,h=n.mailIcon,c=n.copyLinkIcon,l=n.shouldRenderPrintIcon,a=n.printIcon;return r.createElement("div",{className:"sharev2-wrapper d-flex flex-row flex-wrap align-items-center col-lg-12 col-md-12 col-sm-12 col-xs-12"},r.createElement("div",{className:"flex-grow-1"},r.createElement("span",null,"Dela:"),r.createElement("a",{target:"_blank",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(t),onClick:this.onShareItemClick},r.createElement(u.Icon,{iconType:e,className:"sharev2-icon"}),r.createElement("span",{className:"sr-only"},"F - dela på facebook")),r.createElement("a",{target:"_blank",href:"https://twitter.com/home?status=".concat(t),id:"share-twitter",onClick:this.onShareItemClick},r.createElement(u.Icon,{iconType:o,className:"sharev2-icon"}),r.createElement("span",{className:"sr-only"},"Dela på twitter")),r.createElement("a",{target:"_blank",href:encodeURI("https://www.linkedin.com/shareArticle?mini=true&url=".concat(t,"&title=").concat(i,"&summary=").concat(f)),onClick:this.onShareItemClick},r.createElement(u.Icon,{iconType:s,className:"sharev2-icon"}),r.createElement("span",{className:"sr-only"},"Dela på linkedin")),r.createElement("a",{href:"mailto:?body=".concat(t),onClick:this.onShareItemClick},r.createElement(u.Icon,{iconType:h,className:"sharev2-icon"}),r.createElement("span",{className:"sr-only"},"Dela sidlänken med epost")),r.createElement("button",{onClick:this.copyLink},r.createElement(u.Icon,{iconType:c,className:"sharev2-icon"}),r.createElement("span",{className:"sr-only"},"Kopiera sidlänken"))),r.createElement("div",{className:"print-container"},l&&r.createElement(r.Fragment,null,r.createElement("span",null,"Skriv ut:"),r.createElement("button",{onClick:this.onPrintClick},r.createElement(u.Icon,{iconType:a,className:"sharev2-icon"}),r.createElement("span",{className:"sr-only"},"Skriv ut")))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.PureComponent);return n.defaultProps={shouldRenderPrintIcon:!0,facebookIcon:"socialmedia/facebook-original",twitterIcon:"socialmedia/twitter-original",linkedinIcon:"socialmedia/linkedin-original",mailIcon:"socialmedia/mail-black",copyLinkIcon:"socialmedia/link-black",printIcon:"print-black"},n}();t.ShareWidgetv2=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"ShareWidgetv2","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ShareWidgetv2\\ShareWidgetv2.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function y(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return y=function(){return n},n}function nt(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==l(n)&&"function"!=typeof n)return{"default":n};if(t=y(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function c(n){return n&&n.__esModule?n:{"default":n}}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function tt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function it(n,t,i){return t&&p(n.prototype,t),i&&p(n,i),n}function rt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&w(n,t)}function w(n,t){return(w=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ut(n){var t=ot();return function(){var i,r=a(n),u;return t?(u=a(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ft(this,i)}}function ft(n,t){return!t||"object"!==l(t)&&"function"!=typeof t?et(n):t}function et(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ot(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function a(n){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.SearchList=void 0;var k=c(i(90)),f=c(i(13)),r=nt(i(1)),u=i(617),s=i(30),d=i(61),g=c(i(137)),h;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;h&&h(n);var st="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},e="sos_search_state",b=function(n){function t(n){var e;return tt(this,t),(e=i.call(this,n))._queue=[],e.createInitialSearchState=function(){return{PageNo:1,Query:e.props.initalSearchResultModel.Query,MandatoryCategories:[],StandardCategories:[],SearchCategories:[],IsDocument:!1,PageSize:e.props.pageSize,CurrentPageId:e.props.currentPageId,SortBy:u.SortType.Relevance}},e.handleError=function(){e.setState({isError:!0})},e.sendQueryToServer=function(){return e.setState({isDataLoading:!0}),fetch("/_api/search",{headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e.state.currentSearchState),credentials:"same-origin",method:"POST"}).then(function(n){return n.json()}).catch(function(n){return n.json()})},e.delay=function(n){return new Promise(function(t){var r=setTimeout(t,n),i;for(e._queue.push(r);e._queue.length>1;)i=e._queue.shift(),clearTimeout(i)})},e.arrayRemove=function(n,t){return n.filter(function(n){return n!=t})},e.addToOrRemoveFromArray=function(n,t){return-1===n.indexOf(t)?n.push(t):n=e.arrayRemove(n,t),n},e.checkItem=function(n){var h=e.state.currentSearchState,r=e.props,c=r.categoryFilter,l=r.searchCategories,a=r.useFacets,t=f.default(h),s=n.currentTarget.value,i=c.find(function(n){return n.Id.toString()===s}),o;i&&i.Category===u.CategoryType.Mandatory?t.MandatoryCategories=e.addToOrRemoveFromArray(t.MandatoryCategories,i.Id):a?(o=l.find(function(n){return n.Term===s}),o&&(t.SearchCategories=e.addToOrRemoveFromArray(t.SearchCategories,o.Term))):t.StandardCategories=e.addToOrRemoveFromArray(t.StandardCategories,i.Id);t.PageNo=1;e.setState({currentSearchState:t})},e.setNewPage=function(n){var i=e.state.currentSearchState,t=f.default(i);t.PageNo=n;e._isPageChange=!0;document.body.scrollTop=50;document.documentElement.scrollTop=50;e.setState({currentSearchState:t})},e.sortDate=function(){var t=e.state.currentSearchState,n=f.default(t);n.SortBy=u.SortType.Date;e.setState({currentSearchState:n,sortbuttonIsActive:!0,relevansbuttonIsActive:!1})},e.sortRelevans=function(){var t=e.state.currentSearchState,n=f.default(t);n.SortBy=u.SortType.Relevance;e.setState({currentSearchState:n,relevansbuttonIsActive:!0,sortbuttonIsActive:!1})},e.renderDidYouMean=function(){var n=e.state.searchResultModel.DidYouMean||[];return r.createElement("div",{className:"search-result__suggestion"},n.length>0&&r.createElement("p",null,"Menade du: "),n.map(function(n,t){return r.createElement("li",{key:t},r.createElement("a",{href:"".concat(e.props.searchPageLink,"?q=").concat(n.Suggestion)},n.Suggestion))}))},e.renderItem=function(n,t){var i=n.SearchResultsBreadCrumbs||[],u="Dokument"==n.ItemType&&null!=n.ShoppingAdressUrl?"search-result__item search-result__sharepointItem":"search-result__item";return r.createElement("div",{key:t,className:u},r.createElement("h3",null,r.createElement("a",{className:n.Type+n.SharePointFileExtensionClass,href:n.Url},n.Title)),!n.BestBetsExternalLink&&r.createElement("div",{className:"search-result__date text-micro ".concat(n.DateClassModifier)}," ","Senast uppdaterad ",n.StartDate," "),null===n.Type&&""!=n.MainText&&"Dokument"!=n.ItemType&&r.createElement("div",{className:"search-result__text"},n.MainText),"Dokument"!=n.ItemType&&r.createElement("ol",{className:"search-result__breadcrumbs","aria-label":"Hierarkisk position på webbplatsen för denna sökträff"},r.createElement("li",{key:"startpage"},r.createElement("a",{className:"text-micro",href:n.StartPageExternalUrl}," ",n.StartPageName)),i.map(function(n,t){return r.createElement("li",{key:t},r.createElement("a",{className:"text-micro",href:n.Url},n.Name))}),null!=n.StartPageName&&r.createElement("li",null,r.createElement("a",{className:"text-micro",href:n.Url},n.Title))),"Dokument"==n.ItemType&&null!=n.ShoppingAdressUrl&&n.CanShop&&r.createElement("a",{className:"fileinformation__item-shop",href:n.ShoppingAdressUrl},r.createElement("div",{className:"fileinformation__item-shop-icon"}),"Beställ"))},e.toggleIsDocumentOnly=function(n){var i=n.currentTarget.checked,t=f.default(e.state.currentSearchState);t.IsDocument=i;e.setState({currentSearchState:t})},e.renderCheckbox=function(){var t=e.props,n=t.categoryFilter,i=t.searchCategories,f=t.useFacets,o=e.state.currentSearchState.IsDocument?"page-list__label-checked":"";return r.createElement("div",{className:"page-list"},r.createElement("div",{className:"search-result__filters page-list__filters filters"},r.createElement("div",{className:"search-result__filter-categories"},r.createElement("fieldset",null,n.length>0&&r.createElement("legend",{className:"filters__filter-text"},"Verksamhetsområden"),r.createElement("div",{className:"search-result__filter-item"},n.filter(function(n){return n.Category===u.CategoryType.Mandatory}).map(function(n,t){return r.createElement(s.ToggleBox,{key:"operationsbox-".concat(t),label:n.Name,value:n.Id.toString(),cssClass:"togglebox--white",onChangeCb:e.checkItem})}),r.createElement("div",{className:"search-result__filter-types"},r.createElement("div",{className:"search-result__filter-item types"},r.createElement("label",null,r.createElement("input",{type:"checkbox",className:o,onChange:e.toggleIsDocumentOnly})," ","Visa endast filer"," "))))))),f?i.length>0&&r.createElement("div",{className:"search-result__filter-categories"},r.createElement("details",null,r.createElement("summary",null,"Filtrera sökning"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Kategorier"),r.createElement("div",{className:"page-list__filters"},i.map(function(n,t){return r.createElement(s.ToggleBox,{key:"searchfilterbox-".concat(t),label:n.Term,value:n.Term,cssClass:"togglebox--white",onChangeCb:e.checkItem})}))))):n.filter(function(n){return n.Category===u.CategoryType.Product}).length>0&&r.createElement("div",{className:"search-result__filter-categories"},r.createElement("details",null,r.createElement("summary",null,"Filtrera sökning"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Kategorier"),r.createElement("div",{className:"page-list__filters"},n.filter(function(n){return n.Category===u.CategoryType.Product}).map(function(n,t){return r.createElement(s.ToggleBox,{key:"searchfilterbox-".concat(t),label:n.Name,value:n.Id.toString(),cssClass:"togglebox--white",onChangeCb:e.checkItem})}))))))},e.state={currentSearchState:e.createInitialSearchState(),relevansbuttonIsActive:!0,sortbuttonIsActive:!1,amneopen:!1,productopen:!1,filteropen:!1,isSearching:!1,searchResultModel:f.default(e.props.initalSearchResultModel),isDataLoading:!1,isError:!1},e._isPageChange=!1,e}rt(t,n);var i=ut(t);return it(t,[{key:"componentDidMount",value:function(){if("undefined"!=typeof window&&null!=sessionStorage.getItem(e)){var n=JSON.parse(sessionStorage.getItem(e));this.state.currentSearchState.Query===n.currentSearchState.Query?this.setState(n):sessionStorage.removeItem(e)}}},{key:"componentDidUpdate",value:function(n,t){var i=this;k.default(t.currentSearchState,this.state.currentSearchState)||(this._isPageChange?(this._isPageChange=!1,this.sendQueryToServer().then(function(n){i.setState({searchResultModel:n,isDataLoading:!1,isError:!1});sessionStorage.clear();sessionStorage.setItem(e,JSON.stringify(i.state))}).catch(function(){i.handleError()})):this.delay(500).then(function(){i.sendQueryToServer().then(function(n){i.setState({searchResultModel:n,isDataLoading:!1,isError:!1});sessionStorage.clear();sessionStorage.setItem(e,JSON.stringify(i.state))}).catch(function(){i.handleError()})}))}},{key:"render",value:function(){var t=this.state,f=t.isDataLoading,i=t.isError,n="search-result__link-active",u="";return this.state.relevansbuttonIsActive&&(n="search-result__link-active"),this.state.sortbuttonIsActive&&(n="",u="search-result__link-active"),r.createElement(r.Fragment,null,r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-lg-12"},this.renderCheckbox()))),i&&r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-lg-12"},r.createElement("div",{className:"search-result__no-results"},"Vänligen försök igen senare.")))),!i&&r.createElement("div",{className:"search-result__results-wrapper",role:"alert"},r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-lg-12"},r.createElement("h2",null,this.props.searchresultHeading),this.renderDidYouMean()),r.createElement("div",{className:"col-lg-12"},r.createElement("div",{className:"search-result__info"},r.createElement("div",{className:"search-result__info-heading"},"Visar ",this.state.searchResultModel.ResultItems.length.toString()," av"," ",this.state.searchResultModel.TotalHits.toString()," resultat"),r.createElement("div",{className:"search-result__sort-container"},r.createElement("button",{type:"button",className:"stripped-button search-result__sort search-result__sort-date ".concat(n),onClick:this.sortRelevans},"Relevans"),r.createElement("button",{type:"button",className:"stripped-button search-result__sort search-result__sort-date ".concat(u),onClick:this.sortDate},"Datum")))),f&&r.createElement(g.default,{darkColor:!0}),r.createElement("div",{className:"col-lg-12"},r.createElement("div",{className:"search-result__result",role:"log","aria-atomic":"false"},r.createElement(d.ContentPagination,{data:this.state.searchResultModel.ResultItems.map(this.renderItem),pageSize:this.props.pageSize,pageCount:Math.ceil(this.state.searchResultModel.TotalHits/this.props.pageSize),onChangePageCb:this.setNewPage,noResultText:"Din filterering gav tyvärr inga träffar."})))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component),o,v;t.SearchList=b;o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;o&&(o.register(e,"sessionModelName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SearchList\\SearchList.tsx"),o.register(b,"SearchList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SearchList\\SearchList.tsx"));v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;v&&v(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var f,i,r,u,e;Object.defineProperty(t,"__esModule",{value:!0});t.SortType=t.CategoryType=void 0;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.CategoryType=i,function(n){n[n.Mandatory=0]="Mandatory";n[n.Product=1]="Product"}(i||(t.CategoryType=i={}));t.SortType=r,function(n){n[n.Relevance=0]="Relevance";n[n.Date=1]="Date"}(r||(t.SortType=r={}));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(i,"CategoryType","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SearchList\\SearchList.types.ts"),u.register(r,"SortType","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SearchList\\SearchList.types.ts"));(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&e(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.Previous=void 0;r=y(i(1));c=i(3);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var u;return p(this,t),(u=i.call(this,n))._backArrow=r.createElement(c.Icon,{iconType:"fontawesome/chevron-left"}),u}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var t=this.props,i=t.isEnabled,u=t.label,n="pagination__link";return i||(n+=" pagination__link--disabled"),i?r.createElement("a",{onClick:this.props.onClickCallback,href:"#",className:n},this._backArrow,r.createElement("span",{className:"pagination__verbose"},u)):r.createElement("span",{"aria-disabled":"true",className:n},this._backArrow,r.createElement("span",{className:"pagination__verbose"},u))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.PureComponent);return n.defaultProps={onClickCallback:function(){}},n}();t.Previous=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"Previous","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ContentPagination\\Previous.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.Next=void 0;r=y(i(1));c=i(3);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var u;return p(this,t),(u=i.call(this,n))._nextArrow=r.createElement(c.Icon,{iconType:"fontawesome/chevron-left"}),u}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var t=this.props,i=t.isEnabled,u=t.label,n="pagination__link pagination__link--next";return i||(n+=" pagination__link--disabled"),i?r.createElement("a",{onClick:this.props.onClickCallback,href:"#",className:n},r.createElement("span",{className:"pagination__verbose"},u),this._nextArrow):r.createElement("span",{"aria-disabled":"true",className:n},r.createElement("span",{className:"pagination__verbose"},u),this._nextArrow)}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.PureComponent);return n.defaultProps={onClickCallback:function(){}},n}();t.Next=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"Next","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ContentPagination\\Next.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.MenuBreadCrumbs=void 0;r=y(i(1));c=i(3);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(){return p(this,t),i.apply(this,arguments)}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return r.createElement("div",{className:"mobile-menu__selectedpage-container"},r.createElement("div",{className:this.props.startPageClass},this.props.isStartPage&&r.createElement("div",null,this.props.backIcon),this.props.selectedPage,this.props.isStartPage&&r.createElement("a",{href:"/"},r.createElement(c.Icon,{iconType:"fontawesome/home"}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.MenuBreadCrumbs=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"MenuBreadCrumbs","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MenuBreadCrumbs\\MenuBreadCrumbs.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.TreeView=void 0;r=y(i(1));c=i(623);i(375);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){return p(this,t),i.call(this,n)}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var t=[],n;return this.props.Node.Children&&(n=this,this.props.Node.Children.forEach(function(i){t.push(r.createElement(c.TreeNode,{Node:i,key:i.Id,Level:i.PageTreeDepth,Language:n.props.Language,Visible:!0,CurrentPageId:n.props.CurrentPageId,IsMobileMenu:!1}))})),this.props.Node.Name,this.props.CurrentPageId!==this.props.Node.Id&&r.createElement("div",{className:"sub-navigation__root sub-navigation__item sub-navigation__item-wrapper"},r.createElement("a",{className:"sub-navigation__link",href:this.props.Node.Url},this.props.Node.Name)),r.createElement("nav",{id:"sub-navigation",className:"sub-navigation","aria-label":"Sekundärnavigering, innehåller alla undersidor till sidan: ".concat(this.props.Node.Name)},r.createElement("ul",{className:"sub-navigation__menu"},t))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.TreeView=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"TreeView","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SubNavigation\\TreeView.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(){return(o=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function p(n,t){return fetch("/_api/menu/getchildren?contentId="+n.Id+"&lang="+t,{headers:{Accept:"application/json","Content-Type":"application/json"}}).then(function(n){return n.json()})}var r,l,f,rt,h,u,c;Object.defineProperty(t,"__esModule",{value:!0});t.TreeNode=void 0;r=w(i(1));l=i(130);i(375);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(n){function t(n){var r;return b(this,t),(r=i.call(this,n)).NodeId="node_".concat(n.Node.Id),r.IndentClass=" sub-navigation__item--level".concat(r.props.Level),r.state={Node:r.props.Node,Selected:r.props.Node.Selected,Expanded:r.props.Node.Expanded,IsCurrentPage:r.props.Node.Id===r.props.CurrentPageId},r}d(t,n);var i=g(t);return k(t,[{key:"toggleExpanded",value:function(n,t){var i=this,r=this;t.preventDefault();this.setState({Expanded:!this.state.Expanded});void 0===this.props.Node.Children.filter(function(n){return n.HasChildren&&(void 0===n.Children||0===n.Children.length)})||this.state.Expanded||p(this.props.Node,this.props.Language).then(function(n){JSON.parse(JSON.stringify(n)).forEach(function(n){r.props.Node.Children.push(n)});i.setState({Node:i.props.Node})})}},{key:"render",value:function(){var f={},e="sub-navigation__item",s="",h="",y="",c="",u,v,n;this.state.Expanded&&(e+=" sub-navigation__item--expanded");this.state.IsCurrentPage&&(e+=" sub-navigation__item--current",s="sub-navigation__toggle-area--current",f["aria-current"]="page");this.state.Node.PathSelected&&(this.state.Node.Children.map(function(n){return!1===n.Expanded?n.PathSelected=!0:n.PathSelected}),y=" sub-navigation__path-selected",h="sub-navigation__item-wrapper--selected",c="sub-navigation__toggle-area--selected");u=r.createElement("span",null);u=this.props.IsMobileMenu?r.createElement("a",o({href:this.props.Node.Url,className:"sub-navigation__link"},f),this.props.Node.Name):r.createElement("span",{className:"sub-navigation__link"},this.props.Node.Name);var i=this.props.Node,p=this.state.Expanded?"":"plus-minus-toggle--collapsed",k=this.state.Expanded?"Stäng undersidor":"Öppna undersidor",a=this.props.IsMobileMenu?r.createElement("div",{className:"sub-navigation__toggle-area ".concat(s," sub-navigation__toggle-area--childless ").concat(c)},r.createElement("span",null)):r.createElement("span",null);i.HasChildren&&(a=this.props.IsMobileMenu?r.createElement("div",{className:"sub-navigation__toggle-area ".concat(s," ").concat(this.state.Expanded?"sub-navigation__toggle-area--expanded":""," ").concat(c)},r.createElement("button",{"aria-label":k,"aria-controls":this.NodeId,className:"stripped-button plus-minus-toggle ".concat(p),"aria-expanded":this.state.Expanded,onClick:this.toggleExpanded.bind(this,i.Id)})):r.createElement("span",{className:"d-flex align-items-center justify-content-center simple-sub-navigation__plus-minus-wrapper"},r.createElement("span",{className:"plus-minus-toggle ".concat(p)})));v=[];i.Children&&(n=this,i.Children.forEach(function(i){v.push(r.createElement(t,{Node:i,key:i.Id,Level:n.props.Level+1,Language:n.props.Language,Visible:n.state.Expanded&&n.props.Visible,CurrentPageId:n.props.CurrentPageId,IsMobileMenu:n.props.IsMobileMenu}))}));var d=this.state.Expanded?" sub-navigation__indent":"",w=this.state.Expanded?" sub-navigation__item-wrapper--expanded":"",b=this.state.IsCurrentPage?" sub-navigation__item-wrapper--current":"";return r.createElement("li",{className:e+this.IndentClass+y,key:i.Id},this.props.IsMobileMenu?r.createElement(r.Fragment,null,r.createElement("div",{className:"sub-navigation__item-wrapper sub-navigation__item-wrapper--level".concat(this.props.Level+w+b," ").concat(h)},u),a):r.createElement("a",o({href:this.props.Node.Url},f,{className:"sub-navigation__item-wrapper sub-navigation__item-wrapper--level".concat(this.props.Level+w+b," ").concat(h," ")}),u,a),r.createElement("div",{className:"sub-navigation__menu-wrapper"},r.createElement("ul",{className:"sub-navigation__menu ".concat(d),id:this.NodeId},r.createElement(l.VelocityTransitionGroup,{component:null,enter:{animation:"slideDown",display:"flex",duration:200},leave:{animation:"slideUp",duration:200}},this.state.Expanded?v:null))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.TreeNode=h;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(p,"getMenuItems","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SubNavigation\\TreeNode.tsx"),u.register(h,"TreeNode","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SubNavigation\\TreeNode.tsx"));c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function b(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function l(){return(l=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function nt(n){var t=rt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),tt(this,i)}}function tt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?it(n):t}function it(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function rt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.CheckBox=void 0;var r=b(i(1)),h=i(4),w=i(26),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var ut="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},y=!1,p=function(){var n=function(n){function t(n){var r;k(this,t);(r=i.call(this,n)).onChangeValue=function(n){var t=n.target.checked;t!=r.state.value&&r.setState(function(){return{value:t}},function(){r.props.onChange(r.state);r.props.onChangeCallback(r.state)})};r.onFocus=function(n){r.setState({isTouched:!0},function(){r.props.onBlur(n)})};r._id=n.id||h.hashCode(n.fieldName,"CheckBox");r._errorId=h.hashCode(n.id||n.fieldName,"error");var u=n.fieldName,f=n.value,e=n.isRequired,o=n.label,s=n.stringValue;return r._latestValue=void 0!==n.value?f:y,r.state={value:r._latestValue,fieldName:u,isRequired:e,isTouched:!1,label:o,stringValue:s,errorMessage:""},r}g(t,n);var i=nt(t);return d(t,[{key:"render",value:function(){var n=this.props,u=n.fieldName,f=n.isRequired,e=n.label,i=n.disabled,o=n.autoComplete,s=n.stringValue,h=this.state.value,t=this._errorMessage,c=t?"is-invalid":"is-valid";return r.default.createElement("div",{className:"form-group-xs-small"},r.default.createElement("label",{className:"radio-checkbox-label ".concat(i?"disabled-input":""),htmlFor:this._id},r.default.createElement("input",l({type:"checkbox",id:this._id,onFocus:this.onFocus,name:u,checked:h,value:s,onChange:this.onChangeValue,required:f,className:"form-control ".concat(c),disabled:i,autoComplete:o},this._ariaAttributes))," ",e),t&&r.default.createElement(w.InputError,{id:this._errorId,errorText:t}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}},{key:"_ariaAttributes",get:function(){return this.props.errorAriaAttributes||(this._errorMessage?{"aria-invalid":!0,"aria-describedby":this._errorId}:{})}},{key:"_errorMessage",get:function(){var n=this.state.errorMessage;return!n&&this.props.errorMessage&&(n=this.props.errorMessage),n}}]),t}(r.Component);return n.defaultProps={fieldName:"",value:!1,isRequired:!1,isTouched:!1,errorMessage:"",label:"",stringValue:"",onChange:function(){},onChangeCallback:function(){},onBlur:function(){}},n}(),u,s;t.CheckBox=p;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(y,"DEFAULT_STATE_VALUE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\CheckBox.tsx"),u.register(p,"CheckBox","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\CheckBox.tsx"));s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;s&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.CheckBoxGroup=void 0;var r=w(i(1)),c=i(4),p=i(26),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},s=[],y=function(){var n=function(n){function t(n){var u,f;b(this,t);(u=i.call(this,n)).onChangeValue=function(n){var t=u.state.value,i=n.stringValue.toString();n.value?t.push(i):t.splice(u.evalCheckboxStringValue(t,i),1);u.setState({value:t.slice(),isTouched:!0},function(){u.props.onChange(u.state)})};u._id=n.id||c.hashCode(n.fieldName,"textInput");u._errorId=c.hashCode(n.id||n.fieldName,"error");var e=n.fieldName,o=n.value,h=n.label,l=n.conditionalState,a=n.isRequired;return u._latestValue=void 0!==n.value?o:s,f=[],r.Children.forEach(u.props.children,function(n){f.push(n.props.fieldName)}),u.state={value:u._latestValue,fieldName:e,label:h,isTouched:!1,errorMessage:"",conditionalState:l,isRequired:a,childrenFieldNames:f},u}d(t,n);var i=g(t);return k(t,[{key:"componentWillUnmount",value:function(){this.clearChildrenFromStore()}},{key:"evalCheckboxStringValue",value:function(n,t){return n.findIndex(function(n){return n.toString()===t.toString()})}},{key:"clearChildrenFromStore",value:function(){var n={fieldName:this.state.fieldName,value:[],childrenFieldNames:[]};this.props.onChange(n)}},{key:"render",value:function(){var t=this,n=this.props,f=n.children,i=n.fieldName,e=n.fieldNameOverride,o=n.useChildrensFieldNames,u=this._errorMessage,s=this.state.value,h=e||i,c=r.Children.map(f,function(n,u){var f={id:"".concat(h,"_").concat(u),onChangeCallback:t.onChangeValue,value:t.evalCheckboxStringValue(s,n.props.stringValue)>-1,fieldName:o?n.props.fieldName:i,errorAriaAttributes:t._ariaAttributes};return r.cloneElement(n,f)});return r.default.createElement("div",null,c,u&&r.default.createElement(p.InputError,{id:this._errorId,errorText:u}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}},{key:"_errorMessage",get:function(){var n=this.state.errorMessage;return!n&&this.props.errorMessage&&(n=this.props.errorMessage),n}},{key:"_ariaAttributes",get:function(){return this.props.errorAriaAttributes||(this._errorMessage?{"aria-invalid":!0,"aria-describedby":this._errorId}:null)}}]),t}(r.Component);return n.defaultProps={fieldName:"",value:s,isTouched:!1,errorMessage:"",isRequired:!1,onChange:function(){}},n}(),u,h;t.CheckBoxGroup=y;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(s,"DEFAULT_STATE_VALUE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\CheckBoxGroup.tsx"),u.register(y,"CheckBoxGroup","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\CheckBoxGroup.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n){"use strict";n.exports=function(n,t){var i=((n||0===n?n:"")+"").split(".");return i.length&&(i[0]=i[0].replace(/(\d)(?=(\d{3})+\b)/g,"$1"+(t||","))),i.join(".")}},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(){return(a=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,f,it,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.RadioButton=void 0;r=p(i(1));u=i(4);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(){var n=function(n){function t(n){var r;w(this,t);(r=i.call(this,n)).handleOnBlur=function(n){r.setState({isTouched:!0},function(){r.props.onBlur(n)})};r.handleOnChange=function(){r.setState({isTouched:!0},function(){r.props.onChange(r.state)})};r._id=n.id||u.hashCode(n.fieldName,"radioButton");r._errorId=u.hashCode(n.id||n.fieldName,"error");var f=r.props,o=f.fieldName,e=f.value,s=f.isRequired,h=(f.label,f.checked);return r.state={value:e,stringValue:String(e),fieldName:o,isRequired:s,checked:h,errorMessage:""},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n=this.props,u=n.fieldName,f=n.label,e=n.children,o=n.isRequired,t=n.disabled,i=this.state,s=i.stringValue,h=i.checked,c=f||e;return r.default.createElement("div",{className:"form-group-xs-small"},r.default.createElement("label",{className:"radio-checkbox-label ".concat(t?"disabled-input":"")},r.default.createElement("input",a({type:"radio",value:s,name:u,checked:h,onBlur:this.handleOnBlur,onChange:this.handleOnChange,required:o,disabled:t},this._ariaAttributes)),c))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}},{key:"_ariaAttributes",get:function(){return this.props.errorAriaAttributes||(this._errorMessage?{"aria-invalid":!0,"aria-describedby":this._errorId}:{})}},{key:"_errorMessage",get:function(){var n=this.state.errorMessage;return!n&&this.props.errorMessage&&(n=this.props.errorMessage),n}}],[{key:"getDerivedStateFromProps",value:function(n){var t=n.value,i=n.checked;return{value:t,stringValue:String(t),checked:i}}}]),t}(r.Component);return n.defaultProps={fieldName:"",value:"",isRequired:!1,isTouched:!1,errorMessage:"",label:"",onChange:function(){},onBlur:function(){}},n}();t.RadioButton=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"RadioButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\RadioButton.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.RadioButtonGroup=void 0;var r=p(i(1)),c=i(4),y=i(26),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;w(this,t);(r=i.call(this,n)).onHandleBlur=function(n){r.state.isTouched||r.setState({isTouched:!0},function(){r.props.onBlur(n)})};r.onChangeValue=function(n){r.setState({value:n.value},function(){r.props.onChange(r.state)})};r._id=r.props.id||c.hashCode(r.props.fieldName,"radiobtnGroup");r._errorId=c.hashCode(n.id||n.fieldName,"error");var u=r.props,f=u.fieldName,e=u.value,o=u.isRequired,s=u.label;return r._latestValue=void 0!==n.value?e:void 0,r.state={value:r._latestValue,fieldName:f,isRequired:o,label:s,isTouched:!1,errorMessage:""},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n=this,t=this.props,u=t.children,f=t.fieldName,e=t.isRequired,o=this.state.value,i=this._errorMessage,s=r.Children.map(u,function(t){var i={onChange:n.onChangeValue,checked:t.props.value===o,fieldName:f,onBlur:n.onHandleBlur,isRequired:e,errorAriaAttributes:n._ariaAttributes};return r.cloneElement(t,i)});return r.default.createElement("div",null,s,i&&r.default.createElement(y.InputError,{id:this._errorId,errorText:i}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}},{key:"_ariaAttributes",get:function(){return this.props.errorAriaAttributes||(this._errorMessage?{"aria-invalid":!0,"aria-describedby":this._errorId}:null)}},{key:"_errorMessage",get:function(){var n=this.state.errorMessage;return!n&&this.props.errorMessage&&(n=this.props.errorMessage),n}}]),t}(r.Component);return n.defaultProps={fieldName:"",value:"",isRequired:!1,isTouched:!1,errorMessage:"",onChange:function(){},onBlur:function(){}},n}();t.RadioButtonGroup=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"RadioButtonGroup","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\RadioButtonGroup.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function b(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function l(){return(l=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function nt(n){var t=rt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),tt(this,i)}}function tt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?it(n):t}function it(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function rt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.SelectBox=void 0;var r=b(i(1)),h=i(4),w=i(26),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var ut="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},y="",p=function(){var n=function(n){function t(n){var r;k(this,t);(r=i.call(this,n)).onBlur=function(){r.setState({isTouched:!0})};r.onChange=function(n){var u=r.props.options,i,t;n.preventDefault();i=n.target.value;t=u.find(function(t){return t.key===n.target.value});r.setState({value:i,isTouched:!0,selectedText:t?t.text:""},function(){r.props.onChange(r.state)})};r._id=n.id||h.hashCode(n.fieldName,"selectBox");r._errorId=h.hashCode(n.id||n.fieldName,"error");var u=r.props,f=u.fieldName,e=u.isRequired,o=u.value;return r._latestValue=void 0!==n.value?o:y,r.state={value:r._latestValue,fieldName:f,isTouched:!1,errorMessage:"",isRequired:e,selectedText:""},r}g(t,n);var i=nt(t);return d(t,[{key:"render",value:function(){var n=this.props,u=n.fieldName,f=n.options,e=n.isRequired,i=n.label,o=n.disableDefaultOption,s=n.defaultOptionText,h=n.className,c=n.disabled,a=n.additionalAttributes,t=this._errorMessage,v=this.state.value,y=t?"formelement-has-error":"";return r.default.createElement("div",{className:"sos-selectbox ".concat(h||"")},i&&r.default.createElement("label",{htmlFor:this._id},i),r.default.createElement("select",l({className:y,id:this._id,onChange:this.onChange,name:u,onBlur:this.onBlur,required:e,value:v||"",disabled:c},a,this._ariaAttributes),!o&&r.default.createElement("option",{value:""},s),f.map(function(n){return r.default.createElement("option",{value:n.key,key:n.uuid||n.key||n.text,className:n.hidden?"d-none":""},n.text,null!=n.count?"".concat(" ("+n.count+")"):"")})),t&&r.default.createElement(w.InputError,{id:this._errorId,errorText:t}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}},{key:"_errorMessage",get:function(){var n=this.state.errorMessage;return!n&&this.props.errorMessage&&(n=this.props.errorMessage),n}},{key:"_ariaAttributes",get:function(){return this.props.errorAriaAttributes||(this._errorMessage?{"aria-invalid":!0,"aria-describedby":this._errorId}:{})}}]),t}(r.Component);return n.defaultProps={value:"",options:[],fieldName:"",isTouched:!1,errorMessage:"",defaultOptionText:"Välj en fil",disabled:null,additionalAttributes:null,onChange:function(){}},n}(),u,s;t.SelectBox=p;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(y,"DEFAULT_STATE_VALUE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\SelectBox.tsx"),u.register(p,"SelectBox","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\SelectBox.tsx"));s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;s&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function k(n){return n&&n.__esModule?n:{"default":n}}function v(n){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function g(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function tt(n){var t=ut();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),it(this,i)}}function it(n,t){return!t||"object"!==v(t)&&"function"!=typeof t?rt(n):t}function rt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ut(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var l,a,e;Object.defineProperty(t,"__esModule",{value:!0});t.TextInputGroup=void 0;var r=k(i(1)),f=i(4),b=i(92),c=i(3);i(631);l=i(26);a=i(6);e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);var ft="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},s=[""],w=function(){var n=function(n){function t(n){var r;d(this,t);(r=i.call(this,n)).onAddMore=function(n){n.preventDefault();r.setState(function(n){var t=n.textInputs.slice();return t.push({value:"",fieldName:r.createUniqFieldName(r.props.fieldName)}),{textInputs:t}})};r.onRemove=function(n){r.setState(function(t){var i=t.textInputs.slice(),r=i.findIndex(function(t){return t.fieldName===n.fieldName});return i.splice(r,1),{value:i.map(function(n){return n.value}),textInputs:i}},function(){r.props.onChange(r.state)})};r.onChangeValue=function(n){r.setState(function(t){var i=t.textInputs.slice(),r=i.findIndex(function(t){return t.fieldName===n.fieldName});return-1===r||(i[r]=n),{value:i.map(function(n){return n.value}),textInputs:i,isTouched:!0}},function(){r.props.onChange(r.state)})};r._id=n.id||f.hashCode(n.fieldName,"textInput");r._errorId=f.hashCode(n.id||n.fieldName,"error");var e=r.props.value.map(function(n){return{value:n,fieldName:r.createUniqFieldName(r.props.fieldName)}}),u=r.props,o=u.fieldName,h=u.value,c=u.isRequired,l=u.label;return r._latestValue=void 0!==n.value?h:s,r.state={value:r._latestValue,fieldName:o,isRequired:c,label:l,textInputs:e},r}nt(t,n);var i=tt(t);return g(t,[{key:"createUniqFieldName",value:function(n){var t=f.shortuid();return"".concat(n,".").concat(t)}},{key:"componentWillUnmount",value:function(){this.clearChildrenFromStore()}},{key:"clearChildrenFromStore",value:function(){var n=this.props;n.onChange({fieldName:n.fieldName,value:s})}},{key:"render",value:function(){var e=this,t=this.props,o=t.placeholder,s=t.maxLength,i=t.maxItems,u=this.state.textInputs,f=this._errorMessage,n={};return f?(n["aria-invalid"]=!0,n["aria-describedby"]=this._errorId):n=null,r.default.createElement("div",{className:"textinput-grp"},u.map(function(t,i){return r.default.createElement("div",{key:"".concat(t.fieldName,"_").concat(i),className:"textinput-item"},r.default.createElement(b.TextInput,{key:t.fieldName,fieldName:t.fieldName,value:t.value,placeholder:o,onChange:e.onChangeValue,changeOnBlur:!0,maxLength:s,errorAriaAttributes:n}),i>0&&r.default.createElement("div",{className:"textinput-grp__control-row"},r.default.createElement("button",{className:"remove",onClick:function(){return e.onRemove(t)}},"Ta bort ",r.default.createElement(c.Icon,{iconType:"Paperbin"}))))}),u.length<i&&r.default.createElement("div",{className:"textinput-grp__control-row"},r.default.createElement("button",{className:"add",onClick:this.onAddMore},"Lägg till fler ",r.default.createElement(c.Icon,{iconType:"baseline-add_circle_outline-24px"}))),u.length>=i&&r.default.createElement(a.InputInfo,{infoText:"Du kan som mest ange ".concat(i," datakällor")}),f&&r.default.createElement(l.InputError,{id:this._errorId,errorText:f}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}},{key:"_errorMessage",get:function(){var n=this.state.errorMessage;return!n&&this.props.errorMessage&&(n=this.props.errorMessage),n}}]),t}(r.default.Component);return n.defaultProps={value:[""],fieldName:"textInput",placeholder:"",isTouched:!1,maxItems:9999,errorMessage:"",onChange:function(){}},n}(),u,h;t.TextInputGroup=w;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(s,"DEFAULT_STATE_VALUE","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\TextInputGroup.tsx"),u.register(w,"TextInputGroup","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\TextInputGroup.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.GroupedComponentsValidator=void 0;var r=p(i(1)),c=i(26),y=i(4),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n))._errorId=n.errorId||y.shortuid(),r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n=this.props,t=n.errorMessage,i=n.errorOnTop,u=n.delayErrorRender,f=n.children;return r.createElement("div",null,i&&t&&r.createElement(c.InputError,{id:this._errorId,delayRender:u,errorText:t}),f,!i&&t&&r.createElement(c.InputError,{id:this._errorId,delayRender:u,errorText:t}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={errorOnTop:!1,delayErrorRender:0},n}();t.GroupedComponentsValidator=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"GroupedComponentsValidator","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\GroupedComponentsValidator.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function p(n){return n&&n.__esModule?n:{"default":n}}function h(n){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&c(n.prototype,t),i&&c(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&l(n,t)}function l(n,t){return(l=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=f(n),u;return t?(u=f(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==h(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function f(n){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,e,o,s;Object.defineProperty(t,"__esModule",{value:!0});t.TextInputForPrint=void 0;var r=p(i(1)),a=i(92),v=i(377),y=i(8),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};e=function(){var n=function(n){function t(){return w(this,t),i.apply(this,arguments)}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"only-print hide-sibling-in-print","aria-hidden":!0,dangerouslySetInnerHTML:{__html:y.stringWithLineBreak(this.props.value)}}),this.props.isControlledInput?r.default.createElement(v.ControlledTextInput,this.props):r.default.createElement(a.TextInput,this.props))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.PureComponent);return n.defaultProps={isControlledInput:!1},n}();t.TextInputForPrint=e;o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;o&&o.register(e,"TextInputForPrint","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\TextInputForPrint.tsx");s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;s&&s(n)}).call(this,i(0)(n))},function(n,t){var i;!function(){"use strict";function r(){for(var n,f,o,e,t=[],i=0;i<arguments.length;i++)if(n=arguments[i],n)if(f=typeof n,"string"===f||"number"===f)t.push(n);else if(Array.isArray(n)&&n.length)o=r.apply(null,n),o&&t.push(o);else if("object"===f)for(e in n)u.call(n,e)&&n[e]&&t.push(e);return t.join(" ")}var u={}.hasOwnProperty;n.exports?(r.default=r,n.exports=r):void 0===(i=function(){return r}.apply(t,[]))||(n.exports=i)}()},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function v(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function b(n){var t=g();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,nt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r=v(i(1));u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){return y(this,t),i.call(this,n)}w(t,n);var i=b(t);return p(t,[{key:"render",value:function(){var n=this.props,t=n.children,i=n.showAsterix;return r.createElement(r.Fragment,null,i?r.Children.map(t,function(n){var t=void 0===n.props.className?"":n.props.className+" ";return r.cloneElement(n,{className:t+"add-asterix"})}):t)}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.default=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"Asterix","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\Asterix\\Asterix.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function u(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?a(Object(i),!0).forEach(function(t){w(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function w(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,f,rt,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.EpiserverProperty=void 0;r=p(i(1));f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(){return b(this,t),i.apply(this,arguments)}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){var t,n=this.props,i=n.isInEditMode,o=n.propertyName,s=n.children,h=n.wrappingElement,f=n.usingDangerouslySetInnerHTML,c=h||"div",e=!i;return f?(null===(t=this.subChild.props.dangerouslySetInnerHTML)||void 0===t?void 0:t.__html)||(e=!1):this.innerData||(e=!1),r.default.createElement(r.default.Fragment,null,e&&s,i&&!f&&r.cloneElement(this.subChild,u(u({},this.subChild.props),{},{children:r.default.createElement(c,{"data-epi-property-name":o,"data-epi-use-mvc":"True",className:"display-block"},this.innerData)})),i&&f&&r.cloneElement(this.subChild,u(u({},this.subChild.props),{},{"data-epi-property-name":o,"data-epi-use-mvc":"True"})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}},{key:"subChild",get:function(){return r.default.Children.only(this.props.children)}},{key:"innerData",get:function(){var n,t=this.subChild;if(t)return null===(n=t.props)||void 0===n?void 0:n.children}}]),t}(r.default.Component);t.EpiserverProperty=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"EpiserverProperty","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\episerver.property.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(){},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";var r,u,f,e,o,s,h,c,l,a;Object.defineProperty(t,"__esModule",{value:!0});r=i(89);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(651);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(366);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(652);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});o=i(369);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[n]}})});s=i(653);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return s[n]}})});h=i(368);Object.keys(h).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return h[n]}})});c=i(654);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return c[n]}})});l=i(367);Object.keys(l).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return l[n]}})});a=i(655);Object.keys(a).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return a[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function nt(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function v(n){return n&&n.__esModule?n:{"default":n}}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function tt(n,t){var i,r,u,o,f,e;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(i=it(n))||t&&n&&"number"==typeof n.length)return i&&(n=i),r=0,u=function(){},{s:u,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n;},f:u};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return f=!0,e=!1,{s:function(){i=n[Symbol.iterator]()},n:function(){var n=i.next();return f=n.done,n},e:function(n){e=!0;o=n},f:function(){try{f||null==i.return||i.return()}finally{if(e)throw o;}}}}function it(n,t){if(n){if("string"==typeof n)return y(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?y(n,t):void 0}}function y(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function rt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ut(n,t,i){return t&&p(n.prototype,t),i&&p(n,i),n}function ft(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&w(n,t)}function w(n,t){return(w=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function et(n){var t=ht();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ot(this,i)}}function ot(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?st(n):t}function st(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ht(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ct,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.ActualListening=void 0;var c=v(i(139)),l=v(i(13)),r=nt(i(1));i(657);var b=i(30),k=i(140),d=i(91),g=i(374),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ct="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var u;return rt(this,t),(u=i.call(this,n)).selectedItem=function(n){var t=u.state.itemChecked;t={};var r=n.value,f=n.isTouched,i=l.default(t);i[r]=f;u.setState({itemChecked:c.default(i,function(n,t){return t})})},u.checkItem=function(n){var t=u.state.itemChecked;"radio"===n.currentTarget.type&&(t={});var r=n.currentTarget.value,f=n.currentTarget.checked,i=l.default(t);i[r]=f;u.setState({itemChecked:c.default(i,function(n,t){return t})})},u.hideLoadMore=function(){var t=u.state.limit,n=u.props.ArticleItemList.length-t;return n>0&&n>=3?u.setState({LoadMoreHidden:!1}):u.setState({LoadMoreHidden:!0})},u.renderfirstItems=function(){var n=u.state.firstItems,t=u.state.itemChecked;return n.filter(function(n){return!!u.nothingChecked()||0!==n.TagList.length&&n.TagList.some(function(n){return!!u.itemIsFound(t,n)})}).slice(0,6).map(u.renderFirstArticleItems)},u.renderSecondItems=function(){var n=u.state,t=n.secondItems,i=n.itemChecked;return t.filter(function(n){return!!u.nothingChecked()||0!==n.TagList.length&&n.TagList.some(function(n){return!!u.itemIsFound(i,n)})}).slice(6,u.state.limit).map(u.renderSecondArticleItems)},u.nothingChecked=function(){var n=u.state.itemChecked,t;for(t in n)if(n.hasOwnProperty(t)&&n[t])return!1;return!0},u.onLoadMore=function(){u.setState({limit:u.state.limit+u.props.numberOfItemsToAddOnLoadMore});u.hideLoadMore()},u.renderCheckbox=function(){return r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Kategorier"),r.createElement("div",{className:"page-list__filters"},u.props.categoryListFilter.map(function(n,t){return r.createElement(b.ToggleBox,{key:"aktuelltfilterbox-".concat(t),label:n,value:n,onChangeCb:u.checkItem})})))},u.renderFilterListBox=function(){var n=u.getSelectBoxItems(u.props.categoryListFilter);return r.createElement("div",{className:"filter-list__box"},r.createElement(k.ToggleBoxGroup,{categoryNames:u.props.categoryListFilter,onChangeCb:u.checkItem}),r.createElement("label",{htmlFor:"filtergroup-select-box",className:"sr-only d-block d-md-none"},"Välj filter"),r.createElement(d.SelectBox,{options:n,onChange:u.selectedItem,id:"filtergroup-select-box",disableDefaultOption:!0,fieldName:"filtergroup-select",className:"d-block d-md-none col-lg-4 col-md-6 col-sm-12"}))},u.renderFirstArticleItems=function(n){return r.createElement(r.Fragment,{key:n.Id},r.createElement(g.CurrentEvent,{url:n.Url,imageUrl:n.ImageUrl,headline:n.Heading,date:n.Date,timeDateFormat:n.TimeDateFormat,text:n.Text,lowresBase64:n.LowresBase64,externalImage:n.ExternalImage,cssClassArticle:"actuall-lisning__first-items col-lg-4 col-md-6 col-sm-12",cssClassText:"actuall-lisning__text",Id:n.Id,ImageDescription:n.ImageDescription,useH2Heading:!0}))},u.renderSecondArticleItems=function(n){return r.createElement("div",{key:n.Id+"_second",className:"actuall-lisning__second-items"},r.createElement("div",{className:"actuall-lisning__second-items-container"},r.createElement("time",{dateTime:null!=n.TimeDateFormat?n.TimeDateFormat:n.Date},n.Date),r.createElement("div",{className:"actuall-lisning__second-items-textcontainer"},r.createElement("h2",{className:"heading-small"},r.createElement("a",{href:n.Url},n.Heading)),r.createElement("div",{className:""},n.Text))))},u.searchSubmit=function(n){n.preventDefault();var i=u.searchField.value,t=u.props.ArticleItemList.filter(function(n){return-1!==n.Heading.toLowerCase().indexOf(i.toLowerCase())});return u.setState({firstItems:t,secondItems:t})},u.getSelectBoxItems=function(n){var r,u=[],t=tt(n),i,f;try{for(t.s();!(r=t.n()).done;)i=r.value,f={key:i,text:i},u.push(f)}catch(n){t.e(n)}finally{t.f()}return u},u.state={firstItems:u.props.ArticleItemList,secondItems:u.props.ArticleItemList,itemChecked:{},limit:u.props.limit,checkedClass:"",LoadMoreHidden:!1},u}ft(t,n);var i=et(t);return ut(t,[{key:"componentDidMount",value:function(){var n=document.querySelectorAll("input[name='filtergroup']");n.length>0&&(n[0].checked=!0)}},{key:"itemIsFound",value:function(n,t){var i=!1;return Object.keys(n).find(function(r){if(r===t||"Alla områden"===r){var u=n[r];return i=!!u}return i=!1}),i}},{key:"render",value:function(){var t,o=this,n=this.props,i=n.searchId,s=n.hideSearch,h=n.useRadioButtons,c=n.loadMoreText,l=n.limit,a=n.showNumberOfHits,u=n.noHitsMessage,v=l-6,y=-1!==Math.sign(this.props.ArticleItemList.length-this.state.limit),f=this.renderfirstItems().length,e=this.renderSecondItems().length;return r.createElement("div",null,r.createElement("div",{className:"row"},s?null:r.createElement("div",{className:"col-lg-6"},r.createElement("form",{onSubmit:this.searchSubmit,role:"search","aria-label":"Sök inom aktuella händelser"},r.createElement("span",{className:"search"},r.createElement("label",{htmlFor:i,className:"sr-only"},"Ange söktext"),r.createElement("input",{id:i,onChange:this.searchSubmit,type:"search",ref:function(n){return o.searchField=n},placeholder:"Sök"}),r.createElement("input",{"aria-label":"Sök",className:"search__button",type:"submit",value:""})))),r.createElement("div",{className:"col-lg-12"},h?this.renderFilterListBox():this.renderCheckbox(),a?r.createElement("div",{className:"d-flex"},r.createElement("div",{className:"d-flex justify-content-end filter-list__count"},r.createElement("span",{"aria-live":"polite"},"Visar ",f+e," av ",this.props.ArticleItemList.length))):null,u?r.createElement("div",{"aria-live":"polite"},0==f&&0==e?r.createElement("p",{className:"no-hits-message"},u):null):null),r.createElement("div",{className:"actuall-lisning__first-section col-lg-12",role:"log","aria-atomic":"false"},this.renderfirstItems()),r.createElement("div",{className:"actuall-lisning__second-section",role:"log","aria-atomic":"false"},t=this.renderSecondItems())),!this.state.LoadMoreHidden&&y&&t.length>=v&&r.createElement("button",{className:"page-list__load-more",onClick:this.onLoadMore},c," (",this.props.ArticleItemList.length-this.state.limit," kvar)"))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={limit:12,numberOfItemsToAddOnLoadMore:6,loadMoreText:"Ladda mer",showNumberOfHits:!1},n}();t.ActualListening=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"ActualListening","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ActualListening\\ActualListening.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function w(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function b(n){return n&&n.__esModule?n:{"default":n}}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function nt(n){var t=rt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),tt(this,i)}}function tt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?it(n):t}function it(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function rt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var c,r,l,a,u,ut,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.CalendarPageList=void 0;c=b(i(139));r=w(i(1));i(659);l=i(6);a=i(30);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ut="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return k(this,t),(u=i.call(this,n)).checkItem=function(n){var i=u.state.itemChecked,r=n.currentTarget.value,f=n.currentTarget.checked,t=JSON.parse(JSON.stringify(i));t[r]=f;u.setState({itemChecked:c.default(t,function(n,t){return t})})},u.renderCalenderList=function(){var n=u.state.calenderItemList,t=u.state.itemChecked;return n.filter(function(n){return!!u.nothingChecked()||0!==n.TagList.length&&n.TagList.some(function(n){return!!u.itemIsFound(t,n)})}).slice(0,u.state.limit).map(u.renderCalenderItem)},u.itemIsFound=function(n,t){var i=!1;return Object.keys(n).find(function(r){if(r===t){var u=n[r];return i=!!u}return i=!1}),i},u.nothingChecked=function(){var n=u.state.itemChecked,t;for(t in n)if(n.hasOwnProperty(t)&&n[t])return!1;return!0},u.hideLoadMore=function(){var n=u.state.limit;return u.props.calenderItemList.length-n>0?u.setState({LoadMoreHidden:!0}):u.setState({LoadMoreHidden:!1})},u.onLoadMore=function(){u.setState({limit:u.state.limit+9});u.hideLoadMore()},u.renderCheckbox=function(){return r.createElement("fieldset",null,r.createElement("div",{className:"page-list__filters"},u.props.categoryListFilter.map(function(n,t){return r.createElement(a.ToggleBox,{key:"calendarfilterbox-".concat(t),label:n,value:n,onChangeCb:u.checkItem})})))},u.renderCalenderItem=function(n,t){return r.createElement("div",{key:t,className:"col-sm-12 col-md-4  calendar-pagelist__current-calendar"},r.createElement("div",{className:"current-calendar"},r.createElement("a",{href:n.Url,className:"current-calendar__container"},r.createElement("article",null,r.createElement("time",{dateTime:n.AttributeDate},n.SpanDate," ",n.Startdate),r.createElement("div",{className:"current-calendar__time-border"}),r.createElement("h2",null,n.Headline),r.createElement("div",{className:"current-calendar__footer"},r.createElement("div",{className:"current-calendar__tag-list"}," ",n.TagList.map(function(n){return r.createElement("div",{key:n,className:"current-calendar__tag-item text-micro"},n)})),r.createElement("div",{className:"calendar-pagelist__address-container current-calendar__address-container"},r.createElement(l.Icon,{iconType:"fontawesome/map-marker-alt-solid",isAriaHidden:!1,ariaLabel:"Adress"}),r.createElement("div",{className:"current-calendar__address text-micro"},n.Address)))))))},u.searchSubmit=function(n){n.preventDefault();var t=u.searchField.value,i=u.props.calenderItemList.filter(function(n){return-1!==n.Headline.toLowerCase().indexOf(t)});return u.setState({calenderItemList:i})},u.state={calenderItemList:u.props.calenderItemList,itemChecked:{},limit:9,checkedClass:"",LoadMoreHidden:!1},u}g(t,n);var i=nt(t);return d(t,[{key:"componentDidMount",value:function(){this.hideLoadMore()}},{key:"render",value:function(){var e=this,n=this.props,t=n.calenderItemList,i=n.searchId,u=this.state,o=u.LoadMoreHidden,f=u.limit;return r.createElement("div",null,r.createElement("div",{className:"row"},r.createElement("div",{className:"col-lg-6"},r.createElement("form",{onSubmit:this.searchSubmit,role:"search","aria-label":"Sök inom kalendariet"},r.createElement("span",{className:"search"},r.createElement("label",{htmlFor:i,className:"sr-only"},"Ange söktext"),r.createElement("input",{id:i,onChange:this.searchSubmit,type:"search",ref:function(n){return e.searchField=n},placeholder:"Sök"}),r.createElement("input",{"aria-label":"Sök",className:"search__button",type:"submit",value:""})))),r.createElement("div",{className:"col-lg-12"},this.renderCheckbox())),r.createElement("div",{className:"row",role:"log","aria-atomic":"false"},this.renderCalenderList()),o&&t.length>f&&r.createElement("button",{className:"page-list__load-more",onClick:this.onLoadMore},"Ladda mer (",t.length-f," kvar)"),r.createElement("div",{className:"sectionfooter"}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.CalendarPageList=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"CalendarPageList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\CalendarPageList\\CalendarPageList.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.CalendarArchiveList=void 0;r=y(i(1));c=i(6);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return p(this,t),(u=i.call(this,n)).onLoadMore=function(){u.setState({limit:u.state.limit+3});u.hideLoadMore()},u.hideLoadMore=function(){var n=u.state.limit;return u.props.calenderItemList.length-n>0?u.setState({LoadMoreHidden:!0}):u.setState({LoadMoreHidden:!1})},u.renderCalenderList=function(){return u.props.calenderItemList.slice(0,u.state.limit).map(function(n,t){var i=n.ArchivedStartdate.split(" ");return r.createElement("div",{className:"col-lg-12",key:t},r.createElement("div",{key:n.Headline,className:"calendar-inline calendar-inline--archived-event"},r.createElement("time",{className:"calendar-inline__date",dateTime:n.AttributeDate},r.createElement("div",null,n.SpanDate),r.createElement("div",null,n.Month),r.createElement("div",null,i&&i[1])),r.createElement("div",{className:"calendar-inline__separator"}),r.createElement("div",{className:"calendar-inline__wrapper"},r.createElement("a",{className:"no-border-link calendar-inline__link",href:n.Url},n.Headline),r.createElement("div",{className:"calendar-inline__categories calendar-inline--archived-event__categories"},n.TagList.map(function(n){return r.createElement("div",{key:n,className:"calendar-inline__category text-micro"},n)})),r.createElement("div",{className:"calendar-inline--archived-event__address-container calendar-inline__location-container"},r.createElement(c.Icon,{className:"calendar-inline__pin",iconType:"fontawesome/map-marker-alt-solid",isAriaHidden:!1,ariaLabel:"Adress"}),r.createElement("span",{className:"calendar-inline__address text-micro"},n.Address)))))})},u.state={limit:3,LoadMoreHidden:!1},u}b(t,n);var i=k(t);return w(t,[{key:"componentDidMount",value:function(){this.hideLoadMore()}},{key:"render",value:function(){return r.createElement("div",{className:"row"},r.createElement("div",{role:"log","aria-atomic":"false",className:"calendar-inline__container"},this.renderCalenderList()),this.state.LoadMoreHidden&&this.props.calenderItemList.length>this.state.limit&&r.createElement("button",{className:"page-list__load-more calendar-pagelist__load-more--archived-pages",onClick:this.onLoadMore},"Ladda mer (",this.props.calenderItemList.length-this.state.limit," kvar)"))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.CalendarArchiveList=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"CalendarArchiveList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\CalendarArchiveList\\CalendarArchiveList.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.SureDelete=void 0;var r=p(i(1)),y=i(31),c=i(3),u;i(671);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).doDelete=function(){r.closeConfirm();r.deleteItem(r.props.deletePath)},r.deleteItem=function(n){window.location.href=n},r.openConfirm=function(n){n.preventDefault();r.setState({modalIsOpen:!0})},r.closeConfirm=function(){r.setState({modalIsOpen:!1})},r.state={modalIsOpen:!1},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n=this.props,t=n.modalHeading,i=n.modalBody,u=n.cancelText,f=n.actionText,e=this.state.modalIsOpen;return r.createElement("div",{className:"eservicemenu"},r.createElement("button",{onClick:this.openConfirm,className:"stripped-button"},"Ta bort ",r.createElement(c.Icon,{iconType:"Paperbin"})),r.createElement(y.Dialog,{isOpen:e,onRequestClose:this.closeConfirm},r.createElement("div",{onClick:this.closeConfirm,className:"close"},r.createElement(c.Icon,{isAriaHidden:!1,ariaLabel:"Stäng",iconType:"ic_close_white_24px"})),r.createElement("div",{className:"header"},r.createElement("h2",null,t)),r.createElement("p",null,i),r.createElement("div",{className:"footer"},r.createElement("button",{className:"button button--white",onClick:this.closeConfirm},u),r.createElement("button",{className:"button button--red",onClick:this.doDelete},f))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.SureDelete=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SureDelete","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SureDelete\\SureDelete.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n){return n()}var f;Object.defineProperty(t,"__esModule",{value:!0});t.bodyOpenClassName=t.portalClassName=void 0;var c=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},w=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),l=i(1),a=o(l),s=o(i(57)),r=o(i(5)),v=o(i(663)),b=function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t.default=n,t}(i(385)),e=i(141),k=o(e),d=i(133);var nt=t.portalClassName="ReactModalPortal",tt=t.bodyOpenClassName="ReactModal__Body--open",u=void 0!==s.default.createPortal,p=function(){return u?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};f=function(n){function t(){var r,f,n;g(this,t);for(var e=arguments.length,o=Array(e),i=0;i<e;i++)o[i]=arguments[i];return f=n=y(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(o))),n.removePortal=function(){u||s.default.unmountComponentAtNode(n.node);var t=h(n.props.parentSelector);t&&t.removeChild(n.node)},n.portalRef=function(t){n.portal=t},n.renderPortal=function(i){var r=p()(n,a.default.createElement(v.default,c({defaultStyles:t.defaultStyles},i)),n.node);n.portalRef(r)},y(n,f)}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(t,n),w(t,[{key:"componentDidMount",value:function(){e.canUseDOM&&(u||(this.node=document.createElement("div")),this.node.className=this.props.portalClassName,h(this.props.parentSelector).appendChild(this.node),!u&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(n){return{prevParent:h(n.parentSelector),nextParent:h(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(n,t,i){var r,f;if(e.canUseDOM){var o=this.props,h=o.isOpen,s=o.portalClassName;n.portalClassName!==s&&(this.node.className=s);r=i.prevParent;f=i.nextParent;f!==r&&(r.removeChild(this.node),f.appendChild(this.node));(n.isOpen||h)&&!u&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(e.canUseDOM&&this.node&&this.portal){var n=this.portal.state,t=Date.now(),i=n.isOpen&&this.props.closeTimeoutMS&&(n.closesAt||t+this.props.closeTimeoutMS);i?(n.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,i-t)):this.removePortal()}}},{key:"render",value:function(){return e.canUseDOM&&u?(!this.node&&u&&(this.node=document.createElement("div")),p()(a.default.createElement(v.default,c({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(n){b.setElement(n)}}]),t}(l.Component);f.propTypes={isOpen:r.default.bool.isRequired,style:r.default.shape({content:r.default.object,overlay:r.default.object}),portalClassName:r.default.string,bodyOpenClassName:r.default.string,htmlOpenClassName:r.default.string,className:r.default.oneOfType([r.default.string,r.default.shape({base:r.default.string.isRequired,afterOpen:r.default.string.isRequired,beforeClose:r.default.string.isRequired})]),overlayClassName:r.default.oneOfType([r.default.string,r.default.shape({base:r.default.string.isRequired,afterOpen:r.default.string.isRequired,beforeClose:r.default.string.isRequired})]),appElement:r.default.instanceOf(k.default),onAfterOpen:r.default.func,onRequestClose:r.default.func,closeTimeoutMS:r.default.number,ariaHideApp:r.default.bool,shouldFocusAfterRender:r.default.bool,shouldCloseOnOverlayClick:r.default.bool,shouldReturnFocusAfterClose:r.default.bool,parentSelector:r.default.func,aria:r.default.object,data:r.default.object,role:r.default.string,contentLabel:r.default.string,shouldCloseOnEsc:r.default.bool,overlayRef:r.default.func,contentRef:r.default.func};f.defaultProps={isOpen:!1,portalClassName:nt,bodyOpenClassName:tt,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,parentSelector:function(){return document.body}};f.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}};d.polyfill(f);t.default=f},function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t.default=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),a=i(1),v=f(a),r=f(i(5)),u=s(i(664)),k=f(i(665)),y=s(i(385)),e=s(i(668)),d=f(i(141)),p=f(i(386));i(669);var h={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},c=0,l=function(n){function t(n){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return i.setOverlayRef=function(n){i.overlay=n;i.props.overlayRef&&i.props.overlayRef(n)},i.setContentRef=function(n){i.content=n;i.props.contentRef&&i.props.contentRef(n)},i.afterClose=function(){var n=i.props,f=n.appElement,o=n.ariaHideApp,t=n.htmlOpenClassName,r=n.bodyOpenClassName;r&&e.remove(document.body,r);t&&e.remove(document.getElementsByTagName("html")[0],t);o&&c>0&&0==(c-=1)&&y.show(f);i.props.shouldFocusAfterRender&&(i.props.shouldReturnFocusAfterClose?(u.returnFocus(),u.teardownScopedFocus()):u.popWithoutFocus());i.props.onAfterClose&&i.props.onAfterClose();p.default.deregister(i)},i.open=function(){i.beforeOpen();i.state.afterOpen&&i.state.beforeClose?(clearTimeout(i.closeTimer),i.setState({beforeClose:!1})):(i.props.shouldFocusAfterRender&&(u.setupScopedFocus(i.node),u.markForFocusLater()),i.setState({isOpen:!0},function(){i.setState({afterOpen:!0});i.props.isOpen&&i.props.onAfterOpen&&i.props.onAfterOpen({overlayEl:i.overlay,contentEl:i.content})}))},i.close=function(){i.props.closeTimeoutMS>0?i.closeWithTimeout():i.closeWithoutTimeout()},i.focusContent=function(){return i.content&&!i.contentHasFocus()&&i.content.focus()},i.closeWithTimeout=function(){var n=Date.now()+i.props.closeTimeoutMS;i.setState({beforeClose:!0,closesAt:n},function(){i.closeTimer=setTimeout(i.closeWithoutTimeout,i.state.closesAt-Date.now())})},i.closeWithoutTimeout=function(){i.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},i.afterClose)},i.handleKeyDown=function(n){9===n.keyCode&&k.default(i.content,n);i.props.shouldCloseOnEsc&&27===n.keyCode&&(n.stopPropagation(),i.requestClose(n))},i.handleOverlayOnClick=function(n){null===i.shouldClose&&(i.shouldClose=!0);i.shouldClose&&i.props.shouldCloseOnOverlayClick&&(i.ownerHandlesClose()?i.requestClose(n):i.focusContent());i.shouldClose=null},i.handleContentOnMouseUp=function(){i.shouldClose=!1},i.handleOverlayOnMouseDown=function(n){i.props.shouldCloseOnOverlayClick||n.target!=i.overlay||n.preventDefault()},i.handleContentOnClick=function(){i.shouldClose=!1},i.handleContentOnMouseDown=function(){i.shouldClose=!1},i.requestClose=function(n){return i.ownerHandlesClose()&&i.props.onRequestClose(n)},i.ownerHandlesClose=function(){return i.props.onRequestClose},i.shouldBeClosed=function(){return!i.state.isOpen&&!i.state.beforeClose},i.contentHasFocus=function(){return document.activeElement===i.content||i.content.contains(document.activeElement)},i.buildClassName=function(n,t){var u="object"===(void 0===t?"undefined":w(t))?t:{base:h[n],afterOpen:h[n]+"--after-open",beforeClose:h[n]+"--before-close"},r=u.base;return i.state.afterOpen&&(r=r+" "+u.afterOpen),i.state.beforeClose&&(r=r+" "+u.beforeClose),"string"==typeof t&&t?r+" "+t:r},i.attributesFromObject=function(n,t){return Object.keys(t).reduce(function(i,r){return i[n+"-"+r]=t[r],i},{})},i.state={afterOpen:!1,beforeClose:!1},i.shouldClose=null,i.moveFromContentToOverlay=null,i}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(t,n),b(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(n,t){this.props.isOpen&&!n.isOpen?this.open():!this.props.isOpen&&n.isOpen&&this.close();this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose();clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var n=this.props,r=n.appElement,u=n.ariaHideApp,t=n.htmlOpenClassName,i=n.bodyOpenClassName;i&&e.add(document.body,i);t&&e.add(document.getElementsByTagName("html")[0],t);u&&(c+=1,y.hide(r));p.default.register(this)}},{key:"render",value:function(){var n=this.props,u=n.id,t=n.className,i=n.overlayClassName,r=n.defaultStyles,f=t?{}:r.content,e=i?{}:r.overlay;return this.shouldBeClosed()?null:v.default.createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:o({},e,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},v.default.createElement("div",o({id:u,ref:this.setContentRef,style:o({},f,this.props.style.content),className:this.buildClassName("content",t),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),t}(a.Component);l.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}};l.propTypes={isOpen:r.default.bool.isRequired,defaultStyles:r.default.shape({content:r.default.object,overlay:r.default.object}),style:r.default.shape({content:r.default.object,overlay:r.default.object}),className:r.default.oneOfType([r.default.string,r.default.object]),overlayClassName:r.default.oneOfType([r.default.string,r.default.object]),bodyOpenClassName:r.default.string,htmlOpenClassName:r.default.string,ariaHideApp:r.default.bool,appElement:r.default.instanceOf(d.default),onAfterOpen:r.default.func,onAfterClose:r.default.func,onRequestClose:r.default.func,closeTimeoutMS:r.default.number,shouldFocusAfterRender:r.default.bool,shouldCloseOnOverlayClick:r.default.bool,shouldReturnFocusAfterClose:r.default.bool,role:r.default.string,contentLabel:r.default.string,aria:r.default.object,data:r.default.object,children:r.default.node,shouldCloseOnEsc:r.default.bool,overlayRef:r.default.func,contentRef:r.default.func,id:r.default.string,testId:r.default.string};t.default=l;n.exports=t.default},function(n,t,i){"use strict";function f(){s=!0}function e(){if(s){if(s=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||(h.default(r)[0]||r).focus()},0)}}Object.defineProperty(t,"__esModule",{value:!0});t.handleBlur=f;t.handleFocus=e;t.markForFocusLater=function(){u.push(document.activeElement)};t.returnFocus=function(){try{return void(0!==u.length&&u.pop().focus())}catch(n){}};t.popWithoutFocus=function(){u.length>0&&u.pop()};t.setupScopedFocus=function(n){r=n;window.addEventListener?(window.addEventListener("blur",f,!1),document.addEventListener("focus",e,!0)):(window.attachEvent("onBlur",f),document.attachEvent("onFocus",e))};t.teardownScopedFocus=function(){r=null;window.addEventListener?(window.removeEventListener("blur",f),document.removeEventListener("focus",e)):(window.detachEvent("onBlur",f),document.detachEvent("onFocus",e))};var o,h=(o=i(384))&&o.__esModule?o:{"default":o},u=[],r=null,s=!1},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n,t){var r=u.default(n),h,o;if(r.length){var i=void 0,f=t.shiftKey,s=r[0],e=r[r.length-1];if(n===document.activeElement){if(!f)return;i=e}if(e!==document.activeElement||f||(i=s),s===document.activeElement&&f&&(i=e),i)return t.preventDefault(),void i.focus();if(h=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),null!=h&&"Chrome"!=h[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){if(o=r.indexOf(document.activeElement),o>-1&&(o+=f?-1:1),void 0===(i=r[o]))return t.preventDefault(),void(i=f?e:s).focus();t.preventDefault();i.focus()}}else t.preventDefault()};var r,u=(r=i(384))&&r.__esModule?r:{"default":r};n.exports=t.default},function(n){"use strict";n.exports=function(){}},function(n,t,i){var r;!function(){"use strict";var u=!("undefined"==typeof window||!window.document||!window.document.createElement),f={canUseDOM:u,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:u&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:u&&!!window.screen};void 0===(r=function(){return f}.call(t,i,t,n))||(n.exports=r)}()},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.dumpClassLists=function(){};var i={},r={};t.add=function(n,t){return u=n.classList,f="html"==n.nodeName.toLowerCase()?i:r,void t.split(" ").forEach(function(n){!function(n,t){n[t]||(n[t]=0);n[t]+=1}(f,n);u.add(n)});var u,f};t.remove=function(n,t){return f=n.classList,u="html"==n.nodeName.toLowerCase()?i:r,void t.split(" ").forEach(function(n){!function(n,t){n[t]&&(n[t]-=1)}(u,n);0===u[n]&&f.remove(n)});var f,u}},function(n,t,i){"use strict";function o(){0!==e.length&&e[e.length-1].focusContent()}var f,s=(f=i(386))&&f.__esModule?f:{"default":f},r=void 0,u=void 0,e=[];s.default.subscribe(function(n,t){r&&u||((r=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),r.style.position="absolute",r.style.opacity="0",r.setAttribute("tabindex","0"),r.addEventListener("focus",o),(u=r.cloneNode()).addEventListener("focus",o));(e=t).length>0?(document.body.firstChild!==r&&document.body.insertBefore(r,document.body.firstChild),document.body.lastChild!==u&&document.body.appendChild(u)):(r.parentElement&&r.parentElement.removeChild(r),u.parentElement&&u.parentElement.removeChild(u))})},function(){},function(){},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function v(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function b(n){var t=g();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,nt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.WizardNavIndicator=void 0;r=v(i(1));u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(){var n;return y(this,t),(n=i.apply(this,arguments)).getClassNames=function(){var t="wizardstepper__step";return n.props.isActive&&(t+=" wizardstepper__step--active"),n.props.isDone&&(t+=" wizardstepper__step--done"),t},n.onClick=function(t){t.preventDefault();n.props.isActive||n.props.onClick(n.props.stepId)},n}w(t,n);var i=b(t);return p(t,[{key:"render",value:function(){var n=this.props,t=n.stepId,i=n.stepLabel,u=n.isDone?"klart":"inte klart";return r.createElement("li",{className:"wizardstepper__li"},r.createElement("div",{className:this.getClassNames()},r.createElement("a",{onClick:this.onClick,href:"#",className:"wizardstepper__link","aria-label":"Gå till steg ".concat(t+1,", steget är ").concat(u)})),r.createElement("div",{className:"wizardstepper__label","aria-hidden":"true"},i))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.PureComponent);t.WizardNavIndicator=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"WizardNavIndicator","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\WizardStepper\\WizardNavBar\\WizardNavIndicator.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.WizardPagination=void 0;var r=p(i(1)),v=i(674),y=i(675),u;i(676);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return w(this,t),(u=i.call(this,n)).changeStep=function(n,t){t.preventDefault();u.props.goToStep(n)},u.getClassNames=function(n){var t="pagination__link";return n.stepId===u.getCurrentStepIndex()&&(t+=" pagination__link--active"),t},u.renderStep=function(n,t){return r.createElement("li",{key:n.stepId,className:"pagination__list-item"},u.getCurrentStepIndex()!==t&&r.createElement("a",{href:"#",onClick:function(t){return u.changeStep(n.stepId,t)},className:u.getClassNames(n)},t+1),u.getCurrentStepIndex()===t&&r.createElement("span",{className:u.getClassNames(n)},t+1))},u.getCurrentStepIndex=function(){return u.props.currentStep},u}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){return r.createElement("nav",{className:"pagination","aria-label":"Navigera mellan formulärets olika steg"},r.createElement("ol",{className:"pagination__list"},r.createElement("li",{className:"pagination__list-item"},r.createElement(v.Previous,{paginationSteps:this.props.steps,changeStepCallback:this.changeStep,previousLabel:this.props.previousLabel,currentStepIndex:this.getCurrentStepIndex()})),this.props.steps&&this.props.steps.map(this.renderStep),r.createElement("li",{className:"pagination__list-item"},r.createElement(y.Next,{paginationSteps:this.props.steps,changeStepCallback:this.changeStep,nextLabel:this.props.nextLabel,stepLength:this.props.steps.length,currentStepIndex:this.getCurrentStepIndex()}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.WizardPagination=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"WizardPagination","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\WizardStepper\\WizardPagination\\WizardPagination.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,f,tt,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.Previous=void 0;r=y(i(1));u=i(3);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(){var n;return p(this,t),(n=i.apply(this,arguments)).navigatePrevious=function(t,i,r){n.props.changeStepCallback(n.props.paginationSteps[t-1].stepId,r)},n}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var f=this,n="pagination__link",i=this.props.currentStepIndex,t=0===i;return t&&(n+=" pagination__link--disabled"),t?r.createElement("span",{"aria-disabled":"true",className:n},r.createElement(u.Icon,{iconType:"fontawesome/chevron-left"}),r.createElement("span",{className:"pagination__verbose"},this.props.previousLabel)):r.createElement("a",{onClick:function(n){return f.navigatePrevious(i,t,n)},href:"#",className:n},r.createElement(u.Icon,{iconType:"fontawesome/chevron-left"}),r.createElement("span",{className:"pagination__verbose"},this.props.previousLabel))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.Previous=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"Previous","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\WizardStepper\\WizardPagination\\Previous.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,f,tt,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.Next=void 0;r=y(i(1));u=i(3);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(){var n;return p(this,t),(n=i.apply(this,arguments)).navigateNext=function(t,i){n.props.changeStepCallback(n.props.paginationSteps[t+1].stepId,i)},n}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var f=this,n="pagination__link pagination__link--next",t=this.props.currentStepIndex,i=t===this.props.stepLength-1;return i&&(n+=" pagination__link--disabled"),i?r.createElement("span",{"aria-disabled":"true",className:n},r.createElement("span",{className:"pagination__verbose"},this.props.nextLabel),r.createElement(u.Icon,{iconType:"fontawesome/chevron-left"})):r.createElement("a",{onClick:function(n){return f.navigateNext(t,n)},href:"#",className:n},r.createElement("span",{className:"pagination__verbose"},this.props.nextLabel),r.createElement(u.Icon,{iconType:"fontawesome/chevron-left"}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.Next=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"Next","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\WizardStepper\\WizardPagination\\Next.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(){},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,f;Object.defineProperty(t,"__esModule",{value:!0});t.AcceptConditions=void 0;r=w(i(1));c=i(6);i(679);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},s="ACCEPT_CONDITIONS_ID",y="acceptConditions",p=function(){var n=function(n){function t(n){var r;return b(this,t),(r=i.call(this,n)).onChange=function(n){var i=r.props.formLink,t=n.value;r.setState({value:t,aClassName:t?"":"button--disabled",currentLink:t?i:"#"})},r.state={value:!1,aClassName:"button--disabled",currentLink:"#"},r}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){var n=this.state,i=n.currentLink,u=n.aClassName,f=n.value,t=this.props,e=t.conditionText,o=t.buttonText;return r.default.createElement("div",{className:"accept-conditions"},r.default.createElement("hr",null),r.default.createElement("label",{htmlFor:s},e),r.default.createElement(c.CheckBox,{label:"Ja",onChange:this.onChange,id:s,fieldName:y}),r.default.createElement("hr",null),r.default.createElement("div",{className:"form-submit"},r.default.createElement("a",{href:i,className:"button button--wide ".concat(u),"aria-label":f?null:"Vidare till beställning, du kan inte gå vidare förrän du accepterat användarvillkoren."},o)),r.default.createElement("hr",null))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={conditionText:"",formLink:"#",buttonText:"Vidare till beställning"},n}(),u,h;t.AcceptConditions=p;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(s,"ACCEPT_CONDITIONS_ID","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\AcceptConditions\\AcceptConditions.tsx"),u.register(y,"ACCEPT_CONDITIONS_NAME","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\AcceptConditions\\AcceptConditions.tsx"),u.register(p,"AcceptConditions","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\AcceptConditions\\AcceptConditions.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function d(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function nt(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function tt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function it(n){var t=ft();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),rt(this,i)}}function rt(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?ut(n):t}function ut(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ft(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var f,e,et,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});t.EServiceFormMenu=void 0;var r=d(i(1)),p=i(44),w=i(701),b=i(394),k=i(703),u=i(46);i(704);f=i(27);e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);et="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(n){function t(n){var r;return g(this,t),(r=i.call(this,n)).onStoreUpdate=function(){var n=r._store.getState(),t=!(n.globals&&n.globals.shouldShowDelete);r.setState({deleteDisabled:t})},r.afterDelete=function(){r._store.dispatch(u.deleteAction())},r.save=function(){r._saveOrder()},r.saveAndClose=function(){r._saveAndClose()},r.state={deleteDisabled:!0},r}tt(t,n);var i=it(t);return nt(t,[{key:"componentDidMount",value:function(){var n=this;p.getStore(function(t){n._store=t;n._saveOrder=f.bindActionCreators(u.saveOrderAction,t.dispatch);n._saveAndClose=f.bindActionCreators(u.saveCloseAction,t.dispatch);n._store.subscribe(n.onStoreUpdate);n.onStoreUpdate()})}},{key:"render",value:function(){var n=this.state.deleteDisabled;return r.default.createElement("div",null,r.default.createElement("section",{className:"eservice-navigation","aria-label":"Kontroller för formuläret"},r.default.createElement("div",{className:"eservice-navigation__topnav"},r.default.createElement(b.DeleteOrder,{modalHeading:"Delete",modalBody:"Are you sure?",cancelText:"Avbryt",actionText:"Ta bort",disabled:n,onActionCompleted:this.afterDelete}),r.default.createElement("div",{className:"eservice-navigation__topnav--right"},r.default.createElement(w.SaveOrder,{onAction:this.save,buttonCss:"button eservice-navigation__saveorderbtn"}),r.default.createElement(k.ButtonModal,{buttonText:"Spara och stäng",buttonCss:"button button--white",modalAction:"",modalHeading:"Spara och stäng",modalBody:"Är du säker på att du vill spara och stänga?",modalCancelText:"Avbryt",modalCancelCss:"button button--white",modalActionText:"Spara och stäng",modalActionCss:"button",modalActionUrl:"#",callBackLink:"#",onActionCompleted:this.saveAndClose})))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.EServiceFormMenu=h;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;c&&c.register(h,"EServiceFormMenu","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\EServiceFormMenu.tsx");l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n){n.exports=function(n){if(!n.webpackPolyfill){var t=Object.create(n);t.children||(t.children=[]);Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}});Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}});Object.defineProperty(t,"exports",{enumerable:!0});t.webpackPolyfill=1}return t}},function(n,t,i){"use strict";var r=i(27).compose;t.__esModule=!0;t.composeWithDevTools="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?r:r.apply(null,arguments)};t.devToolsEnhancer="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(n){return n}}},function(n,t,i){"use strict";function r(n){return function(t){var i=t.dispatch,r=t.getState;return function(t){return function(u){return"function"==typeof u?u(i,r,n):t(u)}}}}i.r(t);var u=r();u.withExtraArgument=r;t.default=u},function(n,t,i){"use strict";(function(n){function e(n,t){var i=s.globals(n.globals,t);return{formModel:o.formModel(n.formModel,t,n),globals:i,registers:n.registers,files:h.files(n.files,t),validationState:c.validationResults(n.validationState,t,i),errors:l.errors(n.errors,t)}}Object.defineProperty(t,"__esModule",{value:!0});t.formModelStore=e;var r,u,f,o=i(685),s=i(696),h=i(697),c=i(698),l=i(700);(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(e,"formModelStore","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\index.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function v(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?a(Object(i),!0).forEach(function(t){nt(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function nt(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function y(n,t){var i=v({},n);return Array.isArray(t)?(t.forEach(function(n){f(i,n)}),i):f(i,t)}function f(n,t){var i=t.fieldName.replace("CurrentResearchOrder.","").replace("StatisticsOrder.","").split(".");return b.default(n,i,t.value),n}function p(n,t){var i=t.FileId;return e(v({},n),i)}function e(n,t){for(var i in n)n.hasOwnProperty(i)&&("FileId"===i&&n[i]===t&&(n[i]=null),"object"===l(n[i])&&(n[i]=e(n[i],t)));return n}function o(n){return function(){window.location.href=n}}function w(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;switch(t.type){case c.SET_FORM_VALUE:return g.setupAutoSave(),y(n,t.payload);case k.ESERVICE_MENU_DELETE:return d.deleteOrder(i.globals.orderId).then(o(i.globals.homePageUrl)),n;case c.REMOVE_FILE:return p(n,t.payload);default:return n}}Object.defineProperty(t,"__esModule",{value:!0});t.redirect=o;t.formModel=w;var u,s,r,h,b=(u=i(686))&&u.__esModule?u:{"default":u},c=i(21),k=i(46),d=i(63),g=i(392);(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&s(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(y,"setFormFields","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\formModel.reducer.ts"),r.register(f,"setValueByKey","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\formModel.reducer.ts"),r.register(p,"removeFileFromState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\formModel.reducer.ts"),r.register(e,"traverseAndRemove","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\formModel.reducer.ts"),r.register(o,"redirect","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\formModel.reducer.ts"),r.register(w,"formModel","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\formModel.reducer.ts"));(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(687);n.exports=function(n,t,i){return null==n?n:r(n,t,i)}},function(n,t,i){var u=i(126),f=i(59),e=i(186),r=i(19),o=i(42);n.exports=function(n,t,i,s){var c,a,v;if(!r(n))return n;for(var l=-1,y=(t=f(t,n)).length,p=y-1,h=n;null!=h&&++l<y;)c=o(t[l]),a=i,l!=p&&(v=h[c],void 0===(a=s?s(v,c,h):void 0)&&(a=r(v)?v:e(t[l+1])?[]:{})),u(h,c,a),h=h[c];return n}},function(n,t,i){"use strict";(function(n){function r(n,t){return{type:l.ADD_FILE,payload:n,fieldName:t}}function v(n){var s=w.getFormConfig(),i=n.value.filter(function(n){return!n.FileId})[0],t=n.fieldName,u="";return function(h,l){var v=l().globals,y=v.orderId,w=v.translations;p.makeTranslator(w);h(r(i,t));e.doValidateByState(l()).then(function(n){return h(o.setValidationResults(n))}).then(function(){return c.postFilesRedux(i,y,t)}).then(function(n){if(n instanceof b.ResponseError)throw n;return h(r(n,t))}).catch(function(e){u=e.body.errorMessage||s.errorMessageResolver(r(i,t));h(f(i,t));h(a.errorEvent({error:e,fieldName:n.fieldName,friendlyMessage:u}))}).then(function(){return e.doValidateByState(l())}).then(function(n){return h(o.setValidationResults(n))})}}function f(n,t){return{fieldName:t,payload:n,type:l.REMOVE_FILE}}function y(n,t){return function(i,u){i(f(n,t));var s=u().globals.orderId;c.deleteFileRedux(n,s,t).catch(function(u){i(r(n,t));i(a.errorEvent({error:u,fieldName:t,friendlyMessage:"Kunde inte radera filen"}))}).then(function(){return e.doValidateByState(u())}).then(function(n){i(o.setValidationResults(n))})}}Object.defineProperty(t,"__esModule",{value:!0});t.addFile=r;t.addFilesAction=v;t.removeFile=f;t.removeFilesAction=y;var s,u,h,c=i(390),e=i(142),p=i(127),l=i(143),w=i(45),a=i(94),o=i(96),b=i(35);(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&s(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(r,"addFile","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\files.actions.ts"),u.register(v,"addFilesAction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\files.actions.ts"),u.register(f,"removeFile","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\files.actions.ts"),u.register(y,"removeFilesAction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\files.actions.ts"));(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function l(n,t,i){return t&&h(n.prototype,t),i&&h(n,i),n}var o,s,r,a,u,f,e;Object.defineProperty(t,"__esModule",{value:!0});t.DefaultFormConfig=void 0;o=i(127);s=i(21);r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;r&&r(n);a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};u=function(){function n(t,i,r){c(this,n);this.translations=t;this.basePath=i;this.stepFieldsMap=r;this.translate=o.makeTranslator(this.translations)}return l(n,[{key:"errorMessageResolver",value:function(n){switch(n.type){case s.ADD_FILE:return this.translate("/global/generalFileUploadError");default:return""}}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),n}();t.DefaultFormConfig=u;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;f&&f.register(u,"DefaultFormConfig","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\defaultFormConfig.ts");e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;e&&e(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n){u=n}function h(){return u||c.default.warn("formConfig Not Set"),u}Object.defineProperty(t,"__esModule",{value:!0});t.setFormConfig=s;t.getFormConfig=h;var r,e,u,f,o,c=(r=i(62))&&r.__esModule?r:{"default":r};(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(u,"_formConfig","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\formConfig.ts"),f.register(s,"setFormConfig","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\formConfig.ts"),f.register(h,"getFormConfig","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\config\\formConfig.ts"));(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(n)}).call(this,i(0)(n))},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function e(n){return{type:"SET_TRANSLATIONS",payload:n}}function o(){return{type:"CLOSE_MESSAGE_BAR"}}function s(n){return{type:"SET_FORM_ID",payload:n}}function h(n){return function(t){t({type:"SET_CURRENT_STEP",payload:n});t(c.doValidate())}}Object.defineProperty(t,"__esModule",{value:!0});t.setTranslation=e;t.closeMessageBar=o;t.setFormId=s;t.setCurrentStep=h;t.SET_CURRENT_STEP=t.SET_FORM_ID=t.CLOSE_MESSAGE_BAR=t.SET_TRANSLATIONS=void 0;var u,r,f,c=i(96);(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&u(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.SET_TRANSLATIONS="SET_TRANSLATIONS";t.CLOSE_MESSAGE_BAR="CLOSE_MESSAGE_BAR";t.SET_FORM_ID="SET_FORM_ID";t.SET_CURRENT_STEP="SET_CURRENT_STEP";(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register("SET_TRANSLATIONS","SET_TRANSLATIONS","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\globals.actions.ts"),r.register(e,"setTranslation","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\globals.actions.ts"),r.register("CLOSE_MESSAGE_BAR","CLOSE_MESSAGE_BAR","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\globals.actions.ts"),r.register(o,"closeMessageBar","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\globals.actions.ts"),r.register("SET_FORM_ID","SET_FORM_ID","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\globals.actions.ts"),r.register(s,"setFormId","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\globals.actions.ts"),r.register("SET_CURRENT_STEP","SET_CURRENT_STEP","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\globals.actions.ts"),r.register(h,"setCurrentStep","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\globals.actions.ts"));(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n){return{type:"SET_REGISTERS",payload:n}}var r,i,u;Object.defineProperty(t,"__esModule",{value:!0});t.setRegisters=f;t.SET_REGISTERS=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.SET_REGISTERS="SET_REGISTERS";(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register("SET_REGISTERS","SET_REGISTERS","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\registers.actions.ts"),i.register(f,"setRegisters","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\registers.actions.ts"));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(n){return function(t,i){t({type:h.SET_FORM_VALUE,payload:n});v.doValidateByState(i()).then(function(n){t(c.setValidationResults(n))})}}function e(){return{type:h.FLIP_IS_SENDING_FLAG}}function a(){return function(n,t){var i=t(),f=i.globals,o=i.files,s=i.registers;return n(e()),y.sendOrder(t().formModel,s,f.orderId,o).then(function(t){if(n(e()),"LimitOfOrdersTodayReached"===t)n(r.dialogueError(u.getErrorBodyNoOfOrdersTodayReached()));else if(t instanceof p.ResponseError){var i=t;if(i.body.detailCode)switch(i.body.detailCode){case"401.1":n(r.dialogueError(u.getErrorBodyVipSPSessionTimeout(i.body.redirectUri)));break;case"401.2":n(r.dialogueError(u.getErrorBodyJwtTokenTimeout(i.body.redirectUri)))}else switch(i.statusCode){case 400:n(r.dialogueError(u.getErrorBodyApiErrorOnSend(i.body.errorMessage)));break;default:n(r.dialogueError(u.getErrorBodyApiErrorOnSend(i.body.errorMessage)))}}else Array.isArray(t)?t.length&&t[0].ValidationText&&(n(c.setValidationResults(t)),window.location.reload()):window.location.href=f.thankYouPageUrl})}}Object.defineProperty(t,"__esModule",{value:!0});t.setFormValue=l;t.flipIsSendingFlag=e;t.saveFormOrder=a;var o,f,s,v=i(142),h=i(391),c=i(96),y=i(63),p=i(35),r=i(94),u=i(95);(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(l,"setFormValue","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\formModel.actions.ts"),f.register(e,"flipIsSendingFlag","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\formModel.actions.ts"),f.register(a,"saveFormOrder","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\formModel.actions.ts"));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,i,u;Object.defineProperty(t,"__esModule",{value:!0});t.INIT=t.NO_OP=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.NO_OP="NO_OP";t.INIT="@@INIT";(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register("NO_OP","NO_OP","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\testAction.types.ts"),i.register("@@INIT","INIT","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Actions\\testAction.types.ts"));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function h(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function r(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?h(Object(i),!0).forEach(function(t){p(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function p(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function l(n,t){var i=r(r({},n),{},{currentStep:t.activeStep});return i.hasHitSummary||(i.hasHitSummary=t.activeStep===t.totalSteps),i}function a(n){var t=r({},n);return t.isSending=!t.isSending,t}function v(n,t){var i=r({},n);return i.touchedMap=new Map(n.touchedMap),t.forEach(function(n,t){i.touchedMap.set(t,n)}),i}function y(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case u.SET_TRANSLATIONS:return r(r({},n),{},{translations:t.payload});case u.SET_FORM_ID:return r(r({},n),{},{orderId:t.payload,shouldShowDelete:!0});case s.ESERVICE_MENU_SAVE:return r(r({},n),{},{showSavedBanner:!0});case u.SET_FORM_VALUE:case u.CLOSE_MESSAGE_BAR:return r(r({},n),{},{showSavedBanner:!1});case u.SET_CURRENT_STEP:return l(n,t.payload);case u.FLIP_IS_SENDING_FLAG:return a(n);case u.SET_TOUCHED_MAP:return v(n,t.payload);default:return n}}var o,s,u,f,c,e;Object.defineProperty(t,"__esModule",{value:!0});t.globals=y;s=i(46);u=i(21);(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;e={orderId:"",translations:[],purposeForSaveSerialNoOptions:[],homePageUrl:"",thankYouPageUrl:"",shouldShowDelete:!1,showSavedBanner:!1,currentStep:0,hasHitSummary:!1,apiBaseUrl:"",isSending:!1,touchedMap:new Map};(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(e,"initialState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\globals.reducer.ts"),f.register(l,"setStepState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\globals.reducer.ts"),f.register(a,"flipIsSendingFlagInState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\globals.reducer.ts"),f.register(v,"setTouchedMap","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\globals.reducer.ts"),f.register(y,"globals","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\globals.reducer.ts"));(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function o(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function s(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?o(Object(i),!0).forEach(function(t){a(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function a(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function h(n,t,i){var f=s({},n),u=n[i],r=u&&u.length?u.slice():[],e=r.findIndex(function(n){return n.OriginalFilename===t.OriginalFilename});return-1===e?r.push(t):r[e]=t,f[i]=r,f}function c(n,t,i){var u=s({},n),r=n[i].slice();return r.splice(r.indexOf(t),1),u[i]=r,u}function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case e.ADD_FILE:return h(t,n.payload,n.fieldName);case e.REMOVE_FILE:return c(t,n.payload,n.fieldName);default:return t}}Object.defineProperty(t,"__esModule",{value:!0});t.files=l;var u,r,f,e=i(143);(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&u(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(h,"addFileToState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\file.reducer.ts"),r.register(c,"removeFileToState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\file.reducer.ts"),r.register(l,"files","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\file.reducer.ts"));(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function f(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?c(Object(i),!0).forEach(function(t){w(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function w(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function a(n,t,i){var r=f(f({},n),{},{validationResults:t,fullValidationResults:t});return e.validateStepsByValidationResults(r,i)}function v(n,t){if(Array.isArray(t)){var i=n;return t.forEach(function(n){i=s(i,n)}),i}return s(n,t)}function s(n,t){var i=y(n,t),r;return t.isTouched&&i.touchedFields.indexOf(t.fieldName)<0&&(r=i.touchedFields.slice(),r.push(t.fieldName),i.touchedFields=r),i}function y(n,t){var i=n.validationResults.findIndex(function(n){return t.fieldName.replace("CurrentResearchOrder.",""),n.FieldName===t.fieldName}),r;return i>-1?(n.validationResults.splice(i,1),r=n.validationResults.slice(),f(f({},n),{},{validationResults:r})):n}function p(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;switch(t.type){case u.SET_VALIDATION_RESULTS:return a(n,t.payload,i.hasHitSummary);case u.SET_FORM_VALUE:return v(n,t.payload);case u.DO_VALIDATE:return e.validateStepsByValidationResults(n,i.hasHitSummary);default:return n}}var h,u,e,r,l,o;Object.defineProperty(t,"__esModule",{value:!0});t.validationResults=p;u=i(21);e=i(393);(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&h(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;o={validationResults:[],fullValidationResults:[],stepValidationMap:{},touchedFields:[],isBootValues:!0};(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(o,"initialValidationState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validationResults.reducer.ts"),r.register(a,"setValidationResultsAndValidate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validationResults.reducer.ts"),r.register(v,"addTouchedFieldAndClearByFields","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validationResults.reducer.ts"),r.register(s,"addTouchedFieldAndClearByFieldName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validationResults.reducer.ts"),r.register(y,"clearErrorByFieldName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validationResults.reducer.ts"),r.register(p,"validationResults","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validationResults.reducer.ts"));(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n){r=n}var e,r,o,u,h,f,c;Object.defineProperty(t,"__esModule",{value:!0});t.setCurrentValidationMap=s;t.default=void 0;o=i(45);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;f=function(){return r||(r=o.getFormConfig().stepFieldsMap),r};c=f;t.default=c;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(r,"_validationMap","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validationOrderSteps.ts"),u.register(s,"setCurrentValidationMap","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validationOrderSteps.ts"),u.register(f,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\validationOrderSteps.ts"));(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function s(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function f(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?s(Object(i),!0).forEach(function(t){y(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function y(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function h(n,t){var i=f({},n),r=t.friendlyMessage,u=t.error;return i[t.fieldName]={error:u,errorMessage:r},i}function c(n,t){var i=f({},n);return i.dialogueErrorBodies?i.dialogueErrorBodies.push(t):i.dialogueErrorBodies=[t],i}function l(n,t){var i=f({},n);return delete i[t],i}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return n.type===u.ERROR_EVENT?h(t,n.payload):n.type===u.REMOVE_ERROR_EVENT?l(t,n.payload):n.type===u.DIALOGUE_ERROR?c(t,n.payload):t}function v(){}Object.defineProperty(t,"__esModule",{value:!0});t.errors=a;t.dialogueErrors=v;var e,r,o,u=i(21);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(h,"addErrorToState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\errors.reducer.ts"),r.register(c,"addDialogueErrorToState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\errors.reducer.ts"),r.register(l,"removeErrorFromState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\errors.reducer.ts"),r.register(a,"errors","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\errors.reducer.ts"),r.register(v,"dialogueErrors","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\Reducers\\errors.reducer.ts"));(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function v(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function b(n){var t=g();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,nt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.SaveOrder=void 0;r=v(i(1));u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return y(this,t),(r=i.call(this,n)).doAction=function(){return r.props.onAction()},r.state={isSaving:!1},r}w(t,n);var i=b(t);return p(t,[{key:"render",value:function(){var n=this.props,t=n.buttonCss,i=n.buttonText;return r.createElement("button",{className:t,onClick:this.doAction},i)}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={buttonCss:"button",buttonText:"Spara"},n}();t.SaveOrder=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SaveOrder","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EServiceFormMenu\\SaveOrder\\SaveOrder.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.ButtonModal=void 0;var r=p(i(1)),v=i(31),y=i(3),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).onActionCompleted=function(){return r.props.onActionCompleted()},r.openConfirm=function(n){n.preventDefault();r.setState({isModalOpen:!0})},r.closeConfirm=function(){r.setState({isModalOpen:!1})},r.redirect=function(){return r.props.onActionCompleted},r.doAction=function(){r.closeConfirm();r.onActionCompleted()},r.state={isModalOpen:!1},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n=this.props,t=n.buttonText,u=n.buttonCss,f=(n.modalAction,n.modalHeading),e=n.modalBody,o=n.modalCancelText,s=n.modalActionText,h=(n.modalActionUrl,n.callBackLink,n.modalActionCss),c=n.modalCancelCss,i=n.isButtonDisabled,l=this.state.isModalOpen;return r.createElement("div",null,!i&&r.createElement("button",{type:"button",onClick:this.openConfirm,className:u},t),i&&r.createElement("button",{type:"button",className:"button",disabled:!0},t),r.createElement(v.Dialog,{isOpen:l,onRequestClose:this.closeConfirm},r.createElement("button",{type:"button",onClick:this.closeConfirm,className:"close"},r.createElement(y.Icon,{isAriaHidden:!1,ariaLabel:"Stäng",iconType:"ic_close_white_24px"})),r.createElement("div",{className:"header"},r.createElement("h2",null,f)),r.createElement("p",null,e),r.createElement("div",{className:"footer"},r.createElement("button",{type:"button",className:c,onClick:this.closeConfirm},o),r.createElement("button",{type:"button",className:h,onClick:this.doAction},s))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={modalActionUrl:"",callBackLink:"",onActionCompleted:function(){}},n}();t.ButtonModal=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"ButtonModal","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ButtonModal\\ButtonModal.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.DeleteOmbudButton=void 0;var r=p(i(1)),y=i(31),c=i(3),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).doDelete=function(){r.closeConfirm()},r.openConfirm=function(n){n.preventDefault();r.setState({isModalOpen:!0})},r.closeConfirm=function(){r.setState({isModalOpen:!1})},r.state={isModalOpen:!1},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var t=this.state.isModalOpen,n=this.props,i=n.modalHeading,u=n.modalBody,f=n.cancelText,e=n.actionText,o=n.disabled,s=n.postLink;return r.createElement("div",{className:"eservicemenu"},r.createElement("button",{onClick:this.openConfirm,disabled:o,className:"stripped-button"},"Ta bort",r.createElement(c.Icon,{iconType:"Paperbin"})),r.createElement(y.Dialog,{isOpen:t,onRequestClose:this.closeConfirm},r.createElement("button",{onClick:this.closeConfirm,className:"close"},r.createElement(c.Icon,{isAriaHidden:!1,ariaLabel:"Stäng",iconType:"ic_close_white_24px"})),r.createElement("div",{className:"header"},r.createElement("h2",null,i)),r.createElement("p",null,u),r.createElement("div",{className:"footer"},r.createElement("button",{className:"button button--white",onClick:this.closeConfirm},f),r.createElement("form",{action:s,method:"post"},r.createElement("input",{type:"submit",className:"button button--red",value:e})))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.DeleteOmbudButton=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"DeleteOmbudButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\DeleteOmbudButton\\DeleteOmbudButton.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function p(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return p=function(){return n},n}function it(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=p(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function rt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ut(n,t,i){return t&&w(n.prototype,t),i&&w(n,i),n}function ft(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&b(n,t)}function b(n,t){return(b=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function et(n){var t=ht();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ot(this,i)}}function ot(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?st(n):t}function st(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ht(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ct,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});t.OmbudCompletion=void 0;var r=it(i(1)),k=i(97),d=i(381),g=i(380),nt=i(395),a=i(707),v=i(31),y=i(3),tt=i(396),f=i(397),u=i(4),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);ct="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(n){function t(n){var e;return rt(this,t),(e=i.call(this,n)).getApiEndpoint=function(){return e.props.isRequiredCompletion?a.API_ENDPOINT_REQUIRED:a.API_ENDPOINT_FRIVILLIG},e.setComplementaryId=function(n){e.setState({complementaryId:n})},e.setErrorMessage=function(n){e.setState({clientError:{error:null,errorMessage:n||"Ett ohanterat fel inträffade."}})},e.onAddFile=function(n){var i=e.state.complementaryId,r=e.props.ombudId,o=e.getApiEndpoint()+"/attach",t=new FormData;t.append("orderId",r);i&&t.append("ComplementaryId",i);e.setState({fileUploadState:n.value});f.postFile(n,o,t).then(function(n){n instanceof u.ResponseError?e.setErrorMessage(n.body.errorMessage):(e.setComplementaryId(n.serverResponse.ComplementaryId),e.setState({unlockSendButton:!!n.serverResponse.ComplementaryId,fileUploadState:n.fileUploadValue,serverResponseObject:n.serverResponse,clientError:null}))})},e.onSendClick=function(){var t=e.state.complementaryId,i=e.props.ombudId,r=e.getApiEndpoint()+"/submit",n=new FormData;n.append("orderId",i);n.append("ComplementaryId",t);tt.sendCompletion(r,n).then(function(n){n instanceof u.ResponseError?e.setState({showDialog:!0,sendSuccess:!1,sendCompletionErrorMessage:n.body.errorMessage||"Ett ohanterat fel inträffade."}):e.setState({showDialog:!0,sendSuccess:!0})})},e.closeConfirm=function(){e.setState({showDialog:!1});window.location.reload()},e.getCurrentAttachments=function(){var n=e.props.ombudId,t=e.state.complementaryId,i=e.getApiEndpoint()+"/get?ansokanId=".concat(n,"&complementaryId=").concat(t);f.getFiles(i).then(function(n){if(n instanceof u.ResponseError)e.setErrorMessage(n.body.errorMessage);else if(e.setComplementaryId(n.ComplementaryId),n.Files&&n.Files.length>0){var t=[];n.Files.forEach(function(n){t.push({FileId:n.id,OriginalFilename:n.filnamn,status:g.FileState.SETTLED})});e.setState({fileUploadState:t,unlockSendButton:!!n.ComplementaryId})}})},e.onDeleteFile=function(n){var i=e.props.ombudId,r=e.state.complementaryId,o=e.getApiEndpoint()+"/delete",t=new FormData;t.append("orderId",i);t.append("fileId",n.FileId);t.append("ComplementaryId",r);f.deleteFile(o,t).then(function(n){if(n instanceof u.ResponseError)e.setErrorMessage(n.body.errorMessage);else{var i=n,t=e.state.fileUploadState.slice(),r=t.findIndex(function(n){return n.FileId===i});t.splice(r,1);e.setState({fileUploadState:t,clientError:null,unlockSendButton:t.length>0})}})},e.reloadPage=function(){window.location.reload(!0)},e.renderSuccessDialog=function(){return r.createElement(v.Dialog,{isOpen:e.state.showDialog,onRequestClose:e.closeConfirm},r.createElement("button",{onClick:e.closeConfirm,className:"close"},r.createElement(y.Icon,{isAriaHidden:!1,ariaLabel:"Stäng",iconType:"ic_close_white_24px"})),r.createElement("div",{className:"header"},r.createElement("h2",null,"Uppladdningen lyckades")),r.createElement("p",null,"Din komplettering är nu skickad."),r.createElement("div",{className:"footer"},r.createElement("input",{type:"submit",className:"button",onClick:e.reloadPage,value:"Stäng"})))},e.renderFailDialog=function(){return r.createElement(v.Dialog,{isOpen:e.state.showDialog,onRequestClose:e.closeConfirm},r.createElement("button",{onClick:e.closeConfirm,className:"close"},r.createElement(y.Icon,{isAriaHidden:!1,ariaLabel:"Stäng",iconType:"ic_close_white_24px"})),r.createElement("div",{className:"header"},r.createElement("h2",null,"Ett oväntat fel har inträffat")),r.createElement("p",null,"Försök skicka in kompletteringen igen om en stund."),r.createElement("div",{className:"error-code"},e.state.sendCompletionErrorMessage))},e.state={unlockSendButton:!1,fileUploadState:[],serverResponseObject:null,complementaryId:n.complementaryId?n.complementaryId:null,clientError:null,showDialog:!1,sendSuccess:null,sendCompletionErrorMessage:""},e.getCurrentAttachments(),e}ft(t,n);var i=et(t);return ut(t,[{key:"render",value:function(){var n=this.props,e=n.expandHeading,o=n.expandIcon,s=n.expandCssClass,h=n.fileHeading,t=n.innerHeading,i=n.innerParagraph,f=n.documentList;return r.createElement("div",null,r.createElement(k.Expander,{isExpanded:!1,heading:e,icon:o,cssClass:s},t&&r.createElement("h3",null,t),r.createElement("p",{dangerouslySetInnerHTML:{__html:i&&u.stringWithLineBreak(i)}}),f&&r.createElement("div",null,r.createElement("br",null),f.map(function(n){return r.createElement("div",{key:n.fileName,className:"filelist-item filelist-item--nodate"},r.createElement("div",{className:"filelist-item__name"},r.createElement("a",{className:"file-extension-icon ".concat(n.fileExtension),href:n.url},n.fileName)))})),r.createElement("br",null),r.createElement("br",null),r.createElement(d.Fileupload,{disabled:!1,max:25,heading:h,upload:"Ladda upp fil",value:this.state.fileUploadState,nofilesText:"Du har inte laddat upp någon fil ännu",mimetype:nt.OMBUD_COMPLETION_MIMETYPES,onAdd:this.onAddFile,onRemove:this.onDeleteFile,maxFileSize:26214400,clientError:this.state.clientError}),r.createElement("hr",{className:"expand-block__hr"}),r.createElement("div",{className:"centered-button"},r.createElement("button",{disabled:!this.state.unlockSendButton,onClick:this.onSendClick,className:"button"},"Skicka komplettering"))),!0===this.state.sendSuccess&&this.renderSuccessDialog(),!1===this.state.sendSuccess&&this.renderFailDialog())}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.OmbudCompletion=h;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;c&&c.register(h,"OmbudCompletion","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudCompletion\\OmbudCompletion.tsx");l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,i,u;Object.defineProperty(t,"__esModule",{value:!0});t.API_ENDPOINT_REQUIRED=t.API_ENDPOINT_FRIVILLIG=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.API_ENDPOINT_FRIVILLIG="/_api/ombudsansokan/frivillig";t.API_ENDPOINT_REQUIRED="/_api/ombudsansokan/required";(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register("/_api/ombudsansokan/frivillig","API_ENDPOINT_FRIVILLIG","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudCompletion\\OmbudCompletion.types.ts"),i.register("/_api/ombudsansokan/required","API_ENDPOINT_REQUIRED","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudCompletion\\OmbudCompletion.types.ts"));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function g(n){return n&&n.__esModule?n:{"default":n}}function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function nt(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function tt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function it(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function rt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ut(n){var t=ot();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ft(this,i)}}function ft(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?et(n):t}function et(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ot(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var st,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.OmbudAnsokan=void 0;var r=nt(i(1)),v=i(67),y=i(44),p=i(710),w=g(i(711)),b=i(724),k=i(45),d=i(725),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);st="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r,f;tt(this,t);var u=(r=i.call(this,n)).props,e=u.translations,o=u.basePath;return k.setFormConfig(new b.OmbudConfig(e,o,p.map)),f=d.getInitialState(r.props),r.store=y.createFormStore(f),r}rt(t,n);var i=ut(t);return it(t,[{key:"render",value:function(){return r.createElement(v.Provider,{store:this.store},r.createElement(w.default,null))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.OmbudAnsokan=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"OmbudAnsokan","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\Ombud.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t){"use strict";function r(n){if("object"==typeof n&&null!==n){var t=n.$$typeof;switch(t){case y:switch(n=n.type){case w:case h:case u:case e:case f:case l:return n;default:switch(n=n&&n.$$typeof){case s:case c:case o:return n;default:return t}}case v:case a:case p:return t}}}function b(n){return r(n)===h}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&Symbol.for,y=i?Symbol.for("react.element"):60103,p=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,f=i?Symbol.for("react.strict_mode"):60108,e=i?Symbol.for("react.profiler"):60114,o=i?Symbol.for("react.provider"):60109,s=i?Symbol.for("react.context"):60110,w=i?Symbol.for("react.async_mode"):60111,h=i?Symbol.for("react.concurrent_mode"):60111,c=i?Symbol.for("react.forward_ref"):60112,l=i?Symbol.for("react.suspense"):60113,k=i?Symbol.for("react.suspense_list"):60120,a=i?Symbol.for("react.memo"):60115,v=i?Symbol.for("react.lazy"):60116,d=i?Symbol.for("react.fundamental"):60117,g=i?Symbol.for("react.responder"):60118;t.typeOf=r;t.AsyncMode=w;t.ConcurrentMode=h;t.ContextConsumer=s;t.ContextProvider=o;t.Element=y;t.ForwardRef=c;t.Fragment=u;t.Lazy=v;t.Memo=a;t.Portal=p;t.Profiler=e;t.StrictMode=f;t.Suspense=l;t.isValidElementType=function(n){return"string"==typeof n||"function"==typeof n||n===u||n===h||n===e||n===f||n===l||n===k||"object"==typeof n&&null!==n&&(n.$$typeof===v||n.$$typeof===a||n.$$typeof===o||n.$$typeof===s||n.$$typeof===c||n.$$typeof===d||n.$$typeof===g)};t.isAsyncMode=function(n){return b(n)||r(n)===w};t.isConcurrentMode=b;t.isContextConsumer=function(n){return r(n)===s};t.isContextProvider=function(n){return r(n)===o};t.isElement=function(n){return"object"==typeof n&&null!==n&&n.$$typeof===y};t.isForwardRef=function(n){return r(n)===c};t.isFragment=function(n){return r(n)===u};t.isLazy=function(n){return r(n)===v};t.isMemo=function(n){return r(n)===a};t.isPortal=function(n){return r(n)===p};t.isProfiler=function(n){return r(n)===e};t.isStrictMode=function(n){return r(n)===f};t.isSuspense=function(n){return r(n)===l}},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.map=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i={0:{fieldNames:["AccepteratVillkor"],stepId:0},1:{fieldNames:["Person.Fornamn","Person.Efternamn","Befattning","Telefon","Epost","Organisation.Namn","Organisation.Organisationsnummer","Organisation.Epost","Organisation.Webbplats","bilagor","fullmakt"],stepId:1}};t.map=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"map","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\stepValidationMap.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function tt(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function rt(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function ut(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ft(n){var t=st();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),et(this,i)}}function et(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?ot(n):t}function ot(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function st(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;var r=tt(i(1)),k=i(67),d=i(712),g=i(398),nt=i(399),c=i(21),f=i(715),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);var ct="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},y=function(n){function t(){var n;return it(this,t),(n=i.apply(this,arguments)).onCloseMessageBar=function(){n.props.closeMessageBar()},n.handleStepChange=function(t){n.props.setCurrentStep(t)},n}ut(t,n);var i=ft(t);return rt(t,[{key:"render",value:function(){return r.createElement(r.Fragment,null,this.props.showSavedBanner&&r.createElement(nt.MessageBanner,{onClose:this.onCloseMessageBar}),r.createElement(g.FormWrapper,{heading:"Ombudsansökan"},r.createElement(d.StepWizardHost,{onStepChange:this.handleStepChange,stepValidationMap:this.props.stepValidationMap,nextLabel:"Nästa steg",previousLabel:"Föregående steg",classNamesForFocusInput:"step animated"},r.createElement(f.StepOne,null),r.createElement(f.StepTwo,null),r.createElement(f.StepThree,null))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component),p=function(n){return{stepValidationMap:n.validationState.stepValidationMap,showSavedBanner:n.globals.showSavedBanner}},w={closeMessageBar:c.closeMessageBar,setCurrentStep:c.setCurrentStep},b=k.connect(p,w)(y),ht=b,u,h;t.default=ht;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(y,"OmbudOrderForm","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\OmbudForm.tsx"),u.register(p,"mapState2Props","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\OmbudForm.tsx"),u.register(w,"mapDispatch2Props","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\OmbudForm.tsx"),u.register(b,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\OmbudForm.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";var r,u;Object.defineProperty(t,"__esModule",{value:!0});r=i(713);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(387);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(){"use strict";"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function g(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function nt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function tt(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function it(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function rt(n){var t=et();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ut(this,i)}}function ut(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?ft(n):t}function ft(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function et(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ot,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.FormDialogueError=void 0;var r=g(i(1)),v=i(44),y=i(27),p=i(31),w=i(3),b=i(45),k=i(46),d=i(46),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ot="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return nt(this,t),(u=i.call(this,n)).onStoreUpdate=function(){var n=u._store.getState().errors.dialogueErrorBodies;n&&n.length>u.state.errorIndex&&u.setState(function(t){return{errorIndex:t.errorIndex+1,isModalOpen:!0,dialogueErrorBody:n[n.length-1]}})},u.closeConfirm=function(){var t=u.state.dialogueErrorBody,n;t.type===b.TIMEOUT_TYPE&&(n=t.buttons.find(function(n){return""!=n.redirectUrl}),void 0!==n&&(window.location.href=n.redirectUrl));u.setState({isModalOpen:!1})},u.doAction=function(n,t){u.closeConfirm();n&&(window.location.href=n);t===k.ESERVICE_MENU_SAVE_CLOSE&&u._saveAndClose()},u.mapButtons=function(n){return r.createElement("button",{key:n.text+Date.now().toString(),onClick:function(){return u.doAction(n.redirectUrl,n.action)},className:n.cssClassNames},n.text)},u.state={errorIndex:0,isModalOpen:!1,dialogueErrorBody:null},u}it(t,n);var i=rt(t);return tt(t,[{key:"componentDidMount",value:function(){var n=this;v.getStore(function(t){n._store=t;n._saveAndClose=y.bindActionCreators(d.saveCloseAction,t.dispatch);n._store.subscribe(n.onStoreUpdate);n.onStoreUpdate()})}},{key:"render",value:function(){var t=this.state,i=t.isModalOpen,n=t.dialogueErrorBody;return r.createElement(p.Dialog,{isOpen:i,onRequestClose:this.closeConfirm},r.createElement("button",{onClick:this.closeConfirm,className:"close"},r.createElement(w.Icon,{isAriaHidden:!1,ariaLabel:"Stäng",iconType:"ic_close_white_24px"})),n&&r.createElement(r.Fragment,null,n.body,r.createElement("div",{className:"footer"},n.buttons.map(this.mapButtons))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.FormDialogueError=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"FormDialogueError","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormDialogueError\\FormDialogueError.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";var r,u,f;Object.defineProperty(t,"__esModule",{value:!0});r=i(716);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(717);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(719);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function a(n){return n&&n.__esModule?n:{"default":n}}function v(n){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function rt(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function ut(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ft(n){var t=st();return function(){var i,r=c(n),u;return t?(u=c(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),et(this,i)}}function et(n,t){return!t||"object"!==v(t)&&"function"!=typeof t?ot(n):t}function ot(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function st(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function c(n){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.StepOne=void 0;var g=a(i(82)),r=a(i(1)),nt=i(67),o=i(27),tt=i(6),e=i(21),u=i(4),s=i(97),h;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;h&&h(n);var ht="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},w=function(n){function t(n){var r;return it(this,t),(r=i.call(this,n)).getTitle=function(){return"Villkor"},r.addFiles=function(n){r.props.clearError(n);r.props.postFile(n)},r.removeFile=function(n,t,i){r.props.clearError(i);r.props.deleteFile(n,t)},r.onChangeField=function(n){r.props.setFormValue(n)},r.state={},r}ut(t,n);var i=ft(t);return rt(t,[{key:"componentDidMount",value:function(){this.props.reportToWizard({stepLabel:this.getTitle()})}},{key:"render",value:function(){var t=this.props,i=t.Translate,f=t.formModel,e=(t.files,t.orderId,t.firstName,t.lastName,t.validationResults),n=t.stepOneEditableTexts;return r.default.createElement("div",{id:"step1",tabIndex:-1},r.default.createElement("div",{className:"form-group"}),r.default.createElement("div",{dangerouslySetInnerHTML:u.setInnerHtml(n.VillkorText)}),r.default.createElement("hr",{className:"formdivider"}),r.default.createElement("div",{dangerouslySetInnerHTML:u.setInnerHtml(n.AnsvarText)}),n.ExpandBoxOneHeading&&r.default.createElement(s.Expander,{heading:n.ExpandBoxOneHeading,isExpanded:!1},r.default.createElement("div",{dangerouslySetInnerHTML:u.setInnerHtml(n.ExpandBoxOneText)})),n.ExpandBoxTwoHeading&&r.default.createElement(s.Expander,{heading:n.ExpandBoxTwoHeading,isExpanded:!1},r.default.createElement("div",{dangerouslySetInnerHTML:u.setInnerHtml(n.ExpandBoxTwoText)})),n.ExpandBoxThreeHeading&&r.default.createElement(s.Expander,{heading:n.ExpandBoxThreeHeading,isExpanded:!1},r.default.createElement("div",{dangerouslySetInnerHTML:u.setInnerHtml(n.ExpandBoxThreeText)})),r.default.createElement("hr",{className:"formdivider"}),r.default.createElement("label",{htmlFor:"AccepteratVillkorCheckbox"},i("/OmbudsansokanForm/intygan")," *"),r.default.createElement(tt.CheckBox,{id:"AccepteratVillkorCheckbox",fieldName:"AccepteratVillkor",label:i("/global/yes"),onChange:this.onChangeField,errorMessage:u.getErrorMessageByFieldName(e,"AccepteratVillkor"),value:g.default(f,"AccepteratVillkor")}),r.default.createElement("hr",{className:"formdivider"}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component),b=function(n){var r=n.errors,f=n.files,e=n.formModel,t=n.globals,i=n.validationState,o=t.orderId,s=t.firstName,h=t.lastName,c=t.translations,l=t.stepOneEditableTexts;return{errors:r,files:f,formModel:e,orderId:o,firstName:s,lastName:h,stepValidationMap:i.stepValidationMap,Translate:u.makeTranslator(c),validationResults:i.validationResults,stepOneEditableTexts:l}},k=function(n){return{clearError:e.clearErrorDispatcher(n),deleteFile:o.bindActionCreators(e.removeFilesAction,n),postFile:o.bindActionCreators(e.addFilesAction,n),setFormValue:o.bindActionCreators(e.setFormValue,n)}},d=nt.connect(b,k)(w),f,l;t.StepOne=d;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;f&&(f.register(w,"Step1","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepOne.tsx"),f.register(b,"mapState2Props","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepOne.tsx"),f.register(k,"mapDispatch2Props","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepOne.tsx"),f.register(d,"StepOne","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepOne.tsx"));l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function v(n){return n&&n.__esModule?n:{"default":n}}function y(n){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function rt(n,t,i){return t&&p(n.prototype,t),i&&p(n,i),n}function ut(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&w(n,t)}function w(n,t){return(w=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ft(n){var t=st();return function(){var i,r=l(n),u;return t?(u=l(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),et(this,i)}}function et(n,t){return!t||"object"!==y(t)&&"function"!=typeof t?ot(n):t}function ot(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function st(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function l(n){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.StepTwo=void 0;var e=v(i(82)),r=v(i(1)),nt=i(67),h=i(27),u=i(6),s=i(21),f=i(4),tt=i(718),c;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;c&&c(n);var ht="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},b=function(n){function t(n){var r;return it(this,t),(r=i.call(this,n)).getTitle=function(){return"Ombud"},r.removeFile=function(n,t,i){r.props.clearError(i);r.props.deleteFile(n,t)},r.onChangeField=function(n){r.props.setFormValue(n)},r.state={},r}ut(t,n);var i=ft(t);return rt(t,[{key:"componentDidMount",value:function(){this.props.reportToWizard({stepLabel:this.getTitle()})}},{key:"render",value:function(){var t=this.props,n=t.Translate,o=t.formModel,h=t.files,i=(t.orderId,t.firstName,t.lastName,t.validationResults),c=t.powerOfAttorneyLink,s=t.readMoreAboutAttachmentsLink,l=t.errors;return r.default.createElement("div",{id:"step2",tabIndex:-1},r.default.createElement("div",{className:"form-group"},r.default.createElement("h2",{className:"inlineblock"},n("/OmbudsansokanForm/tasknDelegete")),r.default.createElement("div",{className:"inlineblock"},r.default.createElement(u.Tooltip,{text:n("/OmbudsansokanFormInfoBubbles/ombud")})),r.default.createElement("div",{className:"form-group-small"},r.default.createElement(u.TextInput,{disabled:!0,placeholder:"Förnamn",value:e.default(o,"Person.Fornamn"),errorMessage:f.getErrorMessageByFieldName(i,"Person.Fornamn"),fieldName:"Person.Fornamn",onChange:this.onChangeField,label:n("/OmbudsansokanForm/firstname")+" *"})),r.default.createElement("div",{className:"form-group-small"},r.default.createElement(u.TextInput,{disabled:!0,placeholder:"Efternamn",value:e.default(o,"Person.Efternamn"),errorMessage:f.getErrorMessageByFieldName(i,"Person.Efternamn"),fieldName:"Person.Efternamn",onChange:this.onChangeField,label:n("/OmbudsansokanForm/lastname")+" *"})),r.default.createElement("div",{className:"form-group-small"},r.default.createElement(u.TextInput,{placeholder:"Tjänstetitel",value:e.default(o,"Befattning"),errorMessage:f.getErrorMessageByFieldName(i,"Befattning"),fieldName:"Befattning",onChange:this.onChangeField,label:n("/OmbudsansokanForm/appointment")+" *",maxLength:160})),r.default.createElement("div",{className:"form-group-small"},r.default.createElement(u.TextInput,{placeholder:"08-987 65 43",value:e.default(o,"Telefon"),errorMessage:f.getErrorMessageByFieldName(i,"Telefon"),fieldName:"Telefon",onChange:this.onChangeField,label:n("/OmbudsansokanForm/telNr")+" *",maxLength:160})),r.default.createElement("div",{className:"form-group-small"},r.default.createElement(u.TextInput,{placeholder:"Epost",value:e.default(o,"Epost"),errorMessage:f.getErrorMessageByFieldName(i,"Epost"),fieldName:"Epost",onChange:this.onChangeField,label:n("/OmbudsansokanForm/epost")+" *",maxLength:160}))),r.default.createElement("hr",{className:"formdivider"}),r.default.createElement("div",{className:"form-group"},r.default.createElement("h2",{className:"inlineblock"},n("/OmbudsansokanForm/orgtask")),r.default.createElement("div",{className:"inlineblock"},r.default.createElement(u.Tooltip,{text:n("/OmbudsansokanFormInfoBubbles/org")})),r.default.createElement("div",{className:"form-group-small"},r.default.createElement(u.TextInput,{placeholder:n("/OmbudsansokanForm/organizationName"),value:e.default(o,"Organisation.Namn"),errorMessage:f.getErrorMessageByFieldName(i,"Organisation.Namn"),fieldName:"Organisation.Namn",onChange:this.onChangeField,label:n("/OmbudsansokanForm/orgName"),maxLength:160})),r.default.createElement("div",{className:"form-group-small"},r.default.createElement(u.TextInput,{placeholder:"123456-1234",value:e.default(o,"Organisation.Organisationsnummer"),errorMessage:f.getErrorMessageByFieldName(i,"Organisation.Organisationsnummer"),fieldName:"Organisation.Organisationsnummer",onChange:this.onChangeField,label:n("/OmbudsansokanForm/orgNr")+" *",maxLength:160})),r.default.createElement("div",{className:"form-group-small"},r.default.createElement(u.TextInput,{placeholder:"abc@mail.com",value:e.default(o,"Organisation.Epost"),errorMessage:f.getErrorMessageByFieldName(i,"Organisation.Epost"),fieldName:"Organisation.Epost",onChange:this.onChangeField,label:n("/OmbudsansokanForm/orgEpost")+" *",maxLength:160})),r.default.createElement("div",{className:"form-group-small"},r.default.createElement(u.TextInput,{placeholder:"organisation.se",value:e.default(o,"Organisation.Webbplats"),errorMessage:f.getErrorMessageByFieldName(i,"Organisation.Webbplats"),fieldName:"Organisation.Webbplats",onChange:this.onChangeField,label:n("/OmbudsansokanForm/orgWebb"),maxLength:255}))),r.default.createElement("hr",{className:"formdivider"}),r.default.createElement("div",{className:"form-group"},r.default.createElement("h2",{className:"inlineblock"},n("/OmbudsansokanForm/attachInsert")),r.default.createElement("div",{className:"inlineblock"},r.default.createElement(u.Tooltip,{text:n("/OmbudsansokanFormInfoBubbles/bilagor")})),r.default.createElement("p",null,n("/OmbudsansokanForm/bilagorInfo/intro")," ",r.default.createElement("a",{className:"external-link",href:c,target:"_blank"},n("/OmbudsansokanForm/bilagorInfo/powerofattorneylinktext"))),r.default.createElement("h3",null,n("/OmbudsansokanForm/bilagorInfo/heading1")),r.default.createElement("ul",null,r.default.createElement("li",null,n("/OmbudsansokanForm/bilagorInfo/bullet1")),r.default.createElement("li",null,n("/OmbudsansokanForm/bilagorInfo/bullet2")),r.default.createElement("li",null,n("/OmbudsansokanForm/bilagorInfo/bullet3")),r.default.createElement("li",null,n("/OmbudsansokanForm/bilagorInfo/bullet4"))),r.default.createElement("h3",null,n("/OmbudsansokanForm/bilagorInfo/heading2")),r.default.createElement("ul",null,r.default.createElement("li",null,n("/OmbudsansokanForm/bilagorInfo/bullet5")),r.default.createElement("li",null,n("/OmbudsansokanForm/bilagorInfo/bullet6")),r.default.createElement("li",null,n("/OmbudsansokanForm/bilagorInfo/bullet7"))),r.default.createElement("h3",null,n("/OmbudsansokanForm/bilagorInfo/heading3")),r.default.createElement("ul",null,r.default.createElement("li",null,n("/OmbudsansokanForm/bilagorInfo/bullet8")),r.default.createElement("li",null,n("/OmbudsansokanForm/bilagorInfo/bullet9"))),s&&r.default.createElement("p",null,"Läs mer om bilagor"," ",r.default.createElement("a",{className:"external-link",href:s,target:"_blank"},"här"),".")),r.default.createElement(tt.OmbudFormFiles,{Translate:n,errors:l,clearError:this.props.clearError,postFile:this.props.postFile,files:h,deleteFile:this.props.deleteFile,validationResults:i}),r.default.createElement("hr",{className:"formdivider"}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component),k=function(n){var r=n.errors,u=n.files,e=n.formModel,t=n.globals,i=n.validationState,o=t.orderId,s=t.firstName,h=t.lastName,c=t.translations,l=t.powerOfAttorneyLink,a=t.readMoreAboutAttachmentsLink;return{errors:r,files:u,formModel:e,orderId:o,firstName:s,lastName:h,stepValidationMap:i.stepValidationMap,Translate:f.makeTranslator(c),validationResults:i.validationResults,powerOfAttorneyLink:l,readMoreAboutAttachmentsLink:a}},d=function(n){return{clearError:s.clearErrorDispatcher(n),deleteFile:h.bindActionCreators(s.removeFilesAction,n),postFile:h.bindActionCreators(s.addFilesAction,n),setFormValue:h.bindActionCreators(s.setFormValue,n)}},g=nt.connect(k,d)(b),o,a;t.StepTwo=g;o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;o&&(o.register(b,"Step2","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepTwo.tsx"),o.register(k,"mapState2Props","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepTwo.tsx"),o.register(d,"mapDispatch2Props","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepTwo.tsx"),o.register(g,"StepTwo","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepTwo.tsx"));a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;a&&a(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function w(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var rt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.OmbudFormFiles=void 0;var r=w(i(1)),c=i(378),l=i(395),a=i(8),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return b(this,t),(r=i.call(this,n)).addFiles=function(n){r.props.clearError(n);r.props.postFile(n)},r.removeFile=function(n,t,i){r.props.clearError(i);r.props.deleteFile(n,t)},r.state={},r}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){var t=this.props,n=t.Translate,i=t.files,u=t.validationResults,f=t.errors;return r.createElement("div",null,r.createElement(c.Fileupload,{disabled:!1,heading:n("/OmbudsansokanForm/attachFile"),upload:n("/OmbudsansokanForm/uploadFile"),nofilesText:n("/OmbudsansokanForm/noFilesUploaded"),fieldName:"bilagor",value:i.bilagor,onAdd:this.addFiles,onRemove:this.removeFile,max:25,mimetype:l.OMBUD_COMPLETION_MIMETYPES,errorMessage:a.getErrorMessageByFieldName(u,"bilagor"),mandatory:!0,clientError:f.bilagor,maxFileSize:26214400}),r.createElement(c.Fileupload,{disabled:!1,heading:n("/OmbudsansokanForm/warrant"),upload:n("/OmbudsansokanForm/uploadFile"),nofilesText:n("/OmbudsansokanForm/noFilesUploaded"),fieldName:"fullmakt",value:i.fullmakt,onAdd:this.addFiles,onRemove:this.removeFile,mimetype:l.OMBUD_COMPLETION_MIMETYPES,max:1,errorMessage:a.getErrorMessageByFieldName(u,"fullmakt"),mandatory:!1,clientError:f.fullmakt,maxFileSize:26214400}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.OmbudFormFiles=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"OmbudFormFiles","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\components\\OmbudFormFiles.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function o(n){return n&&n.__esModule?n:{"default":n}}function b(n){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function k(n){return ht(n)||st(n)||ot(n)||et()}function et(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function ot(n,t){if(n){if("string"==typeof n)return l(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(n,t):void 0}}function st(n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}function ht(n){if(Array.isArray(n))return l(n)}function l(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function ct(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function d(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function lt(n,t,i){return t&&d(n.prototype,t),i&&d(n,i),n}function at(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&g(n,t)}function g(n,t){return(g=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function vt(n){var t=wt();return function(){var i,r=a(n),u;return t?(u=a(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),yt(this,i)}}function yt(n,t){return!t||"object"!==b(t)&&"function"!=typeof t?pt(n):t}function pt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function wt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function a(n){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.StepThree=void 0;var h=o(i(82)),r=o(i(1)),ut=i(67),s=i(27),y=i(6),f=i(21),p=i(4),w=o(i(720)),e=o(i(721)),ft=o(i(722)),c;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;c&&c(n);var bt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},nt=function(n){function t(n){var r;return ct(this,t),(r=i.call(this,n)).getTitle=function(){return"Granska och skicka in"},r.addFiles=function(n){r.props.clearError(n);r.props.postFile(n)},r.removeFile=function(n,t,i){r.props.clearError(i);r.props.deleteFile(n,t)},r.onChangeField=function(n){r.props.setFormValue(n)},r.onClickSave=function(n){n.preventDefault();r.props.saveFormOrder()},r.validateFields=function(){for(var u=r.props.validationResults,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return p.areAllFieldsErrorFree.apply(void 0,[u].concat(i))},r.getFormValue=function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=h.default(r.props.formModel,n);return null!=t&&""!==t||(t=r.props.Translate("/OmbudsansokanForm/missingtask"),null!==i&&(t=i+" saknas")),String(t)},r.setUserHasCertified=function(n){var t=n.value;r.setState({userHasCertifiedData:t})},r.state={userHasCertifiedData:!1},r}at(t,n);var i=vt(t);return lt(t,[{key:"getPersonFields",value:function(){return["Person.Fornamn","Person.Efternamn","Befattning","Telefon","Epost"]}},{key:"getOrganizationFields",value:function(){return["Organisation.Namn","Organisation.Organisationsnummer","Organisation.Epost"]}},{key:"componentDidMount",value:function(){this.props.reportToWizard({stepLabel:this.getTitle()})}},{key:"render",value:function(){var t=this.props,n=t.Translate,i=(t.formModel,t.files),u=(t.orderId,t.firstName,t.lastName,t.validationResults),f=t.numberOfSentForToday,o=this.state.userHasCertifiedData&&u&&0===u.length;return r.default.createElement("div",{id:"step3",tabIndex:-1},r.default.createElement("h2",null,n("/OmbudsansokanForm/summering")),r.default.createElement(y.PrintButton,null),r.default.createElement("div",{className:"form-summary"},r.default.createElement(w.default,{stepId:0,goToStep:this.props.navProps.goToStep,isDone:h.default(this.props.stepValidationMap,"[0].isValid",!1),headerTitle:n("/OmbudsansokanForm/Oneterm"),headerBackString:n("/OmbudsansokanForm/gotoSteg1")},r.default.createElement(e.default,{isValid:this.validateFields("AccepteratVillkor")},r.default.createElement("div",null,r.default.createElement("strong",null,n("/OmbudsansokanForm/usercondition")),r.default.createElement("br",null),this.validateFields("AccepteratVillkor")&&r.default.createElement("span",null,n("/OmbudsansokanForm/userconditionAccept")),!this.validateFields("AccepteratVillkor")&&r.default.createElement("span",null,n("/OmbudsansokanForm/userconditionDecline"))))),r.default.createElement(w.default,{stepId:1,goToStep:this.props.navProps.goToStep,isDone:h.default(this.props.stepValidationMap,"[1].isValid",!1),headerTitle:n("/OmbudsansokanForm/Twodelegete"),headerBackString:n("/OmbudsansokanForm/gotosteg2")},r.default.createElement(e.default,{isValid:this.validateFields.apply(this,k(this.getPersonFields()))},r.default.createElement("div",null,r.default.createElement("strong",null,n("/OmbudsansokanForm/Twodelegete"),":"),r.default.createElement("br",null),this.getFormValue("Person.Fornamn"),r.default.createElement("br",null),this.getFormValue("Person.Efternamn"),r.default.createElement("br",null),this.getFormValue("Befattning",n("/OmbudsansokanForm/appointment")),r.default.createElement("br",null),this.getFormValue("Telefon",n("/OmbudsansokanForm/telNr2")),r.default.createElement("br",null),this.getFormValue("Epost",n("/OmbudsansokanForm/epost")))),r.default.createElement(e.default,{isValid:this.validateFields.apply(this,k(this.getOrganizationFields()))},r.default.createElement("div",null,r.default.createElement("strong",null,n("/OmbudsansokanForm/org2")),r.default.createElement("br",null),this.getFormValue("Organisation.Namn",n("/OmbudsansokanForm/organizationName")),r.default.createElement("br",null),this.getFormValue("Organisation.Organisationsnummer",n("/OmbudsansokanForm/orgNr")),r.default.createElement("br",null),this.getFormValue("Organisation.Epost",n("/OmbudsansokanForm/orgEpost")),r.default.createElement("br",null),this.getFormValue("Organisation.Webbplats",n("/OmbudsansokanForm/orgWebb")+" (".concat(n("/OmbudsansokanForm/mandatory2"),")")))),r.default.createElement(e.default,{isValid:this.validateFields("bilagor")},r.default.createElement("div",null,r.default.createElement("strong",null,n("/OmbudsansokanForm/attachfileSpec")),r.default.createElement("br",null),0===i.bilagor.length&&n("/OmbudsansokanForm/missingtask"),i.bilagor.map(function(n){return r.default.createElement("div",{className:"file-extension-icon form-summary__extension-icon",key:"step2filenames_".concat(n.FileId)},n.OriginalFilename)}))),r.default.createElement(e.default,{isValid:this.validateFields("fullmakt"),showNotObligatoryIcon:0===i.fullmakt.length},r.default.createElement("div",null,r.default.createElement("strong",null,n("/OmbudsansokanForm/warrantX")),r.default.createElement("br",null),0===i.fullmakt.length&&r.default.createElement("span",null,n("/OmbudsansokanForm/missingtask")+" (".concat(n("/OmbudsansokanForm/mandatory2"),")")),i.fullmakt.map(function(n){return r.default.createElement("div",{className:"file-extension-icon form-summary__extension-icon",key:"step2filenames_".concat(n.FileId)},n.OriginalFilename)}))))),r.default.createElement("hr",{className:"formdivider"}),r.default.createElement(y.CheckBox,{fieldName:"CheckboxIntygan",label:n("/OmbudsansokanForm/certification"),onChange:this.setUserHasCertified,value:!1}),r.default.createElement("hr",{className:"formdivider"}),f>=5&&r.default.createElement("div",{className:"form-group-xs-small"},r.default.createElement("label",null,"Du har uppnått max antal ansökningar man får göra per dygn."),r.default.createElement("hr",{className:"formdivider"})),r.default.createElement("div",{className:"form-submit"},r.default.createElement(ft.default,{onClickSave:this.onClickSave,isSending:this.props.isSending,sendDisabled:!o||f>=5})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component),tt=function(n){var r=n.errors,u=n.files,f=n.formModel,t=n.globals,i=n.validationState,e=t.orderId,o=t.firstName,s=t.lastName,h=t.translations,c=t.numberOfSentForToday;return{errors:r,files:u,formModel:f,orderId:e,firstName:o,lastName:s,stepValidationMap:i.stepValidationMap,Translate:p.makeTranslator(h),validationResults:i.validationResults,numberOfSentForToday:c,isSending:t.isSending}},it=function(n){return{clearError:f.clearErrorDispatcher(n),deleteFile:s.bindActionCreators(f.removeFilesAction,n),postFile:s.bindActionCreators(f.addFilesAction,n),setFormValue:s.bindActionCreators(f.setFormValue,n),saveFormOrder:s.bindActionCreators(f.saveFormOrder,n)}},rt=ut.connect(tt,it)(nt),u,v;t.StepThree=rt;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(nt,"Step3","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepThree.tsx"),u.register(tt,"mapState2Props","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepThree.tsx"),u.register(it,"mapDispatch2Props","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepThree.tsx"),u.register(rt,"StepThree","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\steps\\StepThree.tsx"));v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;v&&v(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r=y(i(1));c=i(6);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n)).changeStep=function(){r.props.goToStep(r.props.stepId)},r}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var n=this.props,t=n.headerTitle,i=n.headerBackString,u=n.isDone?"form-summary__header":"form-summary__header form-summary__header--incomplete";return r.createElement("div",null,r.createElement("div",{className:u},r.createElement("h3",null,t),r.createElement("a",{href:"#",onClick:this.changeStep,className:"form-summary__link-back"},r.createElement(c.Icon,{iconType:"baseline-arrow_back-24px"}),i)),r.createElement("ol",{className:"form-summary__list"},this.props.children))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.default=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SummaryStep","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\SummaryStep\\SummaryStep.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var o,r,u;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));u=i(6);(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var f,s,h=function(n){var t=r.createElement(u.Icon,{iconType:"Summering_OK25px25px"}),i;return n.showNotObligatoryIcon&&(t=r.createElement(u.Icon,{iconType:"Summering_ej_obligatorisk25px25px"})),i=n.isValid?t:r.createElement(u.Icon,{iconType:"Summering_inte_OK25px25px",className:"form-summary__not-valid"}),r.createElement("li",{className:"form-summary__list-item"},i,n.children)},c=h,l=c;t.default=l;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(h,"SummaryStepFragment","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\SummaryStep\\SummaryStepFragment.tsx"),f.register(c,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\SummaryStep\\SummaryStepFragment.tsx"));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r=y(i(1));c=i(400);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(){return p(this,t),i.apply(this,arguments)}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var n=this.props,i=n.onClickSave,t=n.isSending,u=n.sendDisabled;return r.createElement("button",{className:"button",disabled:u||t,onClick:i},t&&r.createElement("div",{className:"flex-center"},r.createElement(c.Spinner,null),r.createElement("span",null,"Skickar")),!t&&r.createElement("span",null,"Skicka in"))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.PureComponent);t.default=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SendButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FormControls\\SendButton.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function h(n){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function v(n,t,i){return t&&c(n.prototype,t),i&&c(n,i),n}function y(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&l(n,t)}function l(n,t){return(l=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function p(n){var t=k();return function(){var i,r=u(n),f;return t?(f=u(this).constructor,i=Reflect.construct(r,arguments,f)):i=r.apply(this,arguments),w(this,i)}}function w(n,t){return!t||"object"!==h(t)&&"function"!=typeof t?b(n):t}function b(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function k(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function u(n){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var s,r,d,f,e,o;Object.defineProperty(t,"__esModule",{value:!0});t.OmbudConfig=void 0;s=i(45);r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;r&&r(n);d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};f=function(n){function t(n,r,u){var f;return a(this,t),(f=i.call(this,n,r,u)).basePath=r,f.stepFieldsMap=u,f}y(t,n);var i=p(t);return v(t,[{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(s.DefaultFormConfig);t.OmbudConfig=f;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;e&&e.register(f,"OmbudConfig","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\ombudConfig.ts");o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;o&&o(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n){var r=n.model,t=n.orderId,u=n.translations,f=n.files,i=n.validationResults,e=n.homePageUrl,s={stepValidationMap:{0:{isValid:!1,stepId:0},1:{isValid:!1,stepId:1}},validationResults:i,fullValidationResults:i,touchedFields:[]};return{files:f,formModel:r,globals:{currentStep:1,hasHitSummary:!1,firstName:n.firstName,lastName:n.lastName,orderId:t,shouldShowDelete:!!t,thankYouPageUrl:n.thankYouPageUrl,translations:u,stepOneEditableTexts:n.stepOneEditableTexts,homePageUrl:e,powerOfAttorneyLink:n.powerOfAttorneyLink,numberOfSentForToday:n.numberOfSentForToday,isSending:!1,readMoreAboutAttachmentsLink:n.readMoreAboutAttachmentsLink},registers:{},validationState:o.validateStepsByValidationResults(s)}}Object.defineProperty(t,"__esModule",{value:!0});t.getInitialState=e;var r,u,f,o=i(393);(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(e,"getInitialState","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\OmbudComponents\\OmbudForm\\init.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.PrintButton=void 0;r=y(i(1));i(727);c=i(3);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(){var n;return p(this,t),(n=i.apply(this,arguments)).print=function(n){n.preventDefault();window&&window.print()},n}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return r.createElement("button",{onClick:this.print,className:"print-button"},r.createElement(c.Icon,{iconType:"Print"})," ",this.props.buttonText)}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={buttonText:"Skriv ut"},n}();t.PrintButton=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"PrintButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\PrintButton\\PrintButton.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(){return(a=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var rt,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.MainMenu=void 0;var r=w(i(1)),p=i(729),u=i(25),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var f,e;return b(this,t),(f=i.call(this,n)).componentDidMount=function(){f._navElement.current.addEventListener("keydown",function(n){switch(n.key){case u.KeyboardEventKeys.arrowDown:f.arrowDownPressed(n);break;case u.KeyboardEventKeys.arrowLeft:f.arrowLeftOrRightPressed(f.state.focusedIndex-1);break;case u.KeyboardEventKeys.arrowRight:f.arrowLeftOrRightPressed(f.state.focusedIndex+1);break;case u.KeyboardEventKeys.esc||u.KeyboardEventKeys.tab:f.setState({menuHasExpandedDropMenu:!1})}});f._navElement.current.addEventListener("focusout",function(n){f._navElement.current.contains(n.relatedTarget)||f.setState({focusedIndex:-1})})},f.arrowLeftOrRightPressed=function(n){var t=f.state.levelOneMenuItems;n<0||n>=t.length||f.setState({focusedIndex:n,menuHasExpandedDropMenu:!1})},f.arrowDownPressed=function(n){var i=f.state,t=i.focusedIndex,r=i.levelOneMenuItems;t>-1&&(n.preventDefault(),f.setState({focusedIndex:t,menuHasExpandedDropMenu:r[t].item.HasChildren}))},f.itemRecievedFocus=function(n){f.setState({focusedIndex:n})},f._navElement=r.createRef(),e=[],n.startpage.Children.forEach(function(n,t){e.push({item:n,index:t,focusCb:f.itemRecievedFocus,key:n.Url})}),f.state={levelOneMenuItems:e,focusedIndex:-1,menuHasExpandedDropMenu:!1},f}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){var n=this.state,t=n.focusedIndex,i=n.menuHasExpandedDropMenu;return r.createElement("nav",{ref:this._navElement,className:"main-navigation",id:"main-nav","aria-label":"huvudmeny"},r.createElement("ul",{className:"main-navigation__topnav"},this.props.isCampaignPage&&r.createElement("li",null," ",r.createElement("a",{href:this.props.node.Url,className:"main-navigation__link main-navigation__toplink"},this.props.node.Name)),this.state.levelOneMenuItems.map(function(n){return r.createElement(p.MenuItem,a({focusedIndex:t,menuHasExpandedDropMenu:i},n))})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.MainMenu=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"MainMenu","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MainMenu\\MainMenu.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function w(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(){return(a=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var rt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.MenuItem=void 0;var r=w(i(1)),p=i(730),c=i(43),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return b(this,t),(u=i.call(this,n)).componentDidMount=function(){u.props.item.Url===window.location.pathname&&u._linkRef.setAttribute("aria-current","page")},u.componentDidUpdate=function(n){n.focusedIndex!=u.props.focusedIndex&&u.props.focusedIndex===u.props.index&&u._linkRef.focus()},u.isExpanded=function(){var n=u.props,t=n.index,i=n.focusedIndex;return n.menuHasExpandedDropMenu&&t===i},u.renderLink=function(n,t){var f=u.props,o=f.focusCb,s=f.index,h=+n.Selected||n.PathSelected?" main-navigation__active":"",e="main-navigation__link main-navigation__toplink ".concat(h),i;return u.isExpanded()&&(e+=" open"),i={href:n.Url,className:e},t&&(i.id=u._linkId,i["aria-controls"]=u._groupId,i["aria-expanded"]=u.isExpanded()),r.createElement("a",a({},i,{ref:function(n){return u._linkRef=n},onFocus:function(){return o(s)}}),n.Name)},u._groupId=c.getIdFriendlyName(n.item.Name,"group"),u._linkId=c.getIdFriendlyName(n.item.Name,"link"),u}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){var n=this.props,t=n.item,u=n.index,f=n.focusCb,i=t.HasChildren,e={id:this._groupId,labelledBy:this._linkId,expanded:this.isExpanded(),items:t.Children,index:u,focusCb:f};return r.createElement("li",null,this.renderLink(t,i),i&&r.createElement(p.DropMenu,e))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.MenuItem=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"MenuItem","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MainMenu\\MenuItem.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(){return(a=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,f,it,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.DropMenu=void 0;r=p(i(1));u=i(25);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var f;return w(this,t),(f=i.call(this,n))._itemList=[],f.componentDidMount=function(){var n=f.props.items;f._itemList.forEach(function(t,i){n[i].Url===window.location.pathname&&t.setAttribute("aria-current","page")});f._groupRef.addEventListener("keydown",function(n){switch(n.key){case u.KeyboardEventKeys.arrowDown:f.setNextFocus();break;case u.KeyboardEventKeys.arrowUp:f.setPreviousFocus()}})},f.componentDidUpdate=function(n){n.expanded!==f.props.expanded&&f.props.expanded&&f.setState({focusedItemIndex:0},function(){f._itemList[0].focus()})},f.setNextFocus=function(){var t=f.state.focusedItemIndex,i=f._itemList.length,n=t+1;n>=i&&(n=0);f.setState({focusedItemIndex:n},function(){f._itemList[n].focus()})},f.setPreviousFocus=function(){var t=f.state.focusedItemIndex,i=f._itemList.length,n=t-1;n<0&&(n=i-1);f.setState({focusedItemIndex:n},function(){f._itemList[n].focus()})},f.renderItem=function(n,t){var i=f.props,u=i.index,e=i.focusCb,o=+n.Selected||n.PathSelected?" main-navigation__link--active":"",s={href:n.Url,className:"main-navigation__link ".concat(o),tabIndex:-1};return r.createElement("li",{key:n.Url},r.createElement("a",a({ref:function(n){return f._itemList[t]=n},onFocus:function(){return e(u)}},s),n.Name))},f.state={focusedItemIndex:-1},f}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var t=this,n=this.props,i=n.id,u=n.items,f=n.labelledBy;return r.createElement("ul",{ref:function(n){return t._groupRef=n},id:i,"aria-labelledby":f,className:"main-navigation__subnav drop-shadow-high-elevation"},u.map(this.renderItem))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.DropMenu=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"DropMenu","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\MainMenu\\DropMenu.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.NotificationFullWidth=void 0;r=y(i(1));c=i(135);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n)).close=function(){r.setState({show:!1},function(){return r.props.onCloseCallback()})},r.state={show:!0},r}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return this.state.show&&r.createElement("div",{className:"notification--".concat(this.props.notificationType)},r.createElement("div",{className:"container"},r.createElement("div",{className:"col"},r.createElement(c.Notification,{notificationText:this.props.notificationText,notificationType:this.props.notificationType,onCloseCallback:this.close}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={onCloseCallback:function(){}},n}();t.NotificationFullWidth=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"NotificationFullWidth","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\NotificationFullWidth\\NotificationFullWidth.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function w(n){return n&&n.__esModule?n:{"default":n}}function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function b(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function nt(n){var t=rt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),tt(this,i)}}function tt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?it(n):t}function it(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function rt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ut,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.VideoBlock=void 0;var r=b(i(1)),l=w(i(733)),a=i(8),u=i(742),f;i(743);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);ut="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(){var n=function(n){function t(n){var r;return k(this,t),(r=i.call(this,n)).onStartPlaying=function(){var i=r.state,f=i.videoProvider,n,t;i.isInitialPlay&&(n=r._videoRef.getInternalPlayer(),r._videoDuration=r._videoRef.getDuration(),t="",null!==n&&f===u.VideoProvider.Youtube?t=n.getVideoData().title:null!==n&&f===u.VideoProvider.Vimeo&&(t=n.element.title),a.pushTagManagerEvent("video","Video",t,"Play"),r.setState({isPlaying:!0,videoTitle:t,isInitialPlay:!1}))},r.onPausePlaying=function(){r.setState({isPlaying:!1})},r.onVideoEnded=function(){r.handleUpdates(3);r.setState({isPlaying:!1,playEvents:[!1,!1,!1,!1]})},r.onProgressUpdate=function(n){var i,u=r.state.previousSeekPercent,t=n.played;u>t?(t<.25?i=[!1,!1,!1,!1]:t>=.25&&t<.5?i=[!0,!1,!1,!1]:t>=.5&&t<.75?i=[!0,!0,!1,!1]:t>=.75&&t<1&&(i=[!0,!0,!0,!1]),r.setState({playEvents:i,previousSeekPercent:t})):r.setState({previousSeekPercent:t});t>=.25&&t<.5?r.handleUpdates(0):t>=.5&&t<.75?r.handleUpdates(1):t>=.75&&t<1&&r.handleUpdates(2)},r.handleUpdates=function(n){for(var t=r.state,i=t.playEvents,f=t.videoTitle,u=i.slice();!i[n]&&(a.pushTagManagerEvent("video","Video",f,r._percentageStrings[n]),u[n]=!0,-1!=--n););r.setState({playEvents:u})},r._percentageStrings=["25%","50%","75%","100%"],r.state={isPlaying:!1,isInitialPlay:!0,videoTitle:null,videoProvider:r.getVideoProvider(r.props.videoUrl),playEvents:[!1,!1,!1,!1],canPlayVideo:l.default.canPlay(r.props.videoUrl),previousSeekPercent:0},r}g(t,n);var i=nt(t);return d(t,[{key:"getVideoProvider",value:function(n){return n.includes("youtu")?u.VideoProvider.Youtube:n.includes("vimeo")?u.VideoProvider.Vimeo:n.includes("buster")||n.includes("jaws")?u.VideoProvider.Buster:u.VideoProvider.Undefined}},{key:"render",value:function(){var o=this,n=this.props,t=n.heading,i=n.videoUrl,f=n.description,e=this.state.canPlayVideo;return r.createElement("div",{className:"video-block block-margin"},t&&r.createElement("h2",null,t),f&&r.createElement("p",{className:"video-block__description"},f),e&&r.createElement("div",{className:"player-wrapper"},r.createElement(l.default,{ref:function(n){return o._videoRef=n},url:i,controls:!0,playing:!1,progressInterval:1e3,onStart:this.onStartPlaying,onPause:this.onPausePlaying,onEnded:this.onVideoEnded,onProgress:this.onProgressUpdate,config:{youtube:{playerVars:{origin:window.location.origin}}},width:"100%",height:"100%",className:"react-player"})),this.state.videoProvider==u.VideoProvider.Buster&&r.createElement("div",{className:"player-wrapper"},r.createElement("div",{className:"react-player player-buster"},r.createElement("div",{className:"player-buster__wrapper"},r.createElement("iframe",{src:i,allowFullScreen:!0,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",frameBorder:"0",title:"Buster video player",width:"100%",height:"100%"})))),!e&&this.state.videoProvider!==u.VideoProvider.Buster&&r.createElement("p",null,"Denna videolänk stöds inte."))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={heading:null},n}();t.VideoBlock=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"VideoBlock","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\VideoBlock\\VideoBlock.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function k(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return k=function(){return n},n}function d(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==v(n)&&"function"!=typeof n)return{"default":n};if(t=k(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function v(n){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function g(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function vt(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?g(Object(i),!0).forEach(function(t){r(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function y(){return(y=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function o(n){return function(n){if(Array.isArray(n))return p(n)}(n)||function(n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}(n)||function(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}()}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function yt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function pt(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function wt(n,t){return!t||"object"!==v(t)&&"function"!=typeof t?u(n):t}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function bt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function w(n){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function nt(n,t){return(nt=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}Object.defineProperty(t,"__esModule",{value:!0});Object.defineProperty(t,"FilePlayer",{enumerable:!0,get:function(){return b.default}});Object.defineProperty(t,"YouTube",{enumerable:!0,get:function(){return ut.default}});Object.defineProperty(t,"SoundCloud",{enumerable:!0,get:function(){return ft.default}});Object.defineProperty(t,"Vimeo",{enumerable:!0,get:function(){return et.default}});Object.defineProperty(t,"Facebook",{enumerable:!0,get:function(){return ot.default}});Object.defineProperty(t,"Streamable",{enumerable:!0,get:function(){return st.default}});Object.defineProperty(t,"Wistia",{enumerable:!0,get:function(){return ht.default}});Object.defineProperty(t,"Twitch",{enumerable:!0,get:function(){return ct.default}});Object.defineProperty(t,"DailyMotion",{enumerable:!0,get:function(){return lt.default}});Object.defineProperty(t,"Mixcloud",{enumerable:!0,get:function(){return at.default}});t.default=void 0;var l=d(i(1)),s=i(98),h=i(14),a=f(i(739)),tt=f(i(145)),it=f(i(740)),b=d(i(406)),rt=f(i(741)),ut=f(i(144)),ft=f(i(146)),et=f(i(147)),ot=f(i(401)),st=f(i(402)),ht=f(i(403)),ct=f(i(404)),lt=f(i(148)),at=f(i(405));var kt=Object.keys(s.propTypes),c=[],e=function(n){function t(){var n;yt(this,t);for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];return r(u(n=v.call.apply(v,[this].concat(e))),"config",h.getConfig(n.props,s.defaultProps,!0)),r(u(n),"state",{showPreview:!!n.props.light}),r(u(n),"handleClickPreview",function(){n.setState({showPreview:!1})}),r(u(n),"showPreview",function(){n.setState({showPreview:!0})}),r(u(n),"getDuration",function(){return n.player?n.player.getDuration():null}),r(u(n),"getCurrentTime",function(){return n.player?n.player.getCurrentTime():null}),r(u(n),"getSecondsLoaded",function(){return n.player?n.player.getSecondsLoaded():null}),r(u(n),"getInternalPlayer",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(t):null}),r(u(n),"seekTo",function(t,i){if(!n.player)return null;n.player.seekTo(t,i)}),r(u(n),"handleReady",function(){n.props.onReady(u(n))}),r(u(n),"wrapperRef",function(t){n.wrapper=t}),r(u(n),"activePlayerRef",function(t){n.player=t}),n}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&nt(n,t)}(t,n);var i,f,e,v=(i=t,function(){var n,t=w(i),r;return bt()?(r=w(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),wt(this,n)});return f=t,(e=[{key:"componentDidMount",value:function(){this.props.progressFrequency}},{key:"shouldComponentUpdate",value:function(n,t){return!h.isEqual(this.props,n)||!h.isEqual(this.state,t)}},{key:"componentDidUpdate",value:function(n){var t=this.props.light;this.config=h.getConfig(this.props,s.defaultProps);!n.light&&t&&this.setState({showPreview:!0});n.light&&!t&&this.setState({showPreview:!1})}},{key:"getActivePlayer",value:function(n){for(var r,t=0,i=[].concat(o(c),o(a.default));t<i.length;t++)if(r=i[t],r.canPlay(n))return r;return b.FilePlayer}},{key:"renderActivePlayer",value:function(n,t){return n?l.default.createElement(tt.default,y({},this.props,{key:t.displayName,ref:this.activePlayerRef,config:this.config,activePlayer:t,onReady:this.handleReady})):null}},{key:"sortPlayers",value:function(n,t){return n&&t?n.key<t.key?-1:1:0}},{key:"render",value:function(){var n=this.props,t=n.url,i=n.controls,r=n.style,u=n.width,f=n.height,e=n.light,c=n.playIcon,a=n.wrapper,v=this.state.showPreview&&t,p=h.omit(this.props,kt,s.DEPRECATED_CONFIG_PROPS),w=this.getActivePlayer(t),b=this.renderActivePlayer(t,w),k=rt.default(t,i,this.config),d=[b].concat(o(k)).sort(this.sortPlayers),g=l.default.createElement(it.default,{url:t,light:e,playIcon:c,onClick:this.handleClickPreview});return l.default.createElement(a,y({ref:this.wrapperRef,style:vt({},r,{width:u,height:f})},p),v?g:d)}}])&&pt(f.prototype,e),t}(l.Component);t.default=e;r(e,"addCustomPlayer",function(n){c.push(n)});r(e,"removeCustomPlayers",function(){c=[]});r(e,"displayName","ReactPlayer");r(e,"propTypes",s.propTypes);r(e,"defaultProps",s.defaultProps);r(e,"canPlay",function(n){for(var t=0,i=[].concat(o(c),o(a.default));t<i.length;t++)if(i[t].canPlay(n))return!0;return!1});r(e,"canEnablePIP",function(n){for(var r,t=0,i=[].concat(o(c),o(a.default));t<i.length;t++)if(r=i[t],r.canEnablePIP&&r.canEnablePIP(n))return!0;return!1})},function(n,t,i){n.exports=i(735)()},function(n,t,i){"use strict";function r(){}function u(){}var f=i(736);u.resetWarningCache=r;n.exports=function(){function n(n,t,i,r,u,e){if(e!==f){var o=new 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 n}n.isRequired=n;var i={array:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:t,element:n,elementType:n,instanceOf:t,node:n,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:u,resetWarningCache:r};return i.PropTypes=i,i}},function(n){"use strict";n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(n){function t(n,t){n.onload=function(){this.onerror=this.onload=null;t(null,n)};n.onerror=function(){this.onerror=this.onload=null;t(new Error("Failed to load "+this.src),n)}}function i(n,t){n.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,n))}}n.exports=function(n,r,u){var e=document.head||document.getElementsByTagName("head")[0],f=document.createElement("script");"function"==typeof r&&(u=r,r={});r=r||{};u=u||function(){};f.type=r.type||"text/javascript";f.charset=r.charset||"utf8";f.async=!("async"in r)||!!r.async;f.src=n;r.attrs&&function(n,t){for(var i in t)n.setAttribute(i,t[i])}(f,r.attrs);r.text&&(f.text=""+r.text);("onload"in f?t:i)(f,u);f.onload||t(f,u);e.appendChild(f)}},function(n){"use strict";function i(n,i){return!1!==i.clone&&i.isMergeableObject(n)?t((r=n,Array.isArray(r)?[]:{}),n,i):n;var r}function s(n,t,r){return n.concat(t).map(function(n){return i(n,r)})}function r(n){return Object.keys(n).concat(function(n){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n).filter(function(t){return n.propertyIsEnumerable(t)}):[]}(n))}function u(n,t){try{return t in n}catch(n){return!1}}function t(n,f,o){(o=o||{}).arrayMerge=o.arrayMerge||s;o.isMergeableObject=o.isMergeableObject||e;o.cloneUnlessOtherwiseSpecified=i;var h=Array.isArray(f);return h===Array.isArray(n)?h?o.arrayMerge(n,f,o):function(n,f,e){var o={};return e.isMergeableObject(n)&&r(n).forEach(function(t){o[t]=i(n[t],e)}),r(f).forEach(function(r){(function(n,t){return u(n,t)&&!(Object.hasOwnProperty.call(n,t)&&Object.propertyIsEnumerable.call(n,t))})(n,r)||(o[r]=u(n,r)&&e.isMergeableObject(f[r])?function(n,i){if(!i.customMerge)return t;var r=i.customMerge(n);return"function"==typeof r?r:t}(r,e)(n[r],f[r],e):i(f[r],e))}),o}(n,f,o):i(f,o)}var e=function(n){return function(n){return!!n&&"object"==typeof n}(n)&&!function(n){var t=Object.prototype.toString.call(n);return"[object RegExp]"===t||"[object Date]"===t||function(n){return n.$$typeof===o}(n)}(n)},o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,f;t.all=function(n,i){if(!Array.isArray(n))throw new Error("first argument should be an array");return n.reduce(function(n,r){return t(n,r,i)},{})};f=t;n.exports=f},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;var r=i(144),u=i(146),f=i(147),e=i(401),o=i(402),s=i(403),h=i(404),c=i(148),l=i(405),a=i(406),v=[r.YouTube,u.SoundCloud,f.Vimeo,e.Facebook,o.Streamable,s.Wistia,h.Twitch,c.DailyMotion,l.Mixcloud,a.FilePlayer];t.default=v},function(n,t,i){"use strict";function u(n){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function s(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function h(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?s(Object(i),!0).forEach(function(t){o(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function y(n,t){return!t||"object"!==u(t)&&"function"!=typeof t?f(n):t}function f(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function p(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function c(n,t){return(c=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function o(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var r,l;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r=function(n){var t,i,e,r,f;if(n&&n.__esModule)return n;if(null===n||"object"!==u(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(f=e?Object.getOwnPropertyDescriptor(n,r):null,f&&(f.get||f.set)?Object.defineProperty(i,r,f):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));l=function(n){function t(){var i;a(this,t);for(var r=arguments.length,u=new Array(r),n=0;n<r;n++)u[n]=arguments[n];return o(f(i=l.call.apply(l,[this].concat(u))),"mounted",!1),o(f(i),"state",{image:null}),i}!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&c(n,t)}(t,n);var i,u,s,l=(i=t,function(){var n,t=e(i),r;return p()?(r=e(this).constructor,n=Reflect.construct(t,arguments,r)):n=t.apply(this,arguments),y(this,n)});return u=t,(s=[{key:"componentDidMount",value:function(){this.mounted=!0;this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(n){var t=this.props,i=t.url,r=t.light;n.url===i&&n.light===r||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(n){var t=this,r=n.url,i=n.light;if("string"!=typeof i)return this.setState({image:null}),window.fetch("https://noembed.com/embed?url=".concat(r)).then(function(n){return n.json()}).then(function(n){if(n.thumbnail_url&&t.mounted){var i=n.thumbnail_url.replace("height=100","height=480");t.setState({image:i})}});this.setState({image:i})}},{key:"render",value:function(){var t=this.props,f=t.onClick,e=t.playIcon,i=this.state.image,u={display:"flex",alignItems:"center",justifyContent:"center"},n={preview:h({width:"100%",height:"100%",backgroundImage:i?"url(".concat(i,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},u),shadow:h({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:"64px",width:"64px",height:"64px"},u),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},o=r.default.createElement("div",{style:n.shadow,className:"react-player__shadow"},r.default.createElement("div",{style:n.playIcon,className:"react-player__play-icon"}));return r.default.createElement("div",{style:n.preview,className:"react-player__preview",onClick:f},e||o)}}])&&v(u.prototype,s),t}(r.Component);t.default=l},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function u(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}var f;Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n,t,i){var h,c=[],s=function(n){var i,r,t,o,f,e;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(n=function(n,t){if(n){if("string"==typeof n)return u(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?u(n,t):void 0}}(n)))return i=0,r=function(){},{s:r,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(n){throw n;},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return f=!0,e=!1,{s:function(){t=n[Symbol.iterator]()},n:function(){var n=t.next();return f=n.done,n},e:function(n){e=!0;o=n},f:function(){try{f||null==t.return||t.return()}finally{if(e)throw o;}}}}(f),r;try{for(s.s();!(h=s.n()).done;)r=h.value,!r.Player.canPlay(n)&&i[r.configKey].preload&&c.push(e.default.createElement(o.default,{key:r.Player.displayName,activePlayer:r.Player,url:r.url,controls:t,playing:!0,muted:!0,display:"none"}))}catch(n){s.e(n)}finally{s.f()}return c};var e=r(i(1)),o=r(i(145)),s=i(144),h=i(146),c=i(147),l=i(148);f=[{Player:s.YouTube,configKey:"youtube",url:"https://www.youtube.com/watch?v=GlCmAC4MHek"},{Player:h.SoundCloud,configKey:"soundcloud",url:"https://soundcloud.com/seucheu/john-cage-433-8-bit-version"},{Player:c.Vimeo,configKey:"vimeo",url:"https://vimeo.com/300970506"},{Player:l.DailyMotion,configKey:"dailymotion",url:"http://www.dailymotion.com/video/xqdpyk"}]},function(n,t,i){"use strict";(function(n){var r,i,u,f;Object.defineProperty(t,"__esModule",{value:!0});t.VideoProvider=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.VideoProvider=i,function(n){n[n.Undefined=0]="Undefined";n[n.Youtube=1]="Youtube";n[n.Vimeo=2]="Vimeo";n[n.Buster=3]="Buster"}(i||(t.VideoProvider=i={}));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"VideoProvider","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\VideoBlock\\VideoBlock.types.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function y(n){return n&&n.__esModule?n:{"default":n}}function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,f,it,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.CookieConsent=void 0;r=p(i(1));u=y(i(745));i(746);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(){var n=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).CookieName="sos_cookieconsent",r.CookieAttributes={expires:365,sameSite:"strict",secure:!0},r.onCookieButtonClick=function(n){n.preventDefault();var t=new Date;u.default.set(r.CookieName,t.getTime().toString(),r.CookieAttributes);r.setState({showCookieBanner:!1})},r.state={showCookieBanner:!1},r}k(t,n);var i=d(t);return b(t,[{key:"componentDidMount",value:function(){void 0!==u.default.get(this.CookieName)||this.setState({showCookieBanner:!0})}},{key:"render",value:function(){var u=this.state.showCookieBanner,n=this.props,f=n.Text,i=n.ReadMoreLink,t=n.ReadMoreExternalLink,e=n.ButtonText,o=n.ReadMoreText;return r.createElement(r.Fragment,null,u&&r.createElement("section",{className:"sos-kkr-cnsnt rtl"},r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-lg-12 sos-kkr-cnsnt__container "},r.createElement("div",{className:"col-sm-12 col-md-8 col-lg-10"},r.createElement("div",{className:"sos-kkr-cnsnt__content"},r.createElement("p",null,f,(null!=t||null!=i)&&r.createElement("a",{href:null!=t?t:i},o)))),r.createElement("div",{className:"col-sm-12 col-md-4 col-lg-2"},r.createElement("button",{className:"button",type:"button",onClick:this.onCookieButtonClick},e)))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={Text:"Vi använder kakor (cookies) för att ge dig en bättre upplevelse av vår webbplats. Genom att surfa vidare godkänner du att vi använder kakor.",ReadMoreLink:"",ButtonText:"Jag förstår",ReadMoreText:"Läs mer om kakor"},n}();t.CookieConsent=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"CookieConsent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\CookieConsent\\CookieConsent.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){var r,f,u;u=function(){function n(){for(var i,r,n=0,t={};n<arguments.length;n++){i=arguments[n];for(r in i)t[r]=i[r]}return t}function t(n){return n.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function i(r){function u(){}function f(t,i,f){var s,o,e;if("undefined"!=typeof document){"number"==typeof(f=n({path:"/"},u.defaults,f)).expires&&(f.expires=new Date(1*new Date+864e5*f.expires));f.expires=f.expires?f.expires.toUTCString():"";try{s=JSON.stringify(i);/^[\{\[]/.test(s)&&(i=s)}catch(n){}i=r.write?r.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent);t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);o="";for(e in f)f[e]&&(o+="; "+e,!0!==f[e]&&(o+="="+f[e].split(";")[0]));return document.cookie=t+"="+i+o}}function e(n,i){var s,u,f;if("undefined"!=typeof document){for(var e={},h=document.cookie?document.cookie.split("; "):[],o=0;o<h.length;o++){s=h[o].split("=");u=s.slice(1).join("=");i||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{if(f=t(s[0]),u=(r.read||r)(u,f)||t(u),i)try{u=JSON.parse(u)}catch(n){}if(e[f]=u,n===f)break}catch(n){}}return n?e[n]:e}}return u.set=f,u.get=function(n){return e(n,!1)},u.getJSON=function(n){return e(n,!0)},u.remove=function(t,i){f(t,"",n(i,{expires:-1}))},u.defaults={},u.withConverter=i,u}(function(){})};void 0===(f="function"==typeof(r=u)?r.call(t,i,t,n):r)||(n.exports=f);n.exports=u()},function(){},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function p(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,f,e,it,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});t.SubWebHero=void 0;r=p(i(1));i(748);u=i(6);f=i(4);e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(){var n=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).headingEpiProperty={property:r.props.heading,propertyName:"HeroHeading",wrappingElement:"div",isInEditMode:r.props.isInEditMode},r.preambleEpiProperty={property:r.props.preamble,propertyName:"HeroPreamble",wrappingElement:"p",isInEditMode:r.props.isInEditMode},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n=this.props,e=n.link,o=n.displayLinkArrow,s=n.imageAlignment,h=n.image,t=n.sosClass,i=n.sosImageClass;return r.createElement("article",{className:"subweb-hero ".concat(null!=t?t:"")},r.createElement("div",{className:"hero subweb-hero__image ".concat(null!=i?i:""," ").concat(s),"aria-hidden":"true"},r.createElement(u.Lazyloader,{imageUrl:h,isBackgroundImage:!0})),r.createElement("a",{href:e},r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col-md-12 subweb-hero__text-container"},r.createElement("h2",null,f.renderEditableEpiProperty(this.headingEpiProperty),o&&r.createElement(u.Icon,{className:"subweb-hero__icon",iconType:"fontawesome/chevron-left"})),r.createElement("p",null,f.renderEditableEpiProperty(this.preambleEpiProperty)))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={displayLinkArrow:!0},n}();t.SubWebHero=h;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;c&&c.register(h,"SubWebHero","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SubWebHero\\SubwebHero.tsx");l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var c,r,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.ExpanderGroup=void 0;c=y(i(1));r=i(97);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return p(this,t),(r=i.call(this,n)).handleToggle=function(n){r._summaryItems.forEach(function(t,i){var r=t.parentElement;i===n?r.open=!r.open:r.open&&(r.open=!1)})},r.onSummaryClick=function(n){n.preventDefault();var t=n.target,i=r._summaryItems.findIndex(function(n){return n.isSameNode(t)});r.handleToggle(i)},r.onSpanClick=function(n){n.stopImmediatePropagation();n.preventDefault();var t=n.target,i=r._summaryItems.findIndex(function(n){return n.isSameNode(t.parentElement)});r.handleToggle(i)},r._summaryItems=[],r}b(t,n);var i=k(t);return w(t,[{key:"componentDidMount",value:function(){var n=this;document.querySelector("#exp-group_".concat(this.props.groupId)).querySelectorAll("details.".concat(r.BaseClassName)).forEach(function(t){var i=t.firstElementChild;n._summaryItems.push(i);i.addEventListener("click",n.onSummaryClick);i.querySelector(".".concat(r.PlusMinusClassName)).addEventListener("click",n.onSpanClick)})}},{key:"render",value:function(){return null}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(c.Component);t.ExpanderGroup=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"ExpanderGroup","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ExpanderGroup\\ExpanderGroup.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.EducationItemList=void 0;r=y(i(1));c=i(6);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return p(this,t),(u=i.call(this,n)).renderItem=function(n){var t=null!=n.Image&&""!=n.Image||null!=n.ExternalImage&&""!=n.ExternalImage,i=null!=n.Image&&""!=n.Image,u=null!=n.ExternalImage&&""!=n.ExternalImage;return r.createElement("div",{className:"content-list__container d-flex",key:n.Id},t?r.createElement("div",{className:"content-list__image"},i?r.createElement(c.Lazyloader,{imageUrl:n.Image,isBackgroundImage:!1,lowresBase64:n.LowresBase64,imageAltText:n.AltText}):u?r.createElement("img",{alt:n.AltText,src:n.ExternalImage}):null):null,r.createElement("div",{className:t?"content-list__content":"content-list--full-width content-list__content"},r.createElement("a",{className:"content-list__link",href:n.Url},n.Heading,n.FileExtension&&r.createElement("span",{className:"file-extension"},"("+n.FileExtension+")")),r.createElement("p",null," ",n.Preamble),r.createElement("span",{className:"content-list__publisher"},n.Publisher)))},u}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return r.createElement("div",{className:"education-filter-page__item-wrapper"},this.props.educationItems.map(this.renderItem))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.EducationItemList=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"EducationItemList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\EducationItemList\\EducationItemList.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function tt(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function y(n){return n&&n.__esModule?n:{"default":n}}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function e(n,t){var i,r,u,o,f,e;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(i=it(n))||t&&n&&"number"==typeof n.length)return i&&(n=i),r=0,u=function(){},{s:u,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n;},f:u};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return f=!0,e=!1,{s:function(){i=n[Symbol.iterator]()},n:function(){var n=i.next();return f=n.done,n},e:function(n){e=!0;o=n},f:function(){try{f||null==i.return||i.return()}finally{if(e)throw o;}}}}function it(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function rt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ut(n,t,i){return t&&w(n.prototype,t),i&&w(n,i),n}function ft(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&b(n,t)}function b(n,t){return(b=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function et(n){var t=ht();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ot(this,i)}}function ot(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?st(n):t}function st(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ht(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ct,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.FilterList=void 0;var k=y(i(139)),d=y(i(13)),r=tt(i(1)),g=i(6),nt=i(140),l=i(8),a=i(91),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ct="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(){var n=function(n){function t(n){var r;return rt(this,t),(r=i.call(this,n)).listType="education"===r.props.listType?"Sök utbildningar":"statutes"===r.props.listType?"Sök författningssamling":"Sök",r.checkItem=function(n){var i=r.state.itemChecked,t=n.hasOwnProperty("currentTarget"),u=document.getElementById(r.props.filterId);(t&&"radio"===n.currentTarget.type||!t)&&(i={});var e=t?n.currentTarget.value:n.value,o=t?n.currentTarget.checked:n.isTouched,s=t?n.currentTarget.nextSibling.innerText:u.options[u.selectedIndex].text,f=d.default(i);f[e]=o;"education"===r.props.listType&&l.pushTagManagerEvent("search",r.listType,"Filter",s);r.setState({itemChecked:k.default(f,function(n,t){return t})})},r.hideLoadMore=function(){var n=r.state.limit;return r.props.filterItems.length-n>0?r.setState({LoadMoreHidden:!0}):r.setState({LoadMoreHidden:!1})},r.onLoadMore=function(){r.setState({limit:r.state.limit+10});r.hideLoadMore()},r.setFocus=function(n){var i=document.querySelectorAll(".content-list__link"),t;i.length>0&&(t=i[n],t&&t.focus())},r.getFilteredList=function(){var n=r.state.filterItems,e=r.state.itemChecked,u=r.state.currentSortType,o=r.props.hideLoadMore,s=Math.ceil(n.length/r.props.pageSize),f=(r.state.pageNo<=s?r.state.pageNo:1)*r.props.pageSize-r.props.pageSize,i,t;return null!=r.props.dropdownItems&&(i=r.state.yearChecked,n=n.filter(function(n){return n.Year==i||"Alla"==i})),u&&(n=n.sort(u.sort)),t=n.filter(function(n){return!!r.nothingChecked()||0!==n.CategoryList.length&&n.CategoryList.some(function(n){return!!r.itemIsFound(e,n)})}),r.totalItems=t.length,o?t.slice(f,f+r.props.pageSize):t.slice(0,r.state.limit)},r.nothingChecked=function(){var n=r.state.itemChecked,t;for(t in n)if(n.hasOwnProperty(t)&&n[t])return!1;return!0},r.itemIsFound=function(n,t){var i=!1;return Object.keys(n).find(function(r){if(r===t.Id.toString()||"0"==r){var u=n[r];return i=!!u}return i=!1}),i},r.getSelectBoxItemsFromCategories=function(n){var r,u=[],t=e(n),i,f;try{for(t.s();!(r=t.n()).done;)i=r.value,f={key:i.Id,text:i.Name,hidden:i.Hidden},u.push(f)}catch(n){t.e(n)}finally{t.f()}return u},r.getSelectBoxOptions=function(n){var r,u=[],t=e(n),i,f;try{for(t.s();!(r=t.n()).done;)i=r.value,f={key:i,text:i},u.push(f)}catch(n){t.e(n)}finally{t.f()}return u},r.searchSubmit=function(n){n.preventDefault();var i=r.searchField.value.length>1?r.searchField.value:"",u=r.props.filterItems.filter(function(n){return-1!==n.Heading.toLowerCase().indexOf(i.toLowerCase())}),t=r.state.categories,f=[];return""==i?t.map(function(n){return n.Hidden=!1}):(u.map(function(n){var r,i=e(n.CategoryList),u;try{for(u=function(){var n=r.value;t.map(function(t){n.Id!=t.Id&&0!=t.Id||f.push(t.Id)})},i.s();!(r=i.n()).done;)u()}catch(n){i.e(n)}finally{i.f()}}),t.map(function(n){return n.Hidden=f.includes(n.Id)?!1:!0})),"education"===r.props.listType&&l.pushTagManagerEvent("search",r.listType,"Sökfält","(not set)"),r.setState({filterItems:u,categories:t})},r.dropDownYearSubmit=function(n){return r.setState({yearChecked:n.value})},r.sortTable=function(n){return r.setState({currentSortType:n})},r.setNewPage=function(n){return r.setState({pageNo:n})},r.state={itemChecked:{},filterItems:r.props.filterItems,categories:r.props.categories,limit:10,LoadMoreHidden:!1,yearChecked:"Alla",currentSortType:{type:"",currentSort:"default",sort:function(n){return n}},pageNo:1},r}ft(t,n);var i=et(t);return ut(t,[{key:"componentDidMount",value:function(){this.hideLoadMore();var n=document.querySelectorAll("input[name='filtergroup']");n.length>0&&(n[0].checked=!0)}},{key:"componentDidUpdate",value:function(n,t){this.setFocus(t.limit)}},{key:"render",value:function(){var y=this,t=this.getFilteredList(),u=this.state,p=u.LoadMoreHidden,e=u.limit,o=u.categories,n=this.props,s=n.searchId,w=n.noHitsMessage,h=n.filterId,f=n.filterHeading,c=n.placeholderSearch,b=n.flexPositionCount,i=n.dropdownItems,l=n.dropDownId,k=n.dropDownText,d=n.hideLoadMore,tt=(n.totalItems,n.pageSize),it=n.hideFilters,rt=n.hideCounter,ut=this.getSelectBoxItemsFromCategories(o),ft=null!=i?t.slice(0,tt).length:t.length,v;return null!=i&&(v=this.getSelectBoxOptions(i)),r.createElement("div",null,!it&&r.createElement("div",{className:"filter-list__box"},this.props.hideSearch?null:r.createElement("form",{onSubmit:this.searchSubmit,role:"search","aria-label":c},r.createElement("span",{className:"search"},r.createElement("label",{htmlFor:s,className:"sr-only"},"Ange söktext"),r.createElement("input",{id:s,onChange:this.searchSubmit,type:"search",ref:function(n){return y.searchField=n},placeholder:c}),r.createElement("input",{"aria-label":"Sök",className:"search__button search__button--green",type:"submit",value:""}))),r.createElement(nt.ToggleBoxGroup,{categoryList:o,onChangeCb:this.checkItem}),r.createElement("label",{htmlFor:h,className:"sr-only"},"Välj filter"),r.createElement(a.SelectBox,{options:ut,onChange:this.checkItem,id:h,disableDefaultOption:!0,fieldName:"filtergroup-select",className:"d-block d-md-none"}),i&&r.createElement("div",{className:"dropdown-container"},r.createElement("label",{htmlFor:l},k),r.createElement(a.SelectBox,{options:v,onChange:this.dropDownYearSubmit,id:l,disableDefaultOption:!0,fieldName:"itemfilter-select",className:""}))),!rt&&r.createElement("div",{className:"d-flex justify-content-"+b},r.createElement("div",{className:f?"d-flex filter-list__count":"d-flex filter-list__count justify-content-end"},f&&r.createElement("h2",null,f)," ",r.createElement("span",{"aria-live":"polite"},"Visar ",ft," av ",this.props.filterItems.length))),r.createElement("div",{"aria-live":"polite"},0==t.length?r.createElement("p",{className:"no-hits-message"},w):null),r.createElement(g.GenericList,{sortTable:this.sortTable,filterItems:t,listType:this.props.listType,totalItems:this.totalItems,pageSize:this.props.pageSize,setNewPage:this.setNewPage}),p&&t.length>=e&&!d&&r.createElement("button",{className:"page-list__load-more",onClick:this.onLoadMore},"Visa fler (",this.totalItems-e," kvar)"))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={placeholderSearch:"Sök",flexPositionCount:"center"},n}();t.FilterList=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"FilterList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\FilterList\\FilterList.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.GenericList=void 0;var r=p(i(1)),c=i(6),y=i(753),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(n){var u;return w(this,t),(u=i.call(this,n)).getListComponent=function(n){switch(n){case"education":return r.createElement(c.EducationItemList,{educationItems:u.props.filterItems});case"statutes":return r.createElement(c.CommonStatutesItemList,{statuteItems:u.props.filterItems,sortTable:u.props.sortTable,totalItems:u.props.totalItems,pageSize:u.props.pageSize,setNewPage:u.props.setNewPage});case"content-list":return r.createElement(y.ContentItemList,{contentListItems:u.props.filterItems})}},u}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var n={};return"content-list"!=this.props.listType&&(n.className="d-flex justify-content-center flex-wrap",n.role="log",n["aria-atomic"]=!1),r.createElement("div",n,this.getListComponent(this.props.listType))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={sortTable:function(){},setNewPage:function(){}},n}();t.GenericList=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"GenericList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\GenericList\\GenericList.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.ContentItemList=void 0;r=y(i(1));c=i(6);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return p(this,t),(u=i.call(this,n)).renderItem=function(n){var t=null!=n.Image&&""!=n.Image||null!=n.ExternalImage&&""!=n.ExternalImage,i=null!=n.Image&&""!=n.Image,u=null!=n.ExternalImage&&""!=n.ExternalImage;return r.createElement("div",{className:"content-list__container d-flex",key:n.Id},t?r.createElement("div",{className:"content-list__image"},i?r.createElement(c.Lazyloader,{imageUrl:n.Image,isBackgroundImage:!1,lowresBase64:n.LowresBase64,imageAltText:n.AltText}):u?r.createElement("img",{alt:n.AltText,src:n.ExternalImage}):null):null,r.createElement("div",{className:t?"content-list__content":"content-list--full-width content-list__content"},r.createElement("a",{className:"content-list__link",href:n.Url},n.Heading,n.FileExtension&&r.createElement("span",{className:"file-extension"},"("+n.FileExtension+")")),r.createElement("p",null," ",n.Preamble),r.createElement("span",{className:"content-list__publisher"},n.Publisher)))},u}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){return r.createElement(r.Fragment,null,this.props.contentListItems.map(this.renderItem))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.ContentItemList=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"ContentItemList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ContentItemList\\ContentItemList.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function b(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return b=function(){return n},n}function ut(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==h(n)&&"function"!=typeof n)return{"default":n};if(t=b(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function s(n){return n&&n.__esModule?n:{"default":n}}function h(n){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function k(n,t){var i,r,u,o,f,e;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(i=ft(n))||t&&n&&"number"==typeof n.length)return i&&(n=i),r=0,u=function(){},{s:u,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n;},f:u};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return f=!0,e=!1,{s:function(){i=n[Symbol.iterator]()},n:function(){var n=i.next();return f=n.done,n},e:function(n){e=!0;o=n},f:function(){try{f||null==i.return||i.return()}finally{if(e)throw o;}}}}function ft(n,t){if(n){if("string"==typeof n)return d(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?d(n,t):void 0}}function d(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function et(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function g(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ot(n,t,i){return t&&g(n.prototype,t),i&&g(n,i),n}function st(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&nt(n,t)}function nt(n,t){return(nt=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ht(n){var t=at();return function(){var i,r=c(n),u;return t?(u=c(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ct(this,i)}}function ct(n,t){return!t||"object"!==h(t)&&"function"!=typeof t?lt(n):t}function lt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function at(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function c(n){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var vt,u,l,e,a;Object.defineProperty(t,"__esModule",{value:!0});t.SubWebGlobalSearch=void 0;var tt=s(i(90)),f=s(i(13)),r=ut(i(1)),v=i(30),it=s(i(137)),y=i(755),rt=i(61),p=i(91),w=i(4),o;o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;o&&o(n);vt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};l=function(){var n=function(n){function t(n){var e;return et(this,t),(e=i.call(this,n))._queue=[],e.url="/_api/search",e.handleError=function(){e.setState({isError:!0})},e.onShowHideFilter=function(){e.setState({showFilter:!e.state.showFilter})},e.renderDidYouMean=function(){var n=e.state.searchResultModel.DidYouMean||[];return r.createElement("div",{className:"search-result__suggestion"},n.length>0&&r.createElement("p",null,u("didYouMean")," "),n.map(function(n,t){return r.createElement("li",{key:t},r.createElement("a",{href:"".concat(e.props.searchPageLink,"?q=").concat(n.Suggestion)},n.Suggestion))}))},e.delay=function(n){return new Promise(function(t){var r=setTimeout(t,n),i;for(e._queue.push(r);e._queue.length>1;)i=e._queue.shift(),clearTimeout(i)})},e.createInitialSearchState=function(){return{PageNo:1,Query:e.props.initalSearchResultModel.Query,FilterList:[],SearchSections:[],IsDocument:!1,PageSize:e.props.pageSize,CurrentPageId:e.props.currentPageId}},e.setNewPage=function(n){var i=e.state.currentSearchState,t=f.default(i);t.PageNo=n;e._isPageChange=!0;document.body.scrollTop=50;document.documentElement.scrollTop=50;e.setState({currentSearchState:t})},e.arrayRemove=function(n,t){return n.filter(function(n){return n!=t})},e.addToOrRemoveFromArray=function(n,t){return-1===n.indexOf(t)?n.push(t):n=e.arrayRemove(n,t),n},e.checkItem=function(n){var y=e.state.currentSearchState,a=e.props,p=a.filters,w=a.searchSections,t=f.default(y),u=n.hasOwnProperty("currentTarget"),r=u?n.currentTarget.value:n.value,h=p.find(function(n){return n.Id.toString()===r}),c=w.find(function(n){return n.Term===r}),l,i,o,s,v;if(!u&&h&&(t.FilterList=[]),!u&&c&&(t.SearchSections=[]),h?t.FilterList=e.addToOrRemoveFromArray(t.FilterList,h.Id):c&&(t.SearchSections=e.addToOrRemoveFromArray(t.SearchSections,c.Term)),""===r&&(t.FilterList=[]),u){if("Allt innehåll"!==r)for(l=document.querySelectorAll("input[type='checkbox'][value='Allt innehåll']"),l.length>0&&((s=l[0]).checked=!1),i=t.SearchSections.length-1;i>=0;i--)"Allt innehåll"===t.SearchSections[i]&&t.SearchSections.splice(i,1);else if("Allt innehåll"===r){for(o=document.querySelectorAll("div.sections input[type='checkbox']"),i=t.SearchSections.length-1;i>=0;i--)t.SearchSections[i]!==r&&t.SearchSections.splice(i,1);if(o.length>0)for(i=o.length-1;i>=0;i--)null!=(s=o?o[i]:null)&&"Allt innehåll"!==s.value&&(s.checked=!1)}v=0===t.SearchSections.length||"Allt innehåll"===r;e.CheckDefaultSectionOption(v);e.RemoveExtraFilters()&&u&&(t.FilterList=[])}t.PageNo=1;e.setState({currentSearchState:t})},e.RemoveExtraFilters=function(){var n=document.querySelectorAll("#area-filters input[type='checkbox']"),r=[],t,i;if(n.length>0)for(t=n.length-1;t>=0;t--)i=n?n[t]:null,i.checked&&r.push(i);return!(r.length>0)},e.CheckDefaultSectionOption=function(n){if(n){var t=document.querySelectorAll("input[type='checkbox'][value='Allt innehåll']");t.length>0&&(t[0].checked=!0)}},e.SelectedItems=function(n){var r=e.props.filters,t=f.default(e.searchModel),u=n.currentTarget.value,i=r.find(function(n){return n.Id.toString()===u});i&&(t.FilterList=e.addToOrRemoveFromArray(t.FilterList,i.Id));t.PageNo=1;e.searchModel=t},e.setFilters=function(){e.setState({currentSearchState:e.searchModel})},e.renderItem=function(n,t){var i=e.props.currentLanguage,o=n.SearchResultsBreadCrumbs||[],f=null;return i&&i!==n.LanguageCode&&(f=n.LanguageCode),r.createElement("div",{key:t,lang:f,className:"search-result__item"},r.createElement("h3",null,r.createElement("a",{className:n.Type,href:n.Url},n.Title)),null===n.Type&&""!=n.MainText&&"Dokument"!=n.ItemType&&r.createElement("div",{className:"search-result__text"},n.MainText),!n.BestBetsExternalLink&&!e.props.hideDate&&r.createElement("div",{className:"search-result__date ".concat(n.DateClassModifier)}," ",u("lastUpdateDate")," ",n.StartDate," "),null!=n.Publisher&&r.createElement("span",{className:"search-result__publisher"},n.Publisher),e.props.showBreadCrumbs&&r.createElement("ol",{className:"search-result__breadcrumbs","aria-label":u("ariaBreadcrumbs")},n.LanguageCode&&r.createElement("li",null,r.createElement("a",{href:n.StartPageExternalUrl}," ",n.LanguageCode)),r.createElement("li",null,r.createElement("a",{href:n.StartPageExternalUrl}," ",n.StartPageName)),o.map(function(n,t){return r.createElement("li",{key:t},r.createElement("a",{href:n.Url},n.Name))}),null!=n.StartPageName&&r.createElement("li",null,r.createElement("a",{href:n.Url},n.Title))))},e.getSelectFiltersBoxItems=function(n){var i=[],u,t,r,f;if(!n)return i;t=k(n);try{for(t.s();!(u=t.n()).done;)r=u.value,f={key:r.Id,text:r.Name},i.push(f)}catch(n){t.e(n)}finally{t.f()}return i},e.getSearchSectionsBoxItems=function(n){var r=[],u,t,i,f;if(!n)return r;t=k(n);try{for(t.s();!(u=t.n()).done;)i=u.value,f={key:i.Term,text:i.Term,count:i.Count},r.push(f)}catch(n){t.e(n)}finally{t.f()}return r},e.renderCheckbox=function(){var t=e.props,i=t.filters,n=t.searchSections;return r.createElement("div",{className:"page-list d-none d-md-block"},r.createElement("span",{className:"filters__filter-text"},u("filterBy")),r.createElement("div",{className:"search-result__container"},r.createElement("div",{className:"search-result__filters page-list__filters filters search-result__filter-item-wrapper search-result--filter-content-items"},r.createElement("div",{className:"search-result__filter-categories"},r.createElement("fieldset",null,n.length>0&&r.createElement("legend",{className:"filters__filter-text sr-only"},u("filterByContent")),r.createElement("div",{className:"search-result__filter-item"},n?n.map(function(n,t){return r.createElement(v.ToggleBox,{key:"operationsbox-".concat(t),label:n.Term,value:n.Term,cssClass:"sections",onChangeCb:e.checkItem,termCount:n.Count})}):null)))),i&&i.length>0&&r.createElement("button",{"aria-controls":"area-filters","aria-expanded":e.state.showFilter,id:"accordion-control-1",onClick:e.onShowHideFilter,className:"button search-result__expand-filter-button expand-filter__plusminus"+(e.state.showFilter?" search-result--filter-button-expanded":"")},u("moreFilters"))))},u=w.makeTranslator(n.translations),e.state={currentSearchState:e.createInitialSearchState(),relevansbuttonIsActive:!0,sortbuttonIsActive:!1,amneopen:!1,productopen:!1,filteropen:!1,isSearching:!1,searchResultModel:f.default(e.props.initalSearchResultModel),isDataLoading:!1,isError:!1,showFilter:!1},e}st(t,n);var i=ht(t);return ot(t,[{key:"componentDidMount",value:function(){this.searchModel=this.state.currentSearchState;var n=document.querySelectorAll("input[type='checkbox'][value='Allt innehåll']");n.length>0&&(n[0].checked=!0)}},{key:"componentDidUpdate",value:function(n,t){var i=this;tt.default(t.currentSearchState,this.state.currentSearchState)||(this.searchModel=this.state.currentSearchState,this._isPageChange?(this._isPageChange=!1,this.setState({isDataLoading:!0}),y.sendQueryToServer(this.url,this.state.currentSearchState).then(function(n){i.setState({searchResultModel:n,isDataLoading:!1,isError:!1})}).catch(function(){i.handleError()})):this.delay(500).then(function(){i.setState({isDataLoading:!0});y.sendQueryToServer(i.url,i.state.currentSearchState).then(function(n){i.setState({searchResultModel:n,isDataLoading:!1,isError:!1})}).catch(function(){i.handleError()})}))}},{key:"render",value:function(){var h=this,t=this.state,c=t.isDataLoading,e=t.isError,n=t.searchResultModel,i=this.props,o=i.searchSections,f=i.filters,s=i.pageSize,l=this.getSearchSectionsBoxItems(this.props.searchSections),a=this.getSelectFiltersBoxItems(this.props.filters);return r.createElement(r.Fragment,null,r.createElement("div",{className:"container"},r.createElement("div",{className:"row justify-content-center"},r.createElement("div",{className:"col-lg-10"},o&&o.length>0&&r.createElement(r.Fragment,null,this.renderCheckbox(),r.createElement("div",{className:"d-block d-md-none search-result__select-box-container"},r.createElement(p.SelectBox,{options:l,onChange:this.checkItem,id:"select-section-filter",disableDefaultOption:!0,fieldName:"section-select",label:this.props.searchSectionsLabel}),r.createElement(p.SelectBox,{options:a,onChange:this.checkItem,id:"select-area-filter",defaultOptionText:"Välj filter",fieldName:"area-select",label:this.props.filtersLabel}))),f&&f.length>0&&r.createElement("div",{id:"area-filters",className:"search-result__details-content search-result__more-filter d-none"+(this.state.showFilter?" d-md-flex":"")},r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},u("categories")),r.createElement("div",{className:"d-flex flex-wrap"},f.map(function(n,t){return r.createElement(v.ToggleBox,{key:"searchfilterbox-".concat(t),label:n.Name,value:n.Id.toString(),cssClass:"",onChangeCb:h.SelectedItems})}))),r.createElement("button",{className:"button search-result__button",onClick:this.setFilters,type:"button"},u("updateSearch")))))),e&&r.createElement("div",{className:"container"},r.createElement("div",{className:"row justify-content-center"},r.createElement("div",{className:"col-lg-10"},r.createElement("div",{className:"search-result__no-results"},u("tryAgainLater"))))),!e&&r.createElement("div",{className:"search-result__results-wrapper",role:"alert"},r.createElement("div",{className:"container"},r.createElement("div",{className:"row justify-content-center"},r.createElement("div",{className:"col-lg-10"},r.createElement("div",{className:"search-result__info"},r.createElement("div",{className:"search-result__info-heading"},w.formatString(u("showingXofYresults"),n.ResultItems.length.toString(),n.TotalHits.toString())))),r.createElement("div",{className:"col-lg-10"},c&&r.createElement(it.default,{darkColor:!0})),r.createElement("div",{className:"col-lg-10"},r.createElement("div",{className:"search-result__result",role:"log","aria-atomic":"false"},n.DidYouMean.length>0?this.renderDidYouMean():null,r.createElement(rt.ContentPagination,{data:n.ResultItems.map(this.renderItem),pageSize:s,pageCount:Math.ceil(n.TotalHits/s),onChangePageCb:this.setNewPage,noResultText:u("filterNoResult")})))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={searchSectionsLabel:"Filtrera på typ av innehåll",filtersLabel:"Filtrera på områden"},n}();t.SubWebGlobalSearch=l;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;e&&(e.register(u,"Translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SubWebGlobalSearch\\SubWebGlobalSearch.tsx"),e.register(l,"SubWebGlobalSearch","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\SubWebGlobalSearch\\SubWebGlobalSearch.tsx"));a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;a&&a(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n,t){return fetch(n,{headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t),credentials:"same-origin",method:"POST"}).then(function(n){return n.json()}).catch(function(n){return n.json()})}var i,r,u;Object.defineProperty(t,"__esModule",{value:!0});t.sendQueryToServer=f;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&i(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&r.register(f,"sendQueryToServer","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\utils\\sendQueryToServer.ts");(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function v(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function b(n){var t=g();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,nt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.WizardStepperStatic=void 0;r=v(i(1));i(757);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(){var n;return y(this,t),(n=i.apply(this,arguments)).renderSteps=function(n,t){var u=n.isActive?"wizardstepperstatic__step--active":"",i;return u+=n.done?" wizardstepperstatic__step--done":"",i=n.isActive?"Nuvarande steg ":"steg ",i+=t+1+": "+n.stepLabel,r.createElement("li",{key:"staticstep_".concat(t),className:"wizardstepperstatic__li"},r.createElement("div",{className:"wizardstepperstatic__step ".concat(u)}),r.createElement("div",{className:"sr-only"},i),r.createElement("div",{className:"wizardstepperstatic__label","aria-hidden":"true"},n.stepLabel))},n}w(t,n);var i=b(t);return p(t,[{key:"render",value:function(){var n=this.props.steps;return r.createElement("div",{className:"wizardstepperstaticwrapper"},r.createElement("ol",{className:"wizardstepperstatic","aria-label":"Var är jag i processen?"},n.map(this.renderSteps)),r.createElement("div",{className:"wizardstepperstatic__line"}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.WizardStepperStatic=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"WizardStepperStatic","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\WizardStepperStatic\\WizardStepperStatic.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function p(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var u,l,r,f,it,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.TabComponent=void 0;u=p(i(1));l=i(4);i(759);r=i(25);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var f;return w(this,t),(f=i.call(this,n)).hideAllPanels=function(n){n.forEach(function(n){n.selected=!1})},f.openTab=function(n,t){t.preventDefault();var i=f.state.tabs.slice();f.hideAllPanels(i);i.find(function(t){return t.tabId===n.tabId}).selected=!0;f.setState({tabs:i})},f.navigateByKeyDown=function(n,t){if(!t.shiftKey){if(t.preventDefault(),t.key===r.KeyboardEventKeys.tab)return document.getElementById(n.panelId).focus();if(t.key===r.KeyboardEventKeys.home||t.key===r.KeyboardEventKeys.end){var u=0,i=f.state.tabs.slice(0);f.hideAllPanels(i);t.key===r.KeyboardEventKeys.end&&(u=i.length-1);i[u].selected=!0;document.getElementById(i[u].tabId).focus();f.setState({tabs:i})}}},f.navigateByKeyUp=function(n){if(n.preventDefault(),n.key===r.KeyboardEventKeys.arrowLeft||n.key===r.KeyboardEventKeys.arrowRight){var i=f.state.tabs.slice(0),t=i.findIndex(function(n){return n.selected});switch(f.hideAllPanels(i),n.key){case r.KeyboardEventKeys.arrowLeft:t--;break;case r.KeyboardEventKeys.arrowRight:t++}t<0&&(t=i.length-1);t>i.length-1&&(t=0);i[t].selected=!0;document.getElementById(i[t].tabId).focus();f.setState({tabs:i})}},f.renderTab=function(n){return u.createElement("button",{className:"tabcomponent__tab",key:n.tabId,id:n.tabId,onClick:function(t){return f.openTab(n,t)},onKeyUp:f.navigateByKeyUp,onKeyDown:function(t){return f.navigateByKeyDown(n,t)},type:"button",role:"tab","aria-selected":n.selected,"aria-controls":"".concat(n.panelId),tabIndex:n.selected?0:-1},n.heading)},f.renderTabPanel=function(n){return u.createElement("div",{className:"tabcomponent__panel",key:n.panelId,id:n.panelId,tabIndex:n.selected?0:-1,role:"tabpanel","aria-labelledby":n.tabId,dangerouslySetInnerHTML:l.setInnerHtml(n.body),hidden:!n.selected})},f.state={tabs:n.tabs},f}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var t=this.props.tabDescription,n=this.state.tabs;return u.createElement("div",{className:"tabcomponent"},u.createElement("div",{role:"tablist","aria-label":t,className:"tabcomponent__tabs"},n.map(this.renderTab)),n.map(this.renderTabPanel))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(u.Component);t.TabComponent=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"TabComponent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\TabComponent\\TabComponent.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function p(n){return n&&n.__esModule?n:{"default":n}}function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==a(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,l,o,it,u,f,h,e,c;Object.defineProperty(t,"__esModule",{value:!0});t.VerticalProgress=t.VerticalProgressIcon=void 0;r=p(i(1));i(761);l=i(3);o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;o&&o(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};t.VerticalProgressIcon=u;f=u||(t.VerticalProgressIcon=u={});f.NoIcon="NoIcon";f.Empty="Empty";f.Checkmark="Checkmark";f.Attention="Attention";h=function(){var n=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).getIconString=function(n){return n===u.Empty||n===u.NoIcon?"":n},r.flipExpanded=function(){r.setState({isCollapsed:!r.state.isCollapsed})},r.getSpokenText=function(n,t){return"Steg "+t+(n.date&&n.date.trim().length>0?" med datum "+n.date+": ":": ")+n.status+(n.details?". "+n.details:"")},r.state={isCollapsed:!0},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var t=this,i=this.props,a=i.sectionLabel,f=i.steps,v=i.isCollapsible,n=this.state.isCollapsed,o=v&&f.length>3,y=n?"Visa mer":"Visa mindre",s="",h="",e="",c="";return o&&(s=n?"verticalprogress--collapsed":"",h=n?"":"verticalprogress__overlay--hidden",c=n?"":"verticalprogress--expanded",e=n?"arrow-up--flipped":""),r.default.createElement("section",{className:"verticalprogress ".concat(s," ").concat(c),"aria-label":a},f&&r.default.createElement(r.default.Fragment,null,r.default.createElement("ol",{className:"verticalprogress__list"},f.map(function(n,i){var f="".concat(n.details?"attention":""),e="".concat(n.isActive?"active":""),o="".concat(n.icon==u.NoIcon?"no-icon":"");return r.default.createElement("li",{key:"vp-item-".concat(i),className:"verticalprogress__item ".concat(f," ").concat(e," ").concat(o)},t.getIconString(n.icon)&&r.default.createElement(l.Icon,{className:"verticalprogress__icon",iconType:t.getIconString(n.icon)}),r.default.createElement("div",{className:"sr-only"},t.getSpokenText(n,i+1)),r.default.createElement("div",{className:"verticalprogress__status","aria-hidden":"true"},n.status),n.details&&r.default.createElement("div",{className:"verticalprogress__details","aria-hidden":"true"},n.details),n.date&&r.default.createElement("time",{dateTime:n.date,"aria-hidden":"true"},n.date))})),o&&r.default.createElement("div",{className:"verticalprogress__overlay ".concat(h)},r.default.createElement("button",{className:"stripped-button verticalprogress__overlay__link ".concat(e),onClick:this.flipExpanded},r.default.createElement("span",null,y,r.default.createElement("span",{className:"arrow-up ".concat(e)}))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component);return n.defaultProps={isCollapsible:!1},n}();t.VerticalProgress=h;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;e&&(e.register(u,"VerticalProgressIcon","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\VerticalProgress\\VerticalProgress.tsx"),e.register(h,"VerticalProgress","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\VerticalProgress\\VerticalProgress.tsx"));c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function p(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,l,u,f,it,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.ChapterList=void 0;r=p(i(1));i(407);l=i(6);u=i(408);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).toggleExpanded=function(){r.setState({IsOpen:!r.state.IsOpen})},r.state={IsOpen:!1},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var f=this,t=this.props,e=t.hideIcon,o=t.heading,n=t.chapters,i=this.state.IsOpen;return r.createElement("div",{className:"chapter-list ".concat(i?"chapter-list--expanded":"")},r.createElement("button",{className:"chapter-list__head","aria-label":"Öppna eller stäng kapitelmenyn",onClick:this.toggleExpanded},r.createElement("span",{className:"chapter-list__chevron chevron ".concat(i?"chevron--bottom":"")}),r.createElement("span",{className:"chapter-list__icon-container"},!e&&r.createElement(l.Icon,{className:"chapter-list__chapter-icon",iconType:"kapitel"})),r.createElement("span",{className:"chapter-list__heading"},o)),r.createElement("ol",{className:"chapter-list__chapters"},u.isStringArray(n)&&n.map(function(n,t){return r.createElement("li",{key:"chapterlist-".concat(t)},r.createElement("a",{onClick:f.toggleExpanded,className:"chapter-list__link",href:"#".concat(t+1)},n))}),!u.isStringArray(n)&&n.map(function(n,t){return r.createElement("li",{key:"chapterlist-".concat(t)},r.createElement("a",{className:"chapter-list__link",href:n.Href},n.Title))})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.ChapterList=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"ChapterList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ChapterList\\ChapterList.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function v(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,l,u,f,it,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.ChapterSidebar=void 0;r=v(i(1));l=v(i(4));i(407);u=i(408);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var r;return w(this,t),(r=i.call(this,n)).scrollTo=function(n){n.preventDefault();var t=n.currentTarget.attributes.getNamedItem("data-index").value;l.smoothScrollTo(document.getElementById(t))},r}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var t=this,n=this.props.headings;return r.createElement("nav",{className:"chapter-sidebar__chapters","aria-label":"Länklista av kapitel för denna sida"},r.createElement("ol",null,u.isStringArray(n)&&n.map(function(n,i){return r.createElement("li",{key:"chaptersidebar-".concat(i)},r.createElement("a",{role:"button",onClick:t.scrollTo,"data-index":i+1,className:"chapter-sidebar__link"},n))}),!u.isStringArray(n)&&n.map(function(n,t){return n&&r.createElement("li",{key:"chaptersidebar-".concat(t)},r.createElement("a",{className:"chapter-sidebar__link",href:n.Href},n.Title))})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.ChapterSidebar=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"ChapterSidebar","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\ChapterList\\ChapterSidebar.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var o,r,u;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;r=function(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));u=i(15);(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var f,s,h=function(n){var i=n.heading,e=n.bodytext,o=n.cssClass,t=n.icon,f=!i&&t;return r.createElement("div",{className:"attentionbox ".concat(o)},r.createElement("div",{className:"attentionbox__body ".concat(f?"attentionbox__body--noheader":"")},i&&r.createElement("div",{className:"attentionbox__header"},t&&r.createElement(u.Icon,{iconType:t}),i),f&&r.createElement(u.Icon,{iconType:t}),r.createElement("div",{className:"attentionbox__content ".concat(f?"attentionbox__content--noheader":""),dangerouslySetInnerHTML:u.setInnerHtml(e)})))},c=h,l=c;t.default=l;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(h,"AttentionBox","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\AttentionBox\\Attentionbox.tsx"),f.register(c,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\AttentionBox\\Attentionbox.tsx"));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function p(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var it,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.CommonStatutesItemList=void 0;var r=p(i(1)),u=i(3),y=i(136),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);it="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(){var n=function(n){function t(n){var u;return w(this,t),(u=i.call(this,n)).renderItem=function(n){return r.createElement("tr",{className:"",key:n.Id},r.createElement("td",null,r.createElement("a",{href:n.Url,target:"_blank"},n.Designation)),r.createElement("td",null,n.Heading),r.createElement("td",null,n.Year),r.createElement("td",null,n.Authority))},u.onSortChange=function(n){var i=n.currentTarget.innerText,r=u.state.currentSort,t=r;if(""!=r.type&&r.type!=i&&(t={type:"",currentSort:"default",sort:function(n){return n}}),"down"===t.currentSort)switch(t.currentSort="up",i){case"Myndighet":t.sort=function(n,t){return n.Authority<t.Authority?1:-1};break;case"Beteckning":t.sort=function(n,t){return n.Designation<t.Designation?1:-1};break;case"Rubrik":t.sort=function(n,t){return n.Heading<t.Heading?1:-1};break;case"Årtal":t.sort=function(n,t){return n.Year<t.Year?1:-1}}else if("up"===t.currentSort)t.currentSort="default",t.sort=function(n){return n};else if("default"===t.currentSort)switch(t.currentSort="down",i){case"Myndighet":t.sort=function(n,t){return n.Authority>t.Authority?1:-1};break;case"Beteckning":t.sort=function(n,t){return n.Designation>t.Designation?1:-1};break;case"Rubrik":t.sort=function(n,t){return n.Heading>t.Heading?1:-1};break;case"Årtal":t.sort=function(n,t){return n.Year>t.Year?1:-1}}t.type=i;u.setState({currentSort:t});u.props.sortTable(t)},u.setNewPage=function(n){u.setState({pageNo:n});u.props.setNewPage(n)},u.state={currentSort:{type:"",currentSort:"default",sort:function(n){return n}},activeStep:1,pageNo:1},u}k(t,n);var i=d(t);return b(t,[{key:"render",value:function(){var t="down"===this.state.currentSort.currentSort?" statutes-filter-page--rotate-icon":"",i=this.state,f=i.pageNo,n=i.currentSort,e=this.props,s=e.pageSize,h=e.totalItems,o=Math.ceil(h/s);return r.createElement("div",{className:"statutes-filter-page__table-wrapper table-responsive"},r.createElement("table",{role:"grid",className:"table table-striped"},r.createElement("caption",{className:"sr-only"},"Lista med gemensam författningssamling"),r.createElement("thead",null,r.createElement("tr",null,r.createElement("th",{"aria-sort":"Beteckning"===n.type&&"down"===n.currentSort?"ascending":"Beteckning"===n.type&&"up"===n.currentSort?"descending":"none",className:"statutes-filter-page__column",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center statutes-filter-page__button"},"Beteckning","Beteckning"===n.type&&"default"!=n.currentSort&&r.createElement(u.Icon,{className:"statutes-filter-page__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"}))),r.createElement("th",{"aria-sort":"Rubrik"===n.type&&"down"===n.currentSort?"ascending":"Rubrik"===n.type&&"up"===n.currentSort?"descending":"none",className:"statutes-filter-page__column",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center statutes-filter-page__button"},"Rubrik","Rubrik"===n.type&&"default"!=n.currentSort&&r.createElement(u.Icon,{className:"statutes-filter-page__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"}))),r.createElement("th",{"aria-sort":"Årtal"===n.type&&"down"===n.currentSort?"ascending":"Årtal"===n.type&&"up"===n.currentSort||""==n.type||"default"==n.currentSort?"descending":"none",className:"statutes-filter-page__column",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center statutes-filter-page__button"},"Årtal","Årtal"===n.type&&"default"!=n.currentSort&&r.createElement(u.Icon,{className:"statutes-filter-page__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"}))),r.createElement("th",{"aria-sort":"Myndighet"===n.type&&"down"===n.currentSort?"ascending":"Myndighet"===n.type&&"up"===n.currentSort?"descending":"none",className:"statutes-filter-page__column",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center statutes-filter-page__button"},"Myndighet","Myndighet"===n.type&&"default"!=n.currentSort&&r.createElement(u.Icon,{className:"statutes-filter-page__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"}))))),r.createElement("tbody",null,this.props.statuteItems.map(this.renderItem))),r.createElement(y.Pagination,{steps:o,activeStep:f<=o?f:1,onStepChangeCb:this.setNewPage,nextLabel:"Nästa",previousLabel:"Föregående",showNextOnLastPage:!0,showPreviousOnFirstPage:!0}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={sortTable:function(){},setNewPage:function(){}},n}();t.CommonStatutesItemList=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"CommonStatutesItemList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\CommonStatutesItemList\\CommonStatutesItemList.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.LinkPuff=void 0;r=y(i(1));c=i(3);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(){return p(this,t),i.apply(this,arguments)}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var n=this.props,t=n.cssClass,i=n.heading,u=n.link,f=n.text;return r.createElement("div",{className:"".concat(t)},r.createElement("a",{href:u},r.createElement("h2",null,i,r.createElement(c.Icon,{className:"",iconType:"fontawesome/chevron-left"}))),r.createElement("div",{dangerouslySetInnerHTML:{__html:f},className:"linkedpuff__text"}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={cssClass:""},n}();t.LinkPuff=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"LinkPuff","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\components\\LinkPuff\\LinkPuff.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";var r,u,f,e,o,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});r=i(392);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(768);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(36);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(390);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});o=i(63);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[n]}})});s=i(142);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return s[n]}})});h=i(396);Object.keys(h).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return h[n]}})});c=i(397);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return c[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){var r,i,u,f;Object.defineProperty(t,"__esModule",{value:!0});t.HTTPMethod=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.HTTPMethod=i,function(n){n[n.GET=0]="GET";n[n.POST=1]="POST";n[n.DELETE=2]="DELETE";n[n.PATCH=3]="PATCH"}(i||(t.HTTPMethod=i={}));(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"HTTPMethod","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\services\\constants.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";var r,u;Object.defineProperty(t,"__esModule",{value:!0});r=i(770);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(44);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function p(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function b(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function k(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function d(n){var t=tt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),g(this,i)}}function g(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?nt(n):t}function nt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function tt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var s,h,u;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;s=p(i(1));h=i(44);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);var rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},v=function(n){function t(n){var r;return w(this,t),r=i.call(this,n),h.getStore(function(n){r.Store=n;r.dispatch=r.Store.dispatch;r.unsubscribeToken=r.Store.subscribe(r.listener)}),r}k(t,n);var i=d(t);return b(t,[{key:"componentWillUnmount",value:function(){this.unsubscribeToken&&this.unsubscribeToken()}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(s.Component),y=v,it=y,r,o;t.default=it;r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;r&&(r.register(v,"StoreComponent","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\StoreComponent.tsx"),r.register(y,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\Redux\\StoreComponent.tsx"));o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;o&&o(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,rt,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});t.FileInformation=void 0;r=w(i(1));i(409);var f=i(30),a=i(25),u=i(8),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(n){function t(n){var e;return b(this,t),(e=i.call(this,n)).getInitialFilterState=function(n){var t=new Map;return n.forEach(function(n){t.has(n)||t.set(n,!1)}),t},e.onDetailsToggle=function(n){var i=n.currentTarget.open?"Dölj":"Visa",t;("keydown"!==n.type||(t=n,t.key===a.KeyboardEventKeys.enter||t.key===a.KeyboardEventKeys.space))&&u.pushTagManagerEvent("accordion","Bilagor",i)},e.hideLoadMore=function(){var n=e.state.limit;return e.props.SharePointItem.length-n>0?e.setState({LoadMoreHidden:!0}):e.setState({LoadMoreHidden:!1})},e.searchSubmit=function(n){var r,t,i,f;if(n.preventDefault(),""===e._previousSearchValue&&u.pushTagManagerEvent("search","Sök","Sökfält","(not set)"),r=e._previousSearchValue=e.searchField.value.toLowerCase(),t=e.props.SharePointItem.filter(function(n){if(null!=n.Titel)return-1!==n.Titel.toLowerCase().indexOf(r)||null!=n.ArticleNumber&&-1!==n.ArticleNumber.toLowerCase().indexOf(r)||null!=n.BilagaDocuments&&n.BilagaDocuments.some(function(n){return n.Titel.toLowerCase()===r})||null!=n.BilagaDocuments&&n.BilagaDocuments.some(function(n){return n.ArticleNumber.toLowerCase()===r})}),t.every(function(n){return n.Visable=!1}),null!=t)for(i=0;i<t.length;i++)if(null!=t[i].BilagaDocuments)for(f=0;f<t[i].BilagaDocuments.length;f++)t[i].BilagaDocuments[f].ArticleNumber.toLowerCase()!=r&&t[i].BilagaDocuments[f].Titel.toLowerCase()!=r||(t[i].Visable=!0);return e.setState({SharePointItem:t})},e.checkItem=function(n){var t=n.currentTarget.value,r=n.currentTarget.checked,f=!1,o=!1,s=!1,h=!1,c=!1,l=null,a=null,v=null,y=null,p=null,i;e.state.selectedItemsMap.has(t)&&((l=new Map(e.state.selectedItemsMap)).set(t,r),f=!0);e.state.selectedYearMap.has(t)&&((a=new Map(e.state.selectedYearMap)).set(t,r),o=!0);e.state.selectedProductAndAmne.has(t)&&((v=new Map(e.state.selectedProductAndAmne)).set(t,r),s=!0);e.state.selectedLanguage.has(t)&&((y=new Map(e.state.selectedLanguage)).set(t,r),h=!0);e.state.selectedWebbDocumentlist.has(t)&&((p=new Map(e.state.selectedWebbDocumentlist)).set(t,r),c=!0);i={};f&&(i.selectedItemsMap=l);o&&(i.selectedYearMap=a);s&&(i.selectedProductAndAmne=v);h&&(i.selectedLanguage=y);c&&(i.selectedWebbDocumentlist=p);u.pushTagManagerEvent("search","Sök","Filter",t);e.setState(i)},e.onLoadMore=function(){e.setState({limit:e.state.limit+10});e.hideLoadMore()},e.filterItemsToRender=function(){var t=e.state,i=t.SharePointItem,p=t.selectedItemsMap,w=t.selectedYearMap,b=t.selectedProductAndAmne,k=t.selectedLanguage,d=t.selectedWebbDocumentlist,f=u.getSelectedItemsFromMap(p),o=u.getSelectedItemsFromMap(w),r=u.getSelectedItemsFromMap(b),s=u.getSelectedItemsFromMap(k),h=u.getSelectedItemsFromMap(d),c=0===f.length,l=0===o.length,a=0===r.length,v=0===s.length,y=0===h.length,n;return c&&l&&a&&v&&y?i:(n=i.slice(),c||(n=i.filter(function(n){return 0!=n.CategoryList.length&&f.filter(function(t){return n.CategoryList.includes(t)}).length>0})),l||(n=n.filter(function(n){return 0!==n.CategoryList.length&&o.filter(function(t){return n.CategoryList.includes(t)}).length>0})),a||(n=n.filter(function(n){var t,i;if(0===n.CategoryList.length)return!1;if(t=r.filter(function(t){return n.CategoryList.includes(t)}),0==t.length&&n.BilagaDocuments.length>0&&0==t.length)for(i=0;i<n.BilagaDocuments.length;i++)return(t=r.filter(function(t){return n.BilagaDocuments[i].CategoryList.includes(t)})).length>0;return t.length>0})),v||(n=n.filter(function(n){return 0!==n.CategoryList.length&&s.filter(function(t){return n.CategoryList.includes(t)}).length>0})),y||(n=n.filter(function(n){return 0!==n.CategoryList.length&&h.filter(function(t){return n.CategoryList.includes(t)}).length>0})),n.slice())},e.renderCheckbox=function(){return r.createElement("div",{className:"page-list__filters filters fileinformation__wrapper-column"},null!=e.props.FiltermandatoryList&&r.createElement("div",{className:"fileinformation__filter-accordion-container fileinformation__mandatorywrapper"},r.createElement("fieldset",null,r.createElement("legend",{className:"filters__filter-text"},e.props.FiltermandatoryListHeading),r.createElement("div",{className:"page-list__filters filters__show"},(e.props.FiltermandatoryList||[]).map(function(n,t){return r.createElement(f.ToggleBox,{key:"filtermandatorylist-".concat(t),label:n,value:n,onChangeCb:e.checkItem,cssClass:"togglebox--white"})})))),null!=e.props.ProductAndSubjectsList&&e.props.ProductAndSubjectsList.length>0&&r.createElement("div",{className:"fileinformation__wrapper-column-item"},r.createElement("details",{onClick:e.onDetailsToggle,onKeyDown:e.onDetailsToggle},r.createElement("summary",{id:"productandsubjectslist-summary",className:"fileinformation__summary"},e.props.FilterProductAndSubjectsHeading),r.createElement("fieldset",null,r.createElement("legend",{"aria-describedby":"productandsubjectslist-summary",className:"sr-only"}),r.createElement("div",{className:"filters__filter-item fileinformation__filter-item page-list__filters  filters__show"},(e.props.ProductAndSubjectsList||[]).map(function(n,t){return r.createElement(f.ToggleBox,{key:"productandsubjectslist-".concat(t),label:n,value:n,onChangeCb:e.checkItem,cssClass:"togglebox--white"})}))))),null!=e.props.FilterLanguageList&&e.props.FilterLanguageList.length>0&&r.createElement("div",{className:"fileinformation__wrapper-column-item"},r.createElement("details",{onClick:e.onDetailsToggle,onKeyDown:e.onDetailsToggle},r.createElement("summary",{id:"filterlanguagelist-summary",className:"fileinformation__summary"},e.props.FilterLanguageListHeading),r.createElement("fieldset",null,r.createElement("legend",{"aria-describedby":"filterlanguagelist-summary",className:"sr-only"}),r.createElement("div",{className:"filters__filter-item fileinformation__filter-item page-list__filters  filters__show"},(e.props.FilterLanguageList||[]).map(function(n,t){return r.createElement(f.ToggleBox,{key:"filterlanguagelist-".concat(t),label:n,value:n,onChangeCb:e.checkItem,cssClass:"togglebox--white"})}))))),null!=e.props.FilterYearList&&e.props.FilterYearList.length>0&&r.createElement("div",{className:"fileinformation__wrapper-column-item"},r.createElement("details",{onClick:e.onDetailsToggle,onKeyDown:e.onDetailsToggle},r.createElement("summary",{id:"filteryearlist-summary",className:"fileinformation__summary"},e.props.FilterYearListHeading),r.createElement("fieldset",null,r.createElement("legend",{"aria-describedby":"filteryearlist-summary",className:"sr-only"}),r.createElement("div",{className:"filters__filter-item fileinformation__filter-item page-list__filters  filters__show"},(e.props.FilterYearList||[]).map(function(n,t){return r.createElement(f.ToggleBox,{key:"filteryearlist-".concat(t),label:n,value:n,onChangeCb:e.checkItem,cssClass:"togglebox--white"})}))))),null!=e.props.FilterWebbDocumentlist&&e.props.FilterWebbDocumentlist.length>0&&r.createElement("div",{className:"fileinformation__wrapper-column-item"},r.createElement("details",{onClick:e.onDetailsToggle,onKeyDown:e.onDetailsToggle},r.createElement("summary",{id:"filterwebbdocumentlist-summary",className:"fileinformation__summary"},e.props.FilterWebbDocumentListHeading),r.createElement("fieldset",null,r.createElement("legend",{"aria-describedby":"filterwebbdocumentlist-summary",className:"sr-only"}),r.createElement("div",{className:"filters__filter-item fileinformation__filter-item page-list__filters  filters__show"},(e.props.FilterWebbDocumentlist||[]).map(function(n,t){return r.createElement(f.ToggleBox,{key:"filterwebbdocumentlist-".concat(t),label:n,value:n,onChangeCb:e.checkItem,cssClass:"togglebox--white"})}))))))},e.onLinkItemClicked=function(n){u.pushTagManagerEvent("search","Sök","Klick resultat",n.currentTarget.href)},e.renderItem=function(n,t){var i="Sidor"!=n.ItemType?"file-extension-icon ":"",o=null==n.Titel?"fileinformation__hide-item":"",u="",f;return(u=n.FileUrl).indexOf(".indd")>-1&&(i="file-extension-icon pdf "),f=n.CanShop?"col-lg-10 row display-block":"col-lg-12 row display-block",r.createElement("li",{className:"fileinformation__first-level"+o+(n.Visable?" fileinformation__first-level fileinformation__first-level--modify":""),key:t},null!=n.Titel&&""!=n.Titel&&r.createElement("div",null,r.createElement("div",{className:"fileinformation__item-wrapper"+(n.BilagaDocuments!=[]?" fileinformation__visible-second-level":"")},r.createElement("div",{className:f},n.OnlyOrderAble&&r.createElement("div",{className:i+n.IconClass},r.createElement("span",{className:"fileinformation__item-title"}," ",n.Titel)),0==n.OnlyOrderAble&&r.createElement("a",{className:i+n.IconClass,href:u,onClick:e.onLinkItemClicked},r.createElement("span",{className:"fileinformation__item-title"}," ",n.Titel)),"Sidor"!=n.ItemType&&r.createElement("span",{className:"fileinformation__item-publish-date"},r.createElement("span",{className:"fileinformation__item-articlenumber-wrapper text-micro"},e.props.Articlenumber," ",n.ArticleNumber),r.createElement("span",{className:"fileinformation__item-divider"},"|"),r.createElement("span",{className:"fileinformation__item-publish-date-wrapper text-micro"},e.props.Published," ",n.Startdate))),n.CanShop&&r.createElement("a",{className:"fileinformation__item-shop",href:n.ShoppingAdressUrl},r.createElement("div",{className:"fileinformation__item-shop-icon"}),e.props.Order)),null!=n.BilagaDocuments&&n.BilagaDocuments.length>0&&r.createElement("details",{onClick:e.onDetailsToggle,onKeyDown:e.onDetailsToggle},r.createElement("summary",{className:"fileinformation__second-level-wrapper"},e.props.Attachments),r.createElement("ul",{className:"fileinformation__second-level-ul"},(n.BilagaDocuments||[]).map(function(n,t){var u=n.FileUrl;return u.indexOf(".indd")>-1&&(i="file-extension-icon pdf "),r.createElement("li",{key:"".concat(n.ArticleNumber,"-").concat(t),className:"fileinformation__second-level"},r.createElement("a",{className:i+n.IconClass,href:u},r.createElement("span",{className:"fileinformation__item-title"}," ",n.Titel)))}))),"Sidor"==n.ItemType&&r.createElement("div",{className:"fileinformation__item-publish-date fileinformation__item-publish-date-page"}," ",r.createElement("span",{className:"text-micro"}," Publicerad ",n.Startdate," "))))},e._previousSearchValue="",e.state={selectedItemsMap:e.getInitialFilterState(n.FiltermandatoryList),selectedYearMap:e.getInitialFilterState(n.FilterYearList),selectedProductAndAmne:e.getInitialFilterState(n.ProductAndSubjectsList),selectedLanguage:e.getInitialFilterState(n.FilterLanguageList),selectedWebbDocumentlist:e.getInitialFilterState(n.FilterWebbDocumentlist),visable:{},SharePointItem:e.props.SharePointItem,opened:[],limit:10,LoadMoreHidden:!1},e}d(t,n);var i=g(t);return k(t,[{key:"componentDidMount",value:function(){this.hideLoadMore()}},{key:"render",value:function(){var i=this,t=this.props.searchId,n=this.filterItemsToRender().map(this.renderItem);return r.createElement("div",{className:"fileinformation__wrapper block-margin"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-lg-12"},r.createElement("div",{className:"fileinformation__filter-heading heading-small"},this.props.Heading)),r.createElement("div",{className:"col-lg-8"},r.createElement("form",{onSubmit:this.searchSubmit,role:"search","aria-label":"Sök inom ".concat(this.props.Heading)},r.createElement("span",{className:"search"},r.createElement("label",{htmlFor:t,className:"sr-only"},"Ange söktext"),r.createElement("input",{id:t,onChange:this.searchSubmit,type:"search",ref:function(n){return i.searchField=n},placeholder:this.props.SearchText}),r.createElement("input",{"aria-label":"Sök",className:"search__button",type:"submit",value:""})))),r.createElement("div",{className:"col-lg-12"},this.renderCheckbox(),r.createElement("div",{className:"fileinformation",role:"log","aria-atomic":"false"},r.createElement("div",{className:"fileinformation__heading fileinformation__list-heading"},this.props.SubHeading),r.createElement("div",{className:"fileinformation__items-counts"},this.props.ItemsCount),n.length>0&&r.createElement("ul",null,n.slice(0,this.state.limit)),this.searchField&&0==n.length&&r.createElement("div",{className:"fileinformation__no-results"},""==this.searchField.value.toLowerCase()&&r.createElement("div",null,"Din filterering gav tyvärr inga träffar."),""!=this.searchField.value.toLowerCase()&&r.createElement("div",null,'Din sökning på "',this.searchField.value.toLowerCase(),'" gav tyvärr inga träffar.'))))),this.state.LoadMoreHidden&&this.props.SharePointItem.length>this.state.limit&&n.length>this.state.limit&&r.createElement("button",{className:"page-list__load-more",onClick:this.onLoadMore},"Ladda mer (",n.length-this.state.limit,") kvar"))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.FileInformation=h;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;c&&c.register(h,"FileInformation","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\FileInformation\\FileInformation.tsx");l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function v(){return(v=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,l,f,rt,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.Publication=void 0;r=w(i(1));i(409);u=i(25);l=i(8);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var f;return b(this,t),(f=i.call(this,n)).onDetailsToggle=function(n){var i=n.currentTarget.open?"Dölj":"Visa",t;("keydown"!==n.type||(t=n,t.key===u.KeyboardEventKeys.enter||t.key===u.KeyboardEventKeys.space))&&l.pushTagManagerEvent("accordion","Bilagor",i)},f.renderItem=function(n){var u=null==n.Titel?"fileinformation__hide-item":"",t="Sidor"!=n.ItemType?"file-extension-icon ":"",e=n.CanShop?"col-lg-10 row display-block":"col-lg-12 row display-block",i={};return n.FileUrl.indexOf(".indd")>-1&&(t="file-extension-icon pdf "),f.props.ShowAttachments&&(i={open:"open"}),r.createElement("div",{className:"fileinformation__first-level"+u+(n.Visable?" fileinformation__first-level fileinformation__first-level--modify":"")},null!=n.Titel&&""!=n.Titel&&r.createElement("div",{className:"fileinformation__item"},r.createElement("div",{className:"fileinformation__item-wrapper"+(n.BilagaDocuments!=[]?" fileinformation__visible-second-level":"")},r.createElement("div",{className:e},n.OnlyOrderAble&&r.createElement("div",{className:t+n.IconClass},r.createElement("span",{className:"fileinformation__item-title"}," ",n.Titel)),0==n.OnlyOrderAble&&r.createElement("a",{className:t+n.IconClass,href:n.FileUrl},r.createElement("span",{className:"fileinformation__item-title"}," ",n.Titel)),"Sidor"!=n.ItemType&&r.createElement("span",{className:"fileinformation__item-publish-date"},r.createElement("span",{className:"fileinformation__item-articlenumber-wrapper text-micro"},f.props.Articlenumber," ",n.ArticleNumber),r.createElement("span",{className:"fileinformation__item-divider"},"|"),r.createElement("span",{className:"fileinformation__item-publish-date-wrapper text-micro"},f.props.Published," ",n.Date))),n.CanShop&&r.createElement("a",{className:"fileinformation__item-shop",href:n.ShoppingAdressUrl},r.createElement("div",{className:"fileinformation__item-shop-icon"}),f.props.Order)),null!=n.BilagaDocuments&&n.BilagaDocuments.length>0&&r.createElement("details",v({onClick:f.onDetailsToggle,onKeyDown:f.onDetailsToggle},i),r.createElement("summary",{className:"fileinformation__second-level-wrapper"},f.props.Attachments),r.createElement("ul",{className:"fileinformation__second-level-ul"},(n.BilagaDocuments||[]).map(function(n){var i=n.FileUrl;return i.indexOf(".indd")>-1&&(t="file-extension-icon pdf "),r.createElement("li",{key:"publication-attachment-".concat(n.FileUrl),className:"fileinformation__second-level"},r.createElement("a",{className:t+n.IconClass,href:i},r.createElement("span",{className:"fileinformation__item-title"}," ",n.Titel)))})))))},f.state={visable:{},SharePointItem:f.props.SharePointItem},f}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){return r.createElement("div",null,this.renderItem(this.props.SharePointItem))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.Publication=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"Publication","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\Publication\\Publication.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,rt,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});t.PressListning=void 0;r=w(i(1));i(774);var u=i(30),p=i(61),f=i(8),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(n){function t(n){var e;return b(this,t),(e=i.call(this,n)).getInitialFilterState=function(n){var t=new Map;return n.forEach(function(n){t.has(n)||t.set(n,!1)}),t},e.onCategoryChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(e.state.selectedItemsMap);t.set(i,r);e.setState({selectedItemsMap:t})},e.onYearChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(e.state.selectedYearMap);t.set(i,r);e.setState({selectedYearMap:t})},e.onPressChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(e.state.selectedPressMap);t.set(i,r);e.setState({selectedPressMap:t})},e.filterItemsToRender=function(){var t=e.state,i=t.filteredItemList,l=t.selectedItemsMap,a=t.selectedYearMap,v=t.selectedPressMap,r=f.getSelectedItemsFromMap(l),u=f.getSelectedItemsFromMap(v),o=f.getSelectedItemsFromMap(a),s=0===u.length,h=0===o.length,c=0===r.length,n;return c&&h&&s?i.slice():(n=i.slice(),c||(n=i.filter(function(n){return 0!==n.CategoryList.length&&r.filter(function(t){return n.CategoryList.includes(t)}).length>0})),s||(n=n.filter(function(n){return 0!==n.CategoryList.length&&u.filter(function(t){return n.CategoryList.includes(t)}).length>0})),h||(n=n.filter(function(n){return 0!==n.CategoryList.length&&o.filter(function(t){return n.CategoryList.includes(t)}).length>0})),n.slice())},e.renderCheckbox=function(){return r.createElement("div",{className:"search-result__filters page-list__filters"},r.createElement("div",{className:"search-result__filter-categories"},e.props.FilteMandatroyCategories.length>0&&r.createElement("div",{className:"search-result__filter-item-heading filters__filter-text","aria-hidden":"true"},"Verksamhetsområden"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Verksamhetsområden"),r.createElement("div",{className:"search-result__filter-item"},(e.props.FilteMandatroyCategories||[]).map(function(n,t){return r.createElement(u.ToggleBox,{key:"verksamhetsomradenfilterbox-".concat(t),label:n,value:n,onChangeCb:e.onCategoryChange})})))),r.createElement("div",{className:"search-result__filter-categories"},e.props.FiltePressCategories.length>0&&r.createElement("div",{className:"search-result__filter-item-heading filters__filter-text","aria-hidden":"true"},"Press"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Press"),r.createElement("div",{className:"search-result__filter-item"},(e.props.FiltePressCategories||[]).map(function(n,t){return r.createElement(u.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,onChangeCb:e.onPressChange})})))),r.createElement("div",{className:"search-result__filter-categories presslistning__full-width"},e.props.FilterYearCategories.length>0&&r.createElement("div",{className:"search-result__filter-item-heading filters__filter-text","aria-hidden":"true"},"Årtal"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Årtal"),r.createElement("div",{className:"search-result__filter-item"},(e.props.FilterYearCategories||[]).map(function(n,t){return r.createElement(u.ToggleBox,{key:"yearfilterbox-".concat(t),label:n,value:n,onChangeCb:e.onYearChange})})))))},e.renderItem=function(n){return r.createElement("article",{key:n.Id,className:"page-list__item-two-item"},r.createElement("div",{className:"page-list__item-two-item-container"},r.createElement("time",{dateTime:n.Date,className:"page-list__item-two-item-date"},n.Date),r.createElement("div",{className:"page-list__item-two-item-text"},r.createElement("h3",null,r.createElement("a",{href:n.Url},n.Heading)),r.createElement("span",{className:"presslistning__pressValue"},n.PressValue),r.createElement("p",null," ",n.Text))))},e.searchSubmit=function(n){n.preventDefault();var t=e.searchField.value,i=e.props.ArticleItemList.filter(function(n){return-1!==n.Heading.toLowerCase().indexOf(t.toLowerCase())||n.Heading.toLowerCase()==t.toLowerCase()||-1!==n.Text.toLowerCase().indexOf(t.toLowerCase())});return e.setState({filteredItemList:i})},e.state={checkedClass:"",filteredItemList:e.props.ArticleItemList,selectedItemsMap:e.getInitialFilterState(n.FilteMandatroyCategories),selectedYearMap:e.getInitialFilterState(n.FilterYearCategories),selectedPressMap:e.getInitialFilterState(n.FiltePressCategories)},e}d(t,n);var i=g(t);return k(t,[{key:"onChangePageCb",value:function(){document.body.scrollTop=50;document.documentElement.scrollTop=50}},{key:"render",value:function(){var t=this,n=this.props.searchId,i=this.filterItemsToRender().map(this.renderItem);return r.createElement("div",{className:"presslistning page-list"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-lg-6"},r.createElement("form",{onSubmit:this.searchSubmit,role:"search","aria-label":"Sök pressmeddelanden"},r.createElement("span",{className:"search"},r.createElement("label",{htmlFor:n,className:"sr-only"},"Ange söktext"),r.createElement("input",{id:n,onChange:this.searchSubmit,type:"search",ref:function(n){return t.searchField=n},placeholder:"Sök"}),r.createElement("input",{"aria-label":"Sök",className:"search__button",type:"submit",value:""})))),r.createElement("div",{className:"col-lg-12"},this.renderCheckbox()," "),r.createElement("div",{className:"page-list__item-two-col-wrapper col-lg-12",role:"log","aria-atomic":"false"},r.createElement(p.ContentPagination,{data:i,pageSize:10,onChangePageCb:this.onChangePageCb,noResultText:"Det finns inga resultat att visa."}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.PressListning=h;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;c&&c.register(h,"PressListning","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\PressListning\\PressListning.tsx");l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var e,r,o,s,u;Object.defineProperty(t,"__esModule",{value:!0});t.CurrentPress=void 0;r=function(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(1));i(776);(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&e(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;u=function(n){return r.createElement("article",{key:n.Id,className:"page-list__item-two-item start-page-modifier"},r.createElement("div",{className:"page-list__item-two-item-container"},r.createElement("div",{className:"page-list__item-two-item-date"},r.createElement("time",{dateTime:n.Date},n.Date),n.ShowClock&&r.createElement("p",{className:"presslistning__clock text-micro"}," ",n.Clock)),r.createElement("div",{className:"page-list__item-two-item-text"},r.createElement("h3",{className:"heading-small h3--less-margin"},r.createElement("a",{href:n.Url},n.Heading)),r.createElement("span",{className:"presslistning__pressValue"},n.PressValue),n.ShowPreamble&&r.createElement("p",null," ",n.Text))))};t.CurrentPress=u;(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(u,"CurrentPress","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CurrentPress\\CurrentPress.tsx");(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function w(n){return n&&n.__esModule?n:{"default":n}}function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function b(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var r,h,c,f;Object.defineProperty(t,"__esModule",{value:!0});t.PodList=void 0;r=b(i(1));h=w(i(778));i(816);c=i(61);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);var ft="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},rt=function ut(){y(this,ut)},p=function(n){function t(n){var u;return y(this,t),(u=i.call(this,n)).renderItems=function(){return u.state.PodList},u.renderItem=function(n){return r.createElement("article",{key:n.Id,className:"col-md-12 col-sm-12 col-xs-12",id:n.Id},r.createElement("div",{className:"podlist__item"},r.createElement("div",{className:"podlist__item-header-wrapper"},r.createElement("div",{className:"podlist__item-id"},r.createElement("span",null,"# ",n.Id)),r.createElement("h2",{className:"podlist__item-heading"},n.Heading)),r.createElement("div",{className:"podlist__item-pramble"},n.Preamble),r.createElement("div",{className:"podlist__text-wrpper"},r.createElement("div",{className:"podlist__item-footer-text podlist__item-footer-text-last col-md-12 col-lg-7 col-sm-12 col-xs-12"},h.default(n.DownloadText)),r.createElement("a",{href:n.Link,className:"button podlist__item-lyssen-button col-md-12 col-lg-4 col-sm-12 col-xs-12"},n.LinkText))))},u.searchSubmit=function(n){n.preventDefault();var t=u.searchField.value,i=u.props.PodList.filter(function(n){return-1!==n.Heading.toLowerCase().indexOf(t.toLowerCase())||n.Heading.toLowerCase()==t.toLowerCase()||-1!==n.Preamble.toLowerCase().indexOf(t.toLowerCase())||-1!==n.DownloadText.toLowerCase().indexOf(t.toLowerCase())||-1!==n.LinkText.toLowerCase().indexOf(t.toLowerCase())});return u.setState({PodList:i})},u.state={PodList:u.props.PodList,hashCode:""},u}d(t,n);var i=g(t);return k(t,[{key:"componentDidMount",value:function(){var n=window.location.href,t=n.indexOf("#"),i;if(-1!=t)return i=n.substring(t+1),this.setState({hashCode:i})}},{key:"onChangePageCb",value:function(){document.body.scrollTop=50;document.documentElement.scrollTop=50}},{key:"render",value:function(){var i=this,u=this.props.searchId,n=this.renderItems().map(this.renderItem),f=Number(this.state.hashCode),t;return""==this.state.hashCode||isNaN(f)||(t=n.filter(function(n){return n.props.id==i.state.hashCode}),t.length>0&&(n=t)),r.createElement("div",{className:"podlist row"},r.createElement("div",{className:"col-lg-6"},r.createElement("form",{onSubmit:this.searchSubmit,role:"search","aria-label":"Sök poddar"},r.createElement("span",{className:"search"},r.createElement("label",{htmlFor:u,className:"sr-only"},"Ange söktext"),r.createElement("input",{id:u,onChange:this.searchSubmit,type:"search",ref:function(n){return i.searchField=n},placeholder:"Sök"}),r.createElement("input",{"aria-label":"Sök",className:"search__button",type:"submit",value:""})))),r.createElement("div",{className:"page-list__item-two-col-wrapper podlist__wrapper",role:"log","aria-atomic":"false"},r.createElement(c.ContentPagination,{data:n,pageSize:10,onChangePageCb:this.onChangePageCb,noResultText:"Det finns inga resultat att visa."})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component),u,s;t.PodList=p;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;u&&(u.register(rt,"PodItem","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\PodList\\PodList.tsx"),u.register(p,"PodList","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\PodList\\PodList.tsx"));s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;s&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var u,f,e,o;Object.defineProperty(t,"__esModule",{value:!0});t.htmlparser2=t.convertNodeToElement=t.processNodes=void 0;u=i(149);Object.defineProperty(t,"processNodes",{enumerable:!0,get:function(){return r(u).default}});f=i(410);Object.defineProperty(t,"convertNodeToElement",{enumerable:!0,get:function(){return r(f).default}});e=i(47);Object.defineProperty(t,"htmlparser2",{enumerable:!0,get:function(){return r(e).default}});o=r(i(815));t.default=o.default},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n){return"text"===n.type&&/\r?\n/.test(n.data)&&""===n.data.trim()}},function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}function f(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}var r;Object.defineProperty(t,"__esModule",{value:!0});var u=i(47),s=o(i(806)),h=o(i(807)),c=o(i(813)),e=o(i(814));t.default=(f(r={},u.ElementType.Text,s.default),f(r,u.ElementType.Tag,h.default),f(r,u.ElementType.Style,c.default),f(r,u.ElementType.Directive,e.default),f(r,u.ElementType.Comment,e.default),f(r,u.ElementType.Script,e.default),f(r,u.ElementType.CDATA,e.default),f(r,u.ElementType.Doctype,e.default),r)},function(n){n.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(n){"use strict";function t(){t.init.call(this)}function r(n){if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);}function s(n){return void 0===n._maxListeners?t.defaultMaxListeners:n._maxListeners}function h(n,t,i,u){var h,e,f,o;return(r(i),void 0===(e=n._events)?(e=n._events=Object.create(null),n._eventsCount=0):(void 0!==e.newListener&&(n.emit("newListener",t,i.listener?i.listener:i),e=n._events),f=e[t]),void 0===f)?(f=e[t]=i,++n._eventsCount):("function"==typeof f?f=e[t]=u?[i,f]:[f,i]:u?f.unshift(i):f.push(i),(h=s(n))>0&&f.length>h&&!f.warned)&&(f.warned=!0,o=new Error("Possible EventEmitter memory leak detected. "+f.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit"),o.name="MaxListenersExceededWarning",o.emitter=n,o.type=t,o.count=f.length,console&&console.warn),n}function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function c(n,t,i){var u={fired:!1,wrapFn:void 0,target:n,type:t,listener:i},r=y.bind(u);return r.listener=i,u.wrapFn=r,r}function l(n,t,i){var u=n._events,r;return void 0===u?[]:(r=u[t],void 0===r?[]:"function"==typeof r?i?[r.listener||r]:[r]:i?function(n){for(var i=new Array(n.length),t=0;t<i.length;++t)i[t]=n[t].listener||n[t];return i}(r):v(r,r.length))}function a(n){var i=this._events,t;if(void 0!==i){if(t=i[n],"function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function v(n,t){for(var r=new Array(t),i=0;i<t;++i)r[i]=n[i];return r}var e,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(n,t,i){return Function.prototype.apply.call(n,t,i)},u,f;e=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:function(n){return Object.getOwnPropertyNames(n)};u=Number.isNaN||function(n){return n!=n};n.exports=t;t.EventEmitter=t;t.prototype._events=void 0;t.prototype._eventsCount=0;t.prototype._maxListeners=void 0;f=10;Object.defineProperty(t,"defaultMaxListeners",{enumerable:!0,get:function(){return f},set:function(n){if("number"!=typeof n||n<0||u(n))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+n+".");f=n}});t.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0);this._maxListeners=this._maxListeners||void 0};t.prototype.setMaxListeners=function(n){if("number"!=typeof n||n<0||u(n))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+n+".");return this._maxListeners=n,this};t.prototype.getMaxListeners=function(){return s(this)};t.prototype.emit=function(n){for(var f,e,r,s,u,h,c,i=[],t=1;t<arguments.length;t++)i.push(arguments[t]);if(f="error"===n,e=this._events,void 0!==e)f=f&&void 0===e.error;else if(!f)return!1;if(f){if(i.length>0&&(r=i[0]),r instanceof Error)throw r;s=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw s.context=r,s;}if(u=e[n],void 0===u)return!1;if("function"==typeof u)o(u,this,i);else for(h=u.length,c=v(u,h),t=0;t<h;++t)o(c[t],this,i);return!0};t.prototype.addListener=function(n,t){return h(this,n,t,!1)};t.prototype.on=t.prototype.addListener;t.prototype.prependListener=function(n,t){return h(this,n,t,!0)};t.prototype.once=function(n,t){return r(t),this.on(n,c(this,n,t)),this};t.prototype.prependOnceListener=function(n,t){return r(t),this.prependListener(n,c(this,n,t)),this};t.prototype.removeListener=function(n,t){var i,f,e,u,o;if((r(t),void 0===(f=this._events))||void 0===(i=f[n]))return this;if(i===t||i.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete f[n],f.removeListener&&this.emit("removeListener",n,i.listener||t));else if("function"!=typeof i){for(e=-1,u=i.length-1;u>=0;u--)if(i[u]===t||i[u].listener===t){o=i[u].listener;e=u;break}if(e<0)return this;0===e?i.shift():function(n,t){for(;t+1<n.length;t++)n[t]=n[t+1];n.pop()}(i,e);1===i.length&&(f[n]=i[0]);void 0!==f.removeListener&&this.emit("removeListener",n,o||t)}return this};t.prototype.off=t.prototype.removeListener;t.prototype.removeAllListeners=function(n){var r,i,t,f,u;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[n]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[n]),this;if(0===arguments.length){for(u=Object.keys(i),t=0;t<u.length;++t)"removeListener"!==(f=u[t])&&this.removeAllListeners(f);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(r=i[n]))this.removeListener(n,r);else if(void 0!==r)for(t=r.length-1;t>=0;t--)this.removeListener(n,r[t]);return this};t.prototype.listeners=function(n){return l(this,n,!0)};t.prototype.rawListeners=function(n){return l(this,n,!1)};t.listenerCount=function(n,t){return"function"==typeof n.listenerCount?n.listenerCount(t):a.call(n,t)};t.prototype.listenerCount=a;t.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},function(n,t,i){var u=i(416),f=n.exports=Object.create(u),r={tagName:"name"};Object.keys(r).forEach(function(n){var t=r[n];Object.defineProperty(f,n,{get:function(){return this[t]||null},set:function(n){return this[t]=n,n}})})},function(n){n.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(n){return"tag"===n.type||"script"===n.type||"style"===n.type}}},function(n,t,i){function e(n,t){this.init(n,t)}function h(n,t){return f.getElementsByTagName(n,t,!0)}function o(n,t){return f.getElementsByTagName(n,t,!0,1)[0]}function u(n,t,i){return f.getText(f.getElementsByTagName(n,t,i,1)).trim()}function r(n,t,i,r,f){var e=u(i,r,f);e&&(n[t]=e)}var s=i(415),f=i(417),c;i(99)(e,s);e.prototype.init=s;c=function(n){return"rss"===n||"feed"===n||"rdf:RDF"===n};e.prototype.onend=function(){var i,t,n={},f=o(c,this.dom);f&&("feed"===f.name?(t=f.children,n.type="atom",r(n,"id","id",t),r(n,"title","title",t),(i=o("link",t))&&(i=i.attribs)&&(i=i.href)&&(n.link=i),r(n,"description","subtitle",t),(i=u("updated",t))&&(n.updated=new Date(i)),r(n,"author","email",t,!0),n.items=h("entry",t).map(function(n){var t,i={};return r(i,"id","id",n=n.children),r(i,"title","title",n),(t=o("link",n))&&(t=t.attribs)&&(t=t.href)&&(i.link=t),(t=u("summary",n)||u("content",n))&&(i.description=t),(t=u("updated",n))&&(i.pubDate=new Date(t)),i})):(t=o("channel",f.children).children,n.type=f.name.substr(0,3),n.id="",r(n,"title","title",t),r(n,"link","link",t),r(n,"description","description",t),(i=u("lastBuildDate",t))&&(n.updated=new Date(i)),r(n,"author","managingEditor",t,!0),n.items=h("item",f.children).map(function(n){var i,t={};return r(t,"id","guid",n=n.children),r(t,"title","title",n),r(t,"link","link",n),r(t,"description","description",n),(i=u("pubDate",n))&&(t.pubDate=new Date(i)),t})));this.dom=n;s.prototype._handleCallback.call(this,f?null:Error("couldn't find root of feed"))};n.exports=e},function(n,t,i){var r=i(100),u=i(787),f=r.isTag;n.exports={getInnerHTML:function(n,t){return n.children?n.children.map(function(n){return u(n,t)}).join(""):""},getOuterHTML:u,getText:function n(t){return Array.isArray(t)?t.map(n).join(""):f(t)||t.type===r.CDATA?n(t.children):t.type===r.Text?t.data:""}}},function(n,t,i){function h(n,t){"svg"===n.name&&(t={decodeEntities:t.decodeEntities,xmlMode:!0});var i="<"+n.name,r=function(n,t){var f,i,r;if(n){i="";for(r in n)i&&(i+=" "),i+=!(f=n[r])&&e[r]?r:r+'="'+(t.decodeEntities?u.encodeXML(f):f)+'"';return i}}(n.attribs,t);return r&&(i+=" "+r),!t.xmlMode||n.children&&0!==n.children.length?(i+=">",n.children&&(i+=f(n.children,t)),s[n.name]&&!t.xmlMode||(i+="<\/"+n.name+">")):i+="/>",i}function c(n){return"<"+n.data+">"}function l(n,t){var i=n.data||"";return!t.decodeEntities||n.parent&&n.parent.name in o||(i=u.encodeXML(i)),i}function a(n){return"<![CDATA["+n.children[0].data+"]\]>"}function v(n){return"<!--"+n.data+"-->"}var r=i(788),u=i(789),e={__proto__:null,allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,"default":!0,defer:!0,disabled:!0,hidden:!0,ismap:!0,loop:!0,multiple:!0,muted:!0,open:!0,readonly:!0,required:!0,reversed:!0,scoped:!0,seamless:!0,selected:!0,typemustmatch:!0},o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},f=n.exports=function(n,t){var e,u,i;for(Array.isArray(n)||n.cheerio||(n=[n]),t=t||{},e="",u=0;u<n.length;u++)i=n[u],e+="root"===i.type?f(i.children,t):r.isTag(i)?h(i,t):i.type===r.Directive?c(i):i.type===r.Comment?v(i):i.type===r.CDATA?a(i):l(i,t);return e}},function(n){n.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",isTag:function(n){return"tag"===n.type||"script"===n.type||"style"===n.type}}},function(n,t,i){var u=i(790),r=i(791);t.decode=function(n,t){return(!t||t<=0?r.XML:r.HTML)(n)};t.decodeStrict=function(n,t){return(!t||t<=0?r.XML:r.HTMLStrict)(n)};t.encode=function(n,t){return(!t||t<=0?u.XML:u.HTML)(n)};t.encodeXML=u.XML;t.encodeHTML4=t.encodeHTML5=t.encodeHTML=u.HTML;t.decodeXML=t.decodeXMLStrict=r.XML;t.decodeHTML4=t.decodeHTML5=t.decodeHTML=r.HTML;t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=r.HTMLStrict;t.escape=u.escape},function(n,t,i){function c(n){return Object.keys(n).sort().reduce(function(t,i){return t[n[i]]="&"+i+";",t},{})}function f(n){var i=[],t=[];return Object.keys(n).forEach(function(n){1===n.length?i.push("\\"+n):t.push(n)}),t.unshift("["+i.join("")+"]"),new RegExp(t.join("|"),"g")}function s(n){return"&#x"+n.charCodeAt(0).toString(16).toUpperCase()+";"}function l(n){return"&#x"+(1024*(n.charCodeAt(0)-55296)+n.charCodeAt(1)- -9216).toString(16).toUpperCase()+";"}function a(n,t){function i(t){return n[t]}return function(n){return n.replace(t,i).replace(o,l).replace(e,s)}}var r=c(i(151)),y=f(r),u,h,e,o,v;t.XML=a(r,y);u=c(i(150));h=f(u);t.HTML=a(u,h);e=/[^\0-\x7F]/g;o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;v=f(r);t.escape=function(n){return n.replace(v,s).replace(o,l).replace(e,s)}},function(n,t,i){function f(n){var t=Object.keys(n).join("|"),i=o(n),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(n){return String(n).replace(r,i)}}function e(n,t){return n<t?1:-1}function o(n){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?u(parseInt(t.substr(3),16)):u(parseInt(t.substr(2),10)):n[t.slice(1,-1)]}}var r=i(150),s=i(414),h=i(151),u=i(413),c=f(h),l=f(r),a=function(){function c(n){return";"!==n.substr(-1)&&(n+=";"),f(n)}for(var u,f,h=Object.keys(s).sort(e),n=Object.keys(r).sort(e),t=0,i=0;t<n.length;t++)h[i]===n[t]?(n[t]+=";?",i++):n[t]+=";";return u=new RegExp("&(?:"+n.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),f=o(r),function(n){return String(n).replace(u,c)}}();n.exports={XML:c,HTML:a,HTMLStrict:l}},function(n,t){var i=t.getChildren=function(n){return n.children},r=t.getParent=function(n){return n.parent};t.getSiblings=function(n){var t=r(n);return t?i(t):[n]};t.getAttributeValue=function(n,t){return n.attribs&&n.attribs[t]};t.hasAttrib=function(n,t){return!!n.attribs&&hasOwnProperty.call(n.attribs,t)};t.getName=function(n){return n.name}},function(n,t){t.removeElement=function(n){if(n.prev&&(n.prev.next=n.next),n.next&&(n.next.prev=n.prev),n.parent){var t=n.parent.children;t.splice(t.lastIndexOf(n),1)}};t.replaceElement=function(n,t){var f=t.prev=n.prev,i,r,u;f&&(f.next=t);i=t.next=n.next;i&&(i.prev=t);r=t.parent=n.parent;r&&(u=r.children,u[u.lastIndexOf(n)]=t)};t.appendChild=function(n,t){if(t.parent=n,1!==n.children.push(t)){var i=n.children[n.children.length-2];i.next=t;t.prev=i;t.next=null}};t.append=function(n,t){var i=n.parent,r=n.next,u;(t.next=r,t.prev=n,n.next=t,t.parent=i,r)?(r.prev=t,i)&&(u=i.children,u.splice(u.lastIndexOf(r),0,t)):i&&i.children.push(t)};t.prepend=function(n,t){var i=n.parent,r;i&&(r=i.children,r.splice(r.lastIndexOf(n),0,t));n.prev&&(n.prev.next=t);t.parent=i;t.prev=n.prev;t.next=n;n.prev=t}},function(n,t,i){function u(n,t,i,r){for(var f,o=[],e=0,s=t.length;e<s&&!(n(t[e])&&(o.push(t[e]),--r<=0))&&(f=t[e].children,!(i&&f&&f.length>0&&(f=u(n,f,i,r),o=o.concat(f),(r-=f.length)<=0)));e++);return o}var r=i(100).isTag;n.exports={filter:function(n,t,i,r){return Array.isArray(t)||(t=[t]),"number"==typeof r&&isFinite(r)||(r=1/0),u(n,t,!1!==i,r)},find:u,findOneChild:function(n,t){for(var i=0,r=t.length;i<r;i++)if(n(t[i]))return t[i];return null},findOne:function n(t,i){for(var f=null,u=0,e=i.length;u<e&&!f;u++)r(i[u])&&(t(i[u])?f=i[u]:i[u].children.length>0&&(f=n(t,i[u].children)));return f},existsOne:function n(t,i){for(var u=0,f=i.length;u<f;u++)if(r(i[u])&&(t(i[u])||i[u].children.length>0&&n(t,i[u].children)))return!0;return!1},findAll:function n(t,i){for(var f=[],u=0,e=i.length;u<e;u++)r(i[u])&&(t(i[u])&&f.push(i[u]),i[u].children.length>0&&(f=f.concat(n(t,i[u].children))));return f}}},function(n,t,i){function f(n,t){return"function"==typeof t?function(i){return i.attribs&&t(i.attribs[n])}:function(i){return i.attribs&&i.attribs[n]===t}}function o(n,t){return function(i){return n(i)||t(i)}}var e=i(100),r=t.isTag=e.isTag,u;t.testElement=function(n,t){for(var i in n)if(n.hasOwnProperty(i))if("tag_name"===i){if(!r(t)||!n.tag_name(t.name))return!1}else if("tag_type"===i){if(!n.tag_type(t.type))return!1}else if("tag_contains"===i){if(r(t)||!n.tag_contains(t.data))return!1}else if(!t.attribs||!n[i](t.attribs[i]))return!1;return!0};u={tag_name:function(n){return"function"==typeof n?function(t){return r(t)&&n(t.name)}:"*"===n?r:function(t){return r(t)&&t.name===n}},tag_type:function(n){return"function"==typeof n?function(t){return n(t.type)}:function(t){return t.type===n}},tag_contains:function(n){return"function"==typeof n?function(t){return!r(t)&&n(t.data)}:function(t){return!r(t)&&t.data===n}}};t.getElements=function(n,t,i,r){var e=Object.keys(n).map(function(t){var i=n[t];return t in u?u[t](i):f(t,i)});return 0===e.length?[]:this.filter(e.reduce(o),t,i,r)};t.getElementById=function(n,t,i){return Array.isArray(t)||(t=[t]),this.findOne(f("id",n),t,!1!==i)};t.getElementsByTagName=function(n,t,i,r){return this.filter(u.tag_name(n),t,i,r)};t.getElementsByTagType=function(n,t,i,r){return this.filter(u.tag_type(n),t,i,r)}},function(n,t){t.removeSubsets=function(n){for(var u,t,r,i=n.length;--i>-1;){for(u=t=n[i],n[i]=null,r=!0;t;){if(n.indexOf(t)>-1){r=!1;n.splice(i,1);break}t=t.parent}r&&(n[i]=u)}return n};var i=t.compareDocumentPosition=function(n,t){var i,f,e,s,h,r,u=[],o=[];if(n===t)return 0;for(i=n;i;)u.unshift(i),i=i.parent;for(i=t;i;)o.unshift(i),i=i.parent;for(r=0;u[r]===o[r];)r++;return 0===r?1:(e=(f=u[r-1]).children,s=u[r],h=o[r],e.indexOf(s)>e.indexOf(h)?f===t?20:4:f===n?10:2)};t.uniqueSort=function(n){var r,u,t=n.length;for(n=n.slice();--t>-1;)r=n[t],(u=n.indexOf(r))>-1&&u<t&&n.splice(t,1);return n.sort(function(n,t){var r=i(n,t);return 2&r?-1:4&r?1:0}),n}},function(n,t,i){function e(n){f.call(this,new u(this),n)}function u(n){this.scope=n}var f,r;n.exports=e;f=i(418);i(99)(e,f);e.prototype.readable=!0;r=i(47).EVENTS;Object.keys(r).forEach(function(n){if(0===r[n])u.prototype["on"+n]=function(){this.scope.emit(n)};else if(1===r[n])u.prototype["on"+n]=function(t){this.scope.emit(n,t)};else{if(2!==r[n])throw Error("wrong number of arguments!");u.prototype["on"+n]=function(t,i){this.scope.emit(n,t,i)}}})},function(){},function(n,t,i){"use strict";function r(n){var t;switch(this.encoding=function(n){var t=function(n){if(!n)return"utf8";for(var t;;)switch(n){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return n;default:if(t)return;n=(""+n).toLowerCase();t=!0}}(n);if("string"!=typeof t&&(u.isEncoding===e||!e(n)))throw new Error("Unknown encoding: "+n);return t||n}(n),this.encoding){case"utf16le":this.text=s;this.end=h;t=4;break;case"utf8":this.fillLast=o;t=4;break;case"base64":this.text=c;this.end=l;t=3;break;default:return this.write=a,void(this.end=v)}this.lastNeed=0;this.lastTotal=0;this.lastChar=u.allocUnsafe(t)}function f(n){return n<=127?0:n>>5==6?2:n>>4==14?3:n>>3==30?4:n>>6==2?-1:-2}function o(n){var t=this.lastTotal-this.lastNeed,i=function(n,t){if(128!=(192&t[0]))return n.lastNeed=0,"�";if(n.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return n.lastNeed=1,"�";if(n.lastNeed>2&&t.length>2&&128!=(192&t[2]))return n.lastNeed=2,"�"}}(this,n);return void 0!==i?i:this.lastNeed<=n.length?(n.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(n.copy(this.lastChar,t,0,n.length),void(this.lastNeed-=n.length))}function s(n,t){var i,r;return(n.length-t)%2==0?(i=n.toString("utf16le",t),i&&(r=i.charCodeAt(i.length-1),r>=55296&&r<=56319))?(this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1],i.slice(0,-1)):i:(this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=n[n.length-1],n.toString("utf16le",t,n.length-1))}function h(n){var t=n&&n.length?this.write(n):"",i;return this.lastNeed?(i=this.lastTotal-this.lastNeed,t+this.lastChar.toString("utf16le",0,i)):t}function c(n,t){var i=(n.length-t)%3;return 0===i?n.toString("base64",t):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=n[n.length-1]:(this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1]),n.toString("base64",t,n.length-i))}function l(n){var t=n&&n.length?this.write(n):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function a(n){return n.toString(this.encoding)}function v(n){return n&&n.length?this.write(n):""}var u=i(800).Buffer,e=u.isEncoding||function(n){switch((n=""+n)&&n.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};t.StringDecoder=r;r.prototype.write=function(n){if(0===n.length)return"";var i,t;if(this.lastNeed){if(void 0===(i=this.fillLast(n)))return"";t=this.lastNeed;this.lastNeed=0}else t=0;return t<n.length?i?i+this.text(n,t):this.text(n,t):i||""};r.prototype.end=function(n){var t=n&&n.length?this.write(n):"";return this.lastNeed?t+"�":t};r.prototype.text=function(n,t){var r=function(n,t,i){var u=t.length-1,r;return u<i?0:(r=f(t[u]),r>=0?(r>0&&(n.lastNeed=r-1),r):--u<i||-2===r?0:(r=f(t[u]))>=0?(r>0&&(n.lastNeed=r-2),r):--u<i||-2===r?0:(r=f(t[u]))>=0?(r>0&&(2===r?r=0:n.lastNeed=r-3),r):0)}(this,n,t),i;return this.lastNeed?(this.lastTotal=r,i=n.length-(r-this.lastNeed),n.copy(this.lastChar,0,i),n.toString("utf8",t,i)):n.toString("utf8",t)};r.prototype.fillLast=function(n){if(this.lastNeed<=n.length)return n.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,this.lastTotal-this.lastNeed,0,n.length);this.lastNeed-=n.length}},function(n,t,i){function e(n,t){for(var i in n)t[i]=n[i]}function u(n,t,i){return r(n,t,i)}var f=i(419),r=f.Buffer;r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?n.exports=f:(e(f,t),t.Buffer=u);e(r,u);u.from=function(n,t,i){if("number"==typeof n)throw new TypeError("Argument must not be a number");return r(n,t,i)};u.alloc=function(n,t,i){if("number"!=typeof n)throw new TypeError("Argument must be a number");var u=r(n);return void 0!==t?"string"==typeof i?u.fill(t,i):u.fill(t):u.fill(0),u};u.allocUnsafe=function(n){if("number"!=typeof n)throw new TypeError("Argument must be a number");return r(n)};u.allocUnsafeSlow=function(n){if("number"!=typeof n)throw new TypeError("Argument must be a number");return f.SlowBuffer(n)}},function(n,t){"use strict";function e(n){var i=n.length,t;if(i%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return t=n.indexOf("="),-1===t&&(t=i),[t,t===i?0:4-t%4]}function h(n,t,i){for(var e,f,o=[],u=t;u<i;u+=3)e=(n[u]<<16&16711680)+(n[u+1]<<8&65280)+(255&n[u+2]),o.push(r[(f=e)>>18&63]+r[f>>12&63]+r[f>>6&63]+r[63&f]);return o.join("")}t.byteLength=function(n){var t=e(n),r=t[0],i=t[1];return 3*(r+i)/4-i};t.toByteArray=function(n){for(var r,c=e(n),h=c[0],s=c[1],u=new o(function(n,t,i){return 3*(t+i)/4-i}(0,h,s)),f=0,l=s>0?h-4:h,t=0;t<l;t+=4)r=i[n.charCodeAt(t)]<<18|i[n.charCodeAt(t+1)]<<12|i[n.charCodeAt(t+2)]<<6|i[n.charCodeAt(t+3)],u[f++]=r>>16&255,u[f++]=r>>8&255,u[f++]=255&r;return 2===s&&(r=i[n.charCodeAt(t)]<<2|i[n.charCodeAt(t+1)]>>4,u[f++]=255&r),1===s&&(r=i[n.charCodeAt(t)]<<10|i[n.charCodeAt(t+1)]<<4|i[n.charCodeAt(t+2)]>>2,u[f++]=r>>8&255,u[f++]=255&r),u};t.fromByteArray=function(n){for(var t,i=n.length,e=i%3,f=[],u=0,o=i-e;u<o;u+=16383)f.push(h(n,u,u+16383>o?o:u+16383));return 1===e?(t=n[i-1],f.push(r[t>>2]+r[t<<4&63]+"==")):2===e&&(t=(n[i-2]<<8)+n[i-1],f.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),f.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=f.length;u<s;++u)r[u]=f[u],i[f.charCodeAt(u)]=u;i["-".charCodeAt(0)]=62;i["_".charCodeAt(0)]=63},function(n,t){t.read=function(n,t,i,r,u){var f,o,l=8*u-r-1,a=(1<<l)-1,v=a>>1,e=-7,s=i?u-1:0,c=i?-1:1,h=n[t+s];for(s+=c,f=h&(1<<-e)-1,h>>=-e,e+=l;e>0;f=256*f+n[t+s],s+=c,e-=8);for(o=f&(1<<-e)-1,f>>=-e,e+=r;e>0;o=256*o+n[t+s],s+=c,e-=8);if(0===f)f=1-v;else{if(f===a)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,r);f-=v}return(h?-1:1)*o*Math.pow(2,f-r)};t.write=function(n,t,i,r,u,f){var e,o,s,l=8*f-u-1,a=(1<<l)-1,h=a>>1,y=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,c=r?0:f-1,v=r?1:-1,p=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,e=a):(e=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-e))<1&&(e--,s*=2),(t+=e+h>=1?y/s:y*Math.pow(2,1-h))*s>=2&&(e++,s/=2),e+h>=a?(o=0,e=a):e+h>=1?(o=(t*s-1)*Math.pow(2,u),e+=h):(o=t*Math.pow(2,h-1)*Math.pow(2,u),e=0));u>=8;n[i+c]=255&o,c+=v,o/=256,u-=8);for(e=e<<u|o,l+=u;l>0;n[i+c]=255&e,c+=v,e/=256,l-=8);n[i+c-v]|=128*p}},function(n){var t={}.toString;n.exports=Array.isArray||function(n){return"[object Array]"==t.call(n)}},function(n,t,i){function r(n){this._cbs=n||{}}n.exports=r;var u=i(47).EVENTS;Object.keys(u).forEach(function(n){if(0===u[n])n="on"+n,r.prototype[n]=function(){this._cbs[n]&&this._cbs[n]()};else if(1===u[n])n="on"+n,r.prototype[n]=function(t){this._cbs[n]&&this._cbs[n](t)};else{if(2!==u[n])throw Error("wrong number of arguments");n="on"+n;r.prototype[n]=function(t,i){this._cbs[n]&&this._cbs[n](t,i)}}})},function(n,t,i){function r(n){this._cbs=n||{};this.events=[]}n.exports=r;var u=i(47).EVENTS;Object.keys(u).forEach(function(n){if(0===u[n])n="on"+n,r.prototype[n]=function(){this.events.push([n]);this._cbs[n]&&this._cbs[n]()};else if(1===u[n])n="on"+n,r.prototype[n]=function(t){this.events.push([n,t]);this._cbs[n]&&this._cbs[n](t)};else{if(2!==u[n])throw Error("wrong number of arguments");n="on"+n;r.prototype[n]=function(t,i){this.events.push([n,t,i]);this._cbs[n]&&this._cbs[n](t,i)}}});r.prototype.onreset=function(){this.events=[];this._cbs.onreset&&this._cbs.onreset()};r.prototype.restart=function(){var n,i,t;for(this._cbs.onreset&&this._cbs.onreset(),n=0,i=this.events.length;n<i;n++)this._cbs[this.events[n][0]]&&(t=this.events[n].length,1===t?this._cbs[this.events[n][0]]():2===t?this._cbs[this.events[n][0]](this.events[n][1]):this._cbs[this.events[n][0]](this.events[n][1],this.events[n][2]))}},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n){return n.data}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n,t,i){var r=n.name,c,h;return s.default(r)?(c=e.default(n.attribs,t),h=null,-1===o.default.indexOf(r)&&(h=f.default(n.children,i)),u.default.createElement(r,c,h)):null};var u=r(i(1)),f=r(i(149)),e=r(i(420)),o=r(i(812)),s=r(i(421))},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n){return Object.keys(n).filter(function(n){return e.default(n)}).reduce(function(t,i){var r=i.toLowerCase(),e=f.default[r]||r;return t[e]=function(n,t){return u.default.map(function(n){return n.toLowerCase()}).indexOf(n.toLowerCase())>=0&&(t=n),t}(e,n[i]),t},{})};var u=r(i(809)),f=r(i(810)),e=r(i(421))},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID","class":"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime","default":"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang","for":"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource","typeof":"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(n,t){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return function(n,t){var r=[],u=!0,f=!1,e=void 0,o,i;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{!u&&i.return&&i.return()}finally{if(f)throw e;}}return r}(n,t);throw new TypeError("Invalid attempt to destructure non-iterable instance");};t.default=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===n?{}:n.split(";").reduce(function(n,t){var e=t.split(/^([^:]+):/).filter(function(n,t){return t>0}).map(function(n){return n.trim().toLowerCase()}),r=i(e,2),u=r[0],f=r[1];return void 0===f||(n[u=u.replace(/^-ms-/,"ms-").replace(/-(.)/g,function(n,t){return t.toUpperCase()})]=f),n},{})}},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n,t){var i=void 0,r;return n.children.length>0&&(i=n.children[0].data),r=f.default(n.attribs,t),u.default.createElement("style",r,i)};var u=r(i(1)),f=r(i(420))},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});t.default=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.decodeEntities,e=void 0===i||i,o=t.transform,r=t.preprocessNodes,s=void 0===r?function(n){return n}:r,h=s(u.default.parseDOM(n,{decodeEntities:e}));return f.default(h,o)};var u=r(i(47)),f=r(i(149))},function(){},function(n,t,i){"use strict";(function(n){function l(n){return n&&n.__esModule?n:{"default":n}}function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function g(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function nt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function tt(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function it(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function rt(n){var t=et();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ut(this,i)}}function ut(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?ft(n):t}function ft(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function et(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ot,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.SocialStyrelseSubmitButton=void 0;var r=g(i(1)),c=l(i(64)),p=l(i(423)),w=i(31),b=i(3),k=i(15),d=i(422),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ot="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return nt(this,t),(u=i.call(this,n)).submit=function(n){u.state.canSubmit;n.preventDefault();p.default.validateForm()?u.setState({isSending:!0},function(){c.default.fire("form-submit-action",{detail:d.SEND})}):u.setState({canSubmit:!1,isModalOpen:!0})},u.openConfirm=function(){u.setState({isModalOpen:!0})},u.closeConfirm=function(){u.setState({isModalOpen:!1})},u.getModalBodyText=function(){if(!u.state.canSubmit)return r.createElement("p",null,"Alla obligatoriska uppgifter måste besvaras innan ansökan kan skickas in.")},u.getModalHeadingText=function(){if(!u.state.canSubmit)return r.createElement("h2",null,"Otillräckliga uppgifter")},u.state={canSubmit:!0,isModalOpen:!1,isSending:!1},u}it(t,n);var i=rt(t);return tt(t,[{key:"componentDidMount",value:function(){c.default.subscribe("form-is-valid",function(){})}},{key:"render",value:function(){var n=this.state,i=(n.canSubmit,n.isModalOpen),t=n.isSending;return r.createElement("div",{className:"sos-form-submitbtn-wrapper"},r.createElement("hr",{className:"formdivider"}),r.createElement("button",{type:"button",onClick:this.submit,disabled:t,className:"button"},t&&r.createElement("div",{className:"flex-center"},r.createElement(k.Spinner,null),r.createElement("span",null,"Skickar")),!t&&r.createElement("span",null,"Skicka in")),r.createElement(w.Dialog,{isOpen:i,onRequestClose:this.closeConfirm},r.createElement("button",{type:"button",onClick:this.closeConfirm,className:"close"},r.createElement(b.Icon,{iconType:"ic_close_white_24px"})),r.createElement("div",{className:"header"},this.getModalHeadingText()),this.getModalBodyText(),r.createElement("div",{className:"footer"},r.createElement("button",{type:"button",className:"button",onClick:this.closeConfirm},"Ok"))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.SocialStyrelseSubmitButton=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SocialStyrelseSubmitButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\SocialStyrelseSubmitButton\\SocialStyrelseSubmitButton.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(n){return n&&n.__esModule?n:{"default":n}}function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function b(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function nt(n){var t=rt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),tt(this,i)}}function tt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?it(n):t}function it(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function rt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ut,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.Validator=void 0;var p=b(i(1)),u=i(819),r=l(i(423)),w=l(i(62)),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);ut="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var f;return k(this,t),(f=i.call(this,n)).setupListener=function(){window.addEventListener("load",function(){f.initializeProperElements()});document.body.addEventListener("change",function(n){var t=n.target,i=t.attributes.getNamedItem("name");"checkbox"!==t.type&&"radio"!==t.type||i&&u.nameIsEpiFormField(i.value)&&r.default.validateStandardComponent(i.value)});document.body.addEventListener("focusout",function(n){var t=n.target.attributes.getNamedItem("name");t&&u.nameIsEpiFormField(t.value)&&r.default.validateStandardComponent(t.value)})},f.initializeProperElements=function(){var i=f.props.elementNamesAndValidators,t=[],n;for(i.forEach(function(n){var f,r,i;if("choice"===n.Type)return f=document.getElementsByName(n.ElementName),r=[],[].forEach.call(f,function(n){r.push(n)}),void t.push({element:document.getElementById(n.Guid),step:n.Step,regex:n.Regexp,isRequired:n.Required,type:n.Type,elementGroup:r.slice()});i=document.getElementsByName(n.ElementName);i.length||(i=document.getElementsByName(u.STR_CC+n.ElementName));i.length?[].forEach.call(i,function(i){t.push({element:i,step:n.Step,regex:n.Regexp,isRequired:n.Required,type:n.Type})}):w.default.warn("failed to add: ".concat(n.ElementName))}),r.default.setFormElements(t),n=0;n<f.props.stepCount;n++)r.default.validateStep(n)},f.state={formIsValid:!1},f}g(t,n);var i=nt(t);return d(t,[{key:"componentDidMount",value:function(){this.setupListener()}},{key:"render",value:function(){return null}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(p.Component);t.Validator=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"Validator","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\Validator\\Validator.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function e(n){return function(n){if(Array.isArray(n))return r(n)}(n)||function(n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}(n)||function(n,t){if(n){if("string"==typeof n)return r(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(n,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}()}function r(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function o(n){return n.startsWith("__field")||n.startsWith("__cc")}function s(n,t){return e(n).every(function(n){return t.includes(n)})}function h(n,t){var i=0;return e(n).forEach(function(n){n===t&&i++}),i}var u,i,f;Object.defineProperty(t,"__esModule",{value:!0});t.nameIsEpiFormField=o;t.stringContainsOnlyWhitelist=s;t.charCountInString=h;t.STR_CC=t.STR_FIELD=void 0;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&u(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;t.STR_FIELD="__field";t.STR_CC="__cc";(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register("__field","STR_FIELD","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\helpers\\stb.helpers.ts"),i.register("__cc","STR_CC","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\helpers\\stb.helpers.ts"),i.register(o,"nameIsEpiFormField","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\helpers\\stb.helpers.ts"),i.register(s,"stringContainsOnlyWhitelist","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\helpers\\stb.helpers.ts"),i.register(h,"charCountInString","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\helpers\\stb.helpers.ts"));(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(n){return n&&n.__esModule?n:{"default":n}}function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function b(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function d(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function nt(n){var t=rt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),tt(this,i)}}function tt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?it(n):t}function it(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function rt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ut,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.SocialStyrelseWizardStepWrapper=void 0;var r=b(i(1)),p=i(388),w=l(i(821)),c=l(i(64)),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ut="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return k(this,t),(r=i.call(this,n)).onStepChange=function(n){w.default.goToStep(n)},r.state={currentStep:0,steps:n.steps},r}g(t,n);var i=nt(t);return d(t,[{key:"componentDidMount",value:function(){var n=this;c.default.subscribe("step-changed",function(t){n.setState({currentStep:t.detail})});c.default.subscribe("step-is-validated",function(t){var i=t.detail,u=i.step,f=i.stepIsValid,r=n.state.steps.slice();r[u].isDone=f;n.setState({steps:r})})}},{key:"render",value:function(){var t=this.props.renderPagination,n=this.state,i=n.currentStep,u=n.steps;return r.createElement(r.Fragment,null,!t&&r.createElement(p.WizardNavBar,{steps:u,currentStep:i,goToStep:this.onStepChange}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.SocialStyrelseWizardStepWrapper=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SocialStyrelseWizardStepWrapper","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\SocialStyrelseWizardStepWrapper\\SocialStyrelseWizardStepWrapper.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function v(n,t,i){return t&&o(n.prototype,t),i&&o(n,i),n}var e,u;Object.defineProperty(t,"__esModule",{value:!0});t.default=void 0;e=l(i(64));u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);var p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},s="sos-form-step",h=function(){var n=function(){function n(){a(this,n);this.goToStep=function(n){var r=document.getElementsByClassName(s),i=0,t;[].forEach.call(r,function(t){t.classList.remove("active");i===n&&t.classList.add("active");i++});e.default.fire("step-changed",{detail:n});t=document.getElementsByTagName("main")[0];t&&t.scrollIntoView({behavior:"smooth"})}}return v(n,[{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),n}();return n.getInstance=function(){return n.instance||(n.instance=new n),n.instance},n}(),c=h.getInstance(),y=c,r,f;t.default=y;r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;r&&(r.register(s,"STEP_CLASS_NAME","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\services\\step.service.ts"),r.register(h,"StepService","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\services\\step.service.ts"),r.register(c,"default","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\services\\step.service.ts"));f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;f&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function v(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function b(n){var t=g();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,nt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.PrintButton=void 0;r=v(i(1));u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(){var n=function(n){function t(){var n;return y(this,t),(n=i.apply(this,arguments)).print=function(n){n.preventDefault();window&&window.print()},n}w(t,n);var i=b(t);return p(t,[{key:"render",value:function(){var n=this;return r.createElement("div",{className:"campaign-print-block"},r.createElement("div",{className:"container"},r.createElement("div",{className:"col-lg-12 campaign-react-area__wrapper"},r.createElement("div",{className:"campaign-react-area__text"},this.props.printText),r.createElement("div",{className:"campaign-button campaign-react-area__button campaign-react-area__button campaign-react-area__button--orange"},r.createElement("button",{onClick:function(t){return n.print(t)},className:"print-button  campaign-print-block__button"},r.createElement("span",null," ",this.props.buttonText," "))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);return n.defaultProps={buttonText:"Skriv ut"},n}();t.PrintButton=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"PrintButton","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\PrintButton\\PrintButton.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function w(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return w=function(){return n},n}function g(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==l(n)&&"function"!=typeof n)return{"default":n};if(t=w(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function nt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function tt(n,t,i){return t&&b(n.prototype,t),i&&b(n,i),n}function it(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&k(n,t)}function k(n,t){return(k=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function rt(n){var t=et();return function(){var i,r=a(n),u;return t?(u=a(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ut(this,i)}}function ut(n,t){return!t||"object"!==l(t)&&"function"!=typeof t?ft(n):t}function ft(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function et(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function a(n){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,ot,u,v,s,y;Object.defineProperty(t,"__esModule",{value:!0});t.CalendarFunction=void 0;r=g(i(1));i(824);var e=i(30),f=i(4),h=i(825),p=i(25),o=i(3),d=i(15),c;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;c&&c(n);ot="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};v=function(n){function t(n){var o;return nt(this,t),(o=i.call(this,n)).onSortChange=function(n){var i=n.currentTarget.innerText,r=o.state.currentSort,t=r;if(""!=r.type&&r.type!=i&&(t={type:"",currentSort:"default",sort:function(n){return n}}),"down"===t.currentSort)switch(t.currentSort="up",i){case"Metod":t.sort=function(n,t){return n.Name<t.Name?1:-1};break;case"Målgrupp":t.sort=function(n,t){return n.TargetGroup<t.TargetGroup?1:-1};break;case"Verksamhet":t.sort=function(n,t){return n.Operation<t.Operation?1:-1};break;case"Beskrivning":t.sort=function(n,t){return n.Description<t.Description?1:-1};break;case"Publicerat innehåll":t.sort=function(n,t){return n.PublishedContent<t.PublishedContent?1:-1}}else if("up"===t.currentSort)t.currentSort="default",t.sort=function(n,t){return n.SortIndex>t.SortIndex?1:-1};else if("default"===t.currentSort)switch(t.currentSort="down",i){case"Metod":t.sort=function(n,t){return n.Name>t.Name?1:-1};break;case"Målgrupp":t.sort=function(n,t){return n.TargetGroup>t.TargetGroup?1:-1};break;case"Verksamhet":t.sort=function(n,t){return n.Operation>t.Operation?1:-1};break;case"Beskrivning":t.sort=function(n,t){return n.Description>t.Description?1:-1};break;case"Publicerat innehåll":t.sort=function(n,t){return n.PublishedContent>t.PublishedContent?1:-1}}t.type=i;o.setState({currentSort:t})},o.getInitialFilterState=function(n){var t=new Map;return n.forEach(function(n){t.has(n)||t.set(n,!1)}),t},o.onProductChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedProductMap);t.set(i,r);o.setState({selectedProductMap:t})},o.onStatusChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedStatusMap);t.set(i,r);o.setState({selectedStatusMap:t})},o.onComingEventsChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedComingEventsMap);t.set(i,r);o.setState({selectedComingEventsMap:t})},o.onProcessChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedProcessMap);t.set(i,r);o.setState({selectedProcessMap:t})},o.onAreaChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedAreaMap);t.set(i,r);o.setState({selectedAreaMap:t})},o.onAgeGroupChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedAgeGroupMap);t.set(i,r);o.setState({selectedAgeGroupMap:t})},o.onMethodTypeChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedMethodMap);t.set(i,r);o.setState({selectedMethodMap:t})},o.onOpertationChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedOperationMap);t.set(i,r);o.setState({selectedOperationMap:t})},o.onThemeChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedThemeap);t.set(i,r);o.setState({selectedThemeap:t})},o.onAgeBFChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedAgeBFMap);t.set(i,r);o.setState({selectedAgeBFMap:t})},o.onFormChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedFormMap);t.set(i,r);o.setState({selectedFormMap:t})},o.onLetterChange=function(n){var i=n.currentTarget.value,r=n.currentTarget.checked,t=new Map(o.state.selectedLetterMap);t.set(i,r);o.setState({selectedLetterMap:t})},o.onChange=function(n){var t=n.value;o.setState({allOperationsFilter:t})},o.filterItemsToRender=function(){var h=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=o.state,i=t.filteredItemList,lt=t.selectedProductMap,at=t.selectedStatusMap,vt=t.selectedProcessMap,yt=t.selectedComingEventsMap,pt=t.selectedAreaMap,wt=t.selectedAgeGroupMap,bt=t.selectedMethodMap,kt=t.selectedLetterMap,dt=t.selectedOperationMap,gt=t.selectedFormMap,ni=t.selectedAgeBFMap,ti=t.selectedThemeap,ii=t.allOperationsFilter,c=f.getSelectedItemsFromMap(lt),l=f.getSelectedItemsFromMap(vt),a=f.getSelectedItemsFromMap(at),v=f.getSelectedItemsFromMap(yt),y=f.getSelectedItemsFromMap(pt),p=f.getSelectedItemsFromMap(wt),w=f.getSelectedItemsFromMap(bt),b=f.getSelectedItemsFromMap(kt),r=f.getSelectedItemsFromMap(dt),k=f.getSelectedItemsFromMap(ni),d=f.getSelectedItemsFromMap(ti),g=f.getSelectedItemsFromMap(gt),nt=0===c.length,tt=0===l.length,it=0===a.length,rt=0===v.length,ut=0===y.length,ft=0===p.length,et=0===w.length,ot=0===r.length,st=0===k.length,ht=0===d.length,ct=0===g.length,e=0===b.length,s,u,n;if(h||o.isBF){if((s=o.state.currentSort,u=i,s&&(u=u.sort(s.sort)),ut&&ft&&et&&e&&h)||ot&&st&&ht&&ct&&e&&o.isBF)return u.slice()}else if(nt&&tt&&it&&rt)return i.slice();return n=i.slice(),nt||(n=i.filter(function(n){return 0!==n.CategoryList.length&&c.filter(function(t){return n.CategoryList.includes(t)}).length>0})),tt||(n=n.filter(function(n){return 0!==n.CategoryList.length&&l.filter(function(t){return n.CategoryList.includes(t)}).length>0})),it||(n=n.filter(function(n){return 0!==n.CategoryList.length&&a.filter(function(t){return n.CategoryList.includes(t)}).length>0})),rt||(n=n.filter(function(n){return 0!==n.CategoryList.length&&v.filter(function(t){return n.CategoryList.includes(t)}).length>0})),ut||(n=n.filter(function(n){return 0!==n.CategoryList.length&&y.filter(function(t){return n.CategoryList.includes(t)}).length>0})),ft||(n=n.filter(function(n){return 0!==n.CategoryList.length&&p.filter(function(t){return n.CategoryList.includes(t)}).length>0})),et||(n=n.filter(function(n){return 0!==n.CategoryList.length&&w.filter(function(t){return n.CategoryList.includes(t)}).length>0})),ot||(n=n.filter(function(n){var t,i;return 0===n.CategoryList.length?!1:(t=[],ii?(i=r.every(function(t){return n.CategoryList.includes(t)}),t=r.filter(function(t){return n.CategoryList.includes(t)&&i})):t=r.filter(function(t){return n.CategoryList.includes(t)}),t.length>0)})),ht||(n=n.filter(function(n){return 0!==n.CategoryList.length&&d.filter(function(t){return n.CategoryList.includes(t)}).length>0})),st||(n=n.filter(function(n){return 0!==n.CategoryList.length&&k.filter(function(t){return n.CategoryList.includes(t)}).length>0})),ct||(n=n.filter(function(n){return 0!==n.CategoryList.length&&g.filter(function(t){return n.CategoryList.includes(t)}).length>0})),e||(n=n.filter(function(n){return b.filter(function(t){return n.Letter===t}).length>0})),n.slice()},o.renderCheckbox=function(){var n=o.isNHV?u("processstep"):u("product"),t=o.isNHV?o.props.FilterProcessCategories:o.props.FilterProductCategories;return r.createElement("div",{className:""},r.createElement("span",{className:"calendar-function__filter-heading heading-medium"},u("filter")),t.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-wrapper"},r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},n),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},n),r.createElement("div",{className:"d-flex flex-wrap"},(t||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"productfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onProductChange})}))))),o.props.FilterStatusCategories.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-wrapper"},r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},u("status")),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},u("status")),r.createElement("div",{className:"d-flex flex-wrap"},(o.props.FilterStatusCategories||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onStatusChange})}))))),r.createElement("div",null,o.props.FilterComingEventsCategories.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},u("comingevents")),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},u("comingevents")),r.createElement("div",{className:"d-flex flex-wrap"},(o.props.FilterComingEventsCategories||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"yearfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onComingEventsChange})}))))),o.props.FilterAreas.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-wrapper"},r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},"Område"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},u("status")),r.createElement("div",{className:"d-flex flex-wrap"},(o.props.FilterAreas||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onAreaChange})}))))),o.props.FilterAgeGroups.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-wrapper"},r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},"Åldersgrupp"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},u("status")),r.createElement("div",{className:"d-flex flex-wrap"},(o.props.FilterAgeGroups||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onAgeGroupChange})}))))),o.props.FilterMethodTypes.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-wrapper"},r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},"Typ av metod"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},u("status")),r.createElement("div",{className:"d-flex flex-wrap"},(o.props.FilterMethodTypes||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onMethodTypeChange})}))))),o.props.FilterOperations.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-wrapper"},r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},"Verksamhet"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Verksamhet"),r.createElement("div",{className:"d-flex flex-wrap"},(o.props.FilterOperations||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onOpertationChange})}))),o.props.ToolTipText&&r.createElement("p",{className:"calendar-function__operation-text"},o.props.ToolTipText),r.createElement(d.CheckBox,{label:"Alla valda verksamheter",onChange:o.onChange,id:"all-operations",fieldName:"Alla valda verksamheter"}))),o.props.FilterThemes.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-wrapper"},r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},"Tema och innehåll"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Tema och innehåll"),r.createElement("div",{className:"d-flex flex-wrap"},(o.props.FilterThemes||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onThemeChange})}))))),o.props.FilterForms.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-wrapper"},r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},"Form"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Form"),r.createElement("div",{className:"d-flex flex-wrap"},(o.props.FilterForms||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onFormChange})}))))),o.props.FilterAgeBF.length>0&&r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-wrapper"},r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},"Åldersgrupp"),r.createElement("fieldset",null,r.createElement("legend",{className:"sr-only"},"Åldersgrupp"),r.createElement("div",{className:"d-flex flex-wrap"},(o.props.FilterAgeBF||[]).map(function(n,t){return r.createElement(e.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,onChangeCb:o.onAgeBFChange})}))))),o.isMethodGuide||o.isBF?r.createElement(r.Fragment,null,r.createElement("div",{className:"calendar-function__categories-heading heading-x-small","aria-hidden":"true"},"Filtrera på bokstäver"),r.createElement("div",{className:"d-flex flex-wrap calendar-function__letters"},h.alphabet.map(o.renderAlphabet))):null)},o.renderAlphabet=function(n,t){var i=0===o.alphabetGroups.find(function(t){return t.Letter===n}).AlphabetPages.length;return r.createElement(e.ToggleBox,{key:"pressfilterbox-".concat(t),label:n,value:n,hideToggleBox:i,onChangeCb:o.onLetterChange})},o.onDetailsToggle=function(n){if(n.currentTarget.open,"keydown"===n.type){var t=n;if(t.key!==p.KeyboardEventKeys.enter&&t.key!==p.KeyboardEventKeys.space)return}},o.renderItem=function(n){var t=o.isNHV?n.ProcessStep:n.Product,i;return t=o.isMethodGuide?n.TargetGroup:o.isBF?n.Description:t,i=o.isMethodGuide?n.PublishedContent:o.isBF?n.Operation:n.ComingEvent,r.createElement("tr",{className:"",key:n.Id},r.createElement("td",null,r.createElement("span",null,n.DisableHeadingLink?r.createElement("span",null,n.Name):r.createElement("a",{href:n.Url},n.Name))),r.createElement("td",null,r.createElement("span",{className:"d-flex flex-wrap"},null!=n.LandingPageUrl?r.createElement("a",{href:n.LandingPageUrl},t):r.createElement("span",null,t),r.createElement("span",{className:"calendar-function__status"},n.Status))),r.createElement("td",null,r.createElement("span",null,i,n.Time&&r.createElement("span",{className:"d-block"},n.Time))))},o.searchSubmit=function(n){n.preventDefault();var t=o.searchField.value,i=o.props.CalendarItemList.filter(function(n){return-1!==n.Name.toLowerCase().indexOf(t.toLowerCase())||n.Name.toLowerCase()==t.toLowerCase()||-1!==n.Time.toLowerCase().indexOf(t.toLowerCase())||-1!==n.Status.toLowerCase().indexOf(t.toLowerCase())||-1!==n.ComingEvent.toLowerCase().indexOf(t.toLowerCase())||-1!==n.ProcessStep.toLowerCase().indexOf(t.toLowerCase())||-1!==n.TargetGroup.toLowerCase().indexOf(t.toLowerCase())||-1!==n.PublishedContent.toLowerCase().indexOf(t.toLowerCase())||-1!==n.Area.toLowerCase().indexOf(t.toLowerCase())||-1!==n.AgeGroup.toLowerCase().indexOf(t.toLowerCase())||-1!==n.MethodType.toLowerCase().indexOf(t.toLowerCase())||-1!==n.Operation.toLowerCase().indexOf(t.toLowerCase())||-1!==n.Description.toLowerCase().indexOf(t.toLowerCase())});return o.setState({filteredItemList:i})},u=f.makeTranslator(n.translations),o.state={checkedClass:"",filteredItemList:o.props.CalendarItemList,selectedProductMap:o.getInitialFilterState(n.FilterProductCategories),selectedStatusMap:o.getInitialFilterState(n.FilterStatusCategories),selectedComingEventsMap:o.getInitialFilterState(n.FilterComingEventsCategories),selectedProcessMap:o.getInitialFilterState(n.FilterProcessCategories),selectedAreaMap:o.getInitialFilterState(n.FilterAreas),selectedAgeGroupMap:o.getInitialFilterState(n.FilterAgeGroups),selectedMethodMap:o.getInitialFilterState(n.FilterMethodTypes),selectedOperationMap:o.getInitialFilterState(n.FilterOperations),selectedThemeap:o.getInitialFilterState(n.FilterThemes),selectedAgeBFMap:o.getInitialFilterState(n.FilterAgeBF),selectedFormMap:o.getInitialFilterState(n.FilterForms),selectedLetterMap:o.getInitialFilterState(h.alphabet),allOperationsFilter:!1,currentSort:{type:"",currentSort:"default",sort:function(n){return n}}},o.isNHV="NHV"===o.props.Type,o.isMethodGuide="Metodguiden"===o.props.Type,o.isBF="BF"===o.props.Type,o.alphabetGroups=h.alphabet.map(function(n){return{Letter:n,AlphabetPages:o.props.CalendarItemList.filter(function(t){return t.Letter===n}),"function":function(n){return n.Name.toLowerCase()}}}),o}it(t,n);var i=rt(t);return tt(t,[{key:"render",value:function(){var h=this,i=this.props,f=i.searchId,e=i.Type,s=this.filterItemsToRender(this.isMethodGuide).map(this.renderItem),t="down"===this.state.currentSort.currentSort?" calendar-function--rotate-icon":"",n=this.state.currentSort,c=this.props.SearchPlaceholderText?this.props.SearchPlaceholderText:"NHV"===e?u("searchplaceholdernhv"):"NR"===e?u("searchplaceholdernr"):this.isMethodGuide?"Sök i metodguiden":this.isBF?"Sök i brottsförebyggande exempelsamling":"Sök";return r.createElement(r.Fragment,null,r.createElement("div",{className:"row"},r.createElement("div",{className:"col-lg-12"},r.createElement("div",{className:"calendar-function__filter-wrapper"},r.createElement("div",{className:"col-12 pl-0 pr-0"},r.createElement("span",{className:"calendar-function__filter-count heading-medium"},u("searchamong")," ",r.createElement("span",null,s.length," "),this.isMethodGuide?"bedömningsmetoder och insatser":u("areas")),r.createElement("form",{onSubmit:this.searchSubmit,role:"search","aria-label":"Sök kalenderhändelser"},r.createElement("span",{className:"search"},r.createElement("label",{htmlFor:f,className:"sr-only"},u("searchtextsr")),r.createElement("input",{id:f,onChange:this.searchSubmit,type:"search",ref:function(n){return h.searchField=n},placeholder:c}),r.createElement("input",{"aria-label":"Sök",className:"search__button calendar-function__button",type:"submit",value:""})))),this.renderCheckbox())),r.createElement("div",{className:"col-lg-12",role:"log","aria-atomic":"false"},r.createElement("div",{className:"calendar-function table-responsive ".concat(this.isNHV?"":"calendar-function--NR-table"," ").concat(this.isMethodGuide?"calendar-function--method-table":""," ").concat(this.isBF?"calendar-function--bf-table":"")},r.createElement("table",{className:"table table-striped"},r.createElement("caption",{className:"sr-only"},u("calenderevent")),r.createElement("thead",null,r.createElement("tr",null,this.isMethodGuide?r.createElement(r.Fragment,null,r.createElement("th",{"aria-sort":"Metod"===n.type&&"down"===n.currentSort?"ascending":"Metod"===n.type&&"up"===n.currentSort?"descending":"none",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center calendar-function__sort-button"},"Metod","Metod"===n.type&&"default"!=n.currentSort&&r.createElement(o.Icon,{className:"calendar-function__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"}))),r.createElement("th",{"aria-sort":"Målgrupp"===n.type&&"down"===n.currentSort?"ascending":"Målgrupp"===n.type&&"up"===n.currentSort?"descending":"none",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center calendar-function__sort-button"},"Målgrupp","Målgrupp"===n.type&&"default"!=n.currentSort&&r.createElement(o.Icon,{className:"calendar-function__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"}))),r.createElement("th",{"aria-sort":"Publicerat innehåll"===n.type&&"down"===n.currentSort?"ascending":"Publicerat innehåll"===n.type&&"up"===n.currentSort?"descending":"none",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center calendar-function__sort-button"},"Publicerat innehåll","Publicerat innehåll"===n.type&&"default"!=n.currentSort&&r.createElement(o.Icon,{className:"calendar-function__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"})))):this.isBF?r.createElement(r.Fragment,null,r.createElement("th",{"aria-sort":"Metod"===n.type&&"down"===n.currentSort?"ascending":"Metod"===n.type&&"up"===n.currentSort?"descending":"none",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center calendar-function__sort-button"},"Metod","Metod"===n.type&&"default"!=n.currentSort&&r.createElement(o.Icon,{className:"calendar-function__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"}))),r.createElement("th",{"aria-sort":"Beskrivning"===n.type&&"down"===n.currentSort?"ascending":"Beskrivning"===n.type&&"up"===n.currentSort?"descending":"none",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center calendar-function__sort-button"},"Beskrivning","Beskrivning"===n.type&&"default"!=n.currentSort&&r.createElement(o.Icon,{className:"calendar-function__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"}))),r.createElement("th",{"aria-sort":"Verksamhet"===n.type&&"down"===n.currentSort?"ascending":"Verksamhet"===n.type&&"up"===n.currentSort?"descending":"none",scope:"col"},r.createElement("button",{onClick:this.onSortChange,className:"d-flex align-items-center calendar-function__sort-button"},"Verksamhet","Verksamhet"===n.type&&"default"!=n.currentSort&&r.createElement(o.Icon,{className:"calendar-function__icon"+"".concat(t),iconType:"baseline-arrow_back-24px"})))):r.createElement(r.Fragment,null,r.createElement("th",null,"NHV"===this.props.Type?u("careunits"):u("guidelinearea")),r.createElement("th",null,"NHV"===this.props.Type?u("proccessandstatus"):u("productandstatus")),r.createElement("th",null,u("comingevents"))))),r.createElement("tbody",null,s))))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.CalendarFunction=v;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&(s.register(u,"Translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalenderFunction\\CalendarFunction.tsx"),s.register(v,"CalendarFunction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalenderFunction\\CalendarFunction.tsx"));y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;y&&y(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){var f,i,r,e,u;Object.defineProperty(t,"__esModule",{value:!0});t.alphabet=t.CalendarItem=void 0;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=function n(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n)};t.CalendarItem=i;u=["#","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","Å","Ä","Ö"];t.alphabet=u;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(i,"CalendarItem","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalenderFunction\\CalendarFunction.types.ts"),r.register(u,"alphabet","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalenderFunction\\CalendarFunction.types.ts"));(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&e(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function nt(n){return n&&n.__esModule?n:{"default":n}}function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function v(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function u(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?v(Object(i),!0).forEach(function(t){tt(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):v(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function tt(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function rt(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function ut(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ft(n){var t=st();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),et(this,i)}}function et(n,t){return!t||"object"!==a(t)&&"function"!=typeof t?ot(n):t}function ot(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function st(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var ht,f,h,e,c;Object.defineProperty(t,"__esModule",{value:!0});t.CalculateIncomeSupport=void 0;var r=nt(i(1)),w=i(827),b=i(828),k=i(831),d=i(832),g=i(4),l=i(6),o;i(833);o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;o&&o(n);ht="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(n){function t(n){var r;return it(this,t),(r=i.call(this,n)).onIncomeInputChange=function(n){var t=u(u({},r.state),{},{totalIncome:n}),i=r.calcSummary(t);r.setState({totalIncome:n,totalSummary:i})},r.onIncomeExpensesChange=function(n){var t=u(u({},r.state),{},{totalExpenses:n}),i=r.calcSummary(t);r.setState({totalExpenses:n,totalSummary:i})},r.onFamilySituationChange=function(n,t){var i=u(u({},r.state),{},{totalFamilySituationExpenses:n}),f=r.calcSummary(i);r.setState({totalFamilySituationExpenses:n,totalSummary:f,hasErrors:t})},r.calcSummary=function(n){return n.totalIncome-(n.totalExpenses+n.totalFamilySituationExpenses)},r.onResetAll=function(n){n.preventDefault();r.resetState()},r.onNewCalculation=function(n){n.preventDefault();document.getElementById("provberakning-start").scrollIntoView();r.resetState()},r.resetState=function(){r.setState({reset:r.state.reset+1,totalIncome:0,totalFamilySituationExpenses:r.props.riksnorm,totalExpenses:0,totalSummary:-r.props.riksnorm,showResult:0,hasErrors:!1})},r.onShowResult=function(n){n.preventDefault();r.setState({showResult:r.state.showResult+1})},f=g.makeTranslator(n.translations),r.state={totalIncome:0,totalFamilySituationExpenses:r.props.riksnorm,totalExpenses:0,totalSummary:-r.props.riksnorm,reset:0,showResult:0,hasErrors:!1},r}ut(t,n);var i=ft(t);return rt(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return r.default.createElement("form",{className:"calc-income-support"},r.default.createElement("div",{className:"white-puff block-margin"},r.default.createElement(w.CalculateIncome,{translations:this.props.translations,incomeHeading:this.props.incomeHeading,incomeDescription:this.props.incomeDescription,onIncomeInputChange:this.onIncomeInputChange,reset:this.state.reset})),r.default.createElement("div",{className:"white-puff block-margin"},r.default.createElement(b.CalculateFamilySituation,{translations:this.props.translations,familySituationHeading:this.props.familySituationHeading,familySituationDescription:this.props.familySituationDescription,singleExpenses:this.props.singleExpenses,cohabitExpenses:this.props.cohabitExpenses,childCosts:this.props.childCosts,householdSizeExpenses:this.props.householdSizeExpenses,onFamilySituationChange:this.onFamilySituationChange,reset:this.state.reset})),r.default.createElement("div",{className:"white-puff block-margin"},r.default.createElement(k.CalculateExpenses,{translations:this.props.translations,expensesHeading:this.props.expensesHeading,expensesDescription:this.props.expensesDescription,onExpensesInputChange:this.onIncomeExpensesChange,reset:this.state.reset})),r.default.createElement("div",null,r.default.createElement("div",{className:"block-margin calc-income-support__button-wrapper"},r.default.createElement("button",{className:"button",onClick:this.onShowResult,disabled:this.state.hasErrors},f("showResult")),r.default.createElement("button",{className:"button button--red calc-income-support__button-with-icon calc-income-support__button-with-icon--red calc-income-support__clear-all-button",onClick:this.onResetAll},r.default.createElement(l.Icon,{className:"calc-income-support__button-icon calc-income-support__button-icon--red",iconType:"fontawesome/trash-alt"}),f("clearAll")))),r.default.createElement("div",{className:"white-puff block-margin"},r.default.createElement(d.IncomeSupportSummary,{translations:this.props.translations,resultDescriptionNoSupportRights:this.props.resultDescriptionNoSupportRights,resultDescriptionHasSupportRights:this.props.resultDescriptionHasSupportRights,totalIncome:this.state.totalIncome,totalFamilySituationExpenses:this.state.totalFamilySituationExpenses,totalExpenses:this.state.totalExpenses,totalSummary:this.state.totalSummary,showResult:this.state.showResult})),this.state.showResult>0&&r.default.createElement("div",{className:"block-margin calc-income-support__button-wrapper"},r.default.createElement("button",{className:"button calc-income-support__button-with-icon calc-income-support__button-with-icon--right",onClick:this.onNewCalculation},r.default.createElement(l.Icon,{className:"calc-income-support__button-icon calc-income-support__button-icon--right",iconType:"fontawesome/redo"}),f("newCalculation"))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component);t.CalculateIncomeSupport=h;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;e&&(e.register(f,"Translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncomeSupport.tsx"),e.register(h,"CalculateIncomeSupport","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncomeSupport.tsx"));c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function tt(n){return n&&n.__esModule?n:{"default":n}}function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function v(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function y(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?v(Object(i),!0).forEach(function(t){p(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):v(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function p(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function rt(n,t,i){return t&&w(n.prototype,t),i&&w(n,i),n}function ut(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&b(n,t)}function b(n,t){return(b=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ft(n){var t=st();return function(){var i,r=c(n),u;return t?(u=c(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),et(this,i)}}function et(n,t){return!t||"object"!==a(t)&&"function"!=typeof t?ot(n):t}function ot(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function st(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function c(n){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.CalculateIncome=void 0;var r=tt(i(1)),e=i(6),o=i(8),d=i(88),g=i(4),nt=i(152),h;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;h&&h(n);var ht="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},u,f=d.nameofFactory(),k=function(n){function t(n){var r;return it(this,t),(r=i.call(this,n)).componentDidUpdate=function(n){var t=r.props.reset;n.reset!==t&&r.resetFields()},r.onInputChange=function(n){var t=r.onCalcChange(n);r.props.onIncomeInputChange(t)},r.onCalcChange=function(n){var u=n.fieldName,t=y(y({},r.state),{},p({},u,n.value)),i=r.theSumOfAllFields(t);return t.totalIncome=i,r.setState(t),i},r.onValueReset=function(n){n.preventDefault();r.resetFields()},r.resetFields=function(){var n={totalIncome:0,lon:"",arbetsloshetsersattning:"",sjukOchAktivitetsersattning:"",sjukpenning:"",foraldrapenning:"",pension:"",underhallsstodBidrag:"",barnbidrag:"",studiestod:"",bostadsbidrag:"",ovrigt:""};r.setState(n);r._uniqueId=Date.now();r.props.onIncomeInputChange(n.totalIncome)},r.theSumOfAllFields=function(n){return o.parseInputToInt(n.lon)+o.parseInputToInt(n.arbetsloshetsersattning)+o.parseInputToInt(n.sjukOchAktivitetsersattning)+o.parseInputToInt(n.sjukpenning)+o.parseInputToInt(n.foraldrapenning)+o.parseInputToInt(n.pension)+o.parseInputToInt(n.underhallsstodBidrag)+o.parseInputToInt(n.barnbidrag)+o.parseInputToInt(n.studiestod)+o.parseInputToInt(n.bostadsbidrag)+o.parseInputToInt(n.ovrigt)},u=g.makeTranslator(n.translations),r.state={totalIncome:0,lon:"",arbetsloshetsersattning:"",sjukOchAktivitetsersattning:"",sjukpenning:"",foraldrapenning:"",pension:"",underhallsstodBidrag:"",barnbidrag:"",studiestod:"",bostadsbidrag:"",ovrigt:""},r._uniqueId=Date.now(),r}ut(t,n);var i=ft(t);return rt(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var n=u("inputPlaceholderText");return r.default.createElement(r.default.Fragment,null,r.default.createElement("fieldset",{key:this._uniqueId},r.default.createElement("legend",null,r.default.createElement("h3",{id:"provberakning-start"},this.props.incomeHeading)),r.default.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.incomeDescription}}),r.default.createElement("div",{className:"row m-b-2"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("lon"),value:this.state.lon,placeholder:n,onChange:this.onInputChange,label:u("lon")})),r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("arbetsloshetsersattning"),value:this.state.arbetsloshetsersattning,placeholder:n,onChange:this.onInputChange,label:u("arbetsloshetsersattning")}))),r.default.createElement("div",{className:"row m-b-2"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("sjukOchAktivitetsersattning"),value:this.state.sjukOchAktivitetsersattning,placeholder:n,onChange:this.onInputChange,label:u("sjukOchAktivitetsersattning")})),r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("sjukpenning"),value:this.state.sjukpenning,placeholder:n,onChange:this.onInputChange,label:u("sjukpenning")}))),r.default.createElement("div",{className:"row m-b-2"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("foraldrapenning"),value:this.state.foraldrapenning,placeholder:n,onChange:this.onInputChange,label:u("foraldrapenning")})),r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("pension"),value:this.state.pension,placeholder:n,onChange:this.onInputChange,label:u("pension")}))),r.default.createElement("div",{className:"row m-b-2"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("underhallsstodBidrag"),value:this.state.underhallsstodBidrag,placeholder:n,onChange:this.onInputChange,label:u("underhallsstodBidrag")})),r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("barnbidrag"),value:this.state.barnbidrag,placeholder:n,onChange:this.onInputChange,label:u("barnbidrag")}))),r.default.createElement("div",{className:"row m-b-2"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("studiestod"),value:this.state.studiestod,placeholder:n,onChange:this.onInputChange,label:u("studiestod")})),r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("bostadsbidrag"),value:this.state.bostadsbidrag,placeholder:n,onChange:this.onInputChange,label:u("bostadsbidrag")}))),r.default.createElement("div",{className:"row m-b-2"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("ovrigt"),value:this.state.ovrigt,placeholder:n,onChange:this.onInputChange,label:u("ovrigt")})))),r.default.createElement(nt.TotalSumSection,{sum:this.state.totalIncome,clearValuesTranslation:"clearIncomeValues",onValueReset:this.onValueReset,translations:this.props.translations}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component),s,l;t.CalculateIncome=k;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&(s.register(u,"Translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncome.tsx"),s.register(f,"nameof","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncome.tsx"),s.register(k,"CalculateIncome","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncome.tsx"));l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function it(n){return n&&n.__esModule?n:{"default":n}}function v(n){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function f(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?y(Object(i),!0).forEach(function(t){rt(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):y(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function rt(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function ut(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ft(n,t,i){return t&&p(n.prototype,t),i&&p(n,i),n}function et(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&w(n,t)}function w(n,t){return(w=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ot(n){var t=ct();return function(){var i,r=l(n),u;return t?(u=l(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),st(this,i)}}function st(n,t){return!t||"object"!==v(t)&&"function"!=typeof t?ht(n):t}function ht(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ct(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function l(n){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.CalculateFamilySituation=void 0;var r=it(i(1)),o=i(6),k=i(8),u=i(829),d=i(830),g=i(88),nt=i(4),tt=i(152),c;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;c&&c(n);var lt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},e,s=g.nameofFactory(),b=function(n){function t(n){var r;return ut(this,t),(r=i.call(this,n))._childCountErrorMessage="",r.MAX_CHILDREN_COUNT=50,r._defaultTotalExpenses=0,r.componentDidUpdate=function(n){var t=r.props.reset;n.reset!==t&&r.resetFields()},r.onCivilStatusChange=function(n){var t=f(f({},r.state),{},{civilStatus:n.value}),i=r.theSumOfAllFields(t);t.totalExpenses=i;r.setState(t);r.props.onFamilySituationChange(i,t.hasErrors)},r.onChildrenStatusChange=function(n){var t,i;n.value==u.ChildrenStatus.borInteMedBarn?t=f(f({},r.state),{},{childrenStatus:n.value,childrenCount:0,childAgeExpenses:[],errors:new Map,hasErrors:!1}):n.value==u.ChildrenStatus.borMedBarn&&(t=f(f({},r.state),{},{childrenStatus:n.value,errors:new Map([[s("childrenCount"),r._childCountErrorMessage]])}));t.hasErrors=!r.allRequiredFieldsAreValid(t);i=r.theSumOfAllFields(t);t.totalExpenses=i;r.setState(t);r.props.onFamilySituationChange(i,t.hasErrors)},r.onChildrenCountChange=function(n){var l=r.validateChildrenCount(n),i=parseInt(n.value),o,e,t,h,c,u,s;for(i>=r.MAX_CHILDREN_COUNT&&(i=r.MAX_CHILDREN_COUNT),o=[],e=1;e<=i;e++)o.push(e);t=r.state.childAgeExpenses;t.length<i?(h=i-t.length,r.addChildExpenses(t,h)):t.length>i&&(c=t.length-i,r.removeChildExpenses(t,c));u=f(f({},r.state),{},{childrenCount:parseInt(n.value),childrenCountNumbers:o,childAgeExpenses:t,errors:l});u.hasErrors=!r.allRequiredFieldsAreValid(u);s=r.theSumOfAllFields(u);u.totalExpenses=s;r.setState(u);r.props.onFamilySituationChange(s,u.hasErrors)},r.addChildExpenses=function(n,t){for(var u,i=0;i<t;i++)u=r.createDefaultChildAgeOption(),n.push(u)},r.createDefaultChildAgeOption=function(){var n=new u.ChildAgeExpens;return n.value=0,n.error=e("childAgeOptionErrorMessage"),n},r.removeChildExpenses=function(n,t){for(var i=0;i<t;i++)n.pop()},r.validateChildrenCount=function(n){var t=new Map;return parseInt(n.value)<1&&t.set(n.fieldName,r._childCountErrorMessage),t},r.allRequiredFieldsAreValid=function(n){if(!r.isEmptyDictionary(n.errors))return!1;var t=!1;return n.childAgeExpenses.forEach(function(n){n.error&&(t=!0)}),!t},r.isEmptyDictionary=function(n){var t=!0;return n.forEach(function(){t=!1}),t},r.onChildSelectBoxChange=function(n,t,i){var o=r.state.childAgeExpenses,s=new u.ChildAgeExpens,e,h;s.value=n;s.error=i;o[t]=s;o.forEach(function(n){parseInt(n.toString())});e=f(f({},r.state),{},{childAgeExpenses:o});h=r.theSumOfAllFields(e);e.totalExpenses=h;e.hasErrors=!r.allRequiredFieldsAreValid(e);r.setState(e);r.props.onFamilySituationChange(h,e.hasErrors)},r.theSumOfAllFields=function(n){var t=0,i=n.civilStatus==u.CivilStatus.ensamboende?1:2,f,e;return n.childAgeExpenses.forEach(function(n){var r=k.parseInputToInt(n.value.toString());t+=r;r>0&&i++}),f=r.getHouseholdSizeExpenses(i),e=r.getCivilStatusExpences(n.civilStatus),t+e+f},r.getCivilStatusExpences=function(n){return n==u.CivilStatus.ensamboende?r.props.singleExpenses:r.props.cohabitExpenses},r.getHouseholdSizeExpenses=function(n){if(n>7)return r.props.householdSizeExpenses.householdSize8;switch(n){case 1:return r.props.householdSizeExpenses.householdSize1;case 2:return r.props.householdSizeExpenses.householdSize2;case 3:return r.props.householdSizeExpenses.householdSize3;case 4:return r.props.householdSizeExpenses.householdSize4;case 5:return r.props.householdSizeExpenses.householdSize5;case 6:return r.props.householdSizeExpenses.householdSize6;case 7:return r.props.householdSizeExpenses.householdSize7;default:return r.props.householdSizeExpenses.householdSize1}},r.onValueReset=function(n){n.preventDefault();r.resetFields()},r.resetFields=function(){var n={childrenStatus:u.ChildrenStatus.borInteMedBarn,civilStatus:u.CivilStatus.ensamboende,childrenCount:0,childrenCountNumbers:[],childAgeExpenses:[],totalExpenses:r._defaultTotalExpenses,errors:new Map,hasErrors:!1};r.setState(n);r._uniqueId=Date.now();r.props.onFamilySituationChange(n.totalExpenses,n.hasErrors)},e=nt.makeTranslator(n.translations),r._childCountErrorMessage=e("childrenCountErrorMessage"),r._defaultTotalExpenses=r.props.singleExpenses+r.props.householdSizeExpenses.householdSize1,r.state={childrenStatus:u.ChildrenStatus.borInteMedBarn,civilStatus:u.CivilStatus.ensamboende,childrenCount:0,childrenCountNumbers:[],childAgeExpenses:[],totalExpenses:r._defaultTotalExpenses,errors:new Map,hasErrors:!1},r._uniqueId=Date.now(),r}et(t,n);var i=ot(t);return ft(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var n=this,t=this.state.childrenStatus;return r.default.createElement(r.default.Fragment,null,r.default.createElement("fieldset",{key:this._uniqueId},r.default.createElement("legend",null,r.default.createElement("h3",null,this.props.familySituationHeading)),r.default.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.familySituationDescription}}),r.default.createElement("div",{className:"row m-b-4"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement("div",null,r.default.createElement(o.RadioButtonGroup,{value:u.CivilStatus.ensamboende,isRequired:!1,onChange:this.onCivilStatusChange,fieldName:s("civilStatus")},r.default.createElement(o.RadioButton,{value:u.CivilStatus.ensamboende,label:e("ensamstoende")}),r.default.createElement(o.RadioButton,{value:u.CivilStatus.sammanboende,label:e("sammanboende")}))))),r.default.createElement("hr",null),r.default.createElement("div",{className:"row m-b-4"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement("div",null,r.default.createElement(o.RadioButtonGroup,{value:u.ChildrenStatus.borInteMedBarn,isRequired:!1,onChange:this.onChildrenStatusChange,fieldName:s("childrenStatus")},r.default.createElement(o.RadioButton,{value:u.ChildrenStatus.borInteMedBarn,label:e("borInteMedBarn")}),r.default.createElement(o.RadioButton,{value:u.ChildrenStatus.borMedBarn,label:e("borMedBarn")}))))),r.default.createElement("div",{role:"log","aria-live":"polite"},t===u.ChildrenStatus.borMedBarn&&r.default.createElement("div",{className:"row m-b-4"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(o.TextInput,{fieldName:s("childrenCount"),value:this.state.childrenCount.toString(),isRequired:!0,errorMessage:this.state.errors.get(s("childrenCount")),min:1,max:this.MAX_CHILDREN_COUNT,actAsNumber:!0,type:"number",changeOnBlur:!1,onChange:this.onChildrenCountChange,label:e("antalBarn")})))),r.default.createElement("div",{role:"log","aria-live":"polite"},this.state.childrenCount>0&&r.default.createElement("div",{className:"row m-b-4"},r.default.createElement("div",{className:"col-12"},r.default.createElement("fieldset",null,r.default.createElement("legend",null,r.default.createElement("label",null,e("barnsAlder"))),r.default.createElement("ul",{className:"calc-income-support__child-age-wrapper"},this.state.childrenCountNumbers.map(function(t,i){return r.default.createElement("li",{key:t.toString()},r.default.createElement(d.ChildAgeOption,{index:i,childCosts:n.props.childCosts,onChildSelectBoxChange:n.onChildSelectBoxChange,translations:n.props.translations}))}))))))),r.default.createElement(tt.TotalSumSection,{sum:this.state.totalExpenses,clearValuesTranslation:"clearFamilySituationValues",onValueReset:this.onValueReset,translations:this.props.translations}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component),h,a;t.CalculateFamilySituation=b;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&(h.register(e,"Translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateFamilySituation.tsx"),h.register(s,"nameof","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateFamilySituation.tsx"),h.register(b,"CalculateFamilySituation","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateFamilySituation.tsx"));a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;a&&a(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var h,r,u,e,o,i,c,s;Object.defineProperty(t,"__esModule",{value:!0});t.HouseholdSizeExpenses=t.ChildCosts=t.CivilStatus=t.ChildrenStatus=t.ChildAgeExpens=void 0;(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&h(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;e=function n(){f(this,n)};t.ChildAgeExpens=e;t.ChildrenStatus=r,function(n){n[n.borInteMedBarn=0]="borInteMedBarn";n[n.borMedBarn=1]="borMedBarn"}(r||(t.ChildrenStatus=r={}));t.CivilStatus=u,function(n){n[n.ensamboende=0]="ensamboende";n[n.sammanboende=1]="sammanboende"}(u||(t.CivilStatus=u={}));o=function n(){f(this,n)};t.ChildCosts=o;s=function n(){f(this,n)};t.HouseholdSizeExpenses=s;(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(e,"ChildAgeExpens","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncomeSupport.types.ts"),i.register(r,"ChildrenStatus","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncomeSupport.types.ts"),i.register(u,"CivilStatus","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncomeSupport.types.ts"),i.register(o,"ChildCosts","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncomeSupport.types.ts"),i.register(s,"HouseholdSizeExpenses","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateIncomeSupport.types.ts"));(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function w(n){return n&&n.__esModule?n:{"default":n}}function c(n){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==c(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var rt,r,s,f,h;Object.defineProperty(t,"__esModule",{value:!0});t.ChildAgeOption=void 0;var u=w(i(1)),v=i(6),y=i(4),p=i(43),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var u;return b(this,t),(u=i.call(this,n)).onSelectBoxChange=function(n){var t="";n.value<1&&(t=u._errorMessage);u.setState({error:t});u.props.onChildSelectBoxChange(n.value,u.props.index,t)},u.textWithIndex=function(n){return r(n).replace("{index}",(u.props.index+1).toString())},r=y.makeTranslator(n.translations),u._errorMessage=r("childAgeOptionErrorMessage"),u.state={selectedValue:0,error:u._errorMessage},u}d(t,n);var i=g(t);return k(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var n="childSelect"+p.shortuid(),t=[{uuid:1,key:this.props.childCosts.childCostAge0To1.toString(),text:r("zeroToOne")},{uuid:2,key:this.props.childCosts.childCostAge1To2.toString(),text:r("oneToTwo")},{uuid:3,key:this.props.childCosts.childCostAge3.toString(),text:r("three")},{uuid:4,key:this.props.childCosts.childCostAge4To6.toString(),text:r("fourToSix")},{uuid:5,key:this.props.childCosts.childCostAge7To10.toString(),text:r("sevenToTen")},{uuid:6,key:this.props.childCosts.childCostAge11To14.toString(),text:r("elevenToFourteen")},{uuid:7,key:this.props.childCosts.childCostAge15To18.toString(),text:r("fifteenToEighteen")},{uuid:8,key:this.props.childCosts.childCostAge19To20.toString(),text:r("nineteenToTwenty")}];return u.default.createElement(u.default.Fragment,null,u.default.createElement("label",{className:"sr-only",htmlFor:n},this.textWithIndex("barnsAlderSelectLabel")),u.default.createElement(v.SelectBox,{errorMessage:this.state.error,id:n,value:this.state.selectedValue.toString(),options:t,defaultOptionText:this.textWithIndex("barnsAlderSelectDefault"),onChange:this.onSelectBoxChange}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(u.default.Component);t.ChildAgeOption=s;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;f&&(f.register(r,"Translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\ChildAgeOption.tsx"),f.register(s,"ChildAgeOption","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\ChildAgeOption.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function tt(n){return n&&n.__esModule?n:{"default":n}}function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function v(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function y(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?v(Object(i),!0).forEach(function(t){p(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):v(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function p(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function rt(n,t,i){return t&&w(n.prototype,t),i&&w(n,i),n}function ut(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&b(n,t)}function b(n,t){return(b=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ft(n){var t=st();return function(){var i,r=c(n),u;return t?(u=c(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),et(this,i)}}function et(n,t){return!t||"object"!==a(t)&&"function"!=typeof t?ot(n):t}function ot(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function st(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function c(n){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.CalculateExpenses=void 0;var r=tt(i(1)),e=i(6),o=i(8),d=i(88),g=i(4),nt=i(152),h;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;h&&h(n);var ht="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},u,f=d.nameofFactory(),k=function(n){function t(n){var r;return it(this,t),(r=i.call(this,n)).componentDidUpdate=function(n){var t=r.props.reset;n.reset!==t&&r.resetFields()},r.onInputChange=function(n){var t=r.onCalcChange(n);r.props.onExpensesInputChange(t)},r.onCalcChange=function(n){var u=n.fieldName,t=y(y({},r.state),{},p({},u,n.value)),i=r.theSumOfAllFields(t);return t.totalExpenses=i,r.setState(t),i},r.theSumOfAllFields=function(n){return o.parseInputToInt(n.bostad)+o.parseInputToInt(n.hushallsel)+o.parseInputToInt(n.arbetsresor)+o.parseInputToInt(n.hemforsakring)+o.parseInputToInt(n.fackOchAkassaAvgift)},r.onValueReset=function(n){n.preventDefault();r.resetFields()},r.resetFields=function(){var n={bostad:"",hushallsel:"",arbetsresor:"",hemforsakring:"",fackOchAkassaAvgift:"",totalExpenses:0};r.setState(n);r._uniqueId=Date.now();r.props.onExpensesInputChange(n.totalExpenses)},u=g.makeTranslator(n.translations),r.state={bostad:"",hushallsel:"",arbetsresor:"",hemforsakring:"",fackOchAkassaAvgift:"",totalExpenses:0},r._uniqueId=Date.now(),r}ut(t,n);var i=ft(t);return rt(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var n=u("inputPlaceholderText");return r.default.createElement(r.default.Fragment,null,r.default.createElement("fieldset",{key:this._uniqueId},r.default.createElement("legend",null,r.default.createElement("h3",null,this.props.expensesHeading)),r.default.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.expensesDescription}}),r.default.createElement("div",{className:"row m-b-2"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("bostad"),value:this.state.bostad,placeholder:n,onChange:this.onInputChange,label:u("bostad")})),r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("hushallsel"),value:this.state.hushallsel,placeholder:n,onChange:this.onInputChange,label:u("hushallsel")}))),r.default.createElement("div",{className:"row m-b-2"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("arbetsresor"),value:this.state.arbetsresor,placeholder:n,onChange:this.onInputChange,label:u("arbetsresor")})),r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("hemforsakring"),value:this.state.hemforsakring,placeholder:n,onChange:this.onInputChange,label:u("hemforsakring")}))),r.default.createElement("div",{className:"row m-b-2"},r.default.createElement("div",{className:"col-sm-6"},r.default.createElement(e.TextInput,{fieldName:f("fackOchAkassaAvgift"),value:this.state.fackOchAkassaAvgift,placeholder:n,onChange:this.onInputChange,label:u("fackOchAkassaAvgift")})))),r.default.createElement(nt.TotalSumSection,{sum:this.state.totalExpenses,clearValuesTranslation:"clearExpensesValues",onValueReset:this.onValueReset,translations:this.props.translations}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component),s,l;t.CalculateExpenses=k;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&(s.register(u,"Translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateExpenses.tsx"),s.register(f,"nameof","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateExpenses.tsx"),s.register(k,"CalculateExpenses","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\CalculateExpenses.tsx"));l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function y(n){return n&&n.__esModule?n:{"default":n}}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==l(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,e,tt,u,s,f,h;Object.defineProperty(t,"__esModule",{value:!0});t.IncomeSupportSummary=void 0;r=y(i(1));c=i(4);e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var r;return p(this,t),r=i.call(this,n),u=c.makeTranslator(n.translations),r}b(t,n);var i=k(t);return w(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var n=this.props.totalSummary<0?"calc-income-support__negative-value":"";return r.default.createElement("div",{className:"calc-income-support__your-calculation"},r.default.createElement("div",null,r.default.createElement("h3",null,u("yourCalculation"))),r.default.createElement("div",null,r.default.createElement("span",null,u("income"),r.default.createElement("strong",null," ",this.props.totalIncome.toLocaleString("sv-SE"))," kr")),r.default.createElement("div",null,r.default.createElement("span",null,u("familySituation"),r.default.createElement("strong",{className:"calc-income-support__negative-value"}," -",this.props.totalFamilySituationExpenses.toLocaleString("sv-SE"))," kr")),r.default.createElement("div",null,r.default.createElement("span",null,u("expenses"),r.default.createElement("strong",{className:"calc-income-support__negative-value"}," -",this.props.totalExpenses.toLocaleString("sv-SE"))," kr")),r.default.createElement("hr",null),r.default.createElement("div",null,r.default.createElement("span",null,r.default.createElement("strong",null,u("summary"),r.default.createElement("span",{className:n}," ",this.props.totalSummary.toLocaleString("sv-SE")," ")),"kr")),r.default.createElement("div",{role:"log","aria-live":"polite"},this.props.showResult>0&&r.default.createElement("div",{className:"calc-income-support__your-calculation-result"},r.default.createElement("h3",null,u("result")),this.props.totalSummary<0?r.default.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.resultDescriptionHasSupportRights.replace("{summa}",this.props.totalSummary.toLocaleString("sv-SE"))}}):r.default.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.resultDescriptionNoSupportRights.replace("{summa}",this.props.totalSummary.toLocaleString("sv-SE"))}}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.default.Component);t.IncomeSupportSummary=s;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;f&&(f.register(u,"Translate","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\IncomeSupportSummary.tsx"),f.register(s,"IncomeSupportSummary","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\Socialstyrelsen\\ClientSource\\js\\react-components\\CalculateIncomeSupport\\IncomeSupportSummary.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(835);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){"use strict";var r,u,f,e,o,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});r=i(424);Object.keys(r).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return r[n]}})});u=i(847);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return u[n]}})});f=i(884);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return f[n]}})});e=i(153);Object.keys(e).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})});o=i(885);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return o[n]}})});s=i(434);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return s[n]}})});h=i(890);Object.keys(h).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return h[n]}})});c=i(896);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return c[n]}})});"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){var r=i(837),u=i(838),f=i(29),e=i(10);n.exports=function(n,t){return function(i,o){var s=e(i)?r:u,h=t?t():{};return s(i,n,f(o,2),h)}}},function(n){n.exports=function(n,t,i,r){for(var f,u=-1,e=null==n?0:n.length;++u<e;)f=n[u],t(r,f,i(f),n);return r}},function(n,t,i){var r=i(60);n.exports=function(n,t,i,u){return r(n,function(n,r,f){t(u,n,i(n),f)}),u}},function(n,t,i){var r=i(29),u=i(425);n.exports=function(n,t){return n&&n.length?u(n,r(t,2)):[]}},function(n,t,i){var r=i(179);n.exports=function(n,t){return!(null==n||!n.length)&&r(n,t,0)>-1}},function(n){n.exports=function(n,t,i){for(var r=-1,u=null==n?0:n.length;++r<u;)if(i(t,n[r]))return!0;return!1}},function(n){n.exports=function(){}},function(n){n.exports=function(){return[]}},function(n,t,i){var r=i(845),u=i(846),f=i(85);n.exports=function(n){if(n&&n.length)return r(n,f,u)}},function(n,t,i){var r=i(41);n.exports=function(n,t,i){for(var e,u,o,h,f=-1,s=n.length;++f<s;)e=n[f],u=t(e),null!=u&&(void 0===o?u==u&&!r(u):i(u,o))&&(o=u,h=e);return h}},function(n){n.exports=function(n,t){return n>t}},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function d(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function g(n){return rt(n)||it(n)||tt(n)||nt()}function nt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function tt(n,t){if(n){if("string"==typeof n)return s(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(n,t):void 0}}function it(n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}function rt(n){if(Array.isArray(n))return s(n)}function s(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function ut(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ft(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function et(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ot(n){var t=ct();return function(){var i,r=h(n),u;return t?(u=h(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),st(this,i)}}function st(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?ht(n):t}function ht(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ct(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function h(n){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var lt,c,l,a;Object.defineProperty(t,"__esModule",{value:!0});t.ChartWrapper=void 0;var r=d(i(1)),w=i(848),b=i(851),u=i(883),f=i(7),k=i(156),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);lt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};c=function(n){function t(n){var r,e;return ut(this,t),(r=i.call(this,n)).getMetaData=function(n,t){return t&&t.filter(function(t){return t[f.columnConstants.indicatorName]===n.indicatorName&&("startPageMapTable"===n.national.diagram||t[f.columnConstants.divisionType]===n.national.divisionTypeValues||!n.national.divisionTypeValues)})[0]},r.props.jsonData&&(e=r.props.chartSettings.useAlgorithmSortOrder?g(r.props.jsonData).sort(u.nhvSortFunction(u.DEFAULT_NHV_SORT_ORDER)):r.props.jsonData),r.state={jsonData:e},r}et(t,n);var i=ot(t);return ft(t,[{key:"componentDidMount",value:function(){var n=this;this.state.jsonData||k.getJsonData(this.props.apiUrl).then(function(t){var i=n.props.chartSettings.useAlgorithmSortOrder?t.sort(u.nhvSortFunction(u.DEFAULT_NHV_SORT_ORDER)):t;n.setState({jsonData:i})})}},{key:"render",value:function(){var n=this.props.chartSettings,t=this.state.jsonData,i=t&&t.filter(function(t){return t[f.columnConstants.indicatorName]===n.indicatorName}),u=this.getMetaData(n,t);return r.createElement("div",{className:"diagram-wrapper"},r.createElement(w.ChartInfo,{overrideUnderText:n.national.overrideUnderText,overrideHeading:n.national.overrideHeading,metaData:u,isStartPageMapTable:"startPageMapTable"===n.national.diagram}),r.createElement(b.ChartTabs,{settingsData:n,chartData:i}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.ChartWrapper=c;l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;l&&l.register(c,"ChartWrapper","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\ChartWrapper\\ChartWrapper.tsx");a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;a&&a(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function w(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}Object.defineProperty(t,"__esModule",{value:!0});t.ChartInfo=void 0;var r=w(i(1)),p=i(153),u=i(7),e;e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;e&&e(n);var rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n},v="Socialstyrelsen",y=function(n){function t(){var n;return b(this,t),(n=i.apply(this,arguments)).getDivisionType=function(){var t=n.props.metaData;return t&&t[u.columnConstants.divisionType]&&""!=t[u.columnConstants.divisionType]&&"totalt"!=t[u.columnConstants.divisionType].toLowerCase()?"uppdelat på "+t[u.columnConstants.divisionType].toLowerCase():""},n}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){var t=this.props,n=t.metaData,e=t.isStartPageMapTable,i=t.overrideHeading,f=t.overrideUnderText,o=n&&(e?n[u.columnConstants.indicatorName]:n[u.columnConstants.indicatorName]+" "+this.getDivisionType());return n?r.createElement("div",{className:"diagram-wrapper__description"},r.createElement("div",{className:"diagram-wrapper__description__text"},r.createElement("h3",{className:"diagram-wrapper__header"},i&&""!==i?i:o," "),r.createElement("p",null,f&&""!==f?f:n[u.columnConstants.measures]),r.createElement("div",{className:"diagram-wrapper__description__sourceinfo"},r.createElement("span",{className:"diagram-wrapper__description__sourceinfo__units"},"Måttenhet: ",n[u.columnConstants.measureUnit],"  |  Datakälla: ",v))),r.createElement(p.IconModal,{iconType:"Infocirkel-aktiv20px20 px",metaData:this.props.metaData})):null}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component),f,h;t.ChartInfo=y;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;f&&(f.register(v,"measureUnit","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\ChartInfo\\ChartInfo.tsx"),f.register(y,"ChartInfo","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\ChartInfo\\ChartInfo.tsx"));h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(124);n.exports=function(){var n=arguments,t=r(n[0]);return n.length<3?t:t.replace(n[1],n[2])}},function(){},function(n,t,i){"use strict";(function(n){function y(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return y=function(){return n},n}function ut(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=y(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function ft(n){return n&&n.__esModule?n:{"default":n}}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function et(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ot(n,t,i){return t&&p(n.prototype,t),i&&p(n,i),n}function st(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&w(n,t)}function w(n,t){return(w=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ht(n){var t=at();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ct(this,i)}}function ct(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?lt(n):t}function lt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function at(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var vt,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.ChartTabs=void 0;var b=ft(i(427)),r=ut(i(1)),k=i(852),d=i(853),g=i(861),l=i(424),nt=i(864),tt=i(866),it=i(871),u=i(872),a=i(881),rt=i(32),v=i(7),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);vt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var r;return et(this,t),(r=i.call(this,n)).OnChangeTab=function(n,t){switch(t.preventDefault(),n){case"National":if(!0===r.state.activeRiket)return;r.setState({activeRiket:!0,activeCompare:!1,activeTable:!1});break;case"Compare":if(!0===r.state.activeCompare)return;r.setState({activeRiket:!1,activeCompare:!0,activeTable:!1});break;case"Table":if(!0===r.state.activeTable)return;r.setState({activeRiket:!1,activeCompare:!1,activeTable:!0});break;case"Region":if(!0===r.state.activeRegion)return;r.setState({activePermission:!1,activeRegion:!0});break;case"Permission":if(!0===r.state.activePermission)return;r.setState({activeRegion:!1,activePermission:!0})}},r.getChartComponent=function(n,t){if(t)return l.LineChart;switch(n){case"pie":return k.PieChart;case"boxplot":return d.BoxPlot;case"pointcard":return g.ChartPointCard;case"column":case"stackedcolumn":case"stackedbar":case"bar":return nt.ColumnChart;case"lowmedhigh":return it.LowMedHighChart;case"map":return tt.MapChart;case"spline":return l.LineChart;case"startPageMapTable":r.RegionMapTable=u.TableComponentWrapper;r.PermissionMapTable=u.TableComponentWrapper}},r.GetYears=function(n){var t=n&&n.map(function(n){return n[v.columnConstants.measurePeriod]});return b.default(t).sort(function(n,t){return t-n})},r.yearOnchange=function(n){r.setState({filteredYear:n,yearChanged:!0})},r.state={activeRiket:!1,activeCompare:!1,activeTable:!1,activeRegion:!1,activePermission:!1,filteredYear:"",yearChanged:!1},r}st(t,n);var i=ht(t);return ot(t,[{key:"componentDidMount",value:function(){this.setState({activeRiket:!0,activeRegion:!0})}},{key:"render",value:function(){var t=this,e="map"==this.props.settingsData.national.diagram,n=this.state.activeRiket?this.props.settingsData.national:this.props.settingsData.compare,i=this.props.chartData&&rt.filterChartData(this.props.chartData,this.state.activeCompare,n.divisionTypeValues,n.divisionValues,this.state.activeTable),o=this.props.chartData&&this.GetYears(i),f=!this.state.activeTable&&"spline"!==n.diagram&&!e&&!0!==this.props.settingsData.hideTrend,s=this.props.chartData&&o[0],h=this.props.chartData&&""===this.state.filteredYear||!f&&(""===this.state.filteredYear||this.state.filteredYear.toString().includes("år"))?s:this.state.filteredYear,c=h&&h.toString().includes("år"),l=f&&c||"spline"===n.diagram&&!this.state.activeTable?i:this.props.chartData&&i.filter(function(n){return n[v.columnConstants.measurePeriod]===h}),y="pie"==n.diagram||"stackedcolumn"==n.diagram||"stackedbar"==n.diagram,p="bar"==n.diagram||"stackedbar"==n.diagram,w=this.getChartComponent(this.props.settingsData.national.diagram,c),b=this.getChartComponent(this.props.settingsData.compare.diagram,c);return r.createElement("div",{className:"tab-diagram-wrapper"},"startPageMapTable"!=n.diagram?r.createElement(r.Fragment,null,r.createElement("div",{role:"tablist","aria-label":"Flikar för urval",className:"diagram-wrapper__tabs"},r.createElement("button",{role:"tab","aria-selected":this.state.activeRiket,onClick:function(n){return t.OnChangeTab("National",n)},className:"diagram-wrapper__tabs__btn ".concat(this.state.activeRiket?"diagram-wrapper__tabs__btn--active":"")},"Riket"),!e&&r.createElement("button",{role:"tab","aria-selected":this.state.activeCompare,onClick:function(n){return t.OnChangeTab("Compare",n)},className:"diagram-wrapper__tabs__btn ".concat(this.state.activeCompare?"diagram-wrapper__tabs__btn--active":"")},"Jämför"),r.createElement("button",{role:"tab","aria-selected":this.state.activeTable,onClick:function(n){return t.OnChangeTab("Table",n)},className:"diagram-wrapper__tabs__btn ".concat(this.state.activeTable?"diagram-wrapper__tabs__btn--active":"")},"Tabell")),r.createElement("div",{className:this.state.activeTable?"table-responsive":""},this.props.chartData&&("spline"!==n.diagram||this.state.activeTable)&&r.createElement(a.ChartYearSelector,{filteredChartData:i,defaultYear:s,filteredYears:o,isTable:this.state.activeTable,OnChange:this.yearOnchange,showTrend:f}),this.state.activeRiket&&w&&this.props.chartData&&r.createElement(w,{isCompare:!1,year:this.state.filteredYear,chartData:l,settingsData:this.props.settingsData.national,isBar:p,isStacked:y}),this.state.activeCompare&&b&&this.props.chartData&&r.createElement(b,{isCompare:!0,year:this.state.filteredYear,chartData:l,settingsData:this.props.settingsData.compare,isBar:p,isStacked:y}),this.state.activeTable&&u.TableComponentWrapper&&this.props.chartData&&r.createElement(u.TableComponentWrapper,{tableData:l,settingsData:this.props.settingsData,isMap:e}))):r.createElement(r.Fragment,null,r.createElement("div",{role:"tablist","aria-label":"Flikar för urval",className:"diagram-wrapper__tabs"},r.createElement("button",{"aria-selected":this.state.activeRegion,role:"tab",onClick:function(n){return t.OnChangeTab("Region",n)},className:"diagram-wrapper__tabs__btn ".concat(this.state.activeRegion?"diagram-wrapper__tabs__btn--active":"")},"Regioner med tillstånd"),r.createElement("button",{"aria-selected":this.state.activePermission,role:"tab",onClick:function(n){return t.OnChangeTab("Permission",n)},className:"diagram-wrapper__tabs__btn ".concat(this.state.activePermission?"diagram-wrapper__tabs__btn--active":"")},"Tillståndsområden")),r.createElement("div",{className:"table-responsive"},this.props.chartData&&r.createElement(a.ChartYearSelector,{filteredChartData:i,defaultYear:s,filteredYears:o,isTable:this.state.activeTable,OnChange:this.yearOnchange,showTrend:f}),this.state.activeRegion&&this.RegionMapTable&&this.props.chartData&&r.createElement(this.RegionMapTable,{tableData:this.props.chartData,settingsData:this.props.settingsData,isPermissionTab:!1,isRegionPermission:!0}),this.state.activePermission&&this.PermissionMapTable&&r.createElement(this.PermissionMapTable,{tableData:this.props.chartData,settingsData:this.props.settingsData,isPermissionTab:!0,isRegionPermission:!0}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.ChartTabs=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"ChartTabs","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\ChartTabs\\ChartTabs.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function y(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return y=function(){return n},n}function st(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=y(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function r(n){return n&&n.__esModule?n:{"default":n}}function ht(n,t){var i,r,u,o,f,e;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(i=ct(n))||t&&n&&"number"==typeof n.length)return i&&(n=i),r=0,u=function(){},{s:u,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n;},f:u};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return f=!0,e=!1,{s:function(){i=n[Symbol.iterator]()},n:function(){var n=i.next();return f=n.done,n},e:function(n){e=!0;o=n},f:function(){try{f||null==i.return||i.return()}finally{if(e)throw o;}}}}function ct(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function lt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function at(n,t,i){return t&&w(n.prototype,t),i&&w(n,i),n}function vt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&b(n,t)}function b(n,t){return(b=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function yt(n){var t=bt();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),pt(this,i)}}function pt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?wt(n):t}function wt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function bt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var kt,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});t.PieChart=void 0;var k=r(i(101)),d=r(i(13)),e=st(i(1)),u=r(i(16)),g=r(i(50)),a=i(51),nt=i(32),tt=i(429),v=i(7),it=i(52),rt=i(66),ut=i(37),ft=r(i(48)),et=r(i(65)),ot=r(i(49)),o;o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;o&&o(n);kt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};"object"===f(u.default)&&(ft.default(u.default),ot.default(u.default),et.default(u.default),u.default.setOptions(a.defaultSetOptions));h=function(n){function t(n){var r;return lt(this,t),(r=i.call(this,n)).options=d.default(a.diagramOptions),r.setOptions=function(){r.options.chart.type="pie";r.options.series=[{showInLegend:!0,keys:["name","y","color"],data:[]}];r.options.plotOptions={pie:{innerSize:"75%",dataLabels:{enabled:!1},size:"110%"},series:{states:{inactive:{opacity:.5},hover:{enabled:!0}}}};var n=rt.checkAndAddPercent(r.props.chartData.map(function(n){return n[v.columnConstants.measureUnit]})[0]);r.options.tooltip.headerFormat="<h4>{point.key}<\/h4>";r.options.tooltip.pointFormat='<span style="color:{point.color}">●<\/span>  {point.y}'+n},r.contains=function(n,t){for(var i=0;i<n.length;i++)if(n[i].value===t)return!0;return!1},r.createPieChartOptions=function(){var i,o=nt.filterChartData(r.props.chartData,!1,r.props.settingsData.divisionTypeValues,r.props.settingsData.divisionValues),u=0,f=[],n=ht(o),t,e;try{for(n.s();!(i=n.n()).done;)t=i.value,e=ut.replaceCommaWithDot(t[r.props.settingsData.value]),tt.hasValue(t[r.props.settingsData.value])&&(f.push([t[v.columnConstants.division],parseFloat(e),it.chartColors[u].mainColor]),u++)}catch(i){n.e(i)}finally{n.f()}r.options.series.map(function(n){return n.data=f})},r.setOptions(),r}vt(t,n);var i=yt(t);return at(t,[{key:"render",value:function(){return this.createPieChartOptions(),e.createElement("div",{className:"chart-wrapper"},e.createElement(g.default,{highcharts:u.default,options:this.options,containerProps:{id:"chartContainer"+k.default("pie")}}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(e.Component);t.PieChart=h;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;c&&c.register(h,"PieChart","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\PieChart\\PieChart.tsx");l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function p(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return p=function(){return n},n}function ct(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==s(n)&&"function"!=typeof n)return{"default":n};if(t=p(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function r(n){return n&&n.__esModule?n:{"default":n}}function lt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function w(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function at(n,t,i){return t&&w(n.prototype,t),i&&w(n,i),n}function vt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&b(n,t)}function b(n,t){return(b=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function yt(n){var t=bt();return function(){var i,r=l(n),u;return t?(u=l(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),pt(this,i)}}function pt(n,t){return!t||"object"!==s(t)&&"function"!=typeof t?wt(n):t}function wt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function bt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function l(n){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var kt,k,a,h,v;Object.defineProperty(t,"__esModule",{value:!0});t.BoxPlot=void 0;var d=r(i(102)),g=r(i(58)),nt=r(i(13)),o=ct(i(1)),f=r(i(16)),tt=r(i(854)),it=r(i(48)),rt=r(i(49)),ut=r(i(50)),ft=i(51),et=i(32),u=i(7),e=i(37),ot=i(154),st=i(155),ht=r(i(103)),y=i(52),c;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;c&&c(n);kt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};"object"===s(f.default)&&(tt.default(f.default),it.default(f.default),rt.default(f.default),f.default.setOptions({lang:{numericSymbols:null}}));k=["#7A99AC","#D6D2C4","#425563","#7A6855","#C89396"];a=function(n){function t(n){var r;return lt(this,t),(r=i.call(this,n)).hideCompare=!1,r.hideNational=!1,r.options=null,r.setOptions=function(){r.options=nt.default(ft.diagramOptions);isNaN(r.props.settingsData.axisLow)||""===r.props.settingsData.axisLow||(r.options.yAxis.min=r.props.settingsData.axisLow&&parseFloat(r.props.settingsData.axisLow));isNaN(r.props.settingsData.axisHigh)||""===r.props.settingsData.axisHigh||(r.options.yAxis.max=r.props.settingsData.axisHigh&&parseFloat(r.props.settingsData.axisHigh));isNaN(r.props.settingsData.yAxisinterval)||""===r.props.settingsData.yAxisinterval||(r.options.yAxis.tickInterval=r.props.settingsData.yAxisinterval&&parseFloat(r.props.settingsData.yAxisinterval));r.options.accessibility.point.descriptionFormatter=function(n){var t=n.series&&n.series.name?n.category+", "+n.series.name+", 10:e percentil "+n.low+", 90:e percentil "+n.high:"",i=n.series&&n.series.name?n.category+", "+n.series.name.replace("Means","medelvärde")+", "+n.y:"";return n.low&&n.high?t:i};r.options.chart.type="boxplot";r.options.plotOptions={series:{grouping:!1,pointRange:3,pointPadding:.4,groupPadding:1,tooltip:{pointFormat:'<p class="tooltip-header"><span class="tooltip-header__color"style="color:{point.color}">●<\/span>{series.name}<\/p>'+r.props.settingsData.upperPercentile+": <strong>{point.q3}<\/strong><br/>Median:<strong>{point.custom.median}<\/strong><br/>Medelvärde: <strong>{point.custom.mean}<\/strong><br/>"+r.props.settingsData.lowerPercentile+": <strong>{point.q1}<\/strong><br/>"}}};r.options.legend={width:void 0,margin:25,layout:"horizontal",align:"left",useHTML:!0,alignColumns:!1,itemDistance:35,itemMarginTop:10,itemMarginBottom:10,symbolWidth:void 0,itemStyle:{fontWeight:"normal"}};r.options.tooltip={outside:!0,backgroundColor:void 0,borderWidth:0,headerFormat:"",pointFormat:'<span style="color:{point.color}">●<\/span> {series.name}: {point.y}<br/>',shared:!0,useHTML:!0}},r.getXAxisPlacement=function(n,t,i,r){if(!(i.length<2)){if(!r)return t;var u=0;switch(i.length){case 2:u=.2;break;default:u=.3}return 0===t?n-u:1===t?2===i.length?n+u:n:2===t?n+u:void 0}},r.contains=function(n,t,i){for(var r=0;r<n.length;r++)if(n[r][i]===t)return!0;return!1},r.onlyUnique=function(n,t,i){return i.indexOf(n)===t},r.getBoxPlotData=function(){var n=et.filterChartData(r.props.chartData,r.props.isCompare,r.props.settingsData.divisionTypeValues,r.props.settingsData.divisionValues),s=n.map(function(n){return r.props.isCompare?n[u.columnConstants.careUnit]:n[u.columnConstants.measurePeriod]}),l=r.props.chartData.map(function(n){return n[u.columnConstants.measureUnit]})[0],h=n.map(function(n){return n[u.columnConstants.division]});h.length>1&&!r.props.isCompare&&(s=h);r.hideCompare=st.hideCompareChart(n,u.columnConstants.boxPlotN);r.hideNational=ot.hideNationalChart(n,u.columnConstants.boxPlotN);for(var f=s.filter(r.onlyUnique),a=[],t=0,i=Object.entries(g.default(d.default(n,u.columnConstants.division))),v=function(){var n=c[o],u={name:1===i.length?l:n[0],pointWidth:30,whiskerLength:0,data:[],color:y.chartColorsLight[t].mainColor,fillColor:y.chartColorsLight[t].mainColor},f,s;n[1].map(function(n,f){var o=e.replaceCommaWithDot(n[r.props.settingsData.lowerPercentile]),s=e.replaceCommaWithDot(n[r.props.settingsData.upperPercentile]),h=e.replaceCommaWithDot(n[r.props.settingsData.mean]),c=e.replaceCommaWithDot(n[r.props.settingsData.median]);u.data.push({x:r.getXAxisPlacement(f,t,i,r.props.isCompare),low:parseFloat(o),q1:parseFloat(o),q3:parseFloat(s),high:parseFloat(s),custom:{mean:parseFloat(h),median:parseFloat(c)}})});r.options.series.push(u);a.push(u);f={name:"Means",type:"line",id:"meansData",showInLegend:!1,lineWidth:0,data:[],states:{hover:{lineWidthPlus:0,enabled:!1}},marker:{symbol:"url(/ClientResources/Images/icons/mean-triangle.svg)"},tooltip:{pointFormat:""}};s={name:"Median",type:"line",id:"medianData",showInLegend:!1,lineWidth:0,data:[],states:{hover:{lineWidthPlus:0,enabled:!1}},marker:{symbol:"url(/ClientResources/Images/icons/median-line.svg)"},tooltip:{pointFormat:""}};n[1].map(function(n,u){var o=r.getXAxisPlacement(u,t,i,r.props.isCompare);f.data.push([o,parseFloat(e.replaceCommaWithDot(n[r.props.settingsData.mean]))]);s.data.push([o,parseFloat(e.replaceCommaWithDot(n[r.props.settingsData.median]))])});r.options.series.push(f);r.options.series.push(s);t++},o=0,c=i;o<c.length;o++)v();r.props.settingsData.mean&&r.options.series.push({name:"Medelvärde",type:"line",lineWidth:0,states:{inactive:{opacity:0},hover:{lineWidthPlus:0,enabled:!1}},data:[],marker:{symbol:"url(/ClientResources/Images/icons/mean-triangle-legend.svg)"},events:{legendItemClick:function(){var n,t;if(this.visible)for(n=0;n<this.chart.options.series.length-1;n++)"meansData"===this.chart.options.series[n].id&&this.chart.series[n].hide();else for(t=0;t<this.chart.options.series.length-1;t++)"meansData"===this.chart.options.series[t].id&&this.chart.series[t].show()}}});r.props.settingsData.median&&r.options.series.push({name:"Median",type:"line",lineWidth:2,color:"#000",states:{inactive:{opacity:0},hover:{lineWidthPlus:0,enabled:!1}},data:[],marker:{symbol:"circle",radius:0},events:{legendItemClick:function(){var n,t;if(this.visible)for(n=0;n<this.chart.options.series.length-1;n++)"medianData"===this.chart.options.series[n].id&&this.chart.series[n].hide();else for(t=0;t<this.chart.options.series.length-1;t++)"medianData"===this.chart.options.series[t].id&&this.chart.series[t].show()}}});r.options.xAxis.categories=f;f.length>1?(r.options.xAxis.min=0,r.options.xAxis.max=f.length-1):r.options.xAxis.tickWidth=0},r}vt(t,n);var i=yt(t);return at(t,[{key:"render",value:function(){this.setOptions();this.getBoxPlotData();var n=this.props.isCompare;return o.createElement("div",{className:"chart-wrapper"},this.hideCompare&&n||!n&&this.hideNational?o.createElement(ht.default,null):o.createElement(ut.default,{highcharts:f.default,options:this.options,immutable:!0,containerProps:{id:"chartContainer",height:"100%"}}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(o.Component);t.BoxPlot=a;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&(h.register(k,"chartColors","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\BoxPlot\\BoxPlot.tsx"),h.register(a,"BoxPlot","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\BoxPlot\\BoxPlot.tsx"));v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;v&&v(n)}).call(this,i(0)(n))},function(n,t,i){var u,f,r;r=function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}t(n=n?n._modules:{},"parts-more/Pane.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){function r(n,t,i){return Math.sqrt(Math.pow(n-i[0],2)+Math.pow(t-i[1],2))<i[2]/2}var u=t.addEvent,f=t.extend,i=t.merge,e=t.pick,o=t.splat,s=n.CenteredSeriesMixin;return n.Chart.prototype.collectionsWithUpdate.push("pane"),t=function(){function n(n,t){this.options=this.chart=this.center=this.background=void 0;this.coll="pane";this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0};this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"};this.init(n,t)}return n.prototype.init=function(n,t){this.chart=t;this.background=[];t.pane.push(this);this.setOptions(n)},n.prototype.setOptions=function(n){this.options=i(this.defaultOptions,this.chart.angular?{background:{}}:void 0,n)},n.prototype.render=function(){var r=this.options,t=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:r.zIndex||0}).add()),this.updateCenter(),t)for(t=o(t),r=Math.max(t.length,this.background.length||0),n=0;n<r;n++)t[n]&&this.axis?this.renderBackground(i(this.defaultBackgroundOptions,t[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},n.prototype.renderBackground=function(n,t){var i="animate",r={"class":"highcharts-pane "+(n.className||"")};this.chart.styledMode||f(r,{fill:n.backgroundColor,stroke:n.borderColor,"stroke-width":n.borderWidth});this.background[t]||(this.background[t]=this.chart.renderer.path().add(this.group),i="attr");this.background[t][i]({d:this.axis.getPlotBandPath(n.from,n.to,n)}).attr(r)},n.prototype.updateCenter=function(n){this.center=(n||this.axis||{}).center=s.getCenter.call(this)},n.prototype.update=function(n,t){i(!0,this.options,n);i(!0,this.chart.options.pane,n);this.setOptions(this.options);this.render();this.chart.axes.forEach(function(n){n.pane===this&&(n.pane=null,n.update({},t))},this)},n}(),n.Chart.prototype.getHoverPane=function(n){var i,t=this;return n&&t.pane.forEach(function(u){var f=n.chartX-t.plotLeft,e=n.chartY-t.plotTop;r(t.inverted?e:f,t.inverted?f:e,u.center)&&(i=u)}),i},u(n.Chart,"afterIsInsidePlot",function(n){this.polar&&(n.isInsidePlot=this.pane.some(function(t){return r(n.x,n.y,t.center)}))}),u(n.Pointer,"beforeGetHoverData",function(n){var t=this.chart;t.polar&&(t.hoverPane=t.getHoverPane(n),n.filter=function(i){return i.visible&&!(!n.shared&&i.directTouch)&&e(i.options.enableMouseTracking,!0)&&(!t.hoverPane||i.xAxis.pane===t.hoverPane)})}),u(n.Pointer,"afterGetHoverData",function(n){var t=this.chart;n.hoverPoint&&n.hoverPoint.plotX&&n.hoverPoint.plotY&&t.hoverPane&&!r(n.hoverPoint.plotX,n.hoverPoint.plotY,t.hoverPane.center)&&(n.hoverPoint=void 0)}),n.Pane=t,n.Pane});t(n,"parts-more/RadialAxis.js",[n["parts/Globals.js"],n["parts/Tick.js"],n["parts/Utilities.js"]],function(n,t,i){var u=i.addEvent,l=i.correctFloat,e=i.defined,o=i.extend,a=i.merge,r=i.pick,y=i.pInt,h=i.relativeLength;i=i.wrap;var f=n.Axis,s=n.noop,c=f.prototype,p=t.prototype,w={getOffset:s,redraw:function(){this.isDirty=!1},render:function(){this.isDirty=!1},createLabelCollector:function(){return!1},setScale:s,setCategories:s,setTitle:s},v={defaultRadialGaugeOptions:{labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},defaultCircularOptions:{gridLineWidth:1,labels:{align:null,distance:15,x:0,y:null,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},defaultRadialOptions:{gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},setOptions:function(t){(t=this.options=a(this.defaultOptions,this.defaultPolarOptions,t)).plotBands||(t.plotBands=[]);n.fireEvent(this,"afterSetOptions")},getOffset:function(){c.getOffset.call(this);this.chart.axisOffset[this.side]=0},getLinePath:function(n,t,i){n=this.pane.center;var f=this.chart,u=r(t,n[2]/2-this.offset);return void 0===i&&(i=this.horiz?0:this.center&&-this.center[3]/2),i&&(u+=i),this.isCircular||void 0!==t?((t=this.chart.renderer.symbols.arc(this.left+n[0],this.top+n[1],u,u,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[this.left+n[0]],t.yBounds=[this.top+n[1]-u]):(t=this.postTranslate(this.angleRad,u),t=["M",this.center[0]+f.plotLeft,this.center[1]+f.plotTop,"L",t.x,t.y]),t},setAxisTranslation:function(){c.setAxisTranslation.call(this);this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)},beforeSetTickPositions:function(){this.autoConnect=this.isCircular&&void 0===r(this.userMax,this.options.max)&&l(this.endAngleRad-this.startAngleRad)===l(2*Math.PI);!this.isCircular&&this.chart.inverted&&this.max++;this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)},setAxisSize:function(){var n,t;(c.setAxisSize.call(this),this.isRadial)&&(this.pane.updateCenter(this),n=this.center=o([],this.pane.center),this.isCircular?this.sector=this.endAngleRad-this.startAngleRad:(t=this.postTranslate(this.angleRad,n[3]/2),n[0]=t.x-this.chart.plotLeft,n[1]=t.y-this.chart.plotTop),this.len=this.width=this.height=(n[2]-n[3])*r(this.sector,1)/2)},getPosition:function(n,t){return n=this.translate(n),this.postTranslate(this.isCircular?n:this.angleRad,r(this.isCircular?t:0>n?0:n,this.center[2]/2)-this.offset)},postTranslate:function(n,t){var i=this.chart,r=this.center;return n=this.startAngleRad+n,{x:i.plotLeft+r[0]+Math.cos(n)*t,y:i.plotTop+r[1]+Math.sin(n)*t}},getPlotBandPath:function(n,t,i){var e=this.center,s=this.startAngleRad,c=e[2]/2,u=[r(i.outerRadius,"100%"),i.innerRadius,r(i.thickness,10)],o=Math.min(this.offset,0),l=/%$/,f=this.isCircular,h;return"polygon"===this.options.gridLineInterpolation?u=this.getPlotLinePath({value:n}).concat(this.getPlotLinePath({value:t,reverse:!0})):((n=Math.max(n,this.min),t=Math.min(t,this.max),f||(u[0]=this.translate(n),u[1]=this.translate(t)),u=u.map(function(n){return l.test(n)&&(n=y(n,10)*c/100),n}),"circle"!==i.shape&&f)?(n=s+this.translate(n),t=s+this.translate(t)):(n=-Math.PI/2,t=1.5*Math.PI,h=!0),u[0]-=o,u[2]-=o,u=this.chart.renderer.symbols.arc(this.left+e[0],this.top+e[1],u[0],u[0],{start:Math.min(n,t),end:Math.max(n,t),innerR:r(u[1],u[0]-u[2]),open:h}),f&&(f=(t+n)/2,o=this.left+e[0]+e[2]/2*Math.cos(f),u.xBounds=f>-Math.PI/2&&f<Math.PI/2?[o,this.chart.plotWidth]:[0,o],u.yBounds=[this.top+e[1]+e[2]/2*Math.sin(f)],u.yBounds[0]+=f>-Math.PI&&0>f||f>Math.PI?-10:10)),u},getCrosshairPosition:function(n,t,i){var u=n.value,o=this.pane.center,r,f;return this.isCircular?(e(u)?n.point&&(r=n.point.shapeArgs||{}).start&&(u=this.chart.inverted?this.translate(n.point.rectPlotY,!0):n.point.x):(r=n.chartX||0,f=n.chartY||0,u=this.translate(Math.atan2(f-i,r-t)-this.startAngleRad,!0)),r=(n=this.getPosition(u)).x,f=n.y):(e(u)||(r=n.chartX,f=n.chartY),e(r)&&e(f)&&(i=o[1]+this.chart.plotTop,u=this.translate(Math.min(Math.sqrt(Math.pow(r-t,2)+Math.pow(f-i,2)),o[2]/2)-o[3]/2,!0))),[u,r||0,f||0]},getPlotLinePath:function(n){var i=this,t=i.pane.center,y=i.chart,b=y.inverted,r=n.value,c=n.reverse,s=i.getPosition(r),f=i.pane.options.background?i.pane.options.background[0]||i.pane.options.background:{},e=f.innerRadius||"0%",o=f.outerRadius||"100%",v;f=t[0]+y.plotLeft;var p,w,l=t[1]+y.plotTop,a=s.x,u=s.y,k=i.height;return(s=t[3]/2,n.isCrosshair&&(u=this.getCrosshairPosition(n,f,l),r=u[0],a=u[1],u=u[2]),i.isCircular)?(c=Math.sqrt(Math.pow(a-f,2)+Math.pow(u-l,2)),e="string"==typeof e?h(e,1):e/c,o="string"==typeof o?h(o,1):o/c,t&&s&&(e<(t=s/c)&&(e=t),o<t&&(o=t)),v=["M",f+e*(a-f),l-e*(l-u),"L",a-(1-o)*(a-f),u+(1-o)*(l-u)]):((r=i.translate(r))&&(0>r||r>k)&&(r=0),"circle"===i.options.gridLineInterpolation?v=i.getLinePath(0,r,s):(y[b?"yAxis":"xAxis"].forEach(function(n){n.pane===i.pane&&(p=n)}),v=[],t=p.tickPositions,p.autoConnect&&(t=t.concat([t[0]])),c&&(t=[].concat(t).reverse()),r&&(r+=s),t.forEach(function(n,t){w=p.getPosition(n,r);v.push(t?"L":"M",w.x,w.y)}))),v},getTitlePosition:function(){var n=this.center,i=this.chart,t=this.options.title;return{x:i.plotLeft+n[0]+(t.x||0),y:i.plotTop+n[1]-{high:.5,middle:.25,low:0}[t.align]*n[2]+(t.y||0)}},createLabelCollector:function(){var n=this;return function(){if(n.isRadial&&n.tickPositions&&!0!==n.options.labels.allowOverlap)return n.tickPositions.map(function(t){return n.ticks[t]&&n.ticks[t].label}).filter(function(n){return!!n})}}};u(f,"init",function(n){var i,t=this.chart,s=t.inverted,r=t.angular,f=t.polar,e=this.isXAxis,u=this.coll,h=r&&e,c=t.options;n=n.userOptions.pane||0;n=this.pane=t.pane&&t.pane[n];"colorAxis"===u?this.isRadial=!1:(r?(o(this,h?w:v),(i=!e)&&(this.defaultPolarOptions=this.defaultRadialGaugeOptions)):f&&(o(this,v),this.defaultPolarOptions=(i=this.horiz)?this.defaultCircularOptions:a("xAxis"===u?this.defaultOptions:this.defaultYAxisOptions,this.defaultRadialOptions),s&&"yAxis"===u&&(this.defaultPolarOptions.stackLabels=this.defaultYAxisOptions.stackLabels)),r||f?(this.isRadial=!0,c.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&t.labelCollectors.push(this.labelCollector)):this.isRadial=!1,n&&i&&(n.axis=this),this.isCircular=i)});u(f,"afterInit",function(){var n=this.chart,u=this.options,t=this.pane,i=t&&t.options;(!n.angular||!this.isXAxis)&&t&&(n.angular||n.polar)&&(this.angleRad=(u.angle||0)*Math.PI/180,this.startAngleRad=(i.startAngle-90)*Math.PI/180,this.endAngleRad=(r(i.endAngle,i.startAngle+360)-90)*Math.PI/180,this.offset=u.offset||0)});u(f,"autoLabelAlign",function(n){this.isRadial&&(n.align=void 0,n.preventDefault())});u(f,"destroy",function(){if(this.chart&&this.chart.labelCollectors){var n=this.chart.labelCollectors.indexOf(this.labelCollector);0<=n&&this.chart.labelCollectors.splice(n,1)}});u(t,"afterGetPosition",function(n){this.axis.getPosition&&o(n.pos,this.axis.getPosition(this.pos))});u(t,"afterGetLabelPosition",function(n){var i=this.axis,c=this.label,u=c.getBBox(),l=i.options.labels,p=l.y,y=20,s=l.align,a=(i.translate(this.pos)+i.startAngleRad+Math.PI/2)/Math.PI*180%360,f=Math.round(a),e="end",t=0>f?f+360:f,o=t,v=0,w=0,k=null===l.y?.3*-u.height:0,b;i.isRadial&&(b=i.getPosition(this.pos,i.center[2]/2+h(r(l.distance,-25),i.center[2]/2,-i.center[2]/2)),"auto"===l.rotation?c.attr({rotation:a}):null===p&&(p=i.chart.renderer.fontMetrics(c.styles&&c.styles.fontSize).b-u.height/2),null===s&&(i.isCircular?(u.width>i.len*i.tickInterval/(i.max-i.min)&&(y=0),s=a>y&&a<180-y?"left":a>180+y&&a<360-y?"right":"center"):s="center",c.attr({align:s})),"auto"===s&&2===i.tickPositions.length&&i.isCircular&&(90<t&&180>t?t=180-t:270<t&&360>=t&&(t=540-t),180<o&&360>=o&&(o=360-o),i.pane.options.startAngle!==f&&i.pane.options.startAngle!==f+360&&i.pane.options.startAngle!==f-360||(e="start"),s=-90<=f&&90>=f||-360<=f&&-270>=f||270<=f&&360>=f?"start"===e?"right":"left":"start"===e?"left":"right",70<o&&110>o&&(s="center"),15>t||180<=t&&195>t?v=.3*u.height:15<=t&&35>=t?v="start"===e?0:.75*u.height:195<=t&&215>=t?v="start"===e?.75*u.height:0:35<t&&90>=t?v="start"===e?.25*-u.height:u.height:215<t&&270>=t&&(v="start"===e?u.height:.25*-u.height),15>o?w="start"===e?.15*-u.height:.15*u.height:165<o&&180>=o&&(w="start"===e?.15*u.height:.15*-u.height),c.attr({align:s}),c.translate(w,v+k)),n.pos.x=b.x+l.x,n.pos.y=b.y+p)});i(p,"getMarkPath",function(n,t,i,r,u,f,e){var o=this.axis;return o.isRadial?["M",t,i,"L",(n=o.getPosition(this.pos,o.center[2]/2+r)).x,n.y]:n.call(this,t,i,r,u,f,e)})});t(n,"parts-more/AreaRangeSeries.js",[n["parts/Globals.js"],n["parts/Point.js"],n["parts/Utilities.js"]],function(n,t,i){var f=i.defined,e=i.extend,h=i.isArray,s=i.isNumber,c=i.pick;i=i.seriesType;var o=n.seriesTypes,r=n.Series.prototype,u=t.prototype;i("arearange","area",{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●<\/span> {series.name}: <b>{point.low}<\/b> - <b>{point.high}<\/b><br/>'},trackByArea:!0,dataLabels:{align:null,verticalAlign:null,xLow:0,xHigh:0,yLow:0,yHigh:0}},{pointArrayMap:["low","high"],pointValKey:"low",deferTranslatePolar:!0,toYData:function(n){return[n.low,n.high]},highToXY:function(n){var t=this.chart,i=this.xAxis.postTranslate(n.rectPlotX,this.yAxis.len-n.plotHigh);n.plotHighX=i.x-t.plotLeft;n.plotHigh=i.y-t.plotTop;n.plotLowX=n.plotX},translate:function(){var n=this,i=n.yAxis,t=!!n.modifyValue;o.area.prototype.translate.apply(n);n.points.forEach(function(r){var u=r.high,f=r.plotY;r.isNull?r.plotY=null:(r.plotLow=f,r.plotHigh=i.translate(t?n.modifyValue(u,r):u,0,1,0,1),t&&(r.yBottom=r.plotHigh))});this.chart.polar&&this.points.forEach(function(t){n.highToXY(t);t.tooltipPos=[(t.plotHighX+t.plotLowX)/2,(t.plotHigh+t.plotLow)/2]})},getGraphPath:function(n){for(var e=[],r=[],s=o.area.prototype.getGraphPath,i=this.options,l=this.chart.polar&&!1!==i.connectEnds,a=i.connectNulls,f=i.step,t,h,u=(n=n||this.points).length;u--;)t=n[u],t.isNull||l||a||n[u+1]&&!n[u+1].isNull||r.push({plotX:t.plotX,plotY:t.plotY,doCurve:!1}),h={polarPlotY:t.polarPlotY,rectPlotX:t.rectPlotX,yBottom:t.yBottom,plotX:c(t.plotHighX,t.plotX),plotY:t.plotHigh,isNull:t.isNull},r.push(h),e.push(h),t.isNull||l||a||n[u-1]&&!n[u-1].isNull||r.push({plotX:t.plotX,plotY:t.plotY,doCurve:!1});return n=s.call(this,n),f&&(!0===f&&(f="left"),i.step={left:"right",center:"center",right:"left"}[f]),e=s.call(this,e),r=s.call(this,r),i.step=f,i=[].concat(n,e),this.chart.polar||"M"!==r[0]||(r[0]="L"),this.graphPath=i,this.areaPath=n.concat(r),i.isArea=!0,i.xMap=n.xMap,this.areaPath.xMap=n.xMap,i},drawDataLabels:function(){var t,n,s=this.points,c=s.length,l=[],i=this.options.dataLabels,a=this.chart.inverted,u,f,o;if(h(i)?1<i.length?(u=i[0],f=i[1]):(u=i[0],f={enabled:!1}):((u=e({},i)).x=i.xHigh,u.y=i.yHigh,(f=e({},i)).x=i.xLow,f.y=i.yLow),u.enabled||this._hasPointLabels){for(t=c;t--;)(n=s[t])&&(o=u.inside?n.plotHigh<n.plotLow:n.plotHigh>n.plotLow,n.y=n.high,n._plotY=n.plotY,n.plotY=n.plotHigh,l[t]=n.dataLabel,n.dataLabel=n.dataLabelUpper,n.below=o,a?u.align||(u.align=o?"right":"left"):u.verticalAlign||(u.verticalAlign=o?"top":"bottom"));for(this.options.dataLabels=u,r.drawDataLabels&&r.drawDataLabels.apply(this,arguments),t=c;t--;)(n=s[t])&&(n.dataLabelUpper=n.dataLabel,n.dataLabel=l[t],delete n.dataLabels,n.y=n.low,n.plotY=n._plotY)}if(f.enabled||this._hasPointLabels){for(t=c;t--;)(n=s[t])&&(o=f.inside?n.plotHigh<n.plotLow:n.plotHigh>n.plotLow,n.below=!o,a?f.align||(f.align=o?"left":"right"):f.verticalAlign||(f.verticalAlign=o?"bottom":"top"));this.options.dataLabels=f;r.drawDataLabels&&r.drawDataLabels.apply(this,arguments)}if(u.enabled)for(t=c;t--;)(n=s[t])&&(n.dataLabels=[n.dataLabelUpper,n.dataLabel].filter(function(n){return!!n}));this.options.dataLabels=i},alignDataLabel:function(){o.column.prototype.alignDataLabel.apply(this,arguments)},drawPoints:function(){var t,i=this.points.length,n;for(r.drawPoints.apply(this,arguments),t=0;t<i;)n=this.points[t],n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},n.lowerGraphic=n.graphic,n.graphic=n.upperGraphic,n.plotY=n.plotHigh,f(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=n.high,n.negative=n.high<(this.options.threshold||0),n.zone=this.zones.length&&n.getZone(),this.chart.polar||(n.isInside=n.isTopInside=void 0!==n.plotY&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len),t++;for(r.drawPoints.apply(this,arguments),t=0;t<i;)(n=this.points[t]).upperGraphic=n.graphic,n.graphic=n.lowerGraphic,e(n,n.origProps),delete n.origProps,t++},setStackedPoints:n.noop},{setState:function(){var i=this.state,n=this.series,t=n.chart.polar;f(this.plotHigh)||(this.plotHigh=n.yAxis.toPixels(this.high,!0));f(this.plotLow)||(this.plotLow=this.plotY=n.yAxis.toPixels(this.low,!0));n.stateMarkerGraphic&&(n.lowerStateMarkerGraphic=n.stateMarkerGraphic,n.stateMarkerGraphic=n.upperStateMarkerGraphic);this.graphic=this.upperGraphic;this.plotY=this.plotHigh;t&&(this.plotX=this.plotHighX);u.setState.apply(this,arguments);this.state=i;this.plotY=this.plotLow;this.graphic=this.lowerGraphic;t&&(this.plotX=this.plotLowX);n.stateMarkerGraphic&&(n.upperStateMarkerGraphic=n.stateMarkerGraphic,n.stateMarkerGraphic=n.lowerStateMarkerGraphic,n.lowerStateMarkerGraphic=void 0);u.setState.apply(this,arguments)},haloPath:function(){var t=this.series.chart.polar,n=[];return this.plotY=this.plotLow,t&&(this.plotX=this.plotLowX),this.isInside&&(n=u.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(this.plotX=this.plotHighX),this.isTopInside&&(n=n.concat(u.haloPath.apply(this,arguments))),n},destroyElements:function(){return["lowerGraphic","upperGraphic"].forEach(function(n){this[n]&&(this[n]=this[n].destroy())},this),this.graphic=null,u.destroyElements.apply(this,arguments)},isValid:function(){return s(this.low)&&s(this.high)}})});t(n,"parts-more/AreaSplineRangeSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){(t=t.seriesType)("areasplinerange","arearange",null,{getPointSpline:n.seriesTypes.spline.prototype.getPointSpline})});t(n,"parts-more/ColumnRangeSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var r=t.clamp,e=t.merge,o=t.pick;t=t.seriesType;var u=n.defaultPlotOptions,f=n.noop,i=n.seriesTypes.column.prototype;t("columnrange","arearange",e(u.column,u.arearange,{pointRange:null,marker:null,states:{hover:{halo:!1}}}),{translate:function(){var s,h,n=this,u=n.yAxis,f=n.xAxis,c=f.startAngleRad,t=n.chart,l=n.xAxis.isRadial,e=Math.max(t.chartWidth,t.chartHeight)+999;i.translate.apply(n);n.points.forEach(function(i){var y=i.shapeArgs,p=n.options.minPointLength,v,a;i.plotHigh=h=r(u.translate(i.high,0,1,0,1),-e,e);i.plotLow=r(i.plotY,-e,e);v=h;a=o(i.rectPlotY,i.plotY)-h;Math.abs(a)<p?(a+=p-=a,v-=p/2):0>a&&(v-=a*=-1);l?(s=i.barX+c,i.shapeType="arc",i.shapeArgs=n.polarArc(v+a,v,s,s+i.pointWidth)):(y.height=a,y.y=v,i.tooltipPos=t.inverted?[u.len+u.pos-t.plotLeft-v-a/2,f.len+f.pos-t.plotTop-y.x-y.width/2,a]:[f.left-t.plotLeft+y.x+y.width/2,u.pos-t.plotTop+v+a/2,a])})},directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:f,getSymbol:f,crispCol:function(){return i.crispCol.apply(this,arguments)},drawPoints:function(){return i.drawPoints.apply(this,arguments)},drawTracker:function(){return i.drawTracker.apply(this,arguments)},getColumnMetrics:function(){return i.getColumnMetrics.apply(this,arguments)},pointAttribs:function(){return i.pointAttribs.apply(this,arguments)},animate:function(){return i.animate.apply(this,arguments)},polarArc:function(){return i.polarArc.apply(this,arguments)},translate3dPoints:function(){return i.translate3dPoints.apply(this,arguments)},translate3dShapes:function(){return i.translate3dShapes.apply(this,arguments)}},{setState:i.pointClass.prototype.setState})});t(n,"parts-more/ColumnPyramidSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var u=t.clamp,i=t.pick,r;t=t.seriesType;r=n.seriesTypes.column.prototype;t("columnpyramid","column",{},{translate:function(){var n=this,t=n.chart,e=n.options,h=n.dense=2>n.closestPointRange*n.xAxis.transA;h=n.borderWidth=i(e.borderWidth,h?0:1);var f=n.yAxis,c=e.threshold,o=n.translatedThreshold=f.getThreshold(c),s=i(e.minPointLength,5),a=n.getColumnMetrics(),v=a.width,l=n.barW=Math.max(v,1+2*h),y=n.pointXOffset=a.offset;t.inverted&&(o-=.5);e.pointPadding&&(l=Math.ceil(l));r.translate.apply(n);n.points.forEach(function(r){var p=i(r.yBottom,o),w=999+Math.abs(p),h=u(r.plotY,-w,f.len+w),k,a,b,d,g,it,nt,tt;w=r.plotX+y;a=l/2;b=Math.min(h,p);p=Math.max(h,p)-b;r.barX=w;r.pointWidth=v;r.tooltipPos=t.inverted?[f.len+f.pos-t.plotLeft-h,n.xAxis.len-w-a,p]:[w+a,h+f.pos-t.plotTop,p];h=c+(r.total||r.y);"percent"===e.stacking&&(h=c+(0>r.y)?-100:100);h=f.toPixels(h,!0);d=(k=t.plotHeight-h-(t.plotHeight-o))?a*(b-h)/k:0;g=k?a*(b+p-h)/k:0;k=w-d+a;d=w+d+a;it=w+g+a;g=w-g+a;nt=b-s;tt=b+p;0>r.y&&(nt=b,tt=b+p+s);t.inverted&&(g=a*(h-((it=t.plotWidth-b)-p))/(k=h-(t.plotWidth-o)),d=(k=w+a+(d=a*(h-it)/k))-2*d,it=w-g+a,g=w+g+a,nt=b,tt=b+p-s,0>r.y&&(tt=b+p+s));r.shapeType="path";r.shapeArgs={x:k,y:nt,width:d-k,height:p,d:["M",k,nt,"L",d,nt,it,tt,g,tt,"Z"]}})}})});t(n,"parts-more/GaugeSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var s=t.clamp,e=t.isNumber,o=t.merge,i=t.pick,r=t.pInt,u,f;t=t.seriesType;u=n.Series;f=n.TrackerMixin;t("gauge","line",{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1},{angular:!0,directTouch:!0,drawGraph:n.noop,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],translate:function(){var n=this.yAxis,u=this.options,t=n.center;this.generatePoints();this.points.forEach(function(f){var h=o(u.dial,f.dial),a=r(i(h.radius,"80%"))*t[2]/200,y=r(i(h.baseLength,"70%"))*a/100,p=r(i(h.rearLength,"10%"))*a/100,v=h.baseWidth||3,w=h.topWidth||1,c=u.overshoot,l=n.startAngleRad+n.translate(f.y,null,null,null,!0);(e(c)||!1===u.wrap)&&(c=e(c)?c/180*Math.PI:0,l=s(l,n.startAngleRad-c,n.endAngleRad+c));l=180*l/Math.PI;f.shapeType="path";f.shapeArgs={d:h.path||["M",-p,-v/2,"L",y,-v/2,a,-w/2,a,w/2,y,v/2,-p,v/2,"z"],translateX:t[0],translateY:t[1],rotation:l};f.plotX=t[0];f.plotY=t[1]})},drawPoints:function(){var n=this,u=n.chart,t=n.yAxis.center,f=n.pivot,e=n.options,r=e.pivot,s=u.renderer;n.points.forEach(function(t){var r=t.graphic,i=t.shapeArgs,h=i.d,f=o(e.dial,t.dial);r?(r.animate(i),i.d=h):t.graphic=s[t.shapeType](i).attr({rotation:i.rotation,zIndex:1}).addClass("highcharts-dial").add(n.group);u.styledMode||t.graphic[r?"animate":"attr"]({stroke:f.borderColor||"none","stroke-width":f.borderWidth||0,fill:f.backgroundColor||"#000000"})});f?f.animate({translateX:t[0],translateY:t[1]}):(n.pivot=s.circle(0,0,i(r.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(t[0],t[1]).add(n.group),u.styledMode||n.pivot.attr({"stroke-width":r.borderWidth||0,stroke:r.borderColor||"#cccccc",fill:r.backgroundColor||"#000000"}))},animate:function(n){var t=this;n||t.points.forEach(function(n){var i=n.graphic;i&&(i.attr({rotation:180*t.yAxis.startAngleRad/Math.PI}),i.animate({rotation:n.shapeArgs.rotation},t.options.animation))})},render:function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup);u.prototype.render.call(this);this.group.clip(this.chart.clipRect)},setData:function(n,t){u.prototype.setData.call(this,n,!1);this.processData();this.generatePoints();i(t,!0)&&this.chart.redraw()},hasData:function(){return!!this.points.length},drawTracker:f&&f.drawTrackerPoint},{setState:function(n){this.state=n}})});t(n,"parts-more/BoxPlotSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var i=t.pick,r,u;t=t.seriesType;r=n.noop;u=n.seriesTypes;t("boxplot","column",{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●<\/span> <b> {series.name}<\/b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2},{pointArrayMap:["low","q1","median","q3","high"],toYData:function(n){return[n.low,n.q1,n.median,n.q3,n.high]},pointValKey:"high",pointAttribs:function(){return{}},drawDataLabels:r,translate:function(){var n=this.yAxis,t=this.pointArrayMap;u.column.prototype.translate.apply(this);this.points.forEach(function(i){t.forEach(function(t){null!==i[t]&&(i[t+"Plot"]=n.translate(i[t],0,1,0,1))});i.plotHigh=i.highPlot})},drawPoints:function(){var o,f,h,c,p,t,w,u,l,b,a,e=this,n=e.options,k=e.chart,v=k.renderer,r=0,y=!1!==e.doQuartiles,s=e.options.whiskerLength;e.points.forEach(function(d){var g=d.graphic,tt=g?"animate":"attr",et=d.shapeArgs,it={},rt={},ut={},ft={},nt=d.color||e.color;void 0!==d.plotY&&(w=et.width,u=Math.floor(et.x),l=u+w,b=Math.round(w/2),o=Math.floor(y?d.q1Plot:d.lowPlot),f=Math.floor(y?d.q3Plot:d.lowPlot),h=Math.floor(d.highPlot),c=Math.floor(d.lowPlot),g||(d.graphic=g=v.g("point").add(e.group),d.stem=v.path().addClass("highcharts-boxplot-stem").add(g),s&&(d.whiskers=v.path().addClass("highcharts-boxplot-whisker").add(g)),y&&(d.box=v.path(void 0).addClass("highcharts-boxplot-box").add(g)),d.medianShape=v.path(void 0).addClass("highcharts-boxplot-median").add(g)),k.styledMode||(rt.stroke=d.stemColor||n.stemColor||nt,rt["stroke-width"]=i(d.stemWidth,n.stemWidth,n.lineWidth),rt.dashstyle=d.stemDashStyle||n.stemDashStyle,d.stem.attr(rt),s&&(ut.stroke=d.whiskerColor||n.whiskerColor||nt,ut["stroke-width"]=i(d.whiskerWidth,n.whiskerWidth,n.lineWidth),d.whiskers.attr(ut)),y&&(it.fill=d.fillColor||n.fillColor||nt,it.stroke=n.lineColor||nt,it["stroke-width"]=n.lineWidth||0,d.box.attr(it)),ft.stroke=d.medianColor||n.medianColor||nt,ft["stroke-width"]=i(d.medianWidth,n.medianWidth,n.lineWidth),d.medianShape.attr(ft)),t=d.stem.strokeWidth()%2/2,r=u+b+t,d.stem[tt]({d:["M",r,f,"L",r,h,"M",r,o,"L",r,c]}),y&&(t=d.box.strokeWidth()%2/2,o=Math.floor(o)+t,f=Math.floor(f)+t,u+=t,l+=t,d.box[tt]({d:["M",u,f,"L",u,o,"L",l,o,"L",l,f,"L",u,f,"z"]})),s&&(t=d.whiskers.strokeWidth()%2/2,h+=t,c+=t,a=/%$/.test(s)?b*parseFloat(s)/100:s/2,d.whiskers[tt]({d:["M",r-a,h,"L",r+a,h,"M",r-a,c,"L",r+a,c]})),p=Math.round(d.medianPlot),t=d.medianShape.strokeWidth()%2/2,p+=t,d.medianShape[tt]({d:["M",u,p,"L",l,p]}))})},setStackedPoints:r})});t(n,"parts-more/ErrorBarSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){t=t.seriesType;var r=n.noop,i=n.seriesTypes;t("errorbar","boxplot",{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●<\/span> {series.name}: <b>{point.low}<\/b> - <b>{point.high}<\/b><br/>'},whiskerWidth:null},{type:"errorbar",pointArrayMap:["low","high"],toYData:function(n){return[n.low,n.high]},pointValKey:"high",doQuartiles:!1,drawDataLabels:i.arearange?function(){var n=this.pointValKey;i.arearange.prototype.drawDataLabels.call(this);this.data.forEach(function(t){t.y=t[n]})}:r,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||i.column.prototype.getColumnMetrics.call(this)}})});t(n,"parts-more/WaterfallSeries.js",[n["parts/Globals.js"],n["parts/Point.js"],n["parts/Utilities.js"]],function(n,t,i){var r=i.addEvent,c=i.arrayMax,l=i.arrayMin,f=i.correctFloat,v=i.isNumber,e=i.objectEach,o=i.pick;i=i.seriesType;var u=n.Axis,y=n.Chart,s=n.Series,a=n.StackItem,h=n.seriesTypes;r(u,"afterInit",function(){this.isXAxis||(this.waterfallStacks={changed:!1})});r(u,"afterBuildStacks",function(){this.waterfallStacks.changed=!1;delete this.waterfallStacks.alreadyChanged});r(y,"beforeRedraw",function(){for(var i=this.axes,t=this.series,n=t.length;n--;)t[n].options.stacking&&(i.forEach(function(n){n.isXAxis||(n.waterfallStacks.changed=!0)}),n=0)});r(u,"afterRender",function(){var n=this.options.stackLabels;n&&n.enabled&&this.waterfallStacks&&this.renderWaterfallStackTotals()});u.prototype.renderWaterfallStackTotals=function(){var t=this.waterfallStacks,i=this.stackTotalGroup,n=new a(this,this.options.stackLabels,!1,0,void 0);this.dummyStackItem=n;e(t,function(t){e(t,function(t){n.total=t.stackTotal;t.label&&(n.label=t.label);a.prototype.render.call(n,i);t.label=n.label;delete n.label})});n.total=null};i("waterfall","column",{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}},{pointValKey:"y",showLine:!0,generatePoints:function(){var i,n,t,r;for(h.column.prototype.generatePoints.apply(this),n=0,i=this.points.length;n<i;n++)t=this.points[n],r=this.processedYData[n],(t.isIntermediateSum||t.isSum)&&(t.y=f(r))},translate:function(){var l,a=this.options,u=this.yAxis,v=o(a.minPointLength,5),y=v/2,p=a.threshold,b=a.stacking,w=u.waterfallStacks[this.stackKey],e;h.column.prototype.translate.apply(this);var c=l=p,k=this.points,s=0;for(a=k.length;s<a;s++){var r=k[s],f=this.processedYData[s],t=r.shapeArgs,n=[0,f],i=r.y;b?(w&&((n=w[s],"overlap"===b)?(e=n.stackState[n.stateIndex--],e=0<=i?e:e-i,Object.hasOwnProperty.call(n,"absolutePos")&&delete n.absolutePos,Object.hasOwnProperty.call(n,"absoluteNeg")&&delete n.absoluteNeg):(0<=i?(e=n.threshold+n.posTotal,n.posTotal-=i):(e=n.threshold+n.negTotal,n.negTotal-=i,e-=i),!n.posTotal&&Object.hasOwnProperty.call(n,"absolutePos")&&(n.posTotal=n.absolutePos,delete n.absolutePos),!n.negTotal&&Object.hasOwnProperty.call(n,"absoluteNeg")&&(n.negTotal=n.absoluteNeg,delete n.absoluteNeg)),r.isSum||(n.connectorThreshold=n.threshold+n.stackTotal),u.reversed?(f=0<=i?e-i:e+i,i=e):(f=e,i=e-i),r.below=f<=o(p,0),t.y=u.translate(f,0,1,0,1),t.height=Math.abs(t.y-u.translate(i,0,1,0,1))),(i=u.dummyStackItem)&&(i.x=s,i.label=w[s].label,i.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[s],this.stackedYPos[s]))):(e=Math.max(c,c+i)+n[0],t.y=u.translate(e,0,1,0,1),r.isSum?(t.y=u.translate(n[1],0,1,0,1),t.height=Math.min(u.translate(n[0],0,1,0,1),u.len)-t.y):r.isIntermediateSum?(0<=i?(f=n[1]+l,i=l):(f=l,i=n[1]+l),u.reversed&&(f^=i,f^=i^=f),t.y=u.translate(f,0,1,0,1),t.height=Math.abs(t.y-Math.min(u.translate(i,0,1,0,1),u.len)),l+=n[1]):(t.height=0<f?u.translate(c,0,1,0,1)-t.y:u.translate(c,0,1,0,1)-u.translate(c-f,0,1,0,1),c+=f,r.below=c<o(p,0)),0>t.height&&(t.y+=t.height,t.height*=-1));r.plotY=t.y=Math.round(t.y)-this.borderWidth%2/2;t.height=Math.max(Math.round(t.height),.001);r.yBottom=t.y+t.height;t.height<=v&&!r.isNull?(t.height=v,t.y-=y,r.plotY=t.y,r.minPointLengthOffset=0>r.y?-y:y):(r.isNull&&(t.width=0),r.minPointLengthOffset=0);t=r.plotY+(r.negative?t.height:0);this.chart.inverted?r.tooltipPos[0]=u.len-t:r.tooltipPos[1]=t}},processData:function(n){for(var u,i,e,o,c=this.options,h=this.yData,l=c.data,v=h.length,y=c.threshold||0,r,a,t=i=u=e=o=0;t<v;t++)r=h[t],a=l&&l[t]?l[t]:{},"sum"===r||a.isSum?h[t]=f(i):"intermediateSum"===r||a.isIntermediateSum?(h[t]=f(u),u=0):(i+=r,u+=r),e=Math.min(i,e),o=Math.max(i,o);s.prototype.processData.call(this,n);c.stacking||(this.dataMin=e+y,this.dataMax=o)},toYData:function(n){return n.isSum?"sum":n.isIntermediateSum?"intermediateSum":n.y},updateParallelArrays:function(n,t){s.prototype.updateParallelArrays.call(this,n,t);"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},pointAttribs:function(n,t){var i=this.options.upColor;return i&&!n.options.color&&(n.color=0<n.y?i:null),delete(n=h.column.prototype.pointAttribs.call(this,n,t)).dashstyle,n},getGraphPath:function(){return["M",0,0]},getCrispPath:function(){for(var f=this.data,h=this.yAxis,y=f.length,c=Math.round(this.graph.strokeWidth())%2/2,p=Math.round(this.borderWidth)%2/2,l=this.xAxis.reversed,o=this.yAxis.reversed,a=this.options.stacking,s=[],u,n=1;n<y;n++){var v=f[n].shapeArgs,e=f[n-1],t=f[n-1].shapeArgs,i=h.waterfallStacks[this.stackKey],r=0<e.y?-t.height:0;i&&(i=i[n-1],a?(i=i.connectorThreshold,r=Math.round(h.translate(i,0,1,0,1)+(o?r:0))-c):r=t.y+e.minPointLengthOffset+p-c,u=["M",t.x+(l?0:t.width),r,"L",v.x+(l?v.width:0),r]);(!a&&u&&0>e.y&&!o||0<e.y&&o)&&(u[2]+=t.height,u[5]+=t.height);s=s.concat(u)}return s},drawGraph:function(){s.prototype.drawGraph.call(this);this.graph.attr({d:this.getCrispPath()})},setStackedPoints:function(){function p(t,i,r,u){if(s)for(;r<s;r++)n.stackState[r]+=u;else n.stackState[0]=t,s=n.stackState.length;n.stackState.push(n.stackState[s-1]+i)}var r,h,l,w=this.options,t=this.yAxis.waterfallStacks,a=w.threshold,i=a||0,b=i,c=this.stackKey,k=this.xData,g=k.length,v,y,e,u,n,f,o,d,s;if(this.yAxis.usePercentage=!1,v=h=l=i,this.visible||!this.chart.options.chart.ignoreHiddenSeries){for(y=t.changed,(r=t.alreadyChanged)&&0>r.indexOf(c)&&(y=!0),t[c]||(t[c]={}),r=t[c],e=0;e<g;e++)u=k[e],r[u]&&!y||(r[u]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:y&&r[u]?r[u].label:void 0}),n=r[u],f=this.yData[e],0<=f?n.posTotal+=f:n.negTotal+=f,o=w.data[e],u=n.absolutePos=n.posTotal,d=n.absoluteNeg=n.negTotal,n.stackTotal=u+d,s=n.stackState.length,o&&o.isIntermediateSum?(p(l,h,0,l),l=h,h=a,i^=b,i^=b^=i):o&&o.isSum?(p(a,v,s),i=a):(p(i,f,0,v),o&&(v+=f,h+=f)),n.stateIndex++,n.threshold=i,i+=n.stackTotal;t.changed=!1;t.alreadyChanged||(t.alreadyChanged=[]);t.alreadyChanged.push(c)}},getExtremes:function(){var r=this.options.stacking,n,t,i;r&&(n=this.yAxis,n=n.waterfallStacks,t=this.stackedYNeg=[],i=this.stackedYPos=[],e(n[this.stackKey],"overlap"===r?function(n){t.push(l(n.stackState));i.push(c(n.stackState))}:function(n){t.push(n.negTotal+n.threshold);i.push(n.posTotal+n.threshold)}),this.dataMin=l(t),this.dataMax=c(i))}},{getClassName:function(){var n=t.prototype.getClassName.call(this);return this.isSum?n+=" highcharts-sum":this.isIntermediateSum&&(n+=" highcharts-intermediate-sum"),n},isValid:function(){return v(this.y)||this.isSum||this.isIntermediateSum}})});t(n,"parts-more/PolygonSeries.js",[n["parts/Globals.js"],n["mixins/legend-symbol.js"],n["parts/Utilities.js"]],function(n,t,i){i=i.seriesType;var r=n.Series,u=n.seriesTypes;i("polygon","scatter",{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0},{type:"polygon",getGraphPath:function(){for(var n=r.prototype.getGraphPath.call(this),t=n.length+1;t--;)(t===n.length||"M"===n[t])&&0<t&&n.splice(t,0,"z");return this.areaPath=n},drawGraph:function(){this.options.fillColor=this.color;u.area.prototype.drawGraph.call(this)},drawLegendSymbol:t.drawRectangle,drawTracker:r.prototype.drawTracker,setStackedPoints:n.noop})});t(n,"parts-more/BubbleLegend.js",[n["parts/Globals.js"],n["parts/Color.js"],n["parts/Legend.js"],n["parts/Utilities.js"]],function(n,t,i,r){var c=t.parse;t=r.addEvent;var l=r.arrayMax,a=r.arrayMin,o=r.isNumber,f=r.merge,s=r.objectEach,u=r.pick,v=r.stableSort,y=r.wrap,p=n.Series,h=n.Chart,w=n.noop,e=n.setOptions;return e({legend:{bubbleLegend:{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:10,color:void 0},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}}),e=function(){function n(n,t){this.options=this.symbols=this.visible=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0;this.setState=w;this.init(n,t)}return n.prototype.init=function(n,t){this.options=n;this.visible=!0;this.chart=t.chart;this.legend=t},n.prototype.addToLegend=function(n){n.splice(this.options.legendIndex,0,this)},n.prototype.drawLegendSymbol=function(n){var r=this.chart,f=this.options,e=u(n.options.itemDistance,20),t=f.ranges,i=f.connectorDistance;this.fontMetrics=r.renderer.fontMetrics(f.labels.style.fontSize.toString()+"px");t&&t.length&&o(t[0].value)?(v(t,function(n,t){return t.value-n.value}),this.ranges=t,this.setOptions(),this.render(),r=this.getMaxLabelSize(),n=2*(t=this.ranges[0].radius),i=0<(i=i-t+r.width)?i:0,this.maxLabel=r,this.movementX="left"===f.labels.align?i:0,this.legendItemWidth=n+i+e,this.legendItemHeight=n+this.fontMetrics.h/2):n.options.bubbleLegend.autoRanges=!0},n.prototype.setOptions=function(){var t=this.ranges,n=this.options,i=this.chart.series[n.seriesIndex],h=this.legend.baseline,r={"z-index":n.zIndex,"stroke-width":n.borderWidth},e={"z-index":n.zIndex,"stroke-width":n.connectorWidth},l=this.getLabelStyles(),o=i.options.marker.fillOpacity,s=this.chart.styledMode;t.forEach(function(a,v){s||(r.stroke=u(a.borderColor,n.borderColor,i.color),r.fill=u(a.color,n.color,1!==o?c(i.color).setOpacity(o).get("rgba"):i.color),e.stroke=u(a.connectorColor,n.connectorColor,i.color));t[v].radius=this.getRangeRadius(a.value);t[v]=f(t[v],{center:t[0].radius-t[v].radius+h});s||f(!0,t[v],{bubbleStyle:f(!1,r),connectorStyle:f(!1,e),labelStyle:l})},this)},n.prototype.getLabelStyles=function(){var n=this.options,t={},i="left"===n.labels.align,r=this.legend.options.rtl;return s(n.labels.style,function(n,i){"color"!==i&&"fontSize"!==i&&"z-index"!==i&&(t[i]=n)}),f(!1,t,{"font-size":n.labels.style.fontSize,fill:u(n.labels.style.color,"#000000"),"z-index":n.zIndex,align:r||i?"right":"left"})},n.prototype.getRangeRadius=function(n){var t=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,t.ranges[t.ranges.length-1].value,t.ranges[0].value,t.minSize,t.maxSize,n)},n.prototype.render=function(){var n=this.chart.renderer,t=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=n.g("bubble-legend");this.legendItem=n.g("bubble-legend-item");this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(n){n.value>=t&&this.renderRange(n)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()},n.prototype.renderRange=function(n){var t=this.options,u=t.labels,f=this.chart.renderer,c=this.symbols,y=c.labels,a=n.center,v=Math.abs(n.radius),i=t.connectorDistance,e=u.align,o=u.style.fontSize,s,h,r,l;i=this.legend.options.rtl||"left"===e?-i:i;u=t.connectorWidth;s=this.ranges[0].radius;h=a-v-t.borderWidth/2+u/2;o=o/2-(this.fontMetrics.h-o)/2;r=f.styledMode;"center"===e&&(i=0,t.connectorDistance=0,n.labelStyle.align="center");e=h+t.labels.y;l=s+i+t.labels.x;c.bubbleItems.push(f.circle(s,a+((h%1?1:.5)-(u%2?0:.5)),v).attr(r?{}:n.bubbleStyle).addClass((r?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-symbol "+(t.className||"")).add(this.legendSymbol));c.connectors.push(f.path(f.crispLine(["M",s,h,"L",s+i,h],t.connectorWidth)).attr(r?{}:n.connectorStyle).addClass((r?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(t.connectorClassName||"")).add(this.legendSymbol));n=f.text(this.formatLabel(n),l,e+o).attr(r?{}:n.labelStyle).addClass("highcharts-bubble-legend-labels "+(t.labels.className||"")).add(this.legendSymbol);y.push(n);n.placed=!0;n.alignAttr={x:l,y:e+o}},n.prototype.getMaxLabelSize=function(){var n,t;return this.symbols.labels.forEach(function(i){t=i.getBBox(!0);n=n?t.width>n.width?t:n:t}),n||{}},n.prototype.formatLabel=function(n){var t=this.options,i=t.labels.formatter,u;return t=t.labels.format,u=this.chart.numberFormatter,t?r.format(t,n):i?i.call(n):u(n.value,1)},n.prototype.hideOverlappingLabels=function(){var t=this.chart,n=this.symbols;!this.options.labels.allowOverlap&&n&&(t.hideOverlappingLabels(n.labels),n.labels.forEach(function(t,i){t.newOpacity?t.newOpacity!==t.oldOpacity&&n.connectors[i].show():n.connectors[i].hide()}))},n.prototype.getRanges=function(){var e,s=this.legend.bubbleLegend,t=s.options.ranges,i=Number.MAX_VALUE,n=-Number.MAX_VALUE,r;return s.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&(e=t.zData.filter(o)).length&&(i=u(t.options.zMin,Math.min(i,Math.max(a(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),n=u(t.options.zMax,Math.max(n,l(e))))}),r=i===n?[{value:n}]:[{value:i},{value:(i+n)/2},{value:n,autoRanges:!0}],t.length&&t[0].radius&&r.reverse(),r.forEach(function(n,i){t&&t[i]&&(r[i]=f(!1,t[i],n))}),r},n.prototype.predictBubbleSizes=function(){var t=this.chart,i=this.fontMetrics,o=t.legend.options,r="horizontal"===o.layout,h=r?t.legend.lastLineHeight:0,u=t.plotSizeX,f=t.plotSizeY,n=t.series[this.options.seriesIndex],e,s;return t=Math.ceil(n.minPxSize),e=Math.ceil(n.maxPxSize),n=n.options.maxSize,s=Math.min(f,u),o.floating||!/%$/.test(n)?i=e:(n=parseFloat(n),i=(s+h-i.h/2)*n/100/(n/100+1),(r&&f-i>=u||!r&&u-i>=f)&&(i=e)),[t,Math.ceil(i)]},n.prototype.updateRanges=function(n,t){var i=this.legend.options.bubbleLegend;i.minSize=n;i.maxSize=t;i.ranges=this.getRanges()},n.prototype.correctSizes=function(){var t=this.legend,n=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(n.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,n.maxPxSize),t.render())},n}(),t(i,"afterGetAllItems",function(t){var r=this.bubbleLegend,u=this.options,i=u.bubbleLegend,f=this.chart.getVisibleBubbleSeriesIndex();r&&r.ranges&&r.ranges.length&&(i.ranges.length&&(i.autoRanges=!!i.ranges[0].autoRanges),this.destroyItem(r));0<=f&&u.enabled&&i.enabled&&(i.seriesIndex=f,this.bubbleLegend=new n.BubbleLegend(i,this),this.bubbleLegend.addToLegend(t.allItems))}),h.prototype.getVisibleBubbleSeriesIndex=function(){for(var t=this.series,n=0;n<t.length;){if(t[n]&&t[n].isBubble&&t[n].visible&&t[n].zData.length)return n;n++}return-1},i.prototype.getLinesHeights=function(){for(var t=this.allItems,i=[],f=t.length,r=0,u,n=0;n<f;n++)if(t[n].legendItemHeight&&(t[n].itemHeight=t[n].legendItemHeight),t[n]===t[f-1]||t[n+1]&&t[n]._legendItemPos[1]!==t[n+1]._legendItemPos[1]){for(i.push({height:0}),u=i[i.length-1];r<=n;r++)t[r].itemHeight>u.height&&(u.height=t[r].itemHeight);u.step=n}return i},i.prototype.retranslateItems=function(n){var r,u,t,f=this.options.rtl,i=0;this.allItems.forEach(function(e,o){r=e.legendGroup.translateX;u=e._legendItemPos[1];((t=e.movementX)||f&&e.ranges)&&(t=f?r-e.options.maxSize/2:r+t,e.legendGroup.attr({translateX:t}));o>n[i].step&&i++;e.legendGroup.attr({translateY:Math.round(u+n[i].height/2)});e._legendItemPos[1]=u+n[i].height/2})},t(p,"legendItemClick",function(){var n=this.chart,i=this.visible,t=this.chart.legend;t&&t.bubbleLegend&&(this.visible=!i,this.ignoreSeries=i,n=0<=n.getVisibleBubbleSeriesIndex(),t.bubbleLegend.visible!==n&&(t.update({bubbleLegend:{enabled:n}}),t.bubbleLegend.visible=n),this.visible=i)}),y(h.prototype,"drawChartBox",function(n,t,i){var r=this.legend,u=0<=this.getVisibleBubbleSeriesIndex(),f;r&&r.options.enabled&&r.bubbleLegend&&r.options.bubbleLegend.autoRanges&&u?(f=r.bubbleLegend.options,u=r.bubbleLegend.predictBubbleSizes(),r.bubbleLegend.updateRanges(u[0],u[1]),f.placed||(r.group.placed=!1,r.allItems.forEach(function(n){n.legendGroup.translateY=null})),r.render(),this.getMargins(),this.axes.forEach(function(n){n.visible&&n.render();f.placed||(n.setScale(),n.updateNames(),s(n.ticks,function(n){n.isNew=!0;n.isNewLabel=!0}))}),f.placed=!0,this.getMargins(),n.call(this,t,i),r.bubbleLegend.correctSizes(),r.retranslateItems(r.getLinesHeights())):(n.call(this,t,i),r&&r.options.enabled&&r.bubbleLegend&&(r.render(),r.retranslateItems(r.getLinesHeights())))}),n.BubbleLegend=e,n.BubbleLegend});t(n,"parts-more/BubbleSeries.js",[n["parts/Globals.js"],n["parts/Color.js"],n["parts/Point.js"],n["parts/Utilities.js"]],function(n,t,i,r){var s=t.parse,h=r.arrayMax,c=r.arrayMin,l=r.clamp,a=r.extend,u=r.isNumber,f=r.pick,v=r.pInt;t=r.seriesType;r=n.Axis;var e=n.noop,y=n.Series,o=n.seriesTypes;t("bubble","scatter",{dataLabels:{formatter:function(){return this.point.z},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"},{pointArrayMap:["y","z"],parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",bubblePadding:!0,zoneAxis:"z",directTouch:!0,isBubble:!0,pointAttribs:function(n,t){var i=this.options.marker.fillOpacity;return n=y.prototype.pointAttribs.call(this,n,t),1!==i&&(n.fill=s(n.fill).setOpacity(i).get("rgba")),n},getRadii:function(n,t,i){var u=this.zData,o=this.yData,s=i.minPxSize,h=i.maxPxSize,f=[],r=0,e;for(i=u.length;r<i;r++)e=u[r],f.push(this.getRadius(n,t,s,h,e,o[r]));this.radii=f},getRadius:function(n,t,i,r,f,e){var s=this.options,l="width"!==s.sizeBy,h=s.zThreshold,c=t-n,o=.5;if(null===e||null===f)return null;if(u(f)){if(s.sizeByAbsoluteValue&&(f=Math.abs(f-h),c=Math.max(t-h,Math.abs(n-h)),n=0),f<n)return i/2-1;0<c&&(o=(f-n)/c)}return l&&0<=o&&(o=Math.sqrt(o)),Math.ceil(i+o*(r-i))/2},animate:function(n){!n&&this.points.length<this.options.animationLimit&&this.points.forEach(function(n){var t=n.graphic,i;t&&t.width&&(i={x:t.x,y:t.y,width:t.width,height:t.height},t.attr({x:n.plotX,y:n.plotY,width:1,height:1}),t.animate(i,this.options.animation))},this)},hasData:function(){return!!this.processedXData.length},translate:function(){var i,r=this.data,f=this.radii,t,n;for(o.scatter.prototype.translate.call(this),i=r.length;i--;)t=r[i],n=f?f[i]:0,u(n)&&n>=this.minPxSize/2?(t.marker=a(t.marker,{radius:n,width:2*n,height:2*n}),t.dlBox={x:t.plotX-n,y:t.plotY-n,width:2*n,height:2*n}):t.shapeArgs=t.plotY=t.dlBox=void 0},alignDataLabel:o.column.prototype.alignDataLabel,buildKDTree:e,applyZones:e},{haloPath:function(n){return i.prototype.haloPath.call(this,0===n?0:(this.marker&&this.marker.radius||0)+n)},ttBelow:!1});r.prototype.beforePadding=function(){var n=this,t=this.len,s=this.chart,r=0,i=t,a=this.isXAxis,d=a?"xData":"yData",y=this.min,e={},g=Math.min(s.plotWidth,s.plotHeight),p=Number.MAX_VALUE,w=-Number.MAX_VALUE,b=this.max-y,o=t/b,k=[];this.series.forEach(function(t){var i=t.options;t.bubblePadding&&(t.visible||!s.options.chart.ignoreHiddenSeries)&&(n.allowZoomOutside=!0,k.push(t),a&&(["minSize","maxSize"].forEach(function(n){var t=i[n],r=/%$/.test(t);t=v(t);e[n]=r?g*t/100:t}),t.minPxSize=e.minSize,t.maxPxSize=Math.max(e.maxSize,e.minSize),(t=t.zData.filter(u)).length&&(p=f(i.zMin,l(c(t),!1===i.displayNegative?i.zThreshold:-Number.MAX_VALUE,p)),w=f(i.zMax,Math.max(w,h(t))))))});k.forEach(function(t){var e=t[d],f=e.length,s;if(a&&t.getRadii(p,w,t),0<b)for(;f--;)u(e[f])&&n.dataMin<=e[f]&&e[f]<=n.max&&(s=t.radii?t.radii[f]:0,r=Math.min((e[f]-y)*o-s,r),i=Math.max((e[f]-y)*o+s,i))});k.length&&0<b&&!this.isLog&&(i-=t,o*=(t+Math.max(0,r)-Math.min(i,t))/t,[["min","userMin",r],["max","userMax",i]].forEach(function(t){void 0===f(n.options[t[0]],n[t[1]])&&(n[t[0]]+=t[2]/o)}))}});t(n,"modules/networkgraph/integrations.js",[n["parts/Globals.js"]],function(n){n.networkgraphIntegrations={verlet:{attractiveForceFunction:function(n,t){return(t-n)/n},repulsiveForceFunction:function(n,t){return(t-n)/n*(t>n?1:0)},barycenter:function(){var i=this.options.gravitationalConstant,n=this.barycenter.xFactor,t=this.barycenter.yFactor;n=(n-(this.box.left+this.box.width)/2)*i;t=(t-(this.box.top+this.box.height)/2)*i;this.nodes.forEach(function(i){i.fixedPosition||(i.plotX-=n/i.mass/i.degree,i.plotY-=t/i.mass/i.degree)})},repulsive:function(n,t,i){t=t*this.diffTemperature/n.mass/n.degree;n.fixedPosition||(n.plotX+=i.x*t,n.plotY+=i.y*t)},attractive:function(n,t,i){var r=n.getMass(),u=-i.x*t*this.diffTemperature;t=-i.y*t*this.diffTemperature;n.fromNode.fixedPosition||(n.fromNode.plotX-=u*r.fromNode/n.fromNode.degree,n.fromNode.plotY-=t*r.fromNode/n.fromNode.degree);n.toNode.fixedPosition||(n.toNode.plotX+=u*r.toNode/n.toNode.degree,n.toNode.plotY+=t*r.toNode/n.toNode.degree)},integrate:function(n,t){var i=-n.options.friction,f=n.options.maxSpeed,r=(t.plotX+t.dispX-t.prevX)*i,u,e;i*=t.plotY+t.dispY-t.prevY;u=Math.abs;e=u(r)/(r||1);u=u(i)/(i||1);r=e*Math.min(f,Math.abs(r));i=u*Math.min(f,Math.abs(i));t.prevX=t.plotX+t.dispX;t.prevY=t.plotY+t.dispY;t.plotX+=r;t.plotY+=i;t.temperature=n.vectorLength({x:r,y:i})},getK:function(n){return Math.pow(n.box.width*n.box.height/n.nodes.length,.5)}},euler:{attractiveForceFunction:function(n,t){return n*n/t},repulsiveForceFunction:function(n,t){return t*t/n},barycenter:function(){var n=this.options.gravitationalConstant,t=this.barycenter.xFactor,i=this.barycenter.yFactor;this.nodes.forEach(function(r){if(!r.fixedPosition){var u=r.getDegree();u*=1+u/2;r.dispX+=(t-r.plotX)*n*u/r.degree;r.dispY+=(i-r.plotY)*n*u/r.degree}})},repulsive:function(n,t,i,r){n.dispX+=i.x/r*t/n.degree;n.dispY+=i.y/r*t/n.degree},attractive:function(n,t,i,r){var u=n.getMass(),f=i.x/r*t;t*=i.y/r;n.fromNode.fixedPosition||(n.fromNode.dispX-=f*u.fromNode/n.fromNode.degree,n.fromNode.dispY-=t*u.fromNode/n.fromNode.degree);n.toNode.fixedPosition||(n.toNode.dispX+=f*u.toNode/n.toNode.degree,n.toNode.dispY+=t*u.toNode/n.toNode.degree)},integrate:function(n,t){t.dispX+=t.dispX*n.options.friction;t.dispY+=t.dispY*n.options.friction;var i=t.temperature=n.vectorLength({x:t.dispX,y:t.dispY});0!==i&&(t.plotX+=t.dispX/i*Math.min(Math.abs(t.dispX),n.temperature),t.plotY+=t.dispY/i*Math.min(Math.abs(t.dispY),n.temperature))},getK:function(n){return Math.pow(n.box.width*n.box.height/n.nodes.length,.3)}}}});t(n,"modules/networkgraph/QuadTree.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){t=t.extend;var i=n.QuadTreeNode=function(n){this.box=n;this.boxSize=Math.min(n.width,n.height);this.nodes=[];this.body=this.isInternal=!1;this.isEmpty=!0};t(i.prototype,{insert:function(n,t){this.isInternal?this.nodes[this.getBoxPosition(n)].insert(n,t-1):(this.isEmpty=!1,this.body?t?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,t-1),this.body=!0),this.nodes[this.getBoxPosition(n)].insert(n,t-1)):((t=new i({top:n.plotX,left:n.plotY,width:.1,height:.1})).body=n,t.isInternal=!1,this.nodes.push(t)):(this.isInternal=!1,this.body=n))},updateMassAndCenter:function(){var n=0,t=0,i=0;this.isInternal?(this.nodes.forEach(function(r){r.isEmpty||(n+=r.mass,t+=r.plotX*r.mass,i+=r.plotY*r.mass)}),t/=n,i/=n):this.body&&(n=this.body.mass,t=this.body.plotX,i=this.body.plotY);this.mass=n;this.plotX=t;this.plotY=i},divideBox:function(){var n=this.box.width/2,t=this.box.height/2;this.nodes[0]=new i({left:this.box.left,top:this.box.top,width:n,height:t});this.nodes[1]=new i({left:this.box.left+n,top:this.box.top,width:n,height:t});this.nodes[2]=new i({left:this.box.left+n,top:this.box.top+t,width:n,height:t});this.nodes[3]=new i({left:this.box.left,top:this.box.top+t,width:n,height:t})},getBoxPosition:function(n){var t=n.plotY<this.box.top+this.box.height/2;return n.plotX<this.box.left+this.box.width/2?t?0:3:t?1:2}});t((n=n.QuadTree=function(n,t,r,u){this.box={left:n,top:t,width:r,height:u};this.maxDepth=25;this.root=new i(this.box,"0");this.root.isInternal=!0;this.root.isRoot=!0;this.root.divideBox()}).prototype,{insertNodes:function(n){n.forEach(function(n){this.root.insert(n,this.maxDepth)},this)},visitNodeRecursive:function(n,t,i){var r;n||(n=this.root);n===this.root&&t&&(r=t(n));!1!==r&&(n.nodes.forEach(function(n){if(n.isInternal){if(t&&(r=t(n)),!1===r)return;this.visitNodeRecursive(n,t,i)}else n.body&&t&&t(n.body);i&&i(n)},this),n===this.root&&i&&i(n))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,function(n){n.updateMassAndCenter()})}})});t(n,"modules/networkgraph/layouts.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var r=t.addEvent,u=t.clamp,f=t.defined,e=t.extend,o=t.isFunction,i=t.pick,s=t.setAnimation;t=n.Chart;n.layouts={"reingold-fruchterman":function(){}};e(n.layouts["reingold-fruchterman"].prototype,{init:function(t){this.options=t;this.nodes=[];this.links=[];this.series=[];this.box={x:0,y:0,width:0,height:0};this.setInitialRendering(!0);this.integration=n.networkgraphIntegrations[t.integration];this.attractiveForce=i(t.attractiveForce,this.integration.attractiveForceFunction);this.repulsiveForce=i(t.repulsiveForce,this.integration.repulsiveForceFunction);this.approximation=t.approximation},start:function(){var n=this.series,t=this.options;this.currentStep=0;this.forces=n[0]&&n[0].forces||[];this.initialRendering&&(this.initPositions(),n.forEach(function(n){n.render()}));this.setK();this.resetSimulation(t);t.enableSimulation&&this.step()},step:function(){var t=this,i=this.series,r=this.options;t.currentStep++;"barnes-hut"===t.approximation&&(t.createQuadTree(),t.quadTree.calculateMassAndCenter());t.forces.forEach(function(n){t[n+"Forces"](t.temperature)});t.applyLimits(t.temperature);t.temperature=t.coolDown(t.startTemperature,t.diffTemperature,t.currentStep);t.prevSystemTemperature=t.systemTemperature;t.systemTemperature=t.getSystemTemperature();r.enableSimulation&&(i.forEach(function(n){n.chart&&n.render()}),t.maxIterations--&&isFinite(t.temperature)&&!t.isStable()?(t.simulation&&n.win.cancelAnimationFrame(t.simulation),t.simulation=n.win.requestAnimationFrame(function(){t.step()})):t.simulation=!1)},stop:function(){this.simulation&&n.win.cancelAnimationFrame(this.simulation)},setArea:function(n,t,i,r){this.box={left:n,top:t,width:i,height:r}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(n,t){n.forEach(function(n){-1===t.indexOf(n)&&t.push(n)})},removeElementFromCollection:function(n,t){-1!==(n=t.indexOf(n))&&t.splice(n,1)},clear:function(){this.nodes.length=0;this.links.length=0;this.series.length=0;this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1;this.systemTemperature=0;this.setMaxIterations();this.setTemperature();this.setDiffTemperature()},setMaxIterations:function(n){this.maxIterations=i(n,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},setInitialRendering:function(n){this.initialRendering=n},createQuadTree:function(){this.quadTree=new n.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height);this.quadTree.insertNodes(this.nodes)},initPositions:function(){var n=this.options.initialPositions;o(n)?(n.call(this),this.nodes.forEach(function(n){f(n.prevX)||(n.prevX=n.plotX);f(n.prevY)||(n.prevY=n.plotY);n.dispX=0;n.dispY=0})):"circle"===n?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){var r=this.box,t=this.nodes,u=2*Math.PI/(t.length+1),o=t.filter(function(n){return 0===n.linksTo.length}),n=[],f={},e=this.options.initialPositionRadius;o.forEach(function(t){n.push(t),function t(i){i.linksFrom.forEach(function(i){f[i.toNode.id]||(f[i.toNode.id]=!0,n.push(i.toNode),t(i.toNode))})}(t)});n.length?t.forEach(function(t){-1===n.indexOf(t)&&n.push(t)}):n=t;n.forEach(function(n,t){n.plotX=n.prevX=i(n.plotX,r.width/2+e*Math.cos(t*u));n.plotY=n.prevY=i(n.plotY,r.height/2+e*Math.sin(t*u));n.dispX=0;n.dispY=0})},setRandomPositions:function(){function n(n){return(n=n*n/Math.PI)-Math.floor(n)}var t=this.box,r=this.nodes,u=r.length+1;r.forEach(function(r,f){r.plotX=r.prevX=i(r.plotX,t.width*n(f));r.plotY=r.prevY=i(r.plotY,t.height*n(u+f));r.dispX=0;r.dispY=0})},force:function(n){this.integration[n].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter();this.force("barycenter")},getBarycenter:function(){var n=0,t=0,i=0;return this.nodes.forEach(function(r){t+=r.plotX*r.mass;i+=r.plotY*r.mass;n+=r.mass}),this.barycenter={x:t,y:i,xFactor:t/n,yFactor:i/n}},barnesHutApproximation:function(n,t){var u=this.getDistXY(n,t),i=this.vectorLength(u),r,f;return n!==t&&0!==i&&(t.isInternal?t.boxSize/i<this.options.theta&&0!==i?(r=this.repulsiveForce(i,this.k),this.force("repulsive",n,r*t.mass,u,i),f=!1):f=!0:(r=this.repulsiveForce(i,this.k),this.force("repulsive",n,r*t.mass,u,i))),f},repulsiveForces:function(){var n=this;"barnes-hut"===n.approximation?n.nodes.forEach(function(t){n.quadTree.visitNodeRecursive(null,function(i){return n.barnesHutApproximation(t,i)})}):n.nodes.forEach(function(t){n.nodes.forEach(function(i){var u,r,f;t===i||t.fixedPosition||(u=n.getDistXY(t,i),r=n.vectorLength(u),0!==r&&(f=n.repulsiveForce(r,n.k),n.force("repulsive",t,f*i.mass,u,r)))})})},attractiveForces:function(){var t,i,r,n=this;n.links.forEach(function(u){u.fromNode&&u.toNode&&(t=n.getDistXY(u.fromNode,u.toNode),0!==(i=n.vectorLength(t))&&(r=n.attractiveForce(i,n.k),n.force("attractive",u,r,t,i)))})},applyLimits:function(){var n=this;n.nodes.forEach(function(t){t.fixedPosition||(n.integration.integrate(n,t),n.applyLimitBox(t,n.box),t.dispX=0,t.dispY=0)})},applyLimitBox:function(n,t){var i=n.radius;n.plotX=u(n.plotX,t.left+i,t.width-i);n.plotY=u(n.plotY,t.top+i,t.height-i)},coolDown:function(n,t,i){return n-t*i},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce(function(n,t){return n+t.temperature},0)},vectorLength:function(n){return Math.sqrt(n.x*n.x+n.y*n.y)},getDistR:function(n,t){return n=this.getDistXY(n,t),this.vectorLength(n)},getDistXY:function(n,t){var i=n.plotX-t.plotX;return{x:i,y:n=n.plotY-t.plotY,absX:Math.abs(i),absY:Math.abs(n)}}});r(t,"predraw",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(n){n.stop()})});r(t,"render",function(){function i(i){i.maxIterations--&&isFinite(i.temperature)&&!i.isStable()&&!i.options.enableSimulation&&(i.beforeStep&&i.beforeStep(),i.step(),n=!1,t=!0)}var t=!1,n;if(this.graphLayoutsLookup){for(s(!1,this),this.graphLayoutsLookup.forEach(function(n){n.start()});!n;)n=!0,this.graphLayoutsLookup.forEach(i);t&&this.series.forEach(function(n){n&&n.layout&&n.render()})}})});t(n,"modules/networkgraph/draggable-nodes.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var i=t.addEvent;t=n.Chart;n.dragNodesMixin={onMouseDown:function(n,t){t=this.chart.pointer.normalize(t);n.fixedPosition={chartX:t.chartX,chartY:t.chartY,plotX:n.plotX,plotY:n.plotY};n.inDragMode=!0},onMouseMove:function(n,t){if(n.fixedPosition&&n.inDragMode){var r=this.chart,i=r.pointer.normalize(t);t=n.fixedPosition.chartX-i.chartX;i=n.fixedPosition.chartY-i.chartY;(5<Math.abs(t)||5<Math.abs(i))&&(t=n.fixedPosition.plotX-t,i=n.fixedPosition.plotY-i,r.isInsidePlot(t,i)&&(n.plotX=t,n.plotY=i,n.hasDragged=!0,this.redrawHalo(n),this.layout.simulation?this.layout.resetSimulation():(this.layout.setInitialRendering(!1),this.layout.enableSimulation?this.layout.start():this.layout.setMaxIterations(1),this.chart.redraw(),this.layout.setInitialRendering(!0))))}},onMouseUp:function(n){n.fixedPosition&&n.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw(),n.inDragMode=n.hasDragged=!1,this.options.fixedDraggable||delete n.fixedPosition)},redrawHalo:function(n){n&&this.halo&&this.halo.attr({d:n.haloPath(this.options.states.hover.halo.size)})}};i(t,"load",function(){var t,r,u,n=this;n.container&&(t=i(n.container,"mousedown",function(t){var f=n.hoverPoint;f&&f.series&&f.series.hasDraggableNodes&&f.series.options.draggable&&(f.series.onMouseDown(f,t),r=i(n.container,"mousemove",function(n){return f&&f.series&&f.series.onMouseMove(f,n)}),u=i(n.container.ownerDocument,"mouseup",function(n){return r(),u(),f&&f.series&&f.series.onMouseUp(f,n)}))}));i(n,"destroy",function(){t()})})});t(n,"parts-more/PackedBubbleSeries.js",[n["parts/Globals.js"],n["parts/Color.js"],n["parts/Point.js"],n["parts/Utilities.js"]],function(n,t,i,r){var a=t.parse,h=r.addEvent,c=r.clamp,u=r.defined,v=r.extend;t=r.extendClass;var y=r.fireEvent,p=r.isArray,w=r.isNumber,s=r.merge,e=r.pick;r=r.seriesType;var f=n.Series,b=n.Chart,l=n.layouts["reingold-fruchterman"],k=n.seriesTypes.bubble.prototype.pointClass,o=n.dragNodesMixin;n.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(n,t,i,r){return Math.min(n,(i.marker.radius+r.marker.radius)/2)},barycenter:function(){var t,i,n=this,u=n.options.gravitationalConstant,f=n.box,r=n.nodes;r.forEach(function(e){n.options.splitSeries&&!e.isParentNode?(t=e.series.parentNode.plotX,i=e.series.parentNode.plotY):(t=f.width/2,i=f.height/2);e.fixedPosition||(e.plotX-=(e.plotX-t)*u/(e.mass*Math.sqrt(r.length)),e.plotY-=(e.plotY-i)*u/(e.mass*Math.sqrt(r.length)))})},repulsive:function(n,t,i,r){var u=t*this.diffTemperature/n.mass/n.degree;t=i.x*u;i=i.y*u;n.fixedPosition||(n.plotX+=t,n.plotY+=i);r.fixedPosition||(r.plotX-=t,r.plotY-=i)},integrate:n.networkgraphIntegrations.verlet.integrate,getK:n.noop};n.layouts.packedbubble=t(l,{beforeStep:function(){this.options.marker&&this.series.forEach(function(n){n&&n.calculateParentRadius()})},setCircularPositions:function(){var t,i,n=this,r=n.box,u=n.nodes,f=2*Math.PI/(u.length+1),o=n.options.initialPositionRadius;u.forEach(function(u,s){n.options.splitSeries&&!u.isParentNode?(t=u.series.parentNode.plotX,i=u.series.parentNode.plotY):(t=r.width/2,i=r.height/2);u.plotX=u.prevX=e(u.plotX,t+o*Math.cos(u.index||s*f));u.plotY=u.prevY=e(u.plotY,i+o*Math.sin(u.index||s*f));u.dispX=0;u.dispY=0})},repulsiveForces:function(){var t,i,r,n=this,u=n.options.bubblePadding;n.nodes.forEach(function(f){f.degree=f.mass;f.neighbours=0;n.nodes.forEach(function(e){t=0;f===e||f.fixedPosition||!n.options.seriesInteraction&&f.series!==e.series||(r=n.getDistXY(f,e),0>(i=n.vectorLength(r)-(f.marker.radius+e.marker.radius+u))&&(f.degree+=.01,f.neighbours++,t=n.repulsiveForce(-i/Math.sqrt(f.neighbours),n.k,f,e)),n.force("repulsive",f,t*e.mass,r,e,i))})})},applyLimitBox:function(n){if(this.options.splitSeries&&!n.isParentNode&&this.options.parentNodeLimit){var t=this.getDistXY(n,n.series.parentNode),i=n.series.parentNodeRadius-n.marker.radius-this.vectorLength(t);0>i&&i>-2*n.marker.radius&&(n.plotX-=.01*t.x,n.plotY-=.01*t.y)}l.prototype.applyLimitBox.apply(this,arguments)},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature||0<this.systemTemperature&&.02>this.systemTemperature/this.nodes.length&&this.enableSimulation}});r("packedbubble","bubble",{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,dataLabels:{formatter:function(){return this.point.value},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:1,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}},{hasDraggableNodes:!0,forces:["barycenter","repulsive"],pointArrayMap:["value"],pointValKey:"value",isCartesian:!1,requireSorting:!1,directTouch:!0,axisTypes:[],noSharedTooltip:!0,searchPoint:n.noop,accumulateAllPoints:function(n){for(var t,r=n.chart,u=[],i=0;i<r.series.length;i++)if((n=r.series[i]).visible||!r.options.chart.ignoreHiddenSeries)for(t=0;t<n.yData.length;t++)u.push([null,null,n.yData[t],n.index,t,{id:t,marker:{radius:0}}]);return u},init:function(){return f.prototype.init.apply(this,arguments),h(this,"updatedData",function(){this.chart.series.forEach(function(n){n.type===this.type&&(n.isDirty=!0)},this)}),this},render:function(){var n=[];f.prototype.render.apply(this,arguments);this.options.dataLabels.allowOverlap||(this.data.forEach(function(t){p(t.dataLabels)&&t.dataLabels.forEach(function(t){n.push(t)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(n))},setVisible:function(){var n=this;f.prototype.setVisible.apply(n,arguments);n.parentNodeLayout&&n.graph?n.visible?(n.graph.show(),n.parentNode.dataLabel&&n.parentNode.dataLabel.show()):(n.graph.hide(),n.parentNodeLayout.removeElementFromCollection(n.parentNode,n.parentNodeLayout.nodes),n.parentNode.dataLabel&&n.parentNode.dataLabel.hide()):n.layout&&(n.visible?n.layout.addElementsToCollection(n.points,n.layout.nodes):n.points.forEach(function(t){n.layout.removeElementFromCollection(t,n.layout.nodes)}))},drawDataLabels:function(){var n=this.options.dataLabels.textPath,t=this.points;f.prototype.drawDataLabels.apply(this,arguments);this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,f.prototype.drawDataLabels.apply(this,arguments),this.points=t,this.options.dataLabels.textPath=n)},seriesBox:function(){var i,t=this.chart,r=Math.max,f=Math.min,n=[t.plotLeft,t.plotLeft+t.plotWidth,t.plotTop,t.plotTop+t.plotHeight];return this.data.forEach(function(t){u(t.plotX)&&u(t.plotY)&&t.marker.radius&&(i=t.marker.radius,n[0]=f(n[0],t.plotX-i),n[1]=r(n[1],t.plotX+i),n[2]=f(n[2],t.plotY-i),n[3]=r(n[3],t.plotY+i))}),w(n.width/n.height)?n:null},calculateParentRadius:function(){var n=this.seriesBox();this.parentNodeRadius=c(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,n?Math.max(Math.sqrt(Math.pow(n.width,2)+Math.pow(n.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20);this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},drawGraph:function(){var i,n,t;this.layout&&this.layout.options.splitSeries&&(i=this.chart,n=this.layout.options.parentNodeOptions.marker,n={fill:n.fillColor||a(this.color).brighten(.4).get(),opacity:n.fillOpacity,stroke:n.lineColor||this.color,"stroke-width":n.lineWidth},t=this.visible?"inherit":"hidden",this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",t,.1,i.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius(),t=s({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},n),this.parentNode.graphic||(this.graph=this.parentNode.graphic=i.renderer.symbol(n.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(t))},createParentNodes:function(){var r,n=this,u=n.chart,t=n.parentNodeLayout,i=n.parentNode;n.parentNodeMass=0;n.points.forEach(function(t){n.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)});n.calculateParentRadius();t.nodes.forEach(function(t){t.seriesIndex===n.index&&(r=!0)});t.setArea(0,0,u.plotWidth,u.plotHeight);r||(i||(i=(new k).init(this,{mass:n.parentNodeRadius/2,marker:{radius:n.parentNodeRadius},dataLabels:{inside:!1},dataLabelOnNull:!0,degree:n.parentNodeRadius,isParentNode:!0,seriesIndex:n.index})),n.parentNode&&(i.plotX=n.parentNode.plotX,i.plotY=n.parentNode.plotY),n.parentNode=i,t.addElementsToCollection([n],t.series),t.addElementsToCollection([i],t.nodes))},addSeriesLayout:function(){var i=this.options.layoutAlgorithm,r=this.chart.graphLayoutsStorage,u=this.chart.graphLayoutsLookup,f=s(i,i.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),t=r[i.type+"-series"];t||(r[i.type+"-series"]=t=new n.layouts[i.type],t.init(f),u.splice(t.index,0,t));this.parentNodeLayout=t;this.createParentNodes()},addLayout:function(){var i=this.options.layoutAlgorithm,r=this.chart.graphLayoutsStorage,f=this.chart.graphLayoutsLookup,e=this.chart.options.chart,t;r||(this.chart.graphLayoutsStorage=r={},this.chart.graphLayoutsLookup=f=[]);t=r[i.type];t||(i.enableSimulation=u(e.forExport)?!e.forExport:i.enableSimulation,r[i.type]=t=new n.layouts[i.type],t.init(i),f.splice(t.index,0,t));this.layout=t;this.points.forEach(function(n){n.mass=2;n.degree=1;n.collisionNmb=1});t.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight);t.addElementsToCollection([this],t.series);t.addElementsToCollection(this.points,t.nodes)},deferLayout:function(){var n=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),n.splitSeries&&this.addSeriesLayout())},translate:function(){var n,t=this.chart,o=this.data,s=this.index,e=this.options.useSimulation,i,r,f;for((this.processedXData=this.xData,this.generatePoints(),u(t.allDataPoints)||(t.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius()),e)?i=t.allDataPoints:(i=this.placeBubbles(t.allDataPoints),this.options.draggable=!1),n=0;n<i.length;n++)i[n][3]===s&&(r=o[i[n][4]],f=i[n][2],e||(r.plotX=i[n][0]-t.plotLeft+t.diffX,r.plotY=i[n][1]-t.plotTop+t.diffY),r.marker=v(r.marker,{radius:f,width:2*f,height:2*f}),r.radius=f);e&&this.deferLayout();y(this,"afterTranslate")},checkOverlap:function(n,t){var i=n[0]-t[0],r=n[1]-t[1];return-.001>Math.sqrt(i*i+r*r)-Math.abs(n[2]+t[2])},positionBubble:function(n,t,i){var r=Math.sqrt,f=Math.asin,e=Math.acos,u=Math.pow,o=Math.abs;return r=r(u(n[0]-t[0],2)+u(n[1]-t[1],2)),e=e((u(r,2)+u(i[2]+t[2],2)-u(i[2]+n[2],2))/(2*(i[2]+t[2])*r)),f=f(o(n[0]-t[0])/r),n=(0>n[1]-t[1]?0:Math.PI)+e+f*(0>(n[0]-t[0])*(n[1]-t[1])?1:-1),[t[0]+(t[2]+i[2])*Math.sin(n),t[1]-(t[2]+i[2])*Math.cos(n),i[2],i[3],i[4]]},placeBubbles:function(n){var r,s=this.checkOverlap,o=this.positionBubble,t=[],i=1,u=0,f=0,e=[];if((n=n.sort(function(n,t){return t[2]-n[2]})).length){if(t.push([[0,0,n[0][2],n[0][3],n[0][4]]]),1<n.length)for(t.push([[0,0-n[1][2]-n[0][2],n[1][2],n[1][3],n[1][4]]]),r=2;r<n.length;r++)n[r][2]=n[r][2]||1,s(e=o(t[i][u],t[i-1][f],n[r]),t[i][0])?(t.push([]),f=0,t[i+1].push(o(t[i][u],t[i][0],n[r])),i++,u=0):1<i&&t[i-1][f+1]&&s(e,t[i-1][f+1])?(f++,t[i].push(o(t[i][u],t[i-1][f],n[r])),u++):(u++,t[i].push(e));this.chart.stages=t;this.chart.rawPositions=[].concat.apply([],t);this.resizeRadius();e=this.chart.rawPositions}return e},resizeRadius:function(){for(var r,f,i=this.chart,t=i.rawPositions,u=Math.min,h=Math.max,c=i.plotLeft,l=i.plotTop,a=i.plotHeight,v=i.plotWidth,e=r=Number.POSITIVE_INFINITY,s=f=Number.NEGATIVE_INFINITY,o,n=0;n<t.length;n++)o=t[n][2],e=u(e,t[n][0]-o),s=h(s,t[n][0]+o),r=u(r,t[n][1]-o),f=h(f,t[n][1]+o);if(n=[s-e,f-r],u=u.apply([],[(v-c)/n[0],(a-l)/n[1]]),1e-10<Math.abs(u-1)){for(n=0;n<t.length;n++)t[n][2]*=u;this.placeBubbles(t)}else i.diffY=a/2+l-r-(f-r)/2,i.diffX=v/2+c-e-(s-e)/2},calculateZExtremes:function(){var n=this.options.zMin,t=this.options.zMax,i=1/0,r=-1/0;return n&&t?[n,t]:(this.chart.series.forEach(function(n){n.yData.forEach(function(n){u(n)&&(n>r&&(r=n),n<i&&(i=n))})}),[n=e(n,i),t=e(t,r)])},getPointRadius:function(){var f,e,h,u,n=this,t=n.chart,o=n.options,l=o.useSimulation,v=Math.min(t.plotWidth,t.plotHeight),s={},a=[],i=t.allDataPoints,r;["minSize","maxSize"].forEach(function(n){var t=parseInt(o[n],10),r=/%$/.test(o[n]);s[n]=r?v*t/100:t*Math.sqrt(i.length)});t.minRadius=f=s.minSize/Math.sqrt(i.length);t.maxRadius=e=s.maxSize/Math.sqrt(i.length);r=l?n.calculateZExtremes():[f,e];(i||[]).forEach(function(t,o){h=l?c(t[2],r[0],r[1]):t[2];0===(u=n.getRadius(r[0],r[1],f,e,h))&&(u=null);i[o][2]=u;a.push(u)});n.radii=a},redrawHalo:o.redrawHalo,onMouseDown:o.onMouseDown,onMouseMove:o.onMouseMove,onMouseUp:function(n){if(n.fixedPosition&&!n.removed){var i,t=this.layout,r=this.parentNodeLayout;r&&t.options.dragBetweenSeries&&r.nodes.forEach(function(r){n&&n.marker&&r!==n.series.parentNode&&(i=t.getDistXY(n,r),0>t.vectorLength(i)-r.marker.radius-n.marker.radius&&(r.series.addPoint(s(n.options,{plotX:n.plotX,plotY:n.plotY}),!1),t.removeElementFromCollection(n,t.nodes),n.remove()))});o.onMouseUp.apply(this,arguments)}},destroy:function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(n){n.removeElementFromCollection(this,n.series)},this);this.parentNode&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy()));n.Series.prototype.destroy.apply(this,arguments)},alignDataLabel:n.Series.prototype.alignDataLabel},{destroy:function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),i.prototype.destroy.apply(this,arguments)}});h(b,"beforeRedraw",function(){this.allDataPoints&&delete this.allDataPoints})});t(n,"parts-more/Polar.js",[n["parts/Globals.js"],n["parts/Utilities.js"],n["parts-more/Pane.js"]],function(n,t,i){var e=t.addEvent,h=t.defined,l=t.find,o=t.pick,a=t.splat,v=t.uniqueKey,u=t.wrap,s=n.Series,r=n.seriesTypes,f=s.prototype,y=n.Pointer.prototype,c;f.searchPointByAngle=function(n){var t=this.chart,i=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(n.chartX-i[0]-t.plotLeft,n.chartY-i[1]-t.plotTop)})};f.getConnectors=function(n,t,i,r){var u=r?1:0,f=0<=t&&t<=n.length-1?t:0>t?n.length-1+t:0,o,s,h,c,e,l;return t=0>f-1?n.length-(1+u):f-1,u=f+1>n.length-1?u:f+1,o=n[t],u=n[u],s=o.plotX,o=o.plotY,h=u.plotX,c=u.plotY,s=(1.5*(u=n[f].plotX)+s)/2.5,o=(1.5*(f=n[f].plotY)+o)/2.5,h=(1.5*u+h)/2.5,e=(1.5*f+c)/2.5,c=Math.sqrt(Math.pow(s-u,2)+Math.pow(o-f,2)),l=Math.sqrt(Math.pow(h-u,2)+Math.pow(e-f,2)),s=Math.atan2(o-f,s-u),e=Math.PI/2+(s+Math.atan2(e-f,h-u))/2,Math.abs(s-e)>Math.PI/2&&(e-=Math.PI),s=u+Math.cos(e)*c,o=f+Math.sin(e)*c,u={rightContX:h=u+Math.cos(Math.PI+e)*l,rightContY:e=f+Math.sin(Math.PI+e)*l,leftContX:s,leftContY:o,plotX:u,plotY:f},i&&(u.prevPointCont=this.getConnectors(n,t,!1,r)),u};f.toXY=function(n){var i=this.chart,o=this.xAxis,t=this.yAxis,r=n.plotX,u=n.plotY,s=n.series,f=i.inverted,h=n.y,e=f?r:t.len-u;f&&s&&!s.isRadialBar&&(n.plotY=u="number"==typeof h&&t.translate(h)||0);n.rectPlotX=r;n.rectPlotY=u;t.center&&(e+=t.center[3]/2);t=f?t.postTranslate(u,e):o.postTranslate(r,e);n.plotX=n.polarPlotX=t.x-i.plotLeft;n.plotY=n.polarPlotY=t.y-i.plotTop;this.kdByAngle?(0>(i=(r/Math.PI*180+o.pane.options.startAngle)%360)&&(i+=360),n.clientX=i):n.clientX=n.plotX};r.spline&&(u(r.spline.prototype,"getPointSpline",function(n,t,i,r){return this.chart.polar?r?["C",(n=this.getConnectors(t,r,!0,this.connectEnds)).prevPointCont.rightContX,n.prevPointCont.rightContY,n.leftContX,n.leftContY,n.plotX,n.plotY]:["M",i.plotX,i.plotY]:n.call(this,t,i,r)}),r.areasplinerange&&(r.areasplinerange.prototype.getPointSpline=r.spline.prototype.getPointSpline));e(s,"afterTranslate",function(){var t=this.chart,i,r;if(t.polar&&this.xAxis){if((this.kdByAngle=t.tooltip&&t.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy",!this.preventPostTranslate)for(i=this.points,r=i.length;r--;)this.toXY(i[r]),!t.hasParallelCoordinates&&!this.yAxis.reversed&&i[r].y<this.yAxis.min&&(i[r].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(e(this,"afterRender",function(){if(t.polar){var i=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:i[0],y:i[1],r:i[2]/2,innerR:i[3]/2}):this.clipCircle=t.renderer.clipCircle(i[0],i[1],i[2]/2,i[3]/2);this.group.clip(this.clipCircle);this.setClip=n.noop}})))}},{order:2});u(f,"getGraphPath",function(n,t){var i,f=this,r,u;if(this.chart.polar){for(t=t||this.points,i=0;i<t.length;i++)if(!t[i].isNull){r=i;break}!1!==this.options.connectEnds&&void 0!==r&&(this.connectEnds=!0,t.splice(t.length,0,t[r]),u=!0);t.forEach(function(n){void 0===n.polarPlotY&&f.toXY(n)})}return i=n.apply(this,[].slice.call(arguments,1)),u&&t.pop(),i});c=function(t,i){var f,u,a,v,r=this,e=this.chart,s=this.options.animation,y=this.group,h=this.markerGroup,c=this.xAxis.center,p=e.plotLeft,w=e.plotTop,l;e.polar?r.isRadialBar?i||(r.startAngleRad=o(r.translatedThreshold,r.xAxis.startAngleRad),n.seriesTypes.pie.prototype.animate.call(r,i)):e.renderer.isSVG&&((s=n.animObject(s),r.is("column"))?i||(l=c[3]/2,r.points.forEach(function(n){f=n.graphic;a=(u=n.shapeArgs)&&u.r;v=u&&u.innerR;f&&u&&(f.attr({r:l,innerR:l}),f.animate({r:a,innerR:v},r.options.animation))})):i?(t={translateX:c[0]+p,translateY:c[1]+w,scaleX:.001,scaleY:.001},y.attr(t),h&&h.attr(t)):(t={translateX:p,translateY:w,scaleX:1,scaleY:1},y.animate(t,s),h&&h.animate(t,s))):t.call(this,i)};u(f,"animate",c);r.column&&(s=r.arearange.prototype,(r=r.column.prototype).polarArc=function(n,t,i,r){var f=this.xAxis.center,e=this.yAxis.len,u=f[3]/2;return t=e-t+u,n=e-o(n,e)+u,this.yAxis.reversed&&(0>t&&(t=u),0>n&&(n=u)),{x:f[0],y:f[1],r:t,innerR:n,start:i,end:r}},u(r,"animate",c),u(r,"translate",function(i){var r=this.options,g=r.stacking,w=this.chart,y=this.xAxis,e=this.yAxis,d=e.reversed,o=e.center,p=y.startAngleRad,b=y.endAngleRad-p,a,v,s,f,u;if(this.preventPostTranslate=!0,i.call(this),y.isRadial)for(y=(i=this.points).length,a=e.translate(e.min),v=e.translate(e.max),(r=r.threshold||0,w.inverted&&n.isNumber(r))&&(s=e.translate(r),h(s)&&(0>s?s=0:s>b&&(s=b),this.translatedThreshold=s+p));y--;){var c=(r=i[y]).barX,k=r.x,l=r.y;(r.shapeType="arc",w.inverted)?((r.plotY=e.translate(l),g)?(l=e.stacks[(0>l?"-":"")+this.stackKey],this.visible&&l&&l[k]&&!r.isNull)&&(f=l[k].points[this.getStackIndicator(void 0,k,this.index).key],u=e.translate(f[0]),f=e.translate(f[1]),h(u)&&(u=t.clamp(u,0,b))):(u=s,f=r.plotY),u>f&&(f=[u,u=f][0]),d?f>a?f=a:u<v?u=v:(u>a||f<v)&&(u=f=b):u<a?u=a:f>v?f=v:(f<a||u>v)&&(u=f=0),e.min>e.max&&(u=f=d?b:0),u+=p,f+=p,o&&(r.barX=c+=o[3]/2),k=Math.max(c,0),l=Math.max(c+r.pointWidth,0),r.shapeArgs={x:o&&o[0],y:o&&o[1],r:l,innerR:k,start:u,end:f},r.opacity=u===f?0:void 0,r.plotY=(h(this.translatedThreshold)&&(u<this.translatedThreshold?u:f))-p):(u=c+p,r.shapeArgs=this.polarArc(r.yBottom,r.plotY,u,u+r.pointWidth));this.toXY(r);w.inverted?(c=e.postTranslate(r.rectPlotY,c+r.pointWidth/2),r.tooltipPos=[c.x-w.plotLeft,c.y-w.plotTop]):r.tooltipPos=[r.plotX,r.plotY];o&&(r.ttBelow=r.plotY>o[1])}}),r.findAlignments=function(n,t){return null===t.align&&(t.align=20<n&&160>n?"left":200<n&&340>n?"right":"center"),null===t.verticalAlign&&(t.verticalAlign=45>n||315<n?"bottom":135<n&&225>n?"top":"middle"),t},s&&(s.findAlignments=r.findAlignments),u(r,"alignDataLabel",function(n,t,i,r,u,e){var s=this.chart,h=o(r.inside,!!this.options.stacking);s.polar?(n=t.rectPlotX/Math.PI*180,s.inverted?(this.forceDL=s.isInsidePlot(t.plotX,Math.round(t.plotY),!1),h&&t.shapeArgs?(u=t.shapeArgs,u={x:(u=this.yAxis.postTranslate((u.start+u.end)/2-this.xAxis.startAngleRad,t.barX+t.pointWidth/2)).x-s.plotLeft,y:u.y-s.plotTop}):t.tooltipPos&&(u={x:t.tooltipPos[0],y:t.tooltipPos[1]}),r.align=o(r.align,"center"),r.verticalAlign=o(r.verticalAlign,"middle")):this.findAlignments&&(r=this.findAlignments(n,r)),f.alignDataLabel.call(this,t,i,r,u,e),this.isRadialBar&&t.shapeArgs&&t.shapeArgs.start===t.shapeArgs.end&&i.hide(!0)):n.call(this,t,i,r,u,e)}));u(y,"getCoordinates",function(n,t){var i=this.chart,r={xAxis:[],yAxis:[]};return i.polar?i.axes.forEach(function(n){var e=n.isXAxis,u=n.center,f;"colorAxis"!==n.coll&&(f=t.chartX-u[0]-i.plotLeft,u=t.chartY-u[1]-i.plotTop,r[e?"xAxis":"yAxis"].push({axis:n,value:n.translate(e?Math.PI-Math.atan2(f,u):Math.sqrt(Math.pow(f,2)+Math.pow(u,2)),!0)}))}):r=n.call(this,t),r});n.SVGRenderer.prototype.clipCircle=function(n,t,i,r){var f=v(),u=this.createElement("clipPath").attr({id:f}).add(this.defs);return(n=r?this.arc(n,t,i,r,0,2*Math.PI).add(u):this.circle(n,t,i).add(u)).id=f,n.clipPath=u,n};e(n.Chart,"getAxes",function(){this.pane||(this.pane=[]);a(this.options.pane).forEach(function(n){new i(n,this)},this)});e(n.Chart,"afterDrawChartBox",function(){this.pane.forEach(function(n){n.render()})});e(n.Series,"afterInit",function(){var n=this.chart;n.inverted&&n.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))});u(n.Chart.prototype,"get",function(n,t){return l(this.pane,function(n){return n.options.id===t})||n.call(this,t)})});t(n,"masters/highcharts-more.src.js",[],function(){})};n.exports?(r.default=r,n.exports=r):(u=[i(16)],void 0===(f=function(n){return r(n),r.Highcharts=n,r}.apply(t,u))||(n.exports=f))},function(n,t,i){var r=i(856),u=i(857),f=i(29),e=i(10),o=i(86);n.exports=function(n,t,i){var s=e(n)?r:u;return i&&o(n,t,i)&&(t=void 0),s(n,f(t,3))}},function(n){n.exports=function(n,t){for(var i=-1,r=null==n?0:n.length;++i<r;)if(!t(n[i],i,n))return!1;return!0}},function(n,t,i){var r=i(60);n.exports=function(n,t){var i=!0;return r(n,function(n,r,u){return i=!!t(n,r,u)}),i}},function(n,t,i){var r=i(177),u=i(29),f=i(859),e=i(10),o=i(86);n.exports=function(n,t,i){var s=e(n)?r:f;return i&&o(n,t,i)&&(t=void 0),s(n,u(t,3))}},function(n,t,i){var r=i(60);n.exports=function(n,t){var i;return r(n,function(n,r,u){return!(i=t(n,r,u))}),!!i}},function(){},function(n,t,i){"use strict";(function(n){function d(n){return n&&n.__esModule?n:{"default":n}}function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function g(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function nt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function tt(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function it(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function rt(n){var t=et();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ut(this,i)}}function ut(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?ft(n):t}function ft(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function et(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,ot,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.ChartPointCard=void 0;r=g(i(1));i(862);var p=i(32),u=i(7),w=i(863),l=i(430),b=i(154),k=d(i(103)),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);ot="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var r;return nt(this,t),(r=i.call(this,n)).hideValues=!1,r.getCardData=function(){var t,i,u=r.props.settingsData,n=p.filterChartData(r.props.chartData,!1,r.props.settingsData.divisionTypeValues,r.props.settingsData.divisionValues)[0],o=[n];r.hideValues=b.hideNationalChart(o,u.value);var f=parseFloat(null===(t=n[u.value])||void 0===t?void 0:t.replace(",",".")),s=0===f?0:isNaN(f)?null:l.roundToSignificantDigits(f),e=parseFloat(null===(i=n[u.standardDeviation])||void 0===i?void 0:i.replace(",",".")),h=0===e?0:isNaN(e)?null:l.roundToSignificantDigits(e);return n&&{value:s,standardDeviation:h}},r.getTextForMedianOrMean=function(n){return n===u.columnConstants.mean?"Medelvärde:":n===u.columnConstants.median?"Median:":void 0},r}it(t,n);var i=rt(t);return tt(t,[{key:"render",value:function(){var f=this.props.chartData.map(function(n){return n[u.columnConstants.measureUnit]})[0],t=this.props.chartData&&this.props.chartData.length>0&&this.getCardData(),i=t.value,n=t.standardDeviation;return this.hideValues?r.createElement(k.default,null):r.createElement("div",{className:"diagram-point-card"},null!==i?r.createElement(r.Fragment,null,r.createElement("p",{className:"diagram-point-card__value-type"},this.getTextForMedianOrMean(this.props.settingsData.value)),r.createElement("p",{className:"diagram-point-card__points"},i,null!==n?r.createElement("span",{className:"diagram-point-card__deviation"}," (",n,") "):null," "+w.takeLastWord(f))):null,null!=n?r.createElement("div",{className:"diagram-wrapper__description__label-tag diagram-wrapper__description__label-tag--deviation"},"(Standardavvikelse)"):null)}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.ChartPointCard=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"ChartPointCard","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\ChartPointCard\\ChartPointCard.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.takeLastWord=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=function(n){if(null===n||""===n)return"";var t=n.split(" ");return t[t.length-1]};t.takeLastWord=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"takeLastWord","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\takeLastWord.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function ut(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return ut=function(){return n},n}function pt(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==c(n)&&"function"!=typeof n)return{"default":n};if(t=ut(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function u(n){return n&&n.__esModule?n:{"default":n}}function ft(n,t){var i,r,u,o,f,e;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(i=wt(n))||t&&n&&"number"==typeof n.length)return i&&(n=i),r=0,u=function(){},{s:u,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n;},f:u};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return f=!0,e=!1,{s:function(){i=n[Symbol.iterator]()},n:function(){var n=i.next();return f=n.done,n},e:function(n){e=!0;o=n},f:function(){try{f||null==i.return||i.return()}finally{if(e)throw o;}}}}function wt(n,t){if(n){if("string"==typeof n)return et(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?et(n,t):void 0}}function et(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function bt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function ot(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function kt(n,t,i){return t&&ot(n.prototype,t),i&&ot(n,i),n}function dt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&st(n,t)}function st(n,t){return(st=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function gt(n){var t=ii();return function(){var i,r=b(n),u;return t?(u=b(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ni(this,i)}}function ni(n,t){return!t||"object"!==c(t)&&"function"!=typeof t?ti(n):t}function ti(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ii(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function b(n){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function c(n){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var ri,k,d,g;Object.defineProperty(t,"__esModule",{value:!0});t.ColumnChart=void 0;var l=u(i(101)),nt=u(i(13)),s=pt(i(1)),f=u(i(16)),ht=u(i(48)),ct=u(i(65)),lt=u(i(49)),at=u(i(50)),a=i(51),v=i(155),vt=u(i(103)),y=i(32),e=i(429),r=i(7),tt=i(52),it=i(428),h=i(66),p=i(154),o=i(37),yt=i(426),rt=i(865),w;w="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;w&&w(n);ri="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};"object"===c(f.default)&&(ht.default(f.default),lt.default(f.default),ct.default(f.default),f.default.setOptions(a.defaultSetOptions));k=function(n){function t(n){var u;return bt(this,t),(u=i.call(this,n)).options=nt.default(a.diagramOptions),u.confidenceIntervalOptions=nt.default(a.confidenceIntervalOptions),u.hideCompare=!1,u.hideNational=!1,u.measureUnitLabel="",u.setOptions=function(){u.options.chart.type=u.props.isBar?"bar":"column";u.measureUnitLabel=h.checkAndAddPercent(u.props.chartData.map(function(n){return n[r.columnConstants.measureUnit]})[0]);u.options.yAxis.labels.format="{value}"+u.measureUnitLabel;u.options.tooltip.pointFormat=u.options.tooltip.pointFormat+u.measureUnitLabel;u.options.yAxis.max=h.checkPercent(u.props.chartData.map(function(n){return n[r.columnConstants.measureUnit]})[0])?100:void 0;u.options.series.push({data:[],name:""});f.default.setOptions({lang:{}})},u.onlyUnique=function(n,t,i){return i.indexOf(n)===t},u.getStackedChartOptions=function(n){var i=y.filterChartData(u.props.chartData,n,u.props.settingsData.divisionTypeValues,u.props.settingsData.divisionValues),f,o,e,t;return u.hideCompare=v.hideCompareChart(i,u.props.settingsData.value),u.hideNational=p.hideNationalChart(i,u.props.settingsData.value),f=i.map(function(n){return n[r.columnConstants.measurePeriod]}),n&&(f=i.map(function(n){return n[r.columnConstants.careUnit]})),u.options.tooltip.pointFormat='<span style="color:{point.color}">●<\/span> {series.name}: {point.y}<\/br>',o=f.filter(u.onlyUnique),u.options.xAxis.categories=o,e=u.createSeries(i),t=u.props.isBar?{bar:{pointPadding:.2,maxPointWidth:30,stacking:"normal",groupPadding:.4},series:{pointWidth:30}}:{column:{pointPadding:.2,borderWidth:0,maxPointWidth:30,stacking:"normal"}},e.length<3?u.props.isBar?(t.bar.stacking="normal",t.bar.stacking="normal"):t.column.stacking="normal":u.props.isBar?t.bar.stacking="":t.column.stacking="",u.options.plotOptions=t,u.options.series=e,u.options},u.getChartOptions=function(n){var t,i,e,o,s,f,h,c;return u.props.settingsData.lowConfidence&&""!=u.props.settingsData.lowConfidence&&""!=u.props.settingsData.highConfidence?(u.confidenceIntervalOptions=u.getChartOptionsConfidencInterval(n),u.confidenceIntervalOptions):(t=y.filterChartData(u.props.chartData,n,u.props.settingsData.divisionTypeValues,u.props.settingsData.divisionValues),u.hideCompare=v.hideCompareChart(t,u.props.settingsData.value),u.hideNational=p.hideNationalChart(t,u.props.settingsData.value),i=t.map(function(n){return n[r.columnConstants.measurePeriod]}),n&&(i=t.map(function(n){return n[r.columnConstants.careUnit]})),e=i.filter(u.onlyUnique),o=t.map(function(n){return n[r.columnConstants.division]}).filter(u.onlyUnique),u.options.xAxis.categories=e,s=u.createSeries(t),u.options.series=s,f=rt.getLegendName(o,u.props.chartData),f&&u.options.series.map(function(n){return n.name=f}),u.options.plotOptions={column:{pointPadding:.2,borderWidth:0,stacking:""},series:{pointWidth:30}},h=void 0!==u.props.settingsData.standardDeviation?'<br><span style="color:{point.color}">●<\/span> Standardavvikelse: {point.z}':"",c=u.props.settingsData.value===r.columnConstants.median?" <strong>(Median)<\/stong> ":u.props.settingsData.value===r.columnConstants.mean?" <strong>(Medelvärde)<\/strong> ":"",u.options.tooltip={outside:!0,backgroundColor:void 0,headerFormat:"<h4>{point.key}<\/h4>",pointFormat:'<span style="color:{point.color}">●<\/span> {series.name}: {point.y}'+c+h,shared:!1,useHTML:!0,formatter:null,borderWidth:0},u.options)},u.createSeries=function(n){var s,f=0,t=[],i=ft(n),h;try{for(h=function(){var n=s.value,i=o.replaceCommaWithDot(n[u.props.settingsData.value]),c=o.replaceCommaWithDot(n[u.props.settingsData.standardDeviation]),h;!it.contains(t,n[r.columnConstants.division],"name")&&e.hasValue(i)?t.push({name:n[r.columnConstants.division],data:[{y:parseFloat(i),z:c}],color:tt.chartColors[f].mainColor}):(f--,h=t.filter(function(t){return t.name==n[r.columnConstants.division]})[0],n[u.props.settingsData.value]&&e.hasValue(n[u.props.settingsData.value])&&h.data.push(parseFloat(i)));f++},i.s();!(s=i.n()).done;)h()}catch(n){i.e(n)}finally{i.f()}return t},u.getChartOptionsConfidencInterval=function(n){var t=y.filterChartData(u.props.chartData,n,u.props.settingsData.divisionTypeValues,u.props.settingsData.divisionValues),w,b,s,nt,a;u.hideCompare=v.hideCompareChart(t,u.props.settingsData.value);u.hideNational=p.hideNationalChart(t,u.props.settingsData.value);w=h.checkAndAddPercent(u.props.chartData.map(function(n){return n[r.columnConstants.measureUnit]})[0]);(u.confidenceIntervalOptions.yAxis.map(function(n){return n.labels.format="{value}"+w}),h.checkPercent(u.props.chartData.map(function(n){return n[r.columnConstants.measureUnit]})[0]))&&(b=yt.checkPercentMaxValue(t,u.props.settingsData.value),u.confidenceIntervalOptions.yAxis.map(function(n){return n.max=b}));s=t.map(function(n){return n[r.columnConstants.measurePeriod]});n&&(s=t.map(function(n){return n[r.columnConstants.careUnit]}));var k=t.map(function(n){return n[r.columnConstants.division]}),ut=k.filter(u.onlyUnique),et=s.filter(u.onlyUnique),i=[];u.confidenceIntervalOptions.xAxis.map(function(n){return n.categories=et});var d,g=u.props.isBar?"bar":"column",c=0,f=ft(t);try{for(nt=function(){var n=d.value,t=o.replaceCommaWithDot(n[u.props.settingsData.value]),f=o.replaceCommaWithDot(n[u.props.settingsData.lowConfidence]),s=o.replaceCommaWithDot(n[u.props.settingsData.highConfidence]);!it.contains(i,n[r.columnConstants.division],"name")&&e.hasValue(t)?(i.push({name:n[r.columnConstants.division],type:g,id:"bar-"+l.default(),yAxis:0,data:[parseFloat(t)],color:tt.chartColorsLight[c].mainColor,tooltip:{shared:!0,headerFormat:"<h4>{point.key}<\/h4>",pointFormat:'<span style="color:{point.color}">●<\/span> {series.name}: {point.y}'+u.measureUnitLabel+"<br/> "}}),i.push({name:n[r.columnConstants.division]+"error",id:"errorbar-"+-l.default(),type:"errorbar",whiskerWidth:1,stemWidth:1,yAxis:0,data:[[parseFloat(f),parseFloat(s)]],color:"#333333",whiskerLength:"80%",showInLegend:!1,borderColor:"#ffffff",borderWidth:1,clip:!1,tooltip:{shared:!0,pointFormat:"(konfidensintervall: {point.low}-{point.high} %)<br/>"}})):n[u.props.settingsData.value]&&e.hasValue(n[u.props.settingsData.value])&&(c--,i.filter(function(t){return t.name==n[r.columnConstants.division]&&t.type==g})[0].data.push(parseFloat(t)),i.filter(function(t){return t.name==n[r.columnConstants.division]+"error"&&"errorbar"==t.type})[0].data.push([parseFloat(f),parseFloat(s)]));e.hasValue(t)&&c++},f.s();!(d=f.n()).done;)nt()}catch(n){f.e(n)}finally{f.f()}return i.push({name:"Konfidensintervall",lineWidth:0,id:"errorlegend",yAxis:0,data:[],color:"#333333",marker:{symbol:"url(/ClientResources/Images/icons/errorbar.svg)"},events:{legendItemClick:function(){var n,t;if(this.visible)for(n=0;n<=this.chart.options.series.length-1;n++)this.chart.options.series[n].id&&this.chart.options.series[n].id.includes("errorbar")&&this.chart.series[n].hide();else for(t=0;t<=this.chart.options.series.length-1;t++)this.chart.options.series[t].id&&this.chart.options.series[t].id.includes("errorbar")&&this.chart.series[t].show()}}}),u.confidenceIntervalOptions.series=i,a=rt.getLegendName(ut,u.props.chartData),a&&u.confidenceIntervalOptions.series.map(function(n){return"errorlegend"!==n.id?n.name=a:n}),k.length>2&&(u.confidenceIntervalOptions.series.map(function(n){return n.pointPadding="bar"==n.type?.05:null}),u.confidenceIntervalOptions.series.map(function(n){return n.groupPadding="bar"==n.type?.05:null})),u.confidenceIntervalOptions.accessibility.point.descriptionFormatter=function(n){var t=n.series&&n.series.name?n.category+", "+n.series.name.replace("error","")+", Konfidensintervall "+n.low+" till "+n.high:"",i=n.series&&n.series.name?n.category+", "+n.series.name.replace("error","")+", "+n.y:"";return n.low&&n.high?t:i},u.confidenceIntervalOptions},u.state={options:null},u.setOptions(),u}dt(t,n);var i=gt(t);return kt(t,[{key:"render",value:function(){var n=this.props.isStacked?this.getStackedChartOptions(this.props.isCompare):this.getChartOptions(this.props.isCompare);return n&&s.createElement("div",{className:"chart-wrapper"},this.hideCompare&&this.props.isCompare||!this.props.isCompare&&this.hideNational?s.createElement(vt.default,null):s.createElement(at.default,{highcharts:f.default,options:n,immutable:!0,containerProps:{id:"ColumnchartContainer"+l.default("column")}}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(s.Component);t.ColumnChart=k;d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;d&&d.register(k,"ColumnChart","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\ColumnChart\\ColumnChart.tsx");g="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;g&&g(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var u,f,e,o,r;Object.defineProperty(t,"__esModule",{value:!0});t.getLegendName=void 0;f=i(7);(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&u(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;r=function(n,t){var i=null;return 1==n.length&&"totalt"===n[0].toLowerCase()?i=t.map(function(n){return n[f.columnConstants.measureUnit]})[0]:i};t.getLegendName=r;(e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&e.register(r,"getLegendName","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\getLegendName.ts");(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function w(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return w=function(){return n},n}function ft(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=w(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function r(n){return n&&n.__esModule?n:{"default":n}}function et(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ot(n,t,i){return t&&b(n.prototype,t),i&&b(n,i),n}function st(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&k(n,t)}function k(n,t){return(k=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function ht(n){var t=at();return function(){var i,r=c(n),u;return t?(u=c(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),ct(this,i)}}function ct(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?lt(n):t}function lt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function at(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function c(n){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var y,u,vt,l,a,s,v;Object.defineProperty(t,"__esModule",{value:!0});t.MapChart=void 0;y=r(i(101));u=ft(i(1));i(867);var f=r(i(16)),d=r(i(50)),g=r(i(868)),nt=r(i(869)),tt=i(51),e=i(7),p=i(870),it=r(i(65)),rt=r(i(49)),ut=i(37),h;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;h&&h(n);vt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};"object"===o(f.default)&&(g.default(f.default),rt.default(f.default),it.default(f.default),f.default.setOptions({lang:{numericSymbols:null}}));l=[["se-4461",0],["se-ka",0],["se-og",2],["se-nb",3],["se-vn",4],["se-vb",5],["se-gt",6],["se-st",7],["se-up",0],["se-bl",9],["se-vg",10],["se-ko",11],["se-gv",12],["se-jo",13],["se-kr",14],["se-or",15],["se-vm",16],["se-ha",17],["se-sd",18],["se-vr",0],["se-ja",20],["se-sn",21]];a=function(n){function t(n){var r;return et(this,t),(r=i.call(this,n)).options=tt.mapOptions,r.toolTipHeader="",r.getMapData=function(){var n=r.props.chartData.filter(function(n){return n[e.columnConstants.divisionType]==r.props.settingsData.divisionTypeValues});return n[0]&&n[0].hasOwnProperty(e.columnConstants.careUnit)&&(n=n.filter(function(n){return n[e.columnConstants.careUnit]&&"riket"===n[e.columnConstants.careUnit].toLowerCase()})),n.map(function(n){var i=r.mapRegion(n[e.columnConstants.division]),t=n[r.props.settingsData.nrOfPatients]&&"x"==n[r.props.settingsData.nrOfPatients].toLowerCase()?-1:ut.replaceCommaWithDot(n[r.props.settingsData.nrOfPatients]);return[i,t&&parseFloat(t.toString())]})},r.getToolTipHeader=function(){var n=r.props.settingsData.nrOfPatients&&r.props.settingsData.nrOfPatients.toLowerCase();return n&&n.includes("antal patienter per")?"Antal patienter per "+n.split("per")[1].trim()+" invånare":"Patienters hemregion"},r.mapRegion=function(n){switch(n){case"Region Blekinge":return"se-bl";case"Region Dalarna":return"se-ko";case"Region Gotland":return"se-gt";case"Region Gävleborg":return"se-gv";case"Region Halland":return"se-ha";case"Region Jämtland Härjedalen":return"se-ja";case"Region Jönköpings län":return"se-jo";case"Region Kalmar län":return"se-ka";case"Region Kronoberg":return"se-kr";case"Region Norrbotten":return"se-nb";case"Region Skåne":return"se-sn";case"Region Stockholm":return"se-st";case"Region Sörmland":return"se-sd";case"Region Uppsala":return"se-up";case"Region Värmland":return"se-vr";case"Region Västerbotten":return"se-vb";case"Region Västernorrland":return"se-vn";case"Region Västmanland":return"se-vm";case"Region Örebro län":return"se-or";case"Region Östergötland":return"se-og";case"Västra Götalandsregionen":return"se-vg"}},r.options.series.map(function(n){n.mapData=nt.default;n.data=l}),r}st(t,n);var i=ht(t);return ot(t,[{key:"render",value:function(){var i=this,n=this.props.chartData?this.getMapData():null;this.options.series.map(function(t){t.data=n;t.name=i.getToolTipHeader()});this.options.title.text="";this.options.tooltip.headerFormat='<span style="color:{point.color}">●<\/span> {point.series.name}<\/span>';this.options.tooltip.pointFormatter=function(){var n=-1===this.value?"Uppgift kan inte visas då det riskerar att identifiera enskilda patienter":this.value;return"<br><strong>"+this.name+"<\/strong>: "+n};this.options.accessibility.point.descriptionFormatter=function(n){return n.name+", värde: "+n.x};var t=n.filter(function(n){return NaN!==n[1]&&n[1]}),r=this.props.settingsData.nrOfPatients&&this.props.settingsData.nrOfPatients.toLowerCase().includes("antal patienter per"),e=void 0!==this.props.settingsData.hideDecimalsInGroups&&this.props.settingsData.hideDecimalsInGroups,o=r?p.getMapGroupingsPerX(t,e):p.getMapGroupings(t);return this.options.colorAxis.dataClasses=o,this.props.chartData&&u.createElement(u.Fragment,null,u.createElement("div",{className:"chart-wrapper"},u.createElement(d.default,{constructorType:"mapChart",containerProps:{id:"chartContainerMap"+y.default("map")},highcharts:f.default,options:this.options})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(u.Component);t.MapChart=a;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&(s.register(l,"data","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\Map\\MapChart.tsx"),s.register(a,"MapChart","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\Map\\MapChart.tsx"));v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;v&&v(n)}).call(this,i(0)(n))},function(){},function(n,t,i){var u,f,r;r=function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}t(n=n?n._modules:{},"parts-map/MapAxis.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var i=t.addEvent,r=t.pick;i(n=n.Axis,"getSeriesExtremes",function(){var n=[];this.isXAxis&&(this.series.forEach(function(t,i){t.useMapGeometry&&(n[i]=t.xData,t.xData=[])}),this.seriesXData=n)});i(n,"afterGetSeriesExtremes",function(){var i,u=this.seriesXData,n,t;this.isXAxis&&(n=r(this.dataMin,Number.MAX_VALUE),t=r(this.dataMax,-Number.MAX_VALUE),this.series.forEach(function(f,e){f.useMapGeometry&&(n=Math.min(n,r(f.minX,n)),t=Math.max(t,r(f.maxX,t)),f.xData=u[e],i=!0)}),i&&(this.dataMin=n,this.dataMax=t),delete this.seriesXData)});i(n,"afterSetAxisTranslation",function(){var i,n=this.chart,t=n.plotWidth/n.plotHeight;n=n.xAxis[0];"yAxis"===this.coll&&void 0!==n.transA&&this.series.forEach(function(n){n.preserveAspectRatio&&(i=!0)});i&&(this.transA=n.transA=Math.min(this.transA,n.transA),n=((t=1>(t/=(n.max-n.min)/(this.max-this.min))?this:n).max-t.min)*t.transA,t.pixelPadding=t.len-n,t.minPixelPadding=t.pixelPadding/2,n=t.fixTo)&&(n=n[1]-t.toValue(n[0],!0),n*=t.transA,(Math.abs(n)>t.minPixelPadding||t.min===t.dataMin&&t.max===t.dataMax)&&(n=0),t.minPixelPadding-=n)});i(n,"render",function(){this.fixTo=null})});t(n,"parts-map/ColorSeriesMixin.js",[n["parts/Globals.js"]],function(n){n.colorPointMixin={setVisible:function(n){var t=this,i=n?"show":"hide";t.visible=t.options.visible=!!n;["graphic","dataLabel"].forEach(function(n){t[n]&&t[n][i]()})}};n.colorSeriesMixin={optionalAxis:"colorAxis",colorAxis:0,translateColors:function(){var t=this,i=this.options.nullColor,n=this.colorAxis,r=this.colorKey;(this.data.length?this.data:this.points).forEach(function(u){var f=u.getNestedProperty(r);(f=u.options.color||(u.isNull?i:n&&void 0!==f?n.toColor(f,u):u.color||t.color))&&(u.color=f)})}}});t(n,"parts-map/ColorAxis.js",[n["parts/Globals.js"],n["parts/Color.js"],n["parts/Point.js"],n["parts/Legend.js"],n["mixins/legend-symbol.js"],n["parts/Utilities.js"]],function(n,t,i,r,u,f){var s=t.parse,l;t=f.addEvent;var v=f.erase,h=f.extend,p=f.isNumber,a=f.merge,o=f.pick,w=f.splat,e=n.Axis;f=n.Chart;var c=n.Series,b=n.colorPointMixin,y=n.noop;h(c.prototype,n.colorSeriesMixin);h(i.prototype,b);f.prototype.collectionsWithUpdate.push("colorAxis");f.prototype.collectionsWithInit.colorAxis=[f.prototype.addColorAxis];l=n.ColorAxis=function(){this.init.apply(this,arguments)};h(l.prototype,e.prototype);h(l.prototype,{defaultColorAxisOptions:{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0},keepProps:["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"].concat(e.prototype.keepProps),init:function(n,t){this.coll="colorAxis";var i=this.buildOptions.call(n,this.defaultColorAxisOptions,t);e.prototype.init.call(this,n,i);t.dataClasses&&this.initDataClasses(t);this.initStops();this.horiz=!i.opposite;this.zoomEnabled=!1;this.defaultLegendLength=200},initDataClasses:function(n){var u,t=this.chart,i=0,f=t.options.chart.colorCount,r=this.options,e=n.dataClasses.length;this.dataClasses=u=[];this.legendItems=[];n.dataClasses.forEach(function(n,o){n=a(n);u.push(n);!t.styledMode&&n.color||("category"===r.dataClassColor?(t.styledMode||(o=t.options.colors,f=o.length,n.color=o[i]),n.colorIndex=i,++i===f&&(i=0)):n.color=s(r.minColor).tweenTo(s(r.maxColor),2>e?.5:o/(e-1)))})},hasData:function(){return!(!this.tickPositions||!this.tickPositions.length)},setTickPositions:function(){if(!this.dataClasses)return e.prototype.setTickPositions.call(this)},initStops:function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]];this.stops.forEach(function(n){n.color=s(n[1])})},buildOptions:function(n,t){var r=this.options.legend,i=t.layout?"vertical"!==t.layout:"vertical"!==r.layout;return a(n,{side:i?2:1,reversed:!i},t,{opposite:!i,showEmpty:!1,title:null,visible:r.enabled&&(!t||!1!==t.visible)})},setOptions:function(n){e.prototype.setOptions.call(this,n);this.options.crosshair=this.options.marker},setAxisSize:function(){var i,r,n=this.legendSymbol,u=this.chart,t=u.options.legend||{};n?(this.left=t=n.attr("x"),this.top=i=n.attr("y"),this.width=r=n.attr("width"),this.height=n=n.attr("height"),this.right=u.chartWidth-t-r,this.bottom=u.chartHeight-i-n,this.len=this.horiz?r:n,this.pos=this.horiz?t:i):this.len=(this.horiz?t.symbolWidth:t.symbolHeight)||this.defaultLegendLength},normalizedValue:function(n){return this.isLog&&(n=this.val2lin(n)),1-(this.max-n)/(this.max-this.min||1)},toColor:function(n,t){var r,i=this.stops,e=this.dataClasses,f,u,o;if(e){for(r=e.length;r--;)if(f=e[r],u=f.from,i=f.to,(void 0===u||n>=u)&&(void 0===i||n<=i)){o=f.color;t&&(t.dataClass=r,t.colorIndex=f.colorIndex);break}}else{for(n=this.normalizedValue(n),r=i.length;r--&&!(n>i[r][0]););u=i[r]||i[r+1];n=1-((i=i[r+1]||u)[0]-n)/(i[0]-u[0]||1);o=u.color.tweenTo(i.color,n)}return o},getOffset:function(){var n=this.legendGroup,t=this.chart.axisOffset[this.side];n&&(this.axisParent=n,e.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=t)},setLegendColor:function(){var t=this.reversed,n=t?1:0;t=t?0:1;n=this.horiz?[n,0,t,0]:[0,t,0,n];this.legendColor={linearGradient:{x1:n[0],y1:n[1],x2:n[2],y2:n[3]},stops:this.stops}},drawLegendSymbol:function(n,t){var u=n.padding,i=n.options,r=this.horiz,f=o(i.symbolWidth,r?this.defaultLegendLength:12),e=o(i.symbolHeight,r?12:this.defaultLegendLength),s=o(i.labelPadding,r?16:30);i=o(i.itemDistance,10);this.setLegendColor();t.legendSymbol=this.chart.renderer.rect(0,n.baseline-11,f,e).attr({zIndex:1}).add(t.legendGroup);this.legendItemWidth=f+u+(r?i:s);this.legendItemHeight=e+u+(r?s:0)},setState:function(n){this.series.forEach(function(t){t.setState(n)})},visible:!0,setVisible:y,getSeriesExtremes:function(){var i,e=this.series,s=e.length,u,f;for(this.dataMin=1/0,this.dataMax=-1/0;s--;){var n=e[s],t=n.colorKey=o(n.options.colorKey,n.colorKey,n.pointValKey,n.zoneAxis,"y"),r=n.pointArrayMap,h=n[t+"Min"]&&n[t+"Max"];if(n[t+"Data"])u=n[t+"Data"];else if(r){if(u=[],r=r.indexOf(t),f=n.yData,0<=r&&f)for(i=0;i<f.length;i++)u.push(o(f[i][r],f[i]))}else u=n.yData;h?(n.minColorValue=n[t+"Min"],n.maxColorValue=n[t+"Max"]):(c.prototype.getExtremes.call(n,u),n.minColorValue=n.dataMin,n.maxColorValue=n.dataMax);void 0!==n.minColorValue&&(this.dataMin=Math.min(this.dataMin,n.minColorValue),this.dataMax=Math.max(this.dataMax,n.maxColorValue));h||c.prototype.getExtremes.call(n)}},drawCrosshair:function(n,t){var f=t&&t.plotX,o=t&&t.plotY,r=this.pos,u=this.len,i;t&&(i=this.toPixels(t.getNestedProperty(t.series.colorKey)),i<r?i=r-2:i>r+u&&(i=r+u+2),t.plotX=i,t.plotY=this.len-i,e.prototype.drawCrosshair.call(this,n,t),t.plotX=f,t.plotY=o,this.cross&&!this.cross.addedToColorAxis&&this.legendGroup&&(this.cross.addClass("highcharts-coloraxis-marker").add(this.legendGroup),this.cross.addedToColorAxis=!0,this.chart.styledMode||this.cross.attr({fill:this.crosshair.color})))},getPlotLinePath:function(n){var t=n.translatedValue;return p(t)?this.horiz?["M",t-4,this.top-6,"L",t+4,this.top-6,t,this.top,"Z"]:["M",this.left,t,"L",this.left-6,t+6,this.left-6,t-6,"Z"]:e.prototype.getPlotLinePath.apply(this,arguments)},update:function(n,t){var i=this.chart,r=i.legend,u=this.buildOptions.call(i,{},n);this.series.forEach(function(n){n.isDirtyData=!0});(n.dataClasses&&r.allItems||this.dataClasses)&&this.destroyItems();i.options[this.coll]=a(this.userOptions,u);e.prototype.update.call(this,u,t);this.legendItem&&(this.setLegendColor(),r.colorizeItem(this,!0))},destroyItems:function(){var n=this.chart;this.legendItem?n.legend.destroyItem(this):this.legendItems&&this.legendItems.forEach(function(t){n.legend.destroyItem(t)});n.isDirtyLegend=!0},remove:function(n){this.destroyItems();e.prototype.remove.call(this,n)},getDataClassLegendSymbols:function(){var n,o=this,t=this.chart,i=this.legendItems,r=t.options.legend,f=r.valueDecimals,e=r.valueSuffix||"";return i.length||this.dataClasses.forEach(function(r,s){var c=!0,l=r.from,a=r.to,v=t.numberFormatter;n="";void 0===l?n="< ":void 0===a&&(n="> ");void 0!==l&&(n+=v(l,f)+e);void 0!==l&&void 0!==a&&(n+=" - ");void 0!==a&&(n+=v(a,f)+e);i.push(h({chart:t,name:n,options:{},drawLegendSymbol:u.drawRectangle,visible:!0,setState:y,isDataClass:!0,setVisible:function(){c=this.visible=!c;o.series.forEach(function(n){n.points.forEach(function(n){n.dataClass===s&&n.setVisible(c)})});t.legend.colorizeItem(this,c)}},r))}),i},beforePadding:!1,name:""});["fill","stroke"].forEach(function(t){n.Fx.prototype[t+"Setter"]=function(){this.elem.attr(t,s(this.start).tweenTo(s(this.end),this.pos),null,!0)}});t(f,"afterGetAxes",function(){var t=this,n=t.options;this.colorAxis=[];n.colorAxis&&(n.colorAxis=w(n.colorAxis),n.colorAxis.forEach(function(n,i){n.index=i;new l(t,n)}))});t(c,"bindAxes",function(){var n=this.axisTypes;n?-1===n.indexOf("colorAxis")&&n.push("colorAxis"):this.axisTypes=["colorAxis"]});t(r,"afterGetAllItems",function(n){var t,r,i=[];for((this.chart.colorAxis||[]).forEach(function(r){(t=r.options)&&t.showInLegend&&(t.dataClasses&&t.visible?i=i.concat(r.getDataClassLegendSymbols()):t.visible&&i.push(r),r.series.forEach(function(i){i.options.showInLegend&&!t.dataClasses||("point"===i.options.legendType?i.points.forEach(function(t){v(n.allItems,t)}):v(n.allItems,i))}))}),r=i.length;r--;)n.allItems.unshift(i[r])});t(r,"afterColorizeItem",function(n){n.visible&&n.item.legendColor&&n.item.legendSymbol.attr({fill:n.item.legendColor})});t(r,"afterUpdate",function(){var n=this.chart.colorAxis;n&&n.forEach(function(n,t,i){n.update({},i)})});t(c,"afterTranslate",function(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()})});t(n,"parts-map/ColorMapSeriesMixin.js",[n["parts/Globals.js"],n["parts/Point.js"],n["parts/Utilities.js"]],function(n,t,i){var u=i.defined,r;i=n.noop;r=n.seriesTypes;n.colorMapPointMixin={dataLabelOnNull:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value},setState:function(n){t.prototype.setState.call(this,n);this.graphic&&this.graphic.attr({zIndex:"hover"===n?1:0})}};n.colorMapSeriesMixin={pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:i,parallelArrays:["x","y","value"],colorKey:"value",pointAttribs:r.column.prototype.pointAttribs,colorAttribs:function(n){var t={};return u(n.color)&&(t[this.colorProp||"fill"]=n.color),t}}});t(n,"parts-map/MapNavigation.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){function f(n){n&&(n.preventDefault&&n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)}function i(n){this.init(n)}var r=t.addEvent,o=t.extend,e=t.merge,h=t.objectEach,u=t.pick,s;t=n.Chart;s=n.doc;i.prototype.init=function(n){this.chart=n;n.mapNavButtons=[]};i.prototype.update=function(n){var t,l,c,v,y,i=this.chart,s=i.options.mapNavigation,p=function(n){this.handler.call(i,n);f(n)},a=i.mapNavButtons;for(n&&(s=i.options.mapNavigation=e(i.options.mapNavigation,n));a.length;)a.pop().destroy();u(s.enableButtons,s.enabled)&&!i.renderer.forExport&&h(s.buttons,function(n,u){t=e(s.buttonOptions,n);i.styledMode||((l=t.theme).style=e(t.theme.style,t.style),v=(c=l.states)&&c.hover,y=c&&c.select);(n=i.renderer.button(t.text,0,0,p,l,v,y,0,"zoomIn"===u?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[u]).attr({width:t.width,height:t.height,title:i.options.lang[u],padding:t.padding,zIndex:5}).add()).handler=t.onclick;r(n.element,"dblclick",f);a.push(n);var h=t,w=r(i,"load",function(){n.align(o(h,{width:n.width,height:2*n.height}),null,h.alignTo);w()})});this.updateEvents(s)};i.prototype.updateEvents=function(n){var t=this.chart;u(n.enableDoubleClickZoom,n.enabled)||n.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||r(t.container,"dblclick",function(n){t.pointer.onContainerDblClick(n)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick());u(n.enableMouseWheelZoom,n.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||r(t.container,void 0===s.onmousewheel?"DOMMouseScroll":"mousewheel",function(n){return t.pointer.onContainerMouseWheel(n),f(n),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())};o(t.prototype,{fitToBox:function(n,t){return[["x","width"],["y","height"]].forEach(function(i){var r=i[0];i=i[1];n[r]+n[i]>t[r]+t[i]&&(n[i]>t[i]?(n[i]=t[i],n[r]=t[r]):n[r]=t[r]+t[i]-n[i]);n[i]>t[i]&&(n[i]=t[i]);n[r]<t[r]&&(n[r]=t[r])}),n},mapZoom:function(n,t,i,r,f){var o=this.xAxis[0],e=o.max-o.min,s=u(t,o.min+e/2),h=e*n,c=(e=this.yAxis[0]).max-e.min,l=u(i,e.min+c/2);c*=n;h=(s=this.fitToBox({x:s-h*(r?(r-o.pos)/o.len:.5),y:l-c*(f?(f-e.pos)/e.len:.5),width:h,height:c},{x:o.dataMin,y:e.dataMin,width:o.dataMax-o.dataMin,height:e.dataMax-e.dataMin})).x<=o.dataMin&&s.width>=o.dataMax-o.dataMin&&s.y<=e.dataMin&&s.height>=e.dataMax-e.dataMin;r&&(o.fixTo=[r-o.pos,t]);f&&(e.fixTo=[f-e.pos,i]);void 0===n||h?(o.setExtremes(void 0,void 0,!1),e.setExtremes(void 0,void 0,!1)):(o.setExtremes(s.x,s.x+s.width,!1),e.setExtremes(s.y,s.y+s.height,!1));this.redraw()}});r(t,"beforeRender",function(){this.mapNavigation=new i(this);this.mapNavigation.update()});n.MapNavigation=i});t(n,"parts-map/MapPointer.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){var i=t.extend,r=t.pick;t=t.wrap;i((n=n.Pointer).prototype,{onContainerDblClick:function(n){var t=this.chart;n=this.normalize(n);t.options.mapNavigation.enableDoubleClickZoomTo?t.pointer.inClass(n.target,"highcharts-tracker")&&t.hoverPoint&&t.hoverPoint.zoomTo():t.isInsidePlot(n.chartX-t.plotLeft,n.chartY-t.plotTop)&&t.mapZoom(.5,t.xAxis[0].toValue(n.chartX),t.yAxis[0].toValue(n.chartY),n.chartX,n.chartY)},onContainerMouseWheel:function(n){var t=this.chart,i=(n=this.normalize(n)).detail||-n.wheelDelta/120;t.isInsidePlot(n.chartX-t.plotLeft,n.chartY-t.plotTop)&&t.mapZoom(Math.pow(t.options.mapNavigation.mouseWheelSensitivity,i),t.xAxis[0].toValue(n.chartX),t.yAxis[0].toValue(n.chartY),n.chartX,n.chartY)}});t(n.prototype,"zoomOption",function(n){var t=this.chart.options.mapNavigation;r(t.enableTouchZoom,t.enabled)&&(this.chart.options.chart.pinchType="xy");n.apply(this,[].slice.call(arguments,1))});t(n.prototype,"pinchTranslate",function(n,t,i,r,u,f,e){n.call(this,t,i,r,u,f,e);"map"===this.chart.options.chart.type&&this.hasZoom&&(n=r.scaleX>r.scaleY,this.pinchTranslateDirection(!n,t,i,r,u,f,e,n?r.scaleX:r.scaleY))})});t(n,"parts-map/MapSeries.js",[n["parts/Globals.js"],n["mixins/legend-symbol.js"],n["parts/Point.js"],n["parts/Utilities.js"]],function(n,t,i,r){var h=r.extend,a=r.fireEvent,c=r.getNestedProperty,v=r.isArray,f=r.isNumber,l=r.merge,y=r.objectEach,u=r.pick,p=r.seriesType,w=r.splat,b=n.colorMapPointMixin,s=n.noop,e=n.Series,o=n.seriesTypes;p("map","scatter",{animation:!1,dataLabels:{crop:!1,formatter:function(){return this.point.value},inside:!0,overflow:!1,padding:0,verticalAlign:"middle"},marker:null,nullColor:"#f7f7f7",stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"},inactive:{opacity:1}}},l(n.colorMapSeriesMixin,{type:"map",getExtremesFromAll:!0,useMapGeometry:!0,forceDL:!0,searchPoint:s,directTouch:!0,preserveAspectRatio:!0,pointArrayMap:["value"],setOptions:function(n){var t=(n=e.prototype.setOptions.call(this,n)).joinBy;return null===t&&(t="_i"),(t=this.joinBy=w(t))[1]||(t[1]=t[0]),n},getBox:function(t){var a,i=Number.MAX_VALUE,s=-i,h=i,c=-i,l=i,r=i,e=this.xAxis,o=this.yAxis;(t||[]).forEach(function(t){if(t.path){"string"==typeof t.path&&(t.path=n.splitPath(t.path));var e=t.path||[],o=e.length,k=!1,p=-i,v=i,w=-i,y=i,b=t.properties;if(!t._foundBox){for(;o--;)f(e[o])&&(k?(p=Math.max(p,e[o]),v=Math.min(v,e[o])):(w=Math.max(w,e[o]),y=Math.min(y,e[o])),k=!k);t._midX=v+(p-v)*u(t.middleX,b&&b["hc-middle-x"],.5);t._midY=y+(w-y)*u(t.middleY,b&&b["hc-middle-y"],.5);t._maxX=p;t._minX=v;t._maxY=w;t._minY=y;t.labelrank=u(t.labelrank,(p-v)*(w-y));t._foundBox=!0}s=Math.max(s,t._maxX);h=Math.min(h,t._minX);c=Math.max(c,t._maxY);l=Math.min(l,t._minY);r=Math.min(t._maxX-t._minX,t._maxY-t._minY,r);a=!0}});a&&(this.minY=Math.min(l,u(this.minY,i)),this.maxY=Math.max(c,u(this.maxY,-i)),this.minX=Math.min(h,u(this.minX,i)),this.maxX=Math.max(s,u(this.maxX,-i)),e&&void 0===e.options.minRange&&(e.minRange=Math.min(5*r,(this.maxX-this.minX)/5,e.minRange||i)),o&&void 0===o.options.minRange&&(o.minRange=Math.min(5*r,(this.maxY-this.minY)/5,o.minRange||i)))},hasData:function(){return!!this.processedXData.length},getExtremes:function(){e.prototype.getExtremes.call(this,this.valueData);this.chart.hasRendered&&this.isDirtyData&&this.getBox(this.options.data);this.valueMin=this.dataMin;this.valueMax=this.dataMax;this.dataMin=this.minY;this.dataMax=this.maxY},translatePath:function(n){var e=!1,i=this.xAxis,r=this.yAxis,h=i.min,c=i.transA,o,s,t,u;if(i=i.minPixelPadding,o=r.min,s=r.transA,r=r.minPixelPadding,u=[],n)for(t=n.length;t--;)f(n[t])?(u[t]=e?(n[t]-h)*c+i:(n[t]-o)*s+r,e=!e):u[t]=n[t];return u},setData:function(t,r,u,o){var d=this.options,a=this.chart.options.chart,p=a&&a.map,s=d.mapData,h=this.joinBy,b=d.keys||this.pointArrayMap,k=[],g={},w=this.chart.mapTransforms,nt,tt;if(!s&&p&&(s="string"==typeof p?n.maps[p]:p),t&&t.forEach(function(n,r){var e=0,u;if(f(n))t[r]={value:n};else if(v(n))for(t[r]={},!d.keys&&n.length>b.length&&"string"==typeof n[0]&&(t[r]["hc-key"]=n[0],++e),u=0;u<b.length;++u,++e)b[u]&&void 0!==n[e]&&(0<b[u].indexOf(".")?i.prototype.setNestedProperty(t[r],n[e],b[u]):t[r][b[u]]=n[e]);h&&"_i"===h[0]&&(t[r]._i=r)}),this.getBox(t),(this.chart.mapTransforms=w=a&&a.mapTransforms||s&&s["hc-transform"]||w)&&y(w,function(n){n.rotation&&(n.cosAngle=Math.cos(n.rotation),n.sinAngle=Math.sin(n.rotation))}),s){for("FeatureCollection"===s.type&&(this.mapTitle=s.title,s=n.geojson(s,this.type,this)),this.mapData=s,this.mapMap={},w=0;w<s.length;w++)p=(a=s[w]).properties,a._i=w,h[0]&&p&&p[h[0]]&&(a[h[0]]=p[h[0]]),g[a[h[0]]]=a;(this.mapMap=g,t&&h[1])&&(nt=h[1],t.forEach(function(n){n=c(nt,n);g[n]&&k.push(g[n])}));d.allAreas?((this.getBox(s),t=t||[],h[1])&&(tt=h[1],t.forEach(function(n){k.push(c(tt,n))})),k="|"+k.map(function(n){return n&&n[h[0]]}).join("|")+"|",s.forEach(function(n){h[0]&&-1!==k.indexOf("|"+n[h[0]]+"|")||(t.push(l(n,{value:null})),o=!1)})):this.getBox(k)}e.prototype.setData.call(this,t,r,u,o)},drawGraph:s,drawDataLabels:s,doFullTranslate:function(){return this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML||!this.baseTrans},translate:function(){var n=this,t=n.xAxis,i=n.yAxis,r=n.doFullTranslate();n.generatePoints();n.data.forEach(function(u){f(u._midX)&&f(u._midY)&&(u.plotX=t.toPixels(u._midX,!0),u.plotY=i.toPixels(u._midY,!0));r&&(u.shapeType="path",u.shapeArgs={d:n.translatePath(u.path)})});a(n,"afterTranslate")},pointAttribs:function(n,t){return(t=n.series.chart.styledMode?this.colorAttribs(n):o.column.prototype.pointAttribs.call(this,n,t))["stroke-width"]=u(n.options[this.pointAttrToOptions&&this.pointAttrToOptions["stroke-width"]||"borderWidth"],"inherit"),t},drawPoints:function(){var n=this,r=n.xAxis,t=n.yAxis,a=n.group,f=n.chart,b=f.renderer,h=this.baseTrans,i;if(n.transformGroup||(n.transformGroup=b.g().attr({scaleX:1,scaleY:1}).add(a),n.transformGroup.survive=!0),n.doFullTranslate())f.hasRendered&&!f.styledMode&&n.points.forEach(function(t){t.shapeArgs&&(t.shapeArgs.fill=n.pointAttribs(t,t.state).fill)}),n.group=n.transformGroup,o.column.prototype.drawPoints.apply(n),n.group=a,n.points.forEach(function(t){if(t.graphic){var i="";t.name&&(i+="highcharts-name-"+t.name.replace(/ /g,"-").toLowerCase());t.properties&&t.properties["hc-key"]&&(i+=" highcharts-key-"+t.properties["hc-key"].toLowerCase());i&&t.graphic.addClass(i);f.styledMode&&t.graphic.css(n.pointAttribs(t,t.selected?"select":void 0))}}),this.baseTrans={originX:r.min-r.minPixelPadding/r.transA,originY:t.min-t.minPixelPadding/t.transA+(t.reversed?0:t.len/t.transA),transAX:r.transA,transAY:t.transA},this.transformGroup.animate({translateX:0,translateY:0,scaleX:1,scaleY:1});else{var e=r.transA/h.transAX,s=t.transA/h.transAY,c=r.toPixels(h.originX,!0),l=t.toPixels(h.originY,!0);if(.99<e&&1.01>e&&.99<s&&1.01>s&&(s=e=1,c=Math.round(c),l=Math.round(l)),i=this.transformGroup,f.renderer.globalAnimation){var v=i.attr("translateX"),y=i.attr("translateY"),p=i.attr("scaleX"),w=i.attr("scaleY");i.attr({animator:0}).animate({animator:1},{step:function(n,t){i.attr({translateX:v+(c-v)*t.pos,translateY:y+(l-y)*t.pos,scaleX:p+(e-p)*t.pos,scaleY:w+(s-w)*t.pos})}})}else i.attr({translateX:c,translateY:l,scaleX:e,scaleY:s})}f.styledMode||a.element.setAttribute("stroke-width",u(n.options[n.pointAttrToOptions&&n.pointAttrToOptions["stroke-width"]||"borderWidth"],1)/(e||1));this.drawMapDataLabels()},drawMapDataLabels:function(){e.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},render:function(){var n=this,t=e.prototype.render;n.chart.renderer.isVML&&3e3<n.data.length?setTimeout(function(){t.call(n)}):t.call(n)},animate:function(n){var t=this.options.animation,i=this.group,r=this.xAxis,u=this.yAxis,f=r.pos,e=u.pos;this.chart.renderer.isSVG&&(!0===t&&(t={duration:1e3}),n?i.attr({translateX:f+r.len/2,translateY:e+u.len/2,scaleX:.001,scaleY:.001}):i.animate({translateX:f,translateY:e,scaleX:1,scaleY:1},t))},animateDrilldown:function(n){var r=this.chart.plotBox,i=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],t=i.bBox,u=this.chart.options.drilldown.animation;n||(n=Math.min(t.width/r.width,t.height/r.height),i.shapeArgs={scaleX:n,scaleY:n,translateX:t.x,translateY:t.y},this.points.forEach(function(n){n.graphic&&n.graphic.attr(i.shapeArgs).animate({scaleX:1,scaleY:1,translateX:0,translateY:0},u)}))},drawLegendSymbol:t.drawRectangle,animateDrillupFrom:function(n){o.column.prototype.animateDrillupFrom.call(this,n)},animateDrillupTo:function(n){o.column.prototype.animateDrillupTo.call(this,n)}}),h({applyOptions:function(n,t){var r=this.series;return n=i.prototype.applyOptions.call(this,n,t),t=r.joinBy,r.mapData&&r.mapMap&&((t=void 0!==(t=i.prototype.getNestedProperty.call(n,t[1]))&&r.mapMap[t])?(r.xyFromShape&&(n.x=t._midX,n.y=t._midY),h(n,t)):n.value=n.value||null),n},onMouseOver:function(n){r.clearTimeout(this.colorInterval);null!==this.value||this.series.options.nullInteraction?i.prototype.onMouseOver.call(this,n):this.series.onMouseOut(n)},zoomTo:function(){var n=this.series;n.xAxis.setExtremes(this._minX,this._maxX,!1);n.yAxis.setExtremes(this._minY,this._maxY,!1);n.chart.redraw()}},b))});t(n,"parts-map/MapLineSeries.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){t=t.seriesType;var i=n.seriesTypes;t("mapline","map",{lineWidth:1,fillColor:"none"},{type:"mapline",colorProp:"stroke",pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointAttribs:function(n,t){return(n=i.map.prototype.pointAttribs.call(this,n,t)).fill=this.options.fillColor,n},drawLegendSymbol:i.line.prototype.drawLegendSymbol})});t(n,"parts-map/MapPointSeries.js",[n["parts/Globals.js"]],function(n){var t=n.merge,i=n.Point,r=n.Series;(n=n.seriesType)("mappoint","scatter",{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}},{type:"mappoint",forceDL:!0,drawDataLabels:function(){r.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)}},{applyOptions:function(n,r){return n=void 0!==n.lat&&void 0!==n.lon?t(n,this.series.chart.fromLatLonToPoint(n)):n,i.prototype.applyOptions.call(this,n,r)}})});t(n,"parts-more/BubbleLegend.js",[n["parts/Globals.js"],n["parts/Color.js"],n["parts/Legend.js"],n["parts/Utilities.js"]],function(n,t,i,r){var c=t.parse;t=r.addEvent;var l=r.arrayMax,a=r.arrayMin,o=r.isNumber,f=r.merge,s=r.objectEach,u=r.pick,v=r.stableSort,y=r.wrap,p=n.Series,h=n.Chart,w=n.noop,e=n.setOptions;return e({legend:{bubbleLegend:{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:10,color:void 0},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}}),e=function(){function n(n,t){this.options=this.symbols=this.visible=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0;this.setState=w;this.init(n,t)}return n.prototype.init=function(n,t){this.options=n;this.visible=!0;this.chart=t.chart;this.legend=t},n.prototype.addToLegend=function(n){n.splice(this.options.legendIndex,0,this)},n.prototype.drawLegendSymbol=function(n){var r=this.chart,f=this.options,e=u(n.options.itemDistance,20),t=f.ranges,i=f.connectorDistance;this.fontMetrics=r.renderer.fontMetrics(f.labels.style.fontSize.toString()+"px");t&&t.length&&o(t[0].value)?(v(t,function(n,t){return t.value-n.value}),this.ranges=t,this.setOptions(),this.render(),r=this.getMaxLabelSize(),n=2*(t=this.ranges[0].radius),i=0<(i=i-t+r.width)?i:0,this.maxLabel=r,this.movementX="left"===f.labels.align?i:0,this.legendItemWidth=n+i+e,this.legendItemHeight=n+this.fontMetrics.h/2):n.options.bubbleLegend.autoRanges=!0},n.prototype.setOptions=function(){var t=this.ranges,n=this.options,i=this.chart.series[n.seriesIndex],h=this.legend.baseline,r={"z-index":n.zIndex,"stroke-width":n.borderWidth},e={"z-index":n.zIndex,"stroke-width":n.connectorWidth},l=this.getLabelStyles(),o=i.options.marker.fillOpacity,s=this.chart.styledMode;t.forEach(function(a,v){s||(r.stroke=u(a.borderColor,n.borderColor,i.color),r.fill=u(a.color,n.color,1!==o?c(i.color).setOpacity(o).get("rgba"):i.color),e.stroke=u(a.connectorColor,n.connectorColor,i.color));t[v].radius=this.getRangeRadius(a.value);t[v]=f(t[v],{center:t[0].radius-t[v].radius+h});s||f(!0,t[v],{bubbleStyle:f(!1,r),connectorStyle:f(!1,e),labelStyle:l})},this)},n.prototype.getLabelStyles=function(){var n=this.options,t={},i="left"===n.labels.align,r=this.legend.options.rtl;return s(n.labels.style,function(n,i){"color"!==i&&"fontSize"!==i&&"z-index"!==i&&(t[i]=n)}),f(!1,t,{"font-size":n.labels.style.fontSize,fill:u(n.labels.style.color,"#000000"),"z-index":n.zIndex,align:r||i?"right":"left"})},n.prototype.getRangeRadius=function(n){var t=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,t.ranges[t.ranges.length-1].value,t.ranges[0].value,t.minSize,t.maxSize,n)},n.prototype.render=function(){var n=this.chart.renderer,t=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=n.g("bubble-legend");this.legendItem=n.g("bubble-legend-item");this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(n){n.value>=t&&this.renderRange(n)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()},n.prototype.renderRange=function(n){var t=this.options,u=t.labels,f=this.chart.renderer,c=this.symbols,y=c.labels,a=n.center,v=Math.abs(n.radius),i=t.connectorDistance,e=u.align,o=u.style.fontSize,s,h,r,l;i=this.legend.options.rtl||"left"===e?-i:i;u=t.connectorWidth;s=this.ranges[0].radius;h=a-v-t.borderWidth/2+u/2;o=o/2-(this.fontMetrics.h-o)/2;r=f.styledMode;"center"===e&&(i=0,t.connectorDistance=0,n.labelStyle.align="center");e=h+t.labels.y;l=s+i+t.labels.x;c.bubbleItems.push(f.circle(s,a+((h%1?1:.5)-(u%2?0:.5)),v).attr(r?{}:n.bubbleStyle).addClass((r?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-symbol "+(t.className||"")).add(this.legendSymbol));c.connectors.push(f.path(f.crispLine(["M",s,h,"L",s+i,h],t.connectorWidth)).attr(r?{}:n.connectorStyle).addClass((r?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(t.connectorClassName||"")).add(this.legendSymbol));n=f.text(this.formatLabel(n),l,e+o).attr(r?{}:n.labelStyle).addClass("highcharts-bubble-legend-labels "+(t.labels.className||"")).add(this.legendSymbol);y.push(n);n.placed=!0;n.alignAttr={x:l,y:e+o}},n.prototype.getMaxLabelSize=function(){var n,t;return this.symbols.labels.forEach(function(i){t=i.getBBox(!0);n=n?t.width>n.width?t:n:t}),n||{}},n.prototype.formatLabel=function(n){var t=this.options,i=t.labels.formatter,u;return t=t.labels.format,u=this.chart.numberFormatter,t?r.format(t,n):i?i.call(n):u(n.value,1)},n.prototype.hideOverlappingLabels=function(){var t=this.chart,n=this.symbols;!this.options.labels.allowOverlap&&n&&(t.hideOverlappingLabels(n.labels),n.labels.forEach(function(t,i){t.newOpacity?t.newOpacity!==t.oldOpacity&&n.connectors[i].show():n.connectors[i].hide()}))},n.prototype.getRanges=function(){var e,s=this.legend.bubbleLegend,t=s.options.ranges,i=Number.MAX_VALUE,n=-Number.MAX_VALUE,r;return s.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&(e=t.zData.filter(o)).length&&(i=u(t.options.zMin,Math.min(i,Math.max(a(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),n=u(t.options.zMax,Math.max(n,l(e))))}),r=i===n?[{value:n}]:[{value:i},{value:(i+n)/2},{value:n,autoRanges:!0}],t.length&&t[0].radius&&r.reverse(),r.forEach(function(n,i){t&&t[i]&&(r[i]=f(!1,t[i],n))}),r},n.prototype.predictBubbleSizes=function(){var t=this.chart,i=this.fontMetrics,o=t.legend.options,r="horizontal"===o.layout,h=r?t.legend.lastLineHeight:0,u=t.plotSizeX,f=t.plotSizeY,n=t.series[this.options.seriesIndex],e,s;return t=Math.ceil(n.minPxSize),e=Math.ceil(n.maxPxSize),n=n.options.maxSize,s=Math.min(f,u),o.floating||!/%$/.test(n)?i=e:(n=parseFloat(n),i=(s+h-i.h/2)*n/100/(n/100+1),(r&&f-i>=u||!r&&u-i>=f)&&(i=e)),[t,Math.ceil(i)]},n.prototype.updateRanges=function(n,t){var i=this.legend.options.bubbleLegend;i.minSize=n;i.maxSize=t;i.ranges=this.getRanges()},n.prototype.correctSizes=function(){var t=this.legend,n=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(n.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,n.maxPxSize),t.render())},n}(),t(i,"afterGetAllItems",function(t){var r=this.bubbleLegend,u=this.options,i=u.bubbleLegend,f=this.chart.getVisibleBubbleSeriesIndex();r&&r.ranges&&r.ranges.length&&(i.ranges.length&&(i.autoRanges=!!i.ranges[0].autoRanges),this.destroyItem(r));0<=f&&u.enabled&&i.enabled&&(i.seriesIndex=f,this.bubbleLegend=new n.BubbleLegend(i,this),this.bubbleLegend.addToLegend(t.allItems))}),h.prototype.getVisibleBubbleSeriesIndex=function(){for(var t=this.series,n=0;n<t.length;){if(t[n]&&t[n].isBubble&&t[n].visible&&t[n].zData.length)return n;n++}return-1},i.prototype.getLinesHeights=function(){for(var t=this.allItems,i=[],f=t.length,r=0,u,n=0;n<f;n++)if(t[n].legendItemHeight&&(t[n].itemHeight=t[n].legendItemHeight),t[n]===t[f-1]||t[n+1]&&t[n]._legendItemPos[1]!==t[n+1]._legendItemPos[1]){for(i.push({height:0}),u=i[i.length-1];r<=n;r++)t[r].itemHeight>u.height&&(u.height=t[r].itemHeight);u.step=n}return i},i.prototype.retranslateItems=function(n){var r,u,t,f=this.options.rtl,i=0;this.allItems.forEach(function(e,o){r=e.legendGroup.translateX;u=e._legendItemPos[1];((t=e.movementX)||f&&e.ranges)&&(t=f?r-e.options.maxSize/2:r+t,e.legendGroup.attr({translateX:t}));o>n[i].step&&i++;e.legendGroup.attr({translateY:Math.round(u+n[i].height/2)});e._legendItemPos[1]=u+n[i].height/2})},t(p,"legendItemClick",function(){var n=this.chart,i=this.visible,t=this.chart.legend;t&&t.bubbleLegend&&(this.visible=!i,this.ignoreSeries=i,n=0<=n.getVisibleBubbleSeriesIndex(),t.bubbleLegend.visible!==n&&(t.update({bubbleLegend:{enabled:n}}),t.bubbleLegend.visible=n),this.visible=i)}),y(h.prototype,"drawChartBox",function(n,t,i){var r=this.legend,u=0<=this.getVisibleBubbleSeriesIndex(),f;r&&r.options.enabled&&r.bubbleLegend&&r.options.bubbleLegend.autoRanges&&u?(f=r.bubbleLegend.options,u=r.bubbleLegend.predictBubbleSizes(),r.bubbleLegend.updateRanges(u[0],u[1]),f.placed||(r.group.placed=!1,r.allItems.forEach(function(n){n.legendGroup.translateY=null})),r.render(),this.getMargins(),this.axes.forEach(function(n){n.visible&&n.render();f.placed||(n.setScale(),n.updateNames(),s(n.ticks,function(n){n.isNew=!0;n.isNewLabel=!0}))}),f.placed=!0,this.getMargins(),n.call(this,t,i),r.bubbleLegend.correctSizes(),r.retranslateItems(r.getLinesHeights())):(n.call(this,t,i),r&&r.options.enabled&&r.bubbleLegend&&(r.render(),r.retranslateItems(r.getLinesHeights())))}),n.BubbleLegend=e,n.BubbleLegend});t(n,"parts-more/BubbleSeries.js",[n["parts/Globals.js"],n["parts/Color.js"],n["parts/Point.js"],n["parts/Utilities.js"]],function(n,t,i,r){var s=t.parse,h=r.arrayMax,c=r.arrayMin,l=r.clamp,a=r.extend,u=r.isNumber,f=r.pick,v=r.pInt;t=r.seriesType;r=n.Axis;var e=n.noop,y=n.Series,o=n.seriesTypes;t("bubble","scatter",{dataLabels:{formatter:function(){return this.point.z},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"},{pointArrayMap:["y","z"],parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",bubblePadding:!0,zoneAxis:"z",directTouch:!0,isBubble:!0,pointAttribs:function(n,t){var i=this.options.marker.fillOpacity;return n=y.prototype.pointAttribs.call(this,n,t),1!==i&&(n.fill=s(n.fill).setOpacity(i).get("rgba")),n},getRadii:function(n,t,i){var u=this.zData,o=this.yData,s=i.minPxSize,h=i.maxPxSize,f=[],r=0,e;for(i=u.length;r<i;r++)e=u[r],f.push(this.getRadius(n,t,s,h,e,o[r]));this.radii=f},getRadius:function(n,t,i,r,f,e){var s=this.options,l="width"!==s.sizeBy,h=s.zThreshold,c=t-n,o=.5;if(null===e||null===f)return null;if(u(f)){if(s.sizeByAbsoluteValue&&(f=Math.abs(f-h),c=Math.max(t-h,Math.abs(n-h)),n=0),f<n)return i/2-1;0<c&&(o=(f-n)/c)}return l&&0<=o&&(o=Math.sqrt(o)),Math.ceil(i+o*(r-i))/2},animate:function(n){!n&&this.points.length<this.options.animationLimit&&this.points.forEach(function(n){var t=n.graphic,i;t&&t.width&&(i={x:t.x,y:t.y,width:t.width,height:t.height},t.attr({x:n.plotX,y:n.plotY,width:1,height:1}),t.animate(i,this.options.animation))},this)},hasData:function(){return!!this.processedXData.length},translate:function(){var i,r=this.data,f=this.radii,t,n;for(o.scatter.prototype.translate.call(this),i=r.length;i--;)t=r[i],n=f?f[i]:0,u(n)&&n>=this.minPxSize/2?(t.marker=a(t.marker,{radius:n,width:2*n,height:2*n}),t.dlBox={x:t.plotX-n,y:t.plotY-n,width:2*n,height:2*n}):t.shapeArgs=t.plotY=t.dlBox=void 0},alignDataLabel:o.column.prototype.alignDataLabel,buildKDTree:e,applyZones:e},{haloPath:function(n){return i.prototype.haloPath.call(this,0===n?0:(this.marker&&this.marker.radius||0)+n)},ttBelow:!1});r.prototype.beforePadding=function(){var n=this,t=this.len,s=this.chart,r=0,i=t,a=this.isXAxis,d=a?"xData":"yData",y=this.min,e={},g=Math.min(s.plotWidth,s.plotHeight),p=Number.MAX_VALUE,w=-Number.MAX_VALUE,b=this.max-y,o=t/b,k=[];this.series.forEach(function(t){var i=t.options;t.bubblePadding&&(t.visible||!s.options.chart.ignoreHiddenSeries)&&(n.allowZoomOutside=!0,k.push(t),a&&(["minSize","maxSize"].forEach(function(n){var t=i[n],r=/%$/.test(t);t=v(t);e[n]=r?g*t/100:t}),t.minPxSize=e.minSize,t.maxPxSize=Math.max(e.maxSize,e.minSize),(t=t.zData.filter(u)).length&&(p=f(i.zMin,l(c(t),!1===i.displayNegative?i.zThreshold:-Number.MAX_VALUE,p)),w=f(i.zMax,Math.max(w,h(t))))))});k.forEach(function(t){var e=t[d],f=e.length,s;if(a&&t.getRadii(p,w,t),0<b)for(;f--;)u(e[f])&&n.dataMin<=e[f]&&e[f]<=n.max&&(s=t.radii?t.radii[f]:0,r=Math.min((e[f]-y)*o-s,r),i=Math.max((e[f]-y)*o+s,i))});k.length&&0<b&&!this.isLog&&(i-=t,o*=(t+Math.max(0,r)-Math.min(i,t))/t,[["min","userMin",r],["max","userMax",i]].forEach(function(t){void 0===f(n.options[t[0]],n[t[1]])&&(n[t[0]]+=t[2]/o)}))}});t(n,"parts-map/MapBubbleSeries.js",[n["parts/Globals.js"],n["parts/Point.js"],n["parts/Utilities.js"]],function(n,t,i){var u=i.merge,r;i=i.seriesType;r=n.seriesTypes;r.bubble&&i("mapbubble","bubble",{animationLimit:500,tooltip:{pointFormat:"{point.name}: {point.z}"}},{xyFromShape:!0,type:"mapbubble",pointArrayMap:["z"],getMapData:r.map.prototype.getMapData,getBox:r.map.prototype.getBox,setData:r.map.prototype.setData,setOptions:r.map.prototype.setOptions},{applyOptions:function(n,i){return n&&void 0!==n.lat&&void 0!==n.lon?t.prototype.applyOptions.call(this,u(n,this.series.chart.fromLatLonToPoint(n)),i):r.map.prototype.pointClass.prototype.applyOptions.call(this,n,i)},isValid:function(){return"number"==typeof this.z},ttBelow:!1})});t(n,"parts-map/HeatmapSeries.js",[n["parts/Globals.js"],n["mixins/legend-symbol.js"],n["parts/Utilities.js"]],function(n,t,i){var r=i.clamp,s=i.extend,h=i.fireEvent,c=i.merge,e=i.pick;i=i.seriesType;var l=n.colorMapPointMixin,o=n.noop,u=n.Series,f=n.seriesTypes;i("heatmap","scatter",{animation:!1,borderWidth:0,nullColor:"#f7f7f7",dataLabels:{formatter:function(){return this.point.value},inside:!0,verticalAlign:"middle",crop:!1,overflow:!1,padding:0},marker:null,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},states:{hover:{halo:!1,brightness:.2}}},c(n.colorMapSeriesMixin,{pointArrayMap:["y","value"],hasPointSpecificOptions:!0,getExtremesFromAll:!0,directTouch:!0,init:function(){f.scatter.prototype.init.apply(this,arguments);var n=this.options;n.pointRange=e(n.pointRange,n.colsize||1);this.yAxis.axisPointRange=n.rowsize||1},translate:function(){this.generatePoints();var n=this.options,u=n.colsize,t=n.pointPadding,l=void 0===t?0:t;n=n.rowsize;t=this.points;var f=this.xAxis,i=this.yAxis,o=(void 0===u?1:u)/2,s=(void 0===n?1:n)/2,a=this.pointPlacementToXValue(),c=function(n){return Math.round(r(f.translate(n,!1,!1,!1,!0,a),0,f.len))};t.forEach(function(n){var u=c(n.x-o),f=c(n.x+o),h=Math.round(r(i.translate(n.y-s,!1,!0,!1,!0),0,i.len)),a=Math.round(r(i.translate(n.y+s,!1,!0,!1,!0),0,i.len)),t=e(n.pointPadding,l);n.plotX=n.clientX=(u+f)/2;n.plotY=(h+a)/2;n.shapeType="rect";n.shapeArgs={x:Math.min(u,f)+t,y:Math.min(h,a)+t,width:Math.max(Math.abs(f-u)-2*t,0),height:Math.max(Math.abs(a-h)-2*t,0)}});h(this,"afterTranslate")},drawPoints:function(){var n=this.chart.styledMode?"css":"animate";f.column.prototype.drawPoints.call(this);this.points.forEach(function(t){t.graphic[n](this.colorAttribs(t))},this)},hasData:function(){return!!this.processedXData.length},getValidPoints:function(n,t){return u.prototype.getValidPoints.call(this,n,t,!0)},animate:o,getBox:o,drawLegendSymbol:t.drawRectangle,alignDataLabel:f.column.prototype.alignDataLabel,getExtremes:function(){u.prototype.getExtremes.call(this,this.valueData);this.valueMin=this.dataMin;this.valueMax=this.dataMax;u.prototype.getExtremes.call(this)}}),s({haloPath:function(n){if(!n)return[];var t=this.shapeArgs;return["M",t.x-n,t.y-n,"L",t.x-n,t.y+t.height+n,t.x+t.width+n,t.y+t.height+n,t.x+t.width+n,t.y-n,"Z"]}},l))});t(n,"parts-map/GeoJSON.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){function f(n,t){var i,r=!1,f=n.x,u=n.y;for(n=0,i=t.length-1;n<t.length;i=n++)t[n][1]>u!=t[i][1]>u&&f<(t[i][0]-t[n][0])*(u-t[n][1])/(t[i][1]-t[n][1])+t[n][0]&&(r=!r);return r}var r=t.error,o=t.extend,e=t.format,s=t.merge,i,u;t=t.wrap;i=n.Chart;u=n.win;i.prototype.transformFromLatLon=function(n,t){var i,f=(null===(i=this.userOptions.chart)||void 0===i?void 0:i.proj4)||u.proj4;return f?(n=f(t.crs,[n.lon,n.lat]),i=t.cosAngle||t.rotation&&Math.cos(t.rotation),f=t.sinAngle||t.rotation&&Math.sin(t.rotation),{x:(((n=t.rotation?[n[0]*i+n[1]*f,-n[0]*f+n[1]*i]:n)[0]-(t.xoffset||0))*(t.scale||1)+(t.xpan||0))*(t.jsonres||1)+(t.jsonmarginX||0),y:(((t.yoffset||0)-n[1])*(t.scale||1)+(t.ypan||0))*(t.jsonres||1)-(t.jsonmarginY||0)}):(r(21,!1,this),{x:0,y:null})};i.prototype.transformToLatLon=function(n,t){if(void 0!==u.proj4){n={x:((n.x-(t.jsonmarginX||0))/(t.jsonres||1)-(t.xpan||0))/(t.scale||1)+(t.xoffset||0),y:((-n.y-(t.jsonmarginY||0))/(t.jsonres||1)+(t.ypan||0))/(t.scale||1)+(t.yoffset||0)};var i=t.cosAngle||t.rotation&&Math.cos(t.rotation),f=t.sinAngle||t.rotation&&Math.sin(t.rotation);return{lat:(t=u.proj4(t.crs,"WGS84",t.rotation?{x:n.x*i+n.y*-f,y:n.x*f+n.y*i}:n)).y,lon:t.x}}r(21,!1,this)};i.prototype.fromPointToLatLon=function(n){var i,t=this.mapTransforms;if(t){for(i in t)if(Object.hasOwnProperty.call(t,i)&&t[i].hitZone&&f({x:n.x,y:-n.y},t[i].hitZone.coordinates[0]))return this.transformToLatLon(n,t[i]);return this.transformToLatLon(n,t.default)}r(22,!1,this)};i.prototype.fromLatLonToPoint=function(n){var i,t=this.mapTransforms,u;if(!t)return r(22,!1,this),{x:0,y:null};for(i in t)if(Object.hasOwnProperty.call(t,i)&&t[i].hitZone&&(u=this.transformFromLatLon(n,t[i]),f({x:u.x,y:-u.y},t[i].hitZone.coordinates[0])))return u;return this.transformFromLatLon(n,t.default)};n.geojson=function(n,t,i){var f=[],r=[],u=function(n){var t,i=n.length;for(r.push("M"),t=0;t<i;t++)1===t&&r.push("L"),r.push(n[t][0],-n[t][1])};return t=t||"map",n.features.forEach(function(n){var e,i=n.geometry,s=i.type;i=i.coordinates;n=n.properties;r=[];"map"===t||"mapbubble"===t?("Polygon"===s?(i.forEach(u),r.push("Z")):"MultiPolygon"===s&&(i.forEach(function(n){n.forEach(u)}),r.push("Z")),r.length&&(e={path:r})):"mapline"===t?("LineString"===s?u(i):"MultiLineString"===s&&i.forEach(u),r.length&&(e={path:r})):"mappoint"===t&&"Point"===s&&(e={x:i[0],y:-i[1]});e&&f.push(o(e,{name:n.name||n.NAME,properties:n}))}),i&&n.copyrightShort&&(i.chart.mapCredits=e(i.chart.options.credits.mapText,{geojson:n}),i.chart.mapCreditsFull=e(i.chart.options.credits.mapTextFull,{geojson:n})),f};t(i.prototype,"addCredits",function(n,t){t=s(!0,this.options.credits,t);this.mapCredits&&(t.href=null);n.call(this,t);this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})})});t(n,"parts-map/Map.js",[n["parts/Globals.js"],n["parts/Utilities.js"]],function(n,t){function r(n,t,i,r,u,f,e,o){return["M",n+u,t,"L",n+i-f,t,"C",n+i-f/2,t,n+i,t+f/2,n+i,t+f,"L",n+i,t+r-e,"C",n+i,t+r-e/2,n+i-e/2,t+r,n+i-e,t+r,"L",n+o,t+r,"C",n+o/2,t+r,n,t+r-o/2,n,t+r-o,"L",n,t+u,"C",n,t+u/2,n+u/2,t,n+u,t,"Z"]}var s=t.extend,u=t.merge,f=t.pick,e=n.Chart;t=n.defaultOptions;var h=n.Renderer,i=n.SVGRenderer,o=n.VMLRenderer;s(t.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"});t.mapNavigation={buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{fontSize:"15px",fontWeight:"bold"},theme:{"stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1};n.splitPath=function(n){var t;for(n=(n=(n=n.replace(/([A-Za-z])/g," $1 ")).replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,]+/),t=0;t<n.length;t++)/[a-zA-Z]/.test(n[t])||(n[t]=parseFloat(n[t]));return n};n.maps={};i.prototype.symbols.topbutton=function(n,t,i,u,f){return r(n-1,t-1,i,u,f.r,f.r,0,0)};i.prototype.symbols.bottombutton=function(n,t,i,u,f){return r(n-1,t-1,i,u,0,0,f.r,f.r)};h===o&&["topbutton","bottombutton"].forEach(function(n){o.prototype.symbols[n]=i.prototype.symbols[n]});n.Map=n.mapChart=function(t,i,r){var s="string"==typeof t||t.nodeName,o=arguments[s?1:0],l=o,h={endOnTick:!1,visible:!1,minPadding:0,maxPadding:0,startOnTick:!1},c=n.getOptions().credits,a=o.series;return o.series=null,(o=u({chart:{panning:"xy",type:"map"},credits:{mapText:f(c.mapText,' © <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}<\/a>'),mapTextFull:f(c.mapTextFull,"{geojson.copyright}")},tooltip:{followTouchMove:!1},xAxis:h,yAxis:u(h,{reversed:!0})},o,{chart:{inverted:!1,alignTicks:!1}})).series=l.series=a,s?new e(t,o,r):new e(o,i)}});t(n,"masters/modules/map.src.js",[],function(){})};n.exports?(r.default=r,n.exports=r):(u=[i(16)],void 0===(f=function(n){return r(n),r.Highcharts=n,r}.apply(t,u))||(n.exports=f))},function(n){n.exports=JSON.parse('{"title":"Sweden","version":"1.1.3","type":"FeatureCollection","copyright":"Copyright (c) 2020 Highsoft AS, Based on data from Natural Earth","copyrightShort":"Natural Earth","copyrightUrl":"http://www.naturalearthdata.com","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:32633"}},"hc-transform":{"default":{"crs":"+proj=utm +zone=33 +datum=WGS84 +units=m +no_defs","scale":0.000456260013791,"jsonres":15.5,"jsonmarginX":-999,"jsonmarginY":9851,"xoffset":276816.518623,"yoffset":7668702.40259}},"features":[{"type":"Feature","id":"SE.4461","properties":{"hc-group":"admin1","hc-middle-x":0.61,"hc-middle-y":0.37,"hc-key":"se-4461","hc-a2":"NU","labelrank":"20","hasc":"-99","alt-name":null,"woe-id":"-99","subregion":null,"fips":null,"postal-code":null,"name":null,"country":"Sweden","type-en":null,"region":null,"longitude":"12.6979","woe-name":null,"latitude":"55.9059","woe-label":null,"type":null},"geometry":{"type":"Polygon","coordinates":[[[-432,-561],[-450,-544],[-436,-540],[-428,-547],[-432,-561]]]}},{"type":"Feature","id":"SE.KA","properties":{"hc-group":"admin1","hc-middle-x":0.38,"hc-middle-y":0.38,"hc-key":"se-ka","hc-a2":"KA","labelrank":"7","hasc":"SE.KA","alt-name":"Kalmar län","woe-id":"2347052","subregion":null,"fips":"SW09","postal-code":"KA","name":"Kalmar","country":"Sweden","type-en":"County","region":null,"longitude":"16.0875","woe-name":"Kalmar","latitude":"57.2764","woe-label":"Kalmar, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[1462,578],[1484,560],[1450,521],[1462,486],[1425,389],[1410,320],[1384,281],[1390,240],[1369,168],[1349,155],[1316,24],[1293,-37],[1264,-212],[1233,-297],[1199,-306],[1188,-58],[1210,16],[1278,202],[1319,219],[1388,399],[1395,465],[1416,488],[1417,546],[1454,590],[1462,578]]],[[[1285,1082],[1326,1025],[1303,1035],[1317,994],[1268,1028],[1213,1088],[1221,1050],[1245,1039],[1235,1001],[1192,1005],[1284,905],[1261,912],[1227,962],[1174,1005],[1250,911],[1291,875],[1299,846],[1244,861],[1268,798],[1220,747],[1269,741],[1296,675],[1275,656],[1290,630],[1273,603],[1237,603],[1245,553],[1212,533],[1206,441],[1240,395],[1259,338],[1232,352],[1198,312],[1211,261],[1188,150],[1197,130],[1166,110],[1177,45],[1124,24],[1107,-56],[1057,-159],[1046,-225],[1008,-233],[929,-196],[839,-97],[803,-108],[762,-96],[737,-113],[756,-52],[761,41],[749,104],[820,167],[807,219],[835,235],[861,219],[916,224],[943,264],[925,313],[867,398],[832,419],[815,462],[790,533],[802,555],[803,642],[813,664],[839,647],[860,697],[840,741],[860,770],[766,855],[773,886],[812,908],[846,962],[901,972],[970,942],[1016,977],[1016,1033],[1030,1066],[1007,1113],[1013,1148],[1069,1143],[1078,1167],[1122,1185],[1179,1187],[1245,1151],[1267,1084],[1274,1083],[1274,1083],[1274,1083],[1274,1083],[1276,1083],[1276,1083],[1276,1083],[1276,1083],[1285,1082]]]]}},{"type":"Feature","id":"SE.OG","properties":{"hc-group":"admin1","hc-middle-x":0.53,"hc-middle-y":0.39,"hc-key":"se-og","hc-a2":"OG","labelrank":"7","hasc":"SE.OG","alt-name":"Östergötlands län","woe-id":"2347059","subregion":null,"fips":"SW16","postal-code":"OG","name":"Östergötland","country":"Sweden","type-en":"County","region":null,"longitude":"15.7022","woe-name":"Östergötland","latitude":"58.3655","woe-label":"Ostergotland, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[1348,1408],[1337,1372],[1336,1350],[1318,1391],[1348,1408]]],[[[766,855],[662,864],[644,877],[613,969],[590,1014],[602,1080],[622,1093],[576,1204],[511,1157],[412,1170],[365,1204],[342,1259],[502,1590],[536,1618],[584,1632],[649,1718],[693,1748],[754,1748],[799,1771],[833,1844],[873,1859],[895,1847],[924,1879],[1018,1814],[1109,1736],[1175,1633],[1248,1632],[1311,1591],[1085,1613],[1107,1572],[1122,1588],[1159,1558],[1170,1598],[1203,1581],[1251,1583],[1315,1570],[1338,1522],[1382,1493],[1335,1448],[1290,1435],[1177,1462],[1288,1402],[1314,1359],[1255,1369],[1284,1342],[1325,1347],[1287,1310],[1328,1284],[1337,1233],[1320,1194],[1252,1250],[1303,1158],[1306,1122],[1274,1083],[1274,1083],[1274,1083],[1274,1083],[1267,1084],[1245,1151],[1179,1187],[1122,1185],[1078,1167],[1069,1143],[1013,1148],[1007,1113],[1030,1066],[1016,1033],[1016,977],[970,942],[901,972],[846,962],[812,908],[773,886],[766,855]]],[[[1276,1083],[1278,1084],[1285,1082],[1276,1083],[1276,1083]]],[[[1274,1083],[1276,1083],[1276,1083],[1273,1083],[1274,1083],[1274,1083],[1274,1083],[1274,1083]]]]}},{"type":"Feature","id":"SE.NB","properties":{"hc-group":"admin1","hc-middle-x":0.52,"hc-middle-y":0.54,"hc-key":"se-nb","hc-a2":"NB","labelrank":"7","hasc":"SE.NB","alt-name":"Norrbottens län","woe-id":"2347057","subregion":null,"fips":"SW14","postal-code":"NB","name":"Norrbotten","country":"Sweden","type-en":"County","region":null,"longitude":"20.4529","woe-name":"Norrbotten","latitude":"66.837","woe-label":"Norrbotten, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[2963,7147],[2954,7135],[2960,7111],[2924,7154],[2963,7147]]],[[[3167,7313],[3166,7286],[3132,7324],[3145,7343],[3167,7313]]],[[[3426,7382],[3410,7343],[3389,7359],[3389,7381],[3426,7382]]],[[[3109,7316],[3081,7321],[3080,7354],[3099,7344],[3109,7316]]],[[[730,7665],[714,7772],[789,7858],[901,8087],[927,8124],[1015,8219],[1019,8336],[921,8509],[941,8577],[992,8588],[1026,8618],[1062,8689],[1103,8872],[1116,8898],[1234,9004],[1262,9057],[1436,8957],[1444,8960],[1509,9110],[1514,9142],[1490,9296],[1495,9407],[1570,9441],[1633,9387],[1746,9398],[1879,9343],[2014,9295],[2036,9307],[2097,9402],[2011,9446],[2061,9502],[2082,9545],[2106,9662],[2095,9745],[2020,9827],[2165,9851],[2216,9836],[2258,9805],[2256,9747],[2305,9732],[2350,9695],[2383,9648],[2409,9647],[2431,9600],[2509,9555],[2517,9531],[2571,9521],[2623,9455],[2690,9462],[2782,9432],[2827,9407],[2843,9416],[2877,9374],[2924,9350],[2962,9290],[2970,9222],[3004,9238],[3023,9227],[3046,9169],[3140,9088],[3098,9042],[3110,8928],[3146,8813],[3126,8785],[3121,8729],[3139,8698],[3173,8710],[3228,8691],[3234,8588],[3197,8560],[3202,8475],[3234,8435],[3245,8398],[3293,8346],[3339,8283],[3368,8227],[3342,8174],[3360,8027],[3319,7973],[3299,7917],[3318,7861],[3321,7815],[3350,7741],[3407,7712],[3461,7631],[3484,7553],[3530,7475],[3527,7445],[3470,7425],[3464,7401],[3380,7445],[3356,7425],[3316,7424],[3288,7388],[3280,7425],[3255,7400],[3233,7419],[3224,7391],[3254,7374],[3252,7331],[3227,7363],[3196,7322],[3180,7363],[3109,7391],[3086,7433],[3034,7459],[3054,7428],[3061,7351],[3010,7380],[2988,7415],[2953,7415],[2943,7366],[2951,7314],[2977,7267],[2933,7278],[2954,7216],[2978,7237],[3001,7172],[2944,7198],[2944,7181],[2808,7248],[2770,7288],[2781,7256],[2898,7187],[2920,7155],[2889,7134],[2816,7140],[2880,7093],[2876,7065],[2852,7079],[2855,7046],[2807,7032],[2818,6990],[2786,7016],[2709,7016],[2698,6986],[2732,6959],[2751,6973],[2787,6939],[2750,6897],[2721,6940],[2663,6995],[2639,6964],[2682,6957],[2738,6890],[2771,6828],[2748,6817],[2766,6763],[2654,6829],[2264,6910],[2132,6851],[2110,6817],[2038,6775],[1985,6812],[1976,6849],[1911,6882],[1891,6907],[1835,6929],[1793,6980],[1747,6979],[1713,7007],[1641,7042],[1617,7080],[1484,7134],[1380,7207],[1183,7398],[1059,7450],[854,7604],[730,7665]]]]}},{"type":"Feature","id":"SE.VN","properties":{"hc-group":"admin1","hc-middle-x":0.64,"hc-middle-y":0.28,"hc-key":"se-vn","hc-a2":"VN","labelrank":"7","hasc":"SE.VN","alt-name":"Västernorrlands län","woe-id":"2347065","subregion":null,"fips":"SW24","postal-code":"VN","name":"Västernorrland","country":"Sweden","type-en":"County","region":null,"longitude":"17.3697","woe-name":"Västernorrland","latitude":"62.9145","woe-label":"Vasternorrland, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[1696,4848],[1721,4849],[1710,4802],[1675,4797],[1673,4845],[1696,4848]]],[[[1500,4366],[1393,4386],[1320,4386],[1126,4436],[1024,4442],[809,4513],[774,4508],[711,4455],[650,4448],[604,4467],[525,4567],[532,4612],[516,4693],[577,4713],[642,4707],[800,4748],[900,4794],[1054,4808],[1082,4825],[1175,4967],[1284,5014],[1285,5026],[997,5322],[981,5355],[939,5387],[927,5465],[899,5526],[908,5545],[986,5577],[1021,5570],[1099,5583],[1135,5608],[1146,5699],[1183,5830],[1238,5786],[1527,5741],[1743,5825],[1780,5818],[1769,5783],[1803,5725],[1858,5713],[1958,5670],[1967,5643],[2005,5613],[2055,5537],[2100,5432],[2088,5432],[2090,5340],[2043,5310],[2041,5240],[2016,5205],[1965,5273],[1913,5250],[1970,5230],[1965,5208],[1899,5231],[1917,5183],[1865,5197],[1878,5143],[1848,5147],[1853,5099],[1834,5066],[1796,5096],[1808,5064],[1785,5068],[1749,5042],[1842,5048],[1845,5018],[1805,5028],[1797,5009],[1841,4979],[1801,4982],[1828,4949],[1779,4925],[1754,4958],[1734,4919],[1761,4925],[1732,4873],[1690,4868],[1673,4897],[1713,4908],[1679,4930],[1649,4893],[1634,4904],[1629,4977],[1617,4958],[1586,5026],[1544,5035],[1590,4997],[1619,4941],[1619,4897],[1664,4874],[1665,4781],[1619,4784],[1683,4751],[1692,4728],[1658,4699],[1650,4741],[1637,4689],[1608,4637],[1560,4645],[1549,4616],[1568,4597],[1510,4604],[1466,4672],[1432,4640],[1448,4572],[1434,4566],[1456,4507],[1472,4509],[1482,4464],[1554,4435],[1525,4412],[1502,4422],[1500,4366]]]]}},{"type":"Feature","id":"SE.VB","properties":{"hc-group":"admin1","hc-middle-x":0.43,"hc-middle-y":0.53,"hc-key":"se-vb","hc-a2":"VB","labelrank":"7","hasc":"SE.VB","alt-name":"Västerbottens län","woe-id":"2347064","subregion":null,"fips":"SW23","postal-code":"VB","name":"Västerbotten","country":"Sweden","type-en":"County","region":null,"longitude":"18.3726","woe-name":"Västerbotten","latitude":"64.70480000000001","woe-label":"Vasterbotten, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[2631,5647],[2630,5699],[2648,5725],[2648,5670],[2631,5647]]],[[[2100,5432],[2055,5537],[2005,5613],[1967,5643],[1958,5670],[1858,5713],[1803,5725],[1769,5783],[1780,5818],[1743,5825],[1527,5741],[1238,5786],[1183,5830],[1012,6014],[988,6028],[951,6018],[916,6089],[848,6146],[832,6209],[808,6225],[783,6181],[760,6235],[678,6316],[701,6333],[670,6378],[617,6404],[587,6473],[541,6501],[482,6597],[358,6688],[381,6798],[419,6847],[419,6963],[437,7149],[462,7212],[465,7261],[433,7484],[596,7505],[732,7602],[730,7665],[854,7604],[1059,7450],[1183,7398],[1380,7207],[1484,7134],[1617,7080],[1641,7042],[1713,7007],[1747,6979],[1793,6980],[1835,6929],[1891,6907],[1911,6882],[1976,6849],[1985,6812],[2038,6775],[2110,6817],[2132,6851],[2264,6910],[2654,6829],[2766,6763],[2729,6750],[2743,6724],[2717,6716],[2707,6672],[2666,6665],[2651,6568],[2629,6555],[2617,6582],[2606,6551],[2633,6523],[2667,6533],[2698,6519],[2674,6500],[2705,6465],[2696,6442],[2646,6486],[2636,6472],[2681,6432],[2689,6402],[2726,6367],[2733,6396],[2768,6352],[2744,6328],[2775,6326],[2785,6279],[2820,6299],[2823,6273],[2796,6249],[2755,6178],[2713,6155],[2676,6083],[2663,6086],[2625,6006],[2618,5890],[2596,5857],[2585,5796],[2554,5777],[2555,5730],[2531,5754],[2510,5715],[2493,5750],[2466,5705],[2472,5662],[2455,5635],[2434,5680],[2436,5613],[2412,5645],[2414,5608],[2372,5598],[2354,5615],[2250,5495],[2261,5449],[2233,5420],[2189,5488],[2149,5517],[2146,5476],[2172,5459],[2170,5401],[2132,5428],[2100,5432]]]]}},{"type":"Feature","id":"SE.GT","properties":{"hc-group":"admin1","hc-middle-x":0.32,"hc-middle-y":0.64,"hc-key":"se-gt","hc-a2":"GT","labelrank":"7","hasc":"SE.GT","alt-name":"Gotlands län|Gothland|Gottland","woe-id":"2347048","subregion":null,"fips":"SW18","postal-code":"GT","name":"Gotland","country":"Sweden","type-en":"County","region":null,"longitude":"18.4826","woe-name":"Gotland","latitude":"57.4733","woe-label":"Gotland, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[2168,1000],[2194,1042],[2256,1054],[2295,996],[2254,979],[2239,917],[2182,918],[2168,824],[2189,818],[2173,738],[2187,693],[2238,688],[2249,661],[2183,626],[2142,570],[2164,529],[2113,507],[2029,431],[2012,354],[2022,322],[1998,283],[1959,260],[1930,264],[1980,361],[1989,401],[1962,375],[1961,432],[1942,440],[1928,507],[1901,528],[1931,625],[1916,647],[1898,727],[1916,781],[1982,858],[2035,964],[2070,994],[2089,989],[2112,1046],[2147,1061],[2168,1000]]],[[[2344,1129],[2394,1111],[2357,1100],[2314,1063],[2312,1014],[2271,1058],[2289,1109],[2344,1129]]],[[[2355,1414],[2323,1416],[2310,1447],[2359,1437],[2355,1414]]]]}},{"type":"Feature","id":"SE.ST","properties":{"hc-group":"admin1","hc-middle-x":0.3,"hc-middle-y":0.73,"hc-key":"se-st","hc-a2":"ST","labelrank":"7","hasc":"SE.ST","alt-name":"Stockholms län|Estocolmo|Stoccolmo","woe-id":"2347067","subregion":null,"fips":"SW26","postal-code":"ST","name":"Stockholm","country":"Sweden","type-en":"County","region":null,"longitude":"17.8652","woe-name":"Stockholm","latitude":"59.3659","woe-label":"Stockholm, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[1743,1779],[1751,1745],[1728,1746],[1728,1796],[1743,1779]]],[[[1886,1850],[1941,1887],[1929,1845],[1880,1830],[1886,1850]]],[[[1885,1920],[1858,1903],[1853,1871],[1822,1886],[1839,1916],[1885,1920]]],[[[1674,1832],[1654,1836],[1651,1939],[1669,1931],[1679,1886],[1674,1832]]],[[[1981,1950],[1962,1911],[1935,1929],[1947,1965],[1982,1998],[1981,1950]]],[[[1999,2134],[2006,2112],[2000,2087],[1926,2139],[1999,2134]]],[[[2065,2205],[2084,2188],[2062,2147],[2041,2199],[2065,2205]]],[[[1885,2190],[1871,2169],[1835,2180],[1833,2205],[1885,2190]]],[[[2053,2331],[2019,2291],[2006,2240],[1985,2287],[2016,2332],[2053,2331]]],[[[2117,2387],[2085,2362],[2120,2412],[2159,2426],[2139,2374],[2117,2387]]],[[[2162,2558],[2165,2543],[2124,2533],[2147,2596],[2162,2558]]],[[[2063,2838],[2056,2817],[2036,2834],[2050,2863],[2063,2838]]],[[[1631,1862],[1605,1881],[1549,1885],[1502,2064],[1520,2086],[1522,2142],[1564,2168],[1561,2191],[1590,2246],[1615,2346],[1608,2414],[1643,2449],[1686,2437],[1775,2488],[1807,2490],[1852,2561],[1921,2598],[1932,2676],[1955,2699],[1942,2726],[1976,2790],[2013,2813],[2041,2797],[2056,2763],[2081,2790],[2084,2754],[2121,2661],[2190,2625],[2191,2575],[2173,2579],[2141,2624],[2111,2546],[2084,2526],[2183,2536],[2201,2527],[2184,2492],[2146,2486],[2134,2507],[2084,2465],[2038,2410],[2050,2387],[1946,2291],[1889,2277],[1882,2255],[1907,2215],[1859,2221],[1854,2260],[1816,2244],[1823,2220],[1787,2218],[1845,2167],[1875,2152],[1887,2187],[1912,2198],[1979,2180],[1954,2248],[1977,2248],[2031,2204],[2046,2169],[1996,2141],[1934,2145],[1925,2166],[1898,2148],[1901,2108],[1925,2089],[1961,2015],[1884,1995],[1835,1944],[1813,1944],[1760,1828],[1759,1785],[1740,1835],[1699,1832],[1696,1991],[1679,1933],[1660,1954],[1669,1995],[1637,1964],[1648,1904],[1631,1862]]]]}},{"type":"Feature","id":"SE.UP","properties":{"hc-group":"admin1","hc-middle-x":0.56,"hc-middle-y":0.42,"hc-key":"se-up","hc-a2":"UP","labelrank":"7","hasc":"SE.UP","alt-name":"Uppsala län","woe-id":"2347062","subregion":null,"fips":"SW21","postal-code":"UP","name":"Uppsala","country":"Sweden","type-en":"County","region":null,"longitude":"17.7896","woe-name":"Uppsala","latitude":"60.1522","woe-label":"Uppsala, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[1899,3093],[1932,3032],[1910,3041],[1942,2974],[1956,2983],[1969,2936],[1906,2982],[1897,3020],[1899,3093]]],[[[1561,2191],[1549,2214],[1501,2246],[1478,2278],[1439,2298],[1366,2300],[1336,2407],[1290,2514],[1316,2546],[1315,2576],[1374,2563],[1392,2543],[1442,2580],[1451,2646],[1433,2664],[1450,2704],[1487,2734],[1517,2851],[1507,2871],[1449,2915],[1444,2974],[1479,3055],[1499,3165],[1575,3186],[1609,3157],[1588,3137],[1604,3083],[1644,3071],[1637,3100],[1670,3141],[1709,3154],[1741,3119],[1732,3086],[1784,3051],[1818,3001],[1851,2989],[1831,2967],[1842,2945],[1877,2969],[1925,2961],[1937,2923],[1974,2899],[1975,2874],[1882,2915],[1930,2858],[1912,2855],[1976,2790],[1942,2726],[1955,2699],[1932,2676],[1921,2598],[1852,2561],[1807,2490],[1775,2488],[1686,2437],[1643,2449],[1608,2414],[1615,2346],[1590,2246],[1561,2191]]]]}},{"type":"Feature","id":"SE.BL","properties":{"hc-group":"admin1","hc-middle-x":0.36,"hc-middle-y":0.5,"hc-key":"se-bl","hc-a2":"BL","labelrank":"7","hasc":"SE.BL","alt-name":"Blekinge län","woe-id":"2347045","subregion":null,"fips":"SW02","postal-code":"BL","name":"Blekinge","country":"Sweden","type-en":"County","region":null,"longitude":"15.2163","woe-name":"Blekinge","latitude":"56.2929","woe-label":"Blekinge, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[899,-398],[888,-431],[866,-421],[874,-394],[899,-398]]],[[[1046,-225],[1034,-289],[989,-352],[954,-422],[926,-407],[942,-365],[901,-367],[864,-338],[839,-365],[831,-329],[770,-351],[720,-382],[709,-344],[682,-369],[559,-357],[480,-360],[441,-376],[477,-468],[454,-491],[408,-483],[405,-447],[383,-450],[398,-370],[379,-304],[343,-291],[323,-219],[379,-116],[459,-176],[542,-192],[577,-141],[625,-128],[673,-144],[687,-125],[737,-113],[762,-96],[803,-108],[839,-97],[929,-196],[1008,-233],[1046,-225]]]]}},{"type":"Feature","id":"SE.VG","properties":{"hc-group":"admin1","hc-middle-x":0.45,"hc-middle-y":0.45,"hc-key":"se-vg","hc-a2":"VG","labelrank":"7","hasc":"SE.VG","alt-name":null,"woe-id":"20070562","subregion":null,"fips":null,"postal-code":"VG","name":"Västra Götaland","country":"Sweden","type-en":"County","region":null,"longitude":"12.8371","woe-name":"Västra Götaland","latitude":"58.2428","woe-label":"Vastra Gotaland, SE, Sweden","type":"Laen|län"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-781,1161],[-787,1113],[-801,1127],[-818,1087],[-846,1067],[-874,1083],[-879,1156],[-781,1161]]],[[[-753,1308],[-744,1279],[-751,1212],[-793,1193],[-843,1215],[-873,1187],[-917,1225],[-906,1248],[-831,1304],[-806,1303],[-801,1340],[-773,1339],[-753,1308]]],[[[300,1883],[332,1795],[339,1748],[373,1661],[408,1641],[455,1660],[467,1623],[502,1590],[342,1259],[260,1085],[264,1037],[249,1017],[179,978],[160,951],[131,971],[55,971],[61,914],[22,745],[-40,644],[-96,582],[-138,553],[-226,429],[-295,465],[-297,526],[-380,548],[-410,584],[-444,589],[-480,548],[-514,556],[-529,618],[-518,658],[-549,703],[-549,776],[-560,802],[-660,772],[-726,783],[-744,803],[-751,863],[-808,897],[-766,936],[-812,988],[-807,1022],[-779,1037],[-787,1066],[-755,1142],[-763,1168],[-742,1208],[-725,1284],[-742,1332],[-735,1362],[-776,1372],[-839,1315],[-870,1340],[-852,1381],[-796,1448],[-830,1433],[-842,1483],[-860,1384],[-916,1330],[-891,1390],[-901,1461],[-948,1407],[-980,1393],[-989,1442],[-949,1494],[-970,1525],[-947,1581],[-985,1706],[-960,1755],[-969,1852],[-999,1890],[-991,1939],[-952,1984],[-897,1982],[-863,1876],[-866,1826],[-828,1815],[-779,1840],[-739,1974],[-736,2011],[-707,2096],[-651,2091],[-604,2053],[-587,2084],[-555,2094],[-528,2061],[-398,1984],[-364,2023],[-329,1992],[-319,1925],[-291,1874],[-267,1737],[-121,1675],[-57,1687],[-82,1753],[-48,1851],[-23,1890],[17,1918],[266,1906],[300,1883]]]]}},{"type":"Feature","id":"SE.KO","properties":{"hc-group":"admin1","hc-middle-x":0.49,"hc-middle-y":0.54,"hc-key":"se-ko","hc-a2":"KO","labelrank":"7","hasc":"SE.KO","alt-name":"Dalecarlia|Kopparberg","woe-id":"2347053","subregion":null,"fips":"SW10","postal-code":"KO","name":"Dalarna","country":"Sweden","type-en":"County","region":null,"longitude":"14.4404","woe-name":"Dalarna","latitude":"60.814","woe-label":"Dalarna, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[-295,3505],[-278,3578],[-249,3620],[-219,3733],[-223,3750],[-317,3892],[-391,3922],[-481,4038],[-406,4437],[-406,4467],[-396,4468],[-231,4409],[-167,4347],[-141,4307],[-91,4276],[-55,4278],[-20,4243],[-42,4166],[27,4020],[57,3969],[315,3918],[347,3904],[385,3911],[454,3888],[471,3832],[618,3832],[649,3873],[750,3717],[821,3639],[844,3590],[847,3546],[885,3496],[930,3471],[1021,3448],[1064,3362],[1120,3288],[1117,3253],[1067,3172],[1046,3153],[1045,3118],[1124,2992],[1181,2945],[1252,2835],[1246,2820],[1189,2802],[1159,2750],[1099,2723],[1038,2743],[1032,2778],[962,2809],[899,2799],[874,2774],[857,2713],[865,2659],[849,2634],[790,2636],[759,2565],[673,2669],[533,2727],[522,2749],[489,2734],[489,2675],[363,2686],[287,2743],[249,2839],[184,2863],[177,2815],[127,2867],[61,2982],[7,3015],[-92,3203],[-117,3229],[-152,3311],[-279,3460],[-295,3505]]]}},{"type":"Feature","id":"SE.GV","properties":{"hc-group":"admin1","hc-middle-x":0.62,"hc-middle-y":0.28,"hc-key":"se-gv","hc-a2":"GV","labelrank":"7","hasc":"SE.GV","alt-name":"Gävleborgs län","woe-id":"2347046","subregion":null,"fips":"SW03","postal-code":"GV","name":"Gävleborg","country":"Sweden","type-en":"County","region":null,"longitude":"16.5023","woe-name":"Gävleborg","latitude":"61.3691","woe-label":"Gavleborg, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[1252,2835],[1181,2945],[1124,2992],[1045,3118],[1046,3153],[1067,3172],[1117,3253],[1120,3288],[1064,3362],[1021,3448],[930,3471],[885,3496],[847,3546],[844,3590],[821,3639],[750,3717],[649,3873],[618,3832],[471,3832],[454,3888],[385,3911],[400,3942],[409,4014],[431,4084],[480,4138],[519,4072],[519,4106],[565,4117],[626,4115],[633,4187],[626,4232],[733,4325],[747,4359],[711,4455],[774,4508],[809,4513],[1024,4442],[1126,4436],[1320,4386],[1393,4386],[1500,4366],[1492,4298],[1453,4213],[1450,4113],[1476,4108],[1476,4030],[1507,4041],[1522,4016],[1515,3963],[1496,3960],[1463,4019],[1459,3994],[1411,4031],[1378,4029],[1428,4003],[1401,3964],[1414,3934],[1351,3915],[1401,3895],[1361,3890],[1399,3842],[1374,3772],[1413,3724],[1408,3688],[1373,3710],[1419,3644],[1397,3619],[1415,3544],[1407,3495],[1439,3469],[1409,3452],[1457,3334],[1470,3259],[1425,3224],[1494,3184],[1499,3165],[1479,3055],[1444,2974],[1449,2915],[1408,2894],[1354,2902],[1329,2861],[1289,2832],[1252,2835]]]}},{"type":"Feature","id":"SE.JO","properties":{"hc-group":"admin1","hc-middle-x":0.5,"hc-middle-y":0.53,"hc-key":"se-jo","hc-a2":"JO","labelrank":"7","hasc":"SE.JO","alt-name":"Jönköpings län","woe-id":"2347051","subregion":null,"fips":"SW08","postal-code":"JO","name":"Jönköping","country":"Sweden","type-en":"County","region":null,"longitude":"14.424","woe-name":"Jönköping","latitude":"57.5478","woe-label":"Jonkoping, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[815,462],[757,481],[647,483],[654,450],[558,414],[533,453],[498,474],[459,468],[315,408],[303,313],[318,260],[293,212],[249,231],[218,308],[178,337],[129,328],[95,302],[56,327],[18,287],[-19,317],[-24,354],[-68,387],[-108,397],[-175,381],[-214,335],[-239,392],[-226,429],[-138,553],[-96,582],[-40,644],[22,745],[61,914],[55,971],[131,971],[160,951],[179,978],[249,1017],[264,1037],[260,1085],[342,1259],[365,1204],[412,1170],[511,1157],[576,1204],[622,1093],[602,1080],[590,1014],[613,969],[644,877],[662,864],[766,855],[860,770],[840,741],[860,697],[839,647],[813,664],[803,642],[802,555],[790,533],[815,462]]]}},{"type":"Feature","id":"SE.KR","properties":{"hc-group":"admin1","hc-middle-x":0.61,"hc-middle-y":0.51,"hc-key":"se-kr","hc-a2":"KR","labelrank":"7","hasc":"SE.KR","alt-name":"Kronobergs län","woe-id":"2347055","subregion":null,"fips":"SW12","postal-code":"KR","name":"Kronoberg","country":"Sweden","type-en":"County","region":null,"longitude":"14.5773","woe-name":"Kronoberg","latitude":"56.8265","woe-label":"Kronoberg, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[18,287],[56,327],[95,302],[129,328],[178,337],[218,308],[249,231],[293,212],[318,260],[303,313],[315,408],[459,468],[498,474],[533,453],[558,414],[654,450],[647,483],[757,481],[815,462],[832,419],[867,398],[925,313],[943,264],[916,224],[861,219],[835,235],[807,219],[820,167],[749,104],[761,41],[756,-52],[737,-113],[687,-125],[673,-144],[625,-128],[577,-141],[542,-192],[459,-176],[379,-116],[265,-79],[186,-64],[141,-112],[-42,-153],[-74,-152],[-95,-98],[-95,-45],[-153,69],[-145,171],[-131,199],[-14,227],[10,248],[18,287]]]}},{"type":"Feature","id":"SE.OR","properties":{"hc-group":"admin1","hc-middle-x":0.5,"hc-middle-y":0.59,"hc-key":"se-or","hc-a2":"OR","labelrank":"7","hasc":"SE.OR","alt-name":"Örebro|Örebro län","woe-id":"2347058","subregion":null,"fips":"SW15","postal-code":"OR","name":"Örebro","country":"Sweden","type-en":"County","region":null,"longitude":"15.0594","woe-name":"Örebro","latitude":"59.3913","woe-label":"Örebro, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[363,2686],[489,2675],[489,2734],[522,2749],[533,2727],[673,2669],[759,2565],[768,2519],[793,2505],[810,2454],[802,2372],[835,2365],[851,2302],[875,2296],[867,2258],[881,2218],[838,2193],[834,2101],[894,2033],[905,1967],[868,1945],[839,1899],[873,1859],[833,1844],[799,1771],[754,1748],[693,1748],[649,1718],[584,1632],[536,1618],[502,1590],[467,1623],[455,1660],[408,1641],[373,1661],[339,1748],[332,1795],[300,1883],[309,1946],[301,1998],[309,2107],[367,2262],[351,2296],[370,2313],[359,2411],[349,2599],[324,2626],[365,2659],[363,2686]]]}},{"type":"Feature","id":"SE.VM","properties":{"hc-group":"admin1","hc-middle-x":0.52,"hc-middle-y":0.38,"hc-key":"se-vm","hc-a2":"VM","labelrank":"7","hasc":"SE.VM","alt-name":"Västmanlands län","woe-id":"2347066","subregion":null,"fips":"SW25","postal-code":"VM","name":"Västmanland","country":"Sweden","type-en":"County","region":null,"longitude":"16.4244","woe-name":"Västmanland","latitude":"59.7979","woe-label":"Vastmanland, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[894,2033],[834,2101],[838,2193],[881,2218],[867,2258],[875,2296],[851,2302],[835,2365],[802,2372],[810,2454],[793,2505],[768,2519],[759,2565],[790,2636],[849,2634],[865,2659],[857,2713],[874,2774],[899,2799],[962,2809],[1032,2778],[1038,2743],[1099,2723],[1159,2750],[1189,2802],[1246,2820],[1252,2835],[1289,2832],[1329,2861],[1354,2902],[1408,2894],[1449,2915],[1507,2871],[1517,2851],[1487,2734],[1450,2704],[1433,2664],[1451,2646],[1442,2580],[1392,2543],[1374,2563],[1315,2576],[1316,2546],[1290,2514],[1336,2407],[1366,2300],[1319,2281],[1095,2231],[1106,2181],[1064,2158],[983,2155],[945,2091],[942,2062],[894,2033]]]}},{"type":"Feature","id":"SE.HA","properties":{"hc-group":"admin1","hc-middle-x":0.43,"hc-middle-y":0.48,"hc-key":"se-ha","hc-a2":"HA","labelrank":"7","hasc":"SE.HA","alt-name":"Hallands län","woe-id":"2347049","subregion":null,"fips":"SW06","postal-code":"HA","name":"Halland","country":"Sweden","type-en":"County","region":null,"longitude":"12.8007","woe-name":"Halland","latitude":"56.9745","woe-label":"Halland, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[-226,429],[-239,392],[-214,335],[-175,381],[-108,397],[-68,387],[-24,354],[-19,317],[18,287],[10,248],[-14,227],[-131,199],[-145,171],[-153,69],[-95,-45],[-95,-98],[-74,-152],[-123,-155],[-194,-213],[-301,-183],[-303,-130],[-331,-105],[-319,-49],[-343,33],[-404,33],[-452,116],[-457,172],[-511,230],[-551,247],[-565,333],[-591,352],[-620,487],[-658,507],[-637,545],[-655,594],[-676,598],[-649,631],[-668,683],[-691,664],[-700,611],[-725,608],[-735,678],[-726,783],[-660,772],[-560,802],[-549,776],[-549,703],[-518,658],[-529,618],[-514,556],[-480,548],[-444,589],[-410,584],[-380,548],[-297,526],[-295,465],[-226,429]]]}},{"type":"Feature","id":"SE.SD","properties":{"hc-group":"admin1","hc-middle-x":0.58,"hc-middle-y":0.46,"hc-key":"se-sd","hc-a2":"SD","labelrank":"7","hasc":"SE.SD","alt-name":"Södermanlands län|Sörmland","woe-id":"2347061","subregion":null,"fips":"SW18","postal-code":"SD","name":"Södermanland","country":"Sweden","type-en":"County","region":null,"longitude":"16.6334","woe-name":"Södermanland","latitude":"59.0778","woe-label":"Sodermanland, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[1631,1862],[1649,1825],[1613,1812],[1636,1785],[1586,1786],[1585,1723],[1534,1733],[1544,1690],[1511,1673],[1465,1672],[1433,1697],[1424,1654],[1459,1644],[1438,1615],[1389,1633],[1415,1599],[1370,1586],[1311,1591],[1248,1632],[1175,1633],[1109,1736],[1018,1814],[924,1879],[895,1847],[873,1859],[839,1899],[868,1945],[905,1967],[894,2033],[942,2062],[945,2091],[983,2155],[1064,2158],[1106,2181],[1095,2231],[1319,2281],[1366,2300],[1439,2298],[1478,2278],[1501,2246],[1549,2214],[1561,2191],[1564,2168],[1522,2142],[1520,2086],[1502,2064],[1549,1885],[1605,1881],[1631,1862]]]}},{"type":"Feature","id":"SE.VR","properties":{"hc-group":"admin1","hc-middle-x":0.52,"hc-middle-y":0.62,"hc-key":"se-vr","hc-a2":"VR","labelrank":"7","hasc":"SE.VR","alt-name":"Värmlands län","woe-id":"2347063","subregion":null,"fips":"SW22","postal-code":"VR","name":"Värmland","country":"Sweden","type-en":"County","region":null,"longitude":"13.0764","woe-name":"Värmland","latitude":"59.8068","woe-label":"Varmland, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[363,2686],[365,2659],[324,2626],[349,2599],[359,2411],[370,2313],[351,2296],[367,2262],[309,2107],[301,1998],[309,1946],[300,1883],[266,1906],[17,1918],[-23,1890],[-48,1851],[-82,1753],[-57,1687],[-121,1675],[-267,1737],[-291,1874],[-319,1925],[-329,1992],[-364,2023],[-398,1984],[-528,2061],[-555,2094],[-587,2084],[-604,2053],[-651,2091],[-707,2096],[-713,2184],[-748,2343],[-739,2392],[-684,2419],[-657,2454],[-650,2504],[-672,2559],[-668,2586],[-630,2607],[-551,2601],[-491,2646],[-426,2716],[-399,2768],[-392,2831],[-403,2908],[-358,2985],[-355,3079],[-394,3193],[-431,3271],[-451,3388],[-471,3452],[-460,3478],[-371,3501],[-306,3492],[-295,3505],[-279,3460],[-152,3311],[-117,3229],[-92,3203],[7,3015],[61,2982],[127,2867],[177,2815],[184,2863],[249,2839],[287,2743],[363,2686]]]}},{"type":"Feature","id":"SE.JA","properties":{"hc-group":"admin1","hc-middle-x":0.47,"hc-middle-y":0.53,"hc-key":"se-ja","hc-a2":"JA","labelrank":"7","hasc":"SE.JA","alt-name":"Jämtlands län","woe-id":"2347050","subregion":null,"fips":"SW07","postal-code":"JA","name":"Jämtland","country":"Sweden","type-en":"County","region":null,"longitude":"14.4806","woe-name":"Jämtland","latitude":"63.3306","woe-label":"Jamtland, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[385,3911],[347,3904],[315,3918],[57,3969],[27,4020],[-42,4166],[-20,4243],[-55,4278],[-91,4276],[-141,4307],[-167,4347],[-231,4409],[-396,4468],[-406,4467],[-415,4517],[-477,4718],[-448,4833],[-464,4954],[-460,4983],[-415,5043],[-487,5273],[-406,5400],[-399,5433],[-413,5513],[-368,5558],[-297,5675],[-224,5788],[-197,5815],[-117,5865],[-29,5888],[213,5819],[228,5826],[286,5943],[291,5972],[278,6158],[260,6186],[219,6198],[120,6273],[358,6688],[482,6597],[541,6501],[587,6473],[617,6404],[670,6378],[701,6333],[678,6316],[760,6235],[783,6181],[808,6225],[832,6209],[848,6146],[916,6089],[951,6018],[988,6028],[1012,6014],[1183,5830],[1146,5699],[1135,5608],[1099,5583],[1021,5570],[986,5577],[908,5545],[899,5526],[927,5465],[939,5387],[981,5355],[997,5322],[1285,5026],[1284,5014],[1175,4967],[1082,4825],[1054,4808],[900,4794],[800,4748],[642,4707],[577,4713],[516,4693],[532,4612],[525,4567],[604,4467],[650,4448],[711,4455],[747,4359],[733,4325],[626,4232],[633,4187],[626,4115],[565,4117],[519,4106],[519,4072],[480,4138],[431,4084],[409,4014],[400,3942],[385,3911]]]}},{"type":"Feature","id":"SE.SN","properties":{"hc-group":"admin1","hc-middle-x":0.52,"hc-middle-y":0.51,"hc-key":"se-sn","hc-a2":"SN","labelrank":"7","hasc":"SE.SN","alt-name":null,"woe-id":"20070561","subregion":null,"fips":"SW11","postal-code":"SN","name":"Skåne","country":"Sweden","type-en":"County","region":null,"longitude":"13.5193","woe-name":"Skåne","latitude":"55.9073","woe-label":"Skane, SE, Sweden","type":"Laen|län"},"geometry":{"type":"Polygon","coordinates":[[[383,-450],[350,-467],[291,-528],[229,-631],[222,-707],[256,-753],[257,-778],[293,-835],[295,-866],[213,-970],[174,-972],[79,-935],[-34,-945],[-56,-967],[-91,-967],[-147,-999],[-192,-998],[-316,-952],[-392,-964],[-378,-923],[-337,-932],[-325,-893],[-346,-857],[-344,-810],[-299,-774],[-283,-737],[-304,-694],[-343,-676],[-339,-610],[-384,-567],[-412,-479],[-472,-383],[-513,-256],[-536,-232],[-452,-273],[-427,-301],[-387,-298],[-371,-258],[-391,-246],[-412,-193],[-458,-145],[-417,-108],[-365,-129],[-331,-105],[-303,-130],[-301,-183],[-194,-213],[-123,-155],[-74,-152],[-42,-153],[141,-112],[186,-64],[265,-79],[379,-116],[323,-219],[343,-291],[379,-304],[398,-370],[383,-450]]]}}]}')},function(n,t,i){"use strict";(function(n){var o,r,u,f,s,e;Object.defineProperty(t,"__esModule",{value:!0});t.getMapGroupingsPerX=t.getMapGroupings=void 0;r=i(52);(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;u=function(n){var i=[],o=n.map(function(n){return n[1]}).sort(function(n,t){return n-t}),l=o.length,s=o[Math.round(.1*l)]>=4?o[Math.round(.1*l)]:4,u=o[Math.round(.9*l)],h=u-s,f=0,c,e,v,t,a;if(h<=0)return i.push({from:-1,to:4,name:"< 4 patienter",color:r.mapColors[f]}),i;for(c=3,h<20&&(c=2),e=Math.floor(h/c),v=h%c,i.push({from:-1,to:s,name:"< "+s+" patienter",color:r.mapColors[f]}),u-=v,t=s;t<u;t+=e)f+=1,a=t+e===u?t+e:t+e-1,i.push({from:t,to:a,name:t+"-"+a+" patienter",color:r.mapColors[f]});return i.push({from:u,name:"> "+u+" patienter",color:r.mapColors[f+1]}),i};t.getMapGroupings=u;e=function(n,t){var e=[],l=(t?n.map(function(n){return Math.round(n[1])}):n.map(function(n){return n[1]})).sort(function(n,t){return n-t}),y=l.includes(-1),c=l.filter(function(n){return-1!==n}).map(function(n){return Math.floor(10*n)/10}),a=c.length,o=c[Math.round(.1*a)],f=c[Math.floor(.9*a)],v=f-o,s=Math.floor(v/2),h=0,i,u;for(y&&e.push({from:-1,to:-1,name:"Data kan inte visas",color:r.mapColors[h]}),e.push({from:0,to:o,name:"< "+o,color:r.mapColors[h+=1]}),f-=v%2,i=o;i<f;i+=s)h+=1,u=i+s===f?i+s:i+s-(t?1:.1),u=Math.round(10*u)/10,t?e.push({from:i===o?i:i-.5,to:i+s===f?u:u+.5,name:i+"-"+u,color:r.mapColors[h]}):e.push({from:i===o?i:i-.05,to:i+s===f?u:u+.05,name:i+"-"+u,color:r.mapColors[h]});return e.push({from:f,name:"> "+f,color:r.mapColors[h+1]}),e};t.getMapGroupingsPerX=e;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(u,"getMapGroupings","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\MapGroupingAlgorithm.ts"),f.register(e,"getMapGroupingsPerX","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\MapGroupingAlgorithm.ts"));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function w(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return w=function(){return n},n}function st(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=w(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return n&&n.__esModule?n:{"default":n}}function ht(n,t){var i,r,u,o,f,e;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(i=ct(n))||t&&n&&"number"==typeof n.length)return i&&(n=i),r=0,u=function(){},{s:u,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n;},f:u};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return f=!0,e=!1,{s:function(){i=n[Symbol.iterator]()},n:function(){var n=i.next();return f=n.done,n},e:function(n){e=!0;o=n},f:function(){try{f||null==i.return||i.return()}finally{if(e)throw o;}}}}function ct(n,t){if(n){if("string"==typeof n)return b(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?b(n,t):void 0}}function b(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function lt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function k(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function at(n,t,i){return t&&k(n.prototype,t),i&&k(n,i),n}function vt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&d(n,t)}function d(n,t){return(d=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function yt(n){var t=bt();return function(){var i,r=c(n),u;return t?(u=c(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),pt(this,i)}}function pt(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?wt(n):t}function wt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function bt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function c(n){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var kt,l,a,v;Object.defineProperty(t,"__esModule",{value:!0});t.LowMedHighChart=void 0;var g=f(i(13)),e=st(i(1)),r=f(i(16)),nt=f(i(48)),tt=f(i(49)),it=f(i(50)),y=i(51),rt=i(32),u=i(7),p=i(52),ut=f(i(103)),ft=i(155),s=i(37),et=i(66),ot=f(i(65)),h;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;h&&h(n);kt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};"object"===o(r.default)&&(nt.default(r.default),tt.default(r.default),ot.default(r.default),r.default.setOptions(y.defaultSetOptions),r.default.seriesType("lowmedhigh","boxplot",{keys:["low","median","high","color"],tooltip:{pointFormat:'<span style="color:{point.color}">●<\/span> {series.name}: Low <b>{point.low}<\/b> - Median <b>{point.median}<\/b> - High <b>{point.high}<\/b><br/>'}},{drawPoints:function(){var n=this;r.default.each(this.points,function(t){var i=t.graphic,h=i?"animate":"attr",f=t.shapeArgs,e=f.width,r=Math.floor(f.x)+.5,u=r+e,c=r+Math.round(e/2)+.5,o=Math.floor(t.highPlot)+.5,l=Math.floor(t.medianPlot)+.5,s=Math.floor(t.lowPlot)+.5-(0===t.low?1:0);t.isNull||(i||(t.graphic=i=n.chart.renderer.path("point").add(n.group)),i.attr({stroke:t.color||n.color,"stroke-width":2}),i[h]({d:["M",r,o,"H",u,"M",r,l,"H",u,"M",r,s,"H",u,"M",c,o,"V",s]}))})}}));l=function(n){function t(n){var r;return lt(this,t),(r=i.call(this,n)).options=g.default(y.diagramOptions),r.hideCompare=!1,r.setOptions=function(){r.options.chart.type="lowmedhigh";r.options.series.push({data:[],name:""})},r.contains=function(n,t,i){for(var r=0;r<n.length;r++)if(n[r][i]===t)return!0;return!1},r.onlyUnique=function(n,t,i){return i.indexOf(n)===t},r.getChartOptions=function(n){var t=rt.filterChartData(r.props.chartData,n,r.props.settingsData.divisionTypeValues,r.props.settingsData.divisionValues),f,e,o,i,s;return r.hideCompare=ft.hideCompareChart(t,r.props.settingsData.value),f=t.map(function(n){return n[u.columnConstants.measurePeriod]}),n&&(f=t.map(function(n){return n[u.columnConstants.careUnit]})),e=f.filter(r.onlyUnique),r.options.xAxis.categories=e,o=r.createSeries(t),r.options.series=o,r.options.plotOptions={series:{pointWidth:30}},i=et.checkAndAddPercent(r.props.chartData.map(function(n){return n[u.columnConstants.measureUnit]})[0]),(r.options.tooltip.pointFormat='<span style="color:{point.color}">●<\/span> {series.name}: '+r.props.settingsData.lowConfidence+" <b>{point.low}"+i+"<\/b> - "+r.props.settingsData.mean+" <b>{point.median}"+i+"<\/b> - "+r.props.settingsData.highConfidence+" <b>{point.high}<\/b>"+i,1==t.map(function(n){return n[u.columnConstants.division]}).filter(r.onlyUnique).length)&&(s=r.props.chartData.map(function(n){return n[u.columnConstants.measureUnit]})[0],r.options.series.map(function(n){return n.name=s})),r.options},r.createSeries=function(n){var e,t=0,i=[],f=ht(n),o;try{for(o=function(){var n=e.value,f=s.replaceCommaWithDot(n[r.props.settingsData.mean]),o=s.replaceCommaWithDot(n[r.props.settingsData.lowConfidence]),h=s.replaceCommaWithDot(n[r.props.settingsData.highConfidence]);r.contains(i,n[u.columnConstants.division],"name")?(t--,i.filter(function(t){return t.name==n[u.columnConstants.division]})[0].data.push([parseFloat(o),parseFloat(f),parseFloat(h),p.chartColors[t].mainColor])):i.push({name:n[u.columnConstants.division],data:[[parseFloat(o),parseFloat(f),parseFloat(h)]],color:p.chartColors[t].mainColor});t++},f.s();!(e=f.n()).done;)o()}catch(n){f.e(n)}finally{f.f()}return i},r.setOptions(),r}vt(t,n);var i=yt(t);return at(t,[{key:"render",value:function(){var n=this.getChartOptions(this.props.isCompare);return e.createElement("div",{className:"chart-wrapper"},this.hideCompare&&this.props.isCompare?e.createElement(ut.default,null):e.createElement(it.default,{highcharts:r.default,options:n}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(e.Component);t.LowMedHighChart=l;a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;a&&a.register(l,"LowMedHighChart","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\LowMedHigh\\LowMedHigh.tsx");v="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;v&&v(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function d(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function a(n){return n&&n.__esModule?n:{"default":n}}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function nt(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function tt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function it(n){var t=ft();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),rt(this,i)}}function rt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?ut(n):t}function ut(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ft(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var et,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.TableComponentWrapper=void 0;var p=a(i(13)),w=a(i(873)),u=d(i(1));i(433);var b=i(434),k=i(32),r=i(7),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);et="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var u;return g(this,t),(u=i.call(this,n)).mergeSettings=function(){return w.default({},u.props.settingsData.national,u.props.settingsData.compare)},u.getMapTableData=function(){var n=u.props.tableData;return(n=n.filter(function(n){return n[r.columnConstants.divisionType]==u.mergedSettings.divisionTypeValues}))[0]&&n[0].hasOwnProperty(r.columnConstants.careUnit)&&(n=n.filter(function(n){return n[r.columnConstants.careUnit]&&"riket"===n[r.columnConstants.careUnit].toLowerCase()})),u.IndicatorName="Tabell för "+n[0][r.columnConstants.indicatorName],n.map(function(n){return{Region:n[r.columnConstants.division],"Värde":n[u.mergedSettings.nrOfPatients]}})},u.getRegionPermissionTableData=function(){var t,n=u.props.tableData;return n=u.props.isPermissionTab?n.filter(function(n){return"Tillståndsområde"==n[r.columnConstants.divisionType]}):n.filter(function(n){return"Region"==n[r.columnConstants.divisionType]}),u.props.isPermissionTab?(u.IndicatorName="Tabell med tillstånd",t=n.map(function(n){return{"Tillståndsområde":n[r.columnConstants.division],"Antal patienter":n[u.mergedSettings.nrOfPatients]}})):(u.IndicatorName="Tabell med regioner som har tillstånd",t=n.map(function(n){return{Region:n[r.columnConstants.division],"Antal tillstånd":n[u.mergedSettings.nrOfPermissions],"Antal patienter":n[u.mergedSettings.nrOfPatients]}})),t},u.filterTableData=function(){var e=["Vårdenhet"],n=u.mergedSettings,i,f,t;return((n.divisionTypeValues&&""!==n.divisionTypeValues||n.divisionType)&&e.push("Uppdelning"),u.props.isMap)?u.getMapTableData():u.props.isRegionPermission?u.getRegionPermissionTableData():(i=p.default(u.props.tableData),f=i&&k.filterChartData(i,!1,n.divisionTypeValues,n.divisionValues,!0),u.IndicatorName="Tabell för "+f[0][r.columnConstants.indicatorName],t=Object.values(n),t=e.concat(t),f.map(function(n){for(var u,i=0,r=Object.keys(n);i<r.length;i++)u=r[i],t.indexOf(u)<0&&delete n[u];return n}))},u.getKeys=function(){var n=u.filterTableData();return n&&n.length>0&&Object.keys(n[0])},u.IndicatorName=null,u}tt(t,n);var i=it(t);return nt(t,[{key:"render",value:function(){var i=this.props.tableData,n,t;return this.mergedSettings=this.mergeSettings(),n=this.getKeys(),t=this.filterTableData(),u.createElement(u.Fragment,null,i&&u.createElement(b.TableComponent,{indicatorName:this.IndicatorName,tableHeader:n,tableRow:t}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(u.Component);t.TableComponentWrapper=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"TableComponentWrapper","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\TableComponent\\TableComponentWrapper.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(874),u=i(373)(function(n,t,i){r(n,t,i)});n.exports=u},function(n,t,i){var r=i(80),u=i(431),f=i(175),e=i(875),o=i(19),s=i(87),h=i(432);n.exports=function n(t,i,c,l,a){t!==i&&f(i,function(f,s){if(a||(a=new r),o(f))e(t,i,s,c,n,l,a);else{var v=l?l(h(t,s),f,s+"",t,i,a):void 0;void 0===v&&(v=f);u(t,s,v)}},s)}},function(n,t,i){var r=i(431),o=i(195),s=i(876),h=i(196),c=i(198),u=i(185),f=i(10),l=i(879),a=i(120),v=i(190),y=i(19),p=i(371),w=i(182),e=i(432),b=i(880);n.exports=function(n,t,i,k,d,g,nt){var rt=e(n,i),tt=e(t,i),ot=nt.get(tt),it,ut;if(ot)r(n,i,ot);else{if(it=g?g(rt,tt,i+"",n,t,nt):void 0,ut=void 0===it,ut){var ft=f(tt),et=!ft&&a(tt),st=!ft&&!et&&w(tt);it=tt;ft||et||st?f(rt)?it=rt:l(rt)?it=h(rt):et?(ut=!1,it=o(tt,!0)):st?(ut=!1,it=s(tt,!0)):it=[]:p(tt)||u(tt)?(it=rt,u(rt)?it=b(rt):y(rt)&&!v(rt)||(it=c(tt))):ut=!1}ut&&(nt.set(tt,it),d(it,tt,k,g,nt),nt.delete(tt));r(n,i,it)}}},function(n,t,i){var r=i(877);n.exports=function(n,t){var i=t?r(n.buffer):n.buffer;return new n.constructor(i,n.byteOffset,n.length)}},function(n,t,i){var r=i(878);n.exports=function(n){var t=new n.constructor(n.byteLength);return new r(t).set(new r(n)),t}},function(n,t,i){var r=i(83).Uint8Array;n.exports=r},function(n,t,i){var r=i(125),u=i(121);n.exports=function(n){return u(n)&&r(n)}},function(n,t,i){var r=i(34),u=i(87);n.exports=function(n){return r(n,u(n))}},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function d(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==o(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return n&&n.__esModule?n:{"default":n}}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function nt(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function tt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function it(n){var t=ft();return function(){var i,r=s(n),u;return t?(u=s(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),rt(this,i)}}function rt(n,t){return!t||"object"!==o(t)&&"function"!=typeof t?ut(n):t}function ut(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ft(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var u,f,et,h,c,l;Object.defineProperty(t,"__esModule",{value:!0});t.ChartYearSelector=void 0;var p=e(i(427)),w=e(i(102)),b=e(i(58)),r=d(i(1)),k=i(15);i(882);u=i(7);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);et="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};h=function(n){function t(n){var f;return g(this,t),(f=i.call(this,n)).removeEventHandlers=function(){document.removeEventListener("mousedown",f.handleClickOutside);document.addEventListener("keydown",f.handleEscape)},f.handleClick=function(n,t){t.preventDefault();f.setState({isOpen:!n});n?f.removeEventHandlers():(document.addEventListener("mousedown",f.handleClickOutside),document.addEventListener("keydown",f.handleEscape))},f.handleClickOutside=function(n){f._wrapperYearSelector&&!f._wrapperYearSelector.current.contains(n.target)&&f._yearButton&&!f._yearButton.current.contains(n.target)&&!0===f.state.isOpen&&(f.setState({isOpen:!1}),f.removeEventHandlers())},f.handleEscape=function(n){27==n.which&&!0===f.state.isOpen&&(f.setState({isOpen:!1}),f.removeEventHandlers())},f.handleChange=function(n){f.props.OnChange(n.currentTarget.value);f.setState({year:n.currentTarget.value})},f.checkNrYearsPerDivision=function(){for(var i,n=0,t=Object.entries(b.default(w.default(f.props.filteredChartData,u.columnConstants.division)));n<t.length;n++)if(i=t[n][1].map(function(n){return n[u.columnConstants.measurePeriod]}),p.default(i).length<2)return!1;return!0},f.state={isOpen:!1,year:f.props.defaultYear},f._isFirstLoaded=!0,f._yearButton=r.createRef(),f._wrapperYearSelector=r.createRef(),f}tt(t,n);var i=it(t);return nt(t,[{key:"render",value:function(){var o=this,s=this.state,f=s.isOpen,i=s.year,u=this.props,h=u.defaultYear,n=u.filteredYears,c=u.showTrend,l=u.isTable,e=void 0===i||""===i||l&&i.includes("år")?h:i,t=n.length,a=!(n&&t<2);return r.createElement("div",{className:"year-selector-wrapper"},r.createElement("button",{disabled:!!(n&&n.length<2),ref:this._yearButton,className:"year-selector-wrapper__button","aria-label":"välj år",onClick:function(n){return o.handleClick(f,n)}},e,!0===a?r.createElement(k.Icon,{className:"nhv-menu__button__arrow ".concat(f?"nhv-menu__button__arrow--active":""),iconType:"fontawesome/chevron-left"}):null),f&&r.createElement("ul",{ref:this._wrapperYearSelector,className:"white-panel year-selector-wrapper__dropdown drop-shadow-low-elevation"},this.checkNrYearsPerDivision()&&c?r.createElement("li",null,r.createElement("input",{type:"radio",onChange:this.handleChange,checked:t+" år"===e,name:"year",id:t+"år",value:t+" år"}),r.createElement("label",{htmlFor:t+"år"},t+" år")):null,n&&n.map(function(n){return r.createElement("li",{key:n},r.createElement("input",{type:"radio",onChange:o.handleChange,checked:n===e,name:"year",id:n,value:n}),r.createElement("label",{htmlFor:n},n))})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.ChartYearSelector=h;c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;c&&c.register(h,"ChartYearSelector","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\ChartYearSelector\\ChartYearSelector.tsx");l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;l&&l(n)}).call(this,i(0)(n))},function(){},function(n,t,i){"use strict";(function(n){function h(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var o,i;if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n)){var r=[],u=!0,f=!1,e=void 0;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{u||null==i.return||i.return()}finally{if(f)throw e;}}return r}}(n,t)||e(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}()}function e(n,t){if(n){if("string"==typeof n)return o(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(n,t):void 0}}function o(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}var f,i,r,s,u;Object.defineProperty(t,"__esModule",{value:!0});t.nhvSortFunction=t.DEFAULT_NHV_SORT_ORDER=void 0;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&f(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=["Indikatornamn","Typ av uppdelning","Uppdelning","Mätperiod",["Vårdenhet","Riket"]];t.DEFAULT_NHV_SORT_ORDER=i;u=function(n){return function(t,i){var s,u=function(n){var t,i,r,o,u,f;if("undefined"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(t=e(n)))return t&&(n=t),i=0,r=function(){},{s:r,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(n){throw n;},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}return u=!0,f=!1,{s:function(){t=n[Symbol.iterator]()},n:function(){var n=t.next();return u=n.done,n},e:function(n){f=!0;o=n},f:function(){try{u||null==t.return||t.return()}finally{if(f)throw o;}}}}(n);try{for(u.s();!(s=u.n()).done;){var f=s.value,c=h(Array.isArray(f)?f:[f],2),r=c[0],o=c[1];if(t[r]!==i[r]){if(o){if(t[r]===o)return-1;if(i[r]===o)return 1}return t[r]<i[r]?-1:1}}}catch(n){u.e(n)}finally{u.f()}return 0}};t.nhvSortFunction=u;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(i,"DEFAULT_NHV_SORT_ORDER","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\sortNHVData.ts"),r.register(u,"nhvSortFunction","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\utils\\sortNHVData.ts"));(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&s(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function d(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function nt(n,t,i){return t&&v(n.prototype,t),i&&v(n,i),n}function tt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&y(n,t)}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function it(n){var t=ft();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),rt(this,i)}}function rt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?ut(n):t}function ut(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ft(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var et,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.PointCard=void 0;var r=d(i(1)),p=i(153),u=i(7),w=i(32),b=i(156),l=i(66),k=i(430),f;f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);et="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var r;return g(this,t),(r=i.call(this,n)).filterData=function(n){var t=r.props.chartSettings,i=n.filter(function(n){return n[u.columnConstants.indicatorName]===t.indicatorName});return w.filterChartData(i,!1,t.national.divisionTypeValues,t.national.divisionValues,!1,t.national.year).map(function(n){return{year:n[u.columnConstants.measurePeriod],header:t.national.pointCardHeading?n[t.national.pointCardHeading]:n[u.columnConstants.measureUnit],value:0==n[t.national.value]?"0 "+l.checkAndAddPercent(n[u.columnConstants.measureUnit]):n[t.national.value]&&r.showPercentDecimal(n)}})[0]},r.showPercentDecimal=function(n){var t,f=r.props.chartSettings,i=parseFloat(null===(t=n[f.national.value])||void 0===t?void 0:t.replace(",","."));return(i>=10?k.roundToSignificantDigits(i):i)+" "+l.checkAndAddPercent(n[u.columnConstants.measureUnit])},r.getMetaData=function(n){var t=r.props.chartSettings;return n.filter(function(n){return n[u.columnConstants.indicatorName]===t.indicatorName&&(n[u.columnConstants.divisionType]===t.national.divisionTypeValues||!t.national.divisionTypeValues)})[0]},r.state={jsonData:r.props.jsonData,metaData:null},r}tt(t,n);var i=it(t);return nt(t,[{key:"componentDidMount",value:function(){var n=this;this.props.jsonData?this.pointCardData=this.filterData(this.props.jsonData):b.getJsonData(this.props.apiUrl).then(function(t){n.setState({jsonData:t})})}},{key:"render",value:function(){var i=this.props,f=i.color,u=i.chartSettings,n=this.state.jsonData,e=n&&this.getMetaData(n),t;return this.pointCardData=n&&this.filterData(n),t="id_"+this.props.blockID,this.pointCardData?r.createElement("div",{"aria-labelledby":t,className:"point-card ".concat(f)},r.createElement("div",{className:"point-card__top"},r.createElement("p",{className:"point-card__top__year"},this.pointCardData.year),r.createElement(p.IconModal,{metaData:e,iconType:"Infocirkel_normal-white20px20px"})),r.createElement("p",{id:t,className:"point-card__heading"},u.national.overrideHeading?u.national.overrideHeading:this.pointCardData.header),r.createElement("div",{className:"point-card__data"},r.createElement("p",null,this.pointCardData&&this.pointCardData.value))):null}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.PointCard=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"PointCard","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\PointCard\\PointCard.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function v(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function w(n){return n&&n.__esModule?n:{"default":n}}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var c,r,l,u,rt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.ScrollToAnchor=void 0;c=w(i(886));r=v(i(1));i(889);l=v(i(4));u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var r;return b(this,t),(r=i.call(this,n)).onScroll=function(){var t=window.pageYOffset>r.menu.offsetTop,n=r.sections.length;for(t?r.setState({yPositionOverMenu:!0}):r.setState({yPositionOverMenu:!1});--n>=0&&window.pageYOffset+120<r.sections[n].offsetTop;);r.links.forEach(function(n){return n.classList.remove("scroll-to-anchor__item--active")});n>=0&&r.links[n].classList.add("scroll-to-anchor__item--active")},r.sectionClick=function(n){n.preventDefault();var i=n.currentTarget.getAttribute("data-href"),t=document.getElementById(i);null!==t&&l.smoothScrollTo(t,100)},r.state={yPositionOverMenu:!1},r}d(t,n);var i=g(t);return k(t,[{key:"componentDidMount",value:function(){this.sections=Array.prototype.slice.call(document.querySelectorAll(".nhv-section"));this.links=Array.prototype.slice.call(document.querySelectorAll(".scroll-to-anchor__item"));this.menu=document.querySelector(".scroll-to-anchor__wrapper");window.addEventListener("scroll",c.default(this.onScroll,100))}},{key:"render",value:function(){var n=this,t=this.props.anchors.map(function(t,i){return r.createElement("li",{key:i,className:"scroll-to-anchor__item"},r.createElement("a",{className:"scroll-to-anchor__item__link","data-href":t.LinkID,href:"#"+t.LinkID,onClick:n.sectionClick},t.LinkName))});return r.createElement("div",{className:"scroll-to-anchor__wrapper"},r.createElement("nav",{"aria-label":"Undermeny med snabblänkar",className:this.state.yPositionOverMenu?"scroll-to-anchor scroll-to-anchor--scrolled":"container"},r.createElement("ul",{id:"anchor-menu",className:this.state.yPositionOverMenu?"container scroll-to-anchor--fixed":"container scroll-to-anchor"},t)))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.ScrollToAnchor=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"ScrollToAnchor","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\ScrollToAnchor\\ScrollToAnchor.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){var r=i(435),u=i(19);n.exports=function(n,t,i){var f=!0,e=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return u(i)&&(f="leading"in i?!!i.leading:f,e="trailing"in i?!!i.trailing:e),r(n,t,{leading:f,maxWait:t,trailing:e})}},function(n,t,i){var r=i(83);n.exports=function(){return r.Date.now()}},function(n,t,i){var r=i(19),u=i(41),f=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,h=parseInt;n.exports=function(n){var t,i;return"number"==typeof n?n:u(n)?NaN:(r(n)&&(t="function"==typeof n.valueOf?n.valueOf():n,n=r(t)?t+"":t),"string"!=typeof n)?0===n?n:+n:(n=n.replace(f,""),i=o.test(n),i||s.test(n)?h(n.slice(2),i?2:8):e.test(n)?NaN:+n)}},function(){},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function w(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function k(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function g(n){var t=it();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),nt(this,i)}}function nt(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?tt(n):t}function tt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function it(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,rt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.NHVPageMenu=void 0;r=w(i(1));i(157);var v=i(15),y=i(891),p=i(892),u;u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);rt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return b(this,t),(u=i.call(this,n)).OpenDropDown=function(n){var t=u.state.pages.map(function(t){return t.ID==n.ID?(t.IsOpen?(t.IsOpen=!1,document.removeEventListener("mousedown",u.handleClickOutside),document.addEventListener("keydown",u.handleEscape)):(t.IsOpen=!0,document.addEventListener("mousedown",u.handleClickOutside),document.addEventListener("keydown",u.handleEscape)),t):(t.IsOpen=!1,t)});u.setState({pages:t})},u.handleClickOutside=function(n){u._wrapperMenu&&!u._wrapperMenu.current.contains(n.target)&&u.closeAllDropdowns()},u.handleEscape=function(n){27==n.which&&u.closeAllDropdowns()},u.closeAllDropdowns=function(){var n=u.state.pages.map(function(n){return n.IsOpen=!1,n});u.setState({pages:n})},u._wrapperMenu=r.createRef(),u.state={pages:u.props.pages},u}d(t,n);var i=g(t);return k(t,[{key:"render",value:function(){var n=this;return r.createElement("nav",{className:"nhv-menu","aria-label":"avdelningsmeny"},r.createElement("ul",{ref:this._wrapperMenu},this.state.pages.map(function(t){return t.IsDropDownItem?r.createElement("li",{key:t.ID,className:"nhv-menu__item ".concat(t.IsInChain?"nhv-menu__item--active":"")},r.createElement("button",{"aria-haspopup":"true","aria-expanded":t.IsOpen,onClick:function(){return n.OpenDropDown(t)},className:"nhv-menu__button"},t.Name,r.createElement(v.Icon,{className:"nhv-menu__button__arrow ".concat(t.IsOpen?"nhv-menu__button__arrow--active":""),iconType:"fontawesome/chevron-left"})),t.IsOpen?t.IsAdvancedDropDown?r.createElement(p.SearchDropDown,{menuHeader:t.MenuHeader,pageSize:6,dropDownChildren:t.Children}):r.createElement(y.OrdinaryDropDown,{menuHeader:t.MenuHeader,dropDownChildren:t.Children}):null):r.createElement("li",{key:t.ID,className:"nhv-menu__item ".concat(t.IsCurrentPage?"nhv-menu__item--active":"")},r.createElement("a",{className:"nhv-menu__item__link",href:t.Url},"Start"))})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.NHVPageMenu=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"NHVPageMenu","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\NHVPageMenu\\NHVPageMenu.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function c(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return c=function(){return n},n}function v(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=c(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&l(n.prototype,t),i&&l(n,i),n}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&a(n,t)}function a(n,t){return(a=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function b(n){var t=g();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),k(this,i)}}function k(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(n):t}function d(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,u,nt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.OrdinaryDropDown=void 0;r=v(i(1));i(157);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);nt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){return y(this,t),i.call(this,n)}w(t,n);var i=b(t);return p(t,[{key:"render",value:function(){var t=this.props,i=t.dropDownChildren,n=t.menuHeader,u=null!==n&&""!==n?n:"Regioner med tillstånd";return r.createElement("div",null,r.createElement("div",{className:"nhv-menu__dropdown nhv-menu__dropdown--region"},r.createElement("legend",{className:"nhv-menu__dropdown__header"},u),r.createElement("ul",null,i.map(function(n){return r.createElement("li",{key:n.ID,className:"nhv-menu__dropdown__item"},r.createElement("a",{href:n.Url},n.PageName))}))))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.OrdinaryDropDown=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"OrdinaryDropDown","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\NHVPageMenu\\OrdinaryDropDown.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function a(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return a=function(){return n},n}function k(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=a(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function v(n){return n&&n.__esModule?n:{"default":n}}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function g(n,t,i){return t&&y(n.prototype,t),i&&y(n,i),n}function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&p(n,t)}function p(n,t){return(p=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function tt(n){var t=ut();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),it(this,i)}}function it(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?rt(n):t}function rt(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ut(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var c,l,u,ft,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.SearchDropDown=void 0;var w=v(i(435)),b=v(i(893)),r=k(i(1));i(157);c=i(15);l=i(894);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);ft="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return d(this,t),(u=i.call(this,n)).getChangedPageData=function(n,t){var i=(t<=u.pageCount?t:1)*u.props.pageSize-u.props.pageSize;return b.default(n,["PageName"],["asc"]).slice(i,i+u.props.pageSize)},u.SearhInList=w.default(function(n){var t=u.props.dropDownChildren.filter(function(t){return t.PageName.toLowerCase().startsWith(n.toLowerCase())});u.pageCount=Math.ceil(t.length/u.props.pageSize)>0?Math.ceil(t.length/u.props.pageSize):1;u.searchIsActive=n.length>0;u.setState({dropDownChildren:u.getChangedPageData(t,1),pageNo:1})},300),u.setNewPage=function(n){u.setState({pageNo:n,dropDownChildren:u.getChangedPageData(u.props.dropDownChildren,n)})},u.onFormSubmit=function(n){n.preventDefault();u.SearhInList(u.searchFieldRef.current.value)},u.state={pageNo:1,dropDownChildren:u.getChangedPageData(u.props.dropDownChildren,1)},u.searchFieldRef=r.createRef(),u.searchIsActive=!1,u.totalPages=u.props.dropDownChildren.length,u.pageCount=Math.ceil(u.totalPages/u.props.pageSize),u}nt(t,n);var i=tt(t);return g(t,[{key:"render",value:function(){var t=this,n=this.props.menuHeader,i=this.state,u=i.pageNo,f=i.dropDownChildren,e=null!==n&&""!==n?n:"Tillståndsområde i bokstavsordning";return r.createElement("div",{className:"nhv-menu__search-dd-wrapper"},r.createElement("form",{onSubmit:function(){return t.onFormSubmit},className:"nhv-menu__searchform"},r.createElement("input",{onChange:function(n){t.SearhInList(n.target.value)},placeholder:"Sök tillstånd",className:"search__field",ref:this.searchFieldRef}),r.createElement("input",{"aria-label":"Sök",className:"search__button search__button--blue",type:"submit",value:""})),r.createElement("div",{className:"nhv-menu__dropdown nhv-menu__dropdown--filter"},r.createElement("legend",{className:"nhv-menu__dropdown__header"},this.searchIsActive?"Sökresultat":e),r.createElement(l.SearchDropDownListItems,{dropDownChildren:f}),r.createElement(c.Pagination,{steps:this.pageCount,activeStep:u<=this.pageCount?u:1,onStepChangeCb:this.setNewPage,nextLabel:"Nästa",previousLabel:"Föregående",showNextOnLastPage:!1,showPreviousOnFirstPage:!1})))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.SearchDropDown=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SearchDropDown","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\NHVPageMenu\\SearchDropDown.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){var u=i(188),r=i(10);n.exports=function(n,t,i,f){return null==n?[]:(r(t)||(t=null==t?[]:[t]),r(i=f?void 0:i)||(i=null==i?[]:[i]),u(n,t,i))}},function(n,t,i){"use strict";(function(n){function l(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return l=function(){return n},n}function y(n){var t,i,e,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==f(n)&&"function"!=typeof n)return{"default":n};if(t=l(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=e?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&a(n.prototype,t),i&&a(n,i),n}function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&v(n,t)}function v(n,t){return(v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function k(n){var t=nt();return function(){var i,r=e(n),u;return t?(u=e(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),d(this,i)}}function d(n,t){return!t||"object"!==f(t)&&"function"!=typeof t?g(n):t}function g(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function nt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function e(n){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var r,c,u,tt,o,s,h;Object.defineProperty(t,"__esModule",{value:!0});t.SearchDropDownListItems=void 0;r=y(i(1));c=i(895);u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;u&&u(n);tt="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};o=function(n){function t(n){var u;return p(this,t),(u=i.call(this,n)).getAlhphabetGroups=function(){return c.alphabet.map(function(n){return{Letter:n,AlphabetPages:u.props.dropDownChildren.filter(function(t){return t.PageName[0].toUpperCase()===n})}}).filter(function(n){return n.AlphabetPages.length>0})},u.renderAlfabethicList=function(n){return r.createElement(r.Fragment,{key:n.Letter},r.createElement("p",{className:"nhv-menu__letter"},n.Letter),r.createElement("div",{className:"nhv-menu__group"},r.createElement("ul",{className:"nhv-menu__group__section"},n.AlphabetPages.map(function(n){return r.createElement("li",{className:"nhv-menu__dropdown__item",key:n.ID},r.createElement("a",{href:n.Url},n.PageName))}))))},u}b(t,n);var i=k(t);return w(t,[{key:"render",value:function(){var n=this.getAlhphabetGroups();return r.createElement(r.Fragment,null,n.length>0?n.map(this.renderAlfabethicList):r.createElement("p",{className:"nhv-menu__noresult"},"Din sökning gav tyvärr inga träffar"))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.SearchDropDownListItems=o;s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;s&&s.register(o,"SearchDropDownListItems","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\NHVPageMenu\\SearchDropDownListItems.tsx");h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;h&&h(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.alphabet=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=["#","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","Å","Ä","Ö"];t.alphabet=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"alphabet","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\NHVPageMenu\\NHVPageMenu.types.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(n,t,i){"use strict";(function(n){function v(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return v=function(){return n},n}function d(n){var t,i,f,r,u;if(n&&n.__esModule)return n;if(null===n||"object"!==e(n)&&"function"!=typeof n)return{"default":n};if(t=v(),t&&t.has(n))return t.get(n);i={};f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(u=f?Object.getOwnPropertyDescriptor(n,r):null,u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}function y(n){return n&&n.__esModule?n:{"default":n}}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function g(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function p(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function nt(n,t,i){return t&&p(n.prototype,t),i&&p(n,i),n}function tt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&&w(n,t)}function w(n,t){return(w=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function it(n){var t=ft();return function(){var i,r=o(n),u;return t?(u=o(this).constructor,i=Reflect.construct(r,arguments,u)):i=r.apply(this,arguments),rt(this,i)}}function rt(n,t){return!t||"object"!==e(t)&&"function"!=typeof t?ut(n):t}function ut(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ft(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var u,a,f,et,s,h,c;Object.defineProperty(t,"__esModule",{value:!0});t.PermissionTermsExpander=void 0;var b=y(i(102)),k=y(i(58)),r=d(i(1)),l=i(15);i(897);u=i(7);a=i(156);f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0;f&&f(n);et="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(n){return n};s=function(n){function t(n){var u;return g(this,t),(u=i.call(this,n)).getTemsAnswer=function(n){var t="",i="",u="";switch(n=n.toLowerCase()){case"ja":t="Ja";i="terms-item__check-mark";u="checkmark-circle-outline";break;case"nej":t="Nej";i="terms-item__x-mark";u="x-mark-circle";break;case"delvis":t="Delvis";i="terms-item__partly";u="attention-circle-1";break;case"ej applicerbart":t="Ej applicerbart";i="terms-item__not-applicable";u="attention-circle-1"}return""===t?null:r.createElement(r.Fragment,null,r.createElement("p",null,t),r.createElement(l.Icon,{isAriaHidden:!0,ariaLabel:t,className:i,iconType:u}))},u.state={groupedCareUnits:null},u}tt(t,n);var i=it(t);return nt(t,[{key:"componentDidMount",value:function(){var n=this;a.getJsonData(this.props.apiUrl).then(function(t){var i=t.map(function(n){return n}),r=Object.entries(k.default(b.default(i,"Vårdenhet")));n.setState({groupedCareUnits:r})})}},{key:"render",value:function(){var t=this,n=this.state.groupedCareUnits;return r.createElement(r.Fragment,null,n&&n.map(function(n){return r.createElement(l.Expander,{key:n[0],heading:n[0],isExpanded:!1},n[1].map(function(n,i){return r.createElement("div",{key:i,className:"terms-item"},r.createElement("div",{className:"terms-item__header"},"$ ",i+1),r.createElement("div",{className:"terms-item__info"},r.createElement("p",null,n[u.columnConstants.termQuestion]),r.createElement("div",{className:"terms-item__info__mark-wrapper"},t.getTemsAnswer(n[u.columnConstants.termAnswer]))))}))}))}},{key:"__reactstandin__regenerateByEval",value:function(key,code){this[key]=eval(code)}}]),t}(r.Component);t.PermissionTermsExpander=s;h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;h&&h.register(s,"PermissionTermsExpander","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\socialstyrelsen-datavis-nhv\\ClientSource\\js\\compontents\\PermissionTermsExpander\\PermissionTermsExpander.tsx");c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0;c&&c(n)}).call(this,i(0)(n))},function(){},function(n,t,i){n.exports=!i(20)&&!i(17)(function(){return 7!=Object.defineProperty(i(454)("div"),"a",{get:function(){return 7}}).a})},function(n,t,i){"use strict";var u=i(33),r=i(160),f=i(24);n.exports=[].copyWithin||function(n,t){var o=u(this),s=f(o.length),i=r(n,s),e=r(t,s),l=arguments.length>2?arguments[2]:void 0,h=Math.min((void 0===l?s:r(l,s))-e,s-i),c=1;for(e<i&&i<e+h&&(c=-1,e+=h-1,i+=h-1);h-->0;)e in o?o[i]=o[e]:delete o[i],i+=c,e+=c;return o}},function(n,t,i){var r=i(939);n.exports=function(n,t){return new(r(n))(t)}},function(n,t,i){var r=i(12);n.exports=function(n,t,i,u){try{return u?t(r(i)[0],i[1]):t(i)}catch(t){var f=n.return;throw void 0!==f&&r(f.call(n)),t;}}},function(n){n.exports=function(n,t){return{value:t,done:!!n}}},function(n,t,i){var r=i(55),u=i(70),f=i(461)(!1),e=i(464)("IE_PROTO");n.exports=function(n,t){var i,s=u(n),h=0,o=[];for(i in s)i!=e&&r(s,i)&&o.push(i);for(;t.length>h;)r(s,i=t[h++])&&(~f(o,i)||o.push(i));return o}},function(n,t,i){var r=i(9).document;n.exports=r&&r.documentElement},function(n,t,i){"use strict";var h=i(23).f,c=i(162),l=i(165),a=i(68),v=i(166),y=i(440),p=i(463),e=i(902),w=i(164),o=i(20),s=i(108).fastKey,r=i(114),u=o?"_s":"size",f=function(n,t){var i,r=s(t);if("F"!==r)return n._i[r];for(i=n._f;i;i=i.n)if(i.k==t)return i};n.exports={getConstructor:function(n,t,i,e){var s=n(function(n,r){v(n,s,t,"_i");n._t=t;n._i=c(null);n._f=void 0;n._l=void 0;n[u]=0;null!=r&&y(r,i,n[e],n)});return l(s.prototype,{clear:function(){for(var i=r(this,t),f=i._i,n=i._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete f[n.i];i._f=i._l=void 0;i[u]=0},"delete":function(n){var e=r(this,t),i=f(e,n),o,s;return i&&(o=i.n,s=i.p,delete e._i[i.i],i.r=!0,s&&(s.n=o),o&&(o.p=s),e._f==i&&(e._f=o),e._l==i&&(e._l=s),e[u]--),!!i},forEach:function(n){r(this,t);for(var i,u=a(n,arguments.length>1?arguments[1]:void 0,3);i=i?i.n:this._f;)for(u(i.v,i.k,this);i&&i.r;)i=i.p},has:function(n){return!!f(r(this,t),n)}}),o&&h(s.prototype,"size",{get:function(){return r(this,t)[u]}}),s},def:function(n,t,i){var e,o,r=f(n,t);return r?r.v=i:(n._l=r={i:o=s(t,!0),k:t,v:i,p:e=n._l,n:void 0,r:!1},n._f||(n._f=r),e&&(e.n=r),n[u]++,"F"!==o&&(n._i[o]=r)),n},getEntry:f,setStrong:function(n,t,i){p(n,t,function(n,i){this._t=r(n,t);this._k=i;this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?e(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,e(1))},i?"entries":"values",!i,!0);w(t)}}},function(n){n.exports=Math.log1p||function(n){return(n=+n)>-1e-8&&n<1e-8?n-n*n/2:Math.log(1+n)}},function(n,t,i){var r=i(11),u=Math.floor;n.exports=function(n){return!r(n)&&isFinite(n)&&u(n)===n}},function(n,t,i){"use strict";var f=i(20),u=i(113),e=i(442),o=i(172),s=i(33),h=i(456),r=Object.assign;n.exports=!r||i(17)(function(){var n={},t={},i=Symbol(),u="abcdefghijklmnopqrst";return n[i]=7,u.split("").forEach(function(n){t[n]=n}),7!=r({},n)[i]||Object.keys(r({},t)).join("")!=u})?function(n){for(var r=s(n),y=arguments.length,c=1,l=e.f,p=o.f;y>c;)for(var i,t=h(arguments[c++]),a=l?u(t).concat(l(t)):u(t),w=a.length,v=0;w>v;)i=a[v++],f&&!p.call(t,i)||(r[i]=t[i]);return r}:r},function(n,t,i){var r=i(20),u=i(113),f=i(70),e=i(172).f;n.exports=function(n){return function(t){for(var i,o=f(t),s=u(o),l=s.length,h=0,c=[];l>h;)i=s[h++],r&&!e.call(o,i)||c.push(n?[i,o[i]]:o[i]);return c}}},function(n,t,i){var u=i(115),f=i(442),e=i(12),r=i(9).Reflect;n.exports=r&&r.ownKeys||function(n){var t=u.f(e(n)),i=f.f;return i?t.concat(i(n)):t}},function(n,t,i){var f=i(70),r=i(115).f,e={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(n){return u&&"[object Window]"==e.call(n)?function(n){try{return r(n)}catch(n){return u.slice()}}(n):r(f(n))}},function(n){n.exports=Object.is||function(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}},function(n){n.exports=function(n,t,i){var r=void 0===i;switch(t.length){case 0:return r?n():n.call(i);case 1:return r?n(t[0]):n.call(i,t[0]);case 2:return r?n(t[0],t[1]):n.call(i,t[0],t[1]);case 3:return r?n(t[0],t[1],t[2]):n.call(i,t[0],t[1],t[2]);case 4:return r?n(t[0],t[1],t[2],t[3]):n.call(i,t[0],t[1],t[2],t[3])}return n.apply(i,t)}},function(n,t,i){"use strict";function u(n){var t,i;this.promise=new n(function(n,r){if(void 0!==t||void 0!==i)throw TypeError("Bad Promise constructor");t=n;i=r});this.resolve=r(t);this.reject=r(i)}var r=i(69);n.exports.f=function(n){return new u(n)}},function(n,t,i){var r=i(12),u=i(11),f=i(914);n.exports=function(n,t){if(r(n),u(t)&&t.constructor===n)return t;var i=f.f(n);return i.resolve(t),i.promise}},function(n,t,i){i(20)&&"g"!=/./g.flags&&i(23).f(RegExp.prototype,"flags",{configurable:!0,get:i(445)})},function(n,t,i){t.f=i(18)},function(n,t,i){var u=i(9),r=i(105),f=i(106),e=i(917),o=i(23).f;n.exports=function(n){var t=r.Symbol||(r.Symbol=f?{}:u.Symbol||{});"_"==n.charAt(0)||n in t||o(t,n,{value:e.f(n)})}},function(n,t,i){var r=i(24),u=i(920),f=i(76);n.exports=function(n,t,i,e){var s=String(f(n)),l=s.length,c=void 0===i?" ":String(i),a=r(t),h,o;return a<=l||""==c?s:(h=a-l,o=u.call(c,Math.ceil(h/c.length)),o.length>h&&(o=o.slice(0,h)),e?o+s:s+o)}},function(n,t,i){"use strict";var r=i(107),u=i(76);n.exports=function(n){var i=String(u(this)),f="",t=r(n);if(t<0||t==1/0)throw RangeError("Count can't be negative");for(;t>0;(t>>>=1)&&(i+=i))1&t&&(f+=i);return f}},function(n,t,i){"use strict";function ot(n,t,i){var r,u,e,s=new Array(i),h=8*i-t-1,c=(1<<h)-1,o=c>>1,a=23===t?f(2,-24)-f(2,-77):0,l=0,v=n<0||0===n&&1/n<0?1:0;for((n=ni(n))!=n||n===d?(u=n!=n?1:0,r=c):(r=ti(ii(n)/ri),n*(e=f(2,-r))<1&&(r--,e*=2),(n+=r+o>=1?a/e:a*f(2,1-o))*e>=2&&(r++,e/=2),r+o>=c?(u=0,r=c):r+o>=1?(u=(n*e-1)*f(2,t),r+=o):(u=n*f(2,o-1)*f(2,t),r=0));t>=8;s[l++]=255&u,u/=256,t-=8);for(r=r<<t|u,h+=t;h>0;s[l++]=255&r,r/=256,h-=8);return s[--l]|=128*v,s}function st(n,t,i){var e,h=8*i-t-1,c=(1<<h)-1,l=c>>1,u=h-7,o=i-1,s=n[o--],r=127&s;for(s>>=7;u>0;r=256*r+n[o],o--,u-=8);for(e=r&(1<<-u)-1,r>>=-u,u+=t;u>0;e=256*e+n[o],o--,u-=8);if(0===r)r=1-l;else{if(r===c)return e?NaN:s?-d:d;e+=f(2,t);r-=l}return(s?-1:1)*e*f(2,r-t)}function ht(n){return n[3]<<24|n[2]<<16|n[1]<<8|n[0]}function ct(n){return[255&n]}function lt(n){return[255&n,n>>8&255]}function at(n){return[255&n,n>>8&255,n>>16&255,n>>24&255]}function ui(n){return ot(n,52,8)}function fi(n){return ot(n,23,4)}function b(n,t,i){dt(n.prototype,t,{get:function(){return this[i]}})}function e(n,t,i,r){var u=y(+i);if(u+t>n[c])throw p("Wrong index!");var o=n[g]._b,f=u+n[nt],e=o.slice(f,f+t);return r?e:e.reverse()}function o(n,t,i,r,u,f){var o=y(+i);if(o+t>n[c])throw p("Wrong index!");for(var s=n[g]._b,h=o+n[nt],l=r(+u),e=0;e<t;e++)s[h+e]=l[f?e:t-e-1]}var s=i(9),a=i(20),pt=i(106),rt=i(478),ut=i(53),ft=i(165),k=i(17),v=i(166),wt=i(107),bt=i(24),y=i(922),kt=i(115).f,dt=i(23).f,gt=i(455),et=i(163),r=s.ArrayBuffer,u=s.DataView,h=s.Math,p=s.RangeError,d=s.Infinity,w=r,ni=h.abs,f=h.pow,ti=h.floor,ii=h.log,ri=h.LN2,g=a?"_b":"buffer",c=a?"_l":"byteLength",nt=a?"_o":"byteOffset",l,it;if(rt.ABV){if(!k(function(){r(1)})||!k(function(){new r(-1)})||k(function(){return new r,new r(1.5),new r(NaN),"ArrayBuffer"!=r.name})){for(var tt,ei=(r=function(n){return v(this,r),new w(y(n))}).prototype=w.prototype,vt=kt(w),yt=0;vt.length>yt;)(tt=vt[yt++])in r||ut(r,tt,w[tt]);pt||(ei.constructor=r)}l=new u(new r(2));it=u.prototype.setInt8;l.setInt8(0,2147483648);l.setInt8(1,2147483649);!l.getInt8(0)&&l.getInt8(1)||ft(u.prototype,{setInt8:function(n,t){it.call(this,n,t<<24>>24)},setUint8:function(n,t){it.call(this,n,t<<24>>24)}},!0)}else r=function(n){v(this,r,"ArrayBuffer");var t=y(n);this._b=gt.call(new Array(t),0);this[c]=t},u=function(n,t,i){v(this,u,"DataView");v(n,r,"DataView");var e=n[c],f=wt(t);if(f<0||f>e)throw p("Wrong offset!");if(f+(i=void 0===i?e-f:bt(i))>e)throw p("Wrong length!");this[g]=n;this[nt]=f;this[c]=i},a&&(b(r,"byteLength","_l"),b(u,"buffer","_b"),b(u,"byteLength","_l"),b(u,"byteOffset","_o")),ft(u.prototype,{getInt8:function(n){return e(this,1,n)[0]<<24>>24},getUint8:function(n){return e(this,1,n)[0]},getInt16:function(n){var t=e(this,2,n,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(n){var t=e(this,2,n,arguments[1]);return t[1]<<8|t[0]},getInt32:function(n){return ht(e(this,4,n,arguments[1]))},getUint32:function(n){return ht(e(this,4,n,arguments[1]))>>>0},getFloat32:function(n){return st(e(this,4,n,arguments[1]),23,4)},getFloat64:function(n){return st(e(this,8,n,arguments[1]),52,8)},setInt8:function(n,t){o(this,1,n,ct,t)},setUint8:function(n,t){o(this,1,n,ct,t)},setInt16:function(n,t){o(this,2,n,lt,t,arguments[2])},setUint16:function(n,t){o(this,2,n,lt,t,arguments[2])},setInt32:function(n,t){o(this,4,n,at,t,arguments[2])},setUint32:function(n,t){o(this,4,n,at,t,arguments[2])},setFloat32:function(n,t){o(this,4,n,fi,t,arguments[2])},setFloat64:function(n,t){o(this,8,n,ui,t,arguments[2])}});et(r,"ArrayBuffer");et(u,"DataView");ut(u.prototype,rt.VIEW,!0);t.ArrayBuffer=r;t.DataView=u},function(n,t,i){var r=i(107),u=i(24);n.exports=function(n){if(void 0===n)return 0;var t=r(n),i=u(t);if(t!==i)throw RangeError("Wrong length!");return i}},function(n,t,i){"use strict";var l=i(165),u=i(108).getWeak,a=i(12),e=i(11),v=i(166),y=i(440),o=i(170),s=i(55),h=i(114),p=o(5),w=o(6),b=0,r=function(n){return n._l||(n._l=new c)},c=function(){this.a=[]},f=function(n,t){return p(n.a,function(n){return n[0]===t})};c.prototype={get:function(n){var t=f(this,n);if(t)return t[1]},has:function(n){return!!f(this,n)},set:function(n,t){var i=f(this,n);i?i[1]=t:this.a.push([n,t])},"delete":function(n){var t=w(this.a,function(t){return t[0]===n});return~t&&this.a.splice(t,1),!!~t}};n.exports={getConstructor:function(n,t,i,f){var o=n(function(n,r){v(n,o,t,"_i");n._t=t;n._i=b++;n._l=void 0;null!=r&&y(r,i,n[f],n)});return l(o.prototype,{"delete":function(n){if(!e(n))return!1;var i=u(n);return!0===i?r(h(this,t)).delete(n):i&&s(i,this._i)&&delete i[this._i]},has:function(n){if(!e(n))return!1;var i=u(n);return!0===i?r(h(this,t)).has(n):i&&s(i,this._i)}}),o},def:function(n,t,i){var f=u(a(t),!0);return!0===f?r(n).set(t,i):f[n._i]=i,n},ufstore:r}},function(n){n.exports=function(){return this}()},function(n){"use strict";n.exports=function(){}},function(n,t,i){"use strict";var r=i(1078),u=i(927),e=i(72),o=Array.prototype.indexOf,s=Object.prototype.hasOwnProperty,h=Math.abs,f=Math.floor;n.exports=function(n){var t,c,i,l;if(!r(n))return o.apply(this,arguments);for(c=u(e(this).length),i=arguments[1],t=i=isNaN(i)?0:i>=0?f(i):u(this.length)-f(h(i));t<c;++t)if(s.call(this,t)&&(l=this[t],r(l)))return t;return-1}},function(n,t,i){"use strict";var r=i(1081),u=Math.max;n.exports=function(n){return u(0,r(n))}},function(n){"use strict";var i=Object.create,r=Object.getPrototypeOf,t={};n.exports=function(){var n=Object.setPrototypeOf,u=arguments[0]||i;return"function"==typeof n&&r(n(u(null),t))===t}},function(n,t,i){"use strict";var r,u=i(1085),f=i(72),e=Object.prototype.isPrototypeOf,o=Object.defineProperty,s={configurable:!0,enumerable:!1,writable:!0,value:void 0};r=function(n,t){if(f(n),null===t||u(t))return n;throw new TypeError("Prototype must be null or an object");};n.exports=function(n){var t,i;return n?(2===n.level?n.set?(i=n.set,t=function(n,t){return i.call(r(n,t),t),n}):t=function(n,t){return r(n,t).__proto__=t,n}:t=function n(t,i){var u;return r(t,i),(u=e.call(n.nullPolyfill,t))&&delete n.nullPolyfill.__proto__,null===i&&(i=n.nullPolyfill),t.__proto__=i,u&&o(n.nullPolyfill,"__proto__",s),t},Object.defineProperty(t,"level",{configurable:!1,enumerable:!1,writable:!1,value:n.level})):null}(function(){var i,n=Object.create(null),t={},r=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(r){try{(i=r.set).call(n,t)}catch(i){}if(Object.getPrototypeOf(n)===t)return{set:i,level:2}}return n.__proto__=t,Object.getPrototypeOf(n)===t?{level:2}:((n={}).__proto__=t,Object.getPrototypeOf(n)===t&&{level:1})}());i(1086)},function(n,t,i){"use strict";var r=i(167),u=Array.prototype.forEach,f=Object.create,e=function(n,t){var i;for(i in n)t[i]=n[i]};n.exports=function(){var n=f(null);return u.call(arguments,function(t){r(t)&&e(Object(t),n)}),n}},function(n,t,i){"use strict";var u,f,e,v,y,o,p,r=i(79),s=i(73),h=Function.prototype.apply,c=Function.prototype.call,w=Object.create,k=Object.defineProperty,b=Object.defineProperties,l=Object.prototype.hasOwnProperty,a={configurable:!0,enumerable:!1,writable:!0};f=function(n,t){var i,r;return s(t),r=this,u.call(this,n,i=function(){e.call(r,n,i);h.call(t,this,arguments)}),i.__eeOnceListener__=t,this};y={on:u=function(n,t){var i;return s(t),l.call(this,"__ee__")?i=this.__ee__:(i=a.value=w(null),k(this,"__ee__",a),a.value=null),i[n]?"object"==typeof i[n]?i[n].push(t):i[n]=[i[n],t]:i[n]=t,this},once:f,off:e=function(n,t){var u,i,f,r;if((s(t),!l.call(this,"__ee__"))||!(u=this.__ee__)[n])return this;if("object"==typeof(i=u[n]))for(r=0;f=i[r];++r)f!==t&&f.__eeOnceListener__!==t||(2===i.length?u[n]=i[r?0:1]:i.splice(r,1));else i!==t&&i.__eeOnceListener__!==t||delete u[n];return this},emit:v=function(n){var t,r,f,i,u;if(l.call(this,"__ee__")&&(i=this.__ee__[n]))if("object"==typeof i){for(r=arguments.length,u=new Array(r-1),t=1;t<r;++t)u[t-1]=arguments[t];for(i=i.slice(),t=0;f=i[t];++t)h.call(f,this,u)}else switch(arguments.length){case 1:c.call(i,this);break;case 2:c.call(i,this,arguments[1]);break;case 3:c.call(i,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,u=new Array(r-1),t=1;t<r;++t)u[t-1]=arguments[t];h.call(i,this,u)}}};o={on:r(u),once:r(f),off:r(e),emit:r(v)};p=b({},o);n.exports=t=function(n){return null==n?w(p):b(Object(n),o)};t.methods=y},function(n,t,i){"use strict";var u=i(448),f=i(73),e=i(449),o=i(1100),s=Array.isArray,r=Function.prototype.call,h=Array.prototype.some;n.exports=function(n,t){var c,l,a,v,i,p,y,b,w=arguments[2];if(s(n)||u(n)?c="array":e(n)?c="string":n=o(n),f(t),a=function(){v=!0},"array"!==c)if("string"!==c)for(l=n.next();!l.done;){if(r.call(t,w,l.value,a),v)return;l=n.next()}else for(p=n.length,i=0;i<p&&(y=n[i],i+1<p&&(b=y.charCodeAt(0))>=55296&&b<=56319&&(y+=n[++i]),r.call(t,w,y,a),!v);++i);else h.call(n,function(n){return r.call(t,w,n,a),v})}},function(n,t,i){"use strict";function u(n){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var f,r,e;Object.defineProperty(t,"__esModule",{value:!0});t.Components=void 0;i(934);f=function(n){var t,i,e,r,f;if(n&&n.__esModule)return n;if(null===n||"object"!==u(n)&&"function"!=typeof n)return{"default":n};if(t=function(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return function(){return n},n}(),t&&t.has(n))return t.get(n);i={};e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(f=e?Object.getOwnPropertyDescriptor(n,r):null,f&&(f.get||f.set)?Object.defineProperty(i,r,f):i[r]=n[r]);return i.default=n,t&&t.set(n,i),i}(i(483));t.Components=f;e=(r=i(453))&&r.__esModule?r:{"default":r};"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;window.addEventListener("load",function(){e.default.setAppElement("main")})},function(n,t,i){"use strict";i(935);i(937);i(938);i(940);i(941);i(943);i(944);i(462);i(947);i(948);i(949);i(951);i(952);i(953);i(954);i(955);i(956);i(957);i(958);i(959);i(960);i(961);i(963);i(964);i(965);i(966);i(967);i(968);i(969);i(970);i(971);i(972);i(973);i(974);i(975);i(976);i(977);i(978);i(979);i(980);i(982);i(984);i(985);i(986);i(987);i(988);i(989);i(990);i(991);i(992);i(993);i(994);i(995);i(996);i(997);i(998);i(999);i(1e3);i(1001);i(1002);i(1003);i(1004);i(1005);i(1008);i(1009);i(1010);i(1012);i(1013);i(1014);i(1015);i(1016);i(1017);i(1018);i(1019);i(1020);i(1021);i(1022);i(1023);i(916);i(1024);i(1026);i(1027);i(1028);i(1029);i(1030);i(1031);i(1033);i(1034);i(1035);i(1036);i(1037);i(1038);i(1039);i(1040);i(1041);i(1042);i(1043);i(1044);i(1045);i(1046);i(1047);i(1048);i(1049);i(1050);i(1051);i(1052);i(1053);i(1054);i(1055);i(1056);i(1057);i(1058);i(1059);i(1060);i(1061);i(1062);i(1063);i(1064);i(1065);i(1066);i(1067);i(1068);i(1069);i(1070);i(1071);i(1072);i(1073);i(1074);i(1075);i(1114);i(1121);i(452);i(1123);i(1124);i(1125);i(1126);i(1127);i(1128);i(1129);i(1130);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(n,t,i){var r=i(2);r(r.P,"Array",{copyWithin:i(899)});i(111)("copyWithin")},function(n,t,i){n.exports=i(438)("native-function-to-string",Function.toString)},function(n,t,i){var r=i(2);r(r.P,"Array",{fill:i(455)});i(111)("fill")},function(n,t,i){"use strict";var r=i(2),f=i(170)(5),u=!0;"find"in[]&&Array(1).find(function(){u=!1});r(r.P+r.F*u,"Array",{find:function(n){return f(this,n,arguments.length>1?arguments[1]:void 0)}});i(111)("find")},function(n,t,i){var u=i(11),r=i(457),f=i(18)("species");n.exports=function(n){var t;return r(n)&&("function"!=typeof(t=n.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),u(t)&&null===(t=t[f])&&(t=void 0)),void 0===t?Array:t}},function(n,t,i){"use strict";var r=i(2),e=i(170)(6),u="findIndex",f=!0;u in[]&&Array(1)[u](function(){f=!1});r(r.P+r.F*f,"Array",{findIndex:function(n){return e(this,n,arguments.length>1?arguments[1]:void 0)}});i(111)(u)},function(n,t,i){"use strict";var r=i(2),u=i(942),f=i(33),e=i(24),o=i(69),s=i(900);r(r.P,"Array",{flatMap:function(n){var r,i,t=f(this);return o(n),r=e(t.length),i=s(t,0),u(i,t,t,r,0,1,n,arguments[1]),i}});i(111)("flatMap")},function(n,t,i){"use strict";var r=i(457),u=i(11),f=i(24),e=i(68),o=i(18)("isConcatSpreadable");n.exports=function n(t,i,s,h,c,l,a,v){for(var y,b,p=c,w=0,k=!!a&&e(a,v,3);w<h;){if(w in s){if(y=k?k(s[w],w,i):s[w],b=!1,u(y)&&(b=void 0!==(b=y[o])?!!b:r(y)),b&&l>0)p=n(t,i,y,f(y.length),p,l-1)-1;else{if(p>=9007199254740991)throw TypeError();t[p]=y}p++}w++}return p}},function(n,t,i){"use strict";var f=i(68),r=i(2),e=i(33),o=i(901),s=i(458),h=i(24),u=i(459),c=i(460);r(r.S+r.F*!i(439)(function(n){Array.from(n)}),"Array",{from:function(n){var b,i,a,v,r=e(n),y="function"==typeof this?this:Array,k=arguments.length,l=k>1?arguments[1]:void 0,p=void 0!==l,t=0,w=c(r);if(p&&(l=f(l,k>2?arguments[2]:void 0,2)),null==w||y==Array&&s(w))for(i=new y(b=h(r.length));b>t;t++)u(i,t,p?l(r[t],t):r[t]);else for(v=w.call(r),i=new y;!(a=v.next()).done;t++)u(i,t,p?o(v,l,[a.value,t],!0):a.value);return i.length=t,i}})},function(n,t,i){"use strict";var r=i(2),u=i(461)(!0);r(r.P,"Array",{includes:function(n){return u(this,n,arguments.length>1?arguments[1]:void 0)}});i(111)("includes")},function(n,t,i){"use strict";var u=i(162),f=i(109),e=i(163),r={};i(53)(r,i(18)("iterator"),function(){return this});n.exports=function(n,t,i){n.prototype=u(r,{next:f(1,i)});e(n,t+" Iterator")}},function(n,t,i){var r=i(23),u=i(12),f=i(113);n.exports=i(20)?Object.defineProperties:function(n,t){u(n);for(var i,e=f(t),s=e.length,o=0;s>o;)r.f(n,i=e[o++],t[i]);return n}},function(n,t,i){"use strict";var r=i(2),u=i(459);r(r.S+r.F*i(17)(function(){function n(){}return!(Array.of.call(n)instanceof n)}),"Array",{of:function(){for(var n=0,t=arguments.length,i=new("function"==typeof this?this:Array)(t);t>n;)u(i,n,arguments[n++]);return i.length=t,i}})},function(n,t,i){i(164)("Array")},function(n,t,i){var r=i(18)("toPrimitive"),u=Date.prototype;r in u||i(53)(u,r,i(950))},function(n,t,i){"use strict";var r=i(12),u=i(75);n.exports=function(n){if("string"!==n&&"number"!==n&&"default"!==n)throw TypeError("Incorrect hint");return u(r(this),"number"!=n)}},function(n,t,i){"use strict";var r=i(11),e=i(77),u=i(18)("hasInstance"),f=Function.prototype;u in f||i(23).f(f,u,{value:function(n){if("function"!=typeof this||!r(n))return!1;if(!r(this.prototype))return n instanceof this;for(;n=e(n);)if(this.prototype===n)return!0;return!1}})},function(n,t,i){var u=i(23).f,r=Function.prototype,f=/^\s*function ([^ (]*)/;"name"in r||i(20)&&u(r,"name",{configurable:!0,get:function(){try{return(""+this).match(f)[1]}catch(n){return""}}})},function(n,t,i){"use strict";var r=i(905),u=i(114);n.exports=i(441)("Map",function(n){return function(){return n(this,arguments.length>0?arguments[0]:void 0)}},{get:function(n){var t=r.getEntry(u(this,"Map"),n);return t&&t.v},set:function(n,t){return r.def(u(this,"Map"),0===n?0:n,t)}},r,!0)},function(n,t,i){var r=i(2),e=i(906),f=Math.sqrt,u=Math.acosh;r(r.S+r.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(n){return(n=+n)<1?NaN:n>94906265.624251559?Math.log(n)+Math.LN2:e(n-1+f(n-1)*f(n+1))}})},function(n,t,i){var r=i(2),u=Math.asinh;r(r.S+r.F*!(u&&1/u(0)>0),"Math",{asinh:function n(t){return isFinite(t=+t)&&0!=t?t<0?-n(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(n,t,i){var r=i(2),u=Math.atanh;r(r.S+r.F*!(u&&1/u(-0)<0),"Math",{atanh:function(n){return 0==(n=+n)?n:Math.log((1+n)/(1-n))/2}})},function(n,t,i){var r=i(2),u=i(468);r(r.S,"Math",{cbrt:function(n){return u(n=+n)*Math.pow(Math.abs(n),1/3)}})},function(n,t,i){var r=i(2);r(r.S,"Math",{clz32:function(n){return(n>>>=0)?31-Math.floor(Math.log(n+.5)*Math.LOG2E):32}})},function(n,t,i){var r=i(2),u=Math.exp;r(r.S,"Math",{cosh:function(n){return(u(n=+n)+u(-n))/2}})},function(n,t,i){var r=i(2),u=i(469);r(r.S+r.F*(u!=Math.expm1),"Math",{expm1:u})},function(n,t,i){var r=i(2);r(r.S,"Math",{fround:i(962)})},function(n,t,i){var o=i(468),r=Math.pow,f=r(2,-52),u=r(2,-23),s=r(2,127)*(2-u),e=r(2,-126);n.exports=Math.fround||function(n){var h,t,i=Math.abs(n),r=o(n);return i<e?r*(i/e/u+1/f-1/f)*e*u:(t=(h=(1+u/f)*i)-(h-i))>s||t!=t?r*(1/0):r*t}},function(n,t,i){var r=i(2),u=Math.abs;r(r.S,"Math",{hypot:function(){for(var n,i,r=0,f=0,e=arguments.length,t=0;f<e;)t<(n=u(arguments[f++]))?(r=r*(i=t/n)*i+1,t=n):r+=n>0?(i=n/t)*i:n;return t===1/0?1/0:t*Math.sqrt(r)}})},function(n,t,i){var r=i(2),u=Math.imul;r(r.S+r.F*i(17)(function(){return-5!=u(4294967295,5)||2!=u.length}),"Math",{imul:function(n,t){var i=+n,r=+t,u=65535&i,f=65535&r;return 0|u*f+((65535&i>>>16)*f+u*(65535&r>>>16)<<16>>>0)}})},function(n,t,i){var r=i(2);r(r.S,"Math",{log1p:i(906)})},function(n,t,i){var r=i(2);r(r.S,"Math",{log10:function(n){return Math.log(n)*Math.LOG10E}})},function(n,t,i){var r=i(2);r(r.S,"Math",{log2:function(n){return Math.log(n)/Math.LN2}})},function(n,t,i){var r=i(2);r(r.S,"Math",{sign:i(468)})},function(n,t,i){var r=i(2),u=i(469),f=Math.exp;r(r.S+r.F*i(17)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(n){return Math.abs(n=+n)<1?(u(n)-u(-n))/2:(f(n-1)-f(-n-1))*(Math.E/2)}})},function(n,t,i){var r=i(2),u=i(469),f=Math.exp;r(r.S,"Math",{tanh:function(n){var t=u(n=+n),i=u(-n);return t==1/0?1:i==1/0?-1:(t-i)/(f(n)+f(-n))}})},function(n,t,i){var r=i(2);r(r.S,"Math",{trunc:function(n){return(n>0?Math.floor:Math.ceil)(n)}})},function(n,t,i){"use strict";var h=i(9),c=i(55),l=i(112),v=i(466),y=i(75),p=i(17),w=i(115).f,b=i(56).f,k=i(23).f,d=i(173).trim,r=h.Number,u=r,f=r.prototype,g="Number"==l(i(162)(f)),nt="trim"in String.prototype,a=function(n){var t=y(n,!1),o,r,u,i;if("string"==typeof t&&t.length>2)if(i=(t=nt?t.trim():d(t,3)).charCodeAt(0),43===i||45===i){if(88===(o=t.charCodeAt(2))||120===o)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2;u=49;break;case 79:case 111:r=8;u=55;break;default:return+t}for(var s,f=t.slice(2),e=0,h=f.length;e<h;e++)if((s=f.charCodeAt(e))<48||s>u)return NaN;return parseInt(f,r)}return+t},e,s,o;if(!r(" 0o1")||!r("0b1")||r("+0x1")){for(r=function(n){var i=arguments.length<1?0:n,t=this;return t instanceof r&&(g?p(function(){f.valueOf.call(t)}):"Number"!=l(t))?v(new u(a(i)),t,r):a(i)},s=i(20)?w(u):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),o=0;s.length>o;o++)c(u,e=s[o])&&!c(r,e)&&k(r,e,b(u,e));r.prototype=f;f.constructor=r;i(54)(h,"Number",r)}},function(n,t,i){var r=i(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(n,t,i){var r=i(2),u=i(9).isFinite;r(r.S,"Number",{isFinite:function(n){return"number"==typeof n&&u(n)}})},function(n,t,i){var r=i(2);r(r.S,"Number",{isInteger:i(907)})},function(n,t,i){var r=i(2);r(r.S,"Number",{isNaN:function(n){return n!=n}})},function(n,t,i){var r=i(2),u=i(907),f=Math.abs;r(r.S,"Number",{isSafeInteger:function(n){return u(n)&&f(n)<=9007199254740991}})},function(n,t,i){var r=i(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(n,t,i){var r=i(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(n,t,i){var r=i(2),u=i(981);r(r.S+r.F*(Number.parseFloat!=u),"Number",{parseFloat:u})},function(n,t,i){var r=i(9).parseFloat,u=i(173).trim;n.exports=1/r(i(470)+"-0")!=-1/0?function(n){var t=u(String(n),3),i=r(t);return 0===i&&"-"==t.charAt(0)?-0:i}:r},function(n,t,i){var r=i(2),u=i(983);r(r.S+r.F*(Number.parseInt!=u),"Number",{parseInt:u})},function(n,t,i){var r=i(9).parseInt,f=i(173).trim,u=i(470),e=/^[-+]?0[xX]/;n.exports=8!==r(u+"08")||22!==r(u+"0x16")?function(n,t){var i=f(String(n),3);return r(i,t>>>0||(e.test(i)?16:10))}:r},function(n,t,i){var r=i(2);r(r.S+r.F,"Object",{assign:i(908)})},function(n,t,i){"use strict";var r=i(2),u=i(33),f=i(69),e=i(23);i(20)&&r(r.P+i(443),"Object",{__defineGetter__:function(n,t){e.f(u(this),n,{get:f(t),enumerable:!0,configurable:!0})}})},function(n,t,i){"use strict";var r=i(2),u=i(33),f=i(69),e=i(23);i(20)&&r(r.P+i(443),"Object",{__defineSetter__:function(n,t){e.f(u(this),n,{set:f(t),enumerable:!0,configurable:!0})}})},function(n,t,i){var r=i(2),u=i(909)(!0);r(r.S,"Object",{entries:function(n){return u(n)}})},function(n,t,i){var r=i(11),u=i(108).onFreeze;i(71)("freeze",function(n){return function(t){return n&&r(t)?n(u(t)):t}})},function(n,t,i){var r=i(70),u=i(56).f;i(71)("getOwnPropertyDescriptor",function(){return function(n,t){return u(r(n),t)}})},function(n,t,i){var r=i(2),u=i(910),f=i(70),e=i(56),o=i(459);r(r.S,"Object",{getOwnPropertyDescriptors:function(n){for(var t,i,r=f(n),l=e.f,s=u(r),h={},c=0;s.length>c;)void 0!==(i=l(r,t=s[c++]))&&o(h,t,i);return h}})},function(n,t,i){i(71)("getOwnPropertyNames",function(){return i(911).f})},function(n,t,i){var r=i(33),u=i(77);i(71)("getPrototypeOf",function(){return function(n){return u(r(n))}})},function(n,t,i){"use strict";var r=i(2),u=i(33),f=i(75),e=i(77),o=i(56).f;i(20)&&r(r.P+i(443),"Object",{__lookupGetter__:function(n){var i,t=u(this),r=f(n,!0);do if(i=o(t,r))return i.get;while(t=e(t))}})},function(n,t,i){"use strict";var r=i(2),u=i(33),f=i(75),e=i(77),o=i(56).f;i(20)&&r(r.P+i(443),"Object",{__lookupSetter__:function(n){var i,t=u(this),r=f(n,!0);do if(i=o(t,r))return i.set;while(t=e(t))}})},function(n,t,i){var r=i(11),u=i(108).onFreeze;i(71)("preventExtensions",function(n){return function(t){return n&&r(t)?n(u(t)):t}})},function(n,t,i){"use strict";var u=i(171),r={};r[i(18)("toStringTag")]="z";r+""!="[object z]"&&i(54)(Object.prototype,"toString",function(){return"[object "+u(this)+"]"},!0)},function(n,t,i){var r=i(2);r(r.S,"Object",{is:i(912)})},function(n,t,i){var r=i(11);i(71)("isFrozen",function(n){return function(t){return!r(t)||!!n&&n(t)}})},function(n,t,i){var r=i(11);i(71)("isSealed",function(n){return function(t){return!r(t)||!!n&&n(t)}})},function(n,t,i){var r=i(11);i(71)("isExtensible",function(n){return function(t){return!!r(t)&&(!n||n(t))}})},function(n,t,i){var r=i(33),u=i(113);i(71)("keys",function(){return function(n){return u(r(n))}})},function(n,t,i){var r=i(11),u=i(108).onFreeze;i(71)("seal",function(n){return function(t){return n&&r(t)?n(u(t)):t}})},function(n,t,i){var r=i(2);r(r.S,"Object",{setPrototypeOf:i(467).set})},function(n,t,i){var r=i(2),u=i(909)(!1);r(r.S,"Object",{values:function(n){return u(n)}})},function(n,t,i){"use strict";var v,k,d,y,g=i(106),f=i(9),e=i(68),st=i(171),r=i(2),ht=i(11),ct=i(69),lt=i(166),nt=i(440),at=i(174),tt=i(471).set,it=i(1006)(),rt=i(914),p=i(1007),vt=i(444),yt=i(915),ut=f.TypeError,o=f.process,ft=o&&o.versions,pt=ft&&ft.v8||"",u=f.Promise,h="process"==st(o),a=function(){},c=k=rt.f,l=!!function(){try{var n=u.resolve(1),t=(n.constructor={})[i(18)("species")]=function(n){n(a,a)};return(h||"function"==typeof PromiseRejectionEvent)&&n.then(a)instanceof t&&0!==pt.indexOf("6.6")&&-1===vt.indexOf("Chrome/66")}catch(n){}}(),et=function(n){var t;return!(!ht(n)||"function"!=typeof(t=n.then))&&t},w=function(n,t){if(!n._n){n._n=!0;var i=n._c;it(function(){for(var r=n._v,u=1==n._s,f=0,e=function(t){var i,s,h,o=u?t.ok:t.fail,c=t.resolve,e=t.reject,f=t.domain;try{o?(u||(2==n._h&&bt(n),n._h=1),!0===o?i=r:(f&&f.enter(),i=o(r),f&&(f.exit(),h=!0)),i===t.promise?e(ut("Promise-chain cycle")):(s=et(i))?s.call(i,c,e):c(i)):e(r)}catch(n){f&&!h&&f.exit();e(n)}};i.length>f;)e(i[f++]);n._c=[];n._n=!1;t&&!n._h&&wt(n)})}},wt=function(n){tt.call(f,function(){var t,u,i,r=n._v,e=ot(n);if(e&&(t=p(function(){h?o.emit("unhandledRejection",r,n):(u=f.onunhandledrejection)?u({promise:n,reason:r}):(i=f.console)&&i.error&&i.error("Unhandled promise rejection",r)}),n._h=h||ot(n)?2:1),n._a=void 0,e&&t.e)throw t.v;})},ot=function(n){return 1!==n._h&&0===(n._a||n._c).length},bt=function(n){tt.call(f,function(){var t;h?o.emit("rejectionHandled",n):(t=f.onrejectionhandled)&&t({promise:n,reason:n._v})})},s=function(n){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=n,t._s=2,t._a||(t._a=t._c.slice()),w(t,!0))},b=function(n){var i,t=this;if(!t._d){t._d=!0;t=t._w||t;try{if(t===n)throw ut("Promise can't be resolved itself");(i=et(n))?it(function(){var r={_w:t,_d:!1};try{i.call(n,e(b,r,1),e(s,r,1))}catch(n){s.call(r,n)}}):(t._v=n,t._s=1,w(t,!1))}catch(n){s.call({_w:t,_d:!1},n)}}};l||(u=function(n){lt(this,u,"Promise","_h");ct(n);v.call(this);try{n(e(b,this,1),e(s,this,1))}catch(n){s.call(this,n)}},(v=function(){this._c=[];this._a=void 0;this._s=0;this._d=!1;this._v=void 0;this._h=0;this._n=!1}).prototype=i(165)(u.prototype,{then:function(n,t){var i=c(at(this,u));return i.ok="function"!=typeof n||n,i.fail="function"==typeof t&&t,i.domain=h?o.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&w(this,!1),i.promise},"catch":function(n){return this.then(void 0,n)}}),d=function(){var n=new v;this.promise=n;this.resolve=e(b,n,1);this.reject=e(s,n,1)},rt.f=c=function(n){return n===u||n===y?new d(n):k(n)});r(r.G+r.W+r.F*!l,{Promise:u});i(163)(u,"Promise");i(164)("Promise");y=i(105).Promise;r(r.S+r.F*!l,"Promise",{reject:function(n){var t=c(this);return t.reject(n),t.promise}});r(r.S+r.F*(g||!l),"Promise",{resolve:function(n){return yt(g&&this===y?u:this,n)}});r(r.S+r.F*!(l&&i(439)(function(n){u.all(n).catch(a)})),"Promise",{all:function(n){var i=this,t=c(i),r=t.resolve,u=t.reject,f=p(function(){var t=[],e=0,f=1;nt(n,!1,function(n){var s=e++,o=!1;t.push(void 0);f++;i.resolve(n).then(function(n){o||(o=!0,t[s]=n,--f||r(t))},u)});--f||r(t)});return f.e&&u(f.v),t.promise},race:function(n){var i=this,t=c(i),r=t.reject,u=p(function(){nt(n,!1,function(n){i.resolve(n).then(t.resolve,r)})});return u.e&&r(u.v),t.promise}})},function(n,t,i){var r=i(9),s=i(471).set,e=r.MutationObserver||r.WebKitMutationObserver,u=r.process,f=r.Promise,o="process"==i(112)(u);n.exports=function(){var n,i,t,h=function(){var r,f;for(o&&(r=u.domain)&&r.exit();n;){f=n.fn;n=n.next;try{f()}catch(r){throw n?t():i=void 0,r;}}i=void 0;r&&r.enter()},a,c,l;return o?t=function(){u.nextTick(h)}:!e||r.navigator&&r.navigator.standalone?f&&f.resolve?(a=f.resolve(void 0),t=function(){a.then(h)}):t=function(){s.call(r,h)}:(c=!0,l=document.createTextNode(""),new e(h).observe(l,{characterData:!0}),t=function(){l.data=c=!c}),function(r){var u={fn:r,next:void 0};i&&(i.next=u);n||(n=u,t());i=u}}},function(n){n.exports=function(n){try{return{e:!1,v:n()}}catch(n){return{e:!0,v:n}}}},function(n,t,i){"use strict";var r=i(2),f=i(105),e=i(9),o=i(174),u=i(915);r(r.P+r.R,"Promise",{"finally":function(n){var t=o(this,f.Promise||e.Promise),i="function"==typeof n;return this.then(i?function(i){return u(t,n()).then(function(){return i})}:n,i?function(i){return u(t,n()).then(function(){throw i;})}:n)}})},function(n,t,i){var r=i(2),f=i(69),e=i(12),u=(i(9).Reflect||{}).apply,o=Function.apply;r(r.S+r.F*!i(17)(function(){u(function(){})}),"Reflect",{apply:function(n,t,i){var r=f(n),s=e(i);return u?u(r,t,s):o.call(r,t,s)}})},function(n,t,i){var r=i(2),c=i(162),f=i(69),l=i(12),e=i(11),o=i(17),a=i(1011),u=(i(9).Reflect||{}).construct,s=o(function(){function n(){}return!(u(function(){},[],n)instanceof n)}),h=!o(function(){u(function(){})});r(r.S+r.F*(s||h),"Reflect",{construct:function(n,t){var i,r;if(f(n),l(t),i=arguments.length<3?n:f(arguments[2]),h&&!s)return u(n,t,i);if(n==i){switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3])}return r=[null],r.push.apply(r,t),new(a.apply(n,r))}var o=i.prototype,v=c(e(o)?o:Object.prototype),y=Function.apply.call(n,v,t);return e(y)?y:v}})},function(n,t,i){"use strict";var f=i(69),e=i(11),o=i(913),u=[].slice,r={},s=function(n,t,i){if(!(t in r)){for(var f=[],u=0;u<t;u++)f[u]="a["+u+"]";r[t]=Function("F,a","return new F("+f.join(",")+")")}return r[t](n,i)};n.exports=Function.bind||function(n){var t=f(this),r=u.call(arguments,1),i=function(){var f=r.concat(u.call(arguments));return this instanceof i?s(t,f.length,f):o(t,f,n)};return e(t.prototype)&&(i.prototype=t.prototype),i}},function(n,t,i){var u=i(23),r=i(2),f=i(12),e=i(75);r(r.S+r.F*i(17)(function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(n,t,i){f(n);t=e(t,!0);f(i);try{return u.f(n,t,i),!0}catch(n){return!1}}})},function(n,t,i){var r=i(2),u=i(56).f,f=i(12);r(r.S,"Reflect",{deleteProperty:function(n,t){var i=u(f(n),t);return!(i&&!i.configurable)&&delete n[t]}})},function(n,t,i){var u=i(56),f=i(77),e=i(55),r=i(2),o=i(11),s=i(12);r(r.S,"Reflect",{get:function n(t,i){var r,c,h=arguments.length<3?t:arguments[2];return s(t)===h?t[i]:(r=u.f(t,i))?e(r,"value")?r.value:void 0!==r.get?r.get.call(h):void 0:o(c=f(t))?n(c,i,h):void 0}})},function(n,t,i){var u=i(56),r=i(2),f=i(12);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(n,t){return u.f(f(n),t)}})},function(n,t,i){var r=i(2),u=i(77),f=i(12);r(r.S,"Reflect",{getPrototypeOf:function(n){return u(f(n))}})},function(n,t,i){var r=i(2);r(r.S,"Reflect",{has:function(n,t){return t in n}})},function(n,t,i){var r=i(2),f=i(12),u=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(n){return f(n),!u||u(n)}})},function(n,t,i){var r=i(2);r(r.S,"Reflect",{ownKeys:i(910)})},function(n,t,i){var r=i(2),f=i(12),u=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(n){f(n);try{return u&&u(n),!0}catch(n){return!1}}})},function(n,t,i){var r=i(23),u=i(56),s=i(77),h=i(55),f=i(2),e=i(109),c=i(12),o=i(11);f(f.S,"Reflect",{set:function n(t,i,f){var l,y,a=arguments.length<4?t:arguments[3],v=u.f(c(t),i);if(!v){if(o(y=s(t)))return n(y,i,f,a);v=e(0)}if(h(v,"value")){if(!1===v.writable||!o(a))return!1;if(l=u.f(a,i)){if(l.get||l.set||!1===l.writable)return!1;l.value=f;r.f(a,i,l)}else r.f(a,i,e(0,f));return!0}return void 0!==v.set&&(v.set.call(a,f),!0)}})},function(n,t,i){var u=i(2),r=i(467);r&&u(u.S,"Reflect",{setPrototypeOf:function(n,t){r.check(n,t);try{return r.set(n,t),!0}catch(n){return!1}}})},function(n,t,i){var s=i(9),a=i(466),v=i(23).f,y=i(115).f,p=i(472),w=i(445),r=s.RegExp,u=r,e=r.prototype,f=/a/g,o=/a/g,h=new r(f)!==f;if(i(20)&&(!h||i(17)(function(){return o[i(18)("match")]=!1,r(f)!=f||r(o)==o||"/a/i"!=r(f,"i")}))){r=function(n,t){var o=this instanceof r,i=p(n),f=void 0===t;return!o&&i&&n.constructor===r&&f?n:a(h?new u(i&&!f?n.source:n,t):u((i=n instanceof r)?n.source:n,i&&f?w.call(n):t),o?this:e,r)};for(var b=function(n){n in r||v(r,n,{configurable:!0,get:function(){return u[n]},set:function(t){u[n]=t}})},c=y(u),l=0;c.length>l;)b(c[l++]);e.constructor=r;r.prototype=e;i(54)(s,"RegExp",r)}i(164)("RegExp")},function(n,t,i){"use strict";var u=i(12),f=i(24),e=i(473),r=i(446);i(447)("match",1,function(n,t,i,o){return[function(i){var r=n(this),u=null==i?void 0:i[t];return void 0!==u?u.call(i,r):new RegExp(i)[t](String(r))},function(n){var a=o(i,n,this),t,s,v,y,c,h,l;if(a.done)return a.value;if(t=u(n),s=String(this),!t.global)return r(t,s);for(v=t.unicode,t.lastIndex=0,c=[],h=0;null!==(y=r(t,s));)l=String(y[0]),c[h]=l,""===l&&(t.lastIndex=e(s,f(t.lastIndex),v)),h++;return 0===h?null:c}]})},function(n,t,i){"use strict";var r=i(475);i(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(n,t,i){"use strict";var r=i(12),u=i(33),f=i(24),e=i(107),o=i(473),s=i(446),h=Math.max,c=Math.min,l=Math.floor,a=/\$([$&`']|\d\d?|<[^>]*>)/g,v=/\$([$&`']|\d\d?)/g;i(447)("replace",2,function(n,t,i,y){function p(n,t,r,f,e,o){var c=r+n.length,s=f.length,h=v;return void 0!==e&&(e=u(e),h=a),i.call(o,h,function(i,u){var a,o,h;switch(u.charAt(0)){case"$":return"$";case"&":return n;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":a=e[u.slice(1,-1)];break;default:if(o=+u,0===o)return i;if(o>s)return h=l(o/10),0===h?i:h<=s?void 0===f[h-1]?u.charAt(1):f[h-1]+u.charAt(1):i;a=f[o-1]}return void 0===a?"":a})}return[function(r,u){var f=n(this),e=null==r?void 0:r[t];return void 0!==e?e.call(r,f,u):i.call(String(f),r,u)},function(n,t){var et=y(i,n,this,t),d,st,w,u,k,ut,ft;if(et.done)return et.value;var a=r(n),l=String(this),ot="function"==typeof t;for(ot||(t=String(t)),d=a.global,d&&(st=a.unicode,a.lastIndex=0),w=[];;){if(u=s(a,l),null===u)break;if(w.push(u),!d)break;""===String(u[0])&&(a.lastIndex=o(l,f(a.lastIndex),st))}for(var g,ht="",b=0,nt=0;nt<w.length;nt++){u=w[nt];for(var tt=String(u[0]),v=h(c(e(u.index),l.length),0),it=[],rt=1;rt<u.length;rt++)it.push(void 0===(g=u[rt])?g:String(g));k=u.groups;ot?(ut=[tt].concat(it,v,l),void 0!==k&&ut.push(k),ft=String(t.apply(void 0,ut))):ft=p(tt,l,v,it,k,t);v>=b&&(ht+=l.slice(b,v)+ft,b=v+tt.length)}return ht+l.slice(b)}]})},function(n,t,i){"use strict";var e=i(472),o=i(12),s=i(174),h=i(473),c=i(24),f=i(446),l=i(475),a=i(17),v=Math.min,y=[].push,r="length",u=!a(function(){RegExp(4294967295,"y")});i(447)("split",2,function(n,t,i,a){var p;return p="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[r]||2!="ab".split(/(?:ab)*/)[r]||4!=".".split(/(.?)(.?)/)[r]||".".split(/()()/)[r]>1||"".split(/.?/)[r]?function(n,t){var o=String(this);if(void 0===n&&0===t)return[];if(!e(n))return i.call(o,n,t);for(var f,a,v,u=[],p=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(n.sticky?"y":""),s=0,c=void 0===t?4294967295:t>>>0,h=new RegExp(n.source,p+"g");(f=l.call(h,o))&&!((a=h.lastIndex)>s&&(u.push(o.slice(s,f.index)),f[r]>1&&f.index<o[r]&&y.apply(u,f.slice(1)),v=f[0][r],s=a,u[r]>=c));)h.lastIndex===f.index&&h.lastIndex++;return s===o[r]?!v&&h.test("")||u.push(""):u.push(o.slice(s)),u[r]>c?u.slice(0,c):u}:"0".split(void 0,0)[r]?function(n,t){return void 0===n&&0===t?[]:i.call(this,n,t)}:i,[function(i,r){var u=n(this),f=null==i?void 0:i[t];return void 0!==f?f.call(i,u,r):p.call(String(u),i,r)},function(n,t){var nt=a(p,n,this,t,p!==i),tt,k,d;if(nt.done)return nt.value;var y=o(n),r=String(this),it=s(y,RegExp),rt=y.unicode,ut=(y.ignoreCase?"i":"")+(y.multiline?"m":"")+(y.unicode?"u":"")+(u?"y":"g"),w=new it(u?y:"^(?:"+y.source+")",ut),g=void 0===t?4294967295:t>>>0;if(0===g)return[];if(0===r.length)return null===f(w,r)?[r]:[];for(var b=0,e=0,l=[];e<r.length;)if(w.lastIndex=u?e:0,k=f(w,u?r:r.slice(e)),null===k||(tt=v(c(w.lastIndex+(u?0:e)),r.length))===b)e=h(r,e,rt);else{if(l.push(r.slice(b,e)),l.length===g)return l;for(d=1;d<=k.length-1;d++)if(l.push(k[d]),l.length===g)return l;e=b=tt}return l.push(r.slice(b)),l}]})},function(n,t,i){"use strict";var u=i(12),r=i(912),f=i(446);i(447)("search",1,function(n,t,i,e){return[function(i){var r=n(this),u=null==i?void 0:i[t];return void 0!==u?u.call(i,r):new RegExp(i)[t](String(r))},function(n){var h=e(i,n,this),s;if(h.done)return h.value;var t=u(n),c=String(this),o=t.lastIndex;return r(o,0)||(t.lastIndex=0),s=f(t,c),r(t.lastIndex,o)||(t.lastIndex=o),null===s?-1:s.index}]})},function(n,t,i){"use strict";i(916);var f=i(12),e=i(445),o=i(20),r=/./.toString,u=function(n){i(54)(RegExp.prototype,"toString",n,!0)};i(17)(function(){return"/a/b"!=r.call({source:"a",flags:"b"})})?u(function(){var n=f(this);return"/".concat(n.source,"/","flags"in n?n.flags:!o&&n instanceof RegExp?e.call(n):void 0)}):"toString"!=r.name&&u(function(){return r.call(this)})},function(n,t,i){"use strict";var r=i(905),u=i(114);n.exports=i(441)("Set",function(n){return function(){return n(this,arguments.length>0?arguments[0]:void 0)}},{add:function(n){return r.def(u(this,"Set"),n=0===n?0:n,n)}},r)},function(n,t,i){"use strict";var p=i(9),r=i(55),nt=i(20),u=i(2),pt=i(54),si=i(108).KEY,tt=i(17),it=i(438),rt=i(163),hi=i(110),l=i(18),ci=i(917),li=i(918),ai=i(1032),vi=i(457),ut=i(12),yi=i(11),pi=i(33),w=i(70),ft=i(75),et=i(109),a=i(162),wt=i(911),bt=i(56),b=i(442),kt=i(23),wi=i(113),dt=bt.f,h=kt.f,gt=wt.f,e=p.Symbol,k=p.JSON,d=k&&k.stringify,f=l("_hidden"),ni=l("toPrimitive"),bi={}.propertyIsEnumerable,v=it("symbol-registry"),s=it("symbols"),y=it("op-symbols"),o=Object.prototype,c="function"==typeof e&&!!b.f,ot=p.QObject,st=!ot||!ot.prototype||!ot.prototype.findChild,ht=nt&&tt(function(){return 7!=a(h({},"a",{get:function(){return h(this,"a",{value:7}).a}})).a})?function(n,t,i){var r=dt(o,t);r&&delete o[t];h(n,t,i);r&&n!==o&&h(o,t,r)}:h,ti=function(n){var t=s[n]=a(e.prototype);return t._k=n,t},ct=c&&"symbol"==typeof e.iterator?function(n){return"symbol"==typeof n}:function(n){return n instanceof e},g=function(n,t,i){return n===o&&g(y,t,i),ut(n),t=ft(t,!0),ut(i),r(s,t)?(i.enumerable?(r(n,f)&&n[f][t]&&(n[f][t]=!1),i=a(i,{enumerable:et(0,!1)})):(r(n,f)||h(n,f,et(1,{})),n[f][t]=!0),ht(n,t,i)):h(n,t,i)},ii=function(n,t){ut(n);for(var i,r=ai(t=w(t)),u=0,f=r.length;f>u;)g(n,i=r[u++],t[i]);return n},ri=function(n){var t=bi.call(this,n=ft(n,!0));return!(this===o&&r(s,n)&&!r(y,n))&&(!(t||!r(this,n)||!r(s,n)||r(this,f)&&this[f][n])||t)},ui=function(n,t){if(n=w(n),t=ft(t,!0),n!==o||!r(s,t)||r(y,t)){var i=dt(n,t);return!i||!r(s,t)||r(n,f)&&n[f][t]||(i.enumerable=!0),i}},fi=function(n){for(var t,i=gt(w(n)),u=[],e=0;i.length>e;)r(s,t=i[e++])||t==f||t==si||u.push(t);return u},ei=function(n){for(var t,i=n===o,u=gt(i?y:w(n)),f=[],e=0;u.length>e;)r(s,t=u[e++])&&(!i||r(o,t))&&f.push(s[t]);return f},lt,at,vt,yt,oi;for(c||(pt((e=function(){if(this instanceof e)throw TypeError("Symbol is not a constructor!");var n=hi(arguments.length>0?arguments[0]:void 0),t=function(i){this===o&&t.call(y,i);r(this,f)&&r(this[f],n)&&(this[f][n]=!1);ht(this,n,et(1,i))};return nt&&st&&ht(o,n,{configurable:!0,set:t}),ti(n)}).prototype,"toString",function(){return this._k}),bt.f=ui,kt.f=g,i(115).f=wt.f=fi,i(172).f=ri,b.f=ei,nt&&!i(106)&&pt(o,"propertyIsEnumerable",ri,!0),ci.f=function(n){return ti(l(n))}),u(u.G+u.W+u.F*!c,{Symbol:e}),lt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),at=0;lt.length>at;)l(lt[at++]);for(vt=wi(l.store),yt=0;vt.length>yt;)li(vt[yt++]);u(u.S+u.F*!c,"Symbol",{"for":function(n){return r(v,n+="")?v[n]:v[n]=e(n)},keyFor:function(n){if(!ct(n))throw TypeError(n+" is not a symbol!");for(var t in v)if(v[t]===n)return t},useSetter:function(){st=!0},useSimple:function(){st=!1}});u(u.S+u.F*!c,"Object",{create:function(n,t){return void 0===t?a(n):ii(a(n),t)},defineProperty:g,defineProperties:ii,getOwnPropertyDescriptor:ui,getOwnPropertyNames:fi,getOwnPropertySymbols:ei});oi=tt(function(){b.f(1)});u(u.S+u.F*oi,"Object",{getOwnPropertySymbols:function(n){return b.f(pi(n))}});k&&u(u.S+u.F*(!c||tt(function(){var n=e();return"[null]"!=d([n])||"{}"!=d({a:n})||"{}"!=d(Object(n))})),"JSON",{stringify:function(n){for(var t,r,i=[n],u=1;arguments.length>u;)i.push(arguments[u++]);if(r=t=i[1],(yi(t)||void 0!==n)&&!ct(n))return vi(t)||(t=function(n,t){if("function"==typeof r&&(t=r.call(this,n,t)),!ct(t))return t}),i[1]=t,d.apply(k,i)}});e.prototype[ni]||i(53)(e.prototype,ni,e.prototype.valueOf);rt(e,"Symbol");rt(Math,"Math",!0);rt(p.JSON,"JSON",!0)},function(n,t,i){var r=i(113),u=i(442),f=i(172);n.exports=function(n){var t=r(n),i=u.f;if(i)for(var e,o=i(n),h=f.f,s=0;o.length>s;)h.call(n,e=o[s++])&&t.push(e);return t}},function(n,t,i){i(918)("asyncIterator")},function(n,t,i){"use strict";i(38)("anchor",function(n){return function(t){return n(this,"a","name",t)}})},function(n,t,i){"use strict";i(38)("big",function(n){return function(){return n(this,"big","","")}})},function(n,t,i){"use strict";i(38)("blink",function(n){return function(){return n(this,"blink","","")}})},function(n,t,i){"use strict";i(38)("bold",function(n){return function(){return n(this,"b","","")}})},function(n,t,i){"use strict";var r=i(2),u=i(474)(!1);r(r.P,"String",{codePointAt:function(n){return u(this,n)}})},function(n,t,i){"use strict";var r=i(2),u=i(24),e=i(476),f="".endsWith;r(r.P+r.F*i(477)("endsWith"),"String",{endsWith:function(n){var t=e(this,n,"endsWith"),o=arguments.length>1?arguments[1]:void 0,s=u(t.length),i=void 0===o?s:Math.min(u(o),s),r=String(n);return f?f.call(t,r,i):t.slice(i-r.length,i)===r}})},function(n,t,i){"use strict";i(38)("fixed",function(n){return function(){return n(this,"tt","","")}})},function(n,t,i){"use strict";i(38)("fontcolor",function(n){return function(t){return n(this,"font","color",t)}})},function(n,t,i){"use strict";i(38)("fontsize",function(n){return function(t){return n(this,"font","size",t)}})},function(n,t,i){var r=i(2),e=i(160),u=String.fromCharCode,f=String.fromCodePoint;r(r.S+r.F*(!!f&&1!=f.length),"String",{fromCodePoint:function(){for(var n,t=[],r=arguments.length,i=0;r>i;){if(n=+arguments[i++],e(n,1114111)!==n)throw RangeError(n+" is not a valid code point");t.push(n<65536?u(n):u(55296+((n-=65536)>>10),n%1024+56320))}return t.join("")}})},function(n,t,i){"use strict";var r=i(2),u=i(476);r(r.P+r.F*i(477)("includes"),"String",{includes:function(n){return!!~u(this,n,"includes").indexOf(n,arguments.length>1?arguments[1]:void 0)}})},function(n,t,i){"use strict";i(38)("italics",function(n){return function(){return n(this,"i","","")}})},function(n,t,i){"use strict";var r=i(474)(!0);i(463)(String,"String",function(n){this._t=String(n);this._i=0},function(){var n,t=this._t,i=this._i;return i>=t.length?{value:void 0,done:!0}:(n=r(t,i),this._i+=n.length,{value:n,done:!1})})},function(n,t,i){"use strict";i(38)("link",function(n){return function(t){return n(this,"a","href",t)}})},function(n,t,i){"use strict";var r=i(2),u=i(919),f=i(444),e=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(f);r(r.P+r.F*e,"String",{padStart:function(n){return u(this,n,arguments.length>1?arguments[1]:void 0,!0)}})},function(n,t,i){"use strict";var r=i(2),u=i(919),f=i(444),e=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(f);r(r.P+r.F*e,"String",{padEnd:function(n){return u(this,n,arguments.length>1?arguments[1]:void 0,!1)}})},function(n,t,i){var r=i(2),u=i(70),f=i(24);r(r.S,"String",{raw:function(n){for(var r=u(n.raw),e=f(r.length),o=arguments.length,i=[],t=0;e>t;)i.push(String(r[t++])),t<o&&i.push(String(arguments[t]));return i.join("")}})},function(n,t,i){var r=i(2);r(r.P,"String",{repeat:i(920)})},function(n,t,i){"use strict";i(38)("small",function(n){return function(){return n(this,"small","","")}})},function(n,t,i){"use strict";var r=i(2),f=i(24),e=i(476),u="".startsWith;r(r.P+r.F*i(477)("startsWith"),"String",{startsWith:function(n){var t=e(this,n,"startsWith"),i=f(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(n);return u?u.call(t,r,i):t.slice(i,i+r.length)===r}})},function(n,t,i){"use strict";i(38)("strike",function(n){return function(){return n(this,"strike","","")}})},function(n,t,i){"use strict";i(38)("sub",function(n){return function(){return n(this,"sub","","")}})},function(n,t,i){"use strict";i(38)("sup",function(n){return function(){return n(this,"sup","","")}})},function(n,t,i){"use strict";i(173)("trimLeft",function(n){return function(){return n(this,1)}},"trimStart")},function(n,t,i){"use strict";i(173)("trimRight",function(n){return function(){return n(this,2)}},"trimEnd")},function(n,t,i){"use strict";var r=i(2),f=i(478),e=i(921),o=i(12),s=i(160),v=i(24),y=i(11),h=i(9).ArrayBuffer,p=i(174),u=e.ArrayBuffer,c=e.DataView,l=f.ABV&&h.isView,a=u.prototype.slice,w=f.VIEW;r(r.G+r.W+r.F*(h!==u),{ArrayBuffer:u});r(r.S+r.F*!f.CONSTR,"ArrayBuffer",{isView:function(n){return l&&l(n)||y(n)&&w in n}});r(r.P+r.U+r.F*i(17)(function(){return!new u(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(n,t){if(void 0!==a&&void 0===t)return a.call(o(this),n);for(var i=o(this).byteLength,r=s(n,i),f=s(void 0===t?i:t,i),e=new(p(this,u))(v(f-r)),h=new c(this),l=new c(e),y=0;r<f;)l.setUint8(y++,h.getUint8(r++));return e}});i(164)("ArrayBuffer")},function(n,t,i){i(78)("Int8",1,function(n){return function(t,i,r){return n(this,t,i,r)}})},function(n,t,i){i(78)("Uint8",1,function(n){return function(t,i,r){return n(this,t,i,r)}})},function(n,t,i){i(78)("Uint8",1,function(n){return function(t,i,r){return n(this,t,i,r)}},!0)},function(n,t,i){i(78)("Int16",2,function(n){return function(t,i,r){return n(this,t,i,r)}})},function(n,t,i){i(78)("Uint16",2,function(n){return function(t,i,r){return n(this,t,i,r)}})},function(n,t,i){i(78)("Int32",4,function(n){return function(t,i,r){return n(this,t,i,r)}})},function(n,t,i){i(78)("Uint32",4,function(n){return function(t,i,r){return n(this,t,i,r)}})},function(n,t,i){i(78)("Float32",4,function(n){return function(t,i,r){return n(this,t,i,r)}})},function(n,t,i){i(78)("Float64",8,function(n){return function(t,i,r){return n(this,t,i,r)}})},function(n,t,i){"use strict";var u,f=i(9),l=i(170)(0),a=i(54),e=i(108),v=i(908),r=i(923),o=i(11),s=i(114),y=i(114),p=!f.ActiveXObject&&"ActiveXObject"in f,w=e.getWeak,b=Object.isExtensible,k=r.ufstore,h=function(n){return function(){return n(this,arguments.length>0?arguments[0]:void 0)}},c={get:function(n){if(o(n)){var t=w(n);return!0===t?k(s(this,"WeakMap")).get(n):t?t[this._i]:void 0}},set:function(n,t){return r.def(s(this,"WeakMap"),n,t)}},d=n.exports=i(441)("WeakMap",h,c,r,!0,!0);y&&p&&(v((u=r.getConstructor(h,"WeakMap")).prototype,c),e.NEED=!0,l(["delete","has","get","set"],function(n){var t=d.prototype,i=t[n];a(t,n,function(t,r){if(o(t)&&!b(t)){this._f||(this._f=new u);var f=this._f[n](t,r);return"set"==n?this:f}return i.call(this,t,r)})}))},function(n,t,i){"use strict";var r=i(923),u=i(114);i(441)("WeakSet",function(n){return function(){return n(this,arguments.length>0?arguments[0]:void 0)}},{add:function(n){return r.def(u(this,"WeakSet"),n,!0)}},r,!1,!0)},function(n,t,i){var u=i(9),r=i(2),e=i(444),o=[].slice,s=/MSIE .\./.test(e),f=function(n){return function(t,i){var r=arguments.length>2,u=!!r&&o.call(arguments,2);return n(r?function(){("function"==typeof t?t:Function(t)).apply(this,u)}:t,i)}};r(r.G+r.B+r.F*s,{setTimeout:f(u.setTimeout),setInterval:f(u.setInterval)})},function(n,t,i){var r=i(2),u=i(471);r(r.G+r.B,{setImmediate:u.set,clearImmediate:u.clear})},function(n,t,i){for(var o=i(462),b=i(113),k=i(54),d=i(9),s=i(53),h=i(161),c=i(18),l=c("iterator"),a=c("toStringTag"),v=h.Array,y={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=b(y),e=0;e<p.length;e++){var u,f=p[e],g=y[f],w=d[f],r=w&&w.prototype;if(r&&(r[l]||s(r,l,v),r[a]||s(r,a,f),h[f]=v,g))for(u in o)r[u]||k(r,u,o[u],!0)}},function(n){!function(t){"use strict";function tt(n,t,r,u){var e=t&&t.prototype instanceof w?t:w,f=Object.create(e.prototype),o=new k(u||[]);return f._invoke=function(n,t,r){var u="suspendedStart";return function(f,e){var h,s,o;if("executing"===u)throw new Error("Generator is already running");if("completed"===u){if("throw"===f)throw e;return{value:void 0,done:!0}}for(r.method=f,r.arg=e;;){if(h=r.delegate,h&&(s=rt(h,r),s)){if(s===i)continue;return s}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===u)throw u="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);if(u="executing",o=p(n,t,r),"normal"===o.type){if(u=r.done?"completed":"suspendedYield",o.arg===i)continue;return{value:o.arg,done:r.done}}"throw"===o.type&&(u="completed",r.method="throw",r.arg=o.arg)}}}(n,r,o),f}function p(n,t,i){try{return{type:"normal",arg:n.call(t,i)}}catch(n){return{type:"throw",arg:n}}}function w(){}function a(){}function e(){}function it(n){["next","throw","return"].forEach(function(t){n[t]=function(n){return this._invoke(t,n)}})}function v(n){var t;this._invoke=function(i,r){function f(){return new Promise(function(t,f){!function t(i,r,f,e){var h=p(n[i],n,r),s,o;if("throw"!==h.type)return s=h.arg,o=s.value,o&&"object"==typeof o&&u.call(o,"__await")?Promise.resolve(o.__await).then(function(n){t("next",n,f,e)},function(n){t("throw",n,f,e)}):Promise.resolve(o).then(function(n){s.value=n;f(s)},e);e(h.arg)}(i,r,t,f)})}return t=t?t.then(f,f):f()}}function rt(n,t){var f=n.iterator[t.method],u,r;if(void 0===f){if(t.delegate=null,"throw"===t.method){if(n.iterator.return&&(t.method="return",t.arg=void 0,rt(n,t),"throw"===t.method))return i;t.method="throw";t.arg=new TypeError("The iterator does not provide a 'throw' method")}return i}return(u=p(f,n.iterator,t.arg),"throw"===u.type)?(t.method="throw",t.arg=u.arg,t.delegate=null,i):(r=u.arg,r?r.done?(t[n.resultName]=r.value,t.next=n.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,i):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,i))}function ft(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]);2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]);this.tryEntries.push(t)}function b(n){var t=n.completion||{};t.type="normal";delete t.arg;n.completion=t}function k(n){this.tryEntries=[{tryLoc:"root"}];n.forEach(ft,this);this.reset(!0)}function d(n){var t,i,r;if(n){if(t=n[s],t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length))return i=-1,r=function t(){for(;++i<n.length;)if(u.call(n,i))return t.value=n[i],t.done=!1,t;return t.value=void 0,t.done=!0,t},r.next=r}return{next:et}}function et(){return{value:void 0,done:!0}}var g=Object.prototype,u=g.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},s=y.iterator||"@@iterator",ut=y.asyncIterator||"@@asyncIterator",h=y.toStringTag||"@@toStringTag",nt="object"==typeof n,r=t.regeneratorRuntime,i,c,l,o,f;r?nt&&(n.exports=r):((r=t.regeneratorRuntime=nt?n.exports:{}).wrap=tt,i={},c={},c[s]=function(){return this},l=Object.getPrototypeOf,o=l&&l(l(d([]))),o&&o!==g&&u.call(o,s)&&(c=o),f=e.prototype=w.prototype=Object.create(c),a.prototype=f.constructor=e,e.constructor=a,e[h]=a.displayName="GeneratorFunction",r.isGeneratorFunction=function(n){var t="function"==typeof n&&n.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,e):(n.__proto__=e,h in n||(n[h]="GeneratorFunction")),n.prototype=Object.create(f),n},r.awrap=function(n){return{__await:n}},it(v.prototype),v.prototype[ut]=function(){return this},r.AsyncIterator=v,r.async=function(n,t,i,u){var f=new v(tt(n,t,i,u));return r.isGeneratorFunction(t)?f:f.next().then(function(n){return n.done?n.value:f.next()})},it(f),f[h]="Generator",f[s]=function(){return this},f.toString=function(){return"[object Generator]"},r.keys=function(n){var i=[],t;for(t in n)i.push(t);return i.reverse(),function t(){for(;i.length;){var r=i.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},r.values=d,k.prototype={constructor:k,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!n)for(var t in this)"t"===t.charAt(0)&&u.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var n=this.tryEntries[0].completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(n){function i(t,i){return e.type="throw",e.arg=n,r.next=t,i&&(r.method="next",r.arg=void 0),!!i}var r,f,t,e,o,s;if(this.done)throw n;for(r=this,f=this.tryEntries.length-1;f>=0;--f){if(t=this.tryEntries[f],e=t.completion,"root"===t.tryLoc)return i("end");if(t.tryLoc<=this.prev)if(o=u.call(t,"catchLoc"),s=u.call(t,"finallyLoc"),o&&s){if(this.prev<t.catchLoc)return i(t.catchLoc,!0);if(this.prev<t.finallyLoc)return i(t.finallyLoc)}else if(o){if(this.prev<t.catchLoc)return i(t.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<t.finallyLoc)return i(t.finallyLoc)}}},abrupt:function(n,t){for(var f,r,o,e=this.tryEntries.length-1;e>=0;--e)if(f=this.tryEntries[e],f.tryLoc<=this.prev&&u.call(f,"finallyLoc")&&this.prev<f.finallyLoc){r=f;break}return r&&("break"===n||"continue"===n)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null),o=r?r.completion:{},o.type=n,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,i):this.complete(o)},complete:function(n,t){if("throw"===n.type)throw n.arg;return"break"===n.type||"continue"===n.type?this.next=n.arg:"return"===n.type?(this.rval=this.arg=n.arg,this.method="return",this.next="end"):"normal"===n.type&&t&&(this.next=t),i},finish:function(n){for(var t,r=this.tryEntries.length-1;r>=0;--r)if(t=this.tryEntries[r],t.finallyLoc===n)return this.complete(t.completion,t.afterLoc),b(t),i},"catch":function(n){for(var i,r,u,t=this.tryEntries.length-1;t>=0;--t)if(i=this.tryEntries[t],i.tryLoc===n)return r=i.completion,"throw"===r.type&&(u=r.arg,b(i)),u;throw new Error("illegal catch attempt");},delegateYield:function(n,t,r){return this.delegate={iterator:d(n),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),i}})}(function(){return this}()||Function("return this")())},function(n,t,i){"use strict";i(1076)()||Object.defineProperty(i(924),"Set",{value:i(1077),configurable:!0,enumerable:!1,writable:!0})},function(n){"use strict";n.exports=function(){var n,t;return"function"==typeof Set&&(n=new Set(["raz","dwa","trzy"]),"[object Set]"===String(n)&&3===n.size&&"function"==typeof n.add&&"function"==typeof n.clear&&"function"==typeof n.delete&&"function"==typeof n.entries&&"function"==typeof n.forEach&&"function"==typeof n.has&&"function"==typeof n.keys&&"function"==typeof n.values&&!1===(t=n.values().next()).done&&"raz"===t.value)}},function(n,t,i){"use strict";var u,c,f,v=i(479),o=i(926),e=i(168),y=i(73),r=i(79),p=i(931),l=i(74),w=i(482),b=i(932),a=i(1112),s=i(1113),k=Function.prototype.call,h=Object.defineProperty,d=Object.getPrototypeOf;s&&(f=Set);n.exports=u=function(){var n,t=arguments[0];if(!(this instanceof u))throw new TypeError("Constructor requires 'new'");return n=s&&e?e(new f,d(this)):this,null!=t&&w(t),h(n,"__setData__",r("c",[])),t?(b(t,function(n){-1===o.call(this,n)&&this.push(n)},n.__setData__),n):n};s&&(e&&e(u,f),u.prototype=Object.create(f.prototype,{constructor:r(u)}));p(Object.defineProperties(u.prototype,{add:r(function(n){return this.has(n)||this.emit("_add",this.__setData__.push(n)-1,n),this}),clear:r(function(){this.__setData__.length&&(v.call(this.__setData__),this.emit("_clear"))}),"delete":r(function(n){var t=o.call(this.__setData__,n);return-1!==t&&(this.__setData__.splice(t,1),this.emit("_delete",t,n),!0)}),entries:r(function(){return new a(this,"key+value")}),forEach:r(function(n){var i,t,r,u=arguments[1];for(y(n),t=(i=this.values())._next();void 0!==t;)r=i._resolve(t),k.call(n,u,r,r,this),t=i._next()}),has:r(function(n){return-1!==o.call(this.__setData__,n)}),keys:r(c=function(){return this.values()}),size:r.gs(function(){return this.__setData__.length}),values:r(function(){return new a(this)}),toString:r(function(){return"[object Set]"})}));h(u.prototype,l.iterator,r(c));h(u.prototype,l.toStringTag,r("c","Set"))},function(n,t,i){"use strict";n.exports=i(1079)()?Number.isNaN:i(1080)},function(n){"use strict";n.exports=function(){var n=Number.isNaN;return"function"==typeof n&&!n({})&&n(NaN)&&!n(34)}},function(n){"use strict";n.exports=function(n){return n!=n}},function(n,t,i){"use strict";var r=i(1082),u=Math.abs,f=Math.floor;n.exports=function(n){return isNaN(n)?0:0!==(n=Number(n))&&isFinite(n)?r(n)*f(u(n)):n}},function(n,t,i){"use strict";n.exports=i(1083)()?Math.sign:i(1084)},function(n){"use strict";n.exports=function(){var n=Math.sign;return"function"==typeof n&&1===n(10)&&-1===n(-20)}},function(n){"use strict";n.exports=function(n){return n=Number(n),isNaN(n)||0===n?n:n>0?1:-1}},function(n,t,i){"use strict";var r=i(167),u={"function":!0,object:!0};n.exports=function(n){return r(n)&&u[typeof n]||!1}},function(n,t,i){"use strict";var r,u,f,o,e=Object.create;i(928)()||(r=i(929));n.exports=r?1!==r.level?e:(u={},f={},o={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(n){f[n]="__proto__"!==n?o:{configurable:!0,enumerable:!1,writable:!0,value:void 0}}),Object.defineProperties(u,f),Object.defineProperty(r,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:u}),function(n,t){return e(null===n?u:n,t)}):e},function(n){"use strict";n.exports=function(){var n,t=Object.assign;return"function"==typeof t&&(t(n={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),n.foo+n.bar+n.trzy==="razdwatrzy")}},function(n,t,i){"use strict";var r=i(1089),u=i(72),f=Math.max;n.exports=function(n,t){var i,e,o,s=f(arguments.length,2);for(n=Object(u(n)),o=function(r){try{n[r]=t[r]}catch(n){i||(i=n)}},e=1;e<s;++e)r(t=arguments[e]).forEach(o);if(void 0!==i)throw i;return n}},function(n,t,i){"use strict";n.exports=i(1090)()?Object.keys:i(1091)},function(n){"use strict";n.exports=function(){try{return Object.keys("primitive"),!0}catch(n){return!1}}},function(n,t,i){"use strict";var r=i(167),u=Object.keys;n.exports=function(n){return u(r(n)?Object(n):n)}},function(n){"use strict";n.exports=function(n){return"function"==typeof n}},function(n){"use strict";var t="razdwatrzy";n.exports=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}},function(n){"use strict";var t=String.prototype.indexOf;n.exports=function(n){return t.call(this,n,arguments[1])>-1}},function(n){"use strict";var t={object:!0,symbol:!0};n.exports=function(){var n;if("function"!=typeof Symbol)return!1;n=Symbol("test symbol");try{String(n)}catch(n){return!1}return!!t[typeof Symbol.iterator]&&!!t[typeof Symbol.toPrimitive]&&!!t[typeof Symbol.toStringTag]}},function(n,t,i){"use strict";var u,r,e,v,f=i(79),h=i(1097),l=Object.create,c=Object.defineProperties,o=Object.defineProperty,p=Object.prototype,s=l(null),a,y;if("function"==typeof Symbol){u=Symbol;try{String(u());v=!0}catch(n){}}y=(a=l(null),function(n){for(var t,i,r=0;a[n+(r||"")];)++r;return a[n+=r||""]=!0,o(p,t="@@"+n,f.gs(null,function(n){i||(i=!0,o(this,t,f(n)),i=!1)})),t});e=function(n){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return r(n)};n.exports=r=function n(t){var i;if(this instanceof n)throw new TypeError("Symbol is not a constructor");return v?u(t):(i=l(e.prototype),t=void 0===t?"":String(t),c(i,{__description__:f("",t),__name__:f("",y(t))}))};c(r,{"for":f(function(n){return s[n]?s[n]:s[n]=r(String(n))}),keyFor:f(function(n){var t;for(t in h(n),s)if(s[t]===n)return t}),hasInstance:f("",u&&u.hasInstance||r("hasInstance")),isConcatSpreadable:f("",u&&u.isConcatSpreadable||r("isConcatSpreadable")),iterator:f("",u&&u.iterator||r("iterator")),match:f("",u&&u.match||r("match")),replace:f("",u&&u.replace||r("replace")),search:f("",u&&u.search||r("search")),species:f("",u&&u.species||r("species")),split:f("",u&&u.split||r("split")),toPrimitive:f("",u&&u.toPrimitive||r("toPrimitive")),toStringTag:f("",u&&u.toStringTag||r("toStringTag")),unscopables:f("",u&&u.unscopables||r("unscopables"))});c(e.prototype,{constructor:f(r),toString:f("",function(){return this.__name__})});c(r.prototype,{toString:f(function(){return"Symbol ("+h(this).__description__+")"}),valueOf:f(function(){return h(this)})});o(r.prototype,r.toPrimitive,f("",function(){var n=h(this);return"symbol"==typeof n?n:n.toString()}));o(r.prototype,r.toStringTag,f("c","Symbol"));o(e.prototype,r.toStringTag,f("c",r.prototype[r.toStringTag]));o(e.prototype,r.toPrimitive,f("c",r.prototype[r.toPrimitive]))},function(n,t,i){"use strict";var r=i(1098);n.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n}},function(n){"use strict";n.exports=function(n){return!!n&&("symbol"==typeof n||!!n.constructor&&"Symbol"===n.constructor.name&&"Symbol"===n[n.constructor.toStringTag])}},function(n,t,i){"use strict";var r=i(448),u=i(167),f=i(449),e=i(74).iterator,o=Array.isArray;n.exports=function(n){return!(!u(n)||!o(n)&&!f(n)&&!r(n)&&"function"!=typeof n[e])}},function(n,t,i){"use strict";var f=i(448),e=i(449),r=i(1101),o=i(1111),s=i(482),u=i(74).iterator;n.exports=function(n){return"function"==typeof s(n)[u]?n[u]():f(n)?new r(n):e(n)?new o(n):new r(n)}},function(n,t,i){"use strict";var r,e=i(168),o=i(481),u=i(79),h=i(74),f=i(450),s=Object.defineProperty;r=n.exports=function(n,t){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");f.call(this,n);t=t?o.call(t,"key+value")?"key+value":o.call(t,"key")?"key":"value":"value";s(this,"__kind__",u("",t))};e&&e(r,f);delete r.prototype.constructor;r.prototype=Object.create(f.prototype,{_resolve:u(function(n){return"value"===this.__kind__?this.__list__[n]:"key+value"===this.__kind__?[n,this.__list__[n]]:n})});s(r.prototype,h.toStringTag,u("c","Array Iterator"))},function(n,t,i){"use strict";var r,u=i(1103),f=i(930),e=i(73),o=i(1108),s=i(73),h=i(72),c=Function.prototype.bind,l=Object.defineProperty,a=Object.prototype.hasOwnProperty;r=function(n,t,i){var r,f=h(t)&&s(t.value);return delete(r=u(t)).writable,delete r.value,r.get=function(){return!i.overwriteDefinition&&a.call(this,n)?f:(t.value=c.call(f,i.resolveContext?i.resolveContext(this):this),l(this,n,t),this[n])},r};n.exports=function(n){var t=f(arguments[1]);return null!=t.resolveContext&&e(t.resolveContext),o(n,function(n,i){return r(i,n,t)})}},function(n,t,i){"use strict";var r=i(1104),u=i(480),f=i(72);n.exports=function(n){var e=Object(f(n)),i=arguments[1],o=Object(arguments[2]),t;return e!==n&&!i?e:(t={},i?r(i,function(i){(o.ensure||i in n)&&(t[i]=n[i])}):u(t,n),t)}},function(n,t,i){"use strict";n.exports=i(1105)()?Array.from:i(1106)},function(n){"use strict";n.exports=function(){var t,n,i=Array.from;return"function"==typeof i&&(n=i(t=["raz","dwa"]),Boolean(n&&n!==t&&"dwa"===n[1]))}},function(n,t,i){"use strict";var s=i(74).iterator,h=i(448),c=i(1107),l=i(927),e=i(73),a=i(72),v=i(167),y=i(449),o=Array.isArray,u=Function.prototype.call,r={configurable:!0,enumerable:!0,writable:!0,value:null},f=Object.defineProperty;n.exports=function(n){var b,t,d,i,w,it,nt,g,rt,p,k=arguments[1],tt=arguments[2];if(n=Object(a(n)),v(k)&&e(k),this&&this!==Array&&c(this))b=this;else{if(!k){if(h(n))return 1!==(w=n.length)?Array.apply(null,n):((i=new Array(1))[0]=n[0],i);if(o(n)){for(i=new Array(w=n.length),t=0;t<w;++t)i[t]=n[t];return i}}i=[]}if(!o(n))if(void 0!==(rt=n[s])){for(nt=e(rt).call(n),b&&(i=new b),g=nt.next(),t=0;!g.done;)p=k?u.call(k,tt,g.value,t):g.value,b?(r.value=p,f(i,t,r)):i[t]=p,g=nt.next(),++t;w=t}else if(y(n)){for(w=n.length,b&&(i=new b),t=0,d=0;t<w;++t)p=n[t],t+1<w&&(it=p.charCodeAt(0))>=55296&&it<=56319&&(p+=n[++t]),p=k?u.call(k,tt,p,d):p,b?(r.value=p,f(i,d,r)):i[d]=p,++d;w=d}if(void 0===w)for(w=l(n.length),b&&(i=new b(w)),t=0;t<w;++t)p=k?u.call(k,tt,n[t],t):n[t],b?(r.value=p,f(i,t,r)):i[t]=p;return b&&(r.value=null,i.length=w),i}},function(n,t,i){"use strict";var r=Object.prototype.toString,u=r.call(i(925));n.exports=function(n){return"function"==typeof n&&r.call(n)===u}},function(n,t,i){"use strict";var r=i(73),u=i(1109),f=Function.prototype.call;n.exports=function(n,t){var i={},e=arguments[2];return r(t),u(n,function(n,r,u,o){i[r]=f.call(t,e,n,r,u,o)}),i}},function(n,t,i){"use strict";n.exports=i(1110)("forEach")},function(n,t,i){"use strict";var u=i(73),f=i(72),e=Function.prototype.bind,r=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;n.exports=function(n,t){return function(i,h){var c,a=arguments[2],l=arguments[3];return i=Object(f(i)),u(h),c=o(i),l&&c.sort("function"==typeof l?e.call(l,i):void 0),"function"!=typeof n&&(n=c[n]),r.call(n,c,function(n,u){return s.call(i,n)?r.call(h,a,i[n],n,i,u):t})}}},function(n,t,i){"use strict";var r,e=i(168),u=i(79),s=i(74),f=i(450),o=Object.defineProperty;r=n.exports=function(n){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");n=String(n);f.call(this,n);o(this,"__length__",u("",n.length))};e&&e(r,f);delete r.prototype.constructor;r.prototype=Object.create(f.prototype,{_next:u(function(){if(this.__list__)return this.__nextIndex__<this.__length__?this.__nextIndex__++:void this._unBind()}),_resolve:u(function(n){var i,t=this.__list__[n];return this.__nextIndex__===this.__length__?t:(i=t.charCodeAt(0))>=55296&&i<=56319?t+this.__list__[this.__nextIndex__++]:t})});o(r.prototype,s.toStringTag,u("c","String Iterator"))},function(n,t,i){"use strict";var r,e=i(168),s=i(481),u=i(79),f=i(450),h=i(74).toStringTag,o=Object.defineProperty;r=n.exports=function(n,t){if(!(this instanceof r))return new r(n,t);f.call(this,n.__setData__,n);t=t&&s.call(t,"key+value")?"key+value":"value";o(this,"__kind__",u("",t))};e&&e(r,f);r.prototype=Object.create(f.prototype,{constructor:u(r),_resolve:u(function(n){return"value"===this.__kind__?this.__list__[n]:[this.__list__[n],this.__list__[n]]}),toString:u(function(){return"[object Set Iterator]"})});o(r.prototype,h,u("c","Set Iterator"))},function(n){"use strict";n.exports="undefined"!=typeof Set&&"[object Set]"===Object.prototype.toString.call(Set.prototype)},function(n,t,i){"use strict";i(1115)()||Object.defineProperty(i(924),"Map",{value:i(1116),configurable:!0,enumerable:!1,writable:!0})},function(n){"use strict";n.exports=function(){var n,t;if("function"!=typeof Map)return!1;try{n=new Map([["raz","one"],["dwa","two"],["trzy","three"]])}catch(n){return!1}return"[object Map]"===String(n)&&3===n.size&&"function"==typeof n.clear&&"function"==typeof n.delete&&"function"==typeof n.entries&&"function"==typeof n.forEach&&"function"==typeof n.get&&"function"==typeof n.has&&"function"==typeof n.keys&&"function"==typeof n.set&&"function"==typeof n.values&&!1===(t=n.entries().next()).done&&!!t.value&&"raz"===t.value[0]&&"one"===t.value[1]}},function(n,t,i){"use strict";var u,s=i(479),f=i(926),e=i(168),a=i(73),v=i(72),r=i(79),y=i(931),h=i(74),p=i(482),w=i(932),o=i(1117),c=i(1120),b=Function.prototype.call,l=Object.defineProperties,k=Object.getPrototypeOf;n.exports=u=function(){var i,o,n,t=arguments[0];if(!(this instanceof u))throw new TypeError("Constructor requires 'new'");return n=c&&e&&Map!==u?e(new Map,k(this)):this,null!=t&&p(t),l(n,{__mapKeysData__:r("c",i=[]),__mapValuesData__:r("c",o=[])}),t?(w(t,function(n){var t=v(n)[0];n=n[1];-1===f.call(i,t)&&(i.push(t),o.push(n))},n),n):n};c&&(e&&e(u,Map),u.prototype=Object.create(Map.prototype,{constructor:r(u)}));y(l(u.prototype,{clear:r(function(){this.__mapKeysData__.length&&(s.call(this.__mapKeysData__),s.call(this.__mapValuesData__),this.emit("_clear"))}),"delete":r(function(n){var t=f.call(this.__mapKeysData__,n);return-1!==t&&(this.__mapKeysData__.splice(t,1),this.__mapValuesData__.splice(t,1),this.emit("_delete",t,n),!0)}),entries:r(function(){return new o(this,"key+value")}),forEach:r(function(n){var i,t,r=arguments[1];for(a(n),t=(i=this.entries())._next();void 0!==t;)b.call(n,r,this.__mapValuesData__[t],this.__mapKeysData__[t],this),t=i._next()}),get:r(function(n){var t=f.call(this.__mapKeysData__,n);if(-1!==t)return this.__mapValuesData__[t]}),has:r(function(n){return-1!==f.call(this.__mapKeysData__,n)}),keys:r(function(){return new o(this,"key")}),set:r(function(n,t){var r,i=f.call(this.__mapKeysData__,n);return-1===i&&(i=this.__mapKeysData__.push(n)-1,r=!0),this.__mapValuesData__[i]=t,r&&this.emit("_add",i,n),this}),size:r.gs(function(){return this.__mapKeysData__.length}),values:r(function(){return new o(this,"value")}),toString:r(function(){return"[object Map]"})}));Object.defineProperty(u.prototype,h.iterator,r(function(){return this.entries()}));Object.defineProperty(u.prototype,h.toStringTag,r("c","Map"))},function(n,t,i){"use strict";var r,e=i(168),u=i(79),f=i(450),o=i(74).toStringTag,s=i(1118),h=Object.defineProperties,c=f.prototype._unBind;r=n.exports=function(n,t){if(!(this instanceof r))return new r(n,t);f.call(this,n.__mapKeysData__,n);t&&s[t]||(t="key+value");h(this,{__kind__:u("",t),__values__:u("w",n.__mapValuesData__)})};e&&e(r,f);r.prototype=Object.create(f.prototype,{constructor:u(r),_resolve:u(function(n){return"value"===this.__kind__?this.__values__[n]:"key"===this.__kind__?this.__list__[n]:[this.__list__[n],this.__values__[n]]}),_unBind:u(function(){this.__values__=null;c.call(this)}),toString:u(function(){return"[object Map Iterator]"})});Object.defineProperty(r.prototype,o,u("c","Map Iterator"))},function(n,t,i){"use strict";n.exports=i(1119)("key","value","key+value")},function(n){"use strict";var t=Array.prototype.forEach,i=Object.create;n.exports=function(){var n=i(null);return t.call(arguments,function(t){n[t]=!0}),n}},function(n){"use strict";n.exports="undefined"!=typeof Map&&"[object Map]"===Object.prototype.toString.call(new Map)},function(n,t,i){"use strict";n.exports=i(1122).polyfill()},function(n,t,i){(function(t,i){var r;r=function(){"use strict";function v(n){return"function"==typeof n}function p(){var n=setTimeout;return function(){return n(o,1)}}function o(){for(var n=0;n<h;n+=2)e[n](e[n+1]),e[n]=void 0,e[n+1]=void 0;h=0}function k(n,t){var u=this,i=new this.constructor(s),r,e;return void 0===i[l]&&lt(i),r=u._state,r?(e=arguments[r-1],f(function(){return ct(r,i,e,u._result)})):g(u,i,n,t),i}function d(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(s);return a(t,n),t}function s(){}function ht(t,i,r){i.constructor===t.constructor&&r===k&&i.constructor.resolve===d?function(t,i){1===i._state?u(t,i._result):2===i._state?n(t,i._result):g(i,void 0,function(n){return a(t,n)},function(i){return n(t,i)})}(t,i):void 0===r?u(t,i):v(r)?function(t,i,r){f(function(t){var f=!1,e=function(n,t,i,r){try{n.call(t,i,r)}catch(n){return n}}(r,i,function(n){f||(f=!0,i!==n?a(t,n):u(t,n))},function(i){f||(f=!0,n(t,i))},t._label);!f&&e&&(f=!0,n(t,e))},t)}(t,i,r):u(t,i)}function a(t,i){var r,e,f;if(t===i)n(t,new TypeError("You cannot resolve a promise with itself"));else if(f=typeof(e=i),null===e||"object"!==f&&"function"!==f)u(t,i);else{r=void 0;try{r=i.then}catch(i){return void n(t,i)}ht(t,i,r)}}function pt(n){n._onerror&&n._onerror(n._result);nt(n)}function u(n,t){void 0===n._state&&(n._result=t,n._state=1,0!==n._subscribers.length&&f(nt,n))}function n(n,t){void 0===n._state&&(n._state=2,n._result=t,f(pt,n))}function g(n,t,i,r){var u=n._subscribers,e=u.length;n._onerror=null;u[e]=t;u[e+1]=i;u[e+2]=r;0===e&&n._state&&f(nt,n)}function nt(n){var t=n._subscribers,f=n._state;if(0!==t.length){for(var r=void 0,u=void 0,e=n._result,i=0;i<t.length;i+=3)r=t[i],u=t[i+f],r?ct(f,r,u,e):u(e);n._subscribers.length=0}}function ct(t,i,r,f){var s=v(r),e=void 0,h=void 0,o=!0;if(s){try{e=r(f)}catch(v){o=!1;h=v}if(i===e)return void n(i,new TypeError("A promises callback cannot return that same promise."))}else e=f;void 0!==i._state||(s&&o?a(i,e):!1===o?n(i,h):1===t?u(i,e):2===t&&n(i,e))}function lt(n){n[l]=tt++;n._state=void 0;n._result=void 0;n._subscribers=[]}var it=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},h=0,rt=void 0,y=void 0,f=function(n,t){e[h]=n;e[h+1]=t;2===(h+=2)&&(y?y(o):c())},ut="undefined"!=typeof window?window:void 0,ft=ut||{},et=ft.MutationObserver||ft.WebKitMutationObserver,vt="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),yt="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,e=new Array(1e3),ot,w,st,b,c=void 0,l,tt,at,r;return vt?c=function(){return t.nextTick(o)}:et?(w=0,st=new et(o),b=document.createTextNode(""),st.observe(b,{characterData:!0}),c=function(){b.data=w=++w%2}):yt?((ot=new MessageChannel).port1.onmessage=o,c=function(){return ot.port2.postMessage(0)}):c=void 0===ut?function(){try{var n=Function("return this")().require("vertx");return void 0!==(rt=n.runOnLoop||n.runOnContext)?function(){rt(o)}:p()}catch(n){return p()}}():p(),l=Math.random().toString(36).substring(2),tt=0,at=function(){function t(t,i){this._instanceConstructor=t;this.promise=new t(s);this.promise[l]||lt(this.promise);it(i)?(this.length=i.length,this._remaining=i.length,this._result=new Array(this.length),0===this.length?u(this.promise,this._result):(this.length=this.length||0,this._enumerate(i),0===this._remaining&&u(this.promise,this._result))):n(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(n){for(var t=0;void 0===this._state&&t<n.length;t++)this._eachEntry(n[t],t)},t.prototype._eachEntry=function(t,i){var u=this._instanceConstructor,o=u.resolve,e;if(o===d){var f=void 0,h=void 0,c=!1;try{f=t.then}catch(t){c=!0;h=t}f===k&&void 0!==t._state?this._settledAt(t._state,i,t._result):"function"!=typeof f?(this._remaining--,this._result[i]=t):u===r?(e=new u(s),c?n(e,h):ht(e,t,f),this._willSettleAt(e,i)):this._willSettleAt(new u(function(n){return n(t)}),i)}else this._willSettleAt(o(t),i)},t.prototype._settledAt=function(t,i,r){var f=this.promise;void 0===f._state&&(this._remaining--,2===t?n(f,r):this._result[i]=r);0===this._remaining&&u(f,this._result)},t.prototype._willSettleAt=function(n,t){var i=this;g(n,void 0,function(n){return i._settledAt(1,t,n)},function(n){return i._settledAt(2,t,n)})},t}(),r=function(){function t(i){this[l]=tt++;this._result=this._state=void 0;this._subscribers=[];s!==i&&("function"!=typeof i&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");}(),this instanceof t?function(t,i){try{i(function(n){a(t,n)},function(i){n(t,i)})}catch(i){n(t,i)}}(this,i):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");}())}return t.prototype.catch=function(n){return this.then(null,n)},t.prototype.finally=function(n){var t=this.constructor;return v(n)?this.then(function(i){return t.resolve(n()).then(function(){return i})},function(i){return t.resolve(n()).then(function(){throw i;})}):this.then(n,n)},t}(),r.prototype.then=k,r.all=function(n){return new at(this,n).promise},r.race=function(n){var t=this;return it(n)?new t(function(i,r){for(var f=n.length,u=0;u<f;u++)t.resolve(n[u]).then(i,r)}):new t(function(n,t){return t(new TypeError("You must pass an array to race."))})},r.resolve=d,r.reject=function(t){var i=new this(s);return n(i,t),i},r._setScheduler=function(n){y=n},r._setAsap=function(n){f=n},r._asap=f,r.polyfill=function(){var n=void 0,t,u;if(void 0!==i)n=i;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw new Error("polyfill failed because global object is unavailable in this environment");}if(t=n.Promise,t){u=null;try{u=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===u&&!t.cast)return}n.Promise=r},r.Promise=r,r};n.exports=r()}).call(this,i(451),i(28))},function(){!function(){var n,t;if("undefined"!=typeof window)try{if(n=new window.CustomEvent("test",{cancelable:!0}),n.preventDefault(),!0!==n.defaultPrevented)throw new Error("Could not prevent default");}catch(n){t=function(n,t){var i,r;return(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable,(i=document.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r=i.preventDefault,i.preventDefault=function(){r.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(n){this.defaultPrevented=!0}},i};t.prototype=window.Event.prototype;window.CustomEvent=t}}()},function(){[Element.prototype,CharacterData.prototype,DocumentType.prototype].filter(Boolean).forEach(function(n){n.hasOwnProperty("remove")||Object.defineProperty(n,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode&&this.parentNode.removeChild(this)}})})},function(){String.prototype.includes||(String.prototype.includes=function(n,t){"use strict";return"number"!=typeof t&&(t=0),!(t+n.length>this.length)&&-1!==this.indexOf(n,t)})},function(n,t,i){(function(n){!function(n){"use strict";function f(n){((n=n||"")instanceof URLSearchParams||n instanceof f)&&(n=n.toString());this.__URLSearchParams__=s(n)}function y(n){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'\(\)~]|%20|%00/g,function(n){return t[n]})}function e(n){return n.replace(/[ +]/g,"%20").replace(/(%[a-f0-9]{2})+/gi,function(n){return decodeURIComponent(n)})}function o(t){var i={next:function(){var n=t.shift();return{done:void 0===n,value:n}}};return a&&(i[n.Symbol.iterator]=function(){return i}),i}function s(n){var i={},f,r,o,c,s,t,h;if("object"==typeof n)if(p(n))for(f=0;f<n.length;f++){if(r=n[f],!p(r)||2!==r.length)throw new TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements");u(i,r[0],r[1])}else for(o in n)n.hasOwnProperty(o)&&u(i,o,n[o]);else for(0===n.indexOf("?")&&(n=n.slice(1)),c=n.split("&"),s=0;s<c.length;s++)t=c[s],h=t.indexOf("="),-1<h?u(i,e(t.slice(0,h)),e(t.slice(h+1))):t&&u(i,e(t),"");return i}function u(n,t,i){var r="string"==typeof i?i:null!=i&&"function"==typeof i.toString?i.toString():JSON.stringify(i);w(n,t)?n[t].push(r):n[t]=[r]}function p(n){return!!n&&"[object Array]"===Object.prototype.toString.call(n)}function w(n,t){return Object.prototype.hasOwnProperty.call(n,t)}var h,i=function(){try{if(n.URLSearchParams&&"bar"===new n.URLSearchParams("foo=bar").get("foo"))return n.URLSearchParams}catch(n){}return null}(),c=i&&"a=1"===new i({a:1}).toString(),l=i&&"+"===new i("s=%2B").get("s"),b=!i||((h=new i).append("s"," &"),"s=+%26"===h.toString()),r=f.prototype,a=!(!n.Symbol||!n.Symbol.iterator),v,t;i&&c&&l&&b||(r.append=function(n,t){u(this.__URLSearchParams__,n,t)},r.delete=function(n){delete this.__URLSearchParams__[n]},r.get=function(n){var t=this.__URLSearchParams__;return this.has(n)?t[n][0]:null},r.getAll=function(n){var t=this.__URLSearchParams__;return this.has(n)?t[n].slice(0):[]},r.has=function(n){return w(this.__URLSearchParams__,n)},r.set=function(n,t){this.__URLSearchParams__[n]=[""+t]},r.toString=function(){var n,t,r,i,u=this.__URLSearchParams__,f=[];for(t in u)for(r=y(t),n=0,i=u[t];n<i.length;n++)f.push(r+"="+y(i[n]));return f.join("&")},v=!!l&&i&&!c&&n.Proxy,Object.defineProperty(n,"URLSearchParams",{value:v?new Proxy(i,{construct:function(n,t){return new n(new f(t[0]).toString())}}):f}),t=n.URLSearchParams.prototype,t.polyfill=!0,t.forEach=t.forEach||function(n,t){var i=s(this.toString());Object.getOwnPropertyNames(i).forEach(function(r){i[r].forEach(function(i){n.call(t,i,r,this)},this)},this)},t.sort=t.sort||function(){var f,n,i,e=s(this.toString()),t=[],r,u;for(f in e)t.push(f);for(t.sort(),n=0;n<t.length;n++)this.delete(t[n]);for(n=0;n<t.length;n++)for(r=t[n],u=e[r],i=0;i<u.length;i++)this.append(r,u[i])},t.keys=t.keys||function(){var n=[];return this.forEach(function(t,i){n.push(i)}),o(n)},t.values=t.values||function(){var n=[];return this.forEach(function(t){n.push(t)}),o(n)},t.entries=t.entries||function(){var n=[];return this.forEach(function(t,i){n.push([i,t])}),o(n)},a&&(t[n.Symbol.iterator]=t[n.Symbol.iterator]||t.entries))}(void 0!==n?n:"undefined"!=typeof window?window:this)}).call(this,i(28))},function(){!function(){"use strict";var n,t,i;self.document&&(n=KeyboardEvent.prototype,t=Object.getOwnPropertyDescriptor(n,"key"),t&&(i={Win:"Meta",Scroll:"ScrollLock",Spacebar:" ",Down:"ArrowDown",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Del:"Delete",Apps:"ContextMenu",Esc:"Escape",Multiply:"*",Add:"+",Subtract:"-",Decimal:".",Divide:"/"},Object.defineProperty(n,"key",{get:function(){var n=t.get.call(this);return i.hasOwnProperty(n)?i[n]:n}})))}()},function(){!function(){"use strict";function t(n){function u(n){return!!(n&&n!==document&&"HTML"!==n.nodeName&&"BODY"!==n.nodeName&&"classList"in n&&"contains"in n.classList)}function o(n){n.classList.contains("focus-visible")||(n.classList.add("focus-visible"),n.setAttribute("data-focus-visible-added",""))}function f(){i=!1}function s(){document.addEventListener("mousemove",t);document.addEventListener("mousedown",t);document.addEventListener("mouseup",t);document.addEventListener("pointermove",t);document.addEventListener("pointerdown",t);document.addEventListener("pointerup",t);document.addEventListener("touchmove",t);document.addEventListener("touchstart",t);document.addEventListener("touchend",t)}function t(n){n.target.nodeName&&"html"===n.target.nodeName.toLowerCase()||(i=!1,document.removeEventListener("mousemove",t),document.removeEventListener("mousedown",t),document.removeEventListener("mouseup",t),document.removeEventListener("pointermove",t),document.removeEventListener("pointerdown",t),document.removeEventListener("pointerup",t),document.removeEventListener("touchmove",t),document.removeEventListener("touchstart",t),document.removeEventListener("touchend",t))}var i=!0,r=!1,e=null,h={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};document.addEventListener("keydown",function(t){t.metaKey||t.altKey||t.ctrlKey||(u(n.activeElement)&&o(n.activeElement),i=!0)},!0);document.addEventListener("mousedown",f,!0);document.addEventListener("pointerdown",f,!0);document.addEventListener("touchstart",f,!0);document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&(r&&(i=!0),s())},!0);s();n.addEventListener("focus",function(n){var t,r,f;u(n.target)&&(i||(r=(t=n.target).type,"INPUT"===(f=t.tagName)&&h[r]&&!t.readOnly||"TEXTAREA"===f&&!t.readOnly||t.isContentEditable))&&o(n.target)},!0);n.addEventListener("blur",function(n){var t;u(n.target)&&(n.target.classList.contains("focus-visible")||n.target.hasAttribute("data-focus-visible-added"))&&(r=!0,window.clearTimeout(e),e=window.setTimeout(function(){r=!1},100),(t=n.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")))},!0);n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var n;window.applyFocusVisiblePolyfill=t;try{n=new CustomEvent("focus-visible-polyfill-ready")}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(n)}"undefined"!=typeof document&&t(document)}()},function(n,t,i){"use strict";(function(n){var r,u,f,i;Object.defineProperty(t,"__esModule",{value:!0});t.detailsElementPolyfill=void 0;(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(n);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;i=function(){function f(n){(function(n,t){return(n.tagName==t?[n]:[]).concat("function"==typeof n.getElementsByTagName?y.call(n.getElementsByTagName(t)):[])})(n,"SUMMARY").forEach(function(n){var t=e(n,"DETAILS");n.setAttribute("aria-expanded",t.hasAttribute("open"));n.hasAttribute("tabindex")||n.setAttribute("tabindex","0");n.hasAttribute("role")||n.setAttribute("role","button")})}function l(n){return!(n.defaultPrevented||n.ctrlKey||n.metaKey||n.shiftKey||n.target.isContentEditable)}function a(n){addEventListener("click",function(t){if(l(t)&&t.which<=1){var i=e(t.target,"SUMMARY");i&&i.parentNode&&"DETAILS"==i.parentNode.tagName&&n(i.parentNode)}},!1);addEventListener("keydown",function(t){if(l(t)&&(13==t.keyCode||32==t.keyCode)){var i=e(t.target,"SUMMARY");i&&i.parentNode&&"DETAILS"==i.parentNode.tagName&&(n(i.parentNode),t.preventDefault())}},!1)}function r(n){var t=document.createEvent("Event");t.initEvent("toggle",!1,!1);n.dispatchEvent(t)}function e(n,t){if("function"==typeof n.closest)return n.closest(t);for(;n;){if(n.tagName==t)return n;n=n.parentNode}}var i=document.createElement("details");i.innerHTML="<summary>a<\/summary>b";i.setAttribute("style","position: absolute; left: -9999px");var t,o,s,n,h="open"in i,v="ontoggle"in i,c=[],u=c.forEach,y=c.slice;h||(document.head.insertAdjacentHTML("afterbegin","<style>\ndetails, summary {\n  display: block;\n}\ndetails:not([open]) > *:not(summary) {\n  display: none;\n}\n<\/style>"),t=document.createElement("details").constructor.prototype,o=t.setAttribute,s=t.removeAttribute,n=Object.getOwnPropertyDescriptor(t,"open"),Object.defineProperties(t,{open:{get:function(){return"DETAILS"==this.tagName?this.hasAttribute("open"):n&&n.get?n.get.call(this):void 0},set:function(t){return"DETAILS"==this.tagName?t?this.setAttribute("open",""):this.removeAttribute("open"):n&&n.set?n.set.call(this,t):void 0}},setAttribute:{value:function(n,t){var s=this,u=function(){return o.call(s,n,t)},f,e,i;return"open"==n&&"DETAILS"==this.tagName?(f=this.hasAttribute("open"),e=u(),f||(i=this.querySelector("summary"),i&&i.setAttribute("aria-expanded",!0),r(this)),e):u()}},removeAttribute:{value:function(n){var e=this,i=function(){return s.call(e,n)},u,f,t;return"open"==n&&"DETAILS"==this.tagName?(u=this.hasAttribute("open"),f=i(),u&&(t=this.querySelector("summary"),t&&t.setAttribute("aria-expanded",!1),r(this)),f):i()}}}),a(function(n){n.hasAttribute("open")?n.removeAttribute("open"):n.setAttribute("open","")}),f(document),window.MutationObserver?new MutationObserver(function(n){u.call(n,function(n){u.call(n.addedNodes,f)})}).observe(document.documentElement,{subtree:!0,childList:!0}):document.addEventListener("DOMNodeInserted",function(n){f(n.target)}));h&&!v&&(window.MutationObserver?new MutationObserver(function(n){u.call(n,function(n){var t=n.target,i=n.attributeName;"DETAILS"==t.tagName&&"open"==i&&r(t)})}).observe(document.documentElement,{attributes:!0,subtree:!0}):a(function(n){var t=n.getAttribute("open");setTimeout(function(){var i=n.getAttribute("open");t!=i&&r(n)},1)}))}();t.detailsElementPolyfill=i;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&u.register(i,"detailsElementPolyfill","D:\\TFSAgent\\TFSINTPZ01V_01\\_work\\2\\s\\sos.web.common\\ClientSource\\js\\tools\\details-element-polyfill.ts");(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&f(n)}).call(this,i(0)(n))},function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.closest||(Element.prototype.closest=function(n){var t=this;do{if(t.matches(n))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})}])